Amazon Web Services - Version 0.2

Version Description

  • 2014-12-04 =
  • New: AWS SDK updated to 2.6.16
  • New: Set the region for the AWS client by defining AWS_REGION in your wp-config.php
  • New: Composer file for Packagist support
  • Improvement: Base plugin class performance of installed version
  • Improvement: Base plugin class accessor for various properties
  • Improvement: Addon plugin modal now responsive
  • Improvement: Better menu icon
  • Improvement: Code formatting to WordPress standards
Download this release

Release Info

Developer bradt
Plugin Icon 128x128 Amazon Web Services
Version 0.2
Comparing to
See all releases

Code changes from version 0.1 to 0.2

Files changed (344) hide show
  1. CONTRIBUTING.md +31 -0
  2. amazon-web-services.php +32 -34
  3. assets/Gruntfile.js +36 -0
  4. assets/css/global.css +1 -1
  5. assets/fonts/aws-plugin.eot +0 -0
  6. assets/fonts/aws-plugin.svg +11 -0
  7. assets/fonts/aws-plugin.ttf +0 -0
  8. assets/fonts/aws-plugin.woff +0 -0
  9. assets/img/icon32.png +0 -0
  10. assets/img/icon32@2x.png +0 -0
  11. assets/package.json +10 -0
  12. assets/sass/global.scss +24 -34
  13. classes/amazon-web-services.php +72 -27
  14. classes/aws-compatibility-check.php +106 -0
  15. classes/aws-plugin-base.php +37 -21
  16. composer.json +11 -0
  17. readme.txt +13 -3
  18. vendor/aws/Aws/AutoScaling/AutoScalingClient.php +14 -3
  19. vendor/aws/Aws/AutoScaling/Enum/LifecycleState.php +0 -0
  20. vendor/aws/Aws/AutoScaling/Enum/ScalingActivityStatusCode.php +0 -0
  21. vendor/aws/Aws/AutoScaling/Exception/AlreadyExistsException.php +0 -0
  22. vendor/aws/Aws/AutoScaling/Exception/AutoScalingException.php +0 -0
  23. vendor/aws/Aws/AutoScaling/Exception/InvalidNextTokenException.php +0 -0
  24. vendor/aws/Aws/AutoScaling/Exception/LimitExceededException.php +0 -0
  25. vendor/aws/Aws/AutoScaling/Exception/ResourceInUseException.php +0 -0
  26. vendor/aws/Aws/AutoScaling/Exception/ScalingActivityInProgressException.php +0 -0
  27. vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php +747 -68
  28. vendor/aws/Aws/CloudFormation/CloudFormationClient.php +6 -3
  29. vendor/aws/Aws/CloudFormation/Enum/Capability.php +0 -0
  30. vendor/aws/Aws/CloudFormation/Enum/OnFailure.php +0 -0
  31. vendor/aws/Aws/CloudFormation/Enum/ResourceStatus.php +0 -0
  32. vendor/aws/Aws/CloudFormation/Enum/StackStatus.php +0 -0
  33. vendor/aws/Aws/CloudFormation/Exception/AlreadyExistsException.php +0 -0
  34. vendor/aws/Aws/CloudFormation/Exception/CloudFormationException.php +0 -0
  35. vendor/aws/Aws/CloudFormation/Exception/InsufficientCapabilitiesException.php +0 -0
  36. vendor/aws/Aws/CloudFormation/Exception/LimitExceededException.php +0 -0
  37. vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php +168 -54
  38. vendor/aws/Aws/CloudFront/CloudFrontClient.php +8 -20
  39. vendor/aws/Aws/CloudFront/CloudFrontSignature.php +3 -3
  40. vendor/aws/Aws/CloudFront/Enum/GeoRestrictionType.php +29 -0
  41. vendor/aws/Aws/CloudFront/Enum/ItemSelection.php +0 -0
  42. vendor/aws/Aws/CloudFront/Enum/Method.php +33 -0
  43. vendor/aws/Aws/CloudFront/Enum/OriginProtocolPolicy.php +0 -0
  44. vendor/aws/Aws/CloudFront/Enum/PriceClass.php +0 -0
  45. vendor/aws/Aws/CloudFront/Enum/SSLSupportMethod.php +28 -0
  46. vendor/aws/Aws/CloudFront/Enum/ViewerProtocolPolicy.php +1 -0
  47. vendor/aws/Aws/CloudFront/Exception/AccessDeniedException.php +0 -0
  48. vendor/aws/Aws/CloudFront/Exception/BatchTooLargeException.php +0 -0
  49. vendor/aws/Aws/CloudFront/Exception/CNAMEAlreadyExistsException.php +0 -0
  50. vendor/aws/Aws/CloudFront/Exception/CloudFrontException.php +0 -0
  51. vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityAlreadyExistsException.php +0 -0
  52. vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityInUseException.php +0 -0
  53. vendor/aws/Aws/CloudFront/Exception/DistributionAlreadyExistsException.php +0 -0
  54. vendor/aws/Aws/CloudFront/Exception/DistributionNotDisabledException.php +0 -0
  55. vendor/aws/Aws/CloudFront/Exception/Exception.php +0 -0
  56. vendor/aws/Aws/CloudFront/Exception/IllegalUpdateException.php +0 -0
  57. vendor/aws/Aws/CloudFront/Exception/InconsistentQuantitiesException.php +0 -0
  58. vendor/aws/Aws/CloudFront/Exception/InvalidArgumentException.php +0 -0
  59. vendor/aws/Aws/CloudFront/Exception/InvalidDefaultRootObjectException.php +0 -0
  60. vendor/aws/Aws/CloudFront/Exception/InvalidErrorCodeException.php +22 -0
  61. vendor/aws/Aws/CloudFront/Exception/InvalidForwardCookiesException.php +0 -0
  62. vendor/aws/Aws/CloudFront/Exception/InvalidGeoRestrictionParameterException.php +22 -0
  63. vendor/aws/Aws/CloudFront/Exception/InvalidIfMatchVersionException.php +0 -0
  64. vendor/aws/Aws/CloudFront/Exception/InvalidLocationCodeException.php +22 -0
  65. vendor/aws/Aws/CloudFront/Exception/InvalidOriginAccessIdentityException.php +0 -0
  66. vendor/aws/Aws/CloudFront/Exception/InvalidOriginException.php +0 -0
  67. vendor/aws/Aws/CloudFront/Exception/InvalidRelativePathException.php +22 -0
  68. vendor/aws/Aws/CloudFront/Exception/InvalidRequiredProtocolException.php +0 -0
  69. vendor/aws/Aws/CloudFront/Exception/InvalidResponseCodeException.php +22 -0
  70. vendor/aws/Aws/CloudFront/Exception/InvalidViewerCertificateException.php +0 -0
  71. vendor/aws/Aws/CloudFront/Exception/MissingBodyException.php +0 -0
  72. vendor/aws/Aws/CloudFront/Exception/NoSuchCloudFrontOriginAccessIdentityException.php +0 -0
  73. vendor/aws/Aws/CloudFront/Exception/NoSuchDistributionException.php +0 -0
  74. vendor/aws/Aws/CloudFront/Exception/NoSuchInvalidationException.php +0 -0
  75. vendor/aws/Aws/CloudFront/Exception/NoSuchOriginException.php +0 -0
  76. vendor/aws/Aws/CloudFront/Exception/NoSuchStreamingDistributionException.php +0 -0
  77. vendor/aws/Aws/CloudFront/Exception/PreconditionFailedException.php +0 -0
  78. vendor/aws/Aws/CloudFront/Exception/StreamingDistributionAlreadyExistsException.php +0 -0
  79. vendor/aws/Aws/CloudFront/Exception/StreamingDistributionNotDisabledException.php +0 -0
  80. vendor/aws/Aws/CloudFront/Exception/TooManyCacheBehaviorsException.php +0 -0
  81. vendor/aws/Aws/CloudFront/Exception/TooManyCertificatesException.php +0 -0
  82. vendor/aws/Aws/CloudFront/Exception/TooManyCloudFrontOriginAccessIdentitiesException.php +0 -0
  83. vendor/aws/Aws/CloudFront/Exception/TooManyCookieNamesInWhiteListException.php +0 -0
  84. vendor/aws/Aws/CloudFront/Exception/TooManyDistributionCNAMEsException.php +0 -0
  85. vendor/aws/Aws/CloudFront/Exception/TooManyDistributionsException.php +0 -0
  86. vendor/aws/Aws/CloudFront/Exception/TooManyInvalidationsInProgressException.php +0 -0
  87. vendor/aws/Aws/CloudFront/Exception/TooManyOriginsException.php +0 -0
  88. vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionCNAMEsException.php +0 -0
  89. vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionsException.php +0 -0
  90. vendor/aws/Aws/CloudFront/Exception/TooManyTrustedSignersException.php +0 -0
  91. vendor/aws/Aws/CloudFront/Exception/TrustedSignerDoesNotExistException.php +0 -0
  92. vendor/aws/Aws/CloudFront/Resources/cloudfront-2012-05-05.php +26 -0
  93. vendor/aws/Aws/CloudFront/Resources/{cloudfront-2013-05-12.php → cloudfront-2014-05-31.php} +1019 -104
  94. vendor/aws/Aws/CloudSearch/CloudSearchClient.php +43 -16
  95. vendor/aws/Aws/CloudSearch/Enum/IndexFieldType.php +9 -0
  96. vendor/aws/Aws/CloudSearch/Enum/OptionState.php +1 -0
  97. vendor/aws/Aws/CloudSearch/Enum/SearchInstanceType.php +0 -0
  98. vendor/aws/Aws/CloudSearch/Enum/SourceDataFunction.php +0 -0
  99. vendor/aws/Aws/CloudSearch/Exception/BaseException.php +0 -0
  100. vendor/aws/Aws/CloudSearch/Exception/CloudSearchException.php +0 -0
  101. vendor/aws/Aws/CloudSearch/Exception/InternalException.php +0 -0
  102. vendor/aws/Aws/CloudSearch/Exception/InvalidTypeException.php +0 -0
  103. vendor/aws/Aws/CloudSearch/Exception/LimitExceededException.php +0 -0
  104. vendor/aws/Aws/CloudSearch/Exception/ResourceNotFoundException.php +0 -0
  105. vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php +10 -25
  106. vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php +3452 -0
  107. vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClient.php +55 -0
  108. vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClientBuilder.php +121 -0
  109. vendor/aws/Aws/CloudSearchDomain/Exception/CloudSearchDomainException.php +10 -0
  110. vendor/aws/Aws/CloudSearchDomain/Resources/cloudsearchdomain-2013-01-01.php +311 -0
  111. vendor/aws/Aws/CloudTrail/CloudTrailClient.php +64 -0
  112. vendor/aws/Aws/CloudTrail/Exception/CloudTrailException.php +24 -0
  113. vendor/aws/Aws/CloudTrail/Exception/InsufficientS3BucketPolicyException.php +22 -0
  114. vendor/aws/Aws/CloudTrail/Exception/InsufficientSnsTopicPolicyException.php +22 -0
  115. vendor/aws/Aws/CloudTrail/Exception/InternalErrorException.php +22 -0
  116. vendor/aws/Aws/CloudTrail/Exception/InvalidS3BucketNameException.php +22 -0
  117. vendor/aws/Aws/CloudTrail/Exception/InvalidS3PrefixException.php +22 -0
  118. vendor/aws/Aws/CloudTrail/Exception/InvalidSnsTopicNameException.php +22 -0
  119. vendor/aws/Aws/CloudTrail/Exception/InvalidTrailNameException.php +22 -0
  120. vendor/aws/Aws/CloudTrail/Exception/MaximumNumberOfTrailsExceededException.php +22 -0
  121. vendor/aws/Aws/CloudTrail/Exception/S3BucketDoesNotExistException.php +22 -0
  122. vendor/aws/Aws/CloudTrail/Exception/TrailAlreadyExistsException.php +22 -0
  123. vendor/aws/Aws/CloudTrail/Exception/TrailNotFoundException.php +22 -0
  124. vendor/aws/Aws/CloudTrail/Exception/TrailNotProvidedException.php +22 -0
  125. vendor/aws/Aws/CloudTrail/LogFileIterator.php +266 -0
  126. vendor/aws/Aws/CloudTrail/LogFileReader.php +56 -0
  127. vendor/aws/Aws/CloudTrail/LogRecordIterator.php +180 -0
  128. vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php +545 -0
  129. vendor/aws/Aws/CloudWatch/CloudWatchClient.php +3 -3
  130. vendor/aws/Aws/CloudWatch/Enum/ComparisonOperator.php +0 -0
  131. vendor/aws/Aws/CloudWatch/Enum/HistoryItemType.php +0 -0
  132. vendor/aws/Aws/CloudWatch/Enum/StateValue.php +0 -0
  133. vendor/aws/Aws/CloudWatch/Enum/Statistic.php +0 -0
  134. vendor/aws/Aws/CloudWatch/Enum/Unit.php +0 -0
  135. vendor/aws/Aws/CloudWatch/Exception/CloudWatchException.php +0 -0
  136. vendor/aws/Aws/CloudWatch/Exception/InternalServiceException.php +0 -0
  137. vendor/aws/Aws/CloudWatch/Exception/InvalidFormatException.php +0 -0
  138. vendor/aws/Aws/CloudWatch/Exception/InvalidNextTokenException.php +0 -0
  139. vendor/aws/Aws/CloudWatch/Exception/InvalidParameterCombinationException.php +0 -0
  140. vendor/aws/Aws/CloudWatch/Exception/InvalidParameterValueException.php +0 -0
  141. vendor/aws/Aws/CloudWatch/Exception/LimitExceededException.php +0 -0
  142. vendor/aws/Aws/CloudWatch/Exception/MissingRequiredParameterException.php +0 -0
  143. vendor/aws/Aws/CloudWatch/Exception/ResourceNotFoundException.php +0 -0
  144. vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php +25 -180
  145. vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php +59 -0
  146. vendor/aws/Aws/CloudWatchLogs/Exception/CloudWatchLogsException.php +10 -0
  147. vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php +1153 -0
  148. vendor/aws/Aws/CognitoIdentity/CognitoIdentityClient.php +75 -0
  149. vendor/aws/Aws/CognitoIdentity/Exception/CognitoIdentityException.php +10 -0
  150. vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php +758 -0
  151. vendor/aws/Aws/CognitoSync/CognitoSyncClient.php +52 -0
  152. vendor/aws/Aws/CognitoSync/Exception/CognitoSyncException.php +10 -0
  153. vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php +767 -0
  154. vendor/aws/Aws/Common/Aws.php +3 -5
  155. vendor/aws/Aws/Common/Client/AbstractClient.php +6 -35
  156. vendor/aws/Aws/Common/Client/AwsClientInterface.php +0 -0
  157. vendor/aws/Aws/Common/Client/ClientBuilder.php +45 -38
  158. vendor/aws/Aws/Common/Client/DefaultClient.php +23 -17
  159. vendor/aws/Aws/Common/Client/ExpiredCredentialsChecker.php +0 -0
  160. vendor/aws/Aws/Common/Client/ThrottlingErrorChecker.php +0 -0
  161. vendor/aws/Aws/Common/Client/UploadBodyListener.php +0 -0
  162. vendor/aws/Aws/Common/Client/UserAgentListener.php +0 -0
  163. vendor/aws/Aws/Common/Command/AwsQueryVisitor.php +22 -5
  164. vendor/aws/Aws/Common/Command/JsonCommand.php +0 -0
  165. vendor/aws/Aws/Common/Command/QueryCommand.php +0 -0
  166. vendor/aws/Aws/Common/Command/XmlResponseLocationVisitor.php +0 -0
  167. vendor/aws/Aws/Common/Credentials/AbstractCredentialsDecorator.php +0 -0
  168. vendor/aws/Aws/Common/Credentials/AbstractRefreshableCredentials.php +0 -0
  169. vendor/aws/Aws/Common/Credentials/CacheableCredentials.php +0 -0
  170. vendor/aws/Aws/Common/Credentials/Credentials.php +140 -78
  171. vendor/aws/Aws/Common/Credentials/CredentialsInterface.php +0 -0
  172. vendor/aws/Aws/Common/Credentials/NullCredentials.php +68 -0
  173. vendor/aws/Aws/Common/Credentials/RefreshableInstanceProfileCredentials.php +0 -0
  174. vendor/aws/Aws/Common/Enum.php +0 -0
  175. vendor/aws/Aws/Common/Enum/ClientOptions.php +5 -0
  176. vendor/aws/Aws/Common/Enum/DateFormat.php +0 -0
  177. vendor/aws/Aws/Common/Enum/Region.php +4 -1
  178. vendor/aws/Aws/Common/Enum/Size.php +0 -0
  179. vendor/aws/Aws/Common/Enum/Time.php +0 -0
  180. vendor/aws/Aws/Common/Enum/UaString.php +0 -0
  181. vendor/aws/Aws/Common/Exception/AwsExceptionInterface.php +0 -0
  182. vendor/aws/Aws/Common/Exception/BadMethodCallException.php +0 -0
  183. vendor/aws/Aws/Common/Exception/DomainException.php +0 -0
  184. vendor/aws/Aws/Common/Exception/ExceptionFactoryInterface.php +0 -0
  185. vendor/aws/Aws/Common/Exception/ExceptionListener.php +0 -0
  186. vendor/aws/Aws/Common/Exception/InstanceProfileCredentialsException.php +0 -0
  187. vendor/aws/Aws/Common/Exception/InvalidArgumentException.php +0 -0
  188. vendor/aws/Aws/Common/Exception/LogicException.php +0 -0
  189. vendor/aws/Aws/Common/Exception/MultipartUploadException.php +0 -0
  190. vendor/aws/Aws/Common/Exception/NamespaceExceptionFactory.php +0 -0
  191. vendor/aws/Aws/Common/Exception/OutOfBoundsException.php +0 -0
  192. vendor/aws/Aws/Common/Exception/OverflowException.php +0 -0
  193. vendor/aws/Aws/Common/Exception/Parser/AbstractJsonExceptionParser.php +0 -0
  194. vendor/aws/Aws/Common/Exception/Parser/DefaultXmlExceptionParser.php +0 -0
  195. vendor/aws/Aws/Common/Exception/Parser/ExceptionParserInterface.php +0 -0
  196. vendor/aws/Aws/Common/Exception/Parser/JsonQueryExceptionParser.php +0 -0
  197. vendor/aws/Aws/Common/Exception/Parser/JsonRestExceptionParser.php +0 -0
  198. vendor/aws/Aws/Common/Exception/RequiredExtensionNotLoadedException.php +0 -0
  199. vendor/aws/Aws/Common/Exception/RuntimeException.php +0 -0
  200. vendor/aws/Aws/Common/Exception/ServiceResponseException.php +0 -0
  201. vendor/aws/Aws/Common/Exception/TransferException.php +0 -0
  202. vendor/aws/Aws/Common/Exception/UnexpectedValueException.php +0 -0
  203. vendor/aws/Aws/Common/Facade/Facade.php +1 -1
  204. vendor/aws/Aws/Common/Facade/FacadeInterface.php +0 -0
  205. vendor/aws/Aws/Common/Facade/facade-classes.php +16 -0
  206. vendor/aws/Aws/Common/Hash/ChunkHash.php +0 -0
  207. vendor/aws/Aws/Common/Hash/ChunkHashInterface.php +0 -0
  208. vendor/aws/Aws/Common/Hash/HashUtils.php +0 -0
  209. vendor/aws/Aws/Common/Hash/TreeHash.php +0 -0
  210. vendor/aws/Aws/Common/HostNameUtils.php +2 -2
  211. vendor/aws/Aws/Common/InstanceMetadata/InstanceMetadataClient.php +8 -5
  212. vendor/aws/Aws/Common/InstanceMetadata/Waiter/ServiceAvailable.php +0 -0
  213. vendor/aws/Aws/Common/Iterator/AwsResourceIterator.php +46 -26
  214. vendor/aws/Aws/Common/Iterator/AwsResourceIteratorFactory.php +45 -40
  215. vendor/aws/Aws/Common/Model/MultipartUpload/AbstractTransfer.php +0 -0
  216. vendor/aws/Aws/Common/Model/MultipartUpload/AbstractTransferState.php +0 -0
  217. vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadBuilder.php +0 -0
  218. vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadId.php +0 -0
  219. vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadPart.php +0 -0
  220. vendor/aws/Aws/Common/Model/MultipartUpload/TransferInterface.php +0 -0
  221. vendor/aws/Aws/Common/Model/MultipartUpload/TransferStateInterface.php +0 -0
  222. vendor/aws/Aws/Common/Model/MultipartUpload/UploadIdInterface.php +0 -0
  223. vendor/aws/Aws/Common/Model/MultipartUpload/UploadPartInterface.php +0 -0
  224. vendor/aws/Aws/Common/Resources/aws-config.php +53 -0
  225. vendor/aws/Aws/Common/Resources/sdk1-config.php +0 -0
  226. vendor/aws/Aws/Common/Signature/AbstractSignature.php +11 -57
  227. vendor/aws/Aws/Common/Signature/EndpointSignatureInterface.php +0 -0
  228. vendor/aws/Aws/Common/Signature/SignatureInterface.php +15 -0
  229. vendor/aws/Aws/Common/Signature/SignatureListener.php +0 -0
  230. vendor/aws/Aws/Common/Signature/SignatureV2.php +3 -6
  231. vendor/aws/Aws/Common/Signature/SignatureV3.php +0 -102
  232. vendor/aws/Aws/Common/Signature/SignatureV3Https.php +3 -6
  233. vendor/aws/Aws/Common/Signature/SignatureV4.php +287 -71
  234. vendor/aws/Aws/Common/Waiter/AbstractResourceWaiter.php +0 -0
  235. vendor/aws/Aws/Common/Waiter/AbstractWaiter.php +10 -0
  236. vendor/aws/Aws/Common/Waiter/CallableWaiter.php +0 -0
  237. vendor/aws/Aws/Common/Waiter/CompositeWaiterFactory.php +0 -0
  238. vendor/aws/Aws/Common/Waiter/ConfigResourceWaiter.php +0 -0
  239. vendor/aws/Aws/Common/Waiter/ResourceWaiterInterface.php +0 -0
  240. vendor/aws/Aws/Common/Waiter/WaiterClassFactory.php +0 -0
  241. vendor/aws/Aws/Common/Waiter/WaiterConfig.php +0 -0
  242. vendor/aws/Aws/Common/Waiter/WaiterConfigFactory.php +0 -0
  243. vendor/aws/Aws/Common/Waiter/WaiterFactoryInterface.php +0 -0
  244. vendor/aws/Aws/Common/Waiter/WaiterInterface.php +0 -0
  245. vendor/aws/Aws/DataPipeline/DataPipelineClient.php +4 -20
  246. vendor/aws/Aws/DataPipeline/Enum/WorkStatus.php +0 -0
  247. vendor/aws/Aws/DataPipeline/Exception/DataPipelineException.php +0 -0
  248. vendor/aws/Aws/DataPipeline/Exception/InternalServiceErrorException.php +0 -0
  249. vendor/aws/Aws/DataPipeline/Exception/InvalidRequestException.php +0 -0
  250. vendor/aws/Aws/DataPipeline/Exception/PipelineDeletedException.php +0 -0
  251. vendor/aws/Aws/DataPipeline/Exception/PipelineNotFoundException.php +0 -0
  252. vendor/aws/Aws/DataPipeline/Exception/TaskNotFoundException.php +0 -0
  253. vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php +44 -5
  254. vendor/aws/Aws/DirectConnect/DirectConnectClient.php +17 -23
  255. vendor/aws/Aws/DirectConnect/Enum/ConnectionState.php +4 -1
  256. vendor/aws/Aws/DirectConnect/Enum/InterconnectState.php +32 -0
  257. vendor/aws/Aws/DirectConnect/Enum/StepState.php +0 -0
  258. vendor/aws/Aws/DirectConnect/Enum/VirtualInterfaceState.php +2 -0
  259. vendor/aws/Aws/DirectConnect/Exception/DirectConnectClientException.php +0 -0
  260. vendor/aws/Aws/DirectConnect/Exception/DirectConnectException.php +0 -0
  261. vendor/aws/Aws/DirectConnect/Exception/DirectConnectServerException.php +0 -0
  262. vendor/aws/Aws/DirectConnect/Resources/directconnect-2012-10-25.php +568 -160
  263. vendor/aws/Aws/DynamoDb/Crc32ErrorChecker.php +0 -0
  264. vendor/aws/Aws/DynamoDb/DynamoDbClient.php +38 -45
  265. vendor/aws/Aws/DynamoDb/Enum/AttributeAction.php +0 -0
  266. vendor/aws/Aws/DynamoDb/Enum/AttributeType.php +0 -0
  267. vendor/aws/Aws/DynamoDb/Enum/ComparisonOperator.php +0 -0
  268. vendor/aws/Aws/DynamoDb/Enum/IndexStatus.php +30 -0
  269. vendor/aws/Aws/DynamoDb/Enum/KeyType.php +0 -0
  270. vendor/aws/Aws/DynamoDb/Enum/ProjectionType.php +0 -0
  271. vendor/aws/Aws/DynamoDb/Enum/ReturnConsumedCapacity.php +1 -0
  272. vendor/aws/Aws/DynamoDb/Enum/ReturnItemCollectionMetrics.php +0 -0
  273. vendor/aws/Aws/DynamoDb/Enum/ReturnValue.php +0 -0
  274. vendor/aws/Aws/DynamoDb/Enum/ScalarAttributeType.php +0 -0
  275. vendor/aws/Aws/DynamoDb/Enum/Select.php +0 -0
  276. vendor/aws/Aws/DynamoDb/Enum/TableStatus.php +0 -0
  277. vendor/aws/Aws/DynamoDb/Enum/Type.php +0 -0
  278. vendor/aws/Aws/DynamoDb/Exception/AccessDeniedException.php +0 -0
  279. vendor/aws/Aws/DynamoDb/Exception/ConditionalCheckFailedException.php +0 -0
  280. vendor/aws/Aws/DynamoDb/Exception/DynamoDbException.php +0 -0
  281. vendor/aws/Aws/DynamoDb/Exception/IncompleteSignatureException.php +0 -0
  282. vendor/aws/Aws/DynamoDb/Exception/InternalFailureException.php +0 -0
  283. vendor/aws/Aws/DynamoDb/Exception/InternalServerErrorException.php +0 -0
  284. vendor/aws/Aws/DynamoDb/Exception/ItemCollectionSizeLimitExceededException.php +0 -0
  285. vendor/aws/Aws/DynamoDb/Exception/LimitExceededException.php +1 -1
  286. vendor/aws/Aws/DynamoDb/Exception/MissingAuthenticationTokenException.php +0 -0
  287. vendor/aws/Aws/DynamoDb/Exception/ProvisionedThroughputExceededException.php +0 -0
  288. vendor/aws/Aws/DynamoDb/Exception/ResourceInUseException.php +0 -0
  289. vendor/aws/Aws/DynamoDb/Exception/ResourceNotFoundException.php +0 -0
  290. vendor/aws/Aws/DynamoDb/Exception/ServiceUnavailableException.php +0 -0
  291. vendor/aws/Aws/DynamoDb/Exception/ThrottlingException.php +0 -0
  292. vendor/aws/Aws/DynamoDb/Exception/UnprocessedWriteRequestsException.php +0 -0
  293. vendor/aws/Aws/DynamoDb/Exception/UnrecognizedClientException.php +0 -0
  294. vendor/aws/Aws/DynamoDb/Exception/ValidationException.php +0 -0
  295. vendor/aws/Aws/DynamoDb/Iterator/ItemIterator.php +0 -0
  296. vendor/aws/Aws/DynamoDb/Iterator/ScanIterator.php +0 -0
  297. vendor/aws/Aws/DynamoDb/Model/Attribute.php +0 -0
  298. vendor/aws/Aws/DynamoDb/Model/BatchRequest/AbstractWriteRequest.php +0 -0
  299. vendor/aws/Aws/DynamoDb/Model/BatchRequest/DeleteRequest.php +0 -0
  300. vendor/aws/Aws/DynamoDb/Model/BatchRequest/PutRequest.php +0 -0
  301. vendor/aws/Aws/DynamoDb/Model/BatchRequest/UnprocessedRequest.php +0 -0
  302. vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatch.php +0 -0
  303. vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatchTransfer.php +76 -27
  304. vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestInterface.php +0 -0
  305. vendor/aws/Aws/DynamoDb/Model/Item.php +0 -0
  306. vendor/aws/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php +22 -0
  307. vendor/aws/Aws/DynamoDb/Resources/dynamodb-2012-08-10.php +1025 -165
  308. vendor/aws/Aws/DynamoDb/Session/LockingStrategy/AbstractLockingStrategy.php +11 -5
  309. vendor/aws/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactory.php +0 -0
  310. vendor/aws/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryInterface.php +0 -0
  311. vendor/aws/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyInterface.php +0 -0
  312. vendor/aws/Aws/DynamoDb/Session/LockingStrategy/NullLockingStrategy.php +0 -0
  313. vendor/aws/Aws/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategy.php +0 -0
  314. vendor/aws/Aws/DynamoDb/Session/SessionHandler.php +1 -1
  315. vendor/aws/Aws/DynamoDb/Session/SessionHandlerConfig.php +0 -0
  316. vendor/aws/Aws/DynamoDb/Session/SessionHandlerInterface.php +20 -0
  317. vendor/aws/Aws/Ec2/CopySnapshotListener.php +83 -0
  318. vendor/aws/Aws/Ec2/Ec2Client.php +41 -27
  319. vendor/aws/Aws/Ec2/Enum/ContainerFormat.php +0 -0
  320. vendor/aws/Aws/Ec2/Enum/DiskImageFormat.php +3 -2
  321. vendor/aws/Aws/Ec2/Enum/DomainType.php +0 -0
  322. vendor/aws/Aws/Ec2/Enum/ExportEnvironment.php +1 -0
  323. vendor/aws/Aws/Ec2/Enum/HypervisorType.php +0 -0
  324. vendor/aws/Aws/Ec2/Enum/ImageState.php +0 -0
  325. vendor/aws/Aws/Ec2/Enum/InstanceAttributeName.php +0 -0
  326. vendor/aws/Aws/Ec2/Enum/InstanceStateName.php +0 -0
  327. vendor/aws/Aws/Ec2/Enum/InstanceType.php +25 -5
  328. vendor/aws/Aws/Ec2/Enum/PlacementGroupState.php +0 -0
  329. vendor/aws/Aws/Ec2/Enum/PlacementStrategy.php +0 -0
  330. vendor/aws/Aws/Ec2/Enum/ResourceType.php +6 -0
  331. vendor/aws/Aws/Ec2/Enum/RouteOrigin.php +29 -0
  332. vendor/aws/Aws/Ec2/Enum/RuleAction.php +0 -0
  333. vendor/aws/Aws/Ec2/Enum/SnapshotAttributeName.php +0 -0
  334. vendor/aws/Aws/Ec2/Enum/SnapshotState.php +0 -0
  335. vendor/aws/Aws/Ec2/Enum/SpotInstanceType.php +0 -0
  336. vendor/aws/Aws/Ec2/Enum/VirtualizationType.php +0 -0
  337. vendor/aws/Aws/Ec2/Enum/VolumeAttachmentState.php +0 -0
  338. vendor/aws/Aws/Ec2/Enum/VolumeAttributeName.php +0 -0
  339. vendor/aws/Aws/Ec2/Enum/VolumeState.php +1 -0
  340. vendor/aws/Aws/Ec2/Enum/VolumeType.php +0 -0
  341. vendor/aws/Aws/Ec2/Enum/VpcAttributeName.php +0 -0
  342. vendor/aws/Aws/Ec2/Exception/Ec2Exception.php +0 -0
  343. vendor/aws/Aws/Ec2/Iterator/DescribeInstancesIterator.php +0 -0
  344. vendor/aws/Aws/Ec2/Resources/{ec2-2013-06-15.php → ec2-2014-06-15.php} +1230 -636
CONTRIBUTING.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #Contributing
2
+
3
+ ### Getting Started
4
+
5
+ Submit a ticket for your issue, assuming one does not already exist.
6
+ * Raise it on our [Issue Tracker](https://github.com/deliciousbrains/wp-amazon-web-services)
7
+ * Clearly describe the issue, including steps to reproduce the bug (if applicable).
8
+ * If it's a bug, make sure you fill in the earliest version that you know has the issue as well as the version of WordPress you're using.
9
+
10
+ ## Making Changes
11
+
12
+ * Fork the repository on GitHub
13
+ * From the `develop` branch on your forked repository, create a new branch and make your changes
14
+ * It is suggested that your new branch use a name that briefly describes the feature or issue.
15
+ * Ensure you stick to the [WordPress Coding Standards](http://codex.wordpress.org/WordPress_Coding_Standards)
16
+ * When committing, use a [well-formed](http://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message) [commit](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) [message](http://who-t.blogspot.com/2009/12/on-commit-messages.html)
17
+ * Push the changes to your fork and submit a pull request to the `develop` branch of the plugin's repository
18
+
19
+ ## Code Documentation
20
+
21
+ * Code comments should be added to all new functions/methods.
22
+ * Comments should tell you the "what" & "why". You'll typically want a one-liner that says what it does, hopefully why, but not how. Only very rarely should they tell you how (e.g. when the code is necessarily complex).
23
+ * Also see the [WordPress PHP Documentation Standards](http://make.wordpress.org/core/handbook/inline-documentation-standards/php-documentation-standards/) doc for general guidelines and best practices.
24
+ * We currently suggest implementing the `@param` & `@return` PHPdoc tags for every function/method if applicable.
25
+
26
+ At this point you're waiting on us to merge your pull request. We'll review all pull requests, and make suggestions and changes if necessary.
27
+
28
+ # Additional Resources
29
+ * [GitHub Help — Forking](https://help.github.com/articles/fork-a-repo)
30
+ * [GitHub Help — Syncing a Fork](https://help.github.com/articles/syncing-a-fork)
31
+ * [GitHub Help — Pull Requests](https://help.github.com/articles/using-pull-requests#before-you-begin)
amazon-web-services.php CHANGED
@@ -4,8 +4,9 @@ Plugin Name: Amazon Web Services
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
5
  Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it
6
  Author: Brad Touesnard
7
- Version: 0.1
8
  Author URI: http://bradt.ca/
 
9
  */
10
 
11
  // Copyright (c) 2013 Brad Touesnard. All rights reserved.
@@ -19,54 +20,50 @@ Author URI: http://bradt.ca/
19
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
  // **********************************************************************
21
 
22
- function amazon_web_services_incompatibile( $msg ) {
23
- require_once ABSPATH . '/wp-admin/includes/plugin.php';
24
- deactivate_plugins( __FILE__ );
25
- wp_die( $msg );
26
- }
27
 
28
- if ( is_admin() && ( !defined( 'DOING_AJAX' ) || !DOING_AJAX ) ) {
29
- if ( version_compare( PHP_VERSION, '5.3.3', '<' ) ) {
30
- amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires PHP 5.3.3 or higher. The plugin has now disabled itself.', 'amazon-web-services' ) );
31
- }
32
- elseif ( !function_exists( 'curl_version' )
33
- || !( $curl = curl_version() ) || empty( $curl['version'] ) || empty( $curl['features'] )
34
- || version_compare( $curl['version'], '7.16.2', '<' ) )
35
- {
36
- amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires cURL 7.16.2+. The plugin has now disabled itself.', 'amazon-web-services' ) );
37
- }
38
- elseif ( !( $curl['features'] & CURL_VERSION_SSL ) ) {
39
- amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires that cURL is compiled with OpenSSL. The plugin has now disabled itself.', 'amazon-web-services' ) );
40
- }
41
- elseif ( !( $curl['features'] & CURL_VERSION_LIBZ ) ) {
42
- amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires that cURL is compiled with zlib. The plugin has now disabled itself.', 'amazon-web-services' ) );
43
- }
44
- }
45
 
46
- require_once 'classes/aws-plugin-base.php';
47
- require_once 'classes/amazon-web-services.php';
48
- require_once 'vendor/aws/aws-autoloader.php';
49
 
50
- function amazon_web_services_init() {
51
- global $amazon_web_services;
52
- $amazon_web_services = new Amazon_Web_Services( __FILE__ );
53
  }
54
 
55
- add_action( 'init', 'amazon_web_services_init' );
 
 
 
 
 
 
 
 
56
 
57
  function amazon_web_services_activation() {
 
 
 
 
 
 
 
58
  // Migrate keys over from old Amazon S3 and CloudFront plugin settings
59
- if ( !( $as3cf = get_option( 'tantan_wordpress_s3' ) ) ) {
60
  return;
61
  }
62
 
63
- if ( !isset( $as3cf['key'] ) || !isset( $as3cf['secret'] ) ) {
64
  return;
65
  }
66
 
67
- if ( !get_site_option( Amazon_Web_Services::SETTINGS_KEY ) ) {
68
  add_site_option( Amazon_Web_Services::SETTINGS_KEY, array(
69
- 'access_key_id' => $as3cf['key'],
70
  'secret_access_key' => $as3cf['secret']
71
  ) );
72
  }
@@ -76,4 +73,5 @@ function amazon_web_services_activation() {
76
 
77
  update_option( 'tantan_wordpress_s3', $as3cf );
78
  }
 
79
  register_activation_hook( __FILE__, 'amazon_web_services_activation' );
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
5
  Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it
6
  Author: Brad Touesnard
7
+ Version: 0.2
8
  Author URI: http://bradt.ca/
9
+ Network: True
10
  */
11
 
12
  // Copyright (c) 2013 Brad Touesnard. All rights reserved.
20
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
  // **********************************************************************
22
 
23
+ $GLOBALS['aws_meta']['amazon-web-services']['version'] = '0.2';
 
 
 
 
24
 
25
+ $GLOBALS['aws_meta']['amazon-web-services']['supported_addon_versions'] = array(
26
+ 'amazon-s3-and-cloudfront' => '0.7'
27
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
+ require dirname( __FILE__ ) . '/classes/aws-compatibility-check.php';
30
+ global $aws_compat_check;
31
+ $aws_compat_check = new AWS_Compatibility_Check( __FILE__ );
32
 
33
+ if ( $aws_compat_check->is_compatible() ) {
34
+ add_action( 'init', 'amazon_web_services_init' );
 
35
  }
36
 
37
+ function amazon_web_services_init() {
38
+ $abspath = dirname( __FILE__ );
39
+ require_once $abspath . '/classes/aws-plugin-base.php';
40
+ require_once $abspath . '/classes/amazon-web-services.php';
41
+ require_once $abspath . '/vendor/aws/aws-autoloader.php';
42
+
43
+ global $amazon_web_services;
44
+ $amazon_web_services = new Amazon_Web_Services( __FILE__ );
45
+ }
46
 
47
  function amazon_web_services_activation() {
48
+ global $aws_compat_check;
49
+ if ( ! $aws_compat_check->is_compatible() ) {
50
+ $error_msg = $aws_compat_check->get_sdk_requirements_error_msg();
51
+ include dirname( __FILE__ ) . '/view/activation-error.php';
52
+ die();
53
+ }
54
+
55
  // Migrate keys over from old Amazon S3 and CloudFront plugin settings
56
+ if ( ! ( $as3cf = get_option( 'tantan_wordpress_s3' ) ) ) {
57
  return;
58
  }
59
 
60
+ if ( ! isset( $as3cf['key'] ) || ! isset( $as3cf['secret'] ) ) {
61
  return;
62
  }
63
 
64
+ if ( ! get_site_option( Amazon_Web_Services::SETTINGS_KEY ) ) {
65
  add_site_option( Amazon_Web_Services::SETTINGS_KEY, array(
66
+ 'access_key_id' => $as3cf['key'],
67
  'secret_access_key' => $as3cf['secret']
68
  ) );
69
  }
73
 
74
  update_option( 'tantan_wordpress_s3', $as3cf );
75
  }
76
+
77
  register_activation_hook( __FILE__, 'amazon_web_services_activation' );
assets/Gruntfile.js ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module.exports = function(grunt) {
2
+
3
+ grunt.initConfig({
4
+ pkg: grunt.file.readJSON('package.json'),
5
+ uglify: {
6
+ build: {
7
+ files: {
8
+ 'js/script.min.js': 'js/script.js'
9
+ }
10
+ }
11
+ },
12
+ compass: {
13
+ dist: {
14
+ options: {
15
+ }
16
+ }
17
+ },
18
+ watch: {
19
+ js: {
20
+ files: ['js/*'],
21
+ tasks: ['uglify']
22
+ },
23
+ sass: {
24
+ files: ['sass/*'],
25
+ tasks: ['compass']
26
+ }
27
+ }
28
+ });
29
+
30
+ grunt.loadNpmTasks('grunt-contrib-uglify');
31
+ grunt.loadNpmTasks('grunt-contrib-watch');
32
+ grunt.loadNpmTasks('grunt-contrib-compass');
33
+
34
+ grunt.registerTask('default', ['uglify','compass']);
35
+
36
+ };
assets/css/global.css CHANGED
@@ -1 +1 @@
1
- #adminmenu .toplevel_page_amazon-web-services div.wp-menu-image{background:url("../img/icon16.png") no-repeat 7px 5px}#adminmenu .toplevel_page_amazon-web-services.wp-has-current-submenu div.wp-menu-image,#adminmenu .toplevel_page_amazon-web-services.current div.wp-menu-image,#adminmenu .toplevel_page_amazon-web-services:hover div.wp-menu-image{background-position:7px -79px}#adminmenu .toplevel_page_amazon-web-services img{display:none}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2){#adminmenu .toplevel_page_amazon-web-services div.wp-menu-image{background-image:url("../img/icon16@2x.png");background-size:16px 100px}}#icon-amazon-web-services{background:url(../img/icon32.png) no-repeat}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2){#icon-amazon-web-services{background:url(../img/icon32@2x.png) no-repeat;background-size:32px 32px}}
1
+ @font-face{font-family:"aws-plugin";src:url("../fonts/aws-plugin.eot");src:url("../fonts/aws-plugin.eot?#iefix") format("embedded-opentype"),url("../fonts/aws-plugin.woff") format("woff"),url("../fonts/aws-plugin.ttf") format("truetype"),url("../fonts/aws-plugin.svg#aws-plugin") format("svg");font-weight:normal;font-style:normal}#adminmenu .toplevel_page_amazon-web-services div.wp-menu-image:before{content:"b" !important;font-family:"aws-plugin" !important;font-style:normal !important;font-weight:normal !important;font-variant:normal !important;text-transform:none !important;speak:none;font-size:18px;line-height:1.3;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
assets/fonts/aws-plugin.eot ADDED
Binary file
assets/fonts/aws-plugin.svg ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by Fontastic.me</metadata>
5
+ <defs>
6
+ <font id="aws-plugin" horiz-adv-x="512">
7
+ <font-face font-family="aws-plugin" units-per-em="512" ascent="480" descent="-32"/>
8
+ <missing-glyph horiz-adv-x="512" />
9
+
10
+ <glyph unicode="&#98;" d="M26 393l204-67 0-292-203 69m254-70l205 70 0 288-204-64m-26 34l188 61-188 57-193-57"/>
11
+ </font></defs></svg>
assets/fonts/aws-plugin.ttf ADDED
Binary file
assets/fonts/aws-plugin.woff ADDED
Binary file
assets/img/icon32.png DELETED
Binary file
assets/img/icon32@2x.png DELETED
Binary file
assets/package.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "amazon-web-services",
3
+ "version": "0.1.0",
4
+ "devDependencies": {
5
+ "grunt": "^0.4.4",
6
+ "grunt-contrib-uglify": "^0.4.0",
7
+ "grunt-contrib-watch": "^0.6.0",
8
+ "grunt-contrib-compass": "^0.7.2"
9
+ }
10
+ }
assets/sass/global.scss CHANGED
@@ -1,39 +1,29 @@
1
- #adminmenu .toplevel_page_amazon-web-services {
2
- div.wp-menu-image {
3
- background: url("../img/icon16.png") no-repeat 7px 5px;
4
- }
5
-
6
- &.wp-has-current-submenu, &.current, &:hover {
7
- div.wp-menu-image {
8
- background-position: 7px -79px;
9
- }
10
- }
11
-
12
- img {
13
- display: none;
14
- }
15
 
16
- @media only screen and (-webkit-min-device-pixel-ratio: 2),
17
- only screen and (-moz-min-device-pixel-ratio: 2),
18
- only screen and (-o-min-device-pixel-ratio: 2/1),
19
- only screen and (min-device-pixel-ratio: 2) {
 
 
 
 
 
20
 
21
- div.wp-menu-image {
22
- background-image: url("../img/icon16@2x.png");
23
- background-size: 16px 100px;
24
- }
25
- }
26
  }
27
 
28
- #icon-amazon-web-services {
29
- background: url(../img/icon32.png) no-repeat;
30
-
31
- @media only screen and (-webkit-min-device-pixel-ratio: 2),
32
- only screen and (-moz-min-device-pixel-ratio: 2),
33
- only screen and (-o-min-device-pixel-ratio: 2/1),
34
- only screen and (min-device-pixel-ratio: 2) {
35
-
36
- background: url(../img/icon32@2x.png) no-repeat;
37
- background-size: 32px 32px;
38
- }
 
 
 
39
  }
1
+ @charset "UTF-8";
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
+ @font-face {
4
+ font-family: "aws-plugin";
5
+ src:url("../fonts/aws-plugin.eot");
6
+ src:url("../fonts/aws-plugin.eot?#iefix") format("embedded-opentype"),
7
+ url("../fonts/aws-plugin.woff") format("woff"),
8
+ url("../fonts/aws-plugin.ttf") format("truetype"),
9
+ url("../fonts/aws-plugin.svg#aws-plugin") format("svg");
10
+ font-weight: normal;
11
+ font-style: normal;
12
 
 
 
 
 
 
13
  }
14
 
15
+ #adminmenu .toplevel_page_amazon-web-services {
16
+ div.wp-menu-image:before {
17
+ content: "b" !important;
18
+ font-family: "aws-plugin" !important;
19
+ font-style: normal !important;
20
+ font-weight: normal !important;
21
+ font-variant: normal !important;
22
+ text-transform: none !important;
23
+ speak: none;
24
+ font-size: 18px;
25
+ line-height: 1.3;
26
+ -webkit-font-smoothing: antialiased;
27
+ -moz-osx-font-smoothing: grayscale;
28
+ }
29
  }
classes/amazon-web-services.php CHANGED
@@ -8,6 +8,8 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
8
  const SETTINGS_KEY = 'aws_settings';
9
 
10
  function __construct( $plugin_file_path ) {
 
 
11
  parent::__construct( $plugin_file_path );
12
 
13
  do_action( 'aws_init', $this );
@@ -19,34 +21,47 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
19
  if ( is_multisite() ) {
20
  add_action( 'network_admin_menu', array( $this, 'admin_menu' ) );
21
  $this->plugin_permission = 'manage_network_options';
22
- }
23
- else {
24
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
25
  $this->plugin_permission = 'manage_options';
26
  }
27
 
28
- $this->plugin_title = __( 'Amazon Web Services', 'amazon-web-services' );
29
  $this->plugin_menu_title = __( 'AWS', 'amazon-web-services' );
30
  }
31
 
32
  function admin_menu() {
33
- $hook_suffixes[] = add_menu_page( $this->plugin_title, $this->plugin_menu_title, $this->plugin_permission, $this->plugin_slug, array( $this, 'render_page' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
- $title = __( 'Addons', 'amazon-web-services' );
36
- $hook_suffixes[] = $this->add_page( $title, $title, $this->plugin_permission, 'aws-addons', array( $this, 'render_page' ) );
37
-
38
- global $submenu;
39
- if ( isset( $submenu[$this->plugin_slug][0][0] ) ) {
40
- $submenu[$this->plugin_slug][0][0] = __( 'Settings', 'amazon-web-services' );
41
  }
42
 
43
  do_action( 'aws_admin_menu', $this );
44
 
45
  foreach ( $hook_suffixes as $hook_suffix ) {
46
- add_action( 'load-' . $hook_suffix , array( $this, 'plugin_load' ) );
47
  }
48
 
49
- add_action( 'admin_print_styles', array( $this, 'enqueue_menu_styles' ) );
 
 
50
  }
51
 
52
  function add_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
@@ -54,20 +69,25 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
54
  }
55
 
56
  function enqueue_menu_styles() {
57
- $src = plugins_url( 'assets/css/global.css', $this->plugin_file_path );
58
- wp_enqueue_style( 'aws-global-styles', $src, array(), $this->get_installed_version() );
 
59
  }
60
 
61
  function plugin_load() {
 
 
62
  $src = plugins_url( 'assets/css/styles.css', $this->plugin_file_path );
63
- wp_enqueue_style( 'aws-styles', $src, array(), $this->get_installed_version() );
64
-
65
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
66
 
67
  $src = plugins_url( 'assets/js/script' . $suffix . '.js', $this->plugin_file_path );
68
- wp_enqueue_script( 'aws-script', $src, array( 'jquery' ), $this->get_installed_version(), true );
69
 
70
  if ( isset( $_GET['page'] ) && 'aws-addons' == $_GET['page'] ) {
 
 
71
  add_thickbox();
72
  }
73
 
@@ -81,7 +101,7 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
81
  return;
82
  }
83
 
84
- if ( empty( $_POST['_wpnonce'] ) || !wp_verify_nonce( $_POST['_wpnonce'], 'aws-save-settings' ) ) {
85
  die( __( "Cheatin' eh?", 'amazon-web-services' ) );
86
  }
87
 
@@ -90,26 +110,38 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
90
 
91
  $post_vars = array( 'access_key_id', 'secret_access_key' );
92
  foreach ( $post_vars as $var ) {
93
- if ( !isset( $_POST[$var] ) ) {
94
  continue;
95
  }
96
 
97
- if ( 'secret_access_key' == $var && '-- not shown --' == $_POST[$var] ) {
98
  continue;
99
  }
100
 
101
- $this->set_setting( $var, $_POST[$var] );
102
  }
103
 
104
  $this->save_settings();
105
  }
106
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  function render_page() {
108
  if ( empty( $_GET['page'] ) ) {
109
  // Not sure why we'd ever end up here, but just in case
110
  wp_die( 'What the heck are we doin here?' );
111
  }
112
-
113
  $view = 'settings';
114
  if ( preg_match( '@^aws-(.*)$@', $_GET['page'], $matches ) ) {
115
  $allowed = array( 'addons' );
@@ -135,6 +167,14 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
135
  return $this->get_setting( 'access_key_id' );
136
  }
137
 
 
 
 
 
 
 
 
 
138
  function get_secret_access_key() {
139
  if ( $this->are_key_constants_set() ) {
140
  return AWS_SECRET_ACCESS_KEY;
@@ -144,16 +184,21 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
144
  }
145
 
146
  function get_client() {
147
- if ( !$this->get_access_key_id() || !$this->get_secret_access_key() ) {
148
  return new WP_Error( 'access_keys_missing', sprintf( __( 'You must first <a href="%s">set your AWS access keys</a> to use this addon.', 'amazon-web-services' ), 'admin.php?page=' . $this->plugin_slug ) );
149
  }
150
 
151
  if ( is_null( $this->client ) ) {
152
  $args = array(
153
- 'key' => $this->get_access_key_id(),
154
- 'secret' => $this->get_secret_access_key()
155
  );
156
- $args = apply_filters( 'aws_get_client_args', $args );
 
 
 
 
 
157
  $this->client = Aws::factory( $args );
158
  }
159
 
@@ -186,4 +231,4 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
186
  function get_plugin_install_url( $slug ) {
187
  return wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), 'install-plugin_' . $slug );
188
  }
189
- }
8
  const SETTINGS_KEY = 'aws_settings';
9
 
10
  function __construct( $plugin_file_path ) {
11
+ $this->plugin_slug = 'amazon-web-services';
12
+
13
  parent::__construct( $plugin_file_path );
14
 
15
  do_action( 'aws_init', $this );
21
  if ( is_multisite() ) {
22
  add_action( 'network_admin_menu', array( $this, 'admin_menu' ) );
23
  $this->plugin_permission = 'manage_network_options';
24
+ } else {
 
25
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
26
  $this->plugin_permission = 'manage_options';
27
  }
28
 
29
+ $this->plugin_title = __( 'Amazon Web Services', 'amazon-web-services' );
30
  $this->plugin_menu_title = __( 'AWS', 'amazon-web-services' );
31
  }
32
 
33
  function admin_menu() {
34
+ if ( version_compare( $GLOBALS['wp_version'], '3.8', '<' ) ) {
35
+ $icon_url = plugins_url( 'assets/img/icon16.png', $this->plugin_file_path );
36
+ } else {
37
+ $icon_url = false;
38
+ }
39
+
40
+ $hook_suffixes[] = add_menu_page( $this->plugin_title, $this->plugin_menu_title, $this->plugin_permission, $this->plugin_slug, array(
41
+ $this,
42
+ 'render_page'
43
+ ), $icon_url );
44
+
45
+ $title = __( 'Addons', 'amazon-web-services' );
46
+ $hook_suffixes[] = $this->add_page( $title, $title, $this->plugin_permission, 'aws-addons', array(
47
+ $this,
48
+ 'render_page'
49
+ ) );
50
 
51
+ global $submenu;
52
+ if ( isset( $submenu[ $this->plugin_slug ][0][0] ) ) {
53
+ $submenu[ $this->plugin_slug ][0][0] = __( 'Settings', 'amazon-web-services' );
 
 
 
54
  }
55
 
56
  do_action( 'aws_admin_menu', $this );
57
 
58
  foreach ( $hook_suffixes as $hook_suffix ) {
59
+ add_action( 'load-' . $hook_suffix, array( $this, 'plugin_load' ) );
60
  }
61
 
62
+ if ( $icon_url === false ) {
63
+ add_action( 'admin_print_styles', array( $this, 'enqueue_menu_styles' ) );
64
+ }
65
  }
66
 
67
  function add_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
69
  }
70
 
71
  function enqueue_menu_styles() {
72
+ $version = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : $this->plugin_version;
73
+ $src = plugins_url( 'assets/css/global.css', $this->plugin_file_path );
74
+ wp_enqueue_style( 'aws-global-styles', $src, array(), $version );
75
  }
76
 
77
  function plugin_load() {
78
+ $version = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : $this->plugin_version;
79
+
80
  $src = plugins_url( 'assets/css/styles.css', $this->plugin_file_path );
81
+ wp_enqueue_style( 'aws-styles', $src, array(), $version );
82
+
83
  $suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
84
 
85
  $src = plugins_url( 'assets/js/script' . $suffix . '.js', $this->plugin_file_path );
86
+ wp_enqueue_script( 'aws-script', $src, array( 'jquery' ), $version, true );
87
 
88
  if ( isset( $_GET['page'] ) && 'aws-addons' == $_GET['page'] ) {
89
+ add_filter( 'admin_body_class', array( $this, 'admin_plugin_body_class' ) );
90
+ wp_enqueue_script( 'plugin-install' );
91
  add_thickbox();
92
  }
93
 
101
  return;
102
  }
103
 
104
+ if ( empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'aws-save-settings' ) ) {
105
  die( __( "Cheatin' eh?", 'amazon-web-services' ) );
106
  }
107
 
110
 
111
  $post_vars = array( 'access_key_id', 'secret_access_key' );
112
  foreach ( $post_vars as $var ) {
113
+ if ( ! isset( $_POST[ $var ] ) ) {
114
  continue;
115
  }
116
 
117
+ if ( 'secret_access_key' == $var && '-- not shown --' == $_POST[ $var ] ) {
118
  continue;
119
  }
120
 
121
+ $this->set_setting( $var, $_POST[ $var ] );
122
  }
123
 
124
  $this->save_settings();
125
  }
126
 
127
+ /**
128
+ * Adds a class to admin page to style thickbox the same as the plugin directory pages.
129
+ *
130
+ * @param $classes
131
+ *
132
+ * @return string
133
+ */
134
+ function admin_plugin_body_class( $classes ) {
135
+ $classes .= 'plugin-install-php';
136
+
137
+ return $classes;
138
+ }
139
+
140
  function render_page() {
141
  if ( empty( $_GET['page'] ) ) {
142
  // Not sure why we'd ever end up here, but just in case
143
  wp_die( 'What the heck are we doin here?' );
144
  }
 
145
  $view = 'settings';
146
  if ( preg_match( '@^aws-(.*)$@', $_GET['page'], $matches ) ) {
147
  $allowed = array( 'addons' );
167
  return $this->get_setting( 'access_key_id' );
168
  }
169
 
170
+ function get_region() {
171
+ if ( defined( 'AWS_REGION' ) ) {
172
+ return AWS_REGION;
173
+ }
174
+
175
+ return null;
176
+ }
177
+
178
  function get_secret_access_key() {
179
  if ( $this->are_key_constants_set() ) {
180
  return AWS_SECRET_ACCESS_KEY;
184
  }
185
 
186
  function get_client() {
187
+ if ( ! $this->get_access_key_id() || ! $this->get_secret_access_key() ) {
188
  return new WP_Error( 'access_keys_missing', sprintf( __( 'You must first <a href="%s">set your AWS access keys</a> to use this addon.', 'amazon-web-services' ), 'admin.php?page=' . $this->plugin_slug ) );
189
  }
190
 
191
  if ( is_null( $this->client ) ) {
192
  $args = array(
193
+ 'key' => $this->get_access_key_id(),
194
+ 'secret' => $this->get_secret_access_key()
195
  );
196
+
197
+ if ( $this->get_region() ) {
198
+ $args['region'] = $this->get_region();
199
+ }
200
+
201
+ $args = apply_filters( 'aws_get_client_args', $args );
202
  $this->client = Aws::factory( $args );
203
  }
204
 
231
  function get_plugin_install_url( $slug ) {
232
  return wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), 'install-plugin_' . $slug );
233
  }
234
+ }
classes/aws-compatibility-check.php ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class AWS_Compatibility_Check {
3
+
4
+ private $plugin_file_path;
5
+
6
+ function __construct( $plugin_file_path ) {
7
+ $this->plugin_file_path = $plugin_file_path;
8
+
9
+ add_action( 'admin_notices', array( $this, 'hook_admin_notices' ) );
10
+ add_action( 'network_admin_notices', array( $this, 'hook_admin_notices' ) );
11
+ }
12
+
13
+ function is_compatible() {
14
+ return $this->get_sdk_requirements_errors() ? false : true;
15
+ }
16
+
17
+ function get_sdk_requirements_errors() {
18
+ static $errors;
19
+
20
+ if ( ! is_null( $errors ) ) {
21
+ return $errors;
22
+ }
23
+
24
+ $errors = array();
25
+
26
+ if ( version_compare( PHP_VERSION, '5.3.3', '<' ) ) {
27
+ $errors[] = __( 'a PHP version less than 5.3.3', 'amazon-web-services' );
28
+ }
29
+
30
+ if (
31
+ ! function_exists( 'curl_version' )
32
+ || ! ( $curl = curl_version() ) || empty( $curl['version'] ) || empty( $curl['features'] )
33
+ || version_compare( $curl['version'], '7.16.2', '<' )
34
+ ) {
35
+ $errors[] = __( 'a cURL version less than 7.16.2', 'amazon-web-services' );
36
+ }
37
+
38
+ if ( ! empty( $curl['features'] ) ) {
39
+ $curl_errors = array();
40
+
41
+ if ( ! CURL_VERSION_SSL ) {
42
+ $curl_errors[] = 'OpenSSL';
43
+ }
44
+
45
+ if ( ! CURL_VERSION_LIBZ ) {
46
+ $curl_errors[] = 'zlib';
47
+ }
48
+
49
+ if ( $curl_errors ) {
50
+ $errors[] = __( 'cURL compiled without', 'amazon-web-services' ) . ' ' . implode( ' or ', $curl_errors );
51
+ }
52
+ }
53
+
54
+ return $errors;
55
+ }
56
+
57
+ function get_sdk_requirements_error_msg() {
58
+ $errors = $this->get_sdk_requirements_errors();
59
+
60
+ if ( ! $errors ) {
61
+ return '';
62
+ }
63
+
64
+ $msg = __( 'The official Amazon&nbsp;Web&nbsp;Services SDK requires PHP 5.3.3+ and cURL 7.16.2+ compiled with OpenSSL and zlib. Your server currently has', 'amazon-web-services' );
65
+
66
+ if ( count( $errors ) > 1 ) {
67
+ $last_one = ' and ' . array_pop( $errors );
68
+ }
69
+ else {
70
+ $last_one = '';
71
+ }
72
+
73
+ $msg .= ' ' . implode( ', ', $errors ) . $last_one . '.';
74
+
75
+ return $msg;
76
+ }
77
+
78
+ function hook_admin_notices() {
79
+ if ( is_multisite() ) {
80
+ if ( ! current_user_can( 'manage_network_plugins' ) ) {
81
+ return; // Don't show notices if the user can't manage network plugins
82
+ }
83
+ }
84
+ else {
85
+ // Don't show notices if user doesn't have plugin management privileges
86
+ $caps = array( 'activate_plugins', 'update_plugins', 'install_plugins' );
87
+ foreach ( $caps as $cap ) {
88
+ if ( ! current_user_can( $cap ) ) {
89
+ return;
90
+ }
91
+ }
92
+ }
93
+
94
+ $error_msg = $this->get_sdk_requirements_error_msg();
95
+
96
+ if ( ! $error_msg ) {
97
+ return;
98
+ }
99
+
100
+ $deactivated_msg = __( 'The Amazon&nbsp;Web&nbsp;Services plugin has been deactivated.', 'amazon-web-services' );
101
+ printf( '<div class="error"><p>%s %s</p></div>', $deactivated_msg, $error_msg );
102
+
103
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
104
+ deactivate_plugins( $this->plugin_file_path );
105
+ }
106
+ }
classes/aws-plugin-base.php CHANGED
@@ -1,31 +1,59 @@
1
  <?php
 
2
  class AWS_Plugin_Base {
3
 
4
- protected $plugin_file_path, $plugin_dir_path, $plugin_slug, $plugin_basename;
5
  private $settings;
6
 
7
  function __construct( $plugin_file_path ) {
8
  $this->plugin_file_path = $plugin_file_path;
9
- $this->plugin_dir_path = rtrim( plugin_dir_path( $plugin_file_path ), '/' );
10
- $this->plugin_slug = basename( $this->plugin_dir_path );
11
- $this->plugin_basename = plugin_basename( $plugin_file_path );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  }
13
 
14
  function get_settings( $force = false ) {
15
  if ( is_null( $this->settings ) || $force ) {
16
  $this->settings = get_site_option( static::SETTINGS_KEY );
17
  }
 
18
  return $this->settings;
19
  }
20
 
21
- function get_setting( $key ) {
22
  $this->get_settings();
23
 
24
- if ( isset( $this->settings[$key] ) ) {
25
- return $this->settings[$key];
26
  }
27
 
28
- return '';
 
 
 
 
 
 
 
 
29
  }
30
 
31
  function render_view( $view, $args = array() ) {
@@ -34,7 +62,7 @@ class AWS_Plugin_Base {
34
  }
35
 
36
  function set_setting( $key, $value ) {
37
- $this->settings[$key] = $value;
38
  }
39
 
40
  function set_settings( $settings ) {
@@ -44,16 +72,4 @@ class AWS_Plugin_Base {
44
  function save_settings() {
45
  update_site_option( static::SETTINGS_KEY, $this->settings );
46
  }
47
-
48
- function get_installed_version() {
49
- if ( !is_admin() ) return false; // get_themes & get_plugins throw an error on the frontend
50
-
51
- $plugins = get_plugins();
52
-
53
- if ( !isset( $plugins[$this->plugin_basename]['Version'] ) ) {
54
- return false;
55
- }
56
-
57
- return $plugins[$this->plugin_basename]['Version'];
58
- }
59
  }
1
  <?php
2
+
3
  class AWS_Plugin_Base {
4
 
5
+ protected $plugin_file_path, $plugin_dir_path, $plugin_slug, $plugin_basename, $plugin_version;
6
  private $settings;
7
 
8
  function __construct( $plugin_file_path ) {
9
  $this->plugin_file_path = $plugin_file_path;
10
+ $this->plugin_dir_path = rtrim( plugin_dir_path( $plugin_file_path ), '/' );
11
+ $this->plugin_basename = plugin_basename( $plugin_file_path );
12
+ $this->plugin_version = $GLOBALS['aws_meta'][ $this->plugin_slug ]['version'];
13
+ }
14
+
15
+ /**
16
+ * Accessor for plugin version
17
+ *
18
+ * @return mixed
19
+ */
20
+ public function get_plugin_version() {
21
+ return $this->plugin_version;
22
+ }
23
+
24
+ /**
25
+ * Accessor for plugin slug
26
+ *
27
+ * @return mixed
28
+ */
29
+ public function get_plugin_slug() {
30
+ return $this->plugin_slug;
31
  }
32
 
33
  function get_settings( $force = false ) {
34
  if ( is_null( $this->settings ) || $force ) {
35
  $this->settings = get_site_option( static::SETTINGS_KEY );
36
  }
37
+
38
  return $this->settings;
39
  }
40
 
41
+ function get_setting( $key, $default = '' ) {
42
  $this->get_settings();
43
 
44
+ if ( isset( $this->settings[ $key ] ) ) {
45
+ return $this->settings[ $key ];
46
  }
47
 
48
+ return $default;
49
+ }
50
+
51
+ function remove_setting( $key ) {
52
+ $this->get_settings();
53
+
54
+ if ( isset( $this->settings[ $key ] ) ) {
55
+ unset( $this->settings[ $key ] );
56
+ }
57
  }
58
 
59
  function render_view( $view, $args = array() ) {
62
  }
63
 
64
  function set_setting( $key, $value ) {
65
+ $this->settings[ $key ] = $value;
66
  }
67
 
68
  function set_settings( $settings ) {
72
  function save_settings() {
73
  update_site_option( static::SETTINGS_KEY, $this->settings );
74
  }
 
 
 
 
 
 
 
 
 
 
 
 
75
  }
composer.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "deliciousbrains/wp-amazon-web-services",
3
+ "type": "wordpress-plugin",
4
+ "homepage": "https://github.com/deliciousbrains/wp-amazon-web-services",
5
+ "license": "GPLv3",
6
+ "description": "Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.",
7
+ "keywords": ["plugin","amazon-web-services","aws","amazon"],
8
+ "require": {
9
+ "composer/installers": "~1.0.6"
10
+ }
11
+ }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bradt
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5VPMGLLK94XJC
4
  Tags: amazon, amazon web services
5
  Requires at least: 3.5
6
- Tested up to: 3.6.1
7
- Stable tag: 0.1
8
  License: GPLv3
9
 
10
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
@@ -26,5 +26,15 @@ This plugin is required by other plugins, which uses its libraries and its setti
26
 
27
  == Changelog ==
28
 
 
 
 
 
 
 
 
 
 
 
29
  = 0.1 - 2013-09-20 =
30
- * First release
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5VPMGLLK94XJC
4
  Tags: amazon, amazon web services
5
  Requires at least: 3.5
6
+ Tested up to: 4.1
7
+ Stable tag: 0.2
8
  License: GPLv3
9
 
10
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
26
 
27
  == Changelog ==
28
 
29
+ = 0.2 - 2014-12-04 =
30
+ * New: AWS SDK updated to 2.6.16
31
+ * New: Set the region for the AWS client by defining `AWS_REGION` in your wp-config.php
32
+ * New: Composer file for Packagist support
33
+ * Improvement: Base plugin class performance of installed version
34
+ * Improvement: Base plugin class accessor for various properties
35
+ * Improvement: Addon plugin modal now responsive
36
+ * Improvement: Better menu icon
37
+ * Improvement: Code formatting to WordPress standards
38
+
39
  = 0.1 - 2013-09-20 =
40
+ * First release
vendor/aws/Aws/AutoScaling/AutoScalingClient.php CHANGED
@@ -26,20 +26,26 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
26
  /**
27
  * Client to interact with Auto Scaling
28
  *
 
 
29
  * @method Model createAutoScalingGroup(array $args = array()) {@command AutoScaling CreateAutoScalingGroup}
30
  * @method Model createLaunchConfiguration(array $args = array()) {@command AutoScaling CreateLaunchConfiguration}
31
  * @method Model createOrUpdateTags(array $args = array()) {@command AutoScaling CreateOrUpdateTags}
32
  * @method Model deleteAutoScalingGroup(array $args = array()) {@command AutoScaling DeleteAutoScalingGroup}
33
  * @method Model deleteLaunchConfiguration(array $args = array()) {@command AutoScaling DeleteLaunchConfiguration}
 
34
  * @method Model deleteNotificationConfiguration(array $args = array()) {@command AutoScaling DeleteNotificationConfiguration}
35
  * @method Model deletePolicy(array $args = array()) {@command AutoScaling DeletePolicy}
36
  * @method Model deleteScheduledAction(array $args = array()) {@command AutoScaling DeleteScheduledAction}
37
  * @method Model deleteTags(array $args = array()) {@command AutoScaling DeleteTags}
 
38
  * @method Model describeAdjustmentTypes(array $args = array()) {@command AutoScaling DescribeAdjustmentTypes}
39
  * @method Model describeAutoScalingGroups(array $args = array()) {@command AutoScaling DescribeAutoScalingGroups}
40
  * @method Model describeAutoScalingInstances(array $args = array()) {@command AutoScaling DescribeAutoScalingInstances}
41
  * @method Model describeAutoScalingNotificationTypes(array $args = array()) {@command AutoScaling DescribeAutoScalingNotificationTypes}
42
  * @method Model describeLaunchConfigurations(array $args = array()) {@command AutoScaling DescribeLaunchConfigurations}
 
 
43
  * @method Model describeMetricCollectionTypes(array $args = array()) {@command AutoScaling DescribeMetricCollectionTypes}
44
  * @method Model describeNotificationConfigurations(array $args = array()) {@command AutoScaling DescribeNotificationConfigurations}
45
  * @method Model describePolicies(array $args = array()) {@command AutoScaling DescribePolicies}
@@ -48,12 +54,17 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
48
  * @method Model describeScheduledActions(array $args = array()) {@command AutoScaling DescribeScheduledActions}
49
  * @method Model describeTags(array $args = array()) {@command AutoScaling DescribeTags}
50
  * @method Model describeTerminationPolicyTypes(array $args = array()) {@command AutoScaling DescribeTerminationPolicyTypes}
 
51
  * @method Model disableMetricsCollection(array $args = array()) {@command AutoScaling DisableMetricsCollection}
52
  * @method Model enableMetricsCollection(array $args = array()) {@command AutoScaling EnableMetricsCollection}
 
53
  * @method Model executePolicy(array $args = array()) {@command AutoScaling ExecutePolicy}
 
 
54
  * @method Model putNotificationConfiguration(array $args = array()) {@command AutoScaling PutNotificationConfiguration}
55
  * @method Model putScalingPolicy(array $args = array()) {@command AutoScaling PutScalingPolicy}
56
  * @method Model putScheduledUpdateGroupAction(array $args = array()) {@command AutoScaling PutScheduledUpdateGroupAction}
 
57
  * @method Model resumeProcesses(array $args = array()) {@command AutoScaling ResumeProcesses}
58
  * @method Model setDesiredCapacity(array $args = array()) {@command AutoScaling SetDesiredCapacity}
59
  * @method Model setInstanceHealth(array $args = array()) {@command AutoScaling SetInstanceHealth}
@@ -69,8 +80,8 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
69
  * @method ResourceIteratorInterface getDescribeScheduledActionsIterator(array $args = array()) The input array uses the parameters of the DescribeScheduledActions operation
70
  * @method ResourceIteratorInterface getDescribeTagsIterator(array $args = array()) The input array uses the parameters of the DescribeTags operation
71
  *
72
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-autoscaling.html User guide
73
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.AutoScaling.AutoScalingClient.html API docs
74
  */
75
  class AutoScalingClient extends AbstractClient
76
  {
@@ -82,7 +93,7 @@ class AutoScalingClient extends AbstractClient
82
  * @param array|Collection $config Client configuration data
83
  *
84
  * @return self
85
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
86
  */
87
  public static function factory($config = array())
88
  {
26
  /**
27
  * Client to interact with Auto Scaling
28
  *
29
+ * @method Model attachInstances(array $args = array()) {@command AutoScaling AttachInstances}
30
+ * @method Model completeLifecycleAction(array $args = array()) {@command AutoScaling CompleteLifecycleAction}
31
  * @method Model createAutoScalingGroup(array $args = array()) {@command AutoScaling CreateAutoScalingGroup}
32
  * @method Model createLaunchConfiguration(array $args = array()) {@command AutoScaling CreateLaunchConfiguration}
33
  * @method Model createOrUpdateTags(array $args = array()) {@command AutoScaling CreateOrUpdateTags}
34
  * @method Model deleteAutoScalingGroup(array $args = array()) {@command AutoScaling DeleteAutoScalingGroup}
35
  * @method Model deleteLaunchConfiguration(array $args = array()) {@command AutoScaling DeleteLaunchConfiguration}
36
+ * @method Model deleteLifecycleHook(array $args = array()) {@command AutoScaling DeleteLifecycleHook}
37
  * @method Model deleteNotificationConfiguration(array $args = array()) {@command AutoScaling DeleteNotificationConfiguration}
38
  * @method Model deletePolicy(array $args = array()) {@command AutoScaling DeletePolicy}
39
  * @method Model deleteScheduledAction(array $args = array()) {@command AutoScaling DeleteScheduledAction}
40
  * @method Model deleteTags(array $args = array()) {@command AutoScaling DeleteTags}
41
+ * @method Model describeAccountLimits(array $args = array()) {@command AutoScaling DescribeAccountLimits}
42
  * @method Model describeAdjustmentTypes(array $args = array()) {@command AutoScaling DescribeAdjustmentTypes}
43
  * @method Model describeAutoScalingGroups(array $args = array()) {@command AutoScaling DescribeAutoScalingGroups}
44
  * @method Model describeAutoScalingInstances(array $args = array()) {@command AutoScaling DescribeAutoScalingInstances}
45
  * @method Model describeAutoScalingNotificationTypes(array $args = array()) {@command AutoScaling DescribeAutoScalingNotificationTypes}
46
  * @method Model describeLaunchConfigurations(array $args = array()) {@command AutoScaling DescribeLaunchConfigurations}
47
+ * @method Model describeLifecycleHookTypes(array $args = array()) {@command AutoScaling DescribeLifecycleHookTypes}
48
+ * @method Model describeLifecycleHooks(array $args = array()) {@command AutoScaling DescribeLifecycleHooks}
49
  * @method Model describeMetricCollectionTypes(array $args = array()) {@command AutoScaling DescribeMetricCollectionTypes}
50
  * @method Model describeNotificationConfigurations(array $args = array()) {@command AutoScaling DescribeNotificationConfigurations}
51
  * @method Model describePolicies(array $args = array()) {@command AutoScaling DescribePolicies}
54
  * @method Model describeScheduledActions(array $args = array()) {@command AutoScaling DescribeScheduledActions}
55
  * @method Model describeTags(array $args = array()) {@command AutoScaling DescribeTags}
56
  * @method Model describeTerminationPolicyTypes(array $args = array()) {@command AutoScaling DescribeTerminationPolicyTypes}
57
+ * @method Model detachInstances(array $args = array()) {@command AutoScaling DetachInstances}
58
  * @method Model disableMetricsCollection(array $args = array()) {@command AutoScaling DisableMetricsCollection}
59
  * @method Model enableMetricsCollection(array $args = array()) {@command AutoScaling EnableMetricsCollection}
60
+ * @method Model enterStandby(array $args = array()) {@command AutoScaling EnterStandby}
61
  * @method Model executePolicy(array $args = array()) {@command AutoScaling ExecutePolicy}
62
+ * @method Model exitStandby(array $args = array()) {@command AutoScaling ExitStandby}
63
+ * @method Model putLifecycleHook(array $args = array()) {@command AutoScaling PutLifecycleHook}
64
  * @method Model putNotificationConfiguration(array $args = array()) {@command AutoScaling PutNotificationConfiguration}
65
  * @method Model putScalingPolicy(array $args = array()) {@command AutoScaling PutScalingPolicy}
66
  * @method Model putScheduledUpdateGroupAction(array $args = array()) {@command AutoScaling PutScheduledUpdateGroupAction}
67
+ * @method Model recordLifecycleActionHeartbeat(array $args = array()) {@command AutoScaling RecordLifecycleActionHeartbeat}
68
  * @method Model resumeProcesses(array $args = array()) {@command AutoScaling ResumeProcesses}
69
  * @method Model setDesiredCapacity(array $args = array()) {@command AutoScaling SetDesiredCapacity}
70
  * @method Model setInstanceHealth(array $args = array()) {@command AutoScaling SetInstanceHealth}
80
  * @method ResourceIteratorInterface getDescribeScheduledActionsIterator(array $args = array()) The input array uses the parameters of the DescribeScheduledActions operation
81
  * @method ResourceIteratorInterface getDescribeTagsIterator(array $args = array()) The input array uses the parameters of the DescribeTags operation
82
  *
83
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-autoscaling.html User guide
84
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.AutoScaling.AutoScalingClient.html API docs
85
  */
86
  class AutoScalingClient extends AbstractClient
87
  {
93
  * @param array|Collection $config Client configuration data
94
  *
95
  * @return self
96
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
97
  */
98
  public static function factory($config = array())
99
  {
vendor/aws/Aws/AutoScaling/Enum/LifecycleState.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Enum/ScalingActivityStatusCode.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Exception/AlreadyExistsException.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Exception/AutoScalingException.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Exception/InvalidNextTokenException.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Exception/LimitExceededException.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Exception/ResourceInUseException.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Exception/ScalingActivityInProgressException.php CHANGED
File without changes
vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php CHANGED
@@ -63,6 +63,11 @@ return array (
63
  'https' => true,
64
  'hostname' => 'autoscaling.sa-east-1.amazonaws.com',
65
  ),
 
 
 
 
 
66
  'us-gov-west-1' => array(
67
  'http' => true,
68
  'https' => true,
@@ -70,6 +75,88 @@ return array (
70
  ),
71
  ),
72
  'operations' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  'CreateAutoScalingGroup' => array(
74
  'httpMethod' => 'POST',
75
  'uri' => '/',
@@ -95,12 +182,17 @@ return array (
95
  'maxLength' => 255,
96
  ),
97
  'LaunchConfigurationName' => array(
98
- 'required' => true,
99
  'type' => 'string',
100
  'location' => 'aws.query',
101
  'minLength' => 1,
102
  'maxLength' => 1600,
103
  ),
 
 
 
 
 
 
104
  'MinSize' => array(
105
  'required' => true,
106
  'type' => 'numeric',
@@ -243,7 +335,6 @@ return array (
243
  'maxLength' => 255,
244
  ),
245
  'ImageId' => array(
246
- 'required' => true,
247
  'type' => 'string',
248
  'location' => 'aws.query',
249
  'minLength' => 1,
@@ -269,8 +360,13 @@ return array (
269
  'location' => 'aws.query',
270
  'maxLength' => 21847,
271
  ),
 
 
 
 
 
 
272
  'InstanceType' => array(
273
- 'required' => true,
274
  'type' => 'string',
275
  'location' => 'aws.query',
276
  'minLength' => 1,
@@ -320,8 +416,26 @@ return array (
320
  'minimum' => 1,
321
  'maximum' => 1024,
322
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  ),
324
  ),
 
 
 
 
325
  ),
326
  ),
327
  ),
@@ -352,6 +466,17 @@ return array (
352
  'format' => 'boolean-string',
353
  'location' => 'aws.query',
354
  ),
 
 
 
 
 
 
 
 
 
 
 
355
  ),
356
  'errorResponses' => array(
357
  array(
@@ -498,6 +623,39 @@ return array (
498
  ),
499
  ),
500
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
501
  'DeleteNotificationConfiguration' => array(
502
  'httpMethod' => 'POST',
503
  'uri' => '/',
@@ -646,6 +804,25 @@ return array (
646
  ),
647
  ),
648
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
649
  'DescribeAdjustmentTypes' => array(
650
  'httpMethod' => 'POST',
651
  'uri' => '/',
@@ -700,8 +877,6 @@ return array (
700
  'MaxRecords' => array(
701
  'type' => 'numeric',
702
  'location' => 'aws.query',
703
- 'minimum' => 1,
704
- 'maximum' => 50,
705
  ),
706
  ),
707
  'errorResponses' => array(
@@ -742,8 +917,6 @@ return array (
742
  'MaxRecords' => array(
743
  'type' => 'numeric',
744
  'location' => 'aws.query',
745
- 'minimum' => 1,
746
- 'maximum' => 50,
747
  ),
748
  'NextToken' => array(
749
  'type' => 'string',
@@ -811,8 +984,6 @@ return array (
811
  'MaxRecords' => array(
812
  'type' => 'numeric',
813
  'location' => 'aws.query',
814
- 'minimum' => 1,
815
- 'maximum' => 50,
816
  ),
817
  ),
818
  'errorResponses' => array(
@@ -822,6 +993,62 @@ return array (
822
  ),
823
  ),
824
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
825
  'DescribeMetricCollectionTypes' => array(
826
  'httpMethod' => 'POST',
827
  'uri' => '/',
@@ -876,8 +1103,6 @@ return array (
876
  'MaxRecords' => array(
877
  'type' => 'numeric',
878
  'location' => 'aws.query',
879
- 'minimum' => 1,
880
- 'maximum' => 50,
881
  ),
882
  ),
883
  'errorResponses' => array(
@@ -928,8 +1153,6 @@ return array (
928
  'MaxRecords' => array(
929
  'type' => 'numeric',
930
  'location' => 'aws.query',
931
- 'minimum' => 1,
932
- 'maximum' => 50,
933
  ),
934
  ),
935
  'errorResponses' => array(
@@ -974,8 +1197,6 @@ return array (
974
  'MaxRecords' => array(
975
  'type' => 'numeric',
976
  'location' => 'aws.query',
977
- 'minimum' => 1,
978
- 'maximum' => 50,
979
  ),
980
  'NextToken' => array(
981
  'type' => 'string',
@@ -1067,8 +1288,6 @@ return array (
1067
  'MaxRecords' => array(
1068
  'type' => 'numeric',
1069
  'location' => 'aws.query',
1070
- 'minimum' => 1,
1071
- 'maximum' => 50,
1072
  ),
1073
  ),
1074
  'errorResponses' => array(
@@ -1124,8 +1343,6 @@ return array (
1124
  'MaxRecords' => array(
1125
  'type' => 'numeric',
1126
  'location' => 'aws.query',
1127
- 'minimum' => 1,
1128
- 'maximum' => 50,
1129
  ),
1130
  ),
1131
  'errorResponses' => array(
@@ -1154,6 +1371,49 @@ return array (
1154
  ),
1155
  ),
1156
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1157
  'DisableMetricsCollection' => array(
1158
  'httpMethod' => 'POST',
1159
  'uri' => '/',
@@ -1235,6 +1495,49 @@ return array (
1235
  ),
1236
  ),
1237
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1238
  'ExecutePolicy' => array(
1239
  'httpMethod' => 'POST',
1240
  'uri' => '/',
@@ -1278,6 +1581,112 @@ return array (
1278
  ),
1279
  ),
1280
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1281
  'PutNotificationConfiguration' => array(
1282
  'httpMethod' => 'POST',
1283
  'uri' => '/',
@@ -1476,6 +1885,46 @@ return array (
1476
  ),
1477
  ),
1478
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1479
  'ResumeProcesses' => array(
1480
  'httpMethod' => 'POST',
1481
  'uri' => '/',
@@ -1773,6 +2222,20 @@ return array (
1773
  'type' => 'object',
1774
  'additionalProperties' => true,
1775
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1776
  'DescribeAdjustmentTypesAnswer' => array(
1777
  'type' => 'object',
1778
  'additionalProperties' => true,
@@ -2079,8 +2542,20 @@ return array (
2079
  'VolumeSize' => array(
2080
  'type' => 'numeric',
2081
  ),
 
 
 
 
 
 
 
 
 
2082
  ),
2083
  ),
 
 
 
2084
  ),
2085
  ),
2086
  ),
@@ -2104,6 +2579,12 @@ return array (
2104
  'EbsOptimized' => array(
2105
  'type' => 'boolean',
2106
  ),
 
 
 
 
 
 
2107
  ),
2108
  ),
2109
  ),
@@ -2113,6 +2594,65 @@ return array (
2113
  ),
2114
  ),
2115
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2116
  'DescribeMetricCollectionTypesAnswer' => array(
2117
  'type' => 'object',
2118
  'additionalProperties' => true,
@@ -2408,6 +2948,147 @@ return array (
2408
  ),
2409
  ),
2410
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2411
  'PolicyARNType' => array(
2412
  'type' => 'object',
2413
  'additionalProperties' => true,
@@ -2462,55 +3143,53 @@ return array (
2462
  ),
2463
  ),
2464
  'iterators' => array(
2465
- 'operations' => array(
2466
- 'DescribeAutoScalingGroups' => array(
2467
- 'token_param' => 'NextToken',
2468
- 'token_key' => 'NextToken',
2469
- 'limit_key' => 'MaxRecords',
2470
- 'result_key' => 'AutoScalingGroups',
2471
- ),
2472
- 'DescribeAutoScalingInstances' => array(
2473
- 'token_param' => 'NextToken',
2474
- 'token_key' => 'NextToken',
2475
- 'limit_key' => 'MaxRecords',
2476
- 'result_key' => 'AutoScalingInstances',
2477
- ),
2478
- 'DescribeLaunchConfigurations' => array(
2479
- 'token_param' => 'NextToken',
2480
- 'token_key' => 'NextToken',
2481
- 'limit_key' => 'MaxRecords',
2482
- 'result_key' => 'LaunchConfigurations',
2483
- ),
2484
- 'DescribeNotificationConfigurations' => array(
2485
- 'token_param' => 'NextToken',
2486
- 'token_key' => 'NextToken',
2487
- 'limit_key' => 'MaxRecords',
2488
- 'result_key' => 'NotificationConfigurations',
2489
- ),
2490
- 'DescribePolicies' => array(
2491
- 'token_param' => 'NextToken',
2492
- 'token_key' => 'NextToken',
2493
- 'limit_key' => 'MaxRecords',
2494
- 'result_key' => 'ScalingPolicies',
2495
- ),
2496
- 'DescribeScalingActivities' => array(
2497
- 'token_param' => 'NextToken',
2498
- 'token_key' => 'NextToken',
2499
- 'limit_key' => 'MaxRecords',
2500
- 'result_key' => 'Activities',
2501
- ),
2502
- 'DescribeScheduledActions' => array(
2503
- 'token_param' => 'NextToken',
2504
- 'token_key' => 'NextToken',
2505
- 'limit_key' => 'MaxRecords',
2506
- 'result_key' => 'ScheduledUpdateGroupActions',
2507
- ),
2508
- 'DescribeTags' => array(
2509
- 'token_param' => 'NextToken',
2510
- 'token_key' => 'NextToken',
2511
- 'limit_key' => 'MaxRecords',
2512
- 'result_key' => 'Tags',
2513
- ),
2514
  ),
2515
  ),
2516
  );
63
  'https' => true,
64
  'hostname' => 'autoscaling.sa-east-1.amazonaws.com',
65
  ),
66
+ 'cn-north-1' => array(
67
+ 'http' => true,
68
+ 'https' => true,
69
+ 'hostname' => 'autoscaling.cn-north-1.amazonaws.com.cn',
70
+ ),
71
  'us-gov-west-1' => array(
72
  'http' => true,
73
  'https' => true,
75
  ),
76
  ),
77
  'operations' => array(
78
+ 'AttachInstances' => array(
79
+ 'httpMethod' => 'POST',
80
+ 'uri' => '/',
81
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
82
+ 'responseClass' => 'EmptyOutput',
83
+ 'responseType' => 'model',
84
+ 'parameters' => array(
85
+ 'Action' => array(
86
+ 'static' => true,
87
+ 'location' => 'aws.query',
88
+ 'default' => 'AttachInstances',
89
+ ),
90
+ 'Version' => array(
91
+ 'static' => true,
92
+ 'location' => 'aws.query',
93
+ 'default' => '2011-01-01',
94
+ ),
95
+ 'InstanceIds' => array(
96
+ 'type' => 'array',
97
+ 'location' => 'aws.query',
98
+ 'sentAs' => 'InstanceIds.member',
99
+ 'items' => array(
100
+ 'name' => 'XmlStringMaxLen16',
101
+ 'type' => 'string',
102
+ 'minLength' => 1,
103
+ 'maxLength' => 16,
104
+ ),
105
+ ),
106
+ 'AutoScalingGroupName' => array(
107
+ 'required' => true,
108
+ 'type' => 'string',
109
+ 'location' => 'aws.query',
110
+ 'minLength' => 1,
111
+ 'maxLength' => 1600,
112
+ ),
113
+ ),
114
+ ),
115
+ 'CompleteLifecycleAction' => array(
116
+ 'httpMethod' => 'POST',
117
+ 'uri' => '/',
118
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
119
+ 'responseClass' => 'EmptyOutput',
120
+ 'responseType' => 'model',
121
+ 'parameters' => array(
122
+ 'Action' => array(
123
+ 'static' => true,
124
+ 'location' => 'aws.query',
125
+ 'default' => 'CompleteLifecycleAction',
126
+ ),
127
+ 'Version' => array(
128
+ 'static' => true,
129
+ 'location' => 'aws.query',
130
+ 'default' => '2011-01-01',
131
+ ),
132
+ 'LifecycleHookName' => array(
133
+ 'required' => true,
134
+ 'type' => 'string',
135
+ 'location' => 'aws.query',
136
+ 'minLength' => 1,
137
+ 'maxLength' => 255,
138
+ ),
139
+ 'AutoScalingGroupName' => array(
140
+ 'required' => true,
141
+ 'type' => 'string',
142
+ 'location' => 'aws.query',
143
+ 'minLength' => 1,
144
+ 'maxLength' => 1600,
145
+ ),
146
+ 'LifecycleActionToken' => array(
147
+ 'required' => true,
148
+ 'type' => 'string',
149
+ 'location' => 'aws.query',
150
+ 'minLength' => 36,
151
+ 'maxLength' => 36,
152
+ ),
153
+ 'LifecycleActionResult' => array(
154
+ 'required' => true,
155
+ 'type' => 'string',
156
+ 'location' => 'aws.query',
157
+ ),
158
+ ),
159
+ ),
160
  'CreateAutoScalingGroup' => array(
161
  'httpMethod' => 'POST',
162
  'uri' => '/',
182
  'maxLength' => 255,
183
  ),
184
  'LaunchConfigurationName' => array(
 
185
  'type' => 'string',
186
  'location' => 'aws.query',
187
  'minLength' => 1,
188
  'maxLength' => 1600,
189
  ),
190
+ 'InstanceId' => array(
191
+ 'type' => 'string',
192
+ 'location' => 'aws.query',
193
+ 'minLength' => 1,
194
+ 'maxLength' => 16,
195
+ ),
196
  'MinSize' => array(
197
  'required' => true,
198
  'type' => 'numeric',
335
  'maxLength' => 255,
336
  ),
337
  'ImageId' => array(
 
338
  'type' => 'string',
339
  'location' => 'aws.query',
340
  'minLength' => 1,
360
  'location' => 'aws.query',
361
  'maxLength' => 21847,
362
  ),
363
+ 'InstanceId' => array(
364
+ 'type' => 'string',
365
+ 'location' => 'aws.query',
366
+ 'minLength' => 1,
367
+ 'maxLength' => 16,
368
+ ),
369
  'InstanceType' => array(
 
370
  'type' => 'string',
371
  'location' => 'aws.query',
372
  'minLength' => 1,
416
  'minimum' => 1,
417
  'maximum' => 1024,
418
  ),
419
+ 'VolumeType' => array(
420
+ 'type' => 'string',
421
+ 'minLength' => 1,
422
+ 'maxLength' => 255,
423
+ ),
424
+ 'DeleteOnTermination' => array(
425
+ 'type' => 'boolean',
426
+ 'format' => 'boolean-string',
427
+ ),
428
+ 'Iops' => array(
429
+ 'type' => 'numeric',
430
+ 'minimum' => 100,
431
+ 'maximum' => 4000,
432
+ ),
433
  ),
434
  ),
435
+ 'NoDevice' => array(
436
+ 'type' => 'boolean',
437
+ 'format' => 'boolean-string',
438
+ ),
439
  ),
440
  ),
441
  ),
466
  'format' => 'boolean-string',
467
  'location' => 'aws.query',
468
  ),
469
+ 'AssociatePublicIpAddress' => array(
470
+ 'type' => 'boolean',
471
+ 'format' => 'boolean-string',
472
+ 'location' => 'aws.query',
473
+ ),
474
+ 'PlacementTenancy' => array(
475
+ 'type' => 'string',
476
+ 'location' => 'aws.query',
477
+ 'minLength' => 1,
478
+ 'maxLength' => 64,
479
+ ),
480
  ),
481
  'errorResponses' => array(
482
  array(
623
  ),
624
  ),
625
  ),
626
+ 'DeleteLifecycleHook' => array(
627
+ 'httpMethod' => 'POST',
628
+ 'uri' => '/',
629
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
630
+ 'responseClass' => 'EmptyOutput',
631
+ 'responseType' => 'model',
632
+ 'parameters' => array(
633
+ 'Action' => array(
634
+ 'static' => true,
635
+ 'location' => 'aws.query',
636
+ 'default' => 'DeleteLifecycleHook',
637
+ ),
638
+ 'Version' => array(
639
+ 'static' => true,
640
+ 'location' => 'aws.query',
641
+ 'default' => '2011-01-01',
642
+ ),
643
+ 'LifecycleHookName' => array(
644
+ 'required' => true,
645
+ 'type' => 'string',
646
+ 'location' => 'aws.query',
647
+ 'minLength' => 1,
648
+ 'maxLength' => 255,
649
+ ),
650
+ 'AutoScalingGroupName' => array(
651
+ 'required' => true,
652
+ 'type' => 'string',
653
+ 'location' => 'aws.query',
654
+ 'minLength' => 1,
655
+ 'maxLength' => 1600,
656
+ ),
657
+ ),
658
+ ),
659
  'DeleteNotificationConfiguration' => array(
660
  'httpMethod' => 'POST',
661
  'uri' => '/',
804
  ),
805
  ),
806
  ),
807
+ 'DescribeAccountLimits' => array(
808
+ 'httpMethod' => 'POST',
809
+ 'uri' => '/',
810
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
811
+ 'responseClass' => 'DescribeAccountLimitsAnswer',
812
+ 'responseType' => 'model',
813
+ 'parameters' => array(
814
+ 'Action' => array(
815
+ 'static' => true,
816
+ 'location' => 'aws.query',
817
+ 'default' => 'DescribeAccountLimits',
818
+ ),
819
+ 'Version' => array(
820
+ 'static' => true,
821
+ 'location' => 'aws.query',
822
+ 'default' => '2011-01-01',
823
+ ),
824
+ ),
825
+ ),
826
  'DescribeAdjustmentTypes' => array(
827
  'httpMethod' => 'POST',
828
  'uri' => '/',
877
  'MaxRecords' => array(
878
  'type' => 'numeric',
879
  'location' => 'aws.query',
 
 
880
  ),
881
  ),
882
  'errorResponses' => array(
917
  'MaxRecords' => array(
918
  'type' => 'numeric',
919
  'location' => 'aws.query',
 
 
920
  ),
921
  'NextToken' => array(
922
  'type' => 'string',
984
  'MaxRecords' => array(
985
  'type' => 'numeric',
986
  'location' => 'aws.query',
 
 
987
  ),
988
  ),
989
  'errorResponses' => array(
993
  ),
994
  ),
995
  ),
996
+ 'DescribeLifecycleHookTypes' => array(
997
+ 'httpMethod' => 'POST',
998
+ 'uri' => '/',
999
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1000
+ 'responseClass' => 'DescribeLifecycleHookTypesAnswer',
1001
+ 'responseType' => 'model',
1002
+ 'parameters' => array(
1003
+ 'Action' => array(
1004
+ 'static' => true,
1005
+ 'location' => 'aws.query',
1006
+ 'default' => 'DescribeLifecycleHookTypes',
1007
+ ),
1008
+ 'Version' => array(
1009
+ 'static' => true,
1010
+ 'location' => 'aws.query',
1011
+ 'default' => '2011-01-01',
1012
+ ),
1013
+ ),
1014
+ ),
1015
+ 'DescribeLifecycleHooks' => array(
1016
+ 'httpMethod' => 'POST',
1017
+ 'uri' => '/',
1018
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1019
+ 'responseClass' => 'DescribeLifecycleHooksAnswer',
1020
+ 'responseType' => 'model',
1021
+ 'parameters' => array(
1022
+ 'Action' => array(
1023
+ 'static' => true,
1024
+ 'location' => 'aws.query',
1025
+ 'default' => 'DescribeLifecycleHooks',
1026
+ ),
1027
+ 'Version' => array(
1028
+ 'static' => true,
1029
+ 'location' => 'aws.query',
1030
+ 'default' => '2011-01-01',
1031
+ ),
1032
+ 'AutoScalingGroupName' => array(
1033
+ 'required' => true,
1034
+ 'type' => 'string',
1035
+ 'location' => 'aws.query',
1036
+ 'minLength' => 1,
1037
+ 'maxLength' => 1600,
1038
+ ),
1039
+ 'LifecycleHookNames' => array(
1040
+ 'type' => 'array',
1041
+ 'location' => 'aws.query',
1042
+ 'sentAs' => 'LifecycleHookNames.member',
1043
+ 'items' => array(
1044
+ 'name' => 'AsciiStringMaxLen255',
1045
+ 'type' => 'string',
1046
+ 'minLength' => 1,
1047
+ 'maxLength' => 255,
1048
+ ),
1049
+ ),
1050
+ ),
1051
+ ),
1052
  'DescribeMetricCollectionTypes' => array(
1053
  'httpMethod' => 'POST',
1054
  'uri' => '/',
1103
  'MaxRecords' => array(
1104
  'type' => 'numeric',
1105
  'location' => 'aws.query',
 
 
1106
  ),
1107
  ),
1108
  'errorResponses' => array(
1153
  'MaxRecords' => array(
1154
  'type' => 'numeric',
1155
  'location' => 'aws.query',
 
 
1156
  ),
1157
  ),
1158
  'errorResponses' => array(
1197
  'MaxRecords' => array(
1198
  'type' => 'numeric',
1199
  'location' => 'aws.query',
 
 
1200
  ),
1201
  'NextToken' => array(
1202
  'type' => 'string',
1288
  'MaxRecords' => array(
1289
  'type' => 'numeric',
1290
  'location' => 'aws.query',
 
 
1291
  ),
1292
  ),
1293
  'errorResponses' => array(
1343
  'MaxRecords' => array(
1344
  'type' => 'numeric',
1345
  'location' => 'aws.query',
 
 
1346
  ),
1347
  ),
1348
  'errorResponses' => array(
1371
  ),
1372
  ),
1373
  ),
1374
+ 'DetachInstances' => array(
1375
+ 'httpMethod' => 'POST',
1376
+ 'uri' => '/',
1377
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1378
+ 'responseClass' => 'DetachInstancesAnswer',
1379
+ 'responseType' => 'model',
1380
+ 'parameters' => array(
1381
+ 'Action' => array(
1382
+ 'static' => true,
1383
+ 'location' => 'aws.query',
1384
+ 'default' => 'DetachInstances',
1385
+ ),
1386
+ 'Version' => array(
1387
+ 'static' => true,
1388
+ 'location' => 'aws.query',
1389
+ 'default' => '2011-01-01',
1390
+ ),
1391
+ 'InstanceIds' => array(
1392
+ 'type' => 'array',
1393
+ 'location' => 'aws.query',
1394
+ 'sentAs' => 'InstanceIds.member',
1395
+ 'items' => array(
1396
+ 'name' => 'XmlStringMaxLen16',
1397
+ 'type' => 'string',
1398
+ 'minLength' => 1,
1399
+ 'maxLength' => 16,
1400
+ ),
1401
+ ),
1402
+ 'AutoScalingGroupName' => array(
1403
+ 'required' => true,
1404
+ 'type' => 'string',
1405
+ 'location' => 'aws.query',
1406
+ 'minLength' => 1,
1407
+ 'maxLength' => 1600,
1408
+ ),
1409
+ 'ShouldDecrementDesiredCapacity' => array(
1410
+ 'required' => true,
1411
+ 'type' => 'boolean',
1412
+ 'format' => 'boolean-string',
1413
+ 'location' => 'aws.query',
1414
+ ),
1415
+ ),
1416
+ ),
1417
  'DisableMetricsCollection' => array(
1418
  'httpMethod' => 'POST',
1419
  'uri' => '/',
1495
  ),
1496
  ),
1497
  ),
1498
+ 'EnterStandby' => array(
1499
+ 'httpMethod' => 'POST',
1500
+ 'uri' => '/',
1501
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1502
+ 'responseClass' => 'EnterStandbyAnswer',
1503
+ 'responseType' => 'model',
1504
+ 'parameters' => array(
1505
+ 'Action' => array(
1506
+ 'static' => true,
1507
+ 'location' => 'aws.query',
1508
+ 'default' => 'EnterStandby',
1509
+ ),
1510
+ 'Version' => array(
1511
+ 'static' => true,
1512
+ 'location' => 'aws.query',
1513
+ 'default' => '2011-01-01',
1514
+ ),
1515
+ 'InstanceIds' => array(
1516
+ 'type' => 'array',
1517
+ 'location' => 'aws.query',
1518
+ 'sentAs' => 'InstanceIds.member',
1519
+ 'items' => array(
1520
+ 'name' => 'XmlStringMaxLen16',
1521
+ 'type' => 'string',
1522
+ 'minLength' => 1,
1523
+ 'maxLength' => 16,
1524
+ ),
1525
+ ),
1526
+ 'AutoScalingGroupName' => array(
1527
+ 'required' => true,
1528
+ 'type' => 'string',
1529
+ 'location' => 'aws.query',
1530
+ 'minLength' => 1,
1531
+ 'maxLength' => 1600,
1532
+ ),
1533
+ 'ShouldDecrementDesiredCapacity' => array(
1534
+ 'required' => true,
1535
+ 'type' => 'boolean',
1536
+ 'format' => 'boolean-string',
1537
+ 'location' => 'aws.query',
1538
+ ),
1539
+ ),
1540
+ ),
1541
  'ExecutePolicy' => array(
1542
  'httpMethod' => 'POST',
1543
  'uri' => '/',
1581
  ),
1582
  ),
1583
  ),
1584
+ 'ExitStandby' => array(
1585
+ 'httpMethod' => 'POST',
1586
+ 'uri' => '/',
1587
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1588
+ 'responseClass' => 'ExitStandbyAnswer',
1589
+ 'responseType' => 'model',
1590
+ 'parameters' => array(
1591
+ 'Action' => array(
1592
+ 'static' => true,
1593
+ 'location' => 'aws.query',
1594
+ 'default' => 'ExitStandby',
1595
+ ),
1596
+ 'Version' => array(
1597
+ 'static' => true,
1598
+ 'location' => 'aws.query',
1599
+ 'default' => '2011-01-01',
1600
+ ),
1601
+ 'InstanceIds' => array(
1602
+ 'type' => 'array',
1603
+ 'location' => 'aws.query',
1604
+ 'sentAs' => 'InstanceIds.member',
1605
+ 'items' => array(
1606
+ 'name' => 'XmlStringMaxLen16',
1607
+ 'type' => 'string',
1608
+ 'minLength' => 1,
1609
+ 'maxLength' => 16,
1610
+ ),
1611
+ ),
1612
+ 'AutoScalingGroupName' => array(
1613
+ 'required' => true,
1614
+ 'type' => 'string',
1615
+ 'location' => 'aws.query',
1616
+ 'minLength' => 1,
1617
+ 'maxLength' => 1600,
1618
+ ),
1619
+ ),
1620
+ ),
1621
+ 'PutLifecycleHook' => array(
1622
+ 'httpMethod' => 'POST',
1623
+ 'uri' => '/',
1624
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1625
+ 'responseClass' => 'EmptyOutput',
1626
+ 'responseType' => 'model',
1627
+ 'parameters' => array(
1628
+ 'Action' => array(
1629
+ 'static' => true,
1630
+ 'location' => 'aws.query',
1631
+ 'default' => 'PutLifecycleHook',
1632
+ ),
1633
+ 'Version' => array(
1634
+ 'static' => true,
1635
+ 'location' => 'aws.query',
1636
+ 'default' => '2011-01-01',
1637
+ ),
1638
+ 'LifecycleHookName' => array(
1639
+ 'required' => true,
1640
+ 'type' => 'string',
1641
+ 'location' => 'aws.query',
1642
+ 'minLength' => 1,
1643
+ 'maxLength' => 255,
1644
+ ),
1645
+ 'AutoScalingGroupName' => array(
1646
+ 'required' => true,
1647
+ 'type' => 'string',
1648
+ 'location' => 'aws.query',
1649
+ 'minLength' => 1,
1650
+ 'maxLength' => 1600,
1651
+ ),
1652
+ 'LifecycleTransition' => array(
1653
+ 'type' => 'string',
1654
+ 'location' => 'aws.query',
1655
+ ),
1656
+ 'RoleARN' => array(
1657
+ 'type' => 'string',
1658
+ 'location' => 'aws.query',
1659
+ 'minLength' => 1,
1660
+ 'maxLength' => 1600,
1661
+ ),
1662
+ 'NotificationTargetARN' => array(
1663
+ 'type' => 'string',
1664
+ 'location' => 'aws.query',
1665
+ 'minLength' => 1,
1666
+ 'maxLength' => 1600,
1667
+ ),
1668
+ 'NotificationMetadata' => array(
1669
+ 'type' => 'string',
1670
+ 'location' => 'aws.query',
1671
+ 'minLength' => 1,
1672
+ 'maxLength' => 1023,
1673
+ ),
1674
+ 'HeartbeatTimeout' => array(
1675
+ 'type' => 'numeric',
1676
+ 'location' => 'aws.query',
1677
+ ),
1678
+ 'DefaultResult' => array(
1679
+ 'type' => 'string',
1680
+ 'location' => 'aws.query',
1681
+ ),
1682
+ ),
1683
+ 'errorResponses' => array(
1684
+ array(
1685
+ 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
1686
+ 'class' => 'LimitExceededException',
1687
+ ),
1688
+ ),
1689
+ ),
1690
  'PutNotificationConfiguration' => array(
1691
  'httpMethod' => 'POST',
1692
  'uri' => '/',
1885
  ),
1886
  ),
1887
  ),
1888
+ 'RecordLifecycleActionHeartbeat' => array(
1889
+ 'httpMethod' => 'POST',
1890
+ 'uri' => '/',
1891
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1892
+ 'responseClass' => 'EmptyOutput',
1893
+ 'responseType' => 'model',
1894
+ 'parameters' => array(
1895
+ 'Action' => array(
1896
+ 'static' => true,
1897
+ 'location' => 'aws.query',
1898
+ 'default' => 'RecordLifecycleActionHeartbeat',
1899
+ ),
1900
+ 'Version' => array(
1901
+ 'static' => true,
1902
+ 'location' => 'aws.query',
1903
+ 'default' => '2011-01-01',
1904
+ ),
1905
+ 'LifecycleHookName' => array(
1906
+ 'required' => true,
1907
+ 'type' => 'string',
1908
+ 'location' => 'aws.query',
1909
+ 'minLength' => 1,
1910
+ 'maxLength' => 255,
1911
+ ),
1912
+ 'AutoScalingGroupName' => array(
1913
+ 'required' => true,
1914
+ 'type' => 'string',
1915
+ 'location' => 'aws.query',
1916
+ 'minLength' => 1,
1917
+ 'maxLength' => 1600,
1918
+ ),
1919
+ 'LifecycleActionToken' => array(
1920
+ 'required' => true,
1921
+ 'type' => 'string',
1922
+ 'location' => 'aws.query',
1923
+ 'minLength' => 36,
1924
+ 'maxLength' => 36,
1925
+ ),
1926
+ ),
1927
+ ),
1928
  'ResumeProcesses' => array(
1929
  'httpMethod' => 'POST',
1930
  'uri' => '/',
2222
  'type' => 'object',
2223
  'additionalProperties' => true,
2224
  ),
2225
+ 'DescribeAccountLimitsAnswer' => array(
2226
+ 'type' => 'object',
2227
+ 'additionalProperties' => true,
2228
+ 'properties' => array(
2229
+ 'MaxNumberOfAutoScalingGroups' => array(
2230
+ 'type' => 'numeric',
2231
+ 'location' => 'xml',
2232
+ ),
2233
+ 'MaxNumberOfLaunchConfigurations' => array(
2234
+ 'type' => 'numeric',
2235
+ 'location' => 'xml',
2236
+ ),
2237
+ ),
2238
+ ),
2239
  'DescribeAdjustmentTypesAnswer' => array(
2240
  'type' => 'object',
2241
  'additionalProperties' => true,
2542
  'VolumeSize' => array(
2543
  'type' => 'numeric',
2544
  ),
2545
+ 'VolumeType' => array(
2546
+ 'type' => 'string',
2547
+ ),
2548
+ 'DeleteOnTermination' => array(
2549
+ 'type' => 'boolean',
2550
+ ),
2551
+ 'Iops' => array(
2552
+ 'type' => 'numeric',
2553
+ ),
2554
  ),
2555
  ),
2556
+ 'NoDevice' => array(
2557
+ 'type' => 'boolean',
2558
+ ),
2559
  ),
2560
  ),
2561
  ),
2579
  'EbsOptimized' => array(
2580
  'type' => 'boolean',
2581
  ),
2582
+ 'AssociatePublicIpAddress' => array(
2583
+ 'type' => 'boolean',
2584
+ ),
2585
+ 'PlacementTenancy' => array(
2586
+ 'type' => 'string',
2587
+ ),
2588
  ),
2589
  ),
2590
  ),
2594
  ),
2595
  ),
2596
  ),
2597
+ 'DescribeLifecycleHookTypesAnswer' => array(
2598
+ 'type' => 'object',
2599
+ 'additionalProperties' => true,
2600
+ 'properties' => array(
2601
+ 'LifecycleHookTypes' => array(
2602
+ 'type' => 'array',
2603
+ 'location' => 'xml',
2604
+ 'items' => array(
2605
+ 'name' => 'XmlStringMaxLen255',
2606
+ 'type' => 'string',
2607
+ 'sentAs' => 'member',
2608
+ ),
2609
+ ),
2610
+ ),
2611
+ ),
2612
+ 'DescribeLifecycleHooksAnswer' => array(
2613
+ 'type' => 'object',
2614
+ 'additionalProperties' => true,
2615
+ 'properties' => array(
2616
+ 'LifecycleHooks' => array(
2617
+ 'type' => 'array',
2618
+ 'location' => 'xml',
2619
+ 'items' => array(
2620
+ 'name' => 'LifecycleHook',
2621
+ 'type' => 'object',
2622
+ 'sentAs' => 'member',
2623
+ 'properties' => array(
2624
+ 'LifecycleHookName' => array(
2625
+ 'type' => 'string',
2626
+ ),
2627
+ 'AutoScalingGroupName' => array(
2628
+ 'type' => 'string',
2629
+ ),
2630
+ 'LifecycleTransition' => array(
2631
+ 'type' => 'string',
2632
+ ),
2633
+ 'NotificationTargetARN' => array(
2634
+ 'type' => 'string',
2635
+ ),
2636
+ 'RoleARN' => array(
2637
+ 'type' => 'string',
2638
+ ),
2639
+ 'NotificationMetadata' => array(
2640
+ 'type' => 'string',
2641
+ ),
2642
+ 'HeartbeatTimeout' => array(
2643
+ 'type' => 'numeric',
2644
+ ),
2645
+ 'GlobalTimeout' => array(
2646
+ 'type' => 'numeric',
2647
+ ),
2648
+ 'DefaultResult' => array(
2649
+ 'type' => 'string',
2650
+ ),
2651
+ ),
2652
+ ),
2653
+ ),
2654
+ ),
2655
+ ),
2656
  'DescribeMetricCollectionTypesAnswer' => array(
2657
  'type' => 'object',
2658
  'additionalProperties' => true,
2948
  ),
2949
  ),
2950
  ),
2951
+ 'DetachInstancesAnswer' => array(
2952
+ 'type' => 'object',
2953
+ 'additionalProperties' => true,
2954
+ 'properties' => array(
2955
+ 'Activities' => array(
2956
+ 'type' => 'array',
2957
+ 'location' => 'xml',
2958
+ 'items' => array(
2959
+ 'name' => 'Activity',
2960
+ 'type' => 'object',
2961
+ 'sentAs' => 'member',
2962
+ 'properties' => array(
2963
+ 'ActivityId' => array(
2964
+ 'type' => 'string',
2965
+ ),
2966
+ 'AutoScalingGroupName' => array(
2967
+ 'type' => 'string',
2968
+ ),
2969
+ 'Description' => array(
2970
+ 'type' => 'string',
2971
+ ),
2972
+ 'Cause' => array(
2973
+ 'type' => 'string',
2974
+ ),
2975
+ 'StartTime' => array(
2976
+ 'type' => 'string',
2977
+ ),
2978
+ 'EndTime' => array(
2979
+ 'type' => 'string',
2980
+ ),
2981
+ 'StatusCode' => array(
2982
+ 'type' => 'string',
2983
+ ),
2984
+ 'StatusMessage' => array(
2985
+ 'type' => 'string',
2986
+ ),
2987
+ 'Progress' => array(
2988
+ 'type' => 'numeric',
2989
+ ),
2990
+ 'Details' => array(
2991
+ 'type' => 'string',
2992
+ ),
2993
+ ),
2994
+ ),
2995
+ ),
2996
+ ),
2997
+ ),
2998
+ 'EnterStandbyAnswer' => array(
2999
+ 'type' => 'object',
3000
+ 'additionalProperties' => true,
3001
+ 'properties' => array(
3002
+ 'Activities' => array(
3003
+ 'type' => 'array',
3004
+ 'location' => 'xml',
3005
+ 'items' => array(
3006
+ 'name' => 'Activity',
3007
+ 'type' => 'object',
3008
+ 'sentAs' => 'member',
3009
+ 'properties' => array(
3010
+ 'ActivityId' => array(
3011
+ 'type' => 'string',
3012
+ ),
3013
+ 'AutoScalingGroupName' => array(
3014
+ 'type' => 'string',
3015
+ ),
3016
+ 'Description' => array(
3017
+ 'type' => 'string',
3018
+ ),
3019
+ 'Cause' => array(
3020
+ 'type' => 'string',
3021
+ ),
3022
+ 'StartTime' => array(
3023
+ 'type' => 'string',
3024
+ ),
3025
+ 'EndTime' => array(
3026
+ 'type' => 'string',
3027
+ ),
3028
+ 'StatusCode' => array(
3029
+ 'type' => 'string',
3030
+ ),
3031
+ 'StatusMessage' => array(
3032
+ 'type' => 'string',
3033
+ ),
3034
+ 'Progress' => array(
3035
+ 'type' => 'numeric',
3036
+ ),
3037
+ 'Details' => array(
3038
+ 'type' => 'string',
3039
+ ),
3040
+ ),
3041
+ ),
3042
+ ),
3043
+ ),
3044
+ ),
3045
+ 'ExitStandbyAnswer' => array(
3046
+ 'type' => 'object',
3047
+ 'additionalProperties' => true,
3048
+ 'properties' => array(
3049
+ 'Activities' => array(
3050
+ 'type' => 'array',
3051
+ 'location' => 'xml',
3052
+ 'items' => array(
3053
+ 'name' => 'Activity',
3054
+ 'type' => 'object',
3055
+ 'sentAs' => 'member',
3056
+ 'properties' => array(
3057
+ 'ActivityId' => array(
3058
+ 'type' => 'string',
3059
+ ),
3060
+ 'AutoScalingGroupName' => array(
3061
+ 'type' => 'string',
3062
+ ),
3063
+ 'Description' => array(
3064
+ 'type' => 'string',
3065
+ ),
3066
+ 'Cause' => array(
3067
+ 'type' => 'string',
3068
+ ),
3069
+ 'StartTime' => array(
3070
+ 'type' => 'string',
3071
+ ),
3072
+ 'EndTime' => array(
3073
+ 'type' => 'string',
3074
+ ),
3075
+ 'StatusCode' => array(
3076
+ 'type' => 'string',
3077
+ ),
3078
+ 'StatusMessage' => array(
3079
+ 'type' => 'string',
3080
+ ),
3081
+ 'Progress' => array(
3082
+ 'type' => 'numeric',
3083
+ ),
3084
+ 'Details' => array(
3085
+ 'type' => 'string',
3086
+ ),
3087
+ ),
3088
+ ),
3089
+ ),
3090
+ ),
3091
+ ),
3092
  'PolicyARNType' => array(
3093
  'type' => 'object',
3094
  'additionalProperties' => true,
3143
  ),
3144
  ),
3145
  'iterators' => array(
3146
+ 'DescribeAutoScalingGroups' => array(
3147
+ 'input_token' => 'NextToken',
3148
+ 'output_token' => 'NextToken',
3149
+ 'limit_key' => 'MaxRecords',
3150
+ 'result_key' => 'AutoScalingGroups',
3151
+ ),
3152
+ 'DescribeAutoScalingInstances' => array(
3153
+ 'input_token' => 'NextToken',
3154
+ 'output_token' => 'NextToken',
3155
+ 'limit_key' => 'MaxRecords',
3156
+ 'result_key' => 'AutoScalingInstances',
3157
+ ),
3158
+ 'DescribeLaunchConfigurations' => array(
3159
+ 'input_token' => 'NextToken',
3160
+ 'output_token' => 'NextToken',
3161
+ 'limit_key' => 'MaxRecords',
3162
+ 'result_key' => 'LaunchConfigurations',
3163
+ ),
3164
+ 'DescribeNotificationConfigurations' => array(
3165
+ 'input_token' => 'NextToken',
3166
+ 'output_token' => 'NextToken',
3167
+ 'limit_key' => 'MaxRecords',
3168
+ 'result_key' => 'NotificationConfigurations',
3169
+ ),
3170
+ 'DescribePolicies' => array(
3171
+ 'input_token' => 'NextToken',
3172
+ 'output_token' => 'NextToken',
3173
+ 'limit_key' => 'MaxRecords',
3174
+ 'result_key' => 'ScalingPolicies',
3175
+ ),
3176
+ 'DescribeScalingActivities' => array(
3177
+ 'input_token' => 'NextToken',
3178
+ 'output_token' => 'NextToken',
3179
+ 'limit_key' => 'MaxRecords',
3180
+ 'result_key' => 'Activities',
3181
+ ),
3182
+ 'DescribeScheduledActions' => array(
3183
+ 'input_token' => 'NextToken',
3184
+ 'output_token' => 'NextToken',
3185
+ 'limit_key' => 'MaxRecords',
3186
+ 'result_key' => 'ScheduledUpdateGroupActions',
3187
+ ),
3188
+ 'DescribeTags' => array(
3189
+ 'input_token' => 'NextToken',
3190
+ 'output_token' => 'NextToken',
3191
+ 'limit_key' => 'MaxRecords',
3192
+ 'result_key' => 'Tags',
 
 
3193
  ),
3194
  ),
3195
  );
vendor/aws/Aws/CloudFormation/CloudFormationClient.php CHANGED
@@ -34,18 +34,21 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
34
  * @method Model describeStackResources(array $args = array()) {@command CloudFormation DescribeStackResources}
35
  * @method Model describeStacks(array $args = array()) {@command CloudFormation DescribeStacks}
36
  * @method Model estimateTemplateCost(array $args = array()) {@command CloudFormation EstimateTemplateCost}
 
37
  * @method Model getTemplate(array $args = array()) {@command CloudFormation GetTemplate}
38
  * @method Model listStackResources(array $args = array()) {@command CloudFormation ListStackResources}
39
  * @method Model listStacks(array $args = array()) {@command CloudFormation ListStacks}
 
40
  * @method Model updateStack(array $args = array()) {@command CloudFormation UpdateStack}
41
  * @method Model validateTemplate(array $args = array()) {@command CloudFormation ValidateTemplate}
42
  * @method ResourceIteratorInterface getDescribeStackEventsIterator(array $args = array()) The input array uses the parameters of the DescribeStackEvents operation
 
43
  * @method ResourceIteratorInterface getDescribeStacksIterator(array $args = array()) The input array uses the parameters of the DescribeStacks operation
44
  * @method ResourceIteratorInterface getListStackResourcesIterator(array $args = array()) The input array uses the parameters of the ListStackResources operation
45
  * @method ResourceIteratorInterface getListStacksIterator(array $args = array()) The input array uses the parameters of the ListStacks operation
46
  *
47
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudformation.html User guide
48
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudFormation.CloudFormationClient.html API docs
49
  */
50
  class CloudFormationClient extends AbstractClient
51
  {
@@ -57,7 +60,7 @@ class CloudFormationClient extends AbstractClient
57
  * @param array|Collection $config Client configuration data
58
  *
59
  * @return self
60
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
61
  */
62
  public static function factory($config = array())
63
  {
34
  * @method Model describeStackResources(array $args = array()) {@command CloudFormation DescribeStackResources}
35
  * @method Model describeStacks(array $args = array()) {@command CloudFormation DescribeStacks}
36
  * @method Model estimateTemplateCost(array $args = array()) {@command CloudFormation EstimateTemplateCost}
37
+ * @method Model getStackPolicy(array $args = array()) {@command CloudFormation GetStackPolicy}
38
  * @method Model getTemplate(array $args = array()) {@command CloudFormation GetTemplate}
39
  * @method Model listStackResources(array $args = array()) {@command CloudFormation ListStackResources}
40
  * @method Model listStacks(array $args = array()) {@command CloudFormation ListStacks}
41
+ * @method Model setStackPolicy(array $args = array()) {@command CloudFormation SetStackPolicy}
42
  * @method Model updateStack(array $args = array()) {@command CloudFormation UpdateStack}
43
  * @method Model validateTemplate(array $args = array()) {@command CloudFormation ValidateTemplate}
44
  * @method ResourceIteratorInterface getDescribeStackEventsIterator(array $args = array()) The input array uses the parameters of the DescribeStackEvents operation
45
+ * @method ResourceIteratorInterface getDescribeStackResourcesIterator(array $args = array()) The input array uses the parameters of the DescribeStackResources operation
46
  * @method ResourceIteratorInterface getDescribeStacksIterator(array $args = array()) The input array uses the parameters of the DescribeStacks operation
47
  * @method ResourceIteratorInterface getListStackResourcesIterator(array $args = array()) The input array uses the parameters of the ListStackResources operation
48
  * @method ResourceIteratorInterface getListStacksIterator(array $args = array()) The input array uses the parameters of the ListStacks operation
49
  *
50
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudformation.html User guide
51
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudFormation.CloudFormationClient.html API docs
52
  */
53
  class CloudFormationClient extends AbstractClient
54
  {
60
  * @param array|Collection $config Client configuration data
61
  *
62
  * @return self
63
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
64
  */
65
  public static function factory($config = array())
66
  {
vendor/aws/Aws/CloudFormation/Enum/Capability.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Enum/OnFailure.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Enum/ResourceStatus.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Enum/StackStatus.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Exception/AlreadyExistsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Exception/CloudFormationException.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Exception/InsufficientCapabilitiesException.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Exception/LimitExceededException.php CHANGED
File without changes
vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php CHANGED
@@ -63,6 +63,16 @@ return array (
63
  'https' => true,
64
  'hostname' => 'cloudformation.sa-east-1.amazonaws.com',
65
  ),
 
 
 
 
 
 
 
 
 
 
66
  ),
67
  'operations' => array(
68
  'CancelUpdateStack' => array(
@@ -115,7 +125,6 @@ return array (
115
  'type' => 'string',
116
  'location' => 'aws.query',
117
  'minLength' => 1,
118
- 'maxLength' => 51200,
119
  ),
120
  'TemplateURL' => array(
121
  'type' => 'string',
@@ -137,6 +146,10 @@ return array (
137
  'ParameterValue' => array(
138
  'type' => 'string',
139
  ),
 
 
 
 
140
  ),
141
  ),
142
  ),
@@ -167,19 +180,23 @@ return array (
167
  'items' => array(
168
  'name' => 'Capability',
169
  'type' => 'string',
170
- 'enum' => array(
171
- 'CAPABILITY_IAM',
172
- ),
173
  ),
174
  ),
175
  'OnFailure' => array(
176
  'type' => 'string',
177
  'location' => 'aws.query',
178
- 'enum' => array(
179
- 'DO_NOTHING',
180
- 'ROLLBACK',
181
- 'DELETE',
182
- ),
 
 
 
 
 
 
 
183
  ),
184
  'Tags' => array(
185
  'type' => 'array',
@@ -377,7 +394,6 @@ return array (
377
  'type' => 'string',
378
  'location' => 'aws.query',
379
  'minLength' => 1,
380
- 'maxLength' => 51200,
381
  ),
382
  'TemplateURL' => array(
383
  'type' => 'string',
@@ -399,11 +415,39 @@ return array (
399
  'ParameterValue' => array(
400
  'type' => 'string',
401
  ),
 
 
 
 
402
  ),
403
  ),
404
  ),
405
  ),
406
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  'GetTemplate' => array(
408
  'httpMethod' => 'POST',
409
  'uri' => '/',
@@ -488,28 +532,46 @@ return array (
488
  'items' => array(
489
  'name' => 'StackStatus',
490
  'type' => 'string',
491
- 'enum' => array(
492
- 'CREATE_IN_PROGRESS',
493
- 'CREATE_FAILED',
494
- 'CREATE_COMPLETE',
495
- 'ROLLBACK_IN_PROGRESS',
496
- 'ROLLBACK_FAILED',
497
- 'ROLLBACK_COMPLETE',
498
- 'DELETE_IN_PROGRESS',
499
- 'DELETE_FAILED',
500
- 'DELETE_COMPLETE',
501
- 'UPDATE_IN_PROGRESS',
502
- 'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS',
503
- 'UPDATE_COMPLETE',
504
- 'UPDATE_ROLLBACK_IN_PROGRESS',
505
- 'UPDATE_ROLLBACK_FAILED',
506
- 'UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS',
507
- 'UPDATE_ROLLBACK_COMPLETE',
508
- ),
509
  ),
510
  ),
511
  ),
512
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
  'UpdateStack' => array(
514
  'httpMethod' => 'POST',
515
  'uri' => '/',
@@ -536,7 +598,6 @@ return array (
536
  'type' => 'string',
537
  'location' => 'aws.query',
538
  'minLength' => 1,
539
- 'maxLength' => 51200,
540
  ),
541
  'TemplateURL' => array(
542
  'type' => 'string',
@@ -544,6 +605,23 @@ return array (
544
  'minLength' => 1,
545
  'maxLength' => 1024,
546
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
547
  'Parameters' => array(
548
  'type' => 'array',
549
  'location' => 'aws.query',
@@ -558,6 +636,10 @@ return array (
558
  'ParameterValue' => array(
559
  'type' => 'string',
560
  ),
 
 
 
 
561
  ),
562
  ),
563
  ),
@@ -568,9 +650,28 @@ return array (
568
  'items' => array(
569
  'name' => 'Capability',
570
  'type' => 'string',
571
- 'enum' => array(
572
- 'CAPABILITY_IAM',
573
- ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
574
  ),
575
  ),
576
  ),
@@ -602,7 +703,6 @@ return array (
602
  'type' => 'string',
603
  'location' => 'aws.query',
604
  'minLength' => 1,
605
- 'maxLength' => 51200,
606
  ),
607
  'TemplateURL' => array(
608
  'type' => 'string',
@@ -799,6 +899,9 @@ return array (
799
  'ParameterValue' => array(
800
  'type' => 'string',
801
  ),
 
 
 
802
  ),
803
  ),
804
  ),
@@ -890,6 +993,16 @@ return array (
890
  ),
891
  ),
892
  ),
 
 
 
 
 
 
 
 
 
 
893
  'GetTemplateOutput' => array(
894
  'type' => 'object',
895
  'additionalProperties' => true,
@@ -1042,27 +1155,28 @@ return array (
1042
  ),
1043
  ),
1044
  'iterators' => array(
1045
- 'operations' => array(
1046
- 'DescribeStackEvents' => array(
1047
- 'token_param' => 'NextToken',
1048
- 'token_key' => 'NextToken',
1049
- 'result_key' => 'StackEvents',
1050
- ),
1051
- 'DescribeStacks' => array(
1052
- 'token_param' => 'NextToken',
1053
- 'token_key' => 'NextToken',
1054
- 'result_key' => 'Stacks',
1055
- ),
1056
- 'ListStackResources' => array(
1057
- 'token_param' => 'NextToken',
1058
- 'token_key' => 'NextToken',
1059
- 'result_key' => 'StackResourceSummaries',
1060
- ),
1061
- 'ListStacks' => array(
1062
- 'token_param' => 'NextToken',
1063
- 'token_key' => 'NextToken',
1064
- 'result_key' => 'StackSummaries',
1065
- ),
 
1066
  ),
1067
  ),
1068
  );
63
  'https' => true,
64
  'hostname' => 'cloudformation.sa-east-1.amazonaws.com',
65
  ),
66
+ 'cn-north-1' => array(
67
+ 'http' => false,
68
+ 'https' => true,
69
+ 'hostname' => 'cloudformation.cn-north-1.amazonaws.com.cn',
70
+ ),
71
+ 'us-gov-west-1' => array(
72
+ 'http' => false,
73
+ 'https' => true,
74
+ 'hostname' => 'cloudformation.us-gov-west-1.amazonaws.com',
75
+ ),
76
  ),
77
  'operations' => array(
78
  'CancelUpdateStack' => array(
125
  'type' => 'string',
126
  'location' => 'aws.query',
127
  'minLength' => 1,
 
128
  ),
129
  'TemplateURL' => array(
130
  'type' => 'string',
146
  'ParameterValue' => array(
147
  'type' => 'string',
148
  ),
149
+ 'UsePreviousValue' => array(
150
+ 'type' => 'boolean',
151
+ 'format' => 'boolean-string',
152
+ ),
153
  ),
154
  ),
155
  ),
180
  'items' => array(
181
  'name' => 'Capability',
182
  'type' => 'string',
 
 
 
183
  ),
184
  ),
185
  'OnFailure' => array(
186
  'type' => 'string',
187
  'location' => 'aws.query',
188
+ ),
189
+ 'StackPolicyBody' => array(
190
+ 'type' => 'string',
191
+ 'location' => 'aws.query',
192
+ 'minLength' => 1,
193
+ 'maxLength' => 16384,
194
+ ),
195
+ 'StackPolicyURL' => array(
196
+ 'type' => 'string',
197
+ 'location' => 'aws.query',
198
+ 'minLength' => 1,
199
+ 'maxLength' => 1350,
200
  ),
201
  'Tags' => array(
202
  'type' => 'array',
394
  'type' => 'string',
395
  'location' => 'aws.query',
396
  'minLength' => 1,
 
397
  ),
398
  'TemplateURL' => array(
399
  'type' => 'string',
415
  'ParameterValue' => array(
416
  'type' => 'string',
417
  ),
418
+ 'UsePreviousValue' => array(
419
+ 'type' => 'boolean',
420
+ 'format' => 'boolean-string',
421
+ ),
422
  ),
423
  ),
424
  ),
425
  ),
426
  ),
427
+ 'GetStackPolicy' => array(
428
+ 'httpMethod' => 'POST',
429
+ 'uri' => '/',
430
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
431
+ 'responseClass' => 'GetStackPolicyOutput',
432
+ 'responseType' => 'model',
433
+ 'parameters' => array(
434
+ 'Action' => array(
435
+ 'static' => true,
436
+ 'location' => 'aws.query',
437
+ 'default' => 'GetStackPolicy',
438
+ ),
439
+ 'Version' => array(
440
+ 'static' => true,
441
+ 'location' => 'aws.query',
442
+ 'default' => '2010-05-15',
443
+ ),
444
+ 'StackName' => array(
445
+ 'required' => true,
446
+ 'type' => 'string',
447
+ 'location' => 'aws.query',
448
+ ),
449
+ ),
450
+ ),
451
  'GetTemplate' => array(
452
  'httpMethod' => 'POST',
453
  'uri' => '/',
532
  'items' => array(
533
  'name' => 'StackStatus',
534
  'type' => 'string',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
535
  ),
536
  ),
537
  ),
538
  ),
539
+ 'SetStackPolicy' => array(
540
+ 'httpMethod' => 'POST',
541
+ 'uri' => '/',
542
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
543
+ 'responseClass' => 'EmptyOutput',
544
+ 'responseType' => 'model',
545
+ 'parameters' => array(
546
+ 'Action' => array(
547
+ 'static' => true,
548
+ 'location' => 'aws.query',
549
+ 'default' => 'SetStackPolicy',
550
+ ),
551
+ 'Version' => array(
552
+ 'static' => true,
553
+ 'location' => 'aws.query',
554
+ 'default' => '2010-05-15',
555
+ ),
556
+ 'StackName' => array(
557
+ 'required' => true,
558
+ 'type' => 'string',
559
+ 'location' => 'aws.query',
560
+ ),
561
+ 'StackPolicyBody' => array(
562
+ 'type' => 'string',
563
+ 'location' => 'aws.query',
564
+ 'minLength' => 1,
565
+ 'maxLength' => 16384,
566
+ ),
567
+ 'StackPolicyURL' => array(
568
+ 'type' => 'string',
569
+ 'location' => 'aws.query',
570
+ 'minLength' => 1,
571
+ 'maxLength' => 1350,
572
+ ),
573
+ ),
574
+ ),
575
  'UpdateStack' => array(
576
  'httpMethod' => 'POST',
577
  'uri' => '/',
598
  'type' => 'string',
599
  'location' => 'aws.query',
600
  'minLength' => 1,
 
601
  ),
602
  'TemplateURL' => array(
603
  'type' => 'string',
605
  'minLength' => 1,
606
  'maxLength' => 1024,
607
  ),
608
+ 'UsePreviousTemplate' => array(
609
+ 'type' => 'boolean',
610
+ 'format' => 'boolean-string',
611
+ 'location' => 'aws.query',
612
+ ),
613
+ 'StackPolicyDuringUpdateBody' => array(
614
+ 'type' => 'string',
615
+ 'location' => 'aws.query',
616
+ 'minLength' => 1,
617
+ 'maxLength' => 16384,
618
+ ),
619
+ 'StackPolicyDuringUpdateURL' => array(
620
+ 'type' => 'string',
621
+ 'location' => 'aws.query',
622
+ 'minLength' => 1,
623
+ 'maxLength' => 1350,
624
+ ),
625
  'Parameters' => array(
626
  'type' => 'array',
627
  'location' => 'aws.query',
636
  'ParameterValue' => array(
637
  'type' => 'string',
638
  ),
639
+ 'UsePreviousValue' => array(
640
+ 'type' => 'boolean',
641
+ 'format' => 'boolean-string',
642
+ ),
643
  ),
644
  ),
645
  ),
650
  'items' => array(
651
  'name' => 'Capability',
652
  'type' => 'string',
653
+ ),
654
+ ),
655
+ 'StackPolicyBody' => array(
656
+ 'type' => 'string',
657
+ 'location' => 'aws.query',
658
+ 'minLength' => 1,
659
+ 'maxLength' => 16384,
660
+ ),
661
+ 'StackPolicyURL' => array(
662
+ 'type' => 'string',
663
+ 'location' => 'aws.query',
664
+ 'minLength' => 1,
665
+ 'maxLength' => 1350,
666
+ ),
667
+ 'NotificationARNs' => array(
668
+ 'type' => 'array',
669
+ 'location' => 'aws.query',
670
+ 'sentAs' => 'NotificationARNs.member',
671
+ 'maxItems' => 5,
672
+ 'items' => array(
673
+ 'name' => 'NotificationARN',
674
+ 'type' => 'string',
675
  ),
676
  ),
677
  ),
703
  'type' => 'string',
704
  'location' => 'aws.query',
705
  'minLength' => 1,
 
706
  ),
707
  'TemplateURL' => array(
708
  'type' => 'string',
899
  'ParameterValue' => array(
900
  'type' => 'string',
901
  ),
902
+ 'UsePreviousValue' => array(
903
+ 'type' => 'boolean',
904
+ ),
905
  ),
906
  ),
907
  ),
993
  ),
994
  ),
995
  ),
996
+ 'GetStackPolicyOutput' => array(
997
+ 'type' => 'object',
998
+ 'additionalProperties' => true,
999
+ 'properties' => array(
1000
+ 'StackPolicyBody' => array(
1001
+ 'type' => 'string',
1002
+ 'location' => 'xml',
1003
+ ),
1004
+ ),
1005
+ ),
1006
  'GetTemplateOutput' => array(
1007
  'type' => 'object',
1008
  'additionalProperties' => true,
1155
  ),
1156
  ),
1157
  'iterators' => array(
1158
+ 'DescribeStackEvents' => array(
1159
+ 'input_token' => 'NextToken',
1160
+ 'output_token' => 'NextToken',
1161
+ 'result_key' => 'StackEvents',
1162
+ ),
1163
+ 'DescribeStackResources' => array(
1164
+ 'result_key' => 'StackResources',
1165
+ ),
1166
+ 'DescribeStacks' => array(
1167
+ 'input_token' => 'NextToken',
1168
+ 'output_token' => 'NextToken',
1169
+ 'result_key' => 'Stacks',
1170
+ ),
1171
+ 'ListStackResources' => array(
1172
+ 'input_token' => 'NextToken',
1173
+ 'output_token' => 'NextToken',
1174
+ 'result_key' => 'StackResourceSummaries',
1175
+ ),
1176
+ 'ListStacks' => array(
1177
+ 'input_token' => 'NextToken',
1178
+ 'output_token' => 'NextToken',
1179
+ 'result_key' => 'StackSummaries',
1180
  ),
1181
  ),
1182
  );
vendor/aws/Aws/CloudFront/CloudFrontClient.php CHANGED
@@ -51,20 +51,20 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
51
  * @method Model updateCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront UpdateCloudFrontOriginAccessIdentity}
52
  * @method Model updateDistribution(array $args = array()) {@command CloudFront UpdateDistribution}
53
  * @method Model updateStreamingDistribution(array $args = array()) {@command CloudFront UpdateStreamingDistribution}
54
- * @method waitUntilStreamingDistributionDeployed(array $input) Wait until a streaming distribution is deployed. The input array uses the parameters of the GetStreamingDistribution operation and waiter specific settings
55
- * @method waitUntilDistributionDeployed(array $input) Wait until a distribution is deployed. The input array uses the parameters of the GetDistribution operation and waiter specific settings
56
- * @method waitUntilInvalidationCompleted(array $input) Wait until an invalidation has completed. The input array uses the parameters of the GetInvalidation operation and waiter specific settings
57
  * @method ResourceIteratorInterface getListCloudFrontOriginAccessIdentitiesIterator(array $args = array()) The input array uses the parameters of the ListCloudFrontOriginAccessIdentities operation
58
  * @method ResourceIteratorInterface getListDistributionsIterator(array $args = array()) The input array uses the parameters of the ListDistributions operation
59
  * @method ResourceIteratorInterface getListInvalidationsIterator(array $args = array()) The input array uses the parameters of the ListInvalidations operation
60
  * @method ResourceIteratorInterface getListStreamingDistributionsIterator(array $args = array()) The input array uses the parameters of the ListStreamingDistributions operation
61
  *
62
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudfront.html User guide
63
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudFront.CloudFrontClient.html API docs
64
  */
65
  class CloudFrontClient extends AbstractClient
66
  {
67
- const LATEST_API_VERSION = '2013-05-12';
68
 
69
  /**
70
  * Factory method to create a new Amazon CloudFront client using an array of configuration options.
@@ -76,7 +76,7 @@ class CloudFrontClient extends AbstractClient
76
  * @param array|Collection $config Client configuration data
77
  *
78
  * @return self
79
- * @see \Aws\Common\Client\DefaultClient for a list of other available configuration options
80
  */
81
  public static function factory($config = array())
82
  {
@@ -93,18 +93,6 @@ class CloudFrontClient extends AbstractClient
93
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudfront-%s.php',
94
  ))
95
  ->setExceptionParser(new DefaultXmlExceptionParser())
96
- ->setIteratorsConfig(array(
97
- 'token_param' => 'Marker',
98
- 'token_key' => 'NextMarker',
99
- 'more_key' => 'IsTruncated',
100
- 'result_key' => 'Items',
101
- 'operations' => array(
102
- 'ListCloudFrontOriginAccessIdentities',
103
- 'ListDistributions',
104
- 'ListInvalidations',
105
- 'ListStreamingDistributions'
106
- )
107
- ))
108
  ->build();
109
  }
110
 
@@ -173,7 +161,6 @@ class CloudFrontClient extends AbstractClient
173
  $signedPolicy = strtr(base64_encode($signedPolicy), '+=/', '-_~');
174
 
175
  $url->getQuery()
176
- ->useUrlEncoding(false)
177
  ->set('Signature', $signedPolicy)
178
  ->set('Key-Pair-Id', $options['key_pair_id']);
179
 
@@ -182,6 +169,7 @@ class CloudFrontClient extends AbstractClient
182
  return (string) $url;
183
  } else {
184
  // Use a relative URL when creating Flash player URLs
 
185
  $url->setScheme(null)->setHost(null);
186
  return substr($url, 1);
187
  }
51
  * @method Model updateCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront UpdateCloudFrontOriginAccessIdentity}
52
  * @method Model updateDistribution(array $args = array()) {@command CloudFront UpdateDistribution}
53
  * @method Model updateStreamingDistribution(array $args = array()) {@command CloudFront UpdateStreamingDistribution}
54
+ * @method waitUntilStreamingDistributionDeployed(array $input) The input array uses the parameters of the GetStreamingDistribution operation and waiter specific settings
55
+ * @method waitUntilDistributionDeployed(array $input) The input array uses the parameters of the GetDistribution operation and waiter specific settings
56
+ * @method waitUntilInvalidationCompleted(array $input) The input array uses the parameters of the GetInvalidation operation and waiter specific settings
57
  * @method ResourceIteratorInterface getListCloudFrontOriginAccessIdentitiesIterator(array $args = array()) The input array uses the parameters of the ListCloudFrontOriginAccessIdentities operation
58
  * @method ResourceIteratorInterface getListDistributionsIterator(array $args = array()) The input array uses the parameters of the ListDistributions operation
59
  * @method ResourceIteratorInterface getListInvalidationsIterator(array $args = array()) The input array uses the parameters of the ListInvalidations operation
60
  * @method ResourceIteratorInterface getListStreamingDistributionsIterator(array $args = array()) The input array uses the parameters of the ListStreamingDistributions operation
61
  *
62
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudfront.html User guide
63
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudFront.CloudFrontClient.html API docs
64
  */
65
  class CloudFrontClient extends AbstractClient
66
  {
67
+ const LATEST_API_VERSION = '2014-05-31';
68
 
69
  /**
70
  * Factory method to create a new Amazon CloudFront client using an array of configuration options.
76
  * @param array|Collection $config Client configuration data
77
  *
78
  * @return self
79
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
80
  */
81
  public static function factory($config = array())
82
  {
93
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudfront-%s.php',
94
  ))
95
  ->setExceptionParser(new DefaultXmlExceptionParser())
 
 
 
 
 
 
 
 
 
 
 
 
96
  ->build();
97
  }
98
 
161
  $signedPolicy = strtr(base64_encode($signedPolicy), '+=/', '-_~');
162
 
163
  $url->getQuery()
 
164
  ->set('Signature', $signedPolicy)
165
  ->set('Key-Pair-Id', $options['key_pair_id']);
166
 
169
  return (string) $url;
170
  } else {
171
  // Use a relative URL when creating Flash player URLs
172
+ $url->getQuery()->useUrlEncoding(false);
173
  $url->setScheme(null)->setHost(null);
174
  return substr($url, 1);
175
  }
vendor/aws/Aws/CloudFront/CloudFrontSignature.php CHANGED
@@ -18,14 +18,14 @@ namespace Aws\CloudFront;
18
 
19
  use Aws\Common\Credentials\CredentialsInterface;
20
  use Aws\Common\Enum\DateFormat;
21
- use Aws\Common\Signature\SignatureInterface;
22
  use Guzzle\Http\Message\RequestInterface;
23
 
24
  /**
25
  * Amazon CloudFront signature implementation
26
- * @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/RESTAuthentication.html
27
  */
28
- class CloudFrontSignature implements SignatureInterface
29
  {
30
  /**
31
  * {@inheritdoc}
18
 
19
  use Aws\Common\Credentials\CredentialsInterface;
20
  use Aws\Common\Enum\DateFormat;
21
+ use Aws\Common\Signature\AbstractSignature;
22
  use Guzzle\Http\Message\RequestInterface;
23
 
24
  /**
25
  * Amazon CloudFront signature implementation
26
+ * @link http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/RESTAuthentication.html
27
  */
28
+ class CloudFrontSignature extends AbstractSignature
29
  {
30
  /**
31
  * {@inheritdoc}
vendor/aws/Aws/CloudFront/Enum/GeoRestrictionType.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable GeoRestrictionType values
23
+ */
24
+ class GeoRestrictionType extends Enum
25
+ {
26
+ const BLACKLIST = 'blacklist';
27
+ const WHITELIST = 'whitelist';
28
+ const NONE = 'none';
29
+ }
vendor/aws/Aws/CloudFront/Enum/ItemSelection.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Enum/Method.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable Method values
23
+ */
24
+ class Method extends Enum
25
+ {
26
+ const GET = 'GET';
27
+ const HEAD = 'HEAD';
28
+ const POST = 'POST';
29
+ const PUT = 'PUT';
30
+ const PATCH = 'PATCH';
31
+ const OPTIONS = 'OPTIONS';
32
+ const DELETE = 'DELETE';
33
+ }
vendor/aws/Aws/CloudFront/Enum/OriginProtocolPolicy.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Enum/PriceClass.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Enum/SSLSupportMethod.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable SSLSupportMethod values
23
+ */
24
+ class SSLSupportMethod extends Enum
25
+ {
26
+ const SNI_ONLY = 'sni-only';
27
+ const VIP = 'vip';
28
+ }
vendor/aws/Aws/CloudFront/Enum/ViewerProtocolPolicy.php CHANGED
@@ -25,4 +25,5 @@ class ViewerProtocolPolicy extends Enum
25
  {
26
  const ALLOW_ALL = 'allow-all';
27
  const HTTPS_ONLY = 'https-only';
 
28
  }
25
  {
26
  const ALLOW_ALL = 'allow-all';
27
  const HTTPS_ONLY = 'https-only';
28
+ const REDIRECT_TO_HTTPS = 'redirect-to-https';
29
  }
vendor/aws/Aws/CloudFront/Exception/AccessDeniedException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/BatchTooLargeException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/CNAMEAlreadyExistsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/CloudFrontException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityAlreadyExistsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityInUseException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/DistributionAlreadyExistsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/DistributionNotDisabledException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/Exception.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/IllegalUpdateException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InconsistentQuantitiesException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidArgumentException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidDefaultRootObjectException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidErrorCodeException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Exception;
18
+
19
+ /**
20
+ * Exception that occurs when a InvalidErrorCodeException error is encountered
21
+ */
22
+ class InvalidErrorCodeException extends CloudFrontException {}
vendor/aws/Aws/CloudFront/Exception/InvalidForwardCookiesException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidGeoRestrictionParameterException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Exception;
18
+
19
+ /**
20
+ * Exception that occurs when a InvalidGeoRestrictionParameterException error is encountered
21
+ */
22
+ class InvalidGeoRestrictionParameterException extends CloudFrontException {}
vendor/aws/Aws/CloudFront/Exception/InvalidIfMatchVersionException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidLocationCodeException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Exception;
18
+
19
+ /**
20
+ * Exception that occurs when a InvalidLocationCodeException error is encountered
21
+ */
22
+ class InvalidLocationCodeException extends CloudFrontException {}
vendor/aws/Aws/CloudFront/Exception/InvalidOriginAccessIdentityException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidOriginException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidRelativePathException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Exception;
18
+
19
+ /**
20
+ * The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
21
+ */
22
+ class InvalidRelativePathException extends CloudFrontException {}
vendor/aws/Aws/CloudFront/Exception/InvalidRequiredProtocolException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/InvalidResponseCodeException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudFront\Exception;
18
+
19
+ /**
20
+ * Exception that occurs when a InvalidResponseCodeException error is encountered
21
+ */
22
+ class InvalidResponseCodeException extends CloudFrontException {}
vendor/aws/Aws/CloudFront/Exception/InvalidViewerCertificateException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/MissingBodyException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/NoSuchCloudFrontOriginAccessIdentityException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/NoSuchDistributionException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/NoSuchInvalidationException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/NoSuchOriginException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/NoSuchStreamingDistributionException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/PreconditionFailedException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/StreamingDistributionAlreadyExistsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/StreamingDistributionNotDisabledException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyCacheBehaviorsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyCertificatesException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyCloudFrontOriginAccessIdentitiesException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyCookieNamesInWhiteListException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyDistributionCNAMEsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyDistributionsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyInvalidationsInProgressException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyOriginsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionCNAMEsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionsException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TooManyTrustedSignersException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Exception/TrustedSignerDoesNotExistException.php CHANGED
File without changes
vendor/aws/Aws/CloudFront/Resources/cloudfront-2012-05-05.php CHANGED
@@ -4553,6 +4553,32 @@ return array (
4553
  ),
4554
  ),
4555
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4556
  'waiters' => array(
4557
  '__default__' => array(
4558
  'success.type' => 'output',
4553
  ),
4554
  ),
4555
  ),
4556
+ 'iterators' => array(
4557
+ 'ListCloudFrontOriginAccessIdentities' => array(
4558
+ 'input_token' => 'Marker',
4559
+ 'output_token' => 'NextMarker',
4560
+ 'more_results' => 'IsTruncated',
4561
+ 'result_key' => 'Items',
4562
+ ),
4563
+ 'ListDistributions' => array(
4564
+ 'input_token' => 'Marker',
4565
+ 'output_token' => 'NextMarker',
4566
+ 'more_results' => 'IsTruncated',
4567
+ 'result_key' => 'Items',
4568
+ ),
4569
+ 'ListInvalidations' => array(
4570
+ 'input_token' => 'Marker',
4571
+ 'output_token' => 'NextMarker',
4572
+ 'more_results' => 'IsTruncated',
4573
+ 'result_key' => 'Items',
4574
+ ),
4575
+ 'ListStreamingDistributions' => array(
4576
+ 'input_token' => 'Marker',
4577
+ 'output_token' => 'NextMarker',
4578
+ 'more_results' => 'IsTruncated',
4579
+ 'result_key' => 'Items',
4580
+ ),
4581
+ ),
4582
  'waiters' => array(
4583
  '__default__' => array(
4584
  'success.type' => 'output',
vendor/aws/Aws/CloudFront/Resources/{cloudfront-2013-05-12.php → cloudfront-2014-05-31.php} RENAMED
@@ -15,7 +15,7 @@
15
  */
16
 
17
  return array (
18
- 'apiVersion' => '2013-05-12',
19
  'endpointPrefix' => 'cloudfront',
20
  'serviceFullName' => 'Amazon CloudFront',
21
  'serviceAbbreviation' => 'CloudFront',
@@ -68,7 +68,7 @@ return array (
68
  'operations' => array(
69
  'CreateCloudFrontOriginAccessIdentity' => array(
70
  'httpMethod' => 'POST',
71
- 'uri' => '/2013-05-12/origin-access-identity/cloudfront',
72
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
73
  'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult',
74
  'responseType' => 'model',
@@ -76,7 +76,7 @@ return array (
76
  'xmlRoot' => array(
77
  'name' => 'CloudFrontOriginAccessIdentityConfig',
78
  'namespaces' => array(
79
- 'http://cloudfront.amazonaws.com/doc/2013-05-12/',
80
  ),
81
  ),
82
  ),
@@ -121,7 +121,7 @@ return array (
121
  ),
122
  'CreateDistribution' => array(
123
  'httpMethod' => 'POST',
124
- 'uri' => '/2013-05-12/distribution',
125
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
126
  'responseClass' => 'CreateDistributionResult',
127
  'responseType' => 'model',
@@ -129,7 +129,7 @@ return array (
129
  'xmlRoot' => array(
130
  'name' => 'DistributionConfig',
131
  'namespaces' => array(
132
- 'http://cloudfront.amazonaws.com/doc/2013-05-12/',
133
  ),
134
  ),
135
  ),
@@ -209,10 +209,6 @@ return array (
209
  'OriginProtocolPolicy' => array(
210
  'required' => true,
211
  'type' => 'string',
212
- 'enum' => array(
213
- 'http-only',
214
- 'match-viewer',
215
- ),
216
  ),
217
  ),
218
  ),
@@ -246,11 +242,6 @@ return array (
246
  'Forward' => array(
247
  'required' => true,
248
  'type' => 'string',
249
- 'enum' => array(
250
- 'none',
251
- 'whitelist',
252
- 'all',
253
- ),
254
  ),
255
  'WhitelistedNames' => array(
256
  'type' => 'object',
@@ -270,6 +261,22 @@ return array (
270
  ),
271
  ),
272
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  ),
274
  ),
275
  'TrustedSigners' => array(
@@ -297,15 +304,31 @@ return array (
297
  'ViewerProtocolPolicy' => array(
298
  'required' => true,
299
  'type' => 'string',
300
- 'enum' => array(
301
- 'allow-all',
302
- 'https-only',
303
- ),
304
  ),
305
  'MinTTL' => array(
306
  'required' => true,
307
  'type' => 'numeric',
308
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  ),
310
  ),
311
  'CacheBehaviors' => array(
@@ -347,11 +370,6 @@ return array (
347
  'Forward' => array(
348
  'required' => true,
349
  'type' => 'string',
350
- 'enum' => array(
351
- 'none',
352
- 'whitelist',
353
- 'all',
354
- ),
355
  ),
356
  'WhitelistedNames' => array(
357
  'type' => 'object',
@@ -371,6 +389,22 @@ return array (
371
  ),
372
  ),
373
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
  ),
375
  ),
376
  'TrustedSigners' => array(
@@ -398,15 +432,63 @@ return array (
398
  'ViewerProtocolPolicy' => array(
399
  'required' => true,
400
  'type' => 'string',
401
- 'enum' => array(
402
- 'allow-all',
403
- 'https-only',
404
- ),
405
  ),
406
  'MinTTL' => array(
407
  'required' => true,
408
  'type' => 'numeric',
409
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
  ),
411
  ),
412
  ),
@@ -446,11 +528,6 @@ return array (
446
  'required' => true,
447
  'type' => 'string',
448
  'location' => 'xml',
449
- 'enum' => array(
450
- 'PriceClass_100',
451
- 'PriceClass_200',
452
- 'PriceClass_All',
453
- ),
454
  ),
455
  'Enabled' => array(
456
  'required' => true,
@@ -469,6 +546,36 @@ return array (
469
  'type' => 'boolean',
470
  'format' => 'boolean-string',
471
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
472
  ),
473
  ),
474
  'command.expects' => array(
@@ -523,6 +630,16 @@ return array (
523
  'reason' => 'The default root object file name is too big or contains an invalid character.',
524
  'class' => 'InvalidDefaultRootObjectException',
525
  ),
 
 
 
 
 
 
 
 
 
 
526
  array(
527
  'reason' => 'The argument is invalid.',
528
  'class' => 'InvalidArgumentException',
@@ -551,6 +668,12 @@ return array (
551
  '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.',
552
  'class' => 'InvalidForwardCookiesException',
553
  ),
 
 
 
 
 
 
554
  array(
555
  'reason' => 'The value of Quantity and the size of Items do not match.',
556
  'class' => 'InconsistentQuantitiesException',
@@ -559,11 +682,17 @@ return array (
559
  'reason' => 'You cannot create anymore custom ssl certificates.',
560
  'class' => 'TooManyCertificatesException',
561
  ),
 
 
 
 
 
 
562
  ),
563
  ),
564
  'CreateInvalidation' => array(
565
  'httpMethod' => 'POST',
566
- 'uri' => '/2013-05-12/distribution/{DistributionId}/invalidation',
567
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
568
  'responseClass' => 'CreateInvalidationResult',
569
  'responseType' => 'model',
@@ -571,7 +700,7 @@ return array (
571
  'xmlRoot' => array(
572
  'name' => 'InvalidationBatch',
573
  'namespaces' => array(
574
- 'http://cloudfront.amazonaws.com/doc/2013-05-12/',
575
  ),
576
  ),
577
  ),
@@ -641,7 +770,7 @@ return array (
641
  ),
642
  'CreateStreamingDistribution' => array(
643
  'httpMethod' => 'POST',
644
- 'uri' => '/2013-05-12/streaming-distribution',
645
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
646
  'responseClass' => 'CreateStreamingDistributionResult',
647
  'responseType' => 'model',
@@ -649,7 +778,7 @@ return array (
649
  'xmlRoot' => array(
650
  'name' => 'StreamingDistributionConfig',
651
  'namespaces' => array(
652
- 'http://cloudfront.amazonaws.com/doc/2013-05-12/',
653
  ),
654
  ),
655
  ),
@@ -744,11 +873,6 @@ return array (
744
  'required' => true,
745
  'type' => 'string',
746
  'location' => 'xml',
747
- 'enum' => array(
748
- 'PriceClass_100',
749
- 'PriceClass_200',
750
- 'PriceClass_All',
751
- ),
752
  ),
753
  'Enabled' => array(
754
  'required' => true,
@@ -811,9 +935,9 @@ return array (
811
  ),
812
  'DeleteCloudFrontOriginAccessIdentity' => array(
813
  'httpMethod' => 'DELETE',
814
- 'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}',
815
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
816
- 'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2013_05_12Output',
817
  'responseType' => 'model',
818
  'parameters' => array(
819
  'Id' => array(
@@ -851,9 +975,9 @@ return array (
851
  ),
852
  'DeleteDistribution' => array(
853
  'httpMethod' => 'DELETE',
854
- 'uri' => '/2013-05-12/distribution/{Id}',
855
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
856
- 'responseClass' => 'DeleteDistribution2013_05_12Output',
857
  'responseType' => 'model',
858
  'parameters' => array(
859
  'Id' => array(
@@ -891,9 +1015,9 @@ return array (
891
  ),
892
  'DeleteStreamingDistribution' => array(
893
  'httpMethod' => 'DELETE',
894
- 'uri' => '/2013-05-12/streaming-distribution/{Id}',
895
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
896
- 'responseClass' => 'DeleteStreamingDistribution2013_05_12Output',
897
  'responseType' => 'model',
898
  'parameters' => array(
899
  'Id' => array(
@@ -931,7 +1055,7 @@ return array (
931
  ),
932
  'GetCloudFrontOriginAccessIdentity' => array(
933
  'httpMethod' => 'GET',
934
- 'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}',
935
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
936
  'responseClass' => 'GetCloudFrontOriginAccessIdentityResult',
937
  'responseType' => 'model',
@@ -959,7 +1083,7 @@ return array (
959
  ),
960
  'GetCloudFrontOriginAccessIdentityConfig' => array(
961
  'httpMethod' => 'GET',
962
- 'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}/config',
963
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
964
  'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult',
965
  'responseType' => 'model',
@@ -987,7 +1111,7 @@ return array (
987
  ),
988
  'GetDistribution' => array(
989
  'httpMethod' => 'GET',
990
- 'uri' => '/2013-05-12/distribution/{Id}',
991
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
992
  'responseClass' => 'GetDistributionResult',
993
  'responseType' => 'model',
@@ -1015,7 +1139,7 @@ return array (
1015
  ),
1016
  'GetDistributionConfig' => array(
1017
  'httpMethod' => 'GET',
1018
- 'uri' => '/2013-05-12/distribution/{Id}/config',
1019
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1020
  'responseClass' => 'GetDistributionConfigResult',
1021
  'responseType' => 'model',
@@ -1043,7 +1167,7 @@ return array (
1043
  ),
1044
  'GetInvalidation' => array(
1045
  'httpMethod' => 'GET',
1046
- 'uri' => '/2013-05-12/distribution/{DistributionId}/invalidation/{Id}',
1047
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1048
  'responseClass' => 'GetInvalidationResult',
1049
  'responseType' => 'model',
@@ -1080,7 +1204,7 @@ return array (
1080
  ),
1081
  'GetStreamingDistribution' => array(
1082
  'httpMethod' => 'GET',
1083
- 'uri' => '/2013-05-12/streaming-distribution/{Id}',
1084
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1085
  'responseClass' => 'GetStreamingDistributionResult',
1086
  'responseType' => 'model',
@@ -1108,7 +1232,7 @@ return array (
1108
  ),
1109
  'GetStreamingDistributionConfig' => array(
1110
  'httpMethod' => 'GET',
1111
- 'uri' => '/2013-05-12/streaming-distribution/{Id}/config',
1112
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1113
  'responseClass' => 'GetStreamingDistributionConfigResult',
1114
  'responseType' => 'model',
@@ -1136,7 +1260,7 @@ return array (
1136
  ),
1137
  'ListCloudFrontOriginAccessIdentities' => array(
1138
  'httpMethod' => 'GET',
1139
- 'uri' => '/2013-05-12/origin-access-identity/cloudfront',
1140
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1141
  'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult',
1142
  'responseType' => 'model',
@@ -1163,7 +1287,7 @@ return array (
1163
  ),
1164
  'ListDistributions' => array(
1165
  'httpMethod' => 'GET',
1166
- 'uri' => '/2013-05-12/distribution',
1167
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1168
  'responseClass' => 'ListDistributionsResult',
1169
  'responseType' => 'model',
@@ -1190,7 +1314,7 @@ return array (
1190
  ),
1191
  'ListInvalidations' => array(
1192
  'httpMethod' => 'GET',
1193
- 'uri' => '/2013-05-12/distribution/{DistributionId}/invalidation',
1194
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1195
  'responseClass' => 'ListInvalidationsResult',
1196
  'responseType' => 'model',
@@ -1230,7 +1354,7 @@ return array (
1230
  ),
1231
  'ListStreamingDistributions' => array(
1232
  'httpMethod' => 'GET',
1233
- 'uri' => '/2013-05-12/streaming-distribution',
1234
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1235
  'responseClass' => 'ListStreamingDistributionsResult',
1236
  'responseType' => 'model',
@@ -1257,7 +1381,7 @@ return array (
1257
  ),
1258
  'UpdateCloudFrontOriginAccessIdentity' => array(
1259
  'httpMethod' => 'PUT',
1260
- 'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}/config',
1261
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1262
  'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult',
1263
  'responseType' => 'model',
@@ -1265,7 +1389,7 @@ return array (
1265
  'xmlRoot' => array(
1266
  'name' => 'CloudFrontOriginAccessIdentityConfig',
1267
  'namespaces' => array(
1268
- 'http://cloudfront.amazonaws.com/doc/2013-05-12/',
1269
  ),
1270
  ),
1271
  ),
@@ -1332,7 +1456,7 @@ return array (
1332
  ),
1333
  'UpdateDistribution' => array(
1334
  'httpMethod' => 'PUT',
1335
- 'uri' => '/2013-05-12/distribution/{Id}/config',
1336
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1337
  'responseClass' => 'UpdateDistributionResult',
1338
  'responseType' => 'model',
@@ -1340,7 +1464,7 @@ return array (
1340
  'xmlRoot' => array(
1341
  'name' => 'DistributionConfig',
1342
  'namespaces' => array(
1343
- 'http://cloudfront.amazonaws.com/doc/2013-05-12/',
1344
  ),
1345
  ),
1346
  ),
@@ -1420,10 +1544,6 @@ return array (
1420
  'OriginProtocolPolicy' => array(
1421
  'required' => true,
1422
  'type' => 'string',
1423
- 'enum' => array(
1424
- 'http-only',
1425
- 'match-viewer',
1426
- ),
1427
  ),
1428
  ),
1429
  ),
@@ -1457,11 +1577,6 @@ return array (
1457
  'Forward' => array(
1458
  'required' => true,
1459
  'type' => 'string',
1460
- 'enum' => array(
1461
- 'none',
1462
- 'whitelist',
1463
- 'all',
1464
- ),
1465
  ),
1466
  'WhitelistedNames' => array(
1467
  'type' => 'object',
@@ -1481,6 +1596,22 @@ return array (
1481
  ),
1482
  ),
1483
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1484
  ),
1485
  ),
1486
  'TrustedSigners' => array(
@@ -1508,15 +1639,31 @@ return array (
1508
  'ViewerProtocolPolicy' => array(
1509
  'required' => true,
1510
  'type' => 'string',
1511
- 'enum' => array(
1512
- 'allow-all',
1513
- 'https-only',
1514
- ),
1515
  ),
1516
  'MinTTL' => array(
1517
  'required' => true,
1518
  'type' => 'numeric',
1519
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1520
  ),
1521
  ),
1522
  'CacheBehaviors' => array(
@@ -1558,11 +1705,6 @@ return array (
1558
  'Forward' => array(
1559
  'required' => true,
1560
  'type' => 'string',
1561
- 'enum' => array(
1562
- 'none',
1563
- 'whitelist',
1564
- 'all',
1565
- ),
1566
  ),
1567
  'WhitelistedNames' => array(
1568
  'type' => 'object',
@@ -1582,6 +1724,22 @@ return array (
1582
  ),
1583
  ),
1584
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1585
  ),
1586
  ),
1587
  'TrustedSigners' => array(
@@ -1609,15 +1767,63 @@ return array (
1609
  'ViewerProtocolPolicy' => array(
1610
  'required' => true,
1611
  'type' => 'string',
1612
- 'enum' => array(
1613
- 'allow-all',
1614
- 'https-only',
1615
- ),
1616
  ),
1617
  'MinTTL' => array(
1618
  'required' => true,
1619
  'type' => 'numeric',
1620
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1621
  ),
1622
  ),
1623
  ),
@@ -1657,11 +1863,6 @@ return array (
1657
  'required' => true,
1658
  'type' => 'string',
1659
  'location' => 'xml',
1660
- 'enum' => array(
1661
- 'PriceClass_100',
1662
- 'PriceClass_200',
1663
- 'PriceClass_All',
1664
- ),
1665
  ),
1666
  'Enabled' => array(
1667
  'required' => true,
@@ -1680,6 +1881,36 @@ return array (
1680
  'type' => 'boolean',
1681
  'format' => 'boolean-string',
1682
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1683
  ),
1684
  ),
1685
  'Id' => array(
@@ -1734,15 +1965,25 @@ return array (
1734
  'class' => 'InvalidDefaultRootObjectException',
1735
  ),
1736
  array(
1737
- 'reason' => 'The argument is invalid.',
1738
- 'class' => 'InvalidArgumentException',
1739
  ),
1740
  array(
1741
- 'reason' => 'The origin access identity is not valid or doesn\'t exist.',
1742
- 'class' => 'InvalidOriginAccessIdentityException',
1743
  ),
1744
  array(
1745
- 'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
 
 
 
 
 
 
 
 
 
 
 
1746
  'class' => 'TooManyTrustedSignersException',
1747
  ),
1748
  array(
@@ -1776,6 +2017,12 @@ return array (
1776
  '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.',
1777
  'class' => 'InvalidForwardCookiesException',
1778
  ),
 
 
 
 
 
 
1779
  array(
1780
  'reason' => 'The value of Quantity and the size of Items do not match.',
1781
  'class' => 'InconsistentQuantitiesException',
@@ -1784,11 +2031,17 @@ return array (
1784
  'reason' => 'You cannot create anymore custom ssl certificates.',
1785
  'class' => 'TooManyCertificatesException',
1786
  ),
 
 
 
 
 
 
1787
  ),
1788
  ),
1789
  'UpdateStreamingDistribution' => array(
1790
  'httpMethod' => 'PUT',
1791
- 'uri' => '/2013-05-12/streaming-distribution/{Id}/config',
1792
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1793
  'responseClass' => 'UpdateStreamingDistributionResult',
1794
  'responseType' => 'model',
@@ -1796,7 +2049,7 @@ return array (
1796
  'xmlRoot' => array(
1797
  'name' => 'StreamingDistributionConfig',
1798
  'namespaces' => array(
1799
- 'http://cloudfront.amazonaws.com/doc/2013-05-12/',
1800
  ),
1801
  ),
1802
  ),
@@ -1891,11 +2144,6 @@ return array (
1891
  'required' => true,
1892
  'type' => 'string',
1893
  'location' => 'xml',
1894
- 'enum' => array(
1895
- 'PriceClass_100',
1896
- 'PriceClass_200',
1897
- 'PriceClass_All',
1898
- ),
1899
  ),
1900
  'Enabled' => array(
1901
  'required' => true,
@@ -2184,6 +2432,22 @@ return array (
2184
  ),
2185
  ),
2186
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2187
  ),
2188
  ),
2189
  'TrustedSigners' => array(
@@ -2211,6 +2475,25 @@ return array (
2211
  'MinTTL' => array(
2212
  'type' => 'numeric',
2213
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2214
  ),
2215
  ),
2216
  'CacheBehaviors' => array(
@@ -2262,6 +2545,22 @@ return array (
2262
  ),
2263
  ),
2264
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2265
  ),
2266
  ),
2267
  'TrustedSigners' => array(
@@ -2289,6 +2588,55 @@ return array (
2289
  'MinTTL' => array(
2290
  'type' => 'numeric',
2291
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2292
  ),
2293
  ),
2294
  ),
@@ -2329,6 +2677,33 @@ return array (
2329
  'CloudFrontDefaultCertificate' => array(
2330
  'type' => 'boolean',
2331
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2332
  ),
2333
  ),
2334
  ),
@@ -2551,7 +2926,7 @@ return array (
2551
  ),
2552
  ),
2553
  ),
2554
- 'DeleteCloudFrontOriginAccessIdentity2013_05_12Output' => array(
2555
  'type' => 'object',
2556
  'additionalProperties' => true,
2557
  'properties' => array(
@@ -2561,7 +2936,7 @@ return array (
2561
  ),
2562
  ),
2563
  ),
2564
- 'DeleteDistribution2013_05_12Output' => array(
2565
  'type' => 'object',
2566
  'additionalProperties' => true,
2567
  'properties' => array(
@@ -2571,7 +2946,7 @@ return array (
2571
  ),
2572
  ),
2573
  ),
2574
- 'DeleteStreamingDistribution2013_05_12Output' => array(
2575
  'type' => 'object',
2576
  'additionalProperties' => true,
2577
  'properties' => array(
@@ -2810,6 +3185,22 @@ return array (
2810
  ),
2811
  ),
2812
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2813
  ),
2814
  ),
2815
  'TrustedSigners' => array(
@@ -2837,6 +3228,25 @@ return array (
2837
  'MinTTL' => array(
2838
  'type' => 'numeric',
2839
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2840
  ),
2841
  ),
2842
  'CacheBehaviors' => array(
@@ -2888,6 +3298,22 @@ return array (
2888
  ),
2889
  ),
2890
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2891
  ),
2892
  ),
2893
  'TrustedSigners' => array(
@@ -2915,6 +3341,55 @@ return array (
2915
  'MinTTL' => array(
2916
  'type' => 'numeric',
2917
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2918
  ),
2919
  ),
2920
  ),
@@ -2955,6 +3430,33 @@ return array (
2955
  'CloudFrontDefaultCertificate' => array(
2956
  'type' => 'boolean',
2957
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2958
  ),
2959
  ),
2960
  ),
@@ -3082,6 +3584,22 @@ return array (
3082
  ),
3083
  ),
3084
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3085
  ),
3086
  ),
3087
  'TrustedSigners' => array(
@@ -3109,6 +3627,25 @@ return array (
3109
  'MinTTL' => array(
3110
  'type' => 'numeric',
3111
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3112
  ),
3113
  ),
3114
  'CacheBehaviors' => array(
@@ -3161,6 +3698,22 @@ return array (
3161
  ),
3162
  ),
3163
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3164
  ),
3165
  ),
3166
  'TrustedSigners' => array(
@@ -3188,6 +3741,56 @@ return array (
3188
  'MinTTL' => array(
3189
  'type' => 'numeric',
3190
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3191
  ),
3192
  ),
3193
  ),
@@ -3233,6 +3836,34 @@ return array (
3233
  'CloudFrontDefaultCertificate' => array(
3234
  'type' => 'boolean',
3235
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3236
  ),
3237
  ),
3238
  'ETag' => array(
@@ -3727,6 +4358,22 @@ return array (
3727
  ),
3728
  ),
3729
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3730
  ),
3731
  ),
3732
  'TrustedSigners' => array(
@@ -3754,6 +4401,25 @@ return array (
3754
  'MinTTL' => array(
3755
  'type' => 'numeric',
3756
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3757
  ),
3758
  ),
3759
  'CacheBehaviors' => array(
@@ -3805,6 +4471,22 @@ return array (
3805
  ),
3806
  ),
3807
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3808
  ),
3809
  ),
3810
  'TrustedSigners' => array(
@@ -3832,6 +4514,55 @@ return array (
3832
  'MinTTL' => array(
3833
  'type' => 'numeric',
3834
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3835
  ),
3836
  ),
3837
  ),
@@ -3855,6 +4586,33 @@ return array (
3855
  'CloudFrontDefaultCertificate' => array(
3856
  'type' => 'boolean',
3857
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3858
  ),
3859
  ),
3860
  ),
@@ -4231,6 +4989,22 @@ return array (
4231
  ),
4232
  ),
4233
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4234
  ),
4235
  ),
4236
  'TrustedSigners' => array(
@@ -4258,6 +5032,25 @@ return array (
4258
  'MinTTL' => array(
4259
  'type' => 'numeric',
4260
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4261
  ),
4262
  ),
4263
  'CacheBehaviors' => array(
@@ -4309,6 +5102,22 @@ return array (
4309
  ),
4310
  ),
4311
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4312
  ),
4313
  ),
4314
  'TrustedSigners' => array(
@@ -4336,6 +5145,55 @@ return array (
4336
  'MinTTL' => array(
4337
  'type' => 'numeric',
4338
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4339
  ),
4340
  ),
4341
  ),
@@ -4376,6 +5234,33 @@ return array (
4376
  'CloudFrontDefaultCertificate' => array(
4377
  'type' => 'boolean',
4378
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4379
  ),
4380
  ),
4381
  ),
@@ -4540,6 +5425,36 @@ return array (
4540
  ),
4541
  ),
4542
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4543
  'waiters' => array(
4544
  '__default__' => array(
4545
  'success.type' => 'output',
15
  */
16
 
17
  return array (
18
+ 'apiVersion' => '2014-05-31',
19
  'endpointPrefix' => 'cloudfront',
20
  'serviceFullName' => 'Amazon CloudFront',
21
  'serviceAbbreviation' => 'CloudFront',
68
  'operations' => array(
69
  'CreateCloudFrontOriginAccessIdentity' => array(
70
  'httpMethod' => 'POST',
71
+ 'uri' => '/2014-05-31/origin-access-identity/cloudfront',
72
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
73
  'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult',
74
  'responseType' => 'model',
76
  'xmlRoot' => array(
77
  'name' => 'CloudFrontOriginAccessIdentityConfig',
78
  'namespaces' => array(
79
+ 'http://cloudfront.amazonaws.com/doc/2014-05-31/',
80
  ),
81
  ),
82
  ),
121
  ),
122
  'CreateDistribution' => array(
123
  'httpMethod' => 'POST',
124
+ 'uri' => '/2014-05-31/distribution',
125
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
126
  'responseClass' => 'CreateDistributionResult',
127
  'responseType' => 'model',
129
  'xmlRoot' => array(
130
  'name' => 'DistributionConfig',
131
  'namespaces' => array(
132
+ 'http://cloudfront.amazonaws.com/doc/2014-05-31/',
133
  ),
134
  ),
135
  ),
209
  'OriginProtocolPolicy' => array(
210
  'required' => true,
211
  'type' => 'string',
 
 
 
 
212
  ),
213
  ),
214
  ),
242
  'Forward' => array(
243
  'required' => true,
244
  'type' => 'string',
 
 
 
 
 
245
  ),
246
  'WhitelistedNames' => array(
247
  'type' => 'object',
261
  ),
262
  ),
263
  ),
264
+ 'Headers' => array(
265
+ 'type' => 'object',
266
+ 'properties' => array(
267
+ 'Quantity' => array(
268
+ 'required' => true,
269
+ 'type' => 'numeric',
270
+ ),
271
+ 'Items' => array(
272
+ 'type' => 'array',
273
+ 'items' => array(
274
+ 'name' => 'Name',
275
+ 'type' => 'string',
276
+ ),
277
+ ),
278
+ ),
279
+ ),
280
  ),
281
  ),
282
  'TrustedSigners' => array(
304
  'ViewerProtocolPolicy' => array(
305
  'required' => true,
306
  'type' => 'string',
 
 
 
 
307
  ),
308
  'MinTTL' => array(
309
  'required' => true,
310
  'type' => 'numeric',
311
  ),
312
+ 'AllowedMethods' => array(
313
+ 'type' => 'object',
314
+ 'properties' => array(
315
+ 'Quantity' => array(
316
+ 'required' => true,
317
+ 'type' => 'numeric',
318
+ ),
319
+ 'Items' => array(
320
+ 'type' => 'array',
321
+ 'items' => array(
322
+ 'name' => 'Method',
323
+ 'type' => 'string',
324
+ ),
325
+ ),
326
+ ),
327
+ ),
328
+ 'SmoothStreaming' => array(
329
+ 'type' => 'boolean',
330
+ 'format' => 'boolean-string',
331
+ ),
332
  ),
333
  ),
334
  'CacheBehaviors' => array(
370
  'Forward' => array(
371
  'required' => true,
372
  'type' => 'string',
 
 
 
 
 
373
  ),
374
  'WhitelistedNames' => array(
375
  'type' => 'object',
389
  ),
390
  ),
391
  ),
392
+ 'Headers' => array(
393
+ 'type' => 'object',
394
+ 'properties' => array(
395
+ 'Quantity' => array(
396
+ 'required' => true,
397
+ 'type' => 'numeric',
398
+ ),
399
+ 'Items' => array(
400
+ 'type' => 'array',
401
+ 'items' => array(
402
+ 'name' => 'Name',
403
+ 'type' => 'string',
404
+ ),
405
+ ),
406
+ ),
407
+ ),
408
  ),
409
  ),
410
  'TrustedSigners' => array(
432
  'ViewerProtocolPolicy' => array(
433
  'required' => true,
434
  'type' => 'string',
 
 
 
 
435
  ),
436
  'MinTTL' => array(
437
  'required' => true,
438
  'type' => 'numeric',
439
  ),
440
+ 'AllowedMethods' => array(
441
+ 'type' => 'object',
442
+ 'properties' => array(
443
+ 'Quantity' => array(
444
+ 'required' => true,
445
+ 'type' => 'numeric',
446
+ ),
447
+ 'Items' => array(
448
+ 'type' => 'array',
449
+ 'items' => array(
450
+ 'name' => 'Method',
451
+ 'type' => 'string',
452
+ ),
453
+ ),
454
+ ),
455
+ ),
456
+ 'SmoothStreaming' => array(
457
+ 'type' => 'boolean',
458
+ 'format' => 'boolean-string',
459
+ ),
460
+ ),
461
+ ),
462
+ ),
463
+ ),
464
+ ),
465
+ 'CustomErrorResponses' => array(
466
+ 'type' => 'object',
467
+ 'location' => 'xml',
468
+ 'properties' => array(
469
+ 'Quantity' => array(
470
+ 'required' => true,
471
+ 'type' => 'numeric',
472
+ ),
473
+ 'Items' => array(
474
+ 'type' => 'array',
475
+ 'items' => array(
476
+ 'name' => 'CustomErrorResponse',
477
+ 'type' => 'object',
478
+ 'properties' => array(
479
+ 'ErrorCode' => array(
480
+ 'required' => true,
481
+ 'type' => 'numeric',
482
+ ),
483
+ 'ResponsePagePath' => array(
484
+ 'type' => 'string',
485
+ ),
486
+ 'ResponseCode' => array(
487
+ 'type' => 'string',
488
+ ),
489
+ 'ErrorCachingMinTTL' => array(
490
+ 'type' => 'numeric',
491
+ ),
492
  ),
493
  ),
494
  ),
528
  'required' => true,
529
  'type' => 'string',
530
  'location' => 'xml',
 
 
 
 
 
531
  ),
532
  'Enabled' => array(
533
  'required' => true,
546
  'type' => 'boolean',
547
  'format' => 'boolean-string',
548
  ),
549
+ 'SSLSupportMethod' => array(
550
+ 'type' => 'string',
551
+ ),
552
+ ),
553
+ ),
554
+ 'Restrictions' => array(
555
+ 'type' => 'object',
556
+ 'location' => 'xml',
557
+ 'properties' => array(
558
+ 'GeoRestriction' => array(
559
+ 'required' => true,
560
+ 'type' => 'object',
561
+ 'properties' => array(
562
+ 'RestrictionType' => array(
563
+ 'required' => true,
564
+ 'type' => 'string',
565
+ ),
566
+ 'Quantity' => array(
567
+ 'required' => true,
568
+ 'type' => 'numeric',
569
+ ),
570
+ 'Items' => array(
571
+ 'type' => 'array',
572
+ 'items' => array(
573
+ 'name' => 'Location',
574
+ 'type' => 'string',
575
+ ),
576
+ ),
577
+ ),
578
+ ),
579
  ),
580
  ),
581
  'command.expects' => array(
630
  'reason' => 'The default root object file name is too big or contains an invalid character.',
631
  'class' => 'InvalidDefaultRootObjectException',
632
  ),
633
+ array(
634
+ 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).',
635
+ 'class' => 'InvalidRelativePathException',
636
+ ),
637
+ array(
638
+ 'class' => 'InvalidErrorCodeException',
639
+ ),
640
+ array(
641
+ 'class' => 'InvalidResponseCodeException',
642
+ ),
643
  array(
644
  'reason' => 'The argument is invalid.',
645
  'class' => 'InvalidArgumentException',
668
  '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.',
669
  'class' => 'InvalidForwardCookiesException',
670
  ),
671
+ array(
672
+ 'class' => 'TooManyHeadersInForwardedValuesException',
673
+ ),
674
+ array(
675
+ 'class' => 'InvalidHeadersForS3OriginException',
676
+ ),
677
  array(
678
  'reason' => 'The value of Quantity and the size of Items do not match.',
679
  'class' => 'InconsistentQuantitiesException',
682
  'reason' => 'You cannot create anymore custom ssl certificates.',
683
  'class' => 'TooManyCertificatesException',
684
  ),
685
+ array(
686
+ 'class' => 'InvalidLocationCodeException',
687
+ ),
688
+ array(
689
+ 'class' => 'InvalidGeoRestrictionParameterException',
690
+ ),
691
  ),
692
  ),
693
  'CreateInvalidation' => array(
694
  'httpMethod' => 'POST',
695
+ 'uri' => '/2014-05-31/distribution/{DistributionId}/invalidation',
696
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
697
  'responseClass' => 'CreateInvalidationResult',
698
  'responseType' => 'model',
700
  'xmlRoot' => array(
701
  'name' => 'InvalidationBatch',
702
  'namespaces' => array(
703
+ 'http://cloudfront.amazonaws.com/doc/2014-05-31/',
704
  ),
705
  ),
706
  ),
770
  ),
771
  'CreateStreamingDistribution' => array(
772
  'httpMethod' => 'POST',
773
+ 'uri' => '/2014-05-31/streaming-distribution',
774
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
775
  'responseClass' => 'CreateStreamingDistributionResult',
776
  'responseType' => 'model',
778
  'xmlRoot' => array(
779
  'name' => 'StreamingDistributionConfig',
780
  'namespaces' => array(
781
+ 'http://cloudfront.amazonaws.com/doc/2014-05-31/',
782
  ),
783
  ),
784
  ),
873
  'required' => true,
874
  'type' => 'string',
875
  'location' => 'xml',
 
 
 
 
 
876
  ),
877
  'Enabled' => array(
878
  'required' => true,
935
  ),
936
  'DeleteCloudFrontOriginAccessIdentity' => array(
937
  'httpMethod' => 'DELETE',
938
+ 'uri' => '/2014-05-31/origin-access-identity/cloudfront/{Id}',
939
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
940
+ 'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2014_05_31Output',
941
  'responseType' => 'model',
942
  'parameters' => array(
943
  'Id' => array(
975
  ),
976
  'DeleteDistribution' => array(
977
  'httpMethod' => 'DELETE',
978
+ 'uri' => '/2014-05-31/distribution/{Id}',
979
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
980
+ 'responseClass' => 'DeleteDistribution2014_05_31Output',
981
  'responseType' => 'model',
982
  'parameters' => array(
983
  'Id' => array(
1015
  ),
1016
  'DeleteStreamingDistribution' => array(
1017
  'httpMethod' => 'DELETE',
1018
+ 'uri' => '/2014-05-31/streaming-distribution/{Id}',
1019
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1020
+ 'responseClass' => 'DeleteStreamingDistribution2014_05_31Output',
1021
  'responseType' => 'model',
1022
  'parameters' => array(
1023
  'Id' => array(
1055
  ),
1056
  'GetCloudFrontOriginAccessIdentity' => array(
1057
  'httpMethod' => 'GET',
1058
+ 'uri' => '/2014-05-31/origin-access-identity/cloudfront/{Id}',
1059
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1060
  'responseClass' => 'GetCloudFrontOriginAccessIdentityResult',
1061
  'responseType' => 'model',
1083
  ),
1084
  'GetCloudFrontOriginAccessIdentityConfig' => array(
1085
  'httpMethod' => 'GET',
1086
+ 'uri' => '/2014-05-31/origin-access-identity/cloudfront/{Id}/config',
1087
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1088
  'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult',
1089
  'responseType' => 'model',
1111
  ),
1112
  'GetDistribution' => array(
1113
  'httpMethod' => 'GET',
1114
+ 'uri' => '/2014-05-31/distribution/{Id}',
1115
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1116
  'responseClass' => 'GetDistributionResult',
1117
  'responseType' => 'model',
1139
  ),
1140
  'GetDistributionConfig' => array(
1141
  'httpMethod' => 'GET',
1142
+ 'uri' => '/2014-05-31/distribution/{Id}/config',
1143
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1144
  'responseClass' => 'GetDistributionConfigResult',
1145
  'responseType' => 'model',
1167
  ),
1168
  'GetInvalidation' => array(
1169
  'httpMethod' => 'GET',
1170
+ 'uri' => '/2014-05-31/distribution/{DistributionId}/invalidation/{Id}',
1171
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1172
  'responseClass' => 'GetInvalidationResult',
1173
  'responseType' => 'model',
1204
  ),
1205
  'GetStreamingDistribution' => array(
1206
  'httpMethod' => 'GET',
1207
+ 'uri' => '/2014-05-31/streaming-distribution/{Id}',
1208
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1209
  'responseClass' => 'GetStreamingDistributionResult',
1210
  'responseType' => 'model',
1232
  ),
1233
  'GetStreamingDistributionConfig' => array(
1234
  'httpMethod' => 'GET',
1235
+ 'uri' => '/2014-05-31/streaming-distribution/{Id}/config',
1236
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1237
  'responseClass' => 'GetStreamingDistributionConfigResult',
1238
  'responseType' => 'model',
1260
  ),
1261
  'ListCloudFrontOriginAccessIdentities' => array(
1262
  'httpMethod' => 'GET',
1263
+ 'uri' => '/2014-05-31/origin-access-identity/cloudfront',
1264
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1265
  'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult',
1266
  'responseType' => 'model',
1287
  ),
1288
  'ListDistributions' => array(
1289
  'httpMethod' => 'GET',
1290
+ 'uri' => '/2014-05-31/distribution',
1291
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1292
  'responseClass' => 'ListDistributionsResult',
1293
  'responseType' => 'model',
1314
  ),
1315
  'ListInvalidations' => array(
1316
  'httpMethod' => 'GET',
1317
+ 'uri' => '/2014-05-31/distribution/{DistributionId}/invalidation',
1318
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1319
  'responseClass' => 'ListInvalidationsResult',
1320
  'responseType' => 'model',
1354
  ),
1355
  'ListStreamingDistributions' => array(
1356
  'httpMethod' => 'GET',
1357
+ 'uri' => '/2014-05-31/streaming-distribution',
1358
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1359
  'responseClass' => 'ListStreamingDistributionsResult',
1360
  'responseType' => 'model',
1381
  ),
1382
  'UpdateCloudFrontOriginAccessIdentity' => array(
1383
  'httpMethod' => 'PUT',
1384
+ 'uri' => '/2014-05-31/origin-access-identity/cloudfront/{Id}/config',
1385
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1386
  'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult',
1387
  'responseType' => 'model',
1389
  'xmlRoot' => array(
1390
  'name' => 'CloudFrontOriginAccessIdentityConfig',
1391
  'namespaces' => array(
1392
+ 'http://cloudfront.amazonaws.com/doc/2014-05-31/',
1393
  ),
1394
  ),
1395
  ),
1456
  ),
1457
  'UpdateDistribution' => array(
1458
  'httpMethod' => 'PUT',
1459
+ 'uri' => '/2014-05-31/distribution/{Id}/config',
1460
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1461
  'responseClass' => 'UpdateDistributionResult',
1462
  'responseType' => 'model',
1464
  'xmlRoot' => array(
1465
  'name' => 'DistributionConfig',
1466
  'namespaces' => array(
1467
+ 'http://cloudfront.amazonaws.com/doc/2014-05-31/',
1468
  ),
1469
  ),
1470
  ),
1544
  'OriginProtocolPolicy' => array(
1545
  'required' => true,
1546
  'type' => 'string',
 
 
 
 
1547
  ),
1548
  ),
1549
  ),
1577
  'Forward' => array(
1578
  'required' => true,
1579
  'type' => 'string',
 
 
 
 
 
1580
  ),
1581
  'WhitelistedNames' => array(
1582
  'type' => 'object',
1596
  ),
1597
  ),
1598
  ),
1599
+ 'Headers' => array(
1600
+ 'type' => 'object',
1601
+ 'properties' => array(
1602
+ 'Quantity' => array(
1603
+ 'required' => true,
1604
+ 'type' => 'numeric',
1605
+ ),
1606
+ 'Items' => array(
1607
+ 'type' => 'array',
1608
+ 'items' => array(
1609
+ 'name' => 'Name',
1610
+ 'type' => 'string',
1611
+ ),
1612
+ ),
1613
+ ),
1614
+ ),
1615
  ),
1616
  ),
1617
  'TrustedSigners' => array(
1639
  'ViewerProtocolPolicy' => array(
1640
  'required' => true,
1641
  'type' => 'string',
 
 
 
 
1642
  ),
1643
  'MinTTL' => array(
1644
  'required' => true,
1645
  'type' => 'numeric',
1646
  ),
1647
+ 'AllowedMethods' => array(
1648
+ 'type' => 'object',
1649
+ 'properties' => array(
1650
+ 'Quantity' => array(
1651
+ 'required' => true,
1652
+ 'type' => 'numeric',
1653
+ ),
1654
+ 'Items' => array(
1655
+ 'type' => 'array',
1656
+ 'items' => array(
1657
+ 'name' => 'Method',
1658
+ 'type' => 'string',
1659
+ ),
1660
+ ),
1661
+ ),
1662
+ ),
1663
+ 'SmoothStreaming' => array(
1664
+ 'type' => 'boolean',
1665
+ 'format' => 'boolean-string',
1666
+ ),
1667
  ),
1668
  ),
1669
  'CacheBehaviors' => array(
1705
  'Forward' => array(
1706
  'required' => true,
1707
  'type' => 'string',
 
 
 
 
 
1708
  ),
1709
  'WhitelistedNames' => array(
1710
  'type' => 'object',
1724
  ),
1725
  ),
1726
  ),
1727
+ 'Headers' => array(
1728
+ 'type' => 'object',
1729
+ 'properties' => array(
1730
+ 'Quantity' => array(
1731
+ 'required' => true,
1732
+ 'type' => 'numeric',
1733
+ ),
1734
+ 'Items' => array(
1735
+ 'type' => 'array',
1736
+ 'items' => array(
1737
+ 'name' => 'Name',
1738
+ 'type' => 'string',
1739
+ ),
1740
+ ),
1741
+ ),
1742
+ ),
1743
  ),
1744
  ),
1745
  'TrustedSigners' => array(
1767
  'ViewerProtocolPolicy' => array(
1768
  'required' => true,
1769
  'type' => 'string',
 
 
 
 
1770
  ),
1771
  'MinTTL' => array(
1772
  'required' => true,
1773
  'type' => 'numeric',
1774
  ),
1775
+ 'AllowedMethods' => array(
1776
+ 'type' => 'object',
1777
+ 'properties' => array(
1778
+ 'Quantity' => array(
1779
+ 'required' => true,
1780
+ 'type' => 'numeric',
1781
+ ),
1782
+ 'Items' => array(
1783
+ 'type' => 'array',
1784
+ 'items' => array(
1785
+ 'name' => 'Method',
1786
+ 'type' => 'string',
1787
+ ),
1788
+ ),
1789
+ ),
1790
+ ),
1791
+ 'SmoothStreaming' => array(
1792
+ 'type' => 'boolean',
1793
+ 'format' => 'boolean-string',
1794
+ ),
1795
+ ),
1796
+ ),
1797
+ ),
1798
+ ),
1799
+ ),
1800
+ 'CustomErrorResponses' => array(
1801
+ 'type' => 'object',
1802
+ 'location' => 'xml',
1803
+ 'properties' => array(
1804
+ 'Quantity' => array(
1805
+ 'required' => true,
1806
+ 'type' => 'numeric',
1807
+ ),
1808
+ 'Items' => array(
1809
+ 'type' => 'array',
1810
+ 'items' => array(
1811
+ 'name' => 'CustomErrorResponse',
1812
+ 'type' => 'object',
1813
+ 'properties' => array(
1814
+ 'ErrorCode' => array(
1815
+ 'required' => true,
1816
+ 'type' => 'numeric',
1817
+ ),
1818
+ 'ResponsePagePath' => array(
1819
+ 'type' => 'string',
1820
+ ),
1821
+ 'ResponseCode' => array(
1822
+ 'type' => 'string',
1823
+ ),
1824
+ 'ErrorCachingMinTTL' => array(
1825
+ 'type' => 'numeric',
1826
+ ),
1827
  ),
1828
  ),
1829
  ),
1863
  'required' => true,
1864
  'type' => 'string',
1865
  'location' => 'xml',
 
 
 
 
 
1866
  ),
1867
  'Enabled' => array(
1868
  'required' => true,
1881
  'type' => 'boolean',
1882
  'format' => 'boolean-string',
1883
  ),
1884
+ 'SSLSupportMethod' => array(
1885
+ 'type' => 'string',
1886
+ ),
1887
+ ),
1888
+ ),
1889
+ 'Restrictions' => array(
1890
+ 'type' => 'object',
1891
+ 'location' => 'xml',
1892
+ 'properties' => array(
1893
+ 'GeoRestriction' => array(
1894
+ 'required' => true,
1895
+ 'type' => 'object',
1896
+ 'properties' => array(
1897
+ 'RestrictionType' => array(
1898
+ 'required' => true,
1899
+ 'type' => 'string',
1900
+ ),
1901
+ 'Quantity' => array(
1902
+ 'required' => true,
1903
+ 'type' => 'numeric',
1904
+ ),
1905
+ 'Items' => array(
1906
+ 'type' => 'array',
1907
+ 'items' => array(
1908
+ 'name' => 'Location',
1909
+ 'type' => 'string',
1910
+ ),
1911
+ ),
1912
+ ),
1913
+ ),
1914
  ),
1915
  ),
1916
  'Id' => array(
1965
  'class' => 'InvalidDefaultRootObjectException',
1966
  ),
1967
  array(
1968
+ 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).',
1969
+ 'class' => 'InvalidRelativePathException',
1970
  ),
1971
  array(
1972
+ 'class' => 'InvalidErrorCodeException',
 
1973
  ),
1974
  array(
1975
+ 'class' => 'InvalidResponseCodeException',
1976
+ ),
1977
+ array(
1978
+ 'reason' => 'The argument is invalid.',
1979
+ 'class' => 'InvalidArgumentException',
1980
+ ),
1981
+ array(
1982
+ 'reason' => 'The origin access identity is not valid or doesn\'t exist.',
1983
+ 'class' => 'InvalidOriginAccessIdentityException',
1984
+ ),
1985
+ array(
1986
+ 'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
1987
  'class' => 'TooManyTrustedSignersException',
1988
  ),
1989
  array(
2017
  '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.',
2018
  'class' => 'InvalidForwardCookiesException',
2019
  ),
2020
+ array(
2021
+ 'class' => 'TooManyHeadersInForwardedValuesException',
2022
+ ),
2023
+ array(
2024
+ 'class' => 'InvalidHeadersForS3OriginException',
2025
+ ),
2026
  array(
2027
  'reason' => 'The value of Quantity and the size of Items do not match.',
2028
  'class' => 'InconsistentQuantitiesException',
2031
  'reason' => 'You cannot create anymore custom ssl certificates.',
2032
  'class' => 'TooManyCertificatesException',
2033
  ),
2034
+ array(
2035
+ 'class' => 'InvalidLocationCodeException',
2036
+ ),
2037
+ array(
2038
+ 'class' => 'InvalidGeoRestrictionParameterException',
2039
+ ),
2040
  ),
2041
  ),
2042
  'UpdateStreamingDistribution' => array(
2043
  'httpMethod' => 'PUT',
2044
+ 'uri' => '/2014-05-31/streaming-distribution/{Id}/config',
2045
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
2046
  'responseClass' => 'UpdateStreamingDistributionResult',
2047
  'responseType' => 'model',
2049
  'xmlRoot' => array(
2050
  'name' => 'StreamingDistributionConfig',
2051
  'namespaces' => array(
2052
+ 'http://cloudfront.amazonaws.com/doc/2014-05-31/',
2053
  ),
2054
  ),
2055
  ),
2144
  'required' => true,
2145
  'type' => 'string',
2146
  'location' => 'xml',
 
 
 
 
 
2147
  ),
2148
  'Enabled' => array(
2149
  'required' => true,
2432
  ),
2433
  ),
2434
  ),
2435
+ 'Headers' => array(
2436
+ 'type' => 'object',
2437
+ 'properties' => array(
2438
+ 'Quantity' => array(
2439
+ 'type' => 'numeric',
2440
+ ),
2441
+ 'Items' => array(
2442
+ 'type' => 'array',
2443
+ 'items' => array(
2444
+ 'name' => 'Name',
2445
+ 'type' => 'string',
2446
+ 'sentAs' => 'Name',
2447
+ ),
2448
+ ),
2449
+ ),
2450
+ ),
2451
  ),
2452
  ),
2453
  'TrustedSigners' => array(
2475
  'MinTTL' => array(
2476
  'type' => 'numeric',
2477
  ),
2478
+ 'AllowedMethods' => array(
2479
+ 'type' => 'object',
2480
+ 'properties' => array(
2481
+ 'Quantity' => array(
2482
+ 'type' => 'numeric',
2483
+ ),
2484
+ 'Items' => array(
2485
+ 'type' => 'array',
2486
+ 'items' => array(
2487
+ 'name' => 'Method',
2488
+ 'type' => 'string',
2489
+ 'sentAs' => 'Method',
2490
+ ),
2491
+ ),
2492
+ ),
2493
+ ),
2494
+ 'SmoothStreaming' => array(
2495
+ 'type' => 'boolean',
2496
+ ),
2497
  ),
2498
  ),
2499
  'CacheBehaviors' => array(
2545
  ),
2546
  ),
2547
  ),
2548
+ 'Headers' => array(
2549
+ 'type' => 'object',
2550
+ 'properties' => array(
2551
+ 'Quantity' => array(
2552
+ 'type' => 'numeric',
2553
+ ),
2554
+ 'Items' => array(
2555
+ 'type' => 'array',
2556
+ 'items' => array(
2557
+ 'name' => 'Name',
2558
+ 'type' => 'string',
2559
+ 'sentAs' => 'Name',
2560
+ ),
2561
+ ),
2562
+ ),
2563
+ ),
2564
  ),
2565
  ),
2566
  'TrustedSigners' => array(
2588
  'MinTTL' => array(
2589
  'type' => 'numeric',
2590
  ),
2591
+ 'AllowedMethods' => array(
2592
+ 'type' => 'object',
2593
+ 'properties' => array(
2594
+ 'Quantity' => array(
2595
+ 'type' => 'numeric',
2596
+ ),
2597
+ 'Items' => array(
2598
+ 'type' => 'array',
2599
+ 'items' => array(
2600
+ 'name' => 'Method',
2601
+ 'type' => 'string',
2602
+ 'sentAs' => 'Method',
2603
+ ),
2604
+ ),
2605
+ ),
2606
+ ),
2607
+ 'SmoothStreaming' => array(
2608
+ 'type' => 'boolean',
2609
+ ),
2610
+ ),
2611
+ ),
2612
+ ),
2613
+ ),
2614
+ ),
2615
+ 'CustomErrorResponses' => array(
2616
+ 'type' => 'object',
2617
+ 'properties' => array(
2618
+ 'Quantity' => array(
2619
+ 'type' => 'numeric',
2620
+ ),
2621
+ 'Items' => array(
2622
+ 'type' => 'array',
2623
+ 'items' => array(
2624
+ 'name' => 'CustomErrorResponse',
2625
+ 'type' => 'object',
2626
+ 'sentAs' => 'CustomErrorResponse',
2627
+ 'properties' => array(
2628
+ 'ErrorCode' => array(
2629
+ 'type' => 'numeric',
2630
+ ),
2631
+ 'ResponsePagePath' => array(
2632
+ 'type' => 'string',
2633
+ ),
2634
+ 'ResponseCode' => array(
2635
+ 'type' => 'string',
2636
+ ),
2637
+ 'ErrorCachingMinTTL' => array(
2638
+ 'type' => 'numeric',
2639
+ ),
2640
  ),
2641
  ),
2642
  ),
2677
  'CloudFrontDefaultCertificate' => array(
2678
  'type' => 'boolean',
2679
  ),
2680
+ 'SSLSupportMethod' => array(
2681
+ 'type' => 'string',
2682
+ ),
2683
+ ),
2684
+ ),
2685
+ 'Restrictions' => array(
2686
+ 'type' => 'object',
2687
+ 'properties' => array(
2688
+ 'GeoRestriction' => array(
2689
+ 'type' => 'object',
2690
+ 'properties' => array(
2691
+ 'RestrictionType' => array(
2692
+ 'type' => 'string',
2693
+ ),
2694
+ 'Quantity' => array(
2695
+ 'type' => 'numeric',
2696
+ ),
2697
+ 'Items' => array(
2698
+ 'type' => 'array',
2699
+ 'items' => array(
2700
+ 'name' => 'Location',
2701
+ 'type' => 'string',
2702
+ 'sentAs' => 'Location',
2703
+ ),
2704
+ ),
2705
+ ),
2706
+ ),
2707
  ),
2708
  ),
2709
  ),
2926
  ),
2927
  ),
2928
  ),
2929
+ 'DeleteCloudFrontOriginAccessIdentity2014_05_31Output' => array(
2930
  'type' => 'object',
2931
  'additionalProperties' => true,
2932
  'properties' => array(
2936
  ),
2937
  ),
2938
  ),
2939
+ 'DeleteDistribution2014_05_31Output' => array(
2940
  'type' => 'object',
2941
  'additionalProperties' => true,
2942
  'properties' => array(
2946
  ),
2947
  ),
2948
  ),
2949
+ 'DeleteStreamingDistribution2014_05_31Output' => array(
2950
  'type' => 'object',
2951
  'additionalProperties' => true,
2952
  'properties' => array(
3185
  ),
3186
  ),
3187
  ),
3188
+ 'Headers' => array(
3189
+ 'type' => 'object',
3190
+ 'properties' => array(
3191
+ 'Quantity' => array(
3192
+ 'type' => 'numeric',
3193
+ ),
3194
+ 'Items' => array(
3195
+ 'type' => 'array',
3196
+ 'items' => array(
3197
+ 'name' => 'Name',
3198
+ 'type' => 'string',
3199
+ 'sentAs' => 'Name',
3200
+ ),
3201
+ ),
3202
+ ),
3203
+ ),
3204
  ),
3205
  ),
3206
  'TrustedSigners' => array(
3228
  'MinTTL' => array(
3229
  'type' => 'numeric',
3230
  ),
3231
+ 'AllowedMethods' => array(
3232
+ 'type' => 'object',
3233
+ 'properties' => array(
3234
+ 'Quantity' => array(
3235
+ 'type' => 'numeric',
3236
+ ),
3237
+ 'Items' => array(
3238
+ 'type' => 'array',
3239
+ 'items' => array(
3240
+ 'name' => 'Method',
3241
+ 'type' => 'string',
3242
+ 'sentAs' => 'Method',
3243
+ ),
3244
+ ),
3245
+ ),
3246
+ ),
3247
+ 'SmoothStreaming' => array(
3248
+ 'type' => 'boolean',
3249
+ ),
3250
  ),
3251
  ),
3252
  'CacheBehaviors' => array(
3298
  ),
3299
  ),
3300
  ),
3301
+ 'Headers' => array(
3302
+ 'type' => 'object',
3303
+ 'properties' => array(
3304
+ 'Quantity' => array(
3305
+ 'type' => 'numeric',
3306
+ ),
3307
+ 'Items' => array(
3308
+ 'type' => 'array',
3309
+ 'items' => array(
3310
+ 'name' => 'Name',
3311
+ 'type' => 'string',
3312
+ 'sentAs' => 'Name',
3313
+ ),
3314
+ ),
3315
+ ),
3316
+ ),
3317
  ),
3318
  ),
3319
  'TrustedSigners' => array(
3341
  'MinTTL' => array(
3342
  'type' => 'numeric',
3343
  ),
3344
+ 'AllowedMethods' => array(
3345
+ 'type' => 'object',
3346
+ 'properties' => array(
3347
+ 'Quantity' => array(
3348
+ 'type' => 'numeric',
3349
+ ),
3350
+ 'Items' => array(
3351
+ 'type' => 'array',
3352
+ 'items' => array(
3353
+ 'name' => 'Method',
3354
+ 'type' => 'string',
3355
+ 'sentAs' => 'Method',
3356
+ ),
3357
+ ),
3358
+ ),
3359
+ ),
3360
+ 'SmoothStreaming' => array(
3361
+ 'type' => 'boolean',
3362
+ ),
3363
+ ),
3364
+ ),
3365
+ ),
3366
+ ),
3367
+ ),
3368
+ 'CustomErrorResponses' => array(
3369
+ 'type' => 'object',
3370
+ 'properties' => array(
3371
+ 'Quantity' => array(
3372
+ 'type' => 'numeric',
3373
+ ),
3374
+ 'Items' => array(
3375
+ 'type' => 'array',
3376
+ 'items' => array(
3377
+ 'name' => 'CustomErrorResponse',
3378
+ 'type' => 'object',
3379
+ 'sentAs' => 'CustomErrorResponse',
3380
+ 'properties' => array(
3381
+ 'ErrorCode' => array(
3382
+ 'type' => 'numeric',
3383
+ ),
3384
+ 'ResponsePagePath' => array(
3385
+ 'type' => 'string',
3386
+ ),
3387
+ 'ResponseCode' => array(
3388
+ 'type' => 'string',
3389
+ ),
3390
+ 'ErrorCachingMinTTL' => array(
3391
+ 'type' => 'numeric',
3392
+ ),
3393
  ),
3394
  ),
3395
  ),
3430
  'CloudFrontDefaultCertificate' => array(
3431
  'type' => 'boolean',
3432
  ),
3433
+ 'SSLSupportMethod' => array(
3434
+ 'type' => 'string',
3435
+ ),
3436
+ ),
3437
+ ),
3438
+ 'Restrictions' => array(
3439
+ 'type' => 'object',
3440
+ 'properties' => array(
3441
+ 'GeoRestriction' => array(
3442
+ 'type' => 'object',
3443
+ 'properties' => array(
3444
+ 'RestrictionType' => array(
3445
+ 'type' => 'string',
3446
+ ),
3447
+ 'Quantity' => array(
3448
+ 'type' => 'numeric',
3449
+ ),
3450
+ 'Items' => array(
3451
+ 'type' => 'array',
3452
+ 'items' => array(
3453
+ 'name' => 'Location',
3454
+ 'type' => 'string',
3455
+ 'sentAs' => 'Location',
3456
+ ),
3457
+ ),
3458
+ ),
3459
+ ),
3460
  ),
3461
  ),
3462
  ),
3584
  ),
3585
  ),
3586
  ),
3587
+ 'Headers' => array(
3588
+ 'type' => 'object',
3589
+ 'properties' => array(
3590
+ 'Quantity' => array(
3591
+ 'type' => 'numeric',
3592
+ ),
3593
+ 'Items' => array(
3594
+ 'type' => 'array',
3595
+ 'items' => array(
3596
+ 'name' => 'Name',
3597
+ 'type' => 'string',
3598
+ 'sentAs' => 'Name',
3599
+ ),
3600
+ ),
3601
+ ),
3602
+ ),
3603
  ),
3604
  ),
3605
  'TrustedSigners' => array(
3627
  'MinTTL' => array(
3628
  'type' => 'numeric',
3629
  ),
3630
+ 'AllowedMethods' => array(
3631
+ 'type' => 'object',
3632
+ 'properties' => array(
3633
+ 'Quantity' => array(
3634
+ 'type' => 'numeric',
3635
+ ),
3636
+ 'Items' => array(
3637
+ 'type' => 'array',
3638
+ 'items' => array(
3639
+ 'name' => 'Method',
3640
+ 'type' => 'string',
3641
+ 'sentAs' => 'Method',
3642
+ ),
3643
+ ),
3644
+ ),
3645
+ ),
3646
+ 'SmoothStreaming' => array(
3647
+ 'type' => 'boolean',
3648
+ ),
3649
  ),
3650
  ),
3651
  'CacheBehaviors' => array(
3698
  ),
3699
  ),
3700
  ),
3701
+ 'Headers' => array(
3702
+ 'type' => 'object',
3703
+ 'properties' => array(
3704
+ 'Quantity' => array(
3705
+ 'type' => 'numeric',
3706
+ ),
3707
+ 'Items' => array(
3708
+ 'type' => 'array',
3709
+ 'items' => array(
3710
+ 'name' => 'Name',
3711
+ 'type' => 'string',
3712
+ 'sentAs' => 'Name',
3713
+ ),
3714
+ ),
3715
+ ),
3716
+ ),
3717
  ),
3718
  ),
3719
  'TrustedSigners' => array(
3741
  'MinTTL' => array(
3742
  'type' => 'numeric',
3743
  ),
3744
+ 'AllowedMethods' => array(
3745
+ 'type' => 'object',
3746
+ 'properties' => array(
3747
+ 'Quantity' => array(
3748
+ 'type' => 'numeric',
3749
+ ),
3750
+ 'Items' => array(
3751
+ 'type' => 'array',
3752
+ 'items' => array(
3753
+ 'name' => 'Method',
3754
+ 'type' => 'string',
3755
+ 'sentAs' => 'Method',
3756
+ ),
3757
+ ),
3758
+ ),
3759
+ ),
3760
+ 'SmoothStreaming' => array(
3761
+ 'type' => 'boolean',
3762
+ ),
3763
+ ),
3764
+ ),
3765
+ ),
3766
+ ),
3767
+ ),
3768
+ 'CustomErrorResponses' => array(
3769
+ 'type' => 'object',
3770
+ 'location' => 'xml',
3771
+ 'properties' => array(
3772
+ 'Quantity' => array(
3773
+ 'type' => 'numeric',
3774
+ ),
3775
+ 'Items' => array(
3776
+ 'type' => 'array',
3777
+ 'items' => array(
3778
+ 'name' => 'CustomErrorResponse',
3779
+ 'type' => 'object',
3780
+ 'sentAs' => 'CustomErrorResponse',
3781
+ 'properties' => array(
3782
+ 'ErrorCode' => array(
3783
+ 'type' => 'numeric',
3784
+ ),
3785
+ 'ResponsePagePath' => array(
3786
+ 'type' => 'string',
3787
+ ),
3788
+ 'ResponseCode' => array(
3789
+ 'type' => 'string',
3790
+ ),
3791
+ 'ErrorCachingMinTTL' => array(
3792
+ 'type' => 'numeric',
3793
+ ),
3794
  ),
3795
  ),
3796
  ),
3836
  'CloudFrontDefaultCertificate' => array(
3837
  'type' => 'boolean',
3838
  ),
3839
+ 'SSLSupportMethod' => array(
3840
+ 'type' => 'string',
3841
+ ),
3842
+ ),
3843
+ ),
3844
+ 'Restrictions' => array(
3845
+ 'type' => 'object',
3846
+ 'location' => 'xml',
3847
+ 'properties' => array(
3848
+ 'GeoRestriction' => array(
3849
+ 'type' => 'object',
3850
+ 'properties' => array(
3851
+ 'RestrictionType' => array(
3852
+ 'type' => 'string',
3853
+ ),
3854
+ 'Quantity' => array(
3855
+ 'type' => 'numeric',
3856
+ ),
3857
+ 'Items' => array(
3858
+ 'type' => 'array',
3859
+ 'items' => array(
3860
+ 'name' => 'Location',
3861
+ 'type' => 'string',
3862
+ 'sentAs' => 'Location',
3863
+ ),
3864
+ ),
3865
+ ),
3866
+ ),
3867
  ),
3868
  ),
3869
  'ETag' => array(
4358
  ),
4359
  ),
4360
  ),
4361
+ 'Headers' => array(
4362
+ 'type' => 'object',
4363
+ 'properties' => array(
4364
+ 'Quantity' => array(
4365
+ 'type' => 'numeric',
4366
+ ),
4367
+ 'Items' => array(
4368
+ 'type' => 'array',
4369
+ 'items' => array(
4370
+ 'name' => 'Name',
4371
+ 'type' => 'string',
4372
+ 'sentAs' => 'Name',
4373
+ ),
4374
+ ),
4375
+ ),
4376
+ ),
4377
  ),
4378
  ),
4379
  'TrustedSigners' => array(
4401
  'MinTTL' => array(
4402
  'type' => 'numeric',
4403
  ),
4404
+ 'AllowedMethods' => array(
4405
+ 'type' => 'object',
4406
+ 'properties' => array(
4407
+ 'Quantity' => array(
4408
+ 'type' => 'numeric',
4409
+ ),
4410
+ 'Items' => array(
4411
+ 'type' => 'array',
4412
+ 'items' => array(
4413
+ 'name' => 'Method',
4414
+ 'type' => 'string',
4415
+ 'sentAs' => 'Method',
4416
+ ),
4417
+ ),
4418
+ ),
4419
+ ),
4420
+ 'SmoothStreaming' => array(
4421
+ 'type' => 'boolean',
4422
+ ),
4423
  ),
4424
  ),
4425
  'CacheBehaviors' => array(
4471
  ),
4472
  ),
4473
  ),
4474
+ 'Headers' => array(
4475
+ 'type' => 'object',
4476
+ 'properties' => array(
4477
+ 'Quantity' => array(
4478
+ 'type' => 'numeric',
4479
+ ),
4480
+ 'Items' => array(
4481
+ 'type' => 'array',
4482
+ 'items' => array(
4483
+ 'name' => 'Name',
4484
+ 'type' => 'string',
4485
+ 'sentAs' => 'Name',
4486
+ ),
4487
+ ),
4488
+ ),
4489
+ ),
4490
  ),
4491
  ),
4492
  'TrustedSigners' => array(
4514
  'MinTTL' => array(
4515
  'type' => 'numeric',
4516
  ),
4517
+ 'AllowedMethods' => array(
4518
+ 'type' => 'object',
4519
+ 'properties' => array(
4520
+ 'Quantity' => array(
4521
+ 'type' => 'numeric',
4522
+ ),
4523
+ 'Items' => array(
4524
+ 'type' => 'array',
4525
+ 'items' => array(
4526
+ 'name' => 'Method',
4527
+ 'type' => 'string',
4528
+ 'sentAs' => 'Method',
4529
+ ),
4530
+ ),
4531
+ ),
4532
+ ),
4533
+ 'SmoothStreaming' => array(
4534
+ 'type' => 'boolean',
4535
+ ),
4536
+ ),
4537
+ ),
4538
+ ),
4539
+ ),
4540
+ ),
4541
+ 'CustomErrorResponses' => array(
4542
+ 'type' => 'object',
4543
+ 'properties' => array(
4544
+ 'Quantity' => array(
4545
+ 'type' => 'numeric',
4546
+ ),
4547
+ 'Items' => array(
4548
+ 'type' => 'array',
4549
+ 'items' => array(
4550
+ 'name' => 'CustomErrorResponse',
4551
+ 'type' => 'object',
4552
+ 'sentAs' => 'CustomErrorResponse',
4553
+ 'properties' => array(
4554
+ 'ErrorCode' => array(
4555
+ 'type' => 'numeric',
4556
+ ),
4557
+ 'ResponsePagePath' => array(
4558
+ 'type' => 'string',
4559
+ ),
4560
+ 'ResponseCode' => array(
4561
+ 'type' => 'string',
4562
+ ),
4563
+ 'ErrorCachingMinTTL' => array(
4564
+ 'type' => 'numeric',
4565
+ ),
4566
  ),
4567
  ),
4568
  ),
4586
  'CloudFrontDefaultCertificate' => array(
4587
  'type' => 'boolean',
4588
  ),
4589
+ 'SSLSupportMethod' => array(
4590
+ 'type' => 'string',
4591
+ ),
4592
+ ),
4593
+ ),
4594
+ 'Restrictions' => array(
4595
+ 'type' => 'object',
4596
+ 'properties' => array(
4597
+ 'GeoRestriction' => array(
4598
+ 'type' => 'object',
4599
+ 'properties' => array(
4600
+ 'RestrictionType' => array(
4601
+ 'type' => 'string',
4602
+ ),
4603
+ 'Quantity' => array(
4604
+ 'type' => 'numeric',
4605
+ ),
4606
+ 'Items' => array(
4607
+ 'type' => 'array',
4608
+ 'items' => array(
4609
+ 'name' => 'Location',
4610
+ 'type' => 'string',
4611
+ 'sentAs' => 'Location',
4612
+ ),
4613
+ ),
4614
+ ),
4615
+ ),
4616
  ),
4617
  ),
4618
  ),
4989
  ),
4990
  ),
4991
  ),
4992
+ 'Headers' => array(
4993
+ 'type' => 'object',
4994
+ 'properties' => array(
4995
+ 'Quantity' => array(
4996
+ 'type' => 'numeric',
4997
+ ),
4998
+ 'Items' => array(
4999
+ 'type' => 'array',
5000
+ 'items' => array(
5001
+ 'name' => 'Name',
5002
+ 'type' => 'string',
5003
+ 'sentAs' => 'Name',
5004
+ ),
5005
+ ),
5006
+ ),
5007
+ ),
5008
  ),
5009
  ),
5010
  'TrustedSigners' => array(
5032
  'MinTTL' => array(
5033
  'type' => 'numeric',
5034
  ),
5035
+ 'AllowedMethods' => array(
5036
+ 'type' => 'object',
5037
+ 'properties' => array(
5038
+ 'Quantity' => array(
5039
+ 'type' => 'numeric',
5040
+ ),
5041
+ 'Items' => array(
5042
+ 'type' => 'array',
5043
+ 'items' => array(
5044
+ 'name' => 'Method',
5045
+ 'type' => 'string',
5046
+ 'sentAs' => 'Method',
5047
+ ),
5048
+ ),
5049
+ ),
5050
+ ),
5051
+ 'SmoothStreaming' => array(
5052
+ 'type' => 'boolean',
5053
+ ),
5054
  ),
5055
  ),
5056
  'CacheBehaviors' => array(
5102
  ),
5103
  ),
5104
  ),
5105
+ 'Headers' => array(
5106
+ 'type' => 'object',
5107
+ 'properties' => array(
5108
+ 'Quantity' => array(
5109
+ 'type' => 'numeric',
5110
+ ),
5111
+ 'Items' => array(
5112
+ 'type' => 'array',
5113
+ 'items' => array(
5114
+ 'name' => 'Name',
5115
+ 'type' => 'string',
5116
+ 'sentAs' => 'Name',
5117
+ ),
5118
+ ),
5119
+ ),
5120
+ ),
5121
  ),
5122
  ),
5123
  'TrustedSigners' => array(
5145
  'MinTTL' => array(
5146
  'type' => 'numeric',
5147
  ),
5148
+ 'AllowedMethods' => array(
5149
+ 'type' => 'object',
5150
+ 'properties' => array(
5151
+ 'Quantity' => array(
5152
+ 'type' => 'numeric',
5153
+ ),
5154
+ 'Items' => array(
5155
+ 'type' => 'array',
5156
+ 'items' => array(
5157
+ 'name' => 'Method',
5158
+ 'type' => 'string',
5159
+ 'sentAs' => 'Method',
5160
+ ),
5161
+ ),
5162
+ ),
5163
+ ),
5164
+ 'SmoothStreaming' => array(
5165
+ 'type' => 'boolean',
5166
+ ),
5167
+ ),
5168
+ ),
5169
+ ),
5170
+ ),
5171
+ ),
5172
+ 'CustomErrorResponses' => array(
5173
+ 'type' => 'object',
5174
+ 'properties' => array(
5175
+ 'Quantity' => array(
5176
+ 'type' => 'numeric',
5177
+ ),
5178
+ 'Items' => array(
5179
+ 'type' => 'array',
5180
+ 'items' => array(
5181
+ 'name' => 'CustomErrorResponse',
5182
+ 'type' => 'object',
5183
+ 'sentAs' => 'CustomErrorResponse',
5184
+ 'properties' => array(
5185
+ 'ErrorCode' => array(
5186
+ 'type' => 'numeric',
5187
+ ),
5188
+ 'ResponsePagePath' => array(
5189
+ 'type' => 'string',
5190
+ ),
5191
+ 'ResponseCode' => array(
5192
+ 'type' => 'string',
5193
+ ),
5194
+ 'ErrorCachingMinTTL' => array(
5195
+ 'type' => 'numeric',
5196
+ ),
5197
  ),
5198
  ),
5199
  ),
5234
  'CloudFrontDefaultCertificate' => array(
5235
  'type' => 'boolean',
5236
  ),
5237
+ 'SSLSupportMethod' => array(
5238
+ 'type' => 'string',
5239
+ ),
5240
+ ),
5241
+ ),
5242
+ 'Restrictions' => array(
5243
+ 'type' => 'object',
5244
+ 'properties' => array(
5245
+ 'GeoRestriction' => array(
5246
+ 'type' => 'object',
5247
+ 'properties' => array(
5248
+ 'RestrictionType' => array(
5249
+ 'type' => 'string',
5250
+ ),
5251
+ 'Quantity' => array(
5252
+ 'type' => 'numeric',
5253
+ ),
5254
+ 'Items' => array(
5255
+ 'type' => 'array',
5256
+ 'items' => array(
5257
+ 'name' => 'Location',
5258
+ 'type' => 'string',
5259
+ 'sentAs' => 'Location',
5260
+ ),
5261
+ ),
5262
+ ),
5263
+ ),
5264
  ),
5265
  ),
5266
  ),
5425
  ),
5426
  ),
5427
  ),
5428
+ 'iterators' => array(
5429
+ 'ListCloudFrontOriginAccessIdentities' => array(
5430
+ 'input_token' => 'Marker',
5431
+ 'output_token' => 'NextMarker',
5432
+ 'limit_key' => 'MaxItems',
5433
+ 'more_results' => 'IsTruncated',
5434
+ 'result_key' => 'Items',
5435
+ ),
5436
+ 'ListDistributions' => array(
5437
+ 'input_token' => 'Marker',
5438
+ 'output_token' => 'NextMarker',
5439
+ 'limit_key' => 'MaxItems',
5440
+ 'more_results' => 'IsTruncated',
5441
+ 'result_key' => 'Items',
5442
+ ),
5443
+ 'ListInvalidations' => array(
5444
+ 'input_token' => 'Marker',
5445
+ 'output_token' => 'NextMarker',
5446
+ 'limit_key' => 'MaxItems',
5447
+ 'more_results' => 'IsTruncated',
5448
+ 'result_key' => 'Items',
5449
+ ),
5450
+ 'ListStreamingDistributions' => array(
5451
+ 'input_token' => 'Marker',
5452
+ 'output_token' => 'NextMarker',
5453
+ 'limit_key' => 'MaxItems',
5454
+ 'more_results' => 'IsTruncated',
5455
+ 'result_key' => 'Items',
5456
+ ),
5457
+ ),
5458
  'waiters' => array(
5459
  '__default__' => array(
5460
  'success.type' => 'output',
vendor/aws/Aws/CloudSearch/CloudSearchClient.php CHANGED
@@ -16,6 +16,7 @@
16
 
17
  namespace Aws\CloudSearch;
18
 
 
19
  use Aws\Common\Client\AbstractClient;
20
  use Aws\Common\Client\ClientBuilder;
21
  use Aws\Common\Enum\ClientOptions as Options;
@@ -26,36 +27,42 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
26
  /**
27
  * Client to interact with Amazon CloudSearch
28
  *
 
29
  * @method Model createDomain(array $args = array()) {@command CloudSearch CreateDomain}
 
 
30
  * @method Model defineIndexField(array $args = array()) {@command CloudSearch DefineIndexField}
31
- * @method Model defineRankExpression(array $args = array()) {@command CloudSearch DefineRankExpression}
 
32
  * @method Model deleteDomain(array $args = array()) {@command CloudSearch DeleteDomain}
 
33
  * @method Model deleteIndexField(array $args = array()) {@command CloudSearch DeleteIndexField}
34
- * @method Model deleteRankExpression(array $args = array()) {@command CloudSearch DeleteRankExpression}
35
- * @method Model describeDefaultSearchField(array $args = array()) {@command CloudSearch DescribeDefaultSearchField}
 
36
  * @method Model describeDomains(array $args = array()) {@command CloudSearch DescribeDomains}
 
37
  * @method Model describeIndexFields(array $args = array()) {@command CloudSearch DescribeIndexFields}
38
- * @method Model describeRankExpressions(array $args = array()) {@command CloudSearch DescribeRankExpressions}
39
  * @method Model describeServiceAccessPolicies(array $args = array()) {@command CloudSearch DescribeServiceAccessPolicies}
40
- * @method Model describeStemmingOptions(array $args = array()) {@command CloudSearch DescribeStemmingOptions}
41
- * @method Model describeStopwordOptions(array $args = array()) {@command CloudSearch DescribeStopwordOptions}
42
- * @method Model describeSynonymOptions(array $args = array()) {@command CloudSearch DescribeSynonymOptions}
43
  * @method Model indexDocuments(array $args = array()) {@command CloudSearch IndexDocuments}
44
- * @method Model updateDefaultSearchField(array $args = array()) {@command CloudSearch UpdateDefaultSearchField}
 
 
45
  * @method Model updateServiceAccessPolicies(array $args = array()) {@command CloudSearch UpdateServiceAccessPolicies}
46
- * @method Model updateStemmingOptions(array $args = array()) {@command CloudSearch UpdateStemmingOptions}
47
- * @method Model updateStopwordOptions(array $args = array()) {@command CloudSearch UpdateStopwordOptions}
48
- * @method Model updateSynonymOptions(array $args = array()) {@command CloudSearch UpdateSynonymOptions}
49
  * @method ResourceIteratorInterface getDescribeDomainsIterator(array $args = array()) The input array uses the parameters of the DescribeDomains operation
 
50
  * @method ResourceIteratorInterface getDescribeIndexFieldsIterator(array $args = array()) The input array uses the parameters of the DescribeIndexFields operation
51
- * @method ResourceIteratorInterface getDescribeRankExpressionsIterator(array $args = array()) The input array uses the parameters of the DescribeRankExpressions operation
52
  *
53
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudsearch.html User guide
54
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudSearch.CloudSearchClient.html API docs
55
  */
56
  class CloudSearchClient extends AbstractClient
57
  {
58
- const LATEST_API_VERSION = '2011-02-01';
59
 
60
  /**
61
  * Factory method to create a new Amazon CloudSearch client using an array of configuration options.
@@ -63,7 +70,7 @@ class CloudSearchClient extends AbstractClient
63
  * @param array|Collection $config Client configuration data
64
  *
65
  * @return self
66
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
67
  */
68
  public static function factory($config = array())
69
  {
@@ -75,4 +82,24 @@ class CloudSearchClient extends AbstractClient
75
  ))
76
  ->build();
77
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
16
 
17
  namespace Aws\CloudSearch;
18
 
19
+ use Aws\CloudSearchDomain\CloudSearchDomainClient;
20
  use Aws\Common\Client\AbstractClient;
21
  use Aws\Common\Client\ClientBuilder;
22
  use Aws\Common\Enum\ClientOptions as Options;
27
  /**
28
  * Client to interact with Amazon CloudSearch
29
  *
30
+ * @method Model buildSuggesters(array $args = array()) {@command CloudSearch BuildSuggesters}
31
  * @method Model createDomain(array $args = array()) {@command CloudSearch CreateDomain}
32
+ * @method Model defineAnalysisScheme(array $args = array()) {@command CloudSearch DefineAnalysisScheme}
33
+ * @method Model defineExpression(array $args = array()) {@command CloudSearch DefineExpression}
34
  * @method Model defineIndexField(array $args = array()) {@command CloudSearch DefineIndexField}
35
+ * @method Model defineSuggester(array $args = array()) {@command CloudSearch DefineSuggester}
36
+ * @method Model deleteAnalysisScheme(array $args = array()) {@command CloudSearch DeleteAnalysisScheme}
37
  * @method Model deleteDomain(array $args = array()) {@command CloudSearch DeleteDomain}
38
+ * @method Model deleteExpression(array $args = array()) {@command CloudSearch DeleteExpression}
39
  * @method Model deleteIndexField(array $args = array()) {@command CloudSearch DeleteIndexField}
40
+ * @method Model deleteSuggester(array $args = array()) {@command CloudSearch DeleteSuggester}
41
+ * @method Model describeAnalysisSchemes(array $args = array()) {@command CloudSearch DescribeAnalysisSchemes}
42
+ * @method Model describeAvailabilityOptions(array $args = array()) {@command CloudSearch DescribeAvailabilityOptions}
43
  * @method Model describeDomains(array $args = array()) {@command CloudSearch DescribeDomains}
44
+ * @method Model describeExpressions(array $args = array()) {@command CloudSearch DescribeExpressions}
45
  * @method Model describeIndexFields(array $args = array()) {@command CloudSearch DescribeIndexFields}
46
+ * @method Model describeScalingParameters(array $args = array()) {@command CloudSearch DescribeScalingParameters}
47
  * @method Model describeServiceAccessPolicies(array $args = array()) {@command CloudSearch DescribeServiceAccessPolicies}
48
+ * @method Model describeSuggesters(array $args = array()) {@command CloudSearch DescribeSuggesters}
 
 
49
  * @method Model indexDocuments(array $args = array()) {@command CloudSearch IndexDocuments}
50
+ * @method Model listDomainNames(array $args = array()) {@command CloudSearch ListDomainNames}
51
+ * @method Model updateAvailabilityOptions(array $args = array()) {@command CloudSearch UpdateAvailabilityOptions}
52
+ * @method Model updateScalingParameters(array $args = array()) {@command CloudSearch UpdateScalingParameters}
53
  * @method Model updateServiceAccessPolicies(array $args = array()) {@command CloudSearch UpdateServiceAccessPolicies}
54
+ * @method ResourceIteratorInterface getDescribeAnalysisSchemesIterator(array $args = array()) The input array uses the parameters of the DescribeAnalysisSchemes operation
 
 
55
  * @method ResourceIteratorInterface getDescribeDomainsIterator(array $args = array()) The input array uses the parameters of the DescribeDomains operation
56
+ * @method ResourceIteratorInterface getDescribeExpressionsIterator(array $args = array()) The input array uses the parameters of the DescribeExpressions operation
57
  * @method ResourceIteratorInterface getDescribeIndexFieldsIterator(array $args = array()) The input array uses the parameters of the DescribeIndexFields operation
58
+ * @method ResourceIteratorInterface getDescribeSuggestersIterator(array $args = array()) The input array uses the parameters of the DescribeSuggesters operation
59
  *
60
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudsearch.html User guide
61
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudSearch.CloudSearchClient.html API docs
62
  */
63
  class CloudSearchClient extends AbstractClient
64
  {
65
+ const LATEST_API_VERSION = '2013-01-01';
66
 
67
  /**
68
  * Factory method to create a new Amazon CloudSearch client using an array of configuration options.
70
  * @param array|Collection $config Client configuration data
71
  *
72
  * @return self
73
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
74
  */
75
  public static function factory($config = array())
76
  {
82
  ))
83
  ->build();
84
  }
85
+
86
+ /**
87
+ * Create a CloudSearchDomainClient for a particular domain to do searching
88
+ * and document uploads.
89
+ *
90
+ * @param string $domainName Name of the domain for which to create a domain client.
91
+ * @param array $config Config options for the CloudSearchDomainClient
92
+ *
93
+ * @return CloudSearchDomainClient
94
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
95
+ */
96
+ public function getDomainClient($domainName, array $config = array())
97
+ {
98
+ // Determine the Domain client's base_url
99
+ $config['base_url'] = $this->describeDomains(array(
100
+ 'DomainNames' => array($domainName)
101
+ ))->getPath('DomainStatusList/0/SearchService/Endpoint');
102
+
103
+ return CloudSearchDomainClient::factory($config);
104
+ }
105
  }
vendor/aws/Aws/CloudSearch/Enum/IndexFieldType.php CHANGED
@@ -24,6 +24,15 @@ use Aws\Common\Enum;
24
  class IndexFieldType extends Enum
25
  {
26
  const UINT = 'uint';
 
 
27
  const LITERAL = 'literal';
28
  const TEXT = 'text';
 
 
 
 
 
 
 
29
  }
24
  class IndexFieldType extends Enum
25
  {
26
  const UINT = 'uint';
27
+ const INT = 'int';
28
+ const DOUBLE = 'double';
29
  const LITERAL = 'literal';
30
  const TEXT = 'text';
31
+ const DATE = 'date';
32
+ const LATLON = 'latlon';
33
+ const INT_ARRAY = 'int-array';
34
+ const DOUBLE_ARRAY = 'double-array';
35
+ const LITERAL_ARRAY = 'literal-array';
36
+ const TEXT_ARRAY = 'text-array';
37
+ const DATE_ARRAY = 'date-array';
38
  }
vendor/aws/Aws/CloudSearch/Enum/OptionState.php CHANGED
@@ -26,4 +26,5 @@ class OptionState extends Enum
26
  const REQUIRES_INDEX_DOCUMENTS = 'RequiresIndexDocuments';
27
  const PROCESSING = 'Processing';
28
  const ACTIVE = 'Active';
 
29
  }
26
  const REQUIRES_INDEX_DOCUMENTS = 'RequiresIndexDocuments';
27
  const PROCESSING = 'Processing';
28
  const ACTIVE = 'Active';
29
+ const FAILED_TO_VALIDATE = 'FailedToValidate';
30
  }
vendor/aws/Aws/CloudSearch/Enum/SearchInstanceType.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Enum/SourceDataFunction.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Exception/BaseException.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Exception/CloudSearchException.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Exception/InternalException.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Exception/InvalidTypeException.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Exception/LimitExceededException.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Exception/ResourceNotFoundException.php CHANGED
File without changes
vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php CHANGED
@@ -20,7 +20,7 @@ return array (
20
  'serviceFullName' => 'Amazon CloudSearch',
21
  'serviceType' => 'query',
22
  'resultWrapped' => true,
23
- 'signatureVersion' => 'v2',
24
  'namespace' => 'CloudSearch',
25
  'regions' => array(
26
  'us-east-1' => array(
@@ -84,10 +84,6 @@ return array (
84
  'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
85
  'class' => 'InternalException',
86
  ),
87
- array(
88
- 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
89
- 'class' => 'InternalException',
90
- ),
91
  array(
92
  'reason' => 'The request was rejected because a resource limit has already been met.',
93
  'class' => 'LimitExceededException',
@@ -132,11 +128,6 @@ return array (
132
  'IndexFieldType' => array(
133
  'required' => true,
134
  'type' => 'string',
135
- 'enum' => array(
136
- 'uint',
137
- 'literal',
138
- 'text',
139
- ),
140
  ),
141
  'UIntOptions' => array(
142
  'type' => 'object',
@@ -199,11 +190,6 @@ return array (
199
  'SourceDataFunction' => array(
200
  'required' => true,
201
  'type' => 'string',
202
- 'enum' => array(
203
- 'Copy',
204
- 'TrimTitle',
205
- 'Map',
206
- ),
207
  ),
208
  'SourceDataCopy' => array(
209
  'type' => 'object',
@@ -256,6 +242,7 @@ return array (
256
  ),
257
  'Cases' => array(
258
  'type' => 'object',
 
259
  'additionalProperties' => array(
260
  'type' => 'string',
261
  'maxLength' => 1024,
@@ -2346,16 +2333,14 @@ return array (
2346
  ),
2347
  ),
2348
  'iterators' => array(
2349
- 'operations' => array(
2350
- 'DescribeDomains' => array(
2351
- 'result_key' => 'DomainStatusList',
2352
- ),
2353
- 'DescribeIndexFields' => array(
2354
- 'result_key' => 'IndexFields',
2355
- ),
2356
- 'DescribeRankExpressions' => array(
2357
- 'result_key' => 'RankExpressions',
2358
- ),
2359
  ),
2360
  ),
2361
  );
20
  'serviceFullName' => 'Amazon CloudSearch',
21
  'serviceType' => 'query',
22
  'resultWrapped' => true,
23
+ 'signatureVersion' => 'v4',
24
  'namespace' => 'CloudSearch',
25
  'regions' => array(
26
  'us-east-1' => array(
84
  'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
85
  'class' => 'InternalException',
86
  ),
 
 
 
 
87
  array(
88
  'reason' => 'The request was rejected because a resource limit has already been met.',
89
  'class' => 'LimitExceededException',
128
  'IndexFieldType' => array(
129
  'required' => true,
130
  'type' => 'string',
 
 
 
 
 
131
  ),
132
  'UIntOptions' => array(
133
  'type' => 'object',
190
  'SourceDataFunction' => array(
191
  'required' => true,
192
  'type' => 'string',
 
 
 
 
 
193
  ),
194
  'SourceDataCopy' => array(
195
  'type' => 'object',
242
  ),
243
  'Cases' => array(
244
  'type' => 'object',
245
+ 'sentAs' => 'Cases.entry',
246
  'additionalProperties' => array(
247
  'type' => 'string',
248
  'maxLength' => 1024,
2333
  ),
2334
  ),
2335
  'iterators' => array(
2336
+ 'DescribeDomains' => array(
2337
+ 'result_key' => 'DomainStatusList',
2338
+ ),
2339
+ 'DescribeIndexFields' => array(
2340
+ 'result_key' => 'IndexFields',
2341
+ ),
2342
+ 'DescribeRankExpressions' => array(
2343
+ 'result_key' => 'RankExpressions',
 
 
2344
  ),
2345
  ),
2346
  );
vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php ADDED
@@ -0,0 +1,3452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ return array (
18
+ 'apiVersion' => '2013-01-01',
19
+ 'endpointPrefix' => 'cloudsearch',
20
+ 'serviceFullName' => 'Amazon CloudSearch',
21
+ 'serviceType' => 'query',
22
+ 'resultWrapped' => true,
23
+ 'signatureVersion' => 'v4',
24
+ 'namespace' => 'CloudSearch',
25
+ 'regions' => array(
26
+ 'us-east-1' => array(
27
+ 'http' => false,
28
+ 'https' => true,
29
+ 'hostname' => 'cloudsearch.us-east-1.amazonaws.com',
30
+ ),
31
+ 'us-west-1' => array(
32
+ 'http' => false,
33
+ 'https' => true,
34
+ 'hostname' => 'cloudsearch.us-west-1.amazonaws.com',
35
+ ),
36
+ 'us-west-2' => array(
37
+ 'http' => false,
38
+ 'https' => true,
39
+ 'hostname' => 'cloudsearch.us-west-2.amazonaws.com',
40
+ ),
41
+ 'eu-west-1' => array(
42
+ 'http' => false,
43
+ 'https' => true,
44
+ 'hostname' => 'cloudsearch.eu-west-1.amazonaws.com',
45
+ ),
46
+ 'ap-northeast-1' => array(
47
+ 'http' => false,
48
+ 'https' => true,
49
+ 'hostname' => 'cloudsearch.ap-northeast-1.amazonaws.com',
50
+ ),
51
+ 'ap-southeast-1' => array(
52
+ 'http' => false,
53
+ 'https' => true,
54
+ 'hostname' => 'cloudsearch.ap-southeast-1.amazonaws.com',
55
+ ),
56
+ 'ap-southeast-2' => array(
57
+ 'http' => false,
58
+ 'https' => true,
59
+ 'hostname' => 'cloudsearch.ap-southeast-2.amazonaws.com',
60
+ ),
61
+ 'sa-east-1' => array(
62
+ 'http' => false,
63
+ 'https' => true,
64
+ 'hostname' => 'cloudsearch.sa-east-1.amazonaws.com',
65
+ ),
66
+ ),
67
+ 'operations' => array(
68
+ 'BuildSuggesters' => array(
69
+ 'httpMethod' => 'POST',
70
+ 'uri' => '/',
71
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
72
+ 'responseClass' => 'BuildSuggestersResponse',
73
+ 'responseType' => 'model',
74
+ 'parameters' => array(
75
+ 'Action' => array(
76
+ 'static' => true,
77
+ 'location' => 'aws.query',
78
+ 'default' => 'BuildSuggesters',
79
+ ),
80
+ 'Version' => array(
81
+ 'static' => true,
82
+ 'location' => 'aws.query',
83
+ 'default' => '2013-01-01',
84
+ ),
85
+ 'DomainName' => array(
86
+ 'required' => true,
87
+ 'type' => 'string',
88
+ 'location' => 'aws.query',
89
+ 'minLength' => 3,
90
+ 'maxLength' => 28,
91
+ ),
92
+ ),
93
+ 'errorResponses' => array(
94
+ array(
95
+ 'reason' => 'An error occurred while processing the request.',
96
+ 'class' => 'BaseException',
97
+ ),
98
+ array(
99
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
100
+ 'class' => 'InternalException',
101
+ ),
102
+ array(
103
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
104
+ 'class' => 'ResourceNotFoundException',
105
+ ),
106
+ ),
107
+ ),
108
+ 'CreateDomain' => array(
109
+ 'httpMethod' => 'POST',
110
+ 'uri' => '/',
111
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
112
+ 'responseClass' => 'CreateDomainResponse',
113
+ 'responseType' => 'model',
114
+ 'parameters' => array(
115
+ 'Action' => array(
116
+ 'static' => true,
117
+ 'location' => 'aws.query',
118
+ 'default' => 'CreateDomain',
119
+ ),
120
+ 'Version' => array(
121
+ 'static' => true,
122
+ 'location' => 'aws.query',
123
+ 'default' => '2013-01-01',
124
+ ),
125
+ 'DomainName' => array(
126
+ 'required' => true,
127
+ 'type' => 'string',
128
+ 'location' => 'aws.query',
129
+ 'minLength' => 3,
130
+ 'maxLength' => 28,
131
+ ),
132
+ ),
133
+ 'errorResponses' => array(
134
+ array(
135
+ 'reason' => 'An error occurred while processing the request.',
136
+ 'class' => 'BaseException',
137
+ ),
138
+ array(
139
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
140
+ 'class' => 'InternalException',
141
+ ),
142
+ array(
143
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
144
+ 'class' => 'LimitExceededException',
145
+ ),
146
+ ),
147
+ ),
148
+ 'DefineAnalysisScheme' => array(
149
+ 'httpMethod' => 'POST',
150
+ 'uri' => '/',
151
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
152
+ 'responseClass' => 'DefineAnalysisSchemeResponse',
153
+ 'responseType' => 'model',
154
+ 'parameters' => array(
155
+ 'Action' => array(
156
+ 'static' => true,
157
+ 'location' => 'aws.query',
158
+ 'default' => 'DefineAnalysisScheme',
159
+ ),
160
+ 'Version' => array(
161
+ 'static' => true,
162
+ 'location' => 'aws.query',
163
+ 'default' => '2013-01-01',
164
+ ),
165
+ 'DomainName' => array(
166
+ 'required' => true,
167
+ 'type' => 'string',
168
+ 'location' => 'aws.query',
169
+ 'minLength' => 3,
170
+ 'maxLength' => 28,
171
+ ),
172
+ 'AnalysisScheme' => array(
173
+ 'required' => true,
174
+ 'type' => 'object',
175
+ 'location' => 'aws.query',
176
+ 'properties' => array(
177
+ 'AnalysisSchemeName' => array(
178
+ 'required' => true,
179
+ 'type' => 'string',
180
+ 'minLength' => 1,
181
+ 'maxLength' => 64,
182
+ ),
183
+ 'AnalysisSchemeLanguage' => array(
184
+ 'required' => true,
185
+ 'type' => 'string',
186
+ ),
187
+ 'AnalysisOptions' => array(
188
+ 'type' => 'object',
189
+ 'properties' => array(
190
+ 'Synonyms' => array(
191
+ 'type' => 'string',
192
+ ),
193
+ 'Stopwords' => array(
194
+ 'type' => 'string',
195
+ ),
196
+ 'StemmingDictionary' => array(
197
+ 'type' => 'string',
198
+ ),
199
+ 'AlgorithmicStemming' => array(
200
+ 'type' => 'string',
201
+ ),
202
+ ),
203
+ ),
204
+ ),
205
+ ),
206
+ ),
207
+ 'errorResponses' => array(
208
+ array(
209
+ 'reason' => 'An error occurred while processing the request.',
210
+ 'class' => 'BaseException',
211
+ ),
212
+ array(
213
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
214
+ 'class' => 'InternalException',
215
+ ),
216
+ array(
217
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
218
+ 'class' => 'LimitExceededException',
219
+ ),
220
+ array(
221
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
222
+ 'class' => 'InvalidTypeException',
223
+ ),
224
+ array(
225
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
226
+ 'class' => 'ResourceNotFoundException',
227
+ ),
228
+ ),
229
+ ),
230
+ 'DefineExpression' => array(
231
+ 'httpMethod' => 'POST',
232
+ 'uri' => '/',
233
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
234
+ 'responseClass' => 'DefineExpressionResponse',
235
+ 'responseType' => 'model',
236
+ 'parameters' => array(
237
+ 'Action' => array(
238
+ 'static' => true,
239
+ 'location' => 'aws.query',
240
+ 'default' => 'DefineExpression',
241
+ ),
242
+ 'Version' => array(
243
+ 'static' => true,
244
+ 'location' => 'aws.query',
245
+ 'default' => '2013-01-01',
246
+ ),
247
+ 'DomainName' => array(
248
+ 'required' => true,
249
+ 'type' => 'string',
250
+ 'location' => 'aws.query',
251
+ 'minLength' => 3,
252
+ 'maxLength' => 28,
253
+ ),
254
+ 'Expression' => array(
255
+ 'required' => true,
256
+ 'type' => 'object',
257
+ 'location' => 'aws.query',
258
+ 'properties' => array(
259
+ 'ExpressionName' => array(
260
+ 'required' => true,
261
+ 'type' => 'string',
262
+ 'minLength' => 1,
263
+ 'maxLength' => 64,
264
+ ),
265
+ 'ExpressionValue' => array(
266
+ 'required' => true,
267
+ 'type' => 'string',
268
+ 'minLength' => 1,
269
+ 'maxLength' => 10240,
270
+ ),
271
+ ),
272
+ ),
273
+ ),
274
+ 'errorResponses' => array(
275
+ array(
276
+ 'reason' => 'An error occurred while processing the request.',
277
+ 'class' => 'BaseException',
278
+ ),
279
+ array(
280
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
281
+ 'class' => 'InternalException',
282
+ ),
283
+ array(
284
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
285
+ 'class' => 'LimitExceededException',
286
+ ),
287
+ array(
288
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
289
+ 'class' => 'InvalidTypeException',
290
+ ),
291
+ array(
292
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
293
+ 'class' => 'ResourceNotFoundException',
294
+ ),
295
+ ),
296
+ ),
297
+ 'DefineIndexField' => array(
298
+ 'httpMethod' => 'POST',
299
+ 'uri' => '/',
300
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
301
+ 'responseClass' => 'DefineIndexFieldResponse',
302
+ 'responseType' => 'model',
303
+ 'parameters' => array(
304
+ 'Action' => array(
305
+ 'static' => true,
306
+ 'location' => 'aws.query',
307
+ 'default' => 'DefineIndexField',
308
+ ),
309
+ 'Version' => array(
310
+ 'static' => true,
311
+ 'location' => 'aws.query',
312
+ 'default' => '2013-01-01',
313
+ ),
314
+ 'DomainName' => array(
315
+ 'required' => true,
316
+ 'type' => 'string',
317
+ 'location' => 'aws.query',
318
+ 'minLength' => 3,
319
+ 'maxLength' => 28,
320
+ ),
321
+ 'IndexField' => array(
322
+ 'required' => true,
323
+ 'type' => 'object',
324
+ 'location' => 'aws.query',
325
+ 'properties' => array(
326
+ 'IndexFieldName' => array(
327
+ 'required' => true,
328
+ 'type' => 'string',
329
+ 'minLength' => 1,
330
+ 'maxLength' => 64,
331
+ ),
332
+ 'IndexFieldType' => array(
333
+ 'required' => true,
334
+ 'type' => 'string',
335
+ ),
336
+ 'IntOptions' => array(
337
+ 'type' => 'object',
338
+ 'properties' => array(
339
+ 'DefaultValue' => array(
340
+ 'type' => 'numeric',
341
+ ),
342
+ 'SourceField' => array(
343
+ 'type' => 'string',
344
+ 'minLength' => 1,
345
+ 'maxLength' => 64,
346
+ ),
347
+ 'FacetEnabled' => array(
348
+ 'type' => 'boolean',
349
+ 'format' => 'boolean-string',
350
+ ),
351
+ 'SearchEnabled' => array(
352
+ 'type' => 'boolean',
353
+ 'format' => 'boolean-string',
354
+ ),
355
+ 'ReturnEnabled' => array(
356
+ 'type' => 'boolean',
357
+ 'format' => 'boolean-string',
358
+ ),
359
+ 'SortEnabled' => array(
360
+ 'type' => 'boolean',
361
+ 'format' => 'boolean-string',
362
+ ),
363
+ ),
364
+ ),
365
+ 'DoubleOptions' => array(
366
+ 'type' => 'object',
367
+ 'properties' => array(
368
+ 'DefaultValue' => array(
369
+ 'type' => 'numeric',
370
+ ),
371
+ 'SourceField' => array(
372
+ 'type' => 'string',
373
+ 'minLength' => 1,
374
+ 'maxLength' => 64,
375
+ ),
376
+ 'FacetEnabled' => array(
377
+ 'type' => 'boolean',
378
+ 'format' => 'boolean-string',
379
+ ),
380
+ 'SearchEnabled' => array(
381
+ 'type' => 'boolean',
382
+ 'format' => 'boolean-string',
383
+ ),
384
+ 'ReturnEnabled' => array(
385
+ 'type' => 'boolean',
386
+ 'format' => 'boolean-string',
387
+ ),
388
+ 'SortEnabled' => array(
389
+ 'type' => 'boolean',
390
+ 'format' => 'boolean-string',
391
+ ),
392
+ ),
393
+ ),
394
+ 'LiteralOptions' => array(
395
+ 'type' => 'object',
396
+ 'properties' => array(
397
+ 'DefaultValue' => array(
398
+ 'type' => 'string',
399
+ 'maxLength' => 1024,
400
+ ),
401
+ 'SourceField' => array(
402
+ 'type' => 'string',
403
+ 'minLength' => 1,
404
+ 'maxLength' => 64,
405
+ ),
406
+ 'FacetEnabled' => array(
407
+ 'type' => 'boolean',
408
+ 'format' => 'boolean-string',
409
+ ),
410
+ 'SearchEnabled' => array(
411
+ 'type' => 'boolean',
412
+ 'format' => 'boolean-string',
413
+ ),
414
+ 'ReturnEnabled' => array(
415
+ 'type' => 'boolean',
416
+ 'format' => 'boolean-string',
417
+ ),
418
+ 'SortEnabled' => array(
419
+ 'type' => 'boolean',
420
+ 'format' => 'boolean-string',
421
+ ),
422
+ ),
423
+ ),
424
+ 'TextOptions' => array(
425
+ 'type' => 'object',
426
+ 'properties' => array(
427
+ 'DefaultValue' => array(
428
+ 'type' => 'string',
429
+ 'maxLength' => 1024,
430
+ ),
431
+ 'SourceField' => array(
432
+ 'type' => 'string',
433
+ 'minLength' => 1,
434
+ 'maxLength' => 64,
435
+ ),
436
+ 'ReturnEnabled' => array(
437
+ 'type' => 'boolean',
438
+ 'format' => 'boolean-string',
439
+ ),
440
+ 'SortEnabled' => array(
441
+ 'type' => 'boolean',
442
+ 'format' => 'boolean-string',
443
+ ),
444
+ 'HighlightEnabled' => array(
445
+ 'type' => 'boolean',
446
+ 'format' => 'boolean-string',
447
+ ),
448
+ 'AnalysisScheme' => array(
449
+ 'type' => 'string',
450
+ ),
451
+ ),
452
+ ),
453
+ 'DateOptions' => array(
454
+ 'type' => 'object',
455
+ 'properties' => array(
456
+ 'DefaultValue' => array(
457
+ 'type' => 'string',
458
+ 'maxLength' => 1024,
459
+ ),
460
+ 'SourceField' => array(
461
+ 'type' => 'string',
462
+ 'minLength' => 1,
463
+ 'maxLength' => 64,
464
+ ),
465
+ 'FacetEnabled' => array(
466
+ 'type' => 'boolean',
467
+ 'format' => 'boolean-string',
468
+ ),
469
+ 'SearchEnabled' => array(
470
+ 'type' => 'boolean',
471
+ 'format' => 'boolean-string',
472
+ ),
473
+ 'ReturnEnabled' => array(
474
+ 'type' => 'boolean',
475
+ 'format' => 'boolean-string',
476
+ ),
477
+ 'SortEnabled' => array(
478
+ 'type' => 'boolean',
479
+ 'format' => 'boolean-string',
480
+ ),
481
+ ),
482
+ ),
483
+ 'LatLonOptions' => array(
484
+ 'type' => 'object',
485
+ 'properties' => array(
486
+ 'DefaultValue' => array(
487
+ 'type' => 'string',
488
+ 'maxLength' => 1024,
489
+ ),
490
+ 'SourceField' => array(
491
+ 'type' => 'string',
492
+ 'minLength' => 1,
493
+ 'maxLength' => 64,
494
+ ),
495
+ 'FacetEnabled' => array(
496
+ 'type' => 'boolean',
497
+ 'format' => 'boolean-string',
498
+ ),
499
+ 'SearchEnabled' => array(
500
+ 'type' => 'boolean',
501
+ 'format' => 'boolean-string',
502
+ ),
503
+ 'ReturnEnabled' => array(
504
+ 'type' => 'boolean',
505
+ 'format' => 'boolean-string',
506
+ ),
507
+ 'SortEnabled' => array(
508
+ 'type' => 'boolean',
509
+ 'format' => 'boolean-string',
510
+ ),
511
+ ),
512
+ ),
513
+ 'IntArrayOptions' => array(
514
+ 'type' => 'object',
515
+ 'properties' => array(
516
+ 'DefaultValue' => array(
517
+ 'type' => 'numeric',
518
+ ),
519
+ 'SourceFields' => array(
520
+ 'type' => 'string',
521
+ ),
522
+ 'FacetEnabled' => array(
523
+ 'type' => 'boolean',
524
+ 'format' => 'boolean-string',
525
+ ),
526
+ 'SearchEnabled' => array(
527
+ 'type' => 'boolean',
528
+ 'format' => 'boolean-string',
529
+ ),
530
+ 'ReturnEnabled' => array(
531
+ 'type' => 'boolean',
532
+ 'format' => 'boolean-string',
533
+ ),
534
+ ),
535
+ ),
536
+ 'DoubleArrayOptions' => array(
537
+ 'type' => 'object',
538
+ 'properties' => array(
539
+ 'DefaultValue' => array(
540
+ 'type' => 'numeric',
541
+ ),
542
+ 'SourceFields' => array(
543
+ 'type' => 'string',
544
+ ),
545
+ 'FacetEnabled' => array(
546
+ 'type' => 'boolean',
547
+ 'format' => 'boolean-string',
548
+ ),
549
+ 'SearchEnabled' => array(
550
+ 'type' => 'boolean',
551
+ 'format' => 'boolean-string',
552
+ ),
553
+ 'ReturnEnabled' => array(
554
+ 'type' => 'boolean',
555
+ 'format' => 'boolean-string',
556
+ ),
557
+ ),
558
+ ),
559
+ 'LiteralArrayOptions' => array(
560
+ 'type' => 'object',
561
+ 'properties' => array(
562
+ 'DefaultValue' => array(
563
+ 'type' => 'string',
564
+ 'maxLength' => 1024,
565
+ ),
566
+ 'SourceFields' => array(
567
+ 'type' => 'string',
568
+ ),
569
+ 'FacetEnabled' => array(
570
+ 'type' => 'boolean',
571
+ 'format' => 'boolean-string',
572
+ ),
573
+ 'SearchEnabled' => array(
574
+ 'type' => 'boolean',
575
+ 'format' => 'boolean-string',
576
+ ),
577
+ 'ReturnEnabled' => array(
578
+ 'type' => 'boolean',
579
+ 'format' => 'boolean-string',
580
+ ),
581
+ ),
582
+ ),
583
+ 'TextArrayOptions' => array(
584
+ 'type' => 'object',
585
+ 'properties' => array(
586
+ 'DefaultValue' => array(
587
+ 'type' => 'string',
588
+ 'maxLength' => 1024,
589
+ ),
590
+ 'SourceFields' => array(
591
+ 'type' => 'string',
592
+ ),
593
+ 'ReturnEnabled' => array(
594
+ 'type' => 'boolean',
595
+ 'format' => 'boolean-string',
596
+ ),
597
+ 'HighlightEnabled' => array(
598
+ 'type' => 'boolean',
599
+ 'format' => 'boolean-string',
600
+ ),
601
+ 'AnalysisScheme' => array(
602
+ 'type' => 'string',
603
+ ),
604
+ ),
605
+ ),
606
+ 'DateArrayOptions' => array(
607
+ 'type' => 'object',
608
+ 'properties' => array(
609
+ 'DefaultValue' => array(
610
+ 'type' => 'string',
611
+ 'maxLength' => 1024,
612
+ ),
613
+ 'SourceFields' => array(
614
+ 'type' => 'string',
615
+ ),
616
+ 'FacetEnabled' => array(
617
+ 'type' => 'boolean',
618
+ 'format' => 'boolean-string',
619
+ ),
620
+ 'SearchEnabled' => array(
621
+ 'type' => 'boolean',
622
+ 'format' => 'boolean-string',
623
+ ),
624
+ 'ReturnEnabled' => array(
625
+ 'type' => 'boolean',
626
+ 'format' => 'boolean-string',
627
+ ),
628
+ ),
629
+ ),
630
+ ),
631
+ ),
632
+ ),
633
+ 'errorResponses' => array(
634
+ array(
635
+ 'reason' => 'An error occurred while processing the request.',
636
+ 'class' => 'BaseException',
637
+ ),
638
+ array(
639
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
640
+ 'class' => 'InternalException',
641
+ ),
642
+ array(
643
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
644
+ 'class' => 'LimitExceededException',
645
+ ),
646
+ array(
647
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
648
+ 'class' => 'InvalidTypeException',
649
+ ),
650
+ array(
651
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
652
+ 'class' => 'ResourceNotFoundException',
653
+ ),
654
+ ),
655
+ ),
656
+ 'DefineSuggester' => array(
657
+ 'httpMethod' => 'POST',
658
+ 'uri' => '/',
659
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
660
+ 'responseClass' => 'DefineSuggesterResponse',
661
+ 'responseType' => 'model',
662
+ 'parameters' => array(
663
+ 'Action' => array(
664
+ 'static' => true,
665
+ 'location' => 'aws.query',
666
+ 'default' => 'DefineSuggester',
667
+ ),
668
+ 'Version' => array(
669
+ 'static' => true,
670
+ 'location' => 'aws.query',
671
+ 'default' => '2013-01-01',
672
+ ),
673
+ 'DomainName' => array(
674
+ 'required' => true,
675
+ 'type' => 'string',
676
+ 'location' => 'aws.query',
677
+ 'minLength' => 3,
678
+ 'maxLength' => 28,
679
+ ),
680
+ 'Suggester' => array(
681
+ 'required' => true,
682
+ 'type' => 'object',
683
+ 'location' => 'aws.query',
684
+ 'properties' => array(
685
+ 'SuggesterName' => array(
686
+ 'required' => true,
687
+ 'type' => 'string',
688
+ 'minLength' => 1,
689
+ 'maxLength' => 64,
690
+ ),
691
+ 'DocumentSuggesterOptions' => array(
692
+ 'required' => true,
693
+ 'type' => 'object',
694
+ 'properties' => array(
695
+ 'SourceField' => array(
696
+ 'required' => true,
697
+ 'type' => 'string',
698
+ 'minLength' => 1,
699
+ 'maxLength' => 64,
700
+ ),
701
+ 'FuzzyMatching' => array(
702
+ 'type' => 'string',
703
+ ),
704
+ 'SortExpression' => array(
705
+ 'type' => 'string',
706
+ ),
707
+ ),
708
+ ),
709
+ ),
710
+ ),
711
+ ),
712
+ 'errorResponses' => array(
713
+ array(
714
+ 'reason' => 'An error occurred while processing the request.',
715
+ 'class' => 'BaseException',
716
+ ),
717
+ array(
718
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
719
+ 'class' => 'InternalException',
720
+ ),
721
+ array(
722
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
723
+ 'class' => 'LimitExceededException',
724
+ ),
725
+ array(
726
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
727
+ 'class' => 'InvalidTypeException',
728
+ ),
729
+ array(
730
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
731
+ 'class' => 'ResourceNotFoundException',
732
+ ),
733
+ ),
734
+ ),
735
+ 'DeleteAnalysisScheme' => array(
736
+ 'httpMethod' => 'POST',
737
+ 'uri' => '/',
738
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
739
+ 'responseClass' => 'DeleteAnalysisSchemeResponse',
740
+ 'responseType' => 'model',
741
+ 'parameters' => array(
742
+ 'Action' => array(
743
+ 'static' => true,
744
+ 'location' => 'aws.query',
745
+ 'default' => 'DeleteAnalysisScheme',
746
+ ),
747
+ 'Version' => array(
748
+ 'static' => true,
749
+ 'location' => 'aws.query',
750
+ 'default' => '2013-01-01',
751
+ ),
752
+ 'DomainName' => array(
753
+ 'required' => true,
754
+ 'type' => 'string',
755
+ 'location' => 'aws.query',
756
+ 'minLength' => 3,
757
+ 'maxLength' => 28,
758
+ ),
759
+ 'AnalysisSchemeName' => array(
760
+ 'required' => true,
761
+ 'type' => 'string',
762
+ 'location' => 'aws.query',
763
+ 'minLength' => 1,
764
+ 'maxLength' => 64,
765
+ ),
766
+ ),
767
+ 'errorResponses' => array(
768
+ array(
769
+ 'reason' => 'An error occurred while processing the request.',
770
+ 'class' => 'BaseException',
771
+ ),
772
+ array(
773
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
774
+ 'class' => 'InternalException',
775
+ ),
776
+ array(
777
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
778
+ 'class' => 'InvalidTypeException',
779
+ ),
780
+ array(
781
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
782
+ 'class' => 'ResourceNotFoundException',
783
+ ),
784
+ ),
785
+ ),
786
+ 'DeleteDomain' => array(
787
+ 'httpMethod' => 'POST',
788
+ 'uri' => '/',
789
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
790
+ 'responseClass' => 'DeleteDomainResponse',
791
+ 'responseType' => 'model',
792
+ 'parameters' => array(
793
+ 'Action' => array(
794
+ 'static' => true,
795
+ 'location' => 'aws.query',
796
+ 'default' => 'DeleteDomain',
797
+ ),
798
+ 'Version' => array(
799
+ 'static' => true,
800
+ 'location' => 'aws.query',
801
+ 'default' => '2013-01-01',
802
+ ),
803
+ 'DomainName' => array(
804
+ 'required' => true,
805
+ 'type' => 'string',
806
+ 'location' => 'aws.query',
807
+ 'minLength' => 3,
808
+ 'maxLength' => 28,
809
+ ),
810
+ ),
811
+ 'errorResponses' => array(
812
+ array(
813
+ 'reason' => 'An error occurred while processing the request.',
814
+ 'class' => 'BaseException',
815
+ ),
816
+ array(
817
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
818
+ 'class' => 'InternalException',
819
+ ),
820
+ ),
821
+ ),
822
+ 'DeleteExpression' => array(
823
+ 'httpMethod' => 'POST',
824
+ 'uri' => '/',
825
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
826
+ 'responseClass' => 'DeleteExpressionResponse',
827
+ 'responseType' => 'model',
828
+ 'parameters' => array(
829
+ 'Action' => array(
830
+ 'static' => true,
831
+ 'location' => 'aws.query',
832
+ 'default' => 'DeleteExpression',
833
+ ),
834
+ 'Version' => array(
835
+ 'static' => true,
836
+ 'location' => 'aws.query',
837
+ 'default' => '2013-01-01',
838
+ ),
839
+ 'DomainName' => array(
840
+ 'required' => true,
841
+ 'type' => 'string',
842
+ 'location' => 'aws.query',
843
+ 'minLength' => 3,
844
+ 'maxLength' => 28,
845
+ ),
846
+ 'ExpressionName' => array(
847
+ 'required' => true,
848
+ 'type' => 'string',
849
+ 'location' => 'aws.query',
850
+ 'minLength' => 1,
851
+ 'maxLength' => 64,
852
+ ),
853
+ ),
854
+ 'errorResponses' => array(
855
+ array(
856
+ 'reason' => 'An error occurred while processing the request.',
857
+ 'class' => 'BaseException',
858
+ ),
859
+ array(
860
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
861
+ 'class' => 'InternalException',
862
+ ),
863
+ array(
864
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
865
+ 'class' => 'InvalidTypeException',
866
+ ),
867
+ array(
868
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
869
+ 'class' => 'ResourceNotFoundException',
870
+ ),
871
+ ),
872
+ ),
873
+ 'DeleteIndexField' => array(
874
+ 'httpMethod' => 'POST',
875
+ 'uri' => '/',
876
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
877
+ 'responseClass' => 'DeleteIndexFieldResponse',
878
+ 'responseType' => 'model',
879
+ 'parameters' => array(
880
+ 'Action' => array(
881
+ 'static' => true,
882
+ 'location' => 'aws.query',
883
+ 'default' => 'DeleteIndexField',
884
+ ),
885
+ 'Version' => array(
886
+ 'static' => true,
887
+ 'location' => 'aws.query',
888
+ 'default' => '2013-01-01',
889
+ ),
890
+ 'DomainName' => array(
891
+ 'required' => true,
892
+ 'type' => 'string',
893
+ 'location' => 'aws.query',
894
+ 'minLength' => 3,
895
+ 'maxLength' => 28,
896
+ ),
897
+ 'IndexFieldName' => array(
898
+ 'required' => true,
899
+ 'type' => 'string',
900
+ 'location' => 'aws.query',
901
+ 'minLength' => 1,
902
+ 'maxLength' => 64,
903
+ ),
904
+ ),
905
+ 'errorResponses' => array(
906
+ array(
907
+ 'reason' => 'An error occurred while processing the request.',
908
+ 'class' => 'BaseException',
909
+ ),
910
+ array(
911
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
912
+ 'class' => 'InternalException',
913
+ ),
914
+ array(
915
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
916
+ 'class' => 'InvalidTypeException',
917
+ ),
918
+ array(
919
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
920
+ 'class' => 'ResourceNotFoundException',
921
+ ),
922
+ ),
923
+ ),
924
+ 'DeleteSuggester' => array(
925
+ 'httpMethod' => 'POST',
926
+ 'uri' => '/',
927
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
928
+ 'responseClass' => 'DeleteSuggesterResponse',
929
+ 'responseType' => 'model',
930
+ 'parameters' => array(
931
+ 'Action' => array(
932
+ 'static' => true,
933
+ 'location' => 'aws.query',
934
+ 'default' => 'DeleteSuggester',
935
+ ),
936
+ 'Version' => array(
937
+ 'static' => true,
938
+ 'location' => 'aws.query',
939
+ 'default' => '2013-01-01',
940
+ ),
941
+ 'DomainName' => array(
942
+ 'required' => true,
943
+ 'type' => 'string',
944
+ 'location' => 'aws.query',
945
+ 'minLength' => 3,
946
+ 'maxLength' => 28,
947
+ ),
948
+ 'SuggesterName' => array(
949
+ 'required' => true,
950
+ 'type' => 'string',
951
+ 'location' => 'aws.query',
952
+ 'minLength' => 1,
953
+ 'maxLength' => 64,
954
+ ),
955
+ ),
956
+ 'errorResponses' => array(
957
+ array(
958
+ 'reason' => 'An error occurred while processing the request.',
959
+ 'class' => 'BaseException',
960
+ ),
961
+ array(
962
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
963
+ 'class' => 'InternalException',
964
+ ),
965
+ array(
966
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
967
+ 'class' => 'InvalidTypeException',
968
+ ),
969
+ array(
970
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
971
+ 'class' => 'ResourceNotFoundException',
972
+ ),
973
+ ),
974
+ ),
975
+ 'DescribeAnalysisSchemes' => array(
976
+ 'httpMethod' => 'POST',
977
+ 'uri' => '/',
978
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
979
+ 'responseClass' => 'DescribeAnalysisSchemesResponse',
980
+ 'responseType' => 'model',
981
+ 'parameters' => array(
982
+ 'Action' => array(
983
+ 'static' => true,
984
+ 'location' => 'aws.query',
985
+ 'default' => 'DescribeAnalysisSchemes',
986
+ ),
987
+ 'Version' => array(
988
+ 'static' => true,
989
+ 'location' => 'aws.query',
990
+ 'default' => '2013-01-01',
991
+ ),
992
+ 'DomainName' => array(
993
+ 'required' => true,
994
+ 'type' => 'string',
995
+ 'location' => 'aws.query',
996
+ 'minLength' => 3,
997
+ 'maxLength' => 28,
998
+ ),
999
+ 'AnalysisSchemeNames' => array(
1000
+ 'type' => 'array',
1001
+ 'location' => 'aws.query',
1002
+ 'sentAs' => 'AnalysisSchemeNames.member',
1003
+ 'items' => array(
1004
+ 'name' => 'FieldName',
1005
+ 'type' => 'string',
1006
+ 'minLength' => 1,
1007
+ 'maxLength' => 64,
1008
+ ),
1009
+ ),
1010
+ 'Deployed' => array(
1011
+ 'type' => 'boolean',
1012
+ 'format' => 'boolean-string',
1013
+ 'location' => 'aws.query',
1014
+ ),
1015
+ ),
1016
+ 'errorResponses' => array(
1017
+ array(
1018
+ 'reason' => 'An error occurred while processing the request.',
1019
+ 'class' => 'BaseException',
1020
+ ),
1021
+ array(
1022
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1023
+ 'class' => 'InternalException',
1024
+ ),
1025
+ array(
1026
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1027
+ 'class' => 'ResourceNotFoundException',
1028
+ ),
1029
+ ),
1030
+ ),
1031
+ 'DescribeAvailabilityOptions' => array(
1032
+ 'httpMethod' => 'POST',
1033
+ 'uri' => '/',
1034
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1035
+ 'responseClass' => 'DescribeAvailabilityOptionsResponse',
1036
+ 'responseType' => 'model',
1037
+ 'parameters' => array(
1038
+ 'Action' => array(
1039
+ 'static' => true,
1040
+ 'location' => 'aws.query',
1041
+ 'default' => 'DescribeAvailabilityOptions',
1042
+ ),
1043
+ 'Version' => array(
1044
+ 'static' => true,
1045
+ 'location' => 'aws.query',
1046
+ 'default' => '2013-01-01',
1047
+ ),
1048
+ 'DomainName' => array(
1049
+ 'required' => true,
1050
+ 'type' => 'string',
1051
+ 'location' => 'aws.query',
1052
+ 'minLength' => 3,
1053
+ 'maxLength' => 28,
1054
+ ),
1055
+ 'Deployed' => array(
1056
+ 'type' => 'boolean',
1057
+ 'format' => 'boolean-string',
1058
+ 'location' => 'aws.query',
1059
+ ),
1060
+ ),
1061
+ 'errorResponses' => array(
1062
+ array(
1063
+ 'reason' => 'An error occurred while processing the request.',
1064
+ 'class' => 'BaseException',
1065
+ ),
1066
+ array(
1067
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1068
+ 'class' => 'InternalException',
1069
+ ),
1070
+ array(
1071
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
1072
+ 'class' => 'InvalidTypeException',
1073
+ ),
1074
+ array(
1075
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
1076
+ 'class' => 'LimitExceededException',
1077
+ ),
1078
+ array(
1079
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1080
+ 'class' => 'ResourceNotFoundException',
1081
+ ),
1082
+ array(
1083
+ 'reason' => 'The request was rejected because it attempted an operation which is not enabled.',
1084
+ 'class' => 'DisabledOperationException',
1085
+ ),
1086
+ ),
1087
+ ),
1088
+ 'DescribeDomains' => array(
1089
+ 'httpMethod' => 'POST',
1090
+ 'uri' => '/',
1091
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1092
+ 'responseClass' => 'DescribeDomainsResponse',
1093
+ 'responseType' => 'model',
1094
+ 'parameters' => array(
1095
+ 'Action' => array(
1096
+ 'static' => true,
1097
+ 'location' => 'aws.query',
1098
+ 'default' => 'DescribeDomains',
1099
+ ),
1100
+ 'Version' => array(
1101
+ 'static' => true,
1102
+ 'location' => 'aws.query',
1103
+ 'default' => '2013-01-01',
1104
+ ),
1105
+ 'DomainNames' => array(
1106
+ 'type' => 'array',
1107
+ 'location' => 'aws.query',
1108
+ 'sentAs' => 'DomainNames.member',
1109
+ 'items' => array(
1110
+ 'name' => 'DomainName',
1111
+ 'type' => 'string',
1112
+ 'minLength' => 3,
1113
+ 'maxLength' => 28,
1114
+ ),
1115
+ ),
1116
+ ),
1117
+ 'errorResponses' => array(
1118
+ array(
1119
+ 'reason' => 'An error occurred while processing the request.',
1120
+ 'class' => 'BaseException',
1121
+ ),
1122
+ array(
1123
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1124
+ 'class' => 'InternalException',
1125
+ ),
1126
+ ),
1127
+ ),
1128
+ 'DescribeExpressions' => array(
1129
+ 'httpMethod' => 'POST',
1130
+ 'uri' => '/',
1131
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1132
+ 'responseClass' => 'DescribeExpressionsResponse',
1133
+ 'responseType' => 'model',
1134
+ 'parameters' => array(
1135
+ 'Action' => array(
1136
+ 'static' => true,
1137
+ 'location' => 'aws.query',
1138
+ 'default' => 'DescribeExpressions',
1139
+ ),
1140
+ 'Version' => array(
1141
+ 'static' => true,
1142
+ 'location' => 'aws.query',
1143
+ 'default' => '2013-01-01',
1144
+ ),
1145
+ 'DomainName' => array(
1146
+ 'required' => true,
1147
+ 'type' => 'string',
1148
+ 'location' => 'aws.query',
1149
+ 'minLength' => 3,
1150
+ 'maxLength' => 28,
1151
+ ),
1152
+ 'ExpressionNames' => array(
1153
+ 'type' => 'array',
1154
+ 'location' => 'aws.query',
1155
+ 'sentAs' => 'ExpressionNames.member',
1156
+ 'items' => array(
1157
+ 'name' => 'FieldName',
1158
+ 'type' => 'string',
1159
+ 'minLength' => 1,
1160
+ 'maxLength' => 64,
1161
+ ),
1162
+ ),
1163
+ 'Deployed' => array(
1164
+ 'type' => 'boolean',
1165
+ 'format' => 'boolean-string',
1166
+ 'location' => 'aws.query',
1167
+ ),
1168
+ ),
1169
+ 'errorResponses' => array(
1170
+ array(
1171
+ 'reason' => 'An error occurred while processing the request.',
1172
+ 'class' => 'BaseException',
1173
+ ),
1174
+ array(
1175
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1176
+ 'class' => 'InternalException',
1177
+ ),
1178
+ array(
1179
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1180
+ 'class' => 'ResourceNotFoundException',
1181
+ ),
1182
+ ),
1183
+ ),
1184
+ 'DescribeIndexFields' => array(
1185
+ 'httpMethod' => 'POST',
1186
+ 'uri' => '/',
1187
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1188
+ 'responseClass' => 'DescribeIndexFieldsResponse',
1189
+ 'responseType' => 'model',
1190
+ 'parameters' => array(
1191
+ 'Action' => array(
1192
+ 'static' => true,
1193
+ 'location' => 'aws.query',
1194
+ 'default' => 'DescribeIndexFields',
1195
+ ),
1196
+ 'Version' => array(
1197
+ 'static' => true,
1198
+ 'location' => 'aws.query',
1199
+ 'default' => '2013-01-01',
1200
+ ),
1201
+ 'DomainName' => array(
1202
+ 'required' => true,
1203
+ 'type' => 'string',
1204
+ 'location' => 'aws.query',
1205
+ 'minLength' => 3,
1206
+ 'maxLength' => 28,
1207
+ ),
1208
+ 'FieldNames' => array(
1209
+ 'type' => 'array',
1210
+ 'location' => 'aws.query',
1211
+ 'sentAs' => 'FieldNames.member',
1212
+ 'items' => array(
1213
+ 'name' => 'FieldName',
1214
+ 'type' => 'string',
1215
+ 'minLength' => 1,
1216
+ 'maxLength' => 64,
1217
+ ),
1218
+ ),
1219
+ 'Deployed' => array(
1220
+ 'type' => 'boolean',
1221
+ 'format' => 'boolean-string',
1222
+ 'location' => 'aws.query',
1223
+ ),
1224
+ ),
1225
+ 'errorResponses' => array(
1226
+ array(
1227
+ 'reason' => 'An error occurred while processing the request.',
1228
+ 'class' => 'BaseException',
1229
+ ),
1230
+ array(
1231
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1232
+ 'class' => 'InternalException',
1233
+ ),
1234
+ array(
1235
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1236
+ 'class' => 'ResourceNotFoundException',
1237
+ ),
1238
+ ),
1239
+ ),
1240
+ 'DescribeScalingParameters' => array(
1241
+ 'httpMethod' => 'POST',
1242
+ 'uri' => '/',
1243
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1244
+ 'responseClass' => 'DescribeScalingParametersResponse',
1245
+ 'responseType' => 'model',
1246
+ 'parameters' => array(
1247
+ 'Action' => array(
1248
+ 'static' => true,
1249
+ 'location' => 'aws.query',
1250
+ 'default' => 'DescribeScalingParameters',
1251
+ ),
1252
+ 'Version' => array(
1253
+ 'static' => true,
1254
+ 'location' => 'aws.query',
1255
+ 'default' => '2013-01-01',
1256
+ ),
1257
+ 'DomainName' => array(
1258
+ 'required' => true,
1259
+ 'type' => 'string',
1260
+ 'location' => 'aws.query',
1261
+ 'minLength' => 3,
1262
+ 'maxLength' => 28,
1263
+ ),
1264
+ ),
1265
+ 'errorResponses' => array(
1266
+ array(
1267
+ 'reason' => 'An error occurred while processing the request.',
1268
+ 'class' => 'BaseException',
1269
+ ),
1270
+ array(
1271
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1272
+ 'class' => 'InternalException',
1273
+ ),
1274
+ array(
1275
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1276
+ 'class' => 'ResourceNotFoundException',
1277
+ ),
1278
+ ),
1279
+ ),
1280
+ 'DescribeServiceAccessPolicies' => array(
1281
+ 'httpMethod' => 'POST',
1282
+ 'uri' => '/',
1283
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1284
+ 'responseClass' => 'DescribeServiceAccessPoliciesResponse',
1285
+ 'responseType' => 'model',
1286
+ 'parameters' => array(
1287
+ 'Action' => array(
1288
+ 'static' => true,
1289
+ 'location' => 'aws.query',
1290
+ 'default' => 'DescribeServiceAccessPolicies',
1291
+ ),
1292
+ 'Version' => array(
1293
+ 'static' => true,
1294
+ 'location' => 'aws.query',
1295
+ 'default' => '2013-01-01',
1296
+ ),
1297
+ 'DomainName' => array(
1298
+ 'required' => true,
1299
+ 'type' => 'string',
1300
+ 'location' => 'aws.query',
1301
+ 'minLength' => 3,
1302
+ 'maxLength' => 28,
1303
+ ),
1304
+ 'Deployed' => array(
1305
+ 'type' => 'boolean',
1306
+ 'format' => 'boolean-string',
1307
+ 'location' => 'aws.query',
1308
+ ),
1309
+ ),
1310
+ 'errorResponses' => array(
1311
+ array(
1312
+ 'reason' => 'An error occurred while processing the request.',
1313
+ 'class' => 'BaseException',
1314
+ ),
1315
+ array(
1316
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1317
+ 'class' => 'InternalException',
1318
+ ),
1319
+ array(
1320
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1321
+ 'class' => 'ResourceNotFoundException',
1322
+ ),
1323
+ ),
1324
+ ),
1325
+ 'DescribeSuggesters' => array(
1326
+ 'httpMethod' => 'POST',
1327
+ 'uri' => '/',
1328
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1329
+ 'responseClass' => 'DescribeSuggestersResponse',
1330
+ 'responseType' => 'model',
1331
+ 'parameters' => array(
1332
+ 'Action' => array(
1333
+ 'static' => true,
1334
+ 'location' => 'aws.query',
1335
+ 'default' => 'DescribeSuggesters',
1336
+ ),
1337
+ 'Version' => array(
1338
+ 'static' => true,
1339
+ 'location' => 'aws.query',
1340
+ 'default' => '2013-01-01',
1341
+ ),
1342
+ 'DomainName' => array(
1343
+ 'required' => true,
1344
+ 'type' => 'string',
1345
+ 'location' => 'aws.query',
1346
+ 'minLength' => 3,
1347
+ 'maxLength' => 28,
1348
+ ),
1349
+ 'SuggesterNames' => array(
1350
+ 'type' => 'array',
1351
+ 'location' => 'aws.query',
1352
+ 'sentAs' => 'SuggesterNames.member',
1353
+ 'items' => array(
1354
+ 'name' => 'FieldName',
1355
+ 'type' => 'string',
1356
+ 'minLength' => 1,
1357
+ 'maxLength' => 64,
1358
+ ),
1359
+ ),
1360
+ 'Deployed' => array(
1361
+ 'type' => 'boolean',
1362
+ 'format' => 'boolean-string',
1363
+ 'location' => 'aws.query',
1364
+ ),
1365
+ ),
1366
+ 'errorResponses' => array(
1367
+ array(
1368
+ 'reason' => 'An error occurred while processing the request.',
1369
+ 'class' => 'BaseException',
1370
+ ),
1371
+ array(
1372
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1373
+ 'class' => 'InternalException',
1374
+ ),
1375
+ array(
1376
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1377
+ 'class' => 'ResourceNotFoundException',
1378
+ ),
1379
+ ),
1380
+ ),
1381
+ 'IndexDocuments' => array(
1382
+ 'httpMethod' => 'POST',
1383
+ 'uri' => '/',
1384
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1385
+ 'responseClass' => 'IndexDocumentsResponse',
1386
+ 'responseType' => 'model',
1387
+ 'parameters' => array(
1388
+ 'Action' => array(
1389
+ 'static' => true,
1390
+ 'location' => 'aws.query',
1391
+ 'default' => 'IndexDocuments',
1392
+ ),
1393
+ 'Version' => array(
1394
+ 'static' => true,
1395
+ 'location' => 'aws.query',
1396
+ 'default' => '2013-01-01',
1397
+ ),
1398
+ 'DomainName' => array(
1399
+ 'required' => true,
1400
+ 'type' => 'string',
1401
+ 'location' => 'aws.query',
1402
+ 'minLength' => 3,
1403
+ 'maxLength' => 28,
1404
+ ),
1405
+ ),
1406
+ 'errorResponses' => array(
1407
+ array(
1408
+ 'reason' => 'An error occurred while processing the request.',
1409
+ 'class' => 'BaseException',
1410
+ ),
1411
+ array(
1412
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1413
+ 'class' => 'InternalException',
1414
+ ),
1415
+ array(
1416
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1417
+ 'class' => 'ResourceNotFoundException',
1418
+ ),
1419
+ ),
1420
+ ),
1421
+ 'ListDomainNames' => array(
1422
+ 'httpMethod' => 'POST',
1423
+ 'uri' => '/',
1424
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1425
+ 'responseClass' => 'ListDomainNamesResponse',
1426
+ 'responseType' => 'model',
1427
+ 'parameters' => array(
1428
+ 'Action' => array(
1429
+ 'static' => true,
1430
+ 'location' => 'aws.query',
1431
+ 'default' => 'ListDomainNames',
1432
+ ),
1433
+ 'Version' => array(
1434
+ 'static' => true,
1435
+ 'location' => 'aws.query',
1436
+ 'default' => '2013-01-01',
1437
+ ),
1438
+ ),
1439
+ 'errorResponses' => array(
1440
+ array(
1441
+ 'reason' => 'An error occurred while processing the request.',
1442
+ 'class' => 'BaseException',
1443
+ ),
1444
+ ),
1445
+ ),
1446
+ 'UpdateAvailabilityOptions' => array(
1447
+ 'httpMethod' => 'POST',
1448
+ 'uri' => '/',
1449
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1450
+ 'responseClass' => 'UpdateAvailabilityOptionsResponse',
1451
+ 'responseType' => 'model',
1452
+ 'parameters' => array(
1453
+ 'Action' => array(
1454
+ 'static' => true,
1455
+ 'location' => 'aws.query',
1456
+ 'default' => 'UpdateAvailabilityOptions',
1457
+ ),
1458
+ 'Version' => array(
1459
+ 'static' => true,
1460
+ 'location' => 'aws.query',
1461
+ 'default' => '2013-01-01',
1462
+ ),
1463
+ 'DomainName' => array(
1464
+ 'required' => true,
1465
+ 'type' => 'string',
1466
+ 'location' => 'aws.query',
1467
+ 'minLength' => 3,
1468
+ 'maxLength' => 28,
1469
+ ),
1470
+ 'MultiAZ' => array(
1471
+ 'required' => true,
1472
+ 'type' => 'boolean',
1473
+ 'format' => 'boolean-string',
1474
+ 'location' => 'aws.query',
1475
+ ),
1476
+ ),
1477
+ 'errorResponses' => array(
1478
+ array(
1479
+ 'reason' => 'An error occurred while processing the request.',
1480
+ 'class' => 'BaseException',
1481
+ ),
1482
+ array(
1483
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1484
+ 'class' => 'InternalException',
1485
+ ),
1486
+ array(
1487
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
1488
+ 'class' => 'InvalidTypeException',
1489
+ ),
1490
+ array(
1491
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
1492
+ 'class' => 'LimitExceededException',
1493
+ ),
1494
+ array(
1495
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1496
+ 'class' => 'ResourceNotFoundException',
1497
+ ),
1498
+ array(
1499
+ 'reason' => 'The request was rejected because it attempted an operation which is not enabled.',
1500
+ 'class' => 'DisabledOperationException',
1501
+ ),
1502
+ ),
1503
+ ),
1504
+ 'UpdateScalingParameters' => array(
1505
+ 'httpMethod' => 'POST',
1506
+ 'uri' => '/',
1507
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1508
+ 'responseClass' => 'UpdateScalingParametersResponse',
1509
+ 'responseType' => 'model',
1510
+ 'parameters' => array(
1511
+ 'Action' => array(
1512
+ 'static' => true,
1513
+ 'location' => 'aws.query',
1514
+ 'default' => 'UpdateScalingParameters',
1515
+ ),
1516
+ 'Version' => array(
1517
+ 'static' => true,
1518
+ 'location' => 'aws.query',
1519
+ 'default' => '2013-01-01',
1520
+ ),
1521
+ 'DomainName' => array(
1522
+ 'required' => true,
1523
+ 'type' => 'string',
1524
+ 'location' => 'aws.query',
1525
+ 'minLength' => 3,
1526
+ 'maxLength' => 28,
1527
+ ),
1528
+ 'ScalingParameters' => array(
1529
+ 'required' => true,
1530
+ 'type' => 'object',
1531
+ 'location' => 'aws.query',
1532
+ 'properties' => array(
1533
+ 'DesiredInstanceType' => array(
1534
+ 'type' => 'string',
1535
+ ),
1536
+ 'DesiredReplicationCount' => array(
1537
+ 'type' => 'numeric',
1538
+ ),
1539
+ 'DesiredPartitionCount' => array(
1540
+ 'type' => 'numeric',
1541
+ ),
1542
+ ),
1543
+ ),
1544
+ ),
1545
+ 'errorResponses' => array(
1546
+ array(
1547
+ 'reason' => 'An error occurred while processing the request.',
1548
+ 'class' => 'BaseException',
1549
+ ),
1550
+ array(
1551
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1552
+ 'class' => 'InternalException',
1553
+ ),
1554
+ array(
1555
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
1556
+ 'class' => 'LimitExceededException',
1557
+ ),
1558
+ array(
1559
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1560
+ 'class' => 'ResourceNotFoundException',
1561
+ ),
1562
+ array(
1563
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
1564
+ 'class' => 'InvalidTypeException',
1565
+ ),
1566
+ ),
1567
+ ),
1568
+ 'UpdateServiceAccessPolicies' => array(
1569
+ 'httpMethod' => 'POST',
1570
+ 'uri' => '/',
1571
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1572
+ 'responseClass' => 'UpdateServiceAccessPoliciesResponse',
1573
+ 'responseType' => 'model',
1574
+ 'parameters' => array(
1575
+ 'Action' => array(
1576
+ 'static' => true,
1577
+ 'location' => 'aws.query',
1578
+ 'default' => 'UpdateServiceAccessPolicies',
1579
+ ),
1580
+ 'Version' => array(
1581
+ 'static' => true,
1582
+ 'location' => 'aws.query',
1583
+ 'default' => '2013-01-01',
1584
+ ),
1585
+ 'DomainName' => array(
1586
+ 'required' => true,
1587
+ 'type' => 'string',
1588
+ 'location' => 'aws.query',
1589
+ 'minLength' => 3,
1590
+ 'maxLength' => 28,
1591
+ ),
1592
+ 'AccessPolicies' => array(
1593
+ 'required' => true,
1594
+ 'type' => 'string',
1595
+ 'location' => 'aws.query',
1596
+ ),
1597
+ ),
1598
+ 'errorResponses' => array(
1599
+ array(
1600
+ 'reason' => 'An error occurred while processing the request.',
1601
+ 'class' => 'BaseException',
1602
+ ),
1603
+ array(
1604
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
1605
+ 'class' => 'InternalException',
1606
+ ),
1607
+ array(
1608
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
1609
+ 'class' => 'LimitExceededException',
1610
+ ),
1611
+ array(
1612
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
1613
+ 'class' => 'ResourceNotFoundException',
1614
+ ),
1615
+ array(
1616
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
1617
+ 'class' => 'InvalidTypeException',
1618
+ ),
1619
+ ),
1620
+ ),
1621
+ ),
1622
+ 'models' => array(
1623
+ 'BuildSuggestersResponse' => array(
1624
+ 'type' => 'object',
1625
+ 'additionalProperties' => true,
1626
+ 'properties' => array(
1627
+ 'FieldNames' => array(
1628
+ 'type' => 'array',
1629
+ 'location' => 'xml',
1630
+ 'items' => array(
1631
+ 'name' => 'FieldName',
1632
+ 'type' => 'string',
1633
+ 'sentAs' => 'member',
1634
+ ),
1635
+ ),
1636
+ ),
1637
+ ),
1638
+ 'CreateDomainResponse' => array(
1639
+ 'type' => 'object',
1640
+ 'additionalProperties' => true,
1641
+ 'properties' => array(
1642
+ 'DomainStatus' => array(
1643
+ 'type' => 'object',
1644
+ 'location' => 'xml',
1645
+ 'properties' => array(
1646
+ 'DomainId' => array(
1647
+ 'type' => 'string',
1648
+ ),
1649
+ 'DomainName' => array(
1650
+ 'type' => 'string',
1651
+ ),
1652
+ 'ARN' => array(
1653
+ 'type' => 'string',
1654
+ ),
1655
+ 'Created' => array(
1656
+ 'type' => 'boolean',
1657
+ ),
1658
+ 'Deleted' => array(
1659
+ 'type' => 'boolean',
1660
+ ),
1661
+ 'DocService' => array(
1662
+ 'type' => 'object',
1663
+ 'properties' => array(
1664
+ 'Endpoint' => array(
1665
+ 'type' => 'string',
1666
+ ),
1667
+ ),
1668
+ ),
1669
+ 'SearchService' => array(
1670
+ 'type' => 'object',
1671
+ 'properties' => array(
1672
+ 'Endpoint' => array(
1673
+ 'type' => 'string',
1674
+ ),
1675
+ ),
1676
+ ),
1677
+ 'RequiresIndexDocuments' => array(
1678
+ 'type' => 'boolean',
1679
+ ),
1680
+ 'Processing' => array(
1681
+ 'type' => 'boolean',
1682
+ ),
1683
+ 'SearchInstanceType' => array(
1684
+ 'type' => 'string',
1685
+ ),
1686
+ 'SearchPartitionCount' => array(
1687
+ 'type' => 'numeric',
1688
+ ),
1689
+ 'SearchInstanceCount' => array(
1690
+ 'type' => 'numeric',
1691
+ ),
1692
+ ),
1693
+ ),
1694
+ ),
1695
+ ),
1696
+ 'DefineAnalysisSchemeResponse' => array(
1697
+ 'type' => 'object',
1698
+ 'additionalProperties' => true,
1699
+ 'properties' => array(
1700
+ 'AnalysisScheme' => array(
1701
+ 'type' => 'object',
1702
+ 'location' => 'xml',
1703
+ 'properties' => array(
1704
+ 'Options' => array(
1705
+ 'type' => 'object',
1706
+ 'properties' => array(
1707
+ 'AnalysisSchemeName' => array(
1708
+ 'type' => 'string',
1709
+ ),
1710
+ 'AnalysisSchemeLanguage' => array(
1711
+ 'type' => 'string',
1712
+ ),
1713
+ 'AnalysisOptions' => array(
1714
+ 'type' => 'object',
1715
+ 'properties' => array(
1716
+ 'Synonyms' => array(
1717
+ 'type' => 'string',
1718
+ ),
1719
+ 'Stopwords' => array(
1720
+ 'type' => 'string',
1721
+ ),
1722
+ 'StemmingDictionary' => array(
1723
+ 'type' => 'string',
1724
+ ),
1725
+ 'AlgorithmicStemming' => array(
1726
+ 'type' => 'string',
1727
+ ),
1728
+ ),
1729
+ ),
1730
+ ),
1731
+ ),
1732
+ 'Status' => array(
1733
+ 'type' => 'object',
1734
+ 'properties' => array(
1735
+ 'CreationDate' => array(
1736
+ 'type' => 'string',
1737
+ ),
1738
+ 'UpdateDate' => array(
1739
+ 'type' => 'string',
1740
+ ),
1741
+ 'UpdateVersion' => array(
1742
+ 'type' => 'numeric',
1743
+ ),
1744
+ 'State' => array(
1745
+ 'type' => 'string',
1746
+ ),
1747
+ 'PendingDeletion' => array(
1748
+ 'type' => 'boolean',
1749
+ ),
1750
+ ),
1751
+ ),
1752
+ ),
1753
+ ),
1754
+ ),
1755
+ ),
1756
+ 'DefineExpressionResponse' => array(
1757
+ 'type' => 'object',
1758
+ 'additionalProperties' => true,
1759
+ 'properties' => array(
1760
+ 'Expression' => array(
1761
+ 'type' => 'object',
1762
+ 'location' => 'xml',
1763
+ 'properties' => array(
1764
+ 'Options' => array(
1765
+ 'type' => 'object',
1766
+ 'properties' => array(
1767
+ 'ExpressionName' => array(
1768
+ 'type' => 'string',
1769
+ ),
1770
+ 'ExpressionValue' => array(
1771
+ 'type' => 'string',
1772
+ ),
1773
+ ),
1774
+ ),
1775
+ 'Status' => array(
1776
+ 'type' => 'object',
1777
+ 'properties' => array(
1778
+ 'CreationDate' => array(
1779
+ 'type' => 'string',
1780
+ ),
1781
+ 'UpdateDate' => array(
1782
+ 'type' => 'string',
1783
+ ),
1784
+ 'UpdateVersion' => array(
1785
+ 'type' => 'numeric',
1786
+ ),
1787
+ 'State' => array(
1788
+ 'type' => 'string',
1789
+ ),
1790
+ 'PendingDeletion' => array(
1791
+ 'type' => 'boolean',
1792
+ ),
1793
+ ),
1794
+ ),
1795
+ ),
1796
+ ),
1797
+ ),
1798
+ ),
1799
+ 'DefineIndexFieldResponse' => array(
1800
+ 'type' => 'object',
1801
+ 'additionalProperties' => true,
1802
+ 'properties' => array(
1803
+ 'IndexField' => array(
1804
+ 'type' => 'object',
1805
+ 'location' => 'xml',
1806
+ 'properties' => array(
1807
+ 'Options' => array(
1808
+ 'type' => 'object',
1809
+ 'properties' => array(
1810
+ 'IndexFieldName' => array(
1811
+ 'type' => 'string',
1812
+ ),
1813
+ 'IndexFieldType' => array(
1814
+ 'type' => 'string',
1815
+ ),
1816
+ 'IntOptions' => array(
1817
+ 'type' => 'object',
1818
+ 'properties' => array(
1819
+ 'DefaultValue' => array(
1820
+ 'type' => 'numeric',
1821
+ ),
1822
+ 'SourceField' => array(
1823
+ 'type' => 'string',
1824
+ ),
1825
+ 'FacetEnabled' => array(
1826
+ 'type' => 'boolean',
1827
+ ),
1828
+ 'SearchEnabled' => array(
1829
+ 'type' => 'boolean',
1830
+ ),
1831
+ 'ReturnEnabled' => array(
1832
+ 'type' => 'boolean',
1833
+ ),
1834
+ 'SortEnabled' => array(
1835
+ 'type' => 'boolean',
1836
+ ),
1837
+ ),
1838
+ ),
1839
+ 'DoubleOptions' => array(
1840
+ 'type' => 'object',
1841
+ 'properties' => array(
1842
+ 'DefaultValue' => array(
1843
+ 'type' => 'numeric',
1844
+ ),
1845
+ 'SourceField' => array(
1846
+ 'type' => 'string',
1847
+ ),
1848
+ 'FacetEnabled' => array(
1849
+ 'type' => 'boolean',
1850
+ ),
1851
+ 'SearchEnabled' => array(
1852
+ 'type' => 'boolean',
1853
+ ),
1854
+ 'ReturnEnabled' => array(
1855
+ 'type' => 'boolean',
1856
+ ),
1857
+ 'SortEnabled' => array(
1858
+ 'type' => 'boolean',
1859
+ ),
1860
+ ),
1861
+ ),
1862
+ 'LiteralOptions' => array(
1863
+ 'type' => 'object',
1864
+ 'properties' => array(
1865
+ 'DefaultValue' => array(
1866
+ 'type' => 'string',
1867
+ ),
1868
+ 'SourceField' => array(
1869
+ 'type' => 'string',
1870
+ ),
1871
+ 'FacetEnabled' => array(
1872
+ 'type' => 'boolean',
1873
+ ),
1874
+ 'SearchEnabled' => array(
1875
+ 'type' => 'boolean',
1876
+ ),
1877
+ 'ReturnEnabled' => array(
1878
+ 'type' => 'boolean',
1879
+ ),
1880
+ 'SortEnabled' => array(
1881
+ 'type' => 'boolean',
1882
+ ),
1883
+ ),
1884
+ ),
1885
+ 'TextOptions' => array(
1886
+ 'type' => 'object',
1887
+ 'properties' => array(
1888
+ 'DefaultValue' => array(
1889
+ 'type' => 'string',
1890
+ ),
1891
+ 'SourceField' => array(
1892
+ 'type' => 'string',
1893
+ ),
1894
+ 'ReturnEnabled' => array(
1895
+ 'type' => 'boolean',
1896
+ ),
1897
+ 'SortEnabled' => array(
1898
+ 'type' => 'boolean',
1899
+ ),
1900
+ 'HighlightEnabled' => array(
1901
+ 'type' => 'boolean',
1902
+ ),
1903
+ 'AnalysisScheme' => array(
1904
+ 'type' => 'string',
1905
+ ),
1906
+ ),
1907
+ ),
1908
+ 'DateOptions' => array(
1909
+ 'type' => 'object',
1910
+ 'properties' => array(
1911
+ 'DefaultValue' => array(
1912
+ 'type' => 'string',
1913
+ ),
1914
+ 'SourceField' => array(
1915
+ 'type' => 'string',
1916
+ ),
1917
+ 'FacetEnabled' => array(
1918
+ 'type' => 'boolean',
1919
+ ),
1920
+ 'SearchEnabled' => array(
1921
+ 'type' => 'boolean',
1922
+ ),
1923
+ 'ReturnEnabled' => array(
1924
+ 'type' => 'boolean',
1925
+ ),
1926
+ 'SortEnabled' => array(
1927
+ 'type' => 'boolean',
1928
+ ),
1929
+ ),
1930
+ ),
1931
+ 'LatLonOptions' => array(
1932
+ 'type' => 'object',
1933
+ 'properties' => array(
1934
+ 'DefaultValue' => array(
1935
+ 'type' => 'string',
1936
+ ),
1937
+ 'SourceField' => array(
1938
+ 'type' => 'string',
1939
+ ),
1940
+ 'FacetEnabled' => array(
1941
+ 'type' => 'boolean',
1942
+ ),
1943
+ 'SearchEnabled' => array(
1944
+ 'type' => 'boolean',
1945
+ ),
1946
+ 'ReturnEnabled' => array(
1947
+ 'type' => 'boolean',
1948
+ ),
1949
+ 'SortEnabled' => array(
1950
+ 'type' => 'boolean',
1951
+ ),
1952
+ ),
1953
+ ),
1954
+ 'IntArrayOptions' => array(
1955
+ 'type' => 'object',
1956
+ 'properties' => array(
1957
+ 'DefaultValue' => array(
1958
+ 'type' => 'numeric',
1959
+ ),
1960
+ 'SourceFields' => array(
1961
+ 'type' => 'string',
1962
+ ),
1963
+ 'FacetEnabled' => array(
1964
+ 'type' => 'boolean',
1965
+ ),
1966
+ 'SearchEnabled' => array(
1967
+ 'type' => 'boolean',
1968
+ ),
1969
+ 'ReturnEnabled' => array(
1970
+ 'type' => 'boolean',
1971
+ ),
1972
+ ),
1973
+ ),
1974
+ 'DoubleArrayOptions' => array(
1975
+ 'type' => 'object',
1976
+ 'properties' => array(
1977
+ 'DefaultValue' => array(
1978
+ 'type' => 'numeric',
1979
+ ),
1980
+ 'SourceFields' => array(
1981
+ 'type' => 'string',
1982
+ ),
1983
+ 'FacetEnabled' => array(
1984
+ 'type' => 'boolean',
1985
+ ),
1986
+ 'SearchEnabled' => array(
1987
+ 'type' => 'boolean',
1988
+ ),
1989
+ 'ReturnEnabled' => array(
1990
+ 'type' => 'boolean',
1991
+ ),
1992
+ ),
1993
+ ),
1994
+ 'LiteralArrayOptions' => array(
1995
+ 'type' => 'object',
1996
+ 'properties' => array(
1997
+ 'DefaultValue' => array(
1998
+ 'type' => 'string',
1999
+ ),
2000
+ 'SourceFields' => array(
2001
+ 'type' => 'string',
2002
+ ),
2003
+ 'FacetEnabled' => array(
2004
+ 'type' => 'boolean',
2005
+ ),
2006
+ 'SearchEnabled' => array(
2007
+ 'type' => 'boolean',
2008
+ ),
2009
+ 'ReturnEnabled' => array(
2010
+ 'type' => 'boolean',
2011
+ ),
2012
+ ),
2013
+ ),
2014
+ 'TextArrayOptions' => array(
2015
+ 'type' => 'object',
2016
+ 'properties' => array(
2017
+ 'DefaultValue' => array(
2018
+ 'type' => 'string',
2019
+ ),
2020
+ 'SourceFields' => array(
2021
+ 'type' => 'string',
2022
+ ),
2023
+ 'ReturnEnabled' => array(
2024
+ 'type' => 'boolean',
2025
+ ),
2026
+ 'HighlightEnabled' => array(
2027
+ 'type' => 'boolean',
2028
+ ),
2029
+ 'AnalysisScheme' => array(
2030
+ 'type' => 'string',
2031
+ ),
2032
+ ),
2033
+ ),
2034
+ 'DateArrayOptions' => array(
2035
+ 'type' => 'object',
2036
+ 'properties' => array(
2037
+ 'DefaultValue' => array(
2038
+ 'type' => 'string',
2039
+ ),
2040
+ 'SourceFields' => array(
2041
+ 'type' => 'string',
2042
+ ),
2043
+ 'FacetEnabled' => array(
2044
+ 'type' => 'boolean',
2045
+ ),
2046
+ 'SearchEnabled' => array(
2047
+ 'type' => 'boolean',
2048
+ ),
2049
+ 'ReturnEnabled' => array(
2050
+ 'type' => 'boolean',
2051
+ ),
2052
+ ),
2053
+ ),
2054
+ ),
2055
+ ),
2056
+ 'Status' => array(
2057
+ 'type' => 'object',
2058
+ 'properties' => array(
2059
+ 'CreationDate' => array(
2060
+ 'type' => 'string',
2061
+ ),
2062
+ 'UpdateDate' => array(
2063
+ 'type' => 'string',
2064
+ ),
2065
+ 'UpdateVersion' => array(
2066
+ 'type' => 'numeric',
2067
+ ),
2068
+ 'State' => array(
2069
+ 'type' => 'string',
2070
+ ),
2071
+ 'PendingDeletion' => array(
2072
+ 'type' => 'boolean',
2073
+ ),
2074
+ ),
2075
+ ),
2076
+ ),
2077
+ ),
2078
+ ),
2079
+ ),
2080
+ 'DefineSuggesterResponse' => array(
2081
+ 'type' => 'object',
2082
+ 'additionalProperties' => true,
2083
+ 'properties' => array(
2084
+ 'Suggester' => array(
2085
+ 'type' => 'object',
2086
+ 'location' => 'xml',
2087
+ 'properties' => array(
2088
+ 'Options' => array(
2089
+ 'type' => 'object',
2090
+ 'properties' => array(
2091
+ 'SuggesterName' => array(
2092
+ 'type' => 'string',
2093
+ ),
2094
+ 'DocumentSuggesterOptions' => array(
2095
+ 'type' => 'object',
2096
+ 'properties' => array(
2097
+ 'SourceField' => array(
2098
+ 'type' => 'string',
2099
+ ),
2100
+ 'FuzzyMatching' => array(
2101
+ 'type' => 'string',
2102
+ ),
2103
+ 'SortExpression' => array(
2104
+ 'type' => 'string',
2105
+ ),
2106
+ ),
2107
+ ),
2108
+ ),
2109
+ ),
2110
+ 'Status' => array(
2111
+ 'type' => 'object',
2112
+ 'properties' => array(
2113
+ 'CreationDate' => array(
2114
+ 'type' => 'string',
2115
+ ),
2116
+ 'UpdateDate' => array(
2117
+ 'type' => 'string',
2118
+ ),
2119
+ 'UpdateVersion' => array(
2120
+ 'type' => 'numeric',
2121
+ ),
2122
+ 'State' => array(
2123
+ 'type' => 'string',
2124
+ ),
2125
+ 'PendingDeletion' => array(
2126
+ 'type' => 'boolean',
2127
+ ),
2128
+ ),
2129
+ ),
2130
+ ),
2131
+ ),
2132
+ ),
2133
+ ),
2134
+ 'DeleteAnalysisSchemeResponse' => array(
2135
+ 'type' => 'object',
2136
+ 'additionalProperties' => true,
2137
+ 'properties' => array(
2138
+ 'AnalysisScheme' => array(
2139
+ 'type' => 'object',
2140
+ 'location' => 'xml',
2141
+ 'properties' => array(
2142
+ 'Options' => array(
2143
+ 'type' => 'object',
2144
+ 'properties' => array(
2145
+ 'AnalysisSchemeName' => array(
2146
+ 'type' => 'string',
2147
+ ),
2148
+ 'AnalysisSchemeLanguage' => array(
2149
+ 'type' => 'string',
2150
+ ),
2151
+ 'AnalysisOptions' => array(
2152
+ 'type' => 'object',
2153
+ 'properties' => array(
2154
+ 'Synonyms' => array(
2155
+ 'type' => 'string',
2156
+ ),
2157
+ 'Stopwords' => array(
2158
+ 'type' => 'string',
2159
+ ),
2160
+ 'StemmingDictionary' => array(
2161
+ 'type' => 'string',
2162
+ ),
2163
+ 'AlgorithmicStemming' => array(
2164
+ 'type' => 'string',
2165
+ ),
2166
+ ),
2167
+ ),
2168
+ ),
2169
+ ),
2170
+ 'Status' => array(
2171
+ 'type' => 'object',
2172
+ 'properties' => array(
2173
+ 'CreationDate' => array(
2174
+ 'type' => 'string',
2175
+ ),
2176
+ 'UpdateDate' => array(
2177
+ 'type' => 'string',
2178
+ ),
2179
+ 'UpdateVersion' => array(
2180
+ 'type' => 'numeric',
2181
+ ),
2182
+ 'State' => array(
2183
+ 'type' => 'string',
2184
+ ),
2185
+ 'PendingDeletion' => array(
2186
+ 'type' => 'boolean',
2187
+ ),
2188
+ ),
2189
+ ),
2190
+ ),
2191
+ ),
2192
+ ),
2193
+ ),
2194
+ 'DeleteDomainResponse' => array(
2195
+ 'type' => 'object',
2196
+ 'additionalProperties' => true,
2197
+ 'properties' => array(
2198
+ 'DomainStatus' => array(
2199
+ 'type' => 'object',
2200
+ 'location' => 'xml',
2201
+ 'properties' => array(
2202
+ 'DomainId' => array(
2203
+ 'type' => 'string',
2204
+ ),
2205
+ 'DomainName' => array(
2206
+ 'type' => 'string',
2207
+ ),
2208
+ 'ARN' => array(
2209
+ 'type' => 'string',
2210
+ ),
2211
+ 'Created' => array(
2212
+ 'type' => 'boolean',
2213
+ ),
2214
+ 'Deleted' => array(
2215
+ 'type' => 'boolean',
2216
+ ),
2217
+ 'DocService' => array(
2218
+ 'type' => 'object',
2219
+ 'properties' => array(
2220
+ 'Endpoint' => array(
2221
+ 'type' => 'string',
2222
+ ),
2223
+ ),
2224
+ ),
2225
+ 'SearchService' => array(
2226
+ 'type' => 'object',
2227
+ 'properties' => array(
2228
+ 'Endpoint' => array(
2229
+ 'type' => 'string',
2230
+ ),
2231
+ ),
2232
+ ),
2233
+ 'RequiresIndexDocuments' => array(
2234
+ 'type' => 'boolean',
2235
+ ),
2236
+ 'Processing' => array(
2237
+ 'type' => 'boolean',
2238
+ ),
2239
+ 'SearchInstanceType' => array(
2240
+ 'type' => 'string',
2241
+ ),
2242
+ 'SearchPartitionCount' => array(
2243
+ 'type' => 'numeric',
2244
+ ),
2245
+ 'SearchInstanceCount' => array(
2246
+ 'type' => 'numeric',
2247
+ ),
2248
+ ),
2249
+ ),
2250
+ ),
2251
+ ),
2252
+ 'DeleteExpressionResponse' => array(
2253
+ 'type' => 'object',
2254
+ 'additionalProperties' => true,
2255
+ 'properties' => array(
2256
+ 'Expression' => array(
2257
+ 'type' => 'object',
2258
+ 'location' => 'xml',
2259
+ 'properties' => array(
2260
+ 'Options' => array(
2261
+ 'type' => 'object',
2262
+ 'properties' => array(
2263
+ 'ExpressionName' => array(
2264
+ 'type' => 'string',
2265
+ ),
2266
+ 'ExpressionValue' => array(
2267
+ 'type' => 'string',
2268
+ ),
2269
+ ),
2270
+ ),
2271
+ 'Status' => array(
2272
+ 'type' => 'object',
2273
+ 'properties' => array(
2274
+ 'CreationDate' => array(
2275
+ 'type' => 'string',
2276
+ ),
2277
+ 'UpdateDate' => array(
2278
+ 'type' => 'string',
2279
+ ),
2280
+ 'UpdateVersion' => array(
2281
+ 'type' => 'numeric',
2282
+ ),
2283
+ 'State' => array(
2284
+ 'type' => 'string',
2285
+ ),
2286
+ 'PendingDeletion' => array(
2287
+ 'type' => 'boolean',
2288
+ ),
2289
+ ),
2290
+ ),
2291
+ ),
2292
+ ),
2293
+ ),
2294
+ ),
2295
+ 'DeleteIndexFieldResponse' => array(
2296
+ 'type' => 'object',
2297
+ 'additionalProperties' => true,
2298
+ 'properties' => array(
2299
+ 'IndexField' => array(
2300
+ 'type' => 'object',
2301
+ 'location' => 'xml',
2302
+ 'properties' => array(
2303
+ 'Options' => array(
2304
+ 'type' => 'object',
2305
+ 'properties' => array(
2306
+ 'IndexFieldName' => array(
2307
+ 'type' => 'string',
2308
+ ),
2309
+ 'IndexFieldType' => array(
2310
+ 'type' => 'string',
2311
+ ),
2312
+ 'IntOptions' => array(
2313
+ 'type' => 'object',
2314
+ 'properties' => array(
2315
+ 'DefaultValue' => array(
2316
+ 'type' => 'numeric',
2317
+ ),
2318
+ 'SourceField' => array(
2319
+ 'type' => 'string',
2320
+ ),
2321
+ 'FacetEnabled' => array(
2322
+ 'type' => 'boolean',
2323
+ ),
2324
+ 'SearchEnabled' => array(
2325
+ 'type' => 'boolean',
2326
+ ),
2327
+ 'ReturnEnabled' => array(
2328
+ 'type' => 'boolean',
2329
+ ),
2330
+ 'SortEnabled' => array(
2331
+ 'type' => 'boolean',
2332
+ ),
2333
+ ),
2334
+ ),
2335
+ 'DoubleOptions' => array(
2336
+ 'type' => 'object',
2337
+ 'properties' => array(
2338
+ 'DefaultValue' => array(
2339
+ 'type' => 'numeric',
2340
+ ),
2341
+ 'SourceField' => array(
2342
+ 'type' => 'string',
2343
+ ),
2344
+ 'FacetEnabled' => array(
2345
+ 'type' => 'boolean',
2346
+ ),
2347
+ 'SearchEnabled' => array(
2348
+ 'type' => 'boolean',
2349
+ ),
2350
+ 'ReturnEnabled' => array(
2351
+ 'type' => 'boolean',
2352
+ ),
2353
+ 'SortEnabled' => array(
2354
+ 'type' => 'boolean',
2355
+ ),
2356
+ ),
2357
+ ),
2358
+ 'LiteralOptions' => array(
2359
+ 'type' => 'object',
2360
+ 'properties' => array(
2361
+ 'DefaultValue' => array(
2362
+ 'type' => 'string',
2363
+ ),
2364
+ 'SourceField' => array(
2365
+ 'type' => 'string',
2366
+ ),
2367
+ 'FacetEnabled' => array(
2368
+ 'type' => 'boolean',
2369
+ ),
2370
+ 'SearchEnabled' => array(
2371
+ 'type' => 'boolean',
2372
+ ),
2373
+ 'ReturnEnabled' => array(
2374
+ 'type' => 'boolean',
2375
+ ),
2376
+ 'SortEnabled' => array(
2377
+ 'type' => 'boolean',
2378
+ ),
2379
+ ),
2380
+ ),
2381
+ 'TextOptions' => array(
2382
+ 'type' => 'object',
2383
+ 'properties' => array(
2384
+ 'DefaultValue' => array(
2385
+ 'type' => 'string',
2386
+ ),
2387
+ 'SourceField' => array(
2388
+ 'type' => 'string',
2389
+ ),
2390
+ 'ReturnEnabled' => array(
2391
+ 'type' => 'boolean',
2392
+ ),
2393
+ 'SortEnabled' => array(
2394
+ 'type' => 'boolean',
2395
+ ),
2396
+ 'HighlightEnabled' => array(
2397
+ 'type' => 'boolean',
2398
+ ),
2399
+ 'AnalysisScheme' => array(
2400
+ 'type' => 'string',
2401
+ ),
2402
+ ),
2403
+ ),
2404
+ 'DateOptions' => array(
2405
+ 'type' => 'object',
2406
+ 'properties' => array(
2407
+ 'DefaultValue' => array(
2408
+ 'type' => 'string',
2409
+ ),
2410
+ 'SourceField' => array(
2411
+ 'type' => 'string',
2412
+ ),
2413
+ 'FacetEnabled' => array(
2414
+ 'type' => 'boolean',
2415
+ ),
2416
+ 'SearchEnabled' => array(
2417
+ 'type' => 'boolean',
2418
+ ),
2419
+ 'ReturnEnabled' => array(
2420
+ 'type' => 'boolean',
2421
+ ),
2422
+ 'SortEnabled' => array(
2423
+ 'type' => 'boolean',
2424
+ ),
2425
+ ),
2426
+ ),
2427
+ 'LatLonOptions' => array(
2428
+ 'type' => 'object',
2429
+ 'properties' => array(
2430
+ 'DefaultValue' => array(
2431
+ 'type' => 'string',
2432
+ ),
2433
+ 'SourceField' => array(
2434
+ 'type' => 'string',
2435
+ ),
2436
+ 'FacetEnabled' => array(
2437
+ 'type' => 'boolean',
2438
+ ),
2439
+ 'SearchEnabled' => array(
2440
+ 'type' => 'boolean',
2441
+ ),
2442
+ 'ReturnEnabled' => array(
2443
+ 'type' => 'boolean',
2444
+ ),
2445
+ 'SortEnabled' => array(
2446
+ 'type' => 'boolean',
2447
+ ),
2448
+ ),
2449
+ ),
2450
+ 'IntArrayOptions' => array(
2451
+ 'type' => 'object',
2452
+ 'properties' => array(
2453
+ 'DefaultValue' => array(
2454
+ 'type' => 'numeric',
2455
+ ),
2456
+ 'SourceFields' => array(
2457
+ 'type' => 'string',
2458
+ ),
2459
+ 'FacetEnabled' => array(
2460
+ 'type' => 'boolean',
2461
+ ),
2462
+ 'SearchEnabled' => array(
2463
+ 'type' => 'boolean',
2464
+ ),
2465
+ 'ReturnEnabled' => array(
2466
+ 'type' => 'boolean',
2467
+ ),
2468
+ ),
2469
+ ),
2470
+ 'DoubleArrayOptions' => array(
2471
+ 'type' => 'object',
2472
+ 'properties' => array(
2473
+ 'DefaultValue' => array(
2474
+ 'type' => 'numeric',
2475
+ ),
2476
+ 'SourceFields' => array(
2477
+ 'type' => 'string',
2478
+ ),
2479
+ 'FacetEnabled' => array(
2480
+ 'type' => 'boolean',
2481
+ ),
2482
+ 'SearchEnabled' => array(
2483
+ 'type' => 'boolean',
2484
+ ),
2485
+ 'ReturnEnabled' => array(
2486
+ 'type' => 'boolean',
2487
+ ),
2488
+ ),
2489
+ ),
2490
+ 'LiteralArrayOptions' => array(
2491
+ 'type' => 'object',
2492
+ 'properties' => array(
2493
+ 'DefaultValue' => array(
2494
+ 'type' => 'string',
2495
+ ),
2496
+ 'SourceFields' => array(
2497
+ 'type' => 'string',
2498
+ ),
2499
+ 'FacetEnabled' => array(
2500
+ 'type' => 'boolean',
2501
+ ),
2502
+ 'SearchEnabled' => array(
2503
+ 'type' => 'boolean',
2504
+ ),
2505
+ 'ReturnEnabled' => array(
2506
+ 'type' => 'boolean',
2507
+ ),
2508
+ ),
2509
+ ),
2510
+ 'TextArrayOptions' => array(
2511
+ 'type' => 'object',
2512
+ 'properties' => array(
2513
+ 'DefaultValue' => array(
2514
+ 'type' => 'string',
2515
+ ),
2516
+ 'SourceFields' => array(
2517
+ 'type' => 'string',
2518
+ ),
2519
+ 'ReturnEnabled' => array(
2520
+ 'type' => 'boolean',
2521
+ ),
2522
+ 'HighlightEnabled' => array(
2523
+ 'type' => 'boolean',
2524
+ ),
2525
+ 'AnalysisScheme' => array(
2526
+ 'type' => 'string',
2527
+ ),
2528
+ ),
2529
+ ),
2530
+ 'DateArrayOptions' => array(
2531
+ 'type' => 'object',
2532
+ 'properties' => array(
2533
+ 'DefaultValue' => array(
2534
+ 'type' => 'string',
2535
+ ),
2536
+ 'SourceFields' => array(
2537
+ 'type' => 'string',
2538
+ ),
2539
+ 'FacetEnabled' => array(
2540
+ 'type' => 'boolean',
2541
+ ),
2542
+ 'SearchEnabled' => array(
2543
+ 'type' => 'boolean',
2544
+ ),
2545
+ 'ReturnEnabled' => array(
2546
+ 'type' => 'boolean',
2547
+ ),
2548
+ ),
2549
+ ),
2550
+ ),
2551
+ ),
2552
+ 'Status' => array(
2553
+ 'type' => 'object',
2554
+ 'properties' => array(
2555
+ 'CreationDate' => array(
2556
+ 'type' => 'string',
2557
+ ),
2558
+ 'UpdateDate' => array(
2559
+ 'type' => 'string',
2560
+ ),
2561
+ 'UpdateVersion' => array(
2562
+ 'type' => 'numeric',
2563
+ ),
2564
+ 'State' => array(
2565
+ 'type' => 'string',
2566
+ ),
2567
+ 'PendingDeletion' => array(
2568
+ 'type' => 'boolean',
2569
+ ),
2570
+ ),
2571
+ ),
2572
+ ),
2573
+ ),
2574
+ ),
2575
+ ),
2576
+ 'DeleteSuggesterResponse' => array(
2577
+ 'type' => 'object',
2578
+ 'additionalProperties' => true,
2579
+ 'properties' => array(
2580
+ 'Suggester' => array(
2581
+ 'type' => 'object',
2582
+ 'location' => 'xml',
2583
+ 'properties' => array(
2584
+ 'Options' => array(
2585
+ 'type' => 'object',
2586
+ 'properties' => array(
2587
+ 'SuggesterName' => array(
2588
+ 'type' => 'string',
2589
+ ),
2590
+ 'DocumentSuggesterOptions' => array(
2591
+ 'type' => 'object',
2592
+ 'properties' => array(
2593
+ 'SourceField' => array(
2594
+ 'type' => 'string',
2595
+ ),
2596
+ 'FuzzyMatching' => array(
2597
+ 'type' => 'string',
2598
+ ),
2599
+ 'SortExpression' => array(
2600
+ 'type' => 'string',
2601
+ ),
2602
+ ),
2603
+ ),
2604
+ ),
2605
+ ),
2606
+ 'Status' => array(
2607
+ 'type' => 'object',
2608
+ 'properties' => array(
2609
+ 'CreationDate' => array(
2610
+ 'type' => 'string',
2611
+ ),
2612
+ 'UpdateDate' => array(
2613
+ 'type' => 'string',
2614
+ ),
2615
+ 'UpdateVersion' => array(
2616
+ 'type' => 'numeric',
2617
+ ),
2618
+ 'State' => array(
2619
+ 'type' => 'string',
2620
+ ),
2621
+ 'PendingDeletion' => array(
2622
+ 'type' => 'boolean',
2623
+ ),
2624
+ ),
2625
+ ),
2626
+ ),
2627
+ ),
2628
+ ),
2629
+ ),
2630
+ 'DescribeAnalysisSchemesResponse' => array(
2631
+ 'type' => 'object',
2632
+ 'additionalProperties' => true,
2633
+ 'properties' => array(
2634
+ 'AnalysisSchemes' => array(
2635
+ 'type' => 'array',
2636
+ 'location' => 'xml',
2637
+ 'items' => array(
2638
+ 'name' => 'AnalysisSchemeStatus',
2639
+ 'type' => 'object',
2640
+ 'sentAs' => 'member',
2641
+ 'properties' => array(
2642
+ 'Options' => array(
2643
+ 'type' => 'object',
2644
+ 'properties' => array(
2645
+ 'AnalysisSchemeName' => array(
2646
+ 'type' => 'string',
2647
+ ),
2648
+ 'AnalysisSchemeLanguage' => array(
2649
+ 'type' => 'string',
2650
+ ),
2651
+ 'AnalysisOptions' => array(
2652
+ 'type' => 'object',
2653
+ 'properties' => array(
2654
+ 'Synonyms' => array(
2655
+ 'type' => 'string',
2656
+ ),
2657
+ 'Stopwords' => array(
2658
+ 'type' => 'string',
2659
+ ),
2660
+ 'StemmingDictionary' => array(
2661
+ 'type' => 'string',
2662
+ ),
2663
+ 'AlgorithmicStemming' => array(
2664
+ 'type' => 'string',
2665
+ ),
2666
+ ),
2667
+ ),
2668
+ ),
2669
+ ),
2670
+ 'Status' => array(
2671
+ 'type' => 'object',
2672
+ 'properties' => array(
2673
+ 'CreationDate' => array(
2674
+ 'type' => 'string',
2675
+ ),
2676
+ 'UpdateDate' => array(
2677
+ 'type' => 'string',
2678
+ ),
2679
+ 'UpdateVersion' => array(
2680
+ 'type' => 'numeric',
2681
+ ),
2682
+ 'State' => array(
2683
+ 'type' => 'string',
2684
+ ),
2685
+ 'PendingDeletion' => array(
2686
+ 'type' => 'boolean',
2687
+ ),
2688
+ ),
2689
+ ),
2690
+ ),
2691
+ ),
2692
+ ),
2693
+ ),
2694
+ ),
2695
+ 'DescribeAvailabilityOptionsResponse' => array(
2696
+ 'type' => 'object',
2697
+ 'additionalProperties' => true,
2698
+ 'properties' => array(
2699
+ 'AvailabilityOptions' => array(
2700
+ 'type' => 'object',
2701
+ 'location' => 'xml',
2702
+ 'properties' => array(
2703
+ 'Options' => array(
2704
+ 'type' => 'boolean',
2705
+ ),
2706
+ 'Status' => array(
2707
+ 'type' => 'object',
2708
+ 'properties' => array(
2709
+ 'CreationDate' => array(
2710
+ 'type' => 'string',
2711
+ ),
2712
+ 'UpdateDate' => array(
2713
+ 'type' => 'string',
2714
+ ),
2715
+ 'UpdateVersion' => array(
2716
+ 'type' => 'numeric',
2717
+ ),
2718
+ 'State' => array(
2719
+ 'type' => 'string',
2720
+ ),
2721
+ 'PendingDeletion' => array(
2722
+ 'type' => 'boolean',
2723
+ ),
2724
+ ),
2725
+ ),
2726
+ ),
2727
+ ),
2728
+ ),
2729
+ ),
2730
+ 'DescribeDomainsResponse' => array(
2731
+ 'type' => 'object',
2732
+ 'additionalProperties' => true,
2733
+ 'properties' => array(
2734
+ 'DomainStatusList' => array(
2735
+ 'type' => 'array',
2736
+ 'location' => 'xml',
2737
+ 'items' => array(
2738
+ 'name' => 'DomainStatus',
2739
+ 'type' => 'object',
2740
+ 'sentAs' => 'member',
2741
+ 'properties' => array(
2742
+ 'DomainId' => array(
2743
+ 'type' => 'string',
2744
+ ),
2745
+ 'DomainName' => array(
2746
+ 'type' => 'string',
2747
+ ),
2748
+ 'ARN' => array(
2749
+ 'type' => 'string',
2750
+ ),
2751
+ 'Created' => array(
2752
+ 'type' => 'boolean',
2753
+ ),
2754
+ 'Deleted' => array(
2755
+ 'type' => 'boolean',
2756
+ ),
2757
+ 'DocService' => array(
2758
+ 'type' => 'object',
2759
+ 'properties' => array(
2760
+ 'Endpoint' => array(
2761
+ 'type' => 'string',
2762
+ ),
2763
+ ),
2764
+ ),
2765
+ 'SearchService' => array(
2766
+ 'type' => 'object',
2767
+ 'properties' => array(
2768
+ 'Endpoint' => array(
2769
+ 'type' => 'string',
2770
+ ),
2771
+ ),
2772
+ ),
2773
+ 'RequiresIndexDocuments' => array(
2774
+ 'type' => 'boolean',
2775
+ ),
2776
+ 'Processing' => array(
2777
+ 'type' => 'boolean',
2778
+ ),
2779
+ 'SearchInstanceType' => array(
2780
+ 'type' => 'string',
2781
+ ),
2782
+ 'SearchPartitionCount' => array(
2783
+ 'type' => 'numeric',
2784
+ ),
2785
+ 'SearchInstanceCount' => array(
2786
+ 'type' => 'numeric',
2787
+ ),
2788
+ ),
2789
+ ),
2790
+ ),
2791
+ ),
2792
+ ),
2793
+ 'DescribeExpressionsResponse' => array(
2794
+ 'type' => 'object',
2795
+ 'additionalProperties' => true,
2796
+ 'properties' => array(
2797
+ 'Expressions' => array(
2798
+ 'type' => 'array',
2799
+ 'location' => 'xml',
2800
+ 'items' => array(
2801
+ 'name' => 'ExpressionStatus',
2802
+ 'type' => 'object',
2803
+ 'sentAs' => 'member',
2804
+ 'properties' => array(
2805
+ 'Options' => array(
2806
+ 'type' => 'object',
2807
+ 'properties' => array(
2808
+ 'ExpressionName' => array(
2809
+ 'type' => 'string',
2810
+ ),
2811
+ 'ExpressionValue' => array(
2812
+ 'type' => 'string',
2813
+ ),
2814
+ ),
2815
+ ),
2816
+ 'Status' => array(
2817
+ 'type' => 'object',
2818
+ 'properties' => array(
2819
+ 'CreationDate' => array(
2820
+ 'type' => 'string',
2821
+ ),
2822
+ 'UpdateDate' => array(
2823
+ 'type' => 'string',
2824
+ ),
2825
+ 'UpdateVersion' => array(
2826
+ 'type' => 'numeric',
2827
+ ),
2828
+ 'State' => array(
2829
+ 'type' => 'string',
2830
+ ),
2831
+ 'PendingDeletion' => array(
2832
+ 'type' => 'boolean',
2833
+ ),
2834
+ ),
2835
+ ),
2836
+ ),
2837
+ ),
2838
+ ),
2839
+ ),
2840
+ ),
2841
+ 'DescribeIndexFieldsResponse' => array(
2842
+ 'type' => 'object',
2843
+ 'additionalProperties' => true,
2844
+ 'properties' => array(
2845
+ 'IndexFields' => array(
2846
+ 'type' => 'array',
2847
+ 'location' => 'xml',
2848
+ 'items' => array(
2849
+ 'name' => 'IndexFieldStatus',
2850
+ 'type' => 'object',
2851
+ 'sentAs' => 'member',
2852
+ 'properties' => array(
2853
+ 'Options' => array(
2854
+ 'type' => 'object',
2855
+ 'properties' => array(
2856
+ 'IndexFieldName' => array(
2857
+ 'type' => 'string',
2858
+ ),
2859
+ 'IndexFieldType' => array(
2860
+ 'type' => 'string',
2861
+ ),
2862
+ 'IntOptions' => array(
2863
+ 'type' => 'object',
2864
+ 'properties' => array(
2865
+ 'DefaultValue' => array(
2866
+ 'type' => 'numeric',
2867
+ ),
2868
+ 'SourceField' => array(
2869
+ 'type' => 'string',
2870
+ ),
2871
+ 'FacetEnabled' => array(
2872
+ 'type' => 'boolean',
2873
+ ),
2874
+ 'SearchEnabled' => array(
2875
+ 'type' => 'boolean',
2876
+ ),
2877
+ 'ReturnEnabled' => array(
2878
+ 'type' => 'boolean',
2879
+ ),
2880
+ 'SortEnabled' => array(
2881
+ 'type' => 'boolean',
2882
+ ),
2883
+ ),
2884
+ ),
2885
+ 'DoubleOptions' => array(
2886
+ 'type' => 'object',
2887
+ 'properties' => array(
2888
+ 'DefaultValue' => array(
2889
+ 'type' => 'numeric',
2890
+ ),
2891
+ 'SourceField' => array(
2892
+ 'type' => 'string',
2893
+ ),
2894
+ 'FacetEnabled' => array(
2895
+ 'type' => 'boolean',
2896
+ ),
2897
+ 'SearchEnabled' => array(
2898
+ 'type' => 'boolean',
2899
+ ),
2900
+ 'ReturnEnabled' => array(
2901
+ 'type' => 'boolean',
2902
+ ),
2903
+ 'SortEnabled' => array(
2904
+ 'type' => 'boolean',
2905
+ ),
2906
+ ),
2907
+ ),
2908
+ 'LiteralOptions' => array(
2909
+ 'type' => 'object',
2910
+ 'properties' => array(
2911
+ 'DefaultValue' => array(
2912
+ 'type' => 'string',
2913
+ ),
2914
+ 'SourceField' => array(
2915
+ 'type' => 'string',
2916
+ ),
2917
+ 'FacetEnabled' => array(
2918
+ 'type' => 'boolean',
2919
+ ),
2920
+ 'SearchEnabled' => array(
2921
+ 'type' => 'boolean',
2922
+ ),
2923
+ 'ReturnEnabled' => array(
2924
+ 'type' => 'boolean',
2925
+ ),
2926
+ 'SortEnabled' => array(
2927
+ 'type' => 'boolean',
2928
+ ),
2929
+ ),
2930
+ ),
2931
+ 'TextOptions' => array(
2932
+ 'type' => 'object',
2933
+ 'properties' => array(
2934
+ 'DefaultValue' => array(
2935
+ 'type' => 'string',
2936
+ ),
2937
+ 'SourceField' => array(
2938
+ 'type' => 'string',
2939
+ ),
2940
+ 'ReturnEnabled' => array(
2941
+ 'type' => 'boolean',
2942
+ ),
2943
+ 'SortEnabled' => array(
2944
+ 'type' => 'boolean',
2945
+ ),
2946
+ 'HighlightEnabled' => array(
2947
+ 'type' => 'boolean',
2948
+ ),
2949
+ 'AnalysisScheme' => array(
2950
+ 'type' => 'string',
2951
+ ),
2952
+ ),
2953
+ ),
2954
+ 'DateOptions' => array(
2955
+ 'type' => 'object',
2956
+ 'properties' => array(
2957
+ 'DefaultValue' => array(
2958
+ 'type' => 'string',
2959
+ ),
2960
+ 'SourceField' => array(
2961
+ 'type' => 'string',
2962
+ ),
2963
+ 'FacetEnabled' => array(
2964
+ 'type' => 'boolean',
2965
+ ),
2966
+ 'SearchEnabled' => array(
2967
+ 'type' => 'boolean',
2968
+ ),
2969
+ 'ReturnEnabled' => array(
2970
+ 'type' => 'boolean',
2971
+ ),
2972
+ 'SortEnabled' => array(
2973
+ 'type' => 'boolean',
2974
+ ),
2975
+ ),
2976
+ ),
2977
+ 'LatLonOptions' => array(
2978
+ 'type' => 'object',
2979
+ 'properties' => array(
2980
+ 'DefaultValue' => array(
2981
+ 'type' => 'string',
2982
+ ),
2983
+ 'SourceField' => array(
2984
+ 'type' => 'string',
2985
+ ),
2986
+ 'FacetEnabled' => array(
2987
+ 'type' => 'boolean',
2988
+ ),
2989
+ 'SearchEnabled' => array(
2990
+ 'type' => 'boolean',
2991
+ ),
2992
+ 'ReturnEnabled' => array(
2993
+ 'type' => 'boolean',
2994
+ ),
2995
+ 'SortEnabled' => array(
2996
+ 'type' => 'boolean',
2997
+ ),
2998
+ ),
2999
+ ),
3000
+ 'IntArrayOptions' => array(
3001
+ 'type' => 'object',
3002
+ 'properties' => array(
3003
+ 'DefaultValue' => array(
3004
+ 'type' => 'numeric',
3005
+ ),
3006
+ 'SourceFields' => array(
3007
+ 'type' => 'string',
3008
+ ),
3009
+ 'FacetEnabled' => array(
3010
+ 'type' => 'boolean',
3011
+ ),
3012
+ 'SearchEnabled' => array(
3013
+ 'type' => 'boolean',
3014
+ ),
3015
+ 'ReturnEnabled' => array(
3016
+ 'type' => 'boolean',
3017
+ ),
3018
+ ),
3019
+ ),
3020
+ 'DoubleArrayOptions' => array(
3021
+ 'type' => 'object',
3022
+ 'properties' => array(
3023
+ 'DefaultValue' => array(
3024
+ 'type' => 'numeric',
3025
+ ),
3026
+ 'SourceFields' => array(
3027
+ 'type' => 'string',
3028
+ ),
3029
+ 'FacetEnabled' => array(
3030
+ 'type' => 'boolean',
3031
+ ),
3032
+ 'SearchEnabled' => array(
3033
+ 'type' => 'boolean',
3034
+ ),
3035
+ 'ReturnEnabled' => array(
3036
+ 'type' => 'boolean',
3037
+ ),
3038
+ ),
3039
+ ),
3040
+ 'LiteralArrayOptions' => array(
3041
+ 'type' => 'object',
3042
+ 'properties' => array(
3043
+ 'DefaultValue' => array(
3044
+ 'type' => 'string',
3045
+ ),
3046
+ 'SourceFields' => array(
3047
+ 'type' => 'string',
3048
+ ),
3049
+ 'FacetEnabled' => array(
3050
+ 'type' => 'boolean',
3051
+ ),
3052
+ 'SearchEnabled' => array(
3053
+ 'type' => 'boolean',
3054
+ ),
3055
+ 'ReturnEnabled' => array(
3056
+ 'type' => 'boolean',
3057
+ ),
3058
+ ),
3059
+ ),
3060
+ 'TextArrayOptions' => array(
3061
+ 'type' => 'object',
3062
+ 'properties' => array(
3063
+ 'DefaultValue' => array(
3064
+ 'type' => 'string',
3065
+ ),
3066
+ 'SourceFields' => array(
3067
+ 'type' => 'string',
3068
+ ),
3069
+ 'ReturnEnabled' => array(
3070
+ 'type' => 'boolean',
3071
+ ),
3072
+ 'HighlightEnabled' => array(
3073
+ 'type' => 'boolean',
3074
+ ),
3075
+ 'AnalysisScheme' => array(
3076
+ 'type' => 'string',
3077
+ ),
3078
+ ),
3079
+ ),
3080
+ 'DateArrayOptions' => array(
3081
+ 'type' => 'object',
3082
+ 'properties' => array(
3083
+ 'DefaultValue' => array(
3084
+ 'type' => 'string',
3085
+ ),
3086
+ 'SourceFields' => array(
3087
+ 'type' => 'string',
3088
+ ),
3089
+ 'FacetEnabled' => array(
3090
+ 'type' => 'boolean',
3091
+ ),
3092
+ 'SearchEnabled' => array(
3093
+ 'type' => 'boolean',
3094
+ ),
3095
+ 'ReturnEnabled' => array(
3096
+ 'type' => 'boolean',
3097
+ ),
3098
+ ),
3099
+ ),
3100
+ ),
3101
+ ),
3102
+ 'Status' => array(
3103
+ 'type' => 'object',
3104
+ 'properties' => array(
3105
+ 'CreationDate' => array(
3106
+ 'type' => 'string',
3107
+ ),
3108
+ 'UpdateDate' => array(
3109
+ 'type' => 'string',
3110
+ ),
3111
+ 'UpdateVersion' => array(
3112
+ 'type' => 'numeric',
3113
+ ),
3114
+ 'State' => array(
3115
+ 'type' => 'string',
3116
+ ),
3117
+ 'PendingDeletion' => array(
3118
+ 'type' => 'boolean',
3119
+ ),
3120
+ ),
3121
+ ),
3122
+ ),
3123
+ ),
3124
+ ),
3125
+ ),
3126
+ ),
3127
+ 'DescribeScalingParametersResponse' => array(
3128
+ 'type' => 'object',
3129
+ 'additionalProperties' => true,
3130
+ 'properties' => array(
3131
+ 'ScalingParameters' => array(
3132
+ 'type' => 'object',
3133
+ 'location' => 'xml',
3134
+ 'properties' => array(
3135
+ 'Options' => array(
3136
+ 'type' => 'object',
3137
+ 'properties' => array(
3138
+ 'DesiredInstanceType' => array(
3139
+ 'type' => 'string',
3140
+ ),
3141
+ 'DesiredReplicationCount' => array(
3142
+ 'type' => 'numeric',
3143
+ ),
3144
+ 'DesiredPartitionCount' => array(
3145
+ 'type' => 'numeric',
3146
+ ),
3147
+ ),
3148
+ ),
3149
+ 'Status' => array(
3150
+ 'type' => 'object',
3151
+ 'properties' => array(
3152
+ 'CreationDate' => array(
3153
+ 'type' => 'string',
3154
+ ),
3155
+ 'UpdateDate' => array(
3156
+ 'type' => 'string',
3157
+ ),
3158
+ 'UpdateVersion' => array(
3159
+ 'type' => 'numeric',
3160
+ ),
3161
+ 'State' => array(
3162
+ 'type' => 'string',
3163
+ ),
3164
+ 'PendingDeletion' => array(
3165
+ 'type' => 'boolean',
3166
+ ),
3167
+ ),
3168
+ ),
3169
+ ),
3170
+ ),
3171
+ ),
3172
+ ),
3173
+ 'DescribeServiceAccessPoliciesResponse' => array(
3174
+ 'type' => 'object',
3175
+ 'additionalProperties' => true,
3176
+ 'properties' => array(
3177
+ 'AccessPolicies' => array(
3178
+ 'type' => 'object',
3179
+ 'location' => 'xml',
3180
+ 'properties' => array(
3181
+ 'Options' => array(
3182
+ 'type' => 'string',
3183
+ ),
3184
+ 'Status' => array(
3185
+ 'type' => 'object',
3186
+ 'properties' => array(
3187
+ 'CreationDate' => array(
3188
+ 'type' => 'string',
3189
+ ),
3190
+ 'UpdateDate' => array(
3191
+ 'type' => 'string',
3192
+ ),
3193
+ 'UpdateVersion' => array(
3194
+ 'type' => 'numeric',
3195
+ ),
3196
+ 'State' => array(
3197
+ 'type' => 'string',
3198
+ ),
3199
+ 'PendingDeletion' => array(
3200
+ 'type' => 'boolean',
3201
+ ),
3202
+ ),
3203
+ ),
3204
+ ),
3205
+ ),
3206
+ ),
3207
+ ),
3208
+ 'DescribeSuggestersResponse' => array(
3209
+ 'type' => 'object',
3210
+ 'additionalProperties' => true,
3211
+ 'properties' => array(
3212
+ 'Suggesters' => array(
3213
+ 'type' => 'array',
3214
+ 'location' => 'xml',
3215
+ 'items' => array(
3216
+ 'name' => 'SuggesterStatus',
3217
+ 'type' => 'object',
3218
+ 'sentAs' => 'member',
3219
+ 'properties' => array(
3220
+ 'Options' => array(
3221
+ 'type' => 'object',
3222
+ 'properties' => array(
3223
+ 'SuggesterName' => array(
3224
+ 'type' => 'string',
3225
+ ),
3226
+ 'DocumentSuggesterOptions' => array(
3227
+ 'type' => 'object',
3228
+ 'properties' => array(
3229
+ 'SourceField' => array(
3230
+ 'type' => 'string',
3231
+ ),
3232
+ 'FuzzyMatching' => array(
3233
+ 'type' => 'string',
3234
+ ),
3235
+ 'SortExpression' => array(
3236
+ 'type' => 'string',
3237
+ ),
3238
+ ),
3239
+ ),
3240
+ ),
3241
+ ),
3242
+ 'Status' => array(
3243
+ 'type' => 'object',
3244
+ 'properties' => array(
3245
+ 'CreationDate' => array(
3246
+ 'type' => 'string',
3247
+ ),
3248
+ 'UpdateDate' => array(
3249
+ 'type' => 'string',
3250
+ ),
3251
+ 'UpdateVersion' => array(
3252
+ 'type' => 'numeric',
3253
+ ),
3254
+ 'State' => array(
3255
+ 'type' => 'string',
3256
+ ),
3257
+ 'PendingDeletion' => array(
3258
+ 'type' => 'boolean',
3259
+ ),
3260
+ ),
3261
+ ),
3262
+ ),
3263
+ ),
3264
+ ),
3265
+ ),
3266
+ ),
3267
+ 'IndexDocumentsResponse' => array(
3268
+ 'type' => 'object',
3269
+ 'additionalProperties' => true,
3270
+ 'properties' => array(
3271
+ 'FieldNames' => array(
3272
+ 'type' => 'array',
3273
+ 'location' => 'xml',
3274
+ 'items' => array(
3275
+ 'name' => 'FieldName',
3276
+ 'type' => 'string',
3277
+ 'sentAs' => 'member',
3278
+ ),
3279
+ ),
3280
+ ),
3281
+ ),
3282
+ 'ListDomainNamesResponse' => array(
3283
+ 'type' => 'object',
3284
+ 'additionalProperties' => true,
3285
+ 'properties' => array(
3286
+ 'DomainNames' => array(
3287
+ 'type' => 'array',
3288
+ 'location' => 'xml',
3289
+ 'filters' => array(
3290
+ array(
3291
+ 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap',
3292
+ 'args' => array(
3293
+ '@value',
3294
+ 'entry',
3295
+ 'key',
3296
+ 'value',
3297
+ ),
3298
+ ),
3299
+ ),
3300
+ 'items' => array(
3301
+ 'name' => 'entry',
3302
+ 'type' => 'object',
3303
+ 'sentAs' => 'entry',
3304
+ 'additionalProperties' => true,
3305
+ 'properties' => array(
3306
+ 'key' => array(
3307
+ 'type' => 'string',
3308
+ ),
3309
+ 'value' => array(
3310
+ 'type' => 'string',
3311
+ ),
3312
+ ),
3313
+ ),
3314
+ 'additionalProperties' => false,
3315
+ ),
3316
+ ),
3317
+ ),
3318
+ 'UpdateAvailabilityOptionsResponse' => array(
3319
+ 'type' => 'object',
3320
+ 'additionalProperties' => true,
3321
+ 'properties' => array(
3322
+ 'AvailabilityOptions' => array(
3323
+ 'type' => 'object',
3324
+ 'location' => 'xml',
3325
+ 'properties' => array(
3326
+ 'Options' => array(
3327
+ 'type' => 'boolean',
3328
+ ),
3329
+ 'Status' => array(
3330
+ 'type' => 'object',
3331
+ 'properties' => array(
3332
+ 'CreationDate' => array(
3333
+ 'type' => 'string',
3334
+ ),
3335
+ 'UpdateDate' => array(
3336
+ 'type' => 'string',
3337
+ ),
3338
+ 'UpdateVersion' => array(
3339
+ 'type' => 'numeric',
3340
+ ),
3341
+ 'State' => array(
3342
+ 'type' => 'string',
3343
+ ),
3344
+ 'PendingDeletion' => array(
3345
+ 'type' => 'boolean',
3346
+ ),
3347
+ ),
3348
+ ),
3349
+ ),
3350
+ ),
3351
+ ),
3352
+ ),
3353
+ 'UpdateScalingParametersResponse' => array(
3354
+ 'type' => 'object',
3355
+ 'additionalProperties' => true,
3356
+ 'properties' => array(
3357
+ 'ScalingParameters' => array(
3358
+ 'type' => 'object',
3359
+ 'location' => 'xml',
3360
+ 'properties' => array(
3361
+ 'Options' => array(
3362
+ 'type' => 'object',
3363
+ 'properties' => array(
3364
+ 'DesiredInstanceType' => array(
3365
+ 'type' => 'string',
3366
+ ),
3367
+ 'DesiredReplicationCount' => array(
3368
+ 'type' => 'numeric',
3369
+ ),
3370
+ 'DesiredPartitionCount' => array(
3371
+ 'type' => 'numeric',
3372
+ ),
3373
+ ),
3374
+ ),
3375
+ 'Status' => array(
3376
+ 'type' => 'object',
3377
+ 'properties' => array(
3378
+ 'CreationDate' => array(
3379
+ 'type' => 'string',
3380
+ ),
3381
+ 'UpdateDate' => array(
3382
+ 'type' => 'string',
3383
+ ),
3384
+ 'UpdateVersion' => array(
3385
+ 'type' => 'numeric',
3386
+ ),
3387
+ 'State' => array(
3388
+ 'type' => 'string',
3389
+ ),
3390
+ 'PendingDeletion' => array(
3391
+ 'type' => 'boolean',
3392
+ ),
3393
+ ),
3394
+ ),
3395
+ ),
3396
+ ),
3397
+ ),
3398
+ ),
3399
+ 'UpdateServiceAccessPoliciesResponse' => array(
3400
+ 'type' => 'object',
3401
+ 'additionalProperties' => true,
3402
+ 'properties' => array(
3403
+ 'AccessPolicies' => array(
3404
+ 'type' => 'object',
3405
+ 'location' => 'xml',
3406
+ 'properties' => array(
3407
+ 'Options' => array(
3408
+ 'type' => 'string',
3409
+ ),
3410
+ 'Status' => array(
3411
+ 'type' => 'object',
3412
+ 'properties' => array(
3413
+ 'CreationDate' => array(
3414
+ 'type' => 'string',
3415
+ ),
3416
+ 'UpdateDate' => array(
3417
+ 'type' => 'string',
3418
+ ),
3419
+ 'UpdateVersion' => array(
3420
+ 'type' => 'numeric',
3421
+ ),
3422
+ 'State' => array(
3423
+ 'type' => 'string',
3424
+ ),
3425
+ 'PendingDeletion' => array(
3426
+ 'type' => 'boolean',
3427
+ ),
3428
+ ),
3429
+ ),
3430
+ ),
3431
+ ),
3432
+ ),
3433
+ ),
3434
+ ),
3435
+ 'iterators' => array(
3436
+ 'DescribeAnalysisSchemes' => array(
3437
+ 'result_key' => 'AnalysisSchemes',
3438
+ ),
3439
+ 'DescribeDomains' => array(
3440
+ 'result_key' => 'DomainStatusList',
3441
+ ),
3442
+ 'DescribeExpressions' => array(
3443
+ 'result_key' => 'Expressions',
3444
+ ),
3445
+ 'DescribeIndexFields' => array(
3446
+ 'result_key' => 'IndexFields',
3447
+ ),
3448
+ 'DescribeSuggesters' => array(
3449
+ 'result_key' => 'Suggesters',
3450
+ ),
3451
+ ),
3452
+ );
vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClient.php ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudSearchDomain;
4
+
5
+ use Aws\Common\Client\AbstractClient;
6
+ use Aws\Common\Credentials\CredentialsInterface;
7
+ use Aws\Common\Enum\ClientOptions as Options;
8
+ use Aws\Common\Exception\BadMethodCallException;
9
+ use Guzzle\Common\Collection;
10
+ use Guzzle\Service\Resource\Model;
11
+
12
+ /**
13
+ * Client to interact with Amazon CloudSearchDomain
14
+ *
15
+ * @method Model search(array $args = array()) {@command CloudSearchDomain Search}
16
+ * @method Model suggest(array $args = array()) {@command CloudSearchDomain Suggest}
17
+ * @method Model uploadDocuments(array $args = array()) {@command CloudSearchDomain UploadDocuments}
18
+ *
19
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudsearchdomain.html User guide
20
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudSearchDomain.CloudSearchDomainClient.html API docs
21
+ */
22
+ class CloudSearchDomainClient extends AbstractClient
23
+ {
24
+ const LATEST_API_VERSION = '2013-01-01';
25
+
26
+ /**
27
+ * Factory method to create a new Amazon CloudSearchDomain client using an array of configuration options.
28
+ *
29
+ * You must provide the `base_url` option for this client, but credentials and `region` are not needed.
30
+ *
31
+ * @param array|Collection $config Client configuration data
32
+ *
33
+ * @return self
34
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
35
+ */
36
+ public static function factory($config = array())
37
+ {
38
+ return CloudSearchDomainClientBuilder::factory(__NAMESPACE__)
39
+ ->setConfig($config)
40
+ ->setConfigDefaults(array(
41
+ Options::VERSION => self::LATEST_API_VERSION,
42
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudsearchdomain-%s.php'
43
+ ))
44
+ ->build();
45
+ }
46
+
47
+ /**
48
+ * @internal
49
+ * @throws BadMethodCallException Do not call this method.
50
+ */
51
+ public function setRegion($region)
52
+ {
53
+ throw new BadMethodCallException('You cannot change the region of a CloudSearchDomain client.');
54
+ }
55
+ }
vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClientBuilder.php ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudSearchDomain;
4
+
5
+ use Aws\Common\Client\ClientBuilder;
6
+ use Aws\Common\Client\ThrottlingErrorChecker;
7
+ use Aws\Common\Client\UserAgentListener;
8
+ use Aws\Common\Credentials\Credentials;
9
+ use Aws\Common\Enum\ClientOptions as Options;
10
+ use Aws\Common\Exception\ExceptionListener;
11
+ use Aws\Common\Exception\InvalidArgumentException;
12
+ use Aws\Common\Exception\NamespaceExceptionFactory;
13
+ use Aws\Common\Exception\Parser\JsonQueryExceptionParser;
14
+ use Aws\Common\Signature\SignatureV4;
15
+ use Guzzle\Common\Collection;
16
+ use Guzzle\Http\Url;
17
+ use Guzzle\Plugin\Backoff\BackoffPlugin;
18
+ use Guzzle\Plugin\Backoff\CurlBackoffStrategy;
19
+ use Guzzle\Plugin\Backoff\ExponentialBackoffStrategy;
20
+ use Guzzle\Plugin\Backoff\HttpBackoffStrategy;
21
+ use Guzzle\Plugin\Backoff\TruncatedBackoffStrategy;
22
+ use Guzzle\Service\Description\ServiceDescription;
23
+
24
+ /**
25
+ * Builder for creating CloudSearchDomain clients
26
+ *
27
+ * @internal
28
+ */
29
+ class CloudSearchDomainClientBuilder extends ClientBuilder
30
+ {
31
+ protected static $commonConfigDefaults = array(
32
+ Options::SCHEME => 'https',
33
+ );
34
+
35
+ public function build()
36
+ {
37
+ // Resolve configuration
38
+ $config = Collection::fromConfig(
39
+ $this->config,
40
+ array_merge(self::$commonConfigDefaults, $this->configDefaults),
41
+ $this->configRequirements
42
+ );
43
+
44
+ // Make sure base_url is correctly set
45
+ if (!($baseUrl = $config->get(Options::BASE_URL))) {
46
+ throw new InvalidArgumentException('You must provide the endpoint for the CloudSearch domain.');
47
+ } elseif (strpos($baseUrl, 'http') !== 0) {
48
+ $config->set(Options::BASE_URL, Url::buildUrl(array(
49
+ 'scheme' => $config->get(Options::SCHEME),
50
+ 'host' => $baseUrl,
51
+ )));
52
+ }
53
+
54
+ // Determine the region from the endpoint
55
+ $endpoint = Url::factory($config->get(Options::BASE_URL));
56
+ list(,$region) = explode('.', $endpoint->getHost());
57
+ $config[Options::REGION] = $config[Options::SIGNATURE_REGION] = $region;
58
+
59
+ // Create dependencies
60
+ $exceptionParser = new JsonQueryExceptionParser();
61
+ $description = ServiceDescription::factory(sprintf(
62
+ $config->get(Options::SERVICE_DESCRIPTION),
63
+ $config->get(Options::VERSION)
64
+ ));
65
+ $signature = $this->getSignature($description, $config);
66
+ $credentials = $this->getCredentials($config);
67
+
68
+ // Resolve backoff strategy
69
+ $backoff = $config->get(Options::BACKOFF);
70
+ if ($backoff === null) {
71
+ $backoff = new BackoffPlugin(
72
+ // Retry failed requests up to 3 times if it is determined that the request can be retried
73
+ new TruncatedBackoffStrategy(3,
74
+ // Retry failed requests with 400-level responses due to throttling
75
+ new ThrottlingErrorChecker($exceptionParser,
76
+ // Retry failed requests due to transient network or cURL problems
77
+ new CurlBackoffStrategy(null,
78
+ // Retry failed requests with 500-level responses
79
+ new HttpBackoffStrategy(array(500, 503, 509),
80
+ new ExponentialBackoffStrategy()
81
+ )
82
+ )
83
+ )
84
+ )
85
+ );
86
+ $config->set(Options::BACKOFF, $backoff);
87
+ }
88
+ if ($backoff) {
89
+ $this->addBackoffLogger($backoff, $config);
90
+ }
91
+
92
+ // Create client
93
+ $client = new CloudSearchDomainClient($credentials, $signature, $config);
94
+ $client->setDescription($description);
95
+
96
+ // Add exception marshaling so that more descriptive exception are thrown
97
+ $client->addSubscriber(new ExceptionListener(new NamespaceExceptionFactory(
98
+ $exceptionParser,
99
+ __NAMESPACE__ . '\\Exception',
100
+ __NAMESPACE__ . '\\Exception\\CloudSearchDomainException'
101
+ )));
102
+
103
+ // Add the UserAgentPlugin to append to the User-Agent header of requests
104
+ $client->addSubscriber(new UserAgentListener);
105
+
106
+ // Filters used for the cache plugin
107
+ $client->getConfig()->set(
108
+ 'params.cache.key_filter',
109
+ 'header=date,x-amz-date,x-amz-security-token,x-amzn-authorization'
110
+ );
111
+
112
+ // Disable parameter validation if needed
113
+ if ($config->get(Options::VALIDATION) === false) {
114
+ $params = $config->get('command.params') ?: array();
115
+ $params['command.disable_validation'] = true;
116
+ $config->set('command.params', $params);
117
+ }
118
+
119
+ return $client;
120
+ }
121
+ }
vendor/aws/Aws/CloudSearchDomain/Exception/CloudSearchDomainException.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudSearchDomain\Exception;
4
+
5
+ use Aws\Common\Exception\ServiceResponseException;
6
+
7
+ /**
8
+ * Exception thrown by the CloudSearchDomain client.
9
+ */
10
+ class CloudSearchDomainException extends ServiceResponseException {}
vendor/aws/Aws/CloudSearchDomain/Resources/cloudsearchdomain-2013-01-01.php ADDED
@@ -0,0 +1,311 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ return array (
4
+ 'apiVersion' => '2013-01-01',
5
+ 'endpointPrefix' => 'cloudsearchdomain',
6
+ 'serviceFullName' => 'Amazon CloudSearchDomain',
7
+ 'serviceType' => 'rest-json',
8
+ 'signatureVersion' => 'v4',
9
+ 'signingName' => 'cloudsearch',
10
+ 'namespace' => 'CloudSearchDomain',
11
+ 'operations' => array(
12
+ 'Search' => array(
13
+ 'httpMethod' => 'GET',
14
+ 'uri' => '/2013-01-01/search?format=sdk&pretty=true',
15
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
16
+ 'responseClass' => 'SearchResponse',
17
+ 'responseType' => 'model',
18
+ 'parameters' => array(
19
+ 'cursor' => array(
20
+ 'type' => 'string',
21
+ 'location' => 'query',
22
+ ),
23
+ 'expr' => array(
24
+ 'type' => 'string',
25
+ 'location' => 'query',
26
+ ),
27
+ 'facet' => array(
28
+ 'type' => 'string',
29
+ 'location' => 'query',
30
+ ),
31
+ 'filterQuery' => array(
32
+ 'type' => 'string',
33
+ 'location' => 'query',
34
+ 'sentAs' => 'fq',
35
+ ),
36
+ 'highlight' => array(
37
+ 'type' => 'string',
38
+ 'location' => 'query',
39
+ ),
40
+ 'partial' => array(
41
+ 'type' => 'boolean',
42
+ 'format' => 'boolean-string',
43
+ 'location' => 'query',
44
+ ),
45
+ 'query' => array(
46
+ 'required' => true,
47
+ 'type' => 'string',
48
+ 'location' => 'query',
49
+ 'sentAs' => 'q',
50
+ ),
51
+ 'queryOptions' => array(
52
+ 'type' => 'string',
53
+ 'location' => 'query',
54
+ 'sentAs' => 'q.options',
55
+ ),
56
+ 'queryParser' => array(
57
+ 'type' => 'string',
58
+ 'location' => 'query',
59
+ 'sentAs' => 'q.parser',
60
+ ),
61
+ 'return' => array(
62
+ 'type' => 'string',
63
+ 'location' => 'query',
64
+ ),
65
+ 'size' => array(
66
+ 'type' => 'numeric',
67
+ 'location' => 'query',
68
+ ),
69
+ 'sort' => array(
70
+ 'type' => 'string',
71
+ 'location' => 'query',
72
+ ),
73
+ 'start' => array(
74
+ 'type' => 'numeric',
75
+ 'location' => 'query',
76
+ ),
77
+ ),
78
+ 'errorResponses' => array(
79
+ array(
80
+ 'reason' => 'Information about any problems encountered while processing a search request.',
81
+ 'class' => 'SearchException',
82
+ ),
83
+ ),
84
+ ),
85
+ 'Suggest' => array(
86
+ 'httpMethod' => 'GET',
87
+ 'uri' => '/2013-01-01/suggest?format=sdk&pretty=true',
88
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
89
+ 'responseClass' => 'SuggestResponse',
90
+ 'responseType' => 'model',
91
+ 'parameters' => array(
92
+ 'query' => array(
93
+ 'required' => true,
94
+ 'type' => 'string',
95
+ 'location' => 'query',
96
+ 'sentAs' => 'q',
97
+ ),
98
+ 'suggester' => array(
99
+ 'required' => true,
100
+ 'type' => 'string',
101
+ 'location' => 'query',
102
+ ),
103
+ 'size' => array(
104
+ 'type' => 'numeric',
105
+ 'location' => 'query',
106
+ ),
107
+ ),
108
+ 'errorResponses' => array(
109
+ array(
110
+ 'reason' => 'Information about any problems encountered while processing a search request.',
111
+ 'class' => 'SearchException',
112
+ ),
113
+ ),
114
+ ),
115
+ 'UploadDocuments' => array(
116
+ 'httpMethod' => 'POST',
117
+ 'uri' => '/2013-01-01/documents/batch?format=sdk',
118
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
119
+ 'responseClass' => 'UploadDocumentsResponse',
120
+ 'responseType' => 'model',
121
+ 'parameters' => array(
122
+ 'documents' => array(
123
+ 'required' => true,
124
+ 'type' => array(
125
+ 'string',
126
+ 'object',
127
+ ),
128
+ 'location' => 'body',
129
+ ),
130
+ 'contentType' => array(
131
+ 'required' => true,
132
+ 'type' => 'string',
133
+ 'location' => 'header',
134
+ 'sentAs' => 'Content-Type',
135
+ ),
136
+ ),
137
+ 'errorResponses' => array(
138
+ array(
139
+ 'reason' => 'Information about any problems encountered while processing an upload request.',
140
+ 'class' => 'DocumentServiceException',
141
+ ),
142
+ ),
143
+ ),
144
+ ),
145
+ 'models' => array(
146
+ 'SearchResponse' => array(
147
+ 'type' => 'object',
148
+ 'additionalProperties' => true,
149
+ 'properties' => array(
150
+ 'status' => array(
151
+ 'type' => 'object',
152
+ 'location' => 'json',
153
+ 'properties' => array(
154
+ 'timems' => array(
155
+ 'type' => 'numeric',
156
+ ),
157
+ 'rid' => array(
158
+ 'type' => 'string',
159
+ ),
160
+ ),
161
+ ),
162
+ 'hits' => array(
163
+ 'type' => 'object',
164
+ 'location' => 'json',
165
+ 'properties' => array(
166
+ 'found' => array(
167
+ 'type' => 'numeric',
168
+ ),
169
+ 'start' => array(
170
+ 'type' => 'numeric',
171
+ ),
172
+ 'cursor' => array(
173
+ 'type' => 'string',
174
+ ),
175
+ 'hit' => array(
176
+ 'type' => 'array',
177
+ 'items' => array(
178
+ 'name' => 'Hit',
179
+ 'type' => 'object',
180
+ 'properties' => array(
181
+ 'id' => array(
182
+ 'type' => 'string',
183
+ ),
184
+ 'fields' => array(
185
+ 'type' => 'object',
186
+ 'additionalProperties' => array(
187
+ 'type' => 'array',
188
+ 'items' => array(
189
+ 'name' => 'String',
190
+ 'type' => 'string',
191
+ ),
192
+ ),
193
+ ),
194
+ 'highlights' => array(
195
+ 'type' => 'object',
196
+ 'additionalProperties' => array(
197
+ 'type' => 'string',
198
+ ),
199
+ ),
200
+ ),
201
+ ),
202
+ ),
203
+ ),
204
+ ),
205
+ 'facets' => array(
206
+ 'type' => 'object',
207
+ 'location' => 'json',
208
+ 'additionalProperties' => array(
209
+ 'type' => 'object',
210
+ 'properties' => array(
211
+ 'buckets' => array(
212
+ 'type' => 'array',
213
+ 'items' => array(
214
+ 'name' => 'Bucket',
215
+ 'type' => 'object',
216
+ 'properties' => array(
217
+ 'value' => array(
218
+ 'type' => 'string',
219
+ ),
220
+ 'count' => array(
221
+ 'type' => 'numeric',
222
+ ),
223
+ ),
224
+ ),
225
+ ),
226
+ ),
227
+ ),
228
+ ),
229
+ ),
230
+ ),
231
+ 'SuggestResponse' => array(
232
+ 'type' => 'object',
233
+ 'additionalProperties' => true,
234
+ 'properties' => array(
235
+ 'status' => array(
236
+ 'type' => 'object',
237
+ 'location' => 'json',
238
+ 'properties' => array(
239
+ 'timems' => array(
240
+ 'type' => 'numeric',
241
+ ),
242
+ 'rid' => array(
243
+ 'type' => 'string',
244
+ ),
245
+ ),
246
+ ),
247
+ 'suggest' => array(
248
+ 'type' => 'object',
249
+ 'location' => 'json',
250
+ 'properties' => array(
251
+ 'query' => array(
252
+ 'type' => 'string',
253
+ ),
254
+ 'found' => array(
255
+ 'type' => 'numeric',
256
+ ),
257
+ 'suggestions' => array(
258
+ 'type' => 'array',
259
+ 'items' => array(
260
+ 'name' => 'SuggestionMatch',
261
+ 'type' => 'object',
262
+ 'properties' => array(
263
+ 'suggestion' => array(
264
+ 'type' => 'string',
265
+ ),
266
+ 'score' => array(
267
+ 'type' => 'numeric',
268
+ ),
269
+ 'id' => array(
270
+ 'type' => 'string',
271
+ ),
272
+ ),
273
+ ),
274
+ ),
275
+ ),
276
+ ),
277
+ ),
278
+ ),
279
+ 'UploadDocumentsResponse' => array(
280
+ 'type' => 'object',
281
+ 'additionalProperties' => true,
282
+ 'properties' => array(
283
+ 'status' => array(
284
+ 'type' => 'string',
285
+ 'location' => 'json',
286
+ ),
287
+ 'adds' => array(
288
+ 'type' => 'numeric',
289
+ 'location' => 'json',
290
+ ),
291
+ 'deletes' => array(
292
+ 'type' => 'numeric',
293
+ 'location' => 'json',
294
+ ),
295
+ 'warnings' => array(
296
+ 'type' => 'array',
297
+ 'location' => 'json',
298
+ 'items' => array(
299
+ 'name' => 'DocumentServiceWarning',
300
+ 'type' => 'object',
301
+ 'properties' => array(
302
+ 'message' => array(
303
+ 'type' => 'string',
304
+ ),
305
+ ),
306
+ ),
307
+ ),
308
+ ),
309
+ ),
310
+ ),
311
+ );
vendor/aws/Aws/CloudTrail/CloudTrailClient.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail;
18
+
19
+ use Aws\Common\Client\AbstractClient;
20
+ use Aws\Common\Client\ClientBuilder;
21
+ use Aws\Common\Enum\ClientOptions as Options;
22
+ use Aws\Common\Exception\Parser\JsonQueryExceptionParser;
23
+ use Guzzle\Common\Collection;
24
+ use Guzzle\Service\Resource\Model;
25
+
26
+ /**
27
+ * Client to interact with AWS CloudTrail
28
+ *
29
+ * @method Model createTrail(array $args = array()) {@command CloudTrail CreateTrail}
30
+ * @method Model deleteTrail(array $args = array()) {@command CloudTrail DeleteTrail}
31
+ * @method Model describeTrails(array $args = array()) {@command CloudTrail DescribeTrails}
32
+ * @method Model getTrailStatus(array $args = array()) {@command CloudTrail GetTrailStatus}
33
+ * @method Model startLogging(array $args = array()) {@command CloudTrail StartLogging}
34
+ * @method Model stopLogging(array $args = array()) {@command CloudTrail StopLogging}
35
+ * @method Model updateTrail(array $args = array()) {@command CloudTrail UpdateTrail}
36
+ * @method ResourceIteratorInterface getDescribeTrailsIterator(array $args = array()) The input array uses the parameters of the DescribeTrails operation
37
+ *
38
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudtrail.html User guide
39
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudTrail.CloudTrailClient.html API docs
40
+ */
41
+ class CloudTrailClient extends AbstractClient
42
+ {
43
+ const LATEST_API_VERSION = '2013-11-01';
44
+
45
+ /**
46
+ * Factory method to create a new AWS CloudTrail client using an array of configuration options.
47
+ *
48
+ * @param array|Collection $config Client configuration data
49
+ *
50
+ * @return self
51
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
52
+ */
53
+ public static function factory($config = array())
54
+ {
55
+ return ClientBuilder::factory(__NAMESPACE__)
56
+ ->setConfig($config)
57
+ ->setConfigDefaults(array(
58
+ Options::VERSION => self::LATEST_API_VERSION,
59
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudtrail-%s.php'
60
+ ))
61
+ ->setExceptionParser(new JsonQueryExceptionParser())
62
+ ->build();
63
+ }
64
+ }
vendor/aws/Aws/CloudTrail/Exception/CloudTrailException.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ use Aws\Common\Exception\ServiceResponseException;
20
+
21
+ /**
22
+ * Default service exception class
23
+ */
24
+ class CloudTrailException extends ServiceResponseException {}
vendor/aws/Aws/CloudTrail/Exception/InsufficientS3BucketPolicyException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the policy on the S3 bucket is not sufficient.
21
+ */
22
+ class InsufficientS3BucketPolicyException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/InsufficientSnsTopicPolicyException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the policy on the SNS topic is not sufficient.
21
+ */
22
+ class InsufficientSnsTopicPolicyException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/InternalErrorException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * Exception that occurs when a InternalErrorException error is encountered
21
+ */
22
+ class InternalErrorException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/InvalidS3BucketNameException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the provided S3 bucket name is not valid.
21
+ */
22
+ class InvalidS3BucketNameException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/InvalidS3PrefixException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the provided S3 prefix is not valid.
21
+ */
22
+ class InvalidS3PrefixException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/InvalidSnsTopicNameException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the provided SNS topic name is not valid.
21
+ */
22
+ class InvalidSnsTopicNameException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/InvalidTrailNameException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the provided trail name is not valid.
21
+ */
22
+ class InvalidTrailNameException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/MaximumNumberOfTrailsExceededException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the maximum number of trails is reached.
21
+ */
22
+ class MaximumNumberOfTrailsExceededException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/S3BucketDoesNotExistException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the specified S3 bucket does not exist.
21
+ */
22
+ class S3BucketDoesNotExistException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/TrailAlreadyExistsException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the specified trail already exists.
21
+ */
22
+ class TrailAlreadyExistsException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/TrailNotFoundException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when the trail with the given name is not found.
21
+ */
22
+ class TrailNotFoundException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/Exception/TrailNotProvidedException.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CloudTrail\Exception;
18
+
19
+ /**
20
+ * This exception is thrown when no trail is provided.
21
+ */
22
+ class TrailNotProvidedException extends CloudTrailException {}
vendor/aws/Aws/CloudTrail/LogFileIterator.php ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudTrail;
4
+
5
+ use Aws\Common\Exception\InvalidArgumentException;
6
+ use Aws\S3\S3Client;
7
+ use Aws\CloudTrail\Exception\CloudTrailException;
8
+ use Guzzle\Iterator\FilterIterator;
9
+
10
+ /**
11
+ * The `Aws\CloudTrail\LogFileIterator` provides an easy way to iterate over log file generated by AWS CloudTrail.
12
+ * CloudTrail log files contain data about your AWS API calls and are stored in Amazon S3 at a predictable path based on
13
+ * a bucket name, a key prefix, an account ID, a region, and date information. This class allows you to specify options,
14
+ * including a date range, and emits each log file that match the provided options.
15
+ *
16
+ * @yields array An array containing the Amazon S3 bucket and key of the log file
17
+ */
18
+ class LogFileIterator extends \IteratorIterator
19
+ {
20
+ // For internal use
21
+ const DEFAULT_TRAIL_NAME = 'Default';
22
+ const PREFIX_TEMPLATE = 'prefix/AWSLogs/account/CloudTrail/region/date/';
23
+ const PREFIX_WILDCARD = '*';
24
+
25
+ // Option names used internally or externally
26
+ const TRAIL_NAME = 'trail_name';
27
+ const KEY_PREFIX = 'key_prefix';
28
+ const START_DATE = 'start_date';
29
+ const END_DATE = 'end_date';
30
+ const ACCOUNT_ID = 'account_id';
31
+ const LOG_REGION = 'log_region';
32
+
33
+ /**
34
+ * @var S3Client The Amazon S3 client used to perform ListObjects operations
35
+ */
36
+ private $s3Client;
37
+
38
+ /**
39
+ * @var string The name of the Amazon S3 bucket that contains the log files published by AWS CloudTrail
40
+ */
41
+ private $s3BucketName;
42
+
43
+ /**
44
+ * Constructs a LogRecordIterator. This factory method is used if the name of the S3 bucket containing your logs is
45
+ * not known. This factory method uses a CloudTrail client and the trail name (or "Default") to find the
46
+ * information about the trail necessary for constructing the LogRecordIterator
47
+ *
48
+ * @param S3Client $s3Client
49
+ * @param CloudTrailClient $cloudTrailClient
50
+ * @param array $options
51
+ *
52
+ * @return LogRecordIterator
53
+ * @throws \Aws\Common\Exception\InvalidArgumentException
54
+ * @see LogRecordIterator::__contruct
55
+ */
56
+ public static function forTrail(S3Client $s3Client, CloudTrailClient $cloudTrailClient, array $options = array())
57
+ {
58
+ $trailName = isset($options[self::TRAIL_NAME]) ? $options[self::TRAIL_NAME] : self::DEFAULT_TRAIL_NAME;
59
+ $s3BucketName = null;
60
+
61
+ // Use the CloudTrail client to get information about the trail, including the bucket name
62
+ try {
63
+ $result = $cloudTrailClient->describeTrails(array(
64
+ 'trailNameList' => array($trailName),
65
+ ));
66
+ $s3BucketName = $result->getPath('trailList/0/S3BucketName');
67
+ $options[self::KEY_PREFIX] = $result->getPath('trailList/0/S3KeyPrefix');
68
+ } catch (CloudTrailException $e) {
69
+ // There was an error describing the trail
70
+ }
71
+
72
+ // If the bucket name is still unknown, then throw an exception
73
+ if (!$s3BucketName) {
74
+ $prev = isset($e) ? $e : null;
75
+ throw new InvalidArgumentException('The bucket name could not be determined from the trail.', 0, $prev);
76
+ }
77
+
78
+ return new self($s3Client, $s3BucketName, $options);
79
+ }
80
+
81
+ /**
82
+ * Constructs a LogFileIterator using the specified options:
83
+ *
84
+ * - trail_name: The name of the trail that is generating our logs. If none is provided, then "Default" will be
85
+ * used, since that is the name of the trail created in the AWS Management Console.
86
+ * - key_prefix: The S3 key prefix of your log files. This value will be overwritten when using the `fromTrail()`
87
+ * method. However, if you are using the constructor, then this value will be used.
88
+ * - start_date: The timestamp of the beginning of date range of the log records you want to read. You can pass this
89
+ * in as a `DateTime` object, integer (unix timestamp), or a string compatible with `strtotime()`.
90
+ * - end_date: The timestamp of the end of date range of the log records you want to read. You can pass this in as
91
+ * a `DateTime` object, integer (unix timestamp), or a string compatible with `strtotime()`.
92
+ * - account_id: This is your AWS account ID, which is the 12-digit number found on the *Account Identifiers*
93
+ * section of the *AWS Security Credentials* page. See https://console.aws.amazon.com/iam/home?#security_credential
94
+ * - log_region: The region of the services of the log records you want to read.
95
+ *
96
+ * @param S3Client $s3Client
97
+ * @param string $s3BucketName
98
+ * @param array $options
99
+ */
100
+ public function __construct(S3Client $s3Client, $s3BucketName, array $options = array())
101
+ {
102
+ $this->s3Client = $s3Client;
103
+ $this->s3BucketName = $s3BucketName;
104
+ parent::__construct($this->buildListObjectsIterator($options));
105
+ }
106
+
107
+ /**
108
+ * An override of the typical current behavior of \IteratorIterator to format the output such that the bucket and
109
+ * key are returned in an array
110
+ *
111
+ * @return array|bool
112
+ */
113
+ public function current()
114
+ {
115
+ if ($object = parent::current()) {
116
+ return array(
117
+ 'Bucket' => $this->s3BucketName,
118
+ 'Key' => $object['Key']
119
+ );
120
+ }
121
+
122
+ return false;
123
+ }
124
+
125
+ /**
126
+ * Constructs an S3 ListObjects iterator, optionally decorated with FilterIterators, based on the provided options
127
+ *
128
+ * @param array $options
129
+ *
130
+ * @return \Iterator
131
+ */
132
+ private function buildListObjectsIterator(array $options)
133
+ {
134
+ // Extract and normalize the date values from the options
135
+ $startDate = isset($options[self::START_DATE]) ? $this->normalizeDateValue($options[self::START_DATE]) : null;
136
+ $endDate = isset($options[self::END_DATE]) ? $this->normalizeDateValue($options[self::END_DATE]) : null;
137
+
138
+ // Determine the parts of the key prefix of the log files being read
139
+ $keyPrefixParts = array(
140
+ 'prefix' => isset($options[self::KEY_PREFIX]) ? $options[self::KEY_PREFIX] : null,
141
+ 'account' => isset($options[self::ACCOUNT_ID]) ? $options[self::ACCOUNT_ID] : self::PREFIX_WILDCARD,
142
+ 'region' => isset($options[self::LOG_REGION]) ? $options[self::LOG_REGION] : self::PREFIX_WILDCARD,
143
+ 'date' => $this->determineDateForPrefix($startDate, $endDate),
144
+ );
145
+
146
+ // Determine the longest key prefix that can be used to retrieve all of the relevant log files
147
+ $candidatePrefix = ltrim(strtr(self::PREFIX_TEMPLATE, $keyPrefixParts), '/');
148
+ $logKeyPrefix = $candidatePrefix;
149
+ if (($index = strpos($candidatePrefix, self::PREFIX_WILDCARD)) !== false) {
150
+ $logKeyPrefix = substr($candidatePrefix, 0, $index);
151
+ }
152
+
153
+ // Create an iterator that will emit all of the objects matching the key prefix
154
+ $objectsIterator = $this->s3Client->getListObjectsIterator(array(
155
+ 'Bucket' => $this->s3BucketName,
156
+ 'Prefix' => $logKeyPrefix,
157
+ ));
158
+
159
+ // Apply regex and/or date filters to the objects iterator to emit only log files matching the options
160
+ $objectsIterator = $this->applyRegexFilter($objectsIterator, $logKeyPrefix, $candidatePrefix);
161
+ $objectsIterator = $this->applyDateFilter($objectsIterator, $startDate, $endDate);
162
+
163
+ return $objectsIterator;
164
+ }
165
+
166
+ /**
167
+ * Normalizes a date value to a unix timestamp
168
+ *
169
+ * @param string|\DateTime|int $date
170
+ *
171
+ * @return int
172
+ * @throws \InvalidArgumentException if the value cannot be converted to a timestamp
173
+ */
174
+ private function normalizeDateValue($date)
175
+ {
176
+ // Normalize start date to a unix timestamp
177
+ if (is_string($date)) {
178
+ $date = strtotime($date);
179
+ } elseif ($date instanceof \DateTime) {
180
+ $date = $date->format('U');
181
+ } elseif (!is_int($date)) {
182
+ throw new \InvalidArgumentException('Date values must be a string, an int, or a DateTime object.');
183
+ }
184
+
185
+ return $date;
186
+ }
187
+
188
+ /**
189
+ * Uses the provided date values to determine the date portion of the prefix
190
+ */
191
+ private function determineDateForPrefix($startDate, $endDate)
192
+ {
193
+ // The default date value should look like "*/*/*" after joining
194
+ $dateParts = array_fill_keys(array('Y', 'm', 'd'), self::PREFIX_WILDCARD);
195
+
196
+ // Narrow down the date by replacing the WILDCARDs with values if they are the same for the start and end date
197
+ if ($startDate && $endDate) {
198
+ foreach ($dateParts as $key => &$value) {
199
+ $candidateValue = date($key, $startDate);
200
+ if ($candidateValue === date($key, $endDate)) {
201
+ $value = $candidateValue;
202
+ } else {
203
+ break;
204
+ }
205
+ }
206
+ }
207
+
208
+ return join('/', $dateParts);
209
+ }
210
+
211
+ /**
212
+ * Applies a regex iterator filter that limits the ListObjects result set based on the provided options
213
+ *
214
+ * @param \Iterator $objectsIterator
215
+ * @param string $logKeyPrefix
216
+ * @param string $candidatePrefix
217
+ *
218
+ * @return \Iterator
219
+ */
220
+ private function applyRegexFilter($objectsIterator, $logKeyPrefix, $candidatePrefix)
221
+ {
222
+ // If the prefix and candidate prefix are not the same, then there were WILDCARDs
223
+ if ($logKeyPrefix !== $candidatePrefix) {
224
+ // Turn the candidate prefix into a regex by trimming and converting WILDCARDs to regex notation
225
+ $regex = rtrim($candidatePrefix, '/' . self::PREFIX_WILDCARD) . '/';
226
+ $regex = strtr($regex, array(self::PREFIX_WILDCARD => '[^/]+'));
227
+
228
+ // After trimming WILDCARDs or the end, if the regex is the same as the prefix, then no regex is needed
229
+ if ($logKeyPrefix !== $regex) {
230
+ // Apply a regex filter iterator to remove files that don't match the provided options
231
+ $objectsIterator = new FilterIterator($objectsIterator, function ($object) use ($regex) {
232
+ return preg_match("#{$regex}#", $object['Key']);
233
+ });
234
+ }
235
+ }
236
+
237
+ return $objectsIterator;
238
+ }
239
+
240
+ /**
241
+ * Applies an iterator filter to restrict the ListObjects result set to the specified date range
242
+ *
243
+ * @param \Iterator $objectsIterator
244
+ * @param int $startDate
245
+ * @param int $endDate
246
+ *
247
+ * @return \Iterator
248
+ */
249
+ private function applyDateFilter($objectsIterator, $startDate, $endDate)
250
+ {
251
+ // If either a start or end date was provided, filter out dates that don't match the date range
252
+ if ($startDate || $endDate) {
253
+ $objectsIterator = new FilterIterator($objectsIterator, function ($object) use ($startDate, $endDate) {
254
+ if (preg_match('/[0-9]{8}T[0-9]{4}Z/', $object['Key'], $matches)) {
255
+ $date = strtotime($matches[0]);
256
+ if ((!$startDate || $date >= $startDate) && (!$endDate || $date <= $endDate)) {
257
+ return true;
258
+ }
259
+ }
260
+ return false;
261
+ });
262
+ }
263
+
264
+ return $objectsIterator;
265
+ }
266
+ }
vendor/aws/Aws/CloudTrail/LogFileReader.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudTrail;
4
+
5
+ use Aws\S3\S3Client;
6
+
7
+ /**
8
+ * This class provides an easy way to read log files generated by AWS CloudTrail. CloudTrail log files contain data
9
+ * about your AWS API calls and are stored in Amazon S3. The log files are gzipped and contain structured data in JSON
10
+ * format. This class will automatically ungzip and decode the data, and return the data as a array of log records
11
+ */
12
+ class LogFileReader
13
+ {
14
+ /**
15
+ * @var S3Client The Amazon S3 client used to perform GetObject operations
16
+ */
17
+ private $s3Client;
18
+
19
+ /**
20
+ * @param S3Client $s3Client
21
+ */
22
+ public function __construct(S3Client $s3Client)
23
+ {
24
+ $this->s3Client = $s3Client;
25
+ }
26
+
27
+ /**
28
+ * Downloads, unzips, and reads a CloudTrail log file from Amazon S3
29
+ *
30
+ * @param string $s3BucketName The bucket name of the log file in Amazon S3
31
+ * @param string $logFileKey The key of the log file in Amazon S3
32
+ *
33
+ * @return array
34
+ */
35
+ public function read($s3BucketName, $logFileKey)
36
+ {
37
+ // Create a command for getting the log file object
38
+ $command = $this->s3Client->getCommand('GetObject', array(
39
+ 'Bucket' => (string) $s3BucketName,
40
+ 'Key' => (string) $logFileKey,
41
+ ));
42
+
43
+ // Make sure gzip encoding header is sent and accepted in order to inflate the response data
44
+ $command->set('ResponseContentEncoding', 'x-gzip');
45
+ $command->prepare()->addHeader('Accept-Encoding', 'gzip');
46
+
47
+ // Get the JSON response data and extract the log records
48
+ $command->execute();
49
+ $logData = $command->getResponse()->json();
50
+ if (isset($logData['Records'])) {
51
+ return $logData['Records'];
52
+ } else {
53
+ return array();
54
+ }
55
+ }
56
+ }
vendor/aws/Aws/CloudTrail/LogRecordIterator.php ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudTrail;
4
+
5
+ use Aws\S3\S3Client;
6
+ use Guzzle\Common\Collection;
7
+
8
+ /**
9
+ * The `Aws\CloudTrail\LogRecordIterator` provides an easy way to iterate over log records from log files generated by
10
+ * AWS CloudTrail. CloudTrail log files contain data about your AWS API calls and are stored in Amazon S3 at a
11
+ * predictable path based on a bucket name, a key prefix, an account ID, a region, and date information. The files are
12
+ * gzipped and contain structured data in JSON format. This class allows you to specify options via its factory methods,
13
+ * including a date range, and emits each log record from any log files that match the provided options.
14
+ *
15
+ * @yields Collection A log record containing data about an AWS API call is yielded for each iteration on this object
16
+ */
17
+ class LogRecordIterator implements \OuterIterator
18
+ {
19
+ /**
20
+ * @var LogFileReader
21
+ */
22
+ private $logFileReader;
23
+
24
+ /**
25
+ * @var \Iterator
26
+ */
27
+ private $logFileIterator;
28
+
29
+ /**
30
+ * @var array
31
+ */
32
+ private $records;
33
+
34
+ /**
35
+ * @var int
36
+ */
37
+ private $recordIndex;
38
+
39
+ /**
40
+ * @param S3Client $s3Client
41
+ * @param CloudTrailClient $cloudTrailClient
42
+ * @param array $options
43
+ *
44
+ * @return LogRecordIterator
45
+ */
46
+ public static function forTrail(S3Client $s3Client, CloudTrailClient $cloudTrailClient, array $options = array())
47
+ {
48
+ $logFileReader = new LogFileReader($s3Client);
49
+ $logFileIterator = LogFileIterator::forTrail($s3Client, $cloudTrailClient, $options);
50
+
51
+ return new self($logFileReader, $logFileIterator);
52
+ }
53
+
54
+ /**
55
+ * @param S3Client $s3Client
56
+ * @param string $s3BucketName
57
+ * @param array $options
58
+ *
59
+ * @return LogRecordIterator
60
+ */
61
+ public static function forBucket(S3Client $s3Client, $s3BucketName, array $options = array())
62
+ {
63
+ $logFileReader = new LogFileReader($s3Client);
64
+ $logFileIterator = new LogFileIterator($s3Client, $s3BucketName, $options);
65
+
66
+ return new self($logFileReader, $logFileIterator);
67
+ }
68
+
69
+ /**
70
+ * @param S3Client $s3Client
71
+ * @param string $s3BucketName
72
+ * @param string $s3ObjectKey
73
+ *
74
+ * @return LogRecordIterator
75
+ */
76
+ public static function forFile(S3Client $s3Client, $s3BucketName, $s3ObjectKey)
77
+ {
78
+ $logFileReader = new LogFileReader($s3Client);
79
+ $logFileIterator = new \ArrayIterator(array(array(
80
+ 'Bucket' => $s3BucketName,
81
+ 'Key' => $s3ObjectKey,
82
+ )));
83
+
84
+ return new self($logFileReader, $logFileIterator);
85
+ }
86
+
87
+ /**
88
+ * @param LogFileReader $logFileReader
89
+ * @param \Iterator $logFileIterator
90
+ */
91
+ public function __construct(LogFileReader $logFileReader, \Iterator $logFileIterator)
92
+ {
93
+ $this->logFileReader = $logFileReader;
94
+ $this->logFileIterator = $logFileIterator;
95
+ $this->records = array();
96
+ $this->recordIndex = 0;
97
+ }
98
+
99
+ /**
100
+ * Returns the current log record as a Guzzle Collection object. This object behaves like an associative array
101
+ * except that it returns `null` on non-existent keys instead of causing an error. See the linked resources for the
102
+ * schema of the log record data and how to work with Guzzle Collections.
103
+ *
104
+ * @return Collection
105
+ * @link http://docs.aws.amazon.com/awscloudtrail/latest/userguide/eventreference.html
106
+ * @link http://api.guzzlephp.org/class-Guzzle.Common.Collection.html
107
+ */
108
+ public function current()
109
+ {
110
+ if ($this->valid()) {
111
+ return new Collection($this->records[$this->recordIndex]);
112
+ } else {
113
+ return false;
114
+ }
115
+ }
116
+
117
+ public function next()
118
+ {
119
+ $this->recordIndex++;
120
+
121
+ // If all the records have been exhausted, get more records from the next log file
122
+ while (!$this->valid()) {
123
+ $this->logFileIterator->next();
124
+ $success = $this->loadRecordsFromCurrentLogFile();
125
+ if (!$success) {
126
+ // The objects iterator is exhausted as well, so stop trying
127
+ break;
128
+ }
129
+ }
130
+ }
131
+
132
+ public function key()
133
+ {
134
+ if ($logFile = $this->logFileIterator->current()) {
135
+ return $logFile['Key'] . '.' . $this->recordIndex;
136
+ } else {
137
+ return null;
138
+ }
139
+ }
140
+
141
+ public function valid()
142
+ {
143
+ return isset($this->records[$this->recordIndex]);
144
+ }
145
+
146
+ public function rewind()
147
+ {
148
+ $this->logFileIterator->rewind();
149
+ $this->loadRecordsFromCurrentLogFile();
150
+ }
151
+
152
+ public function getInnerIterator()
153
+ {
154
+ return $this->logFileIterator;
155
+ }
156
+
157
+ /**
158
+ * Examines the current file in the `logFileIterator` and attempts to read it and load log records from it using
159
+ * the `logFileReader`. This method expects that items pulled from the iterator will take the form:
160
+ *
161
+ * array(
162
+ * 'Bucket' => '...',
163
+ * 'Key' => '...',
164
+ * )
165
+ *
166
+ * @return bool Returns `true` if records were loaded and `false` if no records were found
167
+ */
168
+ private function loadRecordsFromCurrentLogFile()
169
+ {
170
+ $this->recordIndex = 0;
171
+ $this->records = array();
172
+
173
+ $logFile = $this->logFileIterator->current();
174
+ if ($logFile && isset($logFile['Bucket']) && isset($logFile['Key'])) {
175
+ $this->records = $this->logFileReader->read($logFile['Bucket'], $logFile['Key']);
176
+ }
177
+
178
+ return (bool) $logFile;
179
+ }
180
+ }
vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php ADDED
@@ -0,0 +1,545 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ return array (
18
+ 'apiVersion' => '2013-11-01',
19
+ 'endpointPrefix' => 'cloudtrail',
20
+ 'serviceFullName' => 'AWS CloudTrail',
21
+ 'serviceAbbreviation' => 'CloudTrail',
22
+ 'serviceType' => 'json',
23
+ 'jsonVersion' => '1.1',
24
+ 'targetPrefix' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.',
25
+ 'signatureVersion' => 'v4',
26
+ 'namespace' => 'CloudTrail',
27
+ 'regions' => array(
28
+ 'ap-northeast-1' => array(
29
+ 'http' => false,
30
+ 'https' => true,
31
+ 'hostname' => 'cloudtrail.ap-northeast-1.amazonaws.com',
32
+ ),
33
+ 'ap-southeast-1' => array(
34
+ 'http' => false,
35
+ 'https' => true,
36
+ 'hostname' => 'cloudtrail.ap-southeast-1.amazonaws.com',
37
+ ),
38
+ 'ap-southeast-2' => array(
39
+ 'http' => false,
40
+ 'https' => true,
41
+ 'hostname' => 'cloudtrail.ap-southeast-2.amazonaws.com',
42
+ ),
43
+ 'eu-west-1' => array(
44
+ 'http' => false,
45
+ 'https' => true,
46
+ 'hostname' => 'cloudtrail.eu-west-1.amazonaws.com',
47
+ ),
48
+ 'us-east-1' => array(
49
+ 'http' => false,
50
+ 'https' => true,
51
+ 'hostname' => 'cloudtrail.us-east-1.amazonaws.com',
52
+ ),
53
+ 'us-west-1' => array(
54
+ 'http' => false,
55
+ 'https' => true,
56
+ 'hostname' => 'cloudtrail.us-west-1.amazonaws.com',
57
+ ),
58
+ 'us-west-2' => array(
59
+ 'http' => false,
60
+ 'https' => true,
61
+ 'hostname' => 'cloudtrail.us-west-2.amazonaws.com',
62
+ ),
63
+ 'sa-east-1' => array(
64
+ 'http' => false,
65
+ 'https' => true,
66
+ 'hostname' => 'cloudtrail.sa-east-1.amazonaws.com',
67
+ ),
68
+ ),
69
+ 'operations' => array(
70
+ 'CreateTrail' => array(
71
+ 'httpMethod' => 'POST',
72
+ 'uri' => '/',
73
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
74
+ 'responseClass' => 'CreateTrailResponse',
75
+ 'responseType' => 'model',
76
+ 'parameters' => array(
77
+ 'Content-Type' => array(
78
+ 'static' => true,
79
+ 'location' => 'header',
80
+ 'default' => 'application/x-amz-json-1.1',
81
+ ),
82
+ 'command.expects' => array(
83
+ 'static' => true,
84
+ 'default' => 'application/json',
85
+ ),
86
+ 'X-Amz-Target' => array(
87
+ 'static' => true,
88
+ 'location' => 'header',
89
+ 'default' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.CreateTrail',
90
+ ),
91
+ 'Name' => array(
92
+ 'required' => true,
93
+ 'type' => 'string',
94
+ 'location' => 'json',
95
+ ),
96
+ 'S3BucketName' => array(
97
+ 'required' => true,
98
+ 'type' => 'string',
99
+ 'location' => 'json',
100
+ ),
101
+ 'S3KeyPrefix' => array(
102
+ 'type' => 'string',
103
+ 'location' => 'json',
104
+ ),
105
+ 'SnsTopicName' => array(
106
+ 'type' => 'string',
107
+ 'location' => 'json',
108
+ ),
109
+ 'IncludeGlobalServiceEvents' => array(
110
+ 'type' => 'boolean',
111
+ 'format' => 'boolean-string',
112
+ 'location' => 'json',
113
+ ),
114
+ ),
115
+ 'errorResponses' => array(
116
+ array(
117
+ 'reason' => 'This exception is thrown when the maximum number of trails is reached.',
118
+ 'class' => 'MaximumNumberOfTrailsExceededException',
119
+ ),
120
+ array(
121
+ 'reason' => 'This exception is thrown when the specified trail already exists.',
122
+ 'class' => 'TrailAlreadyExistsException',
123
+ ),
124
+ array(
125
+ 'reason' => 'This exception is thrown when the specified S3 bucket does not exist.',
126
+ 'class' => 'S3BucketDoesNotExistException',
127
+ ),
128
+ array(
129
+ 'reason' => 'This exception is thrown when the policy on the S3 bucket is not sufficient.',
130
+ 'class' => 'InsufficientS3BucketPolicyException',
131
+ ),
132
+ array(
133
+ 'reason' => 'This exception is thrown when the policy on the SNS topic is not sufficient.',
134
+ 'class' => 'InsufficientSnsTopicPolicyException',
135
+ ),
136
+ array(
137
+ 'reason' => 'This exception is thrown when the provided S3 bucket name is not valid.',
138
+ 'class' => 'InvalidS3BucketNameException',
139
+ ),
140
+ array(
141
+ 'reason' => 'This exception is thrown when the provided S3 prefix is not valid.',
142
+ 'class' => 'InvalidS3PrefixException',
143
+ ),
144
+ array(
145
+ 'reason' => 'This exception is thrown when the provided SNS topic name is not valid.',
146
+ 'class' => 'InvalidSnsTopicNameException',
147
+ ),
148
+ array(
149
+ 'reason' => 'This exception is thrown when the provided trail name is not valid.',
150
+ 'class' => 'InvalidTrailNameException',
151
+ ),
152
+ ),
153
+ ),
154
+ 'DeleteTrail' => array(
155
+ 'httpMethod' => 'POST',
156
+ 'uri' => '/',
157
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
158
+ 'responseClass' => 'EmptyOutput',
159
+ 'responseType' => 'model',
160
+ 'parameters' => array(
161
+ 'Content-Type' => array(
162
+ 'static' => true,
163
+ 'location' => 'header',
164
+ 'default' => 'application/x-amz-json-1.1',
165
+ ),
166
+ 'command.expects' => array(
167
+ 'static' => true,
168
+ 'default' => 'application/json',
169
+ ),
170
+ 'X-Amz-Target' => array(
171
+ 'static' => true,
172
+ 'location' => 'header',
173
+ 'default' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.DeleteTrail',
174
+ ),
175
+ 'Name' => array(
176
+ 'required' => true,
177
+ 'type' => 'string',
178
+ 'location' => 'json',
179
+ ),
180
+ ),
181
+ 'errorResponses' => array(
182
+ array(
183
+ 'reason' => 'This exception is thrown when the trail with the given name is not found.',
184
+ 'class' => 'TrailNotFoundException',
185
+ ),
186
+ array(
187
+ 'reason' => 'This exception is thrown when the provided trail name is not valid.',
188
+ 'class' => 'InvalidTrailNameException',
189
+ ),
190
+ ),
191
+ ),
192
+ 'DescribeTrails' => array(
193
+ 'httpMethod' => 'POST',
194
+ 'uri' => '/',
195
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
196
+ 'responseClass' => 'DescribeTrailsResponse',
197
+ 'responseType' => 'model',
198
+ 'parameters' => array(
199
+ 'Content-Type' => array(
200
+ 'static' => true,
201
+ 'location' => 'header',
202
+ 'default' => 'application/x-amz-json-1.1',
203
+ ),
204
+ 'command.expects' => array(
205
+ 'static' => true,
206
+ 'default' => 'application/json',
207
+ ),
208
+ 'X-Amz-Target' => array(
209
+ 'static' => true,
210
+ 'location' => 'header',
211
+ 'default' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.DescribeTrails',
212
+ ),
213
+ 'trailNameList' => array(
214
+ 'type' => 'array',
215
+ 'location' => 'json',
216
+ 'items' => array(
217
+ 'name' => 'String',
218
+ 'type' => 'string',
219
+ ),
220
+ ),
221
+ ),
222
+ ),
223
+ 'GetTrailStatus' => array(
224
+ 'httpMethod' => 'POST',
225
+ 'uri' => '/',
226
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
227
+ 'responseClass' => 'GetTrailStatusResponse',
228
+ 'responseType' => 'model',
229
+ 'parameters' => array(
230
+ 'Content-Type' => array(
231
+ 'static' => true,
232
+ 'location' => 'header',
233
+ 'default' => 'application/x-amz-json-1.1',
234
+ ),
235
+ 'command.expects' => array(
236
+ 'static' => true,
237
+ 'default' => 'application/json',
238
+ ),
239
+ 'X-Amz-Target' => array(
240
+ 'static' => true,
241
+ 'location' => 'header',
242
+ 'default' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.GetTrailStatus',
243
+ ),
244
+ 'Name' => array(
245
+ 'required' => true,
246
+ 'type' => 'string',
247
+ 'location' => 'json',
248
+ ),
249
+ ),
250
+ 'errorResponses' => array(
251
+ array(
252
+ 'reason' => 'This exception is thrown when the trail with the given name is not found.',
253
+ 'class' => 'TrailNotFoundException',
254
+ ),
255
+ array(
256
+ 'reason' => 'This exception is thrown when the provided trail name is not valid.',
257
+ 'class' => 'InvalidTrailNameException',
258
+ ),
259
+ ),
260
+ ),
261
+ 'StartLogging' => array(
262
+ 'httpMethod' => 'POST',
263
+ 'uri' => '/',
264
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
265
+ 'responseClass' => 'EmptyOutput',
266
+ 'responseType' => 'model',
267
+ 'parameters' => array(
268
+ 'Content-Type' => array(
269
+ 'static' => true,
270
+ 'location' => 'header',
271
+ 'default' => 'application/x-amz-json-1.1',
272
+ ),
273
+ 'command.expects' => array(
274
+ 'static' => true,
275
+ 'default' => 'application/json',
276
+ ),
277
+ 'X-Amz-Target' => array(
278
+ 'static' => true,
279
+ 'location' => 'header',
280
+ 'default' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.StartLogging',
281
+ ),
282
+ 'Name' => array(
283
+ 'required' => true,
284
+ 'type' => 'string',
285
+ 'location' => 'json',
286
+ ),
287
+ ),
288
+ 'errorResponses' => array(
289
+ array(
290
+ 'reason' => 'This exception is thrown when the trail with the given name is not found.',
291
+ 'class' => 'TrailNotFoundException',
292
+ ),
293
+ array(
294
+ 'reason' => 'This exception is thrown when the provided trail name is not valid.',
295
+ 'class' => 'InvalidTrailNameException',
296
+ ),
297
+ ),
298
+ ),
299
+ 'StopLogging' => array(
300
+ 'httpMethod' => 'POST',
301
+ 'uri' => '/',
302
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
303
+ 'responseClass' => 'EmptyOutput',
304
+ 'responseType' => 'model',
305
+ 'parameters' => array(
306
+ 'Content-Type' => array(
307
+ 'static' => true,
308
+ 'location' => 'header',
309
+ 'default' => 'application/x-amz-json-1.1',
310
+ ),
311
+ 'command.expects' => array(
312
+ 'static' => true,
313
+ 'default' => 'application/json',
314
+ ),
315
+ 'X-Amz-Target' => array(
316
+ 'static' => true,
317
+ 'location' => 'header',
318
+ 'default' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.StopLogging',
319
+ ),
320
+ 'Name' => array(
321
+ 'required' => true,
322
+ 'type' => 'string',
323
+ 'location' => 'json',
324
+ ),
325
+ ),
326
+ 'errorResponses' => array(
327
+ array(
328
+ 'reason' => 'This exception is thrown when the trail with the given name is not found.',
329
+ 'class' => 'TrailNotFoundException',
330
+ ),
331
+ array(
332
+ 'reason' => 'This exception is thrown when the provided trail name is not valid.',
333
+ 'class' => 'InvalidTrailNameException',
334
+ ),
335
+ ),
336
+ ),
337
+ 'UpdateTrail' => array(
338
+ 'httpMethod' => 'POST',
339
+ 'uri' => '/',
340
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
341
+ 'responseClass' => 'UpdateTrailResponse',
342
+ 'responseType' => 'model',
343
+ 'parameters' => array(
344
+ 'Content-Type' => array(
345
+ 'static' => true,
346
+ 'location' => 'header',
347
+ 'default' => 'application/x-amz-json-1.1',
348
+ ),
349
+ 'command.expects' => array(
350
+ 'static' => true,
351
+ 'default' => 'application/json',
352
+ ),
353
+ 'X-Amz-Target' => array(
354
+ 'static' => true,
355
+ 'location' => 'header',
356
+ 'default' => 'com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.UpdateTrail',
357
+ ),
358
+ 'Name' => array(
359
+ 'required' => true,
360
+ 'type' => 'string',
361
+ 'location' => 'json',
362
+ ),
363
+ 'S3BucketName' => array(
364
+ 'type' => 'string',
365
+ 'location' => 'json',
366
+ ),
367
+ 'S3KeyPrefix' => array(
368
+ 'type' => 'string',
369
+ 'location' => 'json',
370
+ ),
371
+ 'SnsTopicName' => array(
372
+ 'type' => 'string',
373
+ 'location' => 'json',
374
+ ),
375
+ 'IncludeGlobalServiceEvents' => array(
376
+ 'type' => 'boolean',
377
+ 'format' => 'boolean-string',
378
+ 'location' => 'json',
379
+ ),
380
+ ),
381
+ 'errorResponses' => array(
382
+ array(
383
+ 'reason' => 'This exception is thrown when the specified S3 bucket does not exist.',
384
+ 'class' => 'S3BucketDoesNotExistException',
385
+ ),
386
+ array(
387
+ 'reason' => 'This exception is thrown when the policy on the S3 bucket is not sufficient.',
388
+ 'class' => 'InsufficientS3BucketPolicyException',
389
+ ),
390
+ array(
391
+ 'reason' => 'This exception is thrown when the policy on the SNS topic is not sufficient.',
392
+ 'class' => 'InsufficientSnsTopicPolicyException',
393
+ ),
394
+ array(
395
+ 'reason' => 'This exception is thrown when the trail with the given name is not found.',
396
+ 'class' => 'TrailNotFoundException',
397
+ ),
398
+ array(
399
+ 'reason' => 'This exception is thrown when the provided S3 bucket name is not valid.',
400
+ 'class' => 'InvalidS3BucketNameException',
401
+ ),
402
+ array(
403
+ 'reason' => 'This exception is thrown when the provided S3 prefix is not valid.',
404
+ 'class' => 'InvalidS3PrefixException',
405
+ ),
406
+ array(
407
+ 'reason' => 'This exception is thrown when the provided SNS topic name is not valid.',
408
+ 'class' => 'InvalidSnsTopicNameException',
409
+ ),
410
+ array(
411
+ 'reason' => 'This exception is thrown when the provided trail name is not valid.',
412
+ 'class' => 'InvalidTrailNameException',
413
+ ),
414
+ ),
415
+ ),
416
+ ),
417
+ 'models' => array(
418
+ 'CreateTrailResponse' => array(
419
+ 'type' => 'object',
420
+ 'additionalProperties' => true,
421
+ 'properties' => array(
422
+ 'Name' => array(
423
+ 'type' => 'string',
424
+ 'location' => 'json',
425
+ ),
426
+ 'S3BucketName' => array(
427
+ 'type' => 'string',
428
+ 'location' => 'json',
429
+ ),
430
+ 'S3KeyPrefix' => array(
431
+ 'type' => 'string',
432
+ 'location' => 'json',
433
+ ),
434
+ 'SnsTopicName' => array(
435
+ 'type' => 'string',
436
+ 'location' => 'json',
437
+ ),
438
+ 'IncludeGlobalServiceEvents' => array(
439
+ 'type' => 'boolean',
440
+ 'location' => 'json',
441
+ ),
442
+ ),
443
+ ),
444
+ 'EmptyOutput' => array(
445
+ 'type' => 'object',
446
+ 'additionalProperties' => true,
447
+ ),
448
+ 'DescribeTrailsResponse' => array(
449
+ 'type' => 'object',
450
+ 'additionalProperties' => true,
451
+ 'properties' => array(
452
+ 'trailList' => array(
453
+ 'type' => 'array',
454
+ 'location' => 'json',
455
+ 'items' => array(
456
+ 'name' => 'Trail',
457
+ 'type' => 'object',
458
+ 'properties' => array(
459
+ 'Name' => array(
460
+ 'type' => 'string',
461
+ ),
462
+ 'S3BucketName' => array(
463
+ 'type' => 'string',
464
+ ),
465
+ 'S3KeyPrefix' => array(
466
+ 'type' => 'string',
467
+ ),
468
+ 'SnsTopicName' => array(
469
+ 'type' => 'string',
470
+ ),
471
+ 'IncludeGlobalServiceEvents' => array(
472
+ 'type' => 'boolean',
473
+ ),
474
+ ),
475
+ ),
476
+ ),
477
+ ),
478
+ ),
479
+ 'GetTrailStatusResponse' => array(
480
+ 'type' => 'object',
481
+ 'additionalProperties' => true,
482
+ 'properties' => array(
483
+ 'IsLogging' => array(
484
+ 'type' => 'boolean',
485
+ 'location' => 'json',
486
+ ),
487
+ 'LatestDeliveryError' => array(
488
+ 'type' => 'string',
489
+ 'location' => 'json',
490
+ ),
491
+ 'LatestNotificationError' => array(
492
+ 'type' => 'string',
493
+ 'location' => 'json',
494
+ ),
495
+ 'LatestDeliveryTime' => array(
496
+ 'type' => 'string',
497
+ 'location' => 'json',
498
+ ),
499
+ 'LatestNotificationTime' => array(
500
+ 'type' => 'string',
501
+ 'location' => 'json',
502
+ ),
503
+ 'StartLoggingTime' => array(
504
+ 'type' => 'string',
505
+ 'location' => 'json',
506
+ ),
507
+ 'StopLoggingTime' => array(
508
+ 'type' => 'string',
509
+ 'location' => 'json',
510
+ ),
511
+ ),
512
+ ),
513
+ 'UpdateTrailResponse' => array(
514
+ 'type' => 'object',
515
+ 'additionalProperties' => true,
516
+ 'properties' => array(
517
+ 'Name' => array(
518
+ 'type' => 'string',
519
+ 'location' => 'json',
520
+ ),
521
+ 'S3BucketName' => array(
522
+ 'type' => 'string',
523
+ 'location' => 'json',
524
+ ),
525
+ 'S3KeyPrefix' => array(
526
+ 'type' => 'string',
527
+ 'location' => 'json',
528
+ ),
529
+ 'SnsTopicName' => array(
530
+ 'type' => 'string',
531
+ 'location' => 'json',
532
+ ),
533
+ 'IncludeGlobalServiceEvents' => array(
534
+ 'type' => 'boolean',
535
+ 'location' => 'json',
536
+ ),
537
+ ),
538
+ ),
539
+ ),
540
+ 'iterators' => array(
541
+ 'DescribeTrails' => array(
542
+ 'result_key' => 'trailList',
543
+ ),
544
+ ),
545
+ );
vendor/aws/Aws/CloudWatch/CloudWatchClient.php CHANGED
@@ -42,8 +42,8 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
42
  * @method ResourceIteratorInterface getDescribeAlarmsForMetricIterator(array $args = array()) The input array uses the parameters of the DescribeAlarmsForMetric operation
43
  * @method ResourceIteratorInterface getListMetricsIterator(array $args = array()) The input array uses the parameters of the ListMetrics operation
44
  *
45
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudwatch.html User guide
46
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudWatch.CloudWatchClient.html API docs
47
  */
48
  class CloudWatchClient extends AbstractClient
49
  {
@@ -55,7 +55,7 @@ class CloudWatchClient extends AbstractClient
55
  * @param array|Collection $config Client configuration data
56
  *
57
  * @return self
58
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
59
  */
60
  public static function factory($config = array())
61
  {
42
  * @method ResourceIteratorInterface getDescribeAlarmsForMetricIterator(array $args = array()) The input array uses the parameters of the DescribeAlarmsForMetric operation
43
  * @method ResourceIteratorInterface getListMetricsIterator(array $args = array()) The input array uses the parameters of the ListMetrics operation
44
  *
45
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudwatch.html User guide
46
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudWatch.CloudWatchClient.html API docs
47
  */
48
  class CloudWatchClient extends AbstractClient
49
  {
55
  * @param array|Collection $config Client configuration data
56
  *
57
  * @return self
58
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
59
  */
60
  public static function factory($config = array())
61
  {
vendor/aws/Aws/CloudWatch/Enum/ComparisonOperator.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Enum/HistoryItemType.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Enum/StateValue.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Enum/Statistic.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Enum/Unit.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/CloudWatchException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/InternalServiceException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/InvalidFormatException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/InvalidNextTokenException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/InvalidParameterCombinationException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/InvalidParameterValueException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/LimitExceededException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/MissingRequiredParameterException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Exception/ResourceNotFoundException.php CHANGED
File without changes
vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php CHANGED
@@ -21,7 +21,7 @@ return array (
21
  'serviceAbbreviation' => 'CloudWatch',
22
  'serviceType' => 'query',
23
  'resultWrapped' => true,
24
- 'signatureVersion' => 'v2',
25
  'namespace' => 'CloudWatch',
26
  'regions' => array(
27
  'us-east-1' => array(
@@ -64,6 +64,11 @@ return array (
64
  'https' => true,
65
  'hostname' => 'monitoring.sa-east-1.amazonaws.com',
66
  ),
 
 
 
 
 
67
  'us-gov-west-1' => array(
68
  'http' => false,
69
  'https' => true,
@@ -135,11 +140,6 @@ return array (
135
  'HistoryItemType' => array(
136
  'type' => 'string',
137
  'location' => 'aws.query',
138
- 'enum' => array(
139
- 'ConfigurationUpdate',
140
- 'StateUpdate',
141
- 'Action',
142
- ),
143
  ),
144
  'StartDate' => array(
145
  'type' => array(
@@ -215,11 +215,6 @@ return array (
215
  'StateValue' => array(
216
  'type' => 'string',
217
  'location' => 'aws.query',
218
- 'enum' => array(
219
- 'OK',
220
- 'ALARM',
221
- 'INSUFFICIENT_DATA',
222
- ),
223
  ),
224
  'ActionPrefix' => array(
225
  'type' => 'string',
@@ -279,13 +274,6 @@ return array (
279
  'Statistic' => array(
280
  'type' => 'string',
281
  'location' => 'aws.query',
282
- 'enum' => array(
283
- 'SampleCount',
284
- 'Average',
285
- 'Sum',
286
- 'Minimum',
287
- 'Maximum',
288
- ),
289
  ),
290
  'Dimensions' => array(
291
  'type' => 'array',
@@ -319,35 +307,6 @@ return array (
319
  'Unit' => array(
320
  'type' => 'string',
321
  'location' => 'aws.query',
322
- 'enum' => array(
323
- 'Seconds',
324
- 'Microseconds',
325
- 'Milliseconds',
326
- 'Bytes',
327
- 'Kilobytes',
328
- 'Megabytes',
329
- 'Gigabytes',
330
- 'Terabytes',
331
- 'Bits',
332
- 'Kilobits',
333
- 'Megabits',
334
- 'Gigabits',
335
- 'Terabits',
336
- 'Percent',
337
- 'Count',
338
- 'Bytes/Second',
339
- 'Kilobytes/Second',
340
- 'Megabytes/Second',
341
- 'Gigabytes/Second',
342
- 'Terabytes/Second',
343
- 'Bits/Second',
344
- 'Kilobits/Second',
345
- 'Megabits/Second',
346
- 'Gigabits/Second',
347
- 'Terabits/Second',
348
- 'Count/Second',
349
- 'None',
350
- ),
351
  ),
352
  ),
353
  ),
@@ -506,47 +465,11 @@ return array (
506
  'items' => array(
507
  'name' => 'Statistic',
508
  'type' => 'string',
509
- 'enum' => array(
510
- 'SampleCount',
511
- 'Average',
512
- 'Sum',
513
- 'Minimum',
514
- 'Maximum',
515
- ),
516
  ),
517
  ),
518
  'Unit' => array(
519
  'type' => 'string',
520
  'location' => 'aws.query',
521
- 'enum' => array(
522
- 'Seconds',
523
- 'Microseconds',
524
- 'Milliseconds',
525
- 'Bytes',
526
- 'Kilobytes',
527
- 'Megabytes',
528
- 'Gigabytes',
529
- 'Terabytes',
530
- 'Bits',
531
- 'Kilobits',
532
- 'Megabits',
533
- 'Gigabits',
534
- 'Terabits',
535
- 'Percent',
536
- 'Count',
537
- 'Bytes/Second',
538
- 'Kilobytes/Second',
539
- 'Megabytes/Second',
540
- 'Gigabytes/Second',
541
- 'Terabytes/Second',
542
- 'Bits/Second',
543
- 'Kilobits/Second',
544
- 'Megabits/Second',
545
- 'Gigabits/Second',
546
- 'Terabits/Second',
547
- 'Count/Second',
548
- 'None',
549
- ),
550
  ),
551
  ),
552
  'errorResponses' => array(
@@ -724,13 +647,6 @@ return array (
724
  'required' => true,
725
  'type' => 'string',
726
  'location' => 'aws.query',
727
- 'enum' => array(
728
- 'SampleCount',
729
- 'Average',
730
- 'Sum',
731
- 'Minimum',
732
- 'Maximum',
733
- ),
734
  ),
735
  'Dimensions' => array(
736
  'type' => 'array',
@@ -765,35 +681,6 @@ return array (
765
  'Unit' => array(
766
  'type' => 'string',
767
  'location' => 'aws.query',
768
- 'enum' => array(
769
- 'Seconds',
770
- 'Microseconds',
771
- 'Milliseconds',
772
- 'Bytes',
773
- 'Kilobytes',
774
- 'Megabytes',
775
- 'Gigabytes',
776
- 'Terabytes',
777
- 'Bits',
778
- 'Kilobits',
779
- 'Megabits',
780
- 'Gigabits',
781
- 'Terabits',
782
- 'Percent',
783
- 'Count',
784
- 'Bytes/Second',
785
- 'Kilobytes/Second',
786
- 'Megabytes/Second',
787
- 'Gigabytes/Second',
788
- 'Terabytes/Second',
789
- 'Bits/Second',
790
- 'Kilobits/Second',
791
- 'Megabits/Second',
792
- 'Gigabits/Second',
793
- 'Terabits/Second',
794
- 'Count/Second',
795
- 'None',
796
- ),
797
  ),
798
  'EvaluationPeriods' => array(
799
  'required' => true,
@@ -810,12 +697,6 @@ return array (
810
  'required' => true,
811
  'type' => 'string',
812
  'location' => 'aws.query',
813
- 'enum' => array(
814
- 'GreaterThanOrEqualToThreshold',
815
- 'GreaterThanThreshold',
816
- 'LessThanThreshold',
817
- 'LessThanOrEqualToThreshold',
818
- ),
819
  ),
820
  ),
821
  'errorResponses' => array(
@@ -921,35 +802,6 @@ return array (
921
  ),
922
  'Unit' => array(
923
  'type' => 'string',
924
- 'enum' => array(
925
- 'Seconds',
926
- 'Microseconds',
927
- 'Milliseconds',
928
- 'Bytes',
929
- 'Kilobytes',
930
- 'Megabytes',
931
- 'Gigabytes',
932
- 'Terabytes',
933
- 'Bits',
934
- 'Kilobits',
935
- 'Megabits',
936
- 'Gigabits',
937
- 'Terabits',
938
- 'Percent',
939
- 'Count',
940
- 'Bytes/Second',
941
- 'Kilobytes/Second',
942
- 'Megabytes/Second',
943
- 'Gigabytes/Second',
944
- 'Terabytes/Second',
945
- 'Bits/Second',
946
- 'Kilobits/Second',
947
- 'Megabits/Second',
948
- 'Gigabits/Second',
949
- 'Terabits/Second',
950
- 'Count/Second',
951
- 'None',
952
- ),
953
  ),
954
  ),
955
  ),
@@ -1002,11 +854,6 @@ return array (
1002
  'required' => true,
1003
  'type' => 'string',
1004
  'location' => 'aws.query',
1005
- 'enum' => array(
1006
- 'OK',
1007
- 'ALARM',
1008
- 'INSUFFICIENT_DATA',
1009
- ),
1010
  ),
1011
  'StateReason' => array(
1012
  'required' => true,
@@ -1380,27 +1227,25 @@ return array (
1380
  ),
1381
  ),
1382
  'iterators' => array(
1383
- 'operations' => array(
1384
- 'DescribeAlarmHistory' => array(
1385
- 'token_param' => 'NextToken',
1386
- 'token_key' => 'NextToken',
1387
- 'limit_key' => 'MaxRecords',
1388
- 'result_key' => 'AlarmHistoryItems',
1389
- ),
1390
- 'DescribeAlarms' => array(
1391
- 'token_param' => 'NextToken',
1392
- 'token_key' => 'NextToken',
1393
- 'limit_key' => 'MaxRecords',
1394
- 'result_key' => 'MetricAlarms',
1395
- ),
1396
- 'DescribeAlarmsForMetric' => array(
1397
- 'result_key' => 'MetricAlarms',
1398
- ),
1399
- 'ListMetrics' => array(
1400
- 'token_param' => 'NextToken',
1401
- 'token_key' => 'NextToken',
1402
- 'result_key' => 'Metrics',
1403
- ),
1404
  ),
1405
  ),
1406
  );
21
  'serviceAbbreviation' => 'CloudWatch',
22
  'serviceType' => 'query',
23
  'resultWrapped' => true,
24
+ 'signatureVersion' => 'v4',
25
  'namespace' => 'CloudWatch',
26
  'regions' => array(
27
  'us-east-1' => array(
64
  'https' => true,
65
  'hostname' => 'monitoring.sa-east-1.amazonaws.com',
66
  ),
67
+ 'cn-north-1' => array(
68
+ 'http' => true,
69
+ 'https' => true,
70
+ 'hostname' => 'monitoring.cn-north-1.amazonaws.com.cn',
71
+ ),
72
  'us-gov-west-1' => array(
73
  'http' => false,
74
  'https' => true,
140
  'HistoryItemType' => array(
141
  'type' => 'string',
142
  'location' => 'aws.query',
 
 
 
 
 
143
  ),
144
  'StartDate' => array(
145
  'type' => array(
215
  'StateValue' => array(
216
  'type' => 'string',
217
  'location' => 'aws.query',
 
 
 
 
 
218
  ),
219
  'ActionPrefix' => array(
220
  'type' => 'string',
274
  'Statistic' => array(
275
  'type' => 'string',
276
  'location' => 'aws.query',
 
 
 
 
 
 
 
277
  ),
278
  'Dimensions' => array(
279
  'type' => 'array',
307
  'Unit' => array(
308
  'type' => 'string',
309
  'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  ),
311
  ),
312
  ),
465
  'items' => array(
466
  'name' => 'Statistic',
467
  'type' => 'string',
 
 
 
 
 
 
 
468
  ),
469
  ),
470
  'Unit' => array(
471
  'type' => 'string',
472
  'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
473
  ),
474
  ),
475
  'errorResponses' => array(
647
  'required' => true,
648
  'type' => 'string',
649
  'location' => 'aws.query',
 
 
 
 
 
 
 
650
  ),
651
  'Dimensions' => array(
652
  'type' => 'array',
681
  'Unit' => array(
682
  'type' => 'string',
683
  'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
684
  ),
685
  'EvaluationPeriods' => array(
686
  'required' => true,
697
  'required' => true,
698
  'type' => 'string',
699
  'location' => 'aws.query',
 
 
 
 
 
 
700
  ),
701
  ),
702
  'errorResponses' => array(
802
  ),
803
  'Unit' => array(
804
  'type' => 'string',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
805
  ),
806
  ),
807
  ),
854
  'required' => true,
855
  'type' => 'string',
856
  'location' => 'aws.query',
 
 
 
 
 
857
  ),
858
  'StateReason' => array(
859
  'required' => true,
1227
  ),
1228
  ),
1229
  'iterators' => array(
1230
+ 'DescribeAlarmHistory' => array(
1231
+ 'input_token' => 'NextToken',
1232
+ 'output_token' => 'NextToken',
1233
+ 'limit_key' => 'MaxRecords',
1234
+ 'result_key' => 'AlarmHistoryItems',
1235
+ ),
1236
+ 'DescribeAlarms' => array(
1237
+ 'input_token' => 'NextToken',
1238
+ 'output_token' => 'NextToken',
1239
+ 'limit_key' => 'MaxRecords',
1240
+ 'result_key' => 'MetricAlarms',
1241
+ ),
1242
+ 'DescribeAlarmsForMetric' => array(
1243
+ 'result_key' => 'MetricAlarms',
1244
+ ),
1245
+ 'ListMetrics' => array(
1246
+ 'input_token' => 'NextToken',
1247
+ 'output_token' => 'NextToken',
1248
+ 'result_key' => 'Metrics',
 
 
1249
  ),
1250
  ),
1251
  );
vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudWatchLogs;
4
+
5
+ use Aws\Common\Client\AbstractClient;
6
+ use Aws\Common\Client\ClientBuilder;
7
+ use Aws\Common\Enum\ClientOptions as Options;
8
+ use Aws\Common\Exception\Parser\JsonQueryExceptionParser;
9
+ use Guzzle\Common\Collection;
10
+ use Guzzle\Service\Resource\Model;
11
+
12
+ /**
13
+ * Client to interact with Amazon CloudWatch Logs
14
+ *
15
+ * @method Model createLogGroup(array $args = array()) {@command CloudWatchLogs CreateLogGroup}
16
+ * @method Model createLogStream(array $args = array()) {@command CloudWatchLogs CreateLogStream}
17
+ * @method Model deleteLogGroup(array $args = array()) {@command CloudWatchLogs DeleteLogGroup}
18
+ * @method Model deleteLogStream(array $args = array()) {@command CloudWatchLogs DeleteLogStream}
19
+ * @method Model deleteMetricFilter(array $args = array()) {@command CloudWatchLogs DeleteMetricFilter}
20
+ * @method Model deleteRetentionPolicy(array $args = array()) {@command CloudWatchLogs DeleteRetentionPolicy}
21
+ * @method Model describeLogGroups(array $args = array()) {@command CloudWatchLogs DescribeLogGroups}
22
+ * @method Model describeLogStreams(array $args = array()) {@command CloudWatchLogs DescribeLogStreams}
23
+ * @method Model describeMetricFilters(array $args = array()) {@command CloudWatchLogs DescribeMetricFilters}
24
+ * @method Model getLogEvents(array $args = array()) {@command CloudWatchLogs GetLogEvents}
25
+ * @method Model putLogEvents(array $args = array()) {@command CloudWatchLogs PutLogEvents}
26
+ * @method Model putMetricFilter(array $args = array()) {@command CloudWatchLogs PutMetricFilter}
27
+ * @method Model putRetentionPolicy(array $args = array()) {@command CloudWatchLogs PutRetentionPolicy}
28
+ * @method Model setRetention(array $args = array()) {@command CloudWatchLogs SetRetention}
29
+ * @method Model testMetricFilter(array $args = array()) {@command CloudWatchLogs TestMetricFilter}
30
+ *
31
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudwatchlogs.html User guide
32
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudWatchLogs.CloudWatchLogsClient.html API docs
33
+ */
34
+ class CloudWatchLogsClient extends AbstractClient
35
+ {
36
+ const LATEST_API_VERSION = '2014-03-28';
37
+
38
+ /**
39
+ * Factory method to create a new Amazon CloudWatch Logs client using an array of configuration options.
40
+ *
41
+ * See http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
42
+ *
43
+ * @param array|Collection $config Client configuration data
44
+ *
45
+ * @return self
46
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
47
+ */
48
+ public static function factory($config = array())
49
+ {
50
+ return ClientBuilder::factory(__NAMESPACE__)
51
+ ->setConfig($config)
52
+ ->setConfigDefaults(array(
53
+ Options::VERSION => self::LATEST_API_VERSION,
54
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudwatchlogs-%s.php'
55
+ ))
56
+ ->setExceptionParser(new JsonQueryExceptionParser())
57
+ ->build();
58
+ }
59
+ }
vendor/aws/Aws/CloudWatchLogs/Exception/CloudWatchLogsException.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CloudWatchLogs\Exception;
4
+
5
+ use Aws\Common\Exception\ServiceResponseException;
6
+
7
+ /**
8
+ * Exception thrown by the CloudWatchLogs client.
9
+ */
10
+ class CloudWatchLogsException extends ServiceResponseException {}
vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php ADDED
@@ -0,0 +1,1153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ return array (
4
+ 'apiVersion' => '2014-03-28',
5
+ 'endpointPrefix' => 'logs',
6
+ 'serviceFullName' => 'Amazon CloudWatch Logs',
7
+ 'serviceType' => 'json',
8
+ 'jsonVersion' => '1.1',
9
+ 'targetPrefix' => 'Logs_20140328.',
10
+ 'signatureVersion' => 'v4',
11
+ 'namespace' => 'CloudWatchLogs',
12
+ 'regions' => array(
13
+ 'us-east-1' => array(
14
+ 'http' => false,
15
+ 'https' => true,
16
+ 'hostname' => 'logs.us-east-1.amazonaws.com',
17
+ ),
18
+ ),
19
+ 'operations' => array(
20
+ 'CreateLogGroup' => array(
21
+ 'httpMethod' => 'POST',
22
+ 'uri' => '/',
23
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
24
+ 'responseClass' => 'EmptyOutput',
25
+ 'responseType' => 'model',
26
+ 'parameters' => array(
27
+ 'Content-Type' => array(
28
+ 'static' => true,
29
+ 'location' => 'header',
30
+ 'default' => 'application/x-amz-json-1.1',
31
+ ),
32
+ 'command.expects' => array(
33
+ 'static' => true,
34
+ 'default' => 'application/json',
35
+ ),
36
+ 'X-Amz-Target' => array(
37
+ 'static' => true,
38
+ 'location' => 'header',
39
+ 'default' => 'Logs_20140328.CreateLogGroup',
40
+ ),
41
+ 'logGroupName' => array(
42
+ 'required' => true,
43
+ 'type' => 'string',
44
+ 'location' => 'json',
45
+ 'minLength' => 1,
46
+ 'maxLength' => 512,
47
+ ),
48
+ ),
49
+ 'errorResponses' => array(
50
+ array(
51
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
52
+ 'class' => 'InvalidParameterException',
53
+ ),
54
+ array(
55
+ 'reason' => 'Returned if the specified resource already exists.',
56
+ 'class' => 'ResourceAlreadyExistsException',
57
+ ),
58
+ array(
59
+ 'reason' => 'Returned if you have reached the maximum number of resources that can be created.',
60
+ 'class' => 'LimitExceededException',
61
+ ),
62
+ array(
63
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
64
+ 'class' => 'OperationAbortedException',
65
+ ),
66
+ array(
67
+ 'reason' => 'Returned if the service cannot complete the request.',
68
+ 'class' => 'ServiceUnavailableException',
69
+ ),
70
+ ),
71
+ ),
72
+ 'CreateLogStream' => array(
73
+ 'httpMethod' => 'POST',
74
+ 'uri' => '/',
75
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
76
+ 'responseClass' => 'EmptyOutput',
77
+ 'responseType' => 'model',
78
+ 'parameters' => array(
79
+ 'Content-Type' => array(
80
+ 'static' => true,
81
+ 'location' => 'header',
82
+ 'default' => 'application/x-amz-json-1.1',
83
+ ),
84
+ 'command.expects' => array(
85
+ 'static' => true,
86
+ 'default' => 'application/json',
87
+ ),
88
+ 'X-Amz-Target' => array(
89
+ 'static' => true,
90
+ 'location' => 'header',
91
+ 'default' => 'Logs_20140328.CreateLogStream',
92
+ ),
93
+ 'logGroupName' => array(
94
+ 'required' => true,
95
+ 'type' => 'string',
96
+ 'location' => 'json',
97
+ 'minLength' => 1,
98
+ 'maxLength' => 512,
99
+ ),
100
+ 'logStreamName' => array(
101
+ 'required' => true,
102
+ 'type' => 'string',
103
+ 'location' => 'json',
104
+ 'minLength' => 1,
105
+ 'maxLength' => 512,
106
+ ),
107
+ ),
108
+ 'errorResponses' => array(
109
+ array(
110
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
111
+ 'class' => 'InvalidParameterException',
112
+ ),
113
+ array(
114
+ 'reason' => 'Returned if the specified resource already exists.',
115
+ 'class' => 'ResourceAlreadyExistsException',
116
+ ),
117
+ array(
118
+ 'reason' => 'Returned if the specified resource does not exist.',
119
+ 'class' => 'ResourceNotFoundException',
120
+ ),
121
+ array(
122
+ 'reason' => 'Returned if the service cannot complete the request.',
123
+ 'class' => 'ServiceUnavailableException',
124
+ ),
125
+ ),
126
+ ),
127
+ 'DeleteLogGroup' => array(
128
+ 'httpMethod' => 'POST',
129
+ 'uri' => '/',
130
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
131
+ 'responseClass' => 'EmptyOutput',
132
+ 'responseType' => 'model',
133
+ 'parameters' => array(
134
+ 'Content-Type' => array(
135
+ 'static' => true,
136
+ 'location' => 'header',
137
+ 'default' => 'application/x-amz-json-1.1',
138
+ ),
139
+ 'command.expects' => array(
140
+ 'static' => true,
141
+ 'default' => 'application/json',
142
+ ),
143
+ 'X-Amz-Target' => array(
144
+ 'static' => true,
145
+ 'location' => 'header',
146
+ 'default' => 'Logs_20140328.DeleteLogGroup',
147
+ ),
148
+ 'logGroupName' => array(
149
+ 'required' => true,
150
+ 'type' => 'string',
151
+ 'location' => 'json',
152
+ 'minLength' => 1,
153
+ 'maxLength' => 512,
154
+ ),
155
+ ),
156
+ 'errorResponses' => array(
157
+ array(
158
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
159
+ 'class' => 'InvalidParameterException',
160
+ ),
161
+ array(
162
+ 'reason' => 'Returned if the specified resource does not exist.',
163
+ 'class' => 'ResourceNotFoundException',
164
+ ),
165
+ array(
166
+ 'reason' => 'Returned if the resource cannot be deleted because other resources are still associated with it.',
167
+ 'class' => 'ResourceInUseException',
168
+ ),
169
+ array(
170
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
171
+ 'class' => 'OperationAbortedException',
172
+ ),
173
+ array(
174
+ 'reason' => 'Returned if the service cannot complete the request.',
175
+ 'class' => 'ServiceUnavailableException',
176
+ ),
177
+ ),
178
+ ),
179
+ 'DeleteLogStream' => array(
180
+ 'httpMethod' => 'POST',
181
+ 'uri' => '/',
182
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
183
+ 'responseClass' => 'EmptyOutput',
184
+ 'responseType' => 'model',
185
+ 'parameters' => array(
186
+ 'Content-Type' => array(
187
+ 'static' => true,
188
+ 'location' => 'header',
189
+ 'default' => 'application/x-amz-json-1.1',
190
+ ),
191
+ 'command.expects' => array(
192
+ 'static' => true,
193
+ 'default' => 'application/json',
194
+ ),
195
+ 'X-Amz-Target' => array(
196
+ 'static' => true,
197
+ 'location' => 'header',
198
+ 'default' => 'Logs_20140328.DeleteLogStream',
199
+ ),
200
+ 'logGroupName' => array(
201
+ 'required' => true,
202
+ 'type' => 'string',
203
+ 'location' => 'json',
204
+ 'minLength' => 1,
205
+ 'maxLength' => 512,
206
+ ),
207
+ 'logStreamName' => array(
208
+ 'required' => true,
209
+ 'type' => 'string',
210
+ 'location' => 'json',
211
+ 'minLength' => 1,
212
+ 'maxLength' => 512,
213
+ ),
214
+ ),
215
+ 'errorResponses' => array(
216
+ array(
217
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
218
+ 'class' => 'InvalidParameterException',
219
+ ),
220
+ array(
221
+ 'reason' => 'Returned if the specified resource does not exist.',
222
+ 'class' => 'ResourceNotFoundException',
223
+ ),
224
+ array(
225
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
226
+ 'class' => 'OperationAbortedException',
227
+ ),
228
+ array(
229
+ 'reason' => 'Returned if the service cannot complete the request.',
230
+ 'class' => 'ServiceUnavailableException',
231
+ ),
232
+ ),
233
+ ),
234
+ 'DeleteMetricFilter' => array(
235
+ 'httpMethod' => 'POST',
236
+ 'uri' => '/',
237
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
238
+ 'responseClass' => 'EmptyOutput',
239
+ 'responseType' => 'model',
240
+ 'parameters' => array(
241
+ 'Content-Type' => array(
242
+ 'static' => true,
243
+ 'location' => 'header',
244
+ 'default' => 'application/x-amz-json-1.1',
245
+ ),
246
+ 'command.expects' => array(
247
+ 'static' => true,
248
+ 'default' => 'application/json',
249
+ ),
250
+ 'X-Amz-Target' => array(
251
+ 'static' => true,
252
+ 'location' => 'header',
253
+ 'default' => 'Logs_20140328.DeleteMetricFilter',
254
+ ),
255
+ 'logGroupName' => array(
256
+ 'required' => true,
257
+ 'type' => 'string',
258
+ 'location' => 'json',
259
+ 'minLength' => 1,
260
+ 'maxLength' => 512,
261
+ ),
262
+ 'filterName' => array(
263
+ 'required' => true,
264
+ 'type' => 'string',
265
+ 'location' => 'json',
266
+ 'minLength' => 1,
267
+ 'maxLength' => 512,
268
+ ),
269
+ ),
270
+ 'errorResponses' => array(
271
+ array(
272
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
273
+ 'class' => 'InvalidParameterException',
274
+ ),
275
+ array(
276
+ 'reason' => 'Returned if the specified resource does not exist.',
277
+ 'class' => 'ResourceNotFoundException',
278
+ ),
279
+ array(
280
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
281
+ 'class' => 'OperationAbortedException',
282
+ ),
283
+ array(
284
+ 'reason' => 'Returned if the service cannot complete the request.',
285
+ 'class' => 'ServiceUnavailableException',
286
+ ),
287
+ ),
288
+ ),
289
+ 'DeleteRetentionPolicy' => array(
290
+ 'httpMethod' => 'POST',
291
+ 'uri' => '/',
292
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
293
+ 'responseClass' => 'EmptyOutput',
294
+ 'responseType' => 'model',
295
+ 'parameters' => array(
296
+ 'Content-Type' => array(
297
+ 'static' => true,
298
+ 'location' => 'header',
299
+ 'default' => 'application/x-amz-json-1.1',
300
+ ),
301
+ 'command.expects' => array(
302
+ 'static' => true,
303
+ 'default' => 'application/json',
304
+ ),
305
+ 'X-Amz-Target' => array(
306
+ 'static' => true,
307
+ 'location' => 'header',
308
+ 'default' => 'Logs_20140328.DeleteRetentionPolicy',
309
+ ),
310
+ 'logGroupName' => array(
311
+ 'required' => true,
312
+ 'type' => 'string',
313
+ 'location' => 'json',
314
+ 'minLength' => 1,
315
+ 'maxLength' => 512,
316
+ ),
317
+ ),
318
+ 'errorResponses' => array(
319
+ array(
320
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
321
+ 'class' => 'InvalidParameterException',
322
+ ),
323
+ array(
324
+ 'reason' => 'Returned if the specified resource does not exist.',
325
+ 'class' => 'ResourceNotFoundException',
326
+ ),
327
+ array(
328
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
329
+ 'class' => 'OperationAbortedException',
330
+ ),
331
+ array(
332
+ 'reason' => 'Returned if the service cannot complete the request.',
333
+ 'class' => 'ServiceUnavailableException',
334
+ ),
335
+ ),
336
+ ),
337
+ 'DescribeLogGroups' => array(
338
+ 'httpMethod' => 'POST',
339
+ 'uri' => '/',
340
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
341
+ 'responseClass' => 'DescribeLogGroupsResponse',
342
+ 'responseType' => 'model',
343
+ 'parameters' => array(
344
+ 'Content-Type' => array(
345
+ 'static' => true,
346
+ 'location' => 'header',
347
+ 'default' => 'application/x-amz-json-1.1',
348
+ ),
349
+ 'command.expects' => array(
350
+ 'static' => true,
351
+ 'default' => 'application/json',
352
+ ),
353
+ 'X-Amz-Target' => array(
354
+ 'static' => true,
355
+ 'location' => 'header',
356
+ 'default' => 'Logs_20140328.DescribeLogGroups',
357
+ ),
358
+ 'logGroupNamePrefix' => array(
359
+ 'type' => 'string',
360
+ 'location' => 'json',
361
+ 'minLength' => 1,
362
+ 'maxLength' => 512,
363
+ ),
364
+ 'nextToken' => array(
365
+ 'type' => 'string',
366
+ 'location' => 'json',
367
+ ),
368
+ 'limit' => array(
369
+ 'type' => 'numeric',
370
+ 'location' => 'json',
371
+ 'minimum' => 1,
372
+ 'maximum' => 50,
373
+ ),
374
+ ),
375
+ 'errorResponses' => array(
376
+ array(
377
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
378
+ 'class' => 'InvalidParameterException',
379
+ ),
380
+ array(
381
+ 'reason' => 'Returned if the service cannot complete the request.',
382
+ 'class' => 'ServiceUnavailableException',
383
+ ),
384
+ ),
385
+ ),
386
+ 'DescribeLogStreams' => array(
387
+ 'httpMethod' => 'POST',
388
+ 'uri' => '/',
389
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
390
+ 'responseClass' => 'DescribeLogStreamsResponse',
391
+ 'responseType' => 'model',
392
+ 'parameters' => array(
393
+ 'Content-Type' => array(
394
+ 'static' => true,
395
+ 'location' => 'header',
396
+ 'default' => 'application/x-amz-json-1.1',
397
+ ),
398
+ 'command.expects' => array(
399
+ 'static' => true,
400
+ 'default' => 'application/json',
401
+ ),
402
+ 'X-Amz-Target' => array(
403
+ 'static' => true,
404
+ 'location' => 'header',
405
+ 'default' => 'Logs_20140328.DescribeLogStreams',
406
+ ),
407
+ 'logGroupName' => array(
408
+ 'required' => true,
409
+ 'type' => 'string',
410
+ 'location' => 'json',
411
+ 'minLength' => 1,
412
+ 'maxLength' => 512,
413
+ ),
414
+ 'logStreamNamePrefix' => array(
415
+ 'type' => 'string',
416
+ 'location' => 'json',
417
+ 'minLength' => 1,
418
+ 'maxLength' => 512,
419
+ ),
420
+ 'nextToken' => array(
421
+ 'type' => 'string',
422
+ 'location' => 'json',
423
+ ),
424
+ 'limit' => array(
425
+ 'type' => 'numeric',
426
+ 'location' => 'json',
427
+ 'minimum' => 1,
428
+ 'maximum' => 50,
429
+ ),
430
+ ),
431
+ 'errorResponses' => array(
432
+ array(
433
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
434
+ 'class' => 'InvalidParameterException',
435
+ ),
436
+ array(
437
+ 'reason' => 'Returned if the specified resource does not exist.',
438
+ 'class' => 'ResourceNotFoundException',
439
+ ),
440
+ array(
441
+ 'reason' => 'Returned if the service cannot complete the request.',
442
+ 'class' => 'ServiceUnavailableException',
443
+ ),
444
+ ),
445
+ ),
446
+ 'DescribeMetricFilters' => array(
447
+ 'httpMethod' => 'POST',
448
+ 'uri' => '/',
449
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
450
+ 'responseClass' => 'DescribeMetricFiltersResponse',
451
+ 'responseType' => 'model',
452
+ 'parameters' => array(
453
+ 'Content-Type' => array(
454
+ 'static' => true,
455
+ 'location' => 'header',
456
+ 'default' => 'application/x-amz-json-1.1',
457
+ ),
458
+ 'command.expects' => array(
459
+ 'static' => true,
460
+ 'default' => 'application/json',
461
+ ),
462
+ 'X-Amz-Target' => array(
463
+ 'static' => true,
464
+ 'location' => 'header',
465
+ 'default' => 'Logs_20140328.DescribeMetricFilters',
466
+ ),
467
+ 'logGroupName' => array(
468
+ 'required' => true,
469
+ 'type' => 'string',
470
+ 'location' => 'json',
471
+ 'minLength' => 1,
472
+ 'maxLength' => 512,
473
+ ),
474
+ 'filterNamePrefix' => array(
475
+ 'type' => 'string',
476
+ 'location' => 'json',
477
+ 'minLength' => 1,
478
+ 'maxLength' => 512,
479
+ ),
480
+ 'nextToken' => array(
481
+ 'type' => 'string',
482
+ 'location' => 'json',
483
+ ),
484
+ 'limit' => array(
485
+ 'type' => 'numeric',
486
+ 'location' => 'json',
487
+ 'minimum' => 1,
488
+ 'maximum' => 50,
489
+ ),
490
+ ),
491
+ 'errorResponses' => array(
492
+ array(
493
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
494
+ 'class' => 'InvalidParameterException',
495
+ ),
496
+ array(
497
+ 'reason' => 'Returned if the specified resource does not exist.',
498
+ 'class' => 'ResourceNotFoundException',
499
+ ),
500
+ array(
501
+ 'reason' => 'Returned if the service cannot complete the request.',
502
+ 'class' => 'ServiceUnavailableException',
503
+ ),
504
+ ),
505
+ ),
506
+ 'GetLogEvents' => array(
507
+ 'httpMethod' => 'POST',
508
+ 'uri' => '/',
509
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
510
+ 'responseClass' => 'GetLogEventsResponse',
511
+ 'responseType' => 'model',
512
+ 'parameters' => array(
513
+ 'Content-Type' => array(
514
+ 'static' => true,
515
+ 'location' => 'header',
516
+ 'default' => 'application/x-amz-json-1.1',
517
+ ),
518
+ 'command.expects' => array(
519
+ 'static' => true,
520
+ 'default' => 'application/json',
521
+ ),
522
+ 'X-Amz-Target' => array(
523
+ 'static' => true,
524
+ 'location' => 'header',
525
+ 'default' => 'Logs_20140328.GetLogEvents',
526
+ ),
527
+ 'logGroupName' => array(
528
+ 'required' => true,
529
+ 'type' => 'string',
530
+ 'location' => 'json',
531
+ 'minLength' => 1,
532
+ 'maxLength' => 512,
533
+ ),
534
+ 'logStreamName' => array(
535
+ 'required' => true,
536
+ 'type' => 'string',
537
+ 'location' => 'json',
538
+ 'minLength' => 1,
539
+ 'maxLength' => 512,
540
+ ),
541
+ 'startTime' => array(
542
+ 'type' => 'numeric',
543
+ 'location' => 'json',
544
+ ),
545
+ 'endTime' => array(
546
+ 'type' => 'numeric',
547
+ 'location' => 'json',
548
+ ),
549
+ 'nextToken' => array(
550
+ 'type' => 'string',
551
+ 'location' => 'json',
552
+ ),
553
+ 'limit' => array(
554
+ 'type' => 'numeric',
555
+ 'location' => 'json',
556
+ 'minimum' => 1,
557
+ 'maximum' => 10000,
558
+ ),
559
+ 'startFromHead' => array(
560
+ 'type' => 'boolean',
561
+ 'format' => 'boolean-string',
562
+ 'location' => 'json',
563
+ ),
564
+ ),
565
+ 'errorResponses' => array(
566
+ array(
567
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
568
+ 'class' => 'InvalidParameterException',
569
+ ),
570
+ array(
571
+ 'reason' => 'Returned if the specified resource does not exist.',
572
+ 'class' => 'ResourceNotFoundException',
573
+ ),
574
+ array(
575
+ 'reason' => 'Returned if the service cannot complete the request.',
576
+ 'class' => 'ServiceUnavailableException',
577
+ ),
578
+ ),
579
+ ),
580
+ 'PutLogEvents' => array(
581
+ 'httpMethod' => 'POST',
582
+ 'uri' => '/',
583
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
584
+ 'responseClass' => 'PutLogEventsResponse',
585
+ 'responseType' => 'model',
586
+ 'parameters' => array(
587
+ 'Content-Type' => array(
588
+ 'static' => true,
589
+ 'location' => 'header',
590
+ 'default' => 'application/x-amz-json-1.1',
591
+ ),
592
+ 'command.expects' => array(
593
+ 'static' => true,
594
+ 'default' => 'application/json',
595
+ ),
596
+ 'X-Amz-Target' => array(
597
+ 'static' => true,
598
+ 'location' => 'header',
599
+ 'default' => 'Logs_20140328.PutLogEvents',
600
+ ),
601
+ 'logGroupName' => array(
602
+ 'required' => true,
603
+ 'type' => 'string',
604
+ 'location' => 'json',
605
+ 'minLength' => 1,
606
+ 'maxLength' => 512,
607
+ ),
608
+ 'logStreamName' => array(
609
+ 'required' => true,
610
+ 'type' => 'string',
611
+ 'location' => 'json',
612
+ 'minLength' => 1,
613
+ 'maxLength' => 512,
614
+ ),
615
+ 'logEvents' => array(
616
+ 'required' => true,
617
+ 'type' => 'array',
618
+ 'location' => 'json',
619
+ 'minItems' => 1,
620
+ 'maxItems' => 1000,
621
+ 'items' => array(
622
+ 'name' => 'InputLogEvent',
623
+ 'type' => 'object',
624
+ 'properties' => array(
625
+ 'timestamp' => array(
626
+ 'required' => true,
627
+ 'type' => 'numeric',
628
+ ),
629
+ 'message' => array(
630
+ 'required' => true,
631
+ 'type' => 'string',
632
+ 'minLength' => 1,
633
+ 'maxLength' => 32768,
634
+ ),
635
+ ),
636
+ ),
637
+ ),
638
+ 'sequenceToken' => array(
639
+ 'type' => 'string',
640
+ 'location' => 'json',
641
+ 'minLength' => 1,
642
+ ),
643
+ ),
644
+ 'errorResponses' => array(
645
+ array(
646
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
647
+ 'class' => 'InvalidParameterException',
648
+ ),
649
+ array(
650
+ 'class' => 'InvalidSequenceTokenException',
651
+ ),
652
+ array(
653
+ 'class' => 'DataAlreadyAcceptedException',
654
+ ),
655
+ array(
656
+ 'reason' => 'Returned if the specified resource does not exist.',
657
+ 'class' => 'ResourceNotFoundException',
658
+ ),
659
+ array(
660
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
661
+ 'class' => 'OperationAbortedException',
662
+ ),
663
+ array(
664
+ 'reason' => 'Returned if the service cannot complete the request.',
665
+ 'class' => 'ServiceUnavailableException',
666
+ ),
667
+ ),
668
+ ),
669
+ 'PutMetricFilter' => array(
670
+ 'httpMethod' => 'POST',
671
+ 'uri' => '/',
672
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
673
+ 'responseClass' => 'EmptyOutput',
674
+ 'responseType' => 'model',
675
+ 'parameters' => array(
676
+ 'Content-Type' => array(
677
+ 'static' => true,
678
+ 'location' => 'header',
679
+ 'default' => 'application/x-amz-json-1.1',
680
+ ),
681
+ 'command.expects' => array(
682
+ 'static' => true,
683
+ 'default' => 'application/json',
684
+ ),
685
+ 'X-Amz-Target' => array(
686
+ 'static' => true,
687
+ 'location' => 'header',
688
+ 'default' => 'Logs_20140328.PutMetricFilter',
689
+ ),
690
+ 'logGroupName' => array(
691
+ 'required' => true,
692
+ 'type' => 'string',
693
+ 'location' => 'json',
694
+ 'minLength' => 1,
695
+ 'maxLength' => 512,
696
+ ),
697
+ 'filterName' => array(
698
+ 'required' => true,
699
+ 'type' => 'string',
700
+ 'location' => 'json',
701
+ 'minLength' => 1,
702
+ 'maxLength' => 512,
703
+ ),
704
+ 'filterPattern' => array(
705
+ 'required' => true,
706
+ 'type' => 'string',
707
+ 'location' => 'json',
708
+ 'maxLength' => 512,
709
+ ),
710
+ 'metricTransformations' => array(
711
+ 'required' => true,
712
+ 'type' => 'array',
713
+ 'location' => 'json',
714
+ 'minItems' => 1,
715
+ 'maxItems' => 1,
716
+ 'items' => array(
717
+ 'name' => 'MetricTransformation',
718
+ 'type' => 'object',
719
+ 'properties' => array(
720
+ 'metricName' => array(
721
+ 'required' => true,
722
+ 'type' => 'string',
723
+ 'maxLength' => 255,
724
+ ),
725
+ 'metricNamespace' => array(
726
+ 'required' => true,
727
+ 'type' => 'string',
728
+ 'maxLength' => 255,
729
+ ),
730
+ 'metricValue' => array(
731
+ 'required' => true,
732
+ 'type' => 'string',
733
+ 'maxLength' => 100,
734
+ ),
735
+ ),
736
+ ),
737
+ ),
738
+ ),
739
+ 'errorResponses' => array(
740
+ array(
741
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
742
+ 'class' => 'InvalidParameterException',
743
+ ),
744
+ array(
745
+ 'reason' => 'Returned if the specified resource does not exist.',
746
+ 'class' => 'ResourceNotFoundException',
747
+ ),
748
+ array(
749
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
750
+ 'class' => 'OperationAbortedException',
751
+ ),
752
+ array(
753
+ 'reason' => 'Returned if you have reached the maximum number of resources that can be created.',
754
+ 'class' => 'LimitExceededException',
755
+ ),
756
+ array(
757
+ 'reason' => 'Returned if the service cannot complete the request.',
758
+ 'class' => 'ServiceUnavailableException',
759
+ ),
760
+ ),
761
+ ),
762
+ 'PutRetentionPolicy' => array(
763
+ 'httpMethod' => 'POST',
764
+ 'uri' => '/',
765
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
766
+ 'responseClass' => 'EmptyOutput',
767
+ 'responseType' => 'model',
768
+ 'parameters' => array(
769
+ 'Content-Type' => array(
770
+ 'static' => true,
771
+ 'location' => 'header',
772
+ 'default' => 'application/x-amz-json-1.1',
773
+ ),
774
+ 'command.expects' => array(
775
+ 'static' => true,
776
+ 'default' => 'application/json',
777
+ ),
778
+ 'X-Amz-Target' => array(
779
+ 'static' => true,
780
+ 'location' => 'header',
781
+ 'default' => 'Logs_20140328.PutRetentionPolicy',
782
+ ),
783
+ 'logGroupName' => array(
784
+ 'required' => true,
785
+ 'type' => 'string',
786
+ 'location' => 'json',
787
+ 'minLength' => 1,
788
+ 'maxLength' => 512,
789
+ ),
790
+ 'retentionInDays' => array(
791
+ 'required' => true,
792
+ 'type' => 'numeric',
793
+ 'location' => 'json',
794
+ ),
795
+ ),
796
+ 'errorResponses' => array(
797
+ array(
798
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
799
+ 'class' => 'InvalidParameterException',
800
+ ),
801
+ array(
802
+ 'reason' => 'Returned if the specified resource does not exist.',
803
+ 'class' => 'ResourceNotFoundException',
804
+ ),
805
+ array(
806
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
807
+ 'class' => 'OperationAbortedException',
808
+ ),
809
+ array(
810
+ 'reason' => 'Returned if the service cannot complete the request.',
811
+ 'class' => 'ServiceUnavailableException',
812
+ ),
813
+ ),
814
+ ),
815
+ 'SetRetention' => array(
816
+ 'httpMethod' => 'POST',
817
+ 'uri' => '/',
818
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
819
+ 'responseClass' => 'EmptyOutput',
820
+ 'responseType' => 'model',
821
+ 'parameters' => array(
822
+ 'Content-Type' => array(
823
+ 'static' => true,
824
+ 'location' => 'header',
825
+ 'default' => 'application/x-amz-json-1.1',
826
+ ),
827
+ 'command.expects' => array(
828
+ 'static' => true,
829
+ 'default' => 'application/json',
830
+ ),
831
+ 'X-Amz-Target' => array(
832
+ 'static' => true,
833
+ 'location' => 'header',
834
+ 'default' => 'Logs_20140328.SetRetention',
835
+ ),
836
+ 'logGroupName' => array(
837
+ 'required' => true,
838
+ 'type' => 'string',
839
+ 'location' => 'json',
840
+ 'minLength' => 1,
841
+ 'maxLength' => 512,
842
+ ),
843
+ 'retentionInDays' => array(
844
+ 'required' => true,
845
+ 'type' => 'numeric',
846
+ 'location' => 'json',
847
+ ),
848
+ ),
849
+ 'errorResponses' => array(
850
+ array(
851
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
852
+ 'class' => 'InvalidParameterException',
853
+ ),
854
+ array(
855
+ 'reason' => 'Returned if the specified resource does not exist.',
856
+ 'class' => 'ResourceNotFoundException',
857
+ ),
858
+ array(
859
+ 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
860
+ 'class' => 'OperationAbortedException',
861
+ ),
862
+ array(
863
+ 'reason' => 'Returned if the service cannot complete the request.',
864
+ 'class' => 'ServiceUnavailableException',
865
+ ),
866
+ ),
867
+ ),
868
+ 'TestMetricFilter' => array(
869
+ 'httpMethod' => 'POST',
870
+ 'uri' => '/',
871
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
872
+ 'responseClass' => 'TestMetricFilterResponse',
873
+ 'responseType' => 'model',
874
+ 'parameters' => array(
875
+ 'Content-Type' => array(
876
+ 'static' => true,
877
+ 'location' => 'header',
878
+ 'default' => 'application/x-amz-json-1.1',
879
+ ),
880
+ 'command.expects' => array(
881
+ 'static' => true,
882
+ 'default' => 'application/json',
883
+ ),
884
+ 'X-Amz-Target' => array(
885
+ 'static' => true,
886
+ 'location' => 'header',
887
+ 'default' => 'Logs_20140328.TestMetricFilter',
888
+ ),
889
+ 'filterPattern' => array(
890
+ 'required' => true,
891
+ 'type' => 'string',
892
+ 'location' => 'json',
893
+ 'maxLength' => 512,
894
+ ),
895
+ 'logEventMessages' => array(
896
+ 'required' => true,
897
+ 'type' => 'array',
898
+ 'location' => 'json',
899
+ 'minItems' => 1,
900
+ 'maxItems' => 50,
901
+ 'items' => array(
902
+ 'name' => 'EventMessage',
903
+ 'type' => 'string',
904
+ 'minLength' => 1,
905
+ 'maxLength' => 32768,
906
+ ),
907
+ ),
908
+ ),
909
+ 'errorResponses' => array(
910
+ array(
911
+ 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
912
+ 'class' => 'InvalidParameterException',
913
+ ),
914
+ array(
915
+ 'reason' => 'Returned if the service cannot complete the request.',
916
+ 'class' => 'ServiceUnavailableException',
917
+ ),
918
+ ),
919
+ ),
920
+ ),
921
+ 'models' => array(
922
+ 'EmptyOutput' => array(
923
+ 'type' => 'object',
924
+ 'additionalProperties' => true,
925
+ ),
926
+ 'DescribeLogGroupsResponse' => array(
927
+ 'type' => 'object',
928
+ 'additionalProperties' => true,
929
+ 'properties' => array(
930
+ 'logGroups' => array(
931
+ 'type' => 'array',
932
+ 'location' => 'json',
933
+ 'items' => array(
934
+ 'name' => 'LogGroup',
935
+ 'type' => 'object',
936
+ 'properties' => array(
937
+ 'logGroupName' => array(
938
+ 'type' => 'string',
939
+ ),
940
+ 'creationTime' => array(
941
+ 'type' => 'numeric',
942
+ ),
943
+ 'retentionInDays' => array(
944
+ 'type' => 'numeric',
945
+ ),
946
+ 'metricFilterCount' => array(
947
+ 'type' => 'numeric',
948
+ ),
949
+ 'arn' => array(
950
+ 'type' => 'string',
951
+ ),
952
+ 'storedBytes' => array(
953
+ 'type' => 'numeric',
954
+ ),
955
+ ),
956
+ ),
957
+ ),
958
+ 'nextToken' => array(
959
+ 'type' => 'string',
960
+ 'location' => 'json',
961
+ ),
962
+ ),
963
+ ),
964
+ 'DescribeLogStreamsResponse' => array(
965
+ 'type' => 'object',
966
+ 'additionalProperties' => true,
967
+ 'properties' => array(
968
+ 'logStreams' => array(
969
+ 'type' => 'array',
970
+ 'location' => 'json',
971
+ 'items' => array(
972
+ 'name' => 'LogStream',
973
+ 'type' => 'object',
974
+ 'properties' => array(
975
+ 'logStreamName' => array(
976
+ 'type' => 'string',
977
+ ),
978
+ 'creationTime' => array(
979
+ 'type' => 'numeric',
980
+ ),
981
+ 'firstEventTimestamp' => array(
982
+ 'type' => 'numeric',
983
+ ),
984
+ 'lastEventTimestamp' => array(
985
+ 'type' => 'numeric',
986
+ ),
987
+ 'lastIngestionTime' => array(
988
+ 'type' => 'numeric',
989
+ ),
990
+ 'uploadSequenceToken' => array(
991
+ 'type' => 'string',
992
+ ),
993
+ 'arn' => array(
994
+ 'type' => 'string',
995
+ ),
996
+ 'storedBytes' => array(
997
+ 'type' => 'numeric',
998
+ ),
999
+ ),
1000
+ ),
1001
+ ),
1002
+ 'nextToken' => array(
1003
+ 'type' => 'string',
1004
+ 'location' => 'json',
1005
+ ),
1006
+ ),
1007
+ ),
1008
+ 'DescribeMetricFiltersResponse' => array(
1009
+ 'type' => 'object',
1010
+ 'additionalProperties' => true,
1011
+ 'properties' => array(
1012
+ 'metricFilters' => array(
1013
+ 'type' => 'array',
1014
+ 'location' => 'json',
1015
+ 'items' => array(
1016
+ 'name' => 'MetricFilter',
1017
+ 'type' => 'object',
1018
+ 'properties' => array(
1019
+ 'filterName' => array(
1020
+ 'type' => 'string',
1021
+ ),
1022
+ 'filterPattern' => array(
1023
+ 'type' => 'string',
1024
+ ),
1025
+ 'metricTransformations' => array(
1026
+ 'type' => 'array',
1027
+ 'items' => array(
1028
+ 'name' => 'MetricTransformation',
1029
+ 'type' => 'object',
1030
+ 'properties' => array(
1031
+ 'metricName' => array(
1032
+ 'type' => 'string',
1033
+ ),
1034
+ 'metricNamespace' => array(
1035
+ 'type' => 'string',
1036
+ ),
1037
+ 'metricValue' => array(
1038
+ 'type' => 'string',
1039
+ ),
1040
+ ),
1041
+ ),
1042
+ ),
1043
+ 'creationTime' => array(
1044
+ 'type' => 'numeric',
1045
+ ),
1046
+ ),
1047
+ ),
1048
+ ),
1049
+ 'nextToken' => array(
1050
+ 'type' => 'string',
1051
+ 'location' => 'json',
1052
+ ),
1053
+ ),
1054
+ ),
1055
+ 'GetLogEventsResponse' => array(
1056
+ 'type' => 'object',
1057
+ 'additionalProperties' => true,
1058
+ 'properties' => array(
1059
+ 'events' => array(
1060
+ 'type' => 'array',
1061
+ 'location' => 'json',
1062
+ 'items' => array(
1063
+ 'name' => 'OutputLogEvent',
1064
+ 'type' => 'object',
1065
+ 'properties' => array(
1066
+ 'timestamp' => array(
1067
+ 'type' => 'numeric',
1068
+ ),
1069
+ 'message' => array(
1070
+ 'type' => 'string',
1071
+ ),
1072
+ 'ingestionTime' => array(
1073
+ 'type' => 'numeric',
1074
+ ),
1075
+ ),
1076
+ ),
1077
+ ),
1078
+ 'nextForwardToken' => array(
1079
+ 'type' => 'string',
1080
+ 'location' => 'json',
1081
+ ),
1082
+ 'nextBackwardToken' => array(
1083
+ 'type' => 'string',
1084
+ 'location' => 'json',
1085
+ ),
1086
+ ),
1087
+ ),
1088
+ 'PutLogEventsResponse' => array(
1089
+ 'type' => 'object',
1090
+ 'additionalProperties' => true,
1091
+ 'properties' => array(
1092
+ 'nextSequenceToken' => array(
1093
+ 'type' => 'string',
1094
+ 'location' => 'json',
1095
+ ),
1096
+ ),
1097
+ ),
1098
+ 'TestMetricFilterResponse' => array(
1099
+ 'type' => 'object',
1100
+ 'additionalProperties' => true,
1101
+ 'properties' => array(
1102
+ 'matches' => array(
1103
+ 'type' => 'array',
1104
+ 'location' => 'json',
1105
+ 'items' => array(
1106
+ 'name' => 'MetricFilterMatchRecord',
1107
+ 'type' => 'object',
1108
+ 'properties' => array(
1109
+ 'eventNumber' => array(
1110
+ 'type' => 'numeric',
1111
+ ),
1112
+ 'eventMessage' => array(
1113
+ 'type' => 'string',
1114
+ ),
1115
+ 'extractedValues' => array(
1116
+ 'type' => 'object',
1117
+ 'additionalProperties' => array(
1118
+ 'type' => 'string',
1119
+ ),
1120
+ ),
1121
+ ),
1122
+ ),
1123
+ ),
1124
+ ),
1125
+ ),
1126
+ ),
1127
+ 'iterators' => array(
1128
+ 'DescribeLogGroups' => array(
1129
+ 'input_token' => 'nextToken',
1130
+ 'output_token' => 'nextToken',
1131
+ 'limit_key' => 'limit',
1132
+ 'result_key' => 'logGroups',
1133
+ ),
1134
+ 'DescribeLogStreams' => array(
1135
+ 'input_token' => 'nextToken',
1136
+ 'output_token' => 'nextToken',
1137
+ 'limit_key' => 'limit',
1138
+ 'result_key' => 'logStreams',
1139
+ ),
1140
+ 'DescribeMetricFilters' => array(
1141
+ 'input_token' => 'nextToken',
1142
+ 'output_token' => 'nextToken',
1143
+ 'limit_key' => 'limit',
1144
+ 'result_key' => 'metricFilters',
1145
+ ),
1146
+ 'GetLogEvents' => array(
1147
+ 'input_token' => 'nextToken',
1148
+ 'output_token' => 'nextForwardToken',
1149
+ 'limit_key' => 'limit',
1150
+ 'result_key' => 'events',
1151
+ ),
1152
+ ),
1153
+ );
vendor/aws/Aws/CognitoIdentity/CognitoIdentityClient.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CognitoIdentity;
4
+
5
+ use Aws\Common\Client\AbstractClient;
6
+ use Aws\Common\Client\ClientBuilder;
7
+ use Aws\Common\Enum\ClientOptions as Options;
8
+ use Aws\Common\Exception\Parser\JsonQueryExceptionParser;
9
+ use Aws\Common\Signature\SignatureListener;
10
+ use Guzzle\Common\Collection;
11
+ use Guzzle\Service\Command\AbstractCommand;
12
+ use Guzzle\Service\Resource\Model;
13
+ use Symfony\Component\EventDispatcher\EventDispatcher;
14
+ use Symfony\Component\EventDispatcher\Event;
15
+
16
+ /**
17
+ * Client to interact with Amazon Cognito Identity
18
+ *
19
+ * @method Model createIdentityPool(array $args = array()) {@command CognitoIdentity CreateIdentityPool}
20
+ * @method Model deleteIdentityPool(array $args = array()) {@command CognitoIdentity DeleteIdentityPool}
21
+ * @method Model describeIdentityPool(array $args = array()) {@command CognitoIdentity DescribeIdentityPool}
22
+ * @method Model getId(array $args = array()) {@command CognitoIdentity GetId}
23
+ * @method Model getOpenIdToken(array $args = array()) {@command CognitoIdentity GetOpenIdToken}
24
+ * @method Model listIdentities(array $args = array()) {@command CognitoIdentity ListIdentities}
25
+ * @method Model listIdentityPools(array $args = array()) {@command CognitoIdentity ListIdentityPools}
26
+ * @method Model unlinkIdentity(array $args = array()) {@command CognitoIdentity UnlinkIdentity}
27
+ * @method Model updateIdentityPool(array $args = array()) {@command CognitoIdentity UpdateIdentityPool}
28
+ *
29
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cognitoidentity.html User guide
30
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CognitoIdentity.CognitoIdentityClient.html API docs
31
+ */
32
+ class CognitoIdentityClient extends AbstractClient
33
+ {
34
+ const LATEST_API_VERSION = '2014-06-30';
35
+
36
+ /**
37
+ * Factory method to create a new Amazon Cognito Identity client using an array of configuration options.
38
+ *
39
+ * See http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
40
+ *
41
+ * @param array|Collection $config Client configuration data
42
+ *
43
+ * @return self
44
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
45
+ */
46
+ public static function factory($config = array())
47
+ {
48
+ $client = ClientBuilder::factory(__NAMESPACE__)
49
+ ->setConfig($config)
50
+ ->setConfigDefaults(array(
51
+ Options::VERSION => self::LATEST_API_VERSION,
52
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cognitoidentity-%s.php',
53
+ ))
54
+ ->setExceptionParser(new JsonQueryExceptionParser)
55
+ ->build();
56
+
57
+ // Attach a listener to prevent some requests from being signed
58
+ $client->getEventDispatcher()->addListener('command.before_send', function (Event $event) {
59
+ /** @var AbstractCommand $command */
60
+ $command = $event['command'];
61
+ if (in_array($command->getName(), array('GetId', 'GetOpenIdToken', 'UnlinkIdentity'))) {
62
+ /** @var EventDispatcher $dispatcher */
63
+ $dispatcher = $command->getRequest()->getEventDispatcher();
64
+ foreach ($dispatcher->getListeners('request.before_send') as $listener) {
65
+ if (is_array($listener) && $listener[0] instanceof SignatureListener) {
66
+ $dispatcher->removeListener('request.before_send', $listener);
67
+ break;
68
+ }
69
+ }
70
+ }
71
+ });
72
+
73
+ return $client;
74
+ }
75
+ }
vendor/aws/Aws/CognitoIdentity/Exception/CognitoIdentityException.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CognitoIdentity\Exception;
4
+
5
+ use Aws\Common\Exception\ServiceResponseException;
6
+
7
+ /**
8
+ * Exception thrown by the CognitoIdentity service client.
9
+ */
10
+ class CognitoIdentityException extends ServiceResponseException {}
vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php ADDED
@@ -0,0 +1,758 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ return array (
18
+ 'apiVersion' => '2014-06-30',
19
+ 'endpointPrefix' => 'cognito-identity',
20
+ 'serviceFullName' => 'Amazon Cognito Identity',
21
+ 'serviceType' => 'json',
22
+ 'jsonVersion' => '1.1',
23
+ 'targetPrefix' => 'AWSCognitoIdentityService.',
24
+ 'signatureVersion' => 'v4',
25
+ 'namespace' => 'CognitoIdentity',
26
+ 'regions' => array(
27
+ 'us-east-1' => array(
28
+ 'http' => false,
29
+ 'https' => true,
30
+ 'hostname' => 'cognito-identity.us-east-1.amazonaws.com',
31
+ ),
32
+ ),
33
+ 'operations' => array(
34
+ 'CreateIdentityPool' => array(
35
+ 'httpMethod' => 'POST',
36
+ 'uri' => '/',
37
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
38
+ 'responseClass' => 'IdentityPool',
39
+ 'responseType' => 'model',
40
+ 'parameters' => array(
41
+ 'Content-Type' => array(
42
+ 'static' => true,
43
+ 'location' => 'header',
44
+ 'default' => 'application/x-amz-json-1.1',
45
+ ),
46
+ 'command.expects' => array(
47
+ 'static' => true,
48
+ 'default' => 'application/json',
49
+ ),
50
+ 'X-Amz-Target' => array(
51
+ 'static' => true,
52
+ 'location' => 'header',
53
+ 'default' => 'AWSCognitoIdentityService.CreateIdentityPool',
54
+ ),
55
+ 'IdentityPoolName' => array(
56
+ 'required' => true,
57
+ 'type' => 'string',
58
+ 'location' => 'json',
59
+ 'minLength' => 1,
60
+ 'maxLength' => 128,
61
+ ),
62
+ 'AllowUnauthenticatedIdentities' => array(
63
+ 'required' => true,
64
+ 'type' => 'boolean',
65
+ 'format' => 'boolean-string',
66
+ 'location' => 'json',
67
+ ),
68
+ 'SupportedLoginProviders' => array(
69
+ 'type' => 'object',
70
+ 'location' => 'json',
71
+ 'additionalProperties' => array(
72
+ 'type' => 'string',
73
+ 'minLength' => 1,
74
+ 'maxLength' => 128,
75
+ 'data' => array(
76
+ 'shape_name' => 'IdentityProviderName',
77
+ 'key_pattern' => '/[\\w._-]+/',
78
+ ),
79
+ ),
80
+ ),
81
+ ),
82
+ 'errorResponses' => array(
83
+ array(
84
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
85
+ 'class' => 'InvalidParameterException',
86
+ ),
87
+ array(
88
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
89
+ 'class' => 'NotAuthorizedException',
90
+ ),
91
+ array(
92
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
93
+ 'class' => 'ResourceConflictException',
94
+ ),
95
+ array(
96
+ 'reason' => 'Thrown when a request is throttled.',
97
+ 'class' => 'TooManyRequestsException',
98
+ ),
99
+ array(
100
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
101
+ 'class' => 'InternalErrorException',
102
+ ),
103
+ array(
104
+ 'reason' => 'Thrown when the total number of user pools has exceeded a preset limit.',
105
+ 'class' => 'LimitExceededException',
106
+ ),
107
+ ),
108
+ ),
109
+ 'DeleteIdentityPool' => array(
110
+ 'httpMethod' => 'POST',
111
+ 'uri' => '/',
112
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
113
+ 'responseClass' => 'EmptyOutput',
114
+ 'responseType' => 'model',
115
+ 'parameters' => array(
116
+ 'Content-Type' => array(
117
+ 'static' => true,
118
+ 'location' => 'header',
119
+ 'default' => 'application/x-amz-json-1.1',
120
+ ),
121
+ 'command.expects' => array(
122
+ 'static' => true,
123
+ 'default' => 'application/json',
124
+ ),
125
+ 'X-Amz-Target' => array(
126
+ 'static' => true,
127
+ 'location' => 'header',
128
+ 'default' => 'AWSCognitoIdentityService.DeleteIdentityPool',
129
+ ),
130
+ 'IdentityPoolId' => array(
131
+ 'required' => true,
132
+ 'type' => 'string',
133
+ 'location' => 'json',
134
+ 'minLength' => 1,
135
+ 'maxLength' => 50,
136
+ ),
137
+ ),
138
+ 'errorResponses' => array(
139
+ array(
140
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
141
+ 'class' => 'InvalidParameterException',
142
+ ),
143
+ array(
144
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
145
+ 'class' => 'ResourceNotFoundException',
146
+ ),
147
+ array(
148
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
149
+ 'class' => 'NotAuthorizedException',
150
+ ),
151
+ array(
152
+ 'reason' => 'Thrown when a request is throttled.',
153
+ 'class' => 'TooManyRequestsException',
154
+ ),
155
+ array(
156
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
157
+ 'class' => 'InternalErrorException',
158
+ ),
159
+ ),
160
+ ),
161
+ 'DescribeIdentityPool' => array(
162
+ 'httpMethod' => 'POST',
163
+ 'uri' => '/',
164
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
165
+ 'responseClass' => 'IdentityPool',
166
+ 'responseType' => 'model',
167
+ 'parameters' => array(
168
+ 'Content-Type' => array(
169
+ 'static' => true,
170
+ 'location' => 'header',
171
+ 'default' => 'application/x-amz-json-1.1',
172
+ ),
173
+ 'command.expects' => array(
174
+ 'static' => true,
175
+ 'default' => 'application/json',
176
+ ),
177
+ 'X-Amz-Target' => array(
178
+ 'static' => true,
179
+ 'location' => 'header',
180
+ 'default' => 'AWSCognitoIdentityService.DescribeIdentityPool',
181
+ ),
182
+ 'IdentityPoolId' => array(
183
+ 'required' => true,
184
+ 'type' => 'string',
185
+ 'location' => 'json',
186
+ 'minLength' => 1,
187
+ 'maxLength' => 50,
188
+ ),
189
+ ),
190
+ 'errorResponses' => array(
191
+ array(
192
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
193
+ 'class' => 'InvalidParameterException',
194
+ ),
195
+ array(
196
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
197
+ 'class' => 'ResourceNotFoundException',
198
+ ),
199
+ array(
200
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
201
+ 'class' => 'NotAuthorizedException',
202
+ ),
203
+ array(
204
+ 'reason' => 'Thrown when a request is throttled.',
205
+ 'class' => 'TooManyRequestsException',
206
+ ),
207
+ array(
208
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
209
+ 'class' => 'InternalErrorException',
210
+ ),
211
+ ),
212
+ ),
213
+ 'GetId' => array(
214
+ 'httpMethod' => 'POST',
215
+ 'uri' => '/',
216
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
217
+ 'responseClass' => 'GetIdResponse',
218
+ 'responseType' => 'model',
219
+ 'parameters' => array(
220
+ 'Content-Type' => array(
221
+ 'static' => true,
222
+ 'location' => 'header',
223
+ 'default' => 'application/x-amz-json-1.1',
224
+ ),
225
+ 'command.expects' => array(
226
+ 'static' => true,
227
+ 'default' => 'application/json',
228
+ ),
229
+ 'X-Amz-Target' => array(
230
+ 'static' => true,
231
+ 'location' => 'header',
232
+ 'default' => 'AWSCognitoIdentityService.GetId',
233
+ ),
234
+ 'AccountId' => array(
235
+ 'required' => true,
236
+ 'type' => 'string',
237
+ 'location' => 'json',
238
+ 'minLength' => 1,
239
+ 'maxLength' => 15,
240
+ ),
241
+ 'IdentityPoolId' => array(
242
+ 'required' => true,
243
+ 'type' => 'string',
244
+ 'location' => 'json',
245
+ 'minLength' => 1,
246
+ 'maxLength' => 50,
247
+ ),
248
+ 'Logins' => array(
249
+ 'type' => 'object',
250
+ 'location' => 'json',
251
+ 'additionalProperties' => array(
252
+ 'type' => 'string',
253
+ 'minLength' => 1,
254
+ 'maxLength' => 1024,
255
+ 'data' => array(
256
+ 'shape_name' => 'IdentityProviderName',
257
+ 'key_pattern' => '/[\\w._-]+/',
258
+ ),
259
+ ),
260
+ ),
261
+ ),
262
+ 'errorResponses' => array(
263
+ array(
264
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
265
+ 'class' => 'InvalidParameterException',
266
+ ),
267
+ array(
268
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
269
+ 'class' => 'ResourceNotFoundException',
270
+ ),
271
+ array(
272
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
273
+ 'class' => 'NotAuthorizedException',
274
+ ),
275
+ array(
276
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
277
+ 'class' => 'ResourceConflictException',
278
+ ),
279
+ array(
280
+ 'reason' => 'Thrown when a request is throttled.',
281
+ 'class' => 'TooManyRequestsException',
282
+ ),
283
+ array(
284
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
285
+ 'class' => 'InternalErrorException',
286
+ ),
287
+ array(
288
+ 'reason' => 'Thrown when the total number of user pools has exceeded a preset limit.',
289
+ 'class' => 'LimitExceededException',
290
+ ),
291
+ ),
292
+ ),
293
+ 'GetOpenIdToken' => array(
294
+ 'httpMethod' => 'POST',
295
+ 'uri' => '/',
296
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
297
+ 'responseClass' => 'GetOpenIdTokenResponse',
298
+ 'responseType' => 'model',
299
+ 'parameters' => array(
300
+ 'Content-Type' => array(
301
+ 'static' => true,
302
+ 'location' => 'header',
303
+ 'default' => 'application/x-amz-json-1.1',
304
+ ),
305
+ 'command.expects' => array(
306
+ 'static' => true,
307
+ 'default' => 'application/json',
308
+ ),
309
+ 'X-Amz-Target' => array(
310
+ 'static' => true,
311
+ 'location' => 'header',
312
+ 'default' => 'AWSCognitoIdentityService.GetOpenIdToken',
313
+ ),
314
+ 'IdentityId' => array(
315
+ 'required' => true,
316
+ 'type' => 'string',
317
+ 'location' => 'json',
318
+ 'minLength' => 1,
319
+ 'maxLength' => 50,
320
+ ),
321
+ 'Logins' => array(
322
+ 'type' => 'object',
323
+ 'location' => 'json',
324
+ 'additionalProperties' => array(
325
+ 'type' => 'string',
326
+ 'minLength' => 1,
327
+ 'maxLength' => 1024,
328
+ 'data' => array(
329
+ 'shape_name' => 'IdentityProviderName',
330
+ 'key_pattern' => '/[\\w._-]+/',
331
+ ),
332
+ ),
333
+ ),
334
+ ),
335
+ 'errorResponses' => array(
336
+ array(
337
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
338
+ 'class' => 'InvalidParameterException',
339
+ ),
340
+ array(
341
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
342
+ 'class' => 'ResourceNotFoundException',
343
+ ),
344
+ array(
345
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
346
+ 'class' => 'NotAuthorizedException',
347
+ ),
348
+ array(
349
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
350
+ 'class' => 'ResourceConflictException',
351
+ ),
352
+ array(
353
+ 'reason' => 'Thrown when a request is throttled.',
354
+ 'class' => 'TooManyRequestsException',
355
+ ),
356
+ array(
357
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
358
+ 'class' => 'InternalErrorException',
359
+ ),
360
+ ),
361
+ ),
362
+ 'ListIdentities' => array(
363
+ 'httpMethod' => 'POST',
364
+ 'uri' => '/',
365
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
366
+ 'responseClass' => 'ListIdentitiesResponse',
367
+ 'responseType' => 'model',
368
+ 'parameters' => array(
369
+ 'Content-Type' => array(
370
+ 'static' => true,
371
+ 'location' => 'header',
372
+ 'default' => 'application/x-amz-json-1.1',
373
+ ),
374
+ 'command.expects' => array(
375
+ 'static' => true,
376
+ 'default' => 'application/json',
377
+ ),
378
+ 'X-Amz-Target' => array(
379
+ 'static' => true,
380
+ 'location' => 'header',
381
+ 'default' => 'AWSCognitoIdentityService.ListIdentities',
382
+ ),
383
+ 'IdentityPoolId' => array(
384
+ 'required' => true,
385
+ 'type' => 'string',
386
+ 'location' => 'json',
387
+ 'minLength' => 1,
388
+ 'maxLength' => 50,
389
+ ),
390
+ 'MaxResults' => array(
391
+ 'required' => true,
392
+ 'type' => 'numeric',
393
+ 'location' => 'json',
394
+ 'minimum' => 1,
395
+ 'maximum' => 60,
396
+ ),
397
+ 'NextToken' => array(
398
+ 'type' => 'string',
399
+ 'location' => 'json',
400
+ 'minLength' => 1,
401
+ ),
402
+ ),
403
+ 'errorResponses' => array(
404
+ array(
405
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
406
+ 'class' => 'InvalidParameterException',
407
+ ),
408
+ array(
409
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
410
+ 'class' => 'ResourceNotFoundException',
411
+ ),
412
+ array(
413
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
414
+ 'class' => 'NotAuthorizedException',
415
+ ),
416
+ array(
417
+ 'reason' => 'Thrown when a request is throttled.',
418
+ 'class' => 'TooManyRequestsException',
419
+ ),
420
+ array(
421
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
422
+ 'class' => 'InternalErrorException',
423
+ ),
424
+ ),
425
+ ),
426
+ 'ListIdentityPools' => array(
427
+ 'httpMethod' => 'POST',
428
+ 'uri' => '/',
429
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
430
+ 'responseClass' => 'ListIdentityPoolsResponse',
431
+ 'responseType' => 'model',
432
+ 'parameters' => array(
433
+ 'Content-Type' => array(
434
+ 'static' => true,
435
+ 'location' => 'header',
436
+ 'default' => 'application/x-amz-json-1.1',
437
+ ),
438
+ 'command.expects' => array(
439
+ 'static' => true,
440
+ 'default' => 'application/json',
441
+ ),
442
+ 'X-Amz-Target' => array(
443
+ 'static' => true,
444
+ 'location' => 'header',
445
+ 'default' => 'AWSCognitoIdentityService.ListIdentityPools',
446
+ ),
447
+ 'MaxResults' => array(
448
+ 'required' => true,
449
+ 'type' => 'numeric',
450
+ 'location' => 'json',
451
+ 'minimum' => 1,
452
+ 'maximum' => 60,
453
+ ),
454
+ 'NextToken' => array(
455
+ 'type' => 'string',
456
+ 'location' => 'json',
457
+ 'minLength' => 1,
458
+ ),
459
+ ),
460
+ 'errorResponses' => array(
461
+ array(
462
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
463
+ 'class' => 'InvalidParameterException',
464
+ ),
465
+ array(
466
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
467
+ 'class' => 'NotAuthorizedException',
468
+ ),
469
+ array(
470
+ 'reason' => 'Thrown when a request is throttled.',
471
+ 'class' => 'TooManyRequestsException',
472
+ ),
473
+ array(
474
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
475
+ 'class' => 'InternalErrorException',
476
+ ),
477
+ ),
478
+ ),
479
+ 'UnlinkIdentity' => array(
480
+ 'httpMethod' => 'POST',
481
+ 'uri' => '/',
482
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
483
+ 'responseClass' => 'EmptyOutput',
484
+ 'responseType' => 'model',
485
+ 'parameters' => array(
486
+ 'Content-Type' => array(
487
+ 'static' => true,
488
+ 'location' => 'header',
489
+ 'default' => 'application/x-amz-json-1.1',
490
+ ),
491
+ 'command.expects' => array(
492
+ 'static' => true,
493
+ 'default' => 'application/json',
494
+ ),
495
+ 'X-Amz-Target' => array(
496
+ 'static' => true,
497
+ 'location' => 'header',
498
+ 'default' => 'AWSCognitoIdentityService.UnlinkIdentity',
499
+ ),
500
+ 'IdentityId' => array(
501
+ 'required' => true,
502
+ 'type' => 'string',
503
+ 'location' => 'json',
504
+ 'minLength' => 1,
505
+ 'maxLength' => 50,
506
+ ),
507
+ 'Logins' => array(
508
+ 'required' => true,
509
+ 'type' => 'object',
510
+ 'location' => 'json',
511
+ 'additionalProperties' => array(
512
+ 'type' => 'string',
513
+ 'minLength' => 1,
514
+ 'maxLength' => 1024,
515
+ 'data' => array(
516
+ 'shape_name' => 'IdentityProviderName',
517
+ 'key_pattern' => '/[\\w._-]+/',
518
+ ),
519
+ ),
520
+ ),
521
+ 'LoginsToRemove' => array(
522
+ 'required' => true,
523
+ 'type' => 'array',
524
+ 'location' => 'json',
525
+ 'items' => array(
526
+ 'name' => 'IdentityProviderName',
527
+ 'type' => 'string',
528
+ 'minLength' => 1,
529
+ 'maxLength' => 128,
530
+ ),
531
+ ),
532
+ ),
533
+ 'errorResponses' => array(
534
+ array(
535
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
536
+ 'class' => 'InvalidParameterException',
537
+ ),
538
+ array(
539
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
540
+ 'class' => 'ResourceNotFoundException',
541
+ ),
542
+ array(
543
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
544
+ 'class' => 'NotAuthorizedException',
545
+ ),
546
+ array(
547
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
548
+ 'class' => 'ResourceConflictException',
549
+ ),
550
+ array(
551
+ 'reason' => 'Thrown when a request is throttled.',
552
+ 'class' => 'TooManyRequestsException',
553
+ ),
554
+ array(
555
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
556
+ 'class' => 'InternalErrorException',
557
+ ),
558
+ ),
559
+ ),
560
+ 'UpdateIdentityPool' => array(
561
+ 'httpMethod' => 'POST',
562
+ 'uri' => '/',
563
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
564
+ 'responseClass' => 'IdentityPool',
565
+ 'responseType' => 'model',
566
+ 'parameters' => array(
567
+ 'Content-Type' => array(
568
+ 'static' => true,
569
+ 'location' => 'header',
570
+ 'default' => 'application/x-amz-json-1.1',
571
+ ),
572
+ 'command.expects' => array(
573
+ 'static' => true,
574
+ 'default' => 'application/json',
575
+ ),
576
+ 'X-Amz-Target' => array(
577
+ 'static' => true,
578
+ 'location' => 'header',
579
+ 'default' => 'AWSCognitoIdentityService.UpdateIdentityPool',
580
+ ),
581
+ 'IdentityPoolId' => array(
582
+ 'required' => true,
583
+ 'type' => 'string',
584
+ 'location' => 'json',
585
+ 'minLength' => 1,
586
+ 'maxLength' => 50,
587
+ ),
588
+ 'IdentityPoolName' => array(
589
+ 'required' => true,
590
+ 'type' => 'string',
591
+ 'location' => 'json',
592
+ 'minLength' => 1,
593
+ 'maxLength' => 128,
594
+ ),
595
+ 'AllowUnauthenticatedIdentities' => array(
596
+ 'required' => true,
597
+ 'type' => 'boolean',
598
+ 'format' => 'boolean-string',
599
+ 'location' => 'json',
600
+ ),
601
+ 'SupportedLoginProviders' => array(
602
+ 'type' => 'object',
603
+ 'location' => 'json',
604
+ 'additionalProperties' => array(
605
+ 'type' => 'string',
606
+ 'minLength' => 1,
607
+ 'maxLength' => 128,
608
+ 'data' => array(
609
+ 'shape_name' => 'IdentityProviderName',
610
+ 'key_pattern' => '/[\\w._-]+/',
611
+ ),
612
+ ),
613
+ ),
614
+ ),
615
+ 'errorResponses' => array(
616
+ array(
617
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
618
+ 'class' => 'InvalidParameterException',
619
+ ),
620
+ array(
621
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
622
+ 'class' => 'ResourceNotFoundException',
623
+ ),
624
+ array(
625
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
626
+ 'class' => 'NotAuthorizedException',
627
+ ),
628
+ array(
629
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
630
+ 'class' => 'ResourceConflictException',
631
+ ),
632
+ array(
633
+ 'reason' => 'Thrown when a request is throttled.',
634
+ 'class' => 'TooManyRequestsException',
635
+ ),
636
+ array(
637
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
638
+ 'class' => 'InternalErrorException',
639
+ ),
640
+ ),
641
+ ),
642
+ ),
643
+ 'models' => array(
644
+ 'IdentityPool' => array(
645
+ 'type' => 'object',
646
+ 'additionalProperties' => true,
647
+ 'properties' => array(
648
+ 'IdentityPoolId' => array(
649
+ 'type' => 'string',
650
+ 'location' => 'json',
651
+ ),
652
+ 'IdentityPoolName' => array(
653
+ 'type' => 'string',
654
+ 'location' => 'json',
655
+ ),
656
+ 'AllowUnauthenticatedIdentities' => array(
657
+ 'type' => 'boolean',
658
+ 'location' => 'json',
659
+ ),
660
+ 'SupportedLoginProviders' => array(
661
+ 'type' => 'object',
662
+ 'location' => 'json',
663
+ 'additionalProperties' => array(
664
+ 'type' => 'string',
665
+ ),
666
+ ),
667
+ ),
668
+ ),
669
+ 'EmptyOutput' => array(
670
+ 'type' => 'object',
671
+ 'additionalProperties' => true,
672
+ ),
673
+ 'GetIdResponse' => array(
674
+ 'type' => 'object',
675
+ 'additionalProperties' => true,
676
+ 'properties' => array(
677
+ 'IdentityId' => array(
678
+ 'type' => 'string',
679
+ 'location' => 'json',
680
+ ),
681
+ ),
682
+ ),
683
+ 'GetOpenIdTokenResponse' => array(
684
+ 'type' => 'object',
685
+ 'additionalProperties' => true,
686
+ 'properties' => array(
687
+ 'IdentityId' => array(
688
+ 'type' => 'string',
689
+ 'location' => 'json',
690
+ ),
691
+ 'Token' => array(
692
+ 'type' => 'string',
693
+ 'location' => 'json',
694
+ ),
695
+ ),
696
+ ),
697
+ 'ListIdentitiesResponse' => array(
698
+ 'type' => 'object',
699
+ 'additionalProperties' => true,
700
+ 'properties' => array(
701
+ 'IdentityPoolId' => array(
702
+ 'type' => 'string',
703
+ 'location' => 'json',
704
+ ),
705
+ 'Identities' => array(
706
+ 'type' => 'array',
707
+ 'location' => 'json',
708
+ 'items' => array(
709
+ 'name' => 'IdentityDescription',
710
+ 'type' => 'object',
711
+ 'properties' => array(
712
+ 'IdentityId' => array(
713
+ 'type' => 'string',
714
+ ),
715
+ 'Logins' => array(
716
+ 'type' => 'array',
717
+ 'items' => array(
718
+ 'name' => 'IdentityProviderName',
719
+ 'type' => 'string',
720
+ ),
721
+ ),
722
+ ),
723
+ ),
724
+ ),
725
+ 'NextToken' => array(
726
+ 'type' => 'string',
727
+ 'location' => 'json',
728
+ ),
729
+ ),
730
+ ),
731
+ 'ListIdentityPoolsResponse' => array(
732
+ 'type' => 'object',
733
+ 'additionalProperties' => true,
734
+ 'properties' => array(
735
+ 'IdentityPools' => array(
736
+ 'type' => 'array',
737
+ 'location' => 'json',
738
+ 'items' => array(
739
+ 'name' => 'IdentityPoolShortDescription',
740
+ 'type' => 'object',
741
+ 'properties' => array(
742
+ 'IdentityPoolId' => array(
743
+ 'type' => 'string',
744
+ ),
745
+ 'IdentityPoolName' => array(
746
+ 'type' => 'string',
747
+ ),
748
+ ),
749
+ ),
750
+ ),
751
+ 'NextToken' => array(
752
+ 'type' => 'string',
753
+ 'location' => 'json',
754
+ ),
755
+ ),
756
+ ),
757
+ ),
758
+ );
vendor/aws/Aws/CognitoSync/CognitoSyncClient.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CognitoSync;
4
+
5
+ use Aws\Common\Client\AbstractClient;
6
+ use Aws\Common\Client\ClientBuilder;
7
+ use Aws\Common\Enum\ClientOptions as Options;
8
+ use Aws\Common\Exception\Parser\JsonRestExceptionParser;
9
+ use Guzzle\Common\Collection;
10
+ use Guzzle\Service\Resource\Model;
11
+
12
+ /**
13
+ * Client to interact with Amazon Cognito Sync
14
+ *
15
+ * @method Model deleteDataset(array $args = array()) {@command CognitoSync DeleteDataset}
16
+ * @method Model describeDataset(array $args = array()) {@command CognitoSync DescribeDataset}
17
+ * @method Model describeIdentityPoolUsage(array $args = array()) {@command CognitoSync DescribeIdentityPoolUsage}
18
+ * @method Model describeIdentityUsage(array $args = array()) {@command CognitoSync DescribeIdentityUsage}
19
+ * @method Model listDatasets(array $args = array()) {@command CognitoSync ListDatasets}
20
+ * @method Model listIdentityPoolUsage(array $args = array()) {@command CognitoSync ListIdentityPoolUsage}
21
+ * @method Model listRecords(array $args = array()) {@command CognitoSync ListRecords}
22
+ * @method Model updateRecords(array $args = array()) {@command CognitoSync UpdateRecords}
23
+ *
24
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cognitosync.html User guide
25
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CognitoSync.CognitoSyncClient.html API docs
26
+ */
27
+ class CognitoSyncClient extends AbstractClient
28
+ {
29
+ const LATEST_API_VERSION = '2014-06-30';
30
+
31
+ /**
32
+ * Factory method to create a new Amazon Cognito Sync client using an array of configuration options.
33
+ *
34
+ * See http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
35
+ *
36
+ * @param array|Collection $config Client configuration data
37
+ *
38
+ * @return self
39
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
40
+ */
41
+ public static function factory($config = array())
42
+ {
43
+ return ClientBuilder::factory(__NAMESPACE__)
44
+ ->setConfig($config)
45
+ ->setConfigDefaults(array(
46
+ Options::VERSION => self::LATEST_API_VERSION,
47
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cognitosync-%s.php',
48
+ ))
49
+ ->setExceptionParser(new JsonRestExceptionParser)
50
+ ->build();
51
+ }
52
+ }
vendor/aws/Aws/CognitoSync/Exception/CognitoSyncException.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CognitoSync\Exception;
4
+
5
+ use Aws\Common\Exception\ServiceResponseException;
6
+
7
+ /**
8
+ * Exception thrown by the CognitoSync service client.
9
+ */
10
+ class CognitoSyncException extends ServiceResponseException {}
vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php ADDED
@@ -0,0 +1,767 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ return array (
18
+ 'apiVersion' => '2014-06-30',
19
+ 'endpointPrefix' => 'cognito-sync',
20
+ 'serviceFullName' => 'Amazon Cognito Sync',
21
+ 'serviceType' => 'rest-json',
22
+ 'jsonVersion' => '1.1',
23
+ 'signatureVersion' => 'v4',
24
+ 'namespace' => 'CognitoSync',
25
+ 'regions' => array(
26
+ 'us-east-1' => array(
27
+ 'http' => false,
28
+ 'https' => true,
29
+ 'hostname' => 'cognito-sync.us-east-1.amazonaws.com',
30
+ ),
31
+ ),
32
+ 'operations' => array(
33
+ 'DeleteDataset' => array(
34
+ 'httpMethod' => 'DELETE',
35
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}',
36
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
37
+ 'responseClass' => 'DeleteDatasetResponse',
38
+ 'responseType' => 'model',
39
+ 'parameters' => array(
40
+ 'IdentityPoolId' => array(
41
+ 'required' => true,
42
+ 'type' => 'string',
43
+ 'location' => 'uri',
44
+ 'minLength' => 1,
45
+ 'maxLength' => 50,
46
+ ),
47
+ 'IdentityId' => array(
48
+ 'required' => true,
49
+ 'type' => 'string',
50
+ 'location' => 'uri',
51
+ 'minLength' => 1,
52
+ 'maxLength' => 50,
53
+ ),
54
+ 'DatasetName' => array(
55
+ 'required' => true,
56
+ 'type' => 'string',
57
+ 'location' => 'uri',
58
+ 'minLength' => 1,
59
+ 'maxLength' => 128,
60
+ ),
61
+ ),
62
+ 'errorResponses' => array(
63
+ array(
64
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
65
+ 'class' => 'NotAuthorizedException',
66
+ ),
67
+ array(
68
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
69
+ 'class' => 'InvalidParameterException',
70
+ ),
71
+ array(
72
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
73
+ 'class' => 'ResourceNotFoundException',
74
+ ),
75
+ array(
76
+ 'reason' => 'Indicates an internal service error.',
77
+ 'class' => 'InternalErrorException',
78
+ ),
79
+ ),
80
+ ),
81
+ 'DescribeDataset' => array(
82
+ 'httpMethod' => 'GET',
83
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}',
84
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
85
+ 'responseClass' => 'DescribeDatasetResponse',
86
+ 'responseType' => 'model',
87
+ 'parameters' => array(
88
+ 'IdentityPoolId' => array(
89
+ 'required' => true,
90
+ 'type' => 'string',
91
+ 'location' => 'uri',
92
+ 'minLength' => 1,
93
+ 'maxLength' => 50,
94
+ ),
95
+ 'IdentityId' => array(
96
+ 'required' => true,
97
+ 'type' => 'string',
98
+ 'location' => 'uri',
99
+ 'minLength' => 1,
100
+ 'maxLength' => 50,
101
+ ),
102
+ 'DatasetName' => array(
103
+ 'required' => true,
104
+ 'type' => 'string',
105
+ 'location' => 'uri',
106
+ 'minLength' => 1,
107
+ 'maxLength' => 128,
108
+ ),
109
+ ),
110
+ 'errorResponses' => array(
111
+ array(
112
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
113
+ 'class' => 'NotAuthorizedException',
114
+ ),
115
+ array(
116
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
117
+ 'class' => 'InvalidParameterException',
118
+ ),
119
+ array(
120
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
121
+ 'class' => 'ResourceNotFoundException',
122
+ ),
123
+ array(
124
+ 'reason' => 'Indicates an internal service error.',
125
+ 'class' => 'InternalErrorException',
126
+ ),
127
+ ),
128
+ ),
129
+ 'DescribeIdentityPoolUsage' => array(
130
+ 'httpMethod' => 'GET',
131
+ 'uri' => '/identitypools/{IdentityPoolId}',
132
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
133
+ 'responseClass' => 'DescribeIdentityPoolUsageResponse',
134
+ 'responseType' => 'model',
135
+ 'parameters' => array(
136
+ 'IdentityPoolId' => array(
137
+ 'required' => true,
138
+ 'type' => 'string',
139
+ 'location' => 'uri',
140
+ 'minLength' => 1,
141
+ 'maxLength' => 50,
142
+ ),
143
+ ),
144
+ 'errorResponses' => array(
145
+ array(
146
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
147
+ 'class' => 'NotAuthorizedException',
148
+ ),
149
+ array(
150
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
151
+ 'class' => 'InvalidParameterException',
152
+ ),
153
+ array(
154
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
155
+ 'class' => 'ResourceNotFoundException',
156
+ ),
157
+ array(
158
+ 'reason' => 'Indicates an internal service error.',
159
+ 'class' => 'InternalErrorException',
160
+ ),
161
+ ),
162
+ ),
163
+ 'DescribeIdentityUsage' => array(
164
+ 'httpMethod' => 'GET',
165
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}',
166
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
167
+ 'responseClass' => 'DescribeIdentityUsageResponse',
168
+ 'responseType' => 'model',
169
+ 'parameters' => array(
170
+ 'IdentityPoolId' => array(
171
+ 'required' => true,
172
+ 'type' => 'string',
173
+ 'location' => 'uri',
174
+ 'minLength' => 1,
175
+ 'maxLength' => 50,
176
+ ),
177
+ 'IdentityId' => array(
178
+ 'required' => true,
179
+ 'type' => 'string',
180
+ 'location' => 'uri',
181
+ 'minLength' => 1,
182
+ 'maxLength' => 50,
183
+ ),
184
+ ),
185
+ 'errorResponses' => array(
186
+ array(
187
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
188
+ 'class' => 'NotAuthorizedException',
189
+ ),
190
+ array(
191
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
192
+ 'class' => 'InvalidParameterException',
193
+ ),
194
+ array(
195
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
196
+ 'class' => 'ResourceNotFoundException',
197
+ ),
198
+ array(
199
+ 'reason' => 'Indicates an internal service error.',
200
+ 'class' => 'InternalErrorException',
201
+ ),
202
+ ),
203
+ ),
204
+ 'ListDatasets' => array(
205
+ 'httpMethod' => 'GET',
206
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets',
207
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
208
+ 'responseClass' => 'ListDatasetsResponse',
209
+ 'responseType' => 'model',
210
+ 'parameters' => array(
211
+ 'IdentityPoolId' => array(
212
+ 'required' => true,
213
+ 'type' => 'string',
214
+ 'location' => 'uri',
215
+ 'minLength' => 1,
216
+ 'maxLength' => 50,
217
+ ),
218
+ 'IdentityId' => array(
219
+ 'required' => true,
220
+ 'type' => 'string',
221
+ 'location' => 'uri',
222
+ 'minLength' => 1,
223
+ 'maxLength' => 50,
224
+ ),
225
+ 'NextToken' => array(
226
+ 'type' => 'string',
227
+ 'location' => 'query',
228
+ 'sentAs' => 'nextToken',
229
+ ),
230
+ 'MaxResults' => array(
231
+ 'type' => 'numeric',
232
+ 'location' => 'query',
233
+ 'sentAs' => 'maxResults',
234
+ ),
235
+ ),
236
+ 'errorResponses' => array(
237
+ array(
238
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
239
+ 'class' => 'NotAuthorizedException',
240
+ ),
241
+ array(
242
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
243
+ 'class' => 'InvalidParameterException',
244
+ ),
245
+ array(
246
+ 'reason' => 'Indicates an internal service error.',
247
+ 'class' => 'InternalErrorException',
248
+ ),
249
+ ),
250
+ ),
251
+ 'ListIdentityPoolUsage' => array(
252
+ 'httpMethod' => 'GET',
253
+ 'uri' => '/identitypools',
254
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
255
+ 'responseClass' => 'ListIdentityPoolUsageResponse',
256
+ 'responseType' => 'model',
257
+ 'parameters' => array(
258
+ 'NextToken' => array(
259
+ 'type' => 'string',
260
+ 'location' => 'query',
261
+ 'sentAs' => 'nextToken',
262
+ ),
263
+ 'MaxResults' => array(
264
+ 'type' => 'numeric',
265
+ 'location' => 'query',
266
+ 'sentAs' => 'maxResults',
267
+ ),
268
+ ),
269
+ 'errorResponses' => array(
270
+ array(
271
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
272
+ 'class' => 'NotAuthorizedException',
273
+ ),
274
+ array(
275
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
276
+ 'class' => 'InvalidParameterException',
277
+ ),
278
+ array(
279
+ 'reason' => 'Indicates an internal service error.',
280
+ 'class' => 'InternalErrorException',
281
+ ),
282
+ ),
283
+ ),
284
+ 'ListRecords' => array(
285
+ 'httpMethod' => 'GET',
286
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records',
287
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
288
+ 'responseClass' => 'ListRecordsResponse',
289
+ 'responseType' => 'model',
290
+ 'parameters' => array(
291
+ 'IdentityPoolId' => array(
292
+ 'required' => true,
293
+ 'type' => 'string',
294
+ 'location' => 'uri',
295
+ 'minLength' => 1,
296
+ 'maxLength' => 50,
297
+ ),
298
+ 'IdentityId' => array(
299
+ 'required' => true,
300
+ 'type' => 'string',
301
+ 'location' => 'uri',
302
+ 'minLength' => 1,
303
+ 'maxLength' => 50,
304
+ ),
305
+ 'DatasetName' => array(
306
+ 'required' => true,
307
+ 'type' => 'string',
308
+ 'location' => 'uri',
309
+ 'minLength' => 1,
310
+ 'maxLength' => 128,
311
+ ),
312
+ 'LastSyncCount' => array(
313
+ 'type' => 'numeric',
314
+ 'location' => 'query',
315
+ 'sentAs' => 'lastSyncCount',
316
+ ),
317
+ 'NextToken' => array(
318
+ 'type' => 'string',
319
+ 'location' => 'query',
320
+ 'sentAs' => 'nextToken',
321
+ ),
322
+ 'MaxResults' => array(
323
+ 'type' => 'numeric',
324
+ 'location' => 'query',
325
+ 'sentAs' => 'maxResults',
326
+ ),
327
+ 'SyncSessionToken' => array(
328
+ 'type' => 'string',
329
+ 'location' => 'query',
330
+ 'sentAs' => 'syncSessionToken',
331
+ ),
332
+ ),
333
+ 'errorResponses' => array(
334
+ array(
335
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
336
+ 'class' => 'InvalidParameterException',
337
+ ),
338
+ array(
339
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
340
+ 'class' => 'NotAuthorizedException',
341
+ ),
342
+ array(
343
+ 'reason' => 'Thrown if the request is throttled.',
344
+ 'class' => 'TooManyRequestsException',
345
+ ),
346
+ array(
347
+ 'reason' => 'Indicates an internal service error.',
348
+ 'class' => 'InternalErrorException',
349
+ ),
350
+ ),
351
+ ),
352
+ 'UpdateRecords' => array(
353
+ 'httpMethod' => 'POST',
354
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}',
355
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
356
+ 'responseClass' => 'UpdateRecordsResponse',
357
+ 'responseType' => 'model',
358
+ 'parameters' => array(
359
+ 'IdentityPoolId' => array(
360
+ 'required' => true,
361
+ 'type' => 'string',
362
+ 'location' => 'uri',
363
+ 'minLength' => 1,
364
+ 'maxLength' => 50,
365
+ ),
366
+ 'IdentityId' => array(
367
+ 'required' => true,
368
+ 'type' => 'string',
369
+ 'location' => 'uri',
370
+ 'minLength' => 1,
371
+ 'maxLength' => 50,
372
+ ),
373
+ 'DatasetName' => array(
374
+ 'required' => true,
375
+ 'type' => 'string',
376
+ 'location' => 'uri',
377
+ 'minLength' => 1,
378
+ 'maxLength' => 128,
379
+ ),
380
+ 'RecordPatches' => array(
381
+ 'type' => 'array',
382
+ 'location' => 'json',
383
+ 'items' => array(
384
+ 'name' => 'RecordPatch',
385
+ 'type' => 'object',
386
+ 'properties' => array(
387
+ 'Op' => array(
388
+ 'required' => true,
389
+ 'type' => 'string',
390
+ ),
391
+ 'Key' => array(
392
+ 'required' => true,
393
+ 'type' => 'string',
394
+ 'minLength' => 1,
395
+ 'maxLength' => 1024,
396
+ ),
397
+ 'Value' => array(
398
+ 'type' => 'string',
399
+ 'maxLength' => 1048575,
400
+ ),
401
+ 'SyncCount' => array(
402
+ 'required' => true,
403
+ 'type' => 'numeric',
404
+ ),
405
+ 'DeviceLastModifiedDate' => array(
406
+ 'type' => array(
407
+ 'object',
408
+ 'string',
409
+ 'integer',
410
+ ),
411
+ 'format' => 'date-time',
412
+ ),
413
+ ),
414
+ ),
415
+ ),
416
+ 'SyncSessionToken' => array(
417
+ 'required' => true,
418
+ 'type' => 'string',
419
+ 'location' => 'json',
420
+ ),
421
+ 'ClientContext' => array(
422
+ 'type' => 'string',
423
+ 'location' => 'header',
424
+ 'sentAs' => 'x-amz-Client-Context',
425
+ ),
426
+ ),
427
+ 'errorResponses' => array(
428
+ array(
429
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
430
+ 'class' => 'InvalidParameterException',
431
+ ),
432
+ array(
433
+ 'reason' => 'Thrown when the limit on the number of objects or operations has been exceeded.',
434
+ 'class' => 'LimitExceededException',
435
+ ),
436
+ array(
437
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
438
+ 'class' => 'NotAuthorizedException',
439
+ ),
440
+ array(
441
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
442
+ 'class' => 'ResourceNotFoundException',
443
+ ),
444
+ array(
445
+ 'reason' => 'Thrown if an update can\'t be applied because the resource was changed by another call and this would result in a conflict.',
446
+ 'class' => 'ResourceConflictException',
447
+ ),
448
+ array(
449
+ 'reason' => 'Thrown if the request is throttled.',
450
+ 'class' => 'TooManyRequestsException',
451
+ ),
452
+ array(
453
+ 'reason' => 'Indicates an internal service error.',
454
+ 'class' => 'InternalErrorException',
455
+ ),
456
+ ),
457
+ ),
458
+ ),
459
+ 'models' => array(
460
+ 'DeleteDatasetResponse' => array(
461
+ 'type' => 'object',
462
+ 'additionalProperties' => true,
463
+ 'properties' => array(
464
+ 'Dataset' => array(
465
+ 'type' => 'object',
466
+ 'location' => 'json',
467
+ 'properties' => array(
468
+ 'IdentityId' => array(
469
+ 'type' => 'string',
470
+ ),
471
+ 'DatasetName' => array(
472
+ 'type' => 'string',
473
+ ),
474
+ 'CreationDate' => array(
475
+ 'type' => 'string',
476
+ ),
477
+ 'LastModifiedDate' => array(
478
+ 'type' => 'string',
479
+ ),
480
+ 'LastModifiedBy' => array(
481
+ 'type' => 'string',
482
+ ),
483
+ 'DataStorage' => array(
484
+ 'type' => 'numeric',
485
+ ),
486
+ 'NumRecords' => array(
487
+ 'type' => 'numeric',
488
+ ),
489
+ ),
490
+ ),
491
+ ),
492
+ ),
493
+ 'DescribeDatasetResponse' => array(
494
+ 'type' => 'object',
495
+ 'additionalProperties' => true,
496
+ 'properties' => array(
497
+ 'Dataset' => array(
498
+ 'type' => 'object',
499
+ 'location' => 'json',
500
+ 'properties' => array(
501
+ 'IdentityId' => array(
502
+ 'type' => 'string',
503
+ ),
504
+ 'DatasetName' => array(
505
+ 'type' => 'string',
506
+ ),
507
+ 'CreationDate' => array(
508
+ 'type' => 'string',
509
+ ),
510
+ 'LastModifiedDate' => array(
511
+ 'type' => 'string',
512
+ ),
513
+ 'LastModifiedBy' => array(
514
+ 'type' => 'string',
515
+ ),
516
+ 'DataStorage' => array(
517
+ 'type' => 'numeric',
518
+ ),
519
+ 'NumRecords' => array(
520
+ 'type' => 'numeric',
521
+ ),
522
+ ),
523
+ ),
524
+ ),
525
+ ),
526
+ 'DescribeIdentityPoolUsageResponse' => array(
527
+ 'type' => 'object',
528
+ 'additionalProperties' => true,
529
+ 'properties' => array(
530
+ 'IdentityPoolUsage' => array(
531
+ 'type' => 'object',
532
+ 'location' => 'json',
533
+ 'properties' => array(
534
+ 'IdentityPoolId' => array(
535
+ 'type' => 'string',
536
+ ),
537
+ 'SyncSessionsCount' => array(
538
+ 'type' => 'numeric',
539
+ ),
540
+ 'DataStorage' => array(
541
+ 'type' => 'numeric',
542
+ ),
543
+ 'LastModifiedDate' => array(
544
+ 'type' => 'string',
545
+ ),
546
+ ),
547
+ ),
548
+ ),
549
+ ),
550
+ 'DescribeIdentityUsageResponse' => array(
551
+ 'type' => 'object',
552
+ 'additionalProperties' => true,
553
+ 'properties' => array(
554
+ 'IdentityUsage' => array(
555
+ 'type' => 'object',
556
+ 'location' => 'json',
557
+ 'properties' => array(
558
+ 'IdentityId' => array(
559
+ 'type' => 'string',
560
+ ),
561
+ 'IdentityPoolId' => array(
562
+ 'type' => 'string',
563
+ ),
564
+ 'LastModifiedDate' => array(
565
+ 'type' => 'string',
566
+ ),
567
+ 'DatasetCount' => array(
568
+ 'type' => 'numeric',
569
+ ),
570
+ 'DataStorage' => array(
571
+ 'type' => 'numeric',
572
+ ),
573
+ ),
574
+ ),
575
+ ),
576
+ ),
577
+ 'ListDatasetsResponse' => array(
578
+ 'type' => 'object',
579
+ 'additionalProperties' => true,
580
+ 'properties' => array(
581
+ 'Datasets' => array(
582
+ 'type' => 'array',
583
+ 'location' => 'json',
584
+ 'items' => array(
585
+ 'name' => 'Dataset',
586
+ 'type' => 'object',
587
+ 'properties' => array(
588
+ 'IdentityId' => array(
589
+ 'type' => 'string',
590
+ ),
591
+ 'DatasetName' => array(
592
+ 'type' => 'string',
593
+ ),
594
+ 'CreationDate' => array(
595
+ 'type' => 'string',
596
+ ),
597
+ 'LastModifiedDate' => array(
598
+ 'type' => 'string',
599
+ ),
600
+ 'LastModifiedBy' => array(
601
+ 'type' => 'string',
602
+ ),
603
+ 'DataStorage' => array(
604
+ 'type' => 'numeric',
605
+ ),
606
+ 'NumRecords' => array(
607
+ 'type' => 'numeric',
608
+ ),
609
+ ),
610
+ ),
611
+ ),
612
+ 'Count' => array(
613
+ 'type' => 'numeric',
614
+ 'location' => 'json',
615
+ ),
616
+ 'NextToken' => array(
617
+ 'type' => 'string',
618
+ 'location' => 'json',
619
+ ),
620
+ ),
621
+ ),
622
+ 'ListIdentityPoolUsageResponse' => array(
623
+ 'type' => 'object',
624
+ 'additionalProperties' => true,
625
+ 'properties' => array(
626
+ 'IdentityPoolUsages' => array(
627
+ 'type' => 'array',
628
+ 'location' => 'json',
629
+ 'items' => array(
630
+ 'name' => 'IdentityPoolUsage',
631
+ 'type' => 'object',
632
+ 'properties' => array(
633
+ 'IdentityPoolId' => array(
634
+ 'type' => 'string',
635
+ ),
636
+ 'SyncSessionsCount' => array(
637
+ 'type' => 'numeric',
638
+ ),
639
+ 'DataStorage' => array(
640
+ 'type' => 'numeric',
641
+ ),
642
+ 'LastModifiedDate' => array(
643
+ 'type' => 'string',
644
+ ),
645
+ ),
646
+ ),
647
+ ),
648
+ 'MaxResults' => array(
649
+ 'type' => 'numeric',
650
+ 'location' => 'json',
651
+ ),
652
+ 'Count' => array(
653
+ 'type' => 'numeric',
654
+ 'location' => 'json',
655
+ ),
656
+ 'NextToken' => array(
657
+ 'type' => 'string',
658
+ 'location' => 'json',
659
+ ),
660
+ ),
661
+ ),
662
+ 'ListRecordsResponse' => array(
663
+ 'type' => 'object',
664
+ 'additionalProperties' => true,
665
+ 'properties' => array(
666
+ 'Records' => array(
667
+ 'type' => 'array',
668
+ 'location' => 'json',
669
+ 'items' => array(
670
+ 'name' => 'Record',
671
+ 'type' => 'object',
672
+ 'properties' => array(
673
+ 'Key' => array(
674
+ 'type' => 'string',
675
+ ),
676
+ 'Value' => array(
677
+ 'type' => 'string',
678
+ ),
679
+ 'SyncCount' => array(
680
+ 'type' => 'numeric',
681
+ ),
682
+ 'LastModifiedDate' => array(
683
+ 'type' => 'string',
684
+ ),
685
+ 'LastModifiedBy' => array(
686
+ 'type' => 'string',
687
+ ),
688
+ 'DeviceLastModifiedDate' => array(
689
+ 'type' => 'string',
690
+ ),
691
+ ),
692
+ ),
693
+ ),
694
+ 'NextToken' => array(
695
+ 'type' => 'string',
696
+ 'location' => 'json',
697
+ ),
698
+ 'Count' => array(
699
+ 'type' => 'numeric',
700
+ 'location' => 'json',
701
+ ),
702
+ 'DatasetSyncCount' => array(
703
+ 'type' => 'numeric',
704
+ 'location' => 'json',
705
+ ),
706
+ 'LastModifiedBy' => array(
707
+ 'type' => 'string',
708
+ 'location' => 'json',
709
+ ),
710
+ 'MergedDatasetNames' => array(
711
+ 'type' => 'array',
712
+ 'location' => 'json',
713
+ 'items' => array(
714
+ 'name' => 'String',
715
+ 'type' => 'string',
716
+ ),
717
+ ),
718
+ 'DatasetExists' => array(
719
+ 'type' => 'boolean',
720
+ 'location' => 'json',
721
+ ),
722
+ 'DatasetDeletedAfterRequestedSyncCount' => array(
723
+ 'type' => 'boolean',
724
+ 'location' => 'json',
725
+ ),
726
+ 'SyncSessionToken' => array(
727
+ 'type' => 'string',
728
+ 'location' => 'json',
729
+ ),
730
+ ),
731
+ ),
732
+ 'UpdateRecordsResponse' => array(
733
+ 'type' => 'object',
734
+ 'additionalProperties' => true,
735
+ 'properties' => array(
736
+ 'Records' => array(
737
+ 'type' => 'array',
738
+ 'location' => 'json',
739
+ 'items' => array(
740
+ 'name' => 'Record',
741
+ 'type' => 'object',
742
+ 'properties' => array(
743
+ 'Key' => array(
744
+ 'type' => 'string',
745
+ ),
746
+ 'Value' => array(
747
+ 'type' => 'string',
748
+ ),
749
+ 'SyncCount' => array(
750
+ 'type' => 'numeric',
751
+ ),
752
+ 'LastModifiedDate' => array(
753
+ 'type' => 'string',
754
+ ),
755
+ 'LastModifiedBy' => array(
756
+ 'type' => 'string',
757
+ ),
758
+ 'DeviceLastModifiedDate' => array(
759
+ 'type' => 'string',
760
+ ),
761
+ ),
762
+ ),
763
+ ),
764
+ ),
765
+ ),
766
+ ),
767
+ );
vendor/aws/Aws/Common/Aws.php CHANGED
@@ -16,6 +16,7 @@
16
 
17
  namespace Aws\Common;
18
 
 
19
  use Guzzle\Service\Builder\ServiceBuilder;
20
  use Guzzle\Service\Builder\ServiceBuilderLoader;
21
 
@@ -27,7 +28,7 @@ class Aws extends ServiceBuilder
27
  /**
28
  * @var string Current version of the SDK
29
  */
30
- const VERSION = '2.4.3';
31
 
32
  /**
33
  * Create a new service locator for the AWS SDK
@@ -97,10 +98,7 @@ class Aws extends ServiceBuilder
97
  */
98
  public function enableFacades($namespace = null)
99
  {
100
- $facadeClass = 'Aws\\Common\\Facade\\Facade';
101
- if (class_exists($facadeClass)) {
102
- $facadeClass::mountFacades($this, $namespace);
103
- }
104
 
105
  return $this;
106
  }
16
 
17
  namespace Aws\Common;
18
 
19
+ use Aws\Common\Facade\Facade;
20
  use Guzzle\Service\Builder\ServiceBuilder;
21
  use Guzzle\Service\Builder\ServiceBuilderLoader;
22
 
28
  /**
29
  * @var string Current version of the SDK
30
  */
31
+ const VERSION = '2.6.16';
32
 
33
  /**
34
  * Create a new service locator for the AWS SDK
98
  */
99
  public function enableFacades($namespace = null)
100
  {
101
+ Facade::mountFacades($this, $namespace);
 
 
 
102
 
103
  return $this;
104
  }
vendor/aws/Aws/Common/Client/AbstractClient.php CHANGED
@@ -19,6 +19,7 @@ namespace Aws\Common\Client;
19
  use Aws\Common\Aws;
20
  use Aws\Common\Credentials\Credentials;
21
  use Aws\Common\Credentials\CredentialsInterface;
 
22
  use Aws\Common\Enum\ClientOptions as Options;
23
  use Aws\Common\Exception\InvalidArgumentException;
24
  use Aws\Common\Exception\TransferException;
@@ -84,7 +85,9 @@ abstract class AbstractClient extends Client implements AwsClientInterface
84
 
85
  // Add the event listener so that requests are signed before they are sent
86
  $dispatcher = $this->getEventDispatcher();
87
- $dispatcher->addSubscriber(new SignatureListener($credentials, $signature));
 
 
88
 
89
  if ($backoff = $config->get(Options::BACKOFF)) {
90
  $dispatcher->addSubscriber($backoff, -255);
@@ -135,17 +138,11 @@ abstract class AbstractClient extends Client implements AwsClientInterface
135
  return $scheme . '://' . $regions[$region]['hostname'];
136
  }
137
 
138
- /**
139
- * {@inheritdoc}
140
- */
141
  public function getCredentials()
142
  {
143
  return $this->credentials;
144
  }
145
 
146
- /**
147
- * {@inheritdoc}
148
- */
149
  public function setCredentials(CredentialsInterface $credentials)
150
  {
151
  $formerCredentials = $this->credentials;
@@ -160,33 +157,21 @@ abstract class AbstractClient extends Client implements AwsClientInterface
160
  return $this;
161
  }
162
 
163
- /**
164
- * {@inheritdoc}
165
- */
166
  public function getSignature()
167
  {
168
  return $this->signature;
169
  }
170
 
171
- /**
172
- * {@inheritdoc}
173
- */
174
  public function getRegions()
175
  {
176
  return $this->serviceDescription->getData('regions');
177
  }
178
 
179
- /**
180
- * {@inheritdoc}
181
- */
182
  public function getRegion()
183
  {
184
  return $this->getConfig(Options::REGION);
185
  }
186
 
187
- /**
188
- * {@inheritdoc}
189
- */
190
  public function setRegion($region)
191
  {
192
  $config = $this->getConfig();
@@ -216,9 +201,6 @@ abstract class AbstractClient extends Client implements AwsClientInterface
216
  return $this;
217
  }
218
 
219
- /**
220
- * {@inheritdoc}
221
- */
222
  public function waitUntil($waiter, array $input = array())
223
  {
224
  $this->getWaiter($waiter, $input)->wait();
@@ -226,9 +208,6 @@ abstract class AbstractClient extends Client implements AwsClientInterface
226
  return $this;
227
  }
228
 
229
- /**
230
- * {@inheritdoc}
231
- */
232
  public function getWaiter($waiter, array $input = array())
233
  {
234
  return $this->getWaiterFactory()->build($waiter)
@@ -236,9 +215,6 @@ abstract class AbstractClient extends Client implements AwsClientInterface
236
  ->setConfig($input);
237
  }
238
 
239
- /**
240
- * {@inheritdoc}
241
- */
242
  public function setWaiterFactory(WaiterFactoryInterface $waiterFactory)
243
  {
244
  $this->waiterFactory = $waiterFactory;
@@ -246,9 +222,6 @@ abstract class AbstractClient extends Client implements AwsClientInterface
246
  return $this;
247
  }
248
 
249
- /**
250
- * {@inheritdoc}
251
- */
252
  public function getWaiterFactory()
253
  {
254
  if (!$this->waiterFactory) {
@@ -258,16 +231,14 @@ abstract class AbstractClient extends Client implements AwsClientInterface
258
  new WaiterClassFactory(substr($clientClass, 0, strrpos($clientClass, '\\')) . '\\Waiter')
259
  ));
260
  if ($this->getDescription()) {
261
- $this->waiterFactory->addFactory(new WaiterConfigFactory($this->getDescription()->getData('waiters')));
 
262
  }
263
  }
264
 
265
  return $this->waiterFactory;
266
  }
267
 
268
- /**
269
- * {@inheritdoc}
270
- */
271
  public function getApiVersion()
272
  {
273
  return $this->serviceDescription->getApiVersion();
19
  use Aws\Common\Aws;
20
  use Aws\Common\Credentials\Credentials;
21
  use Aws\Common\Credentials\CredentialsInterface;
22
+ use Aws\Common\Credentials\NullCredentials;
23
  use Aws\Common\Enum\ClientOptions as Options;
24
  use Aws\Common\Exception\InvalidArgumentException;
25
  use Aws\Common\Exception\TransferException;
85
 
86
  // Add the event listener so that requests are signed before they are sent
87
  $dispatcher = $this->getEventDispatcher();
88
+ if (!$credentials instanceof NullCredentials) {
89
+ $dispatcher->addSubscriber(new SignatureListener($credentials, $signature));
90
+ }
91
 
92
  if ($backoff = $config->get(Options::BACKOFF)) {
93
  $dispatcher->addSubscriber($backoff, -255);
138
  return $scheme . '://' . $regions[$region]['hostname'];
139
  }
140
 
 
 
 
141
  public function getCredentials()
142
  {
143
  return $this->credentials;
144
  }
145
 
 
 
 
146
  public function setCredentials(CredentialsInterface $credentials)
147
  {
148
  $formerCredentials = $this->credentials;
157
  return $this;
158
  }
159
 
 
 
 
160
  public function getSignature()
161
  {
162
  return $this->signature;
163
  }
164
 
 
 
 
165
  public function getRegions()
166
  {
167
  return $this->serviceDescription->getData('regions');
168
  }
169
 
 
 
 
170
  public function getRegion()
171
  {
172
  return $this->getConfig(Options::REGION);
173
  }
174
 
 
 
 
175
  public function setRegion($region)
176
  {
177
  $config = $this->getConfig();
201
  return $this;
202
  }
203
 
 
 
 
204
  public function waitUntil($waiter, array $input = array())
205
  {
206
  $this->getWaiter($waiter, $input)->wait();
208
  return $this;
209
  }
210
 
 
 
 
211
  public function getWaiter($waiter, array $input = array())
212
  {
213
  return $this->getWaiterFactory()->build($waiter)
215
  ->setConfig($input);
216
  }
217
 
 
 
 
218
  public function setWaiterFactory(WaiterFactoryInterface $waiterFactory)
219
  {
220
  $this->waiterFactory = $waiterFactory;
222
  return $this;
223
  }
224
 
 
 
 
225
  public function getWaiterFactory()
226
  {
227
  if (!$this->waiterFactory) {
231
  new WaiterClassFactory(substr($clientClass, 0, strrpos($clientClass, '\\')) . '\\Waiter')
232
  ));
233
  if ($this->getDescription()) {
234
+ $waiterConfig = $this->getDescription()->getData('waiters') ?: array();
235
+ $this->waiterFactory->addFactory(new WaiterConfigFactory($waiterConfig));
236
  }
237
  }
238
 
239
  return $this->waiterFactory;
240
  }
241
 
 
 
 
242
  public function getApiVersion()
243
  {
244
  return $this->serviceDescription->getApiVersion();
vendor/aws/Aws/Common/Client/AwsClientInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Client/ClientBuilder.php CHANGED
@@ -17,6 +17,8 @@
17
  namespace Aws\Common\Client;
18
 
19
  use Aws\Common\Credentials\Credentials;
 
 
20
  use Aws\Common\Enum\ClientOptions as Options;
21
  use Aws\Common\Enum\Region;
22
  use Aws\Common\Exception\ExceptionListener;
@@ -28,7 +30,6 @@ use Aws\Common\Iterator\AwsResourceIteratorFactory;
28
  use Aws\Common\Signature\EndpointSignatureInterface;
29
  use Aws\Common\Signature\SignatureInterface;
30
  use Aws\Common\Signature\SignatureV2;
31
- use Aws\Common\Signature\SignatureV3;
32
  use Aws\Common\Signature\SignatureV3Https;
33
  use Aws\Common\Signature\SignatureV4;
34
  use Guzzle\Common\Collection;
@@ -199,14 +200,10 @@ class ClientBuilder
199
  (self::$commonConfigRequirements + $this->configRequirements)
200
  );
201
 
202
- // Resolve endpoint and signature from the config and service description
203
  $description = $this->updateConfigFromDescription($config);
204
  $signature = $this->getSignature($description, $config);
205
-
206
- // Resolve credentials
207
- if (!$credentials = $config->get('credentials')) {
208
- $credentials = Credentials::factory($config);
209
- }
210
 
211
  // Resolve exception parser
212
  if (!$this->exceptionParser) {
@@ -221,10 +218,10 @@ class ClientBuilder
221
  new TruncatedBackoffStrategy(3,
222
  // Retry failed requests with 400-level responses due to throttling
223
  new ThrottlingErrorChecker($this->exceptionParser,
224
- // Retry failed requests with 500-level responses
225
- new HttpBackoffStrategy(array(500, 503, 509),
226
- // Retry failed requests due to transient network or cURL problems
227
- new CurlBackoffStrategy(null,
228
  // Retry requests that failed due to expired credentials
229
  new ExpiredCredentialsChecker($this->exceptionParser,
230
  new ExponentialBackoffStrategy()
@@ -402,7 +399,10 @@ class ClientBuilder
402
  }
403
 
404
  /**
405
- * Return an appropriate signature object for a a client based on a description
 
 
 
406
  *
407
  * @param ServiceDescription $description Description that holds a signature option
408
  * @param Collection $config Configuration options
@@ -412,43 +412,50 @@ class ClientBuilder
412
  */
413
  protected function getSignature(ServiceDescription $description, Collection $config)
414
  {
415
- if (!$signature = $config->get(Options::SIGNATURE)) {
416
- switch ($description->getData('signatureVersion')) {
417
- case 'v2':
418
- $signature = new SignatureV2();
419
- break;
420
- case 'v3':
421
- $signature = new SignatureV3();
422
- break;
423
- case 'v3https':
424
- $signature = new SignatureV3Https();
425
- break;
426
- case 'v4':
427
- $signature = new SignatureV4();
428
- break;
429
- default:
430
- throw new InvalidArgumentException('Service description does not specify a valid signatureVersion');
431
  }
 
 
 
 
432
  }
433
 
434
  // Allow a custom service name or region value to be provided
435
  if ($signature instanceof EndpointSignatureInterface) {
436
 
437
  // Determine the service name to use when signing
438
- if (!$service = $config->get(Options::SIGNATURE_SERVICE)) {
439
- if (!$service = $description->getData('signingName')) {
440
- $service = $description->getData('endpointPrefix');
441
- }
442
- }
443
- $signature->setServiceName($service);
444
 
445
  // Determine the region to use when signing requests
446
- if (!$region = $config->get(Options::SIGNATURE_REGION)) {
447
- $region = $config->get(Options::REGION);
448
- }
449
- $signature->setRegionName($region);
450
  }
451
 
452
  return $signature;
453
  }
 
 
 
 
 
 
 
 
 
 
 
 
454
  }
17
  namespace Aws\Common\Client;
18
 
19
  use Aws\Common\Credentials\Credentials;
20
+ use Aws\Common\Credentials\CredentialsInterface;
21
+ use Aws\Common\Credentials\NullCredentials;
22
  use Aws\Common\Enum\ClientOptions as Options;
23
  use Aws\Common\Enum\Region;
24
  use Aws\Common\Exception\ExceptionListener;
30
  use Aws\Common\Signature\EndpointSignatureInterface;
31
  use Aws\Common\Signature\SignatureInterface;
32
  use Aws\Common\Signature\SignatureV2;
 
33
  use Aws\Common\Signature\SignatureV3Https;
34
  use Aws\Common\Signature\SignatureV4;
35
  use Guzzle\Common\Collection;
200
  (self::$commonConfigRequirements + $this->configRequirements)
201
  );
202
 
203
+ // Resolve the endpoint, signature, and credentials
204
  $description = $this->updateConfigFromDescription($config);
205
  $signature = $this->getSignature($description, $config);
206
+ $credentials = $this->getCredentials($config);
 
 
 
 
207
 
208
  // Resolve exception parser
209
  if (!$this->exceptionParser) {
218
  new TruncatedBackoffStrategy(3,
219
  // Retry failed requests with 400-level responses due to throttling
220
  new ThrottlingErrorChecker($this->exceptionParser,
221
+ // Retry failed requests due to transient network or cURL problems
222
+ new CurlBackoffStrategy(null,
223
+ // Retry failed requests with 500-level responses
224
+ new HttpBackoffStrategy(array(500, 503, 509),
225
  // Retry requests that failed due to expired credentials
226
  new ExpiredCredentialsChecker($this->exceptionParser,
227
  new ExponentialBackoffStrategy()
399
  }
400
 
401
  /**
402
+ * Return an appropriate signature object for a a client based on the
403
+ * "signature" configuration setting, or the default signature specified in
404
+ * a service description. The signature can be set to a valid signature
405
+ * version identifier string or an instance of Aws\Common\Signature\SignatureInterface.
406
  *
407
  * @param ServiceDescription $description Description that holds a signature option
408
  * @param Collection $config Configuration options
412
  */
413
  protected function getSignature(ServiceDescription $description, Collection $config)
414
  {
415
+ // If a custom signature has not been provided, then use the default
416
+ // signature setting specified in the service description.
417
+ $signature = $config->get(Options::SIGNATURE) ?: $description->getData('signatureVersion');
418
+
419
+ if (is_string($signature)) {
420
+ if ($signature == 'v4') {
421
+ $signature = new SignatureV4();
422
+ } elseif ($signature == 'v2') {
423
+ $signature = new SignatureV2();
424
+ } elseif ($signature == 'v3https') {
425
+ $signature = new SignatureV3Https();
426
+ } else {
427
+ throw new InvalidArgumentException("Invalid signature type: {$signature}");
 
 
 
428
  }
429
+ } elseif (!($signature instanceof SignatureInterface)) {
430
+ throw new InvalidArgumentException('The provided signature is not '
431
+ . 'a signature version string or an instance of '
432
+ . 'Aws\\Common\\Signature\\SignatureInterface');
433
  }
434
 
435
  // Allow a custom service name or region value to be provided
436
  if ($signature instanceof EndpointSignatureInterface) {
437
 
438
  // Determine the service name to use when signing
439
+ $signature->setServiceName($config->get(Options::SIGNATURE_SERVICE)
440
+ ?: $description->getData('signingName')
441
+ ?: $description->getData('endpointPrefix'));
 
 
 
442
 
443
  // Determine the region to use when signing requests
444
+ $signature->setRegionName($config->get(Options::SIGNATURE_REGION) ?: $config->get(Options::REGION));
 
 
 
445
  }
446
 
447
  return $signature;
448
  }
449
+
450
+ protected function getCredentials(Collection $config)
451
+ {
452
+ $credentials = $config->get(Options::CREDENTIALS);
453
+ if ($credentials === false) {
454
+ $credentials = new NullCredentials();
455
+ } elseif (!$credentials instanceof CredentialsInterface) {
456
+ $credentials = Credentials::factory($config);
457
+ }
458
+
459
+ return $credentials;
460
+ }
461
  }
vendor/aws/Aws/Common/Client/DefaultClient.php CHANGED
@@ -29,23 +29,29 @@ class DefaultClient extends AbstractClient
29
  *
30
  * The following array keys and values are available options:
31
  *
32
- * - Credential options ((`key`, `secret`, and optional `token`) OR `credentials` is required):
33
- * - key: AWS Access Key ID
34
- * - secret: AWS secret access key
35
- * - credentials: You can optionally provide a custom `Aws\Common\Credentials\CredentialsInterface` object
36
- * - token: Custom AWS security token to use with request authentication. Please note that not all services accept temporary credentials. See http://docs.aws.amazon.com/STS/latest/UsingSTS/UsingTokens.html
37
- * - token.ttd: UNIX timestamp for when the custom credentials expire
38
- * - credentials.cache.key: Optional custom cache key to use with the credentials
39
- * - credentials.client: Pass this option to specify a custom `Guzzle\Http\ClientInterface` to use if your credentials require a HTTP request (e.g. RefreshableInstanceProfileCredentials)
40
- * - Region and endpoint options (Some services do not require a region while others do. Check the service specific user guide documentation for details):
41
- * - region: Region name (e.g. 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', etc...)
42
- * - scheme: URI Scheme of the base URL (e.g. 'https', 'http') used when base_url is not supplied
43
- * - base_url: Allows you to specify a custom endpoint instead of building one from the region and scheme
44
- * - Generic client options:
45
- * - ssl.ssl.certificate_authority: Set to true to use the bundled CA cert or pass the full path to an SSL certificate bundle
46
- * - curl.options: Associative of CURLOPT_* cURL options to add to each request
47
- * - client.backoff.logger: `Guzzle\Log\LogAdapterInterface` object used to log backoff retries. Use 'debug' to emit PHP warnings when a retry is issued.
48
- * - client.backoff.logger.template: Optional template to use for exponential backoff log messages. See `Guzzle\Plugin\Backoff\BackoffLogger` for formatting information.
 
 
 
 
 
 
49
  *
50
  * @param array|Collection $config Client configuration data
51
  *
29
  *
30
  * The following array keys and values are available options:
31
  *
32
+ * Credential options ((`key`, `secret`, and optional `token`) OR `credentials` is required):
33
+ *
34
+ * - key: AWS Access Key ID
35
+ * - secret: AWS secret access key
36
+ * - credentials: You can optionally provide a custom `Aws\Common\Credentials\CredentialsInterface` object
37
+ * - token: Custom AWS security token to use with request authentication. Please note that not all services accept temporary credentials. See http://docs.aws.amazon.com/STS/latest/UsingSTS/UsingTokens.html
38
+ * - token.ttd: UNIX timestamp for when the custom credentials expire
39
+ * - credentials.cache.key: Optional custom cache key to use with the credentials
40
+ * - credentials.client: Pass this option to specify a custom `Guzzle\Http\ClientInterface` to use if your credentials require a HTTP request (e.g. RefreshableInstanceProfileCredentials)
41
+ *
42
+ * Region and endpoint options (Some services do not require a region while others do. Check the service specific user guide documentation for details):
43
+ *
44
+ * - region: Region name (e.g. 'us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', etc...)
45
+ * - scheme: URI Scheme of the base URL (e.g. 'https', 'http') used when base_url is not supplied
46
+ * - base_url: Allows you to specify a custom endpoint instead of building one from the region and scheme
47
+ *
48
+ * Generic client options:
49
+ *
50
+ * - signature: Overrides the signature used by the client. Clients will always choose an appropriate default signature. However, it can be useful to override this with a custom setting. This can be set to "v4", "v3https", "v2" or an instance of Aws\Common\Signature\SignatureInterface.
51
+ * - ssl.certificate_authority: Set to true to use the bundled CA cert or pass the full path to an SSL certificate bundle
52
+ * - curl.options: Associative of CURLOPT_* cURL options to add to each request
53
+ * - client.backoff.logger: `Guzzle\Log\LogAdapterInterface` object used to log backoff retries. Use 'debug' to emit PHP warnings when a retry is issued.
54
+ * - client.backoff.logger.template: Optional template to use for exponential backoff log messages. See `Guzzle\Plugin\Backoff\BackoffLogger` for formatting information.
55
  *
56
  * @param array|Collection $config Client configuration data
57
  *
vendor/aws/Aws/Common/Client/ExpiredCredentialsChecker.php CHANGED
File without changes
vendor/aws/Aws/Common/Client/ThrottlingErrorChecker.php CHANGED
File without changes
vendor/aws/Aws/Common/Client/UploadBodyListener.php CHANGED
File without changes
vendor/aws/Aws/Common/Client/UserAgentListener.php CHANGED
File without changes
vendor/aws/Aws/Common/Command/AwsQueryVisitor.php CHANGED
@@ -12,11 +12,11 @@ use Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor;
12
  */
13
  class AwsQueryVisitor extends AbstractRequestVisitor
14
  {
15
- /**
16
- * {@inheritdoc}
17
- */
18
  public function visit(CommandInterface $command, RequestInterface $request, Parameter $param, $value)
19
  {
 
20
  $query = array();
21
  $this->customResolver($value, $param, $query, $param->getWireName());
22
  $request->addPostFields($query);
@@ -66,8 +66,11 @@ class AwsQueryVisitor extends AbstractRequestVisitor
66
  } elseif ($hasAdditionalProperties) {
67
  // Handle map cases like &Attribute.1.Name=<name>&Attribute.1.Value=<value>
68
  $additionalPropertyCount++;
69
- $query["{$prefix}.{$additionalPropertyCount}.Name"] = $name;
70
- $newPrefix = "{$prefix}.{$additionalPropertyCount}.Value";
 
 
 
71
  if (is_array($v)) {
72
  $this->customResolver($v, $param->getAdditionalProperties(), $query, $newPrefix);
73
  } else {
@@ -87,6 +90,20 @@ class AwsQueryVisitor extends AbstractRequestVisitor
87
  */
88
  protected function resolveArray(Parameter $param, array $value, $prefix, array &$query)
89
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  $offset = $param->getData('offset') ?: 1;
91
  foreach ($value as $index => $v) {
92
  $index += $offset;
12
  */
13
  class AwsQueryVisitor extends AbstractRequestVisitor
14
  {
15
+ private $fqname;
16
+
 
17
  public function visit(CommandInterface $command, RequestInterface $request, Parameter $param, $value)
18
  {
19
+ $this->fqname = $command->getName();
20
  $query = array();
21
  $this->customResolver($value, $param, $query, $param->getWireName());
22
  $request->addPostFields($query);
66
  } elseif ($hasAdditionalProperties) {
67
  // Handle map cases like &Attribute.1.Name=<name>&Attribute.1.Value=<value>
68
  $additionalPropertyCount++;
69
+ $data = $param->getData();
70
+ $keyName = isset($data['keyName']) ? $data['keyName'] : 'key';
71
+ $valueName = isset($data['valueName']) ? $data['valueName'] : 'value';
72
+ $query["{$prefix}.{$additionalPropertyCount}.{$keyName}"] = $name;
73
+ $newPrefix = "{$prefix}.{$additionalPropertyCount}.{$valueName}";
74
  if (is_array($v)) {
75
  $this->customResolver($v, $param->getAdditionalProperties(), $query, $newPrefix);
76
  } else {
90
  */
91
  protected function resolveArray(Parameter $param, array $value, $prefix, array &$query)
92
  {
93
+ static $serializeEmpty = array(
94
+ 'SetLoadBalancerPoliciesForBackendServer' => 1,
95
+ 'SetLoadBalancerPoliciesOfListener' => 1,
96
+ 'UpdateStack' => 1
97
+ );
98
+
99
+ // For BC, serialize empty lists for specific operations
100
+ if (!$value) {
101
+ if (isset($serializeEmpty[$this->fqname])) {
102
+ $query[$prefix] = '';
103
+ }
104
+ return;
105
+ }
106
+
107
  $offset = $param->getData('offset') ?: 1;
108
  foreach ($value as $index => $v) {
109
  $index += $offset;
vendor/aws/Aws/Common/Command/JsonCommand.php CHANGED
File without changes
vendor/aws/Aws/Common/Command/QueryCommand.php CHANGED
File without changes
vendor/aws/Aws/Common/Command/XmlResponseLocationVisitor.php CHANGED
File without changes
vendor/aws/Aws/Common/Credentials/AbstractCredentialsDecorator.php CHANGED
File without changes
vendor/aws/Aws/Common/Credentials/AbstractRefreshableCredentials.php CHANGED
File without changes
vendor/aws/Aws/Common/Credentials/CacheableCredentials.php CHANGED
File without changes
vendor/aws/Aws/Common/Credentials/Credentials.php CHANGED
@@ -23,6 +23,7 @@ use Aws\Common\Exception\RuntimeException;
23
  use Guzzle\Common\FromConfigInterface;
24
  use Guzzle\Cache\CacheAdapterInterface;
25
  use Guzzle\Cache\DoctrineCacheAdapter;
 
26
 
27
  /**
28
  * Basic implementation of the AWSCredentials interface that allows callers to
@@ -32,25 +33,19 @@ class Credentials implements CredentialsInterface, FromConfigInterface
32
  {
33
  const ENV_KEY = 'AWS_ACCESS_KEY_ID';
34
  const ENV_SECRET = 'AWS_SECRET_KEY';
 
 
35
 
36
- /**
37
- * @var string AWS Access key ID
38
- */
39
  protected $key;
40
 
41
- /**
42
- * @var string AWS Secret access key
43
- */
44
  protected $secret;
45
 
46
- /**
47
- * @var string Security token
48
- */
49
  protected $token;
50
 
51
- /**
52
- * @var int Time to die of token
53
- */
54
  protected $ttd;
55
 
56
  /**
@@ -65,6 +60,7 @@ class Credentials implements CredentialsInterface, FromConfigInterface
65
  Options::SECRET => null,
66
  Options::TOKEN => null,
67
  Options::TOKEN_TTD => null,
 
68
  Options::CREDENTIALS_CACHE => null,
69
  Options::CREDENTIALS_CACHE_KEY => null,
70
  Options::CREDENTIALS_CLIENT => null
@@ -96,19 +92,7 @@ class Credentials implements CredentialsInterface, FromConfigInterface
96
 
97
  // Create the credentials object
98
  if (!$config[Options::KEY] || !$config[Options::SECRET]) {
99
- // No keys were provided, so attempt to retrieve some from the environment
100
- $envKey = isset($_SERVER[self::ENV_KEY]) ? $_SERVER[self::ENV_KEY] : getenv(self::ENV_KEY);
101
- $envSecret = isset($_SERVER[self::ENV_SECRET]) ? $_SERVER[self::ENV_SECRET] : getenv(self::ENV_SECRET);
102
- if ($envKey && $envSecret) {
103
- // Use credentials set in the environment variables
104
- $credentials = new static($envKey, $envSecret);
105
- } else {
106
- // Use instance profile credentials (available on EC2 instances)
107
- $credentials = new RefreshableInstanceProfileCredentials(
108
- new static('', '', '', 1),
109
- $config[Options::CREDENTIALS_CLIENT]
110
- );
111
- }
112
  // If no cache key was set, use the crc32 hostname of the server
113
  $cacheKey = $cacheKey ?: 'credentials_' . crc32(gethostname());
114
  } else {
@@ -126,31 +110,56 @@ class Credentials implements CredentialsInterface, FromConfigInterface
126
  // Check if the credentials are refreshable, and if so, configure caching
127
  $cache = $config[Options::CREDENTIALS_CACHE];
128
  if ($cacheKey && $cache) {
129
- if ($cache === 'true' || $cache === true) {
130
- // If no cache adapter was provided, then create one for the user
131
- // @codeCoverageIgnoreStart
132
- if (!extension_loaded('apc')) {
133
- throw new RequiredExtensionNotLoadedException('PHP has not been compiled with APC. Unable to cache '
134
- . 'the credentials.');
135
- } elseif (!class_exists('Doctrine\Common\Cache\ApcCache')) {
136
- throw new RuntimeException(
137
- 'Cannot set ' . Options::CREDENTIALS_CACHE . ' to true because the Doctrine cache component is '
138
- . 'not installed. Either install doctrine/cache or pass in an instantiated '
139
- . 'Guzzle\Cache\CacheAdapterInterface object'
140
- );
141
- }
142
- // @codeCoverageIgnoreEnd
143
- $cache = new DoctrineCacheAdapter(new \Doctrine\Common\Cache\ApcCache());
144
- } elseif (!($cache instanceof CacheAdapterInterface)) {
145
- throw new InvalidArgumentException('Unable to utilize caching with the specified options');
146
- }
147
- // Decorate the credentials with a cache
148
- $credentials = new CacheableCredentials($credentials, $cache, $cacheKey);
149
  }
150
 
151
  return $credentials;
152
  }
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  /**
155
  * Constructs a new BasicAWSCredentials object, with the specified AWS
156
  * access key and AWS secret key
@@ -168,9 +177,6 @@ class Credentials implements CredentialsInterface, FromConfigInterface
168
  $this->ttd = $expiration;
169
  }
170
 
171
- /**
172
- * {@inheritdoc}
173
- */
174
  public function serialize()
175
  {
176
  return json_encode(array(
@@ -181,9 +187,6 @@ class Credentials implements CredentialsInterface, FromConfigInterface
181
  ));
182
  }
183
 
184
- /**
185
- * {@inheritdoc}
186
- */
187
  public function unserialize($serialized)
188
  {
189
  $data = json_decode($serialized, true);
@@ -193,49 +196,31 @@ class Credentials implements CredentialsInterface, FromConfigInterface
193
  $this->ttd = $data[Options::TOKEN_TTD];
194
  }
195
 
196
- /**
197
- * {@inheritdoc}
198
- */
199
  public function getAccessKeyId()
200
  {
201
  return $this->key;
202
  }
203
 
204
- /**
205
- * {@inheritdoc}
206
- */
207
  public function getSecretKey()
208
  {
209
  return $this->secret;
210
  }
211
 
212
- /**
213
- * {@inheritdoc}
214
- */
215
  public function getSecurityToken()
216
  {
217
  return $this->token;
218
  }
219
 
220
- /**
221
- * {@inheritdoc}
222
- */
223
  public function getExpiration()
224
  {
225
  return $this->ttd;
226
  }
227
 
228
- /**
229
- * {@inheritdoc}
230
- */
231
  public function isExpired()
232
  {
233
  return $this->ttd !== null && time() >= $this->ttd;
234
  }
235
 
236
- /**
237
- * {@inheritdoc}
238
- */
239
  public function setAccessKeyId($key)
240
  {
241
  $this->key = $key;
@@ -243,9 +228,6 @@ class Credentials implements CredentialsInterface, FromConfigInterface
243
  return $this;
244
  }
245
 
246
- /**
247
- * {@inheritdoc}
248
- */
249
  public function setSecretKey($secret)
250
  {
251
  $this->secret = $secret;
@@ -253,9 +235,6 @@ class Credentials implements CredentialsInterface, FromConfigInterface
253
  return $this;
254
  }
255
 
256
- /**
257
- * {@inheritdoc}
258
- */
259
  public function setSecurityToken($token)
260
  {
261
  $this->token = $token;
@@ -263,13 +242,96 @@ class Credentials implements CredentialsInterface, FromConfigInterface
263
  return $this;
264
  }
265
 
266
- /**
267
- * {@inheritdoc}
268
- */
269
  public function setExpiration($timestamp)
270
  {
271
  $this->ttd = $timestamp;
272
 
273
  return $this;
274
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  }
23
  use Guzzle\Common\FromConfigInterface;
24
  use Guzzle\Cache\CacheAdapterInterface;
25
  use Guzzle\Cache\DoctrineCacheAdapter;
26
+ use Guzzle\Common\Collection;
27
 
28
  /**
29
  * Basic implementation of the AWSCredentials interface that allows callers to
33
  {
34
  const ENV_KEY = 'AWS_ACCESS_KEY_ID';
35
  const ENV_SECRET = 'AWS_SECRET_KEY';
36
+ const ENV_SECRET_ACCESS_KEY = 'AWS_SECRET_ACCESS_KEY';
37
+ const ENV_PROFILE = 'AWS_PROFILE';
38
 
39
+ /** @var string AWS Access Key ID */
 
 
40
  protected $key;
41
 
42
+ /** @var string AWS Secret Access Key */
 
 
43
  protected $secret;
44
 
45
+ /** @var string AWS Security Token */
 
 
46
  protected $token;
47
 
48
+ /** @var int Time to die of token */
 
 
49
  protected $ttd;
50
 
51
  /**
60
  Options::SECRET => null,
61
  Options::TOKEN => null,
62
  Options::TOKEN_TTD => null,
63
+ Options::PROFILE => null,
64
  Options::CREDENTIALS_CACHE => null,
65
  Options::CREDENTIALS_CACHE_KEY => null,
66
  Options::CREDENTIALS_CLIENT => null
92
 
93
  // Create the credentials object
94
  if (!$config[Options::KEY] || !$config[Options::SECRET]) {
95
+ $credentials = self::createFromEnvironment($config);
 
 
 
 
 
 
 
 
 
 
 
 
96
  // If no cache key was set, use the crc32 hostname of the server
97
  $cacheKey = $cacheKey ?: 'credentials_' . crc32(gethostname());
98
  } else {
110
  // Check if the credentials are refreshable, and if so, configure caching
111
  $cache = $config[Options::CREDENTIALS_CACHE];
112
  if ($cacheKey && $cache) {
113
+ $credentials = self::createCache($credentials, $cache, $cacheKey);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  }
115
 
116
  return $credentials;
117
  }
118
 
119
+ /**
120
+ * Create credentials from the credentials ini file in the HOME directory.
121
+ *
122
+ * @param string|null $profile Pass a specific profile to use. If no
123
+ * profile is specified we will attempt to use
124
+ * the value specified in the AWS_PROFILE
125
+ * environment variable. If AWS_PROFILE is not
126
+ * set, the "default" profile is used.
127
+ * @param string|null $filename Pass a string to specify the location of the
128
+ * credentials files. If null is passed, the
129
+ * SDK will attempt to find the configuration
130
+ * file at in your HOME directory at
131
+ * ~/.aws/credentials.
132
+ * @return CredentialsInterface
133
+ * @throws \RuntimeException if the file cannot be found, if the file is
134
+ * invalid, or if the profile is invalid.
135
+ */
136
+ public static function fromIni($profile = null, $filename = null)
137
+ {
138
+ if (!$filename) {
139
+ $filename = self::getHomeDir() . '/.aws/credentials';
140
+ }
141
+
142
+ if (!$profile) {
143
+ $profile = self::getEnvVar(self::ENV_PROFILE) ?: 'default';
144
+ }
145
+
146
+ if (!file_exists($filename) || !($data = parse_ini_file($filename, true))) {
147
+ throw new \RuntimeException("Invalid AWS credentials file: {$filename}.");
148
+ }
149
+
150
+ if (empty($data[$profile])) {
151
+ throw new \RuntimeException("Invalid AWS credentials profile {$profile} in {$filename}.");
152
+ }
153
+
154
+ return new self(
155
+ $data[$profile]['aws_access_key_id'],
156
+ $data[$profile]['aws_secret_access_key'],
157
+ isset($data[$profile]['aws_security_token'])
158
+ ? $data[$profile]['aws_security_token']
159
+ : null
160
+ );
161
+ }
162
+
163
  /**
164
  * Constructs a new BasicAWSCredentials object, with the specified AWS
165
  * access key and AWS secret key
177
  $this->ttd = $expiration;
178
  }
179
 
 
 
 
180
  public function serialize()
181
  {
182
  return json_encode(array(
187
  ));
188
  }
189
 
 
 
 
190
  public function unserialize($serialized)
191
  {
192
  $data = json_decode($serialized, true);
196
  $this->ttd = $data[Options::TOKEN_TTD];
197
  }
198
 
 
 
 
199
  public function getAccessKeyId()
200
  {
201
  return $this->key;
202
  }
203
 
 
 
 
204
  public function getSecretKey()
205
  {
206
  return $this->secret;
207
  }
208
 
 
 
 
209
  public function getSecurityToken()
210
  {
211
  return $this->token;
212
  }
213
 
 
 
 
214
  public function getExpiration()
215
  {
216
  return $this->ttd;
217
  }
218
 
 
 
 
219
  public function isExpired()
220
  {
221
  return $this->ttd !== null && time() >= $this->ttd;
222
  }
223
 
 
 
 
224
  public function setAccessKeyId($key)
225
  {
226
  $this->key = $key;
228
  return $this;
229
  }
230
 
 
 
 
231
  public function setSecretKey($secret)
232
  {
233
  $this->secret = $secret;
235
  return $this;
236
  }
237
 
 
 
 
238
  public function setSecurityToken($token)
239
  {
240
  $this->token = $token;
242
  return $this;
243
  }
244
 
 
 
 
245
  public function setExpiration($timestamp)
246
  {
247
  $this->ttd = $timestamp;
248
 
249
  return $this;
250
  }
251
+
252
+ /**
253
+ * When no keys are provided, attempt to create them based on the
254
+ * environment or instance profile credentials.
255
+ *
256
+ * @param array|Collection $config
257
+ *
258
+ * @return CredentialsInterface
259
+ */
260
+ private static function createFromEnvironment($config)
261
+ {
262
+ // Get key and secret from ENV variables
263
+ $envKey = self::getEnvVar(self::ENV_KEY);
264
+ if (!($envSecret = self::getEnvVar(self::ENV_SECRET))) {
265
+ // Use AWS_SECRET_ACCESS_KEY if AWS_SECRET_KEY was not set.
266
+ $envSecret = self::getEnvVar(self::ENV_SECRET_ACCESS_KEY);
267
+ }
268
+
269
+ // Use credentials from the environment variables if available
270
+ if ($envKey && $envSecret) {
271
+ return new static($envKey, $envSecret);
272
+ }
273
+
274
+ // Use credentials from the ini file in HOME directory if available
275
+ $home = self::getHomeDir();
276
+ if ($home && file_exists("{$home}/.aws/credentials")) {
277
+ return self::fromIni($config[Options::PROFILE], "{$home}/.aws/credentials");
278
+ }
279
+
280
+ // Use instance profile credentials (available on EC2 instances)
281
+ return new RefreshableInstanceProfileCredentials(
282
+ new static('', '', '', 1),
283
+ $config[Options::CREDENTIALS_CLIENT]
284
+ );
285
+ }
286
+
287
+ private static function createCache(CredentialsInterface $credentials, $cache, $cacheKey)
288
+ {
289
+ if ($cache === 'true' || $cache === true) {
290
+ // If no cache adapter was provided, then create one for the user
291
+ // @codeCoverageIgnoreStart
292
+ if (!extension_loaded('apc')) {
293
+ throw new RequiredExtensionNotLoadedException('PHP has not been compiled with APC. Unable to cache '
294
+ . 'the credentials.');
295
+ } elseif (!class_exists('Doctrine\Common\Cache\ApcCache')) {
296
+ throw new RuntimeException(
297
+ 'Cannot set ' . Options::CREDENTIALS_CACHE . ' to true because the Doctrine cache component is '
298
+ . 'not installed. Either install doctrine/cache or pass in an instantiated '
299
+ . 'Guzzle\Cache\CacheAdapterInterface object'
300
+ );
301
+ }
302
+ // @codeCoverageIgnoreEnd
303
+ $cache = new DoctrineCacheAdapter(new \Doctrine\Common\Cache\ApcCache());
304
+ } elseif (!($cache instanceof CacheAdapterInterface)) {
305
+ throw new InvalidArgumentException('Unable to utilize caching with the specified options');
306
+ }
307
+
308
+ // Decorate the credentials with a cache
309
+ return new CacheableCredentials($credentials, $cache, $cacheKey);
310
+ }
311
+
312
+ private static function getHomeDir()
313
+ {
314
+ // On Linux/Unix-like systems, use the HOME environment variable
315
+ if ($homeDir = self::getEnvVar('HOME')) {
316
+ return $homeDir;
317
+ }
318
+
319
+ // Get the HOMEDRIVE and HOMEPATH values for Windows hosts
320
+ $homeDrive = self::getEnvVar('HOMEDRIVE');
321
+ $homePath = self::getEnvVar('HOMEPATH');
322
+
323
+ return ($homeDrive && $homePath) ? $homeDrive . $homePath : null;
324
+ }
325
+
326
+ /**
327
+ * Fetches the value of an environment variable by checking $_SERVER and getenv().
328
+ *
329
+ * @param string $var Name of the environment variable
330
+ *
331
+ * @return mixed|null
332
+ */
333
+ private static function getEnvVar($var)
334
+ {
335
+ return isset($_SERVER[$var]) ? $_SERVER[$var] : getenv($var);
336
+ }
337
  }
vendor/aws/Aws/Common/Credentials/CredentialsInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Credentials/NullCredentials.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Aws\Common\Credentials;
3
+
4
+ /**
5
+ * A blank set of credentials. AWS clients must be provided credentials, but
6
+ * there are some types of requests that do not need authentication. This class
7
+ * can be used to pivot on that scenario, and also serve as a mock credentials
8
+ * object when testing
9
+ *
10
+ * @codeCoverageIgnore
11
+ */
12
+ class NullCredentials implements CredentialsInterface
13
+ {
14
+ public function getAccessKeyId()
15
+ {
16
+ return '';
17
+ }
18
+
19
+ public function getSecretKey()
20
+ {
21
+ return '';
22
+ }
23
+
24
+ public function getSecurityToken()
25
+ {
26
+ return null;
27
+ }
28
+
29
+ public function getExpiration()
30
+ {
31
+ return null;
32
+ }
33
+
34
+ public function isExpired()
35
+ {
36
+ return false;
37
+ }
38
+
39
+ public function serialize()
40
+ {
41
+ return 'N;';
42
+ }
43
+
44
+ public function unserialize($serialized)
45
+ {
46
+ // Nothing to do here.
47
+ }
48
+
49
+ public function setAccessKeyId($key)
50
+ {
51
+ // Nothing to do here.
52
+ }
53
+
54
+ public function setSecretKey($secret)
55
+ {
56
+ // Nothing to do here.
57
+ }
58
+
59
+ public function setSecurityToken($token)
60
+ {
61
+ // Nothing to do here.
62
+ }
63
+
64
+ public function setExpiration($timestamp)
65
+ {
66
+ // Nothing to do here.
67
+ }
68
+ }
vendor/aws/Aws/Common/Credentials/RefreshableInstanceProfileCredentials.php CHANGED
File without changes
vendor/aws/Aws/Common/Enum.php CHANGED
File without changes
vendor/aws/Aws/Common/Enum/ClientOptions.php CHANGED
@@ -38,6 +38,11 @@ class ClientOptions extends Enum
38
  */
39
  const CREDENTIALS = 'credentials';
40
 
 
 
 
 
 
41
  /**
42
  * @var string Custom AWS security token to use with request authentication
43
  */
38
  */
39
  const CREDENTIALS = 'credentials';
40
 
41
+ /**
42
+ * @var string Name of a credential profile to read from your ~/.aws/credentials file
43
+ */
44
+ const PROFILE = 'profile';
45
+
46
  /**
47
  * @var string Custom AWS security token to use with request authentication
48
  */
vendor/aws/Aws/Common/Enum/DateFormat.php CHANGED
File without changes
vendor/aws/Aws/Common/Enum/Region.php CHANGED
@@ -22,7 +22,7 @@ use Aws\Common\Enum;
22
  * Contains enumerable region code values. These should be useful in most cases,
23
  * with Amazon S3 being the most notable exception
24
  *
25
- * @link http://docs.amazonwebservices.com/general/latest/gr/rande.html AWS Regions and Endpoints
26
  */
27
  class Region extends Enum
28
  {
@@ -52,6 +52,9 @@ class Region extends Enum
52
  const SA_EAST_1 = 'sa-east-1';
53
  const SAO_PAULO = 'sa-east-1';
54
 
 
 
 
55
  const US_GOV_WEST_1 = 'us-gov-west-1';
56
  const GOV_CLOUD_US = 'us-gov-west-1';
57
  }
22
  * Contains enumerable region code values. These should be useful in most cases,
23
  * with Amazon S3 being the most notable exception
24
  *
25
+ * @link http://docs.aws.amazon.com/general/latest/gr/rande.html AWS Regions and Endpoints
26
  */
27
  class Region extends Enum
28
  {
52
  const SA_EAST_1 = 'sa-east-1';
53
  const SAO_PAULO = 'sa-east-1';
54
 
55
+ const CN_NORTH_1 = 'cn-north-1';
56
+ const BEIJING = 'cn-north-1';
57
+
58
  const US_GOV_WEST_1 = 'us-gov-west-1';
59
  const GOV_CLOUD_US = 'us-gov-west-1';
60
  }
vendor/aws/Aws/Common/Enum/Size.php CHANGED
File without changes
vendor/aws/Aws/Common/Enum/Time.php CHANGED
File without changes
vendor/aws/Aws/Common/Enum/UaString.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/AwsExceptionInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/BadMethodCallException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/DomainException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/ExceptionFactoryInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/ExceptionListener.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/InstanceProfileCredentialsException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/InvalidArgumentException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/LogicException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/MultipartUploadException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/NamespaceExceptionFactory.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/OutOfBoundsException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/OverflowException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/Parser/AbstractJsonExceptionParser.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/Parser/DefaultXmlExceptionParser.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/Parser/ExceptionParserInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/Parser/JsonQueryExceptionParser.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/Parser/JsonRestExceptionParser.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/RequiredExtensionNotLoadedException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/RuntimeException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/ServiceResponseException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/TransferException.php CHANGED
File without changes
vendor/aws/Aws/Common/Exception/UnexpectedValueException.php CHANGED
File without changes
vendor/aws/Aws/Common/Facade/Facade.php CHANGED
@@ -41,7 +41,7 @@ abstract class Facade implements FacadeInterface
41
  if (isset($service['alias'], $service['class'])) {
42
  $facadeClass = __NAMESPACE__ . '\\' . $service['alias'];
43
  $facadeAlias = ltrim($targetNamespace . '\\' . $service['alias'], '\\');
44
- if (!class_exists($facadeAlias)) {
45
  // @codeCoverageIgnoreStart
46
  class_alias($facadeClass, $facadeAlias);
47
  // @codeCoverageIgnoreEnd
41
  if (isset($service['alias'], $service['class'])) {
42
  $facadeClass = __NAMESPACE__ . '\\' . $service['alias'];
43
  $facadeAlias = ltrim($targetNamespace . '\\' . $service['alias'], '\\');
44
+ if (!class_exists($facadeAlias) && class_exists($facadeClass)) {
45
  // @codeCoverageIgnoreStart
46
  class_alias($facadeClass, $facadeAlias);
47
  // @codeCoverageIgnoreEnd
vendor/aws/Aws/Common/Facade/FacadeInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Facade/facade-classes.php CHANGED
@@ -56,6 +56,14 @@ class CloudSearch extends Facade
56
  }
57
  }
58
 
 
 
 
 
 
 
 
 
59
  class CloudWatch extends Facade
60
  {
61
  public static function getServiceBuilderKey()
@@ -160,6 +168,14 @@ class ImportExport extends Facade
160
  }
161
  }
162
 
 
 
 
 
 
 
 
 
163
  class OpsWorks extends Facade
164
  {
165
  public static function getServiceBuilderKey()
56
  }
57
  }
58
 
59
+ class CloudTrail extends Facade
60
+ {
61
+ public static function getServiceBuilderKey()
62
+ {
63
+ return 'cloudtrail';
64
+ }
65
+ }
66
+
67
  class CloudWatch extends Facade
68
  {
69
  public static function getServiceBuilderKey()
168
  }
169
  }
170
 
171
+ class Kinesis extends Facade
172
+ {
173
+ public static function getServiceBuilderKey()
174
+ {
175
+ return 'kinesis';
176
+ }
177
+ }
178
+
179
  class OpsWorks extends Facade
180
  {
181
  public static function getServiceBuilderKey()
vendor/aws/Aws/Common/Hash/ChunkHash.php CHANGED
File without changes
vendor/aws/Aws/Common/Hash/ChunkHashInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Hash/HashUtils.php CHANGED
File without changes
vendor/aws/Aws/Common/Hash/TreeHash.php CHANGED
File without changes
vendor/aws/Aws/Common/HostNameUtils.php CHANGED
@@ -33,7 +33,7 @@ class HostNameUtils
33
  * @param Url $url HTTP URL
34
  *
35
  * @return string
36
- * @link http://docs.amazonwebservices.com/general/latest/gr/rande.html
37
  */
38
  public static function parseRegionName(Url $url)
39
  {
@@ -68,7 +68,7 @@ class HostNameUtils
68
  * @param Url $url HTTP URL
69
  *
70
  * @return string Returns a service name (or empty string)
71
- * @link http://docs.amazonwebservices.com/general/latest/gr/rande.html
72
  */
73
  public static function parseServiceName(Url $url)
74
  {
33
  * @param Url $url HTTP URL
34
  *
35
  * @return string
36
+ * @link http://docs.aws.amazon.com/general/latest/gr/rande.html
37
  */
38
  public static function parseRegionName(Url $url)
39
  {
68
  * @param Url $url HTTP URL
69
  *
70
  * @return string Returns a service name (or empty string)
71
+ * @link http://docs.aws.amazon.com/general/latest/gr/rande.html
72
  */
73
  public static function parseServiceName(Url $url)
74
  {
vendor/aws/Aws/Common/InstanceMetadata/InstanceMetadataClient.php CHANGED
@@ -45,6 +45,10 @@ class InstanceMetadataClient extends AbstractClient
45
  $config = Collection::fromConfig($config, array(
46
  Options::BASE_URL => 'http://169.254.169.254/{version}/',
47
  'version' => 'latest',
 
 
 
 
48
  ), array('base_url', 'version'));
49
 
50
  return new self($config);
@@ -71,15 +75,14 @@ class InstanceMetadataClient extends AbstractClient
71
  {
72
  try {
73
  $request = $this->get('meta-data/iam/security-credentials/');
74
- $request->getCurlOptions()->set(CURLOPT_TIMEOUT, 1)->set(CURLOPT_CONNECTTIMEOUT, 1);
75
  $credentials = trim($request->send()->getBody(true));
76
  $result = $this->get("meta-data/iam/security-credentials/{$credentials}")->send()->json();
77
  } catch (\Exception $e) {
78
- $message = 'Error retrieving credentials from the instance profile metadata server. When you are not'
79
- . ' running inside of Amazon EC2, you must provide your AWS access key ID and secret access key in'
80
  . ' the "key" and "secret" options when creating a client or provide an instantiated'
81
- . ' Aws\\Common\\Credentials\\CredentialsInterface object.';
82
- throw new InstanceProfileCredentialsException($message, $e->getCode(), $e);
83
  }
84
 
85
  // Ensure that the status code was successful
45
  $config = Collection::fromConfig($config, array(
46
  Options::BASE_URL => 'http://169.254.169.254/{version}/',
47
  'version' => 'latest',
48
+ 'request.options' => array(
49
+ 'connect_timeout' => 5,
50
+ 'timeout' => 10
51
+ )
52
  ), array('base_url', 'version'));
53
 
54
  return new self($config);
75
  {
76
  try {
77
  $request = $this->get('meta-data/iam/security-credentials/');
 
78
  $credentials = trim($request->send()->getBody(true));
79
  $result = $this->get("meta-data/iam/security-credentials/{$credentials}")->send()->json();
80
  } catch (\Exception $e) {
81
+ $message = sprintf('Error retrieving credentials from the instance profile metadata server. When you are'
82
+ . ' not running inside of Amazon EC2, you must provide your AWS access key ID and secret access key in'
83
  . ' the "key" and "secret" options when creating a client or provide an instantiated'
84
+ . ' Aws\\Common\\Credentials\\CredentialsInterface object. (%s)', $e->getMessage());
85
+ throw new InstanceProfileCredentialsException($message, $e->getCode());
86
  }
87
 
88
  // Ensure that the status code was successful
vendor/aws/Aws/Common/InstanceMetadata/Waiter/ServiceAvailable.php CHANGED
File without changes
vendor/aws/Aws/Common/Iterator/AwsResourceIterator.php CHANGED
@@ -32,7 +32,8 @@ class AwsResourceIterator extends ResourceIterator
32
  protected $lastResult = null;
33
 
34
  /**
35
- * Provides access to the most recent result obtained by the iterator.
 
36
  *
37
  * @return Model|null
38
  */
@@ -71,45 +72,37 @@ class AwsResourceIterator extends ResourceIterator
71
  return $resources;
72
  }
73
 
74
- /**
75
- * {@inheritdoc}
76
- */
77
  protected function prepareRequest()
78
  {
79
  // Get the limit parameter key to set
80
- $param = $this->get('limit_param');
81
- if ($param && ($limit = $this->command->get($param))) {
82
  $pageSize = $this->calculatePageSize();
83
 
84
  // If the limit of the command is different than the pageSize of the iterator, use the smaller value
85
  if ($limit && $pageSize) {
86
- $this->command->set('limit', min($limit, $pageSize));
 
87
  }
88
  }
89
  }
90
 
91
- /**
92
- * {@inheritdoc}
93
- */
94
  protected function handleResults(Model $result)
95
  {
96
  $results = array();
97
 
98
  // Get the result key that contains the results
99
  if ($resultKey = $this->get('result_key')) {
100
- $results = $result->getPath($resultKey) ?: array();
101
  }
102
 
103
  return $results;
104
  }
105
 
106
- /**
107
- * {@inheritdoc}
108
- */
109
  protected function applyNextToken()
110
  {
111
  // Get the token parameter key to set
112
- if ($tokenParam = $this->get('token_param')) {
113
  // Set the next token. Works with multi-value tokens
114
  if (is_array($tokenParam)) {
115
  if (is_array($this->nextToken) && count($tokenParam) === count($this->nextToken)) {
@@ -126,24 +119,51 @@ class AwsResourceIterator extends ResourceIterator
126
  }
127
  }
128
 
129
- /**
130
- * {@inheritdoc}
131
- */
132
  protected function determineNextToken(Model $result)
133
  {
134
  $this->nextToken = null;
135
 
136
- // If the value of "more key" is true or there is no "more key" to check, then try to get the next token
137
- $moreKey = $this->get('more_key');
138
- if ($moreKey === null || $result->getPath($moreKey)) {
139
  // Get the token key to check
140
- if ($tokenKey = $this->get('token_key')) {
141
  // Get the next token's value. Works with multi-value tokens
142
- $getToken = function ($key) use ($result) {
143
- return $result->getPath((string) $key);
144
- };
145
- $this->nextToken = is_array($tokenKey) ? array_map($getToken, $tokenKey) : $getToken($tokenKey);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  }
147
  }
 
 
 
148
  }
149
  }
32
  protected $lastResult = null;
33
 
34
  /**
35
+ * Provides access to the most recent result obtained by the iterator. This makes it easier to extract any
36
+ * additional information from the result which you do not have access to from the values emitted by the iterator
37
  *
38
  * @return Model|null
39
  */
72
  return $resources;
73
  }
74
 
 
 
 
75
  protected function prepareRequest()
76
  {
77
  // Get the limit parameter key to set
78
+ $limitKey = $this->get('limit_key');
79
+ if ($limitKey && ($limit = $this->command->get($limitKey))) {
80
  $pageSize = $this->calculatePageSize();
81
 
82
  // If the limit of the command is different than the pageSize of the iterator, use the smaller value
83
  if ($limit && $pageSize) {
84
+ $realLimit = min($limit, $pageSize);
85
+ $this->command->set($limitKey, $realLimit);
86
  }
87
  }
88
  }
89
 
 
 
 
90
  protected function handleResults(Model $result)
91
  {
92
  $results = array();
93
 
94
  // Get the result key that contains the results
95
  if ($resultKey = $this->get('result_key')) {
96
+ $results = $this->getValueFromResult($result, $resultKey) ?: array();
97
  }
98
 
99
  return $results;
100
  }
101
 
 
 
 
102
  protected function applyNextToken()
103
  {
104
  // Get the token parameter key to set
105
+ if ($tokenParam = $this->get('input_token')) {
106
  // Set the next token. Works with multi-value tokens
107
  if (is_array($tokenParam)) {
108
  if (is_array($this->nextToken) && count($tokenParam) === count($this->nextToken)) {
119
  }
120
  }
121
 
 
 
 
122
  protected function determineNextToken(Model $result)
123
  {
124
  $this->nextToken = null;
125
 
126
+ // If the value of "more_results" is true or there is no "more_results" to check, then try to get the next token
127
+ $moreKey = $this->get('more_results');
128
+ if ($moreKey === null || $this->getValueFromResult($result, $moreKey)) {
129
  // Get the token key to check
130
+ if ($tokenKey = $this->get('output_token')) {
131
  // Get the next token's value. Works with multi-value tokens
132
+ if (is_array($tokenKey)) {
133
+ $this->nextToken = array();
134
+ foreach ($tokenKey as $key) {
135
+ $this->nextToken[] = $this->getValueFromResult($result, $key);
136
+ }
137
+ } else {
138
+ $this->nextToken = $this->getValueFromResult($result, $tokenKey);
139
+ }
140
+ }
141
+ }
142
+ }
143
+
144
+ /**
145
+ * Extracts the value from the result using Collection::getPath. Also adds some additional logic for keys that need
146
+ * to access n-1 indexes (e.g., ImportExport, Kinesis). The n-1 logic only works for the known cases. We will switch
147
+ * to a jmespath implementation in the future to cover all cases
148
+ *
149
+ * @param Model $result
150
+ * @param string $key
151
+ *
152
+ * @return mixed|null
153
+ */
154
+ protected function getValueFromResult(Model $result, $key)
155
+ {
156
+ // Special handling for keys that need to access n-1 indexes
157
+ if (strpos($key, '#') !== false) {
158
+ $keyParts = explode('#', $key, 2);
159
+ $items = $result->getPath(trim($keyParts[0], '/'));
160
+ if ($items && is_array($items)) {
161
+ $index = count($items) - 1;
162
+ $key = strtr($key, array('#' => $index));
163
  }
164
  }
165
+
166
+ // Get the value
167
+ return $result->getPath($key);
168
  }
169
  }
vendor/aws/Aws/Common/Iterator/AwsResourceIteratorFactory.php CHANGED
@@ -16,24 +16,28 @@ class AwsResourceIteratorFactory implements ResourceIteratorFactoryInterface
16
  /**
17
  * @var array Default configuration values for iterators
18
  */
19
- protected static $defaultConfig = array(
20
- 'limit_key' => null,
21
- 'limit_param' => null,
22
- 'more_key' => null,
23
- 'token_key' => null,
24
- 'token_param' => null,
25
- 'operations' => array(),
26
  );
27
 
28
  /**
29
- * @var Collection The configuration for the iterators
30
  */
31
- protected $config;
 
 
 
 
 
32
 
33
  /**
34
- * @var Collection Additional configurations for specific iterators
35
  */
36
- protected $operations;
37
 
38
  /**
39
  * @var ResourceIteratorFactoryInterface Another factory that will be used first to instantiate the iterator
@@ -43,59 +47,60 @@ class AwsResourceIteratorFactory implements ResourceIteratorFactoryInterface
43
  /**
44
  * @param array $config An array of configuration values for the factory
45
  * @param ResourceIteratorFactoryInterface $primaryIteratorFactory Another factory to use for chain of command
46
- *
47
- * @throws InvalidArgumentException
48
  */
49
  public function __construct(array $config, ResourceIteratorFactoryInterface $primaryIteratorFactory = null)
50
  {
51
  $this->primaryIteratorFactory = $primaryIteratorFactory;
52
- // Set up the config with default values
53
- $this->config = Collection::fromConfig($config, self::$defaultConfig);
54
-
55
- // Pull out the operation-specific configurations
56
- $this->operations = new Collection();
57
- $potentialOperations = $this->config->get('operations') ?: array();
58
- $this->config->remove('operations');
59
- foreach ($potentialOperations as $key => $value) {
60
- if (is_int($key) && is_string($value)) {
61
- $this->operations->set($value, array());
62
- } elseif (is_string($key) && is_array($value)) {
63
- $this->operations->set($key, $value);
64
- } else {
65
- throw new InvalidArgumentException('The iterator factory configuration was invalid.');
66
- }
67
  }
68
  }
69
 
70
- /**
71
- * {@inheritdoc}
72
- */
73
  public function build(CommandInterface $command, array $options = array())
74
  {
75
  // Get the configuration data for the command
76
  $commandName = $command->getName();
77
- $iteratorConfig = $this->operations->get($commandName) ?: array();
78
- $options = array_replace($this->config->getAll(), $iteratorConfig, $options);
 
79
 
80
- // Instantiate the iterator using the primary factory (if there is one)
81
  if ($this->primaryIteratorFactory && $this->primaryIteratorFactory->canBuild($command)) {
82
  $iterator = $this->primaryIteratorFactory->build($command, $options);
83
- } elseif (!$this->operations->hasKey($commandName)) {
84
  throw new InvalidArgumentException("Iterator was not found for {$commandName}.");
85
  } else {
86
- // Fallback to this factory for creating the iterator if the primary factory did not work
87
  $iterator = new AwsResourceIterator($command, $options);
88
  }
89
 
90
  return $iterator;
91
  }
92
 
 
 
 
 
 
 
 
 
 
93
  /**
94
- * {@inheritdoc}
 
 
95
  */
96
- public function canBuild(CommandInterface $command)
97
  {
98
- return ($this->primaryIteratorFactory && $this->primaryIteratorFactory->canBuild($command))
99
- || $this->operations->hasKey($command->getName());
 
 
 
 
 
 
100
  }
101
  }
16
  /**
17
  * @var array Default configuration values for iterators
18
  */
19
+ protected static $defaultIteratorConfig = array(
20
+ 'input_token' => null,
21
+ 'output_token' => null,
22
+ 'limit_key' => null,
23
+ 'result_key' => null,
24
+ 'more_results' => null,
 
25
  );
26
 
27
  /**
28
+ * @var array Legacy configuration options mapped to their new names
29
  */
30
+ private static $legacyConfigOptions = array(
31
+ 'token_param' => 'input_token',
32
+ 'token_key' => 'output_token',
33
+ 'limit_param' => 'limit_key',
34
+ 'more_key' => 'more_results',
35
+ );
36
 
37
  /**
38
+ * @var array Iterator configuration for each iterable operation
39
  */
40
+ protected $config;
41
 
42
  /**
43
  * @var ResourceIteratorFactoryInterface Another factory that will be used first to instantiate the iterator
47
  /**
48
  * @param array $config An array of configuration values for the factory
49
  * @param ResourceIteratorFactoryInterface $primaryIteratorFactory Another factory to use for chain of command
 
 
50
  */
51
  public function __construct(array $config, ResourceIteratorFactoryInterface $primaryIteratorFactory = null)
52
  {
53
  $this->primaryIteratorFactory = $primaryIteratorFactory;
54
+ $this->config = array();
55
+ foreach ($config as $name => $operation) {
56
+ $this->config[$name] = $operation + self::$defaultIteratorConfig;
 
 
 
 
 
 
 
 
 
 
 
 
57
  }
58
  }
59
 
 
 
 
60
  public function build(CommandInterface $command, array $options = array())
61
  {
62
  // Get the configuration data for the command
63
  $commandName = $command->getName();
64
+ $commandSupported = isset($this->config[$commandName]);
65
+ $options = $this->translateLegacyConfigOptions($options);
66
+ $options += $commandSupported ? $this->config[$commandName] : array();
67
 
68
+ // Instantiate the iterator using the primary factory (if one was provided)
69
  if ($this->primaryIteratorFactory && $this->primaryIteratorFactory->canBuild($command)) {
70
  $iterator = $this->primaryIteratorFactory->build($command, $options);
71
+ } elseif (!$commandSupported) {
72
  throw new InvalidArgumentException("Iterator was not found for {$commandName}.");
73
  } else {
74
+ // Instantiate a generic AWS resource iterator
75
  $iterator = new AwsResourceIterator($command, $options);
76
  }
77
 
78
  return $iterator;
79
  }
80
 
81
+ public function canBuild(CommandInterface $command)
82
+ {
83
+ if ($this->primaryIteratorFactory) {
84
+ return $this->primaryIteratorFactory->canBuild($command);
85
+ } else {
86
+ return isset($this->config[$command->getName()]);
87
+ }
88
+ }
89
+
90
  /**
91
+ * @param array $config The config for a single operation
92
+ *
93
+ * @return array The modified config with legacy options translated
94
  */
95
+ private function translateLegacyConfigOptions($config)
96
  {
97
+ foreach (self::$legacyConfigOptions as $legacyOption => $newOption) {
98
+ if (isset($config[$legacyOption])) {
99
+ $config[$newOption] = $config[$legacyOption];
100
+ unset($config[$legacyOption]);
101
+ }
102
+ }
103
+
104
+ return $config;
105
  }
106
  }
vendor/aws/Aws/Common/Model/MultipartUpload/AbstractTransfer.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/AbstractTransferState.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadBuilder.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadId.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadPart.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/TransferInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/TransferStateInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/UploadIdInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Model/MultipartUpload/UploadPartInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Resources/aws-config.php CHANGED
@@ -53,12 +53,53 @@ return array(
53
  'class' => 'Aws\CloudSearch\CloudSearchClient'
54
  ),
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  'cloudwatch' => array(
57
  'alias' => 'CloudWatch',
58
  'extends' => 'default_settings',
59
  'class' => 'Aws\CloudWatch\CloudWatchClient'
60
  ),
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  'datapipeline' => array(
63
  'alias' => 'DataPipeline',
64
  'extends' => 'default_settings',
@@ -126,6 +167,12 @@ return array(
126
  'class' => 'Aws\Glacier\GlacierClient'
127
  ),
128
 
 
 
 
 
 
 
129
  'iam' => array(
130
  'alias' => 'Iam',
131
  'extends' => 'default_settings',
@@ -162,6 +209,12 @@ return array(
162
  'class' => 'Aws\Route53\Route53Client'
163
  ),
164
 
 
 
 
 
 
 
165
  's3' => array(
166
  'alias' => 'S3',
167
  'extends' => 'default_settings',
53
  'class' => 'Aws\CloudSearch\CloudSearchClient'
54
  ),
55
 
56
+ 'cloudsearch_20110201' => array(
57
+ 'extends' => 'cloudsearch',
58
+ 'params' => array(
59
+ 'version' => '2011-02-01'
60
+ )
61
+ ),
62
+
63
+ 'cloudsearchdomain' => array(
64
+ 'alias' => 'CloudSearchDomain',
65
+ 'extends' => 'default_settings',
66
+ 'class' => 'Aws\CloudSearchDomain\CloudSearchDomainClient'
67
+ ),
68
+
69
+ 'cloudtrail' => array(
70
+ 'alias' => 'CloudTrail',
71
+ 'extends' => 'default_settings',
72
+ 'class' => 'Aws\CloudTrail\CloudTrailClient'
73
+ ),
74
+
75
  'cloudwatch' => array(
76
  'alias' => 'CloudWatch',
77
  'extends' => 'default_settings',
78
  'class' => 'Aws\CloudWatch\CloudWatchClient'
79
  ),
80
 
81
+ 'cognito-identity' => array(
82
+ 'alias' => 'CognitoIdentity',
83
+ 'extends' => 'default_settings',
84
+ 'class' => 'Aws\CognitoIdentity\CognitoIdentityClient'
85
+ ),
86
+
87
+ 'cognitoidentity' => array('extends' => 'cognito-identity'),
88
+
89
+ 'cognito-sync' => array(
90
+ 'alias' => 'CognitoSync',
91
+ 'extends' => 'default_settings',
92
+ 'class' => 'Aws\CognitoSync\CognitoSyncClient'
93
+ ),
94
+
95
+ 'cognitosync' => array('extends' => 'cognito-sync'),
96
+
97
+ 'cloudwatchlogs' => array(
98
+ 'alias' => 'CloudWatchLogs',
99
+ 'extends' => 'default_settings',
100
+ 'class' => 'Aws\CloudWatchLogs\CloudWatchLogsClient'
101
+ ),
102
+
103
  'datapipeline' => array(
104
  'alias' => 'DataPipeline',
105
  'extends' => 'default_settings',
167
  'class' => 'Aws\Glacier\GlacierClient'
168
  ),
169
 
170
+ 'kinesis' => array(
171
+ 'alias' => 'Kinesis',
172
+ 'extends' => 'default_settings',
173
+ 'class' => 'Aws\Kinesis\KinesisClient'
174
+ ),
175
+
176
  'iam' => array(
177
  'alias' => 'Iam',
178
  'extends' => 'default_settings',
209
  'class' => 'Aws\Route53\Route53Client'
210
  ),
211
 
212
+ 'route53domains' => array(
213
+ 'alias' => 'Route53Domains',
214
+ 'extends' => 'default_settings',
215
+ 'class' => 'Aws\Route53Domains\Route53DomainsClient'
216
+ ),
217
+
218
  's3' => array(
219
  'alias' => 'S3',
220
  'extends' => 'default_settings',
vendor/aws/Aws/Common/Resources/sdk1-config.php CHANGED
File without changes
vendor/aws/Aws/Common/Signature/AbstractSignature.php CHANGED
@@ -16,75 +16,29 @@
16
 
17
  namespace Aws\Common\Signature;
18
 
 
19
  use Guzzle\Http\Message\RequestInterface;
20
 
21
- /**
22
- * Abstract signature class that can be used when implementing new concrete
23
- * AWS signature protocol strategies
24
- */
25
  abstract class AbstractSignature implements SignatureInterface
26
  {
27
  /**
28
- * @var int Timestamp
29
- */
30
- private $timestamp;
31
-
32
- /**
33
- * Get the canonicalized query string for a request
34
- *
35
- * @param RequestInterface $request
36
- * @return string
37
- */
38
- protected function getCanonicalizedQueryString(RequestInterface $request)
39
- {
40
- $queryParams = $request->getQuery()->getAll();
41
- unset($queryParams['X-Amz-Signature']);
42
- if (empty($queryParams)) {
43
- return '';
44
- }
45
-
46
- $qs = '';
47
- ksort($queryParams);
48
- foreach ($queryParams as $key => $values) {
49
- if (is_array($values)) {
50
- sort($values);
51
- } elseif (!$values) {
52
- $values = array('');
53
- }
54
-
55
- foreach ((array) $values as $value) {
56
- $qs .= rawurlencode($key) . '=' . rawurlencode($value) . '&';
57
- }
58
- }
59
-
60
- return substr($qs, 0, -1);
61
- }
62
-
63
- /**
64
- * Provides the timestamp used for the class
65
- *
66
- * @param bool $refresh Set to TRUE to refresh the cached timestamp
67
  *
68
  * @return int
69
  */
70
- protected function getTimestamp($refresh = false)
71
  {
72
- if (!$this->timestamp || $refresh) {
73
- $this->timestamp = time();
74
- }
75
-
76
- return $this->timestamp;
77
  }
78
 
79
  /**
80
- * Get a date for one of the parts of the requests
81
- *
82
- * @param string $format Date format
83
- *
84
- * @return string
85
  */
86
- protected function getDateTime($format)
87
- {
88
- return gmdate($format, $this->getTimestamp());
 
 
 
89
  }
90
  }
16
 
17
  namespace Aws\Common\Signature;
18
 
19
+ use Aws\Common\Credentials\CredentialsInterface;
20
  use Guzzle\Http\Message\RequestInterface;
21
 
 
 
 
 
22
  abstract class AbstractSignature implements SignatureInterface
23
  {
24
  /**
25
+ * Provides the timestamp used for the class (used for mocking PHP's time() function)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  *
27
  * @return int
28
  */
29
+ protected function getTimestamp()
30
  {
31
+ return time();
 
 
 
 
32
  }
33
 
34
  /**
35
+ * @codeCoverageIgnore
 
 
 
 
36
  */
37
+ public function createPresignedUrl(
38
+ RequestInterface $request,
39
+ CredentialsInterface $credentials,
40
+ $expires
41
+ ) {
42
+ throw new \BadMethodCallException(__METHOD__ . ' not implemented');
43
  }
44
  }
vendor/aws/Aws/Common/Signature/EndpointSignatureInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Signature/SignatureInterface.php CHANGED
@@ -34,4 +34,19 @@ interface SignatureInterface
34
  * @param CredentialsInterface $credentials Signing credentials
35
  */
36
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
34
  * @param CredentialsInterface $credentials Signing credentials
35
  */
36
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials);
37
+
38
+ /**
39
+ * Create a pre-signed URL
40
+ *
41
+ * @param RequestInterface $request Request to sign
42
+ * @param CredentialsInterface $credentials Credentials used to sign
43
+ * @param int|string|\DateTime $expires The time at which the URL should expire. This can be a Unix timestamp, a
44
+ * PHP DateTime object, or a string that can be evaluated by strtotime
45
+ * @return string
46
+ */
47
+ public function createPresignedUrl(
48
+ RequestInterface $request,
49
+ CredentialsInterface $credentials,
50
+ $expires
51
+ );
52
  }
vendor/aws/Aws/Common/Signature/SignatureListener.php CHANGED
File without changes
vendor/aws/Aws/Common/Signature/SignatureV2.php CHANGED
@@ -25,16 +25,13 @@ use Guzzle\Http\Message\RequestInterface;
25
  */
26
  class SignatureV2 extends AbstractSignature
27
  {
28
- /**
29
- * {@inheritDoc}
30
- */
31
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
32
  {
33
  // refresh the cached timestamp
34
- $this->getTimestamp(true);
35
 
36
  // set values we need in CanonicalizedParameterString
37
- $this->addParameter($request, 'Timestamp', $this->getDateTime('c'));
38
  $this->addParameter($request, 'SignatureVersion', '2');
39
  $this->addParameter($request, 'SignatureMethod', 'HmacSHA256');
40
  $this->addParameter($request, 'AWSAccessKeyId', $credentials->getAccessKeyId());
@@ -90,7 +87,7 @@ class SignatureV2 extends AbstractSignature
90
  *
91
  * @return string
92
  */
93
- public function getCanonicalizedParameterString(RequestInterface $request)
94
  {
95
  if ($request->getMethod() == 'POST') {
96
  $params = $request->getPostFields()->toArray();
25
  */
26
  class SignatureV2 extends AbstractSignature
27
  {
 
 
 
28
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
29
  {
30
  // refresh the cached timestamp
31
+ $timestamp = $this->getTimestamp(true);
32
 
33
  // set values we need in CanonicalizedParameterString
34
+ $this->addParameter($request, 'Timestamp', gmdate('c', $timestamp));
35
  $this->addParameter($request, 'SignatureVersion', '2');
36
  $this->addParameter($request, 'SignatureMethod', 'HmacSHA256');
37
  $this->addParameter($request, 'AWSAccessKeyId', $credentials->getAccessKeyId());
87
  *
88
  * @return string
89
  */
90
+ private function getCanonicalizedParameterString(RequestInterface $request)
91
  {
92
  if ($request->getMethod() == 'POST') {
93
  $params = $request->getPostFields()->toArray();
vendor/aws/Aws/Common/Signature/SignatureV3.php DELETED
@@ -1,102 +0,0 @@
1
- <?php
2
- /**
3
- * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License").
6
- * You may not use this file except in compliance with the License.
7
- * A copy of the License is located at
8
- *
9
- * http://aws.amazon.com/apache2.0
10
- *
11
- * or in the "license" file accompanying this file. This file is distributed
12
- * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
- * express or implied. See the License for the specific language governing
14
- * permissions and limitations under the License.
15
- */
16
-
17
- namespace Aws\Common\Signature;
18
-
19
- use Aws\Common\Credentials\CredentialsInterface;
20
- use Aws\Common\Enum\DateFormat;
21
- use Guzzle\Http\Message\RequestInterface;
22
- use Guzzle\Http\Message\EntityEnclosingRequestInterface;
23
-
24
- /**
25
- * Implementation of Signature Version 3
26
- * @link http://docs.amazonwebservices.com/amazonswf/latest/developerguide/HMACAuth-swf.html
27
- */
28
- class SignatureV3 extends AbstractSignature
29
- {
30
- /**
31
- * Get an array of headers to be signed
32
- *
33
- * @param RequestInterface $request Request to get headers from
34
- *
35
- * @return array
36
- */
37
- protected function getHeadersToSign(RequestInterface $request)
38
- {
39
- $headers = array();
40
- foreach ($request->getHeaders()->toArray() as $k => $v) {
41
- $k = strtolower($k);
42
- if ($k == 'host' || strpos($k, 'x-amz-') !== false) {
43
- $headers[$k] = implode(',', $v);
44
- }
45
- }
46
-
47
- // Sort the headers alphabetically and add them to the string to sign
48
- ksort($headers);
49
-
50
- return $headers;
51
- }
52
-
53
- /**
54
- * {@inheritdoc}
55
- */
56
- public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
57
- {
58
- // Refresh the cached timestamp
59
- $this->getTimestamp(true);
60
-
61
- // Add default headers
62
- $request->setHeader('x-amz-date', $this->getDateTime(DateFormat::RFC1123));
63
-
64
- // Add the security token if one is present
65
- if ($credentials->getSecurityToken()) {
66
- $request->setHeader('x-amz-security-token', $credentials->getSecurityToken());
67
- }
68
-
69
- // Grab the path and ensure that it is absolute
70
- $path = '/' . ltrim($request->getUrl(true)->normalizePath()->getPath(), '/');
71
-
72
- // Begin building the string to sign
73
- $sign = $request->getMethod() . "\n"
74
- . "{$path}\n"
75
- . $this->getCanonicalizedQueryString($request) . "\n";
76
-
77
- // Get all of the headers that must be signed (host and x-amz-*)
78
- $headers = $this->getHeadersToSign($request);
79
- foreach ($headers as $key => $value) {
80
- $sign .= $key . ':' . $value . "\n";
81
- }
82
-
83
- $sign .= "\n";
84
-
85
- // Add the body of the request if a body is present
86
- if ($request instanceof EntityEnclosingRequestInterface) {
87
- $sign .= (string) $request->getBody();
88
- }
89
-
90
- // Add the string to sign to the request for debugging purposes
91
- $request->getParams()->set('aws.string_to_sign', $sign);
92
-
93
- $signature = base64_encode(hash_hmac('sha256',
94
- hash('sha256', $sign, true), $credentials->getSecretKey(), true));
95
-
96
- // Add the authorization header to the request
97
- $request->setHeader('x-amzn-authorization', sprintf('AWS3 AWSAccessKeyId=%s,Algorithm=HmacSHA256,SignedHeaders=%s,Signature=%s',
98
- $credentials->getAccessKeyId(),
99
- implode(';', array_keys($headers)),
100
- $signature));
101
- }
102
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/aws/Aws/Common/Signature/SignatureV3Https.php CHANGED
@@ -22,18 +22,15 @@ use Guzzle\Http\Message\RequestInterface;
22
 
23
  /**
24
  * Implementation of Signature Version 3 HTTPS
25
- * @link http://docs.amazonwebservices.com/Route53/latest/DeveloperGuide/RESTAuthentication.html
26
  */
27
  class SignatureV3Https extends AbstractSignature
28
  {
29
- /**
30
- * {@inheritdoc}
31
- */
32
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
33
  {
34
  // Add a date header if one is not set
35
  if (!$request->hasHeader('date') && !$request->hasHeader('x-amz-date')) {
36
- $request->setHeader('Date', $this->getDateTime(DateFormat::RFC1123));
37
  }
38
 
39
  // Add the security token if one is present
@@ -42,7 +39,7 @@ class SignatureV3Https extends AbstractSignature
42
  }
43
 
44
  // Determine the string to sign
45
- $stringToSign = $request->getHeader('Date', true) ?: $request->getHeader('x-amz-date', true);
46
  $request->getParams()->set('aws.string_to_sign', $stringToSign);
47
 
48
  // Calculate the signature
22
 
23
  /**
24
  * Implementation of Signature Version 3 HTTPS
25
+ * @link http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/RESTAuthentication.html
26
  */
27
  class SignatureV3Https extends AbstractSignature
28
  {
 
 
 
29
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
30
  {
31
  // Add a date header if one is not set
32
  if (!$request->hasHeader('date') && !$request->hasHeader('x-amz-date')) {
33
+ $request->setHeader('Date', gmdate(DateFormat::RFC1123, $this->getTimestamp()));
34
  }
35
 
36
  // Add the security token if one is present
39
  }
40
 
41
  // Determine the string to sign
42
+ $stringToSign = (string) ($request->getHeader('Date') ?: $request->getHeader('x-amz-date'));
43
  $request->getParams()->set('aws.string_to_sign', $stringToSign);
44
 
45
  // Calculate the signature
vendor/aws/Aws/Common/Signature/SignatureV4.php CHANGED
@@ -19,45 +19,46 @@ namespace Aws\Common\Signature;
19
  use Aws\Common\Credentials\CredentialsInterface;
20
  use Aws\Common\Enum\DateFormat;
21
  use Aws\Common\HostNameUtils;
 
22
  use Guzzle\Http\Message\EntityEnclosingRequestInterface;
 
23
  use Guzzle\Http\Message\RequestInterface;
 
24
  use Guzzle\Http\Url;
25
 
26
  /**
27
  * Signature Version 4
28
- * @link http://docs.amazonwebservices.com/general/latest/gr/signature-version-4.html
29
  */
30
  class SignatureV4 extends AbstractSignature implements EndpointSignatureInterface
31
  {
32
- /**
33
- * @var string Cache of the default empty entity-body payload
34
- */
35
  const DEFAULT_PAYLOAD = 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855';
36
 
37
- /**
38
- * @var string Explicitly set service name
39
- */
40
  protected $serviceName;
41
 
42
- /**
43
- * @var string Explicitly set region name
44
- */
45
  protected $regionName;
46
 
47
- /**
48
- * @var int Maximum number of hashes to cache
49
- */
50
  protected $maxCacheSize = 50;
51
 
52
- /**
53
- * @var array Cache of previously signed values
54
- */
55
  protected $hashCache = array();
56
 
 
 
 
57
  /**
58
- * @var int Size of the hash cache
 
59
  */
60
- protected $cacheSize = 0;
 
 
 
 
61
 
62
  /**
63
  * Set the service name instead of inferring it from a request URL
@@ -101,26 +102,20 @@ class SignatureV4 extends AbstractSignature implements EndpointSignatureInterfac
101
  return $this;
102
  }
103
 
104
- /**
105
- * {@inheritdoc}
106
- */
107
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
108
  {
109
- // Refresh the cached timestamp
110
- $this->getTimestamp(true);
111
-
112
- $longDate = $this->getDateTime(DateFormat::ISO8601);
113
- $shortDate = $this->getDateTime(DateFormat::SHORT);
114
 
115
- // Remove any previously set Authorization headers so that
116
- // exponential backoff works correctly
117
  $request->removeHeader('Authorization');
118
 
119
  // Requires a x-amz-date header or Date
120
  if ($request->hasHeader('x-amz-date') || !$request->hasHeader('Date')) {
121
  $request->setHeader('x-amz-date', $longDate);
122
  } else {
123
- $request->setHeader('Date', $this->getDateTime(DateFormat::RFC1123));
124
  }
125
 
126
  // Add the security token if one is present
@@ -129,22 +124,22 @@ class SignatureV4 extends AbstractSignature implements EndpointSignatureInterfac
129
  }
130
 
131
  // Parse the service and region or use one that is explicitly set
132
- $url = null;
133
- if (!$this->regionName || !$this->serviceName) {
 
134
  $url = Url::factory($request->getUrl());
135
- }
136
- if (!$region = $this->regionName) {
137
- $region = HostNameUtils::parseRegionName($url);
138
- }
139
- if (!$service = $this->serviceName) {
140
- $service = HostNameUtils::parseServiceName($url);
141
  }
142
 
143
- $credentialScope = "{$shortDate}/{$region}/{$service}/aws4_request";
144
-
145
- $signingContext = $this->createCanonicalRequest($request);
146
- $signingContext['string_to_sign'] = "AWS4-HMAC-SHA256\n{$longDate}\n{$credentialScope}\n"
147
- . hash('sha256', $signingContext['canonical_request']);
 
 
 
148
 
149
  // Calculate the signing key using a series of derived keys
150
  $signingKey = $this->getSigningKey($shortDate, $region, $service, $credentials->getSecretKey());
@@ -158,32 +153,175 @@ class SignatureV4 extends AbstractSignature implements EndpointSignatureInterfac
158
  $request->getParams()->set('aws.signature', $signingContext);
159
  }
160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  /**
162
  * Create the canonical representation of a request
163
  *
164
  * @param RequestInterface $request Request to canonicalize
 
 
165
  *
166
- * @return array Returns an array of context information
 
 
167
  */
168
- private function createCanonicalRequest(RequestInterface $request)
169
  {
170
  // Normalize the path as required by SigV4 and ensure it's absolute
171
- $method = $request->getMethod();
172
- $canon = $method . "\n"
173
- . '/' . ltrim($request->getUrl(true)->normalizePath()->getPath(), '/') . "\n"
174
  . $this->getCanonicalizedQueryString($request) . "\n";
175
 
176
  // Create the canonical headers
177
  $headers = array();
178
  foreach ($request->getHeaders()->getAll() as $key => $values) {
179
- if ($key != 'User-Agent') {
180
- $key = strtolower($key);
181
- if (!isset($headers[$key])) {
182
- $headers[$key] = array();
183
- }
184
  foreach ($values as $value) {
185
  $headers[$key][] = preg_replace('/\s+/', ' ', trim($value));
186
  }
 
 
 
 
187
  }
188
  }
189
 
@@ -192,30 +330,13 @@ class SignatureV4 extends AbstractSignature implements EndpointSignatureInterfac
192
 
193
  // Continue to build the canonical request by adding headers
194
  foreach ($headers as $key => $values) {
195
- // Combine multi-value headers into a sorted comma separated list
196
- if (count($values) > 1) {
197
- sort($values);
198
- }
199
  $canon .= $key . ':' . implode(',', $values) . "\n";
200
  }
201
 
202
  // Create the signed headers
203
  $signedHeaders = implode(';', array_keys($headers));
204
- $canon .= "\n{$signedHeaders}\n";
205
-
206
- // Create the payload if this request has an entity body
207
- if ($request->hasHeader('x-amz-content-sha256')) {
208
- // Handle streaming operations (e.g. Glacier.UploadArchive)
209
- $canon .= $request->getHeader('x-amz-content-sha256');
210
- } elseif ($request instanceof EntityEnclosingRequestInterface) {
211
- $canon .= hash(
212
- 'sha256',
213
- $method == 'POST' && count($request->getPostFields())
214
- ? (string) $request->getPostFields() : (string) $request->getBody()
215
- );
216
- } else {
217
- $canon .= self::DEFAULT_PAYLOAD;
218
- }
219
 
220
  return array(
221
  'canonical_request' => $canon,
@@ -253,4 +374,99 @@ class SignatureV4 extends AbstractSignature implements EndpointSignatureInterfac
253
 
254
  return $this->hashCache[$cacheKey];
255
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  }
19
  use Aws\Common\Credentials\CredentialsInterface;
20
  use Aws\Common\Enum\DateFormat;
21
  use Aws\Common\HostNameUtils;
22
+ use Guzzle\Http\Message\EntityEnclosingRequest;
23
  use Guzzle\Http\Message\EntityEnclosingRequestInterface;
24
+ use Guzzle\Http\Message\RequestFactory;
25
  use Guzzle\Http\Message\RequestInterface;
26
+ use Guzzle\Http\QueryString;
27
  use Guzzle\Http\Url;
28
 
29
  /**
30
  * Signature Version 4
31
+ * @link http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
32
  */
33
  class SignatureV4 extends AbstractSignature implements EndpointSignatureInterface
34
  {
35
+ /** @var string Cache of the default empty entity-body payload */
 
 
36
  const DEFAULT_PAYLOAD = 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855';
37
 
38
+ /** @var string Explicitly set service name */
 
 
39
  protected $serviceName;
40
 
41
+ /** @var string Explicitly set region name */
 
 
42
  protected $regionName;
43
 
44
+ /** @var int Maximum number of hashes to cache */
 
 
45
  protected $maxCacheSize = 50;
46
 
47
+ /** @var array Cache of previously signed values */
 
 
48
  protected $hashCache = array();
49
 
50
+ /** @var int Size of the hash cache */
51
+ protected $cacheSize = 0;
52
+
53
  /**
54
+ * @param string $serviceName Bind the signing to a particular service name
55
+ * @param string $regionName Bind the signing to a particular region name
56
  */
57
+ public function __construct($serviceName = null, $regionName = null)
58
+ {
59
+ $this->serviceName = $serviceName;
60
+ $this->regionName = $regionName;
61
+ }
62
 
63
  /**
64
  * Set the service name instead of inferring it from a request URL
102
  return $this;
103
  }
104
 
 
 
 
105
  public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
106
  {
107
+ $timestamp = $this->getTimestamp();
108
+ $longDate = gmdate(DateFormat::ISO8601, $timestamp);
109
+ $shortDate = substr($longDate, 0, 8);
 
 
110
 
111
+ // Remove any previously set Authorization headers so that retries work
 
112
  $request->removeHeader('Authorization');
113
 
114
  // Requires a x-amz-date header or Date
115
  if ($request->hasHeader('x-amz-date') || !$request->hasHeader('Date')) {
116
  $request->setHeader('x-amz-date', $longDate);
117
  } else {
118
+ $request->setHeader('Date', gmdate(DateFormat::RFC1123, $timestamp));
119
  }
120
 
121
  // Add the security token if one is present
124
  }
125
 
126
  // Parse the service and region or use one that is explicitly set
127
+ $region = $this->regionName;
128
+ $service = $this->serviceName;
129
+ if (!$region || !$service) {
130
  $url = Url::factory($request->getUrl());
131
+ $region = $region ?: HostNameUtils::parseRegionName($url);
132
+ $service = $service ?: HostNameUtils::parseServiceName($url);
 
 
 
 
133
  }
134
 
135
+ $credentialScope = $this->createScope($shortDate, $region, $service);
136
+ $payload = $this->getPayload($request);
137
+ $signingContext = $this->createSigningContext($request, $payload);
138
+ $signingContext['string_to_sign'] = $this->createStringToSign(
139
+ $longDate,
140
+ $credentialScope,
141
+ $signingContext['canonical_request']
142
+ );
143
 
144
  // Calculate the signing key using a series of derived keys
145
  $signingKey = $this->getSigningKey($shortDate, $region, $service, $credentials->getSecretKey());
153
  $request->getParams()->set('aws.signature', $signingContext);
154
  }
155
 
156
+ public function createPresignedUrl(
157
+ RequestInterface $request,
158
+ CredentialsInterface $credentials,
159
+ $expires
160
+ ) {
161
+ $request = $this->createPresignedRequest($request, $credentials);
162
+ $query = $request->getQuery();
163
+ $httpDate = gmdate(DateFormat::ISO8601, $this->getTimestamp());
164
+ $shortDate = substr($httpDate, 0, 8);
165
+ $scope = $this->createScope(
166
+ $shortDate,
167
+ $this->regionName,
168
+ $this->serviceName
169
+ );
170
+ $this->addQueryValues($scope, $request, $credentials, $expires);
171
+ $payload = $this->getPresignedPayload($request);
172
+ $context = $this->createSigningContext($request, $payload);
173
+ $stringToSign = $this->createStringToSign(
174
+ $httpDate,
175
+ $scope,
176
+ $context['canonical_request']
177
+ );
178
+ $key = $this->getSigningKey(
179
+ $shortDate,
180
+ $this->regionName,
181
+ $this->serviceName,
182
+ $credentials->getSecretKey()
183
+ );
184
+ $query['X-Amz-Signature'] = hash_hmac('sha256', $stringToSign, $key);
185
+
186
+ return $request->getUrl();
187
+ }
188
+
189
+ /**
190
+ * Converts a POST request to a GET request by moving POST fields into the
191
+ * query string.
192
+ *
193
+ * Useful for pre-signing query protocol requests.
194
+ *
195
+ * @param EntityEnclosingRequestInterface $request Request to clone
196
+ *
197
+ * @return RequestInterface
198
+ * @throws \InvalidArgumentException if the method is not POST
199
+ */
200
+ public static function convertPostToGet(EntityEnclosingRequestInterface $request)
201
+ {
202
+ if ($request->getMethod() !== 'POST') {
203
+ throw new \InvalidArgumentException('Expected a POST request but '
204
+ . 'received a ' . $request->getMethod() . ' request.');
205
+ }
206
+
207
+ $cloned = RequestFactory::getInstance()
208
+ ->cloneRequestWithMethod($request, 'GET');
209
+
210
+ // Move POST fields to the query if they are present
211
+ foreach ($request->getPostFields() as $name => $value) {
212
+ $cloned->getQuery()->set($name, $value);
213
+ }
214
+
215
+ return $cloned;
216
+ }
217
+
218
+ /**
219
+ * Get the payload part of a signature from a request.
220
+ *
221
+ * @param RequestInterface $request
222
+ *
223
+ * @return string
224
+ */
225
+ protected function getPayload(RequestInterface $request)
226
+ {
227
+ // Calculate the request signature payload
228
+ if ($request->hasHeader('x-amz-content-sha256')) {
229
+ // Handle streaming operations (e.g. Glacier.UploadArchive)
230
+ return (string) $request->getHeader('x-amz-content-sha256');
231
+ }
232
+
233
+ if ($request instanceof EntityEnclosingRequestInterface) {
234
+ return hash(
235
+ 'sha256',
236
+ $request->getMethod() == 'POST' && count($request->getPostFields())
237
+ ? (string) $request->getPostFields()
238
+ : (string) $request->getBody()
239
+ );
240
+ }
241
+
242
+ return self::DEFAULT_PAYLOAD;
243
+ }
244
+
245
+ /**
246
+ * Get the payload of a request for use with pre-signed URLs.
247
+ *
248
+ * @param RequestInterface $request
249
+ *
250
+ * @return string
251
+ */
252
+ protected function getPresignedPayload(RequestInterface $request)
253
+ {
254
+ return $this->getPayload($request);
255
+ }
256
+
257
+ protected function createCanonicalizedPath(RequestInterface $request)
258
+ {
259
+ $doubleEncoded = rawurlencode(ltrim($request->getPath(), '/'));
260
+
261
+ return '/' . str_replace('%2F', '/', $doubleEncoded);
262
+ }
263
+
264
+ private function createStringToSign($longDate, $credentialScope, $creq)
265
+ {
266
+ return "AWS4-HMAC-SHA256\n{$longDate}\n{$credentialScope}\n"
267
+ . hash('sha256', $creq);
268
+ }
269
+
270
+ private function createPresignedRequest(
271
+ RequestInterface $request,
272
+ CredentialsInterface $credentials
273
+ ) {
274
+ $sr = RequestFactory::getInstance()->cloneRequestWithMethod($request, 'GET');
275
+
276
+ // Move POST fields to the query if they are present
277
+ if ($request instanceof EntityEnclosingRequestInterface) {
278
+ foreach ($request->getPostFields() as $name => $value) {
279
+ $sr->getQuery()->set($name, $value);
280
+ }
281
+ }
282
+
283
+ // Make sure to handle temporary credentials
284
+ if ($token = $credentials->getSecurityToken()) {
285
+ $sr->setHeader('X-Amz-Security-Token', $token);
286
+ $sr->getQuery()->set('X-Amz-Security-Token', $token);
287
+ }
288
+
289
+ $this->moveHeadersToQuery($sr);
290
+
291
+ return $sr;
292
+ }
293
+
294
  /**
295
  * Create the canonical representation of a request
296
  *
297
  * @param RequestInterface $request Request to canonicalize
298
+ * @param string $payload Request payload (typically the value
299
+ * of the x-amz-content-sha256 header.
300
  *
301
+ * @return array Returns an array of context information including:
302
+ * - canonical_request
303
+ * - signed_headers
304
  */
305
+ private function createSigningContext(RequestInterface $request, $payload)
306
  {
307
  // Normalize the path as required by SigV4 and ensure it's absolute
308
+ $canon = $request->getMethod() . "\n"
309
+ . $this->createCanonicalizedPath($request) . "\n"
 
310
  . $this->getCanonicalizedQueryString($request) . "\n";
311
 
312
  // Create the canonical headers
313
  $headers = array();
314
  foreach ($request->getHeaders()->getAll() as $key => $values) {
315
+ $key = strtolower($key);
316
+ if ($key != 'user-agent') {
317
+ $headers[$key] = array();
 
 
318
  foreach ($values as $value) {
319
  $headers[$key][] = preg_replace('/\s+/', ' ', trim($value));
320
  }
321
+ // Sort the value if there is more than one
322
+ if (count($values) > 1) {
323
+ sort($headers[$key]);
324
+ }
325
  }
326
  }
327
 
330
 
331
  // Continue to build the canonical request by adding headers
332
  foreach ($headers as $key => $values) {
333
+ // Combine multi-value headers into a comma separated list
 
 
 
334
  $canon .= $key . ':' . implode(',', $values) . "\n";
335
  }
336
 
337
  // Create the signed headers
338
  $signedHeaders = implode(';', array_keys($headers));
339
+ $canon .= "\n{$signedHeaders}\n{$payload}";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
 
341
  return array(
342
  'canonical_request' => $canon,
374
 
375
  return $this->hashCache[$cacheKey];
376
  }
377
+
378
+ /**
379
+ * Get the canonicalized query string for a request
380
+ *
381
+ * @param RequestInterface $request
382
+ * @return string
383
+ */
384
+ private function getCanonicalizedQueryString(RequestInterface $request)
385
+ {
386
+ $queryParams = $request->getQuery()->getAll();
387
+ unset($queryParams['X-Amz-Signature']);
388
+ if (empty($queryParams)) {
389
+ return '';
390
+ }
391
+
392
+ $qs = '';
393
+ ksort($queryParams);
394
+ foreach ($queryParams as $key => $values) {
395
+ if (is_array($values)) {
396
+ sort($values);
397
+ } elseif ($values === 0) {
398
+ $values = array('0');
399
+ } elseif (!$values) {
400
+ $values = array('');
401
+ }
402
+
403
+ foreach ((array) $values as $value) {
404
+ if ($value === QueryString::BLANK) {
405
+ $value = '';
406
+ }
407
+ $qs .= rawurlencode($key) . '=' . rawurlencode($value) . '&';
408
+ }
409
+ }
410
+
411
+ return substr($qs, 0, -1);
412
+ }
413
+
414
+ private function convertExpires($expires)
415
+ {
416
+ if ($expires instanceof \DateTime) {
417
+ $expires = $expires->getTimestamp();
418
+ } elseif (!is_numeric($expires)) {
419
+ $expires = strtotime($expires);
420
+ }
421
+
422
+ $duration = $expires - time();
423
+
424
+ // Ensure that the duration of the signature is not longer than a week
425
+ if ($duration > 604800) {
426
+ throw new \InvalidArgumentException('The expiration date of a '
427
+ . 'signature version 4 presigned URL must be less than one '
428
+ . 'week');
429
+ }
430
+
431
+ return $duration;
432
+ }
433
+
434
+ private function createScope($shortDate, $region, $service)
435
+ {
436
+ return $shortDate
437
+ . '/' . $region
438
+ . '/' . $service
439
+ . '/aws4_request';
440
+ }
441
+
442
+ private function addQueryValues(
443
+ $scope,
444
+ RequestInterface $request,
445
+ CredentialsInterface $credentials,
446
+ $expires
447
+ ) {
448
+ $credential = $credentials->getAccessKeyId() . '/' . $scope;
449
+
450
+ // Set query params required for pre-signed URLs
451
+ $request->getQuery()
452
+ ->set('X-Amz-Algorithm', 'AWS4-HMAC-SHA256')
453
+ ->set('X-Amz-Credential', $credential)
454
+ ->set('X-Amz-Date', gmdate('Ymd\THis\Z', $this->getTimestamp()))
455
+ ->set('X-Amz-SignedHeaders', 'Host')
456
+ ->set('X-Amz-Expires', $this->convertExpires($expires));
457
+ }
458
+
459
+ private function moveHeadersToQuery(RequestInterface $request)
460
+ {
461
+ $query = $request->getQuery();
462
+
463
+ foreach ($request->getHeaders() as $name => $header) {
464
+ if (substr($name, 0, 5) == 'x-amz') {
465
+ $query[$header->getName()] = (string) $header;
466
+ }
467
+ if ($name !== 'host') {
468
+ $request->removeHeader($name);
469
+ }
470
+ }
471
+ }
472
  }
vendor/aws/Aws/Common/Waiter/AbstractResourceWaiter.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/AbstractWaiter.php CHANGED
@@ -89,6 +89,16 @@ abstract class AbstractWaiter extends AbstractHasDispatcher implements WaiterInt
89
  */
90
  public function setConfig(array $config)
91
  {
 
 
 
 
 
 
 
 
 
 
92
  $this->config = $config;
93
 
94
  return $this;
89
  */
90
  public function setConfig(array $config)
91
  {
92
+ if (isset($config['waiter.before_attempt'])) {
93
+ $this->getEventDispatcher()->addListener('waiter.before_attempt', $config['waiter.before_attempt']);
94
+ unset($config['waiter.before_attempt']);
95
+ }
96
+
97
+ if (isset($config['waiter.before_wait'])) {
98
+ $this->getEventDispatcher()->addListener('waiter.before_wait', $config['waiter.before_wait']);
99
+ unset($config['waiter.before_wait']);
100
+ }
101
+
102
  $this->config = $config;
103
 
104
  return $this;
vendor/aws/Aws/Common/Waiter/CallableWaiter.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/CompositeWaiterFactory.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/ConfigResourceWaiter.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/ResourceWaiterInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/WaiterClassFactory.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/WaiterConfig.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/WaiterConfigFactory.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/WaiterFactoryInterface.php CHANGED
File without changes
vendor/aws/Aws/Common/Waiter/WaiterInterface.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/DataPipelineClient.php CHANGED
@@ -45,10 +45,11 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
45
  * @method Model validatePipelineDefinition(array $args = array()) {@command DataPipeline ValidatePipelineDefinition}
46
  * @method ResourceIteratorInterface getListPipelinesIterator(array $args = array()) The input array uses the parameters of the ListPipelines operation
47
  * @method ResourceIteratorInterface getDescribeObjectsIterator(array $args = array()) The input array uses the parameters of the DescribeObjects operation
 
48
  * @method ResourceIteratorInterface getQueryObjectsIterator(array $args = array()) The input array uses the parameters of the QueryObjects operation
49
  *
50
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-datapipeline.html User guide
51
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.DataPipeline.DataPipelineClient.html API docs
52
  */
53
  class DataPipelineClient extends AbstractClient
54
  {
@@ -60,7 +61,7 @@ class DataPipelineClient extends AbstractClient
60
  * @param array|Collection $config Client configuration data
61
  *
62
  * @return self
63
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
64
  */
65
  public static function factory($config = array())
66
  {
@@ -72,23 +73,6 @@ class DataPipelineClient extends AbstractClient
72
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/datapipeline-%s.php'
73
  ))
74
  ->setExceptionParser(new JsonQueryExceptionParser())
75
- ->setIteratorsConfig(array(
76
- 'limit_key' => 'limit',
77
- 'more_key' => 'hasMoreResults',
78
- 'token_param' => 'marker',
79
- 'token_key' => 'marker',
80
- 'operations' => array(
81
- 'ListPipelines' => array(
82
- 'result_key' => 'pipelineIdList',
83
- ),
84
- 'DescribeObjects' => array(
85
- 'result_key' => 'pipelineObjects',
86
- ),
87
- 'QueryObjects' => array(
88
- 'result_key' => 'ids',
89
- ),
90
- )
91
- ))
92
  ->build();
93
 
94
  return $client;
45
  * @method Model validatePipelineDefinition(array $args = array()) {@command DataPipeline ValidatePipelineDefinition}
46
  * @method ResourceIteratorInterface getListPipelinesIterator(array $args = array()) The input array uses the parameters of the ListPipelines operation
47
  * @method ResourceIteratorInterface getDescribeObjectsIterator(array $args = array()) The input array uses the parameters of the DescribeObjects operation
48
+ * @method ResourceIteratorInterface getDescribePipelinesIterator(array $args = array()) The input array uses the parameters of the DescribePipelines operation
49
  * @method ResourceIteratorInterface getQueryObjectsIterator(array $args = array()) The input array uses the parameters of the QueryObjects operation
50
  *
51
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-datapipeline.html User guide
52
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.DataPipeline.DataPipelineClient.html API docs
53
  */
54
  class DataPipelineClient extends AbstractClient
55
  {
61
  * @param array|Collection $config Client configuration data
62
  *
63
  * @return self
64
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
65
  */
66
  public static function factory($config = array())
67
  {
73
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/datapipeline-%s.php'
74
  ))
75
  ->setExceptionParser(new JsonQueryExceptionParser())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  ->build();
77
 
78
  return $client;
vendor/aws/Aws/DataPipeline/Enum/WorkStatus.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/Exception/DataPipelineException.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/Exception/InternalServiceErrorException.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/Exception/InvalidRequestException.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/Exception/PipelineDeletedException.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/Exception/PipelineNotFoundException.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/Exception/TaskNotFoundException.php CHANGED
File without changes
vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php CHANGED
@@ -29,6 +29,26 @@ return array (
29
  'https' => true,
30
  'hostname' => 'datapipeline.us-east-1.amazonaws.com',
31
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ),
33
  'operations' => array(
34
  'ActivatePipeline' => array(
@@ -900,11 +920,6 @@ return array (
900
  'required' => true,
901
  'type' => 'string',
902
  'location' => 'json',
903
- 'enum' => array(
904
- 'FINISHED',
905
- 'FAILED',
906
- 'FALSE',
907
- ),
908
  ),
909
  'errorId' => array(
910
  'type' => 'string',
@@ -1423,4 +1438,28 @@ return array (
1423
  ),
1424
  ),
1425
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1426
  );
29
  'https' => true,
30
  'hostname' => 'datapipeline.us-east-1.amazonaws.com',
31
  ),
32
+ 'us-west-2' => array(
33
+ 'http' => false,
34
+ 'https' => true,
35
+ 'hostname' => 'datapipeline.us-west-2.amazonaws.com',
36
+ ),
37
+ 'eu-west-1' => array(
38
+ 'http' => false,
39
+ 'https' => true,
40
+ 'hostname' => 'datapipeline.eu-west-1.amazonaws.com',
41
+ ),
42
+ 'ap-southeast-2' => array(
43
+ 'http' => false,
44
+ 'https' => true,
45
+ 'hostname' => 'datapipeline.ap-southeast-2.amazonaws.com',
46
+ ),
47
+ 'ap-northeast-1' => array(
48
+ 'http' => false,
49
+ 'https' => true,
50
+ 'hostname' => 'datapipeline.ap-northeast-1.amazonaws.com',
51
+ ),
52
  ),
53
  'operations' => array(
54
  'ActivatePipeline' => array(
920
  'required' => true,
921
  'type' => 'string',
922
  'location' => 'json',
 
 
 
 
 
923
  ),
924
  'errorId' => array(
925
  'type' => 'string',
1438
  ),
1439
  ),
1440
  ),
1441
+ 'iterators' => array(
1442
+ 'ListPipelines' => array(
1443
+ 'input_token' => 'marker',
1444
+ 'output_token' => 'marker',
1445
+ 'more_results' => 'hasMoreResults',
1446
+ 'result_key' => 'pipelineIdList',
1447
+ ),
1448
+ 'DescribeObjects' => array(
1449
+ 'input_token' => 'marker',
1450
+ 'output_token' => 'marker',
1451
+ 'more_results' => 'hasMoreResults',
1452
+ 'result_key' => 'pipelineObjects',
1453
+ ),
1454
+ 'DescribePipelines' => array(
1455
+ 'result_key' => 'pipelineDescriptionList',
1456
+ ),
1457
+ 'QueryObjects' => array(
1458
+ 'input_token' => 'marker',
1459
+ 'output_token' => 'marker',
1460
+ 'more_results' => 'hasMoreResults',
1461
+ 'limit_key' => 'limit',
1462
+ 'result_key' => 'ids',
1463
+ ),
1464
+ ),
1465
  );
vendor/aws/Aws/DirectConnect/DirectConnectClient.php CHANGED
@@ -27,24 +27,34 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
27
  /**
28
  * Client to interact with AWS Direct Connect
29
  *
 
 
 
 
 
 
30
  * @method Model createConnection(array $args = array()) {@command DirectConnect CreateConnection}
 
31
  * @method Model createPrivateVirtualInterface(array $args = array()) {@command DirectConnect CreatePrivateVirtualInterface}
32
  * @method Model createPublicVirtualInterface(array $args = array()) {@command DirectConnect CreatePublicVirtualInterface}
33
  * @method Model deleteConnection(array $args = array()) {@command DirectConnect DeleteConnection}
 
34
  * @method Model deleteVirtualInterface(array $args = array()) {@command DirectConnect DeleteVirtualInterface}
35
- * @method Model describeConnectionDetail(array $args = array()) {@command DirectConnect DescribeConnectionDetail}
36
  * @method Model describeConnections(array $args = array()) {@command DirectConnect DescribeConnections}
37
- * @method Model describeOfferingDetail(array $args = array()) {@command DirectConnect DescribeOfferingDetail}
38
- * @method Model describeOfferings(array $args = array()) {@command DirectConnect DescribeOfferings}
 
39
  * @method Model describeVirtualGateways(array $args = array()) {@command DirectConnect DescribeVirtualGateways}
40
  * @method Model describeVirtualInterfaces(array $args = array()) {@command DirectConnect DescribeVirtualInterfaces}
41
  * @method ResourceIteratorInterface getDescribeConnectionsIterator(array $args = array()) The input array uses the parameters of the DescribeConnections operation
42
- * @method ResourceIteratorInterface getDescribeOfferingsIterator(array $args = array()) The input array uses the parameters of the DescribeOfferings operation
 
 
43
  * @method ResourceIteratorInterface getDescribeVirtualGatewaysIterator(array $args = array()) The input array uses the parameters of the DescribeVirtualGateways operation
44
  * @method ResourceIteratorInterface getDescribeVirtualInterfacesIterator(array $args = array()) The input array uses the parameters of the DescribeVirtualInterfaces operation
45
  *
46
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-directconnect.html User guide
47
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.DirectConnect.DirectConnectClient.html API docs
48
  */
49
  class DirectConnectClient extends AbstractClient
50
  {
@@ -56,7 +66,7 @@ class DirectConnectClient extends AbstractClient
56
  * @param array|Collection $config Client configuration data
57
  *
58
  * @return self
59
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
60
  */
61
  public static function factory($config = array())
62
  {
@@ -67,22 +77,6 @@ class DirectConnectClient extends AbstractClient
67
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/directconnect-%s.php'
68
  ))
69
  ->setExceptionParser(new JsonQueryExceptionParser())
70
- ->setIteratorsConfig(array(
71
- 'operations' => array(
72
- 'DescribeConnections' => array(
73
- 'result_key' => 'connections',
74
- ),
75
- 'DescribeOfferings' => array(
76
- 'result_key' => 'offerings',
77
- ),
78
- 'DescribeVirtualGateways' => array(
79
- 'result_key' => 'virtualGateways',
80
- ),
81
- 'DescribeVirtualInterfaces' => array(
82
- 'result_key' => 'virtualInterfaces',
83
- ),
84
- )
85
- ))
86
  ->build();
87
  }
88
  }
27
  /**
28
  * Client to interact with AWS Direct Connect
29
  *
30
+ * @method Model allocateConnectionOnInterconnect(array $args = array()) {@command DirectConnect AllocateConnectionOnInterconnect}
31
+ * @method Model allocatePrivateVirtualInterface(array $args = array()) {@command DirectConnect AllocatePrivateVirtualInterface}
32
+ * @method Model allocatePublicVirtualInterface(array $args = array()) {@command DirectConnect AllocatePublicVirtualInterface}
33
+ * @method Model confirmConnection(array $args = array()) {@command DirectConnect ConfirmConnection}
34
+ * @method Model confirmPrivateVirtualInterface(array $args = array()) {@command DirectConnect ConfirmPrivateVirtualInterface}
35
+ * @method Model confirmPublicVirtualInterface(array $args = array()) {@command DirectConnect ConfirmPublicVirtualInterface}
36
  * @method Model createConnection(array $args = array()) {@command DirectConnect CreateConnection}
37
+ * @method Model createInterconnect(array $args = array()) {@command DirectConnect CreateInterconnect}
38
  * @method Model createPrivateVirtualInterface(array $args = array()) {@command DirectConnect CreatePrivateVirtualInterface}
39
  * @method Model createPublicVirtualInterface(array $args = array()) {@command DirectConnect CreatePublicVirtualInterface}
40
  * @method Model deleteConnection(array $args = array()) {@command DirectConnect DeleteConnection}
41
+ * @method Model deleteInterconnect(array $args = array()) {@command DirectConnect DeleteInterconnect}
42
  * @method Model deleteVirtualInterface(array $args = array()) {@command DirectConnect DeleteVirtualInterface}
 
43
  * @method Model describeConnections(array $args = array()) {@command DirectConnect DescribeConnections}
44
+ * @method Model describeConnectionsOnInterconnect(array $args = array()) {@command DirectConnect DescribeConnectionsOnInterconnect}
45
+ * @method Model describeInterconnects(array $args = array()) {@command DirectConnect DescribeInterconnects}
46
+ * @method Model describeLocations(array $args = array()) {@command DirectConnect DescribeLocations}
47
  * @method Model describeVirtualGateways(array $args = array()) {@command DirectConnect DescribeVirtualGateways}
48
  * @method Model describeVirtualInterfaces(array $args = array()) {@command DirectConnect DescribeVirtualInterfaces}
49
  * @method ResourceIteratorInterface getDescribeConnectionsIterator(array $args = array()) The input array uses the parameters of the DescribeConnections operation
50
+ * @method ResourceIteratorInterface getDescribeConnectionsOnInterconnectIterator(array $args = array()) The input array uses the parameters of the DescribeConnectionsOnInterconnect operation
51
+ * @method ResourceIteratorInterface getDescribeInterconnectsIterator(array $args = array()) The input array uses the parameters of the DescribeInterconnects operation
52
+ * @method ResourceIteratorInterface getDescribeLocationsIterator(array $args = array()) The input array uses the parameters of the DescribeLocations operation
53
  * @method ResourceIteratorInterface getDescribeVirtualGatewaysIterator(array $args = array()) The input array uses the parameters of the DescribeVirtualGateways operation
54
  * @method ResourceIteratorInterface getDescribeVirtualInterfacesIterator(array $args = array()) The input array uses the parameters of the DescribeVirtualInterfaces operation
55
  *
56
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-directconnect.html User guide
57
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.DirectConnect.DirectConnectClient.html API docs
58
  */
59
  class DirectConnectClient extends AbstractClient
60
  {
66
  * @param array|Collection $config Client configuration data
67
  *
68
  * @return self
69
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
70
  */
71
  public static function factory($config = array())
72
  {
77
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/directconnect-%s.php'
78
  ))
79
  ->setExceptionParser(new JsonQueryExceptionParser())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  ->build();
81
  }
82
  }
vendor/aws/Aws/DirectConnect/Enum/ConnectionState.php CHANGED
@@ -23,9 +23,12 @@ use Aws\Common\Enum;
23
  */
24
  class ConnectionState extends Enum
25
  {
 
26
  const REQUESTED = 'requested';
27
  const PENDING = 'pending';
28
  const AVAILABLE = 'available';
29
- const DELETED = 'deleted';
30
  const DOWN = 'down';
 
 
 
31
  }
23
  */
24
  class ConnectionState extends Enum
25
  {
26
+ const ORDERING = 'ordering';
27
  const REQUESTED = 'requested';
28
  const PENDING = 'pending';
29
  const AVAILABLE = 'available';
 
30
  const DOWN = 'down';
31
+ const DELETING = 'deleting';
32
+ const DELETED = 'deleted';
33
+ const REJECTED = 'rejected';
34
  }
vendor/aws/Aws/DirectConnect/Enum/InterconnectState.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\DirectConnect\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable InterconnectState values
23
+ */
24
+ class InterconnectState extends Enum
25
+ {
26
+ const REQUESTED = 'requested';
27
+ const PENDING = 'pending';
28
+ const AVAILABLE = 'available';
29
+ const DOWN = 'down';
30
+ const DELETING = 'deleting';
31
+ const DELETED = 'deleted';
32
+ }
vendor/aws/Aws/DirectConnect/Enum/StepState.php CHANGED
File without changes
vendor/aws/Aws/DirectConnect/Enum/VirtualInterfaceState.php CHANGED
@@ -23,9 +23,11 @@ use Aws\Common\Enum;
23
  */
24
  class VirtualInterfaceState extends Enum
25
  {
 
26
  const VERIFYING = 'verifying';
27
  const PENDING = 'pending';
28
  const AVAILABLE = 'available';
29
  const DELETING = 'deleting';
30
  const DELETED = 'deleted';
 
31
  }
23
  */
24
  class VirtualInterfaceState extends Enum
25
  {
26
+ const CONFIRMING = 'confirming';
27
  const VERIFYING = 'verifying';
28
  const PENDING = 'pending';
29
  const AVAILABLE = 'available';
30
  const DELETING = 'deleting';
31
  const DELETED = 'deleted';
32
+ const REJECTED = 'rejected';
33
  }
vendor/aws/Aws/DirectConnect/Exception/DirectConnectClientException.php CHANGED
File without changes
vendor/aws/Aws/DirectConnect/Exception/DirectConnectException.php CHANGED
File without changes
vendor/aws/Aws/DirectConnect/Exception/DirectConnectServerException.php CHANGED
File without changes
vendor/aws/Aws/DirectConnect/Resources/directconnect-2012-10-25.php CHANGED
@@ -66,11 +66,393 @@ return array (
66
  ),
67
  ),
68
  'operations' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  'CreateConnection' => array(
70
  'httpMethod' => 'POST',
71
  'uri' => '/',
72
  'class' => 'Aws\\Common\\Command\\JsonCommand',
73
- 'responseClass' => 'Connection',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  'responseType' => 'model',
75
  'parameters' => array(
76
  'Content-Type' => array(
@@ -85,14 +467,19 @@ return array (
85
  'X-Amz-Target' => array(
86
  'static' => true,
87
  'location' => 'header',
88
- 'default' => 'OvertureService.CreateConnection',
89
  ),
90
- 'offeringId' => array(
91
  'required' => true,
92
  'type' => 'string',
93
  'location' => 'json',
94
  ),
95
- 'connectionName' => array(
 
 
 
 
 
96
  'required' => true,
97
  'type' => 'string',
98
  'location' => 'json',
@@ -131,20 +518,25 @@ return array (
131
  'default' => 'OvertureService.CreatePrivateVirtualInterface',
132
  ),
133
  'connectionId' => array(
 
134
  'type' => 'string',
135
  'location' => 'json',
136
  ),
137
  'newPrivateVirtualInterface' => array(
 
138
  'type' => 'object',
139
  'location' => 'json',
140
  'properties' => array(
141
  'virtualInterfaceName' => array(
 
142
  'type' => 'string',
143
  ),
144
  'vlan' => array(
 
145
  'type' => 'numeric',
146
  ),
147
  'asn' => array(
 
148
  'type' => 'numeric',
149
  ),
150
  'authKey' => array(
@@ -157,6 +549,7 @@ return array (
157
  'type' => 'string',
158
  ),
159
  'virtualGatewayId' => array(
 
160
  'type' => 'string',
161
  ),
162
  ),
@@ -195,32 +588,40 @@ return array (
195
  'default' => 'OvertureService.CreatePublicVirtualInterface',
196
  ),
197
  'connectionId' => array(
 
198
  'type' => 'string',
199
  'location' => 'json',
200
  ),
201
  'newPublicVirtualInterface' => array(
 
202
  'type' => 'object',
203
  'location' => 'json',
204
  'properties' => array(
205
  'virtualInterfaceName' => array(
 
206
  'type' => 'string',
207
  ),
208
  'vlan' => array(
 
209
  'type' => 'numeric',
210
  ),
211
  'asn' => array(
 
212
  'type' => 'numeric',
213
  ),
214
  'authKey' => array(
215
  'type' => 'string',
216
  ),
217
  'amazonAddress' => array(
 
218
  'type' => 'string',
219
  ),
220
  'customerAddress' => array(
 
221
  'type' => 'string',
222
  ),
223
  'routeFilterPrefixes' => array(
 
224
  'type' => 'array',
225
  'items' => array(
226
  'name' => 'RouteFilterPrefix',
@@ -284,11 +685,11 @@ return array (
284
  ),
285
  ),
286
  ),
287
- 'DeleteVirtualInterface' => array(
288
  'httpMethod' => 'POST',
289
  'uri' => '/',
290
  'class' => 'Aws\\Common\\Command\\JsonCommand',
291
- 'responseClass' => 'DeleteVirtualInterfaceResponse',
292
  'responseType' => 'model',
293
  'parameters' => array(
294
  'Content-Type' => array(
@@ -303,9 +704,10 @@ return array (
303
  'X-Amz-Target' => array(
304
  'static' => true,
305
  'location' => 'header',
306
- 'default' => 'OvertureService.DeleteVirtualInterface',
307
  ),
308
- 'virtualInterfaceId' => array(
 
309
  'type' => 'string',
310
  'location' => 'json',
311
  ),
@@ -321,11 +723,11 @@ return array (
321
  ),
322
  ),
323
  ),
324
- 'DescribeConnectionDetail' => array(
325
  'httpMethod' => 'POST',
326
  'uri' => '/',
327
  'class' => 'Aws\\Common\\Command\\JsonCommand',
328
- 'responseClass' => 'ConnectionDetail',
329
  'responseType' => 'model',
330
  'parameters' => array(
331
  'Content-Type' => array(
@@ -340,9 +742,9 @@ return array (
340
  'X-Amz-Target' => array(
341
  'static' => true,
342
  'location' => 'header',
343
- 'default' => 'OvertureService.DescribeConnectionDetail',
344
  ),
345
- 'connectionId' => array(
346
  'required' => true,
347
  'type' => 'string',
348
  'location' => 'json',
@@ -396,11 +798,11 @@ return array (
396
  ),
397
  ),
398
  ),
399
- 'DescribeOfferingDetail' => array(
400
  'httpMethod' => 'POST',
401
  'uri' => '/',
402
  'class' => 'Aws\\Common\\Command\\JsonCommand',
403
- 'responseClass' => 'OfferingDetail',
404
  'responseType' => 'model',
405
  'parameters' => array(
406
  'Content-Type' => array(
@@ -415,9 +817,9 @@ return array (
415
  'X-Amz-Target' => array(
416
  'static' => true,
417
  'location' => 'header',
418
- 'default' => 'OvertureService.DescribeOfferingDetail',
419
  ),
420
- 'offeringId' => array(
421
  'required' => true,
422
  'type' => 'string',
423
  'location' => 'json',
@@ -434,11 +836,48 @@ return array (
434
  ),
435
  ),
436
  ),
437
- 'DescribeOfferings' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
438
  'httpMethod' => 'POST',
439
  'uri' => '/',
440
  'class' => 'Aws\\Common\\Command\\JsonCommand',
441
- 'responseClass' => 'Offerings',
442
  'responseType' => 'model',
443
  'parameters' => array(
444
  'Content-Type' => array(
@@ -453,7 +892,7 @@ return array (
453
  'X-Amz-Target' => array(
454
  'static' => true,
455
  'location' => 'header',
456
- 'default' => 'OvertureService.DescribeOfferings',
457
  ),
458
  ),
459
  'errorResponses' => array(
@@ -547,6 +986,10 @@ return array (
547
  'type' => 'object',
548
  'additionalProperties' => true,
549
  'properties' => array(
 
 
 
 
550
  'connectionId' => array(
551
  'type' => 'string',
552
  'location' => 'json',
@@ -567,12 +1010,28 @@ return array (
567
  'type' => 'string',
568
  'location' => 'json',
569
  ),
 
 
 
 
 
 
 
 
 
 
 
 
570
  ),
571
  ),
572
  'VirtualInterface' => array(
573
  'type' => 'object',
574
  'additionalProperties' => true,
575
  'properties' => array(
 
 
 
 
576
  'virtualInterfaceId' => array(
577
  'type' => 'string',
578
  'location' => 'json',
@@ -640,7 +1099,17 @@ return array (
640
  ),
641
  ),
642
  ),
643
- 'DeleteVirtualInterfaceResponse' => array(
 
 
 
 
 
 
 
 
 
 
644
  'type' => 'object',
645
  'additionalProperties' => true,
646
  'properties' => array(
@@ -650,19 +1119,29 @@ return array (
650
  ),
651
  ),
652
  ),
653
- 'ConnectionDetail' => array(
654
  'type' => 'object',
655
  'additionalProperties' => true,
656
  'properties' => array(
657
- 'connectionId' => array(
658
  'type' => 'string',
659
  'location' => 'json',
660
  ),
661
- 'connectionName' => array(
 
 
 
 
 
 
662
  'type' => 'string',
663
  'location' => 'json',
664
  ),
665
- 'connectionState' => array(
 
 
 
 
666
  'type' => 'string',
667
  'location' => 'json',
668
  ),
@@ -678,55 +1157,25 @@ return array (
678
  'type' => 'string',
679
  'location' => 'json',
680
  ),
681
- 'connectionCosts' => array(
682
- 'type' => 'array',
 
 
 
 
 
 
683
  'location' => 'json',
684
- 'items' => array(
685
- 'name' => 'ConnectionCost',
686
- 'type' => 'object',
687
- 'properties' => array(
688
- 'name' => array(
689
- 'type' => 'string',
690
- ),
691
- 'unit' => array(
692
- 'type' => 'string',
693
- ),
694
- 'currencyCode' => array(
695
- 'type' => 'string',
696
- ),
697
- 'amount' => array(
698
- 'type' => 'string',
699
- ),
700
- ),
701
- ),
702
  ),
703
- 'orderSteps' => array(
704
- 'type' => 'array',
 
 
 
 
 
 
705
  'location' => 'json',
706
- 'items' => array(
707
- 'name' => 'ConnectionOrderStep',
708
- 'type' => 'object',
709
- 'properties' => array(
710
- 'number' => array(
711
- 'type' => 'string',
712
- ),
713
- 'name' => array(
714
- 'type' => 'string',
715
- ),
716
- 'description' => array(
717
- 'type' => 'string',
718
- ),
719
- 'owner' => array(
720
- 'type' => 'string',
721
- ),
722
- 'sla' => array(
723
- 'type' => 'numeric',
724
- ),
725
- 'stepState' => array(
726
- 'type' => 'string',
727
- ),
728
- ),
729
- ),
730
  ),
731
  ),
732
  ),
@@ -741,6 +1190,9 @@ return array (
741
  'name' => 'Connection',
742
  'type' => 'object',
743
  'properties' => array(
 
 
 
744
  'connectionId' => array(
745
  'type' => 'string',
746
  ),
@@ -756,138 +1208,71 @@ return array (
756
  'location' => array(
757
  'type' => 'string',
758
  ),
 
 
 
 
 
 
 
 
 
759
  ),
760
  ),
761
  ),
762
  ),
763
  ),
764
- 'OfferingDetail' => array(
765
  'type' => 'object',
766
  'additionalProperties' => true,
767
  'properties' => array(
768
- 'offeringId' => array(
769
- 'type' => 'string',
770
- 'location' => 'json',
771
- ),
772
- 'region' => array(
773
- 'type' => 'string',
774
- 'location' => 'json',
775
- ),
776
- 'location' => array(
777
- 'type' => 'string',
778
- 'location' => 'json',
779
- ),
780
- 'offeringName' => array(
781
- 'type' => 'string',
782
- 'location' => 'json',
783
- ),
784
- 'description' => array(
785
- 'type' => 'string',
786
- 'location' => 'json',
787
- ),
788
- 'bandwidth' => array(
789
- 'type' => 'string',
790
- 'location' => 'json',
791
- ),
792
- 'connectionCosts' => array(
793
  'type' => 'array',
794
  'location' => 'json',
795
  'items' => array(
796
- 'name' => 'ConnectionCost',
797
  'type' => 'object',
798
  'properties' => array(
799
- 'name' => array(
800
- 'type' => 'string',
801
- ),
802
- 'unit' => array(
803
- 'type' => 'string',
804
- ),
805
- 'currencyCode' => array(
806
  'type' => 'string',
807
  ),
808
- 'amount' => array(
809
  'type' => 'string',
810
  ),
811
- ),
812
- ),
813
- ),
814
- 'orderSteps' => array(
815
- 'type' => 'array',
816
- 'location' => 'json',
817
- 'items' => array(
818
- 'name' => 'OfferingOrderStep',
819
- 'type' => 'object',
820
- 'properties' => array(
821
- 'number' => array(
822
  'type' => 'string',
823
  ),
824
- 'name' => array(
825
  'type' => 'string',
826
  ),
827
- 'description' => array(
828
  'type' => 'string',
829
  ),
830
- 'owner' => array(
831
  'type' => 'string',
832
  ),
833
- 'sla' => array(
834
- 'type' => 'numeric',
835
- ),
836
  ),
837
  ),
838
  ),
839
  ),
840
  ),
841
- 'Offerings' => array(
842
  'type' => 'object',
843
  'additionalProperties' => true,
844
  'properties' => array(
845
- 'offerings' => array(
846
  'type' => 'array',
847
  'location' => 'json',
848
  'items' => array(
849
- 'name' => 'Offering',
850
  'type' => 'object',
851
  'properties' => array(
852
- 'offeringId' => array(
853
- 'type' => 'string',
854
- ),
855
- 'region' => array(
856
- 'type' => 'string',
857
- ),
858
- 'location' => array(
859
  'type' => 'string',
860
  ),
861
- 'offeringName' => array(
862
  'type' => 'string',
863
  ),
864
- 'description' => array(
865
- 'type' => 'string',
866
- ),
867
- 'bandwidth' => array(
868
- 'type' => 'string',
869
- ),
870
- 'connectionCosts' => array(
871
- 'type' => 'array',
872
- 'items' => array(
873
- 'name' => 'ConnectionCost',
874
- 'type' => 'object',
875
- 'properties' => array(
876
- 'name' => array(
877
- 'type' => 'string',
878
- ),
879
- 'unit' => array(
880
- 'type' => 'string',
881
- ),
882
- 'currencyCode' => array(
883
- 'type' => 'string',
884
- ),
885
- 'amount' => array(
886
- 'type' => 'string',
887
- ),
888
- ),
889
- ),
890
- ),
891
  ),
892
  ),
893
  ),
@@ -926,6 +1311,9 @@ return array (
926
  'name' => 'VirtualInterface',
927
  'type' => 'object',
928
  'properties' => array(
 
 
 
929
  'virtualInterfaceId' => array(
930
  'type' => 'string',
931
  ),
@@ -983,4 +1371,24 @@ return array (
983
  ),
984
  ),
985
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
986
  );
66
  ),
67
  ),
68
  'operations' => array(
69
+ 'AllocateConnectionOnInterconnect' => array(
70
+ 'httpMethod' => 'POST',
71
+ 'uri' => '/',
72
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
73
+ 'responseClass' => 'Connection',
74
+ 'responseType' => 'model',
75
+ 'parameters' => array(
76
+ 'Content-Type' => array(
77
+ 'static' => true,
78
+ 'location' => 'header',
79
+ 'default' => 'application/x-amz-json-1.1',
80
+ ),
81
+ 'command.expects' => array(
82
+ 'static' => true,
83
+ 'default' => 'application/json',
84
+ ),
85
+ 'X-Amz-Target' => array(
86
+ 'static' => true,
87
+ 'location' => 'header',
88
+ 'default' => 'OvertureService.AllocateConnectionOnInterconnect',
89
+ ),
90
+ 'bandwidth' => array(
91
+ 'required' => true,
92
+ 'type' => 'string',
93
+ 'location' => 'json',
94
+ ),
95
+ 'connectionName' => array(
96
+ 'required' => true,
97
+ 'type' => 'string',
98
+ 'location' => 'json',
99
+ ),
100
+ 'ownerAccount' => array(
101
+ 'required' => true,
102
+ 'type' => 'string',
103
+ 'location' => 'json',
104
+ ),
105
+ 'interconnectId' => array(
106
+ 'required' => true,
107
+ 'type' => 'string',
108
+ 'location' => 'json',
109
+ ),
110
+ 'vlan' => array(
111
+ 'required' => true,
112
+ 'type' => 'numeric',
113
+ 'location' => 'json',
114
+ ),
115
+ ),
116
+ 'errorResponses' => array(
117
+ array(
118
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
119
+ 'class' => 'DirectConnectServerException',
120
+ ),
121
+ array(
122
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
123
+ 'class' => 'DirectConnectClientException',
124
+ ),
125
+ ),
126
+ ),
127
+ 'AllocatePrivateVirtualInterface' => array(
128
+ 'httpMethod' => 'POST',
129
+ 'uri' => '/',
130
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
131
+ 'responseClass' => 'VirtualInterface',
132
+ 'responseType' => 'model',
133
+ 'parameters' => array(
134
+ 'Content-Type' => array(
135
+ 'static' => true,
136
+ 'location' => 'header',
137
+ 'default' => 'application/x-amz-json-1.1',
138
+ ),
139
+ 'command.expects' => array(
140
+ 'static' => true,
141
+ 'default' => 'application/json',
142
+ ),
143
+ 'X-Amz-Target' => array(
144
+ 'static' => true,
145
+ 'location' => 'header',
146
+ 'default' => 'OvertureService.AllocatePrivateVirtualInterface',
147
+ ),
148
+ 'connectionId' => array(
149
+ 'required' => true,
150
+ 'type' => 'string',
151
+ 'location' => 'json',
152
+ ),
153
+ 'ownerAccount' => array(
154
+ 'required' => true,
155
+ 'type' => 'string',
156
+ 'location' => 'json',
157
+ ),
158
+ 'newPrivateVirtualInterfaceAllocation' => array(
159
+ 'required' => true,
160
+ 'type' => 'object',
161
+ 'location' => 'json',
162
+ 'properties' => array(
163
+ 'virtualInterfaceName' => array(
164
+ 'required' => true,
165
+ 'type' => 'string',
166
+ ),
167
+ 'vlan' => array(
168
+ 'required' => true,
169
+ 'type' => 'numeric',
170
+ ),
171
+ 'asn' => array(
172
+ 'required' => true,
173
+ 'type' => 'numeric',
174
+ ),
175
+ 'authKey' => array(
176
+ 'type' => 'string',
177
+ ),
178
+ 'amazonAddress' => array(
179
+ 'type' => 'string',
180
+ ),
181
+ 'customerAddress' => array(
182
+ 'type' => 'string',
183
+ ),
184
+ ),
185
+ ),
186
+ ),
187
+ 'errorResponses' => array(
188
+ array(
189
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
190
+ 'class' => 'DirectConnectServerException',
191
+ ),
192
+ array(
193
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
194
+ 'class' => 'DirectConnectClientException',
195
+ ),
196
+ ),
197
+ ),
198
+ 'AllocatePublicVirtualInterface' => array(
199
+ 'httpMethod' => 'POST',
200
+ 'uri' => '/',
201
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
202
+ 'responseClass' => 'VirtualInterface',
203
+ 'responseType' => 'model',
204
+ 'parameters' => array(
205
+ 'Content-Type' => array(
206
+ 'static' => true,
207
+ 'location' => 'header',
208
+ 'default' => 'application/x-amz-json-1.1',
209
+ ),
210
+ 'command.expects' => array(
211
+ 'static' => true,
212
+ 'default' => 'application/json',
213
+ ),
214
+ 'X-Amz-Target' => array(
215
+ 'static' => true,
216
+ 'location' => 'header',
217
+ 'default' => 'OvertureService.AllocatePublicVirtualInterface',
218
+ ),
219
+ 'connectionId' => array(
220
+ 'required' => true,
221
+ 'type' => 'string',
222
+ 'location' => 'json',
223
+ ),
224
+ 'ownerAccount' => array(
225
+ 'required' => true,
226
+ 'type' => 'string',
227
+ 'location' => 'json',
228
+ ),
229
+ 'newPublicVirtualInterfaceAllocation' => array(
230
+ 'required' => true,
231
+ 'type' => 'object',
232
+ 'location' => 'json',
233
+ 'properties' => array(
234
+ 'virtualInterfaceName' => array(
235
+ 'required' => true,
236
+ 'type' => 'string',
237
+ ),
238
+ 'vlan' => array(
239
+ 'required' => true,
240
+ 'type' => 'numeric',
241
+ ),
242
+ 'asn' => array(
243
+ 'required' => true,
244
+ 'type' => 'numeric',
245
+ ),
246
+ 'authKey' => array(
247
+ 'type' => 'string',
248
+ ),
249
+ 'amazonAddress' => array(
250
+ 'required' => true,
251
+ 'type' => 'string',
252
+ ),
253
+ 'customerAddress' => array(
254
+ 'required' => true,
255
+ 'type' => 'string',
256
+ ),
257
+ 'routeFilterPrefixes' => array(
258
+ 'required' => true,
259
+ 'type' => 'array',
260
+ 'items' => array(
261
+ 'name' => 'RouteFilterPrefix',
262
+ 'type' => 'object',
263
+ 'properties' => array(
264
+ 'cidr' => array(
265
+ 'type' => 'string',
266
+ ),
267
+ ),
268
+ ),
269
+ ),
270
+ ),
271
+ ),
272
+ ),
273
+ 'errorResponses' => array(
274
+ array(
275
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
276
+ 'class' => 'DirectConnectServerException',
277
+ ),
278
+ array(
279
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
280
+ 'class' => 'DirectConnectClientException',
281
+ ),
282
+ ),
283
+ ),
284
+ 'ConfirmConnection' => array(
285
+ 'httpMethod' => 'POST',
286
+ 'uri' => '/',
287
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
288
+ 'responseClass' => 'ConfirmConnectionResponse',
289
+ 'responseType' => 'model',
290
+ 'parameters' => array(
291
+ 'Content-Type' => array(
292
+ 'static' => true,
293
+ 'location' => 'header',
294
+ 'default' => 'application/x-amz-json-1.1',
295
+ ),
296
+ 'command.expects' => array(
297
+ 'static' => true,
298
+ 'default' => 'application/json',
299
+ ),
300
+ 'X-Amz-Target' => array(
301
+ 'static' => true,
302
+ 'location' => 'header',
303
+ 'default' => 'OvertureService.ConfirmConnection',
304
+ ),
305
+ 'connectionId' => array(
306
+ 'required' => true,
307
+ 'type' => 'string',
308
+ 'location' => 'json',
309
+ ),
310
+ ),
311
+ 'errorResponses' => array(
312
+ array(
313
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
314
+ 'class' => 'DirectConnectServerException',
315
+ ),
316
+ array(
317
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
318
+ 'class' => 'DirectConnectClientException',
319
+ ),
320
+ ),
321
+ ),
322
+ 'ConfirmPrivateVirtualInterface' => array(
323
+ 'httpMethod' => 'POST',
324
+ 'uri' => '/',
325
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
326
+ 'responseClass' => 'ConfirmPrivateVirtualInterfaceResponse',
327
+ 'responseType' => 'model',
328
+ 'parameters' => array(
329
+ 'Content-Type' => array(
330
+ 'static' => true,
331
+ 'location' => 'header',
332
+ 'default' => 'application/x-amz-json-1.1',
333
+ ),
334
+ 'command.expects' => array(
335
+ 'static' => true,
336
+ 'default' => 'application/json',
337
+ ),
338
+ 'X-Amz-Target' => array(
339
+ 'static' => true,
340
+ 'location' => 'header',
341
+ 'default' => 'OvertureService.ConfirmPrivateVirtualInterface',
342
+ ),
343
+ 'virtualInterfaceId' => array(
344
+ 'required' => true,
345
+ 'type' => 'string',
346
+ 'location' => 'json',
347
+ ),
348
+ 'virtualGatewayId' => array(
349
+ 'required' => true,
350
+ 'type' => 'string',
351
+ 'location' => 'json',
352
+ ),
353
+ ),
354
+ 'errorResponses' => array(
355
+ array(
356
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
357
+ 'class' => 'DirectConnectServerException',
358
+ ),
359
+ array(
360
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
361
+ 'class' => 'DirectConnectClientException',
362
+ ),
363
+ ),
364
+ ),
365
+ 'ConfirmPublicVirtualInterface' => array(
366
+ 'httpMethod' => 'POST',
367
+ 'uri' => '/',
368
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
369
+ 'responseClass' => 'ConfirmPublicVirtualInterfaceResponse',
370
+ 'responseType' => 'model',
371
+ 'parameters' => array(
372
+ 'Content-Type' => array(
373
+ 'static' => true,
374
+ 'location' => 'header',
375
+ 'default' => 'application/x-amz-json-1.1',
376
+ ),
377
+ 'command.expects' => array(
378
+ 'static' => true,
379
+ 'default' => 'application/json',
380
+ ),
381
+ 'X-Amz-Target' => array(
382
+ 'static' => true,
383
+ 'location' => 'header',
384
+ 'default' => 'OvertureService.ConfirmPublicVirtualInterface',
385
+ ),
386
+ 'virtualInterfaceId' => array(
387
+ 'required' => true,
388
+ 'type' => 'string',
389
+ 'location' => 'json',
390
+ ),
391
+ ),
392
+ 'errorResponses' => array(
393
+ array(
394
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
395
+ 'class' => 'DirectConnectServerException',
396
+ ),
397
+ array(
398
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
399
+ 'class' => 'DirectConnectClientException',
400
+ ),
401
+ ),
402
+ ),
403
  'CreateConnection' => array(
404
  'httpMethod' => 'POST',
405
  'uri' => '/',
406
  'class' => 'Aws\\Common\\Command\\JsonCommand',
407
+ 'responseClass' => 'Connection',
408
+ 'responseType' => 'model',
409
+ 'parameters' => array(
410
+ 'Content-Type' => array(
411
+ 'static' => true,
412
+ 'location' => 'header',
413
+ 'default' => 'application/x-amz-json-1.1',
414
+ ),
415
+ 'command.expects' => array(
416
+ 'static' => true,
417
+ 'default' => 'application/json',
418
+ ),
419
+ 'X-Amz-Target' => array(
420
+ 'static' => true,
421
+ 'location' => 'header',
422
+ 'default' => 'OvertureService.CreateConnection',
423
+ ),
424
+ 'location' => array(
425
+ 'required' => true,
426
+ 'type' => 'string',
427
+ 'location' => 'json',
428
+ ),
429
+ 'bandwidth' => array(
430
+ 'required' => true,
431
+ 'type' => 'string',
432
+ 'location' => 'json',
433
+ ),
434
+ 'connectionName' => array(
435
+ 'required' => true,
436
+ 'type' => 'string',
437
+ 'location' => 'json',
438
+ ),
439
+ ),
440
+ 'errorResponses' => array(
441
+ array(
442
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
443
+ 'class' => 'DirectConnectServerException',
444
+ ),
445
+ array(
446
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
447
+ 'class' => 'DirectConnectClientException',
448
+ ),
449
+ ),
450
+ ),
451
+ 'CreateInterconnect' => array(
452
+ 'httpMethod' => 'POST',
453
+ 'uri' => '/',
454
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
455
+ 'responseClass' => 'Interconnect',
456
  'responseType' => 'model',
457
  'parameters' => array(
458
  'Content-Type' => array(
467
  'X-Amz-Target' => array(
468
  'static' => true,
469
  'location' => 'header',
470
+ 'default' => 'OvertureService.CreateInterconnect',
471
  ),
472
+ 'interconnectName' => array(
473
  'required' => true,
474
  'type' => 'string',
475
  'location' => 'json',
476
  ),
477
+ 'bandwidth' => array(
478
+ 'required' => true,
479
+ 'type' => 'string',
480
+ 'location' => 'json',
481
+ ),
482
+ 'location' => array(
483
  'required' => true,
484
  'type' => 'string',
485
  'location' => 'json',
518
  'default' => 'OvertureService.CreatePrivateVirtualInterface',
519
  ),
520
  'connectionId' => array(
521
+ 'required' => true,
522
  'type' => 'string',
523
  'location' => 'json',
524
  ),
525
  'newPrivateVirtualInterface' => array(
526
+ 'required' => true,
527
  'type' => 'object',
528
  'location' => 'json',
529
  'properties' => array(
530
  'virtualInterfaceName' => array(
531
+ 'required' => true,
532
  'type' => 'string',
533
  ),
534
  'vlan' => array(
535
+ 'required' => true,
536
  'type' => 'numeric',
537
  ),
538
  'asn' => array(
539
+ 'required' => true,
540
  'type' => 'numeric',
541
  ),
542
  'authKey' => array(
549
  'type' => 'string',
550
  ),
551
  'virtualGatewayId' => array(
552
+ 'required' => true,
553
  'type' => 'string',
554
  ),
555
  ),
588
  'default' => 'OvertureService.CreatePublicVirtualInterface',
589
  ),
590
  'connectionId' => array(
591
+ 'required' => true,
592
  'type' => 'string',
593
  'location' => 'json',
594
  ),
595
  'newPublicVirtualInterface' => array(
596
+ 'required' => true,
597
  'type' => 'object',
598
  'location' => 'json',
599
  'properties' => array(
600
  'virtualInterfaceName' => array(
601
+ 'required' => true,
602
  'type' => 'string',
603
  ),
604
  'vlan' => array(
605
+ 'required' => true,
606
  'type' => 'numeric',
607
  ),
608
  'asn' => array(
609
+ 'required' => true,
610
  'type' => 'numeric',
611
  ),
612
  'authKey' => array(
613
  'type' => 'string',
614
  ),
615
  'amazonAddress' => array(
616
+ 'required' => true,
617
  'type' => 'string',
618
  ),
619
  'customerAddress' => array(
620
+ 'required' => true,
621
  'type' => 'string',
622
  ),
623
  'routeFilterPrefixes' => array(
624
+ 'required' => true,
625
  'type' => 'array',
626
  'items' => array(
627
  'name' => 'RouteFilterPrefix',
685
  ),
686
  ),
687
  ),
688
+ 'DeleteInterconnect' => array(
689
  'httpMethod' => 'POST',
690
  'uri' => '/',
691
  'class' => 'Aws\\Common\\Command\\JsonCommand',
692
+ 'responseClass' => 'DeleteInterconnectResponse',
693
  'responseType' => 'model',
694
  'parameters' => array(
695
  'Content-Type' => array(
704
  'X-Amz-Target' => array(
705
  'static' => true,
706
  'location' => 'header',
707
+ 'default' => 'OvertureService.DeleteInterconnect',
708
  ),
709
+ 'interconnectId' => array(
710
+ 'required' => true,
711
  'type' => 'string',
712
  'location' => 'json',
713
  ),
723
  ),
724
  ),
725
  ),
726
+ 'DeleteVirtualInterface' => array(
727
  'httpMethod' => 'POST',
728
  'uri' => '/',
729
  'class' => 'Aws\\Common\\Command\\JsonCommand',
730
+ 'responseClass' => 'DeleteVirtualInterfaceResponse',
731
  'responseType' => 'model',
732
  'parameters' => array(
733
  'Content-Type' => array(
742
  'X-Amz-Target' => array(
743
  'static' => true,
744
  'location' => 'header',
745
+ 'default' => 'OvertureService.DeleteVirtualInterface',
746
  ),
747
+ 'virtualInterfaceId' => array(
748
  'required' => true,
749
  'type' => 'string',
750
  'location' => 'json',
798
  ),
799
  ),
800
  ),
801
+ 'DescribeConnectionsOnInterconnect' => array(
802
  'httpMethod' => 'POST',
803
  'uri' => '/',
804
  'class' => 'Aws\\Common\\Command\\JsonCommand',
805
+ 'responseClass' => 'Connections',
806
  'responseType' => 'model',
807
  'parameters' => array(
808
  'Content-Type' => array(
817
  'X-Amz-Target' => array(
818
  'static' => true,
819
  'location' => 'header',
820
+ 'default' => 'OvertureService.DescribeConnectionsOnInterconnect',
821
  ),
822
+ 'interconnectId' => array(
823
  'required' => true,
824
  'type' => 'string',
825
  'location' => 'json',
836
  ),
837
  ),
838
  ),
839
+ 'DescribeInterconnects' => array(
840
+ 'httpMethod' => 'POST',
841
+ 'uri' => '/',
842
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
843
+ 'responseClass' => 'Interconnects',
844
+ 'responseType' => 'model',
845
+ 'parameters' => array(
846
+ 'Content-Type' => array(
847
+ 'static' => true,
848
+ 'location' => 'header',
849
+ 'default' => 'application/x-amz-json-1.1',
850
+ ),
851
+ 'command.expects' => array(
852
+ 'static' => true,
853
+ 'default' => 'application/json',
854
+ ),
855
+ 'X-Amz-Target' => array(
856
+ 'static' => true,
857
+ 'location' => 'header',
858
+ 'default' => 'OvertureService.DescribeInterconnects',
859
+ ),
860
+ 'interconnectId' => array(
861
+ 'type' => 'string',
862
+ 'location' => 'json',
863
+ ),
864
+ ),
865
+ 'errorResponses' => array(
866
+ array(
867
+ 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
868
+ 'class' => 'DirectConnectServerException',
869
+ ),
870
+ array(
871
+ 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
872
+ 'class' => 'DirectConnectClientException',
873
+ ),
874
+ ),
875
+ ),
876
+ 'DescribeLocations' => array(
877
  'httpMethod' => 'POST',
878
  'uri' => '/',
879
  'class' => 'Aws\\Common\\Command\\JsonCommand',
880
+ 'responseClass' => 'Locations',
881
  'responseType' => 'model',
882
  'parameters' => array(
883
  'Content-Type' => array(
892
  'X-Amz-Target' => array(
893
  'static' => true,
894
  'location' => 'header',
895
+ 'default' => 'OvertureService.DescribeLocations',
896
  ),
897
  ),
898
  'errorResponses' => array(
986
  'type' => 'object',
987
  'additionalProperties' => true,
988
  'properties' => array(
989
+ 'ownerAccount' => array(
990
+ 'type' => 'string',
991
+ 'location' => 'json',
992
+ ),
993
  'connectionId' => array(
994
  'type' => 'string',
995
  'location' => 'json',
1010
  'type' => 'string',
1011
  'location' => 'json',
1012
  ),
1013
+ 'bandwidth' => array(
1014
+ 'type' => 'string',
1015
+ 'location' => 'json',
1016
+ ),
1017
+ 'vlan' => array(
1018
+ 'type' => 'numeric',
1019
+ 'location' => 'json',
1020
+ ),
1021
+ 'partnerName' => array(
1022
+ 'type' => 'string',
1023
+ 'location' => 'json',
1024
+ ),
1025
  ),
1026
  ),
1027
  'VirtualInterface' => array(
1028
  'type' => 'object',
1029
  'additionalProperties' => true,
1030
  'properties' => array(
1031
+ 'ownerAccount' => array(
1032
+ 'type' => 'string',
1033
+ 'location' => 'json',
1034
+ ),
1035
  'virtualInterfaceId' => array(
1036
  'type' => 'string',
1037
  'location' => 'json',
1099
  ),
1100
  ),
1101
  ),
1102
+ 'ConfirmConnectionResponse' => array(
1103
+ 'type' => 'object',
1104
+ 'additionalProperties' => true,
1105
+ 'properties' => array(
1106
+ 'connectionState' => array(
1107
+ 'type' => 'string',
1108
+ 'location' => 'json',
1109
+ ),
1110
+ ),
1111
+ ),
1112
+ 'ConfirmPrivateVirtualInterfaceResponse' => array(
1113
  'type' => 'object',
1114
  'additionalProperties' => true,
1115
  'properties' => array(
1119
  ),
1120
  ),
1121
  ),
1122
+ 'ConfirmPublicVirtualInterfaceResponse' => array(
1123
  'type' => 'object',
1124
  'additionalProperties' => true,
1125
  'properties' => array(
1126
+ 'virtualInterfaceState' => array(
1127
  'type' => 'string',
1128
  'location' => 'json',
1129
  ),
1130
+ ),
1131
+ ),
1132
+ 'Interconnect' => array(
1133
+ 'type' => 'object',
1134
+ 'additionalProperties' => true,
1135
+ 'properties' => array(
1136
+ 'interconnectId' => array(
1137
  'type' => 'string',
1138
  'location' => 'json',
1139
  ),
1140
+ 'interconnectName' => array(
1141
+ 'type' => 'string',
1142
+ 'location' => 'json',
1143
+ ),
1144
+ 'interconnectState' => array(
1145
  'type' => 'string',
1146
  'location' => 'json',
1147
  ),
1157
  'type' => 'string',
1158
  'location' => 'json',
1159
  ),
1160
+ ),
1161
+ ),
1162
+ 'DeleteInterconnectResponse' => array(
1163
+ 'type' => 'object',
1164
+ 'additionalProperties' => true,
1165
+ 'properties' => array(
1166
+ 'interconnectState' => array(
1167
+ 'type' => 'string',
1168
  'location' => 'json',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1169
  ),
1170
+ ),
1171
+ ),
1172
+ 'DeleteVirtualInterfaceResponse' => array(
1173
+ 'type' => 'object',
1174
+ 'additionalProperties' => true,
1175
+ 'properties' => array(
1176
+ 'virtualInterfaceState' => array(
1177
+ 'type' => 'string',
1178
  'location' => 'json',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1179
  ),
1180
  ),
1181
  ),
1190
  'name' => 'Connection',
1191
  'type' => 'object',
1192
  'properties' => array(
1193
+ 'ownerAccount' => array(
1194
+ 'type' => 'string',
1195
+ ),
1196
  'connectionId' => array(
1197
  'type' => 'string',
1198
  ),
1208
  'location' => array(
1209
  'type' => 'string',
1210
  ),
1211
+ 'bandwidth' => array(
1212
+ 'type' => 'string',
1213
+ ),
1214
+ 'vlan' => array(
1215
+ 'type' => 'numeric',
1216
+ ),
1217
+ 'partnerName' => array(
1218
+ 'type' => 'string',
1219
+ ),
1220
  ),
1221
  ),
1222
  ),
1223
  ),
1224
  ),
1225
+ 'Interconnects' => array(
1226
  'type' => 'object',
1227
  'additionalProperties' => true,
1228
  'properties' => array(
1229
+ 'interconnects' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1230
  'type' => 'array',
1231
  'location' => 'json',
1232
  'items' => array(
1233
+ 'name' => 'Interconnect',
1234
  'type' => 'object',
1235
  'properties' => array(
1236
+ 'interconnectId' => array(
 
 
 
 
 
 
1237
  'type' => 'string',
1238
  ),
1239
+ 'interconnectName' => array(
1240
  'type' => 'string',
1241
  ),
1242
+ 'interconnectState' => array(
 
 
 
 
 
 
 
 
 
 
1243
  'type' => 'string',
1244
  ),
1245
+ 'region' => array(
1246
  'type' => 'string',
1247
  ),
1248
+ 'location' => array(
1249
  'type' => 'string',
1250
  ),
1251
+ 'bandwidth' => array(
1252
  'type' => 'string',
1253
  ),
 
 
 
1254
  ),
1255
  ),
1256
  ),
1257
  ),
1258
  ),
1259
+ 'Locations' => array(
1260
  'type' => 'object',
1261
  'additionalProperties' => true,
1262
  'properties' => array(
1263
+ 'locations' => array(
1264
  'type' => 'array',
1265
  'location' => 'json',
1266
  'items' => array(
1267
+ 'name' => 'Location',
1268
  'type' => 'object',
1269
  'properties' => array(
1270
+ 'locationCode' => array(
 
 
 
 
 
 
1271
  'type' => 'string',
1272
  ),
1273
+ 'locationName' => array(
1274
  'type' => 'string',
1275
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1276
  ),
1277
  ),
1278
  ),
1311
  'name' => 'VirtualInterface',
1312
  'type' => 'object',
1313
  'properties' => array(
1314
+ 'ownerAccount' => array(
1315
+ 'type' => 'string',
1316
+ ),
1317
  'virtualInterfaceId' => array(
1318
  'type' => 'string',
1319
  ),
1371
  ),
1372
  ),
1373
  ),
1374
+ 'iterators' => array(
1375
+ 'DescribeConnections' => array(
1376
+ 'result_key' => 'connections',
1377
+ ),
1378
+ 'DescribeConnectionsOnInterconnect' => array(
1379
+ 'result_key' => 'connections',
1380
+ ),
1381
+ 'DescribeInterconnects' => array(
1382
+ 'result_key' => 'interconnects',
1383
+ ),
1384
+ 'DescribeLocations' => array(
1385
+ 'result_key' => 'locations',
1386
+ ),
1387
+ 'DescribeVirtualGateways' => array(
1388
+ 'result_key' => 'virtualGateways',
1389
+ ),
1390
+ 'DescribeVirtualInterfaces' => array(
1391
+ 'result_key' => 'virtualInterfaces',
1392
+ ),
1393
+ ),
1394
  );
vendor/aws/Aws/DynamoDb/Crc32ErrorChecker.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/DynamoDbClient.php CHANGED
@@ -50,15 +50,15 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
50
  * @method Model scan(array $args = array()) {@command DynamoDb Scan}
51
  * @method Model updateItem(array $args = array()) {@command DynamoDb UpdateItem}
52
  * @method Model updateTable(array $args = array()) {@command DynamoDb UpdateTable}
53
- * @method waitUntilTableExists(array $input) Wait until a table exists and can be accessed The input array uses the parameters of the DescribeTable operation and waiter specific settings
54
- * @method waitUntilTableNotExists(array $input) Wait until a table is deleted The input array uses the parameters of the DescribeTable operation and waiter specific settings
55
  * @method ResourceIteratorInterface getBatchGetItemIterator(array $args = array()) The input array uses the parameters of the BatchGetItem operation
56
  * @method ResourceIteratorInterface getListTablesIterator(array $args = array()) The input array uses the parameters of the ListTables operation
57
  * @method ResourceIteratorInterface getQueryIterator(array $args = array()) The input array uses the parameters of the Query operation
58
  * @method ResourceIteratorInterface getScanIterator(array $args = array()) The input array uses the parameters of the Scan operation
59
  *
60
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-dynamodb.html User guide
61
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.DynamoDb.DynamoDbClient.html API docs
62
  */
63
  class DynamoDbClient extends AbstractClient
64
  {
@@ -70,34 +70,14 @@ class DynamoDbClient extends AbstractClient
70
  * @param array|Collection $config Client configuration data
71
  *
72
  * @return self
73
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
74
  */
75
  public static function factory($config = array())
76
  {
77
  // Configure the custom exponential backoff plugin for DynamoDB throttling
78
  $exceptionParser = new JsonQueryExceptionParser();
79
  if (!isset($config[Options::BACKOFF])) {
80
- $config[Options::BACKOFF] = new BackoffPlugin(
81
- // Retry requests (even if successful) if the CRC32 header is does not match the CRC32 of the response
82
- new Crc32ErrorChecker(
83
- // Retry failed requests up to 11 times instead of the normal 3
84
- new TruncatedBackoffStrategy(11,
85
- // Retry failed requests with 400-level responses due to throttling
86
- new ThrottlingErrorChecker($exceptionParser,
87
- // Retry failed requests with 500-level responses
88
- new HttpBackoffStrategy(null,
89
- // Retry failed requests due to transient network or cURL problems
90
- new CurlBackoffStrategy(null,
91
- new ExpiredCredentialsChecker($exceptionParser,
92
- // Use the custom retry delay method instead of default exponential backoff
93
- new CallbackBackoffStrategy(__CLASS__ . '::calculateRetryDelay', false)
94
- )
95
- )
96
- )
97
- )
98
- )
99
- )
100
- );
101
  }
102
 
103
  // Construct the DynamoDB client with the client builder
@@ -112,28 +92,41 @@ class DynamoDbClient extends AbstractClient
112
  self::COMMAND_PARAMS => array(Cmd::RESPONSE_PROCESSING => Cmd::TYPE_NO_TRANSLATION)
113
  ))
114
  ->setExceptionParser($exceptionParser)
115
- ->setIteratorsConfig(array(
116
- 'result_key' => 'Items',
117
- 'token_param' => 'ExclusiveStartKey',
118
- 'token_key' => 'LastEvaluatedKey',
119
- 'operations' => array(
120
- 'BatchGetItem' => array(
121
- 'token_param' => 'RequestItems',
122
- 'token_key' => 'UnprocessedKeys',
123
- 'result_key' => 'Responses/*',
124
- ),
125
- 'ListTables' => array(
126
- 'result_key' => 'TableNames',
127
- 'token_param' => 'ExclusiveStartTableName',
128
- 'token_key' => 'LastEvaluatedTableName',
129
- ),
130
- 'Query',
131
- 'Scan',
132
- )
133
- ))
134
  ->build();
135
  }
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  /**
138
  * Formats a value as a DynamoDB attribute.
139
  *
50
  * @method Model scan(array $args = array()) {@command DynamoDb Scan}
51
  * @method Model updateItem(array $args = array()) {@command DynamoDb UpdateItem}
52
  * @method Model updateTable(array $args = array()) {@command DynamoDb UpdateTable}
53
+ * @method waitUntilTableExists(array $input) The input array uses the parameters of the DescribeTable operation and waiter specific settings
54
+ * @method waitUntilTableNotExists(array $input) The input array uses the parameters of the DescribeTable operation and waiter specific settings
55
  * @method ResourceIteratorInterface getBatchGetItemIterator(array $args = array()) The input array uses the parameters of the BatchGetItem operation
56
  * @method ResourceIteratorInterface getListTablesIterator(array $args = array()) The input array uses the parameters of the ListTables operation
57
  * @method ResourceIteratorInterface getQueryIterator(array $args = array()) The input array uses the parameters of the Query operation
58
  * @method ResourceIteratorInterface getScanIterator(array $args = array()) The input array uses the parameters of the Scan operation
59
  *
60
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-dynamodb.html User guide
61
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.DynamoDb.DynamoDbClient.html API docs
62
  */
63
  class DynamoDbClient extends AbstractClient
64
  {
70
  * @param array|Collection $config Client configuration data
71
  *
72
  * @return self
73
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
74
  */
75
  public static function factory($config = array())
76
  {
77
  // Configure the custom exponential backoff plugin for DynamoDB throttling
78
  $exceptionParser = new JsonQueryExceptionParser();
79
  if (!isset($config[Options::BACKOFF])) {
80
+ $config[Options::BACKOFF] = self::createBackoffPlugin($exceptionParser);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }
82
 
83
  // Construct the DynamoDB client with the client builder
92
  self::COMMAND_PARAMS => array(Cmd::RESPONSE_PROCESSING => Cmd::TYPE_NO_TRANSLATION)
93
  ))
94
  ->setExceptionParser($exceptionParser)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  ->build();
96
  }
97
 
98
+ /**
99
+ * Create an Amazon DynamoDB specific backoff plugin
100
+ *
101
+ * @param JsonQueryExceptionParser $exceptionParser
102
+ *
103
+ * @return BackoffPlugin
104
+ */
105
+ private static function createBackoffPlugin(JsonQueryExceptionParser $exceptionParser)
106
+ {
107
+ return new BackoffPlugin(
108
+ // Retry requests (even if successful) if the CRC32 header is does not match the CRC32 of the response
109
+ new Crc32ErrorChecker(
110
+ // Retry failed requests up to 11 times instead of the normal 3
111
+ new TruncatedBackoffStrategy(11,
112
+ // Retry failed requests with 400-level responses due to throttling
113
+ new ThrottlingErrorChecker($exceptionParser,
114
+ // Retry failed requests with 500-level responses
115
+ new HttpBackoffStrategy(null,
116
+ // Retry failed requests due to transient network or cURL problems
117
+ new CurlBackoffStrategy(null,
118
+ new ExpiredCredentialsChecker($exceptionParser,
119
+ // Use the custom retry delay method instead of default exponential backoff
120
+ new CallbackBackoffStrategy(__CLASS__ . '::calculateRetryDelay', false)
121
+ )
122
+ )
123
+ )
124
+ )
125
+ )
126
+ )
127
+ );
128
+ }
129
+
130
  /**
131
  * Formats a value as a DynamoDB attribute.
132
  *
vendor/aws/Aws/DynamoDb/Enum/AttributeAction.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/AttributeType.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/ComparisonOperator.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/IndexStatus.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\DynamoDb\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable IndexStatus values
23
+ */
24
+ class IndexStatus extends Enum
25
+ {
26
+ const CREATING = 'CREATING';
27
+ const UPDATING = 'UPDATING';
28
+ const DELETING = 'DELETING';
29
+ const ACTIVE = 'ACTIVE';
30
+ }
vendor/aws/Aws/DynamoDb/Enum/KeyType.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/ProjectionType.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/ReturnConsumedCapacity.php CHANGED
@@ -23,6 +23,7 @@ use Aws\Common\Enum;
23
  */
24
  class ReturnConsumedCapacity extends Enum
25
  {
 
26
  const TOTAL = 'TOTAL';
27
  const NONE = 'NONE';
28
  }
23
  */
24
  class ReturnConsumedCapacity extends Enum
25
  {
26
+ const INDEXES = 'INDEXES';
27
  const TOTAL = 'TOTAL';
28
  const NONE = 'NONE';
29
  }
vendor/aws/Aws/DynamoDb/Enum/ReturnItemCollectionMetrics.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/ReturnValue.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/ScalarAttributeType.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/Select.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/TableStatus.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Enum/Type.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/AccessDeniedException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ConditionalCheckFailedException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/DynamoDbException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/IncompleteSignatureException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/InternalFailureException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/InternalServerErrorException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ItemCollectionSizeLimitExceededException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/LimitExceededException.php CHANGED
@@ -17,6 +17,6 @@
17
  namespace Aws\DynamoDb\Exception;
18
 
19
  /**
20
- * The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.
21
  */
22
  class LimitExceededException extends DynamoDbException {}
17
  namespace Aws\DynamoDb\Exception;
18
 
19
  /**
20
+ * The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. Also, for tables with secondary indexes, only one of those tables can be in the CREATING state at any point in time. Do not attempt to create more than one such table simultaneously. The total limit of tables in the ACTIVE state is 250.
21
  */
22
  class LimitExceededException extends DynamoDbException {}
vendor/aws/Aws/DynamoDb/Exception/MissingAuthenticationTokenException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ProvisionedThroughputExceededException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ResourceInUseException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ResourceNotFoundException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ServiceUnavailableException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ThrottlingException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/UnprocessedWriteRequestsException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/UnrecognizedClientException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Exception/ValidationException.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Iterator/ItemIterator.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Iterator/ScanIterator.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/Attribute.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/BatchRequest/AbstractWriteRequest.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/BatchRequest/DeleteRequest.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/BatchRequest/PutRequest.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/BatchRequest/UnprocessedRequest.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatch.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatchTransfer.php CHANGED
@@ -84,28 +84,8 @@ class WriteRequestBatchTransfer implements BatchTransferInterface
84
  return;
85
  }
86
 
87
- // Chunk the array and prepare a set of parallel commands
88
- $commands = array();
89
- foreach (array_chunk($batch, self::BATCH_WRITE_MAX_SIZE) as $chunk) {
90
- // Convert the request items into the format required by the client
91
- $items = array();
92
- foreach ($chunk as $item) {
93
- if ($item instanceof AbstractWriteRequest) {
94
- /** @var $item AbstractWriteRequest */
95
- $table = $item->getTableName();
96
- if (!isset($items[$table])) {
97
- $items[$table] = array();
98
- }
99
- $items[$table][] = $item->toArray();
100
- }
101
- }
102
-
103
- // Create the BatchWriteItem request
104
- $commands[] = $this->client->getCommand('BatchWriteItem', array(
105
- 'RequestItems' => $items,
106
- Ua::OPTION => Ua::BATCH
107
- ));
108
- }
109
 
110
  // Execute the commands and handle exceptions
111
  try {
@@ -118,9 +98,15 @@ class WriteRequestBatchTransfer implements BatchTransferInterface
118
  // Loop through caught exceptions and handle RequestTooLarge scenarios
119
  /** @var $e DynamoDbException */
120
  foreach ($exceptions as $e) {
121
- if ($e instanceof DynamoDbException && $e->getStatusCode() === 413) {
122
- $request = $e->getResponse()->getRequest();
123
- $this->retryLargeRequest($request, $unprocessedRequests);
 
 
 
 
 
 
124
  } else {
125
  $unhandledExceptions->add($e);
126
  }
@@ -133,6 +119,40 @@ class WriteRequestBatchTransfer implements BatchTransferInterface
133
  }
134
  }
135
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  /**
137
  * Handles unprocessed items from the executed commands. Unprocessed items
138
  * can be collected and thrown in an UnprocessedWriteRequestsException
@@ -169,8 +189,7 @@ class WriteRequestBatchTransfer implements BatchTransferInterface
169
  UnprocessedWriteRequestsException $unprocessedRequests
170
  ) {
171
  // Collect the items out from the request object
172
- $items = json_decode($request->getBody(true), true);
173
- $items = $this->convertResultsToUnprocessedRequests($items['RequestItems']);
174
 
175
  // Divide batch into smaller batches and transfer them via recursion
176
  // NOTE: Dividing the batch into 3 (instead of 2) batches resulted in less recursion during testing
@@ -182,6 +201,22 @@ class WriteRequestBatchTransfer implements BatchTransferInterface
182
  }
183
  }
184
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  /**
186
  * Collects and creates unprocessed request objects from data collected from erroneous cases
187
  *
@@ -200,4 +235,18 @@ class WriteRequestBatchTransfer implements BatchTransferInterface
200
 
201
  return $unprocessed;
202
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  }
84
  return;
85
  }
86
 
87
+ // Prepare an array of commands to be sent in parallel from the batch
88
+ $commands = $this->prepareCommandsForBatchedItems($batch);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
  // Execute the commands and handle exceptions
91
  try {
98
  // Loop through caught exceptions and handle RequestTooLarge scenarios
99
  /** @var $e DynamoDbException */
100
  foreach ($exceptions as $e) {
101
+ if ($e instanceof DynamoDbException) {
102
+ $request = $e->getRequest();
103
+ if ($e->getStatusCode() === 413) {
104
+ $this->retryLargeRequest($request, $unprocessedRequests);
105
+ } elseif ($e->getExceptionCode() === 'ProvisionedThroughputExceededException') {
106
+ $this->handleUnprocessedRequestsAfterException($request, $unprocessedRequests);
107
+ } else {
108
+ $unhandledExceptions->add($e);
109
+ }
110
  } else {
111
  $unhandledExceptions->add($e);
112
  }
119
  }
120
  }
121
 
122
+ /**
123
+ * Prepares an array of BatchWriteItem command objects for a given batch of items
124
+ *
125
+ * @param array $batch A batch of write requests
126
+ *
127
+ * @return array
128
+ */
129
+ protected function prepareCommandsForBatchedItems(array $batch)
130
+ {
131
+ $commands = array();
132
+ foreach (array_chunk($batch, self::BATCH_WRITE_MAX_SIZE) as $chunk) {
133
+ // Convert the request items into the format required by the client
134
+ $items = array();
135
+ foreach ($chunk as $item) {
136
+ if ($item instanceof AbstractWriteRequest) {
137
+ /** @var $item AbstractWriteRequest */
138
+ $table = $item->getTableName();
139
+ if (!isset($items[$table])) {
140
+ $items[$table] = array();
141
+ }
142
+ $items[$table][] = $item->toArray();
143
+ }
144
+ }
145
+
146
+ // Create the BatchWriteItem request
147
+ $commands[] = $this->client->getCommand('BatchWriteItem', array(
148
+ 'RequestItems' => $items,
149
+ Ua::OPTION => Ua::BATCH
150
+ ));
151
+ }
152
+
153
+ return $commands;
154
+ }
155
+
156
  /**
157
  * Handles unprocessed items from the executed commands. Unprocessed items
158
  * can be collected and thrown in an UnprocessedWriteRequestsException
189
  UnprocessedWriteRequestsException $unprocessedRequests
190
  ) {
191
  // Collect the items out from the request object
192
+ $items = $this->extractItemsFromRequestObject($request);
 
193
 
194
  // Divide batch into smaller batches and transfer them via recursion
195
  // NOTE: Dividing the batch into 3 (instead of 2) batches resulted in less recursion during testing
201
  }
202
  }
203
 
204
+ /**
205
+ * Handles unprocessed items if the entire batch was rejected due to exceeding the provisioned throughput
206
+ *
207
+ * @param EntityEnclosingRequestInterface $request The failed request
208
+ * @param UnprocessedWriteRequestsException $unprocessedRequests Collection of unprocessed items
209
+ */
210
+ protected function handleUnprocessedRequestsAfterException(
211
+ EntityEnclosingRequestInterface $request,
212
+ UnprocessedWriteRequestsException $unprocessedRequests
213
+ ) {
214
+ $items = $this->extractItemsFromRequestObject($request);
215
+ foreach ($items as $request) {
216
+ $unprocessedRequests->addItem($request);
217
+ }
218
+ }
219
+
220
  /**
221
  * Collects and creates unprocessed request objects from data collected from erroneous cases
222
  *
235
 
236
  return $unprocessed;
237
  }
238
+
239
+
240
+ /**
241
+ * Helper method to extract the items from a request object for a BatchWriteItem operation
242
+ *
243
+ * @param EntityEnclosingRequestInterface $request
244
+ *
245
+ * @return array
246
+ */
247
+ private function extractItemsFromRequestObject(EntityEnclosingRequestInterface $request)
248
+ {
249
+ $items = json_decode((string) $request->getBody(), true);
250
+ return $this->convertResultsToUnprocessedRequests($items['RequestItems'] ?: array());
251
+ }
252
  }
vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestInterface.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Model/Item.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Resources/dynamodb-2011-12-05.php CHANGED
@@ -3496,6 +3496,28 @@ return array (
3496
  ),
3497
  ),
3498
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3499
  'waiters' => array(
3500
  '__default__' => array(
3501
  'interval' => 20,
3496
  ),
3497
  ),
3498
  ),
3499
+ 'iterators' => array(
3500
+ 'BatchGetItem' => array(
3501
+ 'input_token' => 'RequestItems',
3502
+ 'output_token' => 'UnprocessedKeys',
3503
+ 'result_key' => 'Responses/*',
3504
+ ),
3505
+ 'ListTables' => array(
3506
+ 'input_token' => 'ExclusiveStartTableName',
3507
+ 'output_token' => 'LastEvaluatedTableName',
3508
+ 'result_key' => 'TableNames',
3509
+ ),
3510
+ 'Query' => array(
3511
+ 'input_token' => 'ExclusiveStartKey',
3512
+ 'output_token' => 'LastEvaluatedKey',
3513
+ 'result_key' => 'Items',
3514
+ ),
3515
+ 'Scan' => array(
3516
+ 'input_token' => 'ExclusiveStartKey',
3517
+ 'output_token' => 'LastEvaluatedKey',
3518
+ 'result_key' => 'Items',
3519
+ ),
3520
+ ),
3521
  'waiters' => array(
3522
  '__default__' => array(
3523
  'interval' => 20,
vendor/aws/Aws/DynamoDb/Resources/dynamodb-2012-08-10.php CHANGED
@@ -65,6 +65,11 @@ return array (
65
  'https' => true,
66
  'hostname' => 'dynamodb.sa-east-1.amazonaws.com',
67
  ),
 
 
 
 
 
68
  'us-gov-west-1' => array(
69
  'http' => false,
70
  'https' => true,
@@ -164,6 +169,7 @@ return array (
164
  'items' => array(
165
  'name' => 'AttributeName',
166
  'type' => 'string',
 
167
  ),
168
  ),
169
  'ConsistentRead' => array(
@@ -176,10 +182,6 @@ return array (
176
  'ReturnConsumedCapacity' => array(
177
  'type' => 'string',
178
  'location' => 'json',
179
- 'enum' => array(
180
- 'TOTAL',
181
- 'NONE',
182
- ),
183
  ),
184
  ),
185
  'errorResponses' => array(
@@ -347,18 +349,10 @@ return array (
347
  'ReturnConsumedCapacity' => array(
348
  'type' => 'string',
349
  'location' => 'json',
350
- 'enum' => array(
351
- 'TOTAL',
352
- 'NONE',
353
- ),
354
  ),
355
  'ReturnItemCollectionMetrics' => array(
356
  'type' => 'string',
357
  'location' => 'json',
358
- 'enum' => array(
359
- 'SIZE',
360
- 'NONE',
361
- ),
362
  ),
363
  ),
364
  'errorResponses' => array(
@@ -418,11 +412,6 @@ return array (
418
  'AttributeType' => array(
419
  'required' => true,
420
  'type' => 'string',
421
- 'enum' => array(
422
- 'S',
423
- 'N',
424
- 'B',
425
- ),
426
  ),
427
  ),
428
  ),
@@ -453,10 +442,6 @@ return array (
453
  'KeyType' => array(
454
  'required' => true,
455
  'type' => 'string',
456
- 'enum' => array(
457
- 'HASH',
458
- 'RANGE',
459
- ),
460
  ),
461
  ),
462
  ),
@@ -492,10 +477,6 @@ return array (
492
  'KeyType' => array(
493
  'required' => true,
494
  'type' => 'string',
495
- 'enum' => array(
496
- 'HASH',
497
- 'RANGE',
498
- ),
499
  ),
500
  ),
501
  ),
@@ -506,12 +487,65 @@ return array (
506
  'properties' => array(
507
  'ProjectionType' => array(
508
  'type' => 'string',
509
- 'enum' => array(
510
- 'ALL',
511
- 'KEYS_ONLY',
512
- 'INCLUDE',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
  ),
514
  ),
 
 
 
 
 
 
 
 
 
515
  'NonKeyAttributes' => array(
516
  'type' => 'array',
517
  'minItems' => 1,
@@ -525,6 +559,22 @@ return array (
525
  ),
526
  ),
527
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
528
  ),
529
  ),
530
  ),
@@ -552,7 +602,7 @@ return array (
552
  'class' => 'ResourceInUseException',
553
  ),
554
  array(
555
- 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.',
556
  'class' => 'LimitExceededException',
557
  ),
558
  array(
@@ -692,35 +742,72 @@ return array (
692
  'type' => 'boolean',
693
  'format' => 'boolean-string',
694
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
695
  ),
696
  ),
697
  ),
 
 
 
 
698
  'ReturnValues' => array(
699
  'type' => 'string',
700
  'location' => 'json',
701
- 'enum' => array(
702
- 'NONE',
703
- 'ALL_OLD',
704
- 'UPDATED_OLD',
705
- 'ALL_NEW',
706
- 'UPDATED_NEW',
707
- ),
708
  ),
709
  'ReturnConsumedCapacity' => array(
710
  'type' => 'string',
711
  'location' => 'json',
712
- 'enum' => array(
713
- 'TOTAL',
714
- 'NONE',
715
- ),
716
  ),
717
  'ReturnItemCollectionMetrics' => array(
718
  'type' => 'string',
719
  'location' => 'json',
720
- 'enum' => array(
721
- 'SIZE',
722
- 'NONE',
723
- ),
724
  ),
725
  ),
726
  'errorResponses' => array(
@@ -785,7 +872,7 @@ return array (
785
  'class' => 'ResourceNotFoundException',
786
  ),
787
  array(
788
- 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.',
789
  'class' => 'LimitExceededException',
790
  ),
791
  array(
@@ -918,6 +1005,7 @@ return array (
918
  'items' => array(
919
  'name' => 'AttributeName',
920
  'type' => 'string',
 
921
  ),
922
  ),
923
  'ConsistentRead' => array(
@@ -928,10 +1016,6 @@ return array (
928
  'ReturnConsumedCapacity' => array(
929
  'type' => 'string',
930
  'location' => 'json',
931
- 'enum' => array(
932
- 'TOTAL',
933
- 'NONE',
934
- ),
935
  ),
936
  ),
937
  'errorResponses' => array(
@@ -1121,35 +1205,72 @@ return array (
1121
  'type' => 'boolean',
1122
  'format' => 'boolean-string',
1123
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1124
  ),
1125
  ),
1126
  ),
1127
  'ReturnValues' => array(
1128
  'type' => 'string',
1129
  'location' => 'json',
1130
- 'enum' => array(
1131
- 'NONE',
1132
- 'ALL_OLD',
1133
- 'UPDATED_OLD',
1134
- 'ALL_NEW',
1135
- 'UPDATED_NEW',
1136
- ),
1137
  ),
1138
  'ReturnConsumedCapacity' => array(
1139
  'type' => 'string',
1140
  'location' => 'json',
1141
- 'enum' => array(
1142
- 'TOTAL',
1143
- 'NONE',
1144
- ),
1145
  ),
1146
  'ReturnItemCollectionMetrics' => array(
1147
  'type' => 'string',
1148
  'location' => 'json',
1149
- 'enum' => array(
1150
- 'SIZE',
1151
- 'NONE',
1152
- ),
1153
  ),
1154
  ),
1155
  'errorResponses' => array(
@@ -1212,12 +1333,6 @@ return array (
1212
  'Select' => array(
1213
  'type' => 'string',
1214
  'location' => 'json',
1215
- 'enum' => array(
1216
- 'ALL_ATTRIBUTES',
1217
- 'ALL_PROJECTED_ATTRIBUTES',
1218
- 'SPECIFIC_ATTRIBUTES',
1219
- 'COUNT',
1220
- ),
1221
  ),
1222
  'AttributesToGet' => array(
1223
  'type' => 'array',
@@ -1226,6 +1341,7 @@ return array (
1226
  'items' => array(
1227
  'name' => 'AttributeName',
1228
  'type' => 'string',
 
1229
  ),
1230
  ),
1231
  'Limit' => array(
@@ -1239,6 +1355,7 @@ return array (
1239
  'location' => 'json',
1240
  ),
1241
  'KeyConditions' => array(
 
1242
  'type' => 'object',
1243
  'location' => 'json',
1244
  'additionalProperties' => array(
@@ -1295,25 +1412,75 @@ return array (
1295
  'ComparisonOperator' => array(
1296
  'required' => true,
1297
  'type' => 'string',
1298
- 'enum' => array(
1299
- 'EQ',
1300
- 'NE',
1301
- 'IN',
1302
- 'LE',
1303
- 'LT',
1304
- 'GE',
1305
- 'GT',
1306
- 'BETWEEN',
1307
- 'NOT_NULL',
1308
- 'NULL',
1309
- 'CONTAINS',
1310
- 'NOT_CONTAINS',
1311
- 'BEGINS_WITH',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1312
  ),
1313
  ),
 
 
 
 
1314
  ),
1315
  ),
1316
  ),
 
 
 
 
1317
  'ScanIndexForward' => array(
1318
  'type' => 'boolean',
1319
  'format' => 'boolean-string',
@@ -1370,10 +1537,6 @@ return array (
1370
  'ReturnConsumedCapacity' => array(
1371
  'type' => 'string',
1372
  'location' => 'json',
1373
- 'enum' => array(
1374
- 'TOTAL',
1375
- 'NONE',
1376
- ),
1377
  ),
1378
  ),
1379
  'errorResponses' => array(
@@ -1426,6 +1589,7 @@ return array (
1426
  'items' => array(
1427
  'name' => 'AttributeName',
1428
  'type' => 'string',
 
1429
  ),
1430
  ),
1431
  'Limit' => array(
@@ -1436,12 +1600,6 @@ return array (
1436
  'Select' => array(
1437
  'type' => 'string',
1438
  'location' => 'json',
1439
- 'enum' => array(
1440
- 'ALL_ATTRIBUTES',
1441
- 'ALL_PROJECTED_ATTRIBUTES',
1442
- 'SPECIFIC_ATTRIBUTES',
1443
- 'COUNT',
1444
- ),
1445
  ),
1446
  'ScanFilter' => array(
1447
  'type' => 'object',
@@ -1500,25 +1658,14 @@ return array (
1500
  'ComparisonOperator' => array(
1501
  'required' => true,
1502
  'type' => 'string',
1503
- 'enum' => array(
1504
- 'EQ',
1505
- 'NE',
1506
- 'IN',
1507
- 'LE',
1508
- 'LT',
1509
- 'GE',
1510
- 'GT',
1511
- 'BETWEEN',
1512
- 'NOT_NULL',
1513
- 'NULL',
1514
- 'CONTAINS',
1515
- 'NOT_CONTAINS',
1516
- 'BEGINS_WITH',
1517
- ),
1518
  ),
1519
  ),
1520
  ),
1521
  ),
 
 
 
 
1522
  'ExclusiveStartKey' => array(
1523
  'type' => 'object',
1524
  'location' => 'json',
@@ -1570,21 +1717,17 @@ return array (
1570
  'ReturnConsumedCapacity' => array(
1571
  'type' => 'string',
1572
  'location' => 'json',
1573
- 'enum' => array(
1574
- 'TOTAL',
1575
- 'NONE',
1576
- ),
1577
  ),
1578
  'TotalSegments' => array(
1579
  'type' => 'numeric',
1580
  'location' => 'json',
1581
  'minimum' => 1,
1582
- 'maximum' => 4096,
1583
  ),
1584
  'Segment' => array(
1585
  'type' => 'numeric',
1586
  'location' => 'json',
1587
- 'maximum' => 4095,
1588
  ),
1589
  ),
1590
  'errorResponses' => array(
@@ -1731,11 +1874,6 @@ return array (
1731
  ),
1732
  'Action' => array(
1733
  'type' => 'string',
1734
- 'enum' => array(
1735
- 'ADD',
1736
- 'PUT',
1737
- 'DELETE',
1738
- ),
1739
  ),
1740
  ),
1741
  ),
@@ -1794,35 +1932,72 @@ return array (
1794
  'type' => 'boolean',
1795
  'format' => 'boolean-string',
1796
  ),
1797
- ),
1798
- ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1799
  ),
1800
  'ReturnValues' => array(
1801
  'type' => 'string',
1802
  'location' => 'json',
1803
- 'enum' => array(
1804
- 'NONE',
1805
- 'ALL_OLD',
1806
- 'UPDATED_OLD',
1807
- 'ALL_NEW',
1808
- 'UPDATED_NEW',
1809
- ),
1810
  ),
1811
  'ReturnConsumedCapacity' => array(
1812
  'type' => 'string',
1813
  'location' => 'json',
1814
- 'enum' => array(
1815
- 'TOTAL',
1816
- 'NONE',
1817
- ),
1818
  ),
1819
  'ReturnItemCollectionMetrics' => array(
1820
  'type' => 'string',
1821
  'location' => 'json',
1822
- 'enum' => array(
1823
- 'SIZE',
1824
- 'NONE',
1825
- ),
1826
  ),
1827
  ),
1828
  'errorResponses' => array(
@@ -1877,7 +2052,6 @@ return array (
1877
  'maxLength' => 255,
1878
  ),
1879
  'ProvisionedThroughput' => array(
1880
- 'required' => true,
1881
  'type' => 'object',
1882
  'location' => 'json',
1883
  'properties' => array(
@@ -1893,6 +2067,43 @@ return array (
1893
  ),
1894
  ),
1895
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1896
  ),
1897
  'errorResponses' => array(
1898
  array(
@@ -1904,7 +2115,7 @@ return array (
1904
  'class' => 'ResourceNotFoundException',
1905
  ),
1906
  array(
1907
- 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10.',
1908
  'class' => 'LimitExceededException',
1909
  ),
1910
  array(
@@ -1938,6 +2149,9 @@ return array (
1938
  ),
1939
  'B' => array(
1940
  'type' => 'string',
 
 
 
1941
  ),
1942
  'SS' => array(
1943
  'type' => 'array',
@@ -1958,6 +2172,9 @@ return array (
1958
  'items' => array(
1959
  'name' => 'BinaryAttributeValue',
1960
  'type' => 'string',
 
 
 
1961
  ),
1962
  ),
1963
  ),
@@ -1987,6 +2204,9 @@ return array (
1987
  ),
1988
  'B' => array(
1989
  'type' => 'string',
 
 
 
1990
  ),
1991
  'SS' => array(
1992
  'type' => 'array',
@@ -2007,6 +2227,9 @@ return array (
2007
  'items' => array(
2008
  'name' => 'BinaryAttributeValue',
2009
  'type' => 'string',
 
 
 
2010
  ),
2011
  ),
2012
  ),
@@ -2039,6 +2262,36 @@ return array (
2039
  'CapacityUnits' => array(
2040
  'type' => 'numeric',
2041
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2042
  ),
2043
  ),
2044
  ),
@@ -2073,6 +2326,9 @@ return array (
2073
  ),
2074
  'B' => array(
2075
  'type' => 'string',
 
 
 
2076
  ),
2077
  'SS' => array(
2078
  'type' => 'array',
@@ -2093,6 +2349,9 @@ return array (
2093
  'items' => array(
2094
  'name' => 'BinaryAttributeValue',
2095
  'type' => 'string',
 
 
 
2096
  ),
2097
  ),
2098
  ),
@@ -2116,6 +2375,9 @@ return array (
2116
  ),
2117
  'B' => array(
2118
  'type' => 'string',
 
 
 
2119
  ),
2120
  'SS' => array(
2121
  'type' => 'array',
@@ -2136,6 +2398,9 @@ return array (
2136
  'items' => array(
2137
  'name' => 'BinaryAttributeValue',
2138
  'type' => 'string',
 
 
 
2139
  ),
2140
  ),
2141
  ),
@@ -2169,6 +2434,9 @@ return array (
2169
  ),
2170
  'B' => array(
2171
  'type' => 'string',
 
 
 
2172
  ),
2173
  'SS' => array(
2174
  'type' => 'array',
@@ -2189,6 +2457,9 @@ return array (
2189
  'items' => array(
2190
  'name' => 'BinaryAttributeValue',
2191
  'type' => 'string',
 
 
 
2192
  ),
2193
  ),
2194
  ),
@@ -2218,6 +2489,36 @@ return array (
2218
  'CapacityUnits' => array(
2219
  'type' => 'numeric',
2220
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2221
  ),
2222
  ),
2223
  ),
@@ -2344,6 +2645,77 @@ return array (
2344
  ),
2345
  ),
2346
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2347
  ),
2348
  ),
2349
  ),
@@ -2366,6 +2738,9 @@ return array (
2366
  ),
2367
  'B' => array(
2368
  'type' => 'string',
 
 
 
2369
  ),
2370
  'SS' => array(
2371
  'type' => 'array',
@@ -2386,6 +2761,9 @@ return array (
2386
  'items' => array(
2387
  'name' => 'BinaryAttributeValue',
2388
  'type' => 'string',
 
 
 
2389
  ),
2390
  ),
2391
  ),
@@ -2401,6 +2779,36 @@ return array (
2401
  'CapacityUnits' => array(
2402
  'type' => 'numeric',
2403
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2404
  ),
2405
  ),
2406
  'ItemCollectionMetrics' => array(
@@ -2420,6 +2828,9 @@ return array (
2420
  ),
2421
  'B' => array(
2422
  'type' => 'string',
 
 
 
2423
  ),
2424
  'SS' => array(
2425
  'type' => 'array',
@@ -2440,6 +2851,9 @@ return array (
2440
  'items' => array(
2441
  'name' => 'BinaryAttributeValue',
2442
  'type' => 'string',
 
 
 
2443
  ),
2444
  ),
2445
  ),
@@ -2577,37 +2991,108 @@ return array (
2577
  ),
2578
  ),
2579
  ),
2580
- ),
2581
- ),
2582
- ),
2583
- ),
2584
- 'DescribeTableOutput' => array(
2585
- 'type' => 'object',
2586
- 'additionalProperties' => true,
2587
- 'properties' => array(
2588
- 'Table' => array(
2589
- 'type' => 'object',
2590
- 'location' => 'json',
2591
- 'properties' => array(
2592
- 'AttributeDefinitions' => array(
2593
  'type' => 'array',
2594
  'items' => array(
2595
- 'name' => 'AttributeDefinition',
2596
  'type' => 'object',
2597
  'properties' => array(
2598
- 'AttributeName' => array(
2599
- 'type' => 'string',
2600
- ),
2601
- 'AttributeType' => array(
2602
  'type' => 'string',
2603
  ),
2604
- ),
2605
- ),
2606
- ),
2607
- 'TableName' => array(
2608
- 'type' => 'string',
2609
- ),
2610
- 'KeySchema' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2611
  'type' => 'array',
2612
  'items' => array(
2613
  'name' => 'KeySchemaElement',
@@ -2702,6 +3187,77 @@ return array (
2702
  ),
2703
  ),
2704
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2705
  ),
2706
  ),
2707
  ),
@@ -2724,6 +3280,9 @@ return array (
2724
  ),
2725
  'B' => array(
2726
  'type' => 'string',
 
 
 
2727
  ),
2728
  'SS' => array(
2729
  'type' => 'array',
@@ -2744,6 +3303,9 @@ return array (
2744
  'items' => array(
2745
  'name' => 'BinaryAttributeValue',
2746
  'type' => 'string',
 
 
 
2747
  ),
2748
  ),
2749
  ),
@@ -2759,6 +3321,36 @@ return array (
2759
  'CapacityUnits' => array(
2760
  'type' => 'numeric',
2761
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2762
  ),
2763
  ),
2764
  ),
@@ -2799,6 +3391,9 @@ return array (
2799
  ),
2800
  'B' => array(
2801
  'type' => 'string',
 
 
 
2802
  ),
2803
  'SS' => array(
2804
  'type' => 'array',
@@ -2819,6 +3414,9 @@ return array (
2819
  'items' => array(
2820
  'name' => 'BinaryAttributeValue',
2821
  'type' => 'string',
 
 
 
2822
  ),
2823
  ),
2824
  ),
@@ -2834,6 +3432,36 @@ return array (
2834
  'CapacityUnits' => array(
2835
  'type' => 'numeric',
2836
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2837
  ),
2838
  ),
2839
  'ItemCollectionMetrics' => array(
@@ -2853,6 +3481,9 @@ return array (
2853
  ),
2854
  'B' => array(
2855
  'type' => 'string',
 
 
 
2856
  ),
2857
  'SS' => array(
2858
  'type' => 'array',
@@ -2873,6 +3504,9 @@ return array (
2873
  'items' => array(
2874
  'name' => 'BinaryAttributeValue',
2875
  'type' => 'string',
 
 
 
2876
  ),
2877
  ),
2878
  ),
@@ -2910,6 +3544,9 @@ return array (
2910
  ),
2911
  'B' => array(
2912
  'type' => 'string',
 
 
 
2913
  ),
2914
  'SS' => array(
2915
  'type' => 'array',
@@ -2930,6 +3567,9 @@ return array (
2930
  'items' => array(
2931
  'name' => 'BinaryAttributeValue',
2932
  'type' => 'string',
 
 
 
2933
  ),
2934
  ),
2935
  ),
@@ -2940,6 +3580,10 @@ return array (
2940
  'type' => 'numeric',
2941
  'location' => 'json',
2942
  ),
 
 
 
 
2943
  'LastEvaluatedKey' => array(
2944
  'type' => 'object',
2945
  'location' => 'json',
@@ -2954,6 +3598,9 @@ return array (
2954
  ),
2955
  'B' => array(
2956
  'type' => 'string',
 
 
 
2957
  ),
2958
  'SS' => array(
2959
  'type' => 'array',
@@ -2974,6 +3621,9 @@ return array (
2974
  'items' => array(
2975
  'name' => 'BinaryAttributeValue',
2976
  'type' => 'string',
 
 
 
2977
  ),
2978
  ),
2979
  ),
@@ -2989,6 +3639,36 @@ return array (
2989
  'CapacityUnits' => array(
2990
  'type' => 'numeric',
2991
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2992
  ),
2993
  ),
2994
  ),
@@ -3014,6 +3694,9 @@ return array (
3014
  ),
3015
  'B' => array(
3016
  'type' => 'string',
 
 
 
3017
  ),
3018
  'SS' => array(
3019
  'type' => 'array',
@@ -3034,6 +3717,9 @@ return array (
3034
  'items' => array(
3035
  'name' => 'BinaryAttributeValue',
3036
  'type' => 'string',
 
 
 
3037
  ),
3038
  ),
3039
  ),
@@ -3062,6 +3748,9 @@ return array (
3062
  ),
3063
  'B' => array(
3064
  'type' => 'string',
 
 
 
3065
  ),
3066
  'SS' => array(
3067
  'type' => 'array',
@@ -3082,6 +3771,9 @@ return array (
3082
  'items' => array(
3083
  'name' => 'BinaryAttributeValue',
3084
  'type' => 'string',
 
 
 
3085
  ),
3086
  ),
3087
  ),
@@ -3097,6 +3789,36 @@ return array (
3097
  'CapacityUnits' => array(
3098
  'type' => 'numeric',
3099
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3100
  ),
3101
  ),
3102
  ),
@@ -3119,6 +3841,9 @@ return array (
3119
  ),
3120
  'B' => array(
3121
  'type' => 'string',
 
 
 
3122
  ),
3123
  'SS' => array(
3124
  'type' => 'array',
@@ -3139,6 +3864,9 @@ return array (
3139
  'items' => array(
3140
  'name' => 'BinaryAttributeValue',
3141
  'type' => 'string',
 
 
 
3142
  ),
3143
  ),
3144
  ),
@@ -3154,6 +3882,36 @@ return array (
3154
  'CapacityUnits' => array(
3155
  'type' => 'numeric',
3156
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3157
  ),
3158
  ),
3159
  'ItemCollectionMetrics' => array(
@@ -3173,6 +3931,9 @@ return array (
3173
  ),
3174
  'B' => array(
3175
  'type' => 'string',
 
 
 
3176
  ),
3177
  'SS' => array(
3178
  'type' => 'array',
@@ -3193,6 +3954,9 @@ return array (
3193
  'items' => array(
3194
  'name' => 'BinaryAttributeValue',
3195
  'type' => 'string',
 
 
 
3196
  ),
3197
  ),
3198
  ),
@@ -3330,11 +4094,107 @@ return array (
3330
  ),
3331
  ),
3332
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3333
  ),
3334
  ),
3335
  ),
3336
  ),
3337
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3338
  'waiters' => array(
3339
  '__default__' => array(
3340
  'interval' => 20,
65
  'https' => true,
66
  'hostname' => 'dynamodb.sa-east-1.amazonaws.com',
67
  ),
68
+ 'cn-north-1' => array(
69
+ 'http' => true,
70
+ 'https' => true,
71
+ 'hostname' => 'dynamodb.cn-north-1.amazonaws.com.cn',
72
+ ),
73
  'us-gov-west-1' => array(
74
  'http' => false,
75
  'https' => true,
169
  'items' => array(
170
  'name' => 'AttributeName',
171
  'type' => 'string',
172
+ 'maxLength' => 65535,
173
  ),
174
  ),
175
  'ConsistentRead' => array(
182
  'ReturnConsumedCapacity' => array(
183
  'type' => 'string',
184
  'location' => 'json',
 
 
 
 
185
  ),
186
  ),
187
  'errorResponses' => array(
349
  'ReturnConsumedCapacity' => array(
350
  'type' => 'string',
351
  'location' => 'json',
 
 
 
 
352
  ),
353
  'ReturnItemCollectionMetrics' => array(
354
  'type' => 'string',
355
  'location' => 'json',
 
 
 
 
356
  ),
357
  ),
358
  'errorResponses' => array(
412
  'AttributeType' => array(
413
  'required' => true,
414
  'type' => 'string',
 
 
 
 
 
415
  ),
416
  ),
417
  ),
442
  'KeyType' => array(
443
  'required' => true,
444
  'type' => 'string',
 
 
 
 
445
  ),
446
  ),
447
  ),
477
  'KeyType' => array(
478
  'required' => true,
479
  'type' => 'string',
 
 
 
 
480
  ),
481
  ),
482
  ),
487
  'properties' => array(
488
  'ProjectionType' => array(
489
  'type' => 'string',
490
+ ),
491
+ 'NonKeyAttributes' => array(
492
+ 'type' => 'array',
493
+ 'minItems' => 1,
494
+ 'maxItems' => 20,
495
+ 'items' => array(
496
+ 'name' => 'NonKeyAttributeName',
497
+ 'type' => 'string',
498
+ 'minLength' => 1,
499
+ 'maxLength' => 255,
500
+ ),
501
+ ),
502
+ ),
503
+ ),
504
+ ),
505
+ ),
506
+ ),
507
+ 'GlobalSecondaryIndexes' => array(
508
+ 'type' => 'array',
509
+ 'location' => 'json',
510
+ 'items' => array(
511
+ 'name' => 'GlobalSecondaryIndex',
512
+ 'type' => 'object',
513
+ 'properties' => array(
514
+ 'IndexName' => array(
515
+ 'required' => true,
516
+ 'type' => 'string',
517
+ 'minLength' => 3,
518
+ 'maxLength' => 255,
519
+ ),
520
+ 'KeySchema' => array(
521
+ 'required' => true,
522
+ 'type' => 'array',
523
+ 'minItems' => 1,
524
+ 'maxItems' => 2,
525
+ 'items' => array(
526
+ 'name' => 'KeySchemaElement',
527
+ 'type' => 'object',
528
+ 'properties' => array(
529
+ 'AttributeName' => array(
530
+ 'required' => true,
531
+ 'type' => 'string',
532
+ 'minLength' => 1,
533
+ 'maxLength' => 255,
534
+ ),
535
+ 'KeyType' => array(
536
+ 'required' => true,
537
+ 'type' => 'string',
538
  ),
539
  ),
540
+ ),
541
+ ),
542
+ 'Projection' => array(
543
+ 'required' => true,
544
+ 'type' => 'object',
545
+ 'properties' => array(
546
+ 'ProjectionType' => array(
547
+ 'type' => 'string',
548
+ ),
549
  'NonKeyAttributes' => array(
550
  'type' => 'array',
551
  'minItems' => 1,
559
  ),
560
  ),
561
  ),
562
+ 'ProvisionedThroughput' => array(
563
+ 'required' => true,
564
+ 'type' => 'object',
565
+ 'properties' => array(
566
+ 'ReadCapacityUnits' => array(
567
+ 'required' => true,
568
+ 'type' => 'numeric',
569
+ 'minimum' => 1,
570
+ ),
571
+ 'WriteCapacityUnits' => array(
572
+ 'required' => true,
573
+ 'type' => 'numeric',
574
+ 'minimum' => 1,
575
+ ),
576
+ ),
577
+ ),
578
  ),
579
  ),
580
  ),
602
  'class' => 'ResourceInUseException',
603
  ),
604
  array(
605
+ 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. Also, for tables with secondary indexes, only one of those tables can be in the CREATING state at any point in time. Do not attempt to create more than one such table simultaneously. The total limit of tables in the ACTIVE state is 250.',
606
  'class' => 'LimitExceededException',
607
  ),
608
  array(
742
  'type' => 'boolean',
743
  'format' => 'boolean-string',
744
  ),
745
+ 'ComparisonOperator' => array(
746
+ 'type' => 'string',
747
+ ),
748
+ 'AttributeValueList' => array(
749
+ 'type' => 'array',
750
+ 'items' => array(
751
+ 'name' => 'AttributeValue',
752
+ 'type' => 'object',
753
+ 'properties' => array(
754
+ 'S' => array(
755
+ 'type' => 'string',
756
+ ),
757
+ 'N' => array(
758
+ 'type' => 'string',
759
+ ),
760
+ 'B' => array(
761
+ 'type' => 'string',
762
+ 'filters' => array(
763
+ 'base64_encode',
764
+ ),
765
+ ),
766
+ 'SS' => array(
767
+ 'type' => 'array',
768
+ 'items' => array(
769
+ 'name' => 'StringAttributeValue',
770
+ 'type' => 'string',
771
+ ),
772
+ ),
773
+ 'NS' => array(
774
+ 'type' => 'array',
775
+ 'items' => array(
776
+ 'name' => 'NumberAttributeValue',
777
+ 'type' => 'string',
778
+ ),
779
+ ),
780
+ 'BS' => array(
781
+ 'type' => 'array',
782
+ 'items' => array(
783
+ 'name' => 'BinaryAttributeValue',
784
+ 'type' => 'string',
785
+ 'filters' => array(
786
+ 'base64_encode',
787
+ ),
788
+ ),
789
+ ),
790
+ ),
791
+ ),
792
+ ),
793
  ),
794
  ),
795
  ),
796
+ 'ConditionalOperator' => array(
797
+ 'type' => 'string',
798
+ 'location' => 'json',
799
+ ),
800
  'ReturnValues' => array(
801
  'type' => 'string',
802
  'location' => 'json',
 
 
 
 
 
 
 
803
  ),
804
  'ReturnConsumedCapacity' => array(
805
  'type' => 'string',
806
  'location' => 'json',
 
 
 
 
807
  ),
808
  'ReturnItemCollectionMetrics' => array(
809
  'type' => 'string',
810
  'location' => 'json',
 
 
 
 
811
  ),
812
  ),
813
  'errorResponses' => array(
872
  'class' => 'ResourceNotFoundException',
873
  ),
874
  array(
875
+ 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. Also, for tables with secondary indexes, only one of those tables can be in the CREATING state at any point in time. Do not attempt to create more than one such table simultaneously. The total limit of tables in the ACTIVE state is 250.',
876
  'class' => 'LimitExceededException',
877
  ),
878
  array(
1005
  'items' => array(
1006
  'name' => 'AttributeName',
1007
  'type' => 'string',
1008
+ 'maxLength' => 65535,
1009
  ),
1010
  ),
1011
  'ConsistentRead' => array(
1016
  'ReturnConsumedCapacity' => array(
1017
  'type' => 'string',
1018
  'location' => 'json',
 
 
 
 
1019
  ),
1020
  ),
1021
  'errorResponses' => array(
1205
  'type' => 'boolean',
1206
  'format' => 'boolean-string',
1207
  ),
1208
+ 'ComparisonOperator' => array(
1209
+ 'type' => 'string',
1210
+ ),
1211
+ 'AttributeValueList' => array(
1212
+ 'type' => 'array',
1213
+ 'items' => array(
1214
+ 'name' => 'AttributeValue',
1215
+ 'type' => 'object',
1216
+ 'properties' => array(
1217
+ 'S' => array(
1218
+ 'type' => 'string',
1219
+ ),
1220
+ 'N' => array(
1221
+ 'type' => 'string',
1222
+ ),
1223
+ 'B' => array(
1224
+ 'type' => 'string',
1225
+ 'filters' => array(
1226
+ 'base64_encode',
1227
+ ),
1228
+ ),
1229
+ 'SS' => array(
1230
+ 'type' => 'array',
1231
+ 'items' => array(
1232
+ 'name' => 'StringAttributeValue',
1233
+ 'type' => 'string',
1234
+ ),
1235
+ ),
1236
+ 'NS' => array(
1237
+ 'type' => 'array',
1238
+ 'items' => array(
1239
+ 'name' => 'NumberAttributeValue',
1240
+ 'type' => 'string',
1241
+ ),
1242
+ ),
1243
+ 'BS' => array(
1244
+ 'type' => 'array',
1245
+ 'items' => array(
1246
+ 'name' => 'BinaryAttributeValue',
1247
+ 'type' => 'string',
1248
+ 'filters' => array(
1249
+ 'base64_encode',
1250
+ ),
1251
+ ),
1252
+ ),
1253
+ ),
1254
+ ),
1255
+ ),
1256
  ),
1257
  ),
1258
  ),
1259
  'ReturnValues' => array(
1260
  'type' => 'string',
1261
  'location' => 'json',
 
 
 
 
 
 
 
1262
  ),
1263
  'ReturnConsumedCapacity' => array(
1264
  'type' => 'string',
1265
  'location' => 'json',
 
 
 
 
1266
  ),
1267
  'ReturnItemCollectionMetrics' => array(
1268
  'type' => 'string',
1269
  'location' => 'json',
1270
+ ),
1271
+ 'ConditionalOperator' => array(
1272
+ 'type' => 'string',
1273
+ 'location' => 'json',
1274
  ),
1275
  ),
1276
  'errorResponses' => array(
1333
  'Select' => array(
1334
  'type' => 'string',
1335
  'location' => 'json',
 
 
 
 
 
 
1336
  ),
1337
  'AttributesToGet' => array(
1338
  'type' => 'array',
1341
  'items' => array(
1342
  'name' => 'AttributeName',
1343
  'type' => 'string',
1344
+ 'maxLength' => 65535,
1345
  ),
1346
  ),
1347
  'Limit' => array(
1355
  'location' => 'json',
1356
  ),
1357
  'KeyConditions' => array(
1358
+ 'required' => true,
1359
  'type' => 'object',
1360
  'location' => 'json',
1361
  'additionalProperties' => array(
1412
  'ComparisonOperator' => array(
1413
  'required' => true,
1414
  'type' => 'string',
1415
+ ),
1416
+ ),
1417
+ ),
1418
+ ),
1419
+ 'QueryFilter' => array(
1420
+ 'type' => 'object',
1421
+ 'location' => 'json',
1422
+ 'additionalProperties' => array(
1423
+ 'type' => 'object',
1424
+ 'data' => array(
1425
+ 'shape_name' => 'AttributeName',
1426
+ ),
1427
+ 'properties' => array(
1428
+ 'AttributeValueList' => array(
1429
+ 'type' => 'array',
1430
+ 'items' => array(
1431
+ 'name' => 'AttributeValue',
1432
+ 'type' => 'object',
1433
+ 'properties' => array(
1434
+ 'S' => array(
1435
+ 'type' => 'string',
1436
+ ),
1437
+ 'N' => array(
1438
+ 'type' => 'string',
1439
+ ),
1440
+ 'B' => array(
1441
+ 'type' => 'string',
1442
+ 'filters' => array(
1443
+ 'base64_encode',
1444
+ ),
1445
+ ),
1446
+ 'SS' => array(
1447
+ 'type' => 'array',
1448
+ 'items' => array(
1449
+ 'name' => 'StringAttributeValue',
1450
+ 'type' => 'string',
1451
+ ),
1452
+ ),
1453
+ 'NS' => array(
1454
+ 'type' => 'array',
1455
+ 'items' => array(
1456
+ 'name' => 'NumberAttributeValue',
1457
+ 'type' => 'string',
1458
+ ),
1459
+ ),
1460
+ 'BS' => array(
1461
+ 'type' => 'array',
1462
+ 'items' => array(
1463
+ 'name' => 'BinaryAttributeValue',
1464
+ 'type' => 'string',
1465
+ 'filters' => array(
1466
+ 'base64_encode',
1467
+ ),
1468
+ ),
1469
+ ),
1470
+ ),
1471
  ),
1472
  ),
1473
+ 'ComparisonOperator' => array(
1474
+ 'required' => true,
1475
+ 'type' => 'string',
1476
+ ),
1477
  ),
1478
  ),
1479
  ),
1480
+ 'ConditionalOperator' => array(
1481
+ 'type' => 'string',
1482
+ 'location' => 'json',
1483
+ ),
1484
  'ScanIndexForward' => array(
1485
  'type' => 'boolean',
1486
  'format' => 'boolean-string',
1537
  'ReturnConsumedCapacity' => array(
1538
  'type' => 'string',
1539
  'location' => 'json',
 
 
 
 
1540
  ),
1541
  ),
1542
  'errorResponses' => array(
1589
  'items' => array(
1590
  'name' => 'AttributeName',
1591
  'type' => 'string',
1592
+ 'maxLength' => 65535,
1593
  ),
1594
  ),
1595
  'Limit' => array(
1600
  'Select' => array(
1601
  'type' => 'string',
1602
  'location' => 'json',
 
 
 
 
 
 
1603
  ),
1604
  'ScanFilter' => array(
1605
  'type' => 'object',
1658
  'ComparisonOperator' => array(
1659
  'required' => true,
1660
  'type' => 'string',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1661
  ),
1662
  ),
1663
  ),
1664
  ),
1665
+ 'ConditionalOperator' => array(
1666
+ 'type' => 'string',
1667
+ 'location' => 'json',
1668
+ ),
1669
  'ExclusiveStartKey' => array(
1670
  'type' => 'object',
1671
  'location' => 'json',
1717
  'ReturnConsumedCapacity' => array(
1718
  'type' => 'string',
1719
  'location' => 'json',
 
 
 
 
1720
  ),
1721
  'TotalSegments' => array(
1722
  'type' => 'numeric',
1723
  'location' => 'json',
1724
  'minimum' => 1,
1725
+ 'maximum' => 1000000,
1726
  ),
1727
  'Segment' => array(
1728
  'type' => 'numeric',
1729
  'location' => 'json',
1730
+ 'maximum' => 999999,
1731
  ),
1732
  ),
1733
  'errorResponses' => array(
1874
  ),
1875
  'Action' => array(
1876
  'type' => 'string',
 
 
 
 
 
1877
  ),
1878
  ),
1879
  ),
1932
  'type' => 'boolean',
1933
  'format' => 'boolean-string',
1934
  ),
1935
+ 'ComparisonOperator' => array(
1936
+ 'type' => 'string',
1937
+ ),
1938
+ 'AttributeValueList' => array(
1939
+ 'type' => 'array',
1940
+ 'items' => array(
1941
+ 'name' => 'AttributeValue',
1942
+ 'type' => 'object',
1943
+ 'properties' => array(
1944
+ 'S' => array(
1945
+ 'type' => 'string',
1946
+ ),
1947
+ 'N' => array(
1948
+ 'type' => 'string',
1949
+ ),
1950
+ 'B' => array(
1951
+ 'type' => 'string',
1952
+ 'filters' => array(
1953
+ 'base64_encode',
1954
+ ),
1955
+ ),
1956
+ 'SS' => array(
1957
+ 'type' => 'array',
1958
+ 'items' => array(
1959
+ 'name' => 'StringAttributeValue',
1960
+ 'type' => 'string',
1961
+ ),
1962
+ ),
1963
+ 'NS' => array(
1964
+ 'type' => 'array',
1965
+ 'items' => array(
1966
+ 'name' => 'NumberAttributeValue',
1967
+ 'type' => 'string',
1968
+ ),
1969
+ ),
1970
+ 'BS' => array(
1971
+ 'type' => 'array',
1972
+ 'items' => array(
1973
+ 'name' => 'BinaryAttributeValue',
1974
+ 'type' => 'string',
1975
+ 'filters' => array(
1976
+ 'base64_encode',
1977
+ ),
1978
+ ),
1979
+ ),
1980
+ ),
1981
+ ),
1982
+ ),
1983
+ ),
1984
+ ),
1985
+ ),
1986
+ 'ConditionalOperator' => array(
1987
+ 'type' => 'string',
1988
+ 'location' => 'json',
1989
  ),
1990
  'ReturnValues' => array(
1991
  'type' => 'string',
1992
  'location' => 'json',
 
 
 
 
 
 
 
1993
  ),
1994
  'ReturnConsumedCapacity' => array(
1995
  'type' => 'string',
1996
  'location' => 'json',
 
 
 
 
1997
  ),
1998
  'ReturnItemCollectionMetrics' => array(
1999
  'type' => 'string',
2000
  'location' => 'json',
 
 
 
 
2001
  ),
2002
  ),
2003
  'errorResponses' => array(
2052
  'maxLength' => 255,
2053
  ),
2054
  'ProvisionedThroughput' => array(
 
2055
  'type' => 'object',
2056
  'location' => 'json',
2057
  'properties' => array(
2067
  ),
2068
  ),
2069
  ),
2070
+ 'GlobalSecondaryIndexUpdates' => array(
2071
+ 'type' => 'array',
2072
+ 'location' => 'json',
2073
+ 'items' => array(
2074
+ 'name' => 'GlobalSecondaryIndexUpdate',
2075
+ 'type' => 'object',
2076
+ 'properties' => array(
2077
+ 'Update' => array(
2078
+ 'type' => 'object',
2079
+ 'properties' => array(
2080
+ 'IndexName' => array(
2081
+ 'required' => true,
2082
+ 'type' => 'string',
2083
+ 'minLength' => 3,
2084
+ 'maxLength' => 255,
2085
+ ),
2086
+ 'ProvisionedThroughput' => array(
2087
+ 'required' => true,
2088
+ 'type' => 'object',
2089
+ 'properties' => array(
2090
+ 'ReadCapacityUnits' => array(
2091
+ 'required' => true,
2092
+ 'type' => 'numeric',
2093
+ 'minimum' => 1,
2094
+ ),
2095
+ 'WriteCapacityUnits' => array(
2096
+ 'required' => true,
2097
+ 'type' => 'numeric',
2098
+ 'minimum' => 1,
2099
+ ),
2100
+ ),
2101
+ ),
2102
+ ),
2103
+ ),
2104
+ ),
2105
+ ),
2106
+ ),
2107
  ),
2108
  'errorResponses' => array(
2109
  array(
2115
  'class' => 'ResourceNotFoundException',
2116
  ),
2117
  array(
2118
+ 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. Also, for tables with secondary indexes, only one of those tables can be in the CREATING state at any point in time. Do not attempt to create more than one such table simultaneously. The total limit of tables in the ACTIVE state is 250.',
2119
  'class' => 'LimitExceededException',
2120
  ),
2121
  array(
2149
  ),
2150
  'B' => array(
2151
  'type' => 'string',
2152
+ 'filters' => array(
2153
+ 'base64_decode',
2154
+ ),
2155
  ),
2156
  'SS' => array(
2157
  'type' => 'array',
2172
  'items' => array(
2173
  'name' => 'BinaryAttributeValue',
2174
  'type' => 'string',
2175
+ 'filters' => array(
2176
+ 'base64_decode',
2177
+ ),
2178
  ),
2179
  ),
2180
  ),
2204
  ),
2205
  'B' => array(
2206
  'type' => 'string',
2207
+ 'filters' => array(
2208
+ 'base64_decode',
2209
+ ),
2210
  ),
2211
  'SS' => array(
2212
  'type' => 'array',
2227
  'items' => array(
2228
  'name' => 'BinaryAttributeValue',
2229
  'type' => 'string',
2230
+ 'filters' => array(
2231
+ 'base64_decode',
2232
+ ),
2233
  ),
2234
  ),
2235
  ),
2262
  'CapacityUnits' => array(
2263
  'type' => 'numeric',
2264
  ),
2265
+ 'Table' => array(
2266
+ 'type' => 'object',
2267
+ 'properties' => array(
2268
+ 'CapacityUnits' => array(
2269
+ 'type' => 'numeric',
2270
+ ),
2271
+ ),
2272
+ ),
2273
+ 'LocalSecondaryIndexes' => array(
2274
+ 'type' => 'object',
2275
+ 'additionalProperties' => array(
2276
+ 'type' => 'object',
2277
+ 'properties' => array(
2278
+ 'CapacityUnits' => array(
2279
+ 'type' => 'numeric',
2280
+ ),
2281
+ ),
2282
+ ),
2283
+ ),
2284
+ 'GlobalSecondaryIndexes' => array(
2285
+ 'type' => 'object',
2286
+ 'additionalProperties' => array(
2287
+ 'type' => 'object',
2288
+ 'properties' => array(
2289
+ 'CapacityUnits' => array(
2290
+ 'type' => 'numeric',
2291
+ ),
2292
+ ),
2293
+ ),
2294
+ ),
2295
  ),
2296
  ),
2297
  ),
2326
  ),
2327
  'B' => array(
2328
  'type' => 'string',
2329
+ 'filters' => array(
2330
+ 'base64_decode',
2331
+ ),
2332
  ),
2333
  'SS' => array(
2334
  'type' => 'array',
2349
  'items' => array(
2350
  'name' => 'BinaryAttributeValue',
2351
  'type' => 'string',
2352
+ 'filters' => array(
2353
+ 'base64_decode',
2354
+ ),
2355
  ),
2356
  ),
2357
  ),
2375
  ),
2376
  'B' => array(
2377
  'type' => 'string',
2378
+ 'filters' => array(
2379
+ 'base64_decode',
2380
+ ),
2381
  ),
2382
  'SS' => array(
2383
  'type' => 'array',
2398
  'items' => array(
2399
  'name' => 'BinaryAttributeValue',
2400
  'type' => 'string',
2401
+ 'filters' => array(
2402
+ 'base64_decode',
2403
+ ),
2404
  ),
2405
  ),
2406
  ),
2434
  ),
2435
  'B' => array(
2436
  'type' => 'string',
2437
+ 'filters' => array(
2438
+ 'base64_decode',
2439
+ ),
2440
  ),
2441
  'SS' => array(
2442
  'type' => 'array',
2457
  'items' => array(
2458
  'name' => 'BinaryAttributeValue',
2459
  'type' => 'string',
2460
+ 'filters' => array(
2461
+ 'base64_decode',
2462
+ ),
2463
  ),
2464
  ),
2465
  ),
2489
  'CapacityUnits' => array(
2490
  'type' => 'numeric',
2491
  ),
2492
+ 'Table' => array(
2493
+ 'type' => 'object',
2494
+ 'properties' => array(
2495
+ 'CapacityUnits' => array(
2496
+ 'type' => 'numeric',
2497
+ ),
2498
+ ),
2499
+ ),
2500
+ 'LocalSecondaryIndexes' => array(
2501
+ 'type' => 'object',
2502
+ 'additionalProperties' => array(
2503
+ 'type' => 'object',
2504
+ 'properties' => array(
2505
+ 'CapacityUnits' => array(
2506
+ 'type' => 'numeric',
2507
+ ),
2508
+ ),
2509
+ ),
2510
+ ),
2511
+ 'GlobalSecondaryIndexes' => array(
2512
+ 'type' => 'object',
2513
+ 'additionalProperties' => array(
2514
+ 'type' => 'object',
2515
+ 'properties' => array(
2516
+ 'CapacityUnits' => array(
2517
+ 'type' => 'numeric',
2518
+ ),
2519
+ ),
2520
+ ),
2521
+ ),
2522
  ),
2523
  ),
2524
  ),
2645
  ),
2646
  ),
2647
  ),
2648
+ 'GlobalSecondaryIndexes' => array(
2649
+ 'type' => 'array',
2650
+ 'items' => array(
2651
+ 'name' => 'GlobalSecondaryIndexDescription',
2652
+ 'type' => 'object',
2653
+ 'properties' => array(
2654
+ 'IndexName' => array(
2655
+ 'type' => 'string',
2656
+ ),
2657
+ 'KeySchema' => array(
2658
+ 'type' => 'array',
2659
+ 'items' => array(
2660
+ 'name' => 'KeySchemaElement',
2661
+ 'type' => 'object',
2662
+ 'properties' => array(
2663
+ 'AttributeName' => array(
2664
+ 'type' => 'string',
2665
+ ),
2666
+ 'KeyType' => array(
2667
+ 'type' => 'string',
2668
+ ),
2669
+ ),
2670
+ ),
2671
+ ),
2672
+ 'Projection' => array(
2673
+ 'type' => 'object',
2674
+ 'properties' => array(
2675
+ 'ProjectionType' => array(
2676
+ 'type' => 'string',
2677
+ ),
2678
+ 'NonKeyAttributes' => array(
2679
+ 'type' => 'array',
2680
+ 'items' => array(
2681
+ 'name' => 'NonKeyAttributeName',
2682
+ 'type' => 'string',
2683
+ ),
2684
+ ),
2685
+ ),
2686
+ ),
2687
+ 'IndexStatus' => array(
2688
+ 'type' => 'string',
2689
+ ),
2690
+ 'ProvisionedThroughput' => array(
2691
+ 'type' => 'object',
2692
+ 'properties' => array(
2693
+ 'LastIncreaseDateTime' => array(
2694
+ 'type' => 'string',
2695
+ ),
2696
+ 'LastDecreaseDateTime' => array(
2697
+ 'type' => 'string',
2698
+ ),
2699
+ 'NumberOfDecreasesToday' => array(
2700
+ 'type' => 'numeric',
2701
+ ),
2702
+ 'ReadCapacityUnits' => array(
2703
+ 'type' => 'numeric',
2704
+ ),
2705
+ 'WriteCapacityUnits' => array(
2706
+ 'type' => 'numeric',
2707
+ ),
2708
+ ),
2709
+ ),
2710
+ 'IndexSizeBytes' => array(
2711
+ 'type' => 'numeric',
2712
+ ),
2713
+ 'ItemCount' => array(
2714
+ 'type' => 'numeric',
2715
+ ),
2716
+ ),
2717
+ ),
2718
+ ),
2719
  ),
2720
  ),
2721
  ),
2738
  ),
2739
  'B' => array(
2740
  'type' => 'string',
2741
+ 'filters' => array(
2742
+ 'base64_decode',
2743
+ ),
2744
  ),
2745
  'SS' => array(
2746
  'type' => 'array',
2761
  'items' => array(
2762
  'name' => 'BinaryAttributeValue',
2763
  'type' => 'string',
2764
+ 'filters' => array(
2765
+ 'base64_decode',
2766
+ ),
2767
  ),
2768
  ),
2769
  ),
2779
  'CapacityUnits' => array(
2780
  'type' => 'numeric',
2781
  ),
2782
+ 'Table' => array(
2783
+ 'type' => 'object',
2784
+ 'properties' => array(
2785
+ 'CapacityUnits' => array(
2786
+ 'type' => 'numeric',
2787
+ ),
2788
+ ),
2789
+ ),
2790
+ 'LocalSecondaryIndexes' => array(
2791
+ 'type' => 'object',
2792
+ 'additionalProperties' => array(
2793
+ 'type' => 'object',
2794
+ 'properties' => array(
2795
+ 'CapacityUnits' => array(
2796
+ 'type' => 'numeric',
2797
+ ),
2798
+ ),
2799
+ ),
2800
+ ),
2801
+ 'GlobalSecondaryIndexes' => array(
2802
+ 'type' => 'object',
2803
+ 'additionalProperties' => array(
2804
+ 'type' => 'object',
2805
+ 'properties' => array(
2806
+ 'CapacityUnits' => array(
2807
+ 'type' => 'numeric',
2808
+ ),
2809
+ ),
2810
+ ),
2811
+ ),
2812
  ),
2813
  ),
2814
  'ItemCollectionMetrics' => array(
2828
  ),
2829
  'B' => array(
2830
  'type' => 'string',
2831
+ 'filters' => array(
2832
+ 'base64_decode',
2833
+ ),
2834
  ),
2835
  'SS' => array(
2836
  'type' => 'array',
2851
  'items' => array(
2852
  'name' => 'BinaryAttributeValue',
2853
  'type' => 'string',
2854
+ 'filters' => array(
2855
+ 'base64_decode',
2856
+ ),
2857
  ),
2858
  ),
2859
  ),
2991
  ),
2992
  ),
2993
  ),
2994
+ 'GlobalSecondaryIndexes' => array(
 
 
 
 
 
 
 
 
 
 
 
 
2995
  'type' => 'array',
2996
  'items' => array(
2997
+ 'name' => 'GlobalSecondaryIndexDescription',
2998
  'type' => 'object',
2999
  'properties' => array(
3000
+ 'IndexName' => array(
 
 
 
3001
  'type' => 'string',
3002
  ),
3003
+ 'KeySchema' => array(
3004
+ 'type' => 'array',
3005
+ 'items' => array(
3006
+ 'name' => 'KeySchemaElement',
3007
+ 'type' => 'object',
3008
+ 'properties' => array(
3009
+ 'AttributeName' => array(
3010
+ 'type' => 'string',
3011
+ ),
3012
+ 'KeyType' => array(
3013
+ 'type' => 'string',
3014
+ ),
3015
+ ),
3016
+ ),
3017
+ ),
3018
+ 'Projection' => array(
3019
+ 'type' => 'object',
3020
+ 'properties' => array(
3021
+ 'ProjectionType' => array(
3022
+ 'type' => 'string',
3023
+ ),
3024
+ 'NonKeyAttributes' => array(
3025
+ 'type' => 'array',
3026
+ 'items' => array(
3027
+ 'name' => 'NonKeyAttributeName',
3028
+ 'type' => 'string',
3029
+ ),
3030
+ ),
3031
+ ),
3032
+ ),
3033
+ 'IndexStatus' => array(
3034
+ 'type' => 'string',
3035
+ ),
3036
+ 'ProvisionedThroughput' => array(
3037
+ 'type' => 'object',
3038
+ 'properties' => array(
3039
+ 'LastIncreaseDateTime' => array(
3040
+ 'type' => 'string',
3041
+ ),
3042
+ 'LastDecreaseDateTime' => array(
3043
+ 'type' => 'string',
3044
+ ),
3045
+ 'NumberOfDecreasesToday' => array(
3046
+ 'type' => 'numeric',
3047
+ ),
3048
+ 'ReadCapacityUnits' => array(
3049
+ 'type' => 'numeric',
3050
+ ),
3051
+ 'WriteCapacityUnits' => array(
3052
+ 'type' => 'numeric',
3053
+ ),
3054
+ ),
3055
+ ),
3056
+ 'IndexSizeBytes' => array(
3057
+ 'type' => 'numeric',
3058
+ ),
3059
+ 'ItemCount' => array(
3060
+ 'type' => 'numeric',
3061
+ ),
3062
+ ),
3063
+ ),
3064
+ ),
3065
+ ),
3066
+ ),
3067
+ ),
3068
+ ),
3069
+ 'DescribeTableOutput' => array(
3070
+ 'type' => 'object',
3071
+ 'additionalProperties' => true,
3072
+ 'properties' => array(
3073
+ 'Table' => array(
3074
+ 'type' => 'object',
3075
+ 'location' => 'json',
3076
+ 'properties' => array(
3077
+ 'AttributeDefinitions' => array(
3078
+ 'type' => 'array',
3079
+ 'items' => array(
3080
+ 'name' => 'AttributeDefinition',
3081
+ 'type' => 'object',
3082
+ 'properties' => array(
3083
+ 'AttributeName' => array(
3084
+ 'type' => 'string',
3085
+ ),
3086
+ 'AttributeType' => array(
3087
+ 'type' => 'string',
3088
+ ),
3089
+ ),
3090
+ ),
3091
+ ),
3092
+ 'TableName' => array(
3093
+ 'type' => 'string',
3094
+ ),
3095
+ 'KeySchema' => array(
3096
  'type' => 'array',
3097
  'items' => array(
3098
  'name' => 'KeySchemaElement',
3187
  ),
3188
  ),
3189
  ),
3190
+ 'GlobalSecondaryIndexes' => array(
3191
+ 'type' => 'array',
3192
+ 'items' => array(
3193
+ 'name' => 'GlobalSecondaryIndexDescription',
3194
+ 'type' => 'object',
3195
+ 'properties' => array(
3196
+ 'IndexName' => array(
3197
+ 'type' => 'string',
3198
+ ),
3199
+ 'KeySchema' => array(
3200
+ 'type' => 'array',
3201
+ 'items' => array(
3202
+ 'name' => 'KeySchemaElement',
3203
+ 'type' => 'object',
3204
+ 'properties' => array(
3205
+ 'AttributeName' => array(
3206
+ 'type' => 'string',
3207
+ ),
3208
+ 'KeyType' => array(
3209
+ 'type' => 'string',
3210
+ ),
3211
+ ),
3212
+ ),
3213
+ ),
3214
+ 'Projection' => array(
3215
+ 'type' => 'object',
3216
+ 'properties' => array(
3217
+ 'ProjectionType' => array(
3218
+ 'type' => 'string',
3219
+ ),
3220
+ 'NonKeyAttributes' => array(
3221
+ 'type' => 'array',
3222
+ 'items' => array(
3223
+ 'name' => 'NonKeyAttributeName',
3224
+ 'type' => 'string',
3225
+ ),
3226
+ ),
3227
+ ),
3228
+ ),
3229
+ 'IndexStatus' => array(
3230
+ 'type' => 'string',
3231
+ ),
3232
+ 'ProvisionedThroughput' => array(
3233
+ 'type' => 'object',
3234
+ 'properties' => array(
3235
+ 'LastIncreaseDateTime' => array(
3236
+ 'type' => 'string',
3237
+ ),
3238
+ 'LastDecreaseDateTime' => array(
3239
+ 'type' => 'string',
3240
+ ),
3241
+ 'NumberOfDecreasesToday' => array(
3242
+ 'type' => 'numeric',
3243
+ ),
3244
+ 'ReadCapacityUnits' => array(
3245
+ 'type' => 'numeric',
3246
+ ),
3247
+ 'WriteCapacityUnits' => array(
3248
+ 'type' => 'numeric',
3249
+ ),
3250
+ ),
3251
+ ),
3252
+ 'IndexSizeBytes' => array(
3253
+ 'type' => 'numeric',
3254
+ ),
3255
+ 'ItemCount' => array(
3256
+ 'type' => 'numeric',
3257
+ ),
3258
+ ),
3259
+ ),
3260
+ ),
3261
  ),
3262
  ),
3263
  ),
3280
  ),
3281
  'B' => array(
3282
  'type' => 'string',
3283
+ 'filters' => array(
3284
+ 'base64_decode',
3285
+ ),
3286
  ),
3287
  'SS' => array(
3288
  'type' => 'array',
3303
  'items' => array(
3304
  'name' => 'BinaryAttributeValue',
3305
  'type' => 'string',
3306
+ 'filters' => array(
3307
+ 'base64_decode',
3308
+ ),
3309
  ),
3310
  ),
3311
  ),
3321
  'CapacityUnits' => array(
3322
  'type' => 'numeric',
3323
  ),
3324
+ 'Table' => array(
3325
+ 'type' => 'object',
3326
+ 'properties' => array(
3327
+ 'CapacityUnits' => array(
3328
+ 'type' => 'numeric',
3329
+ ),
3330
+ ),
3331
+ ),
3332
+ 'LocalSecondaryIndexes' => array(
3333
+ 'type' => 'object',
3334
+ 'additionalProperties' => array(
3335
+ 'type' => 'object',
3336
+ 'properties' => array(
3337
+ 'CapacityUnits' => array(
3338
+ 'type' => 'numeric',
3339
+ ),
3340
+ ),
3341
+ ),
3342
+ ),
3343
+ 'GlobalSecondaryIndexes' => array(
3344
+ 'type' => 'object',
3345
+ 'additionalProperties' => array(
3346
+ 'type' => 'object',
3347
+ 'properties' => array(
3348
+ 'CapacityUnits' => array(
3349
+ 'type' => 'numeric',
3350
+ ),
3351
+ ),
3352
+ ),
3353
+ ),
3354
  ),
3355
  ),
3356
  ),
3391
  ),
3392
  'B' => array(
3393
  'type' => 'string',
3394
+ 'filters' => array(
3395
+ 'base64_decode',
3396
+ ),
3397
  ),
3398
  'SS' => array(
3399
  'type' => 'array',
3414
  'items' => array(
3415
  'name' => 'BinaryAttributeValue',
3416
  'type' => 'string',
3417
+ 'filters' => array(
3418
+ 'base64_decode',
3419
+ ),
3420
  ),
3421
  ),
3422
  ),
3432
  'CapacityUnits' => array(
3433
  'type' => 'numeric',
3434
  ),
3435
+ 'Table' => array(
3436
+ 'type' => 'object',
3437
+ 'properties' => array(
3438
+ 'CapacityUnits' => array(
3439
+ 'type' => 'numeric',
3440
+ ),
3441
+ ),
3442
+ ),
3443
+ 'LocalSecondaryIndexes' => array(
3444
+ 'type' => 'object',
3445
+ 'additionalProperties' => array(
3446
+ 'type' => 'object',
3447
+ 'properties' => array(
3448
+ 'CapacityUnits' => array(
3449
+ 'type' => 'numeric',
3450
+ ),
3451
+ ),
3452
+ ),
3453
+ ),
3454
+ 'GlobalSecondaryIndexes' => array(
3455
+ 'type' => 'object',
3456
+ 'additionalProperties' => array(
3457
+ 'type' => 'object',
3458
+ 'properties' => array(
3459
+ 'CapacityUnits' => array(
3460
+ 'type' => 'numeric',
3461
+ ),
3462
+ ),
3463
+ ),
3464
+ ),
3465
  ),
3466
  ),
3467
  'ItemCollectionMetrics' => array(
3481
  ),
3482
  'B' => array(
3483
  'type' => 'string',
3484
+ 'filters' => array(
3485
+ 'base64_decode',
3486
+ ),
3487
  ),
3488
  'SS' => array(
3489
  'type' => 'array',
3504
  'items' => array(
3505
  'name' => 'BinaryAttributeValue',
3506
  'type' => 'string',
3507
+ 'filters' => array(
3508
+ 'base64_decode',
3509
+ ),
3510
  ),
3511
  ),
3512
  ),
3544
  ),
3545
  'B' => array(
3546
  'type' => 'string',
3547
+ 'filters' => array(
3548
+ 'base64_decode',
3549
+ ),
3550
  ),
3551
  'SS' => array(
3552
  'type' => 'array',
3567
  'items' => array(
3568
  'name' => 'BinaryAttributeValue',
3569
  'type' => 'string',
3570
+ 'filters' => array(
3571
+ 'base64_decode',
3572
+ ),
3573
  ),
3574
  ),
3575
  ),
3580
  'type' => 'numeric',
3581
  'location' => 'json',
3582
  ),
3583
+ 'ScannedCount' => array(
3584
+ 'type' => 'numeric',
3585
+ 'location' => 'json',
3586
+ ),
3587
  'LastEvaluatedKey' => array(
3588
  'type' => 'object',
3589
  'location' => 'json',
3598
  ),
3599
  'B' => array(
3600
  'type' => 'string',
3601
+ 'filters' => array(
3602
+ 'base64_decode',
3603
+ ),
3604
  ),
3605
  'SS' => array(
3606
  'type' => 'array',
3621
  'items' => array(
3622
  'name' => 'BinaryAttributeValue',
3623
  'type' => 'string',
3624
+ 'filters' => array(
3625
+ 'base64_decode',
3626
+ ),
3627
  ),
3628
  ),
3629
  ),
3639
  'CapacityUnits' => array(
3640
  'type' => 'numeric',
3641
  ),
3642
+ 'Table' => array(
3643
+ 'type' => 'object',
3644
+ 'properties' => array(
3645
+ 'CapacityUnits' => array(
3646
+ 'type' => 'numeric',
3647
+ ),
3648
+ ),
3649
+ ),
3650
+ 'LocalSecondaryIndexes' => array(
3651
+ 'type' => 'object',
3652
+ 'additionalProperties' => array(
3653
+ 'type' => 'object',
3654
+ 'properties' => array(
3655
+ 'CapacityUnits' => array(
3656
+ 'type' => 'numeric',
3657
+ ),
3658
+ ),
3659
+ ),
3660
+ ),
3661
+ 'GlobalSecondaryIndexes' => array(
3662
+ 'type' => 'object',
3663
+ 'additionalProperties' => array(
3664
+ 'type' => 'object',
3665
+ 'properties' => array(
3666
+ 'CapacityUnits' => array(
3667
+ 'type' => 'numeric',
3668
+ ),
3669
+ ),
3670
+ ),
3671
+ ),
3672
  ),
3673
  ),
3674
  ),
3694
  ),
3695
  'B' => array(
3696
  'type' => 'string',
3697
+ 'filters' => array(
3698
+ 'base64_decode',
3699
+ ),
3700
  ),
3701
  'SS' => array(
3702
  'type' => 'array',
3717
  'items' => array(
3718
  'name' => 'BinaryAttributeValue',
3719
  'type' => 'string',
3720
+ 'filters' => array(
3721
+ 'base64_decode',
3722
+ ),
3723
  ),
3724
  ),
3725
  ),
3748
  ),
3749
  'B' => array(
3750
  'type' => 'string',
3751
+ 'filters' => array(
3752
+ 'base64_decode',
3753
+ ),
3754
  ),
3755
  'SS' => array(
3756
  'type' => 'array',
3771
  'items' => array(
3772
  'name' => 'BinaryAttributeValue',
3773
  'type' => 'string',
3774
+ 'filters' => array(
3775
+ 'base64_decode',
3776
+ ),
3777
  ),
3778
  ),
3779
  ),
3789
  'CapacityUnits' => array(
3790
  'type' => 'numeric',
3791
  ),
3792
+ 'Table' => array(
3793
+ 'type' => 'object',
3794
+ 'properties' => array(
3795
+ 'CapacityUnits' => array(
3796
+ 'type' => 'numeric',
3797
+ ),
3798
+ ),
3799
+ ),
3800
+ 'LocalSecondaryIndexes' => array(
3801
+ 'type' => 'object',
3802
+ 'additionalProperties' => array(
3803
+ 'type' => 'object',
3804
+ 'properties' => array(
3805
+ 'CapacityUnits' => array(
3806
+ 'type' => 'numeric',
3807
+ ),
3808
+ ),
3809
+ ),
3810
+ ),
3811
+ 'GlobalSecondaryIndexes' => array(
3812
+ 'type' => 'object',
3813
+ 'additionalProperties' => array(
3814
+ 'type' => 'object',
3815
+ 'properties' => array(
3816
+ 'CapacityUnits' => array(
3817
+ 'type' => 'numeric',
3818
+ ),
3819
+ ),
3820
+ ),
3821
+ ),
3822
  ),
3823
  ),
3824
  ),
3841
  ),
3842
  'B' => array(
3843
  'type' => 'string',
3844
+ 'filters' => array(
3845
+ 'base64_decode',
3846
+ ),
3847
  ),
3848
  'SS' => array(
3849
  'type' => 'array',
3864
  'items' => array(
3865
  'name' => 'BinaryAttributeValue',
3866
  'type' => 'string',
3867
+ 'filters' => array(
3868
+ 'base64_decode',
3869
+ ),
3870
  ),
3871
  ),
3872
  ),
3882
  'CapacityUnits' => array(
3883
  'type' => 'numeric',
3884
  ),
3885
+ 'Table' => array(
3886
+ 'type' => 'object',
3887
+ 'properties' => array(
3888
+ 'CapacityUnits' => array(
3889
+ 'type' => 'numeric',
3890
+ ),
3891
+ ),
3892
+ ),
3893
+ 'LocalSecondaryIndexes' => array(
3894
+ 'type' => 'object',
3895
+ 'additionalProperties' => array(
3896
+ 'type' => 'object',
3897
+ 'properties' => array(
3898
+ 'CapacityUnits' => array(
3899
+ 'type' => 'numeric',
3900
+ ),
3901
+ ),
3902
+ ),
3903
+ ),
3904
+ 'GlobalSecondaryIndexes' => array(
3905
+ 'type' => 'object',
3906
+ 'additionalProperties' => array(
3907
+ 'type' => 'object',
3908
+ 'properties' => array(
3909
+ 'CapacityUnits' => array(
3910
+ 'type' => 'numeric',
3911
+ ),
3912
+ ),
3913
+ ),
3914
+ ),
3915
  ),
3916
  ),
3917
  'ItemCollectionMetrics' => array(
3931
  ),
3932
  'B' => array(
3933
  'type' => 'string',
3934
+ 'filters' => array(
3935
+ 'base64_decode',
3936
+ ),
3937
  ),
3938
  'SS' => array(
3939
  'type' => 'array',
3954
  'items' => array(
3955
  'name' => 'BinaryAttributeValue',
3956
  'type' => 'string',
3957
+ 'filters' => array(
3958
+ 'base64_decode',
3959
+ ),
3960
  ),
3961
  ),
3962
  ),
4094
  ),
4095
  ),
4096
  ),
4097
+ 'GlobalSecondaryIndexes' => array(
4098
+ 'type' => 'array',
4099
+ 'items' => array(
4100
+ 'name' => 'GlobalSecondaryIndexDescription',
4101
+ 'type' => 'object',
4102
+ 'properties' => array(
4103
+ 'IndexName' => array(
4104
+ 'type' => 'string',
4105
+ ),
4106
+ 'KeySchema' => array(
4107
+ 'type' => 'array',
4108
+ 'items' => array(
4109
+ 'name' => 'KeySchemaElement',
4110
+ 'type' => 'object',
4111
+ 'properties' => array(
4112
+ 'AttributeName' => array(
4113
+ 'type' => 'string',
4114
+ ),
4115
+ 'KeyType' => array(
4116
+ 'type' => 'string',
4117
+ ),
4118
+ ),
4119
+ ),
4120
+ ),
4121
+ 'Projection' => array(
4122
+ 'type' => 'object',
4123
+ 'properties' => array(
4124
+ 'ProjectionType' => array(
4125
+ 'type' => 'string',
4126
+ ),
4127
+ 'NonKeyAttributes' => array(
4128
+ 'type' => 'array',
4129
+ 'items' => array(
4130
+ 'name' => 'NonKeyAttributeName',
4131
+ 'type' => 'string',
4132
+ ),
4133
+ ),
4134
+ ),
4135
+ ),
4136
+ 'IndexStatus' => array(
4137
+ 'type' => 'string',
4138
+ ),
4139
+ 'ProvisionedThroughput' => array(
4140
+ 'type' => 'object',
4141
+ 'properties' => array(
4142
+ 'LastIncreaseDateTime' => array(
4143
+ 'type' => 'string',
4144
+ ),
4145
+ 'LastDecreaseDateTime' => array(
4146
+ 'type' => 'string',
4147
+ ),
4148
+ 'NumberOfDecreasesToday' => array(
4149
+ 'type' => 'numeric',
4150
+ ),
4151
+ 'ReadCapacityUnits' => array(
4152
+ 'type' => 'numeric',
4153
+ ),
4154
+ 'WriteCapacityUnits' => array(
4155
+ 'type' => 'numeric',
4156
+ ),
4157
+ ),
4158
+ ),
4159
+ 'IndexSizeBytes' => array(
4160
+ 'type' => 'numeric',
4161
+ ),
4162
+ 'ItemCount' => array(
4163
+ 'type' => 'numeric',
4164
+ ),
4165
+ ),
4166
+ ),
4167
+ ),
4168
  ),
4169
  ),
4170
  ),
4171
  ),
4172
  ),
4173
+ 'iterators' => array(
4174
+ 'BatchGetItem' => array(
4175
+ 'input_token' => 'RequestItems',
4176
+ 'output_token' => 'UnprocessedKeys',
4177
+ 'result_key' => 'Responses/*',
4178
+ ),
4179
+ 'ListTables' => array(
4180
+ 'input_token' => 'ExclusiveStartTableName',
4181
+ 'output_token' => 'LastEvaluatedTableName',
4182
+ 'limit_key' => 'Limit',
4183
+ 'result_key' => 'TableNames',
4184
+ ),
4185
+ 'Query' => array(
4186
+ 'input_token' => 'ExclusiveStartKey',
4187
+ 'output_token' => 'LastEvaluatedKey',
4188
+ 'limit_key' => 'Limit',
4189
+ 'result_key' => 'Items',
4190
+ ),
4191
+ 'Scan' => array(
4192
+ 'input_token' => 'ExclusiveStartKey',
4193
+ 'output_token' => 'LastEvaluatedKey',
4194
+ 'limit_key' => 'Limit',
4195
+ 'result_key' => 'Items',
4196
+ ),
4197
+ ),
4198
  'waiters' => array(
4199
  '__default__' => array(
4200
  'interval' => 20,
vendor/aws/Aws/DynamoDb/Session/LockingStrategy/AbstractLockingStrategy.php CHANGED
@@ -61,11 +61,17 @@ abstract class AbstractLockingStrategy implements LockingStrategyInterface
61
  )
62
  );
63
  if ($isDataChanged) {
64
- $attributes['data'] = array(
65
- 'Value' => array(
66
- 'S' => $data
67
- )
68
- );
 
 
 
 
 
 
69
  }
70
  $attributes = array_merge($attributes, $this->getExtraAttributes());
71
 
61
  )
62
  );
63
  if ($isDataChanged) {
64
+ if ($data != '') {
65
+ $attributes['data'] = array(
66
+ 'Value' => array(
67
+ 'S' => $data
68
+ )
69
+ );
70
+ } else {
71
+ $attributes['data'] = array(
72
+ 'Action' => 'DELETE'
73
+ );
74
+ }
75
  }
76
  $attributes = array_merge($attributes, $this->getExtraAttributes());
77
 
vendor/aws/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactory.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyFactoryInterface.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Session/LockingStrategy/LockingStrategyInterface.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Session/LockingStrategy/NullLockingStrategy.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Session/LockingStrategy/PessimisticLockingStrategy.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Session/SessionHandler.php CHANGED
@@ -39,7 +39,7 @@ use Aws\DynamoDb\Model\BatchRequest\DeleteRequest;
39
  * that garbage collection is not triggered randomly. You should consider using a cron job or similar scheduling
40
  * technique for triggering garbage collection at appropriate times.
41
  */
42
- class SessionHandler
43
  {
44
  /**
45
  * @var DynamoDbClient The DynamoDB client
39
  * that garbage collection is not triggered randomly. You should consider using a cron job or similar scheduling
40
  * technique for triggering garbage collection at appropriate times.
41
  */
42
+ class SessionHandler implements SessionHandlerInterface
43
  {
44
  /**
45
  * @var DynamoDbClient The DynamoDB client
vendor/aws/Aws/DynamoDb/Session/SessionHandlerConfig.php CHANGED
File without changes
vendor/aws/Aws/DynamoDb/Session/SessionHandlerInterface.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\DynamoDb\Session;
4
+
5
+ if (PHP_VERSION_ID >= 50400) {
6
+ /**
7
+ * @see http://php.net/manual/en/class.sessionhandlerinterface.php
8
+ */
9
+ interface SessionHandlerInterface extends \SessionHandlerInterface {}
10
+ } else {
11
+ interface SessionHandlerInterface
12
+ {
13
+ public function close();
14
+ public function destroy($session_id);
15
+ public function gc($maxLifetime);
16
+ public function open($savePath, $sessionName);
17
+ public function read($sessionId);
18
+ public function write($sessionId, $sessionData);
19
+ }
20
+ }
vendor/aws/Aws/Ec2/CopySnapshotListener.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\Ec2;
18
+
19
+ use Aws\Common\Client\AwsClientInterface;
20
+ use Aws\Common\Signature\SignatureV4;
21
+ use Guzzle\Common\Event;
22
+ use Guzzle\Service\Command\CommandInterface;
23
+ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
24
+
25
+ /**
26
+ * Adds computed values to the CopySnapshot operation
27
+ * @internal
28
+ */
29
+ class CopySnapshotListener implements EventSubscriberInterface
30
+ {
31
+ public static function getSubscribedEvents()
32
+ {
33
+ return array('command.before_prepare' => 'onCommandBeforePrepare');
34
+ }
35
+
36
+ public function onCommandBeforePrepare(Event $event)
37
+ {
38
+ /** @var $command \Guzzle\Service\Command\CommandInterface */
39
+ $command = $event['command'];
40
+
41
+ if ($command->getName() !== 'CopySnapshot') {
42
+ return;
43
+ } elseif ($command['__internal']) {
44
+ // Prevent infinite recursion when adding the presigned URL
45
+ unset($command['__internal']);
46
+ return;
47
+ }
48
+
49
+ /** @var $client \Aws\Common\Client\AwsClientInterface */
50
+ $client = $command->getClient();
51
+ $presignedUrl = $this->createPresignedUrl($client, $command);
52
+ $command['DestinationRegion'] = $client->getRegion();
53
+ $command['PresignedUrl'] = $presignedUrl;
54
+ }
55
+
56
+ private function createPresignedUrl(
57
+ AwsClientInterface $client,
58
+ CommandInterface $command
59
+ ) {
60
+ // Create a temporary client used to generate the presigned URL
61
+ $newClient = Ec2Client::factory(array(
62
+ 'region' => $command['SourceRegion'],
63
+ 'signature' => 'v4',
64
+ 'key' => $client->getCredentials()->getAccessKeyId(),
65
+ 'secret' => $client->getCredentials()->getSecretKey()
66
+ ));
67
+
68
+ $preCommand = $newClient->getCommand(
69
+ 'CopySnapshot',
70
+ $command->toArray()
71
+ );
72
+
73
+ $preCommand['__internal'] = true;
74
+ /** @var \Guzzle\Http\Message\EntityEnclosingRequest $preRequest */
75
+ $preRequest = $preCommand->prepare();
76
+
77
+ return $newClient->getSignature()->createPresignedUrl(
78
+ SignatureV4::convertPostToGet($preRequest),
79
+ $newClient->getCredentials(),
80
+ '+1 hour'
81
+ );
82
+ }
83
+ }
vendor/aws/Aws/Ec2/Ec2Client.php CHANGED
@@ -19,6 +19,7 @@ namespace Aws\Ec2;
19
  use Aws\Common\Client\AbstractClient;
20
  use Aws\Common\Client\ClientBuilder;
21
  use Aws\Common\Enum\ClientOptions as Options;
 
22
  use Guzzle\Common\Collection;
23
  use Guzzle\Service\Resource\Model;
24
  use Guzzle\Service\Resource\ResourceIteratorInterface;
@@ -26,7 +27,7 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
26
  /**
27
  * Client to interact with Amazon Elastic Compute Cloud
28
  *
29
- * @method Model activateLicense(array $args = array()) {@command Ec2 ActivateLicense}
30
  * @method Model allocateAddress(array $args = array()) {@command Ec2 AllocateAddress}
31
  * @method Model assignPrivateIpAddresses(array $args = array()) {@command Ec2 AssignPrivateIpAddresses}
32
  * @method Model associateAddress(array $args = array()) {@command Ec2 AssociateAddress}
@@ -67,10 +68,10 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
67
  * @method Model createTags(array $args = array()) {@command Ec2 CreateTags}
68
  * @method Model createVolume(array $args = array()) {@command Ec2 CreateVolume}
69
  * @method Model createVpc(array $args = array()) {@command Ec2 CreateVpc}
 
70
  * @method Model createVpnConnection(array $args = array()) {@command Ec2 CreateVpnConnection}
71
  * @method Model createVpnConnectionRoute(array $args = array()) {@command Ec2 CreateVpnConnectionRoute}
72
  * @method Model createVpnGateway(array $args = array()) {@command Ec2 CreateVpnGateway}
73
- * @method Model deactivateLicense(array $args = array()) {@command Ec2 DeactivateLicense}
74
  * @method Model deleteCustomerGateway(array $args = array()) {@command Ec2 DeleteCustomerGateway}
75
  * @method Model deleteDhcpOptions(array $args = array()) {@command Ec2 DeleteDhcpOptions}
76
  * @method Model deleteInternetGateway(array $args = array()) {@command Ec2 DeleteInternetGateway}
@@ -88,6 +89,7 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
88
  * @method Model deleteTags(array $args = array()) {@command Ec2 DeleteTags}
89
  * @method Model deleteVolume(array $args = array()) {@command Ec2 DeleteVolume}
90
  * @method Model deleteVpc(array $args = array()) {@command Ec2 DeleteVpc}
 
91
  * @method Model deleteVpnConnection(array $args = array()) {@command Ec2 DeleteVpnConnection}
92
  * @method Model deleteVpnConnectionRoute(array $args = array()) {@command Ec2 DeleteVpnConnectionRoute}
93
  * @method Model deleteVpnGateway(array $args = array()) {@command Ec2 DeleteVpnGateway}
@@ -107,7 +109,6 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
107
  * @method Model describeInstances(array $args = array()) {@command Ec2 DescribeInstances}
108
  * @method Model describeInternetGateways(array $args = array()) {@command Ec2 DescribeInternetGateways}
109
  * @method Model describeKeyPairs(array $args = array()) {@command Ec2 DescribeKeyPairs}
110
- * @method Model describeLicenses(array $args = array()) {@command Ec2 DescribeLicenses}
111
  * @method Model describeNetworkAcls(array $args = array()) {@command Ec2 DescribeNetworkAcls}
112
  * @method Model describeNetworkInterfaceAttribute(array $args = array()) {@command Ec2 DescribeNetworkInterfaceAttribute}
113
  * @method Model describeNetworkInterfaces(array $args = array()) {@command Ec2 DescribeNetworkInterfaces}
@@ -115,6 +116,7 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
115
  * @method Model describeRegions(array $args = array()) {@command Ec2 DescribeRegions}
116
  * @method Model describeReservedInstances(array $args = array()) {@command Ec2 DescribeReservedInstances}
117
  * @method Model describeReservedInstancesListings(array $args = array()) {@command Ec2 DescribeReservedInstancesListings}
 
118
  * @method Model describeReservedInstancesOfferings(array $args = array()) {@command Ec2 DescribeReservedInstancesOfferings}
119
  * @method Model describeRouteTables(array $args = array()) {@command Ec2 DescribeRouteTables}
120
  * @method Model describeSecurityGroups(array $args = array()) {@command Ec2 DescribeSecurityGroups}
@@ -129,6 +131,7 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
129
  * @method Model describeVolumeStatus(array $args = array()) {@command Ec2 DescribeVolumeStatus}
130
  * @method Model describeVolumes(array $args = array()) {@command Ec2 DescribeVolumes}
131
  * @method Model describeVpcAttribute(array $args = array()) {@command Ec2 DescribeVpcAttribute}
 
132
  * @method Model describeVpcs(array $args = array()) {@command Ec2 DescribeVpcs}
133
  * @method Model describeVpnConnections(array $args = array()) {@command Ec2 DescribeVpnConnections}
134
  * @method Model describeVpnGateways(array $args = array()) {@command Ec2 DescribeVpnGateways}
@@ -149,13 +152,16 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
149
  * @method Model modifyImageAttribute(array $args = array()) {@command Ec2 ModifyImageAttribute}
150
  * @method Model modifyInstanceAttribute(array $args = array()) {@command Ec2 ModifyInstanceAttribute}
151
  * @method Model modifyNetworkInterfaceAttribute(array $args = array()) {@command Ec2 ModifyNetworkInterfaceAttribute}
 
152
  * @method Model modifySnapshotAttribute(array $args = array()) {@command Ec2 ModifySnapshotAttribute}
 
153
  * @method Model modifyVolumeAttribute(array $args = array()) {@command Ec2 ModifyVolumeAttribute}
154
  * @method Model modifyVpcAttribute(array $args = array()) {@command Ec2 ModifyVpcAttribute}
155
  * @method Model monitorInstances(array $args = array()) {@command Ec2 MonitorInstances}
156
  * @method Model purchaseReservedInstancesOffering(array $args = array()) {@command Ec2 PurchaseReservedInstancesOffering}
157
  * @method Model rebootInstances(array $args = array()) {@command Ec2 RebootInstances}
158
  * @method Model registerImage(array $args = array()) {@command Ec2 RegisterImage}
 
159
  * @method Model releaseAddress(array $args = array()) {@command Ec2 ReleaseAddress}
160
  * @method Model replaceNetworkAclAssociation(array $args = array()) {@command Ec2 ReplaceNetworkAclAssociation}
161
  * @method Model replaceNetworkAclEntry(array $args = array()) {@command Ec2 ReplaceNetworkAclEntry}
@@ -175,24 +181,25 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
175
  * @method Model terminateInstances(array $args = array()) {@command Ec2 TerminateInstances}
176
  * @method Model unassignPrivateIpAddresses(array $args = array()) {@command Ec2 UnassignPrivateIpAddresses}
177
  * @method Model unmonitorInstances(array $args = array()) {@command Ec2 UnmonitorInstances}
178
- * @method waitUntilInstanceRunning(array $input) Wait using the InstanceRunning waiter. The input array uses the parameters of the DescribeInstances operation and waiter specific settings
179
- * @method waitUntilInstanceStopped(array $input) Wait using the InstanceStopped waiter. The input array uses the parameters of the DescribeInstances operation and waiter specific settings
180
- * @method waitUntilInstanceTerminated(array $input) Wait using the InstanceTerminated waiter. The input array uses the parameters of the DescribeInstances operation and waiter specific settings
181
- * @method waitUntilExportTaskCompleted(array $input) Wait using the ExportTaskCompleted waiter. The input array uses the parameters of the DescribeExportTasks operation and waiter specific settings
182
- * @method waitUntilExportTaskCancelled(array $input) Wait using the ExportTaskCancelled waiter. The input array uses the parameters of the DescribeExportTasks operation and waiter specific settings
183
- * @method waitUntilSnapshotCompleted(array $input) Wait using the SnapshotCompleted waiter. The input array uses the parameters of the DescribeSnapshots operation and waiter specific settings
184
- * @method waitUntilSubnetAvailable(array $input) Wait using the SubnetAvailable waiter. The input array uses the parameters of the DescribeSubnets operation and waiter specific settings
185
- * @method waitUntilVolumeAvailable(array $input) Wait using the VolumeAvailable waiter. The input array uses the parameters of the DescribeVolumes operation and waiter specific settings
186
- * @method waitUntilVolumeInUse(array $input) Wait using the VolumeInUse waiter. The input array uses the parameters of the DescribeVolumes operation and waiter specific settings
187
- * @method waitUntilVolumeDeleted(array $input) Wait using the VolumeDeleted waiter. The input array uses the parameters of the DescribeVolumes operation and waiter specific settings
188
- * @method waitUntilVpcAvailable(array $input) Wait using the VpcAvailable waiter. The input array uses the parameters of the DescribeVpcs operation and waiter specific settings
189
- * @method waitUntilVpnConnectionAvailable(array $input) Wait using the VpnConnectionAvailable waiter. The input array uses the parameters of the DescribeVpnConnections operation and waiter specific settings
190
- * @method waitUntilVpnConnectionDeleted(array $input) Wait using the VpnConnectionDeleted waiter. The input array uses the parameters of the DescribeVpnConnections operation and waiter specific settings
191
- * @method waitUntilBundleTaskComplete(array $input) Wait using the BundleTaskComplete waiter. The input array uses the parameters of the DescribeBundleTasks operation and waiter specific settings
192
- * @method waitUntilConversionTaskCompleted(array $input) Wait using the ConversionTaskCompleted waiter. The input array uses the parameters of the DescribeConversionTasks operation and waiter specific settings
193
- * @method waitUntilConversionTaskCancelled(array $input) Wait using the ConversionTaskCancelled waiter. The input array uses the parameters of the DescribeConversionTasks operation and waiter specific settings
194
- * @method waitUntilCustomerGatewayAvailable(array $input) Wait using the CustomerGatewayAvailable waiter. The input array uses the parameters of the DescribeCustomerGateways operation and waiter specific settings
195
- * @method waitUntilConversionTaskDeleted(array $input) Wait using the ConversionTaskDeleted waiter. The input array uses the parameters of the DescribeCustomerGateways operation and waiter specific settings
 
196
  * @method ResourceIteratorInterface getDescribeAccountAttributesIterator(array $args = array()) The input array uses the parameters of the DescribeAccountAttributes operation
197
  * @method ResourceIteratorInterface getDescribeAddressesIterator(array $args = array()) The input array uses the parameters of the DescribeAddresses operation
198
  * @method ResourceIteratorInterface getDescribeAvailabilityZonesIterator(array $args = array()) The input array uses the parameters of the DescribeAvailabilityZones operation
@@ -206,7 +213,6 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
206
  * @method ResourceIteratorInterface getDescribeInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeInstances operation
207
  * @method ResourceIteratorInterface getDescribeInternetGatewaysIterator(array $args = array()) The input array uses the parameters of the DescribeInternetGateways operation
208
  * @method ResourceIteratorInterface getDescribeKeyPairsIterator(array $args = array()) The input array uses the parameters of the DescribeKeyPairs operation
209
- * @method ResourceIteratorInterface getDescribeLicensesIterator(array $args = array()) The input array uses the parameters of the DescribeLicenses operation
210
  * @method ResourceIteratorInterface getDescribeNetworkAclsIterator(array $args = array()) The input array uses the parameters of the DescribeNetworkAcls operation
211
  * @method ResourceIteratorInterface getDescribeNetworkInterfacesIterator(array $args = array()) The input array uses the parameters of the DescribeNetworkInterfaces operation
212
  * @method ResourceIteratorInterface getDescribePlacementGroupsIterator(array $args = array()) The input array uses the parameters of the DescribePlacementGroups operation
@@ -227,12 +233,12 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
227
  * @method ResourceIteratorInterface getDescribeVpnConnectionsIterator(array $args = array()) The input array uses the parameters of the DescribeVpnConnections operation
228
  * @method ResourceIteratorInterface getDescribeVpnGatewaysIterator(array $args = array()) The input array uses the parameters of the DescribeVpnGateways operation
229
  *
230
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-ec2.html User guide
231
- * @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.Ec2.Ec2Client.html API docs
232
  */
233
  class Ec2Client extends AbstractClient
234
  {
235
- const LATEST_API_VERSION = '2013-06-15';
236
 
237
  /**
238
  * Factory method to create a new AWS Elastic Beanstalk client using an array of configuration options.
@@ -240,16 +246,24 @@ class Ec2Client extends AbstractClient
240
  * @param array|Collection $config Client configuration data
241
  *
242
  * @return self
243
- * @see \Aws\Common\Client\DefaultClient for a list of available configuration options
244
  */
245
  public static function factory($config = array())
246
  {
247
- return ClientBuilder::factory(__NAMESPACE__)
 
 
 
 
248
  ->setConfig($config)
249
  ->setConfigDefaults(array(
250
  Options::VERSION => self::LATEST_API_VERSION,
251
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/ec2-%s.php'
252
  ))
253
  ->build();
 
 
 
 
254
  }
255
  }
19
  use Aws\Common\Client\AbstractClient;
20
  use Aws\Common\Client\ClientBuilder;
21
  use Aws\Common\Enum\ClientOptions as Options;
22
+ use Aws\Common\Signature\SignatureV4;
23
  use Guzzle\Common\Collection;
24
  use Guzzle\Service\Resource\Model;
25
  use Guzzle\Service\Resource\ResourceIteratorInterface;
27
  /**
28
  * Client to interact with Amazon Elastic Compute Cloud
29
  *
30
+ * @method Model acceptVpcPeeringConnection(array $args = array()) {@command Ec2 AcceptVpcPeeringConnection}
31
  * @method Model allocateAddress(array $args = array()) {@command Ec2 AllocateAddress}
32
  * @method Model assignPrivateIpAddresses(array $args = array()) {@command Ec2 AssignPrivateIpAddresses}
33
  * @method Model associateAddress(array $args = array()) {@command Ec2 AssociateAddress}
68
  * @method Model createTags(array $args = array()) {@command Ec2 CreateTags}
69
  * @method Model createVolume(array $args = array()) {@command Ec2 CreateVolume}
70
  * @method Model createVpc(array $args = array()) {@command Ec2 CreateVpc}
71
+ * @method Model createVpcPeeringConnection(array $args = array()) {@command Ec2 CreateVpcPeeringConnection}
72
  * @method Model createVpnConnection(array $args = array()) {@command Ec2 CreateVpnConnection}
73
  * @method Model createVpnConnectionRoute(array $args = array()) {@command Ec2 CreateVpnConnectionRoute}
74
  * @method Model createVpnGateway(array $args = array()) {@command Ec2 CreateVpnGateway}
 
75
  * @method Model deleteCustomerGateway(array $args = array()) {@command Ec2 DeleteCustomerGateway}
76
  * @method Model deleteDhcpOptions(array $args = array()) {@command Ec2 DeleteDhcpOptions}
77
  * @method Model deleteInternetGateway(array $args = array()) {@command Ec2 DeleteInternetGateway}
89
  * @method Model deleteTags(array $args = array()) {@command Ec2 DeleteTags}
90
  * @method Model deleteVolume(array $args = array()) {@command Ec2 DeleteVolume}
91
  * @method Model deleteVpc(array $args = array()) {@command Ec2 DeleteVpc}
92
+ * @method Model deleteVpcPeeringConnection(array $args = array()) {@command Ec2 DeleteVpcPeeringConnection}
93
  * @method Model deleteVpnConnection(array $args = array()) {@command Ec2 DeleteVpnConnection}
94
  * @method Model deleteVpnConnectionRoute(array $args = array()) {@command Ec2 DeleteVpnConnectionRoute}
95
  * @method Model deleteVpnGateway(array $args = array()) {@command Ec2 DeleteVpnGateway}
109
  * @method Model describeInstances(array $args = array()) {@command Ec2 DescribeInstances}
110
  * @method Model describeInternetGateways(array $args = array()) {@command Ec2 DescribeInternetGateways}
111
  * @method Model describeKeyPairs(array $args = array()) {@command Ec2 DescribeKeyPairs}
 
112
  * @method Model describeNetworkAcls(array $args = array()) {@command Ec2 DescribeNetworkAcls}
113
  * @method Model describeNetworkInterfaceAttribute(array $args = array()) {@command Ec2 DescribeNetworkInterfaceAttribute}
114
  * @method Model describeNetworkInterfaces(array $args = array()) {@command Ec2 DescribeNetworkInterfaces}
116
  * @method Model describeRegions(array $args = array()) {@command Ec2 DescribeRegions}
117
  * @method Model describeReservedInstances(array $args = array()) {@command Ec2 DescribeReservedInstances}
118
  * @method Model describeReservedInstancesListings(array $args = array()) {@command Ec2 DescribeReservedInstancesListings}
119
+ * @method Model describeReservedInstancesModifications(array $args = array()) {@command Ec2 DescribeReservedInstancesModifications}
120
  * @method Model describeReservedInstancesOfferings(array $args = array()) {@command Ec2 DescribeReservedInstancesOfferings}
121
  * @method Model describeRouteTables(array $args = array()) {@command Ec2 DescribeRouteTables}
122
  * @method Model describeSecurityGroups(array $args = array()) {@command Ec2 DescribeSecurityGroups}
131
  * @method Model describeVolumeStatus(array $args = array()) {@command Ec2 DescribeVolumeStatus}
132
  * @method Model describeVolumes(array $args = array()) {@command Ec2 DescribeVolumes}
133
  * @method Model describeVpcAttribute(array $args = array()) {@command Ec2 DescribeVpcAttribute}
134
+ * @method Model describeVpcPeeringConnections(array $args = array()) {@command Ec2 DescribeVpcPeeringConnections}
135
  * @method Model describeVpcs(array $args = array()) {@command Ec2 DescribeVpcs}
136
  * @method Model describeVpnConnections(array $args = array()) {@command Ec2 DescribeVpnConnections}
137
  * @method Model describeVpnGateways(array $args = array()) {@command Ec2 DescribeVpnGateways}
152
  * @method Model modifyImageAttribute(array $args = array()) {@command Ec2 ModifyImageAttribute}
153
  * @method Model modifyInstanceAttribute(array $args = array()) {@command Ec2 ModifyInstanceAttribute}
154
  * @method Model modifyNetworkInterfaceAttribute(array $args = array()) {@command Ec2 ModifyNetworkInterfaceAttribute}
155
+ * @method Model modifyReservedInstances(array $args = array()) {@command Ec2 ModifyReservedInstances}
156
  * @method Model modifySnapshotAttribute(array $args = array()) {@command Ec2 ModifySnapshotAttribute}
157
+ * @method Model modifySubnetAttribute(array $args = array()) {@command Ec2 ModifySubnetAttribute}
158
  * @method Model modifyVolumeAttribute(array $args = array()) {@command Ec2 ModifyVolumeAttribute}
159
  * @method Model modifyVpcAttribute(array $args = array()) {@command Ec2 ModifyVpcAttribute}
160
  * @method Model monitorInstances(array $args = array()) {@command Ec2 MonitorInstances}
161
  * @method Model purchaseReservedInstancesOffering(array $args = array()) {@command Ec2 PurchaseReservedInstancesOffering}
162
  * @method Model rebootInstances(array $args = array()) {@command Ec2 RebootInstances}
163
  * @method Model registerImage(array $args = array()) {@command Ec2 RegisterImage}
164
+ * @method Model rejectVpcPeeringConnection(array $args = array()) {@command Ec2 RejectVpcPeeringConnection}
165
  * @method Model releaseAddress(array $args = array()) {@command Ec2 ReleaseAddress}
166
  * @method Model replaceNetworkAclAssociation(array $args = array()) {@command Ec2 ReplaceNetworkAclAssociation}
167
  * @method Model replaceNetworkAclEntry(array $args = array()) {@command Ec2 ReplaceNetworkAclEntry}
181
  * @method Model terminateInstances(array $args = array()) {@command Ec2 TerminateInstances}
182
  * @method Model unassignPrivateIpAddresses(array $args = array()) {@command Ec2 UnassignPrivateIpAddresses}
183
  * @method Model unmonitorInstances(array $args = array()) {@command Ec2 UnmonitorInstances}
184
+ * @method waitUntilSpotInstanceRequestFulfilled(array $input) The input array uses the parameters of the DescribeSpotInstanceRequests operation and waiter specific settings
185
+ * @method waitUntilInstanceRunning(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
186
+ * @method waitUntilInstanceStopped(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
187
+ * @method waitUntilInstanceTerminated(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
188
+ * @method waitUntilExportTaskCompleted(array $input) The input array uses the parameters of the DescribeExportTasks operation and waiter specific settings
189
+ * @method waitUntilExportTaskCancelled(array $input) The input array uses the parameters of the DescribeExportTasks operation and waiter specific settings
190
+ * @method waitUntilSnapshotCompleted(array $input) The input array uses the parameters of the DescribeSnapshots operation and waiter specific settings
191
+ * @method waitUntilSubnetAvailable(array $input) The input array uses the parameters of the DescribeSubnets operation and waiter specific settings
192
+ * @method waitUntilVolumeAvailable(array $input) The input array uses the parameters of the DescribeVolumes operation and waiter specific settings
193
+ * @method waitUntilVolumeInUse(array $input) The input array uses the parameters of the DescribeVolumes operation and waiter specific settings
194
+ * @method waitUntilVolumeDeleted(array $input) The input array uses the parameters of the DescribeVolumes operation and waiter specific settings
195
+ * @method waitUntilVpcAvailable(array $input) The input array uses the parameters of the DescribeVpcs operation and waiter specific settings
196
+ * @method waitUntilVpnConnectionAvailable(array $input) The input array uses the parameters of the DescribeVpnConnections operation and waiter specific settings
197
+ * @method waitUntilVpnConnectionDeleted(array $input) The input array uses the parameters of the DescribeVpnConnections operation and waiter specific settings
198
+ * @method waitUntilBundleTaskComplete(array $input) The input array uses the parameters of the DescribeBundleTasks operation and waiter specific settings
199
+ * @method waitUntilConversionTaskCompleted(array $input) The input array uses the parameters of the DescribeConversionTasks operation and waiter specific settings
200
+ * @method waitUntilConversionTaskCancelled(array $input) The input array uses the parameters of the DescribeConversionTasks operation and waiter specific settings
201
+ * @method waitUntilCustomerGatewayAvailable(array $input) The input array uses the parameters of the DescribeCustomerGateways operation and waiter specific settings
202
+ * @method waitUntilConversionTaskDeleted(array $input) The input array uses the parameters of the DescribeCustomerGateways operation and waiter specific settings
203
  * @method ResourceIteratorInterface getDescribeAccountAttributesIterator(array $args = array()) The input array uses the parameters of the DescribeAccountAttributes operation
204
  * @method ResourceIteratorInterface getDescribeAddressesIterator(array $args = array()) The input array uses the parameters of the DescribeAddresses operation
205
  * @method ResourceIteratorInterface getDescribeAvailabilityZonesIterator(array $args = array()) The input array uses the parameters of the DescribeAvailabilityZones operation
213
  * @method ResourceIteratorInterface getDescribeInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeInstances operation
214
  * @method ResourceIteratorInterface getDescribeInternetGatewaysIterator(array $args = array()) The input array uses the parameters of the DescribeInternetGateways operation
215
  * @method ResourceIteratorInterface getDescribeKeyPairsIterator(array $args = array()) The input array uses the parameters of the DescribeKeyPairs operation
 
216
  * @method ResourceIteratorInterface getDescribeNetworkAclsIterator(array $args = array()) The input array uses the parameters of the DescribeNetworkAcls operation
217
  * @method ResourceIteratorInterface getDescribeNetworkInterfacesIterator(array $args = array()) The input array uses the parameters of the DescribeNetworkInterfaces operation
218
  * @method ResourceIteratorInterface getDescribePlacementGroupsIterator(array $args = array()) The input array uses the parameters of the DescribePlacementGroups operation
233
  * @method ResourceIteratorInterface getDescribeVpnConnectionsIterator(array $args = array()) The input array uses the parameters of the DescribeVpnConnections operation
234
  * @method ResourceIteratorInterface getDescribeVpnGatewaysIterator(array $args = array()) The input array uses the parameters of the DescribeVpnGateways operation
235
  *
236
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-ec2.html User guide
237
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.Ec2.Ec2Client.html API docs
238
  */
239
  class Ec2Client extends AbstractClient
240
  {
241
+ const LATEST_API_VERSION = '2014-06-15';
242
 
243
  /**
244
  * Factory method to create a new AWS Elastic Beanstalk client using an array of configuration options.
246
  * @param array|Collection $config Client configuration data
247
  *
248
  * @return self
249
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
250
  */
251
  public static function factory($config = array())
252
  {
253
+ if (isset($config['region']) && substr($config['region'], 0, 3) == 'cn-') {
254
+ $config[Options::SIGNATURE] = new SignatureV4();
255
+ }
256
+
257
+ $client = ClientBuilder::factory(__NAMESPACE__)
258
  ->setConfig($config)
259
  ->setConfigDefaults(array(
260
  Options::VERSION => self::LATEST_API_VERSION,
261
  Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/ec2-%s.php'
262
  ))
263
  ->build();
264
+
265
+ $client->addSubscriber(new CopySnapshotListener());
266
+
267
+ return $client;
268
  }
269
  }
vendor/aws/Aws/Ec2/Enum/ContainerFormat.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/DiskImageFormat.php CHANGED
@@ -23,6 +23,7 @@ use Aws\Common\Enum;
23
  */
24
  class DiskImageFormat extends Enum
25
  {
26
- const VMDK = 'vmdk';
27
- const VHD = 'vhd';
 
28
  }
23
  */
24
  class DiskImageFormat extends Enum
25
  {
26
+ const VMDK = 'VMDK';
27
+ const RAW = 'RAW';
28
+ const VHD = 'VHD';
29
  }
vendor/aws/Aws/Ec2/Enum/DomainType.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/ExportEnvironment.php CHANGED
@@ -25,4 +25,5 @@ class ExportEnvironment extends Enum
25
  {
26
  const CITRIX = 'citrix';
27
  const VMWARE = 'vmware';
 
28
  }
25
  {
26
  const CITRIX = 'citrix';
27
  const VMWARE = 'vmware';
28
+ const MICROSOFT = 'microsoft';
29
  }
vendor/aws/Aws/Ec2/Enum/HypervisorType.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/ImageState.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/InstanceAttributeName.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/InstanceStateName.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/InstanceType.php CHANGED
@@ -28,17 +28,37 @@ class InstanceType extends Enum
28
  const M1_MEDIUM = 'm1.medium';
29
  const M1_LARGE = 'm1.large';
30
  const M1_XLARGE = 'm1.xlarge';
 
 
 
 
31
  const M2_XLARGE = 'm2.xlarge';
32
  const M2_2XLARGE = 'm2.2xlarge';
33
  const M2_4XLARGE = 'm2.4xlarge';
34
- const M3_XLARGE = 'm3.xlarge';
35
- const M3_2XLARGE = 'm3.2xlarge';
36
- const C1_MEDIUM = 'c1.medium';
37
- const C1_XLARGE = 'c1.xlarge';
 
38
  const HI1_4XLARGE = 'hi1.4xlarge';
39
  const HS1_8XLARGE = 'hs1.8xlarge';
 
 
 
 
 
 
 
40
  const CC1_4XLARGE = 'cc1.4xlarge';
41
  const CC2_8XLARGE = 'cc2.8xlarge';
 
42
  const CG1_4XLARGE = 'cg1.4xlarge';
43
- const CR1_8XLARGE = 'cr1.8xlarge';
 
 
 
 
 
 
 
44
  }
28
  const M1_MEDIUM = 'm1.medium';
29
  const M1_LARGE = 'm1.large';
30
  const M1_XLARGE = 'm1.xlarge';
31
+ const M3_MEDIUM = 'm3.medium';
32
+ const M3_LARGE = 'm3.large';
33
+ const M3_XLARGE = 'm3.xlarge';
34
+ const M3_2XLARGE = 'm3.2xlarge';
35
  const M2_XLARGE = 'm2.xlarge';
36
  const M2_2XLARGE = 'm2.2xlarge';
37
  const M2_4XLARGE = 'm2.4xlarge';
38
+ const CR1_8XLARGE = 'cr1.8xlarge';
39
+ const I2_XLARGE = 'i2.xlarge';
40
+ const I2_2XLARGE = 'i2.2xlarge';
41
+ const I2_4XLARGE = 'i2.4xlarge';
42
+ const I2_8XLARGE = 'i2.8xlarge';
43
  const HI1_4XLARGE = 'hi1.4xlarge';
44
  const HS1_8XLARGE = 'hs1.8xlarge';
45
+ const C1_MEDIUM = 'c1.medium';
46
+ const C1_XLARGE = 'c1.xlarge';
47
+ const C3_LARGE = 'c3.large';
48
+ const C3_XLARGE = 'c3.xlarge';
49
+ const C3_2XLARGE = 'c3.2xlarge';
50
+ const C3_4XLARGE = 'c3.4xlarge';
51
+ const C3_8XLARGE = 'c3.8xlarge';
52
  const CC1_4XLARGE = 'cc1.4xlarge';
53
  const CC2_8XLARGE = 'cc2.8xlarge';
54
+ const G2_2XLARGE = 'g2.2xlarge';
55
  const CG1_4XLARGE = 'cg1.4xlarge';
56
+ const R3_LARGE = 'r3.large';
57
+ const R3_XLARGE = 'r3.xlarge';
58
+ const R3_2XLARGE = 'r3.2xlarge';
59
+ const R3_4XLARGE = 'r3.4xlarge';
60
+ const R3_8XLARGE = 'r3.8xlarge';
61
+ const T2_MICRO = 't2.micro';
62
+ const T2_SMALL = 't2.small';
63
+ const T2_MEDIUM = 't2.medium';
64
  }
vendor/aws/Aws/Ec2/Enum/PlacementGroupState.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/PlacementStrategy.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/ResourceType.php CHANGED
@@ -27,9 +27,15 @@ class ResourceType extends Enum
27
  const DHCP_OPTIONS = 'dhcp-options';
28
  const IMAGE = 'image';
29
  const INSTANCE = 'instance';
 
 
 
 
 
30
  const SNAPSHOT = 'snapshot';
31
  const SPOT_INSTANCES_REQUEST = 'spot-instances-request';
32
  const SUBNET = 'subnet';
 
33
  const VOLUME = 'volume';
34
  const VPC = 'vpc';
35
  const VPN_CONNECTION = 'vpn-connection';
27
  const DHCP_OPTIONS = 'dhcp-options';
28
  const IMAGE = 'image';
29
  const INSTANCE = 'instance';
30
+ const INTERNET_GATEWAY = 'internet-gateway';
31
+ const NETWORK_ACL = 'network-acl';
32
+ const NETWORK_INTERFACE = 'network-interface';
33
+ const RESERVED_INSTANCES = 'reserved-instances';
34
+ const ROUTE_TABLE = 'route-table';
35
  const SNAPSHOT = 'snapshot';
36
  const SPOT_INSTANCES_REQUEST = 'spot-instances-request';
37
  const SUBNET = 'subnet';
38
+ const SECURITY_GROUP = 'security-group';
39
  const VOLUME = 'volume';
40
  const VPC = 'vpc';
41
  const VPN_CONNECTION = 'vpn-connection';
vendor/aws/Aws/Ec2/Enum/RouteOrigin.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\Ec2\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable RouteOrigin values
23
+ */
24
+ class RouteOrigin extends Enum
25
+ {
26
+ const CREATE_ROUTE_TABLE = 'CreateRouteTable';
27
+ const CREATE_ROUTE = 'CreateRoute';
28
+ const ENABLE_VGW_ROUTE_PROPAGATION = 'EnableVgwRoutePropagation';
29
+ }
vendor/aws/Aws/Ec2/Enum/RuleAction.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/SnapshotAttributeName.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/SnapshotState.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/SpotInstanceType.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/VirtualizationType.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/VolumeAttachmentState.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/VolumeAttributeName.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/VolumeState.php CHANGED
@@ -27,5 +27,6 @@ class VolumeState extends Enum
27
  const AVAILABLE = 'available';
28
  const IN_USE = 'in-use';
29
  const DELETING = 'deleting';
 
30
  const ERROR = 'error';
31
  }
27
  const AVAILABLE = 'available';
28
  const IN_USE = 'in-use';
29
  const DELETING = 'deleting';
30
+ const DELETED = 'deleted';
31
  const ERROR = 'error';
32
  }
vendor/aws/Aws/Ec2/Enum/VolumeType.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Enum/VpcAttributeName.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Exception/Ec2Exception.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Iterator/DescribeInstancesIterator.php CHANGED
File without changes
vendor/aws/Aws/Ec2/Resources/{ec2-2013-06-15.php → ec2-2014-06-15.php} RENAMED
@@ -15,7 +15,7 @@
15
  */
16
 
17
  return array (
18
- 'apiVersion' => '2013-06-15',
19
  'endpointPrefix' => 'ec2',
20
  'serviceFullName' => 'Amazon Elastic Compute Cloud',
21
  'serviceAbbreviation' => 'Amazon EC2',
@@ -63,6 +63,11 @@ return array (
63
  'https' => true,
64
  'hostname' => 'ec2.sa-east-1.amazonaws.com',
65
  ),
 
 
 
 
 
66
  'us-gov-west-1' => array(
67
  'http' => false,
68
  'https' => true,
@@ -70,38 +75,32 @@ return array (
70
  ),
71
  ),
72
  'operations' => array(
73
- 'ActivateLicense' => array(
74
  'httpMethod' => 'POST',
75
  'uri' => '/',
76
  'class' => 'Aws\\Common\\Command\\QueryCommand',
77
- 'responseClass' => 'EmptyOutput',
78
  'responseType' => 'model',
79
  'parameters' => array(
80
  'Action' => array(
81
  'static' => true,
82
  'location' => 'aws.query',
83
- 'default' => 'ActivateLicense',
84
  ),
85
  'Version' => array(
86
  'static' => true,
87
  'location' => 'aws.query',
88
- 'default' => '2013-06-15',
89
  ),
90
  'DryRun' => array(
91
  'type' => 'boolean',
92
  'format' => 'boolean-string',
93
  'location' => 'aws.query',
94
  ),
95
- 'LicenseId' => array(
96
- 'required' => true,
97
  'type' => 'string',
98
  'location' => 'aws.query',
99
  ),
100
- 'Capacity' => array(
101
- 'required' => true,
102
- 'type' => 'numeric',
103
- 'location' => 'aws.query',
104
- ),
105
  ),
106
  ),
107
  'AllocateAddress' => array(
@@ -119,7 +118,7 @@ return array (
119
  'Version' => array(
120
  'static' => true,
121
  'location' => 'aws.query',
122
- 'default' => '2013-06-15',
123
  ),
124
  'DryRun' => array(
125
  'type' => 'boolean',
@@ -129,10 +128,6 @@ return array (
129
  'Domain' => array(
130
  'type' => 'string',
131
  'location' => 'aws.query',
132
- 'enum' => array(
133
- 'vpc',
134
- 'standard',
135
- ),
136
  ),
137
  ),
138
  ),
@@ -151,7 +146,7 @@ return array (
151
  'Version' => array(
152
  'static' => true,
153
  'location' => 'aws.query',
154
- 'default' => '2013-06-15',
155
  ),
156
  'NetworkInterfaceId' => array(
157
  'required' => true,
@@ -193,7 +188,7 @@ return array (
193
  'Version' => array(
194
  'static' => true,
195
  'location' => 'aws.query',
196
- 'default' => '2013-06-15',
197
  ),
198
  'DryRun' => array(
199
  'type' => 'boolean',
@@ -242,7 +237,7 @@ return array (
242
  'Version' => array(
243
  'static' => true,
244
  'location' => 'aws.query',
245
- 'default' => '2013-06-15',
246
  ),
247
  'DryRun' => array(
248
  'type' => 'boolean',
@@ -276,7 +271,7 @@ return array (
276
  'Version' => array(
277
  'static' => true,
278
  'location' => 'aws.query',
279
- 'default' => '2013-06-15',
280
  ),
281
  'DryRun' => array(
282
  'type' => 'boolean',
@@ -310,7 +305,7 @@ return array (
310
  'Version' => array(
311
  'static' => true,
312
  'location' => 'aws.query',
313
- 'default' => '2013-06-15',
314
  ),
315
  'DryRun' => array(
316
  'type' => 'boolean',
@@ -344,7 +339,7 @@ return array (
344
  'Version' => array(
345
  'static' => true,
346
  'location' => 'aws.query',
347
- 'default' => '2013-06-15',
348
  ),
349
  'DryRun' => array(
350
  'type' => 'boolean',
@@ -383,7 +378,7 @@ return array (
383
  'Version' => array(
384
  'static' => true,
385
  'location' => 'aws.query',
386
- 'default' => '2013-06-15',
387
  ),
388
  'DryRun' => array(
389
  'type' => 'boolean',
@@ -422,7 +417,7 @@ return array (
422
  'Version' => array(
423
  'static' => true,
424
  'location' => 'aws.query',
425
- 'default' => '2013-06-15',
426
  ),
427
  'DryRun' => array(
428
  'type' => 'boolean',
@@ -456,7 +451,7 @@ return array (
456
  'Version' => array(
457
  'static' => true,
458
  'location' => 'aws.query',
459
- 'default' => '2013-06-15',
460
  ),
461
  'DryRun' => array(
462
  'type' => 'boolean',
@@ -468,6 +463,30 @@ return array (
468
  'type' => 'string',
469
  'location' => 'aws.query',
470
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  'IpPermissions' => array(
472
  'type' => 'array',
473
  'location' => 'aws.query',
@@ -535,7 +554,7 @@ return array (
535
  'Version' => array(
536
  'static' => true,
537
  'location' => 'aws.query',
538
- 'default' => '2013-06-15',
539
  ),
540
  'DryRun' => array(
541
  'type' => 'boolean',
@@ -550,6 +569,30 @@ return array (
550
  'type' => 'string',
551
  'location' => 'aws.query',
552
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
553
  'IpPermissions' => array(
554
  'type' => 'array',
555
  'location' => 'aws.query',
@@ -617,7 +660,7 @@ return array (
617
  'Version' => array(
618
  'static' => true,
619
  'location' => 'aws.query',
620
- 'default' => '2013-06-15',
621
  ),
622
  'DryRun' => array(
623
  'type' => 'boolean',
@@ -673,7 +716,7 @@ return array (
673
  'Version' => array(
674
  'static' => true,
675
  'location' => 'aws.query',
676
- 'default' => '2013-06-15',
677
  ),
678
  'DryRun' => array(
679
  'type' => 'boolean',
@@ -702,7 +745,7 @@ return array (
702
  'Version' => array(
703
  'static' => true,
704
  'location' => 'aws.query',
705
- 'default' => '2013-06-15',
706
  ),
707
  'DryRun' => array(
708
  'type' => 'boolean',
@@ -735,7 +778,7 @@ return array (
735
  'Version' => array(
736
  'static' => true,
737
  'location' => 'aws.query',
738
- 'default' => '2013-06-15',
739
  ),
740
  'ExportTaskId' => array(
741
  'required' => true,
@@ -759,7 +802,7 @@ return array (
759
  'Version' => array(
760
  'static' => true,
761
  'location' => 'aws.query',
762
- 'default' => '2013-06-15',
763
  ),
764
  'ReservedInstancesListingId' => array(
765
  'required' => true,
@@ -783,7 +826,7 @@ return array (
783
  'Version' => array(
784
  'static' => true,
785
  'location' => 'aws.query',
786
- 'default' => '2013-06-15',
787
  ),
788
  'DryRun' => array(
789
  'type' => 'boolean',
@@ -817,7 +860,7 @@ return array (
817
  'Version' => array(
818
  'static' => true,
819
  'location' => 'aws.query',
820
- 'default' => '2013-06-15',
821
  ),
822
  'DryRun' => array(
823
  'type' => 'boolean',
@@ -851,7 +894,7 @@ return array (
851
  'Version' => array(
852
  'static' => true,
853
  'location' => 'aws.query',
854
- 'default' => '2013-06-15',
855
  ),
856
  'DryRun' => array(
857
  'type' => 'boolean',
@@ -898,7 +941,7 @@ return array (
898
  'Version' => array(
899
  'static' => true,
900
  'location' => 'aws.query',
901
- 'default' => '2013-06-15',
902
  ),
903
  'DryRun' => array(
904
  'type' => 'boolean',
@@ -919,6 +962,14 @@ return array (
919
  'type' => 'string',
920
  'location' => 'aws.query',
921
  ),
 
 
 
 
 
 
 
 
922
  ),
923
  ),
924
  'CreateCustomerGateway' => array(
@@ -936,7 +987,7 @@ return array (
936
  'Version' => array(
937
  'static' => true,
938
  'location' => 'aws.query',
939
- 'default' => '2013-06-15',
940
  ),
941
  'DryRun' => array(
942
  'type' => 'boolean',
@@ -976,7 +1027,7 @@ return array (
976
  'Version' => array(
977
  'static' => true,
978
  'location' => 'aws.query',
979
- 'default' => '2013-06-15',
980
  ),
981
  'DryRun' => array(
982
  'type' => 'boolean',
@@ -1023,7 +1074,7 @@ return array (
1023
  'Version' => array(
1024
  'static' => true,
1025
  'location' => 'aws.query',
1026
- 'default' => '2013-06-15',
1027
  ),
1028
  'DryRun' => array(
1029
  'type' => 'boolean',
@@ -1078,14 +1129,14 @@ return array (
1078
  ),
1079
  'VolumeType' => array(
1080
  'type' => 'string',
1081
- 'enum' => array(
1082
- 'standard',
1083
- 'io1',
1084
- ),
1085
  ),
1086
  'Iops' => array(
1087
  'type' => 'numeric',
1088
  ),
 
 
 
 
1089
  ),
1090
  ),
1091
  'NoDevice' => array(
@@ -1111,7 +1162,7 @@ return array (
1111
  'Version' => array(
1112
  'static' => true,
1113
  'location' => 'aws.query',
1114
- 'default' => '2013-06-15',
1115
  ),
1116
  'Description' => array(
1117
  'type' => 'string',
@@ -1125,10 +1176,6 @@ return array (
1125
  'TargetEnvironment' => array(
1126
  'type' => 'string',
1127
  'location' => 'aws.query',
1128
- 'enum' => array(
1129
- 'citrix',
1130
- 'vmware',
1131
- ),
1132
  ),
1133
  'ExportToS3Task' => array(
1134
  'type' => 'object',
@@ -1137,16 +1184,9 @@ return array (
1137
  'properties' => array(
1138
  'DiskImageFormat' => array(
1139
  'type' => 'string',
1140
- 'enum' => array(
1141
- 'vmdk',
1142
- 'vhd',
1143
- ),
1144
  ),
1145
  'ContainerFormat' => array(
1146
  'type' => 'string',
1147
- 'enum' => array(
1148
- 'ova',
1149
- ),
1150
  ),
1151
  'S3Bucket' => array(
1152
  'type' => 'string',
@@ -1173,7 +1213,7 @@ return array (
1173
  'Version' => array(
1174
  'static' => true,
1175
  'location' => 'aws.query',
1176
- 'default' => '2013-06-15',
1177
  ),
1178
  'DryRun' => array(
1179
  'type' => 'boolean',
@@ -1197,7 +1237,7 @@ return array (
1197
  'Version' => array(
1198
  'static' => true,
1199
  'location' => 'aws.query',
1200
- 'default' => '2013-06-15',
1201
  ),
1202
  'DryRun' => array(
1203
  'type' => 'boolean',
@@ -1226,7 +1266,7 @@ return array (
1226
  'Version' => array(
1227
  'static' => true,
1228
  'location' => 'aws.query',
1229
- 'default' => '2013-06-15',
1230
  ),
1231
  'DryRun' => array(
1232
  'type' => 'boolean',
@@ -1255,7 +1295,7 @@ return array (
1255
  'Version' => array(
1256
  'static' => true,
1257
  'location' => 'aws.query',
1258
- 'default' => '2013-06-15',
1259
  ),
1260
  'DryRun' => array(
1261
  'type' => 'boolean',
@@ -1281,10 +1321,6 @@ return array (
1281
  'required' => true,
1282
  'type' => 'string',
1283
  'location' => 'aws.query',
1284
- 'enum' => array(
1285
- 'allow',
1286
- 'deny',
1287
- ),
1288
  ),
1289
  'Egress' => array(
1290
  'required' => true,
@@ -1339,7 +1375,7 @@ return array (
1339
  'Version' => array(
1340
  'static' => true,
1341
  'location' => 'aws.query',
1342
- 'default' => '2013-06-15',
1343
  ),
1344
  'SubnetId' => array(
1345
  'required' => true,
@@ -1407,7 +1443,7 @@ return array (
1407
  'Version' => array(
1408
  'static' => true,
1409
  'location' => 'aws.query',
1410
- 'default' => '2013-06-15',
1411
  ),
1412
  'DryRun' => array(
1413
  'type' => 'boolean',
@@ -1423,9 +1459,6 @@ return array (
1423
  'required' => true,
1424
  'type' => 'string',
1425
  'location' => 'aws.query',
1426
- 'enum' => array(
1427
- 'cluster',
1428
- ),
1429
  ),
1430
  ),
1431
  ),
@@ -1444,7 +1477,7 @@ return array (
1444
  'Version' => array(
1445
  'static' => true,
1446
  'location' => 'aws.query',
1447
- 'default' => '2013-06-15',
1448
  ),
1449
  'ReservedInstancesId' => array(
1450
  'required' => true,
@@ -1498,7 +1531,7 @@ return array (
1498
  'Version' => array(
1499
  'static' => true,
1500
  'location' => 'aws.query',
1501
- 'default' => '2013-06-15',
1502
  ),
1503
  'DryRun' => array(
1504
  'type' => 'boolean',
@@ -1527,6 +1560,10 @@ return array (
1527
  'type' => 'string',
1528
  'location' => 'aws.query',
1529
  ),
 
 
 
 
1530
  ),
1531
  ),
1532
  'CreateRouteTable' => array(
@@ -1544,7 +1581,7 @@ return array (
1544
  'Version' => array(
1545
  'static' => true,
1546
  'location' => 'aws.query',
1547
- 'default' => '2013-06-15',
1548
  ),
1549
  'DryRun' => array(
1550
  'type' => 'boolean',
@@ -1573,7 +1610,7 @@ return array (
1573
  'Version' => array(
1574
  'static' => true,
1575
  'location' => 'aws.query',
1576
- 'default' => '2013-06-15',
1577
  ),
1578
  'DryRun' => array(
1579
  'type' => 'boolean',
@@ -1612,7 +1649,7 @@ return array (
1612
  'Version' => array(
1613
  'static' => true,
1614
  'location' => 'aws.query',
1615
- 'default' => '2013-06-15',
1616
  ),
1617
  'DryRun' => array(
1618
  'type' => 'boolean',
@@ -1645,7 +1682,7 @@ return array (
1645
  'Version' => array(
1646
  'static' => true,
1647
  'location' => 'aws.query',
1648
- 'default' => '2013-06-15',
1649
  ),
1650
  'DryRun' => array(
1651
  'type' => 'boolean',
@@ -1678,7 +1715,7 @@ return array (
1678
  'Version' => array(
1679
  'static' => true,
1680
  'location' => 'aws.query',
1681
- 'default' => '2013-06-15',
1682
  ),
1683
  'DryRun' => array(
1684
  'type' => 'boolean',
@@ -1716,7 +1753,7 @@ return array (
1716
  'Version' => array(
1717
  'static' => true,
1718
  'location' => 'aws.query',
1719
- 'default' => '2013-06-15',
1720
  ),
1721
  'DryRun' => array(
1722
  'type' => 'boolean',
@@ -1768,7 +1805,7 @@ return array (
1768
  'Version' => array(
1769
  'static' => true,
1770
  'location' => 'aws.query',
1771
- 'default' => '2013-06-15',
1772
  ),
1773
  'DryRun' => array(
1774
  'type' => 'boolean',
@@ -1791,15 +1828,16 @@ return array (
1791
  'VolumeType' => array(
1792
  'type' => 'string',
1793
  'location' => 'aws.query',
1794
- 'enum' => array(
1795
- 'standard',
1796
- 'io1',
1797
- ),
1798
  ),
1799
  'Iops' => array(
1800
  'type' => 'numeric',
1801
  'location' => 'aws.query',
1802
  ),
 
 
 
 
 
1803
  ),
1804
  ),
1805
  'CreateVpc' => array(
@@ -1817,7 +1855,7 @@ return array (
1817
  'Version' => array(
1818
  'static' => true,
1819
  'location' => 'aws.query',
1820
- 'default' => '2013-06-15',
1821
  ),
1822
  'DryRun' => array(
1823
  'type' => 'boolean',
@@ -1835,6 +1873,42 @@ return array (
1835
  ),
1836
  ),
1837
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1838
  'CreateVpnConnection' => array(
1839
  'httpMethod' => 'POST',
1840
  'uri' => '/',
@@ -1850,7 +1924,7 @@ return array (
1850
  'Version' => array(
1851
  'static' => true,
1852
  'location' => 'aws.query',
1853
- 'default' => '2013-06-15',
1854
  ),
1855
  'DryRun' => array(
1856
  'type' => 'boolean',
@@ -1899,7 +1973,7 @@ return array (
1899
  'Version' => array(
1900
  'static' => true,
1901
  'location' => 'aws.query',
1902
- 'default' => '2013-06-15',
1903
  ),
1904
  'VpnConnectionId' => array(
1905
  'required' => true,
@@ -1928,7 +2002,7 @@ return array (
1928
  'Version' => array(
1929
  'static' => true,
1930
  'location' => 'aws.query',
1931
- 'default' => '2013-06-15',
1932
  ),
1933
  'DryRun' => array(
1934
  'type' => 'boolean',
@@ -1946,40 +2020,6 @@ return array (
1946
  ),
1947
  ),
1948
  ),
1949
- 'DeactivateLicense' => array(
1950
- 'httpMethod' => 'POST',
1951
- 'uri' => '/',
1952
- 'class' => 'Aws\\Common\\Command\\QueryCommand',
1953
- 'responseClass' => 'EmptyOutput',
1954
- 'responseType' => 'model',
1955
- 'parameters' => array(
1956
- 'Action' => array(
1957
- 'static' => true,
1958
- 'location' => 'aws.query',
1959
- 'default' => 'DeactivateLicense',
1960
- ),
1961
- 'Version' => array(
1962
- 'static' => true,
1963
- 'location' => 'aws.query',
1964
- 'default' => '2013-06-15',
1965
- ),
1966
- 'DryRun' => array(
1967
- 'type' => 'boolean',
1968
- 'format' => 'boolean-string',
1969
- 'location' => 'aws.query',
1970
- ),
1971
- 'LicenseId' => array(
1972
- 'required' => true,
1973
- 'type' => 'string',
1974
- 'location' => 'aws.query',
1975
- ),
1976
- 'Capacity' => array(
1977
- 'required' => true,
1978
- 'type' => 'numeric',
1979
- 'location' => 'aws.query',
1980
- ),
1981
- ),
1982
- ),
1983
  'DeleteCustomerGateway' => array(
1984
  'httpMethod' => 'POST',
1985
  'uri' => '/',
@@ -1995,7 +2035,7 @@ return array (
1995
  'Version' => array(
1996
  'static' => true,
1997
  'location' => 'aws.query',
1998
- 'default' => '2013-06-15',
1999
  ),
2000
  'DryRun' => array(
2001
  'type' => 'boolean',
@@ -2024,7 +2064,7 @@ return array (
2024
  'Version' => array(
2025
  'static' => true,
2026
  'location' => 'aws.query',
2027
- 'default' => '2013-06-15',
2028
  ),
2029
  'DryRun' => array(
2030
  'type' => 'boolean',
@@ -2053,7 +2093,7 @@ return array (
2053
  'Version' => array(
2054
  'static' => true,
2055
  'location' => 'aws.query',
2056
- 'default' => '2013-06-15',
2057
  ),
2058
  'DryRun' => array(
2059
  'type' => 'boolean',
@@ -2082,7 +2122,7 @@ return array (
2082
  'Version' => array(
2083
  'static' => true,
2084
  'location' => 'aws.query',
2085
- 'default' => '2013-06-15',
2086
  ),
2087
  'DryRun' => array(
2088
  'type' => 'boolean',
@@ -2111,7 +2151,7 @@ return array (
2111
  'Version' => array(
2112
  'static' => true,
2113
  'location' => 'aws.query',
2114
- 'default' => '2013-06-15',
2115
  ),
2116
  'DryRun' => array(
2117
  'type' => 'boolean',
@@ -2140,7 +2180,7 @@ return array (
2140
  'Version' => array(
2141
  'static' => true,
2142
  'location' => 'aws.query',
2143
- 'default' => '2013-06-15',
2144
  ),
2145
  'DryRun' => array(
2146
  'type' => 'boolean',
@@ -2180,7 +2220,7 @@ return array (
2180
  'Version' => array(
2181
  'static' => true,
2182
  'location' => 'aws.query',
2183
- 'default' => '2013-06-15',
2184
  ),
2185
  'DryRun' => array(
2186
  'type' => 'boolean',
@@ -2209,7 +2249,7 @@ return array (
2209
  'Version' => array(
2210
  'static' => true,
2211
  'location' => 'aws.query',
2212
- 'default' => '2013-06-15',
2213
  ),
2214
  'DryRun' => array(
2215
  'type' => 'boolean',
@@ -2238,7 +2278,7 @@ return array (
2238
  'Version' => array(
2239
  'static' => true,
2240
  'location' => 'aws.query',
2241
- 'default' => '2013-06-15',
2242
  ),
2243
  'DryRun' => array(
2244
  'type' => 'boolean',
@@ -2272,7 +2312,7 @@ return array (
2272
  'Version' => array(
2273
  'static' => true,
2274
  'location' => 'aws.query',
2275
- 'default' => '2013-06-15',
2276
  ),
2277
  'DryRun' => array(
2278
  'type' => 'boolean',
@@ -2301,7 +2341,7 @@ return array (
2301
  'Version' => array(
2302
  'static' => true,
2303
  'location' => 'aws.query',
2304
- 'default' => '2013-06-15',
2305
  ),
2306
  'DryRun' => array(
2307
  'type' => 'boolean',
@@ -2333,7 +2373,7 @@ return array (
2333
  'Version' => array(
2334
  'static' => true,
2335
  'location' => 'aws.query',
2336
- 'default' => '2013-06-15',
2337
  ),
2338
  'DryRun' => array(
2339
  'type' => 'boolean',
@@ -2362,7 +2402,7 @@ return array (
2362
  'Version' => array(
2363
  'static' => true,
2364
  'location' => 'aws.query',
2365
- 'default' => '2013-06-15',
2366
  ),
2367
  'DryRun' => array(
2368
  'type' => 'boolean',
@@ -2386,7 +2426,7 @@ return array (
2386
  'Version' => array(
2387
  'static' => true,
2388
  'location' => 'aws.query',
2389
- 'default' => '2013-06-15',
2390
  ),
2391
  'DryRun' => array(
2392
  'type' => 'boolean',
@@ -2415,7 +2455,7 @@ return array (
2415
  'Version' => array(
2416
  'static' => true,
2417
  'location' => 'aws.query',
2418
- 'default' => '2013-06-15',
2419
  ),
2420
  'DryRun' => array(
2421
  'type' => 'boolean',
@@ -2466,7 +2506,7 @@ return array (
2466
  'Version' => array(
2467
  'static' => true,
2468
  'location' => 'aws.query',
2469
- 'default' => '2013-06-15',
2470
  ),
2471
  'DryRun' => array(
2472
  'type' => 'boolean',
@@ -2495,7 +2535,7 @@ return array (
2495
  'Version' => array(
2496
  'static' => true,
2497
  'location' => 'aws.query',
2498
- 'default' => '2013-06-15',
2499
  ),
2500
  'DryRun' => array(
2501
  'type' => 'boolean',
@@ -2509,6 +2549,35 @@ return array (
2509
  ),
2510
  ),
2511
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2512
  'DeleteVpnConnection' => array(
2513
  'httpMethod' => 'POST',
2514
  'uri' => '/',
@@ -2524,7 +2593,7 @@ return array (
2524
  'Version' => array(
2525
  'static' => true,
2526
  'location' => 'aws.query',
2527
- 'default' => '2013-06-15',
2528
  ),
2529
  'DryRun' => array(
2530
  'type' => 'boolean',
@@ -2553,7 +2622,7 @@ return array (
2553
  'Version' => array(
2554
  'static' => true,
2555
  'location' => 'aws.query',
2556
- 'default' => '2013-06-15',
2557
  ),
2558
  'VpnConnectionId' => array(
2559
  'required' => true,
@@ -2582,7 +2651,7 @@ return array (
2582
  'Version' => array(
2583
  'static' => true,
2584
  'location' => 'aws.query',
2585
- 'default' => '2013-06-15',
2586
  ),
2587
  'DryRun' => array(
2588
  'type' => 'boolean',
@@ -2611,7 +2680,7 @@ return array (
2611
  'Version' => array(
2612
  'static' => true,
2613
  'location' => 'aws.query',
2614
- 'default' => '2013-06-15',
2615
  ),
2616
  'DryRun' => array(
2617
  'type' => 'boolean',
@@ -2640,7 +2709,7 @@ return array (
2640
  'Version' => array(
2641
  'static' => true,
2642
  'location' => 'aws.query',
2643
- 'default' => '2013-06-15',
2644
  ),
2645
  'DryRun' => array(
2646
  'type' => 'boolean',
@@ -2673,7 +2742,7 @@ return array (
2673
  'Version' => array(
2674
  'static' => true,
2675
  'location' => 'aws.query',
2676
- 'default' => '2013-06-15',
2677
  ),
2678
  'DryRun' => array(
2679
  'type' => 'boolean',
@@ -2737,7 +2806,7 @@ return array (
2737
  'Version' => array(
2738
  'static' => true,
2739
  'location' => 'aws.query',
2740
- 'default' => '2013-06-15',
2741
  ),
2742
  'DryRun' => array(
2743
  'type' => 'boolean',
@@ -2792,7 +2861,7 @@ return array (
2792
  'Version' => array(
2793
  'static' => true,
2794
  'location' => 'aws.query',
2795
- 'default' => '2013-06-15',
2796
  ),
2797
  'DryRun' => array(
2798
  'type' => 'boolean',
@@ -2847,7 +2916,7 @@ return array (
2847
  'Version' => array(
2848
  'static' => true,
2849
  'location' => 'aws.query',
2850
- 'default' => '2013-06-15',
2851
  ),
2852
  'DryRun' => array(
2853
  'type' => 'boolean',
@@ -2902,7 +2971,7 @@ return array (
2902
  'Version' => array(
2903
  'static' => true,
2904
  'location' => 'aws.query',
2905
- 'default' => '2013-06-15',
2906
  ),
2907
  'DryRun' => array(
2908
  'type' => 'boolean',
@@ -2957,7 +3026,7 @@ return array (
2957
  'Version' => array(
2958
  'static' => true,
2959
  'location' => 'aws.query',
2960
- 'default' => '2013-06-15',
2961
  ),
2962
  'DryRun' => array(
2963
  'type' => 'boolean',
@@ -3012,7 +3081,7 @@ return array (
3012
  'Version' => array(
3013
  'static' => true,
3014
  'location' => 'aws.query',
3015
- 'default' => '2013-06-15',
3016
  ),
3017
  'ExportTaskIds' => array(
3018
  'type' => 'array',
@@ -3040,7 +3109,7 @@ return array (
3040
  'Version' => array(
3041
  'static' => true,
3042
  'location' => 'aws.query',
3043
- 'default' => '2013-06-15',
3044
  ),
3045
  'DryRun' => array(
3046
  'type' => 'boolean',
@@ -3074,7 +3143,7 @@ return array (
3074
  'Version' => array(
3075
  'static' => true,
3076
  'location' => 'aws.query',
3077
- 'default' => '2013-06-15',
3078
  ),
3079
  'DryRun' => array(
3080
  'type' => 'boolean',
@@ -3147,7 +3216,7 @@ return array (
3147
  'Version' => array(
3148
  'static' => true,
3149
  'location' => 'aws.query',
3150
- 'default' => '2013-06-15',
3151
  ),
3152
  'DryRun' => array(
3153
  'type' => 'boolean',
@@ -3163,20 +3232,6 @@ return array (
3163
  'required' => true,
3164
  'type' => 'string',
3165
  'location' => 'aws.query',
3166
- 'enum' => array(
3167
- 'instanceType',
3168
- 'kernel',
3169
- 'ramdisk',
3170
- 'userData',
3171
- 'disableApiTermination',
3172
- 'instanceInitiatedShutdownBehavior',
3173
- 'rootDeviceName',
3174
- 'blockDeviceMapping',
3175
- 'productCodes',
3176
- 'sourceDestCheck',
3177
- 'groupSet',
3178
- 'ebsOptimized',
3179
- ),
3180
  ),
3181
  ),
3182
  ),
@@ -3195,7 +3250,7 @@ return array (
3195
  'Version' => array(
3196
  'static' => true,
3197
  'location' => 'aws.query',
3198
- 'default' => '2013-06-15',
3199
  ),
3200
  'DryRun' => array(
3201
  'type' => 'boolean',
@@ -3263,7 +3318,7 @@ return array (
3263
  'Version' => array(
3264
  'static' => true,
3265
  'location' => 'aws.query',
3266
- 'default' => '2013-06-15',
3267
  ),
3268
  'DryRun' => array(
3269
  'type' => 'boolean',
@@ -3301,6 +3356,14 @@ return array (
3301
  ),
3302
  ),
3303
  ),
 
 
 
 
 
 
 
 
3304
  ),
3305
  ),
3306
  'DescribeInternetGateways' => array(
@@ -3318,7 +3381,7 @@ return array (
3318
  'Version' => array(
3319
  'static' => true,
3320
  'location' => 'aws.query',
3321
- 'default' => '2013-06-15',
3322
  ),
3323
  'DryRun' => array(
3324
  'type' => 'boolean',
@@ -3373,7 +3436,7 @@ return array (
3373
  'Version' => array(
3374
  'static' => true,
3375
  'location' => 'aws.query',
3376
- 'default' => '2013-06-15',
3377
  ),
3378
  'DryRun' => array(
3379
  'type' => 'boolean',
@@ -3413,61 +3476,6 @@ return array (
3413
  ),
3414
  ),
3415
  ),
3416
- 'DescribeLicenses' => array(
3417
- 'httpMethod' => 'POST',
3418
- 'uri' => '/',
3419
- 'class' => 'Aws\\Common\\Command\\QueryCommand',
3420
- 'responseClass' => 'DescribeLicensesResult',
3421
- 'responseType' => 'model',
3422
- 'parameters' => array(
3423
- 'Action' => array(
3424
- 'static' => true,
3425
- 'location' => 'aws.query',
3426
- 'default' => 'DescribeLicenses',
3427
- ),
3428
- 'Version' => array(
3429
- 'static' => true,
3430
- 'location' => 'aws.query',
3431
- 'default' => '2013-06-15',
3432
- ),
3433
- 'DryRun' => array(
3434
- 'type' => 'boolean',
3435
- 'format' => 'boolean-string',
3436
- 'location' => 'aws.query',
3437
- ),
3438
- 'LicenseIds' => array(
3439
- 'type' => 'array',
3440
- 'location' => 'aws.query',
3441
- 'sentAs' => 'LicenseId',
3442
- 'items' => array(
3443
- 'name' => 'LicenseId',
3444
- 'type' => 'string',
3445
- ),
3446
- ),
3447
- 'Filters' => array(
3448
- 'type' => 'array',
3449
- 'location' => 'aws.query',
3450
- 'sentAs' => 'Filter',
3451
- 'items' => array(
3452
- 'name' => 'Filter',
3453
- 'type' => 'object',
3454
- 'properties' => array(
3455
- 'Name' => array(
3456
- 'type' => 'string',
3457
- ),
3458
- 'Values' => array(
3459
- 'type' => 'array',
3460
- 'sentAs' => 'Value',
3461
- 'items' => array(
3462
- 'name' => 'Value',
3463
- 'type' => 'string',
3464
- ),
3465
- ),
3466
- ),
3467
- ),
3468
- ),
3469
- ),
3470
- ),
3471
  'DescribeNetworkAcls' => array(
3472
  'httpMethod' => 'POST',
3473
  'uri' => '/',
@@ -3483,7 +3491,7 @@ return array (
3483
  'Version' => array(
3484
  'static' => true,
3485
  'location' => 'aws.query',
3486
- 'default' => '2013-06-15',
3487
  ),
3488
  'DryRun' => array(
3489
  'type' => 'boolean',
@@ -3538,7 +3546,7 @@ return array (
3538
  'Version' => array(
3539
  'static' => true,
3540
  'location' => 'aws.query',
3541
- 'default' => '2013-06-15',
3542
  ),
3543
  'DryRun' => array(
3544
  'type' => 'boolean',
@@ -3550,20 +3558,7 @@ return array (
3550
  'type' => 'string',
3551
  'location' => 'aws.query',
3552
  ),
3553
- 'Description' => array(
3554
- 'type' => 'string',
3555
- 'location' => 'aws.query',
3556
- ),
3557
- 'SourceDestCheck' => array(
3558
- 'type' => 'string',
3559
- 'location' => 'aws.query',
3560
- ),
3561
- 'Groups' => array(
3562
- 'type' => 'string',
3563
- 'location' => 'aws.query',
3564
- 'sentAs' => 'GroupSet',
3565
- ),
3566
- 'Attachment' => array(
3567
  'type' => 'string',
3568
  'location' => 'aws.query',
3569
  ),
@@ -3584,7 +3579,7 @@ return array (
3584
  'Version' => array(
3585
  'static' => true,
3586
  'location' => 'aws.query',
3587
- 'default' => '2013-06-15',
3588
  ),
3589
  'DryRun' => array(
3590
  'type' => 'boolean',
@@ -3639,7 +3634,7 @@ return array (
3639
  'Version' => array(
3640
  'static' => true,
3641
  'location' => 'aws.query',
3642
- 'default' => '2013-06-15',
3643
  ),
3644
  'DryRun' => array(
3645
  'type' => 'boolean',
@@ -3694,7 +3689,7 @@ return array (
3694
  'Version' => array(
3695
  'static' => true,
3696
  'location' => 'aws.query',
3697
- 'default' => '2013-06-15',
3698
  ),
3699
  'DryRun' => array(
3700
  'type' => 'boolean',
@@ -3749,7 +3744,7 @@ return array (
3749
  'Version' => array(
3750
  'static' => true,
3751
  'location' => 'aws.query',
3752
- 'default' => '2013-06-15',
3753
  ),
3754
  'DryRun' => array(
3755
  'type' => 'boolean',
@@ -3808,7 +3803,7 @@ return array (
3808
  'Version' => array(
3809
  'static' => true,
3810
  'location' => 'aws.query',
3811
- 'default' => '2013-06-15',
3812
  ),
3813
  'ReservedInstancesId' => array(
3814
  'type' => 'string',
@@ -3841,66 +3836,33 @@ return array (
3841
  ),
3842
  ),
3843
  ),
3844
- 'DescribeReservedInstancesOfferings' => array(
3845
  'httpMethod' => 'POST',
3846
  'uri' => '/',
3847
  'class' => 'Aws\\Common\\Command\\QueryCommand',
3848
- 'responseClass' => 'DescribeReservedInstancesOfferingsResult',
3849
  'responseType' => 'model',
3850
  'parameters' => array(
3851
  'Action' => array(
3852
  'static' => true,
3853
  'location' => 'aws.query',
3854
- 'default' => 'DescribeReservedInstancesOfferings',
3855
  ),
3856
  'Version' => array(
3857
  'static' => true,
3858
  'location' => 'aws.query',
3859
- 'default' => '2013-06-15',
3860
- ),
3861
- 'DryRun' => array(
3862
- 'type' => 'boolean',
3863
- 'format' => 'boolean-string',
3864
- 'location' => 'aws.query',
3865
  ),
3866
- 'ReservedInstancesOfferingIds' => array(
3867
  'type' => 'array',
3868
  'location' => 'aws.query',
3869
- 'sentAs' => 'ReservedInstancesOfferingId',
3870
  'items' => array(
3871
- 'name' => 'ReservedInstancesOfferingId',
3872
  'type' => 'string',
3873
  ),
3874
  ),
3875
- 'InstanceType' => array(
3876
- 'type' => 'string',
3877
- 'location' => 'aws.query',
3878
- 'enum' => array(
3879
- 't1.micro',
3880
- 'm1.small',
3881
- 'm1.medium',
3882
- 'm1.large',
3883
- 'm1.xlarge',
3884
- 'm2.xlarge',
3885
- 'm2.2xlarge',
3886
- 'm2.4xlarge',
3887
- 'm3.xlarge',
3888
- 'm3.2xlarge',
3889
- 'c1.medium',
3890
- 'c1.xlarge',
3891
- 'hi1.4xlarge',
3892
- 'hs1.8xlarge',
3893
- 'cc1.4xlarge',
3894
- 'cc2.8xlarge',
3895
- 'cg1.4xlarge',
3896
- 'cr1.8xlarge',
3897
- ),
3898
- ),
3899
- 'AvailabilityZone' => array(
3900
- 'type' => 'string',
3901
- 'location' => 'aws.query',
3902
- ),
3903
- 'ProductDescription' => array(
3904
  'type' => 'string',
3905
  'location' => 'aws.query',
3906
  ),
@@ -3926,17 +3888,84 @@ return array (
3926
  ),
3927
  ),
3928
  ),
3929
- 'InstanceTenancy' => array(
3930
- 'type' => 'string',
3931
- 'location' => 'aws.query',
3932
- ),
3933
- 'OfferingType' => array(
3934
- 'type' => 'string',
3935
- 'location' => 'aws.query',
3936
- ),
3937
- 'NextToken' => array(
3938
- 'type' => 'string',
3939
- 'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3940
  ),
3941
  'MaxResults' => array(
3942
  'type' => 'numeric',
@@ -3976,7 +4005,7 @@ return array (
3976
  'Version' => array(
3977
  'static' => true,
3978
  'location' => 'aws.query',
3979
- 'default' => '2013-06-15',
3980
  ),
3981
  'DryRun' => array(
3982
  'type' => 'boolean',
@@ -4031,7 +4060,7 @@ return array (
4031
  'Version' => array(
4032
  'static' => true,
4033
  'location' => 'aws.query',
4034
- 'default' => '2013-06-15',
4035
  ),
4036
  'DryRun' => array(
4037
  'type' => 'boolean',
@@ -4095,7 +4124,7 @@ return array (
4095
  'Version' => array(
4096
  'static' => true,
4097
  'location' => 'aws.query',
4098
- 'default' => '2013-06-15',
4099
  ),
4100
  'DryRun' => array(
4101
  'type' => 'boolean',
@@ -4111,10 +4140,6 @@ return array (
4111
  'required' => true,
4112
  'type' => 'string',
4113
  'location' => 'aws.query',
4114
- 'enum' => array(
4115
- 'productCodes',
4116
- 'createVolumePermission',
4117
- ),
4118
  ),
4119
  ),
4120
  ),
@@ -4133,7 +4158,7 @@ return array (
4133
  'Version' => array(
4134
  'static' => true,
4135
  'location' => 'aws.query',
4136
- 'default' => '2013-06-15',
4137
  ),
4138
  'DryRun' => array(
4139
  'type' => 'boolean',
@@ -4206,7 +4231,7 @@ return array (
4206
  'Version' => array(
4207
  'static' => true,
4208
  'location' => 'aws.query',
4209
- 'default' => '2013-06-15',
4210
  ),
4211
  'DryRun' => array(
4212
  'type' => 'boolean',
@@ -4230,7 +4255,7 @@ return array (
4230
  'Version' => array(
4231
  'static' => true,
4232
  'location' => 'aws.query',
4233
- 'default' => '2013-06-15',
4234
  ),
4235
  'DryRun' => array(
4236
  'type' => 'boolean',
@@ -4285,7 +4310,7 @@ return array (
4285
  'Version' => array(
4286
  'static' => true,
4287
  'location' => 'aws.query',
4288
- 'default' => '2013-06-15',
4289
  ),
4290
  'DryRun' => array(
4291
  'type' => 'boolean',
@@ -4317,26 +4342,6 @@ return array (
4317
  'items' => array(
4318
  'name' => 'InstanceType',
4319
  'type' => 'string',
4320
- 'enum' => array(
4321
- 't1.micro',
4322
- 'm1.small',
4323
- 'm1.medium',
4324
- 'm1.large',
4325
- 'm1.xlarge',
4326
- 'm2.xlarge',
4327
- 'm2.2xlarge',
4328
- 'm2.4xlarge',
4329
- 'm3.xlarge',
4330
- 'm3.2xlarge',
4331
- 'c1.medium',
4332
- 'c1.xlarge',
4333
- 'hi1.4xlarge',
4334
- 'hs1.8xlarge',
4335
- 'cc1.4xlarge',
4336
- 'cc2.8xlarge',
4337
- 'cg1.4xlarge',
4338
- 'cr1.8xlarge',
4339
- ),
4340
  ),
4341
  ),
4342
  'ProductDescriptions' => array(
@@ -4399,7 +4404,7 @@ return array (
4399
  'Version' => array(
4400
  'static' => true,
4401
  'location' => 'aws.query',
4402
- 'default' => '2013-06-15',
4403
  ),
4404
  'DryRun' => array(
4405
  'type' => 'boolean',
@@ -4454,7 +4459,7 @@ return array (
4454
  'Version' => array(
4455
  'static' => true,
4456
  'location' => 'aws.query',
4457
- 'default' => '2013-06-15',
4458
  ),
4459
  'DryRun' => array(
4460
  'type' => 'boolean',
@@ -4483,6 +4488,14 @@ return array (
4483
  ),
4484
  ),
4485
  ),
 
 
 
 
 
 
 
 
4486
  ),
4487
  ),
4488
  'DescribeVolumeAttribute' => array(
@@ -4500,7 +4513,7 @@ return array (
4500
  'Version' => array(
4501
  'static' => true,
4502
  'location' => 'aws.query',
4503
- 'default' => '2013-06-15',
4504
  ),
4505
  'DryRun' => array(
4506
  'type' => 'boolean',
@@ -4515,10 +4528,6 @@ return array (
4515
  'Attribute' => array(
4516
  'type' => 'string',
4517
  'location' => 'aws.query',
4518
- 'enum' => array(
4519
- 'autoEnableIO',
4520
- 'productCodes',
4521
- ),
4522
  ),
4523
  ),
4524
  ),
@@ -4537,7 +4546,7 @@ return array (
4537
  'Version' => array(
4538
  'static' => true,
4539
  'location' => 'aws.query',
4540
- 'default' => '2013-06-15',
4541
  ),
4542
  'DryRun' => array(
4543
  'type' => 'boolean',
@@ -4600,7 +4609,7 @@ return array (
4600
  'Version' => array(
4601
  'static' => true,
4602
  'location' => 'aws.query',
4603
- 'default' => '2013-06-15',
4604
  ),
4605
  'DryRun' => array(
4606
  'type' => 'boolean',
@@ -4655,7 +4664,7 @@ return array (
4655
  'Version' => array(
4656
  'static' => true,
4657
  'location' => 'aws.query',
4658
- 'default' => '2013-06-15',
4659
  ),
4660
  'DryRun' => array(
4661
  'type' => 'boolean',
@@ -4670,9 +4679,60 @@ return array (
4670
  'Attribute' => array(
4671
  'type' => 'string',
4672
  'location' => 'aws.query',
4673
- 'enum' => array(
4674
- 'enableDnsSupport',
4675
- 'enableDnsHostnames',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4676
  ),
4677
  ),
4678
  ),
@@ -4692,7 +4752,7 @@ return array (
4692
  'Version' => array(
4693
  'static' => true,
4694
  'location' => 'aws.query',
4695
- 'default' => '2013-06-15',
4696
  ),
4697
  'DryRun' => array(
4698
  'type' => 'boolean',
@@ -4747,7 +4807,7 @@ return array (
4747
  'Version' => array(
4748
  'static' => true,
4749
  'location' => 'aws.query',
4750
- 'default' => '2013-06-15',
4751
  ),
4752
  'DryRun' => array(
4753
  'type' => 'boolean',
@@ -4802,7 +4862,7 @@ return array (
4802
  'Version' => array(
4803
  'static' => true,
4804
  'location' => 'aws.query',
4805
- 'default' => '2013-06-15',
4806
  ),
4807
  'DryRun' => array(
4808
  'type' => 'boolean',
@@ -4857,7 +4917,7 @@ return array (
4857
  'Version' => array(
4858
  'static' => true,
4859
  'location' => 'aws.query',
4860
- 'default' => '2013-06-15',
4861
  ),
4862
  'DryRun' => array(
4863
  'type' => 'boolean',
@@ -4891,7 +4951,7 @@ return array (
4891
  'Version' => array(
4892
  'static' => true,
4893
  'location' => 'aws.query',
4894
- 'default' => '2013-06-15',
4895
  ),
4896
  'DryRun' => array(
4897
  'type' => 'boolean',
@@ -4925,7 +4985,7 @@ return array (
4925
  'Version' => array(
4926
  'static' => true,
4927
  'location' => 'aws.query',
4928
- 'default' => '2013-06-15',
4929
  ),
4930
  'DryRun' => array(
4931
  'type' => 'boolean',
@@ -4967,7 +5027,7 @@ return array (
4967
  'Version' => array(
4968
  'static' => true,
4969
  'location' => 'aws.query',
4970
- 'default' => '2013-06-15',
4971
  ),
4972
  'DryRun' => array(
4973
  'type' => 'boolean',
@@ -5001,7 +5061,7 @@ return array (
5001
  'Version' => array(
5002
  'static' => true,
5003
  'location' => 'aws.query',
5004
- 'default' => '2013-06-15',
5005
  ),
5006
  'RouteTableId' => array(
5007
  'required' => true,
@@ -5030,7 +5090,7 @@ return array (
5030
  'Version' => array(
5031
  'static' => true,
5032
  'location' => 'aws.query',
5033
- 'default' => '2013-06-15',
5034
  ),
5035
  'DryRun' => array(
5036
  'type' => 'boolean',
@@ -5062,7 +5122,7 @@ return array (
5062
  'Version' => array(
5063
  'static' => true,
5064
  'location' => 'aws.query',
5065
- 'default' => '2013-06-15',
5066
  ),
5067
  'DryRun' => array(
5068
  'type' => 'boolean',
@@ -5091,7 +5151,7 @@ return array (
5091
  'Version' => array(
5092
  'static' => true,
5093
  'location' => 'aws.query',
5094
- 'default' => '2013-06-15',
5095
  ),
5096
  'RouteTableId' => array(
5097
  'required' => true,
@@ -5120,7 +5180,7 @@ return array (
5120
  'Version' => array(
5121
  'static' => true,
5122
  'location' => 'aws.query',
5123
- 'default' => '2013-06-15',
5124
  ),
5125
  'DryRun' => array(
5126
  'type' => 'boolean',
@@ -5149,7 +5209,7 @@ return array (
5149
  'Version' => array(
5150
  'static' => true,
5151
  'location' => 'aws.query',
5152
- 'default' => '2013-06-15',
5153
  ),
5154
  'DryRun' => array(
5155
  'type' => 'boolean',
@@ -5178,7 +5238,7 @@ return array (
5178
  'Version' => array(
5179
  'static' => true,
5180
  'location' => 'aws.query',
5181
- 'default' => '2013-06-15',
5182
  ),
5183
  'DryRun' => array(
5184
  'type' => 'boolean',
@@ -5207,7 +5267,7 @@ return array (
5207
  'Version' => array(
5208
  'static' => true,
5209
  'location' => 'aws.query',
5210
- 'default' => '2013-06-15',
5211
  ),
5212
  'DryRun' => array(
5213
  'type' => 'boolean',
@@ -5241,26 +5301,6 @@ return array (
5241
  ),
5242
  'InstanceType' => array(
5243
  'type' => 'string',
5244
- 'enum' => array(
5245
- 't1.micro',
5246
- 'm1.small',
5247
- 'm1.medium',
5248
- 'm1.large',
5249
- 'm1.xlarge',
5250
- 'm2.xlarge',
5251
- 'm2.2xlarge',
5252
- 'm2.4xlarge',
5253
- 'm3.xlarge',
5254
- 'm3.2xlarge',
5255
- 'c1.medium',
5256
- 'c1.xlarge',
5257
- 'hi1.4xlarge',
5258
- 'hs1.8xlarge',
5259
- 'cc1.4xlarge',
5260
- 'cc2.8xlarge',
5261
- 'cg1.4xlarge',
5262
- 'cr1.8xlarge',
5263
- ),
5264
  ),
5265
  'Placement' => array(
5266
  'type' => 'object',
@@ -5353,7 +5393,7 @@ return array (
5353
  'Version' => array(
5354
  'static' => true,
5355
  'location' => 'aws.query',
5356
- 'default' => '2013-06-15',
5357
  ),
5358
  'DryRun' => array(
5359
  'type' => 'boolean',
@@ -5390,7 +5430,7 @@ return array (
5390
  'Version' => array(
5391
  'static' => true,
5392
  'location' => 'aws.query',
5393
- 'default' => '2013-06-15',
5394
  ),
5395
  'DryRun' => array(
5396
  'type' => 'boolean',
@@ -5398,10 +5438,12 @@ return array (
5398
  'location' => 'aws.query',
5399
  ),
5400
  'AvailabilityZone' => array(
 
5401
  'type' => 'string',
5402
  'location' => 'aws.query',
5403
  ),
5404
  'Image' => array(
 
5405
  'type' => 'object',
5406
  'location' => 'aws.query',
5407
  'properties' => array(
@@ -5424,6 +5466,7 @@ return array (
5424
  'location' => 'aws.query',
5425
  ),
5426
  'Volume' => array(
 
5427
  'type' => 'object',
5428
  'location' => 'aws.query',
5429
  'properties' => array(
@@ -5450,7 +5493,7 @@ return array (
5450
  'Version' => array(
5451
  'static' => true,
5452
  'location' => 'aws.query',
5453
- 'default' => '2013-06-15',
5454
  ),
5455
  'DryRun' => array(
5456
  'type' => 'boolean',
@@ -5563,7 +5606,7 @@ return array (
5563
  'Version' => array(
5564
  'static' => true,
5565
  'location' => 'aws.query',
5566
- 'default' => '2013-06-15',
5567
  ),
5568
  'DryRun' => array(
5569
  'type' => 'boolean',
@@ -5578,20 +5621,6 @@ return array (
5578
  'Attribute' => array(
5579
  'type' => 'string',
5580
  'location' => 'aws.query',
5581
- 'enum' => array(
5582
- 'instanceType',
5583
- 'kernel',
5584
- 'ramdisk',
5585
- 'userData',
5586
- 'disableApiTermination',
5587
- 'instanceInitiatedShutdownBehavior',
5588
- 'rootDeviceName',
5589
- 'blockDeviceMapping',
5590
- 'productCodes',
5591
- 'sourceDestCheck',
5592
- 'groupSet',
5593
- 'ebsOptimized',
5594
- ),
5595
  ),
5596
  'Value' => array(
5597
  'type' => 'string',
@@ -5713,6 +5742,15 @@ return array (
5713
  ),
5714
  ),
5715
  ),
 
 
 
 
 
 
 
 
 
5716
  ),
5717
  ),
5718
  'ModifyNetworkInterfaceAttribute' => array(
@@ -5730,7 +5768,7 @@ return array (
5730
  'Version' => array(
5731
  'static' => true,
5732
  'location' => 'aws.query',
5733
- 'default' => '2013-06-15',
5734
  ),
5735
  'DryRun' => array(
5736
  'type' => 'boolean',
@@ -5785,6 +5823,63 @@ return array (
5785
  ),
5786
  ),
5787
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5788
  'ModifySnapshotAttribute' => array(
5789
  'httpMethod' => 'POST',
5790
  'uri' => '/',
@@ -5800,7 +5895,7 @@ return array (
5800
  'Version' => array(
5801
  'static' => true,
5802
  'location' => 'aws.query',
5803
- 'default' => '2013-06-15',
5804
  ),
5805
  'DryRun' => array(
5806
  'type' => 'boolean',
@@ -5815,10 +5910,6 @@ return array (
5815
  'Attribute' => array(
5816
  'type' => 'string',
5817
  'location' => 'aws.query',
5818
- 'enum' => array(
5819
- 'productCodes',
5820
- 'createVolumePermission',
5821
- ),
5822
  ),
5823
  'OperationType' => array(
5824
  'type' => 'string',
@@ -5880,6 +5971,40 @@ return array (
5880
  ),
5881
  ),
5882
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5883
  'ModifyVolumeAttribute' => array(
5884
  'httpMethod' => 'POST',
5885
  'uri' => '/',
@@ -5895,7 +6020,7 @@ return array (
5895
  'Version' => array(
5896
  'static' => true,
5897
  'location' => 'aws.query',
5898
- 'default' => '2013-06-15',
5899
  ),
5900
  'DryRun' => array(
5901
  'type' => 'boolean',
@@ -5908,9 +6033,14 @@ return array (
5908
  'location' => 'aws.query',
5909
  ),
5910
  'AutoEnableIO' => array(
5911
- 'type' => 'boolean',
5912
- 'format' => 'boolean-string',
5913
  'location' => 'aws.query',
 
 
 
 
 
 
5914
  ),
5915
  ),
5916
  ),
@@ -5929,7 +6059,7 @@ return array (
5929
  'Version' => array(
5930
  'static' => true,
5931
  'location' => 'aws.query',
5932
- 'default' => '2013-06-15',
5933
  ),
5934
  'VpcId' => array(
5935
  'required' => true,
@@ -5973,7 +6103,7 @@ return array (
5973
  'Version' => array(
5974
  'static' => true,
5975
  'location' => 'aws.query',
5976
- 'default' => '2013-06-15',
5977
  ),
5978
  'DryRun' => array(
5979
  'type' => 'boolean',
@@ -6007,7 +6137,7 @@ return array (
6007
  'Version' => array(
6008
  'static' => true,
6009
  'location' => 'aws.query',
6010
- 'default' => '2013-06-15',
6011
  ),
6012
  'DryRun' => array(
6013
  'type' => 'boolean',
@@ -6053,7 +6183,7 @@ return array (
6053
  'Version' => array(
6054
  'static' => true,
6055
  'location' => 'aws.query',
6056
- 'default' => '2013-06-15',
6057
  ),
6058
  'DryRun' => array(
6059
  'type' => 'boolean',
@@ -6087,7 +6217,7 @@ return array (
6087
  'Version' => array(
6088
  'static' => true,
6089
  'location' => 'aws.query',
6090
- 'default' => '2013-06-15',
6091
  ),
6092
  'DryRun' => array(
6093
  'type' => 'boolean',
@@ -6099,6 +6229,7 @@ return array (
6099
  'location' => 'aws.query',
6100
  ),
6101
  'Name' => array(
 
6102
  'type' => 'string',
6103
  'location' => 'aws.query',
6104
  ),
@@ -6151,14 +6282,14 @@ return array (
6151
  ),
6152
  'VolumeType' => array(
6153
  'type' => 'string',
6154
- 'enum' => array(
6155
- 'standard',
6156
- 'io1',
6157
- ),
6158
  ),
6159
  'Iops' => array(
6160
  'type' => 'numeric',
6161
  ),
 
 
 
 
6162
  ),
6163
  ),
6164
  'NoDevice' => array(
@@ -6167,6 +6298,43 @@ return array (
6167
  ),
6168
  ),
6169
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6170
  ),
6171
  ),
6172
  'ReleaseAddress' => array(
@@ -6184,7 +6352,7 @@ return array (
6184
  'Version' => array(
6185
  'static' => true,
6186
  'location' => 'aws.query',
6187
- 'default' => '2013-06-15',
6188
  ),
6189
  'DryRun' => array(
6190
  'type' => 'boolean',
@@ -6216,7 +6384,7 @@ return array (
6216
  'Version' => array(
6217
  'static' => true,
6218
  'location' => 'aws.query',
6219
- 'default' => '2013-06-15',
6220
  ),
6221
  'DryRun' => array(
6222
  'type' => 'boolean',
@@ -6250,7 +6418,7 @@ return array (
6250
  'Version' => array(
6251
  'static' => true,
6252
  'location' => 'aws.query',
6253
- 'default' => '2013-06-15',
6254
  ),
6255
  'DryRun' => array(
6256
  'type' => 'boolean',
@@ -6276,10 +6444,6 @@ return array (
6276
  'required' => true,
6277
  'type' => 'string',
6278
  'location' => 'aws.query',
6279
- 'enum' => array(
6280
- 'allow',
6281
- 'deny',
6282
- ),
6283
  ),
6284
  'Egress' => array(
6285
  'required' => true,
@@ -6334,7 +6498,7 @@ return array (
6334
  'Version' => array(
6335
  'static' => true,
6336
  'location' => 'aws.query',
6337
- 'default' => '2013-06-15',
6338
  ),
6339
  'DryRun' => array(
6340
  'type' => 'boolean',
@@ -6363,6 +6527,10 @@ return array (
6363
  'type' => 'string',
6364
  'location' => 'aws.query',
6365
  ),
 
 
 
 
6366
  ),
6367
  ),
6368
  'ReplaceRouteTableAssociation' => array(
@@ -6380,7 +6548,7 @@ return array (
6380
  'Version' => array(
6381
  'static' => true,
6382
  'location' => 'aws.query',
6383
- 'default' => '2013-06-15',
6384
  ),
6385
  'DryRun' => array(
6386
  'type' => 'boolean',
@@ -6414,7 +6582,7 @@ return array (
6414
  'Version' => array(
6415
  'static' => true,
6416
  'location' => 'aws.query',
6417
- 'default' => '2013-06-15',
6418
  ),
6419
  'DryRun' => array(
6420
  'type' => 'boolean',
@@ -6422,6 +6590,7 @@ return array (
6422
  'location' => 'aws.query',
6423
  ),
6424
  'Instances' => array(
 
6425
  'type' => 'array',
6426
  'location' => 'aws.query',
6427
  'sentAs' => 'InstanceId',
@@ -6431,6 +6600,7 @@ return array (
6431
  ),
6432
  ),
6433
  'Status' => array(
 
6434
  'type' => 'string',
6435
  'location' => 'aws.query',
6436
  ),
@@ -6453,6 +6623,7 @@ return array (
6453
  'location' => 'aws.query',
6454
  ),
6455
  'ReasonCodes' => array(
 
6456
  'type' => 'array',
6457
  'location' => 'aws.query',
6458
  'sentAs' => 'ReasonCode',
@@ -6482,7 +6653,7 @@ return array (
6482
  'Version' => array(
6483
  'static' => true,
6484
  'location' => 'aws.query',
6485
- 'default' => '2013-06-15',
6486
  ),
6487
  'DryRun' => array(
6488
  'type' => 'boolean',
@@ -6501,10 +6672,6 @@ return array (
6501
  'Type' => array(
6502
  'type' => 'string',
6503
  'location' => 'aws.query',
6504
- 'enum' => array(
6505
- 'one-time',
6506
- 'persistent',
6507
- ),
6508
  ),
6509
  'ValidFrom' => array(
6510
  'type' => array(
@@ -6545,28 +6712,11 @@ return array (
6545
  'UserData' => array(
6546
  'type' => 'string',
6547
  ),
 
 
 
6548
  'InstanceType' => array(
6549
  'type' => 'string',
6550
- 'enum' => array(
6551
- 't1.micro',
6552
- 'm1.small',
6553
- 'm1.medium',
6554
- 'm1.large',
6555
- 'm1.xlarge',
6556
- 'm2.xlarge',
6557
- 'm2.2xlarge',
6558
- 'm2.4xlarge',
6559
- 'm3.xlarge',
6560
- 'm3.2xlarge',
6561
- 'c1.medium',
6562
- 'c1.xlarge',
6563
- 'hi1.4xlarge',
6564
- 'hs1.8xlarge',
6565
- 'cc1.4xlarge',
6566
- 'cc2.8xlarge',
6567
- 'cg1.4xlarge',
6568
- 'cr1.8xlarge',
6569
- ),
6570
  ),
6571
  'Placement' => array(
6572
  'type' => 'object',
@@ -6613,14 +6763,14 @@ return array (
6613
  ),
6614
  'VolumeType' => array(
6615
  'type' => 'string',
6616
- 'enum' => array(
6617
- 'standard',
6618
- 'io1',
6619
- ),
6620
  ),
6621
  'Iops' => array(
6622
  'type' => 'numeric',
6623
  ),
 
 
 
 
6624
  ),
6625
  ),
6626
  'NoDevice' => array(
@@ -6629,9 +6779,15 @@ return array (
6629
  ),
6630
  ),
6631
  ),
6632
- 'MonitoringEnabled' => array(
6633
- 'type' => 'boolean',
6634
- 'format' => 'boolean-string',
 
 
 
 
 
 
6635
  ),
6636
  'SubnetId' => array(
6637
  'type' => 'string',
@@ -6690,6 +6846,10 @@ return array (
6690
  'SecondaryPrivateIpAddressCount' => array(
6691
  'type' => 'numeric',
6692
  ),
 
 
 
 
6693
  ),
6694
  ),
6695
  ),
@@ -6743,7 +6903,7 @@ return array (
6743
  'Version' => array(
6744
  'static' => true,
6745
  'location' => 'aws.query',
6746
- 'default' => '2013-06-15',
6747
  ),
6748
  'DryRun' => array(
6749
  'type' => 'boolean',
@@ -6777,7 +6937,7 @@ return array (
6777
  'Version' => array(
6778
  'static' => true,
6779
  'location' => 'aws.query',
6780
- 'default' => '2013-06-15',
6781
  ),
6782
  'DryRun' => array(
6783
  'type' => 'boolean',
@@ -6793,20 +6953,6 @@ return array (
6793
  'required' => true,
6794
  'type' => 'string',
6795
  'location' => 'aws.query',
6796
- 'enum' => array(
6797
- 'instanceType',
6798
- 'kernel',
6799
- 'ramdisk',
6800
- 'userData',
6801
- 'disableApiTermination',
6802
- 'instanceInitiatedShutdownBehavior',
6803
- 'rootDeviceName',
6804
- 'blockDeviceMapping',
6805
- 'productCodes',
6806
- 'sourceDestCheck',
6807
- 'groupSet',
6808
- 'ebsOptimized',
6809
- ),
6810
  ),
6811
  ),
6812
  ),
@@ -6825,7 +6971,7 @@ return array (
6825
  'Version' => array(
6826
  'static' => true,
6827
  'location' => 'aws.query',
6828
- 'default' => '2013-06-15',
6829
  ),
6830
  'DryRun' => array(
6831
  'type' => 'boolean',
@@ -6858,7 +7004,7 @@ return array (
6858
  'Version' => array(
6859
  'static' => true,
6860
  'location' => 'aws.query',
6861
- 'default' => '2013-06-15',
6862
  ),
6863
  'DryRun' => array(
6864
  'type' => 'boolean',
@@ -6874,10 +7020,6 @@ return array (
6874
  'required' => true,
6875
  'type' => 'string',
6876
  'location' => 'aws.query',
6877
- 'enum' => array(
6878
- 'productCodes',
6879
- 'createVolumePermission',
6880
- ),
6881
  ),
6882
  ),
6883
  ),
@@ -6896,7 +7038,7 @@ return array (
6896
  'Version' => array(
6897
  'static' => true,
6898
  'location' => 'aws.query',
6899
- 'default' => '2013-06-15',
6900
  ),
6901
  'DryRun' => array(
6902
  'type' => 'boolean',
@@ -6908,6 +7050,30 @@ return array (
6908
  'type' => 'string',
6909
  'location' => 'aws.query',
6910
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6911
  'IpPermissions' => array(
6912
  'type' => 'array',
6913
  'location' => 'aws.query',
@@ -6975,7 +7141,7 @@ return array (
6975
  'Version' => array(
6976
  'static' => true,
6977
  'location' => 'aws.query',
6978
- 'default' => '2013-06-15',
6979
  ),
6980
  'DryRun' => array(
6981
  'type' => 'boolean',
@@ -6990,6 +7156,30 @@ return array (
6990
  'type' => 'string',
6991
  'location' => 'aws.query',
6992
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6993
  'IpPermissions' => array(
6994
  'type' => 'array',
6995
  'location' => 'aws.query',
@@ -7057,7 +7247,7 @@ return array (
7057
  'Version' => array(
7058
  'static' => true,
7059
  'location' => 'aws.query',
7060
- 'default' => '2013-06-15',
7061
  ),
7062
  'DryRun' => array(
7063
  'type' => 'boolean',
@@ -7108,26 +7298,6 @@ return array (
7108
  'InstanceType' => array(
7109
  'type' => 'string',
7110
  'location' => 'aws.query',
7111
- 'enum' => array(
7112
- 't1.micro',
7113
- 'm1.small',
7114
- 'm1.medium',
7115
- 'm1.large',
7116
- 'm1.xlarge',
7117
- 'm2.xlarge',
7118
- 'm2.2xlarge',
7119
- 'm2.4xlarge',
7120
- 'm3.xlarge',
7121
- 'm3.2xlarge',
7122
- 'c1.medium',
7123
- 'c1.xlarge',
7124
- 'hi1.4xlarge',
7125
- 'hs1.8xlarge',
7126
- 'cc1.4xlarge',
7127
- 'cc2.8xlarge',
7128
- 'cg1.4xlarge',
7129
- 'cr1.8xlarge',
7130
- ),
7131
  ),
7132
  'Placement' => array(
7133
  'type' => 'object',
@@ -7181,14 +7351,14 @@ return array (
7181
  ),
7182
  'VolumeType' => array(
7183
  'type' => 'string',
7184
- 'enum' => array(
7185
- 'standard',
7186
- 'io1',
7187
- ),
7188
  ),
7189
  'Iops' => array(
7190
  'type' => 'numeric',
7191
  ),
 
 
 
 
7192
  ),
7193
  ),
7194
  'NoDevice' => array(
@@ -7221,15 +7391,6 @@ return array (
7221
  'type' => 'string',
7222
  'location' => 'aws.query',
7223
  ),
7224
- 'License' => array(
7225
- 'type' => 'object',
7226
- 'location' => 'aws.query',
7227
- 'properties' => array(
7228
- 'Pool' => array(
7229
- 'type' => 'string',
7230
- ),
7231
- ),
7232
- ),
7233
  'PrivateIpAddress' => array(
7234
  'type' => 'string',
7235
  'location' => 'aws.query',
@@ -7279,9 +7440,8 @@ return array (
7279
  ),
7280
  'PrivateIpAddresses' => array(
7281
  'type' => 'array',
7282
- 'sentAs' => 'PrivateIpAddressesSet',
7283
  'items' => array(
7284
- 'name' => 'PrivateIpAddressesSet',
7285
  'type' => 'object',
7286
  'properties' => array(
7287
  'PrivateIpAddress' => array(
@@ -7298,6 +7458,10 @@ return array (
7298
  'SecondaryPrivateIpAddressCount' => array(
7299
  'type' => 'numeric',
7300
  ),
 
 
 
 
7301
  ),
7302
  ),
7303
  ),
@@ -7335,7 +7499,7 @@ return array (
7335
  'Version' => array(
7336
  'static' => true,
7337
  'location' => 'aws.query',
7338
- 'default' => '2013-06-15',
7339
  ),
7340
  'InstanceIds' => array(
7341
  'required' => true,
@@ -7373,7 +7537,7 @@ return array (
7373
  'Version' => array(
7374
  'static' => true,
7375
  'location' => 'aws.query',
7376
- 'default' => '2013-06-15',
7377
  ),
7378
  'DryRun' => array(
7379
  'type' => 'boolean',
@@ -7412,7 +7576,7 @@ return array (
7412
  'Version' => array(
7413
  'static' => true,
7414
  'location' => 'aws.query',
7415
- 'default' => '2013-06-15',
7416
  ),
7417
  'DryRun' => array(
7418
  'type' => 'boolean',
@@ -7446,7 +7610,7 @@ return array (
7446
  'Version' => array(
7447
  'static' => true,
7448
  'location' => 'aws.query',
7449
- 'default' => '2013-06-15',
7450
  ),
7451
  'NetworkInterfaceId' => array(
7452
  'required' => true,
@@ -7480,7 +7644,7 @@ return array (
7480
  'Version' => array(
7481
  'static' => true,
7482
  'location' => 'aws.query',
7483
- 'default' => '2013-06-15',
7484
  ),
7485
  'DryRun' => array(
7486
  'type' => 'boolean',
@@ -7501,9 +7665,95 @@ return array (
7501
  ),
7502
  ),
7503
  'models' => array(
7504
- 'EmptyOutput' => array(
7505
  'type' => 'object',
7506
  'additionalProperties' => true,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7507
  ),
7508
  'AllocateAddressResult' => array(
7509
  'type' => 'object',
@@ -7526,6 +7776,10 @@ return array (
7526
  ),
7527
  ),
7528
  ),
 
 
 
 
7529
  'AssociateAddressResult' => array(
7530
  'type' => 'object',
7531
  'additionalProperties' => true,
@@ -7599,7 +7853,7 @@ return array (
7599
  'type' => 'object',
7600
  'additionalProperties' => true,
7601
  'properties' => array(
7602
- 'VpcAttachement' => array(
7603
  'type' => 'object',
7604
  'location' => 'xml',
7605
  'sentAs' => 'attachment',
@@ -8460,6 +8714,10 @@ return array (
8460
  'type' => 'string',
8461
  'sentAs' => 'publicIp',
8462
  ),
 
 
 
 
8463
  'IpOwnerId' => array(
8464
  'type' => 'string',
8465
  'sentAs' => 'ipOwnerId',
@@ -8521,6 +8779,10 @@ return array (
8521
  'type' => 'string',
8522
  'sentAs' => 'publicIp',
8523
  ),
 
 
 
 
8524
  'IpOwnerId' => array(
8525
  'type' => 'string',
8526
  'sentAs' => 'ipOwnerId',
@@ -8698,10 +8960,18 @@ return array (
8698
  'type' => 'string',
8699
  'sentAs' => 'networkInterfaceId',
8700
  ),
 
 
 
 
8701
  'State' => array(
8702
  'type' => 'string',
8703
  'sentAs' => 'state',
8704
  ),
 
 
 
 
8705
  ),
8706
  ),
8707
  ),
@@ -8820,35 +9090,20 @@ return array (
8820
  'location' => 'xml',
8821
  'sentAs' => 'description',
8822
  ),
8823
- 'VolumeSize' => array(
8824
- 'type' => 'numeric',
8825
- 'location' => 'xml',
8826
- 'sentAs' => 'volumeSize',
8827
- ),
8828
- 'OwnerAlias' => array(
8829
- 'type' => 'string',
8830
- 'location' => 'xml',
8831
- 'sentAs' => 'ownerAlias',
8832
- ),
8833
- 'Tags' => array(
8834
- 'type' => 'array',
8835
- 'location' => 'xml',
8836
- 'sentAs' => 'tagSet',
8837
- 'items' => array(
8838
- 'name' => 'item',
8839
- 'type' => 'object',
8840
- 'sentAs' => 'item',
8841
- 'properties' => array(
8842
- 'Key' => array(
8843
- 'type' => 'string',
8844
- 'sentAs' => 'key',
8845
- ),
8846
- 'Value' => array(
8847
- 'type' => 'string',
8848
- 'sentAs' => 'value',
8849
- ),
8850
- ),
8851
- ),
8852
  ),
8853
  ),
8854
  ),
@@ -9059,6 +9314,11 @@ return array (
9059
  'location' => 'xml',
9060
  'sentAs' => 'iops',
9061
  ),
 
 
 
 
 
9062
  ),
9063
  ),
9064
  'CreateVpcResult' => array(
@@ -9117,6 +9377,96 @@ return array (
9117
  ),
9118
  ),
9119
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9120
  'CreateVpnConnectionResult' => array(
9121
  'type' => 'object',
9122
  'additionalProperties' => true,
@@ -9304,6 +9654,17 @@ return array (
9304
  ),
9305
  ),
9306
  ),
 
 
 
 
 
 
 
 
 
 
 
9307
  'DescribeAccountAttributesResult' => array(
9308
  'type' => 'object',
9309
  'additionalProperties' => true,
@@ -9988,6 +10349,17 @@ return array (
9988
  ),
9989
  ),
9990
  ),
 
 
 
 
 
 
 
 
 
 
 
9991
  'BlockDeviceMappings' => array(
9992
  'type' => 'array',
9993
  'location' => 'xml',
@@ -10029,6 +10401,10 @@ return array (
10029
  'type' => 'numeric',
10030
  'sentAs' => 'iops',
10031
  ),
 
 
 
 
10032
  ),
10033
  ),
10034
  'NoDevice' => array(
@@ -10112,6 +10488,10 @@ return array (
10112
  'type' => 'string',
10113
  'sentAs' => 'platform',
10114
  ),
 
 
 
 
10115
  'StateReason' => array(
10116
  'type' => 'object',
10117
  'sentAs' => 'stateReason',
@@ -10186,6 +10566,10 @@ return array (
10186
  'type' => 'numeric',
10187
  'sentAs' => 'iops',
10188
  ),
 
 
 
 
10189
  ),
10190
  ),
10191
  'NoDevice' => array(
@@ -10382,6 +10766,28 @@ return array (
10382
  ),
10383
  ),
10384
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10385
  ),
10386
  ),
10387
  'DescribeInstanceStatusResult' => array(
@@ -10774,16 +11180,6 @@ return array (
10774
  'type' => 'string',
10775
  'sentAs' => 'spotInstanceRequestId',
10776
  ),
10777
- 'License' => array(
10778
- 'type' => 'object',
10779
- 'sentAs' => 'license',
10780
- 'properties' => array(
10781
- 'Pool' => array(
10782
- 'type' => 'string',
10783
- 'sentAs' => 'pool',
10784
- ),
10785
- ),
10786
- ),
10787
  'ClientToken' => array(
10788
  'type' => 'string',
10789
  'sentAs' => 'clientToken',
@@ -11003,12 +11399,21 @@ return array (
11003
  'type' => 'boolean',
11004
  'sentAs' => 'ebsOptimized',
11005
  ),
 
 
 
 
11006
  ),
11007
  ),
11008
  ),
11009
  ),
11010
  ),
11011
  ),
 
 
 
 
 
11012
  ),
11013
  ),
11014
  'DescribeInternetGatewaysResult' => array(
@@ -11097,82 +11502,6 @@ return array (
11097
  ),
11098
  ),
11099
  ),
11100
- 'DescribeLicensesResult' => array(
11101
- 'type' => 'object',
11102
- 'additionalProperties' => true,
11103
- 'properties' => array(
11104
- 'Licenses' => array(
11105
- 'type' => 'array',
11106
- 'location' => 'xml',
11107
- 'sentAs' => 'licenseSet',
11108
- 'items' => array(
11109
- 'name' => 'item',
11110
- 'type' => 'object',
11111
- 'sentAs' => 'item',
11112
- 'properties' => array(
11113
- 'LicenseId' => array(
11114
- 'type' => 'string',
11115
- 'sentAs' => 'licenseId',
11116
- ),
11117
- 'Type' => array(
11118
- 'type' => 'string',
11119
- 'sentAs' => 'type',
11120
- ),
11121
- 'Pool' => array(
11122
- 'type' => 'string',
11123
- 'sentAs' => 'pool',
11124
- ),
11125
- 'Capacities' => array(
11126
- 'type' => 'array',
11127
- 'sentAs' => 'capacitySet',
11128
- 'items' => array(
11129
- 'name' => 'item',
11130
- 'type' => 'object',
11131
- 'sentAs' => 'item',
11132
- 'properties' => array(
11133
- 'Capacity' => array(
11134
- 'type' => 'numeric',
11135
- 'sentAs' => 'capacity',
11136
- ),
11137
- 'InstanceCapacity' => array(
11138
- 'type' => 'numeric',
11139
- 'sentAs' => 'instanceCapacity',
11140
- ),
11141
- 'State' => array(
11142
- 'type' => 'string',
11143
- 'sentAs' => 'state',
11144
- ),
11145
- 'EarliestAllowedDeactivationTime' => array(
11146
- 'type' => 'string',
11147
- 'sentAs' => 'earliestAllowedDeactivationTime',
11148
- ),
11149
- ),
11150
- ),
11151
- ),
11152
- 'Tags' => array(
11153
- 'type' => 'array',
11154
- 'sentAs' => 'tagSet',
11155
- 'items' => array(
11156
- 'name' => 'item',
11157
- 'type' => 'object',
11158
- 'sentAs' => 'item',
11159
- 'properties' => array(
11160
- 'Key' => array(
11161
- 'type' => 'string',
11162
- 'sentAs' => 'key',
11163
- ),
11164
- 'Value' => array(
11165
- 'type' => 'string',
11166
- 'sentAs' => 'value',
11167
- ),
11168
- ),
11169
- ),
11170
- ),
11171
- ),
11172
- ),
11173
- ),
11174
- ),
11175
- ),
11176
  'DescribeNetworkAclsResult' => array(
11177
  'type' => 'object',
11178
  'additionalProperties' => true,
@@ -11518,6 +11847,10 @@ return array (
11518
  'type' => 'string',
11519
  'sentAs' => 'publicIp',
11520
  ),
 
 
 
 
11521
  'IpOwnerId' => array(
11522
  'type' => 'string',
11523
  'sentAs' => 'ipOwnerId',
@@ -11579,6 +11912,10 @@ return array (
11579
  'type' => 'string',
11580
  'sentAs' => 'publicIp',
11581
  ),
 
 
 
 
11582
  'IpOwnerId' => array(
11583
  'type' => 'string',
11584
  'sentAs' => 'ipOwnerId',
@@ -11686,6 +12023,10 @@ return array (
11686
  'type' => 'string',
11687
  'sentAs' => 'start',
11688
  ),
 
 
 
 
11689
  'Duration' => array(
11690
  'type' => 'numeric',
11691
  'sentAs' => 'duration',
@@ -11876,6 +12217,109 @@ return array (
11876
  ),
11877
  ),
11878
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11879
  'DescribeReservedInstancesOfferingsResult' => array(
11880
  'type' => 'object',
11881
  'additionalProperties' => true,
@@ -12030,10 +12474,18 @@ return array (
12030
  'type' => 'string',
12031
  'sentAs' => 'networkInterfaceId',
12032
  ),
 
 
 
 
12033
  'State' => array(
12034
  'type' => 'string',
12035
  'sentAs' => 'state',
12036
  ),
 
 
 
 
12037
  ),
12038
  ),
12039
  ),
@@ -12401,6 +12853,10 @@ return array (
12401
  ),
12402
  ),
12403
  ),
 
 
 
 
12404
  ),
12405
  ),
12406
  ),
@@ -12631,6 +13087,10 @@ return array (
12631
  'type' => 'numeric',
12632
  'sentAs' => 'iops',
12633
  ),
 
 
 
 
12634
  ),
12635
  ),
12636
  'NoDevice' => array(
@@ -12712,6 +13172,10 @@ return array (
12712
  'type' => 'numeric',
12713
  'sentAs' => 'secondaryPrivateIpAddressCount',
12714
  ),
 
 
 
 
12715
  ),
12716
  ),
12717
  ),
@@ -12919,6 +13383,11 @@ return array (
12919
  ),
12920
  ),
12921
  ),
 
 
 
 
 
12922
  ),
12923
  ),
12924
  'DescribeVolumeAttributeResult' => array(
@@ -13180,6 +13649,10 @@ return array (
13180
  'type' => 'numeric',
13181
  'sentAs' => 'iops',
13182
  ),
 
 
 
 
13183
  ),
13184
  ),
13185
  ),
@@ -13218,6 +13691,101 @@ return array (
13218
  ),
13219
  ),
13220
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13221
  'DescribeVpcsResult' => array(
13222
  'type' => 'object',
13223
  'additionalProperties' => true,
@@ -13908,6 +14476,17 @@ return array (
13908
  ),
13909
  ),
13910
  ),
 
 
 
 
 
 
 
 
 
 
 
13911
  'MonitorInstancesResult' => array(
13912
  'type' => 'object',
13913
  'additionalProperties' => true,
@@ -13962,6 +14541,17 @@ return array (
13962
  ),
13963
  ),
13964
  ),
 
 
 
 
 
 
 
 
 
 
 
13965
  'ReplaceNetworkAclAssociationResult' => array(
13966
  'type' => 'object',
13967
  'additionalProperties' => true,
@@ -14166,6 +14756,10 @@ return array (
14166
  'type' => 'numeric',
14167
  'sentAs' => 'iops',
14168
  ),
 
 
 
 
14169
  ),
14170
  ),
14171
  'NoDevice' => array(
@@ -14247,6 +14841,10 @@ return array (
14247
  'type' => 'numeric',
14248
  'sentAs' => 'secondaryPrivateIpAddressCount',
14249
 
15
  */
16
 
17
  return array (
18
+ 'apiVersion' => '2014-06-15',
19
  'endpointPrefix' => 'ec2',
20
  'serviceFullName' => 'Amazon Elastic Compute Cloud',
21
  'serviceAbbreviation' => 'Amazon EC2',
63
  'https' => true,
64
  'hostname' => 'ec2.sa-east-1.amazonaws.com',
65
  ),
66
+ 'cn-north-1' => array(
67
+ 'http' => true,
68
+ 'https' => true,
69
+ 'hostname' => 'ec2.cn-north-1.amazonaws.com.cn',
70
+ ),
71
  'us-gov-west-1' => array(
72
  'http' => false,
73
  'https' => true,
75
  ),
76
  ),
77
  'operations' => array(
78
+ 'AcceptVpcPeeringConnection' => array(
79
  'httpMethod' => 'POST',
80
  'uri' => '/',
81
  'class' => 'Aws\\Common\\Command\\QueryCommand',
82
+ 'responseClass' => 'AcceptVpcPeeringConnectionResult',
83
  'responseType' => 'model',
84
  'parameters' => array(
85
  'Action' => array(
86
  'static' => true,
87
  'location' => 'aws.query',
88
+ 'default' => 'AcceptVpcPeeringConnection',
89
  ),
90
  'Version' => array(
91
  'static' => true,
92
  'location' => 'aws.query',
93
+ 'default' => '2014-06-15',
94
  ),
95
  'DryRun' => array(
96
  'type' => 'boolean',
97
  'format' => 'boolean-string',
98
  'location' => 'aws.query',
99
  ),
100
+ 'VpcPeeringConnectionId' => array(
 
101
  'type' => 'string',
102
  'location' => 'aws.query',
103
  ),
 
 
 
 
 
104
  ),
105
  ),
106
  'AllocateAddress' => array(
118
  'Version' => array(
119
  'static' => true,
120
  'location' => 'aws.query',
121
+ 'default' => '2014-06-15',
122
  ),
123
  'DryRun' => array(
124
  'type' => 'boolean',
128
  'Domain' => array(
129
  'type' => 'string',
130
  'location' => 'aws.query',
 
 
 
 
131
  ),
132
  ),
133
  ),
146
  'Version' => array(
147
  'static' => true,
148
  'location' => 'aws.query',
149
+ 'default' => '2014-06-15',
150
  ),
151
  'NetworkInterfaceId' => array(
152
  'required' => true,
188
  'Version' => array(
189
  'static' => true,
190
  'location' => 'aws.query',
191
+ 'default' => '2014-06-15',
192
  ),
193
  'DryRun' => array(
194
  'type' => 'boolean',
237
  'Version' => array(
238
  'static' => true,
239
  'location' => 'aws.query',
240
+ 'default' => '2014-06-15',
241
  ),
242
  'DryRun' => array(
243
  'type' => 'boolean',
271
  'Version' => array(
272
  'static' => true,
273
  'location' => 'aws.query',
274
+ 'default' => '2014-06-15',
275
  ),
276
  'DryRun' => array(
277
  'type' => 'boolean',
305
  'Version' => array(
306
  'static' => true,
307
  'location' => 'aws.query',
308
+ 'default' => '2014-06-15',
309
  ),
310
  'DryRun' => array(
311
  'type' => 'boolean',
339
  'Version' => array(
340
  'static' => true,
341
  'location' => 'aws.query',
342
+ 'default' => '2014-06-15',
343
  ),
344
  'DryRun' => array(
345
  'type' => 'boolean',
378
  'Version' => array(
379
  'static' => true,
380
  'location' => 'aws.query',
381
+ 'default' => '2014-06-15',
382
  ),
383
  'DryRun' => array(
384
  'type' => 'boolean',
417
  'Version' => array(
418
  'static' => true,
419
  'location' => 'aws.query',
420
+ 'default' => '2014-06-15',
421
  ),
422
  'DryRun' => array(
423
  'type' => 'boolean',
451
  'Version' => array(
452
  'static' => true,
453
  'location' => 'aws.query',
454
+ 'default' => '2014-06-15',
455
  ),
456
  'DryRun' => array(
457
  'type' => 'boolean',
463
  'type' => 'string',
464
  'location' => 'aws.query',
465
  ),
466
+ 'SourceSecurityGroupName' => array(
467
+ 'type' => 'string',
468
+ 'location' => 'aws.query',
469
+ ),
470
+ 'SourceSecurityGroupOwnerId' => array(
471
+ 'type' => 'string',
472
+ 'location' => 'aws.query',
473
+ ),
474
+ 'IpProtocol' => array(
475
+ 'type' => 'string',
476
+ 'location' => 'aws.query',
477
+ ),
478
+ 'FromPort' => array(
479
+ 'type' => 'numeric',
480
+ 'location' => 'aws.query',
481
+ ),
482
+ 'ToPort' => array(
483
+ 'type' => 'numeric',
484
+ 'location' => 'aws.query',
485
+ ),
486
+ 'CidrIp' => array(
487
+ 'type' => 'string',
488
+ 'location' => 'aws.query',
489
+ ),
490
  'IpPermissions' => array(
491
  'type' => 'array',
492
  'location' => 'aws.query',
554
  'Version' => array(
555
  'static' => true,
556
  'location' => 'aws.query',
557
+ 'default' => '2014-06-15',
558
  ),
559
  'DryRun' => array(
560
  'type' => 'boolean',
569
  'type' => 'string',
570
  'location' => 'aws.query',
571
  ),
572
+ 'SourceSecurityGroupName' => array(
573
+ 'type' => 'string',
574
+ 'location' => 'aws.query',
575
+ ),
576
+ 'SourceSecurityGroupOwnerId' => array(
577
+ 'type' => 'string',
578
+ 'location' => 'aws.query',
579
+ ),
580
+ 'IpProtocol' => array(
581
+ 'type' => 'string',
582
+ 'location' => 'aws.query',
583
+ ),
584
+ 'FromPort' => array(
585
+ 'type' => 'numeric',
586
+ 'location' => 'aws.query',
587
+ ),
588
+ 'ToPort' => array(
589
+ 'type' => 'numeric',
590
+ 'location' => 'aws.query',
591
+ ),
592
+ 'CidrIp' => array(
593
+ 'type' => 'string',
594
+ 'location' => 'aws.query',
595
+ ),
596
  'IpPermissions' => array(
597
  'type' => 'array',
598
  'location' => 'aws.query',
660
  'Version' => array(
661
  'static' => true,
662
  'location' => 'aws.query',
663
+ 'default' => '2014-06-15',
664
  ),
665
  'DryRun' => array(
666
  'type' => 'boolean',
716
  'Version' => array(
717
  'static' => true,
718
  'location' => 'aws.query',
719
+ 'default' => '2014-06-15',
720
  ),
721
  'DryRun' => array(
722
  'type' => 'boolean',
745
  'Version' => array(
746
  'static' => true,
747
  'location' => 'aws.query',
748
+ 'default' => '2014-06-15',
749
  ),
750
  'DryRun' => array(
751
  'type' => 'boolean',
778
  'Version' => array(
779
  'static' => true,
780
  'location' => 'aws.query',
781
+ 'default' => '2014-06-15',
782
  ),
783
  'ExportTaskId' => array(
784
  'required' => true,
802
  'Version' => array(
803
  'static' => true,
804
  'location' => 'aws.query',
805
+ 'default' => '2014-06-15',
806
  ),
807
  'ReservedInstancesListingId' => array(
808
  'required' => true,
826
  'Version' => array(
827
  'static' => true,
828
  'location' => 'aws.query',
829
+ 'default' => '2014-06-15',
830
  ),
831
  'DryRun' => array(
832
  'type' => 'boolean',
860
  'Version' => array(
861
  'static' => true,
862
  'location' => 'aws.query',
863
+ 'default' => '2014-06-15',
864
  ),
865
  'DryRun' => array(
866
  'type' => 'boolean',
894
  'Version' => array(
895
  'static' => true,
896
  'location' => 'aws.query',
897
+ 'default' => '2014-06-15',
898
  ),
899
  'DryRun' => array(
900
  'type' => 'boolean',
941
  'Version' => array(
942
  'static' => true,
943
  'location' => 'aws.query',
944
+ 'default' => '2014-06-15',
945
  ),
946
  'DryRun' => array(
947
  'type' => 'boolean',
962
  'type' => 'string',
963
  'location' => 'aws.query',
964
  ),
965
+ 'DestinationRegion' => array(
966
+ 'type' => 'string',
967
+ 'location' => 'aws.query',
968
+ ),
969
+ 'PresignedUrl' => array(
970
+ 'type' => 'string',
971
+ 'location' => 'aws.query',
972
+ ),
973
  ),
974
  ),
975
  'CreateCustomerGateway' => array(
987
  'Version' => array(
988
  'static' => true,
989
  'location' => 'aws.query',
990
+ 'default' => '2014-06-15',
991
  ),
992
  'DryRun' => array(
993
  'type' => 'boolean',
1027
  'Version' => array(
1028
  'static' => true,
1029
  'location' => 'aws.query',
1030
+ 'default' => '2014-06-15',
1031
  ),
1032
  'DryRun' => array(
1033
  'type' => 'boolean',
1074
  'Version' => array(
1075
  'static' => true,
1076
  'location' => 'aws.query',
1077
+ 'default' => '2014-06-15',
1078
  ),
1079
  'DryRun' => array(
1080
  'type' => 'boolean',
1129
  ),
1130
  'VolumeType' => array(
1131
  'type' => 'string',
 
 
 
 
1132
  ),
1133
  'Iops' => array(
1134
  'type' => 'numeric',
1135
  ),
1136
+ 'Encrypted' => array(
1137
+ 'type' => 'boolean',
1138
+ 'format' => 'boolean-string',
1139
+ ),
1140
  ),
1141
  ),
1142
  'NoDevice' => array(
1162
  'Version' => array(
1163
  'static' => true,
1164
  'location' => 'aws.query',
1165
+ 'default' => '2014-06-15',
1166
  ),
1167
  'Description' => array(
1168
  'type' => 'string',
1176
  'TargetEnvironment' => array(
1177
  'type' => 'string',
1178
  'location' => 'aws.query',
 
 
 
 
1179
  ),
1180
  'ExportToS3Task' => array(
1181
  'type' => 'object',
1184
  'properties' => array(
1185
  'DiskImageFormat' => array(
1186
  'type' => 'string',
 
 
 
 
1187
  ),
1188
  'ContainerFormat' => array(
1189
  'type' => 'string',
 
 
 
1190
  ),
1191
  'S3Bucket' => array(
1192
  'type' => 'string',
1213
  'Version' => array(
1214
  'static' => true,
1215
  'location' => 'aws.query',
1216
+ 'default' => '2014-06-15',
1217
  ),
1218
  'DryRun' => array(
1219
  'type' => 'boolean',
1237
  'Version' => array(
1238
  'static' => true,
1239
  'location' => 'aws.query',
1240
+ 'default' => '2014-06-15',
1241
  ),
1242
  'DryRun' => array(
1243
  'type' => 'boolean',
1266
  'Version' => array(
1267
  'static' => true,
1268
  'location' => 'aws.query',
1269
+ 'default' => '2014-06-15',
1270
  ),
1271
  'DryRun' => array(
1272
  'type' => 'boolean',
1295
  'Version' => array(
1296
  'static' => true,
1297
  'location' => 'aws.query',
1298
+ 'default' => '2014-06-15',
1299
  ),
1300
  'DryRun' => array(
1301
  'type' => 'boolean',
1321
  'required' => true,
1322
  'type' => 'string',
1323
  'location' => 'aws.query',
 
 
 
 
1324
  ),
1325
  'Egress' => array(
1326
  'required' => true,
1375
  'Version' => array(
1376
  'static' => true,
1377
  'location' => 'aws.query',
1378
+ 'default' => '2014-06-15',
1379
  ),
1380
  'SubnetId' => array(
1381
  'required' => true,
1443
  'Version' => array(
1444
  'static' => true,
1445
  'location' => 'aws.query',
1446
+ 'default' => '2014-06-15',
1447
  ),
1448
  'DryRun' => array(
1449
  'type' => 'boolean',
1459
  'required' => true,
1460
  'type' => 'string',
1461
  'location' => 'aws.query',
 
 
 
1462
  ),
1463
  ),
1464
  ),
1477
  'Version' => array(
1478
  'static' => true,
1479
  'location' => 'aws.query',
1480
+ 'default' => '2014-06-15',
1481
  ),
1482
  'ReservedInstancesId' => array(
1483
  'required' => true,
1531
  'Version' => array(
1532
  'static' => true,
1533
  'location' => 'aws.query',
1534
+ 'default' => '2014-06-15',
1535
  ),
1536
  'DryRun' => array(
1537
  'type' => 'boolean',
1560
  'type' => 'string',
1561
  'location' => 'aws.query',
1562
  ),
1563
+ 'VpcPeeringConnectionId' => array(
1564
+ 'type' => 'string',
1565
+ 'location' => 'aws.query',
1566
+ ),
1567
  ),
1568
  ),
1569
  'CreateRouteTable' => array(
1581
  'Version' => array(
1582
  'static' => true,
1583
  'location' => 'aws.query',
1584
+ 'default' => '2014-06-15',
1585
  ),
1586
  'DryRun' => array(
1587
  'type' => 'boolean',
1610
  'Version' => array(
1611
  'static' => true,
1612
  'location' => 'aws.query',
1613
+ 'default' => '2014-06-15',
1614
  ),
1615
  'DryRun' => array(
1616
  'type' => 'boolean',
1649
  'Version' => array(
1650
  'static' => true,
1651
  'location' => 'aws.query',
1652
+ 'default' => '2014-06-15',
1653
  ),
1654
  'DryRun' => array(
1655
  'type' => 'boolean',
1682
  'Version' => array(
1683
  'static' => true,
1684
  'location' => 'aws.query',
1685
+ 'default' => '2014-06-15',
1686
  ),
1687
  'DryRun' => array(
1688
  'type' => 'boolean',
1715
  'Version' => array(
1716
  'static' => true,
1717
  'location' => 'aws.query',
1718
+ 'default' => '2014-06-15',
1719
  ),
1720
  'DryRun' => array(
1721
  'type' => 'boolean',
1753
  'Version' => array(
1754
  'static' => true,
1755
  'location' => 'aws.query',
1756
+ 'default' => '2014-06-15',
1757
  ),
1758
  'DryRun' => array(
1759
  'type' => 'boolean',
1805
  'Version' => array(
1806
  'static' => true,
1807
  'location' => 'aws.query',
1808
+ 'default' => '2014-06-15',
1809
  ),
1810
  'DryRun' => array(
1811
  'type' => 'boolean',
1828
  'VolumeType' => array(
1829
  'type' => 'string',
1830
  'location' => 'aws.query',
 
 
 
 
1831
  ),
1832
  'Iops' => array(
1833
  'type' => 'numeric',
1834
  'location' => 'aws.query',
1835
  ),
1836
+ 'Encrypted' => array(
1837
+ 'type' => 'boolean',
1838
+ 'format' => 'boolean-string',
1839
+ 'location' => 'aws.query',
1840
+ ),
1841
  ),
1842
  ),
1843
  'CreateVpc' => array(
1855
  'Version' => array(
1856
  'static' => true,
1857
  'location' => 'aws.query',
1858
+ 'default' => '2014-06-15',
1859
  ),
1860
  'DryRun' => array(
1861
  'type' => 'boolean',
1873
  ),
1874
  ),
1875
  ),
1876
+ 'CreateVpcPeeringConnection' => array(
1877
+ 'httpMethod' => 'POST',
1878
+ 'uri' => '/',
1879
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1880
+ 'responseClass' => 'CreateVpcPeeringConnectionResult',
1881
+ 'responseType' => 'model',
1882
+ 'parameters' => array(
1883
+ 'Action' => array(
1884
+ 'static' => true,
1885
+ 'location' => 'aws.query',
1886
+ 'default' => 'CreateVpcPeeringConnection',
1887
+ ),
1888
+ 'Version' => array(
1889
+ 'static' => true,
1890
+ 'location' => 'aws.query',
1891
+ 'default' => '2014-06-15',
1892
+ ),
1893
+ 'DryRun' => array(
1894
+ 'type' => 'boolean',
1895
+ 'format' => 'boolean-string',
1896
+ 'location' => 'aws.query',
1897
+ ),
1898
+ 'VpcId' => array(
1899
+ 'type' => 'string',
1900
+ 'location' => 'aws.query',
1901
+ ),
1902
+ 'PeerVpcId' => array(
1903
+ 'type' => 'string',
1904
+ 'location' => 'aws.query',
1905
+ ),
1906
+ 'PeerOwnerId' => array(
1907
+ 'type' => 'string',
1908
+ 'location' => 'aws.query',
1909
+ ),
1910
+ ),
1911
+ ),
1912
  'CreateVpnConnection' => array(
1913
  'httpMethod' => 'POST',
1914
  'uri' => '/',
1924
  'Version' => array(
1925
  'static' => true,
1926
  'location' => 'aws.query',
1927
+ 'default' => '2014-06-15',
1928
  ),
1929
  'DryRun' => array(
1930
  'type' => 'boolean',
1973
  'Version' => array(
1974
  'static' => true,
1975
  'location' => 'aws.query',
1976
+ 'default' => '2014-06-15',
1977
  ),
1978
  'VpnConnectionId' => array(
1979
  'required' => true,
2002
  'Version' => array(
2003
  'static' => true,
2004
  'location' => 'aws.query',
2005
+ 'default' => '2014-06-15',
2006
  ),
2007
  'DryRun' => array(
2008
  'type' => 'boolean',
2020
  ),
2021
  ),
2022
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2023
  'DeleteCustomerGateway' => array(
2024
  'httpMethod' => 'POST',
2025
  'uri' => '/',
2035
  'Version' => array(
2036
  'static' => true,
2037
  'location' => 'aws.query',
2038
+ 'default' => '2014-06-15',
2039
  ),
2040
  'DryRun' => array(
2041
  'type' => 'boolean',
2064
  'Version' => array(
2065
  'static' => true,
2066
  'location' => 'aws.query',
2067
+ 'default' => '2014-06-15',
2068
  ),
2069
  'DryRun' => array(
2070
  'type' => 'boolean',
2093
  'Version' => array(
2094
  'static' => true,
2095
  'location' => 'aws.query',
2096
+ 'default' => '2014-06-15',
2097
  ),
2098
  'DryRun' => array(
2099
  'type' => 'boolean',
2122
  'Version' => array(
2123
  'static' => true,
2124
  'location' => 'aws.query',
2125
+ 'default' => '2014-06-15',
2126
  ),
2127
  'DryRun' => array(
2128
  'type' => 'boolean',
2151
  'Version' => array(
2152
  'static' => true,
2153
  'location' => 'aws.query',
2154
+ 'default' => '2014-06-15',
2155
  ),
2156
  'DryRun' => array(
2157
  'type' => 'boolean',
2180
  'Version' => array(
2181
  'static' => true,
2182
  'location' => 'aws.query',
2183
+ 'default' => '2014-06-15',
2184
  ),
2185
  'DryRun' => array(
2186
  'type' => 'boolean',
2220
  'Version' => array(
2221
  'static' => true,
2222
  'location' => 'aws.query',
2223
+ 'default' => '2014-06-15',
2224
  ),
2225
  'DryRun' => array(
2226
  'type' => 'boolean',
2249
  'Version' => array(
2250
  'static' => true,
2251
  'location' => 'aws.query',
2252
+ 'default' => '2014-06-15',
2253
  ),
2254
  'DryRun' => array(
2255
  'type' => 'boolean',
2278
  'Version' => array(
2279
  'static' => true,
2280
  'location' => 'aws.query',
2281
+ 'default' => '2014-06-15',
2282
  ),
2283
  'DryRun' => array(
2284
  'type' => 'boolean',
2312
  'Version' => array(
2313
  'static' => true,
2314
  'location' => 'aws.query',
2315
+ 'default' => '2014-06-15',
2316
  ),
2317
  'DryRun' => array(
2318
  'type' => 'boolean',
2341
  'Version' => array(
2342
  'static' => true,
2343
  'location' => 'aws.query',
2344
+ 'default' => '2014-06-15',
2345
  ),
2346
  'DryRun' => array(
2347
  'type' => 'boolean',
2373
  'Version' => array(
2374
  'static' => true,
2375
  'location' => 'aws.query',
2376
+ 'default' => '2014-06-15',
2377
  ),
2378
  'DryRun' => array(
2379
  'type' => 'boolean',
2402
  'Version' => array(
2403
  'static' => true,
2404
  'location' => 'aws.query',
2405
+ 'default' => '2014-06-15',
2406
  ),
2407
  'DryRun' => array(
2408
  'type' => 'boolean',
2426
  'Version' => array(
2427
  'static' => true,
2428
  'location' => 'aws.query',
2429
+ 'default' => '2014-06-15',
2430
  ),
2431
  'DryRun' => array(
2432
  'type' => 'boolean',
2455
  'Version' => array(
2456
  'static' => true,
2457
  'location' => 'aws.query',
2458
+ 'default' => '2014-06-15',
2459
  ),
2460
  'DryRun' => array(
2461
  'type' => 'boolean',
2506
  'Version' => array(
2507
  'static' => true,
2508
  'location' => 'aws.query',
2509
+ 'default' => '2014-06-15',
2510
  ),
2511
  'DryRun' => array(
2512
  'type' => 'boolean',
2535
  'Version' => array(
2536
  'static' => true,
2537
  'location' => 'aws.query',
2538
+ 'default' => '2014-06-15',
2539
  ),
2540
  'DryRun' => array(
2541
  'type' => 'boolean',
2549
  ),
2550
  ),
2551
  ),
2552
+ 'DeleteVpcPeeringConnection' => array(
2553
+ 'httpMethod' => 'POST',
2554
+ 'uri' => '/',
2555
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2556
+ 'responseClass' => 'DeleteVpcPeeringConnectionResult',
2557
+ 'responseType' => 'model',
2558
+ 'parameters' => array(
2559
+ 'Action' => array(
2560
+ 'static' => true,
2561
+ 'location' => 'aws.query',
2562
+ 'default' => 'DeleteVpcPeeringConnection',
2563
+ ),
2564
+ 'Version' => array(
2565
+ 'static' => true,
2566
+ 'location' => 'aws.query',
2567
+ 'default' => '2014-06-15',
2568
+ ),
2569
+ 'DryRun' => array(
2570
+ 'type' => 'boolean',
2571
+ 'format' => 'boolean-string',
2572
+ 'location' => 'aws.query',
2573
+ ),
2574
+ 'VpcPeeringConnectionId' => array(
2575
+ 'required' => true,
2576
+ 'type' => 'string',
2577
+ 'location' => 'aws.query',
2578
+ ),
2579
+ ),
2580
+ ),
2581
  'DeleteVpnConnection' => array(
2582
  'httpMethod' => 'POST',
2583
  'uri' => '/',
2593
  'Version' => array(
2594
  'static' => true,
2595
  'location' => 'aws.query',
2596
+ 'default' => '2014-06-15',
2597
  ),
2598
  'DryRun' => array(
2599
  'type' => 'boolean',
2622
  'Version' => array(
2623
  'static' => true,
2624
  'location' => 'aws.query',
2625
+ 'default' => '2014-06-15',
2626
  ),
2627
  'VpnConnectionId' => array(
2628
  'required' => true,
2651
  'Version' => array(
2652
  'static' => true,
2653
  'location' => 'aws.query',
2654
+ 'default' => '2014-06-15',
2655
  ),
2656
  'DryRun' => array(
2657
  'type' => 'boolean',
2680
  'Version' => array(
2681
  'static' => true,
2682
  'location' => 'aws.query',
2683
+ 'default' => '2014-06-15',
2684
  ),
2685
  'DryRun' => array(
2686
  'type' => 'boolean',
2709
  'Version' => array(
2710
  'static' => true,
2711
  'location' => 'aws.query',
2712
+ 'default' => '2014-06-15',
2713
  ),
2714
  'DryRun' => array(
2715
  'type' => 'boolean',
2742
  'Version' => array(
2743
  'static' => true,
2744
  'location' => 'aws.query',
2745
+ 'default' => '2014-06-15',
2746
  ),
2747
  'DryRun' => array(
2748
  'type' => 'boolean',
2806
  'Version' => array(
2807
  'static' => true,
2808
  'location' => 'aws.query',
2809
+ 'default' => '2014-06-15',
2810
  ),
2811
  'DryRun' => array(
2812
  'type' => 'boolean',
2861
  'Version' => array(
2862
  'static' => true,
2863
  'location' => 'aws.query',
2864
+ 'default' => '2014-06-15',
2865
  ),
2866
  'DryRun' => array(
2867
  'type' => 'boolean',
2916
  'Version' => array(
2917
  'static' => true,
2918
  'location' => 'aws.query',
2919
+ 'default' => '2014-06-15',
2920
  ),
2921
  'DryRun' => array(
2922
  'type' => 'boolean',
2971
  'Version' => array(
2972
  'static' => true,
2973
  'location' => 'aws.query',
2974
+ 'default' => '2014-06-15',
2975
  ),
2976
  'DryRun' => array(
2977
  'type' => 'boolean',
3026
  'Version' => array(
3027
  'static' => true,
3028
  'location' => 'aws.query',
3029
+ 'default' => '2014-06-15',
3030
  ),
3031
  'DryRun' => array(
3032
  'type' => 'boolean',
3081
  'Version' => array(
3082
  'static' => true,
3083
  'location' => 'aws.query',
3084
+ 'default' => '2014-06-15',
3085
  ),
3086
  'ExportTaskIds' => array(
3087
  'type' => 'array',
3109
  'Version' => array(
3110
  'static' => true,
3111
  'location' => 'aws.query',
3112
+ 'default' => '2014-06-15',
3113
  ),
3114
  'DryRun' => array(
3115
  'type' => 'boolean',
3143
  'Version' => array(
3144
  'static' => true,
3145
  'location' => 'aws.query',
3146
+ 'default' => '2014-06-15',
3147
  ),
3148
  'DryRun' => array(
3149
  'type' => 'boolean',
3216
  'Version' => array(
3217
  'static' => true,
3218
  'location' => 'aws.query',
3219
+ 'default' => '2014-06-15',
3220
  ),
3221
  'DryRun' => array(
3222
  'type' => 'boolean',
3232
  'required' => true,
3233
  'type' => 'string',
3234
  'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3235
  ),
3236
  ),
3237
  ),
3250
  'Version' => array(
3251
  'static' => true,
3252
  'location' => 'aws.query',
3253
+ 'default' => '2014-06-15',
3254
  ),
3255
  'DryRun' => array(
3256
  'type' => 'boolean',
3318
  'Version' => array(
3319
  'static' => true,
3320
  'location' => 'aws.query',
3321
+ 'default' => '2014-06-15',
3322
  ),
3323
  'DryRun' => array(
3324
  'type' => 'boolean',
3356
  ),
3357
  ),
3358
  ),
3359
+ 'NextToken' => array(
3360
+ 'type' => 'string',
3361
+ 'location' => 'aws.query',
3362
+ ),
3363
+ 'MaxResults' => array(
3364
+ 'type' => 'numeric',
3365
+ 'location' => 'aws.query',
3366
+ ),
3367
  ),
3368
  ),
3369
  'DescribeInternetGateways' => array(
3381
  'Version' => array(
3382
  'static' => true,
3383
  'location' => 'aws.query',
3384
+ 'default' => '2014-06-15',
3385
  ),
3386
  'DryRun' => array(
3387
  'type' => 'boolean',
3436
  'Version' => array(
3437
  'static' => true,
3438
  'location' => 'aws.query',
3439
+ 'default' => '2014-06-15',
3440
  ),
3441
  'DryRun' => array(
3442
  'type' => 'boolean',
3476
  ),
3477
  ),
3478
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3479
  'DescribeNetworkAcls' => array(
3480
  'httpMethod' => 'POST',
3481
  'uri' => '/',
3491
  'Version' => array(
3492
  'static' => true,
3493
  'location' => 'aws.query',
3494
+ 'default' => '2014-06-15',
3495
  ),
3496
  'DryRun' => array(
3497
  'type' => 'boolean',
3546
  'Version' => array(
3547
  'static' => true,
3548
  'location' => 'aws.query',
3549
+ 'default' => '2014-06-15',
3550
  ),
3551
  'DryRun' => array(
3552
  'type' => 'boolean',
3558
  'type' => 'string',
3559
  'location' => 'aws.query',
3560
  ),
3561
+ 'Attribute' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
3562
  'type' => 'string',
3563
  'location' => 'aws.query',
3564
  ),
3579
  'Version' => array(
3580
  'static' => true,
3581
  'location' => 'aws.query',
3582
+ 'default' => '2014-06-15',
3583
  ),
3584
  'DryRun' => array(
3585
  'type' => 'boolean',
3634
  'Version' => array(
3635
  'static' => true,
3636
  'location' => 'aws.query',
3637
+ 'default' => '2014-06-15',
3638
  ),
3639
  'DryRun' => array(
3640
  'type' => 'boolean',
3689
  'Version' => array(
3690
  'static' => true,
3691
  'location' => 'aws.query',
3692
+ 'default' => '2014-06-15',
3693
  ),
3694
  'DryRun' => array(
3695
  'type' => 'boolean',
3744
  'Version' => array(
3745
  'static' => true,
3746
  'location' => 'aws.query',
3747
+ 'default' => '2014-06-15',
3748
  ),
3749
  'DryRun' => array(
3750
  'type' => 'boolean',
3803
  'Version' => array(
3804
  'static' => true,
3805
  'location' => 'aws.query',
3806
+ 'default' => '2014-06-15',
3807
  ),
3808
  'ReservedInstancesId' => array(
3809
  'type' => 'string',
3836
  ),
3837
  ),
3838
  ),
3839
+ 'DescribeReservedInstancesModifications' => array(
3840
  'httpMethod' => 'POST',
3841
  'uri' => '/',
3842
  'class' => 'Aws\\Common\\Command\\QueryCommand',
3843
+ 'responseClass' => 'DescribeReservedInstancesModificationsResult',
3844
  'responseType' => 'model',
3845
  'parameters' => array(
3846
  'Action' => array(
3847
  'static' => true,
3848
  'location' => 'aws.query',
3849
+ 'default' => 'DescribeReservedInstancesModifications',
3850
  ),
3851
  'Version' => array(
3852
  'static' => true,
3853
  'location' => 'aws.query',
3854
+ 'default' => '2014-06-15',
 
 
 
 
 
3855
  ),
3856
+ 'ReservedInstancesModificationIds' => array(
3857
  'type' => 'array',
3858
  'location' => 'aws.query',
3859
+ 'sentAs' => 'ReservedInstancesModificationId',
3860
  'items' => array(
3861
+ 'name' => 'ReservedInstancesModificationId',
3862
  'type' => 'string',
3863
  ),
3864
  ),
3865
+ 'NextToken' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3866
  'type' => 'string',
3867
  'location' => 'aws.query',
3868
  ),
3888
  ),
3889
  ),
3890
  ),
3891
+ ),
3892
+ ),
3893
+ 'DescribeReservedInstancesOfferings' => array(
3894
+ 'httpMethod' => 'POST',
3895
+ 'uri' => '/',
3896
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3897
+ 'responseClass' => 'DescribeReservedInstancesOfferingsResult',
3898
+ 'responseType' => 'model',
3899
+ 'parameters' => array(
3900
+ 'Action' => array(
3901
+ 'static' => true,
3902
+ 'location' => 'aws.query',
3903
+ 'default' => 'DescribeReservedInstancesOfferings',
3904
+ ),
3905
+ 'Version' => array(
3906
+ 'static' => true,
3907
+ 'location' => 'aws.query',
3908
+ 'default' => '2014-06-15',
3909
+ ),
3910
+ 'DryRun' => array(
3911
+ 'type' => 'boolean',
3912
+ 'format' => 'boolean-string',
3913
+ 'location' => 'aws.query',
3914
+ ),
3915
+ 'ReservedInstancesOfferingIds' => array(
3916
+ 'type' => 'array',
3917
+ 'location' => 'aws.query',
3918
+ 'sentAs' => 'ReservedInstancesOfferingId',
3919
+ 'items' => array(
3920
+ 'name' => 'ReservedInstancesOfferingId',
3921
+ 'type' => 'string',
3922
+ ),
3923
+ ),
3924
+ 'InstanceType' => array(
3925
+ 'type' => 'string',
3926
+ 'location' => 'aws.query',
3927
+ ),
3928
+ 'AvailabilityZone' => array(
3929
+ 'type' => 'string',
3930
+ 'location' => 'aws.query',
3931
+ ),
3932
+ 'ProductDescription' => array(
3933
+ 'type' => 'string',
3934
+ 'location' => 'aws.query',
3935
+ ),
3936
+ 'Filters' => array(
3937
+ 'type' => 'array',
3938
+ 'location' => 'aws.query',
3939
+ 'sentAs' => 'Filter',
3940
+ 'items' => array(
3941
+ 'name' => 'Filter',
3942
+ 'type' => 'object',
3943
+ 'properties' => array(
3944
+ 'Name' => array(
3945
+ 'type' => 'string',
3946
+ ),
3947
+ 'Values' => array(
3948
+ 'type' => 'array',
3949
+ 'sentAs' => 'Value',
3950
+ 'items' => array(
3951
+ 'name' => 'Value',
3952
+ 'type' => 'string',
3953
+ ),
3954
+ ),
3955
+ ),
3956
+ ),
3957
+ ),
3958
+ 'InstanceTenancy' => array(
3959
+ 'type' => 'string',
3960
+ 'location' => 'aws.query',
3961
+ ),
3962
+ 'OfferingType' => array(
3963
+ 'type' => 'string',
3964
+ 'location' => 'aws.query',
3965
+ ),
3966
+ 'NextToken' => array(
3967
+ 'type' => 'string',
3968
+ 'location' => 'aws.query',
3969
  ),
3970
  'MaxResults' => array(
3971
  'type' => 'numeric',
4005
  'Version' => array(
4006
  'static' => true,
4007
  'location' => 'aws.query',
4008
+ 'default' => '2014-06-15',
4009
  ),
4010
  'DryRun' => array(
4011
  'type' => 'boolean',
4060
  'Version' => array(
4061
  'static' => true,
4062
  'location' => 'aws.query',
4063
+ 'default' => '2014-06-15',
4064
  ),
4065
  'DryRun' => array(
4066
  'type' => 'boolean',
4124
  'Version' => array(
4125
  'static' => true,
4126
  'location' => 'aws.query',
4127
+ 'default' => '2014-06-15',
4128
  ),
4129
  'DryRun' => array(
4130
  'type' => 'boolean',
4140
  'required' => true,
4141
  'type' => 'string',
4142
  'location' => 'aws.query',
 
 
 
 
4143
  ),
4144
  ),
4145
  ),
4158
  'Version' => array(
4159
  'static' => true,
4160
  'location' => 'aws.query',
4161
+ 'default' => '2014-06-15',
4162
  ),
4163
  'DryRun' => array(
4164
  'type' => 'boolean',
4231
  'Version' => array(
4232
  'static' => true,
4233
  'location' => 'aws.query',
4234
+ 'default' => '2014-06-15',
4235
  ),
4236
  'DryRun' => array(
4237
  'type' => 'boolean',
4255
  'Version' => array(
4256
  'static' => true,
4257
  'location' => 'aws.query',
4258
+ 'default' => '2014-06-15',
4259
  ),
4260
  'DryRun' => array(
4261
  'type' => 'boolean',
4310
  'Version' => array(
4311
  'static' => true,
4312
  'location' => 'aws.query',
4313
+ 'default' => '2014-06-15',
4314
  ),
4315
  'DryRun' => array(
4316
  'type' => 'boolean',
4342
  'items' => array(
4343
  'name' => 'InstanceType',
4344
  'type' => 'string',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4345
  ),
4346
  ),
4347
  'ProductDescriptions' => array(
4404
  'Version' => array(
4405
  'static' => true,
4406
  'location' => 'aws.query',
4407
+ 'default' => '2014-06-15',
4408
  ),
4409
  'DryRun' => array(
4410
  'type' => 'boolean',
4459
  'Version' => array(
4460
  'static' => true,
4461
  'location' => 'aws.query',
4462
+ 'default' => '2014-06-15',
4463
  ),
4464
  'DryRun' => array(
4465
  'type' => 'boolean',
4488
  ),
4489
  ),
4490
  ),
4491
+ 'MaxResults' => array(
4492
+ 'type' => 'numeric',
4493
+ 'location' => 'aws.query',
4494
+ ),
4495
+ 'NextToken' => array(
4496
+ 'type' => 'string',
4497
+ 'location' => 'aws.query',
4498
+ ),
4499
  ),
4500
  ),
4501
  'DescribeVolumeAttribute' => array(
4513
  'Version' => array(
4514
  'static' => true,
4515
  'location' => 'aws.query',
4516
+ 'default' => '2014-06-15',
4517
  ),
4518
  'DryRun' => array(
4519
  'type' => 'boolean',
4528
  'Attribute' => array(
4529
  'type' => 'string',
4530
  'location' => 'aws.query',
 
 
 
 
4531
  ),
4532
  ),
4533
  ),
4546
  'Version' => array(
4547
  'static' => true,
4548
  'location' => 'aws.query',
4549
+ 'default' => '2014-06-15',
4550
  ),
4551
  'DryRun' => array(
4552
  'type' => 'boolean',
4609
  'Version' => array(
4610
  'static' => true,
4611
  'location' => 'aws.query',
4612
+ 'default' => '2014-06-15',
4613
  ),
4614
  'DryRun' => array(
4615
  'type' => 'boolean',
4664
  'Version' => array(
4665
  'static' => true,
4666
  'location' => 'aws.query',
4667
+ 'default' => '2014-06-15',
4668
  ),
4669
  'DryRun' => array(
4670
  'type' => 'boolean',
4679
  'Attribute' => array(
4680
  'type' => 'string',
4681
  'location' => 'aws.query',
4682
+ ),
4683
+ ),
4684
+ ),
4685
+ 'DescribeVpcPeeringConnections' => array(
4686
+ 'httpMethod' => 'POST',
4687
+ 'uri' => '/',
4688
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4689
+ 'responseClass' => 'DescribeVpcPeeringConnectionsResult',
4690
+ 'responseType' => 'model',
4691
+ 'parameters' => array(
4692
+ 'Action' => array(
4693
+ 'static' => true,
4694
+ 'location' => 'aws.query',
4695
+ 'default' => 'DescribeVpcPeeringConnections',
4696
+ ),
4697
+ 'Version' => array(
4698
+ 'static' => true,
4699
+ 'location' => 'aws.query',
4700
+ 'default' => '2014-06-15',
4701
+ ),
4702
+ 'DryRun' => array(
4703
+ 'type' => 'boolean',
4704
+ 'format' => 'boolean-string',
4705
+ 'location' => 'aws.query',
4706
+ ),
4707
+ 'VpcPeeringConnectionIds' => array(
4708
+ 'type' => 'array',
4709
+ 'location' => 'aws.query',
4710
+ 'sentAs' => 'VpcPeeringConnectionId',
4711
+ 'items' => array(
4712
+ 'name' => 'VpcPeeringConnectionId',
4713
+ 'type' => 'string',
4714
+ ),
4715
+ ),
4716
+ 'Filters' => array(
4717
+ 'type' => 'array',
4718
+ 'location' => 'aws.query',
4719
+ 'sentAs' => 'Filter',
4720
+ 'items' => array(
4721
+ 'name' => 'Filter',
4722
+ 'type' => 'object',
4723
+ 'properties' => array(
4724
+ 'Name' => array(
4725
+ 'type' => 'string',
4726
+ ),
4727
+ 'Values' => array(
4728
+ 'type' => 'array',
4729
+ 'sentAs' => 'Value',
4730
+ 'items' => array(
4731
+ 'name' => 'Value',
4732
+ 'type' => 'string',
4733
+ ),
4734
+ ),
4735
+ ),
4736
  ),
4737
  ),
4738
  ),
4752
  'Version' => array(
4753
  'static' => true,
4754
  'location' => 'aws.query',
4755
+ 'default' => '2014-06-15',
4756
  ),
4757
  'DryRun' => array(
4758
  'type' => 'boolean',
4807
  'Version' => array(
4808
  'static' => true,
4809
  'location' => 'aws.query',
4810
+ 'default' => '2014-06-15',
4811
  ),
4812
  'DryRun' => array(
4813
  'type' => 'boolean',
4862
  'Version' => array(
4863
  'static' => true,
4864
  'location' => 'aws.query',
4865
+ 'default' => '2014-06-15',
4866
  ),
4867
  'DryRun' => array(
4868
  'type' => 'boolean',
4917
  'Version' => array(
4918
  'static' => true,
4919
  'location' => 'aws.query',
4920
+ 'default' => '2014-06-15',
4921
  ),
4922
  'DryRun' => array(
4923
  'type' => 'boolean',
4951
  'Version' => array(
4952
  'static' => true,
4953
  'location' => 'aws.query',
4954
+ 'default' => '2014-06-15',
4955
  ),
4956
  'DryRun' => array(
4957
  'type' => 'boolean',
4985
  'Version' => array(
4986
  'static' => true,
4987
  'location' => 'aws.query',
4988
+ 'default' => '2014-06-15',
4989
  ),
4990
  'DryRun' => array(
4991
  'type' => 'boolean',
5027
  'Version' => array(
5028
  'static' => true,
5029
  'location' => 'aws.query',
5030
+ 'default' => '2014-06-15',
5031
  ),
5032
  'DryRun' => array(
5033
  'type' => 'boolean',
5061
  'Version' => array(
5062
  'static' => true,
5063
  'location' => 'aws.query',
5064
+ 'default' => '2014-06-15',
5065
  ),
5066
  'RouteTableId' => array(
5067
  'required' => true,
5090
  'Version' => array(
5091
  'static' => true,
5092
  'location' => 'aws.query',
5093
+ 'default' => '2014-06-15',
5094
  ),
5095
  'DryRun' => array(
5096
  'type' => 'boolean',
5122
  'Version' => array(
5123
  'static' => true,
5124
  'location' => 'aws.query',
5125
+ 'default' => '2014-06-15',
5126
  ),
5127
  'DryRun' => array(
5128
  'type' => 'boolean',
5151
  'Version' => array(
5152
  'static' => true,
5153
  'location' => 'aws.query',
5154
+ 'default' => '2014-06-15',
5155
  ),
5156
  'RouteTableId' => array(
5157
  'required' => true,
5180
  'Version' => array(
5181
  'static' => true,
5182
  'location' => 'aws.query',
5183
+ 'default' => '2014-06-15',
5184
  ),
5185
  'DryRun' => array(
5186
  'type' => 'boolean',
5209
  'Version' => array(
5210
  'static' => true,
5211
  'location' => 'aws.query',
5212
+ 'default' => '2014-06-15',
5213
  ),
5214
  'DryRun' => array(
5215
  'type' => 'boolean',
5238
  'Version' => array(
5239
  'static' => true,
5240
  'location' => 'aws.query',
5241
+ 'default' => '2014-06-15',
5242
  ),
5243
  'DryRun' => array(
5244
  'type' => 'boolean',
5267
  'Version' => array(
5268
  'static' => true,
5269
  'location' => 'aws.query',
5270
+ 'default' => '2014-06-15',
5271
  ),
5272
  'DryRun' => array(
5273
  'type' => 'boolean',
5301
  ),
5302
  'InstanceType' => array(
5303
  'type' => 'string',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5304
  ),
5305
  'Placement' => array(
5306
  'type' => 'object',
5393
  'Version' => array(
5394
  'static' => true,
5395
  'location' => 'aws.query',
5396
+ 'default' => '2014-06-15',
5397
  ),
5398
  'DryRun' => array(
5399
  'type' => 'boolean',
5430
  'Version' => array(
5431
  'static' => true,
5432
  'location' => 'aws.query',
5433
+ 'default' => '2014-06-15',
5434
  ),
5435
  'DryRun' => array(
5436
  'type' => 'boolean',
5438
  'location' => 'aws.query',
5439
  ),
5440
  'AvailabilityZone' => array(
5441
+ 'required' => true,
5442
  'type' => 'string',
5443
  'location' => 'aws.query',
5444
  ),
5445
  'Image' => array(
5446
+ 'required' => true,
5447
  'type' => 'object',
5448
  'location' => 'aws.query',
5449
  'properties' => array(
5466
  'location' => 'aws.query',
5467
  ),
5468
  'Volume' => array(
5469
+ 'required' => true,
5470
  'type' => 'object',
5471
  'location' => 'aws.query',
5472
  'properties' => array(
5493
  'Version' => array(
5494
  'static' => true,
5495
  'location' => 'aws.query',
5496
+ 'default' => '2014-06-15',
5497
  ),
5498
  'DryRun' => array(
5499
  'type' => 'boolean',
5606
  'Version' => array(
5607
  'static' => true,
5608
  'location' => 'aws.query',
5609
+ 'default' => '2014-06-15',
5610
  ),
5611
  'DryRun' => array(
5612
  'type' => 'boolean',
5621
  'Attribute' => array(
5622
  'type' => 'string',
5623
  'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5624
  ),
5625
  'Value' => array(
5626
  'type' => 'string',
5742
  ),
5743
  ),
5744
  ),
5745
+ 'SriovNetSupport' => array(
5746
+ 'type' => 'object',
5747
+ 'location' => 'aws.query',
5748
+ 'properties' => array(
5749
+ 'Value' => array(
5750
+ 'type' => 'string',
5751
+ ),
5752
+ ),
5753
+ ),
5754
  ),
5755
  ),
5756
  'ModifyNetworkInterfaceAttribute' => array(
5768
  'Version' => array(
5769
  'static' => true,
5770
  'location' => 'aws.query',
5771
+ 'default' => '2014-06-15',
5772
  ),
5773
  'DryRun' => array(
5774
  'type' => 'boolean',
5823
  ),
5824
  ),
5825
  ),
5826
+ 'ModifyReservedInstances' => array(
5827
+ 'httpMethod' => 'POST',
5828
+ 'uri' => '/',
5829
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5830
+ 'responseClass' => 'ModifyReservedInstancesResult',
5831
+ 'responseType' => 'model',
5832
+ 'parameters' => array(
5833
+ 'Action' => array(
5834
+ 'static' => true,
5835
+ 'location' => 'aws.query',
5836
+ 'default' => 'ModifyReservedInstances',
5837
+ ),
5838
+ 'Version' => array(
5839
+ 'static' => true,
5840
+ 'location' => 'aws.query',
5841
+ 'default' => '2014-06-15',
5842
+ ),
5843
+ 'ClientToken' => array(
5844
+ 'type' => 'string',
5845
+ 'location' => 'aws.query',
5846
+ ),
5847
+ 'ReservedInstancesIds' => array(
5848
+ 'required' => true,
5849
+ 'type' => 'array',
5850
+ 'location' => 'aws.query',
5851
+ 'sentAs' => 'ReservedInstancesId',
5852
+ 'items' => array(
5853
+ 'name' => 'ReservedInstancesId',
5854
+ 'type' => 'string',
5855
+ ),
5856
+ ),
5857
+ 'TargetConfigurations' => array(
5858
+ 'required' => true,
5859
+ 'type' => 'array',
5860
+ 'location' => 'aws.query',
5861
+ 'sentAs' => 'ReservedInstancesConfigurationSetItemType',
5862
+ 'items' => array(
5863
+ 'name' => 'ReservedInstancesConfigurationSetItemType',
5864
+ 'type' => 'object',
5865
+ 'properties' => array(
5866
+ 'AvailabilityZone' => array(
5867
+ 'type' => 'string',
5868
+ ),
5869
+ 'Platform' => array(
5870
+ 'type' => 'string',
5871
+ ),
5872
+ 'InstanceCount' => array(
5873
+ 'type' => 'numeric',
5874
+ ),
5875
+ 'InstanceType' => array(
5876
+ 'type' => 'string',
5877
+ ),
5878
+ ),
5879
+ ),
5880
+ ),
5881
+ ),
5882
+ ),
5883
  'ModifySnapshotAttribute' => array(
5884
  'httpMethod' => 'POST',
5885
  'uri' => '/',
5895
  'Version' => array(
5896
  'static' => true,
5897
  'location' => 'aws.query',
5898
+ 'default' => '2014-06-15',
5899
  ),
5900
  'DryRun' => array(
5901
  'type' => 'boolean',
5910
  'Attribute' => array(
5911
  'type' => 'string',
5912
  'location' => 'aws.query',
 
 
 
 
5913
  ),
5914
  'OperationType' => array(
5915
  'type' => 'string',
5971
  ),
5972
  ),
5973
  ),
5974
+ 'ModifySubnetAttribute' => array(
5975
+ 'httpMethod' => 'POST',
5976
+ 'uri' => '/',
5977
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5978
+ 'responseClass' => 'EmptyOutput',
5979
+ 'responseType' => 'model',
5980
+ 'parameters' => array(
5981
+ 'Action' => array(
5982
+ 'static' => true,
5983
+ 'location' => 'aws.query',
5984
+ 'default' => 'ModifySubnetAttribute',
5985
+ ),
5986
+ 'Version' => array(
5987
+ 'static' => true,
5988
+ 'location' => 'aws.query',
5989
+ 'default' => '2014-06-15',
5990
+ ),
5991
+ 'SubnetId' => array(
5992
+ 'required' => true,
5993
+ 'type' => 'string',
5994
+ 'location' => 'aws.query',
5995
+ ),
5996
+ 'MapPublicIpOnLaunch' => array(
5997
+ 'type' => 'object',
5998
+ 'location' => 'aws.query',
5999
+ 'properties' => array(
6000
+ 'Value' => array(
6001
+ 'type' => 'boolean',
6002
+ 'format' => 'boolean-string',
6003
+ ),
6004
+ ),
6005
+ ),
6006
+ ),
6007
+ ),
6008
  'ModifyVolumeAttribute' => array(
6009
  'httpMethod' => 'POST',
6010
  'uri' => '/',
6020
  'Version' => array(
6021
  'static' => true,
6022
  'location' => 'aws.query',
6023
+ 'default' => '2014-06-15',
6024
  ),
6025
  'DryRun' => array(
6026
  'type' => 'boolean',
6033
  'location' => 'aws.query',
6034
  ),
6035
  'AutoEnableIO' => array(
6036
+ 'type' => 'object',
 
6037
  'location' => 'aws.query',
6038
+ 'properties' => array(
6039
+ 'Value' => array(
6040
+ 'type' => 'boolean',
6041
+ 'format' => 'boolean-string',
6042
+ ),
6043
+ ),
6044
  ),
6045
  ),
6046
  ),
6059
  'Version' => array(
6060
  'static' => true,
6061
  'location' => 'aws.query',
6062
+ 'default' => '2014-06-15',
6063
  ),
6064
  'VpcId' => array(
6065
  'required' => true,
6103
  'Version' => array(
6104
  'static' => true,
6105
  'location' => 'aws.query',
6106
+ 'default' => '2014-06-15',
6107
  ),
6108
  'DryRun' => array(
6109
  'type' => 'boolean',
6137
  'Version' => array(
6138
  'static' => true,
6139
  'location' => 'aws.query',
6140
+ 'default' => '2014-06-15',
6141
  ),
6142
  'DryRun' => array(
6143
  'type' => 'boolean',
6183
  'Version' => array(
6184
  'static' => true,
6185
  'location' => 'aws.query',
6186
+ 'default' => '2014-06-15',
6187
  ),
6188
  'DryRun' => array(
6189
  'type' => 'boolean',
6217
  'Version' => array(
6218
  'static' => true,
6219
  'location' => 'aws.query',
6220
+ 'default' => '2014-06-15',
6221
  ),
6222
  'DryRun' => array(
6223
  'type' => 'boolean',
6229
  'location' => 'aws.query',
6230
  ),
6231
  'Name' => array(
6232
+ 'required' => true,
6233
  'type' => 'string',
6234
  'location' => 'aws.query',
6235
  ),
6282
  ),
6283
  'VolumeType' => array(
6284
  'type' => 'string',
 
 
 
 
6285
  ),
6286
  'Iops' => array(
6287
  'type' => 'numeric',
6288
  ),
6289
+ 'Encrypted' => array(
6290
+ 'type' => 'boolean',
6291
+ 'format' => 'boolean-string',
6292
+ ),
6293
  ),
6294
  ),
6295
  'NoDevice' => array(
6298
  ),
6299
  ),
6300
  ),
6301
+ 'VirtualizationType' => array(
6302
+ 'type' => 'string',
6303
+ 'location' => 'aws.query',
6304
+ ),
6305
+ 'SriovNetSupport' => array(
6306
+ 'type' => 'string',
6307
+ 'location' => 'aws.query',
6308
+ ),
6309
+ ),
6310
+ ),
6311
+ 'RejectVpcPeeringConnection' => array(
6312
+ 'httpMethod' => 'POST',
6313
+ 'uri' => '/',
6314
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
6315
+ 'responseClass' => 'RejectVpcPeeringConnectionResult',
6316
+ 'responseType' => 'model',
6317
+ 'parameters' => array(
6318
+ 'Action' => array(
6319
+ 'static' => true,
6320
+ 'location' => 'aws.query',
6321
+ 'default' => 'RejectVpcPeeringConnection',
6322
+ ),
6323
+ 'Version' => array(
6324
+ 'static' => true,
6325
+ 'location' => 'aws.query',
6326
+ 'default' => '2014-06-15',
6327
+ ),
6328
+ 'DryRun' => array(
6329
+ 'type' => 'boolean',
6330
+ 'format' => 'boolean-string',
6331
+ 'location' => 'aws.query',
6332
+ ),
6333
+ 'VpcPeeringConnectionId' => array(
6334
+ 'required' => true,
6335
+ 'type' => 'string',
6336
+ 'location' => 'aws.query',
6337
+ ),
6338
  ),
6339
  ),
6340
  'ReleaseAddress' => array(
6352
  'Version' => array(
6353
  'static' => true,
6354
  'location' => 'aws.query',
6355
+ 'default' => '2014-06-15',
6356
  ),
6357
  'DryRun' => array(
6358
  'type' => 'boolean',
6384
  'Version' => array(
6385
  'static' => true,
6386
  'location' => 'aws.query',
6387
+ 'default' => '2014-06-15',
6388
  ),
6389
  'DryRun' => array(
6390
  'type' => 'boolean',
6418
  'Version' => array(
6419
  'static' => true,
6420
  'location' => 'aws.query',
6421
+ 'default' => '2014-06-15',
6422
  ),
6423
  'DryRun' => array(
6424
  'type' => 'boolean',
6444
  'required' => true,
6445
  'type' => 'string',
6446
  'location' => 'aws.query',
 
 
 
 
6447
  ),
6448
  'Egress' => array(
6449
  'required' => true,
6498
  'Version' => array(
6499
  'static' => true,
6500
  'location' => 'aws.query',
6501
+ 'default' => '2014-06-15',
6502
  ),
6503
  'DryRun' => array(
6504
  'type' => 'boolean',
6527
  'type' => 'string',
6528
  'location' => 'aws.query',
6529
  ),
6530
+ 'VpcPeeringConnectionId' => array(
6531
+ 'type' => 'string',
6532
+ 'location' => 'aws.query',
6533
+ ),
6534
  ),
6535
  ),
6536
  'ReplaceRouteTableAssociation' => array(
6548
  'Version' => array(
6549
  'static' => true,
6550
  'location' => 'aws.query',
6551
+ 'default' => '2014-06-15',
6552
  ),
6553
  'DryRun' => array(
6554
  'type' => 'boolean',
6582
  'Version' => array(
6583
  'static' => true,
6584
  'location' => 'aws.query',
6585
+ 'default' => '2014-06-15',
6586
  ),
6587
  'DryRun' => array(
6588
  'type' => 'boolean',
6590
  'location' => 'aws.query',
6591
  ),
6592
  'Instances' => array(
6593
+ 'required' => true,
6594
  'type' => 'array',
6595
  'location' => 'aws.query',
6596
  'sentAs' => 'InstanceId',
6600
  ),
6601
  ),
6602
  'Status' => array(
6603
+ 'required' => true,
6604
  'type' => 'string',
6605
  'location' => 'aws.query',
6606
  ),
6623
  'location' => 'aws.query',
6624
  ),
6625
  'ReasonCodes' => array(
6626
+ 'required' => true,
6627
  'type' => 'array',
6628
  'location' => 'aws.query',
6629
  'sentAs' => 'ReasonCode',
6653
  'Version' => array(
6654
  'static' => true,
6655
  'location' => 'aws.query',
6656
+ 'default' => '2014-06-15',
6657
  ),
6658
  'DryRun' => array(
6659
  'type' => 'boolean',
6672
  'Type' => array(
6673
  'type' => 'string',
6674
  'location' => 'aws.query',
 
 
 
 
6675
  ),
6676
  'ValidFrom' => array(
6677
  'type' => array(
6712
  'UserData' => array(
6713
  'type' => 'string',
6714
  ),
6715
+ 'AddressingType' => array(
6716
+ 'type' => 'string',
6717
+ ),
6718
  'InstanceType' => array(
6719
  'type' => 'string',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6720
  ),
6721
  'Placement' => array(
6722
  'type' => 'object',
6763
  ),
6764
  'VolumeType' => array(
6765
  'type' => 'string',
 
 
 
 
6766
  ),
6767
  'Iops' => array(
6768
  'type' => 'numeric',
6769
  ),
6770
+ 'Encrypted' => array(
6771
+ 'type' => 'boolean',
6772
+ 'format' => 'boolean-string',
6773
+ ),
6774
  ),
6775
  ),
6776
  'NoDevice' => array(
6779
  ),
6780
  ),
6781
  ),
6782
+ 'Monitoring' => array(
6783
+ 'type' => 'object',
6784
+ 'properties' => array(
6785
+ 'Enabled' => array(
6786
+ 'required' => true,
6787
+ 'type' => 'boolean',
6788
+ 'format' => 'boolean-string',
6789
+ ),
6790
+ ),
6791
  ),
6792
  'SubnetId' => array(
6793
  'type' => 'string',
6846
  'SecondaryPrivateIpAddressCount' => array(
6847
  'type' => 'numeric',
6848
  ),
6849
+ 'AssociatePublicIpAddress' => array(
6850
+ 'type' => 'boolean',
6851
+ 'format' => 'boolean-string',
6852
+ ),
6853
  ),
6854
  ),
6855
  ),
6903
  'Version' => array(
6904
  'static' => true,
6905
  'location' => 'aws.query',
6906
+ 'default' => '2014-06-15',
6907
  ),
6908
  'DryRun' => array(
6909
  'type' => 'boolean',
6937
  'Version' => array(
6938
  'static' => true,
6939
  'location' => 'aws.query',
6940
+ 'default' => '2014-06-15',
6941
  ),
6942
  'DryRun' => array(
6943
  'type' => 'boolean',
6953
  'required' => true,
6954
  'type' => 'string',
6955
  'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6956
  ),
6957
  ),
6958
  ),
6971
  'Version' => array(
6972
  'static' => true,
6973
  'location' => 'aws.query',
6974
+ 'default' => '2014-06-15',
6975
  ),
6976
  'DryRun' => array(
6977
  'type' => 'boolean',
7004
  'Version' => array(
7005
  'static' => true,
7006
  'location' => 'aws.query',
7007
+ 'default' => '2014-06-15',
7008
  ),
7009
  'DryRun' => array(
7010
  'type' => 'boolean',
7020
  'required' => true,
7021
  'type' => 'string',
7022
  'location' => 'aws.query',
 
 
 
 
7023
  ),
7024
  ),
7025
  ),
7038
  'Version' => array(
7039
  'static' => true,
7040
  'location' => 'aws.query',
7041
+ 'default' => '2014-06-15',
7042
  ),
7043
  'DryRun' => array(
7044
  'type' => 'boolean',
7050
  'type' => 'string',
7051
  'location' => 'aws.query',
7052
  ),
7053
+ 'SourceSecurityGroupName' => array(
7054
+ 'type' => 'string',
7055
+ 'location' => 'aws.query',
7056
+ ),
7057
+ 'SourceSecurityGroupOwnerId' => array(
7058
+ 'type' => 'string',
7059
+ 'location' => 'aws.query',
7060
+ ),
7061
+ 'IpProtocol' => array(
7062
+ 'type' => 'string',
7063
+ 'location' => 'aws.query',
7064
+ ),
7065
+ 'FromPort' => array(
7066
+ 'type' => 'numeric',
7067
+ 'location' => 'aws.query',
7068
+ ),
7069
+ 'ToPort' => array(
7070
+ 'type' => 'numeric',
7071
+ 'location' => 'aws.query',
7072
+ ),
7073
+ 'CidrIp' => array(
7074
+ 'type' => 'string',
7075
+ 'location' => 'aws.query',
7076
+ ),
7077
  'IpPermissions' => array(
7078
  'type' => 'array',
7079
  'location' => 'aws.query',
7141
  'Version' => array(
7142
  'static' => true,
7143
  'location' => 'aws.query',
7144
+ 'default' => '2014-06-15',
7145
  ),
7146
  'DryRun' => array(
7147
  'type' => 'boolean',
7156
  'type' => 'string',
7157
  'location' => 'aws.query',
7158
  ),
7159
+ 'SourceSecurityGroupName' => array(
7160
+ 'type' => 'string',
7161
+ 'location' => 'aws.query',
7162
+ ),
7163
+ 'SourceSecurityGroupOwnerId' => array(
7164
+ 'type' => 'string',
7165
+ 'location' => 'aws.query',
7166
+ ),
7167
+ 'IpProtocol' => array(
7168
+ 'type' => 'string',
7169
+ 'location' => 'aws.query',
7170
+ ),
7171
+ 'FromPort' => array(
7172
+ 'type' => 'numeric',
7173
+ 'location' => 'aws.query',
7174
+ ),
7175
+ 'ToPort' => array(
7176
+ 'type' => 'numeric',
7177
+ 'location' => 'aws.query',
7178
+ ),
7179
+ 'CidrIp' => array(
7180
+ 'type' => 'string',
7181
+ 'location' => 'aws.query',
7182
+ ),
7183
  'IpPermissions' => array(
7184
  'type' => 'array',
7185
  'location' => 'aws.query',
7247
  'Version' => array(
7248
  'static' => true,
7249
  'location' => 'aws.query',
7250
+ 'default' => '2014-06-15',
7251
  ),
7252
  'DryRun' => array(
7253
  'type' => 'boolean',
7298
  'InstanceType' => array(
7299
  'type' => 'string',
7300
  'location' => 'aws.query',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7301
  ),
7302
  'Placement' => array(
7303
  'type' => 'object',
7351
  ),
7352
  'VolumeType' => array(
7353
  'type' => 'string',
 
 
 
 
7354
  ),
7355
  'Iops' => array(
7356
  'type' => 'numeric',
7357
  ),
7358
+ 'Encrypted' => array(
7359
+ 'type' => 'boolean',
7360
+ 'format' => 'boolean-string',
7361
+ ),
7362
  ),
7363
  ),
7364
  'NoDevice' => array(
7391
  'type' => 'string',
7392
  'location' => 'aws.query',
7393
  ),
 
 
 
 
 
 
 
 
 
7394
  'PrivateIpAddress' => array(
7395
  'type' => 'string',
7396
  'location' => 'aws.query',
7440
  ),
7441
  'PrivateIpAddresses' => array(
7442
  'type' => 'array',
 
7443
  'items' => array(
7444
+ 'name' => 'PrivateIpAddressSpecification',
7445
  'type' => 'object',
7446
  'properties' => array(
7447
  'PrivateIpAddress' => array(
7458
  'SecondaryPrivateIpAddressCount' => array(
7459
  'type' => 'numeric',
7460
  ),
7461
+ 'AssociatePublicIpAddress' => array(
7462
+ 'type' => 'boolean',
7463
+ 'format' => 'boolean-string',
7464
+ ),
7465
  ),
7466
  ),
7467
  ),
7499
  'Version' => array(
7500
  'static' => true,
7501
  'location' => 'aws.query',
7502
+ 'default' => '2014-06-15',
7503
  ),
7504
  'InstanceIds' => array(
7505
  'required' => true,
7537
  'Version' => array(
7538
  'static' => true,
7539
  'location' => 'aws.query',
7540
+ 'default' => '2014-06-15',
7541
  ),
7542
  'DryRun' => array(
7543
  'type' => 'boolean',
7576
  'Version' => array(
7577
  'static' => true,
7578
  'location' => 'aws.query',
7579
+ 'default' => '2014-06-15',
7580
  ),
7581
  'DryRun' => array(
7582
  'type' => 'boolean',
7610
  'Version' => array(
7611
  'static' => true,
7612
  'location' => 'aws.query',
7613
+ 'default' => '2014-06-15',
7614
  ),
7615
  'NetworkInterfaceId' => array(
7616
  'required' => true,
7644
  'Version' => array(
7645
  'static' => true,
7646
  'location' => 'aws.query',
7647
+ 'default' => '2014-06-15',
7648
  ),
7649
  'DryRun' => array(
7650
  'type' => 'boolean',
7665
  ),
7666
  ),
7667
  'models' => array(
7668
+ 'AcceptVpcPeeringConnectionResult' => array(
7669
  'type' => 'object',
7670
  'additionalProperties' => true,
7671
+ 'properties' => array(
7672
+ 'VpcPeeringConnection' => array(
7673
+ 'type' => 'object',
7674
+ 'location' => 'xml',
7675
+ 'sentAs' => 'vpcPeeringConnection',
7676
+ 'properties' => array(
7677
+ 'AccepterVpcInfo' => array(
7678
+ 'type' => 'object',
7679
+ 'sentAs' => 'accepterVpcInfo',
7680
+ 'properties' => array(
7681
+ 'CidrBlock' => array(
7682
+ 'type' => 'string',
7683
+ 'sentAs' => 'cidrBlock',
7684
+ ),
7685
+ 'OwnerId' => array(
7686
+ 'type' => 'string',
7687
+ 'sentAs' => 'ownerId',
7688
+ ),
7689
+ 'VpcId' => array(
7690
+ 'type' => 'string',
7691
+ 'sentAs' => 'vpcId',
7692
+ ),
7693
+ ),
7694
+ ),
7695
+ 'ExpirationTime' => array(
7696
+ 'type' => 'string',
7697
+ 'sentAs' => 'expirationTime',
7698
+ ),
7699
+ 'RequesterVpcInfo' => array(
7700
+ 'type' => 'object',
7701
+ 'sentAs' => 'requesterVpcInfo',
7702
+ 'properties' => array(
7703
+ 'CidrBlock' => array(
7704
+ 'type' => 'string',
7705
+ 'sentAs' => 'cidrBlock',
7706
+ ),
7707
+ 'OwnerId' => array(
7708
+ 'type' => 'string',
7709
+ 'sentAs' => 'ownerId',
7710
+ ),
7711
+ 'VpcId' => array(
7712
+ 'type' => 'string',
7713
+ 'sentAs' => 'vpcId',
7714
+ ),
7715
+ ),
7716
+ ),
7717
+ 'Status' => array(
7718
+ 'type' => 'object',
7719
+ 'sentAs' => 'status',
7720
+ 'properties' => array(
7721
+ 'Code' => array(
7722
+ 'type' => 'string',
7723
+ 'sentAs' => 'code',
7724
+ ),
7725
+ 'Message' => array(
7726
+ 'type' => 'string',
7727
+ 'sentAs' => 'message',
7728
+ ),
7729
+ ),
7730
+ ),
7731
+ 'Tags' => array(
7732
+ 'type' => 'array',
7733
+ 'sentAs' => 'tagSet',
7734
+ 'items' => array(
7735
+ 'name' => 'item',
7736
+ 'type' => 'object',
7737
+ 'sentAs' => 'item',
7738
+ 'properties' => array(
7739
+ 'Key' => array(
7740
+ 'type' => 'string',
7741
+ 'sentAs' => 'key',
7742
+ ),
7743
+ 'Value' => array(
7744
+ 'type' => 'string',
7745
+ 'sentAs' => 'value',
7746
+ ),
7747
+ ),
7748
+ ),
7749
+ ),
7750
+ 'VpcPeeringConnectionId' => array(
7751
+ 'type' => 'string',
7752
+ 'sentAs' => 'vpcPeeringConnectionId',
7753
+ ),
7754
+ ),
7755
+ ),
7756
+ ),
7757
  ),
7758
  'AllocateAddressResult' => array(
7759
  'type' => 'object',
7776
  ),
7777
  ),
7778
  ),
7779
+ 'EmptyOutput' => array(
7780
+ 'type' => 'object',
7781
+ 'additionalProperties' => true,
7782
+ ),
7783
  'AssociateAddressResult' => array(
7784
  'type' => 'object',
7785
  'additionalProperties' => true,
7853
  'type' => 'object',
7854
  'additionalProperties' => true,
7855
  'properties' => array(
7856
+ 'VpcAttachment' => array(
7857
  'type' => 'object',
7858
  'location' => 'xml',
7859
  'sentAs' => 'attachment',
8714
  'type' => 'string',
8715
  'sentAs' => 'publicIp',
8716
  ),
8717
+ 'PublicDnsName' => array(
8718
+ 'type' => 'string',
8719
+ 'sentAs' => 'publicDnsName',
8720
+ ),
8721
  'IpOwnerId' => array(
8722
  'type' => 'string',
8723
  'sentAs' => 'ipOwnerId',
8779
  'type' => 'string',
8780
  'sentAs' => 'publicIp',
8781
  ),
8782
+ 'PublicDnsName' => array(
8783
+ 'type' => 'string',
8784
+ 'sentAs' => 'publicDnsName',
8785
+ ),
8786
  'IpOwnerId' => array(
8787
  'type' => 'string',
8788
  'sentAs' => 'ipOwnerId',
8960
  'type' => 'string',
8961
  'sentAs' => 'networkInterfaceId',
8962
  ),
8963
+ 'VpcPeeringConnectionId' => array(
8964
+ 'type' => 'string',
8965
+ 'sentAs' => 'vpcPeeringConnectionId',
8966
+ ),
8967
  'State' => array(
8968
  'type' => 'string',
8969
  'sentAs' => 'state',
8970
  ),
8971
+ 'Origin' => array(
8972
+ 'type' => 'string',
8973
+ 'sentAs' => 'origin',
8974
+ ),
8975
  ),
8976
  ),
8977
  ),
9090
  'location' => 'xml',
9091
  'sentAs' => 'description',
9092
  ),
9093
+ 'VolumeSize' => array(
9094
+ 'type' => 'numeric',
9095
+ 'location' => 'xml',
9096
+ 'sentAs' => 'volumeSize',
9097
+ ),
9098
+ 'OwnerAlias' => array(
9099
+ 'type' => 'string',
9100
+ 'location' => 'xml',
9101
+ 'sentAs' => 'ownerAlias',
9102
+ ),
9103
+ 'Encrypted' => array(
9104
+ 'type' => 'boolean',
9105
+ 'location' => 'xml',
9106
+ 'sentAs' => 'encrypted',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9107
  ),
9108
  ),
9109
  ),
9314
  'location' => 'xml',
9315
  'sentAs' => 'iops',
9316
  ),
9317
+ 'Encrypted' => array(
9318
+ 'type' => 'boolean',
9319
+ 'location' => 'xml',
9320
+ 'sentAs' => 'encrypted',
9321
+ ),
9322
  ),
9323
  ),
9324
  'CreateVpcResult' => array(
9377
  ),
9378
  ),
9379
  ),
9380
+ 'CreateVpcPeeringConnectionResult' => array(
9381
+ 'type' => 'object',
9382
+ 'additionalProperties' => true,
9383
+ 'properties' => array(
9384
+ 'VpcPeeringConnection' => array(
9385
+ 'type' => 'object',
9386
+ 'location' => 'xml',
9387
+ 'sentAs' => 'vpcPeeringConnection',
9388
+ 'properties' => array(
9389
+ 'AccepterVpcInfo' => array(
9390
+ 'type' => 'object',
9391
+ 'sentAs' => 'accepterVpcInfo',
9392
+ 'properties' => array(
9393
+ 'CidrBlock' => array(
9394
+ 'type' => 'string',
9395
+ 'sentAs' => 'cidrBlock',
9396
+ ),
9397
+ 'OwnerId' => array(
9398
+ 'type' => 'string',
9399
+ 'sentAs' => 'ownerId',
9400
+ ),
9401
+ 'VpcId' => array(
9402
+ 'type' => 'string',
9403
+ 'sentAs' => 'vpcId',
9404
+ ),
9405
+ ),
9406
+ ),
9407
+ 'ExpirationTime' => array(
9408
+ 'type' => 'string',
9409
+ 'sentAs' => 'expirationTime',
9410
+ ),
9411
+ 'RequesterVpcInfo' => array(
9412
+ 'type' => 'object',
9413
+ 'sentAs' => 'requesterVpcInfo',
9414
+ 'properties' => array(
9415
+ 'CidrBlock' => array(
9416
+ 'type' => 'string',
9417
+ 'sentAs' => 'cidrBlock',
9418
+ ),
9419
+ 'OwnerId' => array(
9420
+ 'type' => 'string',
9421
+ 'sentAs' => 'ownerId',
9422
+ ),
9423
+ 'VpcId' => array(
9424
+ 'type' => 'string',
9425
+ 'sentAs' => 'vpcId',
9426
+ ),
9427
+ ),
9428
+ ),
9429
+ 'Status' => array(
9430
+ 'type' => 'object',
9431
+ 'sentAs' => 'status',
9432
+ 'properties' => array(
9433
+ 'Code' => array(
9434
+ 'type' => 'string',
9435
+ 'sentAs' => 'code',
9436
+ ),
9437
+ 'Message' => array(
9438
+ 'type' => 'string',
9439
+ 'sentAs' => 'message',
9440
+ ),
9441
+ ),
9442
+ ),
9443
+ 'Tags' => array(
9444
+ 'type' => 'array',
9445
+ 'sentAs' => 'tagSet',
9446
+ 'items' => array(
9447
+ 'name' => 'item',
9448
+ 'type' => 'object',
9449
+ 'sentAs' => 'item',
9450
+ 'properties' => array(
9451
+ 'Key' => array(
9452
+ 'type' => 'string',
9453
+ 'sentAs' => 'key',
9454
+ ),
9455
+ 'Value' => array(
9456
+ 'type' => 'string',
9457
+ 'sentAs' => 'value',
9458
+ ),
9459
+ ),
9460
+ ),
9461
+ ),
9462
+ 'VpcPeeringConnectionId' => array(
9463
+ 'type' => 'string',
9464
+ 'sentAs' => 'vpcPeeringConnectionId',
9465
+ ),
9466
+ ),
9467
+ ),
9468
+ ),
9469
+ ),
9470
  'CreateVpnConnectionResult' => array(
9471
  'type' => 'object',
9472
  'additionalProperties' => true,
9654
  ),
9655
  ),
9656
  ),
9657
+ 'DeleteVpcPeeringConnectionResult' => array(
9658
+ 'type' => 'object',
9659
+ 'additionalProperties' => true,
9660
+ 'properties' => array(
9661
+ 'Return' => array(
9662
+ 'type' => 'boolean',
9663
+ 'location' => 'xml',
9664
+ 'sentAs' => 'return',
9665
+ ),
9666
+ ),
9667
+ ),
9668
  'DescribeAccountAttributesResult' => array(
9669
  'type' => 'object',
9670
  'additionalProperties' => true,
10349
  ),
10350
  ),
10351
  ),
10352
+ 'SriovNetSupport' => array(
10353
+ 'type' => 'object',
10354
+ 'location' => 'xml',
10355
+ 'sentAs' => 'sriovNetSupport',
10356
+ 'properties' => array(
10357
+ 'Value' => array(
10358
+ 'type' => 'string',
10359
+ 'sentAs' => 'value',
10360
+ ),
10361
+ ),
10362
+ ),
10363
  'BlockDeviceMappings' => array(
10364
  'type' => 'array',
10365
  'location' => 'xml',
10401
  'type' => 'numeric',
10402
  'sentAs' => 'iops',
10403
  ),
10404
+ 'Encrypted' => array(
10405
+ 'type' => 'boolean',
10406
+ 'sentAs' => 'encrypted',
10407
+ ),
10408
  ),
10409
  ),
10410
  'NoDevice' => array(
10488
  'type' => 'string',
10489
  'sentAs' => 'platform',
10490
  ),
10491
+ 'SriovNetSupport' => array(
10492
+ 'type' => 'string',
10493
+ 'sentAs' => 'sriovNetSupport',
10494
+ ),
10495
  'StateReason' => array(
10496
  'type' => 'object',
10497
  'sentAs' => 'stateReason',
10566
  'type' => 'numeric',
10567
  'sentAs' => 'iops',
10568
  ),
10569
+ 'Encrypted' => array(
10570
+ 'type' => 'boolean',
10571
+ 'sentAs' => 'encrypted',
10572
+ ),
10573
  ),
10574
  ),
10575
  'NoDevice' => array(
10766
  ),
10767
  ),
10768
  ),
10769
+ 'SriovNetSupport' => array(
10770
+ 'type' => 'object',
10771
+ 'location' => 'xml',
10772
+ 'sentAs' => 'sriovNetSupport',
10773
+ 'properties' => array(
10774
+ 'Value' => array(
10775
+ 'type' => 'string',
10776
+ 'sentAs' => 'value',
10777
+ ),
10778
+ ),
10779
+ ),
10780
+ 'SourceDestCheck' => array(
10781
+ 'type' => 'object',
10782
+ 'location' => 'xml',
10783
+ 'sentAs' => 'sourceDestCheck',
10784
+ 'properties' => array(
10785
+ 'Value' => array(
10786
+ 'type' => 'boolean',
10787
+ 'sentAs' => 'value',
10788
+ ),
10789
+ ),
10790
+ ),
10791
  ),
10792
  ),
10793
  'DescribeInstanceStatusResult' => array(
11180
  'type' => 'string',
11181
  'sentAs' => 'spotInstanceRequestId',
11182
  ),
 
 
 
 
 
 
 
 
 
 
11183
  'ClientToken' => array(
11184
  'type' => 'string',
11185
  'sentAs' => 'clientToken',
11399
  'type' => 'boolean',
11400
  'sentAs' => 'ebsOptimized',
11401
  ),
11402
+ 'SriovNetSupport' => array(
11403
+ 'type' => 'string',
11404
+ 'sentAs' => 'sriovNetSupport',
11405
+ ),
11406
  ),
11407
  ),
11408
  ),
11409
  ),
11410
  ),
11411
  ),
11412
+ 'NextToken' => array(
11413
+ 'type' => 'string',
11414
+ 'location' => 'xml',
11415
+ 'sentAs' => 'nextToken',
11416
+ ),
11417
  ),
11418
  ),
11419
  'DescribeInternetGatewaysResult' => array(
11502
  ),
11503
  ),
11504
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11505
  'DescribeNetworkAclsResult' => array(
11506
  'type' => 'object',
11507
  'additionalProperties' => true,
11847
  'type' => 'string',
11848
  'sentAs' => 'publicIp',
11849
  ),
11850
+ 'PublicDnsName' => array(
11851
+ 'type' => 'string',
11852
+ 'sentAs' => 'publicDnsName',
11853
+ ),
11854
  'IpOwnerId' => array(
11855
  'type' => 'string',
11856
  'sentAs' => 'ipOwnerId',
11912
  'type' => 'string',
11913
  'sentAs' => 'publicIp',
11914
  ),
11915
+ 'PublicDnsName' => array(
11916
+ 'type' => 'string',
11917
+ 'sentAs' => 'publicDnsName',
11918
+ ),
11919
  'IpOwnerId' => array(
11920
  'type' => 'string',
11921
  'sentAs' => 'ipOwnerId',
12023
  'type' => 'string',
12024
  'sentAs' => 'start',
12025
  ),
12026
+ 'End' => array(
12027
+ 'type' => 'string',
12028
+ 'sentAs' => 'end',
12029
+ ),
12030
  'Duration' => array(
12031
  'type' => 'numeric',
12032
  'sentAs' => 'duration',
12217
  ),
12218
  ),
12219
  ),
12220
+ 'DescribeReservedInstancesModificationsResult' => array(
12221
+ 'type' => 'object',
12222
+ 'additionalProperties' => true,
12223
+ 'properties' => array(
12224
+ 'ReservedInstancesModifications' => array(
12225
+ 'type' => 'array',
12226
+ 'location' => 'xml',
12227
+ 'sentAs' => 'reservedInstancesModificationsSet',
12228
+ 'items' => array(
12229
+ 'name' => 'item',
12230
+ 'type' => 'object',
12231
+ 'sentAs' => 'item',
12232
+ 'properties' => array(
12233
+ 'ReservedInstancesModificationId' => array(
12234
+ 'type' => 'string',
12235
+ 'sentAs' => 'reservedInstancesModificationId',
12236
+ ),
12237
+ 'ReservedInstancesIds' => array(
12238
+ 'type' => 'array',
12239
+ 'sentAs' => 'reservedInstancesSet',
12240
+ 'items' => array(
12241
+ 'name' => 'item',
12242
+ 'type' => 'object',
12243
+ 'sentAs' => 'item',
12244
+ 'properties' => array(
12245
+ 'ReservedInstancesId' => array(
12246
+ 'type' => 'string',
12247
+ 'sentAs' => 'reservedInstancesId',
12248
+ ),
12249
+ ),
12250
+ ),
12251
+ ),
12252
+ 'ModificationResults' => array(
12253
+ 'type' => 'array',
12254
+ 'sentAs' => 'modificationResultSet',
12255
+ 'items' => array(
12256
+ 'name' => 'item',
12257
+ 'type' => 'object',
12258
+ 'sentAs' => 'item',
12259
+ 'properties' => array(
12260
+ 'ReservedInstancesId' => array(
12261
+ 'type' => 'string',
12262
+ 'sentAs' => 'reservedInstancesId',
12263
+ ),
12264
+ 'TargetConfiguration' => array(
12265
+ 'type' => 'object',
12266
+ 'sentAs' => 'targetConfiguration',
12267
+ 'properties' => array(
12268
+ 'AvailabilityZone' => array(
12269
+ 'type' => 'string',
12270
+ 'sentAs' => 'availabilityZone',
12271
+ ),
12272
+ 'Platform' => array(
12273
+ 'type' => 'string',
12274
+ 'sentAs' => 'platform',
12275
+ ),
12276
+ 'InstanceCount' => array(
12277
+ 'type' => 'numeric',
12278
+ 'sentAs' => 'instanceCount',
12279
+ ),
12280
+ 'InstanceType' => array(
12281
+ 'type' => 'string',
12282
+ 'sentAs' => 'instanceType',
12283
+ ),
12284
+ ),
12285
+ ),
12286
+ ),
12287
+ ),
12288
+ ),
12289
+ 'CreateDate' => array(
12290
+ 'type' => 'string',
12291
+ 'sentAs' => 'createDate',
12292
+ ),
12293
+ 'UpdateDate' => array(
12294
+ 'type' => 'string',
12295
+ 'sentAs' => 'updateDate',
12296
+ ),
12297
+ 'EffectiveDate' => array(
12298
+ 'type' => 'string',
12299
+ 'sentAs' => 'effectiveDate',
12300
+ ),
12301
+ 'Status' => array(
12302
+ 'type' => 'string',
12303
+ 'sentAs' => 'status',
12304
+ ),
12305
+ 'StatusMessage' => array(
12306
+ 'type' => 'string',
12307
+ 'sentAs' => 'statusMessage',
12308
+ ),
12309
+ 'ClientToken' => array(
12310
+ 'type' => 'string',
12311
+ 'sentAs' => 'clientToken',
12312
+ ),
12313
+ ),
12314
+ ),
12315
+ ),
12316
+ 'NextToken' => array(
12317
+ 'type' => 'string',
12318
+ 'location' => 'xml',
12319
+ 'sentAs' => 'nextToken',
12320
+ ),
12321
+ ),
12322
+ ),
12323
  'DescribeReservedInstancesOfferingsResult' => array(
12324
  'type' => 'object',
12325
  'additionalProperties' => true,
12474
  'type' => 'string',
12475
  'sentAs' => 'networkInterfaceId',
12476
  ),
12477
+ 'VpcPeeringConnectionId' => array(
12478
+ 'type' => 'string',
12479
+ 'sentAs' => 'vpcPeeringConnectionId',
12480
+ ),
12481
  'State' => array(
12482
  'type' => 'string',
12483
  'sentAs' => 'state',
12484
  ),
12485
+ 'Origin' => array(
12486
+ 'type' => 'string',
12487
+ 'sentAs' => 'origin',
12488
+ ),
12489
  ),
12490
  ),
12491
  ),
12853
  ),
12854
  ),
12855
  ),
12856
+ 'Encrypted' => array(
12857
+ 'type' => 'boolean',
12858
+ 'sentAs' => 'encrypted',
12859
+ ),
12860
  ),
12861
  ),
12862
  ),
13087
  'type' => 'numeric',
13088
  'sentAs' => 'iops',
13089
  ),
13090
+ 'Encrypted' => array(
13091
+ 'type' => 'boolean',
13092
+ 'sentAs' => 'encrypted',
13093
+ ),
13094
  ),
13095
  ),
13096
  'NoDevice' => array(
13172
  'type' => 'numeric',
13173
  'sentAs' => 'secondaryPrivateIpAddressCount',
13174
  ),
13175
+ 'AssociatePublicIpAddress' => array(
13176
+ 'type' => 'boolean',
13177
+ 'sentAs' => 'associatePublicIpAddress',
13178
+ ),
13179
  ),
13180
  ),
13181
  ),
13383
  ),
13384
  ),
13385
  ),
13386
+ 'NextToken' => array(
13387
+ 'type' => 'string',
13388
+ 'location' => 'xml',
13389
+ 'sentAs' => 'nextToken',
13390
+ ),
13391
  ),
13392
  ),
13393
  'DescribeVolumeAttributeResult' => array(
13649
  'type' => 'numeric',
13650
  'sentAs' => 'iops',
13651
  ),
13652
+ 'Encrypted' => array(
13653
+ 'type' => 'boolean',
13654
+ 'sentAs' => 'encrypted',
13655
+ ),
13656
  ),
13657
  ),
13658
  ),
13691
  ),
13692
  ),
13693
  ),
13694
+ 'DescribeVpcPeeringConnectionsResult' => array(
13695
+ 'type' => 'object',
13696
+ 'additionalProperties' => true,
13697
+ 'properties' => array(
13698
+ 'VpcPeeringConnections' => array(
13699
+ 'type' => 'array',
13700
+ 'location' => 'xml',
13701
+ 'sentAs' => 'vpcPeeringConnectionSet',
13702
+ 'items' => array(
13703
+ 'name' => 'item',
13704
+ 'type' => 'object',
13705
+ 'sentAs' => 'item',
13706
+ 'properties' => array(
13707
+ 'AccepterVpcInfo' => array(
13708
+ 'type' => 'object',
13709
+ 'sentAs' => 'accepterVpcInfo',
13710
+ 'properties' => array(
13711
+ 'CidrBlock' => array(
13712
+ 'type' => 'string',
13713
+ 'sentAs' => 'cidrBlock',
13714
+ ),
13715
+ 'OwnerId' => array(
13716
+ 'type' => 'string',
13717
+ 'sentAs' => 'ownerId',
13718
+ ),
13719
+ 'VpcId' => array(
13720
+ 'type' => 'string',
13721
+ 'sentAs' => 'vpcId',
13722
+ ),
13723
+ ),
13724
+ ),
13725
+ 'ExpirationTime' => array(
13726
+ 'type' => 'string',
13727
+ 'sentAs' => 'expirationTime',
13728
+ ),
13729
+ 'RequesterVpcInfo' => array(
13730
+ 'type' => 'object',
13731
+ 'sentAs' => 'requesterVpcInfo',
13732
+ 'properties' => array(
13733
+ 'CidrBlock' => array(
13734
+ 'type' => 'string',
13735
+ 'sentAs' => 'cidrBlock',
13736
+ ),
13737
+ 'OwnerId' => array(
13738
+ 'type' => 'string',
13739
+ 'sentAs' => 'ownerId',
13740
+ ),
13741
+ 'VpcId' => array(
13742
+ 'type' => 'string',
13743
+ 'sentAs' => 'vpcId',
13744
+ ),
13745
+ ),
13746
+ ),
13747
+ 'Status' => array(
13748
+ 'type' => 'object',
13749
+ 'sentAs' => 'status',
13750
+ 'properties' => array(
13751
+ 'Code' => array(
13752
+ 'type' => 'string',
13753
+ 'sentAs' => 'code',
13754
+ ),
13755
+ 'Message' => array(
13756
+ 'type' => 'string',
13757
+ 'sentAs' => 'message',
13758
+ ),
13759
+ ),
13760
+ ),
13761
+ 'Tags' => array(
13762
+ 'type' => 'array',
13763
+ 'sentAs' => 'tagSet',
13764
+ 'items' => array(
13765
+ 'name' => 'item',
13766
+ 'type' => 'object',
13767
+ 'sentAs' => 'item',
13768
+ 'properties' => array(
13769
+ 'Key' => array(
13770
+ 'type' => 'string',
13771
+ 'sentAs' => 'key',
13772
+ ),
13773
+ 'Value' => array(
13774
+ 'type' => 'string',
13775
+ 'sentAs' => 'value',
13776
+ ),
13777
+ ),
13778
+ ),
13779
+ ),
13780
+ 'VpcPeeringConnectionId' => array(
13781
+ 'type' => 'string',
13782
+ 'sentAs' => 'vpcPeeringConnectionId',
13783
+ ),
13784
+ ),
13785
+ ),
13786
+ ),
13787
+ ),
13788
+ ),
13789
  'DescribeVpcsResult' => array(
13790
  'type' => 'object',
13791
  'additionalProperties' => true,
14476
  ),
14477
  ),
14478
  ),
14479
+ 'ModifyReservedInstancesResult' => array(
14480
+ 'type' => 'object',
14481
+ 'additionalProperties' => true,
14482
+ 'properties' => array(
14483
+ 'ReservedInstancesModificationId' => array(
14484
+ 'type' => 'string',
14485
+ 'location' => 'xml',
14486
+ 'sentAs' => 'reservedInstancesModificationId',
14487
+ ),
14488
+ ),
14489
+ ),
14490
  'MonitorInstancesResult' => array(
14491
  'type' => 'object',
14492
  'additionalProperties' => true,
14541
  ),
14542
  ),
14543
  ),
14544
+ 'RejectVpcPeeringConnectionResult' => array(
14545
+ 'type' => 'object',
14546
+ 'additionalProperties' => true,
14547
+ 'properties' => array(
14548
+ 'Return' => array(
14549
+ 'type' => 'boolean',
14550
+ 'location' => 'xml',
14551
+ 'sentAs' => 'return',
14552
+ ),
14553
+ ),
14554
+ ),
14555
  'ReplaceNetworkAclAssociationResult' => array(
14556
  'type' => 'object',
14557
  'additionalProperties' => true,
14756
  'type' => 'numeric',
14757
  'sentAs' => 'iops',
14758
  ),
14759
+ 'Encrypted' => array(
14760
+ 'type' => 'boolean',
14761
+ 'sentAs' => 'encrypted',
14762
+ ),
14763
  ),
14764
  ),
14765
  'NoDevice' => array(
14841
  'type' => 'numeric',
14842
  'sentAs' => 'secondaryPrivateIpAddressCount',
14843