DwD_S3connector - Version 0.1.0

Version Notes

S3 bucket import.

Download this release

Release Info

Developer Damian A. Pastorini
Extension DwD_S3connector
Version 0.1.0
Comparing to
See all releases


Version 0.1.0

Files changed (98) hide show
  1. app/code/community/DwD/S3connector/Block/Adminhtml/System/Config/Import.php +30 -0
  2. app/code/community/DwD/S3connector/Helper/Data.php +15 -0
  3. app/code/community/DwD/S3connector/controllers/Adminhtml/S3connectorController.php +56 -0
  4. app/code/community/DwD/S3connector/etc/adminhtml.xml +33 -0
  5. app/code/community/DwD/S3connector/etc/config.xml +41 -0
  6. app/code/community/DwD/S3connector/etc/system.xml +84 -0
  7. app/etc/modules/DwD_S3connector.xml +19 -0
  8. lib/Aws/Aws/AutoScaling/AutoScalingClient.php +108 -0
  9. lib/Aws/Aws/AutoScaling/Enum/LifecycleState.php +31 -0
  10. lib/Aws/Aws/AutoScaling/Enum/ScalingActivityStatusCode.php +34 -0
  11. lib/Aws/Aws/AutoScaling/Exception/AlreadyExistsException.php +22 -0
  12. lib/Aws/Aws/AutoScaling/Exception/AutoScalingException.php +24 -0
  13. lib/Aws/Aws/AutoScaling/Exception/InvalidNextTokenException.php +22 -0
  14. lib/Aws/Aws/AutoScaling/Exception/LimitExceededException.php +22 -0
  15. lib/Aws/Aws/AutoScaling/Exception/ResourceInUseException.php +22 -0
  16. lib/Aws/Aws/AutoScaling/Exception/ScalingActivityInProgressException.php +22 -0
  17. lib/Aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php +3223 -0
  18. lib/Aws/Aws/CloudFormation/CloudFormationClient.php +77 -0
  19. lib/Aws/Aws/CloudFormation/Enum/Capability.php +27 -0
  20. lib/Aws/Aws/CloudFormation/Enum/OnFailure.php +29 -0
  21. lib/Aws/Aws/CloudFormation/Enum/ResourceStatus.php +35 -0
  22. lib/Aws/Aws/CloudFormation/Enum/StackStatus.php +42 -0
  23. lib/Aws/Aws/CloudFormation/Exception/AlreadyExistsException.php +22 -0
  24. lib/Aws/Aws/CloudFormation/Exception/CloudFormationException.php +24 -0
  25. lib/Aws/Aws/CloudFormation/Exception/InsufficientCapabilitiesException.php +22 -0
  26. lib/Aws/Aws/CloudFormation/Exception/LimitExceededException.php +22 -0
  27. lib/Aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php +1312 -0
  28. lib/Aws/Aws/CloudFront/CloudFrontClient.php +229 -0
  29. lib/Aws/Aws/CloudFront/CloudFrontSignature.php +61 -0
  30. lib/Aws/Aws/CloudFront/Enum/GeoRestrictionType.php +29 -0
  31. lib/Aws/Aws/CloudFront/Enum/ItemSelection.php +29 -0
  32. lib/Aws/Aws/CloudFront/Enum/Method.php +33 -0
  33. lib/Aws/Aws/CloudFront/Enum/OriginProtocolPolicy.php +28 -0
  34. lib/Aws/Aws/CloudFront/Enum/PriceClass.php +29 -0
  35. lib/Aws/Aws/CloudFront/Enum/SSLSupportMethod.php +28 -0
  36. lib/Aws/Aws/CloudFront/Enum/ViewerProtocolPolicy.php +29 -0
  37. lib/Aws/Aws/CloudFront/Exception/AccessDeniedException.php +22 -0
  38. lib/Aws/Aws/CloudFront/Exception/BatchTooLargeException.php +22 -0
  39. lib/Aws/Aws/CloudFront/Exception/CNAMEAlreadyExistsException.php +22 -0
  40. lib/Aws/Aws/CloudFront/Exception/CloudFrontException.php +24 -0
  41. lib/Aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityAlreadyExistsException.php +22 -0
  42. lib/Aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityInUseException.php +22 -0
  43. lib/Aws/Aws/CloudFront/Exception/DistributionAlreadyExistsException.php +22 -0
  44. lib/Aws/Aws/CloudFront/Exception/DistributionNotDisabledException.php +22 -0
  45. lib/Aws/Aws/CloudFront/Exception/Exception.php +24 -0
  46. lib/Aws/Aws/CloudFront/Exception/IllegalUpdateException.php +22 -0
  47. lib/Aws/Aws/CloudFront/Exception/InconsistentQuantitiesException.php +22 -0
  48. lib/Aws/Aws/CloudFront/Exception/InvalidArgumentException.php +22 -0
  49. lib/Aws/Aws/CloudFront/Exception/InvalidDefaultRootObjectException.php +22 -0
  50. lib/Aws/Aws/CloudFront/Exception/InvalidErrorCodeException.php +22 -0
  51. lib/Aws/Aws/CloudFront/Exception/InvalidForwardCookiesException.php +22 -0
  52. lib/Aws/Aws/CloudFront/Exception/InvalidGeoRestrictionParameterException.php +22 -0
  53. lib/Aws/Aws/CloudFront/Exception/InvalidIfMatchVersionException.php +22 -0
  54. lib/Aws/Aws/CloudFront/Exception/InvalidLocationCodeException.php +22 -0
  55. lib/Aws/Aws/CloudFront/Exception/InvalidOriginAccessIdentityException.php +22 -0
  56. lib/Aws/Aws/CloudFront/Exception/InvalidOriginException.php +22 -0
  57. lib/Aws/Aws/CloudFront/Exception/InvalidRelativePathException.php +22 -0
  58. lib/Aws/Aws/CloudFront/Exception/InvalidRequiredProtocolException.php +22 -0
  59. lib/Aws/Aws/CloudFront/Exception/InvalidResponseCodeException.php +22 -0
  60. lib/Aws/Aws/CloudFront/Exception/InvalidViewerCertificateException.php +22 -0
  61. lib/Aws/Aws/CloudFront/Exception/MissingBodyException.php +22 -0
  62. lib/Aws/Aws/CloudFront/Exception/NoSuchCloudFrontOriginAccessIdentityException.php +22 -0
  63. lib/Aws/Aws/CloudFront/Exception/NoSuchDistributionException.php +22 -0
  64. lib/Aws/Aws/CloudFront/Exception/NoSuchInvalidationException.php +22 -0
  65. lib/Aws/Aws/CloudFront/Exception/NoSuchOriginException.php +22 -0
  66. lib/Aws/Aws/CloudFront/Exception/NoSuchStreamingDistributionException.php +22 -0
  67. lib/Aws/Aws/CloudFront/Exception/PreconditionFailedException.php +22 -0
  68. lib/Aws/Aws/CloudFront/Exception/StreamingDistributionAlreadyExistsException.php +22 -0
  69. lib/Aws/Aws/CloudFront/Exception/StreamingDistributionNotDisabledException.php +22 -0
  70. lib/Aws/Aws/CloudFront/Exception/TooManyCacheBehaviorsException.php +22 -0
  71. lib/Aws/Aws/CloudFront/Exception/TooManyCertificatesException.php +22 -0
  72. lib/Aws/Aws/CloudFront/Exception/TooManyCloudFrontOriginAccessIdentitiesException.php +22 -0
  73. lib/Aws/Aws/CloudFront/Exception/TooManyCookieNamesInWhiteListException.php +22 -0
  74. lib/Aws/Aws/CloudFront/Exception/TooManyDistributionCNAMEsException.php +22 -0
  75. lib/Aws/Aws/CloudFront/Exception/TooManyDistributionsException.php +22 -0
  76. lib/Aws/Aws/CloudFront/Exception/TooManyInvalidationsInProgressException.php +22 -0
  77. lib/Aws/Aws/CloudFront/Exception/TooManyOriginsException.php +22 -0
  78. lib/Aws/Aws/CloudFront/Exception/TooManyStreamingDistributionCNAMEsException.php +22 -0
  79. lib/Aws/Aws/CloudFront/Exception/TooManyStreamingDistributionsException.php +22 -0
  80. lib/Aws/Aws/CloudFront/Exception/TooManyTrustedSignersException.php +22 -0
  81. lib/Aws/Aws/CloudFront/Exception/TrustedSignerDoesNotExistException.php +22 -0
  82. lib/Aws/Aws/CloudFront/Resources/cloudfront-2012-05-05.php +4609 -0
  83. lib/Aws/Aws/CloudFront/Resources/cloudfront-2014-10-21.php +5739 -0
  84. lib/Aws/Aws/CloudHsm/CloudHsmClient.php +73 -0
  85. lib/Aws/Aws/CloudHsm/Exception/CloudHsmException.php +24 -0
  86. lib/Aws/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php +1178 -0
  87. lib/Aws/Aws/CloudSearch/CloudSearchClient.php +105 -0
  88. lib/Aws/Aws/CloudSearch/Enum/IndexFieldType.php +38 -0
  89. lib/Aws/Aws/CloudSearch/Enum/OptionState.php +30 -0
  90. lib/Aws/Aws/CloudSearch/Enum/SearchInstanceType.php +30 -0
  91. lib/Aws/Aws/CloudSearch/Enum/SourceDataFunction.php +29 -0
  92. lib/Aws/Aws/CloudSearch/Exception/BaseException.php +22 -0
  93. lib/Aws/Aws/CloudSearch/Exception/CloudSearchException.php +24 -0
  94. lib/Aws/Aws/CloudSearch/Exception/InternalException.php +22 -0
  95. lib/Aws/Aws/CloudSearch/Exception/InvalidTypeException.php +22 -0
  96. lib/Aws/Aws/CloudSearch/Exception/LimitExceededException.php +22 -0
  97. lib/Aws/Aws/CloudSearch/Exception/ResourceNotFoundException.php +22 -0
  98. lib/Aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php +783 -0
app/code/community/DwD/S3connector/Block/Adminhtml/System/Config/Import.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * DwD-S3connector - Magento Extension
6
+ *
7
+ * @copyright Copyright (c) 2014 DwDesigner Inc. (http://www.dwdeveloper.com/)
8
+ * @author Damian A. Pastorini - damian.pastorini@dwdeveloper.com
9
+ *
10
+ */
11
+
12
+ class DwD_S3connector_Block_Adminhtml_System_Config_Import
13
+ extends Mage_Adminhtml_Block_System_Config_Form_Field
14
+ implements Varien_Data_Form_Element_Renderer_Interface
15
+ {
16
+
17
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
18
+ {
19
+ $buttonBlock = Mage::app()->getLayout()->createBlock('adminhtml/widget_button');
20
+ $params = array();
21
+ $data = array(
22
+ 'label' => Mage::helper('adminhtml')->__('Start Import!'),
23
+ 'onclick' => 'setLocation(\''.Mage::helper('adminhtml')->getUrl("*/s3connector/import", $params) . '\' )',
24
+ 'class' => '',
25
+ );
26
+ $html = $buttonBlock->setData($data)->toHtml();
27
+ return $html;
28
+ }
29
+
30
+ }
app/code/community/DwD/S3connector/Helper/Data.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * DwD-S3connector - Magento Extension
6
+ *
7
+ * @copyright Copyright (c) 2014 DwDesigner Inc. (http://www.dwdeveloper.com/)
8
+ * @author Damian A. Pastorini - damian.pastorini@dwdeveloper.com
9
+ *
10
+ */
11
+
12
+ class DwD_S3connector_Helper_Data extends Mage_Core_Helper_Abstract
13
+ {
14
+
15
+ }
app/code/community/DwD/S3connector/controllers/Adminhtml/S3connectorController.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * DwD-S3connector - Magento Extension
6
+ *
7
+ * @copyright Copyright (c) 2014 DwDesigner Inc. (http://www.dwdeveloper.com/)
8
+ * @author Damian A. Pastorini - damian.pastorini@dwdeveloper.com
9
+ *
10
+ */
11
+
12
+ require(Mage::getBaseDir('lib').'/Aws/aws-autoloader.php');
13
+
14
+ class DwD_S3connector_Adminhtml_S3connectorController extends Mage_Adminhtml_Controller_Action
15
+ {
16
+
17
+ public function importAction()
18
+ {
19
+ try {
20
+ $s3Client = $this->getS3Client();
21
+ $configuredFolder = Mage::getStoreConfig('dwd_s3connector/general/folder');
22
+ $folderPathParts = explode('/', $configuredFolder);
23
+ $folderFullPath = Mage::getBaseDir().'/';
24
+ foreach($folderPathParts as $f) {
25
+ if(!is_dir($folderFullPath.$f)) {
26
+ mkdir($folderFullPath.$f);
27
+ }
28
+ $folderFullPath .= $f.'/';
29
+ }
30
+ $bucket = Mage::getStoreConfig('dwd_s3connector/general/bucket');
31
+ $result = $s3Client->downloadBucket($folderFullPath, $bucket, null, array('allow_resumable'=>true));
32
+ $this->_getSession()->addSuccess('The bucket '.$bucket.' was downloaded to '.$configuredFolder);
33
+ } catch (Exception $e) {
34
+ $this->_getSession()->addError('There was an error: '.$e->getMessage());
35
+ }
36
+ $this->_redirectReferer();
37
+ }
38
+
39
+ protected function getAwsClient()
40
+ {
41
+ $key = Mage::getStoreConfig('dwd_s3connector/general/aws_key');
42
+ $secret = Mage::getStoreConfig('dwd_s3connector/general/aws_secret');
43
+ $credentials = new \Aws\Common\Credentials\Credentials($key, $secret);
44
+ $config = array('credentials' => $credentials);
45
+ $awsClient = \Aws\Common\Aws::factory($config);
46
+ return $awsClient;
47
+ }
48
+
49
+ protected function getS3Client()
50
+ {
51
+ $awsClient = $this->getAwsClient();
52
+ $s3Client = $awsClient->get('S3');
53
+ return $s3Client;
54
+ }
55
+
56
+ }
app/code/community/DwD/S3connector/etc/adminhtml.xml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ *
5
+ * DwD-S3connector - Magento Extension
6
+ *
7
+ * @copyright Copyright (c) 2014 DwDesigner Inc. (http://www.dwdeveloper.com/)
8
+ * @author Damian A. Pastorini - damian.pastorini@dwdeveloper.com
9
+ *
10
+ */
11
+ -->
12
+ <config>
13
+ <acl>
14
+ <resources>
15
+ <admin>
16
+ <children>
17
+ <system>
18
+ <children>
19
+ <config>
20
+ <children>
21
+ <dwd_s3connector translate="title" module="dwd_s3connector">
22
+ <title>DwD Extensions - S3 Connector</title>
23
+ <sort_order>50</sort_order>
24
+ </dwd_s3connector>
25
+ </children>
26
+ </config>
27
+ </children>
28
+ </system>
29
+ </children>
30
+ </admin>
31
+ </resources>
32
+ </acl>
33
+ </config>
app/code/community/DwD/S3connector/etc/config.xml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ *
5
+ * DwD-S3connector - Magento Extension
6
+ *
7
+ * @copyright Copyright (c) 2014 DwDesigner Inc. (http://www.dwdeveloper.com/)
8
+ * @author Damian A. Pastorini - damian.pastorini@dwdeveloper.com
9
+ *
10
+ */
11
+ -->
12
+ <config>
13
+ <modules>
14
+ <DwD_S3connector>
15
+ <version>0.1.0</version>
16
+ </DwD_S3connector>
17
+ </modules>
18
+ <global>
19
+ <blocks>
20
+ <dwd_s3connector>
21
+ <class>DwD_S3connector_Block</class>
22
+ </dwd_s3connector>
23
+ </blocks>
24
+ <helpers>
25
+ <dwd_s3connector>
26
+ <class>DwD_S3connector_Helper</class>
27
+ </dwd_s3connector>
28
+ </helpers>
29
+ </global>
30
+ <admin>
31
+ <routers>
32
+ <adminhtml>
33
+ <args>
34
+ <modules>
35
+ <s3connector before="Mage_Adminhtml">DwD_S3connector_Adminhtml</s3connector>
36
+ </modules>
37
+ </args>
38
+ </adminhtml>
39
+ </routers>
40
+ </admin>
41
+ </config>
app/code/community/DwD/S3connector/etc/system.xml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ *
5
+ * DwD-S3connector - Magento Extension
6
+ *
7
+ * @copyright Copyright (c) 2014 DwDesigner Inc. (http://www.dwdeveloper.com/)
8
+ * @author Damian A. Pastorini - damian.pastorini@dwdeveloper.com
9
+ *
10
+ */
11
+ -->
12
+ <config>
13
+ <tabs>
14
+ <dwd_all translate="label">
15
+ <label>DwD Extensions</label>
16
+ <sort_order>100</sort_order>
17
+ </dwd_all>
18
+ </tabs>
19
+ <sections>
20
+ <dwd_s3connector translate="label" module="dwd_s3connector">
21
+ <label>S3 Connector</label>
22
+ <tab>dwd_all</tab>
23
+ <frontend_type>text</frontend_type>
24
+ <sort_order>120</sort_order>
25
+ <show_in_default>1</show_in_default>
26
+ <show_in_website>1</show_in_website>
27
+ <show_in_store>1</show_in_store>
28
+ <groups>
29
+ <general translate="label">
30
+ <label>General</label>
31
+ <sort_order>800</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ <fields>
36
+ <aws_key translate="label">
37
+ <label>AWS Key</label>
38
+ <frontend_type>text</frontend_type>
39
+ <sort_order>1</sort_order>
40
+ <show_in_default>1</show_in_default>
41
+ <show_in_website>1</show_in_website>
42
+ <show_in_store>1</show_in_store>
43
+ </aws_key>
44
+ <aws_secret translate="label">
45
+ <label>AWS Secret</label>
46
+ <frontend_type>text</frontend_type>
47
+ <sort_order>2</sort_order>
48
+ <show_in_default>1</show_in_default>
49
+ <show_in_website>1</show_in_website>
50
+ <show_in_store>1</show_in_store>
51
+ </aws_secret>
52
+ <bucket translate="label">
53
+ <label>Full Bucket Path</label>
54
+ <frontend_type>text</frontend_type>
55
+ <sort_order>3</sort_order>
56
+ <show_in_default>1</show_in_default>
57
+ <show_in_website>1</show_in_website>
58
+ <show_in_store>1</show_in_store>
59
+ </bucket>
60
+ <folder translate="label">
61
+ <label>Destination Folder</label>
62
+ <frontend_type>text</frontend_type>
63
+ <sort_order>4</sort_order>
64
+ <show_in_default>1</show_in_default>
65
+ <show_in_website>1</show_in_website>
66
+ <show_in_store>1</show_in_store>
67
+ <comment>Starting from Magento Root, for example "media" will point to MAGE_ROOT/media.</comment>
68
+ </folder>
69
+ <import>
70
+ <label>Import Data</label>
71
+ <frontend_type>button</frontend_type>
72
+ <frontend_model>dwd_s3connector/adminhtml_system_config_import</frontend_model>
73
+ <sort_order>5</sort_order>
74
+ <show_in_default>1</show_in_default>
75
+ <show_in_website>1</show_in_website>
76
+ <show_in_store>1</show_in_store>
77
+ <comment>IMPORTANT: remember to save your key and secret before start the import.</comment>
78
+ </import>
79
+ </fields>
80
+ </general>
81
+ </groups>
82
+ </dwd_s3connector>
83
+ </sections>
84
+ </config>
app/etc/modules/DwD_S3connector.xml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ *
5
+ * DwD-S3connector - Magento Extension
6
+ *
7
+ * @copyright Copyright (c) 2014 DwDesigner Inc. (http://www.dwdeveloper.com/)
8
+ * @author Damian A. Pastorini - damian.pastorini@dwdeveloper.com
9
+ *
10
+ */
11
+ -->
12
+ <config>
13
+ <modules>
14
+ <DwD_S3connector>
15
+ <active>true</active>
16
+ <codePool>community</codePool>
17
+ </DwD_S3connector>
18
+ </modules>
19
+ </config>
lib/Aws/Aws/AutoScaling/AutoScalingClient.php ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\AutoScaling;
18
+
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;
25
+
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}
52
+ * @method Model describeScalingActivities(array $args = array()) {@command AutoScaling DescribeScalingActivities}
53
+ * @method Model describeScalingProcessTypes(array $args = array()) {@command AutoScaling DescribeScalingProcessTypes}
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}
71
+ * @method Model suspendProcesses(array $args = array()) {@command AutoScaling SuspendProcesses}
72
+ * @method Model terminateInstanceInAutoScalingGroup(array $args = array()) {@command AutoScaling TerminateInstanceInAutoScalingGroup}
73
+ * @method Model updateAutoScalingGroup(array $args = array()) {@command AutoScaling UpdateAutoScalingGroup}
74
+ * @method ResourceIteratorInterface getDescribeAutoScalingGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeAutoScalingGroups operation
75
+ * @method ResourceIteratorInterface getDescribeAutoScalingInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeAutoScalingInstances operation
76
+ * @method ResourceIteratorInterface getDescribeLaunchConfigurationsIterator(array $args = array()) The input array uses the parameters of the DescribeLaunchConfigurations operation
77
+ * @method ResourceIteratorInterface getDescribeNotificationConfigurationsIterator(array $args = array()) The input array uses the parameters of the DescribeNotificationConfigurations operation
78
+ * @method ResourceIteratorInterface getDescribePoliciesIterator(array $args = array()) The input array uses the parameters of the DescribePolicies operation
79
+ * @method ResourceIteratorInterface getDescribeScalingActivitiesIterator(array $args = array()) The input array uses the parameters of the DescribeScalingActivities operation
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
+ {
88
+ const LATEST_API_VERSION = '2011-01-01';
89
+
90
+ /**
91
+ * Factory method to create a new Auto Scaling client using an array of configuration options.
92
+ *
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
+ {
100
+ return ClientBuilder::factory(__NAMESPACE__)
101
+ ->setConfig($config)
102
+ ->setConfigDefaults(array(
103
+ Options::VERSION => self::LATEST_API_VERSION,
104
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/autoscaling-%s.php'
105
+ ))
106
+ ->build();
107
+ }
108
+ }
lib/Aws/Aws/AutoScaling/Enum/LifecycleState.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\AutoScaling\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable LifecycleState values
23
+ */
24
+ class LifecycleState extends Enum
25
+ {
26
+ const PENDING = 'Pending';
27
+ const QUARANTINED = 'Quarantined';
28
+ const IN_SERVICE = 'InService';
29
+ const TERMINATING = 'Terminating';
30
+ const TERMINATED = 'Terminated';
31
+ }
lib/Aws/Aws/AutoScaling/Enum/ScalingActivityStatusCode.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\AutoScaling\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable ScalingActivityStatusCode values
23
+ */
24
+ class ScalingActivityStatusCode extends Enum
25
+ {
26
+ const WAITING_FOR_SPOT_INSTANCE_REQUEST_ID = 'WaitingForSpotInstanceRequestId';
27
+ const WAITING_FOR_SPOT_INSTANCE_ID = 'WaitingForSpotInstanceId';
28
+ const WAITING_FOR_INSTANCE_ID = 'WaitingForInstanceId';
29
+ const PRE_IN_SERVICE = 'PreInService';
30
+ const IN_PROGRESS = 'InProgress';
31
+ const SUCCESSFUL = 'Successful';
32
+ const FAILED = 'Failed';
33
+ const CANCELLED = 'Cancelled';
34
+ }
lib/Aws/Aws/AutoScaling/Exception/AlreadyExistsException.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\AutoScaling\Exception;
18
+
19
+ /**
20
+ * The named Auto Scaling group or launch configuration already exists.
21
+ */
22
+ class AlreadyExistsException extends AutoScalingException {}
lib/Aws/Aws/AutoScaling/Exception/AutoScalingException.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\AutoScaling\Exception;
18
+
19
+ use Aws\Common\Exception\ServiceResponseException;
20
+
21
+ /**
22
+ * Default service exception class
23
+ */
24
+ class AutoScalingException extends ServiceResponseException {}
lib/Aws/Aws/AutoScaling/Exception/InvalidNextTokenException.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\AutoScaling\Exception;
18
+
19
+ /**
20
+ * The NextToken value is invalid.
21
+ */
22
+ class InvalidNextTokenException extends AutoScalingException {}
lib/Aws/Aws/AutoScaling/Exception/LimitExceededException.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\AutoScaling\Exception;
18
+
19
+ /**
20
+ * The quota for capacity groups or launch configurations for this customer has already been reached.
21
+ */
22
+ class LimitExceededException extends AutoScalingException {}
lib/Aws/Aws/AutoScaling/Exception/ResourceInUseException.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\AutoScaling\Exception;
18
+
19
+ /**
20
+ * This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.
21
+ */
22
+ class ResourceInUseException extends AutoScalingException {}
lib/Aws/Aws/AutoScaling/Exception/ScalingActivityInProgressException.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\AutoScaling\Exception;
18
+
19
+ /**
20
+ * You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.
21
+ */
22
+ class ScalingActivityInProgressException extends AutoScalingException {}
lib/Aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php ADDED
@@ -0,0 +1,3223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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' => '2011-01-01',
19
+ 'endpointPrefix' => 'autoscaling',
20
+ 'serviceFullName' => 'Auto Scaling',
21
+ 'serviceType' => 'query',
22
+ 'resultWrapped' => true,
23
+ 'signatureVersion' => 'v4',
24
+ 'namespace' => 'AutoScaling',
25
+ 'regions' => array(
26
+ 'us-east-1' => array(
27
+ 'http' => true,
28
+ 'https' => true,
29
+ 'hostname' => 'autoscaling.us-east-1.amazonaws.com',
30
+ ),
31
+ 'us-west-1' => array(
32
+ 'http' => true,
33
+ 'https' => true,
34
+ 'hostname' => 'autoscaling.us-west-1.amazonaws.com',
35
+ ),
36
+ 'us-west-2' => array(
37
+ 'http' => true,
38
+ 'https' => true,
39
+ 'hostname' => 'autoscaling.us-west-2.amazonaws.com',
40
+ ),
41
+ 'eu-west-1' => array(
42
+ 'http' => true,
43
+ 'https' => true,
44
+ 'hostname' => 'autoscaling.eu-west-1.amazonaws.com',
45
+ ),
46
+ 'ap-northeast-1' => array(
47
+ 'http' => true,
48
+ 'https' => true,
49
+ 'hostname' => 'autoscaling.ap-northeast-1.amazonaws.com',
50
+ ),
51
+ 'ap-southeast-1' => array(
52
+ 'http' => true,
53
+ 'https' => true,
54
+ 'hostname' => 'autoscaling.ap-southeast-1.amazonaws.com',
55
+ ),
56
+ 'ap-southeast-2' => array(
57
+ 'http' => true,
58
+ 'https' => true,
59
+ 'hostname' => 'autoscaling.ap-southeast-2.amazonaws.com',
60
+ ),
61
+ 'sa-east-1' => array(
62
+ 'http' => true,
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,
74
+ 'hostname' => 'autoscaling.us-gov-west-1.amazonaws.com',
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' => '/',
163
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
164
+ 'responseClass' => 'EmptyOutput',
165
+ 'responseType' => 'model',
166
+ 'parameters' => array(
167
+ 'Action' => array(
168
+ 'static' => true,
169
+ 'location' => 'aws.query',
170
+ 'default' => 'CreateAutoScalingGroup',
171
+ ),
172
+ 'Version' => array(
173
+ 'static' => true,
174
+ 'location' => 'aws.query',
175
+ 'default' => '2011-01-01',
176
+ ),
177
+ 'AutoScalingGroupName' => array(
178
+ 'required' => true,
179
+ 'type' => 'string',
180
+ 'location' => 'aws.query',
181
+ 'minLength' => 1,
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',
199
+ 'location' => 'aws.query',
200
+ ),
201
+ 'MaxSize' => array(
202
+ 'required' => true,
203
+ 'type' => 'numeric',
204
+ 'location' => 'aws.query',
205
+ ),
206
+ 'DesiredCapacity' => array(
207
+ 'type' => 'numeric',
208
+ 'location' => 'aws.query',
209
+ ),
210
+ 'DefaultCooldown' => array(
211
+ 'type' => 'numeric',
212
+ 'location' => 'aws.query',
213
+ ),
214
+ 'AvailabilityZones' => array(
215
+ 'type' => 'array',
216
+ 'location' => 'aws.query',
217
+ 'sentAs' => 'AvailabilityZones.member',
218
+ 'minItems' => 1,
219
+ 'items' => array(
220
+ 'name' => 'XmlStringMaxLen255',
221
+ 'type' => 'string',
222
+ 'minLength' => 1,
223
+ 'maxLength' => 255,
224
+ ),
225
+ ),
226
+ 'LoadBalancerNames' => array(
227
+ 'type' => 'array',
228
+ 'location' => 'aws.query',
229
+ 'sentAs' => 'LoadBalancerNames.member',
230
+ 'items' => array(
231
+ 'name' => 'XmlStringMaxLen255',
232
+ 'type' => 'string',
233
+ 'minLength' => 1,
234
+ 'maxLength' => 255,
235
+ ),
236
+ ),
237
+ 'HealthCheckType' => array(
238
+ 'type' => 'string',
239
+ 'location' => 'aws.query',
240
+ 'minLength' => 1,
241
+ 'maxLength' => 32,
242
+ ),
243
+ 'HealthCheckGracePeriod' => array(
244
+ 'type' => 'numeric',
245
+ 'location' => 'aws.query',
246
+ ),
247
+ 'PlacementGroup' => array(
248
+ 'type' => 'string',
249
+ 'location' => 'aws.query',
250
+ 'minLength' => 1,
251
+ 'maxLength' => 255,
252
+ ),
253
+ 'VPCZoneIdentifier' => array(
254
+ 'type' => 'string',
255
+ 'location' => 'aws.query',
256
+ 'minLength' => 1,
257
+ 'maxLength' => 255,
258
+ ),
259
+ 'TerminationPolicies' => array(
260
+ 'type' => 'array',
261
+ 'location' => 'aws.query',
262
+ 'sentAs' => 'TerminationPolicies.member',
263
+ 'items' => array(
264
+ 'name' => 'XmlStringMaxLen1600',
265
+ 'type' => 'string',
266
+ 'minLength' => 1,
267
+ 'maxLength' => 1600,
268
+ ),
269
+ ),
270
+ 'Tags' => array(
271
+ 'type' => 'array',
272
+ 'location' => 'aws.query',
273
+ 'sentAs' => 'Tags.member',
274
+ 'items' => array(
275
+ 'name' => 'Tag',
276
+ 'type' => 'object',
277
+ 'properties' => array(
278
+ 'ResourceId' => array(
279
+ 'type' => 'string',
280
+ ),
281
+ 'ResourceType' => array(
282
+ 'type' => 'string',
283
+ ),
284
+ 'Key' => array(
285
+ 'required' => true,
286
+ 'type' => 'string',
287
+ 'minLength' => 1,
288
+ 'maxLength' => 128,
289
+ ),
290
+ 'Value' => array(
291
+ 'type' => 'string',
292
+ 'maxLength' => 256,
293
+ ),
294
+ 'PropagateAtLaunch' => array(
295
+ 'type' => 'boolean',
296
+ 'format' => 'boolean-string',
297
+ ),
298
+ ),
299
+ ),
300
+ ),
301
+ ),
302
+ 'errorResponses' => array(
303
+ array(
304
+ 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.',
305
+ 'class' => 'AlreadyExistsException',
306
+ ),
307
+ array(
308
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
309
+ 'class' => 'LimitExceededException',
310
+ ),
311
+ ),
312
+ ),
313
+ 'CreateLaunchConfiguration' => array(
314
+ 'httpMethod' => 'POST',
315
+ 'uri' => '/',
316
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
317
+ 'responseClass' => 'EmptyOutput',
318
+ 'responseType' => 'model',
319
+ 'parameters' => array(
320
+ 'Action' => array(
321
+ 'static' => true,
322
+ 'location' => 'aws.query',
323
+ 'default' => 'CreateLaunchConfiguration',
324
+ ),
325
+ 'Version' => array(
326
+ 'static' => true,
327
+ 'location' => 'aws.query',
328
+ 'default' => '2011-01-01',
329
+ ),
330
+ 'LaunchConfigurationName' => array(
331
+ 'required' => true,
332
+ 'type' => 'string',
333
+ 'location' => 'aws.query',
334
+ 'minLength' => 1,
335
+ 'maxLength' => 255,
336
+ ),
337
+ 'ImageId' => array(
338
+ 'type' => 'string',
339
+ 'location' => 'aws.query',
340
+ 'minLength' => 1,
341
+ 'maxLength' => 255,
342
+ ),
343
+ 'KeyName' => array(
344
+ 'type' => 'string',
345
+ 'location' => 'aws.query',
346
+ 'minLength' => 1,
347
+ 'maxLength' => 255,
348
+ ),
349
+ 'SecurityGroups' => array(
350
+ 'type' => 'array',
351
+ 'location' => 'aws.query',
352
+ 'sentAs' => 'SecurityGroups.member',
353
+ 'items' => array(
354
+ 'name' => 'XmlString',
355
+ 'type' => 'string',
356
+ ),
357
+ ),
358
+ 'ClassicLinkVPCId' => array(
359
+ 'type' => 'string',
360
+ 'location' => 'aws.query',
361
+ 'minLength' => 1,
362
+ 'maxLength' => 255,
363
+ ),
364
+ 'ClassicLinkVPCSecurityGroups' => array(
365
+ 'type' => 'array',
366
+ 'location' => 'aws.query',
367
+ 'sentAs' => 'ClassicLinkVPCSecurityGroups.member',
368
+ 'items' => array(
369
+ 'name' => 'XmlStringMaxLen255',
370
+ 'type' => 'string',
371
+ 'minLength' => 1,
372
+ 'maxLength' => 255,
373
+ ),
374
+ ),
375
+ 'UserData' => array(
376
+ 'type' => 'string',
377
+ 'location' => 'aws.query',
378
+ 'maxLength' => 21847,
379
+ ),
380
+ 'InstanceId' => array(
381
+ 'type' => 'string',
382
+ 'location' => 'aws.query',
383
+ 'minLength' => 1,
384
+ 'maxLength' => 16,
385
+ ),
386
+ 'InstanceType' => array(
387
+ 'type' => 'string',
388
+ 'location' => 'aws.query',
389
+ 'minLength' => 1,
390
+ 'maxLength' => 255,
391
+ ),
392
+ 'KernelId' => array(
393
+ 'type' => 'string',
394
+ 'location' => 'aws.query',
395
+ 'minLength' => 1,
396
+ 'maxLength' => 255,
397
+ ),
398
+ 'RamdiskId' => array(
399
+ 'type' => 'string',
400
+ 'location' => 'aws.query',
401
+ 'minLength' => 1,
402
+ 'maxLength' => 255,
403
+ ),
404
+ 'BlockDeviceMappings' => array(
405
+ 'type' => 'array',
406
+ 'location' => 'aws.query',
407
+ 'sentAs' => 'BlockDeviceMappings.member',
408
+ 'items' => array(
409
+ 'name' => 'BlockDeviceMapping',
410
+ 'type' => 'object',
411
+ 'properties' => array(
412
+ 'VirtualName' => array(
413
+ 'type' => 'string',
414
+ 'minLength' => 1,
415
+ 'maxLength' => 255,
416
+ ),
417
+ 'DeviceName' => array(
418
+ 'required' => true,
419
+ 'type' => 'string',
420
+ 'minLength' => 1,
421
+ 'maxLength' => 255,
422
+ ),
423
+ 'Ebs' => array(
424
+ 'type' => 'object',
425
+ 'properties' => array(
426
+ 'SnapshotId' => array(
427
+ 'type' => 'string',
428
+ 'minLength' => 1,
429
+ 'maxLength' => 255,
430
+ ),
431
+ 'VolumeSize' => array(
432
+ 'type' => 'numeric',
433
+ 'minimum' => 1,
434
+ 'maximum' => 16384,
435
+ ),
436
+ 'VolumeType' => array(
437
+ 'type' => 'string',
438
+ 'minLength' => 1,
439
+ 'maxLength' => 255,
440
+ ),
441
+ 'DeleteOnTermination' => array(
442
+ 'type' => 'boolean',
443
+ 'format' => 'boolean-string',
444
+ ),
445
+ 'Iops' => array(
446
+ 'type' => 'numeric',
447
+ 'minimum' => 100,
448
+ 'maximum' => 30000,
449
+ ),
450
+ ),
451
+ ),
452
+ 'NoDevice' => array(
453
+ 'type' => 'boolean',
454
+ 'format' => 'boolean-string',
455
+ ),
456
+ ),
457
+ ),
458
+ ),
459
+ 'InstanceMonitoring' => array(
460
+ 'type' => 'object',
461
+ 'location' => 'aws.query',
462
+ 'properties' => array(
463
+ 'Enabled' => array(
464
+ 'type' => 'boolean',
465
+ 'format' => 'boolean-string',
466
+ ),
467
+ ),
468
+ ),
469
+ 'SpotPrice' => array(
470
+ 'type' => 'string',
471
+ 'location' => 'aws.query',
472
+ 'minLength' => 1,
473
+ 'maxLength' => 255,
474
+ ),
475
+ 'IamInstanceProfile' => array(
476
+ 'type' => 'string',
477
+ 'location' => 'aws.query',
478
+ 'minLength' => 1,
479
+ 'maxLength' => 1600,
480
+ ),
481
+ 'EbsOptimized' => array(
482
+ 'type' => 'boolean',
483
+ 'format' => 'boolean-string',
484
+ 'location' => 'aws.query',
485
+ ),
486
+ 'AssociatePublicIpAddress' => array(
487
+ 'type' => 'boolean',
488
+ 'format' => 'boolean-string',
489
+ 'location' => 'aws.query',
490
+ ),
491
+ 'PlacementTenancy' => array(
492
+ 'type' => 'string',
493
+ 'location' => 'aws.query',
494
+ 'minLength' => 1,
495
+ 'maxLength' => 64,
496
+ ),
497
+ ),
498
+ 'errorResponses' => array(
499
+ array(
500
+ 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.',
501
+ 'class' => 'AlreadyExistsException',
502
+ ),
503
+ array(
504
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
505
+ 'class' => 'LimitExceededException',
506
+ ),
507
+ ),
508
+ ),
509
+ 'CreateOrUpdateTags' => array(
510
+ 'httpMethod' => 'POST',
511
+ 'uri' => '/',
512
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
513
+ 'responseClass' => 'EmptyOutput',
514
+ 'responseType' => 'model',
515
+ 'parameters' => array(
516
+ 'Action' => array(
517
+ 'static' => true,
518
+ 'location' => 'aws.query',
519
+ 'default' => 'CreateOrUpdateTags',
520
+ ),
521
+ 'Version' => array(
522
+ 'static' => true,
523
+ 'location' => 'aws.query',
524
+ 'default' => '2011-01-01',
525
+ ),
526
+ 'Tags' => array(
527
+ 'required' => true,
528
+ 'type' => 'array',
529
+ 'location' => 'aws.query',
530
+ 'sentAs' => 'Tags.member',
531
+ 'items' => array(
532
+ 'name' => 'Tag',
533
+ 'type' => 'object',
534
+ 'properties' => array(
535
+ 'ResourceId' => array(
536
+ 'type' => 'string',
537
+ ),
538
+ 'ResourceType' => array(
539
+ 'type' => 'string',
540
+ ),
541
+ 'Key' => array(
542
+ 'required' => true,
543
+ 'type' => 'string',
544
+ 'minLength' => 1,
545
+ 'maxLength' => 128,
546
+ ),
547
+ 'Value' => array(
548
+ 'type' => 'string',
549
+ 'maxLength' => 256,
550
+ ),
551
+ 'PropagateAtLaunch' => array(
552
+ 'type' => 'boolean',
553
+ 'format' => 'boolean-string',
554
+ ),
555
+ ),
556
+ ),
557
+ ),
558
+ ),
559
+ 'errorResponses' => array(
560
+ array(
561
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
562
+ 'class' => 'LimitExceededException',
563
+ ),
564
+ array(
565
+ 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.',
566
+ 'class' => 'AlreadyExistsException',
567
+ ),
568
+ ),
569
+ ),
570
+ 'DeleteAutoScalingGroup' => array(
571
+ 'httpMethod' => 'POST',
572
+ 'uri' => '/',
573
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
574
+ 'responseClass' => 'EmptyOutput',
575
+ 'responseType' => 'model',
576
+ 'parameters' => array(
577
+ 'Action' => array(
578
+ 'static' => true,
579
+ 'location' => 'aws.query',
580
+ 'default' => 'DeleteAutoScalingGroup',
581
+ ),
582
+ 'Version' => array(
583
+ 'static' => true,
584
+ 'location' => 'aws.query',
585
+ 'default' => '2011-01-01',
586
+ ),
587
+ 'AutoScalingGroupName' => array(
588
+ 'required' => true,
589
+ 'type' => 'string',
590
+ 'location' => 'aws.query',
591
+ 'minLength' => 1,
592
+ 'maxLength' => 1600,
593
+ ),
594
+ 'ForceDelete' => array(
595
+ 'type' => 'boolean',
596
+ 'format' => 'boolean-string',
597
+ 'location' => 'aws.query',
598
+ ),
599
+ ),
600
+ 'errorResponses' => array(
601
+ array(
602
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
603
+ 'class' => 'ScalingActivityInProgressException',
604
+ ),
605
+ array(
606
+ 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.',
607
+ 'class' => 'ResourceInUseException',
608
+ ),
609
+ ),
610
+ ),
611
+ 'DeleteLaunchConfiguration' => array(
612
+ 'httpMethod' => 'POST',
613
+ 'uri' => '/',
614
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
615
+ 'responseClass' => 'EmptyOutput',
616
+ 'responseType' => 'model',
617
+ 'parameters' => array(
618
+ 'Action' => array(
619
+ 'static' => true,
620
+ 'location' => 'aws.query',
621
+ 'default' => 'DeleteLaunchConfiguration',
622
+ ),
623
+ 'Version' => array(
624
+ 'static' => true,
625
+ 'location' => 'aws.query',
626
+ 'default' => '2011-01-01',
627
+ ),
628
+ 'LaunchConfigurationName' => array(
629
+ 'required' => true,
630
+ 'type' => 'string',
631
+ 'location' => 'aws.query',
632
+ 'minLength' => 1,
633
+ 'maxLength' => 1600,
634
+ ),
635
+ ),
636
+ 'errorResponses' => array(
637
+ array(
638
+ 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.',
639
+ 'class' => 'ResourceInUseException',
640
+ ),
641
+ ),
642
+ ),
643
+ 'DeleteLifecycleHook' => array(
644
+ 'httpMethod' => 'POST',
645
+ 'uri' => '/',
646
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
647
+ 'responseClass' => 'EmptyOutput',
648
+ 'responseType' => 'model',
649
+ 'parameters' => array(
650
+ 'Action' => array(
651
+ 'static' => true,
652
+ 'location' => 'aws.query',
653
+ 'default' => 'DeleteLifecycleHook',
654
+ ),
655
+ 'Version' => array(
656
+ 'static' => true,
657
+ 'location' => 'aws.query',
658
+ 'default' => '2011-01-01',
659
+ ),
660
+ 'LifecycleHookName' => array(
661
+ 'required' => true,
662
+ 'type' => 'string',
663
+ 'location' => 'aws.query',
664
+ 'minLength' => 1,
665
+ 'maxLength' => 255,
666
+ ),
667
+ 'AutoScalingGroupName' => array(
668
+ 'required' => true,
669
+ 'type' => 'string',
670
+ 'location' => 'aws.query',
671
+ 'minLength' => 1,
672
+ 'maxLength' => 1600,
673
+ ),
674
+ ),
675
+ ),
676
+ 'DeleteNotificationConfiguration' => array(
677
+ 'httpMethod' => 'POST',
678
+ 'uri' => '/',
679
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
680
+ 'responseClass' => 'EmptyOutput',
681
+ 'responseType' => 'model',
682
+ 'parameters' => array(
683
+ 'Action' => array(
684
+ 'static' => true,
685
+ 'location' => 'aws.query',
686
+ 'default' => 'DeleteNotificationConfiguration',
687
+ ),
688
+ 'Version' => array(
689
+ 'static' => true,
690
+ 'location' => 'aws.query',
691
+ 'default' => '2011-01-01',
692
+ ),
693
+ 'AutoScalingGroupName' => array(
694
+ 'required' => true,
695
+ 'type' => 'string',
696
+ 'location' => 'aws.query',
697
+ 'minLength' => 1,
698
+ 'maxLength' => 1600,
699
+ ),
700
+ 'TopicARN' => array(
701
+ 'required' => true,
702
+ 'type' => 'string',
703
+ 'location' => 'aws.query',
704
+ 'minLength' => 1,
705
+ 'maxLength' => 1600,
706
+ ),
707
+ ),
708
+ ),
709
+ 'DeletePolicy' => array(
710
+ 'httpMethod' => 'POST',
711
+ 'uri' => '/',
712
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
713
+ 'responseClass' => 'EmptyOutput',
714
+ 'responseType' => 'model',
715
+ 'parameters' => array(
716
+ 'Action' => array(
717
+ 'static' => true,
718
+ 'location' => 'aws.query',
719
+ 'default' => 'DeletePolicy',
720
+ ),
721
+ 'Version' => array(
722
+ 'static' => true,
723
+ 'location' => 'aws.query',
724
+ 'default' => '2011-01-01',
725
+ ),
726
+ 'AutoScalingGroupName' => array(
727
+ 'type' => 'string',
728
+ 'location' => 'aws.query',
729
+ 'minLength' => 1,
730
+ 'maxLength' => 1600,
731
+ ),
732
+ 'PolicyName' => array(
733
+ 'required' => true,
734
+ 'type' => 'string',
735
+ 'location' => 'aws.query',
736
+ 'minLength' => 1,
737
+ 'maxLength' => 1600,
738
+ ),
739
+ ),
740
+ ),
741
+ 'DeleteScheduledAction' => array(
742
+ 'httpMethod' => 'POST',
743
+ 'uri' => '/',
744
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
745
+ 'responseClass' => 'EmptyOutput',
746
+ 'responseType' => 'model',
747
+ 'parameters' => array(
748
+ 'Action' => array(
749
+ 'static' => true,
750
+ 'location' => 'aws.query',
751
+ 'default' => 'DeleteScheduledAction',
752
+ ),
753
+ 'Version' => array(
754
+ 'static' => true,
755
+ 'location' => 'aws.query',
756
+ 'default' => '2011-01-01',
757
+ ),
758
+ 'AutoScalingGroupName' => array(
759
+ 'type' => 'string',
760
+ 'location' => 'aws.query',
761
+ 'minLength' => 1,
762
+ 'maxLength' => 1600,
763
+ ),
764
+ 'ScheduledActionName' => array(
765
+ 'required' => true,
766
+ 'type' => 'string',
767
+ 'location' => 'aws.query',
768
+ 'minLength' => 1,
769
+ 'maxLength' => 1600,
770
+ ),
771
+ ),
772
+ ),
773
+ 'DeleteTags' => array(
774
+ 'httpMethod' => 'POST',
775
+ 'uri' => '/',
776
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
777
+ 'responseClass' => 'EmptyOutput',
778
+ 'responseType' => 'model',
779
+ 'parameters' => array(
780
+ 'Action' => array(
781
+ 'static' => true,
782
+ 'location' => 'aws.query',
783
+ 'default' => 'DeleteTags',
784
+ ),
785
+ 'Version' => array(
786
+ 'static' => true,
787
+ 'location' => 'aws.query',
788
+ 'default' => '2011-01-01',
789
+ ),
790
+ 'Tags' => array(
791
+ 'required' => true,
792
+ 'type' => 'array',
793
+ 'location' => 'aws.query',
794
+ 'sentAs' => 'Tags.member',
795
+ 'items' => array(
796
+ 'name' => 'Tag',
797
+ 'type' => 'object',
798
+ 'properties' => array(
799
+ 'ResourceId' => array(
800
+ 'type' => 'string',
801
+ ),
802
+ 'ResourceType' => array(
803
+ 'type' => 'string',
804
+ ),
805
+ 'Key' => array(
806
+ 'required' => true,
807
+ 'type' => 'string',
808
+ 'minLength' => 1,
809
+ 'maxLength' => 128,
810
+ ),
811
+ 'Value' => array(
812
+ 'type' => 'string',
813
+ 'maxLength' => 256,
814
+ ),
815
+ 'PropagateAtLaunch' => array(
816
+ 'type' => 'boolean',
817
+ 'format' => 'boolean-string',
818
+ ),
819
+ ),
820
+ ),
821
+ ),
822
+ ),
823
+ ),
824
+ 'DescribeAccountLimits' => array(
825
+ 'httpMethod' => 'POST',
826
+ 'uri' => '/',
827
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
828
+ 'responseClass' => 'DescribeAccountLimitsAnswer',
829
+ 'responseType' => 'model',
830
+ 'parameters' => array(
831
+ 'Action' => array(
832
+ 'static' => true,
833
+ 'location' => 'aws.query',
834
+ 'default' => 'DescribeAccountLimits',
835
+ ),
836
+ 'Version' => array(
837
+ 'static' => true,
838
+ 'location' => 'aws.query',
839
+ 'default' => '2011-01-01',
840
+ ),
841
+ ),
842
+ ),
843
+ 'DescribeAdjustmentTypes' => array(
844
+ 'httpMethod' => 'POST',
845
+ 'uri' => '/',
846
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
847
+ 'responseClass' => 'DescribeAdjustmentTypesAnswer',
848
+ 'responseType' => 'model',
849
+ 'parameters' => array(
850
+ 'Action' => array(
851
+ 'static' => true,
852
+ 'location' => 'aws.query',
853
+ 'default' => 'DescribeAdjustmentTypes',
854
+ ),
855
+ 'Version' => array(
856
+ 'static' => true,
857
+ 'location' => 'aws.query',
858
+ 'default' => '2011-01-01',
859
+ ),
860
+ ),
861
+ ),
862
+ 'DescribeAutoScalingGroups' => array(
863
+ 'httpMethod' => 'POST',
864
+ 'uri' => '/',
865
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
866
+ 'responseClass' => 'AutoScalingGroupsType',
867
+ 'responseType' => 'model',
868
+ 'parameters' => array(
869
+ 'Action' => array(
870
+ 'static' => true,
871
+ 'location' => 'aws.query',
872
+ 'default' => 'DescribeAutoScalingGroups',
873
+ ),
874
+ 'Version' => array(
875
+ 'static' => true,
876
+ 'location' => 'aws.query',
877
+ 'default' => '2011-01-01',
878
+ ),
879
+ 'AutoScalingGroupNames' => array(
880
+ 'type' => 'array',
881
+ 'location' => 'aws.query',
882
+ 'sentAs' => 'AutoScalingGroupNames.member',
883
+ 'items' => array(
884
+ 'name' => 'ResourceName',
885
+ 'type' => 'string',
886
+ 'minLength' => 1,
887
+ 'maxLength' => 1600,
888
+ ),
889
+ ),
890
+ 'NextToken' => array(
891
+ 'type' => 'string',
892
+ 'location' => 'aws.query',
893
+ ),
894
+ 'MaxRecords' => array(
895
+ 'type' => 'numeric',
896
+ 'location' => 'aws.query',
897
+ ),
898
+ ),
899
+ 'errorResponses' => array(
900
+ array(
901
+ 'reason' => 'The NextToken value is not valid.',
902
+ 'class' => 'InvalidNextTokenException',
903
+ ),
904
+ ),
905
+ ),
906
+ 'DescribeAutoScalingInstances' => array(
907
+ 'httpMethod' => 'POST',
908
+ 'uri' => '/',
909
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
910
+ 'responseClass' => 'AutoScalingInstancesType',
911
+ 'responseType' => 'model',
912
+ 'parameters' => array(
913
+ 'Action' => array(
914
+ 'static' => true,
915
+ 'location' => 'aws.query',
916
+ 'default' => 'DescribeAutoScalingInstances',
917
+ ),
918
+ 'Version' => array(
919
+ 'static' => true,
920
+ 'location' => 'aws.query',
921
+ 'default' => '2011-01-01',
922
+ ),
923
+ 'InstanceIds' => array(
924
+ 'type' => 'array',
925
+ 'location' => 'aws.query',
926
+ 'sentAs' => 'InstanceIds.member',
927
+ 'items' => array(
928
+ 'name' => 'XmlStringMaxLen16',
929
+ 'type' => 'string',
930
+ 'minLength' => 1,
931
+ 'maxLength' => 16,
932
+ ),
933
+ ),
934
+ 'MaxRecords' => array(
935
+ 'type' => 'numeric',
936
+ 'location' => 'aws.query',
937
+ ),
938
+ 'NextToken' => array(
939
+ 'type' => 'string',
940
+ 'location' => 'aws.query',
941
+ ),
942
+ ),
943
+ 'errorResponses' => array(
944
+ array(
945
+ 'reason' => 'The NextToken value is not valid.',
946
+ 'class' => 'InvalidNextTokenException',
947
+ ),
948
+ ),
949
+ ),
950
+ 'DescribeAutoScalingNotificationTypes' => array(
951
+ 'httpMethod' => 'POST',
952
+ 'uri' => '/',
953
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
954
+ 'responseClass' => 'DescribeAutoScalingNotificationTypesAnswer',
955
+ 'responseType' => 'model',
956
+ 'parameters' => array(
957
+ 'Action' => array(
958
+ 'static' => true,
959
+ 'location' => 'aws.query',
960
+ 'default' => 'DescribeAutoScalingNotificationTypes',
961
+ ),
962
+ 'Version' => array(
963
+ 'static' => true,
964
+ 'location' => 'aws.query',
965
+ 'default' => '2011-01-01',
966
+ ),
967
+ ),
968
+ ),
969
+ 'DescribeLaunchConfigurations' => array(
970
+ 'httpMethod' => 'POST',
971
+ 'uri' => '/',
972
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
973
+ 'responseClass' => 'LaunchConfigurationsType',
974
+ 'responseType' => 'model',
975
+ 'parameters' => array(
976
+ 'Action' => array(
977
+ 'static' => true,
978
+ 'location' => 'aws.query',
979
+ 'default' => 'DescribeLaunchConfigurations',
980
+ ),
981
+ 'Version' => array(
982
+ 'static' => true,
983
+ 'location' => 'aws.query',
984
+ 'default' => '2011-01-01',
985
+ ),
986
+ 'LaunchConfigurationNames' => array(
987
+ 'type' => 'array',
988
+ 'location' => 'aws.query',
989
+ 'sentAs' => 'LaunchConfigurationNames.member',
990
+ 'items' => array(
991
+ 'name' => 'ResourceName',
992
+ 'type' => 'string',
993
+ 'minLength' => 1,
994
+ 'maxLength' => 1600,
995
+ ),
996
+ ),
997
+ 'NextToken' => array(
998
+ 'type' => 'string',
999
+ 'location' => 'aws.query',
1000
+ ),
1001
+ 'MaxRecords' => array(
1002
+ 'type' => 'numeric',
1003
+ 'location' => 'aws.query',
1004
+ ),
1005
+ ),
1006
+ 'errorResponses' => array(
1007
+ array(
1008
+ 'reason' => 'The NextToken value is not valid.',
1009
+ 'class' => 'InvalidNextTokenException',
1010
+ ),
1011
+ ),
1012
+ ),
1013
+ 'DescribeLifecycleHookTypes' => array(
1014
+ 'httpMethod' => 'POST',
1015
+ 'uri' => '/',
1016
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1017
+ 'responseClass' => 'DescribeLifecycleHookTypesAnswer',
1018
+ 'responseType' => 'model',
1019
+ 'parameters' => array(
1020
+ 'Action' => array(
1021
+ 'static' => true,
1022
+ 'location' => 'aws.query',
1023
+ 'default' => 'DescribeLifecycleHookTypes',
1024
+ ),
1025
+ 'Version' => array(
1026
+ 'static' => true,
1027
+ 'location' => 'aws.query',
1028
+ 'default' => '2011-01-01',
1029
+ ),
1030
+ ),
1031
+ ),
1032
+ 'DescribeLifecycleHooks' => array(
1033
+ 'httpMethod' => 'POST',
1034
+ 'uri' => '/',
1035
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1036
+ 'responseClass' => 'DescribeLifecycleHooksAnswer',
1037
+ 'responseType' => 'model',
1038
+ 'parameters' => array(
1039
+ 'Action' => array(
1040
+ 'static' => true,
1041
+ 'location' => 'aws.query',
1042
+ 'default' => 'DescribeLifecycleHooks',
1043
+ ),
1044
+ 'Version' => array(
1045
+ 'static' => true,
1046
+ 'location' => 'aws.query',
1047
+ 'default' => '2011-01-01',
1048
+ ),
1049
+ 'AutoScalingGroupName' => array(
1050
+ 'required' => true,
1051
+ 'type' => 'string',
1052
+ 'location' => 'aws.query',
1053
+ 'minLength' => 1,
1054
+ 'maxLength' => 1600,
1055
+ ),
1056
+ 'LifecycleHookNames' => array(
1057
+ 'type' => 'array',
1058
+ 'location' => 'aws.query',
1059
+ 'sentAs' => 'LifecycleHookNames.member',
1060
+ 'items' => array(
1061
+ 'name' => 'AsciiStringMaxLen255',
1062
+ 'type' => 'string',
1063
+ 'minLength' => 1,
1064
+ 'maxLength' => 255,
1065
+ ),
1066
+ ),
1067
+ ),
1068
+ ),
1069
+ 'DescribeMetricCollectionTypes' => array(
1070
+ 'httpMethod' => 'POST',
1071
+ 'uri' => '/',
1072
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1073
+ 'responseClass' => 'DescribeMetricCollectionTypesAnswer',
1074
+ 'responseType' => 'model',
1075
+ 'parameters' => array(
1076
+ 'Action' => array(
1077
+ 'static' => true,
1078
+ 'location' => 'aws.query',
1079
+ 'default' => 'DescribeMetricCollectionTypes',
1080
+ ),
1081
+ 'Version' => array(
1082
+ 'static' => true,
1083
+ 'location' => 'aws.query',
1084
+ 'default' => '2011-01-01',
1085
+ ),
1086
+ ),
1087
+ ),
1088
+ 'DescribeNotificationConfigurations' => array(
1089
+ 'httpMethod' => 'POST',
1090
+ 'uri' => '/',
1091
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1092
+ 'responseClass' => 'DescribeNotificationConfigurationsAnswer',
1093
+ 'responseType' => 'model',
1094
+ 'parameters' => array(
1095
+ 'Action' => array(
1096
+ 'static' => true,
1097
+ 'location' => 'aws.query',
1098
+ 'default' => 'DescribeNotificationConfigurations',
1099
+ ),
1100
+ 'Version' => array(
1101
+ 'static' => true,
1102
+ 'location' => 'aws.query',
1103
+ 'default' => '2011-01-01',
1104
+ ),
1105
+ 'AutoScalingGroupNames' => array(
1106
+ 'type' => 'array',
1107
+ 'location' => 'aws.query',
1108
+ 'sentAs' => 'AutoScalingGroupNames.member',
1109
+ 'items' => array(
1110
+ 'name' => 'ResourceName',
1111
+ 'type' => 'string',
1112
+ 'minLength' => 1,
1113
+ 'maxLength' => 1600,
1114
+ ),
1115
+ ),
1116
+ 'NextToken' => array(
1117
+ 'type' => 'string',
1118
+ 'location' => 'aws.query',
1119
+ ),
1120
+ 'MaxRecords' => array(
1121
+ 'type' => 'numeric',
1122
+ 'location' => 'aws.query',
1123
+ ),
1124
+ ),
1125
+ 'errorResponses' => array(
1126
+ array(
1127
+ 'reason' => 'The NextToken value is not valid.',
1128
+ 'class' => 'InvalidNextTokenException',
1129
+ ),
1130
+ ),
1131
+ ),
1132
+ 'DescribePolicies' => array(
1133
+ 'httpMethod' => 'POST',
1134
+ 'uri' => '/',
1135
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1136
+ 'responseClass' => 'PoliciesType',
1137
+ 'responseType' => 'model',
1138
+ 'parameters' => array(
1139
+ 'Action' => array(
1140
+ 'static' => true,
1141
+ 'location' => 'aws.query',
1142
+ 'default' => 'DescribePolicies',
1143
+ ),
1144
+ 'Version' => array(
1145
+ 'static' => true,
1146
+ 'location' => 'aws.query',
1147
+ 'default' => '2011-01-01',
1148
+ ),
1149
+ 'AutoScalingGroupName' => array(
1150
+ 'type' => 'string',
1151
+ 'location' => 'aws.query',
1152
+ 'minLength' => 1,
1153
+ 'maxLength' => 1600,
1154
+ ),
1155
+ 'PolicyNames' => array(
1156
+ 'type' => 'array',
1157
+ 'location' => 'aws.query',
1158
+ 'sentAs' => 'PolicyNames.member',
1159
+ 'items' => array(
1160
+ 'name' => 'ResourceName',
1161
+ 'type' => 'string',
1162
+ 'minLength' => 1,
1163
+ 'maxLength' => 1600,
1164
+ ),
1165
+ ),
1166
+ 'NextToken' => array(
1167
+ 'type' => 'string',
1168
+ 'location' => 'aws.query',
1169
+ ),
1170
+ 'MaxRecords' => array(
1171
+ 'type' => 'numeric',
1172
+ 'location' => 'aws.query',
1173
+ ),
1174
+ ),
1175
+ 'errorResponses' => array(
1176
+ array(
1177
+ 'reason' => 'The NextToken value is not valid.',
1178
+ 'class' => 'InvalidNextTokenException',
1179
+ ),
1180
+ ),
1181
+ ),
1182
+ 'DescribeScalingActivities' => array(
1183
+ 'httpMethod' => 'POST',
1184
+ 'uri' => '/',
1185
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1186
+ 'responseClass' => 'ActivitiesType',
1187
+ 'responseType' => 'model',
1188
+ 'parameters' => array(
1189
+ 'Action' => array(
1190
+ 'static' => true,
1191
+ 'location' => 'aws.query',
1192
+ 'default' => 'DescribeScalingActivities',
1193
+ ),
1194
+ 'Version' => array(
1195
+ 'static' => true,
1196
+ 'location' => 'aws.query',
1197
+ 'default' => '2011-01-01',
1198
+ ),
1199
+ 'ActivityIds' => array(
1200
+ 'type' => 'array',
1201
+ 'location' => 'aws.query',
1202
+ 'sentAs' => 'ActivityIds.member',
1203
+ 'items' => array(
1204
+ 'name' => 'XmlString',
1205
+ 'type' => 'string',
1206
+ ),
1207
+ ),
1208
+ 'AutoScalingGroupName' => array(
1209
+ 'type' => 'string',
1210
+ 'location' => 'aws.query',
1211
+ 'minLength' => 1,
1212
+ 'maxLength' => 1600,
1213
+ ),
1214
+ 'MaxRecords' => array(
1215
+ 'type' => 'numeric',
1216
+ 'location' => 'aws.query',
1217
+ ),
1218
+ 'NextToken' => array(
1219
+ 'type' => 'string',
1220
+ 'location' => 'aws.query',
1221
+ ),
1222
+ ),
1223
+ 'errorResponses' => array(
1224
+ array(
1225
+ 'reason' => 'The NextToken value is not valid.',
1226
+ 'class' => 'InvalidNextTokenException',
1227
+ ),
1228
+ ),
1229
+ ),
1230
+ 'DescribeScalingProcessTypes' => array(
1231
+ 'httpMethod' => 'POST',
1232
+ 'uri' => '/',
1233
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1234
+ 'responseClass' => 'ProcessesType',
1235
+ 'responseType' => 'model',
1236
+ 'parameters' => array(
1237
+ 'Action' => array(
1238
+ 'static' => true,
1239
+ 'location' => 'aws.query',
1240
+ 'default' => 'DescribeScalingProcessTypes',
1241
+ ),
1242
+ 'Version' => array(
1243
+ 'static' => true,
1244
+ 'location' => 'aws.query',
1245
+ 'default' => '2011-01-01',
1246
+ ),
1247
+ ),
1248
+ ),
1249
+ 'DescribeScheduledActions' => array(
1250
+ 'httpMethod' => 'POST',
1251
+ 'uri' => '/',
1252
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1253
+ 'responseClass' => 'ScheduledActionsType',
1254
+ 'responseType' => 'model',
1255
+ 'parameters' => array(
1256
+ 'Action' => array(
1257
+ 'static' => true,
1258
+ 'location' => 'aws.query',
1259
+ 'default' => 'DescribeScheduledActions',
1260
+ ),
1261
+ 'Version' => array(
1262
+ 'static' => true,
1263
+ 'location' => 'aws.query',
1264
+ 'default' => '2011-01-01',
1265
+ ),
1266
+ 'AutoScalingGroupName' => array(
1267
+ 'type' => 'string',
1268
+ 'location' => 'aws.query',
1269
+ 'minLength' => 1,
1270
+ 'maxLength' => 1600,
1271
+ ),
1272
+ 'ScheduledActionNames' => array(
1273
+ 'type' => 'array',
1274
+ 'location' => 'aws.query',
1275
+ 'sentAs' => 'ScheduledActionNames.member',
1276
+ 'items' => array(
1277
+ 'name' => 'ResourceName',
1278
+ 'type' => 'string',
1279
+ 'minLength' => 1,
1280
+ 'maxLength' => 1600,
1281
+ ),
1282
+ ),
1283
+ 'StartTime' => array(
1284
+ 'type' => array(
1285
+ 'object',
1286
+ 'string',
1287
+ 'integer',
1288
+ ),
1289
+ 'format' => 'date-time',
1290
+ 'location' => 'aws.query',
1291
+ ),
1292
+ 'EndTime' => array(
1293
+ 'type' => array(
1294
+ 'object',
1295
+ 'string',
1296
+ 'integer',
1297
+ ),
1298
+ 'format' => 'date-time',
1299
+ 'location' => 'aws.query',
1300
+ ),
1301
+ 'NextToken' => array(
1302
+ 'type' => 'string',
1303
+ 'location' => 'aws.query',
1304
+ ),
1305
+ 'MaxRecords' => array(
1306
+ 'type' => 'numeric',
1307
+ 'location' => 'aws.query',
1308
+ ),
1309
+ ),
1310
+ 'errorResponses' => array(
1311
+ array(
1312
+ 'reason' => 'The NextToken value is not valid.',
1313
+ 'class' => 'InvalidNextTokenException',
1314
+ ),
1315
+ ),
1316
+ ),
1317
+ 'DescribeTags' => array(
1318
+ 'httpMethod' => 'POST',
1319
+ 'uri' => '/',
1320
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1321
+ 'responseClass' => 'TagsType',
1322
+ 'responseType' => 'model',
1323
+ 'parameters' => array(
1324
+ 'Action' => array(
1325
+ 'static' => true,
1326
+ 'location' => 'aws.query',
1327
+ 'default' => 'DescribeTags',
1328
+ ),
1329
+ 'Version' => array(
1330
+ 'static' => true,
1331
+ 'location' => 'aws.query',
1332
+ 'default' => '2011-01-01',
1333
+ ),
1334
+ 'Filters' => array(
1335
+ 'type' => 'array',
1336
+ 'location' => 'aws.query',
1337
+ 'sentAs' => 'Filters.member',
1338
+ 'items' => array(
1339
+ 'name' => 'Filter',
1340
+ 'type' => 'object',
1341
+ 'properties' => array(
1342
+ 'Name' => array(
1343
+ 'type' => 'string',
1344
+ ),
1345
+ 'Values' => array(
1346
+ 'type' => 'array',
1347
+ 'sentAs' => 'Values.member',
1348
+ 'items' => array(
1349
+ 'name' => 'XmlString',
1350
+ 'type' => 'string',
1351
+ ),
1352
+ ),
1353
+ ),
1354
+ ),
1355
+ ),
1356
+ 'NextToken' => array(
1357
+ 'type' => 'string',
1358
+ 'location' => 'aws.query',
1359
+ ),
1360
+ 'MaxRecords' => array(
1361
+ 'type' => 'numeric',
1362
+ 'location' => 'aws.query',
1363
+ ),
1364
+ ),
1365
+ 'errorResponses' => array(
1366
+ array(
1367
+ 'reason' => 'The NextToken value is not valid.',
1368
+ 'class' => 'InvalidNextTokenException',
1369
+ ),
1370
+ ),
1371
+ ),
1372
+ 'DescribeTerminationPolicyTypes' => array(
1373
+ 'httpMethod' => 'POST',
1374
+ 'uri' => '/',
1375
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1376
+ 'responseClass' => 'DescribeTerminationPolicyTypesAnswer',
1377
+ 'responseType' => 'model',
1378
+ 'parameters' => array(
1379
+ 'Action' => array(
1380
+ 'static' => true,
1381
+ 'location' => 'aws.query',
1382
+ 'default' => 'DescribeTerminationPolicyTypes',
1383
+ ),
1384
+ 'Version' => array(
1385
+ 'static' => true,
1386
+ 'location' => 'aws.query',
1387
+ 'default' => '2011-01-01',
1388
+ ),
1389
+ ),
1390
+ ),
1391
+ 'DetachInstances' => array(
1392
+ 'httpMethod' => 'POST',
1393
+ 'uri' => '/',
1394
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1395
+ 'responseClass' => 'DetachInstancesAnswer',
1396
+ 'responseType' => 'model',
1397
+ 'parameters' => array(
1398
+ 'Action' => array(
1399
+ 'static' => true,
1400
+ 'location' => 'aws.query',
1401
+ 'default' => 'DetachInstances',
1402
+ ),
1403
+ 'Version' => array(
1404
+ 'static' => true,
1405
+ 'location' => 'aws.query',
1406
+ 'default' => '2011-01-01',
1407
+ ),
1408
+ 'InstanceIds' => array(
1409
+ 'type' => 'array',
1410
+ 'location' => 'aws.query',
1411
+ 'sentAs' => 'InstanceIds.member',
1412
+ 'items' => array(
1413
+ 'name' => 'XmlStringMaxLen16',
1414
+ 'type' => 'string',
1415
+ 'minLength' => 1,
1416
+ 'maxLength' => 16,
1417
+ ),
1418
+ ),
1419
+ 'AutoScalingGroupName' => array(
1420
+ 'required' => true,
1421
+ 'type' => 'string',
1422
+ 'location' => 'aws.query',
1423
+ 'minLength' => 1,
1424
+ 'maxLength' => 1600,
1425
+ ),
1426
+ 'ShouldDecrementDesiredCapacity' => array(
1427
+ 'required' => true,
1428
+ 'type' => 'boolean',
1429
+ 'format' => 'boolean-string',
1430
+ 'location' => 'aws.query',
1431
+ ),
1432
+ ),
1433
+ ),
1434
+ 'DisableMetricsCollection' => array(
1435
+ 'httpMethod' => 'POST',
1436
+ 'uri' => '/',
1437
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1438
+ 'responseClass' => 'EmptyOutput',
1439
+ 'responseType' => 'model',
1440
+ 'parameters' => array(
1441
+ 'Action' => array(
1442
+ 'static' => true,
1443
+ 'location' => 'aws.query',
1444
+ 'default' => 'DisableMetricsCollection',
1445
+ ),
1446
+ 'Version' => array(
1447
+ 'static' => true,
1448
+ 'location' => 'aws.query',
1449
+ 'default' => '2011-01-01',
1450
+ ),
1451
+ 'AutoScalingGroupName' => array(
1452
+ 'required' => true,
1453
+ 'type' => 'string',
1454
+ 'location' => 'aws.query',
1455
+ 'minLength' => 1,
1456
+ 'maxLength' => 1600,
1457
+ ),
1458
+ 'Metrics' => array(
1459
+ 'type' => 'array',
1460
+ 'location' => 'aws.query',
1461
+ 'sentAs' => 'Metrics.member',
1462
+ 'items' => array(
1463
+ 'name' => 'XmlStringMaxLen255',
1464
+ 'type' => 'string',
1465
+ 'minLength' => 1,
1466
+ 'maxLength' => 255,
1467
+ ),
1468
+ ),
1469
+ ),
1470
+ ),
1471
+ 'EnableMetricsCollection' => array(
1472
+ 'httpMethod' => 'POST',
1473
+ 'uri' => '/',
1474
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1475
+ 'responseClass' => 'EmptyOutput',
1476
+ 'responseType' => 'model',
1477
+ 'parameters' => array(
1478
+ 'Action' => array(
1479
+ 'static' => true,
1480
+ 'location' => 'aws.query',
1481
+ 'default' => 'EnableMetricsCollection',
1482
+ ),
1483
+ 'Version' => array(
1484
+ 'static' => true,
1485
+ 'location' => 'aws.query',
1486
+ 'default' => '2011-01-01',
1487
+ ),
1488
+ 'AutoScalingGroupName' => array(
1489
+ 'required' => true,
1490
+ 'type' => 'string',
1491
+ 'location' => 'aws.query',
1492
+ 'minLength' => 1,
1493
+ 'maxLength' => 1600,
1494
+ ),
1495
+ 'Metrics' => array(
1496
+ 'type' => 'array',
1497
+ 'location' => 'aws.query',
1498
+ 'sentAs' => 'Metrics.member',
1499
+ 'items' => array(
1500
+ 'name' => 'XmlStringMaxLen255',
1501
+ 'type' => 'string',
1502
+ 'minLength' => 1,
1503
+ 'maxLength' => 255,
1504
+ ),
1505
+ ),
1506
+ 'Granularity' => array(
1507
+ 'required' => true,
1508
+ 'type' => 'string',
1509
+ 'location' => 'aws.query',
1510
+ 'minLength' => 1,
1511
+ 'maxLength' => 255,
1512
+ ),
1513
+ ),
1514
+ ),
1515
+ 'EnterStandby' => array(
1516
+ 'httpMethod' => 'POST',
1517
+ 'uri' => '/',
1518
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1519
+ 'responseClass' => 'EnterStandbyAnswer',
1520
+ 'responseType' => 'model',
1521
+ 'parameters' => array(
1522
+ 'Action' => array(
1523
+ 'static' => true,
1524
+ 'location' => 'aws.query',
1525
+ 'default' => 'EnterStandby',
1526
+ ),
1527
+ 'Version' => array(
1528
+ 'static' => true,
1529
+ 'location' => 'aws.query',
1530
+ 'default' => '2011-01-01',
1531
+ ),
1532
+ 'InstanceIds' => array(
1533
+ 'type' => 'array',
1534
+ 'location' => 'aws.query',
1535
+ 'sentAs' => 'InstanceIds.member',
1536
+ 'items' => array(
1537
+ 'name' => 'XmlStringMaxLen16',
1538
+ 'type' => 'string',
1539
+ 'minLength' => 1,
1540
+ 'maxLength' => 16,
1541
+ ),
1542
+ ),
1543
+ 'AutoScalingGroupName' => array(
1544
+ 'required' => true,
1545
+ 'type' => 'string',
1546
+ 'location' => 'aws.query',
1547
+ 'minLength' => 1,
1548
+ 'maxLength' => 1600,
1549
+ ),
1550
+ 'ShouldDecrementDesiredCapacity' => array(
1551
+ 'required' => true,
1552
+ 'type' => 'boolean',
1553
+ 'format' => 'boolean-string',
1554
+ 'location' => 'aws.query',
1555
+ ),
1556
+ ),
1557
+ ),
1558
+ 'ExecutePolicy' => array(
1559
+ 'httpMethod' => 'POST',
1560
+ 'uri' => '/',
1561
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1562
+ 'responseClass' => 'EmptyOutput',
1563
+ 'responseType' => 'model',
1564
+ 'parameters' => array(
1565
+ 'Action' => array(
1566
+ 'static' => true,
1567
+ 'location' => 'aws.query',
1568
+ 'default' => 'ExecutePolicy',
1569
+ ),
1570
+ 'Version' => array(
1571
+ 'static' => true,
1572
+ 'location' => 'aws.query',
1573
+ 'default' => '2011-01-01',
1574
+ ),
1575
+ 'AutoScalingGroupName' => array(
1576
+ 'type' => 'string',
1577
+ 'location' => 'aws.query',
1578
+ 'minLength' => 1,
1579
+ 'maxLength' => 1600,
1580
+ ),
1581
+ 'PolicyName' => array(
1582
+ 'required' => true,
1583
+ 'type' => 'string',
1584
+ 'location' => 'aws.query',
1585
+ 'minLength' => 1,
1586
+ 'maxLength' => 1600,
1587
+ ),
1588
+ 'HonorCooldown' => array(
1589
+ 'type' => 'boolean',
1590
+ 'format' => 'boolean-string',
1591
+ 'location' => 'aws.query',
1592
+ ),
1593
+ ),
1594
+ 'errorResponses' => array(
1595
+ array(
1596
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
1597
+ 'class' => 'ScalingActivityInProgressException',
1598
+ ),
1599
+ ),
1600
+ ),
1601
+ 'ExitStandby' => array(
1602
+ 'httpMethod' => 'POST',
1603
+ 'uri' => '/',
1604
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1605
+ 'responseClass' => 'ExitStandbyAnswer',
1606
+ 'responseType' => 'model',
1607
+ 'parameters' => array(
1608
+ 'Action' => array(
1609
+ 'static' => true,
1610
+ 'location' => 'aws.query',
1611
+ 'default' => 'ExitStandby',
1612
+ ),
1613
+ 'Version' => array(
1614
+ 'static' => true,
1615
+ 'location' => 'aws.query',
1616
+ 'default' => '2011-01-01',
1617
+ ),
1618
+ 'InstanceIds' => array(
1619
+ 'type' => 'array',
1620
+ 'location' => 'aws.query',
1621
+ 'sentAs' => 'InstanceIds.member',
1622
+ 'items' => array(
1623
+ 'name' => 'XmlStringMaxLen16',
1624
+ 'type' => 'string',
1625
+ 'minLength' => 1,
1626
+ 'maxLength' => 16,
1627
+ ),
1628
+ ),
1629
+ 'AutoScalingGroupName' => array(
1630
+ 'required' => true,
1631
+ 'type' => 'string',
1632
+ 'location' => 'aws.query',
1633
+ 'minLength' => 1,
1634
+ 'maxLength' => 1600,
1635
+ ),
1636
+ ),
1637
+ ),
1638
+ 'PutLifecycleHook' => array(
1639
+ 'httpMethod' => 'POST',
1640
+ 'uri' => '/',
1641
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1642
+ 'responseClass' => 'EmptyOutput',
1643
+ 'responseType' => 'model',
1644
+ 'parameters' => array(
1645
+ 'Action' => array(
1646
+ 'static' => true,
1647
+ 'location' => 'aws.query',
1648
+ 'default' => 'PutLifecycleHook',
1649
+ ),
1650
+ 'Version' => array(
1651
+ 'static' => true,
1652
+ 'location' => 'aws.query',
1653
+ 'default' => '2011-01-01',
1654
+ ),
1655
+ 'LifecycleHookName' => array(
1656
+ 'required' => true,
1657
+ 'type' => 'string',
1658
+ 'location' => 'aws.query',
1659
+ 'minLength' => 1,
1660
+ 'maxLength' => 255,
1661
+ ),
1662
+ 'AutoScalingGroupName' => array(
1663
+ 'required' => true,
1664
+ 'type' => 'string',
1665
+ 'location' => 'aws.query',
1666
+ 'minLength' => 1,
1667
+ 'maxLength' => 1600,
1668
+ ),
1669
+ 'LifecycleTransition' => array(
1670
+ 'type' => 'string',
1671
+ 'location' => 'aws.query',
1672
+ ),
1673
+ 'RoleARN' => array(
1674
+ 'type' => 'string',
1675
+ 'location' => 'aws.query',
1676
+ 'minLength' => 1,
1677
+ 'maxLength' => 1600,
1678
+ ),
1679
+ 'NotificationTargetARN' => array(
1680
+ 'type' => 'string',
1681
+ 'location' => 'aws.query',
1682
+ 'minLength' => 1,
1683
+ 'maxLength' => 1600,
1684
+ ),
1685
+ 'NotificationMetadata' => array(
1686
+ 'type' => 'string',
1687
+ 'location' => 'aws.query',
1688
+ 'minLength' => 1,
1689
+ 'maxLength' => 1023,
1690
+ ),
1691
+ 'HeartbeatTimeout' => array(
1692
+ 'type' => 'numeric',
1693
+ 'location' => 'aws.query',
1694
+ ),
1695
+ 'DefaultResult' => array(
1696
+ 'type' => 'string',
1697
+ 'location' => 'aws.query',
1698
+ ),
1699
+ ),
1700
+ 'errorResponses' => array(
1701
+ array(
1702
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1703
+ 'class' => 'LimitExceededException',
1704
+ ),
1705
+ ),
1706
+ ),
1707
+ 'PutNotificationConfiguration' => array(
1708
+ 'httpMethod' => 'POST',
1709
+ 'uri' => '/',
1710
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1711
+ 'responseClass' => 'EmptyOutput',
1712
+ 'responseType' => 'model',
1713
+ 'parameters' => array(
1714
+ 'Action' => array(
1715
+ 'static' => true,
1716
+ 'location' => 'aws.query',
1717
+ 'default' => 'PutNotificationConfiguration',
1718
+ ),
1719
+ 'Version' => array(
1720
+ 'static' => true,
1721
+ 'location' => 'aws.query',
1722
+ 'default' => '2011-01-01',
1723
+ ),
1724
+ 'AutoScalingGroupName' => array(
1725
+ 'required' => true,
1726
+ 'type' => 'string',
1727
+ 'location' => 'aws.query',
1728
+ 'minLength' => 1,
1729
+ 'maxLength' => 1600,
1730
+ ),
1731
+ 'TopicARN' => array(
1732
+ 'required' => true,
1733
+ 'type' => 'string',
1734
+ 'location' => 'aws.query',
1735
+ 'minLength' => 1,
1736
+ 'maxLength' => 1600,
1737
+ ),
1738
+ 'NotificationTypes' => array(
1739
+ 'required' => true,
1740
+ 'type' => 'array',
1741
+ 'location' => 'aws.query',
1742
+ 'sentAs' => 'NotificationTypes.member',
1743
+ 'items' => array(
1744
+ 'name' => 'XmlStringMaxLen255',
1745
+ 'type' => 'string',
1746
+ 'minLength' => 1,
1747
+ 'maxLength' => 255,
1748
+ ),
1749
+ ),
1750
+ ),
1751
+ 'errorResponses' => array(
1752
+ array(
1753
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1754
+ 'class' => 'LimitExceededException',
1755
+ ),
1756
+ ),
1757
+ ),
1758
+ 'PutScalingPolicy' => array(
1759
+ 'httpMethod' => 'POST',
1760
+ 'uri' => '/',
1761
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1762
+ 'responseClass' => 'PolicyARNType',
1763
+ 'responseType' => 'model',
1764
+ 'parameters' => array(
1765
+ 'Action' => array(
1766
+ 'static' => true,
1767
+ 'location' => 'aws.query',
1768
+ 'default' => 'PutScalingPolicy',
1769
+ ),
1770
+ 'Version' => array(
1771
+ 'static' => true,
1772
+ 'location' => 'aws.query',
1773
+ 'default' => '2011-01-01',
1774
+ ),
1775
+ 'AutoScalingGroupName' => array(
1776
+ 'required' => true,
1777
+ 'type' => 'string',
1778
+ 'location' => 'aws.query',
1779
+ 'minLength' => 1,
1780
+ 'maxLength' => 1600,
1781
+ ),
1782
+ 'PolicyName' => array(
1783
+ 'required' => true,
1784
+ 'type' => 'string',
1785
+ 'location' => 'aws.query',
1786
+ 'minLength' => 1,
1787
+ 'maxLength' => 255,
1788
+ ),
1789
+ 'ScalingAdjustment' => array(
1790
+ 'required' => true,
1791
+ 'type' => 'numeric',
1792
+ 'location' => 'aws.query',
1793
+ ),
1794
+ 'AdjustmentType' => array(
1795
+ 'required' => true,
1796
+ 'type' => 'string',
1797
+ 'location' => 'aws.query',
1798
+ 'minLength' => 1,
1799
+ 'maxLength' => 255,
1800
+ ),
1801
+ 'Cooldown' => array(
1802
+ 'type' => 'numeric',
1803
+ 'location' => 'aws.query',
1804
+ ),
1805
+ 'MinAdjustmentStep' => array(
1806
+ 'type' => 'numeric',
1807
+ 'location' => 'aws.query',
1808
+ ),
1809
+ ),
1810
+ 'errorResponses' => array(
1811
+ array(
1812
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1813
+ 'class' => 'LimitExceededException',
1814
+ ),
1815
+ ),
1816
+ ),
1817
+ 'PutScheduledUpdateGroupAction' => array(
1818
+ 'httpMethod' => 'POST',
1819
+ 'uri' => '/',
1820
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1821
+ 'responseClass' => 'EmptyOutput',
1822
+ 'responseType' => 'model',
1823
+ 'parameters' => array(
1824
+ 'Action' => array(
1825
+ 'static' => true,
1826
+ 'location' => 'aws.query',
1827
+ 'default' => 'PutScheduledUpdateGroupAction',
1828
+ ),
1829
+ 'Version' => array(
1830
+ 'static' => true,
1831
+ 'location' => 'aws.query',
1832
+ 'default' => '2011-01-01',
1833
+ ),
1834
+ 'AutoScalingGroupName' => array(
1835
+ 'required' => true,
1836
+ 'type' => 'string',
1837
+ 'location' => 'aws.query',
1838
+ 'minLength' => 1,
1839
+ 'maxLength' => 1600,
1840
+ ),
1841
+ 'ScheduledActionName' => array(
1842
+ 'required' => true,
1843
+ 'type' => 'string',
1844
+ 'location' => 'aws.query',
1845
+ 'minLength' => 1,
1846
+ 'maxLength' => 255,
1847
+ ),
1848
+ 'Time' => array(
1849
+ 'type' => array(
1850
+ 'object',
1851
+ 'string',
1852
+ 'integer',
1853
+ ),
1854
+ 'format' => 'date-time',
1855
+ 'location' => 'aws.query',
1856
+ ),
1857
+ 'StartTime' => array(
1858
+ 'type' => array(
1859
+ 'object',
1860
+ 'string',
1861
+ 'integer',
1862
+ ),
1863
+ 'format' => 'date-time',
1864
+ 'location' => 'aws.query',
1865
+ ),
1866
+ 'EndTime' => array(
1867
+ 'type' => array(
1868
+ 'object',
1869
+ 'string',
1870
+ 'integer',
1871
+ ),
1872
+ 'format' => 'date-time',
1873
+ 'location' => 'aws.query',
1874
+ ),
1875
+ 'Recurrence' => array(
1876
+ 'type' => 'string',
1877
+ 'location' => 'aws.query',
1878
+ 'minLength' => 1,
1879
+ 'maxLength' => 255,
1880
+ ),
1881
+ 'MinSize' => array(
1882
+ 'type' => 'numeric',
1883
+ 'location' => 'aws.query',
1884
+ ),
1885
+ 'MaxSize' => array(
1886
+ 'type' => 'numeric',
1887
+ 'location' => 'aws.query',
1888
+ ),
1889
+ 'DesiredCapacity' => array(
1890
+ 'type' => 'numeric',
1891
+ 'location' => 'aws.query',
1892
+ ),
1893
+ ),
1894
+ 'errorResponses' => array(
1895
+ array(
1896
+ 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.',
1897
+ 'class' => 'AlreadyExistsException',
1898
+ ),
1899
+ array(
1900
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1901
+ 'class' => 'LimitExceededException',
1902
+ ),
1903
+ ),
1904
+ ),
1905
+ 'RecordLifecycleActionHeartbeat' => array(
1906
+ 'httpMethod' => 'POST',
1907
+ 'uri' => '/',
1908
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1909
+ 'responseClass' => 'EmptyOutput',
1910
+ 'responseType' => 'model',
1911
+ 'parameters' => array(
1912
+ 'Action' => array(
1913
+ 'static' => true,
1914
+ 'location' => 'aws.query',
1915
+ 'default' => 'RecordLifecycleActionHeartbeat',
1916
+ ),
1917
+ 'Version' => array(
1918
+ 'static' => true,
1919
+ 'location' => 'aws.query',
1920
+ 'default' => '2011-01-01',
1921
+ ),
1922
+ 'LifecycleHookName' => array(
1923
+ 'required' => true,
1924
+ 'type' => 'string',
1925
+ 'location' => 'aws.query',
1926
+ 'minLength' => 1,
1927
+ 'maxLength' => 255,
1928
+ ),
1929
+ 'AutoScalingGroupName' => array(
1930
+ 'required' => true,
1931
+ 'type' => 'string',
1932
+ 'location' => 'aws.query',
1933
+ 'minLength' => 1,
1934
+ 'maxLength' => 1600,
1935
+ ),
1936
+ 'LifecycleActionToken' => array(
1937
+ 'required' => true,
1938
+ 'type' => 'string',
1939
+ 'location' => 'aws.query',
1940
+ 'minLength' => 36,
1941
+ 'maxLength' => 36,
1942
+ ),
1943
+ ),
1944
+ ),
1945
+ 'ResumeProcesses' => array(
1946
+ 'httpMethod' => 'POST',
1947
+ 'uri' => '/',
1948
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1949
+ 'responseClass' => 'EmptyOutput',
1950
+ 'responseType' => 'model',
1951
+ 'parameters' => array(
1952
+ 'Action' => array(
1953
+ 'static' => true,
1954
+ 'location' => 'aws.query',
1955
+ 'default' => 'ResumeProcesses',
1956
+ ),
1957
+ 'Version' => array(
1958
+ 'static' => true,
1959
+ 'location' => 'aws.query',
1960
+ 'default' => '2011-01-01',
1961
+ ),
1962
+ 'AutoScalingGroupName' => array(
1963
+ 'required' => true,
1964
+ 'type' => 'string',
1965
+ 'location' => 'aws.query',
1966
+ 'minLength' => 1,
1967
+ 'maxLength' => 1600,
1968
+ ),
1969
+ 'ScalingProcesses' => array(
1970
+ 'type' => 'array',
1971
+ 'location' => 'aws.query',
1972
+ 'sentAs' => 'ScalingProcesses.member',
1973
+ 'items' => array(
1974
+ 'name' => 'XmlStringMaxLen255',
1975
+ 'type' => 'string',
1976
+ 'minLength' => 1,
1977
+ 'maxLength' => 255,
1978
+ ),
1979
+ ),
1980
+ ),
1981
+ ),
1982
+ 'SetDesiredCapacity' => array(
1983
+ 'httpMethod' => 'POST',
1984
+ 'uri' => '/',
1985
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1986
+ 'responseClass' => 'EmptyOutput',
1987
+ 'responseType' => 'model',
1988
+ 'parameters' => array(
1989
+ 'Action' => array(
1990
+ 'static' => true,
1991
+ 'location' => 'aws.query',
1992
+ 'default' => 'SetDesiredCapacity',
1993
+ ),
1994
+ 'Version' => array(
1995
+ 'static' => true,
1996
+ 'location' => 'aws.query',
1997
+ 'default' => '2011-01-01',
1998
+ ),
1999
+ 'AutoScalingGroupName' => array(
2000
+ 'required' => true,
2001
+ 'type' => 'string',
2002
+ 'location' => 'aws.query',
2003
+ 'minLength' => 1,
2004
+ 'maxLength' => 1600,
2005
+ ),
2006
+ 'DesiredCapacity' => array(
2007
+ 'required' => true,
2008
+ 'type' => 'numeric',
2009
+ 'location' => 'aws.query',
2010
+ ),
2011
+ 'HonorCooldown' => array(
2012
+ 'type' => 'boolean',
2013
+ 'format' => 'boolean-string',
2014
+ 'location' => 'aws.query',
2015
+ ),
2016
+ ),
2017
+ 'errorResponses' => array(
2018
+ array(
2019
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
2020
+ 'class' => 'ScalingActivityInProgressException',
2021
+ ),
2022
+ ),
2023
+ ),
2024
+ 'SetInstanceHealth' => array(
2025
+ 'httpMethod' => 'POST',
2026
+ 'uri' => '/',
2027
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2028
+ 'responseClass' => 'EmptyOutput',
2029
+ 'responseType' => 'model',
2030
+ 'parameters' => array(
2031
+ 'Action' => array(
2032
+ 'static' => true,
2033
+ 'location' => 'aws.query',
2034
+ 'default' => 'SetInstanceHealth',
2035
+ ),
2036
+ 'Version' => array(
2037
+ 'static' => true,
2038
+ 'location' => 'aws.query',
2039
+ 'default' => '2011-01-01',
2040
+ ),
2041
+ 'InstanceId' => array(
2042
+ 'required' => true,
2043
+ 'type' => 'string',
2044
+ 'location' => 'aws.query',
2045
+ 'minLength' => 1,
2046
+ 'maxLength' => 16,
2047
+ ),
2048
+ 'HealthStatus' => array(
2049
+ 'required' => true,
2050
+ 'type' => 'string',
2051
+ 'location' => 'aws.query',
2052
+ 'minLength' => 1,
2053
+ 'maxLength' => 32,
2054
+ ),
2055
+ 'ShouldRespectGracePeriod' => array(
2056
+ 'type' => 'boolean',
2057
+ 'format' => 'boolean-string',
2058
+ 'location' => 'aws.query',
2059
+ ),
2060
+ ),
2061
+ ),
2062
+ 'SuspendProcesses' => array(
2063
+ 'httpMethod' => 'POST',
2064
+ 'uri' => '/',
2065
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2066
+ 'responseClass' => 'EmptyOutput',
2067
+ 'responseType' => 'model',
2068
+ 'parameters' => array(
2069
+ 'Action' => array(
2070
+ 'static' => true,
2071
+ 'location' => 'aws.query',
2072
+ 'default' => 'SuspendProcesses',
2073
+ ),
2074
+ 'Version' => array(
2075
+ 'static' => true,
2076
+ 'location' => 'aws.query',
2077
+ 'default' => '2011-01-01',
2078
+ ),
2079
+ 'AutoScalingGroupName' => array(
2080
+ 'required' => true,
2081
+ 'type' => 'string',
2082
+ 'location' => 'aws.query',
2083
+ 'minLength' => 1,
2084
+ 'maxLength' => 1600,
2085
+ ),
2086
+ 'ScalingProcesses' => array(
2087
+ 'type' => 'array',
2088
+ 'location' => 'aws.query',
2089
+ 'sentAs' => 'ScalingProcesses.member',
2090
+ 'items' => array(
2091
+ 'name' => 'XmlStringMaxLen255',
2092
+ 'type' => 'string',
2093
+ 'minLength' => 1,
2094
+ 'maxLength' => 255,
2095
+ ),
2096
+ ),
2097
+ ),
2098
+ ),
2099
+ 'TerminateInstanceInAutoScalingGroup' => array(
2100
+ 'httpMethod' => 'POST',
2101
+ 'uri' => '/',
2102
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2103
+ 'responseClass' => 'ActivityType',
2104
+ 'responseType' => 'model',
2105
+ 'parameters' => array(
2106
+ 'Action' => array(
2107
+ 'static' => true,
2108
+ 'location' => 'aws.query',
2109
+ 'default' => 'TerminateInstanceInAutoScalingGroup',
2110
+ ),
2111
+ 'Version' => array(
2112
+ 'static' => true,
2113
+ 'location' => 'aws.query',
2114
+ 'default' => '2011-01-01',
2115
+ ),
2116
+ 'InstanceId' => array(
2117
+ 'required' => true,
2118
+ 'type' => 'string',
2119
+ 'location' => 'aws.query',
2120
+ 'minLength' => 1,
2121
+ 'maxLength' => 16,
2122
+ ),
2123
+ 'ShouldDecrementDesiredCapacity' => array(
2124
+ 'required' => true,
2125
+ 'type' => 'boolean',
2126
+ 'format' => 'boolean-string',
2127
+ 'location' => 'aws.query',
2128
+ ),
2129
+ ),
2130
+ 'errorResponses' => array(
2131
+ array(
2132
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
2133
+ 'class' => 'ScalingActivityInProgressException',
2134
+ ),
2135
+ ),
2136
+ ),
2137
+ 'UpdateAutoScalingGroup' => array(
2138
+ 'httpMethod' => 'POST',
2139
+ 'uri' => '/',
2140
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2141
+ 'responseClass' => 'EmptyOutput',
2142
+ 'responseType' => 'model',
2143
+ 'parameters' => array(
2144
+ 'Action' => array(
2145
+ 'static' => true,
2146
+ 'location' => 'aws.query',
2147
+ 'default' => 'UpdateAutoScalingGroup',
2148
+ ),
2149
+ 'Version' => array(
2150
+ 'static' => true,
2151
+ 'location' => 'aws.query',
2152
+ 'default' => '2011-01-01',
2153
+ ),
2154
+ 'AutoScalingGroupName' => array(
2155
+ 'required' => true,
2156
+ 'type' => 'string',
2157
+ 'location' => 'aws.query',
2158
+ 'minLength' => 1,
2159
+ 'maxLength' => 1600,
2160
+ ),
2161
+ 'LaunchConfigurationName' => array(
2162
+ 'type' => 'string',
2163
+ 'location' => 'aws.query',
2164
+ 'minLength' => 1,
2165
+ 'maxLength' => 1600,
2166
+ ),
2167
+ 'MinSize' => array(
2168
+ 'type' => 'numeric',
2169
+ 'location' => 'aws.query',
2170
+ ),
2171
+ 'MaxSize' => array(
2172
+ 'type' => 'numeric',
2173
+ 'location' => 'aws.query',
2174
+ ),
2175
+ 'DesiredCapacity' => array(
2176
+ 'type' => 'numeric',
2177
+ 'location' => 'aws.query',
2178
+ ),
2179
+ 'DefaultCooldown' => array(
2180
+ 'type' => 'numeric',
2181
+ 'location' => 'aws.query',
2182
+ ),
2183
+ 'AvailabilityZones' => array(
2184
+ 'type' => 'array',
2185
+ 'location' => 'aws.query',
2186
+ 'sentAs' => 'AvailabilityZones.member',
2187
+ 'minItems' => 1,
2188
+ 'items' => array(
2189
+ 'name' => 'XmlStringMaxLen255',
2190
+ 'type' => 'string',
2191
+ 'minLength' => 1,
2192
+ 'maxLength' => 255,
2193
+ ),
2194
+ ),
2195
+ 'HealthCheckType' => array(
2196
+ 'type' => 'string',
2197
+ 'location' => 'aws.query',
2198
+ 'minLength' => 1,
2199
+ 'maxLength' => 32,
2200
+ ),
2201
+ 'HealthCheckGracePeriod' => array(
2202
+ 'type' => 'numeric',
2203
+ 'location' => 'aws.query',
2204
+ ),
2205
+ 'PlacementGroup' => array(
2206
+ 'type' => 'string',
2207
+ 'location' => 'aws.query',
2208
+ 'minLength' => 1,
2209
+ 'maxLength' => 255,
2210
+ ),
2211
+ 'VPCZoneIdentifier' => array(
2212
+ 'type' => 'string',
2213
+ 'location' => 'aws.query',
2214
+ 'minLength' => 1,
2215
+ 'maxLength' => 255,
2216
+ ),
2217
+ 'TerminationPolicies' => array(
2218
+ 'type' => 'array',
2219
+ 'location' => 'aws.query',
2220
+ 'sentAs' => 'TerminationPolicies.member',
2221
+ 'items' => array(
2222
+ 'name' => 'XmlStringMaxLen1600',
2223
+ 'type' => 'string',
2224
+ 'minLength' => 1,
2225
+ 'maxLength' => 1600,
2226
+ ),
2227
+ ),
2228
+ ),
2229
+ 'errorResponses' => array(
2230
+ array(
2231
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
2232
+ 'class' => 'ScalingActivityInProgressException',
2233
+ ),
2234
+ ),
2235
+ ),
2236
+ ),
2237
+ 'models' => array(
2238
+ 'EmptyOutput' => array(
2239
+ 'type' => 'object',
2240
+ 'additionalProperties' => true,
2241
+ ),
2242
+ 'DescribeAccountLimitsAnswer' => array(
2243
+ 'type' => 'object',
2244
+ 'additionalProperties' => true,
2245
+ 'properties' => array(
2246
+ 'MaxNumberOfAutoScalingGroups' => array(
2247
+ 'type' => 'numeric',
2248
+ 'location' => 'xml',
2249
+ ),
2250
+ 'MaxNumberOfLaunchConfigurations' => array(
2251
+ 'type' => 'numeric',
2252
+ 'location' => 'xml',
2253
+ ),
2254
+ ),
2255
+ ),
2256
+ 'DescribeAdjustmentTypesAnswer' => array(
2257
+ 'type' => 'object',
2258
+ 'additionalProperties' => true,
2259
+ 'properties' => array(
2260
+ 'AdjustmentTypes' => array(
2261
+ 'type' => 'array',
2262
+ 'location' => 'xml',
2263
+ 'items' => array(
2264
+ 'name' => 'AdjustmentType',
2265
+ 'type' => 'object',
2266
+ 'sentAs' => 'member',
2267
+ 'properties' => array(
2268
+ 'AdjustmentType' => array(
2269
+ 'type' => 'string',
2270
+ ),
2271
+ ),
2272
+ ),
2273
+ ),
2274
+ ),
2275
+ ),
2276
+ 'AutoScalingGroupsType' => array(
2277
+ 'type' => 'object',
2278
+ 'additionalProperties' => true,
2279
+ 'properties' => array(
2280
+ 'AutoScalingGroups' => array(
2281
+ 'type' => 'array',
2282
+ 'location' => 'xml',
2283
+ 'items' => array(
2284
+ 'name' => 'AutoScalingGroup',
2285
+ 'type' => 'object',
2286
+ 'sentAs' => 'member',
2287
+ 'properties' => array(
2288
+ 'AutoScalingGroupName' => array(
2289
+ 'type' => 'string',
2290
+ ),
2291
+ 'AutoScalingGroupARN' => array(
2292
+ 'type' => 'string',
2293
+ ),
2294
+ 'LaunchConfigurationName' => array(
2295
+ 'type' => 'string',
2296
+ ),
2297
+ 'MinSize' => array(
2298
+ 'type' => 'numeric',
2299
+ ),
2300
+ 'MaxSize' => array(
2301
+ 'type' => 'numeric',
2302
+ ),
2303
+ 'DesiredCapacity' => array(
2304
+ 'type' => 'numeric',
2305
+ ),
2306
+ 'DefaultCooldown' => array(
2307
+ 'type' => 'numeric',
2308
+ ),
2309
+ 'AvailabilityZones' => array(
2310
+ 'type' => 'array',
2311
+ 'items' => array(
2312
+ 'name' => 'XmlStringMaxLen255',
2313
+ 'type' => 'string',
2314
+ 'sentAs' => 'member',
2315
+ ),
2316
+ ),
2317
+ 'LoadBalancerNames' => array(
2318
+ 'type' => 'array',
2319
+ 'items' => array(
2320
+ 'name' => 'XmlStringMaxLen255',
2321
+ 'type' => 'string',
2322
+ 'sentAs' => 'member',
2323
+ ),
2324
+ ),
2325
+ 'HealthCheckType' => array(
2326
+ 'type' => 'string',
2327
+ ),
2328
+ 'HealthCheckGracePeriod' => array(
2329
+ 'type' => 'numeric',
2330
+ ),
2331
+ 'Instances' => array(
2332
+ 'type' => 'array',
2333
+ 'items' => array(
2334
+ 'name' => 'Instance',
2335
+ 'type' => 'object',
2336
+ 'sentAs' => 'member',
2337
+ 'properties' => array(
2338
+ 'InstanceId' => array(
2339
+ 'type' => 'string',
2340
+ ),
2341
+ 'AvailabilityZone' => array(
2342
+ 'type' => 'string',
2343
+ ),
2344
+ 'LifecycleState' => array(
2345
+ 'type' => 'string',
2346
+ ),
2347
+ 'HealthStatus' => array(
2348
+ 'type' => 'string',
2349
+ ),
2350
+ 'LaunchConfigurationName' => array(
2351
+ 'type' => 'string',
2352
+ ),
2353
+ ),
2354
+ ),
2355
+ ),
2356
+ 'CreatedTime' => array(
2357
+ 'type' => 'string',
2358
+ ),
2359
+ 'SuspendedProcesses' => array(
2360
+ 'type' => 'array',
2361
+ 'items' => array(
2362
+ 'name' => 'SuspendedProcess',
2363
+ 'type' => 'object',
2364
+ 'sentAs' => 'member',
2365
+ 'properties' => array(
2366
+ 'ProcessName' => array(
2367
+ 'type' => 'string',
2368
+ ),
2369
+ 'SuspensionReason' => array(
2370
+ 'type' => 'string',
2371
+ ),
2372
+ ),
2373
+ ),
2374
+ ),
2375
+ 'PlacementGroup' => array(
2376
+ 'type' => 'string',
2377
+ ),
2378
+ 'VPCZoneIdentifier' => array(
2379
+ 'type' => 'string',
2380
+ ),
2381
+ 'EnabledMetrics' => array(
2382
+ 'type' => 'array',
2383
+ 'items' => array(
2384
+ 'name' => 'EnabledMetric',
2385
+ 'type' => 'object',
2386
+ 'sentAs' => 'member',
2387
+ 'properties' => array(
2388
+ 'Metric' => array(
2389
+ 'type' => 'string',
2390
+ ),
2391
+ 'Granularity' => array(
2392
+ 'type' => 'string',
2393
+ ),
2394
+ ),
2395
+ ),
2396
+ ),
2397
+ 'Status' => array(
2398
+ 'type' => 'string',
2399
+ ),
2400
+ 'Tags' => array(
2401
+ 'type' => 'array',
2402
+ 'items' => array(
2403
+ 'name' => 'TagDescription',
2404
+ 'type' => 'object',
2405
+ 'sentAs' => 'member',
2406
+ 'properties' => array(
2407
+ 'ResourceId' => array(
2408
+ 'type' => 'string',
2409
+ ),
2410
+ 'ResourceType' => array(
2411
+ 'type' => 'string',
2412
+ ),
2413
+ 'Key' => array(
2414
+ 'type' => 'string',
2415
+ ),
2416
+ 'Value' => array(
2417
+ 'type' => 'string',
2418
+ ),
2419
+ 'PropagateAtLaunch' => array(
2420
+ 'type' => 'boolean',
2421
+ ),
2422
+ ),
2423
+ ),
2424
+ ),
2425
+ 'TerminationPolicies' => array(
2426
+ 'type' => 'array',
2427
+ 'items' => array(
2428
+ 'name' => 'XmlStringMaxLen1600',
2429
+ 'type' => 'string',
2430
+ 'sentAs' => 'member',
2431
+ ),
2432
+ ),
2433
+ ),
2434
+ ),
2435
+ ),
2436
+ 'NextToken' => array(
2437
+ 'type' => 'string',
2438
+ 'location' => 'xml',
2439
+ ),
2440
+ ),
2441
+ ),
2442
+ 'AutoScalingInstancesType' => array(
2443
+ 'type' => 'object',
2444
+ 'additionalProperties' => true,
2445
+ 'properties' => array(
2446
+ 'AutoScalingInstances' => array(
2447
+ 'type' => 'array',
2448
+ 'location' => 'xml',
2449
+ 'items' => array(
2450
+ 'name' => 'AutoScalingInstanceDetails',
2451
+ 'type' => 'object',
2452
+ 'sentAs' => 'member',
2453
+ 'properties' => array(
2454
+ 'InstanceId' => array(
2455
+ 'type' => 'string',
2456
+ ),
2457
+ 'AutoScalingGroupName' => array(
2458
+ 'type' => 'string',
2459
+ ),
2460
+ 'AvailabilityZone' => array(
2461
+ 'type' => 'string',
2462
+ ),
2463
+ 'LifecycleState' => array(
2464
+ 'type' => 'string',
2465
+ ),
2466
+ 'HealthStatus' => array(
2467
+ 'type' => 'string',
2468
+ ),
2469
+ 'LaunchConfigurationName' => array(
2470
+ 'type' => 'string',
2471
+ ),
2472
+ ),
2473
+ ),
2474
+ ),
2475
+ 'NextToken' => array(
2476
+ 'type' => 'string',
2477
+ 'location' => 'xml',
2478
+ ),
2479
+ ),
2480
+ ),
2481
+ 'DescribeAutoScalingNotificationTypesAnswer' => array(
2482
+ 'type' => 'object',
2483
+ 'additionalProperties' => true,
2484
+ 'properties' => array(
2485
+ 'AutoScalingNotificationTypes' => array(
2486
+ 'type' => 'array',
2487
+ 'location' => 'xml',
2488
+ 'items' => array(
2489
+ 'name' => 'XmlStringMaxLen255',
2490
+ 'type' => 'string',
2491
+ 'sentAs' => 'member',
2492
+ ),
2493
+ ),
2494
+ ),
2495
+ ),
2496
+ 'LaunchConfigurationsType' => array(
2497
+ 'type' => 'object',
2498
+ 'additionalProperties' => true,
2499
+ 'properties' => array(
2500
+ 'LaunchConfigurations' => array(
2501
+ 'type' => 'array',
2502
+ 'location' => 'xml',
2503
+ 'items' => array(
2504
+ 'name' => 'LaunchConfiguration',
2505
+ 'type' => 'object',
2506
+ 'sentAs' => 'member',
2507
+ 'properties' => array(
2508
+ 'LaunchConfigurationName' => array(
2509
+ 'type' => 'string',
2510
+ ),
2511
+ 'LaunchConfigurationARN' => array(
2512
+ 'type' => 'string',
2513
+ ),
2514
+ 'ImageId' => array(
2515
+ 'type' => 'string',
2516
+ ),
2517
+ 'KeyName' => array(
2518
+ 'type' => 'string',
2519
+ ),
2520
+ 'SecurityGroups' => array(
2521
+ 'type' => 'array',
2522
+ 'items' => array(
2523
+ 'name' => 'XmlString',
2524
+ 'type' => 'string',
2525
+ 'sentAs' => 'member',
2526
+ ),
2527
+ ),
2528
+ 'ClassicLinkVPCId' => array(
2529
+ 'type' => 'string',
2530
+ ),
2531
+ 'ClassicLinkVPCSecurityGroups' => array(
2532
+ 'type' => 'array',
2533
+ 'items' => array(
2534
+ 'name' => 'XmlStringMaxLen255',
2535
+ 'type' => 'string',
2536
+ 'sentAs' => 'member',
2537
+ ),
2538
+ ),
2539
+ 'UserData' => array(
2540
+ 'type' => 'string',
2541
+ ),
2542
+ 'InstanceType' => array(
2543
+ 'type' => 'string',
2544
+ ),
2545
+ 'KernelId' => array(
2546
+ 'type' => 'string',
2547
+ ),
2548
+ 'RamdiskId' => array(
2549
+ 'type' => 'string',
2550
+ ),
2551
+ 'BlockDeviceMappings' => array(
2552
+ 'type' => 'array',
2553
+ 'items' => array(
2554
+ 'name' => 'BlockDeviceMapping',
2555
+ 'type' => 'object',
2556
+ 'sentAs' => 'member',
2557
+ 'properties' => array(
2558
+ 'VirtualName' => array(
2559
+ 'type' => 'string',
2560
+ ),
2561
+ 'DeviceName' => array(
2562
+ 'type' => 'string',
2563
+ ),
2564
+ 'Ebs' => array(
2565
+ 'type' => 'object',
2566
+ 'properties' => array(
2567
+ 'SnapshotId' => array(
2568
+ 'type' => 'string',
2569
+ ),
2570
+ 'VolumeSize' => array(
2571
+ 'type' => 'numeric',
2572
+ ),
2573
+ 'VolumeType' => array(
2574
+ 'type' => 'string',
2575
+ ),
2576
+ 'DeleteOnTermination' => array(
2577
+ 'type' => 'boolean',
2578
+ ),
2579
+ 'Iops' => array(
2580
+ 'type' => 'numeric',
2581
+ ),
2582
+ ),
2583
+ ),
2584
+ 'NoDevice' => array(
2585
+ 'type' => 'boolean',
2586
+ ),
2587
+ ),
2588
+ ),
2589
+ ),
2590
+ 'InstanceMonitoring' => array(
2591
+ 'type' => 'object',
2592
+ 'properties' => array(
2593
+ 'Enabled' => array(
2594
+ 'type' => 'boolean',
2595
+ ),
2596
+ ),
2597
+ ),
2598
+ 'SpotPrice' => array(
2599
+ 'type' => 'string',
2600
+ ),
2601
+ 'IamInstanceProfile' => array(
2602
+ 'type' => 'string',
2603
+ ),
2604
+ 'CreatedTime' => array(
2605
+ 'type' => 'string',
2606
+ ),
2607
+ 'EbsOptimized' => array(
2608
+ 'type' => 'boolean',
2609
+ ),
2610
+ 'AssociatePublicIpAddress' => array(
2611
+ 'type' => 'boolean',
2612
+ ),
2613
+ 'PlacementTenancy' => array(
2614
+ 'type' => 'string',
2615
+ ),
2616
+ ),
2617
+ ),
2618
+ ),
2619
+ 'NextToken' => array(
2620
+ 'type' => 'string',
2621
+ 'location' => 'xml',
2622
+ ),
2623
+ ),
2624
+ ),
2625
+ 'DescribeLifecycleHookTypesAnswer' => array(
2626
+ 'type' => 'object',
2627
+ 'additionalProperties' => true,
2628
+ 'properties' => array(
2629
+ 'LifecycleHookTypes' => array(
2630
+ 'type' => 'array',
2631
+ 'location' => 'xml',
2632
+ 'items' => array(
2633
+ 'name' => 'XmlStringMaxLen255',
2634
+ 'type' => 'string',
2635
+ 'sentAs' => 'member',
2636
+ ),
2637
+ ),
2638
+ ),
2639
+ ),
2640
+ 'DescribeLifecycleHooksAnswer' => array(
2641
+ 'type' => 'object',
2642
+ 'additionalProperties' => true,
2643
+ 'properties' => array(
2644
+ 'LifecycleHooks' => array(
2645
+ 'type' => 'array',
2646
+ 'location' => 'xml',
2647
+ 'items' => array(
2648
+ 'name' => 'LifecycleHook',
2649
+ 'type' => 'object',
2650
+ 'sentAs' => 'member',
2651
+ 'properties' => array(
2652
+ 'LifecycleHookName' => array(
2653
+ 'type' => 'string',
2654
+ ),
2655
+ 'AutoScalingGroupName' => array(
2656
+ 'type' => 'string',
2657
+ ),
2658
+ 'LifecycleTransition' => array(
2659
+ 'type' => 'string',
2660
+ ),
2661
+ 'NotificationTargetARN' => array(
2662
+ 'type' => 'string',
2663
+ ),
2664
+ 'RoleARN' => array(
2665
+ 'type' => 'string',
2666
+ ),
2667
+ 'NotificationMetadata' => array(
2668
+ 'type' => 'string',
2669
+ ),
2670
+ 'HeartbeatTimeout' => array(
2671
+ 'type' => 'numeric',
2672
+ ),
2673
+ 'GlobalTimeout' => array(
2674
+ 'type' => 'numeric',
2675
+ ),
2676
+ 'DefaultResult' => array(
2677
+ 'type' => 'string',
2678
+ ),
2679
+ ),
2680
+ ),
2681
+ ),
2682
+ ),
2683
+ ),
2684
+ 'DescribeMetricCollectionTypesAnswer' => array(
2685
+ 'type' => 'object',
2686
+ 'additionalProperties' => true,
2687
+ 'properties' => array(
2688
+ 'Metrics' => array(
2689
+ 'type' => 'array',
2690
+ 'location' => 'xml',
2691
+ 'items' => array(
2692
+ 'name' => 'MetricCollectionType',
2693
+ 'type' => 'object',
2694
+ 'sentAs' => 'member',
2695
+ 'properties' => array(
2696
+ 'Metric' => array(
2697
+ 'type' => 'string',
2698
+ ),
2699
+ ),
2700
+ ),
2701
+ ),
2702
+ 'Granularities' => array(
2703
+ 'type' => 'array',
2704
+ 'location' => 'xml',
2705
+ 'items' => array(
2706
+ 'name' => 'MetricGranularityType',
2707
+ 'type' => 'object',
2708
+ 'sentAs' => 'member',
2709
+ 'properties' => array(
2710
+ 'Granularity' => array(
2711
+ 'type' => 'string',
2712
+ ),
2713
+ ),
2714
+ ),
2715
+ ),
2716
+ ),
2717
+ ),
2718
+ 'DescribeNotificationConfigurationsAnswer' => array(
2719
+ 'type' => 'object',
2720
+ 'additionalProperties' => true,
2721
+ 'properties' => array(
2722
+ 'NotificationConfigurations' => array(
2723
+ 'type' => 'array',
2724
+ 'location' => 'xml',
2725
+ 'items' => array(
2726
+ 'name' => 'NotificationConfiguration',
2727
+ 'type' => 'object',
2728
+ 'sentAs' => 'member',
2729
+ 'properties' => array(
2730
+ 'AutoScalingGroupName' => array(
2731
+ 'type' => 'string',
2732
+ ),
2733
+ 'TopicARN' => array(
2734
+ 'type' => 'string',
2735
+ ),
2736
+ 'NotificationType' => array(
2737
+ 'type' => 'string',
2738
+ ),
2739
+ ),
2740
+ ),
2741
+ ),
2742
+ 'NextToken' => array(
2743
+ 'type' => 'string',
2744
+ 'location' => 'xml',
2745
+ ),
2746
+ ),
2747
+ ),
2748
+ 'PoliciesType' => array(
2749
+ 'type' => 'object',
2750
+ 'additionalProperties' => true,
2751
+ 'properties' => array(
2752
+ 'ScalingPolicies' => array(
2753
+ 'type' => 'array',
2754
+ 'location' => 'xml',
2755
+ 'items' => array(
2756
+ 'name' => 'ScalingPolicy',
2757
+ 'type' => 'object',
2758
+ 'sentAs' => 'member',
2759
+ 'properties' => array(
2760
+ 'AutoScalingGroupName' => array(
2761
+ 'type' => 'string',
2762
+ ),
2763
+ 'PolicyName' => array(
2764
+ 'type' => 'string',
2765
+ ),
2766
+ 'ScalingAdjustment' => array(
2767
+ 'type' => 'numeric',
2768
+ ),
2769
+ 'AdjustmentType' => array(
2770
+ 'type' => 'string',
2771
+ ),
2772
+ 'Cooldown' => array(
2773
+ 'type' => 'numeric',
2774
+ ),
2775
+ 'PolicyARN' => array(
2776
+ 'type' => 'string',
2777
+ ),
2778
+ 'Alarms' => array(
2779
+ 'type' => 'array',
2780
+ 'items' => array(
2781
+ 'name' => 'Alarm',
2782
+ 'type' => 'object',
2783
+ 'sentAs' => 'member',
2784
+ 'properties' => array(
2785
+ 'AlarmName' => array(
2786
+ 'type' => 'string',
2787
+ ),
2788
+ 'AlarmARN' => array(
2789
+ 'type' => 'string',
2790
+ ),
2791
+ ),
2792
+ ),
2793
+ ),
2794
+ 'MinAdjustmentStep' => array(
2795
+ 'type' => 'numeric',
2796
+ ),
2797
+ ),
2798
+ ),
2799
+ ),
2800
+ 'NextToken' => array(
2801
+ 'type' => 'string',
2802
+ 'location' => 'xml',
2803
+ ),
2804
+ ),
2805
+ ),
2806
+ 'ActivitiesType' => array(
2807
+ 'type' => 'object',
2808
+ 'additionalProperties' => true,
2809
+ 'properties' => array(
2810
+ 'Activities' => array(
2811
+ 'type' => 'array',
2812
+ 'location' => 'xml',
2813
+ 'items' => array(
2814
+ 'name' => 'Activity',
2815
+ 'type' => 'object',
2816
+ 'sentAs' => 'member',
2817
+ 'properties' => array(
2818
+ 'ActivityId' => array(
2819
+ 'type' => 'string',
2820
+ ),
2821
+ 'AutoScalingGroupName' => array(
2822
+ 'type' => 'string',
2823
+ ),
2824
+ 'Description' => array(
2825
+ 'type' => 'string',
2826
+ ),
2827
+ 'Cause' => array(
2828
+ 'type' => 'string',
2829
+ ),
2830
+ 'StartTime' => array(
2831
+ 'type' => 'string',
2832
+ ),
2833
+ 'EndTime' => array(
2834
+ 'type' => 'string',
2835
+ ),
2836
+ 'StatusCode' => array(
2837
+ 'type' => 'string',
2838
+ ),
2839
+ 'StatusMessage' => array(
2840
+ 'type' => 'string',
2841
+ ),
2842
+ 'Progress' => array(
2843
+ 'type' => 'numeric',
2844
+ ),
2845
+ 'Details' => array(
2846
+ 'type' => 'string',
2847
+ ),
2848
+ ),
2849
+ ),
2850
+ ),
2851
+ 'NextToken' => array(
2852
+ 'type' => 'string',
2853
+ 'location' => 'xml',
2854
+ ),
2855
+ ),
2856
+ ),
2857
+ 'ProcessesType' => array(
2858
+ 'type' => 'object',
2859
+ 'additionalProperties' => true,
2860
+ 'properties' => array(
2861
+ 'Processes' => array(
2862
+ 'type' => 'array',
2863
+ 'location' => 'xml',
2864
+ 'items' => array(
2865
+ 'name' => 'ProcessType',
2866
+ 'type' => 'object',
2867
+ 'sentAs' => 'member',
2868
+ 'properties' => array(
2869
+ 'ProcessName' => array(
2870
+ 'type' => 'string',
2871
+ ),
2872
+ ),
2873
+ ),
2874
+ ),
2875
+ ),
2876
+ ),
2877
+ 'ScheduledActionsType' => array(
2878
+ 'type' => 'object',
2879
+ 'additionalProperties' => true,
2880
+ 'properties' => array(
2881
+ 'ScheduledUpdateGroupActions' => array(
2882
+ 'type' => 'array',
2883
+ 'location' => 'xml',
2884
+ 'items' => array(
2885
+ 'name' => 'ScheduledUpdateGroupAction',
2886
+ 'type' => 'object',
2887
+ 'sentAs' => 'member',
2888
+ 'properties' => array(
2889
+ 'AutoScalingGroupName' => array(
2890
+ 'type' => 'string',
2891
+ ),
2892
+ 'ScheduledActionName' => array(
2893
+ 'type' => 'string',
2894
+ ),
2895
+ 'ScheduledActionARN' => array(
2896
+ 'type' => 'string',
2897
+ ),
2898
+ 'Time' => array(
2899
+ 'type' => 'string',
2900
+ ),
2901
+ 'StartTime' => array(
2902
+ 'type' => 'string',
2903
+ ),
2904
+ 'EndTime' => array(
2905
+ 'type' => 'string',
2906
+ ),
2907
+ 'Recurrence' => array(
2908
+ 'type' => 'string',
2909
+ ),
2910
+ 'MinSize' => array(
2911
+ 'type' => 'numeric',
2912
+ ),
2913
+ 'MaxSize' => array(
2914
+ 'type' => 'numeric',
2915
+ ),
2916
+ 'DesiredCapacity' => array(
2917
+ 'type' => 'numeric',
2918
+ ),
2919
+ ),
2920
+ ),
2921
+ ),
2922
+ 'NextToken' => array(
2923
+ 'type' => 'string',
2924
+ 'location' => 'xml',
2925
+ ),
2926
+ ),
2927
+ ),
2928
+ 'TagsType' => array(
2929
+ 'type' => 'object',
2930
+ 'additionalProperties' => true,
2931
+ 'properties' => array(
2932
+ 'Tags' => array(
2933
+ 'type' => 'array',
2934
+ 'location' => 'xml',
2935
+ 'items' => array(
2936
+ 'name' => 'TagDescription',
2937
+ 'type' => 'object',
2938
+ 'sentAs' => 'member',
2939
+ 'properties' => array(
2940
+ 'ResourceId' => array(
2941
+ 'type' => 'string',
2942
+ ),
2943
+ 'ResourceType' => array(
2944
+ 'type' => 'string',
2945
+ ),
2946
+ 'Key' => array(
2947
+ 'type' => 'string',
2948
+ ),
2949
+ 'Value' => array(
2950
+ 'type' => 'string',
2951
+ ),
2952
+ 'PropagateAtLaunch' => array(
2953
+ 'type' => 'boolean',
2954
+ ),
2955
+ ),
2956
+ ),
2957
+ ),
2958
+ 'NextToken' => array(
2959
+ 'type' => 'string',
2960
+ 'location' => 'xml',
2961
+ ),
2962
+ ),
2963
+ ),
2964
+ 'DescribeTerminationPolicyTypesAnswer' => array(
2965
+ 'type' => 'object',
2966
+ 'additionalProperties' => true,
2967
+ 'properties' => array(
2968
+ 'TerminationPolicyTypes' => array(
2969
+ 'type' => 'array',
2970
+ 'location' => 'xml',
2971
+ 'items' => array(
2972
+ 'name' => 'XmlStringMaxLen1600',
2973
+ 'type' => 'string',
2974
+ 'sentAs' => 'member',
2975
+ ),
2976
+ ),
2977
+ ),
2978
+ ),
2979
+ 'DetachInstancesAnswer' => array(
2980
+ 'type' => 'object',
2981
+ 'additionalProperties' => true,
2982
+ 'properties' => array(
2983
+ 'Activities' => array(
2984
+ 'type' => 'array',
2985
+ 'location' => 'xml',
2986
+ 'items' => array(
2987
+ 'name' => 'Activity',
2988
+ 'type' => 'object',
2989
+ 'sentAs' => 'member',
2990
+ 'properties' => array(
2991
+ 'ActivityId' => array(
2992
+ 'type' => 'string',
2993
+ ),
2994
+ 'AutoScalingGroupName' => array(
2995
+ 'type' => 'string',
2996
+ ),
2997
+ 'Description' => array(
2998
+ 'type' => 'string',
2999
+ ),
3000
+ 'Cause' => array(
3001
+ 'type' => 'string',
3002
+ ),
3003
+ 'StartTime' => array(
3004
+ 'type' => 'string',
3005
+ ),
3006
+ 'EndTime' => array(
3007
+ 'type' => 'string',
3008
+ ),
3009
+ 'StatusCode' => array(
3010
+ 'type' => 'string',
3011
+ ),
3012
+ 'StatusMessage' => array(
3013
+ 'type' => 'string',
3014
+ ),
3015
+ 'Progress' => array(
3016
+ 'type' => 'numeric',
3017
+ ),
3018
+ 'Details' => array(
3019
+ 'type' => 'string',
3020
+ ),
3021
+ ),
3022
+ ),
3023
+ ),
3024
+ ),
3025
+ ),
3026
+ 'EnterStandbyAnswer' => array(
3027
+ 'type' => 'object',
3028
+ 'additionalProperties' => true,
3029
+ 'properties' => array(
3030
+ 'Activities' => array(
3031
+ 'type' => 'array',
3032
+ 'location' => 'xml',
3033
+ 'items' => array(
3034
+ 'name' => 'Activity',
3035
+ 'type' => 'object',
3036
+ 'sentAs' => 'member',
3037
+ 'properties' => array(
3038
+ 'ActivityId' => array(
3039
+ 'type' => 'string',
3040
+ ),
3041
+ 'AutoScalingGroupName' => array(
3042
+ 'type' => 'string',
3043
+ ),
3044
+ 'Description' => array(
3045
+ 'type' => 'string',
3046
+ ),
3047
+ 'Cause' => array(
3048
+ 'type' => 'string',
3049
+ ),
3050
+ 'StartTime' => array(
3051
+ 'type' => 'string',
3052
+ ),
3053
+ 'EndTime' => array(
3054
+ 'type' => 'string',
3055
+ ),
3056
+ 'StatusCode' => array(
3057
+ 'type' => 'string',
3058
+ ),
3059
+ 'StatusMessage' => array(
3060
+ 'type' => 'string',
3061
+ ),
3062
+ 'Progress' => array(
3063
+ 'type' => 'numeric',
3064
+ ),
3065
+ 'Details' => array(
3066
+ 'type' => 'string',
3067
+ ),
3068
+ ),
3069
+ ),
3070
+ ),
3071
+ ),
3072
+ ),
3073
+ 'ExitStandbyAnswer' => array(
3074
+ 'type' => 'object',
3075
+ 'additionalProperties' => true,
3076
+ 'properties' => array(
3077
+ 'Activities' => array(
3078
+ 'type' => 'array',
3079
+ 'location' => 'xml',
3080
+ 'items' => array(
3081
+ 'name' => 'Activity',
3082
+ 'type' => 'object',
3083
+ 'sentAs' => 'member',
3084
+ 'properties' => array(
3085
+ 'ActivityId' => array(
3086
+ 'type' => 'string',
3087
+ ),
3088
+ 'AutoScalingGroupName' => array(
3089
+ 'type' => 'string',
3090
+ ),
3091
+ 'Description' => array(
3092
+ 'type' => 'string',
3093
+ ),
3094
+ 'Cause' => array(
3095
+ 'type' => 'string',
3096
+ ),
3097
+ 'StartTime' => array(
3098
+ 'type' => 'string',
3099
+ ),
3100
+ 'EndTime' => array(
3101
+ 'type' => 'string',
3102
+ ),
3103
+ 'StatusCode' => array(
3104
+ 'type' => 'string',
3105
+ ),
3106
+ 'StatusMessage' => array(
3107
+ 'type' => 'string',
3108
+ ),
3109
+ 'Progress' => array(
3110
+ 'type' => 'numeric',
3111
+ ),
3112
+ 'Details' => array(
3113
+ 'type' => 'string',
3114
+ ),
3115
+ ),
3116
+ ),
3117
+ ),
3118
+ ),
3119
+ ),
3120
+ 'PolicyARNType' => array(
3121
+ 'type' => 'object',
3122
+ 'additionalProperties' => true,
3123
+ 'properties' => array(
3124
+ 'PolicyARN' => array(
3125
+ 'type' => 'string',
3126
+ 'location' => 'xml',
3127
+ ),
3128
+ ),
3129
+ ),
3130
+ 'ActivityType' => array(
3131
+ 'type' => 'object',
3132
+ 'additionalProperties' => true,
3133
+ 'properties' => array(
3134
+ 'Activity' => array(
3135
+ 'type' => 'object',
3136
+ 'location' => 'xml',
3137
+ 'properties' => array(
3138
+ 'ActivityId' => array(
3139
+ 'type' => 'string',
3140
+ ),
3141
+ 'AutoScalingGroupName' => array(
3142
+ 'type' => 'string',
3143
+ ),
3144
+ 'Description' => array(
3145
+ 'type' => 'string',
3146
+ ),
3147
+ 'Cause' => array(
3148
+ 'type' => 'string',
3149
+ ),
3150
+ 'StartTime' => array(
3151
+ 'type' => 'string',
3152
+ ),
3153
+ 'EndTime' => array(
3154
+ 'type' => 'string',
3155
+ ),
3156
+ 'StatusCode' => array(
3157
+ 'type' => 'string',
3158
+ ),
3159
+ 'StatusMessage' => array(
3160
+ 'type' => 'string',
3161
+ ),
3162
+ 'Progress' => array(
3163
+ 'type' => 'numeric',
3164
+ ),
3165
+ 'Details' => array(
3166
+ 'type' => 'string',
3167
+ ),
3168
+ ),
3169
+ ),
3170
+ ),
3171
+ ),
3172
+ ),
3173
+ 'iterators' => array(
3174
+ 'DescribeAutoScalingGroups' => array(
3175
+ 'input_token' => 'NextToken',
3176
+ 'output_token' => 'NextToken',
3177
+ 'limit_key' => 'MaxRecords',
3178
+ 'result_key' => 'AutoScalingGroups',
3179
+ ),
3180
+ 'DescribeAutoScalingInstances' => array(
3181
+ 'input_token' => 'NextToken',
3182
+ 'output_token' => 'NextToken',
3183
+ 'limit_key' => 'MaxRecords',
3184
+ 'result_key' => 'AutoScalingInstances',
3185
+ ),
3186
+ 'DescribeLaunchConfigurations' => array(
3187
+ 'input_token' => 'NextToken',
3188
+ 'output_token' => 'NextToken',
3189
+ 'limit_key' => 'MaxRecords',
3190
+ 'result_key' => 'LaunchConfigurations',
3191
+ ),
3192
+ 'DescribeNotificationConfigurations' => array(
3193
+ 'input_token' => 'NextToken',
3194
+ 'output_token' => 'NextToken',
3195
+ 'limit_key' => 'MaxRecords',
3196
+ 'result_key' => 'NotificationConfigurations',
3197
+ ),
3198
+ 'DescribePolicies' => array(
3199
+ 'input_token' => 'NextToken',
3200
+ 'output_token' => 'NextToken',
3201
+ 'limit_key' => 'MaxRecords',
3202
+ 'result_key' => 'ScalingPolicies',
3203
+ ),
3204
+ 'DescribeScalingActivities' => array(
3205
+ 'input_token' => 'NextToken',
3206
+ 'output_token' => 'NextToken',
3207
+ 'limit_key' => 'MaxRecords',
3208
+ 'result_key' => 'Activities',
3209
+ ),
3210
+ 'DescribeScheduledActions' => array(
3211
+ 'input_token' => 'NextToken',
3212
+ 'output_token' => 'NextToken',
3213
+ 'limit_key' => 'MaxRecords',
3214
+ 'result_key' => 'ScheduledUpdateGroupActions',
3215
+ ),
3216
+ 'DescribeTags' => array(
3217
+ 'input_token' => 'NextToken',
3218
+ 'output_token' => 'NextToken',
3219
+ 'limit_key' => 'MaxRecords',
3220
+ 'result_key' => 'Tags',
3221
+ ),
3222
+ ),
3223
+ );
lib/Aws/Aws/CloudFormation/CloudFormationClient.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\CloudFormation;
18
+
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;
25
+
26
+ /**
27
+ * Client to interact with AWS CloudFormation
28
+ *
29
+ * @method Model cancelUpdateStack(array $args = array()) {@command CloudFormation CancelUpdateStack}
30
+ * @method Model createStack(array $args = array()) {@command CloudFormation CreateStack}
31
+ * @method Model deleteStack(array $args = array()) {@command CloudFormation DeleteStack}
32
+ * @method Model describeStackEvents(array $args = array()) {@command CloudFormation DescribeStackEvents}
33
+ * @method Model describeStackResource(array $args = array()) {@command CloudFormation DescribeStackResource}
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 getTemplateSummary(array $args = array()) {@command CloudFormation GetTemplateSummary}
40
+ * @method Model listStackResources(array $args = array()) {@command CloudFormation ListStackResources}
41
+ * @method Model listStacks(array $args = array()) {@command CloudFormation ListStacks}
42
+ * @method Model setStackPolicy(array $args = array()) {@command CloudFormation SetStackPolicy}
43
+ * @method Model signalResource(array $args = array()) {@command CloudFormation SignalResource}
44
+ * @method Model updateStack(array $args = array()) {@command CloudFormation UpdateStack}
45
+ * @method Model validateTemplate(array $args = array()) {@command CloudFormation ValidateTemplate}
46
+ * @method ResourceIteratorInterface getDescribeStackEventsIterator(array $args = array()) The input array uses the parameters of the DescribeStackEvents operation
47
+ * @method ResourceIteratorInterface getDescribeStackResourcesIterator(array $args = array()) The input array uses the parameters of the DescribeStackResources operation
48
+ * @method ResourceIteratorInterface getDescribeStacksIterator(array $args = array()) The input array uses the parameters of the DescribeStacks operation
49
+ * @method ResourceIteratorInterface getListStackResourcesIterator(array $args = array()) The input array uses the parameters of the ListStackResources operation
50
+ * @method ResourceIteratorInterface getListStacksIterator(array $args = array()) The input array uses the parameters of the ListStacks operation
51
+ *
52
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudformation.html User guide
53
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudFormation.CloudFormationClient.html API docs
54
+ */
55
+ class CloudFormationClient extends AbstractClient
56
+ {
57
+ const LATEST_API_VERSION = '2010-05-15';
58
+
59
+ /**
60
+ * Factory method to create a new AWS CloudFormation client using an array of configuration options.
61
+ *
62
+ * @param array|Collection $config Client configuration data
63
+ *
64
+ * @return self
65
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
66
+ */
67
+ public static function factory($config = array())
68
+ {
69
+ return ClientBuilder::factory(__NAMESPACE__)
70
+ ->setConfig($config)
71
+ ->setConfigDefaults(array(
72
+ Options::VERSION => self::LATEST_API_VERSION,
73
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudformation-%s.php'
74
+ ))
75
+ ->build();
76
+ }
77
+ }
lib/Aws/Aws/CloudFormation/Enum/Capability.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\CloudFormation\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable Capability values
23
+ */
24
+ class Capability extends Enum
25
+ {
26
+ const CAPABILITY_IAM = 'CAPABILITY_IAM';
27
+ }
lib/Aws/Aws/CloudFormation/Enum/OnFailure.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\CloudFormation\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable OnFailure values
23
+ */
24
+ class OnFailure extends Enum
25
+ {
26
+ const DO_NOTHING = 'DO_NOTHING';
27
+ const ROLLBACK = 'ROLLBACK';
28
+ const DELETE = 'DELETE';
29
+ }
lib/Aws/Aws/CloudFormation/Enum/ResourceStatus.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\CloudFormation\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable ResourceStatus values
23
+ */
24
+ class ResourceStatus extends Enum
25
+ {
26
+ const CREATE_IN_PROGRESS = 'CREATE_IN_PROGRESS';
27
+ const CREATE_FAILED = 'CREATE_FAILED';
28
+ const CREATE_COMPLETE = 'CREATE_COMPLETE';
29
+ const DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS';
30
+ const DELETE_FAILED = 'DELETE_FAILED';
31
+ const DELETE_COMPLETE = 'DELETE_COMPLETE';
32
+ const UPDATE_IN_PROGRESS = 'UPDATE_IN_PROGRESS';
33
+ const UPDATE_FAILED = 'UPDATE_FAILED';
34
+ const UPDATE_COMPLETE = 'UPDATE_COMPLETE';
35
+ }
lib/Aws/Aws/CloudFormation/Enum/StackStatus.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\CloudFormation\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable StackStatus values
23
+ */
24
+ class StackStatus extends Enum
25
+ {
26
+ const CREATE_IN_PROGRESS = 'CREATE_IN_PROGRESS';
27
+ const CREATE_FAILED = 'CREATE_FAILED';
28
+ const CREATE_COMPLETE = 'CREATE_COMPLETE';
29
+ const ROLLBACK_IN_PROGRESS = 'ROLLBACK_IN_PROGRESS';
30
+ const ROLLBACK_FAILED = 'ROLLBACK_FAILED';
31
+ const ROLLBACK_COMPLETE = 'ROLLBACK_COMPLETE';
32
+ const DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS';
33
+ const DELETE_FAILED = 'DELETE_FAILED';
34
+ const DELETE_COMPLETE = 'DELETE_COMPLETE';
35
+ const UPDATE_IN_PROGRESS = 'UPDATE_IN_PROGRESS';
36
+ const UPDATE_COMPLETE_CLEANUP_IN_PROGRESS = 'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS';
37
+ const UPDATE_COMPLETE = 'UPDATE_COMPLETE';
38
+ const UPDATE_ROLLBACK_IN_PROGRESS = 'UPDATE_ROLLBACK_IN_PROGRESS';
39
+ const UPDATE_ROLLBACK_FAILED = 'UPDATE_ROLLBACK_FAILED';
40
+ const UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS = 'UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS';
41
+ const UPDATE_ROLLBACK_COMPLETE = 'UPDATE_ROLLBACK_COMPLETE';
42
+ }
lib/Aws/Aws/CloudFormation/Exception/AlreadyExistsException.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\CloudFormation\Exception;
18
+
19
+ /**
20
+ * Resource with the name requested already exists.
21
+ */
22
+ class AlreadyExistsException extends CloudFormationException {}
lib/Aws/Aws/CloudFormation/Exception/CloudFormationException.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\CloudFormation\Exception;
18
+
19
+ use Aws\Common\Exception\ServiceResponseException;
20
+
21
+ /**
22
+ * Default service exception class
23
+ */
24
+ class CloudFormationException extends ServiceResponseException {}
lib/Aws/Aws/CloudFormation/Exception/InsufficientCapabilitiesException.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\CloudFormation\Exception;
18
+
19
+ /**
20
+ * The template contains resources with capabilities that were not specified in the Capabilities parameter.
21
+ */
22
+ class InsufficientCapabilitiesException extends CloudFormationException {}
lib/Aws/Aws/CloudFormation/Exception/LimitExceededException.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\CloudFormation\Exception;
18
+
19
+ /**
20
+ * Quota for the resource has already been reached.
21
+ */
22
+ class LimitExceededException extends CloudFormationException {}
lib/Aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php ADDED
@@ -0,0 +1,1312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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' => '2010-05-15',
19
+ 'endpointPrefix' => 'cloudformation',
20
+ 'serviceFullName' => 'AWS CloudFormation',
21
+ 'serviceType' => 'query',
22
+ 'resultWrapped' => true,
23
+ 'signatureVersion' => 'v4',
24
+ 'namespace' => 'CloudFormation',
25
+ 'regions' => array(
26
+ 'us-east-1' => array(
27
+ 'http' => false,
28
+ 'https' => true,
29
+ 'hostname' => 'cloudformation.us-east-1.amazonaws.com',
30
+ ),
31
+ 'us-west-1' => array(
32
+ 'http' => false,
33
+ 'https' => true,
34
+ 'hostname' => 'cloudformation.us-west-1.amazonaws.com',
35
+ ),
36
+ 'us-west-2' => array(
37
+ 'http' => false,
38
+ 'https' => true,
39
+ 'hostname' => 'cloudformation.us-west-2.amazonaws.com',
40
+ ),
41
+ 'eu-west-1' => array(
42
+ 'http' => false,
43
+ 'https' => true,
44
+ 'hostname' => 'cloudformation.eu-west-1.amazonaws.com',
45
+ ),
46
+ 'ap-northeast-1' => array(
47
+ 'http' => false,
48
+ 'https' => true,
49
+ 'hostname' => 'cloudformation.ap-northeast-1.amazonaws.com',
50
+ ),
51
+ 'ap-southeast-1' => array(
52
+ 'http' => false,
53
+ 'https' => true,
54
+ 'hostname' => 'cloudformation.ap-southeast-1.amazonaws.com',
55
+ ),
56
+ 'ap-southeast-2' => array(
57
+ 'http' => false,
58
+ 'https' => true,
59
+ 'hostname' => 'cloudformation.ap-southeast-2.amazonaws.com',
60
+ ),
61
+ 'sa-east-1' => array(
62
+ 'http' => false,
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(
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' => 'CancelUpdateStack',
89
+ ),
90
+ 'Version' => array(
91
+ 'static' => true,
92
+ 'location' => 'aws.query',
93
+ 'default' => '2010-05-15',
94
+ ),
95
+ 'StackName' => array(
96
+ 'required' => true,
97
+ 'type' => 'string',
98
+ 'location' => 'aws.query',
99
+ ),
100
+ ),
101
+ ),
102
+ 'CreateStack' => array(
103
+ 'httpMethod' => 'POST',
104
+ 'uri' => '/',
105
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
106
+ 'responseClass' => 'CreateStackOutput',
107
+ 'responseType' => 'model',
108
+ 'parameters' => array(
109
+ 'Action' => array(
110
+ 'static' => true,
111
+ 'location' => 'aws.query',
112
+ 'default' => 'CreateStack',
113
+ ),
114
+ 'Version' => array(
115
+ 'static' => true,
116
+ 'location' => 'aws.query',
117
+ 'default' => '2010-05-15',
118
+ ),
119
+ 'StackName' => array(
120
+ 'required' => true,
121
+ 'type' => 'string',
122
+ 'location' => 'aws.query',
123
+ ),
124
+ 'TemplateBody' => array(
125
+ 'type' => 'string',
126
+ 'location' => 'aws.query',
127
+ 'minLength' => 1,
128
+ ),
129
+ 'TemplateURL' => array(
130
+ 'type' => 'string',
131
+ 'location' => 'aws.query',
132
+ 'minLength' => 1,
133
+ 'maxLength' => 1024,
134
+ ),
135
+ 'Parameters' => array(
136
+ 'type' => 'array',
137
+ 'location' => 'aws.query',
138
+ 'sentAs' => 'Parameters.member',
139
+ 'items' => array(
140
+ 'name' => 'Parameter',
141
+ 'type' => 'object',
142
+ 'properties' => array(
143
+ 'ParameterKey' => array(
144
+ 'type' => 'string',
145
+ ),
146
+ 'ParameterValue' => array(
147
+ 'type' => 'string',
148
+ ),
149
+ 'UsePreviousValue' => array(
150
+ 'type' => 'boolean',
151
+ 'format' => 'boolean-string',
152
+ ),
153
+ ),
154
+ ),
155
+ ),
156
+ 'DisableRollback' => array(
157
+ 'type' => 'boolean',
158
+ 'format' => 'boolean-string',
159
+ 'location' => 'aws.query',
160
+ ),
161
+ 'TimeoutInMinutes' => array(
162
+ 'type' => 'numeric',
163
+ 'location' => 'aws.query',
164
+ 'minimum' => 1,
165
+ ),
166
+ 'NotificationARNs' => array(
167
+ 'type' => 'array',
168
+ 'location' => 'aws.query',
169
+ 'sentAs' => 'NotificationARNs.member',
170
+ 'maxItems' => 5,
171
+ 'items' => array(
172
+ 'name' => 'NotificationARN',
173
+ 'type' => 'string',
174
+ ),
175
+ ),
176
+ 'Capabilities' => array(
177
+ 'type' => 'array',
178
+ 'location' => 'aws.query',
179
+ 'sentAs' => 'Capabilities.member',
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',
203
+ 'location' => 'aws.query',
204
+ 'sentAs' => 'Tags.member',
205
+ 'items' => array(
206
+ 'name' => 'Tag',
207
+ 'type' => 'object',
208
+ 'properties' => array(
209
+ 'Key' => array(
210
+ 'type' => 'string',
211
+ ),
212
+ 'Value' => array(
213
+ 'type' => 'string',
214
+ ),
215
+ ),
216
+ ),
217
+ ),
218
+ ),
219
+ 'errorResponses' => array(
220
+ array(
221
+ 'reason' => 'Quota for the resource has already been reached.',
222
+ 'class' => 'LimitExceededException',
223
+ ),
224
+ array(
225
+ 'reason' => 'Resource with the name requested already exists.',
226
+ 'class' => 'AlreadyExistsException',
227
+ ),
228
+ array(
229
+ 'reason' => 'The template contains resources with capabilities that were not specified in the Capabilities parameter.',
230
+ 'class' => 'InsufficientCapabilitiesException',
231
+ ),
232
+ ),
233
+ ),
234
+ 'DeleteStack' => array(
235
+ 'httpMethod' => 'POST',
236
+ 'uri' => '/',
237
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
238
+ 'responseClass' => 'EmptyOutput',
239
+ 'responseType' => 'model',
240
+ 'parameters' => array(
241
+ 'Action' => array(
242
+ 'static' => true,
243
+ 'location' => 'aws.query',
244
+ 'default' => 'DeleteStack',
245
+ ),
246
+ 'Version' => array(
247
+ 'static' => true,
248
+ 'location' => 'aws.query',
249
+ 'default' => '2010-05-15',
250
+ ),
251
+ 'StackName' => array(
252
+ 'required' => true,
253
+ 'type' => 'string',
254
+ 'location' => 'aws.query',
255
+ ),
256
+ ),
257
+ ),
258
+ 'DescribeStackEvents' => array(
259
+ 'httpMethod' => 'POST',
260
+ 'uri' => '/',
261
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
262
+ 'responseClass' => 'DescribeStackEventsOutput',
263
+ 'responseType' => 'model',
264
+ 'parameters' => array(
265
+ 'Action' => array(
266
+ 'static' => true,
267
+ 'location' => 'aws.query',
268
+ 'default' => 'DescribeStackEvents',
269
+ ),
270
+ 'Version' => array(
271
+ 'static' => true,
272
+ 'location' => 'aws.query',
273
+ 'default' => '2010-05-15',
274
+ ),
275
+ 'StackName' => array(
276
+ 'type' => 'string',
277
+ 'location' => 'aws.query',
278
+ ),
279
+ 'NextToken' => array(
280
+ 'type' => 'string',
281
+ 'location' => 'aws.query',
282
+ 'minLength' => 1,
283
+ 'maxLength' => 1024,
284
+ ),
285
+ ),
286
+ ),
287
+ 'DescribeStackResource' => array(
288
+ 'httpMethod' => 'POST',
289
+ 'uri' => '/',
290
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
291
+ 'responseClass' => 'DescribeStackResourceOutput',
292
+ 'responseType' => 'model',
293
+ 'parameters' => array(
294
+ 'Action' => array(
295
+ 'static' => true,
296
+ 'location' => 'aws.query',
297
+ 'default' => 'DescribeStackResource',
298
+ ),
299
+ 'Version' => array(
300
+ 'static' => true,
301
+ 'location' => 'aws.query',
302
+ 'default' => '2010-05-15',
303
+ ),
304
+ 'StackName' => array(
305
+ 'required' => true,
306
+ 'type' => 'string',
307
+ 'location' => 'aws.query',
308
+ ),
309
+ 'LogicalResourceId' => array(
310
+ 'required' => true,
311
+ 'type' => 'string',
312
+ 'location' => 'aws.query',
313
+ ),
314
+ ),
315
+ ),
316
+ 'DescribeStackResources' => array(
317
+ 'httpMethod' => 'POST',
318
+ 'uri' => '/',
319
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
320
+ 'responseClass' => 'DescribeStackResourcesOutput',
321
+ 'responseType' => 'model',
322
+ 'parameters' => array(
323
+ 'Action' => array(
324
+ 'static' => true,
325
+ 'location' => 'aws.query',
326
+ 'default' => 'DescribeStackResources',
327
+ ),
328
+ 'Version' => array(
329
+ 'static' => true,
330
+ 'location' => 'aws.query',
331
+ 'default' => '2010-05-15',
332
+ ),
333
+ 'StackName' => array(
334
+ 'type' => 'string',
335
+ 'location' => 'aws.query',
336
+ ),
337
+ 'LogicalResourceId' => array(
338
+ 'type' => 'string',
339
+ 'location' => 'aws.query',
340
+ ),
341
+ 'PhysicalResourceId' => array(
342
+ 'type' => 'string',
343
+ 'location' => 'aws.query',
344
+ ),
345
+ ),
346
+ ),
347
+ 'DescribeStacks' => array(
348
+ 'httpMethod' => 'POST',
349
+ 'uri' => '/',
350
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
351
+ 'responseClass' => 'DescribeStacksOutput',
352
+ 'responseType' => 'model',
353
+ 'parameters' => array(
354
+ 'Action' => array(
355
+ 'static' => true,
356
+ 'location' => 'aws.query',
357
+ 'default' => 'DescribeStacks',
358
+ ),
359
+ 'Version' => array(
360
+ 'static' => true,
361
+ 'location' => 'aws.query',
362
+ 'default' => '2010-05-15',
363
+ ),
364
+ 'StackName' => array(
365
+ 'type' => 'string',
366
+ 'location' => 'aws.query',
367
+ ),
368
+ 'NextToken' => array(
369
+ 'type' => 'string',
370
+ 'location' => 'aws.query',
371
+ 'minLength' => 1,
372
+ 'maxLength' => 1024,
373
+ ),
374
+ ),
375
+ ),
376
+ 'EstimateTemplateCost' => array(
377
+ 'httpMethod' => 'POST',
378
+ 'uri' => '/',
379
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
380
+ 'responseClass' => 'EstimateTemplateCostOutput',
381
+ 'responseType' => 'model',
382
+ 'parameters' => array(
383
+ 'Action' => array(
384
+ 'static' => true,
385
+ 'location' => 'aws.query',
386
+ 'default' => 'EstimateTemplateCost',
387
+ ),
388
+ 'Version' => array(
389
+ 'static' => true,
390
+ 'location' => 'aws.query',
391
+ 'default' => '2010-05-15',
392
+ ),
393
+ 'TemplateBody' => array(
394
+ 'type' => 'string',
395
+ 'location' => 'aws.query',
396
+ 'minLength' => 1,
397
+ ),
398
+ 'TemplateURL' => array(
399
+ 'type' => 'string',
400
+ 'location' => 'aws.query',
401
+ 'minLength' => 1,
402
+ 'maxLength' => 1024,
403
+ ),
404
+ 'Parameters' => array(
405
+ 'type' => 'array',
406
+ 'location' => 'aws.query',
407
+ 'sentAs' => 'Parameters.member',
408
+ 'items' => array(
409
+ 'name' => 'Parameter',
410
+ 'type' => 'object',
411
+ 'properties' => array(
412
+ 'ParameterKey' => array(
413
+ 'type' => 'string',
414
+ ),
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' => '/',
454
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
455
+ 'responseClass' => 'GetTemplateOutput',
456
+ 'responseType' => 'model',
457
+ 'parameters' => array(
458
+ 'Action' => array(
459
+ 'static' => true,
460
+ 'location' => 'aws.query',
461
+ 'default' => 'GetTemplate',
462
+ ),
463
+ 'Version' => array(
464
+ 'static' => true,
465
+ 'location' => 'aws.query',
466
+ 'default' => '2010-05-15',
467
+ ),
468
+ 'StackName' => array(
469
+ 'required' => true,
470
+ 'type' => 'string',
471
+ 'location' => 'aws.query',
472
+ ),
473
+ ),
474
+ ),
475
+ 'GetTemplateSummary' => array(
476
+ 'httpMethod' => 'POST',
477
+ 'uri' => '/',
478
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
479
+ 'responseClass' => 'GetTemplateSummaryOutput',
480
+ 'responseType' => 'model',
481
+ 'parameters' => array(
482
+ 'Action' => array(
483
+ 'static' => true,
484
+ 'location' => 'aws.query',
485
+ 'default' => 'GetTemplateSummary',
486
+ ),
487
+ 'Version' => array(
488
+ 'static' => true,
489
+ 'location' => 'aws.query',
490
+ 'default' => '2010-05-15',
491
+ ),
492
+ 'TemplateBody' => array(
493
+ 'type' => 'string',
494
+ 'location' => 'aws.query',
495
+ 'minLength' => 1,
496
+ ),
497
+ 'TemplateURL' => array(
498
+ 'type' => 'string',
499
+ 'location' => 'aws.query',
500
+ 'minLength' => 1,
501
+ 'maxLength' => 1024,
502
+ ),
503
+ 'StackName' => array(
504
+ 'type' => 'string',
505
+ 'location' => 'aws.query',
506
+ 'minLength' => 1,
507
+ ),
508
+ ),
509
+ ),
510
+ 'ListStackResources' => array(
511
+ 'httpMethod' => 'POST',
512
+ 'uri' => '/',
513
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
514
+ 'responseClass' => 'ListStackResourcesOutput',
515
+ 'responseType' => 'model',
516
+ 'parameters' => array(
517
+ 'Action' => array(
518
+ 'static' => true,
519
+ 'location' => 'aws.query',
520
+ 'default' => 'ListStackResources',
521
+ ),
522
+ 'Version' => array(
523
+ 'static' => true,
524
+ 'location' => 'aws.query',
525
+ 'default' => '2010-05-15',
526
+ ),
527
+ 'StackName' => array(
528
+ 'required' => true,
529
+ 'type' => 'string',
530
+ 'location' => 'aws.query',
531
+ ),
532
+ 'NextToken' => array(
533
+ 'type' => 'string',
534
+ 'location' => 'aws.query',
535
+ 'minLength' => 1,
536
+ 'maxLength' => 1024,
537
+ ),
538
+ ),
539
+ ),
540
+ 'ListStacks' => array(
541
+ 'httpMethod' => 'POST',
542
+ 'uri' => '/',
543
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
544
+ 'responseClass' => 'ListStacksOutput',
545
+ 'responseType' => 'model',
546
+ 'parameters' => array(
547
+ 'Action' => array(
548
+ 'static' => true,
549
+ 'location' => 'aws.query',
550
+ 'default' => 'ListStacks',
551
+ ),
552
+ 'Version' => array(
553
+ 'static' => true,
554
+ 'location' => 'aws.query',
555
+ 'default' => '2010-05-15',
556
+ ),
557
+ 'NextToken' => array(
558
+ 'type' => 'string',
559
+ 'location' => 'aws.query',
560
+ 'minLength' => 1,
561
+ 'maxLength' => 1024,
562
+ ),
563
+ 'StackStatusFilter' => array(
564
+ 'type' => 'array',
565
+ 'location' => 'aws.query',
566
+ 'sentAs' => 'StackStatusFilter.member',
567
+ 'items' => array(
568
+ 'name' => 'StackStatus',
569
+ 'type' => 'string',
570
+ ),
571
+ ),
572
+ ),
573
+ ),
574
+ 'SetStackPolicy' => array(
575
+ 'httpMethod' => 'POST',
576
+ 'uri' => '/',
577
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
578
+ 'responseClass' => 'EmptyOutput',
579
+ 'responseType' => 'model',
580
+ 'parameters' => array(
581
+ 'Action' => array(
582
+ 'static' => true,
583
+ 'location' => 'aws.query',
584
+ 'default' => 'SetStackPolicy',
585
+ ),
586
+ 'Version' => array(
587
+ 'static' => true,
588
+ 'location' => 'aws.query',
589
+ 'default' => '2010-05-15',
590
+ ),
591
+ 'StackName' => array(
592
+ 'required' => true,
593
+ 'type' => 'string',
594
+ 'location' => 'aws.query',
595
+ ),
596
+ 'StackPolicyBody' => array(
597
+ 'type' => 'string',
598
+ 'location' => 'aws.query',
599
+ 'minLength' => 1,
600
+ 'maxLength' => 16384,
601
+ ),
602
+ 'StackPolicyURL' => array(
603
+ 'type' => 'string',
604
+ 'location' => 'aws.query',
605
+ 'minLength' => 1,
606
+ 'maxLength' => 1350,
607
+ ),
608
+ ),
609
+ ),
610
+ 'SignalResource' => array(
611
+ 'httpMethod' => 'POST',
612
+ 'uri' => '/',
613
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
614
+ 'responseClass' => 'EmptyOutput',
615
+ 'responseType' => 'model',
616
+ 'parameters' => array(
617
+ 'Action' => array(
618
+ 'static' => true,
619
+ 'location' => 'aws.query',
620
+ 'default' => 'SignalResource',
621
+ ),
622
+ 'Version' => array(
623
+ 'static' => true,
624
+ 'location' => 'aws.query',
625
+ 'default' => '2010-05-15',
626
+ ),
627
+ 'StackName' => array(
628
+ 'required' => true,
629
+ 'type' => 'string',
630
+ 'location' => 'aws.query',
631
+ 'minLength' => 1,
632
+ ),
633
+ 'LogicalResourceId' => array(
634
+ 'required' => true,
635
+ 'type' => 'string',
636
+ 'location' => 'aws.query',
637
+ ),
638
+ 'UniqueId' => array(
639
+ 'required' => true,
640
+ 'type' => 'string',
641
+ 'location' => 'aws.query',
642
+ 'minLength' => 1,
643
+ 'maxLength' => 64,
644
+ ),
645
+ 'Status' => array(
646
+ 'required' => true,
647
+ 'type' => 'string',
648
+ 'location' => 'aws.query',
649
+ ),
650
+ ),
651
+ ),
652
+ 'UpdateStack' => array(
653
+ 'httpMethod' => 'POST',
654
+ 'uri' => '/',
655
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
656
+ 'responseClass' => 'UpdateStackOutput',
657
+ 'responseType' => 'model',
658
+ 'parameters' => array(
659
+ 'Action' => array(
660
+ 'static' => true,
661
+ 'location' => 'aws.query',
662
+ 'default' => 'UpdateStack',
663
+ ),
664
+ 'Version' => array(
665
+ 'static' => true,
666
+ 'location' => 'aws.query',
667
+ 'default' => '2010-05-15',
668
+ ),
669
+ 'StackName' => array(
670
+ 'required' => true,
671
+ 'type' => 'string',
672
+ 'location' => 'aws.query',
673
+ ),
674
+ 'TemplateBody' => array(
675
+ 'type' => 'string',
676
+ 'location' => 'aws.query',
677
+ 'minLength' => 1,
678
+ ),
679
+ 'TemplateURL' => array(
680
+ 'type' => 'string',
681
+ 'location' => 'aws.query',
682
+ 'minLength' => 1,
683
+ 'maxLength' => 1024,
684
+ ),
685
+ 'UsePreviousTemplate' => array(
686
+ 'type' => 'boolean',
687
+ 'format' => 'boolean-string',
688
+ 'location' => 'aws.query',
689
+ ),
690
+ 'StackPolicyDuringUpdateBody' => array(
691
+ 'type' => 'string',
692
+ 'location' => 'aws.query',
693
+ 'minLength' => 1,
694
+ 'maxLength' => 16384,
695
+ ),
696
+ 'StackPolicyDuringUpdateURL' => array(
697
+ 'type' => 'string',
698
+ 'location' => 'aws.query',
699
+ 'minLength' => 1,
700
+ 'maxLength' => 1350,
701
+ ),
702
+ 'Parameters' => array(
703
+ 'type' => 'array',
704
+ 'location' => 'aws.query',
705
+ 'sentAs' => 'Parameters.member',
706
+ 'items' => array(
707
+ 'name' => 'Parameter',
708
+ 'type' => 'object',
709
+ 'properties' => array(
710
+ 'ParameterKey' => array(
711
+ 'type' => 'string',
712
+ ),
713
+ 'ParameterValue' => array(
714
+ 'type' => 'string',
715
+ ),
716
+ 'UsePreviousValue' => array(
717
+ 'type' => 'boolean',
718
+ 'format' => 'boolean-string',
719
+ ),
720
+ ),
721
+ ),
722
+ ),
723
+ 'Capabilities' => array(
724
+ 'type' => 'array',
725
+ 'location' => 'aws.query',
726
+ 'sentAs' => 'Capabilities.member',
727
+ 'items' => array(
728
+ 'name' => 'Capability',
729
+ 'type' => 'string',
730
+ ),
731
+ ),
732
+ 'StackPolicyBody' => array(
733
+ 'type' => 'string',
734
+ 'location' => 'aws.query',
735
+ 'minLength' => 1,
736
+ 'maxLength' => 16384,
737
+ ),
738
+ 'StackPolicyURL' => array(
739
+ 'type' => 'string',
740
+ 'location' => 'aws.query',
741
+ 'minLength' => 1,
742
+ 'maxLength' => 1350,
743
+ ),
744
+ 'NotificationARNs' => array(
745
+ 'type' => 'array',
746
+ 'location' => 'aws.query',
747
+ 'sentAs' => 'NotificationARNs.member',
748
+ 'maxItems' => 5,
749
+ 'items' => array(
750
+ 'name' => 'NotificationARN',
751
+ 'type' => 'string',
752
+ ),
753
+ ),
754
+ ),
755
+ 'errorResponses' => array(
756
+ array(
757
+ 'reason' => 'The template contains resources with capabilities that were not specified in the Capabilities parameter.',
758
+ 'class' => 'InsufficientCapabilitiesException',
759
+ ),
760
+ ),
761
+ ),
762
+ 'ValidateTemplate' => array(
763
+ 'httpMethod' => 'POST',
764
+ 'uri' => '/',
765
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
766
+ 'responseClass' => 'ValidateTemplateOutput',
767
+ 'responseType' => 'model',
768
+ 'parameters' => array(
769
+ 'Action' => array(
770
+ 'static' => true,
771
+ 'location' => 'aws.query',
772
+ 'default' => 'ValidateTemplate',
773
+ ),
774
+ 'Version' => array(
775
+ 'static' => true,
776
+ 'location' => 'aws.query',
777
+ 'default' => '2010-05-15',
778
+ ),
779
+ 'TemplateBody' => array(
780
+ 'type' => 'string',
781
+ 'location' => 'aws.query',
782
+ 'minLength' => 1,
783
+ ),
784
+ 'TemplateURL' => array(
785
+ 'type' => 'string',
786
+ 'location' => 'aws.query',
787
+ 'minLength' => 1,
788
+ 'maxLength' => 1024,
789
+ ),
790
+ ),
791
+ ),
792
+ ),
793
+ 'models' => array(
794
+ 'EmptyOutput' => array(
795
+ 'type' => 'object',
796
+ 'additionalProperties' => true,
797
+ ),
798
+ 'CreateStackOutput' => array(
799
+ 'type' => 'object',
800
+ 'additionalProperties' => true,
801
+ 'properties' => array(
802
+ 'StackId' => array(
803
+ 'type' => 'string',
804
+ 'location' => 'xml',
805
+ ),
806
+ ),
807
+ ),
808
+ 'DescribeStackEventsOutput' => array(
809
+ 'type' => 'object',
810
+ 'additionalProperties' => true,
811
+ 'properties' => array(
812
+ 'StackEvents' => array(
813
+ 'type' => 'array',
814
+ 'location' => 'xml',
815
+ 'items' => array(
816
+ 'name' => 'StackEvent',
817
+ 'type' => 'object',
818
+ 'sentAs' => 'member',
819
+ 'properties' => array(
820
+ 'StackId' => array(
821
+ 'type' => 'string',
822
+ ),
823
+ 'EventId' => array(
824
+ 'type' => 'string',
825
+ ),
826
+ 'StackName' => array(
827
+ 'type' => 'string',
828
+ ),
829
+ 'LogicalResourceId' => array(
830
+ 'type' => 'string',
831
+ ),
832
+ 'PhysicalResourceId' => array(
833
+ 'type' => 'string',
834
+ ),
835
+ 'ResourceType' => array(
836
+ 'type' => 'string',
837
+ ),
838
+ 'Timestamp' => array(
839
+ 'type' => 'string',
840
+ ),
841
+ 'ResourceStatus' => array(
842
+ 'type' => 'string',
843
+ ),
844
+ 'ResourceStatusReason' => array(
845
+ 'type' => 'string',
846
+ ),
847
+ 'ResourceProperties' => array(
848
+ 'type' => 'string',
849
+ ),
850
+ ),
851
+ ),
852
+ ),
853
+ 'NextToken' => array(
854
+ 'type' => 'string',
855
+ 'location' => 'xml',
856
+ ),
857
+ ),
858
+ ),
859
+ 'DescribeStackResourceOutput' => array(
860
+ 'type' => 'object',
861
+ 'additionalProperties' => true,
862
+ 'properties' => array(
863
+ 'StackResourceDetail' => array(
864
+ 'type' => 'object',
865
+ 'location' => 'xml',
866
+ 'properties' => array(
867
+ 'StackName' => array(
868
+ 'type' => 'string',
869
+ ),
870
+ 'StackId' => array(
871
+ 'type' => 'string',
872
+ ),
873
+ 'LogicalResourceId' => array(
874
+ 'type' => 'string',
875
+ ),
876
+ 'PhysicalResourceId' => array(
877
+ 'type' => 'string',
878
+ ),
879
+ 'ResourceType' => array(
880
+ 'type' => 'string',
881
+ ),
882
+ 'LastUpdatedTimestamp' => array(
883
+ 'type' => 'string',
884
+ ),
885
+ 'ResourceStatus' => array(
886
+ 'type' => 'string',
887
+ ),
888
+ 'ResourceStatusReason' => array(
889
+ 'type' => 'string',
890
+ ),
891
+ 'Description' => array(
892
+ 'type' => 'string',
893
+ ),
894
+ 'Metadata' => array(
895
+ 'type' => 'string',
896
+ ),
897
+ ),
898
+ ),
899
+ ),
900
+ ),
901
+ 'DescribeStackResourcesOutput' => array(
902
+ 'type' => 'object',
903
+ 'additionalProperties' => true,
904
+ 'properties' => array(
905
+ 'StackResources' => array(
906
+ 'type' => 'array',
907
+ 'location' => 'xml',
908
+ 'items' => array(
909
+ 'name' => 'StackResource',
910
+ 'type' => 'object',
911
+ 'sentAs' => 'member',
912
+ 'properties' => array(
913
+ 'StackName' => array(
914
+ 'type' => 'string',
915
+ ),
916
+ 'StackId' => array(
917
+ 'type' => 'string',
918
+ ),
919
+ 'LogicalResourceId' => array(
920
+ 'type' => 'string',
921
+ ),
922
+ 'PhysicalResourceId' => array(
923
+ 'type' => 'string',
924
+ ),
925
+ 'ResourceType' => array(
926
+ 'type' => 'string',
927
+ ),
928
+ 'Timestamp' => array(
929
+ 'type' => 'string',
930
+ ),
931
+ 'ResourceStatus' => array(
932
+ 'type' => 'string',
933
+ ),
934
+ 'ResourceStatusReason' => array(
935
+ 'type' => 'string',
936
+ ),
937
+ 'Description' => array(
938
+ 'type' => 'string',
939
+ ),
940
+ ),
941
+ ),
942
+ ),
943
+ ),
944
+ ),
945
+ 'DescribeStacksOutput' => array(
946
+ 'type' => 'object',
947
+ 'additionalProperties' => true,
948
+ 'properties' => array(
949
+ 'Stacks' => array(
950
+ 'type' => 'array',
951
+ 'location' => 'xml',
952
+ 'items' => array(
953
+ 'name' => 'Stack',
954
+ 'type' => 'object',
955
+ 'sentAs' => 'member',
956
+ 'properties' => array(
957
+ 'StackId' => array(
958
+ 'type' => 'string',
959
+ ),
960
+ 'StackName' => array(
961
+ 'type' => 'string',
962
+ ),
963
+ 'Description' => array(
964
+ 'type' => 'string',
965
+ ),
966
+ 'Parameters' => array(
967
+ 'type' => 'array',
968
+ 'items' => array(
969
+ 'name' => 'Parameter',
970
+ 'type' => 'object',
971
+ 'sentAs' => 'member',
972
+ 'properties' => array(
973
+ 'ParameterKey' => array(
974
+ 'type' => 'string',
975
+ ),
976
+ 'ParameterValue' => array(
977
+ 'type' => 'string',
978
+ ),
979
+ 'UsePreviousValue' => array(
980
+ 'type' => 'boolean',
981
+ ),
982
+ ),
983
+ ),
984
+ ),
985
+ 'CreationTime' => array(
986
+ 'type' => 'string',
987
+ ),
988
+ 'LastUpdatedTime' => array(
989
+ 'type' => 'string',
990
+ ),
991
+ 'StackStatus' => array(
992
+ 'type' => 'string',
993
+ ),
994
+ 'StackStatusReason' => array(
995
+ 'type' => 'string',
996
+ ),
997
+ 'DisableRollback' => array(
998
+ 'type' => 'boolean',
999
+ ),
1000
+ 'NotificationARNs' => array(
1001
+ 'type' => 'array',
1002
+ 'items' => array(
1003
+ 'name' => 'NotificationARN',
1004
+ 'type' => 'string',
1005
+ 'sentAs' => 'member',
1006
+ ),
1007
+ ),
1008
+ 'TimeoutInMinutes' => array(
1009
+ 'type' => 'numeric',
1010
+ ),
1011
+ 'Capabilities' => array(
1012
+ 'type' => 'array',
1013
+ 'items' => array(
1014
+ 'name' => 'Capability',
1015
+ 'type' => 'string',
1016
+ 'sentAs' => 'member',
1017
+ ),
1018
+ ),
1019
+ 'Outputs' => array(
1020
+ 'type' => 'array',
1021
+ 'items' => array(
1022
+ 'name' => 'Output',
1023
+ 'type' => 'object',
1024
+ 'sentAs' => 'member',
1025
+ 'properties' => array(
1026
+ 'OutputKey' => array(
1027
+ 'type' => 'string',
1028
+ ),
1029
+ 'OutputValue' => array(
1030
+ 'type' => 'string',
1031
+ ),
1032
+ 'Description' => array(
1033
+ 'type' => 'string',
1034
+ ),
1035
+ ),
1036
+ ),
1037
+ ),
1038
+ 'Tags' => array(
1039
+ 'type' => 'array',
1040
+ 'items' => array(
1041
+ 'name' => 'Tag',
1042
+ 'type' => 'object',
1043
+ 'sentAs' => 'member',
1044
+ 'properties' => array(
1045
+ 'Key' => array(
1046
+ 'type' => 'string',
1047
+ ),
1048
+ 'Value' => array(
1049
+ 'type' => 'string',
1050
+ ),
1051
+ ),
1052
+ ),
1053
+ ),
1054
+ ),
1055
+ ),
1056
+ ),
1057
+ 'NextToken' => array(
1058
+ 'type' => 'string',
1059
+ 'location' => 'xml',
1060
+ ),
1061
+ ),
1062
+ ),
1063
+ 'EstimateTemplateCostOutput' => array(
1064
+ 'type' => 'object',
1065
+ 'additionalProperties' => true,
1066
+ 'properties' => array(
1067
+ 'Url' => array(
1068
+ 'type' => 'string',
1069
+ 'location' => 'xml',
1070
+ ),
1071
+ ),
1072
+ ),
1073
+ 'GetStackPolicyOutput' => array(
1074
+ 'type' => 'object',
1075
+ 'additionalProperties' => true,
1076
+ 'properties' => array(
1077
+ 'StackPolicyBody' => array(
1078
+ 'type' => 'string',
1079
+ 'location' => 'xml',
1080
+ ),
1081
+ ),
1082
+ ),
1083
+ 'GetTemplateOutput' => array(
1084
+ 'type' => 'object',
1085
+ 'additionalProperties' => true,
1086
+ 'properties' => array(
1087
+ 'TemplateBody' => array(
1088
+ 'type' => 'string',
1089
+ 'location' => 'xml',
1090
+ ),
1091
+ ),
1092
+ ),
1093
+ 'GetTemplateSummaryOutput' => array(
1094
+ 'type' => 'object',
1095
+ 'additionalProperties' => true,
1096
+ 'properties' => array(
1097
+ 'Parameters' => array(
1098
+ 'type' => 'array',
1099
+ 'location' => 'xml',
1100
+ 'items' => array(
1101
+ 'name' => 'ParameterDeclaration',
1102
+ 'type' => 'object',
1103
+ 'sentAs' => 'member',
1104
+ 'properties' => array(
1105
+ 'ParameterKey' => array(
1106
+ 'type' => 'string',
1107
+ ),
1108
+ 'DefaultValue' => array(
1109
+ 'type' => 'string',
1110
+ ),
1111
+ 'ParameterType' => array(
1112
+ 'type' => 'string',
1113
+ ),
1114
+ 'NoEcho' => array(
1115
+ 'type' => 'boolean',
1116
+ ),
1117
+ 'Description' => array(
1118
+ 'type' => 'string',
1119
+ ),
1120
+ ),
1121
+ ),
1122
+ ),
1123
+ 'Description' => array(
1124
+ 'type' => 'string',
1125
+ 'location' => 'xml',
1126
+ ),
1127
+ 'Capabilities' => array(
1128
+ 'type' => 'array',
1129
+ 'location' => 'xml',
1130
+ 'items' => array(
1131
+ 'name' => 'Capability',
1132
+ 'type' => 'string',
1133
+ 'sentAs' => 'member',
1134
+ ),
1135
+ ),
1136
+ 'CapabilitiesReason' => array(
1137
+ 'type' => 'string',
1138
+ 'location' => 'xml',
1139
+ ),
1140
+ 'Version' => array(
1141
+ 'type' => 'string',
1142
+ 'location' => 'xml',
1143
+ ),
1144
+ ),
1145
+ ),
1146
+ 'ListStackResourcesOutput' => array(
1147
+ 'type' => 'object',
1148
+ 'additionalProperties' => true,
1149
+ 'properties' => array(
1150
+ 'StackResourceSummaries' => array(
1151
+ 'type' => 'array',
1152
+ 'location' => 'xml',
1153
+ 'items' => array(
1154
+ 'name' => 'StackResourceSummary',
1155
+ 'type' => 'object',
1156
+ 'sentAs' => 'member',
1157
+ 'properties' => array(
1158
+ 'LogicalResourceId' => array(
1159
+ 'type' => 'string',
1160
+ ),
1161
+ 'PhysicalResourceId' => array(
1162
+ 'type' => 'string',
1163
+ ),
1164
+ 'ResourceType' => array(
1165
+ 'type' => 'string',
1166
+ ),
1167
+ 'LastUpdatedTimestamp' => array(
1168
+ 'type' => 'string',
1169
+ ),
1170
+ 'ResourceStatus' => array(
1171
+ 'type' => 'string',
1172
+ ),
1173
+ 'ResourceStatusReason' => array(
1174
+ 'type' => 'string',
1175
+ ),
1176
+ ),
1177
+ ),
1178
+ ),
1179
+ 'NextToken' => array(
1180
+ 'type' => 'string',
1181
+ 'location' => 'xml',
1182
+ ),
1183
+ ),
1184
+ ),
1185
+ 'ListStacksOutput' => array(
1186
+ 'type' => 'object',
1187
+ 'additionalProperties' => true,
1188
+ 'properties' => array(
1189
+ 'StackSummaries' => array(
1190
+ 'type' => 'array',
1191
+ 'location' => 'xml',
1192
+ 'items' => array(
1193
+ 'name' => 'StackSummary',
1194
+ 'type' => 'object',
1195
+ 'sentAs' => 'member',
1196
+ 'properties' => array(
1197
+ 'StackId' => array(
1198
+ 'type' => 'string',
1199
+ ),
1200
+ 'StackName' => array(
1201
+ 'type' => 'string',
1202
+ ),
1203
+ 'TemplateDescription' => array(
1204
+ 'type' => 'string',
1205
+ ),
1206
+ 'CreationTime' => array(
1207
+ 'type' => 'string',
1208
+ ),
1209
+ 'LastUpdatedTime' => array(
1210
+ 'type' => 'string',
1211
+ ),
1212
+ 'DeletionTime' => array(
1213
+ 'type' => 'string',
1214
+ ),
1215
+ 'StackStatus' => array(
1216
+ 'type' => 'string',
1217
+ ),
1218
+ 'StackStatusReason' => array(
1219
+ 'type' => 'string',
1220
+ ),
1221
+ ),
1222
+ ),
1223
+ ),
1224
+ 'NextToken' => array(
1225
+ 'type' => 'string',
1226
+ 'location' => 'xml',
1227
+ ),
1228
+ ),
1229
+ ),
1230
+ 'UpdateStackOutput' => array(
1231
+ 'type' => 'object',
1232
+ 'additionalProperties' => true,
1233
+ 'properties' => array(
1234
+ 'StackId' => array(
1235
+ 'type' => 'string',
1236
+ 'location' => 'xml',
1237
+ ),
1238
+ ),
1239
+ ),
1240
+ 'ValidateTemplateOutput' => array(
1241
+ 'type' => 'object',
1242
+ 'additionalProperties' => true,
1243
+ 'properties' => array(
1244
+ 'Parameters' => array(
1245
+ 'type' => 'array',
1246
+ 'location' => 'xml',
1247
+ 'items' => array(
1248
+ 'name' => 'TemplateParameter',
1249
+ 'type' => 'object',
1250
+ 'sentAs' => 'member',
1251
+ 'properties' => array(
1252
+ 'ParameterKey' => array(
1253
+ 'type' => 'string',
1254
+ ),
1255
+ 'DefaultValue' => array(
1256
+ 'type' => 'string',
1257
+ ),
1258
+ 'NoEcho' => array(
1259
+ 'type' => 'boolean',
1260
+ ),
1261
+ 'Description' => array(
1262
+ 'type' => 'string',
1263
+ ),
1264
+ ),
1265
+ ),
1266
+ ),
1267
+ 'Description' => array(
1268
+ 'type' => 'string',
1269
+ 'location' => 'xml',
1270
+ ),
1271
+ 'Capabilities' => array(
1272
+ 'type' => 'array',
1273
+ 'location' => 'xml',
1274
+ 'items' => array(
1275
+ 'name' => 'Capability',
1276
+ 'type' => 'string',
1277
+ 'sentAs' => 'member',
1278
+ ),
1279
+ ),
1280
+ 'CapabilitiesReason' => array(
1281
+ 'type' => 'string',
1282
+ 'location' => 'xml',
1283
+ ),
1284
+ ),
1285
+ ),
1286
+ ),
1287
+ 'iterators' => array(
1288
+ 'DescribeStackEvents' => array(
1289
+ 'input_token' => 'NextToken',
1290
+ 'output_token' => 'NextToken',
1291
+ 'result_key' => 'StackEvents',
1292
+ ),
1293
+ 'DescribeStackResources' => array(
1294
+ 'result_key' => 'StackResources',
1295
+ ),
1296
+ 'DescribeStacks' => array(
1297
+ 'input_token' => 'NextToken',
1298
+ 'output_token' => 'NextToken',
1299
+ 'result_key' => 'Stacks',
1300
+ ),
1301
+ 'ListStackResources' => array(
1302
+ 'input_token' => 'NextToken',
1303
+ 'output_token' => 'NextToken',
1304
+ 'result_key' => 'StackResourceSummaries',
1305
+ ),
1306
+ 'ListStacks' => array(
1307
+ 'input_token' => 'NextToken',
1308
+ 'output_token' => 'NextToken',
1309
+ 'result_key' => 'StackSummaries',
1310
+ ),
1311
+ ),
1312
+ );
lib/Aws/Aws/CloudFront/CloudFrontClient.php ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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;
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\InvalidArgumentException;
23
+ use Aws\Common\Exception\Parser\DefaultXmlExceptionParser;
24
+ use Aws\Common\Exception\RequiredExtensionNotLoadedException;
25
+ use Guzzle\Common\Collection;
26
+ use Guzzle\Http\Url;
27
+ use Guzzle\Service\Resource\Model;
28
+ use Guzzle\Service\Resource\ResourceIteratorInterface;
29
+
30
+ /**
31
+ * Client to interact with Amazon CloudFront
32
+ *
33
+ * @method Model createCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront CreateCloudFrontOriginAccessIdentity}
34
+ * @method Model createDistribution(array $args = array()) {@command CloudFront CreateDistribution}
35
+ * @method Model createInvalidation(array $args = array()) {@command CloudFront CreateInvalidation}
36
+ * @method Model createStreamingDistribution(array $args = array()) {@command CloudFront CreateStreamingDistribution}
37
+ * @method Model deleteCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront DeleteCloudFrontOriginAccessIdentity}
38
+ * @method Model deleteDistribution(array $args = array()) {@command CloudFront DeleteDistribution}
39
+ * @method Model deleteStreamingDistribution(array $args = array()) {@command CloudFront DeleteStreamingDistribution}
40
+ * @method Model getCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentity}
41
+ * @method Model getCloudFrontOriginAccessIdentityConfig(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentityConfig}
42
+ * @method Model getDistribution(array $args = array()) {@command CloudFront GetDistribution}
43
+ * @method Model getDistributionConfig(array $args = array()) {@command CloudFront GetDistributionConfig}
44
+ * @method Model getInvalidation(array $args = array()) {@command CloudFront GetInvalidation}
45
+ * @method Model getStreamingDistribution(array $args = array()) {@command CloudFront GetStreamingDistribution}
46
+ * @method Model getStreamingDistributionConfig(array $args = array()) {@command CloudFront GetStreamingDistributionConfig}
47
+ * @method Model listCloudFrontOriginAccessIdentities(array $args = array()) {@command CloudFront ListCloudFrontOriginAccessIdentities}
48
+ * @method Model listDistributions(array $args = array()) {@command CloudFront ListDistributions}
49
+ * @method Model listInvalidations(array $args = array()) {@command CloudFront ListInvalidations}
50
+ * @method Model listStreamingDistributions(array $args = array()) {@command CloudFront ListStreamingDistributions}
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-10-21';
68
+
69
+ /**
70
+ * Factory method to create a new Amazon CloudFront client using an array of configuration options.
71
+ *
72
+ * CloudFront specific options (in addition to the default client configuration options):
73
+ * - key_pair_id: The ID of the key pair used to sign CloudFront URLs for private distributions.
74
+ * - private_key: The filepath ot the private key used to sign CloudFront URLs for private distributions.
75
+ *
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
+ {
83
+ // Decide which signature to use
84
+ if (isset($config[Options::VERSION]) && $config[Options::VERSION] < self::LATEST_API_VERSION) {
85
+ $config[Options::SIGNATURE] = new CloudFrontSignature();
86
+ }
87
+
88
+ // Instantiate the CloudFront client
89
+ return ClientBuilder::factory(__NAMESPACE__)
90
+ ->setConfig($config)
91
+ ->setConfigDefaults(array(
92
+ Options::VERSION => self::LATEST_API_VERSION,
93
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudfront-%s.php',
94
+ ))
95
+ ->setExceptionParser(new DefaultXmlExceptionParser())
96
+ ->build();
97
+ }
98
+
99
+ /**
100
+ * Create a signed URL. Keep in mind that URLs meant for use in media/flash players may have different requirements
101
+ * for URL formats (e.g. some require that the extension be removed, some require the file name to be prefixed -
102
+ * mp4:<path>, some require you to add "/cfx/st" into your URL). See
103
+ * http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/WorkingWithStreamingDistributions.html for
104
+ * additional details and help.
105
+ *
106
+ * This method accepts an array of configuration options:
107
+ * - url: (string) URL of the resource being signed (can include query string and wildcards). For example:
108
+ * rtmp://s5c39gqb8ow64r.cloudfront.net/videos/mp3_name.mp3
109
+ * http://d111111abcdef8.cloudfront.net/images/horizon.jpg?size=large&license=yes
110
+ * - policy: (string) JSON policy. Use this option when creating a signed URL for a custom policy.
111
+ * - expires: (int) UTC Unix timestamp used when signing with a canned policy. Not required when passing a
112
+ * custom 'policy' option.
113
+ * - key_pair_id: (string) The ID of the key pair used to sign CloudFront URLs for private distributions.
114
+ * - private_key: (string) The filepath ot the private key used to sign CloudFront URLs for private distributions.
115
+ *
116
+ * @param array $options Array of configuration options used when signing
117
+ *
118
+ * @return string The file URL with authentication parameters
119
+ * @throws InvalidArgumentException if key_pair_id and private_key have not been configured on the client
120
+ * @throws RequiredExtensionNotLoadedException if the openssl extension is not installed
121
+ * @link http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/WorkingWithStreamingDistributions.html
122
+ */
123
+ public function getSignedUrl(array $options)
124
+ {
125
+ if (!extension_loaded('openssl')) {
126
+ //@codeCoverageIgnoreStart
127
+ throw new RequiredExtensionNotLoadedException('The openssl extension is required to sign CloudFront urls.');
128
+ //@codeCoverageIgnoreEnd
129
+ }
130
+
131
+ // Initialize the configuration data and ensure that the url was specified
132
+ $options = Collection::fromConfig($options, array_filter(array(
133
+ 'key_pair_id' => $this->getConfig('key_pair_id'),
134
+ 'private_key' => $this->getConfig('private_key'),
135
+ )), array('url', 'key_pair_id', 'private_key'));
136
+
137
+ // Determine the scheme of the url
138
+ $urlSections = explode('://', $options['url']);
139
+ if (count($urlSections) < 2) {
140
+ throw new InvalidArgumentException('Invalid URL: ' . $options['url']);
141
+ }
142
+
143
+ // Get the real scheme by removing wildcards from the scheme
144
+ $scheme = str_replace('*', '', $urlSections[0]);
145
+ $policy = $options['policy'] ?: $this->createCannedPolicy($scheme, $options['url'], $options['expires']);
146
+ // Strip whitespace from the policy
147
+ $policy = str_replace(' ', '', $policy);
148
+
149
+ $url = Url::factory($scheme . '://' . $urlSections[1]);
150
+ if ($options['policy']) {
151
+ // Custom policies require that the encoded policy be specified in the URL
152
+ $url->getQuery()->set('Policy', strtr(base64_encode($policy), '+=/', '-_~'));
153
+ } else {
154
+ // Canned policies require that the Expires parameter be set in the URL
155
+ $url->getQuery()->set('Expires', $options['expires']);
156
+ }
157
+
158
+ // Sign the policy using the CloudFront private key
159
+ $signedPolicy = $this->rsaSha1Sign($policy, $options['private_key']);
160
+ // Remove whitespace, base64 encode the policy, and replace special characters
161
+ $signedPolicy = strtr(base64_encode($signedPolicy), '+=/', '-_~');
162
+
163
+ $url->getQuery()
164
+ ->set('Signature', $signedPolicy)
165
+ ->set('Key-Pair-Id', $options['key_pair_id']);
166
+
167
+ if ($scheme != 'rtmp') {
168
+ // HTTP and HTTPS signed URLs include the full URL
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
+ }
176
+ }
177
+
178
+ /**
179
+ * Sign a policy string using OpenSSL RSA SHA1
180
+ *
181
+ * @param string $policy Policy to sign
182
+ * @param string $privateKeyFilename File containing the OpenSSL private key
183
+ *
184
+ * @return string
185
+ */
186
+ protected function rsaSha1Sign($policy, $privateKeyFilename)
187
+ {
188
+ $signature = '';
189
+ openssl_sign($policy, $signature, file_get_contents($privateKeyFilename));
190
+
191
+ return $signature;
192
+ }
193
+
194
+ /**
195
+ * Create a canned policy for a particular URL and expiration
196
+ *
197
+ * @param string $scheme Parsed scheme without wildcards
198
+ * @param string $url URL that is being signed
199
+ * @param int $expires Time in which the signature expires
200
+ *
201
+ * @return string
202
+ * @throws InvalidArgumentException if the expiration is not set
203
+ */
204
+ protected function createCannedPolicy($scheme, $url, $expires)
205
+ {
206
+ if (!$expires) {
207
+ throw new InvalidArgumentException('An expires option is required when using a canned policy');
208
+ }
209
+
210
+ // Generate a canned policy
211
+ if ($scheme == 'http' || $scheme == 'https') {
212
+ $resource = $url;
213
+ } elseif ($scheme == 'rtmp') {
214
+ $parts = parse_url($url);
215
+ $pathParts = pathinfo($parts['path']);
216
+ // Add path leading to file, strip file extension, and add a query string if present
217
+ $resource = ltrim($pathParts['dirname'] . '/' . $pathParts['basename'], '/')
218
+ . (isset($parts['query']) ? "?{$parts['query']}" : '');
219
+ } else {
220
+ throw new InvalidArgumentException("Invalid URI scheme: {$scheme}. Must be one of http or rtmp.");
221
+ }
222
+
223
+ return sprintf(
224
+ '{"Statement":[{"Resource":"%s","Condition":{"DateLessThan":{"AWS:EpochTime":%d}}}]}',
225
+ $resource,
226
+ $expires
227
+ );
228
+ }
229
+ }
lib/Aws/Aws/CloudFront/CloudFrontSignature.php ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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;
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}
32
+ */
33
+ public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
34
+ {
35
+ // Add a date header if one is not set
36
+ if (!$request->hasHeader('date') && !$request->hasHeader('x-amz-date')) {
37
+ $request->setHeader('Date', gmdate(DateFormat::RFC2822));
38
+ }
39
+
40
+ $stringToSign = (string) $request->getHeader('Date') ?: (string) $request->getHeader('x-amz-date');
41
+ $request->getParams()->set('aws.string_to_sign', $stringToSign);
42
+
43
+ $request->setHeader(
44
+ 'Authorization',
45
+ 'AWS ' . $credentials->getAccessKeyId() . ':' . $this->signString($stringToSign, $credentials)
46
+ );
47
+ }
48
+
49
+ /**
50
+ * Sign a signature string by applying SHA-1 HMAC hashing.
51
+ *
52
+ * @param string $string The signature string to hash.
53
+ * @param CredentialsInterface $credentials Signing credentials.
54
+ *
55
+ * @return string The hashed signature string.
56
+ */
57
+ public function signString($string, CredentialsInterface $credentials)
58
+ {
59
+ return base64_encode(hash_hmac('sha1', $string, $credentials->getSecretKey(), true));
60
+ }
61
+ }
lib/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
+ }
lib/Aws/Aws/CloudFront/Enum/ItemSelection.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 ItemSelection values
23
+ */
24
+ class ItemSelection extends Enum
25
+ {
26
+ const NONE = 'none';
27
+ const WHITELIST = 'whitelist';
28
+ const ALL = 'all';
29
+ }
lib/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
+ }
lib/Aws/Aws/CloudFront/Enum/OriginProtocolPolicy.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 OriginProtocolPolicy values
23
+ */
24
+ class OriginProtocolPolicy extends Enum
25
+ {
26
+ const HTTP_ONLY = 'http-only';
27
+ const MATCH_VIEWER = 'match-viewer';
28
+ }
lib/Aws/Aws/CloudFront/Enum/PriceClass.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 PriceClass values
23
+ */
24
+ class PriceClass extends Enum
25
+ {
26
+ const PRICE_CLASS_100 = 'PriceClass_100';
27
+ const PRICE_CLASS_200 = 'PriceClass_200';
28
+ const PRICE_CLASS_ALL = 'PriceClass_All';
29
+ }
lib/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
+ }
lib/Aws/Aws/CloudFront/Enum/ViewerProtocolPolicy.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 ViewerProtocolPolicy values
23
+ */
24
+ class ViewerProtocolPolicy extends Enum
25
+ {
26
+ const ALLOW_ALL = 'allow-all';
27
+ const HTTPS_ONLY = 'https-only';
28
+ const REDIRECT_TO_HTTPS = 'redirect-to-https';
29
+ }
lib/Aws/Aws/CloudFront/Exception/AccessDeniedException.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
+ * Access denied.
21
+ */
22
+ class AccessDeniedException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/BatchTooLargeException.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 BatchTooLargeException error is encountered
21
+ */
22
+ class BatchTooLargeException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/CNAMEAlreadyExistsException.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 CNAMEAlreadyExistsException error is encountered
21
+ */
22
+ class CNAMEAlreadyExistsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/CloudFrontException.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\CloudFront\Exception;
18
+
19
+ use Aws\Common\Exception\ServiceResponseException;
20
+
21
+ /**
22
+ * Default service exception class
23
+ */
24
+ class CloudFrontException extends ServiceResponseException {}
lib/Aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityAlreadyExistsException.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
+ * If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.
21
+ */
22
+ class CloudFrontOriginAccessIdentityAlreadyExistsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityInUseException.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 CloudFrontOriginAccessIdentityInUseException error is encountered
21
+ */
22
+ class CloudFrontOriginAccessIdentityInUseException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/DistributionAlreadyExistsException.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 caller reference you attempted to create the distribution with is associated with another distribution.
21
+ */
22
+ class DistributionAlreadyExistsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/DistributionNotDisabledException.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 DistributionNotDisabledException error is encountered
21
+ */
22
+ class DistributionNotDisabledException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/Exception.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\CloudFront\Exception;
18
+
19
+ use Aws\Common\Exception\ServiceResponseException;
20
+
21
+ /**
22
+ * Default service exception class
23
+ */
24
+ class Exception extends ServiceResponseException {}
lib/Aws/Aws/CloudFront/Exception/IllegalUpdateException.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
+ * Origin and CallerReference cannot be updated.
21
+ */
22
+ class IllegalUpdateException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/InconsistentQuantitiesException.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 value of Quantity and the size of Items do not match.
21
+ */
22
+ class InconsistentQuantitiesException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/InvalidArgumentException.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 argument is invalid.
21
+ */
22
+ class InvalidArgumentException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/InvalidDefaultRootObjectException.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 default root object file name is too big or contains an invalid character.
21
+ */
22
+ class InvalidDefaultRootObjectException extends CloudFrontException {}
lib/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 {}
lib/Aws/Aws/CloudFront/Exception/InvalidForwardCookiesException.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
+ * 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.
21
+ */
22
+ class InvalidForwardCookiesException extends CloudFrontException {}
lib/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 {}
lib/Aws/Aws/CloudFront/Exception/InvalidIfMatchVersionException.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 If-Match version is missing or not valid for the distribution.
21
+ */
22
+ class InvalidIfMatchVersionException extends CloudFrontException {}
lib/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 {}
lib/Aws/Aws/CloudFront/Exception/InvalidOriginAccessIdentityException.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 origin access identity is not valid or doesn't exist.
21
+ */
22
+ class InvalidOriginAccessIdentityException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/InvalidOriginException.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 Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
21
+ */
22
+ class InvalidOriginException extends CloudFrontException {}
lib/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 {}
lib/Aws/Aws/CloudFront/Exception/InvalidRequiredProtocolException.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
+ * This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.
21
+ */
22
+ class InvalidRequiredProtocolException extends CloudFrontException {}
lib/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 {}
lib/Aws/Aws/CloudFront/Exception/InvalidViewerCertificateException.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 InvalidViewerCertificateException error is encountered
21
+ */
22
+ class InvalidViewerCertificateException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/MissingBodyException.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
+ * This operation requires a body. Ensure that the body is present and the Content-Type header is set.
21
+ */
22
+ class MissingBodyException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/NoSuchCloudFrontOriginAccessIdentityException.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 specified origin access identity does not exist.
21
+ */
22
+ class NoSuchCloudFrontOriginAccessIdentityException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/NoSuchDistributionException.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 specified distribution does not exist.
21
+ */
22
+ class NoSuchDistributionException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/NoSuchInvalidationException.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 specified invalidation does not exist.
21
+ */
22
+ class NoSuchInvalidationException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/NoSuchOriginException.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
+ * No origin exists with the specified Origin Id.
21
+ */
22
+ class NoSuchOriginException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/NoSuchStreamingDistributionException.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 specified streaming distribution does not exist.
21
+ */
22
+ class NoSuchStreamingDistributionException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/PreconditionFailedException.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 precondition given in one or more of the request-header fields evaluated to false.
21
+ */
22
+ class PreconditionFailedException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/StreamingDistributionAlreadyExistsException.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 StreamingDistributionAlreadyExistsException error is encountered
21
+ */
22
+ class StreamingDistributionAlreadyExistsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/StreamingDistributionNotDisabledException.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 StreamingDistributionNotDisabledException error is encountered
21
+ */
22
+ class StreamingDistributionNotDisabledException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyCacheBehaviorsException.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
+ * You cannot create anymore cache behaviors for the distribution.
21
+ */
22
+ class TooManyCacheBehaviorsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyCertificatesException.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
+ * You cannot create anymore custom ssl certificates.
21
+ */
22
+ class TooManyCertificatesException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyCloudFrontOriginAccessIdentitiesException.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
+ * Processing your request would cause you to exceed the maximum number of origin access identities allowed.
21
+ */
22
+ class TooManyCloudFrontOriginAccessIdentitiesException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyCookieNamesInWhiteListException.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
+ * Your request contains more cookie names in the whitelist than are allowed per cache behavior.
21
+ */
22
+ class TooManyCookieNamesInWhiteListException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyDistributionCNAMEsException.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
+ * Your request contains more CNAMEs than are allowed per distribution.
21
+ */
22
+ class TooManyDistributionCNAMEsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyDistributionsException.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
+ * Processing your request would cause you to exceed the maximum number of distributions allowed.
21
+ */
22
+ class TooManyDistributionsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyInvalidationsInProgressException.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
+ * You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.
21
+ */
22
+ class TooManyInvalidationsInProgressException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyOriginsException.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
+ * You cannot create anymore origins for the distribution.
21
+ */
22
+ class TooManyOriginsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyStreamingDistributionCNAMEsException.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 TooManyStreamingDistributionCNAMEsException error is encountered
21
+ */
22
+ class TooManyStreamingDistributionCNAMEsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyStreamingDistributionsException.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
+ * Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
21
+ */
22
+ class TooManyStreamingDistributionsException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TooManyTrustedSignersException.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
+ * Your request contains more trusted signers than are allowed per distribution.
21
+ */
22
+ class TooManyTrustedSignersException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Exception/TrustedSignerDoesNotExistException.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
+ * One or more of your trusted signers do not exist.
21
+ */
22
+ class TrustedSignerDoesNotExistException extends CloudFrontException {}
lib/Aws/Aws/CloudFront/Resources/cloudfront-2012-05-05.php ADDED
@@ -0,0 +1,4609 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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' => '2012-05-05',
19
+ 'endpointPrefix' => 'cloudfront',
20
+ 'serviceFullName' => 'Amazon CloudFront',
21
+ 'serviceAbbreviation' => 'CloudFront',
22
+ 'serviceType' => 'rest-xml',
23
+ 'globalEndpoint' => 'cloudfront.amazonaws.com',
24
+ 'signatureVersion' => 'cloudfront',
25
+ 'namespace' => 'CloudFront',
26
+ 'regions' => array(
27
+ 'us-east-1' => array(
28
+ 'http' => true,
29
+ 'https' => true,
30
+ 'hostname' => 'cloudfront.amazonaws.com',
31
+ ),
32
+ 'us-west-1' => array(
33
+ 'http' => true,
34
+ 'https' => true,
35
+ 'hostname' => 'cloudfront.amazonaws.com',
36
+ ),
37
+ 'us-west-2' => array(
38
+ 'http' => true,
39
+ 'https' => true,
40
+ 'hostname' => 'cloudfront.amazonaws.com',
41
+ ),
42
+ 'eu-west-1' => array(
43
+ 'http' => true,
44
+ 'https' => true,
45
+ 'hostname' => 'cloudfront.amazonaws.com',
46
+ ),
47
+ 'ap-northeast-1' => array(
48
+ 'http' => true,
49
+ 'https' => true,
50
+ 'hostname' => 'cloudfront.amazonaws.com',
51
+ ),
52
+ 'ap-southeast-1' => array(
53
+ 'http' => true,
54
+ 'https' => true,
55
+ 'hostname' => 'cloudfront.amazonaws.com',
56
+ ),
57
+ 'ap-southeast-2' => array(
58
+ 'http' => true,
59
+ 'https' => true,
60
+ 'hostname' => 'cloudfront.amazonaws.com',
61
+ ),
62
+ 'sa-east-1' => array(
63
+ 'http' => true,
64
+ 'https' => true,
65
+ 'hostname' => 'cloudfront.amazonaws.com',
66
+ ),
67
+ ),
68
+ 'operations' => array(
69
+ 'CreateCloudFrontOriginAccessIdentity' => array(
70
+ 'httpMethod' => 'POST',
71
+ 'uri' => '/2012-05-05/origin-access-identity/cloudfront',
72
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
73
+ 'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult',
74
+ 'responseType' => 'model',
75
+ 'summary' => 'Create a new origin access identity.',
76
+ 'data' => array(
77
+ 'xmlRoot' => array(
78
+ 'name' => 'CloudFrontOriginAccessIdentityConfig',
79
+ 'namespaces' => array(
80
+ 'http://cloudfront.amazonaws.com/doc/2012-05-05/',
81
+ ),
82
+ ),
83
+ ),
84
+ 'parameters' => array(
85
+ 'CallerReference' => array(
86
+ 'required' => true,
87
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
88
+ 'type' => 'string',
89
+ 'location' => 'xml',
90
+ ),
91
+ 'Comment' => array(
92
+ 'required' => true,
93
+ 'description' => 'Any comments you want to include about the origin access identity.',
94
+ 'type' => 'string',
95
+ 'location' => 'xml',
96
+ ),
97
+ 'command.expects' => array(
98
+ 'static' => true,
99
+ 'default' => 'application/xml',
100
+ ),
101
+ ),
102
+ 'errorResponses' => array(
103
+ array(
104
+ 'class' => 'CloudFrontOriginAccessIdentityAlreadyExistsException',
105
+ ),
106
+ array(
107
+ 'class' => 'MissingBodyException',
108
+ ),
109
+ array(
110
+ 'class' => 'TooManyCloudFrontOriginAccessIdentitiesException',
111
+ ),
112
+ array(
113
+ 'class' => 'InvalidArgumentException',
114
+ ),
115
+ array(
116
+ 'class' => 'InconsistentQuantitiesException',
117
+ ),
118
+ ),
119
+ ),
120
+ 'CreateDistribution' => array(
121
+ 'httpMethod' => 'POST',
122
+ 'uri' => '/2012-05-05/distribution',
123
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
124
+ 'responseClass' => 'CreateDistributionResult',
125
+ 'responseType' => 'model',
126
+ 'summary' => 'Create a new distribution.',
127
+ 'data' => array(
128
+ 'xmlRoot' => array(
129
+ 'name' => 'DistributionConfig',
130
+ 'namespaces' => array(
131
+ 'http://cloudfront.amazonaws.com/doc/2012-05-05/',
132
+ ),
133
+ ),
134
+ ),
135
+ 'parameters' => array(
136
+ 'CallerReference' => array(
137
+ 'required' => true,
138
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
139
+ 'type' => 'string',
140
+ 'location' => 'xml',
141
+ ),
142
+ 'Aliases' => array(
143
+ 'required' => true,
144
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
145
+ 'type' => 'object',
146
+ 'location' => 'xml',
147
+ 'properties' => array(
148
+ 'Quantity' => array(
149
+ 'required' => true,
150
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
151
+ 'type' => 'numeric',
152
+ ),
153
+ 'Items' => array(
154
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
155
+ 'type' => 'array',
156
+ 'items' => array(
157
+ 'name' => 'CNAME',
158
+ 'type' => 'string',
159
+ ),
160
+ ),
161
+ ),
162
+ ),
163
+ 'DefaultRootObject' => array(
164
+ 'required' => true,
165
+ 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
166
+ 'type' => 'string',
167
+ 'location' => 'xml',
168
+ ),
169
+ 'Origins' => array(
170
+ 'required' => true,
171
+ 'description' => 'A complex type that contains information about origins for this distribution.',
172
+ 'type' => 'object',
173
+ 'location' => 'xml',
174
+ 'properties' => array(
175
+ 'Quantity' => array(
176
+ 'required' => true,
177
+ 'description' => 'The number of origins for this distribution.',
178
+ 'type' => 'numeric',
179
+ ),
180
+ 'Items' => array(
181
+ 'description' => 'A complex type that contains origins for this distribution.',
182
+ 'type' => 'array',
183
+ 'minItems' => 1,
184
+ 'items' => array(
185
+ 'name' => 'Origin',
186
+ 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
187
+ 'type' => 'object',
188
+ 'properties' => array(
189
+ 'Id' => array(
190
+ 'required' => true,
191
+ 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
192
+ 'type' => 'string',
193
+ ),
194
+ 'DomainName' => array(
195
+ 'required' => true,
196
+ 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
197
+ 'type' => 'string',
198
+ ),
199
+ 'S3OriginConfig' => array(
200
+ 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
201
+ 'type' => 'object',
202
+ 'properties' => array(
203
+ 'OriginAccessIdentity' => array(
204
+ 'required' => true,
205
+ 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
206
+ 'type' => 'string',
207
+ ),
208
+ ),
209
+ ),
210
+ 'CustomOriginConfig' => array(
211
+ 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
212
+ 'type' => 'object',
213
+ 'properties' => array(
214
+ 'HTTPPort' => array(
215
+ 'required' => true,
216
+ 'description' => 'The HTTP port the custom origin listens on.',
217
+ 'type' => 'numeric',
218
+ ),
219
+ 'HTTPSPort' => array(
220
+ 'required' => true,
221
+ 'description' => 'The HTTPS port the custom origin listens on.',
222
+ 'type' => 'numeric',
223
+ ),
224
+ 'OriginProtocolPolicy' => array(
225
+ 'required' => true,
226
+ 'description' => 'The origin protocol policy to apply to your origin.',
227
+ 'type' => 'string',
228
+ 'enum' => array(
229
+ 'http-only',
230
+ 'match-viewer',
231
+ ),
232
+ ),
233
+ ),
234
+ ),
235
+ ),
236
+ ),
237
+ ),
238
+ ),
239
+ ),
240
+ 'DefaultCacheBehavior' => array(
241
+ 'required' => true,
242
+ 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
243
+ 'type' => 'object',
244
+ 'location' => 'xml',
245
+ 'properties' => array(
246
+ 'TargetOriginId' => array(
247
+ 'required' => true,
248
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
249
+ 'type' => 'string',
250
+ ),
251
+ 'ForwardedValues' => array(
252
+ 'required' => true,
253
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
254
+ 'type' => 'object',
255
+ 'properties' => array(
256
+ 'QueryString' => array(
257
+ 'required' => true,
258
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
259
+ 'type' => 'boolean',
260
+ 'format' => 'boolean-string',
261
+ ),
262
+ ),
263
+ ),
264
+ 'TrustedSigners' => array(
265
+ 'required' => true,
266
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
267
+ 'type' => 'object',
268
+ 'properties' => array(
269
+ 'Enabled' => array(
270
+ 'required' => true,
271
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
272
+ 'type' => 'boolean',
273
+ 'format' => 'boolean-string',
274
+ ),
275
+ 'Quantity' => array(
276
+ 'required' => true,
277
+ 'description' => 'The number of trusted signers for this cache behavior.',
278
+ 'type' => 'numeric',
279
+ ),
280
+ 'Items' => array(
281
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
282
+ 'type' => 'array',
283
+ 'items' => array(
284
+ 'name' => 'AwsAccountNumber',
285
+ 'type' => 'string',
286
+ ),
287
+ ),
288
+ ),
289
+ ),
290
+ 'ViewerProtocolPolicy' => array(
291
+ 'required' => true,
292
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
293
+ 'type' => 'string',
294
+ 'enum' => array(
295
+ 'allow-all',
296
+ 'https-only',
297
+ ),
298
+ ),
299
+ 'MinTTL' => array(
300
+ 'required' => true,
301
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
302
+ 'type' => 'numeric',
303
+ ),
304
+ ),
305
+ ),
306
+ 'CacheBehaviors' => array(
307
+ 'required' => true,
308
+ 'description' => 'A complex type that contains zero or more CacheBehavior elements.',
309
+ 'type' => 'object',
310
+ 'location' => 'xml',
311
+ 'properties' => array(
312
+ 'Quantity' => array(
313
+ 'required' => true,
314
+ 'description' => 'The number of cache behaviors for this distribution.',
315
+ 'type' => 'numeric',
316
+ ),
317
+ 'Items' => array(
318
+ 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
319
+ 'type' => 'array',
320
+ 'items' => array(
321
+ 'name' => 'CacheBehavior',
322
+ 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
323
+ 'type' => 'object',
324
+ 'properties' => array(
325
+ 'PathPattern' => array(
326
+ 'required' => true,
327
+ 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
328
+ 'type' => 'string',
329
+ ),
330
+ 'TargetOriginId' => array(
331
+ 'required' => true,
332
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
333
+ 'type' => 'string',
334
+ ),
335
+ 'ForwardedValues' => array(
336
+ 'required' => true,
337
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
338
+ 'type' => 'object',
339
+ 'properties' => array(
340
+ 'QueryString' => array(
341
+ 'required' => true,
342
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
343
+ 'type' => 'boolean',
344
+ 'format' => 'boolean-string',
345
+ ),
346
+ ),
347
+ ),
348
+ 'TrustedSigners' => array(
349
+ 'required' => true,
350
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
351
+ 'type' => 'object',
352
+ 'properties' => array(
353
+ 'Enabled' => array(
354
+ 'required' => true,
355
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
356
+ 'type' => 'boolean',
357
+ 'format' => 'boolean-string',
358
+ ),
359
+ 'Quantity' => array(
360
+ 'required' => true,
361
+ 'description' => 'The number of trusted signers for this cache behavior.',
362
+ 'type' => 'numeric',
363
+ ),
364
+ 'Items' => array(
365
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
366
+ 'type' => 'array',
367
+ 'items' => array(
368
+ 'name' => 'AwsAccountNumber',
369
+ 'type' => 'string',
370
+ ),
371
+ ),
372
+ ),
373
+ ),
374
+ 'ViewerProtocolPolicy' => array(
375
+ 'required' => true,
376
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
377
+ 'type' => 'string',
378
+ 'enum' => array(
379
+ 'allow-all',
380
+ 'https-only',
381
+ ),
382
+ ),
383
+ 'MinTTL' => array(
384
+ 'required' => true,
385
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
386
+ 'type' => 'numeric',
387
+ ),
388
+ ),
389
+ ),
390
+ ),
391
+ ),
392
+ ),
393
+ 'Comment' => array(
394
+ 'required' => true,
395
+ 'description' => 'Any comments you want to include about the distribution.',
396
+ 'type' => 'string',
397
+ 'location' => 'xml',
398
+ ),
399
+ 'Logging' => array(
400
+ 'required' => true,
401
+ 'description' => 'A complex type that controls whether access logs are written for the distribution.',
402
+ 'type' => 'object',
403
+ 'location' => 'xml',
404
+ 'properties' => array(
405
+ 'Enabled' => array(
406
+ 'required' => true,
407
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
408
+ 'type' => 'boolean',
409
+ 'format' => 'boolean-string',
410
+ ),
411
+ 'Bucket' => array(
412
+ 'required' => true,
413
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
414
+ 'type' => 'string',
415
+ ),
416
+ 'Prefix' => array(
417
+ 'required' => true,
418
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
419
+ 'type' => 'string',
420
+ ),
421
+ ),
422
+ ),
423
+ 'Enabled' => array(
424
+ 'required' => true,
425
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
426
+ 'type' => 'boolean',
427
+ 'format' => 'boolean-string',
428
+ 'location' => 'xml',
429
+ ),
430
+ 'command.expects' => array(
431
+ 'static' => true,
432
+ 'default' => 'application/xml',
433
+ ),
434
+ ),
435
+ 'errorResponses' => array(
436
+ array(
437
+ 'class' => 'CNAMEAlreadyExistsException',
438
+ ),
439
+ array(
440
+ 'class' => 'DistributionAlreadyExistsException',
441
+ ),
442
+ array(
443
+ 'class' => 'InvalidOriginException',
444
+ ),
445
+ array(
446
+ 'class' => 'InvalidOriginAccessIdentityException',
447
+ ),
448
+ array(
449
+ 'class' => 'AccessDeniedException',
450
+ ),
451
+ array(
452
+ 'class' => 'TooManyTrustedSignersException',
453
+ ),
454
+ array(
455
+ 'class' => 'TrustedSignerDoesNotExistException',
456
+ ),
457
+ array(
458
+ 'class' => 'MissingBodyException',
459
+ ),
460
+ array(
461
+ 'class' => 'TooManyDistributionCNAMEsException',
462
+ ),
463
+ array(
464
+ 'class' => 'TooManyDistributionsException',
465
+ ),
466
+ array(
467
+ 'class' => 'InvalidDefaultRootObjectException',
468
+ ),
469
+ array(
470
+ 'class' => 'InvalidArgumentException',
471
+ ),
472
+ array(
473
+ 'class' => 'InvalidRequiredProtocolException',
474
+ ),
475
+ array(
476
+ 'class' => 'NoSuchOriginException',
477
+ ),
478
+ array(
479
+ 'class' => 'TooManyOriginsException',
480
+ ),
481
+ array(
482
+ 'class' => 'TooManyCacheBehaviorsException',
483
+ ),
484
+ array(
485
+ 'class' => 'InconsistentQuantitiesException',
486
+ ),
487
+ ),
488
+ ),
489
+ 'CreateInvalidation' => array(
490
+ 'httpMethod' => 'POST',
491
+ 'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation',
492
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
493
+ 'responseClass' => 'CreateInvalidationResult',
494
+ 'responseType' => 'model',
495
+ 'summary' => 'Create a new invalidation.',
496
+ 'data' => array(
497
+ 'xmlRoot' => array(
498
+ 'name' => 'InvalidationBatch',
499
+ 'namespaces' => array(
500
+ 'http://cloudfront.amazonaws.com/doc/2012-05-05/',
501
+ ),
502
+ ),
503
+ ),
504
+ 'parameters' => array(
505
+ 'DistributionId' => array(
506
+ 'required' => true,
507
+ 'description' => 'The distribution\'s id.',
508
+ 'type' => 'string',
509
+ 'location' => 'uri',
510
+ ),
511
+ 'Paths' => array(
512
+ 'required' => true,
513
+ 'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.',
514
+ 'type' => 'object',
515
+ 'location' => 'xml',
516
+ 'properties' => array(
517
+ 'Quantity' => array(
518
+ 'required' => true,
519
+ 'description' => 'The number of objects that you want to invalidate.',
520
+ 'type' => 'numeric',
521
+ ),
522
+ 'Items' => array(
523
+ 'description' => 'A complex type that contains a list of the objects that you want to invalidate.',
524
+ 'type' => 'array',
525
+ 'items' => array(
526
+ 'name' => 'Path',
527
+ 'type' => 'string',
528
+ ),
529
+ ),
530
+ ),
531
+ ),
532
+ 'CallerReference' => array(
533
+ 'required' => true,
534
+ 'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.',
535
+ 'type' => 'string',
536
+ 'location' => 'xml',
537
+ ),
538
+ 'command.expects' => array(
539
+ 'static' => true,
540
+ 'default' => 'application/xml',
541
+ ),
542
+ ),
543
+ 'errorResponses' => array(
544
+ array(
545
+ 'class' => 'AccessDeniedException',
546
+ ),
547
+ array(
548
+ 'class' => 'MissingBodyException',
549
+ ),
550
+ array(
551
+ 'class' => 'InvalidArgumentException',
552
+ ),
553
+ array(
554
+ 'class' => 'NoSuchDistributionException',
555
+ ),
556
+ array(
557
+ 'class' => 'BatchTooLargeException',
558
+ ),
559
+ array(
560
+ 'class' => 'TooManyInvalidationsInProgressException',
561
+ ),
562
+ array(
563
+ 'class' => 'InconsistentQuantitiesException',
564
+ ),
565
+ ),
566
+ ),
567
+ 'CreateStreamingDistribution' => array(
568
+ 'httpMethod' => 'POST',
569
+ 'uri' => '/2012-05-05/streaming-distribution',
570
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
571
+ 'responseClass' => 'CreateStreamingDistributionResult',
572
+ 'responseType' => 'model',
573
+ 'summary' => 'Create a new streaming distribution.',
574
+ 'data' => array(
575
+ 'xmlRoot' => array(
576
+ 'name' => 'StreamingDistributionConfig',
577
+ 'namespaces' => array(
578
+ 'http://cloudfront.amazonaws.com/doc/2012-05-05/',
579
+ ),
580
+ ),
581
+ ),
582
+ 'parameters' => array(
583
+ 'CallerReference' => array(
584
+ 'required' => true,
585
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
586
+ 'type' => 'string',
587
+ 'location' => 'xml',
588
+ ),
589
+ 'S3Origin' => array(
590
+ 'required' => true,
591
+ 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
592
+ 'type' => 'object',
593
+ 'location' => 'xml',
594
+ 'properties' => array(
595
+ 'DomainName' => array(
596
+ 'required' => true,
597
+ 'description' => 'The DNS name of the S3 origin.',
598
+ 'type' => 'string',
599
+ ),
600
+ 'OriginAccessIdentity' => array(
601
+ 'required' => true,
602
+ 'description' => 'Your S3 origin\'s origin access identity.',
603
+ 'type' => 'string',
604
+ ),
605
+ ),
606
+ ),
607
+ 'Aliases' => array(
608
+ 'required' => true,
609
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
610
+ 'type' => 'object',
611
+ 'location' => 'xml',
612
+ 'properties' => array(
613
+ 'Quantity' => array(
614
+ 'required' => true,
615
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
616
+ 'type' => 'numeric',
617
+ ),
618
+ 'Items' => array(
619
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
620
+ 'type' => 'array',
621
+ 'items' => array(
622
+ 'name' => 'CNAME',
623
+ 'type' => 'string',
624
+ ),
625
+ ),
626
+ ),
627
+ ),
628
+ 'Comment' => array(
629
+ 'required' => true,
630
+ 'description' => 'Any comments you want to include about the streaming distribution.',
631
+ 'type' => 'string',
632
+ 'location' => 'xml',
633
+ ),
634
+ 'Logging' => array(
635
+ 'required' => true,
636
+ 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
637
+ 'type' => 'object',
638
+ 'location' => 'xml',
639
+ 'properties' => array(
640
+ 'Enabled' => array(
641
+ 'required' => true,
642
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
643
+ 'type' => 'boolean',
644
+ 'format' => 'boolean-string',
645
+ ),
646
+ 'Bucket' => array(
647
+ 'required' => true,
648
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
649
+ 'type' => 'string',
650
+ ),
651
+ 'Prefix' => array(
652
+ 'required' => true,
653
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
654
+ 'type' => 'string',
655
+ ),
656
+ ),
657
+ ),
658
+ 'TrustedSigners' => array(
659
+ 'required' => true,
660
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
661
+ 'type' => 'object',
662
+ 'location' => 'xml',
663
+ 'properties' => array(
664
+ 'Enabled' => array(
665
+ 'required' => true,
666
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
667
+ 'type' => 'boolean',
668
+ 'format' => 'boolean-string',
669
+ ),
670
+ 'Quantity' => array(
671
+ 'required' => true,
672
+ 'description' => 'The number of trusted signers for this cache behavior.',
673
+ 'type' => 'numeric',
674
+ ),
675
+ 'Items' => array(
676
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
677
+ 'type' => 'array',
678
+ 'items' => array(
679
+ 'name' => 'AwsAccountNumber',
680
+ 'type' => 'string',
681
+ ),
682
+ ),
683
+ ),
684
+ ),
685
+ 'Enabled' => array(
686
+ 'required' => true,
687
+ 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
688
+ 'type' => 'boolean',
689
+ 'format' => 'boolean-string',
690
+ 'location' => 'xml',
691
+ ),
692
+ 'command.expects' => array(
693
+ 'static' => true,
694
+ 'default' => 'application/xml',
695
+ ),
696
+ ),
697
+ 'errorResponses' => array(
698
+ array(
699
+ 'class' => 'CNAMEAlreadyExistsException',
700
+ ),
701
+ array(
702
+ 'class' => 'StreamingDistributionAlreadyExistsException',
703
+ ),
704
+ array(
705
+ 'class' => 'InvalidOriginException',
706
+ ),
707
+ array(
708
+ 'class' => 'InvalidOriginAccessIdentityException',
709
+ ),
710
+ array(
711
+ 'class' => 'AccessDeniedException',
712
+ ),
713
+ array(
714
+ 'class' => 'TooManyTrustedSignersException',
715
+ ),
716
+ array(
717
+ 'class' => 'TrustedSignerDoesNotExistException',
718
+ ),
719
+ array(
720
+ 'class' => 'MissingBodyException',
721
+ ),
722
+ array(
723
+ 'class' => 'TooManyStreamingDistributionCNAMEsException',
724
+ ),
725
+ array(
726
+ 'class' => 'TooManyStreamingDistributionsException',
727
+ ),
728
+ array(
729
+ 'class' => 'InvalidArgumentException',
730
+ ),
731
+ array(
732
+ 'class' => 'InconsistentQuantitiesException',
733
+ ),
734
+ ),
735
+ ),
736
+ 'DeleteCloudFrontOriginAccessIdentity' => array(
737
+ 'httpMethod' => 'DELETE',
738
+ 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}',
739
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
740
+ 'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2012_05_05Output',
741
+ 'responseType' => 'model',
742
+ 'summary' => 'Delete an origin access identity.',
743
+ 'parameters' => array(
744
+ 'Id' => array(
745
+ 'required' => true,
746
+ 'description' => 'The origin access identity\'s id.',
747
+ 'type' => 'string',
748
+ 'location' => 'uri',
749
+ ),
750
+ 'IfMatch' => array(
751
+ 'description' => 'The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.',
752
+ 'type' => 'string',
753
+ 'location' => 'header',
754
+ 'sentAs' => 'If-Match',
755
+ ),
756
+ ),
757
+ 'errorResponses' => array(
758
+ array(
759
+ 'class' => 'AccessDeniedException',
760
+ ),
761
+ array(
762
+ 'class' => 'InvalidIfMatchVersionException',
763
+ ),
764
+ array(
765
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
766
+ ),
767
+ array(
768
+ 'class' => 'PreconditionFailedException',
769
+ ),
770
+ array(
771
+ 'class' => 'CloudFrontOriginAccessIdentityInUseException',
772
+ ),
773
+ ),
774
+ ),
775
+ 'DeleteDistribution' => array(
776
+ 'httpMethod' => 'DELETE',
777
+ 'uri' => '/2012-05-05/distribution/{Id}',
778
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
779
+ 'responseClass' => 'DeleteDistribution2012_05_05Output',
780
+ 'responseType' => 'model',
781
+ 'summary' => 'Delete a distribution.',
782
+ 'parameters' => array(
783
+ 'Id' => array(
784
+ 'required' => true,
785
+ 'description' => 'The distribution id.',
786
+ 'type' => 'string',
787
+ 'location' => 'uri',
788
+ ),
789
+ 'IfMatch' => array(
790
+ 'description' => 'The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.',
791
+ 'type' => 'string',
792
+ 'location' => 'header',
793
+ 'sentAs' => 'If-Match',
794
+ ),
795
+ ),
796
+ 'errorResponses' => array(
797
+ array(
798
+ 'class' => 'AccessDeniedException',
799
+ ),
800
+ array(
801
+ 'class' => 'DistributionNotDisabledException',
802
+ ),
803
+ array(
804
+ 'class' => 'InvalidIfMatchVersionException',
805
+ ),
806
+ array(
807
+ 'class' => 'NoSuchDistributionException',
808
+ ),
809
+ array(
810
+ 'class' => 'PreconditionFailedException',
811
+ ),
812
+ ),
813
+ ),
814
+ 'DeleteStreamingDistribution' => array(
815
+ 'httpMethod' => 'DELETE',
816
+ 'uri' => '/2012-05-05/streaming-distribution/{Id}',
817
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
818
+ 'responseClass' => 'DeleteStreamingDistribution2012_05_05Output',
819
+ 'responseType' => 'model',
820
+ 'summary' => 'Delete a streaming distribution.',
821
+ 'parameters' => array(
822
+ 'Id' => array(
823
+ 'required' => true,
824
+ 'description' => 'The distribution id.',
825
+ 'type' => 'string',
826
+ 'location' => 'uri',
827
+ ),
828
+ 'IfMatch' => array(
829
+ 'description' => 'The value of the ETag header you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.',
830
+ 'type' => 'string',
831
+ 'location' => 'header',
832
+ 'sentAs' => 'If-Match',
833
+ ),
834
+ ),
835
+ 'errorResponses' => array(
836
+ array(
837
+ 'class' => 'AccessDeniedException',
838
+ ),
839
+ array(
840
+ 'class' => 'StreamingDistributionNotDisabledException',
841
+ ),
842
+ array(
843
+ 'class' => 'InvalidIfMatchVersionException',
844
+ ),
845
+ array(
846
+ 'class' => 'NoSuchStreamingDistributionException',
847
+ ),
848
+ array(
849
+ 'class' => 'PreconditionFailedException',
850
+ ),
851
+ ),
852
+ ),
853
+ 'GetCloudFrontOriginAccessIdentity' => array(
854
+ 'httpMethod' => 'GET',
855
+ 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}',
856
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
857
+ 'responseClass' => 'GetCloudFrontOriginAccessIdentityResult',
858
+ 'responseType' => 'model',
859
+ 'summary' => 'Get the information about an origin access identity.',
860
+ 'parameters' => array(
861
+ 'Id' => array(
862
+ 'required' => true,
863
+ 'description' => 'The identity\'s id.',
864
+ 'type' => 'string',
865
+ 'location' => 'uri',
866
+ ),
867
+ 'command.expects' => array(
868
+ 'static' => true,
869
+ 'default' => 'application/xml',
870
+ ),
871
+ ),
872
+ 'errorResponses' => array(
873
+ array(
874
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
875
+ ),
876
+ array(
877
+ 'class' => 'AccessDeniedException',
878
+ ),
879
+ ),
880
+ ),
881
+ 'GetCloudFrontOriginAccessIdentityConfig' => array(
882
+ 'httpMethod' => 'GET',
883
+ 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}/config',
884
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
885
+ 'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult',
886
+ 'responseType' => 'model',
887
+ 'summary' => 'Get the configuration information about an origin access identity.',
888
+ 'parameters' => array(
889
+ 'Id' => array(
890
+ 'required' => true,
891
+ 'description' => 'The identity\'s id.',
892
+ 'type' => 'string',
893
+ 'location' => 'uri',
894
+ ),
895
+ 'command.expects' => array(
896
+ 'static' => true,
897
+ 'default' => 'application/xml',
898
+ ),
899
+ ),
900
+ 'errorResponses' => array(
901
+ array(
902
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
903
+ ),
904
+ array(
905
+ 'class' => 'AccessDeniedException',
906
+ ),
907
+ ),
908
+ ),
909
+ 'GetDistribution' => array(
910
+ 'httpMethod' => 'GET',
911
+ 'uri' => '/2012-05-05/distribution/{Id}',
912
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
913
+ 'responseClass' => 'GetDistributionResult',
914
+ 'responseType' => 'model',
915
+ 'summary' => 'Get the information about a distribution.',
916
+ 'parameters' => array(
917
+ 'Id' => array(
918
+ 'required' => true,
919
+ 'description' => 'The distribution\'s id.',
920
+ 'type' => 'string',
921
+ 'location' => 'uri',
922
+ ),
923
+ 'command.expects' => array(
924
+ 'static' => true,
925
+ 'default' => 'application/xml',
926
+ ),
927
+ ),
928
+ 'errorResponses' => array(
929
+ array(
930
+ 'class' => 'NoSuchDistributionException',
931
+ ),
932
+ array(
933
+ 'class' => 'AccessDeniedException',
934
+ ),
935
+ ),
936
+ ),
937
+ 'GetDistributionConfig' => array(
938
+ 'httpMethod' => 'GET',
939
+ 'uri' => '/2012-05-05/distribution/{Id}/config',
940
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
941
+ 'responseClass' => 'GetDistributionConfigResult',
942
+ 'responseType' => 'model',
943
+ 'summary' => 'Get the configuration information about a distribution.',
944
+ 'parameters' => array(
945
+ 'Id' => array(
946
+ 'required' => true,
947
+ 'description' => 'The distribution\'s id.',
948
+ 'type' => 'string',
949
+ 'location' => 'uri',
950
+ ),
951
+ 'command.expects' => array(
952
+ 'static' => true,
953
+ 'default' => 'application/xml',
954
+ ),
955
+ ),
956
+ 'errorResponses' => array(
957
+ array(
958
+ 'class' => 'NoSuchDistributionException',
959
+ ),
960
+ array(
961
+ 'class' => 'AccessDeniedException',
962
+ ),
963
+ ),
964
+ ),
965
+ 'GetInvalidation' => array(
966
+ 'httpMethod' => 'GET',
967
+ 'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation/{Id}',
968
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
969
+ 'responseClass' => 'GetInvalidationResult',
970
+ 'responseType' => 'model',
971
+ 'summary' => 'Get the information about an invalidation.',
972
+ 'parameters' => array(
973
+ 'DistributionId' => array(
974
+ 'required' => true,
975
+ 'description' => 'The distribution\'s id.',
976
+ 'type' => 'string',
977
+ 'location' => 'uri',
978
+ ),
979
+ 'Id' => array(
980
+ 'required' => true,
981
+ 'description' => 'The invalidation\'s id.',
982
+ 'type' => 'string',
983
+ 'location' => 'uri',
984
+ ),
985
+ 'command.expects' => array(
986
+ 'static' => true,
987
+ 'default' => 'application/xml',
988
+ ),
989
+ ),
990
+ 'errorResponses' => array(
991
+ array(
992
+ 'class' => 'NoSuchInvalidationException',
993
+ ),
994
+ array(
995
+ 'class' => 'NoSuchDistributionException',
996
+ ),
997
+ array(
998
+ 'class' => 'AccessDeniedException',
999
+ ),
1000
+ ),
1001
+ ),
1002
+ 'GetStreamingDistribution' => array(
1003
+ 'httpMethod' => 'GET',
1004
+ 'uri' => '/2012-05-05/streaming-distribution/{Id}',
1005
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1006
+ 'responseClass' => 'GetStreamingDistributionResult',
1007
+ 'responseType' => 'model',
1008
+ 'summary' => 'Get the information about a streaming distribution.',
1009
+ 'parameters' => array(
1010
+ 'Id' => array(
1011
+ 'required' => true,
1012
+ 'description' => 'The streaming distribution\'s id.',
1013
+ 'type' => 'string',
1014
+ 'location' => 'uri',
1015
+ ),
1016
+ 'command.expects' => array(
1017
+ 'static' => true,
1018
+ 'default' => 'application/xml',
1019
+ ),
1020
+ ),
1021
+ 'errorResponses' => array(
1022
+ array(
1023
+ 'class' => 'NoSuchStreamingDistributionException',
1024
+ ),
1025
+ array(
1026
+ 'class' => 'AccessDeniedException',
1027
+ ),
1028
+ ),
1029
+ ),
1030
+ 'GetStreamingDistributionConfig' => array(
1031
+ 'httpMethod' => 'GET',
1032
+ 'uri' => '/2012-05-05/streaming-distribution/{Id}/config',
1033
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1034
+ 'responseClass' => 'GetStreamingDistributionConfigResult',
1035
+ 'responseType' => 'model',
1036
+ 'summary' => 'Get the configuration information about a streaming distribution.',
1037
+ 'parameters' => array(
1038
+ 'Id' => array(
1039
+ 'required' => true,
1040
+ 'description' => 'The streaming distribution\'s id.',
1041
+ 'type' => 'string',
1042
+ 'location' => 'uri',
1043
+ ),
1044
+ 'command.expects' => array(
1045
+ 'static' => true,
1046
+ 'default' => 'application/xml',
1047
+ ),
1048
+ ),
1049
+ 'errorResponses' => array(
1050
+ array(
1051
+ 'class' => 'NoSuchStreamingDistributionException',
1052
+ ),
1053
+ array(
1054
+ 'class' => 'AccessDeniedException',
1055
+ ),
1056
+ ),
1057
+ ),
1058
+ 'ListCloudFrontOriginAccessIdentities' => array(
1059
+ 'httpMethod' => 'GET',
1060
+ 'uri' => '/2012-05-05/origin-access-identity/cloudfront',
1061
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1062
+ 'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult',
1063
+ 'responseType' => 'model',
1064
+ 'summary' => 'List origin access identities.',
1065
+ 'parameters' => array(
1066
+ 'Marker' => array(
1067
+ 'description' => 'Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last identity on that page).',
1068
+ 'type' => 'string',
1069
+ 'location' => 'query',
1070
+ ),
1071
+ 'MaxItems' => array(
1072
+ 'description' => 'The maximum number of origin access identities you want in the response body.',
1073
+ 'type' => 'string',
1074
+ 'location' => 'query',
1075
+ ),
1076
+ 'command.expects' => array(
1077
+ 'static' => true,
1078
+ 'default' => 'application/xml',
1079
+ ),
1080
+ ),
1081
+ 'errorResponses' => array(
1082
+ array(
1083
+ 'class' => 'InvalidArgumentException',
1084
+ ),
1085
+ ),
1086
+ ),
1087
+ 'ListDistributions' => array(
1088
+ 'httpMethod' => 'GET',
1089
+ 'uri' => '/2012-05-05/distribution',
1090
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1091
+ 'responseClass' => 'ListDistributionsResult',
1092
+ 'responseType' => 'model',
1093
+ 'summary' => 'List distributions.',
1094
+ 'parameters' => array(
1095
+ 'Marker' => array(
1096
+ 'description' => 'Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last distribution on that page).',
1097
+ 'type' => 'string',
1098
+ 'location' => 'query',
1099
+ ),
1100
+ 'MaxItems' => array(
1101
+ 'description' => 'The maximum number of distributions you want in the response body.',
1102
+ 'type' => 'string',
1103
+ 'location' => 'query',
1104
+ ),
1105
+ 'command.expects' => array(
1106
+ 'static' => true,
1107
+ 'default' => 'application/xml',
1108
+ ),
1109
+ ),
1110
+ 'errorResponses' => array(
1111
+ array(
1112
+ 'class' => 'InvalidArgumentException',
1113
+ ),
1114
+ ),
1115
+ ),
1116
+ 'ListInvalidations' => array(
1117
+ 'httpMethod' => 'GET',
1118
+ 'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation',
1119
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1120
+ 'responseClass' => 'ListInvalidationsResult',
1121
+ 'responseType' => 'model',
1122
+ 'summary' => 'List invalidation batches.',
1123
+ 'parameters' => array(
1124
+ 'DistributionId' => array(
1125
+ 'required' => true,
1126
+ 'description' => 'The distribution\'s id.',
1127
+ 'type' => 'string',
1128
+ 'location' => 'uri',
1129
+ ),
1130
+ 'Marker' => array(
1131
+ 'description' => 'Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response. This value is the same as the ID of the last invalidation batch on that page.',
1132
+ 'type' => 'string',
1133
+ 'location' => 'query',
1134
+ ),
1135
+ 'MaxItems' => array(
1136
+ 'description' => 'The maximum number of invalidation batches you want in the response body.',
1137
+ 'type' => 'string',
1138
+ 'location' => 'query',
1139
+ ),
1140
+ 'command.expects' => array(
1141
+ 'static' => true,
1142
+ 'default' => 'application/xml',
1143
+ ),
1144
+ ),
1145
+ 'errorResponses' => array(
1146
+ array(
1147
+ 'class' => 'InvalidArgumentException',
1148
+ ),
1149
+ array(
1150
+ 'class' => 'NoSuchDistributionException',
1151
+ ),
1152
+ ),
1153
+ ),
1154
+ 'ListStreamingDistributions' => array(
1155
+ 'httpMethod' => 'GET',
1156
+ 'uri' => '/2012-05-05/streaming-distribution',
1157
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1158
+ 'responseClass' => 'ListStreamingDistributionsResult',
1159
+ 'responseType' => 'model',
1160
+ 'summary' => 'List streaming distributions.',
1161
+ 'parameters' => array(
1162
+ 'Marker' => array(
1163
+ 'description' => 'Use this when paginating results to indicate where to begin in your list of streaming distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last distribution on that page).',
1164
+ 'type' => 'string',
1165
+ 'location' => 'query',
1166
+ ),
1167
+ 'MaxItems' => array(
1168
+ 'description' => 'The maximum number of streaming distributions you want in the response body.',
1169
+ 'type' => 'string',
1170
+ 'location' => 'query',
1171
+ ),
1172
+ 'command.expects' => array(
1173
+ 'static' => true,
1174
+ 'default' => 'application/xml',
1175
+ ),
1176
+ ),
1177
+ 'errorResponses' => array(
1178
+ array(
1179
+ 'class' => 'InvalidArgumentException',
1180
+ ),
1181
+ ),
1182
+ ),
1183
+ 'UpdateCloudFrontOriginAccessIdentity' => array(
1184
+ 'httpMethod' => 'PUT',
1185
+ 'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}/config',
1186
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1187
+ 'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult',
1188
+ 'responseType' => 'model',
1189
+ 'summary' => 'Update an origin access identity.',
1190
+ 'data' => array(
1191
+ 'xmlRoot' => array(
1192
+ 'name' => 'CloudFrontOriginAccessIdentityConfig',
1193
+ 'namespaces' => array(
1194
+ 'http://cloudfront.amazonaws.com/doc/2012-05-05/',
1195
+ ),
1196
+ ),
1197
+ ),
1198
+ 'parameters' => array(
1199
+ 'CallerReference' => array(
1200
+ 'required' => true,
1201
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
1202
+ 'type' => 'string',
1203
+ 'location' => 'xml',
1204
+ ),
1205
+ 'Comment' => array(
1206
+ 'required' => true,
1207
+ 'description' => 'Any comments you want to include about the origin access identity.',
1208
+ 'type' => 'string',
1209
+ 'location' => 'xml',
1210
+ ),
1211
+ 'Id' => array(
1212
+ 'required' => true,
1213
+ 'description' => 'The identity\'s id.',
1214
+ 'type' => 'string',
1215
+ 'location' => 'uri',
1216
+ ),
1217
+ 'IfMatch' => array(
1218
+ 'description' => 'The value of the ETag header you received when retrieving the identity\'s configuration. For example: E2QWRUHAPOMQZL.',
1219
+ 'type' => 'string',
1220
+ 'location' => 'header',
1221
+ 'sentAs' => 'If-Match',
1222
+ ),
1223
+ 'command.expects' => array(
1224
+ 'static' => true,
1225
+ 'default' => 'application/xml',
1226
+ ),
1227
+ ),
1228
+ 'errorResponses' => array(
1229
+ array(
1230
+ 'class' => 'AccessDeniedException',
1231
+ ),
1232
+ array(
1233
+ 'class' => 'IllegalUpdateException',
1234
+ ),
1235
+ array(
1236
+ 'class' => 'InvalidIfMatchVersionException',
1237
+ ),
1238
+ array(
1239
+ 'class' => 'MissingBodyException',
1240
+ ),
1241
+ array(
1242
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
1243
+ ),
1244
+ array(
1245
+ 'class' => 'PreconditionFailedException',
1246
+ ),
1247
+ array(
1248
+ 'class' => 'InvalidArgumentException',
1249
+ ),
1250
+ array(
1251
+ 'class' => 'InconsistentQuantitiesException',
1252
+ ),
1253
+ ),
1254
+ ),
1255
+ 'UpdateDistribution' => array(
1256
+ 'httpMethod' => 'PUT',
1257
+ 'uri' => '/2012-05-05/distribution/{Id}/config',
1258
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1259
+ 'responseClass' => 'UpdateDistributionResult',
1260
+ 'responseType' => 'model',
1261
+ 'summary' => 'Update a distribution.',
1262
+ 'data' => array(
1263
+ 'xmlRoot' => array(
1264
+ 'name' => 'DistributionConfig',
1265
+ 'namespaces' => array(
1266
+ 'http://cloudfront.amazonaws.com/doc/2012-05-05/',
1267
+ ),
1268
+ ),
1269
+ ),
1270
+ 'parameters' => array(
1271
+ 'CallerReference' => array(
1272
+ 'required' => true,
1273
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
1274
+ 'type' => 'string',
1275
+ 'location' => 'xml',
1276
+ ),
1277
+ 'Aliases' => array(
1278
+ 'required' => true,
1279
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
1280
+ 'type' => 'object',
1281
+ 'location' => 'xml',
1282
+ 'properties' => array(
1283
+ 'Quantity' => array(
1284
+ 'required' => true,
1285
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
1286
+ 'type' => 'numeric',
1287
+ ),
1288
+ 'Items' => array(
1289
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
1290
+ 'type' => 'array',
1291
+ 'items' => array(
1292
+ 'name' => 'CNAME',
1293
+ 'type' => 'string',
1294
+ ),
1295
+ ),
1296
+ ),
1297
+ ),
1298
+ 'DefaultRootObject' => array(
1299
+ 'required' => true,
1300
+ 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
1301
+ 'type' => 'string',
1302
+ 'location' => 'xml',
1303
+ ),
1304
+ 'Origins' => array(
1305
+ 'required' => true,
1306
+ 'description' => 'A complex type that contains information about origins for this distribution.',
1307
+ 'type' => 'object',
1308
+ 'location' => 'xml',
1309
+ 'properties' => array(
1310
+ 'Quantity' => array(
1311
+ 'required' => true,
1312
+ 'description' => 'The number of origins for this distribution.',
1313
+ 'type' => 'numeric',
1314
+ ),
1315
+ 'Items' => array(
1316
+ 'description' => 'A complex type that contains origins for this distribution.',
1317
+ 'type' => 'array',
1318
+ 'minItems' => 1,
1319
+ 'items' => array(
1320
+ 'name' => 'Origin',
1321
+ 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
1322
+ 'type' => 'object',
1323
+ 'properties' => array(
1324
+ 'Id' => array(
1325
+ 'required' => true,
1326
+ 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
1327
+ 'type' => 'string',
1328
+ ),
1329
+ 'DomainName' => array(
1330
+ 'required' => true,
1331
+ 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
1332
+ 'type' => 'string',
1333
+ ),
1334
+ 'S3OriginConfig' => array(
1335
+ 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
1336
+ 'type' => 'object',
1337
+ 'properties' => array(
1338
+ 'OriginAccessIdentity' => array(
1339
+ 'required' => true,
1340
+ 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
1341
+ 'type' => 'string',
1342
+ ),
1343
+ ),
1344
+ ),
1345
+ 'CustomOriginConfig' => array(
1346
+ 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
1347
+ 'type' => 'object',
1348
+ 'properties' => array(
1349
+ 'HTTPPort' => array(
1350
+ 'required' => true,
1351
+ 'description' => 'The HTTP port the custom origin listens on.',
1352
+ 'type' => 'numeric',
1353
+ ),
1354
+ 'HTTPSPort' => array(
1355
+ 'required' => true,
1356
+ 'description' => 'The HTTPS port the custom origin listens on.',
1357
+ 'type' => 'numeric',
1358
+ ),
1359
+ 'OriginProtocolPolicy' => array(
1360
+ 'required' => true,
1361
+ 'description' => 'The origin protocol policy to apply to your origin.',
1362
+ 'type' => 'string',
1363
+ 'enum' => array(
1364
+ 'http-only',
1365
+ 'match-viewer',
1366
+ ),
1367
+ ),
1368
+ ),
1369
+ ),
1370
+ ),
1371
+ ),
1372
+ ),
1373
+ ),
1374
+ ),
1375
+ 'DefaultCacheBehavior' => array(
1376
+ 'required' => true,
1377
+ 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
1378
+ 'type' => 'object',
1379
+ 'location' => 'xml',
1380
+ 'properties' => array(
1381
+ 'TargetOriginId' => array(
1382
+ 'required' => true,
1383
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
1384
+ 'type' => 'string',
1385
+ ),
1386
+ 'ForwardedValues' => array(
1387
+ 'required' => true,
1388
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
1389
+ 'type' => 'object',
1390
+ 'properties' => array(
1391
+ 'QueryString' => array(
1392
+ 'required' => true,
1393
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
1394
+ 'type' => 'boolean',
1395
+ 'format' => 'boolean-string',
1396
+ ),
1397
+ ),
1398
+ ),
1399
+ 'TrustedSigners' => array(
1400
+ 'required' => true,
1401
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
1402
+ 'type' => 'object',
1403
+ 'properties' => array(
1404
+ 'Enabled' => array(
1405
+ 'required' => true,
1406
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
1407
+ 'type' => 'boolean',
1408
+ 'format' => 'boolean-string',
1409
+ ),
1410
+ 'Quantity' => array(
1411
+ 'required' => true,
1412
+ 'description' => 'The number of trusted signers for this cache behavior.',
1413
+ 'type' => 'numeric',
1414
+ ),
1415
+ 'Items' => array(
1416
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
1417
+ 'type' => 'array',
1418
+ 'items' => array(
1419
+ 'name' => 'AwsAccountNumber',
1420
+ 'type' => 'string',
1421
+ ),
1422
+ ),
1423
+ ),
1424
+ ),
1425
+ 'ViewerProtocolPolicy' => array(
1426
+ 'required' => true,
1427
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
1428
+ 'type' => 'string',
1429
+ 'enum' => array(
1430
+ 'allow-all',
1431
+ 'https-only',
1432
+ ),
1433
+ ),
1434
+ 'MinTTL' => array(
1435
+ 'required' => true,
1436
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
1437
+ 'type' => 'numeric',
1438
+ ),
1439
+ ),
1440
+ ),
1441
+ 'CacheBehaviors' => array(
1442
+ 'required' => true,
1443
+ 'description' => 'A complex type that contains zero or more CacheBehavior elements.',
1444
+ 'type' => 'object',
1445
+ 'location' => 'xml',
1446
+ 'properties' => array(
1447
+ 'Quantity' => array(
1448
+ 'required' => true,
1449
+ 'description' => 'The number of cache behaviors for this distribution.',
1450
+ 'type' => 'numeric',
1451
+ ),
1452
+ 'Items' => array(
1453
+ 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
1454
+ 'type' => 'array',
1455
+ 'items' => array(
1456
+ 'name' => 'CacheBehavior',
1457
+ 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
1458
+ 'type' => 'object',
1459
+ 'properties' => array(
1460
+ 'PathPattern' => array(
1461
+ 'required' => true,
1462
+ 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
1463
+ 'type' => 'string',
1464
+ ),
1465
+ 'TargetOriginId' => array(
1466
+ 'required' => true,
1467
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
1468
+ 'type' => 'string',
1469
+ ),
1470
+ 'ForwardedValues' => array(
1471
+ 'required' => true,
1472
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
1473
+ 'type' => 'object',
1474
+ 'properties' => array(
1475
+ 'QueryString' => array(
1476
+ 'required' => true,
1477
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
1478
+ 'type' => 'boolean',
1479
+ 'format' => 'boolean-string',
1480
+ ),
1481
+ ),
1482
+ ),
1483
+ 'TrustedSigners' => array(
1484
+ 'required' => true,
1485
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
1486
+ 'type' => 'object',
1487
+ 'properties' => array(
1488
+ 'Enabled' => array(
1489
+ 'required' => true,
1490
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
1491
+ 'type' => 'boolean',
1492
+ 'format' => 'boolean-string',
1493
+ ),
1494
+ 'Quantity' => array(
1495
+ 'required' => true,
1496
+ 'description' => 'The number of trusted signers for this cache behavior.',
1497
+ 'type' => 'numeric',
1498
+ ),
1499
+ 'Items' => array(
1500
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
1501
+ 'type' => 'array',
1502
+ 'items' => array(
1503
+ 'name' => 'AwsAccountNumber',
1504
+ 'type' => 'string',
1505
+ ),
1506
+ ),
1507
+ ),
1508
+ ),
1509
+ 'ViewerProtocolPolicy' => array(
1510
+ 'required' => true,
1511
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
1512
+ 'type' => 'string',
1513
+ 'enum' => array(
1514
+ 'allow-all',
1515
+ 'https-only',
1516
+ ),
1517
+ ),
1518
+ 'MinTTL' => array(
1519
+ 'required' => true,
1520
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
1521
+ 'type' => 'numeric',
1522
+ ),
1523
+ ),
1524
+ ),
1525
+ ),
1526
+ ),
1527
+ ),
1528
+ 'Comment' => array(
1529
+ 'required' => true,
1530
+ 'description' => 'Any comments you want to include about the distribution.',
1531
+ 'type' => 'string',
1532
+ 'location' => 'xml',
1533
+ ),
1534
+ 'Logging' => array(
1535
+ 'required' => true,
1536
+ 'description' => 'A complex type that controls whether access logs are written for the distribution.',
1537
+ 'type' => 'object',
1538
+ 'location' => 'xml',
1539
+ 'properties' => array(
1540
+ 'Enabled' => array(
1541
+ 'required' => true,
1542
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
1543
+ 'type' => 'boolean',
1544
+ 'format' => 'boolean-string',
1545
+ ),
1546
+ 'Bucket' => array(
1547
+ 'required' => true,
1548
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
1549
+ 'type' => 'string',
1550
+ ),
1551
+ 'Prefix' => array(
1552
+ 'required' => true,
1553
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
1554
+ 'type' => 'string',
1555
+ ),
1556
+ ),
1557
+ ),
1558
+ 'Enabled' => array(
1559
+ 'required' => true,
1560
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
1561
+ 'type' => 'boolean',
1562
+ 'format' => 'boolean-string',
1563
+ 'location' => 'xml',
1564
+ ),
1565
+ 'Id' => array(
1566
+ 'required' => true,
1567
+ 'description' => 'The distribution\'s id.',
1568
+ 'type' => 'string',
1569
+ 'location' => 'uri',
1570
+ ),
1571
+ 'IfMatch' => array(
1572
+ 'description' => 'The value of the ETag header you received when retrieving the distribution\'s configuration. For example: E2QWRUHAPOMQZL.',
1573
+ 'type' => 'string',
1574
+ 'location' => 'header',
1575
+ 'sentAs' => 'If-Match',
1576
+ ),
1577
+ 'command.expects' => array(
1578
+ 'static' => true,
1579
+ 'default' => 'application/xml',
1580
+ ),
1581
+ ),
1582
+ 'errorResponses' => array(
1583
+ array(
1584
+ 'class' => 'AccessDeniedException',
1585
+ ),
1586
+ array(
1587
+ 'class' => 'CNAMEAlreadyExistsException',
1588
+ ),
1589
+ array(
1590
+ 'class' => 'IllegalUpdateException',
1591
+ ),
1592
+ array(
1593
+ 'class' => 'InvalidIfMatchVersionException',
1594
+ ),
1595
+ array(
1596
+ 'class' => 'MissingBodyException',
1597
+ ),
1598
+ array(
1599
+ 'class' => 'NoSuchDistributionException',
1600
+ ),
1601
+ array(
1602
+ 'class' => 'PreconditionFailedException',
1603
+ ),
1604
+ array(
1605
+ 'class' => 'TooManyDistributionCNAMEsException',
1606
+ ),
1607
+ array(
1608
+ 'class' => 'InvalidDefaultRootObjectException',
1609
+ ),
1610
+ array(
1611
+ 'class' => 'InvalidArgumentException',
1612
+ ),
1613
+ array(
1614
+ 'class' => 'InvalidOriginAccessIdentityException',
1615
+ ),
1616
+ array(
1617
+ 'class' => 'TooManyTrustedSignersException',
1618
+ ),
1619
+ array(
1620
+ 'class' => 'TrustedSignerDoesNotExistException',
1621
+ ),
1622
+ array(
1623
+ 'class' => 'InvalidRequiredProtocolException',
1624
+ ),
1625
+ array(
1626
+ 'class' => 'NoSuchOriginException',
1627
+ ),
1628
+ array(
1629
+ 'class' => 'TooManyOriginsException',
1630
+ ),
1631
+ array(
1632
+ 'class' => 'TooManyCacheBehaviorsException',
1633
+ ),
1634
+ array(
1635
+ 'class' => 'InconsistentQuantitiesException',
1636
+ ),
1637
+ ),
1638
+ ),
1639
+ 'UpdateStreamingDistribution' => array(
1640
+ 'httpMethod' => 'PUT',
1641
+ 'uri' => '/2012-05-05/streaming-distribution/{Id}/config',
1642
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1643
+ 'responseClass' => 'UpdateStreamingDistributionResult',
1644
+ 'responseType' => 'model',
1645
+ 'summary' => 'Update a streaming distribution.',
1646
+ 'data' => array(
1647
+ 'xmlRoot' => array(
1648
+ 'name' => 'StreamingDistributionConfig',
1649
+ 'namespaces' => array(
1650
+ 'http://cloudfront.amazonaws.com/doc/2012-05-05/',
1651
+ ),
1652
+ ),
1653
+ ),
1654
+ 'parameters' => array(
1655
+ 'CallerReference' => array(
1656
+ 'required' => true,
1657
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
1658
+ 'type' => 'string',
1659
+ 'location' => 'xml',
1660
+ ),
1661
+ 'S3Origin' => array(
1662
+ 'required' => true,
1663
+ 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
1664
+ 'type' => 'object',
1665
+ 'location' => 'xml',
1666
+ 'properties' => array(
1667
+ 'DomainName' => array(
1668
+ 'required' => true,
1669
+ 'description' => 'The DNS name of the S3 origin.',
1670
+ 'type' => 'string',
1671
+ ),
1672
+ 'OriginAccessIdentity' => array(
1673
+ 'required' => true,
1674
+ 'description' => 'Your S3 origin\'s origin access identity.',
1675
+ 'type' => 'string',
1676
+ ),
1677
+ ),
1678
+ ),
1679
+ 'Aliases' => array(
1680
+ 'required' => true,
1681
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
1682
+ 'type' => 'object',
1683
+ 'location' => 'xml',
1684
+ 'properties' => array(
1685
+ 'Quantity' => array(
1686
+ 'required' => true,
1687
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
1688
+ 'type' => 'numeric',
1689
+ ),
1690
+ 'Items' => array(
1691
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
1692
+ 'type' => 'array',
1693
+ 'items' => array(
1694
+ 'name' => 'CNAME',
1695
+ 'type' => 'string',
1696
+ ),
1697
+ ),
1698
+ ),
1699
+ ),
1700
+ 'Comment' => array(
1701
+ 'required' => true,
1702
+ 'description' => 'Any comments you want to include about the streaming distribution.',
1703
+ 'type' => 'string',
1704
+ 'location' => 'xml',
1705
+ ),
1706
+ 'Logging' => array(
1707
+ 'required' => true,
1708
+ 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
1709
+ 'type' => 'object',
1710
+ 'location' => 'xml',
1711
+ 'properties' => array(
1712
+ 'Enabled' => array(
1713
+ 'required' => true,
1714
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
1715
+ 'type' => 'boolean',
1716
+ 'format' => 'boolean-string',
1717
+ ),
1718
+ 'Bucket' => array(
1719
+ 'required' => true,
1720
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
1721
+ 'type' => 'string',
1722
+ ),
1723
+ 'Prefix' => array(
1724
+ 'required' => true,
1725
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
1726
+ 'type' => 'string',
1727
+ ),
1728
+ ),
1729
+ ),
1730
+ 'TrustedSigners' => array(
1731
+ 'required' => true,
1732
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
1733
+ 'type' => 'object',
1734
+ 'location' => 'xml',
1735
+ 'properties' => array(
1736
+ 'Enabled' => array(
1737
+ 'required' => true,
1738
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
1739
+ 'type' => 'boolean',
1740
+ 'format' => 'boolean-string',
1741
+ ),
1742
+ 'Quantity' => array(
1743
+ 'required' => true,
1744
+ 'description' => 'The number of trusted signers for this cache behavior.',
1745
+ 'type' => 'numeric',
1746
+ ),
1747
+ 'Items' => array(
1748
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
1749
+ 'type' => 'array',
1750
+ 'items' => array(
1751
+ 'name' => 'AwsAccountNumber',
1752
+ 'type' => 'string',
1753
+ ),
1754
+ ),
1755
+ ),
1756
+ ),
1757
+ 'Enabled' => array(
1758
+ 'required' => true,
1759
+ 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
1760
+ 'type' => 'boolean',
1761
+ 'format' => 'boolean-string',
1762
+ 'location' => 'xml',
1763
+ ),
1764
+ 'Id' => array(
1765
+ 'required' => true,
1766
+ 'description' => 'The streaming distribution\'s id.',
1767
+ 'type' => 'string',
1768
+ 'location' => 'uri',
1769
+ ),
1770
+ 'IfMatch' => array(
1771
+ 'description' => 'The value of the ETag header you received when retrieving the streaming distribution\'s configuration. For example: E2QWRUHAPOMQZL.',
1772
+ 'type' => 'string',
1773
+ 'location' => 'header',
1774
+ 'sentAs' => 'If-Match',
1775
+ ),
1776
+ 'command.expects' => array(
1777
+ 'static' => true,
1778
+ 'default' => 'application/xml',
1779
+ ),
1780
+ ),
1781
+ 'errorResponses' => array(
1782
+ array(
1783
+ 'class' => 'AccessDeniedException',
1784
+ ),
1785
+ array(
1786
+ 'class' => 'CNAMEAlreadyExistsException',
1787
+ ),
1788
+ array(
1789
+ 'class' => 'IllegalUpdateException',
1790
+ ),
1791
+ array(
1792
+ 'class' => 'InvalidIfMatchVersionException',
1793
+ ),
1794
+ array(
1795
+ 'class' => 'MissingBodyException',
1796
+ ),
1797
+ array(
1798
+ 'class' => 'NoSuchStreamingDistributionException',
1799
+ ),
1800
+ array(
1801
+ 'class' => 'PreconditionFailedException',
1802
+ ),
1803
+ array(
1804
+ 'class' => 'TooManyStreamingDistributionCNAMEsException',
1805
+ ),
1806
+ array(
1807
+ 'class' => 'InvalidArgumentException',
1808
+ ),
1809
+ array(
1810
+ 'class' => 'InvalidOriginAccessIdentityException',
1811
+ ),
1812
+ array(
1813
+ 'class' => 'TooManyTrustedSignersException',
1814
+ ),
1815
+ array(
1816
+ 'class' => 'TrustedSignerDoesNotExistException',
1817
+ ),
1818
+ array(
1819
+ 'class' => 'InconsistentQuantitiesException',
1820
+ ),
1821
+ ),
1822
+ ),
1823
+ ),
1824
+ 'models' => array(
1825
+ 'CreateCloudFrontOriginAccessIdentityResult' => array(
1826
+ 'type' => 'object',
1827
+ 'additionalProperties' => true,
1828
+ 'properties' => array(
1829
+ 'Id' => array(
1830
+ 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
1831
+ 'type' => 'string',
1832
+ 'location' => 'xml',
1833
+ ),
1834
+ 'S3CanonicalUserId' => array(
1835
+ 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
1836
+ 'type' => 'string',
1837
+ 'location' => 'xml',
1838
+ ),
1839
+ 'CloudFrontOriginAccessIdentityConfig' => array(
1840
+ 'description' => 'The current configuration information for the identity.',
1841
+ 'type' => 'object',
1842
+ 'location' => 'xml',
1843
+ 'properties' => array(
1844
+ 'CallerReference' => array(
1845
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
1846
+ 'type' => 'string',
1847
+ ),
1848
+ 'Comment' => array(
1849
+ 'description' => 'Any comments you want to include about the origin access identity.',
1850
+ 'type' => 'string',
1851
+ ),
1852
+ ),
1853
+ ),
1854
+ 'Location' => array(
1855
+ 'description' => 'The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A.',
1856
+ 'type' => 'string',
1857
+ 'location' => 'header',
1858
+ ),
1859
+ 'ETag' => array(
1860
+ 'description' => 'The current version of the origin access identity created.',
1861
+ 'type' => 'string',
1862
+ 'location' => 'header',
1863
+ ),
1864
+ 'RequestId' => array(
1865
+ 'description' => 'Request ID of the operation',
1866
+ 'location' => 'header',
1867
+ 'sentAs' => 'x-amz-request-id',
1868
+ ),
1869
+ ),
1870
+ ),
1871
+ 'CreateDistributionResult' => array(
1872
+ 'type' => 'object',
1873
+ 'additionalProperties' => true,
1874
+ 'properties' => array(
1875
+ 'Id' => array(
1876
+ 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
1877
+ 'type' => 'string',
1878
+ 'location' => 'xml',
1879
+ ),
1880
+ 'Status' => array(
1881
+ 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
1882
+ 'type' => 'string',
1883
+ 'location' => 'xml',
1884
+ ),
1885
+ 'LastModifiedTime' => array(
1886
+ 'description' => 'The date and time the distribution was last modified.',
1887
+ 'type' => 'string',
1888
+ 'location' => 'xml',
1889
+ ),
1890
+ 'InProgressInvalidationBatches' => array(
1891
+ 'description' => 'The number of invalidation batches currently in progress.',
1892
+ 'type' => 'numeric',
1893
+ 'location' => 'xml',
1894
+ ),
1895
+ 'DomainName' => array(
1896
+ 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
1897
+ 'type' => 'string',
1898
+ 'location' => 'xml',
1899
+ ),
1900
+ 'ActiveTrustedSigners' => array(
1901
+ 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
1902
+ 'type' => 'object',
1903
+ 'location' => 'xml',
1904
+ 'properties' => array(
1905
+ 'Enabled' => array(
1906
+ 'description' => 'Each active trusted signer.',
1907
+ 'type' => 'boolean',
1908
+ ),
1909
+ 'Quantity' => array(
1910
+ 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
1911
+ 'type' => 'numeric',
1912
+ ),
1913
+ 'Items' => array(
1914
+ 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
1915
+ 'type' => 'array',
1916
+ 'items' => array(
1917
+ 'name' => 'Signer',
1918
+ 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
1919
+ 'type' => 'object',
1920
+ 'sentAs' => 'Signer',
1921
+ 'properties' => array(
1922
+ 'AwsAccountNumber' => array(
1923
+ 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
1924
+ 'type' => 'string',
1925
+ ),
1926
+ 'KeyPairIds' => array(
1927
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
1928
+ 'type' => 'object',
1929
+ 'properties' => array(
1930
+ 'Quantity' => array(
1931
+ 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
1932
+ 'type' => 'numeric',
1933
+ ),
1934
+ 'Items' => array(
1935
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
1936
+ 'type' => 'array',
1937
+ 'items' => array(
1938
+ 'name' => 'KeyPairId',
1939
+ 'type' => 'string',
1940
+ 'sentAs' => 'KeyPairId',
1941
+ ),
1942
+ ),
1943
+ ),
1944
+ ),
1945
+ ),
1946
+ ),
1947
+ ),
1948
+ ),
1949
+ ),
1950
+ 'DistributionConfig' => array(
1951
+ 'description' => 'The current configuration information for the distribution.',
1952
+ 'type' => 'object',
1953
+ 'location' => 'xml',
1954
+ 'properties' => array(
1955
+ 'CallerReference' => array(
1956
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
1957
+ 'type' => 'string',
1958
+ ),
1959
+ 'Aliases' => array(
1960
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
1961
+ 'type' => 'object',
1962
+ 'properties' => array(
1963
+ 'Quantity' => array(
1964
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
1965
+ 'type' => 'numeric',
1966
+ ),
1967
+ 'Items' => array(
1968
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
1969
+ 'type' => 'array',
1970
+ 'items' => array(
1971
+ 'name' => 'CNAME',
1972
+ 'type' => 'string',
1973
+ 'sentAs' => 'CNAME',
1974
+ ),
1975
+ ),
1976
+ ),
1977
+ ),
1978
+ 'DefaultRootObject' => array(
1979
+ 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
1980
+ 'type' => 'string',
1981
+ ),
1982
+ 'Origins' => array(
1983
+ 'description' => 'A complex type that contains information about origins for this distribution.',
1984
+ 'type' => 'object',
1985
+ 'properties' => array(
1986
+ 'Quantity' => array(
1987
+ 'description' => 'The number of origins for this distribution.',
1988
+ 'type' => 'numeric',
1989
+ ),
1990
+ 'Items' => array(
1991
+ 'description' => 'A complex type that contains origins for this distribution.',
1992
+ 'type' => 'array',
1993
+ 'items' => array(
1994
+ 'name' => 'Origin',
1995
+ 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
1996
+ 'type' => 'object',
1997
+ 'sentAs' => 'Origin',
1998
+ 'properties' => array(
1999
+ 'Id' => array(
2000
+ 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
2001
+ 'type' => 'string',
2002
+ ),
2003
+ 'DomainName' => array(
2004
+ 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
2005
+ 'type' => 'string',
2006
+ ),
2007
+ 'S3OriginConfig' => array(
2008
+ 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
2009
+ 'type' => 'object',
2010
+ 'properties' => array(
2011
+ 'OriginAccessIdentity' => array(
2012
+ 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
2013
+ 'type' => 'string',
2014
+ ),
2015
+ ),
2016
+ ),
2017
+ 'CustomOriginConfig' => array(
2018
+ 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
2019
+ 'type' => 'object',
2020
+ 'properties' => array(
2021
+ 'HTTPPort' => array(
2022
+ 'description' => 'The HTTP port the custom origin listens on.',
2023
+ 'type' => 'numeric',
2024
+ ),
2025
+ 'HTTPSPort' => array(
2026
+ 'description' => 'The HTTPS port the custom origin listens on.',
2027
+ 'type' => 'numeric',
2028
+ ),
2029
+ 'OriginProtocolPolicy' => array(
2030
+ 'description' => 'The origin protocol policy to apply to your origin.',
2031
+ 'type' => 'string',
2032
+ ),
2033
+ ),
2034
+ ),
2035
+ ),
2036
+ ),
2037
+ ),
2038
+ ),
2039
+ ),
2040
+ 'DefaultCacheBehavior' => array(
2041
+ 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
2042
+ 'type' => 'object',
2043
+ 'properties' => array(
2044
+ 'TargetOriginId' => array(
2045
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
2046
+ 'type' => 'string',
2047
+ ),
2048
+ 'ForwardedValues' => array(
2049
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
2050
+ 'type' => 'object',
2051
+ 'properties' => array(
2052
+ 'QueryString' => array(
2053
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
2054
+ 'type' => 'boolean',
2055
+ ),
2056
+ ),
2057
+ ),
2058
+ 'TrustedSigners' => array(
2059
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
2060
+ 'type' => 'object',
2061
+ 'properties' => array(
2062
+ 'Enabled' => array(
2063
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
2064
+ 'type' => 'boolean',
2065
+ ),
2066
+ 'Quantity' => array(
2067
+ 'description' => 'The number of trusted signers for this cache behavior.',
2068
+ 'type' => 'numeric',
2069
+ ),
2070
+ 'Items' => array(
2071
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
2072
+ 'type' => 'array',
2073
+ 'items' => array(
2074
+ 'name' => 'AwsAccountNumber',
2075
+ 'type' => 'string',
2076
+ 'sentAs' => 'AwsAccountNumber',
2077
+ ),
2078
+ ),
2079
+ ),
2080
+ ),
2081
+ 'ViewerProtocolPolicy' => array(
2082
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
2083
+ 'type' => 'string',
2084
+ ),
2085
+ 'MinTTL' => array(
2086
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
2087
+ 'type' => 'numeric',
2088
+ ),
2089
+ ),
2090
+ ),
2091
+ 'CacheBehaviors' => array(
2092
+ 'description' => 'A complex type that contains zero or more CacheBehavior elements.',
2093
+ 'type' => 'object',
2094
+ 'properties' => array(
2095
+ 'Quantity' => array(
2096
+ 'description' => 'The number of cache behaviors for this distribution.',
2097
+ 'type' => 'numeric',
2098
+ ),
2099
+ 'Items' => array(
2100
+ 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
2101
+ 'type' => 'array',
2102
+ 'items' => array(
2103
+ 'name' => 'CacheBehavior',
2104
+ 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
2105
+ 'type' => 'object',
2106
+ 'sentAs' => 'CacheBehavior',
2107
+ 'properties' => array(
2108
+ 'PathPattern' => array(
2109
+ 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
2110
+ 'type' => 'string',
2111
+ ),
2112
+ 'TargetOriginId' => array(
2113
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
2114
+ 'type' => 'string',
2115
+ ),
2116
+ 'ForwardedValues' => array(
2117
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
2118
+ 'type' => 'object',
2119
+ 'properties' => array(
2120
+ 'QueryString' => array(
2121
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
2122
+ 'type' => 'boolean',
2123
+ ),
2124
+ ),
2125
+ ),
2126
+ 'TrustedSigners' => array(
2127
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
2128
+ 'type' => 'object',
2129
+ 'properties' => array(
2130
+ 'Enabled' => array(
2131
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
2132
+ 'type' => 'boolean',
2133
+ ),
2134
+ 'Quantity' => array(
2135
+ 'description' => 'The number of trusted signers for this cache behavior.',
2136
+ 'type' => 'numeric',
2137
+ ),
2138
+ 'Items' => array(
2139
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
2140
+ 'type' => 'array',
2141
+ 'items' => array(
2142
+ 'name' => 'AwsAccountNumber',
2143
+ 'type' => 'string',
2144
+ 'sentAs' => 'AwsAccountNumber',
2145
+ ),
2146
+ ),
2147
+ ),
2148
+ ),
2149
+ 'ViewerProtocolPolicy' => array(
2150
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
2151
+ 'type' => 'string',
2152
+ ),
2153
+ 'MinTTL' => array(
2154
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
2155
+ 'type' => 'numeric',
2156
+ ),
2157
+ ),
2158
+ ),
2159
+ ),
2160
+ ),
2161
+ ),
2162
+ 'Comment' => array(
2163
+ 'description' => 'Any comments you want to include about the distribution.',
2164
+ 'type' => 'string',
2165
+ ),
2166
+ 'Logging' => array(
2167
+ 'description' => 'A complex type that controls whether access logs are written for the distribution.',
2168
+ 'type' => 'object',
2169
+ 'properties' => array(
2170
+ 'Enabled' => array(
2171
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
2172
+ 'type' => 'boolean',
2173
+ ),
2174
+ 'Bucket' => array(
2175
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
2176
+ 'type' => 'string',
2177
+ ),
2178
+ 'Prefix' => array(
2179
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
2180
+ 'type' => 'string',
2181
+ ),
2182
+ ),
2183
+ ),
2184
+ 'Enabled' => array(
2185
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
2186
+ 'type' => 'boolean',
2187
+ ),
2188
+ ),
2189
+ ),
2190
+ 'Location' => array(
2191
+ 'description' => 'The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.',
2192
+ 'type' => 'string',
2193
+ 'location' => 'header',
2194
+ ),
2195
+ 'ETag' => array(
2196
+ 'description' => 'The current version of the distribution created.',
2197
+ 'type' => 'string',
2198
+ 'location' => 'header',
2199
+ ),
2200
+ 'RequestId' => array(
2201
+ 'description' => 'Request ID of the operation',
2202
+ 'location' => 'header',
2203
+ 'sentAs' => 'x-amz-request-id',
2204
+ ),
2205
+ ),
2206
+ ),
2207
+ 'CreateInvalidationResult' => array(
2208
+ 'type' => 'object',
2209
+ 'additionalProperties' => true,
2210
+ 'properties' => array(
2211
+ 'Location' => array(
2212
+ 'description' => 'The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.',
2213
+ 'type' => 'string',
2214
+ 'location' => 'header',
2215
+ ),
2216
+ 'Id' => array(
2217
+ 'description' => 'The identifier for the invalidation request. For example: IDFDVBD632BHDS5.',
2218
+ 'type' => 'string',
2219
+ 'location' => 'xml',
2220
+ ),
2221
+ 'Status' => array(
2222
+ 'description' => 'The status of the invalidation request. When the invalidation batch is finished, the status is Completed.',
2223
+ 'type' => 'string',
2224
+ 'location' => 'xml',
2225
+ ),
2226
+ 'CreateTime' => array(
2227
+ 'description' => 'The date and time the invalidation request was first made.',
2228
+ 'type' => 'string',
2229
+ 'location' => 'xml',
2230
+ ),
2231
+ 'InvalidationBatch' => array(
2232
+ 'description' => 'The current invalidation information for the batch request.',
2233
+ 'type' => 'object',
2234
+ 'location' => 'xml',
2235
+ 'properties' => array(
2236
+ 'Paths' => array(
2237
+ 'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.',
2238
+ 'type' => 'object',
2239
+ 'properties' => array(
2240
+ 'Quantity' => array(
2241
+ 'description' => 'The number of objects that you want to invalidate.',
2242
+ 'type' => 'numeric',
2243
+ ),
2244
+ 'Items' => array(
2245
+ 'description' => 'A complex type that contains a list of the objects that you want to invalidate.',
2246
+ 'type' => 'array',
2247
+ 'items' => array(
2248
+ 'name' => 'Path',
2249
+ 'type' => 'string',
2250
+ 'sentAs' => 'Path',
2251
+ ),
2252
+ ),
2253
+ ),
2254
+ ),
2255
+ 'CallerReference' => array(
2256
+ 'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.',
2257
+ 'type' => 'string',
2258
+ ),
2259
+ ),
2260
+ ),
2261
+ 'RequestId' => array(
2262
+ 'description' => 'Request ID of the operation',
2263
+ 'location' => 'header',
2264
+ 'sentAs' => 'x-amz-request-id',
2265
+ ),
2266
+ ),
2267
+ ),
2268
+ 'CreateStreamingDistributionResult' => array(
2269
+ 'type' => 'object',
2270
+ 'additionalProperties' => true,
2271
+ 'properties' => array(
2272
+ 'Id' => array(
2273
+ 'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.',
2274
+ 'type' => 'string',
2275
+ 'location' => 'xml',
2276
+ ),
2277
+ 'Status' => array(
2278
+ 'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
2279
+ 'type' => 'string',
2280
+ 'location' => 'xml',
2281
+ ),
2282
+ 'LastModifiedTime' => array(
2283
+ 'description' => 'The date and time the distribution was last modified.',
2284
+ 'type' => 'string',
2285
+ 'location' => 'xml',
2286
+ ),
2287
+ 'DomainName' => array(
2288
+ 'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.',
2289
+ 'type' => 'string',
2290
+ 'location' => 'xml',
2291
+ ),
2292
+ 'ActiveTrustedSigners' => array(
2293
+ 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
2294
+ 'type' => 'object',
2295
+ 'location' => 'xml',
2296
+ 'properties' => array(
2297
+ 'Enabled' => array(
2298
+ 'description' => 'Each active trusted signer.',
2299
+ 'type' => 'boolean',
2300
+ ),
2301
+ 'Quantity' => array(
2302
+ 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
2303
+ 'type' => 'numeric',
2304
+ ),
2305
+ 'Items' => array(
2306
+ 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
2307
+ 'type' => 'array',
2308
+ 'items' => array(
2309
+ 'name' => 'Signer',
2310
+ 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
2311
+ 'type' => 'object',
2312
+ 'sentAs' => 'Signer',
2313
+ 'properties' => array(
2314
+ 'AwsAccountNumber' => array(
2315
+ 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
2316
+ 'type' => 'string',
2317
+ ),
2318
+ 'KeyPairIds' => array(
2319
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
2320
+ 'type' => 'object',
2321
+ 'properties' => array(
2322
+ 'Quantity' => array(
2323
+ 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
2324
+ 'type' => 'numeric',
2325
+ ),
2326
+ 'Items' => array(
2327
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
2328
+ 'type' => 'array',
2329
+ 'items' => array(
2330
+ 'name' => 'KeyPairId',
2331
+ 'type' => 'string',
2332
+ 'sentAs' => 'KeyPairId',
2333
+ ),
2334
+ ),
2335
+ ),
2336
+ ),
2337
+ ),
2338
+ ),
2339
+ ),
2340
+ ),
2341
+ ),
2342
+ 'StreamingDistributionConfig' => array(
2343
+ 'description' => 'The current configuration information for the streaming distribution.',
2344
+ 'type' => 'object',
2345
+ 'location' => 'xml',
2346
+ 'properties' => array(
2347
+ 'CallerReference' => array(
2348
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
2349
+ 'type' => 'string',
2350
+ ),
2351
+ 'S3Origin' => array(
2352
+ 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
2353
+ 'type' => 'object',
2354
+ 'properties' => array(
2355
+ 'DomainName' => array(
2356
+ 'description' => 'The DNS name of the S3 origin.',
2357
+ 'type' => 'string',
2358
+ ),
2359
+ 'OriginAccessIdentity' => array(
2360
+ 'description' => 'Your S3 origin\'s origin access identity.',
2361
+ 'type' => 'string',
2362
+ ),
2363
+ ),
2364
+ ),
2365
+ 'Aliases' => array(
2366
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
2367
+ 'type' => 'object',
2368
+ 'properties' => array(
2369
+ 'Quantity' => array(
2370
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
2371
+ 'type' => 'numeric',
2372
+ ),
2373
+ 'Items' => array(
2374
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
2375
+ 'type' => 'array',
2376
+ 'items' => array(
2377
+ 'name' => 'CNAME',
2378
+ 'type' => 'string',
2379
+ 'sentAs' => 'CNAME',
2380
+ ),
2381
+ ),
2382
+ ),
2383
+ ),
2384
+ 'Comment' => array(
2385
+ 'description' => 'Any comments you want to include about the streaming distribution.',
2386
+ 'type' => 'string',
2387
+ ),
2388
+ 'Logging' => array(
2389
+ 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
2390
+ 'type' => 'object',
2391
+ 'properties' => array(
2392
+ 'Enabled' => array(
2393
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
2394
+ 'type' => 'boolean',
2395
+ ),
2396
+ 'Bucket' => array(
2397
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
2398
+ 'type' => 'string',
2399
+ ),
2400
+ 'Prefix' => array(
2401
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
2402
+ 'type' => 'string',
2403
+ ),
2404
+ ),
2405
+ ),
2406
+ 'TrustedSigners' => array(
2407
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
2408
+ 'type' => 'object',
2409
+ 'properties' => array(
2410
+ 'Enabled' => array(
2411
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
2412
+ 'type' => 'boolean',
2413
+ ),
2414
+ 'Quantity' => array(
2415
+ 'description' => 'The number of trusted signers for this cache behavior.',
2416
+ 'type' => 'numeric',
2417
+ ),
2418
+ 'Items' => array(
2419
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
2420
+ 'type' => 'array',
2421
+ 'items' => array(
2422
+ 'name' => 'AwsAccountNumber',
2423
+ 'type' => 'string',
2424
+ 'sentAs' => 'AwsAccountNumber',
2425
+ ),
2426
+ ),
2427
+ ),
2428
+ ),
2429
+ 'Enabled' => array(
2430
+ 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
2431
+ 'type' => 'boolean',
2432
+ ),
2433
+ ),
2434
+ ),
2435
+ 'Location' => array(
2436
+ 'description' => 'The fully qualified URI of the new streaming distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8.',
2437
+ 'type' => 'string',
2438
+ 'location' => 'header',
2439
+ ),
2440
+ 'ETag' => array(
2441
+ 'description' => 'The current version of the streaming distribution created.',
2442
+ 'type' => 'string',
2443
+ 'location' => 'header',
2444
+ ),
2445
+ 'RequestId' => array(
2446
+ 'description' => 'Request ID of the operation',
2447
+ 'location' => 'header',
2448
+ 'sentAs' => 'x-amz-request-id',
2449
+ ),
2450
+ ),
2451
+ ),
2452
+ 'DeleteCloudFrontOriginAccessIdentity2012_05_05Output' => array(
2453
+ 'type' => 'object',
2454
+ 'additionalProperties' => true,
2455
+ 'properties' => array(
2456
+ 'RequestId' => array(
2457
+ 'description' => 'Request ID of the operation',
2458
+ 'location' => 'header',
2459
+ 'sentAs' => 'x-amz-request-id',
2460
+ ),
2461
+ ),
2462
+ ),
2463
+ 'DeleteDistribution2012_05_05Output' => array(
2464
+ 'type' => 'object',
2465
+ 'additionalProperties' => true,
2466
+ 'properties' => array(
2467
+ 'RequestId' => array(
2468
+ 'description' => 'Request ID of the operation',
2469
+ 'location' => 'header',
2470
+ 'sentAs' => 'x-amz-request-id',
2471
+ ),
2472
+ ),
2473
+ ),
2474
+ 'DeleteStreamingDistribution2012_05_05Output' => array(
2475
+ 'type' => 'object',
2476
+ 'additionalProperties' => true,
2477
+ 'properties' => array(
2478
+ 'RequestId' => array(
2479
+ 'description' => 'Request ID of the operation',
2480
+ 'location' => 'header',
2481
+ 'sentAs' => 'x-amz-request-id',
2482
+ ),
2483
+ ),
2484
+ ),
2485
+ 'GetCloudFrontOriginAccessIdentityResult' => array(
2486
+ 'type' => 'object',
2487
+ 'additionalProperties' => true,
2488
+ 'properties' => array(
2489
+ 'Id' => array(
2490
+ 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
2491
+ 'type' => 'string',
2492
+ 'location' => 'xml',
2493
+ ),
2494
+ 'S3CanonicalUserId' => array(
2495
+ 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
2496
+ 'type' => 'string',
2497
+ 'location' => 'xml',
2498
+ ),
2499
+ 'CloudFrontOriginAccessIdentityConfig' => array(
2500
+ 'description' => 'The current configuration information for the identity.',
2501
+ 'type' => 'object',
2502
+ 'location' => 'xml',
2503
+ 'properties' => array(
2504
+ 'CallerReference' => array(
2505
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
2506
+ 'type' => 'string',
2507
+ ),
2508
+ 'Comment' => array(
2509
+ 'description' => 'Any comments you want to include about the origin access identity.',
2510
+ 'type' => 'string',
2511
+ ),
2512
+ ),
2513
+ ),
2514
+ 'ETag' => array(
2515
+ 'description' => 'The current version of the origin access identity\'s information. For example: E2QWRUHAPOMQZL.',
2516
+ 'type' => 'string',
2517
+ 'location' => 'header',
2518
+ ),
2519
+ 'RequestId' => array(
2520
+ 'description' => 'Request ID of the operation',
2521
+ 'location' => 'header',
2522
+ 'sentAs' => 'x-amz-request-id',
2523
+ ),
2524
+ ),
2525
+ ),
2526
+ 'GetCloudFrontOriginAccessIdentityConfigResult' => array(
2527
+ 'type' => 'object',
2528
+ 'additionalProperties' => true,
2529
+ 'properties' => array(
2530
+ 'CallerReference' => array(
2531
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
2532
+ 'type' => 'string',
2533
+ 'location' => 'xml',
2534
+ ),
2535
+ 'Comment' => array(
2536
+ 'description' => 'Any comments you want to include about the origin access identity.',
2537
+ 'type' => 'string',
2538
+ 'location' => 'xml',
2539
+ ),
2540
+ 'ETag' => array(
2541
+ 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
2542
+ 'type' => 'string',
2543
+ 'location' => 'header',
2544
+ ),
2545
+ 'RequestId' => array(
2546
+ 'description' => 'Request ID of the operation',
2547
+ 'location' => 'header',
2548
+ 'sentAs' => 'x-amz-request-id',
2549
+ ),
2550
+ ),
2551
+ ),
2552
+ 'GetDistributionResult' => array(
2553
+ 'type' => 'object',
2554
+ 'additionalProperties' => true,
2555
+ 'properties' => array(
2556
+ 'Id' => array(
2557
+ 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
2558
+ 'type' => 'string',
2559
+ 'location' => 'xml',
2560
+ ),
2561
+ 'Status' => array(
2562
+ 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
2563
+ 'type' => 'string',
2564
+ 'location' => 'xml',
2565
+ ),
2566
+ 'LastModifiedTime' => array(
2567
+ 'description' => 'The date and time the distribution was last modified.',
2568
+ 'type' => 'string',
2569
+ 'location' => 'xml',
2570
+ ),
2571
+ 'InProgressInvalidationBatches' => array(
2572
+ 'description' => 'The number of invalidation batches currently in progress.',
2573
+ 'type' => 'numeric',
2574
+ 'location' => 'xml',
2575
+ ),
2576
+ 'DomainName' => array(
2577
+ 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
2578
+ 'type' => 'string',
2579
+ 'location' => 'xml',
2580
+ ),
2581
+ 'ActiveTrustedSigners' => array(
2582
+ 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
2583
+ 'type' => 'object',
2584
+ 'location' => 'xml',
2585
+ 'properties' => array(
2586
+ 'Enabled' => array(
2587
+ 'description' => 'Each active trusted signer.',
2588
+ 'type' => 'boolean',
2589
+ ),
2590
+ 'Quantity' => array(
2591
+ 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
2592
+ 'type' => 'numeric',
2593
+ ),
2594
+ 'Items' => array(
2595
+ 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
2596
+ 'type' => 'array',
2597
+ 'items' => array(
2598
+ 'name' => 'Signer',
2599
+ 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
2600
+ 'type' => 'object',
2601
+ 'sentAs' => 'Signer',
2602
+ 'properties' => array(
2603
+ 'AwsAccountNumber' => array(
2604
+ 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
2605
+ 'type' => 'string',
2606
+ ),
2607
+ 'KeyPairIds' => array(
2608
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
2609
+ 'type' => 'object',
2610
+ 'properties' => array(
2611
+ 'Quantity' => array(
2612
+ 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
2613
+ 'type' => 'numeric',
2614
+ ),
2615
+ 'Items' => array(
2616
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
2617
+ 'type' => 'array',
2618
+ 'items' => array(
2619
+ 'name' => 'KeyPairId',
2620
+ 'type' => 'string',
2621
+ 'sentAs' => 'KeyPairId',
2622
+ ),
2623
+ ),
2624
+ ),
2625
+ ),
2626
+ ),
2627
+ ),
2628
+ ),
2629
+ ),
2630
+ ),
2631
+ 'DistributionConfig' => array(
2632
+ 'description' => 'The current configuration information for the distribution.',
2633
+ 'type' => 'object',
2634
+ 'location' => 'xml',
2635
+ 'properties' => array(
2636
+ 'CallerReference' => array(
2637
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
2638
+ 'type' => 'string',
2639
+ ),
2640
+ 'Aliases' => array(
2641
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
2642
+ 'type' => 'object',
2643
+ 'properties' => array(
2644
+ 'Quantity' => array(
2645
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
2646
+ 'type' => 'numeric',
2647
+ ),
2648
+ 'Items' => array(
2649
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
2650
+ 'type' => 'array',
2651
+ 'items' => array(
2652
+ 'name' => 'CNAME',
2653
+ 'type' => 'string',
2654
+ 'sentAs' => 'CNAME',
2655
+ ),
2656
+ ),
2657
+ ),
2658
+ ),
2659
+ 'DefaultRootObject' => array(
2660
+ 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
2661
+ 'type' => 'string',
2662
+ ),
2663
+ 'Origins' => array(
2664
+ 'description' => 'A complex type that contains information about origins for this distribution.',
2665
+ 'type' => 'object',
2666
+ 'properties' => array(
2667
+ 'Quantity' => array(
2668
+ 'description' => 'The number of origins for this distribution.',
2669
+ 'type' => 'numeric',
2670
+ ),
2671
+ 'Items' => array(
2672
+ 'description' => 'A complex type that contains origins for this distribution.',
2673
+ 'type' => 'array',
2674
+ 'items' => array(
2675
+ 'name' => 'Origin',
2676
+ 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
2677
+ 'type' => 'object',
2678
+ 'sentAs' => 'Origin',
2679
+ 'properties' => array(
2680
+ 'Id' => array(
2681
+ 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
2682
+ 'type' => 'string',
2683
+ ),
2684
+ 'DomainName' => array(
2685
+ 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
2686
+ 'type' => 'string',
2687
+ ),
2688
+ 'S3OriginConfig' => array(
2689
+ 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
2690
+ 'type' => 'object',
2691
+ 'properties' => array(
2692
+ 'OriginAccessIdentity' => array(
2693
+ 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
2694
+ 'type' => 'string',
2695
+ ),
2696
+ ),
2697
+ ),
2698
+ 'CustomOriginConfig' => array(
2699
+ 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
2700
+ 'type' => 'object',
2701
+ 'properties' => array(
2702
+ 'HTTPPort' => array(
2703
+ 'description' => 'The HTTP port the custom origin listens on.',
2704
+ 'type' => 'numeric',
2705
+ ),
2706
+ 'HTTPSPort' => array(
2707
+ 'description' => 'The HTTPS port the custom origin listens on.',
2708
+ 'type' => 'numeric',
2709
+ ),
2710
+ 'OriginProtocolPolicy' => array(
2711
+ 'description' => 'The origin protocol policy to apply to your origin.',
2712
+ 'type' => 'string',
2713
+ ),
2714
+ ),
2715
+ ),
2716
+ ),
2717
+ ),
2718
+ ),
2719
+ ),
2720
+ ),
2721
+ 'DefaultCacheBehavior' => array(
2722
+ 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
2723
+ 'type' => 'object',
2724
+ 'properties' => array(
2725
+ 'TargetOriginId' => array(
2726
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
2727
+ 'type' => 'string',
2728
+ ),
2729
+ 'ForwardedValues' => array(
2730
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
2731
+ 'type' => 'object',
2732
+ 'properties' => array(
2733
+ 'QueryString' => array(
2734
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
2735
+ 'type' => 'boolean',
2736
+ ),
2737
+ ),
2738
+ ),
2739
+ 'TrustedSigners' => array(
2740
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
2741
+ 'type' => 'object',
2742
+ 'properties' => array(
2743
+ 'Enabled' => array(
2744
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
2745
+ 'type' => 'boolean',
2746
+ ),
2747
+ 'Quantity' => array(
2748
+ 'description' => 'The number of trusted signers for this cache behavior.',
2749
+ 'type' => 'numeric',
2750
+ ),
2751
+ 'Items' => array(
2752
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
2753
+ 'type' => 'array',
2754
+ 'items' => array(
2755
+ 'name' => 'AwsAccountNumber',
2756
+ 'type' => 'string',
2757
+ 'sentAs' => 'AwsAccountNumber',
2758
+ ),
2759
+ ),
2760
+ ),
2761
+ ),
2762
+ 'ViewerProtocolPolicy' => array(
2763
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
2764
+ 'type' => 'string',
2765
+ ),
2766
+ 'MinTTL' => array(
2767
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
2768
+ 'type' => 'numeric',
2769
+ ),
2770
+ ),
2771
+ ),
2772
+ 'CacheBehaviors' => array(
2773
+ 'description' => 'A complex type that contains zero or more CacheBehavior elements.',
2774
+ 'type' => 'object',
2775
+ 'properties' => array(
2776
+ 'Quantity' => array(
2777
+ 'description' => 'The number of cache behaviors for this distribution.',
2778
+ 'type' => 'numeric',
2779
+ ),
2780
+ 'Items' => array(
2781
+ 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
2782
+ 'type' => 'array',
2783
+ 'items' => array(
2784
+ 'name' => 'CacheBehavior',
2785
+ 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
2786
+ 'type' => 'object',
2787
+ 'sentAs' => 'CacheBehavior',
2788
+ 'properties' => array(
2789
+ 'PathPattern' => array(
2790
+ 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
2791
+ 'type' => 'string',
2792
+ ),
2793
+ 'TargetOriginId' => array(
2794
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
2795
+ 'type' => 'string',
2796
+ ),
2797
+ 'ForwardedValues' => array(
2798
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
2799
+ 'type' => 'object',
2800
+ 'properties' => array(
2801
+ 'QueryString' => array(
2802
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
2803
+ 'type' => 'boolean',
2804
+ ),
2805
+ ),
2806
+ ),
2807
+ 'TrustedSigners' => array(
2808
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
2809
+ 'type' => 'object',
2810
+ 'properties' => array(
2811
+ 'Enabled' => array(
2812
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
2813
+ 'type' => 'boolean',
2814
+ ),
2815
+ 'Quantity' => array(
2816
+ 'description' => 'The number of trusted signers for this cache behavior.',
2817
+ 'type' => 'numeric',
2818
+ ),
2819
+ 'Items' => array(
2820
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
2821
+ 'type' => 'array',
2822
+ 'items' => array(
2823
+ 'name' => 'AwsAccountNumber',
2824
+ 'type' => 'string',
2825
+ 'sentAs' => 'AwsAccountNumber',
2826
+ ),
2827
+ ),
2828
+ ),
2829
+ ),
2830
+ 'ViewerProtocolPolicy' => array(
2831
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
2832
+ 'type' => 'string',
2833
+ ),
2834
+ 'MinTTL' => array(
2835
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
2836
+ 'type' => 'numeric',
2837
+ ),
2838
+ ),
2839
+ ),
2840
+ ),
2841
+ ),
2842
+ ),
2843
+ 'Comment' => array(
2844
+ 'description' => 'Any comments you want to include about the distribution.',
2845
+ 'type' => 'string',
2846
+ ),
2847
+ 'Logging' => array(
2848
+ 'description' => 'A complex type that controls whether access logs are written for the distribution.',
2849
+ 'type' => 'object',
2850
+ 'properties' => array(
2851
+ 'Enabled' => array(
2852
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
2853
+ 'type' => 'boolean',
2854
+ ),
2855
+ 'Bucket' => array(
2856
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
2857
+ 'type' => 'string',
2858
+ ),
2859
+ 'Prefix' => array(
2860
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
2861
+ 'type' => 'string',
2862
+ ),
2863
+ ),
2864
+ ),
2865
+ 'Enabled' => array(
2866
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
2867
+ 'type' => 'boolean',
2868
+ ),
2869
+ ),
2870
+ ),
2871
+ 'ETag' => array(
2872
+ 'description' => 'The current version of the distribution\'s information. For example: E2QWRUHAPOMQZL.',
2873
+ 'type' => 'string',
2874
+ 'location' => 'header',
2875
+ ),
2876
+ 'RequestId' => array(
2877
+ 'description' => 'Request ID of the operation',
2878
+ 'location' => 'header',
2879
+ 'sentAs' => 'x-amz-request-id',
2880
+ ),
2881
+ ),
2882
+ ),
2883
+ 'GetDistributionConfigResult' => array(
2884
+ 'type' => 'object',
2885
+ 'additionalProperties' => true,
2886
+ 'properties' => array(
2887
+ 'CallerReference' => array(
2888
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
2889
+ 'type' => 'string',
2890
+ 'location' => 'xml',
2891
+ ),
2892
+ 'Aliases' => array(
2893
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
2894
+ 'type' => 'object',
2895
+ 'location' => 'xml',
2896
+ 'properties' => array(
2897
+ 'Quantity' => array(
2898
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
2899
+ 'type' => 'numeric',
2900
+ ),
2901
+ 'Items' => array(
2902
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
2903
+ 'type' => 'array',
2904
+ 'items' => array(
2905
+ 'name' => 'CNAME',
2906
+ 'type' => 'string',
2907
+ 'sentAs' => 'CNAME',
2908
+ ),
2909
+ ),
2910
+ ),
2911
+ ),
2912
+ 'DefaultRootObject' => array(
2913
+ 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
2914
+ 'type' => 'string',
2915
+ 'location' => 'xml',
2916
+ ),
2917
+ 'Origins' => array(
2918
+ 'description' => 'A complex type that contains information about origins for this distribution.',
2919
+ 'type' => 'object',
2920
+ 'location' => 'xml',
2921
+ 'properties' => array(
2922
+ 'Quantity' => array(
2923
+ 'description' => 'The number of origins for this distribution.',
2924
+ 'type' => 'numeric',
2925
+ ),
2926
+ 'Items' => array(
2927
+ 'description' => 'A complex type that contains origins for this distribution.',
2928
+ 'type' => 'array',
2929
+ 'items' => array(
2930
+ 'name' => 'Origin',
2931
+ 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
2932
+ 'type' => 'object',
2933
+ 'sentAs' => 'Origin',
2934
+ 'properties' => array(
2935
+ 'Id' => array(
2936
+ 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
2937
+ 'type' => 'string',
2938
+ ),
2939
+ 'DomainName' => array(
2940
+ 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
2941
+ 'type' => 'string',
2942
+ ),
2943
+ 'S3OriginConfig' => array(
2944
+ 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
2945
+ 'type' => 'object',
2946
+ 'properties' => array(
2947
+ 'OriginAccessIdentity' => array(
2948
+ 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
2949
+ 'type' => 'string',
2950
+ ),
2951
+ ),
2952
+ ),
2953
+ 'CustomOriginConfig' => array(
2954
+ 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
2955
+ 'type' => 'object',
2956
+ 'properties' => array(
2957
+ 'HTTPPort' => array(
2958
+ 'description' => 'The HTTP port the custom origin listens on.',
2959
+ 'type' => 'numeric',
2960
+ ),
2961
+ 'HTTPSPort' => array(
2962
+ 'description' => 'The HTTPS port the custom origin listens on.',
2963
+ 'type' => 'numeric',
2964
+ ),
2965
+ 'OriginProtocolPolicy' => array(
2966
+ 'description' => 'The origin protocol policy to apply to your origin.',
2967
+ 'type' => 'string',
2968
+ ),
2969
+ ),
2970
+ ),
2971
+ ),
2972
+ ),
2973
+ ),
2974
+ ),
2975
+ ),
2976
+ 'DefaultCacheBehavior' => array(
2977
+ 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
2978
+ 'type' => 'object',
2979
+ 'location' => 'xml',
2980
+ 'properties' => array(
2981
+ 'TargetOriginId' => array(
2982
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
2983
+ 'type' => 'string',
2984
+ ),
2985
+ 'ForwardedValues' => array(
2986
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
2987
+ 'type' => 'object',
2988
+ 'properties' => array(
2989
+ 'QueryString' => array(
2990
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
2991
+ 'type' => 'boolean',
2992
+ ),
2993
+ ),
2994
+ ),
2995
+ 'TrustedSigners' => array(
2996
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
2997
+ 'type' => 'object',
2998
+ 'properties' => array(
2999
+ 'Enabled' => array(
3000
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
3001
+ 'type' => 'boolean',
3002
+ ),
3003
+ 'Quantity' => array(
3004
+ 'description' => 'The number of trusted signers for this cache behavior.',
3005
+ 'type' => 'numeric',
3006
+ ),
3007
+ 'Items' => array(
3008
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
3009
+ 'type' => 'array',
3010
+ 'items' => array(
3011
+ 'name' => 'AwsAccountNumber',
3012
+ 'type' => 'string',
3013
+ 'sentAs' => 'AwsAccountNumber',
3014
+ ),
3015
+ ),
3016
+ ),
3017
+ ),
3018
+ 'ViewerProtocolPolicy' => array(
3019
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
3020
+ 'type' => 'string',
3021
+ ),
3022
+ 'MinTTL' => array(
3023
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
3024
+ 'type' => 'numeric',
3025
+ ),
3026
+ ),
3027
+ ),
3028
+ 'CacheBehaviors' => array(
3029
+ 'description' => 'A complex type that contains zero or more CacheBehavior elements.',
3030
+ 'type' => 'object',
3031
+ 'location' => 'xml',
3032
+ 'properties' => array(
3033
+ 'Quantity' => array(
3034
+ 'description' => 'The number of cache behaviors for this distribution.',
3035
+ 'type' => 'numeric',
3036
+ ),
3037
+ 'Items' => array(
3038
+ 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
3039
+ 'type' => 'array',
3040
+ 'items' => array(
3041
+ 'name' => 'CacheBehavior',
3042
+ 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
3043
+ 'type' => 'object',
3044
+ 'sentAs' => 'CacheBehavior',
3045
+ 'properties' => array(
3046
+ 'PathPattern' => array(
3047
+ 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
3048
+ 'type' => 'string',
3049
+ ),
3050
+ 'TargetOriginId' => array(
3051
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
3052
+ 'type' => 'string',
3053
+ ),
3054
+ 'ForwardedValues' => array(
3055
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
3056
+ 'type' => 'object',
3057
+ 'properties' => array(
3058
+ 'QueryString' => array(
3059
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
3060
+ 'type' => 'boolean',
3061
+ ),
3062
+ ),
3063
+ ),
3064
+ 'TrustedSigners' => array(
3065
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
3066
+ 'type' => 'object',
3067
+ 'properties' => array(
3068
+ 'Enabled' => array(
3069
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
3070
+ 'type' => 'boolean',
3071
+ ),
3072
+ 'Quantity' => array(
3073
+ 'description' => 'The number of trusted signers for this cache behavior.',
3074
+ 'type' => 'numeric',
3075
+ ),
3076
+ 'Items' => array(
3077
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
3078
+ 'type' => 'array',
3079
+ 'items' => array(
3080
+ 'name' => 'AwsAccountNumber',
3081
+ 'type' => 'string',
3082
+ 'sentAs' => 'AwsAccountNumber',
3083
+ ),
3084
+ ),
3085
+ ),
3086
+ ),
3087
+ 'ViewerProtocolPolicy' => array(
3088
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
3089
+ 'type' => 'string',
3090
+ ),
3091
+ 'MinTTL' => array(
3092
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
3093
+ 'type' => 'numeric',
3094
+ ),
3095
+ ),
3096
+ ),
3097
+ ),
3098
+ ),
3099
+ ),
3100
+ 'Comment' => array(
3101
+ 'description' => 'Any comments you want to include about the distribution.',
3102
+ 'type' => 'string',
3103
+ 'location' => 'xml',
3104
+ ),
3105
+ 'Logging' => array(
3106
+ 'description' => 'A complex type that controls whether access logs are written for the distribution.',
3107
+ 'type' => 'object',
3108
+ 'location' => 'xml',
3109
+ 'properties' => array(
3110
+ 'Enabled' => array(
3111
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
3112
+ 'type' => 'boolean',
3113
+ ),
3114
+ 'Bucket' => array(
3115
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
3116
+ 'type' => 'string',
3117
+ ),
3118
+ 'Prefix' => array(
3119
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
3120
+ 'type' => 'string',
3121
+ ),
3122
+ ),
3123
+ ),
3124
+ 'Enabled' => array(
3125
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
3126
+ 'type' => 'boolean',
3127
+ 'location' => 'xml',
3128
+ ),
3129
+ 'ETag' => array(
3130
+ 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
3131
+ 'type' => 'string',
3132
+ 'location' => 'header',
3133
+ ),
3134
+ 'RequestId' => array(
3135
+ 'description' => 'Request ID of the operation',
3136
+ 'location' => 'header',
3137
+ 'sentAs' => 'x-amz-request-id',
3138
+ ),
3139
+ ),
3140
+ ),
3141
+ 'GetInvalidationResult' => array(
3142
+ 'type' => 'object',
3143
+ 'additionalProperties' => true,
3144
+ 'properties' => array(
3145
+ 'Id' => array(
3146
+ 'description' => 'The identifier for the invalidation request. For example: IDFDVBD632BHDS5.',
3147
+ 'type' => 'string',
3148
+ 'location' => 'xml',
3149
+ ),
3150
+ 'Status' => array(
3151
+ 'description' => 'The status of the invalidation request. When the invalidation batch is finished, the status is Completed.',
3152
+ 'type' => 'string',
3153
+ 'location' => 'xml',
3154
+ ),
3155
+ 'CreateTime' => array(
3156
+ 'description' => 'The date and time the invalidation request was first made.',
3157
+ 'type' => 'string',
3158
+ 'location' => 'xml',
3159
+ ),
3160
+ 'InvalidationBatch' => array(
3161
+ 'description' => 'The current invalidation information for the batch request.',
3162
+ 'type' => 'object',
3163
+ 'location' => 'xml',
3164
+ 'properties' => array(
3165
+ 'Paths' => array(
3166
+ 'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.',
3167
+ 'type' => 'object',
3168
+ 'properties' => array(
3169
+ 'Quantity' => array(
3170
+ 'description' => 'The number of objects that you want to invalidate.',
3171
+ 'type' => 'numeric',
3172
+ ),
3173
+ 'Items' => array(
3174
+ 'description' => 'A complex type that contains a list of the objects that you want to invalidate.',
3175
+ 'type' => 'array',
3176
+ 'items' => array(
3177
+ 'name' => 'Path',
3178
+ 'type' => 'string',
3179
+ 'sentAs' => 'Path',
3180
+ ),
3181
+ ),
3182
+ ),
3183
+ ),
3184
+ 'CallerReference' => array(
3185
+ 'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.',
3186
+ 'type' => 'string',
3187
+ ),
3188
+ ),
3189
+ ),
3190
+ 'RequestId' => array(
3191
+ 'description' => 'Request ID of the operation',
3192
+ 'location' => 'header',
3193
+ 'sentAs' => 'x-amz-request-id',
3194
+ ),
3195
+ ),
3196
+ ),
3197
+ 'GetStreamingDistributionResult' => array(
3198
+ 'type' => 'object',
3199
+ 'additionalProperties' => true,
3200
+ 'properties' => array(
3201
+ 'Id' => array(
3202
+ 'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.',
3203
+ 'type' => 'string',
3204
+ 'location' => 'xml',
3205
+ ),
3206
+ 'Status' => array(
3207
+ 'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
3208
+ 'type' => 'string',
3209
+ 'location' => 'xml',
3210
+ ),
3211
+ 'LastModifiedTime' => array(
3212
+ 'description' => 'The date and time the distribution was last modified.',
3213
+ 'type' => 'string',
3214
+ 'location' => 'xml',
3215
+ ),
3216
+ 'DomainName' => array(
3217
+ 'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.',
3218
+ 'type' => 'string',
3219
+ 'location' => 'xml',
3220
+ ),
3221
+ 'ActiveTrustedSigners' => array(
3222
+ 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
3223
+ 'type' => 'object',
3224
+ 'location' => 'xml',
3225
+ 'properties' => array(
3226
+ 'Enabled' => array(
3227
+ 'description' => 'Each active trusted signer.',
3228
+ 'type' => 'boolean',
3229
+ ),
3230
+ 'Quantity' => array(
3231
+ 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
3232
+ 'type' => 'numeric',
3233
+ ),
3234
+ 'Items' => array(
3235
+ 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
3236
+ 'type' => 'array',
3237
+ 'items' => array(
3238
+ 'name' => 'Signer',
3239
+ 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
3240
+ 'type' => 'object',
3241
+ 'sentAs' => 'Signer',
3242
+ 'properties' => array(
3243
+ 'AwsAccountNumber' => array(
3244
+ 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
3245
+ 'type' => 'string',
3246
+ ),
3247
+ 'KeyPairIds' => array(
3248
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
3249
+ 'type' => 'object',
3250
+ 'properties' => array(
3251
+ 'Quantity' => array(
3252
+ 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
3253
+ 'type' => 'numeric',
3254
+ ),
3255
+ 'Items' => array(
3256
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
3257
+ 'type' => 'array',
3258
+ 'items' => array(
3259
+ 'name' => 'KeyPairId',
3260
+ 'type' => 'string',
3261
+ 'sentAs' => 'KeyPairId',
3262
+ ),
3263
+ ),
3264
+ ),
3265
+ ),
3266
+ ),
3267
+ ),
3268
+ ),
3269
+ ),
3270
+ ),
3271
+ 'StreamingDistributionConfig' => array(
3272
+ 'description' => 'The current configuration information for the streaming distribution.',
3273
+ 'type' => 'object',
3274
+ 'location' => 'xml',
3275
+ 'properties' => array(
3276
+ 'CallerReference' => array(
3277
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
3278
+ 'type' => 'string',
3279
+ ),
3280
+ 'S3Origin' => array(
3281
+ 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
3282
+ 'type' => 'object',
3283
+ 'properties' => array(
3284
+ 'DomainName' => array(
3285
+ 'description' => 'The DNS name of the S3 origin.',
3286
+ 'type' => 'string',
3287
+ ),
3288
+ 'OriginAccessIdentity' => array(
3289
+ 'description' => 'Your S3 origin\'s origin access identity.',
3290
+ 'type' => 'string',
3291
+ ),
3292
+ ),
3293
+ ),
3294
+ 'Aliases' => array(
3295
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
3296
+ 'type' => 'object',
3297
+ 'properties' => array(
3298
+ 'Quantity' => array(
3299
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
3300
+ 'type' => 'numeric',
3301
+ ),
3302
+ 'Items' => array(
3303
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
3304
+ 'type' => 'array',
3305
+ 'items' => array(
3306
+ 'name' => 'CNAME',
3307
+ 'type' => 'string',
3308
+ 'sentAs' => 'CNAME',
3309
+ ),
3310
+ ),
3311
+ ),
3312
+ ),
3313
+ 'Comment' => array(
3314
+ 'description' => 'Any comments you want to include about the streaming distribution.',
3315
+ 'type' => 'string',
3316
+ ),
3317
+ 'Logging' => array(
3318
+ 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
3319
+ 'type' => 'object',
3320
+ 'properties' => array(
3321
+ 'Enabled' => array(
3322
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
3323
+ 'type' => 'boolean',
3324
+ ),
3325
+ 'Bucket' => array(
3326
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
3327
+ 'type' => 'string',
3328
+ ),
3329
+ 'Prefix' => array(
3330
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
3331
+ 'type' => 'string',
3332
+ ),
3333
+ ),
3334
+ ),
3335
+ 'TrustedSigners' => array(
3336
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
3337
+ 'type' => 'object',
3338
+ 'properties' => array(
3339
+ 'Enabled' => array(
3340
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
3341
+ 'type' => 'boolean',
3342
+ ),
3343
+ 'Quantity' => array(
3344
+ 'description' => 'The number of trusted signers for this cache behavior.',
3345
+ 'type' => 'numeric',
3346
+ ),
3347
+ 'Items' => array(
3348
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
3349
+ 'type' => 'array',
3350
+ 'items' => array(
3351
+ 'name' => 'AwsAccountNumber',
3352
+ 'type' => 'string',
3353
+ 'sentAs' => 'AwsAccountNumber',
3354
+ ),
3355
+ ),
3356
+ ),
3357
+ ),
3358
+ 'Enabled' => array(
3359
+ 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
3360
+ 'type' => 'boolean',
3361
+ ),
3362
+ ),
3363
+ ),
3364
+ 'ETag' => array(
3365
+ 'description' => 'The current version of the streaming distribution\'s information. For example: E2QWRUHAPOMQZL.',
3366
+ 'type' => 'string',
3367
+ 'location' => 'header',
3368
+ ),
3369
+ 'RequestId' => array(
3370
+ 'description' => 'Request ID of the operation',
3371
+ 'location' => 'header',
3372
+ 'sentAs' => 'x-amz-request-id',
3373
+ ),
3374
+ ),
3375
+ ),
3376
+ 'GetStreamingDistributionConfigResult' => array(
3377
+ 'type' => 'object',
3378
+ 'additionalProperties' => true,
3379
+ 'properties' => array(
3380
+ 'CallerReference' => array(
3381
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
3382
+ 'type' => 'string',
3383
+ 'location' => 'xml',
3384
+ ),
3385
+ 'S3Origin' => array(
3386
+ 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
3387
+ 'type' => 'object',
3388
+ 'location' => 'xml',
3389
+ 'properties' => array(
3390
+ 'DomainName' => array(
3391
+ 'description' => 'The DNS name of the S3 origin.',
3392
+ 'type' => 'string',
3393
+ ),
3394
+ 'OriginAccessIdentity' => array(
3395
+ 'description' => 'Your S3 origin\'s origin access identity.',
3396
+ 'type' => 'string',
3397
+ ),
3398
+ ),
3399
+ ),
3400
+ 'Aliases' => array(
3401
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
3402
+ 'type' => 'object',
3403
+ 'location' => 'xml',
3404
+ 'properties' => array(
3405
+ 'Quantity' => array(
3406
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
3407
+ 'type' => 'numeric',
3408
+ ),
3409
+ 'Items' => array(
3410
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
3411
+ 'type' => 'array',
3412
+ 'items' => array(
3413
+ 'name' => 'CNAME',
3414
+ 'type' => 'string',
3415
+ 'sentAs' => 'CNAME',
3416
+ ),
3417
+ ),
3418
+ ),
3419
+ ),
3420
+ 'Comment' => array(
3421
+ 'description' => 'Any comments you want to include about the streaming distribution.',
3422
+ 'type' => 'string',
3423
+ 'location' => 'xml',
3424
+ ),
3425
+ 'Logging' => array(
3426
+ 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
3427
+ 'type' => 'object',
3428
+ 'location' => 'xml',
3429
+ 'properties' => array(
3430
+ 'Enabled' => array(
3431
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
3432
+ 'type' => 'boolean',
3433
+ ),
3434
+ 'Bucket' => array(
3435
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
3436
+ 'type' => 'string',
3437
+ ),
3438
+ 'Prefix' => array(
3439
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
3440
+ 'type' => 'string',
3441
+ ),
3442
+ ),
3443
+ ),
3444
+ 'TrustedSigners' => array(
3445
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
3446
+ 'type' => 'object',
3447
+ 'location' => 'xml',
3448
+ 'properties' => array(
3449
+ 'Enabled' => array(
3450
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
3451
+ 'type' => 'boolean',
3452
+ ),
3453
+ 'Quantity' => array(
3454
+ 'description' => 'The number of trusted signers for this cache behavior.',
3455
+ 'type' => 'numeric',
3456
+ ),
3457
+ 'Items' => array(
3458
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
3459
+ 'type' => 'array',
3460
+ 'items' => array(
3461
+ 'name' => 'AwsAccountNumber',
3462
+ 'type' => 'string',
3463
+ 'sentAs' => 'AwsAccountNumber',
3464
+ ),
3465
+ ),
3466
+ ),
3467
+ ),
3468
+ 'Enabled' => array(
3469
+ 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
3470
+ 'type' => 'boolean',
3471
+ 'location' => 'xml',
3472
+ ),
3473
+ 'ETag' => array(
3474
+ 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
3475
+ 'type' => 'string',
3476
+ 'location' => 'header',
3477
+ ),
3478
+ 'RequestId' => array(
3479
+ 'description' => 'Request ID of the operation',
3480
+ 'location' => 'header',
3481
+ 'sentAs' => 'x-amz-request-id',
3482
+ ),
3483
+ ),
3484
+ ),
3485
+ 'ListCloudFrontOriginAccessIdentitiesResult' => array(
3486
+ 'type' => 'object',
3487
+ 'additionalProperties' => true,
3488
+ 'properties' => array(
3489
+ 'Marker' => array(
3490
+ 'description' => 'The value you provided for the Marker request parameter.',
3491
+ 'type' => 'string',
3492
+ 'location' => 'xml',
3493
+ ),
3494
+ 'NextMarker' => array(
3495
+ 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.',
3496
+ 'type' => 'string',
3497
+ 'location' => 'xml',
3498
+ ),
3499
+ 'MaxItems' => array(
3500
+ 'description' => 'The value you provided for the MaxItems request parameter.',
3501
+ 'type' => 'numeric',
3502
+ 'location' => 'xml',
3503
+ ),
3504
+ 'IsTruncated' => array(
3505
+ 'description' => 'A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.',
3506
+ 'type' => 'boolean',
3507
+ 'location' => 'xml',
3508
+ ),
3509
+ 'Quantity' => array(
3510
+ 'description' => 'The number of CloudFront origin access identities that were created by the current AWS account.',
3511
+ 'type' => 'numeric',
3512
+ 'location' => 'xml',
3513
+ ),
3514
+ 'Items' => array(
3515
+ 'description' => 'A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current AWS account.',
3516
+ 'type' => 'array',
3517
+ 'location' => 'xml',
3518
+ 'items' => array(
3519
+ 'name' => 'CloudFrontOriginAccessIdentitySummary',
3520
+ 'description' => 'Summary of the information about a CloudFront origin access identity.',
3521
+ 'type' => 'object',
3522
+ 'sentAs' => 'CloudFrontOriginAccessIdentitySummary',
3523
+ 'properties' => array(
3524
+ 'Id' => array(
3525
+ 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
3526
+ 'type' => 'string',
3527
+ ),
3528
+ 'S3CanonicalUserId' => array(
3529
+ 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
3530
+ 'type' => 'string',
3531
+ ),
3532
+ 'Comment' => array(
3533
+ 'description' => 'The comment for this origin access identity, as originally specified when created.',
3534
+ 'type' => 'string',
3535
+ ),
3536
+ ),
3537
+ ),
3538
+ ),
3539
+ 'RequestId' => array(
3540
+ 'description' => 'Request ID of the operation',
3541
+ 'location' => 'header',
3542
+ 'sentAs' => 'x-amz-request-id',
3543
+ ),
3544
+ ),
3545
+ ),
3546
+ 'ListDistributionsResult' => array(
3547
+ 'type' => 'object',
3548
+ 'additionalProperties' => true,
3549
+ 'properties' => array(
3550
+ 'Marker' => array(
3551
+ 'description' => 'The value you provided for the Marker request parameter.',
3552
+ 'type' => 'string',
3553
+ 'location' => 'xml',
3554
+ ),
3555
+ 'NextMarker' => array(
3556
+ 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.',
3557
+ 'type' => 'string',
3558
+ 'location' => 'xml',
3559
+ ),
3560
+ 'MaxItems' => array(
3561
+ 'description' => 'The value you provided for the MaxItems request parameter.',
3562
+ 'type' => 'numeric',
3563
+ 'location' => 'xml',
3564
+ ),
3565
+ 'IsTruncated' => array(
3566
+ 'description' => 'A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.',
3567
+ 'type' => 'boolean',
3568
+ 'location' => 'xml',
3569
+ ),
3570
+ 'Quantity' => array(
3571
+ 'description' => 'The number of distributions that were created by the current AWS account.',
3572
+ 'type' => 'numeric',
3573
+ 'location' => 'xml',
3574
+ ),
3575
+ 'Items' => array(
3576
+ 'description' => 'A complex type that contains one DistributionSummary element for each distribution that was created by the current AWS account.',
3577
+ 'type' => 'array',
3578
+ 'location' => 'xml',
3579
+ 'items' => array(
3580
+ 'name' => 'DistributionSummary',
3581
+ 'description' => 'A summary of the information for an Amazon CloudFront distribution.',
3582
+ 'type' => 'object',
3583
+ 'sentAs' => 'DistributionSummary',
3584
+ 'properties' => array(
3585
+ 'Id' => array(
3586
+ 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
3587
+ 'type' => 'string',
3588
+ ),
3589
+ 'Status' => array(
3590
+ 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
3591
+ 'type' => 'string',
3592
+ ),
3593
+ 'LastModifiedTime' => array(
3594
+ 'description' => 'The date and time the distribution was last modified.',
3595
+ 'type' => 'string',
3596
+ ),
3597
+ 'DomainName' => array(
3598
+ 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
3599
+ 'type' => 'string',
3600
+ ),
3601
+ 'Aliases' => array(
3602
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
3603
+ 'type' => 'object',
3604
+ 'properties' => array(
3605
+ 'Quantity' => array(
3606
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
3607
+ 'type' => 'numeric',
3608
+ ),
3609
+ 'Items' => array(
3610
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
3611
+ 'type' => 'array',
3612
+ 'items' => array(
3613
+ 'name' => 'CNAME',
3614
+ 'type' => 'string',
3615
+ 'sentAs' => 'CNAME',
3616
+ ),
3617
+ ),
3618
+ ),
3619
+ ),
3620
+ 'Origins' => array(
3621
+ 'description' => 'A complex type that contains information about origins for this distribution.',
3622
+ 'type' => 'object',
3623
+ 'properties' => array(
3624
+ 'Quantity' => array(
3625
+ 'description' => 'The number of origins for this distribution.',
3626
+ 'type' => 'numeric',
3627
+ ),
3628
+ 'Items' => array(
3629
+ 'description' => 'A complex type that contains origins for this distribution.',
3630
+ 'type' => 'array',
3631
+ 'items' => array(
3632
+ 'name' => 'Origin',
3633
+ 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
3634
+ 'type' => 'object',
3635
+ 'sentAs' => 'Origin',
3636
+ 'properties' => array(
3637
+ 'Id' => array(
3638
+ 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
3639
+ 'type' => 'string',
3640
+ ),
3641
+ 'DomainName' => array(
3642
+ 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
3643
+ 'type' => 'string',
3644
+ ),
3645
+ 'S3OriginConfig' => array(
3646
+ 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
3647
+ 'type' => 'object',
3648
+ 'properties' => array(
3649
+ 'OriginAccessIdentity' => array(
3650
+ 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
3651
+ 'type' => 'string',
3652
+ ),
3653
+ ),
3654
+ ),
3655
+ 'CustomOriginConfig' => array(
3656
+ 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
3657
+ 'type' => 'object',
3658
+ 'properties' => array(
3659
+ 'HTTPPort' => array(
3660
+ 'description' => 'The HTTP port the custom origin listens on.',
3661
+ 'type' => 'numeric',
3662
+ ),
3663
+ 'HTTPSPort' => array(
3664
+ 'description' => 'The HTTPS port the custom origin listens on.',
3665
+ 'type' => 'numeric',
3666
+ ),
3667
+ 'OriginProtocolPolicy' => array(
3668
+ 'description' => 'The origin protocol policy to apply to your origin.',
3669
+ 'type' => 'string',
3670
+ ),
3671
+ ),
3672
+ ),
3673
+ ),
3674
+ ),
3675
+ ),
3676
+ ),
3677
+ ),
3678
+ 'DefaultCacheBehavior' => array(
3679
+ 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
3680
+ 'type' => 'object',
3681
+ 'properties' => array(
3682
+ 'TargetOriginId' => array(
3683
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
3684
+ 'type' => 'string',
3685
+ ),
3686
+ 'ForwardedValues' => array(
3687
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
3688
+ 'type' => 'object',
3689
+ 'properties' => array(
3690
+ 'QueryString' => array(
3691
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
3692
+ 'type' => 'boolean',
3693
+ ),
3694
+ ),
3695
+ ),
3696
+ 'TrustedSigners' => array(
3697
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
3698
+ 'type' => 'object',
3699
+ 'properties' => array(
3700
+ 'Enabled' => array(
3701
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
3702
+ 'type' => 'boolean',
3703
+ ),
3704
+ 'Quantity' => array(
3705
+ 'description' => 'The number of trusted signers for this cache behavior.',
3706
+ 'type' => 'numeric',
3707
+ ),
3708
+ 'Items' => array(
3709
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
3710
+ 'type' => 'array',
3711
+ 'items' => array(
3712
+ 'name' => 'AwsAccountNumber',
3713
+ 'type' => 'string',
3714
+ 'sentAs' => 'AwsAccountNumber',
3715
+ ),
3716
+ ),
3717
+ ),
3718
+ ),
3719
+ 'ViewerProtocolPolicy' => array(
3720
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
3721
+ 'type' => 'string',
3722
+ ),
3723
+ 'MinTTL' => array(
3724
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
3725
+ 'type' => 'numeric',
3726
+ ),
3727
+ ),
3728
+ ),
3729
+ 'CacheBehaviors' => array(
3730
+ 'description' => 'A complex type that contains zero or more CacheBehavior elements.',
3731
+ 'type' => 'object',
3732
+ 'properties' => array(
3733
+ 'Quantity' => array(
3734
+ 'description' => 'The number of cache behaviors for this distribution.',
3735
+ 'type' => 'numeric',
3736
+ ),
3737
+ 'Items' => array(
3738
+ 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
3739
+ 'type' => 'array',
3740
+ 'items' => array(
3741
+ 'name' => 'CacheBehavior',
3742
+ 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
3743
+ 'type' => 'object',
3744
+ 'sentAs' => 'CacheBehavior',
3745
+ 'properties' => array(
3746
+ 'PathPattern' => array(
3747
+ 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
3748
+ 'type' => 'string',
3749
+ ),
3750
+ 'TargetOriginId' => array(
3751
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
3752
+ 'type' => 'string',
3753
+ ),
3754
+ 'ForwardedValues' => array(
3755
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
3756
+ 'type' => 'object',
3757
+ 'properties' => array(
3758
+ 'QueryString' => array(
3759
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
3760
+ 'type' => 'boolean',
3761
+ ),
3762
+ ),
3763
+ ),
3764
+ 'TrustedSigners' => array(
3765
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
3766
+ 'type' => 'object',
3767
+ 'properties' => array(
3768
+ 'Enabled' => array(
3769
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
3770
+ 'type' => 'boolean',
3771
+ ),
3772
+ 'Quantity' => array(
3773
+ 'description' => 'The number of trusted signers for this cache behavior.',
3774
+ 'type' => 'numeric',
3775
+ ),
3776
+ 'Items' => array(
3777
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
3778
+ 'type' => 'array',
3779
+ 'items' => array(
3780
+ 'name' => 'AwsAccountNumber',
3781
+ 'type' => 'string',
3782
+ 'sentAs' => 'AwsAccountNumber',
3783
+ ),
3784
+ ),
3785
+ ),
3786
+ ),
3787
+ 'ViewerProtocolPolicy' => array(
3788
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
3789
+ 'type' => 'string',
3790
+ ),
3791
+ 'MinTTL' => array(
3792
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
3793
+ 'type' => 'numeric',
3794
+ ),
3795
+ ),
3796
+ ),
3797
+ ),
3798
+ ),
3799
+ ),
3800
+ 'Comment' => array(
3801
+ 'description' => 'The comment originally specified when this distribution was created.',
3802
+ 'type' => 'string',
3803
+ ),
3804
+ 'Enabled' => array(
3805
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
3806
+ 'type' => 'boolean',
3807
+ ),
3808
+ ),
3809
+ ),
3810
+ ),
3811
+ 'RequestId' => array(
3812
+ 'description' => 'Request ID of the operation',
3813
+ 'location' => 'header',
3814
+ 'sentAs' => 'x-amz-request-id',
3815
+ ),
3816
+ ),
3817
+ ),
3818
+ 'ListInvalidationsResult' => array(
3819
+ 'type' => 'object',
3820
+ 'additionalProperties' => true,
3821
+ 'properties' => array(
3822
+ 'Marker' => array(
3823
+ 'description' => 'The value you provided for the Marker request parameter.',
3824
+ 'type' => 'string',
3825
+ 'location' => 'xml',
3826
+ ),
3827
+ 'NextMarker' => array(
3828
+ 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your invalidation batches where they left off.',
3829
+ 'type' => 'string',
3830
+ 'location' => 'xml',
3831
+ ),
3832
+ 'MaxItems' => array(
3833
+ 'description' => 'The value you provided for the MaxItems request parameter.',
3834
+ 'type' => 'numeric',
3835
+ 'location' => 'xml',
3836
+ ),
3837
+ 'IsTruncated' => array(
3838
+ 'description' => 'A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.',
3839
+ 'type' => 'boolean',
3840
+ 'location' => 'xml',
3841
+ ),
3842
+ 'Quantity' => array(
3843
+ 'description' => 'The number of invalidation batches that were created by the current AWS account.',
3844
+ 'type' => 'numeric',
3845
+ 'location' => 'xml',
3846
+ ),
3847
+ 'Items' => array(
3848
+ 'description' => 'A complex type that contains one InvalidationSummary element for each invalidation batch that was created by the current AWS account.',
3849
+ 'type' => 'array',
3850
+ 'location' => 'xml',
3851
+ 'items' => array(
3852
+ 'name' => 'InvalidationSummary',
3853
+ 'description' => 'Summary of an invalidation request.',
3854
+ 'type' => 'object',
3855
+ 'sentAs' => 'InvalidationSummary',
3856
+ 'properties' => array(
3857
+ 'Id' => array(
3858
+ 'description' => 'The unique ID for an invalidation request.',
3859
+ 'type' => 'string',
3860
+ ),
3861
+ 'Status' => array(
3862
+ 'description' => 'The status of an invalidation request.',
3863
+ 'type' => 'string',
3864
+ ),
3865
+ ),
3866
+ ),
3867
+ ),
3868
+ 'RequestId' => array(
3869
+ 'description' => 'Request ID of the operation',
3870
+ 'location' => 'header',
3871
+ 'sentAs' => 'x-amz-request-id',
3872
+ ),
3873
+ ),
3874
+ ),
3875
+ 'ListStreamingDistributionsResult' => array(
3876
+ 'type' => 'object',
3877
+ 'additionalProperties' => true,
3878
+ 'properties' => array(
3879
+ 'Marker' => array(
3880
+ 'description' => 'The value you provided for the Marker request parameter.',
3881
+ 'type' => 'string',
3882
+ 'location' => 'xml',
3883
+ ),
3884
+ 'NextMarker' => array(
3885
+ 'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your streaming distributions where they left off.',
3886
+ 'type' => 'string',
3887
+ 'location' => 'xml',
3888
+ ),
3889
+ 'MaxItems' => array(
3890
+ 'description' => 'The value you provided for the MaxItems request parameter.',
3891
+ 'type' => 'numeric',
3892
+ 'location' => 'xml',
3893
+ ),
3894
+ 'IsTruncated' => array(
3895
+ 'description' => 'A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.',
3896
+ 'type' => 'boolean',
3897
+ 'location' => 'xml',
3898
+ ),
3899
+ 'Quantity' => array(
3900
+ 'description' => 'The number of streaming distributions that were created by the current AWS account.',
3901
+ 'type' => 'numeric',
3902
+ 'location' => 'xml',
3903
+ ),
3904
+ 'Items' => array(
3905
+ 'description' => 'A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current AWS account.',
3906
+ 'type' => 'array',
3907
+ 'location' => 'xml',
3908
+ 'items' => array(
3909
+ 'name' => 'StreamingDistributionSummary',
3910
+ 'description' => 'A summary of the information for an Amazon CloudFront streaming distribution.',
3911
+ 'type' => 'object',
3912
+ 'sentAs' => 'StreamingDistributionSummary',
3913
+ 'properties' => array(
3914
+ 'Id' => array(
3915
+ 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
3916
+ 'type' => 'string',
3917
+ ),
3918
+ 'Status' => array(
3919
+ 'description' => 'Indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
3920
+ 'type' => 'string',
3921
+ ),
3922
+ 'LastModifiedTime' => array(
3923
+ 'description' => 'The date and time the distribution was last modified.',
3924
+ 'type' => 'string',
3925
+ ),
3926
+ 'DomainName' => array(
3927
+ 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
3928
+ 'type' => 'string',
3929
+ ),
3930
+ 'S3Origin' => array(
3931
+ 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
3932
+ 'type' => 'object',
3933
+ 'properties' => array(
3934
+ 'DomainName' => array(
3935
+ 'description' => 'The DNS name of the S3 origin.',
3936
+ 'type' => 'string',
3937
+ ),
3938
+ 'OriginAccessIdentity' => array(
3939
+ 'description' => 'Your S3 origin\'s origin access identity.',
3940
+ 'type' => 'string',
3941
+ ),
3942
+ ),
3943
+ ),
3944
+ 'Aliases' => array(
3945
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
3946
+ 'type' => 'object',
3947
+ 'properties' => array(
3948
+ 'Quantity' => array(
3949
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
3950
+ 'type' => 'numeric',
3951
+ ),
3952
+ 'Items' => array(
3953
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
3954
+ 'type' => 'array',
3955
+ 'items' => array(
3956
+ 'name' => 'CNAME',
3957
+ 'type' => 'string',
3958
+ 'sentAs' => 'CNAME',
3959
+ ),
3960
+ ),
3961
+ ),
3962
+ ),
3963
+ 'TrustedSigners' => array(
3964
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
3965
+ 'type' => 'object',
3966
+ 'properties' => array(
3967
+ 'Enabled' => array(
3968
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
3969
+ 'type' => 'boolean',
3970
+ ),
3971
+ 'Quantity' => array(
3972
+ 'description' => 'The number of trusted signers for this cache behavior.',
3973
+ 'type' => 'numeric',
3974
+ ),
3975
+ 'Items' => array(
3976
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
3977
+ 'type' => 'array',
3978
+ 'items' => array(
3979
+ 'name' => 'AwsAccountNumber',
3980
+ 'type' => 'string',
3981
+ 'sentAs' => 'AwsAccountNumber',
3982
+ ),
3983
+ ),
3984
+ ),
3985
+ ),
3986
+ 'Comment' => array(
3987
+ 'description' => 'The comment originally specified when this distribution was created.',
3988
+ 'type' => 'string',
3989
+ ),
3990
+ 'Enabled' => array(
3991
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
3992
+ 'type' => 'boolean',
3993
+ ),
3994
+ ),
3995
+ ),
3996
+ ),
3997
+ 'RequestId' => array(
3998
+ 'description' => 'Request ID of the operation',
3999
+ 'location' => 'header',
4000
+ 'sentAs' => 'x-amz-request-id',
4001
+ ),
4002
+ ),
4003
+ ),
4004
+ 'UpdateCloudFrontOriginAccessIdentityResult' => array(
4005
+ 'type' => 'object',
4006
+ 'additionalProperties' => true,
4007
+ 'properties' => array(
4008
+ 'Id' => array(
4009
+ 'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
4010
+ 'type' => 'string',
4011
+ 'location' => 'xml',
4012
+ ),
4013
+ 'S3CanonicalUserId' => array(
4014
+ 'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
4015
+ 'type' => 'string',
4016
+ 'location' => 'xml',
4017
+ ),
4018
+ 'CloudFrontOriginAccessIdentityConfig' => array(
4019
+ 'description' => 'The current configuration information for the identity.',
4020
+ 'type' => 'object',
4021
+ 'location' => 'xml',
4022
+ 'properties' => array(
4023
+ 'CallerReference' => array(
4024
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
4025
+ 'type' => 'string',
4026
+ ),
4027
+ 'Comment' => array(
4028
+ 'description' => 'Any comments you want to include about the origin access identity.',
4029
+ 'type' => 'string',
4030
+ ),
4031
+ ),
4032
+ ),
4033
+ 'ETag' => array(
4034
+ 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
4035
+ 'type' => 'string',
4036
+ 'location' => 'header',
4037
+ ),
4038
+ 'RequestId' => array(
4039
+ 'description' => 'Request ID of the operation',
4040
+ 'location' => 'header',
4041
+ 'sentAs' => 'x-amz-request-id',
4042
+ ),
4043
+ ),
4044
+ ),
4045
+ 'UpdateDistributionResult' => array(
4046
+ 'type' => 'object',
4047
+ 'additionalProperties' => true,
4048
+ 'properties' => array(
4049
+ 'Id' => array(
4050
+ 'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
4051
+ 'type' => 'string',
4052
+ 'location' => 'xml',
4053
+ ),
4054
+ 'Status' => array(
4055
+ 'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
4056
+ 'type' => 'string',
4057
+ 'location' => 'xml',
4058
+ ),
4059
+ 'LastModifiedTime' => array(
4060
+ 'description' => 'The date and time the distribution was last modified.',
4061
+ 'type' => 'string',
4062
+ 'location' => 'xml',
4063
+ ),
4064
+ 'InProgressInvalidationBatches' => array(
4065
+ 'description' => 'The number of invalidation batches currently in progress.',
4066
+ 'type' => 'numeric',
4067
+ 'location' => 'xml',
4068
+ ),
4069
+ 'DomainName' => array(
4070
+ 'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
4071
+ 'type' => 'string',
4072
+ 'location' => 'xml',
4073
+ ),
4074
+ 'ActiveTrustedSigners' => array(
4075
+ 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
4076
+ 'type' => 'object',
4077
+ 'location' => 'xml',
4078
+ 'properties' => array(
4079
+ 'Enabled' => array(
4080
+ 'description' => 'Each active trusted signer.',
4081
+ 'type' => 'boolean',
4082
+ ),
4083
+ 'Quantity' => array(
4084
+ 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
4085
+ 'type' => 'numeric',
4086
+ ),
4087
+ 'Items' => array(
4088
+ 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
4089
+ 'type' => 'array',
4090
+ 'items' => array(
4091
+ 'name' => 'Signer',
4092
+ 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
4093
+ 'type' => 'object',
4094
+ 'sentAs' => 'Signer',
4095
+ 'properties' => array(
4096
+ 'AwsAccountNumber' => array(
4097
+ 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
4098
+ 'type' => 'string',
4099
+ ),
4100
+ 'KeyPairIds' => array(
4101
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
4102
+ 'type' => 'object',
4103
+ 'properties' => array(
4104
+ 'Quantity' => array(
4105
+ 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
4106
+ 'type' => 'numeric',
4107
+ ),
4108
+ 'Items' => array(
4109
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
4110
+ 'type' => 'array',
4111
+ 'items' => array(
4112
+ 'name' => 'KeyPairId',
4113
+ 'type' => 'string',
4114
+ 'sentAs' => 'KeyPairId',
4115
+ ),
4116
+ ),
4117
+ ),
4118
+ ),
4119
+ ),
4120
+ ),
4121
+ ),
4122
+ ),
4123
+ ),
4124
+ 'DistributionConfig' => array(
4125
+ 'description' => 'The current configuration information for the distribution.',
4126
+ 'type' => 'object',
4127
+ 'location' => 'xml',
4128
+ 'properties' => array(
4129
+ 'CallerReference' => array(
4130
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
4131
+ 'type' => 'string',
4132
+ ),
4133
+ 'Aliases' => array(
4134
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
4135
+ 'type' => 'object',
4136
+ 'properties' => array(
4137
+ 'Quantity' => array(
4138
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
4139
+ 'type' => 'numeric',
4140
+ ),
4141
+ 'Items' => array(
4142
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
4143
+ 'type' => 'array',
4144
+ 'items' => array(
4145
+ 'name' => 'CNAME',
4146
+ 'type' => 'string',
4147
+ 'sentAs' => 'CNAME',
4148
+ ),
4149
+ ),
4150
+ ),
4151
+ ),
4152
+ 'DefaultRootObject' => array(
4153
+ 'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
4154
+ 'type' => 'string',
4155
+ ),
4156
+ 'Origins' => array(
4157
+ 'description' => 'A complex type that contains information about origins for this distribution.',
4158
+ 'type' => 'object',
4159
+ 'properties' => array(
4160
+ 'Quantity' => array(
4161
+ 'description' => 'The number of origins for this distribution.',
4162
+ 'type' => 'numeric',
4163
+ ),
4164
+ 'Items' => array(
4165
+ 'description' => 'A complex type that contains origins for this distribution.',
4166
+ 'type' => 'array',
4167
+ 'items' => array(
4168
+ 'name' => 'Origin',
4169
+ 'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
4170
+ 'type' => 'object',
4171
+ 'sentAs' => 'Origin',
4172
+ 'properties' => array(
4173
+ 'Id' => array(
4174
+ 'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
4175
+ 'type' => 'string',
4176
+ ),
4177
+ 'DomainName' => array(
4178
+ 'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
4179
+ 'type' => 'string',
4180
+ ),
4181
+ 'S3OriginConfig' => array(
4182
+ 'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
4183
+ 'type' => 'object',
4184
+ 'properties' => array(
4185
+ 'OriginAccessIdentity' => array(
4186
+ 'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
4187
+ 'type' => 'string',
4188
+ ),
4189
+ ),
4190
+ ),
4191
+ 'CustomOriginConfig' => array(
4192
+ 'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
4193
+ 'type' => 'object',
4194
+ 'properties' => array(
4195
+ 'HTTPPort' => array(
4196
+ 'description' => 'The HTTP port the custom origin listens on.',
4197
+ 'type' => 'numeric',
4198
+ ),
4199
+ 'HTTPSPort' => array(
4200
+ 'description' => 'The HTTPS port the custom origin listens on.',
4201
+ 'type' => 'numeric',
4202
+ ),
4203
+ 'OriginProtocolPolicy' => array(
4204
+ 'description' => 'The origin protocol policy to apply to your origin.',
4205
+ 'type' => 'string',
4206
+ ),
4207
+ ),
4208
+ ),
4209
+ ),
4210
+ ),
4211
+ ),
4212
+ ),
4213
+ ),
4214
+ 'DefaultCacheBehavior' => array(
4215
+ 'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
4216
+ 'type' => 'object',
4217
+ 'properties' => array(
4218
+ 'TargetOriginId' => array(
4219
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
4220
+ 'type' => 'string',
4221
+ ),
4222
+ 'ForwardedValues' => array(
4223
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
4224
+ 'type' => 'object',
4225
+ 'properties' => array(
4226
+ 'QueryString' => array(
4227
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
4228
+ 'type' => 'boolean',
4229
+ ),
4230
+ ),
4231
+ ),
4232
+ 'TrustedSigners' => array(
4233
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
4234
+ 'type' => 'object',
4235
+ 'properties' => array(
4236
+ 'Enabled' => array(
4237
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
4238
+ 'type' => 'boolean',
4239
+ ),
4240
+ 'Quantity' => array(
4241
+ 'description' => 'The number of trusted signers for this cache behavior.',
4242
+ 'type' => 'numeric',
4243
+ ),
4244
+ 'Items' => array(
4245
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
4246
+ 'type' => 'array',
4247
+ 'items' => array(
4248
+ 'name' => 'AwsAccountNumber',
4249
+ 'type' => 'string',
4250
+ 'sentAs' => 'AwsAccountNumber',
4251
+ ),
4252
+ ),
4253
+ ),
4254
+ ),
4255
+ 'ViewerProtocolPolicy' => array(
4256
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
4257
+ 'type' => 'string',
4258
+ ),
4259
+ 'MinTTL' => array(
4260
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
4261
+ 'type' => 'numeric',
4262
+ ),
4263
+ ),
4264
+ ),
4265
+ 'CacheBehaviors' => array(
4266
+ 'description' => 'A complex type that contains zero or more CacheBehavior elements.',
4267
+ 'type' => 'object',
4268
+ 'properties' => array(
4269
+ 'Quantity' => array(
4270
+ 'description' => 'The number of cache behaviors for this distribution.',
4271
+ 'type' => 'numeric',
4272
+ ),
4273
+ 'Items' => array(
4274
+ 'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
4275
+ 'type' => 'array',
4276
+ 'items' => array(
4277
+ 'name' => 'CacheBehavior',
4278
+ 'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
4279
+ 'type' => 'object',
4280
+ 'sentAs' => 'CacheBehavior',
4281
+ 'properties' => array(
4282
+ 'PathPattern' => array(
4283
+ 'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
4284
+ 'type' => 'string',
4285
+ ),
4286
+ 'TargetOriginId' => array(
4287
+ 'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
4288
+ 'type' => 'string',
4289
+ ),
4290
+ 'ForwardedValues' => array(
4291
+ 'description' => 'A complex type that specifies how CloudFront handles query strings.',
4292
+ 'type' => 'object',
4293
+ 'properties' => array(
4294
+ 'QueryString' => array(
4295
+ 'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
4296
+ 'type' => 'boolean',
4297
+ ),
4298
+ ),
4299
+ ),
4300
+ 'TrustedSigners' => array(
4301
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
4302
+ 'type' => 'object',
4303
+ 'properties' => array(
4304
+ 'Enabled' => array(
4305
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
4306
+ 'type' => 'boolean',
4307
+ ),
4308
+ 'Quantity' => array(
4309
+ 'description' => 'The number of trusted signers for this cache behavior.',
4310
+ 'type' => 'numeric',
4311
+ ),
4312
+ 'Items' => array(
4313
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
4314
+ 'type' => 'array',
4315
+ 'items' => array(
4316
+ 'name' => 'AwsAccountNumber',
4317
+ 'type' => 'string',
4318
+ 'sentAs' => 'AwsAccountNumber',
4319
+ ),
4320
+ ),
4321
+ ),
4322
+ ),
4323
+ 'ViewerProtocolPolicy' => array(
4324
+ 'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
4325
+ 'type' => 'string',
4326
+ ),
4327
+ 'MinTTL' => array(
4328
+ 'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
4329
+ 'type' => 'numeric',
4330
+ ),
4331
+ ),
4332
+ ),
4333
+ ),
4334
+ ),
4335
+ ),
4336
+ 'Comment' => array(
4337
+ 'description' => 'Any comments you want to include about the distribution.',
4338
+ 'type' => 'string',
4339
+ ),
4340
+ 'Logging' => array(
4341
+ 'description' => 'A complex type that controls whether access logs are written for the distribution.',
4342
+ 'type' => 'object',
4343
+ 'properties' => array(
4344
+ 'Enabled' => array(
4345
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
4346
+ 'type' => 'boolean',
4347
+ ),
4348
+ 'Bucket' => array(
4349
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
4350
+ 'type' => 'string',
4351
+ ),
4352
+ 'Prefix' => array(
4353
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
4354
+ 'type' => 'string',
4355
+ ),
4356
+ ),
4357
+ ),
4358
+ 'Enabled' => array(
4359
+ 'description' => 'Whether the distribution is enabled to accept end user requests for content.',
4360
+ 'type' => 'boolean',
4361
+ ),
4362
+ ),
4363
+ ),
4364
+ 'ETag' => array(
4365
+ 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
4366
+ 'type' => 'string',
4367
+ 'location' => 'header',
4368
+ ),
4369
+ 'RequestId' => array(
4370
+ 'description' => 'Request ID of the operation',
4371
+ 'location' => 'header',
4372
+ 'sentAs' => 'x-amz-request-id',
4373
+ ),
4374
+ ),
4375
+ ),
4376
+ 'UpdateStreamingDistributionResult' => array(
4377
+ 'type' => 'object',
4378
+ 'additionalProperties' => true,
4379
+ 'properties' => array(
4380
+ 'Id' => array(
4381
+ 'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.',
4382
+ 'type' => 'string',
4383
+ 'location' => 'xml',
4384
+ ),
4385
+ 'Status' => array(
4386
+ 'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
4387
+ 'type' => 'string',
4388
+ 'location' => 'xml',
4389
+ ),
4390
+ 'LastModifiedTime' => array(
4391
+ 'description' => 'The date and time the distribution was last modified.',
4392
+ 'type' => 'string',
4393
+ 'location' => 'xml',
4394
+ ),
4395
+ 'DomainName' => array(
4396
+ 'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.',
4397
+ 'type' => 'string',
4398
+ 'location' => 'xml',
4399
+ ),
4400
+ 'ActiveTrustedSigners' => array(
4401
+ 'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
4402
+ 'type' => 'object',
4403
+ 'location' => 'xml',
4404
+ 'properties' => array(
4405
+ 'Enabled' => array(
4406
+ 'description' => 'Each active trusted signer.',
4407
+ 'type' => 'boolean',
4408
+ ),
4409
+ 'Quantity' => array(
4410
+ 'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
4411
+ 'type' => 'numeric',
4412
+ ),
4413
+ 'Items' => array(
4414
+ 'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
4415
+ 'type' => 'array',
4416
+ 'items' => array(
4417
+ 'name' => 'Signer',
4418
+ 'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
4419
+ 'type' => 'object',
4420
+ 'sentAs' => 'Signer',
4421
+ 'properties' => array(
4422
+ 'AwsAccountNumber' => array(
4423
+ 'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
4424
+ 'type' => 'string',
4425
+ ),
4426
+ 'KeyPairIds' => array(
4427
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
4428
+ 'type' => 'object',
4429
+ 'properties' => array(
4430
+ 'Quantity' => array(
4431
+ 'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
4432
+ 'type' => 'numeric',
4433
+ ),
4434
+ 'Items' => array(
4435
+ 'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
4436
+ 'type' => 'array',
4437
+ 'items' => array(
4438
+ 'name' => 'KeyPairId',
4439
+ 'type' => 'string',
4440
+ 'sentAs' => 'KeyPairId',
4441
+ ),
4442
+ ),
4443
+ ),
4444
+ ),
4445
+ ),
4446
+ ),
4447
+ ),
4448
+ ),
4449
+ ),
4450
+ 'StreamingDistributionConfig' => array(
4451
+ 'description' => 'The current configuration information for the streaming distribution.',
4452
+ 'type' => 'object',
4453
+ 'location' => 'xml',
4454
+ 'properties' => array(
4455
+ 'CallerReference' => array(
4456
+ 'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
4457
+ 'type' => 'string',
4458
+ ),
4459
+ 'S3Origin' => array(
4460
+ 'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
4461
+ 'type' => 'object',
4462
+ 'properties' => array(
4463
+ 'DomainName' => array(
4464
+ 'description' => 'The DNS name of the S3 origin.',
4465
+ 'type' => 'string',
4466
+ ),
4467
+ 'OriginAccessIdentity' => array(
4468
+ 'description' => 'Your S3 origin\'s origin access identity.',
4469
+ 'type' => 'string',
4470
+ ),
4471
+ ),
4472
+ ),
4473
+ 'Aliases' => array(
4474
+ 'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
4475
+ 'type' => 'object',
4476
+ 'properties' => array(
4477
+ 'Quantity' => array(
4478
+ 'description' => 'The number of CNAMEs, if any, for this distribution.',
4479
+ 'type' => 'numeric',
4480
+ ),
4481
+ 'Items' => array(
4482
+ 'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
4483
+ 'type' => 'array',
4484
+ 'items' => array(
4485
+ 'name' => 'CNAME',
4486
+ 'type' => 'string',
4487
+ 'sentAs' => 'CNAME',
4488
+ ),
4489
+ ),
4490
+ ),
4491
+ ),
4492
+ 'Comment' => array(
4493
+ 'description' => 'Any comments you want to include about the streaming distribution.',
4494
+ 'type' => 'string',
4495
+ ),
4496
+ 'Logging' => array(
4497
+ 'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
4498
+ 'type' => 'object',
4499
+ 'properties' => array(
4500
+ 'Enabled' => array(
4501
+ 'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
4502
+ 'type' => 'boolean',
4503
+ ),
4504
+ 'Bucket' => array(
4505
+ 'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
4506
+ 'type' => 'string',
4507
+ ),
4508
+ 'Prefix' => array(
4509
+ 'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
4510
+ 'type' => 'string',
4511
+ ),
4512
+ ),
4513
+ ),
4514
+ 'TrustedSigners' => array(
4515
+ 'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
4516
+ 'type' => 'object',
4517
+ 'properties' => array(
4518
+ 'Enabled' => array(
4519
+ 'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
4520
+ 'type' => 'boolean',
4521
+ ),
4522
+ 'Quantity' => array(
4523
+ 'description' => 'The number of trusted signers for this cache behavior.',
4524
+ 'type' => 'numeric',
4525
+ ),
4526
+ 'Items' => array(
4527
+ 'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
4528
+ 'type' => 'array',
4529
+ 'items' => array(
4530
+ 'name' => 'AwsAccountNumber',
4531
+ 'type' => 'string',
4532
+ 'sentAs' => 'AwsAccountNumber',
4533
+ ),
4534
+ ),
4535
+ ),
4536
+ ),
4537
+ 'Enabled' => array(
4538
+ 'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
4539
+ 'type' => 'boolean',
4540
+ ),
4541
+ ),
4542
+ ),
4543
+ 'ETag' => array(
4544
+ 'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
4545
+ 'type' => 'string',
4546
+ 'location' => 'header',
4547
+ ),
4548
+ 'RequestId' => array(
4549
+ 'description' => 'Request ID of the operation',
4550
+ 'location' => 'header',
4551
+ 'sentAs' => 'x-amz-request-id',
4552
+ ),
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',
4585
+ 'success.path' => 'Status',
4586
+ ),
4587
+ 'StreamingDistributionDeployed' => array(
4588
+ 'operation' => 'GetStreamingDistribution',
4589
+ 'description' => 'Wait until a streaming distribution is deployed.',
4590
+ 'interval' => 60,
4591
+ 'max_attempts' => 25,
4592
+ 'success.value' => 'Deployed',
4593
+ ),
4594
+ 'DistributionDeployed' => array(
4595
+ 'operation' => 'GetDistribution',
4596
+ 'description' => 'Wait until a distribution is deployed.',
4597
+ 'interval' => 60,
4598
+ 'max_attempts' => 25,
4599
+ 'success.value' => 'Deployed',
4600
+ ),
4601
+ 'InvalidationCompleted' => array(
4602
+ 'operation' => 'GetInvalidation',
4603
+ 'description' => 'Wait until an invalidation has completed.',
4604
+ 'interval' => 20,
4605
+ 'max_attempts' => 30,
4606
+ 'success.value' => 'Completed',
4607
+ ),
4608
+ ),
4609
+ );
lib/Aws/Aws/CloudFront/Resources/cloudfront-2014-10-21.php ADDED
@@ -0,0 +1,5739 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-10-21',
19
+ 'endpointPrefix' => 'cloudfront',
20
+ 'serviceFullName' => 'Amazon CloudFront',
21
+ 'serviceAbbreviation' => 'CloudFront',
22
+ 'serviceType' => 'rest-xml',
23
+ 'globalEndpoint' => 'cloudfront.amazonaws.com',
24
+ 'signatureVersion' => 'v4',
25
+ 'namespace' => 'CloudFront',
26
+ 'regions' => array(
27
+ 'us-east-1' => array(
28
+ 'http' => true,
29
+ 'https' => true,
30
+ 'hostname' => 'cloudfront.amazonaws.com',
31
+ ),
32
+ 'us-west-1' => array(
33
+ 'http' => true,
34
+ 'https' => true,
35
+ 'hostname' => 'cloudfront.amazonaws.com',
36
+ ),
37
+ 'us-west-2' => array(
38
+ 'http' => true,
39
+ 'https' => true,
40
+ 'hostname' => 'cloudfront.amazonaws.com',
41
+ ),
42
+ 'eu-west-1' => array(
43
+ 'http' => true,
44
+ 'https' => true,
45
+ 'hostname' => 'cloudfront.amazonaws.com',
46
+ ),
47
+ 'ap-northeast-1' => array(
48
+ 'http' => true,
49
+ 'https' => true,
50
+ 'hostname' => 'cloudfront.amazonaws.com',
51
+ ),
52
+ 'ap-southeast-1' => array(
53
+ 'http' => true,
54
+ 'https' => true,
55
+ 'hostname' => 'cloudfront.amazonaws.com',
56
+ ),
57
+ 'ap-southeast-2' => array(
58
+ 'http' => true,
59
+ 'https' => true,
60
+ 'hostname' => 'cloudfront.amazonaws.com',
61
+ ),
62
+ 'sa-east-1' => array(
63
+ 'http' => true,
64
+ 'https' => true,
65
+ 'hostname' => 'cloudfront.amazonaws.com',
66
+ ),
67
+ ),
68
+ 'operations' => array(
69
+ 'CreateCloudFrontOriginAccessIdentity' => array(
70
+ 'httpMethod' => 'POST',
71
+ 'uri' => '/2014-10-21/origin-access-identity/cloudfront',
72
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
73
+ 'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult',
74
+ 'responseType' => 'model',
75
+ 'data' => array(
76
+ 'xmlRoot' => array(
77
+ 'name' => 'CloudFrontOriginAccessIdentityConfig',
78
+ 'namespaces' => array(
79
+ 'http://cloudfront.amazonaws.com/doc/2014-10-21/',
80
+ ),
81
+ ),
82
+ ),
83
+ 'parameters' => array(
84
+ 'CallerReference' => array(
85
+ 'required' => true,
86
+ 'type' => 'string',
87
+ 'location' => 'xml',
88
+ ),
89
+ 'Comment' => array(
90
+ 'required' => true,
91
+ 'type' => 'string',
92
+ 'location' => 'xml',
93
+ ),
94
+ 'command.expects' => array(
95
+ 'static' => true,
96
+ 'default' => 'application/xml',
97
+ ),
98
+ ),
99
+ 'errorResponses' => array(
100
+ array(
101
+ 'reason' => 'If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
102
+ 'class' => 'CloudFrontOriginAccessIdentityAlreadyExistsException',
103
+ ),
104
+ array(
105
+ 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
106
+ 'class' => 'MissingBodyException',
107
+ ),
108
+ array(
109
+ 'reason' => 'Processing your request would cause you to exceed the maximum number of origin access identities allowed.',
110
+ 'class' => 'TooManyCloudFrontOriginAccessIdentitiesException',
111
+ ),
112
+ array(
113
+ 'reason' => 'The argument is invalid.',
114
+ 'class' => 'InvalidArgumentException',
115
+ ),
116
+ array(
117
+ 'reason' => 'The value of Quantity and the size of Items do not match.',
118
+ 'class' => 'InconsistentQuantitiesException',
119
+ ),
120
+ ),
121
+ ),
122
+ 'CreateDistribution' => array(
123
+ 'httpMethod' => 'POST',
124
+ 'uri' => '/2014-10-21/distribution',
125
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
126
+ 'responseClass' => 'CreateDistributionResult',
127
+ 'responseType' => 'model',
128
+ 'data' => array(
129
+ 'xmlRoot' => array(
130
+ 'name' => 'DistributionConfig',
131
+ 'namespaces' => array(
132
+ 'http://cloudfront.amazonaws.com/doc/2014-10-21/',
133
+ ),
134
+ ),
135
+ ),
136
+ 'parameters' => array(
137
+ 'CallerReference' => array(
138
+ 'required' => true,
139
+ 'type' => 'string',
140
+ 'location' => 'xml',
141
+ ),
142
+ 'Aliases' => array(
143
+ 'required' => true,
144
+ 'type' => 'object',
145
+ 'location' => 'xml',
146
+ 'properties' => array(
147
+ 'Quantity' => array(
148
+ 'required' => true,
149
+ 'type' => 'numeric',
150
+ ),
151
+ 'Items' => array(
152
+ 'type' => 'array',
153
+ 'items' => array(
154
+ 'name' => 'CNAME',
155
+ 'type' => 'string',
156
+ ),
157
+ ),
158
+ ),
159
+ ),
160
+ 'DefaultRootObject' => array(
161
+ 'required' => true,
162
+ 'type' => 'string',
163
+ 'location' => 'xml',
164
+ ),
165
+ 'Origins' => array(
166
+ 'required' => true,
167
+ 'type' => 'object',
168
+ 'location' => 'xml',
169
+ 'properties' => array(
170
+ 'Quantity' => array(
171
+ 'required' => true,
172
+ 'type' => 'numeric',
173
+ ),
174
+ 'Items' => array(
175
+ 'type' => 'array',
176
+ 'minItems' => 1,
177
+ 'items' => array(
178
+ 'name' => 'Origin',
179
+ 'type' => 'object',
180
+ 'properties' => array(
181
+ 'Id' => array(
182
+ 'required' => true,
183
+ 'type' => 'string',
184
+ ),
185
+ 'DomainName' => array(
186
+ 'required' => true,
187
+ 'type' => 'string',
188
+ ),
189
+ 'S3OriginConfig' => array(
190
+ 'type' => 'object',
191
+ 'properties' => array(
192
+ 'OriginAccessIdentity' => array(
193
+ 'required' => true,
194
+ 'type' => 'string',
195
+ ),
196
+ ),
197
+ ),
198
+ 'CustomOriginConfig' => array(
199
+ 'type' => 'object',
200
+ 'properties' => array(
201
+ 'HTTPPort' => array(
202
+ 'required' => true,
203
+ 'type' => 'numeric',
204
+ ),
205
+ 'HTTPSPort' => array(
206
+ 'required' => true,
207
+ 'type' => 'numeric',
208
+ ),
209
+ 'OriginProtocolPolicy' => array(
210
+ 'required' => true,
211
+ 'type' => 'string',
212
+ ),
213
+ ),
214
+ ),
215
+ ),
216
+ ),
217
+ ),
218
+ ),
219
+ ),
220
+ 'DefaultCacheBehavior' => array(
221
+ 'required' => true,
222
+ 'type' => 'object',
223
+ 'location' => 'xml',
224
+ 'properties' => array(
225
+ 'TargetOriginId' => array(
226
+ 'required' => true,
227
+ 'type' => 'string',
228
+ ),
229
+ 'ForwardedValues' => array(
230
+ 'required' => true,
231
+ 'type' => 'object',
232
+ 'properties' => array(
233
+ 'QueryString' => array(
234
+ 'required' => true,
235
+ 'type' => 'boolean',
236
+ 'format' => 'boolean-string',
237
+ ),
238
+ 'Cookies' => array(
239
+ 'required' => true,
240
+ 'type' => 'object',
241
+ 'properties' => array(
242
+ 'Forward' => array(
243
+ 'required' => true,
244
+ 'type' => 'string',
245
+ ),
246
+ 'WhitelistedNames' => array(
247
+ 'type' => 'object',
248
+ 'properties' => array(
249
+ 'Quantity' => array(
250
+ 'required' => true,
251
+ 'type' => 'numeric',
252
+ ),
253
+ 'Items' => array(
254
+ 'type' => 'array',
255
+ 'items' => array(
256
+ 'name' => 'Name',
257
+ 'type' => 'string',
258
+ ),
259
+ ),
260
+ ),
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(
283
+ 'required' => true,
284
+ 'type' => 'object',
285
+ 'properties' => array(
286
+ 'Enabled' => array(
287
+ 'required' => true,
288
+ 'type' => 'boolean',
289
+ 'format' => 'boolean-string',
290
+ ),
291
+ 'Quantity' => array(
292
+ 'required' => true,
293
+ 'type' => 'numeric',
294
+ ),
295
+ 'Items' => array(
296
+ 'type' => 'array',
297
+ 'items' => array(
298
+ 'name' => 'AwsAccountNumber',
299
+ 'type' => 'string',
300
+ ),
301
+ ),
302
+ ),
303
+ ),
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
+ 'required' => true,
321
+ 'type' => 'array',
322
+ 'items' => array(
323
+ 'name' => 'Method',
324
+ 'type' => 'string',
325
+ ),
326
+ ),
327
+ 'CachedMethods' => array(
328
+ 'type' => 'object',
329
+ 'properties' => array(
330
+ 'Quantity' => array(
331
+ 'required' => true,
332
+ 'type' => 'numeric',
333
+ ),
334
+ 'Items' => array(
335
+ 'required' => true,
336
+ 'type' => 'array',
337
+ 'items' => array(
338
+ 'name' => 'Method',
339
+ 'type' => 'string',
340
+ ),
341
+ ),
342
+ ),
343
+ ),
344
+ ),
345
+ ),
346
+ 'SmoothStreaming' => array(
347
+ 'type' => 'boolean',
348
+ 'format' => 'boolean-string',
349
+ ),
350
+ ),
351
+ ),
352
+ 'CacheBehaviors' => array(
353
+ 'required' => true,
354
+ 'type' => 'object',
355
+ 'location' => 'xml',
356
+ 'properties' => array(
357
+ 'Quantity' => array(
358
+ 'required' => true,
359
+ 'type' => 'numeric',
360
+ ),
361
+ 'Items' => array(
362
+ 'type' => 'array',
363
+ 'items' => array(
364
+ 'name' => 'CacheBehavior',
365
+ 'type' => 'object',
366
+ 'properties' => array(
367
+ 'PathPattern' => array(
368
+ 'required' => true,
369
+ 'type' => 'string',
370
+ ),
371
+ 'TargetOriginId' => array(
372
+ 'required' => true,
373
+ 'type' => 'string',
374
+ ),
375
+ 'ForwardedValues' => array(
376
+ 'required' => true,
377
+ 'type' => 'object',
378
+ 'properties' => array(
379
+ 'QueryString' => array(
380
+ 'required' => true,
381
+ 'type' => 'boolean',
382
+ 'format' => 'boolean-string',
383
+ ),
384
+ 'Cookies' => array(
385
+ 'required' => true,
386
+ 'type' => 'object',
387
+ 'properties' => array(
388
+ 'Forward' => array(
389
+ 'required' => true,
390
+ 'type' => 'string',
391
+ ),
392
+ 'WhitelistedNames' => 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
+ 'Headers' => array(
411
+ 'type' => 'object',
412
+ 'properties' => array(
413
+ 'Quantity' => array(
414
+ 'required' => true,
415
+ 'type' => 'numeric',
416
+ ),
417
+ 'Items' => array(
418
+ 'type' => 'array',
419
+ 'items' => array(
420
+ 'name' => 'Name',
421
+ 'type' => 'string',
422
+ ),
423
+ ),
424
+ ),
425
+ ),
426
+ ),
427
+ ),
428
+ 'TrustedSigners' => array(
429
+ 'required' => true,
430
+ 'type' => 'object',
431
+ 'properties' => array(
432
+ 'Enabled' => array(
433
+ 'required' => true,
434
+ 'type' => 'boolean',
435
+ 'format' => 'boolean-string',
436
+ ),
437
+ 'Quantity' => array(
438
+ 'required' => true,
439
+ 'type' => 'numeric',
440
+ ),
441
+ 'Items' => array(
442
+ 'type' => 'array',
443
+ 'items' => array(
444
+ 'name' => 'AwsAccountNumber',
445
+ 'type' => 'string',
446
+ ),
447
+ ),
448
+ ),
449
+ ),
450
+ 'ViewerProtocolPolicy' => array(
451
+ 'required' => true,
452
+ 'type' => 'string',
453
+ ),
454
+ 'MinTTL' => array(
455
+ 'required' => true,
456
+ 'type' => 'numeric',
457
+ ),
458
+ 'AllowedMethods' => array(
459
+ 'type' => 'object',
460
+ 'properties' => array(
461
+ 'Quantity' => array(
462
+ 'required' => true,
463
+ 'type' => 'numeric',
464
+ ),
465
+ 'Items' => array(
466
+ 'required' => true,
467
+ 'type' => 'array',
468
+ 'items' => array(
469
+ 'name' => 'Method',
470
+ 'type' => 'string',
471
+ ),
472
+ ),
473
+ 'CachedMethods' => array(
474
+ 'type' => 'object',
475
+ 'properties' => array(
476
+ 'Quantity' => array(
477
+ 'required' => true,
478
+ 'type' => 'numeric',
479
+ ),
480
+ 'Items' => array(
481
+ 'required' => true,
482
+ 'type' => 'array',
483
+ 'items' => array(
484
+ 'name' => 'Method',
485
+ 'type' => 'string',
486
+ ),
487
+ ),
488
+ ),
489
+ ),
490
+ ),
491
+ ),
492
+ 'SmoothStreaming' => array(
493
+ 'type' => 'boolean',
494
+ 'format' => 'boolean-string',
495
+ ),
496
+ ),
497
+ ),
498
+ ),
499
+ ),
500
+ ),
501
+ 'CustomErrorResponses' => array(
502
+ 'type' => 'object',
503
+ 'location' => 'xml',
504
+ 'properties' => array(
505
+ 'Quantity' => array(
506
+ 'required' => true,
507
+ 'type' => 'numeric',
508
+ ),
509
+ 'Items' => array(
510
+ 'type' => 'array',
511
+ 'items' => array(
512
+ 'name' => 'CustomErrorResponse',
513
+ 'type' => 'object',
514
+ 'properties' => array(
515
+ 'ErrorCode' => array(
516
+ 'required' => true,
517
+ 'type' => 'numeric',
518
+ ),
519
+ 'ResponsePagePath' => array(
520
+ 'type' => 'string',
521
+ ),
522
+ 'ResponseCode' => array(
523
+ 'type' => 'string',
524
+ ),
525
+ 'ErrorCachingMinTTL' => array(
526
+ 'type' => 'numeric',
527
+ ),
528
+ ),
529
+ ),
530
+ ),
531
+ ),
532
+ ),
533
+ 'Comment' => array(
534
+ 'required' => true,
535
+ 'type' => 'string',
536
+ 'location' => 'xml',
537
+ ),
538
+ 'Logging' => array(
539
+ 'required' => true,
540
+ 'type' => 'object',
541
+ 'location' => 'xml',
542
+ 'properties' => array(
543
+ 'Enabled' => array(
544
+ 'required' => true,
545
+ 'type' => 'boolean',
546
+ 'format' => 'boolean-string',
547
+ ),
548
+ 'IncludeCookies' => array(
549
+ 'required' => true,
550
+ 'type' => 'boolean',
551
+ 'format' => 'boolean-string',
552
+ ),
553
+ 'Bucket' => array(
554
+ 'required' => true,
555
+ 'type' => 'string',
556
+ ),
557
+ 'Prefix' => array(
558
+ 'required' => true,
559
+ 'type' => 'string',
560
+ ),
561
+ ),
562
+ ),
563
+ 'PriceClass' => array(
564
+ 'required' => true,
565
+ 'type' => 'string',
566
+ 'location' => 'xml',
567
+ ),
568
+ 'Enabled' => array(
569
+ 'required' => true,
570
+ 'type' => 'boolean',
571
+ 'format' => 'boolean-string',
572
+ 'location' => 'xml',
573
+ ),
574
+ 'ViewerCertificate' => array(
575
+ 'type' => 'object',
576
+ 'location' => 'xml',
577
+ 'properties' => array(
578
+ 'IAMCertificateId' => array(
579
+ 'type' => 'string',
580
+ ),
581
+ 'CloudFrontDefaultCertificate' => array(
582
+ 'type' => 'boolean',
583
+ 'format' => 'boolean-string',
584
+ ),
585
+ 'SSLSupportMethod' => array(
586
+ 'type' => 'string',
587
+ ),
588
+ 'MinimumProtocolVersion' => array(
589
+ 'type' => 'string',
590
+ ),
591
+ ),
592
+ ),
593
+ 'Restrictions' => array(
594
+ 'type' => 'object',
595
+ 'location' => 'xml',
596
+ 'properties' => array(
597
+ 'GeoRestriction' => array(
598
+ 'required' => true,
599
+ 'type' => 'object',
600
+ 'properties' => array(
601
+ 'RestrictionType' => array(
602
+ 'required' => true,
603
+ 'type' => 'string',
604
+ ),
605
+ 'Quantity' => array(
606
+ 'required' => true,
607
+ 'type' => 'numeric',
608
+ ),
609
+ 'Items' => array(
610
+ 'type' => 'array',
611
+ 'items' => array(
612
+ 'name' => 'Location',
613
+ 'type' => 'string',
614
+ ),
615
+ ),
616
+ ),
617
+ ),
618
+ ),
619
+ ),
620
+ 'command.expects' => array(
621
+ 'static' => true,
622
+ 'default' => 'application/xml',
623
+ ),
624
+ ),
625
+ 'errorResponses' => array(
626
+ array(
627
+ 'class' => 'CNAMEAlreadyExistsException',
628
+ ),
629
+ array(
630
+ 'reason' => 'The caller reference you attempted to create the distribution with is associated with another distribution.',
631
+ 'class' => 'DistributionAlreadyExistsException',
632
+ ),
633
+ array(
634
+ 'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.',
635
+ 'class' => 'InvalidOriginException',
636
+ ),
637
+ array(
638
+ 'reason' => 'The origin access identity is not valid or doesn\'t exist.',
639
+ 'class' => 'InvalidOriginAccessIdentityException',
640
+ ),
641
+ array(
642
+ 'reason' => 'Access denied.',
643
+ 'class' => 'AccessDeniedException',
644
+ ),
645
+ array(
646
+ 'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
647
+ 'class' => 'TooManyTrustedSignersException',
648
+ ),
649
+ array(
650
+ 'reason' => 'One or more of your trusted signers do not exist.',
651
+ 'class' => 'TrustedSignerDoesNotExistException',
652
+ ),
653
+ array(
654
+ 'class' => 'InvalidViewerCertificateException',
655
+ ),
656
+ array(
657
+ 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
658
+ 'class' => 'MissingBodyException',
659
+ ),
660
+ array(
661
+ 'reason' => 'Your request contains more CNAMEs than are allowed per distribution.',
662
+ 'class' => 'TooManyDistributionCNAMEsException',
663
+ ),
664
+ array(
665
+ 'reason' => 'Processing your request would cause you to exceed the maximum number of distributions allowed.',
666
+ 'class' => 'TooManyDistributionsException',
667
+ ),
668
+ array(
669
+ 'reason' => 'The default root object file name is too big or contains an invalid character.',
670
+ 'class' => 'InvalidDefaultRootObjectException',
671
+ ),
672
+ array(
673
+ 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).',
674
+ 'class' => 'InvalidRelativePathException',
675
+ ),
676
+ array(
677
+ 'class' => 'InvalidErrorCodeException',
678
+ ),
679
+ array(
680
+ 'class' => 'InvalidResponseCodeException',
681
+ ),
682
+ array(
683
+ 'reason' => 'The argument is invalid.',
684
+ 'class' => 'InvalidArgumentException',
685
+ ),
686
+ array(
687
+ 'reason' => 'This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.',
688
+ 'class' => 'InvalidRequiredProtocolException',
689
+ ),
690
+ array(
691
+ 'reason' => 'No origin exists with the specified Origin Id.',
692
+ 'class' => 'NoSuchOriginException',
693
+ ),
694
+ array(
695
+ 'reason' => 'You cannot create anymore origins for the distribution.',
696
+ 'class' => 'TooManyOriginsException',
697
+ ),
698
+ array(
699
+ 'reason' => 'You cannot create anymore cache behaviors for the distribution.',
700
+ 'class' => 'TooManyCacheBehaviorsException',
701
+ ),
702
+ array(
703
+ 'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.',
704
+ 'class' => 'TooManyCookieNamesInWhiteListException',
705
+ ),
706
+ array(
707
+ '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.',
708
+ 'class' => 'InvalidForwardCookiesException',
709
+ ),
710
+ array(
711
+ 'class' => 'TooManyHeadersInForwardedValuesException',
712
+ ),
713
+ array(
714
+ 'class' => 'InvalidHeadersForS3OriginException',
715
+ ),
716
+ array(
717
+ 'reason' => 'The value of Quantity and the size of Items do not match.',
718
+ 'class' => 'InconsistentQuantitiesException',
719
+ ),
720
+ array(
721
+ 'reason' => 'You cannot create anymore custom ssl certificates.',
722
+ 'class' => 'TooManyCertificatesException',
723
+ ),
724
+ array(
725
+ 'class' => 'InvalidLocationCodeException',
726
+ ),
727
+ array(
728
+ 'class' => 'InvalidGeoRestrictionParameterException',
729
+ ),
730
+ array(
731
+ 'reason' => 'You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that Support Server Name Indication (SNI).',
732
+ 'class' => 'InvalidProtocolSettingsException',
733
+ ),
734
+ ),
735
+ ),
736
+ 'CreateInvalidation' => array(
737
+ 'httpMethod' => 'POST',
738
+ 'uri' => '/2014-10-21/distribution/{DistributionId}/invalidation',
739
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
740
+ 'responseClass' => 'CreateInvalidationResult',
741
+ 'responseType' => 'model',
742
+ 'data' => array(
743
+ 'xmlRoot' => array(
744
+ 'name' => 'InvalidationBatch',
745
+ 'namespaces' => array(
746
+ 'http://cloudfront.amazonaws.com/doc/2014-10-21/',
747
+ ),
748
+ ),
749
+ ),
750
+ 'parameters' => array(
751
+ 'DistributionId' => array(
752
+ 'required' => true,
753
+ 'type' => 'string',
754
+ 'location' => 'uri',
755
+ ),
756
+ 'Paths' => array(
757
+ 'required' => true,
758
+ 'type' => 'object',
759
+ 'location' => 'xml',
760
+ 'properties' => array(
761
+ 'Quantity' => array(
762
+ 'required' => true,
763
+ 'type' => 'numeric',
764
+ ),
765
+ 'Items' => array(
766
+ 'type' => 'array',
767
+ 'items' => array(
768
+ 'name' => 'Path',
769
+ 'type' => 'string',
770
+ ),
771
+ ),
772
+ ),
773
+ ),
774
+ 'CallerReference' => array(
775
+ 'required' => true,
776
+ 'type' => 'string',
777
+ 'location' => 'xml',
778
+ ),
779
+ 'command.expects' => array(
780
+ 'static' => true,
781
+ 'default' => 'application/xml',
782
+ ),
783
+ ),
784
+ 'errorResponses' => array(
785
+ array(
786
+ 'reason' => 'Access denied.',
787
+ 'class' => 'AccessDeniedException',
788
+ ),
789
+ array(
790
+ 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
791
+ 'class' => 'MissingBodyException',
792
+ ),
793
+ array(
794
+ 'reason' => 'The argument is invalid.',
795
+ 'class' => 'InvalidArgumentException',
796
+ ),
797
+ array(
798
+ 'reason' => 'The specified distribution does not exist.',
799
+ 'class' => 'NoSuchDistributionException',
800
+ ),
801
+ array(
802
+ 'class' => 'BatchTooLargeException',
803
+ ),
804
+ array(
805
+ 'reason' => 'You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.',
806
+ 'class' => 'TooManyInvalidationsInProgressException',
807
+ ),
808
+ array(
809
+ 'reason' => 'The value of Quantity and the size of Items do not match.',
810
+ 'class' => 'InconsistentQuantitiesException',
811
+ ),
812
+ ),
813
+ ),
814
+ 'CreateStreamingDistribution' => array(
815
+ 'httpMethod' => 'POST',
816
+ 'uri' => '/2014-10-21/streaming-distribution',
817
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
818
+ 'responseClass' => 'CreateStreamingDistributionResult',
819
+ 'responseType' => 'model',
820
+ 'data' => array(
821
+ 'xmlRoot' => array(
822
+ 'name' => 'StreamingDistributionConfig',
823
+ 'namespaces' => array(
824
+ 'http://cloudfront.amazonaws.com/doc/2014-10-21/',
825
+ ),
826
+ ),
827
+ ),
828
+ 'parameters' => array(
829
+ 'CallerReference' => array(
830
+ 'required' => true,
831
+ 'type' => 'string',
832
+ 'location' => 'xml',
833
+ ),
834
+ 'S3Origin' => array(
835
+ 'required' => true,
836
+ 'type' => 'object',
837
+ 'location' => 'xml',
838
+ 'properties' => array(
839
+ 'DomainName' => array(
840
+ 'required' => true,
841
+ 'type' => 'string',
842
+ ),
843
+ 'OriginAccessIdentity' => array(
844
+ 'required' => true,
845
+ 'type' => 'string',
846
+ ),
847
+ ),
848
+ ),
849
+ 'Aliases' => array(
850
+ 'required' => true,
851
+ 'type' => 'object',
852
+ 'location' => 'xml',
853
+ 'properties' => array(
854
+ 'Quantity' => array(
855
+ 'required' => true,
856
+ 'type' => 'numeric',
857
+ ),
858
+ 'Items' => array(
859
+ 'type' => 'array',
860
+ 'items' => array(
861
+ 'name' => 'CNAME',
862
+ 'type' => 'string',
863
+ ),
864
+ ),
865
+ ),
866
+ ),
867
+ 'Comment' => array(
868
+ 'required' => true,
869
+ 'type' => 'string',
870
+ 'location' => 'xml',
871
+ ),
872
+ 'Logging' => array(
873
+ 'required' => true,
874
+ 'type' => 'object',
875
+ 'location' => 'xml',
876
+ 'properties' => array(
877
+ 'Enabled' => array(
878
+ 'required' => true,
879
+ 'type' => 'boolean',
880
+ 'format' => 'boolean-string',
881
+ ),
882
+ 'Bucket' => array(
883
+ 'required' => true,
884
+ 'type' => 'string',
885
+ ),
886
+ 'Prefix' => array(
887
+ 'required' => true,
888
+ 'type' => 'string',
889
+ ),
890
+ ),
891
+ ),
892
+ 'TrustedSigners' => array(
893
+ 'required' => true,
894
+ 'type' => 'object',
895
+ 'location' => 'xml',
896
+ 'properties' => array(
897
+ 'Enabled' => array(
898
+ 'required' => true,
899
+ 'type' => 'boolean',
900
+ 'format' => 'boolean-string',
901
+ ),
902
+ 'Quantity' => array(
903
+ 'required' => true,
904
+ 'type' => 'numeric',
905
+ ),
906
+ 'Items' => array(
907
+ 'type' => 'array',
908
+ 'items' => array(
909
+ 'name' => 'AwsAccountNumber',
910
+ 'type' => 'string',
911
+ ),
912
+ ),
913
+ ),
914
+ ),
915
+ 'PriceClass' => array(
916
+ 'required' => true,
917
+ 'type' => 'string',
918
+ 'location' => 'xml',
919
+ ),
920
+ 'Enabled' => array(
921
+ 'required' => true,
922
+ 'type' => 'boolean',
923
+ 'format' => 'boolean-string',
924
+ 'location' => 'xml',
925
+ ),
926
+ 'command.expects' => array(
927
+ 'static' => true,
928
+ 'default' => 'application/xml',
929
+ ),
930
+ ),
931
+ 'errorResponses' => array(
932
+ array(
933
+ 'class' => 'CNAMEAlreadyExistsException',
934
+ ),
935
+ array(
936
+ 'class' => 'StreamingDistributionAlreadyExistsException',
937
+ ),
938
+ array(
939
+ 'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.',
940
+ 'class' => 'InvalidOriginException',
941
+ ),
942
+ array(
943
+ 'reason' => 'The origin access identity is not valid or doesn\'t exist.',
944
+ 'class' => 'InvalidOriginAccessIdentityException',
945
+ ),
946
+ array(
947
+ 'reason' => 'Access denied.',
948
+ 'class' => 'AccessDeniedException',
949
+ ),
950
+ array(
951
+ 'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
952
+ 'class' => 'TooManyTrustedSignersException',
953
+ ),
954
+ array(
955
+ 'reason' => 'One or more of your trusted signers do not exist.',
956
+ 'class' => 'TrustedSignerDoesNotExistException',
957
+ ),
958
+ array(
959
+ 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
960
+ 'class' => 'MissingBodyException',
961
+ ),
962
+ array(
963
+ 'class' => 'TooManyStreamingDistributionCNAMEsException',
964
+ ),
965
+ array(
966
+ 'reason' => 'Processing your request would cause you to exceed the maximum number of streaming distributions allowed.',
967
+ 'class' => 'TooManyStreamingDistributionsException',
968
+ ),
969
+ array(
970
+ 'reason' => 'The argument is invalid.',
971
+ 'class' => 'InvalidArgumentException',
972
+ ),
973
+ array(
974
+ 'reason' => 'The value of Quantity and the size of Items do not match.',
975
+ 'class' => 'InconsistentQuantitiesException',
976
+ ),
977
+ ),
978
+ ),
979
+ 'DeleteCloudFrontOriginAccessIdentity' => array(
980
+ 'httpMethod' => 'DELETE',
981
+ 'uri' => '/2014-10-21/origin-access-identity/cloudfront/{Id}',
982
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
983
+ 'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2014_10_21Output',
984
+ 'responseType' => 'model',
985
+ 'parameters' => array(
986
+ 'Id' => array(
987
+ 'required' => true,
988
+ 'type' => 'string',
989
+ 'location' => 'uri',
990
+ ),
991
+ 'IfMatch' => array(
992
+ 'type' => 'string',
993
+ 'location' => 'header',
994
+ 'sentAs' => 'If-Match',
995
+ ),
996
+ ),
997
+ 'errorResponses' => array(
998
+ array(
999
+ 'reason' => 'Access denied.',
1000
+ 'class' => 'AccessDeniedException',
1001
+ ),
1002
+ array(
1003
+ 'reason' => 'The If-Match version is missing or not valid for the distribution.',
1004
+ 'class' => 'InvalidIfMatchVersionException',
1005
+ ),
1006
+ array(
1007
+ 'reason' => 'The specified origin access identity does not exist.',
1008
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
1009
+ ),
1010
+ array(
1011
+ 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
1012
+ 'class' => 'PreconditionFailedException',
1013
+ ),
1014
+ array(
1015
+ 'class' => 'CloudFrontOriginAccessIdentityInUseException',
1016
+ ),
1017
+ ),
1018
+ ),
1019
+ 'DeleteDistribution' => array(
1020
+ 'httpMethod' => 'DELETE',
1021
+ 'uri' => '/2014-10-21/distribution/{Id}',
1022
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1023
+ 'responseClass' => 'DeleteDistribution2014_10_21Output',
1024
+ 'responseType' => 'model',
1025
+ 'parameters' => array(
1026
+ 'Id' => array(
1027
+ 'required' => true,
1028
+ 'type' => 'string',
1029
+ 'location' => 'uri',
1030
+ ),
1031
+ 'IfMatch' => array(
1032
+ 'type' => 'string',
1033
+ 'location' => 'header',
1034
+ 'sentAs' => 'If-Match',
1035
+ ),
1036
+ ),
1037
+ 'errorResponses' => array(
1038
+ array(
1039
+ 'reason' => 'Access denied.',
1040
+ 'class' => 'AccessDeniedException',
1041
+ ),
1042
+ array(
1043
+ 'class' => 'DistributionNotDisabledException',
1044
+ ),
1045
+ array(
1046
+ 'reason' => 'The If-Match version is missing or not valid for the distribution.',
1047
+ 'class' => 'InvalidIfMatchVersionException',
1048
+ ),
1049
+ array(
1050
+ 'reason' => 'The specified distribution does not exist.',
1051
+ 'class' => 'NoSuchDistributionException',
1052
+ ),
1053
+ array(
1054
+ 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
1055
+ 'class' => 'PreconditionFailedException',
1056
+ ),
1057
+ ),
1058
+ ),
1059
+ 'DeleteStreamingDistribution' => array(
1060
+ 'httpMethod' => 'DELETE',
1061
+ 'uri' => '/2014-10-21/streaming-distribution/{Id}',
1062
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1063
+ 'responseClass' => 'DeleteStreamingDistribution2014_10_21Output',
1064
+ 'responseType' => 'model',
1065
+ 'parameters' => array(
1066
+ 'Id' => array(
1067
+ 'required' => true,
1068
+ 'type' => 'string',
1069
+ 'location' => 'uri',
1070
+ ),
1071
+ 'IfMatch' => array(
1072
+ 'type' => 'string',
1073
+ 'location' => 'header',
1074
+ 'sentAs' => 'If-Match',
1075
+ ),
1076
+ ),
1077
+ 'errorResponses' => array(
1078
+ array(
1079
+ 'reason' => 'Access denied.',
1080
+ 'class' => 'AccessDeniedException',
1081
+ ),
1082
+ array(
1083
+ 'class' => 'StreamingDistributionNotDisabledException',
1084
+ ),
1085
+ array(
1086
+ 'reason' => 'The If-Match version is missing or not valid for the distribution.',
1087
+ 'class' => 'InvalidIfMatchVersionException',
1088
+ ),
1089
+ array(
1090
+ 'reason' => 'The specified streaming distribution does not exist.',
1091
+ 'class' => 'NoSuchStreamingDistributionException',
1092
+ ),
1093
+ array(
1094
+ 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
1095
+ 'class' => 'PreconditionFailedException',
1096
+ ),
1097
+ ),
1098
+ ),
1099
+ 'GetCloudFrontOriginAccessIdentity' => array(
1100
+ 'httpMethod' => 'GET',
1101
+ 'uri' => '/2014-10-21/origin-access-identity/cloudfront/{Id}',
1102
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1103
+ 'responseClass' => 'GetCloudFrontOriginAccessIdentityResult',
1104
+ 'responseType' => 'model',
1105
+ 'parameters' => array(
1106
+ 'Id' => array(
1107
+ 'required' => true,
1108
+ 'type' => 'string',
1109
+ 'location' => 'uri',
1110
+ ),
1111
+ 'command.expects' => array(
1112
+ 'static' => true,
1113
+ 'default' => 'application/xml',
1114
+ ),
1115
+ ),
1116
+ 'errorResponses' => array(
1117
+ array(
1118
+ 'reason' => 'The specified origin access identity does not exist.',
1119
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
1120
+ ),
1121
+ array(
1122
+ 'reason' => 'Access denied.',
1123
+ 'class' => 'AccessDeniedException',
1124
+ ),
1125
+ ),
1126
+ ),
1127
+ 'GetCloudFrontOriginAccessIdentityConfig' => array(
1128
+ 'httpMethod' => 'GET',
1129
+ 'uri' => '/2014-10-21/origin-access-identity/cloudfront/{Id}/config',
1130
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1131
+ 'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult',
1132
+ 'responseType' => 'model',
1133
+ 'parameters' => array(
1134
+ 'Id' => array(
1135
+ 'required' => true,
1136
+ 'type' => 'string',
1137
+ 'location' => 'uri',
1138
+ ),
1139
+ 'command.expects' => array(
1140
+ 'static' => true,
1141
+ 'default' => 'application/xml',
1142
+ ),
1143
+ ),
1144
+ 'errorResponses' => array(
1145
+ array(
1146
+ 'reason' => 'The specified origin access identity does not exist.',
1147
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
1148
+ ),
1149
+ array(
1150
+ 'reason' => 'Access denied.',
1151
+ 'class' => 'AccessDeniedException',
1152
+ ),
1153
+ ),
1154
+ ),
1155
+ 'GetDistribution' => array(
1156
+ 'httpMethod' => 'GET',
1157
+ 'uri' => '/2014-10-21/distribution/{Id}',
1158
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1159
+ 'responseClass' => 'GetDistributionResult',
1160
+ 'responseType' => 'model',
1161
+ 'parameters' => array(
1162
+ 'Id' => array(
1163
+ 'required' => true,
1164
+ 'type' => 'string',
1165
+ 'location' => 'uri',
1166
+ ),
1167
+ 'command.expects' => array(
1168
+ 'static' => true,
1169
+ 'default' => 'application/xml',
1170
+ ),
1171
+ ),
1172
+ 'errorResponses' => array(
1173
+ array(
1174
+ 'reason' => 'The specified distribution does not exist.',
1175
+ 'class' => 'NoSuchDistributionException',
1176
+ ),
1177
+ array(
1178
+ 'reason' => 'Access denied.',
1179
+ 'class' => 'AccessDeniedException',
1180
+ ),
1181
+ ),
1182
+ ),
1183
+ 'GetDistributionConfig' => array(
1184
+ 'httpMethod' => 'GET',
1185
+ 'uri' => '/2014-10-21/distribution/{Id}/config',
1186
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1187
+ 'responseClass' => 'GetDistributionConfigResult',
1188
+ 'responseType' => 'model',
1189
+ 'parameters' => array(
1190
+ 'Id' => array(
1191
+ 'required' => true,
1192
+ 'type' => 'string',
1193
+ 'location' => 'uri',
1194
+ ),
1195
+ 'command.expects' => array(
1196
+ 'static' => true,
1197
+ 'default' => 'application/xml',
1198
+ ),
1199
+ ),
1200
+ 'errorResponses' => array(
1201
+ array(
1202
+ 'reason' => 'The specified distribution does not exist.',
1203
+ 'class' => 'NoSuchDistributionException',
1204
+ ),
1205
+ array(
1206
+ 'reason' => 'Access denied.',
1207
+ 'class' => 'AccessDeniedException',
1208
+ ),
1209
+ ),
1210
+ ),
1211
+ 'GetInvalidation' => array(
1212
+ 'httpMethod' => 'GET',
1213
+ 'uri' => '/2014-10-21/distribution/{DistributionId}/invalidation/{Id}',
1214
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1215
+ 'responseClass' => 'GetInvalidationResult',
1216
+ 'responseType' => 'model',
1217
+ 'parameters' => array(
1218
+ 'DistributionId' => array(
1219
+ 'required' => true,
1220
+ 'type' => 'string',
1221
+ 'location' => 'uri',
1222
+ ),
1223
+ 'Id' => array(
1224
+ 'required' => true,
1225
+ 'type' => 'string',
1226
+ 'location' => 'uri',
1227
+ ),
1228
+ 'command.expects' => array(
1229
+ 'static' => true,
1230
+ 'default' => 'application/xml',
1231
+ ),
1232
+ ),
1233
+ 'errorResponses' => array(
1234
+ array(
1235
+ 'reason' => 'The specified invalidation does not exist.',
1236
+ 'class' => 'NoSuchInvalidationException',
1237
+ ),
1238
+ array(
1239
+ 'reason' => 'The specified distribution does not exist.',
1240
+ 'class' => 'NoSuchDistributionException',
1241
+ ),
1242
+ array(
1243
+ 'reason' => 'Access denied.',
1244
+ 'class' => 'AccessDeniedException',
1245
+ ),
1246
+ ),
1247
+ ),
1248
+ 'GetStreamingDistribution' => array(
1249
+ 'httpMethod' => 'GET',
1250
+ 'uri' => '/2014-10-21/streaming-distribution/{Id}',
1251
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1252
+ 'responseClass' => 'GetStreamingDistributionResult',
1253
+ 'responseType' => 'model',
1254
+ 'parameters' => array(
1255
+ 'Id' => array(
1256
+ 'required' => true,
1257
+ 'type' => 'string',
1258
+ 'location' => 'uri',
1259
+ ),
1260
+ 'command.expects' => array(
1261
+ 'static' => true,
1262
+ 'default' => 'application/xml',
1263
+ ),
1264
+ ),
1265
+ 'errorResponses' => array(
1266
+ array(
1267
+ 'reason' => 'The specified streaming distribution does not exist.',
1268
+ 'class' => 'NoSuchStreamingDistributionException',
1269
+ ),
1270
+ array(
1271
+ 'reason' => 'Access denied.',
1272
+ 'class' => 'AccessDeniedException',
1273
+ ),
1274
+ ),
1275
+ ),
1276
+ 'GetStreamingDistributionConfig' => array(
1277
+ 'httpMethod' => 'GET',
1278
+ 'uri' => '/2014-10-21/streaming-distribution/{Id}/config',
1279
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1280
+ 'responseClass' => 'GetStreamingDistributionConfigResult',
1281
+ 'responseType' => 'model',
1282
+ 'parameters' => array(
1283
+ 'Id' => array(
1284
+ 'required' => true,
1285
+ 'type' => 'string',
1286
+ 'location' => 'uri',
1287
+ ),
1288
+ 'command.expects' => array(
1289
+ 'static' => true,
1290
+ 'default' => 'application/xml',
1291
+ ),
1292
+ ),
1293
+ 'errorResponses' => array(
1294
+ array(
1295
+ 'reason' => 'The specified streaming distribution does not exist.',
1296
+ 'class' => 'NoSuchStreamingDistributionException',
1297
+ ),
1298
+ array(
1299
+ 'reason' => 'Access denied.',
1300
+ 'class' => 'AccessDeniedException',
1301
+ ),
1302
+ ),
1303
+ ),
1304
+ 'ListCloudFrontOriginAccessIdentities' => array(
1305
+ 'httpMethod' => 'GET',
1306
+ 'uri' => '/2014-10-21/origin-access-identity/cloudfront',
1307
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1308
+ 'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult',
1309
+ 'responseType' => 'model',
1310
+ 'parameters' => array(
1311
+ 'Marker' => array(
1312
+ 'type' => 'string',
1313
+ 'location' => 'query',
1314
+ ),
1315
+ 'MaxItems' => array(
1316
+ 'type' => 'string',
1317
+ 'location' => 'query',
1318
+ ),
1319
+ 'command.expects' => array(
1320
+ 'static' => true,
1321
+ 'default' => 'application/xml',
1322
+ ),
1323
+ ),
1324
+ 'errorResponses' => array(
1325
+ array(
1326
+ 'reason' => 'The argument is invalid.',
1327
+ 'class' => 'InvalidArgumentException',
1328
+ ),
1329
+ ),
1330
+ ),
1331
+ 'ListDistributions' => array(
1332
+ 'httpMethod' => 'GET',
1333
+ 'uri' => '/2014-10-21/distribution',
1334
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1335
+ 'responseClass' => 'ListDistributionsResult',
1336
+ 'responseType' => 'model',
1337
+ 'parameters' => array(
1338
+ 'Marker' => array(
1339
+ 'type' => 'string',
1340
+ 'location' => 'query',
1341
+ ),
1342
+ 'MaxItems' => array(
1343
+ 'type' => 'string',
1344
+ 'location' => 'query',
1345
+ ),
1346
+ 'command.expects' => array(
1347
+ 'static' => true,
1348
+ 'default' => 'application/xml',
1349
+ ),
1350
+ ),
1351
+ 'errorResponses' => array(
1352
+ array(
1353
+ 'reason' => 'The argument is invalid.',
1354
+ 'class' => 'InvalidArgumentException',
1355
+ ),
1356
+ ),
1357
+ ),
1358
+ 'ListInvalidations' => array(
1359
+ 'httpMethod' => 'GET',
1360
+ 'uri' => '/2014-10-21/distribution/{DistributionId}/invalidation',
1361
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1362
+ 'responseClass' => 'ListInvalidationsResult',
1363
+ 'responseType' => 'model',
1364
+ 'parameters' => array(
1365
+ 'DistributionId' => array(
1366
+ 'required' => true,
1367
+ 'type' => 'string',
1368
+ 'location' => 'uri',
1369
+ ),
1370
+ 'Marker' => array(
1371
+ 'type' => 'string',
1372
+ 'location' => 'query',
1373
+ ),
1374
+ 'MaxItems' => array(
1375
+ 'type' => 'string',
1376
+ 'location' => 'query',
1377
+ ),
1378
+ 'command.expects' => array(
1379
+ 'static' => true,
1380
+ 'default' => 'application/xml',
1381
+ ),
1382
+ ),
1383
+ 'errorResponses' => array(
1384
+ array(
1385
+ 'reason' => 'The argument is invalid.',
1386
+ 'class' => 'InvalidArgumentException',
1387
+ ),
1388
+ array(
1389
+ 'reason' => 'The specified distribution does not exist.',
1390
+ 'class' => 'NoSuchDistributionException',
1391
+ ),
1392
+ array(
1393
+ 'reason' => 'Access denied.',
1394
+ 'class' => 'AccessDeniedException',
1395
+ ),
1396
+ ),
1397
+ ),
1398
+ 'ListStreamingDistributions' => array(
1399
+ 'httpMethod' => 'GET',
1400
+ 'uri' => '/2014-10-21/streaming-distribution',
1401
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1402
+ 'responseClass' => 'ListStreamingDistributionsResult',
1403
+ 'responseType' => 'model',
1404
+ 'parameters' => array(
1405
+ 'Marker' => array(
1406
+ 'type' => 'string',
1407
+ 'location' => 'query',
1408
+ ),
1409
+ 'MaxItems' => array(
1410
+ 'type' => 'string',
1411
+ 'location' => 'query',
1412
+ ),
1413
+ 'command.expects' => array(
1414
+ 'static' => true,
1415
+ 'default' => 'application/xml',
1416
+ ),
1417
+ ),
1418
+ 'errorResponses' => array(
1419
+ array(
1420
+ 'reason' => 'The argument is invalid.',
1421
+ 'class' => 'InvalidArgumentException',
1422
+ ),
1423
+ ),
1424
+ ),
1425
+ 'UpdateCloudFrontOriginAccessIdentity' => array(
1426
+ 'httpMethod' => 'PUT',
1427
+ 'uri' => '/2014-10-21/origin-access-identity/cloudfront/{Id}/config',
1428
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1429
+ 'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult',
1430
+ 'responseType' => 'model',
1431
+ 'data' => array(
1432
+ 'xmlRoot' => array(
1433
+ 'name' => 'CloudFrontOriginAccessIdentityConfig',
1434
+ 'namespaces' => array(
1435
+ 'http://cloudfront.amazonaws.com/doc/2014-10-21/',
1436
+ ),
1437
+ ),
1438
+ ),
1439
+ 'parameters' => array(
1440
+ 'CallerReference' => array(
1441
+ 'required' => true,
1442
+ 'type' => 'string',
1443
+ 'location' => 'xml',
1444
+ ),
1445
+ 'Comment' => array(
1446
+ 'required' => true,
1447
+ 'type' => 'string',
1448
+ 'location' => 'xml',
1449
+ ),
1450
+ 'Id' => array(
1451
+ 'required' => true,
1452
+ 'type' => 'string',
1453
+ 'location' => 'uri',
1454
+ ),
1455
+ 'IfMatch' => array(
1456
+ 'type' => 'string',
1457
+ 'location' => 'header',
1458
+ 'sentAs' => 'If-Match',
1459
+ ),
1460
+ 'command.expects' => array(
1461
+ 'static' => true,
1462
+ 'default' => 'application/xml',
1463
+ ),
1464
+ ),
1465
+ 'errorResponses' => array(
1466
+ array(
1467
+ 'reason' => 'Access denied.',
1468
+ 'class' => 'AccessDeniedException',
1469
+ ),
1470
+ array(
1471
+ 'reason' => 'Origin and CallerReference cannot be updated.',
1472
+ 'class' => 'IllegalUpdateException',
1473
+ ),
1474
+ array(
1475
+ 'reason' => 'The If-Match version is missing or not valid for the distribution.',
1476
+ 'class' => 'InvalidIfMatchVersionException',
1477
+ ),
1478
+ array(
1479
+ 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
1480
+ 'class' => 'MissingBodyException',
1481
+ ),
1482
+ array(
1483
+ 'reason' => 'The specified origin access identity does not exist.',
1484
+ 'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
1485
+ ),
1486
+ array(
1487
+ 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
1488
+ 'class' => 'PreconditionFailedException',
1489
+ ),
1490
+ array(
1491
+ 'reason' => 'The argument is invalid.',
1492
+ 'class' => 'InvalidArgumentException',
1493
+ ),
1494
+ array(
1495
+ 'reason' => 'The value of Quantity and the size of Items do not match.',
1496
+ 'class' => 'InconsistentQuantitiesException',
1497
+ ),
1498
+ ),
1499
+ ),
1500
+ 'UpdateDistribution' => array(
1501
+ 'httpMethod' => 'PUT',
1502
+ 'uri' => '/2014-10-21/distribution/{Id}/config',
1503
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
1504
+ 'responseClass' => 'UpdateDistributionResult',
1505
+ 'responseType' => 'model',
1506
+ 'data' => array(
1507
+ 'xmlRoot' => array(
1508
+ 'name' => 'DistributionConfig',
1509
+ 'namespaces' => array(
1510
+ 'http://cloudfront.amazonaws.com/doc/2014-10-21/',
1511
+ ),
1512
+ ),
1513
+ ),
1514
+ 'parameters' => array(
1515
+ 'CallerReference' => array(
1516
+ 'required' => true,
1517
+ 'type' => 'string',
1518
+ 'location' => 'xml',
1519
+ ),
1520
+ 'Aliases' => array(
1521
+ 'required' => true,
1522
+ 'type' => 'object',
1523
+ 'location' => 'xml',
1524
+ 'properties' => array(
1525
+ 'Quantity' => array(
1526
+ 'required' => true,
1527
+ 'type' => 'numeric',
1528
+ ),
1529
+ 'Items' => array(
1530
+ 'type' => 'array',
1531
+ 'items' => array(
1532
+ 'name' => 'CNAME',
1533
+ 'type' => 'string',
1534
+ ),
1535
+ ),
1536
+ ),
1537
+ ),
1538
+ 'DefaultRootObject' => array(
1539
+ 'required' => true,
1540
+ 'type' => 'string',
1541
+ 'location' => 'xml',
1542
+ ),
1543
+ 'Origins' => array(
1544
+ 'required' => true,
1545
+ 'type' => 'object',
1546
+ 'location' => 'xml',
1547
+ 'properties' => array(
1548
+ 'Quantity' => array(
1549
+ 'required' => true,
1550
+ 'type' => 'numeric',
1551
+ ),
1552
+ 'Items' => array(
1553
+ 'type' => 'array',
1554
+ 'minItems' => 1,
1555
+ 'items' => array(
1556
+ 'name' => 'Origin',
1557
+ 'type' => 'object',
1558
+ 'properties' => array(
1559
+ 'Id' => array(
1560
+ 'required' => true,
1561
+ 'type' => 'string',
1562
+ ),
1563
+ 'DomainName' => array(
1564
+ 'required' => true,
1565
+ 'type' => 'string',
1566
+ ),
1567
+ 'S3OriginConfig' => array(
1568
+ 'type' => 'object',
1569
+ 'properties' => array(
1570
+ 'OriginAccessIdentity' => array(
1571
+ 'required' => true,
1572
+ 'type' => 'string',
1573
+ ),
1574
+ ),
1575
+ ),
1576
+ 'CustomOriginConfig' => array(
1577
+ 'type' => 'object',
1578
+ 'properties' => array(
1579
+ 'HTTPPort' => array(
1580
+ 'required' => true,
1581
+ 'type' => 'numeric',
1582
+ ),
1583
+ 'HTTPSPort' => array(
1584
+ 'required' => true,
1585
+ 'type' => 'numeric',
1586
+ ),
1587
+ 'OriginProtocolPolicy' => array(
1588
+ 'required' => true,
1589
+ 'type' => 'string',
1590
+ ),
1591
+ ),
1592
+ ),
1593
+ ),
1594
+ ),
1595
+ ),
1596
+ ),
1597
+ ),
1598
+ 'DefaultCacheBehavior' => array(
1599
+ 'required' => true,
1600
+ 'type' => 'object',
1601
+ 'location' => 'xml',
1602
+ 'properties' => array(
1603
+ 'TargetOriginId' => array(
1604
+ 'required' => true,
1605
+ 'type' => 'string',
1606
+ ),
1607
+ 'ForwardedValues' => array(
1608
+ 'required' => true,
1609
+ 'type' => 'object',
1610
+ 'properties' => array(
1611
+ 'QueryString' => array(
1612
+ 'required' => true,
1613
+ 'type' => 'boolean',
1614
+ 'format' => 'boolean-string',
1615
+ ),
1616
+ 'Cookies' => array(
1617
+ 'required' => true,
1618
+ 'type' => 'object',
1619
+ 'properties' => array(
1620
+ 'Forward' => array(
1621
+ 'required' => true,
1622
+ 'type' => 'string',
1623
+ ),
1624
+ 'WhitelistedNames' => array(
1625
+ 'type' => 'object',
1626
+ 'properties' => array(
1627
+ 'Quantity' => array(
1628
+ 'required' => true,
1629
+ 'type' => 'numeric',
1630
+ ),
1631
+ 'Items' => array(
1632
+ 'type' => 'array',
1633
+ 'items' => array(
1634
+ 'name' => 'Name',
1635
+ 'type' => 'string',
1636
+ ),
1637
+ ),
1638
+ ),
1639
+ ),
1640
+ ),
1641
+ ),
1642
+ 'Headers' => array(
1643
+ 'type' => 'object',
1644
+ 'properties' => array(
1645
+ 'Quantity' => array(
1646
+ 'required' => true,
1647
+ 'type' => 'numeric',
1648
+ ),
1649
+ 'Items' => array(
1650
+ 'type' => 'array',
1651
+ 'items' => array(
1652
+ 'name' => 'Name',
1653
+ 'type' => 'string',
1654
+ ),
1655
+ ),
1656
+ ),
1657
+ ),
1658
+ ),
1659
+ ),
1660
+ 'TrustedSigners' => array(
1661
+ 'required' => true,
1662
+ 'type' => 'object',
1663
+ 'properties' => array(
1664
+ 'Enabled' => array(
1665
+ 'required' => true,
1666
+ 'type' => 'boolean',
1667
+ 'format' => 'boolean-string',
1668
+ ),
1669
+ 'Quantity' => array(
1670
+ 'required' => true,
1671
+ 'type' => 'numeric',
1672
+ ),
1673
+ 'Items' => array(
1674
+ 'type' => 'array',
1675
+ 'items' => array(
1676
+ 'name' => 'AwsAccountNumber',
1677
+ 'type' => 'string',
1678
+ ),
1679
+ ),
1680
+ ),
1681
+ ),
1682
+ 'ViewerProtocolPolicy' => array(
1683
+ 'required' => true,
1684
+ 'type' => 'string',
1685
+ ),
1686
+ 'MinTTL' => array(
1687
+ 'required' => true,
1688
+ 'type' => 'numeric',
1689
+ ),
1690
+ 'AllowedMethods' => array(
1691
+ 'type' => 'object',
1692
+ 'properties' => array(
1693
+ 'Quantity' => array(
1694
+ 'required' => true,
1695
+ 'type' => 'numeric',
1696
+ ),
1697
+ 'Items' => array(
1698
+ 'required' => true,
1699
+ 'type' => 'array',
1700
+ 'items' => array(
1701
+ 'name' => 'Method',
1702
+ 'type' => 'string',
1703
+ ),
1704
+ ),
1705
+ 'CachedMethods' => array(
1706
+ 'type' => 'object',
1707
+ 'properties' => array(
1708
+ 'Quantity' => array(
1709
+ 'required' => true,
1710
+ 'type' => 'numeric',
1711
+ ),
1712
+ 'Items' => array(
1713
+ 'required' => true,
1714
+ 'type' => 'array',
1715
+ 'items' => array(
1716
+ 'name' => 'Method',
1717
+ 'type' => 'string',
1718
+ ),
1719
+ ),
1720
+ ),
1721
+ ),
1722
+ ),
1723
+ ),
1724
+ 'SmoothStreaming' => array(
1725
+ 'type' => 'boolean',
1726
+ 'format' => 'boolean-string',
1727
+ ),
1728
+ ),
1729
+ ),
1730
+ 'CacheBehaviors' => array(
1731
+ 'required' => true,
1732
+ 'type' => 'object',
1733
+ 'location' => 'xml',
1734
+ 'properties' => array(
1735
+ 'Quantity' => array(
1736
+ 'required' => true,
1737
+ 'type' => 'numeric',
1738
+ ),
1739
+ 'Items' => array(
1740
+ 'type' => 'array',
1741
+ 'items' => array(
1742
+ 'name' => 'CacheBehavior',
1743
+ 'type' => 'object',
1744
+ 'properties' => array(
1745
+ 'PathPattern' => array(
1746
+ 'required' => true,
1747
+ 'type' => 'string',
1748
+ ),
1749
+ 'TargetOriginId' => array(
1750
+ 'required' => true,
1751
+ 'type' => 'string',
1752
+ ),
1753
+ 'ForwardedValues' => array(
1754
+ 'required' => true,
1755
+ 'type' => 'object',
1756
+ 'properties' => array(
1757
+ 'QueryString' => array(
1758
+ 'required' => true,
1759
+ 'type' => 'boolean',
1760
+ 'format' => 'boolean-string',
1761
+ ),
1762
+ 'Cookies' => array(
1763
+ 'required' => true,
1764
+ 'type' => 'object',
1765
+ 'properties' => array(
1766
+ 'Forward' => array(
1767
+ 'required' => true,
1768
+ 'type' => 'string',
1769
+ ),
1770
+ 'WhitelistedNames' => array(
1771
+ 'type' => 'object',
1772
+ 'properties' => array(
1773
+ 'Quantity' => array(
1774
+ 'required' => true,
1775
+ 'type' => 'numeric',
1776
+ ),
1777
+ 'Items' => array(
1778
+ 'type' => 'array',
1779
+ 'items' => array(
1780
+ 'name' => 'Name',
1781
+ 'type' => 'string',
1782
+ ),
1783
+ ),
1784
+ ),
1785
+ ),
1786
+ ),
1787
+ ),
1788
+ 'Headers' => array(
1789
+ 'type' => 'object',
1790
+ 'properties' => array(
1791
+ 'Quantity' => array(
1792
+ 'required' => true,
1793
+ 'type' => 'numeric',
1794
+ ),
1795
+ 'Items' => array(
1796
+ 'type' => 'array',
1797
+ 'items' => array(
1798
+ 'name' => 'Name',
1799
+ 'type' => 'string',
1800
+ ),
1801
+ ),
1802
+ ),
1803
+ ),
1804
+ ),
1805
+ ),
1806
+ 'TrustedSigners' => array(
1807
+ 'required' => true,
1808
+ 'type' => 'object',
1809
+ 'properties' => array(
1810
+ 'Enabled' => array(
1811
+ 'required' => true,
1812
+ 'type' => 'boolean',
1813
+ 'format' => 'boolean-string',
1814
+ ),
1815
+ 'Quantity' => array(
1816
+ 'required' => true,
1817
+ 'type' => 'numeric',
1818
+ ),
1819
+ 'Items' => array(
1820
+ 'type' => 'array',
1821
+ 'items' => array(
1822
+ 'name' => 'AwsAccountNumber',
1823
+ 'type' => 'string',
1824
+ ),
1825
+ ),
1826
+ ),
1827
+ ),
1828
+ 'ViewerProtocolPolicy' => array(
1829
+ 'required' => true,
1830
+ 'type' => 'string',
1831
+ ),
1832
+ 'MinTTL' => array(
1833
+ 'required' => true,
1834
+ 'type' => 'numeric',
1835
+ ),
1836
+ 'AllowedMethods' => array(
1837
+ 'type' => 'object',
1838
+ 'properties' => array(
1839
+ 'Quantity' => array(
1840
+ 'required' => true,
1841
+ 'type' => 'numeric',
1842
+ ),
1843
+ 'Items' => array(
1844
+ 'required' => true,
1845
+ 'type' => 'array',
1846
+ 'items' => array(
1847
+ 'name' => 'Method',
1848
+ 'type' => 'string',
1849
+ ),
1850
+ ),
1851
+ 'CachedMethods' => array(
1852
+ 'type' => 'object',
1853
+ 'properties' => array(
1854
+ 'Quantity' => array(
1855
+ 'required' => true,
1856
+ 'type' => 'numeric',
1857
+ ),
1858
+ 'Items' => array(
1859
+ 'required' => true,
1860
+ 'type' => 'array',
1861
+ 'items' => array(
1862
+ 'name' => 'Method',
1863
+ 'type' => 'string',
1864
+ ),
1865
+ ),
1866
+ ),
1867
+ ),
1868
+ ),
1869
+ ),
1870
+ 'SmoothStreaming' => array(
1871
+ 'type' => 'boolean',
1872
+ 'format' => 'boolean-string',
1873
+ ),
1874
+ ),
1875
+ ),
1876
+ ),
1877
+ ),
1878
+ ),
1879
+ 'CustomErrorResponses' => array(
1880
+ 'type' => 'object',
1881
+ 'location' => 'xml',
1882
+ 'properties' => array(
1883
+ 'Quantity' => array(
1884
+ 'required' => true,
1885
+ 'type' => 'numeric',
1886
+ ),
1887
+ 'Items' => array(
1888
+ 'type' => 'array',
1889
+ 'items' => array(
1890
+ 'name' => 'CustomErrorResponse',
1891
+ 'type' => 'object',
1892
+ 'properties' => array(
1893
+ 'ErrorCode' => array(
1894
+ 'required' => true,
1895
+ 'type' => 'numeric',
1896
+ ),
1897
+ 'ResponsePagePath' => array(
1898
+ 'type' => 'string',
1899
+ ),
1900
+ 'ResponseCode' => array(
1901
+ 'type' => 'string',
1902
+ ),
1903
+ 'ErrorCachingMinTTL' => array(
1904
+ 'type' => 'numeric',
1905
+ ),
1906
+ ),
1907
+ ),
1908
+ ),
1909
+ ),
1910
+ ),
1911
+ 'Comment' => array(
1912
+ 'required' => true,
1913
+ 'type' => 'string',
1914
+ 'location' => 'xml',
1915
+ ),
1916
+ 'Logging' => array(
1917
+ 'required' => true,
1918
+ 'type' => 'object',
1919
+ 'location' => 'xml',
1920
+ 'properties' => array(
1921
+ 'Enabled' => array(
1922
+ 'required' => true,
1923
+ 'type' => 'boolean',
1924
+ 'format' => 'boolean-string',
1925
+ ),
1926
+ 'IncludeCookies' => array(
1927
+ 'required' => true,
1928
+ 'type' => 'boolean',
1929
+ 'format' => 'boolean-string',
1930
+ ),
1931
+ 'Bucket' => array(
1932
+ 'required' => true,
1933
+ 'type' => 'string',
1934
+ ),
1935
+ 'Prefix' => array(
1936
+ 'required' => true,
1937
+ 'type' => 'string',
1938
+ ),
1939
+ ),
1940
+ ),
1941
+ 'PriceClass' => array(
1942
+ 'required' => true,
1943
+ 'type' => 'string',
1944
+ 'location' => 'xml',
1945
+ ),
1946
+ 'Enabled' => array(
1947
+ 'required' => true,
1948
+ 'type' => 'boolean',
1949
+ 'format' => 'boolean-string',
1950
+ 'location' => 'xml',
1951
+ ),
1952
+ 'ViewerCertificate' => array(
1953
+ 'type' => 'object',
1954
+ 'location' => 'xml',
1955
+ 'properties' => array(
1956
+ 'IAMCertificateId' => array(
1957
+ 'type' => 'string',
1958
+ ),
1959
+ 'CloudFrontDefaultCertificate' => array(
1960
+ 'type' => 'boolean',
1961
+ 'format' => 'boolean-string',
1962
+ ),
1963
+ 'SSLSupportMethod' => array(
1964
+ 'type' => 'string',
1965
+ ),
1966
+ 'MinimumProtocolVersion' => array(
1967
+ 'type' => 'string',
1968
+ ),
1969
+ ),
1970
+ ),
1971
+ 'Restrictions' => array(
1972
+ 'type' => 'object',
1973
+ 'location' => 'xml',
1974
+ 'properties' => array(
1975
+ 'GeoRestriction' => array(
1976
+ 'required' => true,
1977
+ 'type' => 'object',
1978
+ 'properties' => array(
1979
+ 'RestrictionType' => array(
1980
+ 'required' => true,
1981
+ 'type' => 'string',
1982
+ ),
1983
+ 'Quantity' => array(
1984
+ 'required' => true,
1985
+ 'type' => 'numeric',
1986
+ ),
1987
+ 'Items' => array(
1988
+ 'type' => 'array',
1989
+ 'items' => array(
1990
+ 'name' => 'Location',
1991
+ 'type' => 'string',
1992
+ ),
1993
+ ),
1994
+ ),
1995
+ ),
1996
+ ),
1997
+ ),
1998
+ 'Id' => array(
1999
+ 'required' => true,
2000
+ 'type' => 'string',
2001
+ 'location' => 'uri',
2002
+ ),
2003
+ 'IfMatch' => array(
2004
+ 'type' => 'string',
2005
+ 'location' => 'header',
2006
+ 'sentAs' => 'If-Match',
2007
+ ),
2008
+ 'command.expects' => array(
2009
+ 'static' => true,
2010
+ 'default' => 'application/xml',
2011
+ ),
2012
+ ),
2013
+ 'errorResponses' => array(
2014
+ array(
2015
+ 'reason' => 'Access denied.',
2016
+ 'class' => 'AccessDeniedException',
2017
+ ),
2018
+ array(
2019
+ 'class' => 'CNAMEAlreadyExistsException',
2020
+ ),
2021
+ array(
2022
+ 'reason' => 'Origin and CallerReference cannot be updated.',
2023
+ 'class' => 'IllegalUpdateException',
2024
+ ),
2025
+ array(
2026
+ 'reason' => 'The If-Match version is missing or not valid for the distribution.',
2027
+ 'class' => 'InvalidIfMatchVersionException',
2028
+ ),
2029
+ array(
2030
+ 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
2031
+ 'class' => 'MissingBodyException',
2032
+ ),
2033
+ array(
2034
+ 'reason' => 'The specified distribution does not exist.',
2035
+ 'class' => 'NoSuchDistributionException',
2036
+ ),
2037
+ array(
2038
+ 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
2039
+ 'class' => 'PreconditionFailedException',
2040
+ ),
2041
+ array(
2042
+ 'reason' => 'Your request contains more CNAMEs than are allowed per distribution.',
2043
+ 'class' => 'TooManyDistributionCNAMEsException',
2044
+ ),
2045
+ array(
2046
+ 'reason' => 'The default root object file name is too big or contains an invalid character.',
2047
+ 'class' => 'InvalidDefaultRootObjectException',
2048
+ ),
2049
+ array(
2050
+ 'reason' => 'The relative path is too big, is not URL-encoded, or does not begin with a slash (/).',
2051
+ 'class' => 'InvalidRelativePathException',
2052
+ ),
2053
+ array(
2054
+ 'class' => 'InvalidErrorCodeException',
2055
+ ),
2056
+ array(
2057
+ 'class' => 'InvalidResponseCodeException',
2058
+ ),
2059
+ array(
2060
+ 'reason' => 'The argument is invalid.',
2061
+ 'class' => 'InvalidArgumentException',
2062
+ ),
2063
+ array(
2064
+ 'reason' => 'The origin access identity is not valid or doesn\'t exist.',
2065
+ 'class' => 'InvalidOriginAccessIdentityException',
2066
+ ),
2067
+ array(
2068
+ 'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
2069
+ 'class' => 'TooManyTrustedSignersException',
2070
+ ),
2071
+ array(
2072
+ 'reason' => 'One or more of your trusted signers do not exist.',
2073
+ 'class' => 'TrustedSignerDoesNotExistException',
2074
+ ),
2075
+ array(
2076
+ 'class' => 'InvalidViewerCertificateException',
2077
+ ),
2078
+ array(
2079
+ 'reason' => 'This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.',
2080
+ 'class' => 'InvalidRequiredProtocolException',
2081
+ ),
2082
+ array(
2083
+ 'reason' => 'No origin exists with the specified Origin Id.',
2084
+ 'class' => 'NoSuchOriginException',
2085
+ ),
2086
+ array(
2087
+ 'reason' => 'You cannot create anymore origins for the distribution.',
2088
+ 'class' => 'TooManyOriginsException',
2089
+ ),
2090
+ array(
2091
+ 'reason' => 'You cannot create anymore cache behaviors for the distribution.',
2092
+ 'class' => 'TooManyCacheBehaviorsException',
2093
+ ),
2094
+ array(
2095
+ 'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.',
2096
+ 'class' => 'TooManyCookieNamesInWhiteListException',
2097
+ ),
2098
+ array(
2099
+ '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.',
2100
+ 'class' => 'InvalidForwardCookiesException',
2101
+ ),
2102
+ array(
2103
+ 'class' => 'TooManyHeadersInForwardedValuesException',
2104
+ ),
2105
+ array(
2106
+ 'class' => 'InvalidHeadersForS3OriginException',
2107
+ ),
2108
+ array(
2109
+ 'reason' => 'The value of Quantity and the size of Items do not match.',
2110
+ 'class' => 'InconsistentQuantitiesException',
2111
+ ),
2112
+ array(
2113
+ 'reason' => 'You cannot create anymore custom ssl certificates.',
2114
+ 'class' => 'TooManyCertificatesException',
2115
+ ),
2116
+ array(
2117
+ 'class' => 'InvalidLocationCodeException',
2118
+ ),
2119
+ array(
2120
+ 'class' => 'InvalidGeoRestrictionParameterException',
2121
+ ),
2122
+ ),
2123
+ ),
2124
+ 'UpdateStreamingDistribution' => array(
2125
+ 'httpMethod' => 'PUT',
2126
+ 'uri' => '/2014-10-21/streaming-distribution/{Id}/config',
2127
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
2128
+ 'responseClass' => 'UpdateStreamingDistributionResult',
2129
+ 'responseType' => 'model',
2130
+ 'data' => array(
2131
+ 'xmlRoot' => array(
2132
+ 'name' => 'StreamingDistributionConfig',
2133
+ 'namespaces' => array(
2134
+ 'http://cloudfront.amazonaws.com/doc/2014-10-21/',
2135
+ ),
2136
+ ),
2137
+ ),
2138
+ 'parameters' => array(
2139
+ 'CallerReference' => array(
2140
+ 'required' => true,
2141
+ 'type' => 'string',
2142
+ 'location' => 'xml',
2143
+ ),
2144
+ 'S3Origin' => array(
2145
+ 'required' => true,
2146
+ 'type' => 'object',
2147
+ 'location' => 'xml',
2148
+ 'properties' => array(
2149
+ 'DomainName' => array(
2150
+ 'required' => true,
2151
+ 'type' => 'string',
2152
+ ),
2153
+ 'OriginAccessIdentity' => array(
2154
+ 'required' => true,
2155
+ 'type' => 'string',
2156
+ ),
2157
+ ),
2158
+ ),
2159
+ 'Aliases' => array(
2160
+ 'required' => true,
2161
+ 'type' => 'object',
2162
+ 'location' => 'xml',
2163
+ 'properties' => array(
2164
+ 'Quantity' => array(
2165
+ 'required' => true,
2166
+ 'type' => 'numeric',
2167
+ ),
2168
+ 'Items' => array(
2169
+ 'type' => 'array',
2170
+ 'items' => array(
2171
+ 'name' => 'CNAME',
2172
+ 'type' => 'string',
2173
+ ),
2174
+ ),
2175
+ ),
2176
+ ),
2177
+ 'Comment' => array(
2178
+ 'required' => true,
2179
+ 'type' => 'string',
2180
+ 'location' => 'xml',
2181
+ ),
2182
+ 'Logging' => array(
2183
+ 'required' => true,
2184
+ 'type' => 'object',
2185
+ 'location' => 'xml',
2186
+ 'properties' => array(
2187
+ 'Enabled' => array(
2188
+ 'required' => true,
2189
+ 'type' => 'boolean',
2190
+ 'format' => 'boolean-string',
2191
+ ),
2192
+ 'Bucket' => array(
2193
+ 'required' => true,
2194
+ 'type' => 'string',
2195
+ ),
2196
+ 'Prefix' => array(
2197
+ 'required' => true,
2198
+ 'type' => 'string',
2199
+ ),
2200
+ ),
2201
+ ),
2202
+ 'TrustedSigners' => array(
2203
+ 'required' => true,
2204
+ 'type' => 'object',
2205
+ 'location' => 'xml',
2206
+ 'properties' => array(
2207
+ 'Enabled' => array(
2208
+ 'required' => true,
2209
+ 'type' => 'boolean',
2210
+ 'format' => 'boolean-string',
2211
+ ),
2212
+ 'Quantity' => array(
2213
+ 'required' => true,
2214
+ 'type' => 'numeric',
2215
+ ),
2216
+ 'Items' => array(
2217
+ 'type' => 'array',
2218
+ 'items' => array(
2219
+ 'name' => 'AwsAccountNumber',
2220
+ 'type' => 'string',
2221
+ ),
2222
+ ),
2223
+ ),
2224
+ ),
2225
+ 'PriceClass' => array(
2226
+ 'required' => true,
2227
+ 'type' => 'string',
2228
+ 'location' => 'xml',
2229
+ ),
2230
+ 'Enabled' => array(
2231
+ 'required' => true,
2232
+ 'type' => 'boolean',
2233
+ 'format' => 'boolean-string',
2234
+ 'location' => 'xml',
2235
+ ),
2236
+ 'Id' => array(
2237
+ 'required' => true,
2238
+ 'type' => 'string',
2239
+ 'location' => 'uri',
2240
+ ),
2241
+ 'IfMatch' => array(
2242
+ 'type' => 'string',
2243
+ 'location' => 'header',
2244
+ 'sentAs' => 'If-Match',
2245
+ ),
2246
+ 'command.expects' => array(
2247
+ 'static' => true,
2248
+ 'default' => 'application/xml',
2249
+ ),
2250
+ ),
2251
+ 'errorResponses' => array(
2252
+ array(
2253
+ 'reason' => 'Access denied.',
2254
+ 'class' => 'AccessDeniedException',
2255
+ ),
2256
+ array(
2257
+ 'class' => 'CNAMEAlreadyExistsException',
2258
+ ),
2259
+ array(
2260
+ 'reason' => 'Origin and CallerReference cannot be updated.',
2261
+ 'class' => 'IllegalUpdateException',
2262
+ ),
2263
+ array(
2264
+ 'reason' => 'The If-Match version is missing or not valid for the distribution.',
2265
+ 'class' => 'InvalidIfMatchVersionException',
2266
+ ),
2267
+ array(
2268
+ 'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
2269
+ 'class' => 'MissingBodyException',
2270
+ ),
2271
+ array(
2272
+ 'reason' => 'The specified streaming distribution does not exist.',
2273
+ 'class' => 'NoSuchStreamingDistributionException',
2274
+ ),
2275
+ array(
2276
+ 'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
2277
+ 'class' => 'PreconditionFailedException',
2278
+ ),
2279
+ array(
2280
+ 'class' => 'TooManyStreamingDistributionCNAMEsException',
2281
+ ),
2282
+ array(
2283
+ 'reason' => 'The argument is invalid.',
2284
+ 'class' => 'InvalidArgumentException',
2285
+ ),
2286
+ array(
2287
+ 'reason' => 'The origin access identity is not valid or doesn\'t exist.',
2288
+ 'class' => 'InvalidOriginAccessIdentityException',
2289
+ ),
2290
+ array(
2291
+ 'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
2292
+ 'class' => 'TooManyTrustedSignersException',
2293
+ ),
2294
+ array(
2295
+ 'reason' => 'One or more of your trusted signers do not exist.',
2296
+ 'class' => 'TrustedSignerDoesNotExistException',
2297
+ ),
2298
+ array(
2299
+ 'reason' => 'The value of Quantity and the size of Items do not match.',
2300
+ 'class' => 'InconsistentQuantitiesException',
2301
+ ),
2302
+ ),
2303
+ ),
2304
+ ),
2305
+ 'models' => array(
2306
+ 'CreateCloudFrontOriginAccessIdentityResult' => array(
2307
+ 'type' => 'object',
2308
+ 'additionalProperties' => true,
2309
+ 'properties' => array(
2310
+ 'Id' => array(
2311
+ 'type' => 'string',
2312
+ 'location' => 'xml',
2313
+ ),
2314
+ 'S3CanonicalUserId' => array(
2315
+ 'type' => 'string',
2316
+ 'location' => 'xml',
2317
+ ),
2318
+ 'CloudFrontOriginAccessIdentityConfig' => array(
2319
+ 'type' => 'object',
2320
+ 'location' => 'xml',
2321
+ 'properties' => array(
2322
+ 'CallerReference' => array(
2323
+ 'type' => 'string',
2324
+ ),
2325
+ 'Comment' => array(
2326
+ 'type' => 'string',
2327
+ ),
2328
+ ),
2329
+ ),
2330
+ 'Location' => array(
2331
+ 'type' => 'string',
2332
+ 'location' => 'header',
2333
+ ),
2334
+ 'ETag' => array(
2335
+ 'type' => 'string',
2336
+ 'location' => 'header',
2337
+ ),
2338
+ 'RequestId' => array(
2339
+ 'location' => 'header',
2340
+ 'sentAs' => 'x-amz-request-id',
2341
+ ),
2342
+ ),
2343
+ ),
2344
+ 'CreateDistributionResult' => array(
2345
+ 'type' => 'object',
2346
+ 'additionalProperties' => true,
2347
+ 'properties' => array(
2348
+ 'Id' => array(
2349
+ 'type' => 'string',
2350
+ 'location' => 'xml',
2351
+ ),
2352
+ 'Status' => array(
2353
+ 'type' => 'string',
2354
+ 'location' => 'xml',
2355
+ ),
2356
+ 'LastModifiedTime' => array(
2357
+ 'type' => 'string',
2358
+ 'location' => 'xml',
2359
+ ),
2360
+ 'InProgressInvalidationBatches' => array(
2361
+ 'type' => 'numeric',
2362
+ 'location' => 'xml',
2363
+ ),
2364
+ 'DomainName' => array(
2365
+ 'type' => 'string',
2366
+ 'location' => 'xml',
2367
+ ),
2368
+ 'ActiveTrustedSigners' => array(
2369
+ 'type' => 'object',
2370
+ 'location' => 'xml',
2371
+ 'properties' => array(
2372
+ 'Enabled' => array(
2373
+ 'type' => 'boolean',
2374
+ ),
2375
+ 'Quantity' => array(
2376
+ 'type' => 'numeric',
2377
+ ),
2378
+ 'Items' => array(
2379
+ 'type' => 'array',
2380
+ 'items' => array(
2381
+ 'name' => 'Signer',
2382
+ 'type' => 'object',
2383
+ 'sentAs' => 'Signer',
2384
+ 'properties' => array(
2385
+ 'AwsAccountNumber' => array(
2386
+ 'type' => 'string',
2387
+ ),
2388
+ 'KeyPairIds' => array(
2389
+ 'type' => 'object',
2390
+ 'properties' => array(
2391
+ 'Quantity' => array(
2392
+ 'type' => 'numeric',
2393
+ ),
2394
+ 'Items' => array(
2395
+ 'type' => 'array',
2396
+ 'items' => array(
2397
+ 'name' => 'KeyPairId',
2398
+ 'type' => 'string',
2399
+ 'sentAs' => 'KeyPairId',
2400
+ ),
2401
+ ),
2402
+ ),
2403
+ ),
2404
+ ),
2405
+ ),
2406
+ ),
2407
+ ),
2408
+ ),
2409
+ 'DistributionConfig' => array(
2410
+ 'type' => 'object',
2411
+ 'location' => 'xml',
2412
+ 'properties' => array(
2413
+ 'CallerReference' => array(
2414
+ 'type' => 'string',
2415
+ ),
2416
+ 'Aliases' => array(
2417
+ 'type' => 'object',
2418
+ 'properties' => array(
2419
+ 'Quantity' => array(
2420
+ 'type' => 'numeric',
2421
+ ),
2422
+ 'Items' => array(
2423
+ 'type' => 'array',
2424
+ 'items' => array(
2425
+ 'name' => 'CNAME',
2426
+ 'type' => 'string',
2427
+ 'sentAs' => 'CNAME',
2428
+ ),
2429
+ ),
2430
+ ),
2431
+ ),
2432
+ 'DefaultRootObject' => array(
2433
+ 'type' => 'string',
2434
+ ),
2435
+ 'Origins' => 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' => 'Origin',
2445
+ 'type' => 'object',
2446
+ 'sentAs' => 'Origin',
2447
+ 'properties' => array(
2448
+ 'Id' => array(
2449
+ 'type' => 'string',
2450
+ ),
2451
+ 'DomainName' => array(
2452
+ 'type' => 'string',
2453
+ ),
2454
+ 'S3OriginConfig' => array(
2455
+ 'type' => 'object',
2456
+ 'properties' => array(
2457
+ 'OriginAccessIdentity' => array(
2458
+ 'type' => 'string',
2459
+ ),
2460
+ ),
2461
+ ),
2462
+ 'CustomOriginConfig' => array(
2463
+ 'type' => 'object',
2464
+ 'properties' => array(
2465
+ 'HTTPPort' => array(
2466
+ 'type' => 'numeric',
2467
+ ),
2468
+ 'HTTPSPort' => array(
2469
+ 'type' => 'numeric',
2470
+ ),
2471
+ 'OriginProtocolPolicy' => array(
2472
+ 'type' => 'string',
2473
+ ),
2474
+ ),
2475
+ ),
2476
+ ),
2477
+ ),
2478
+ ),
2479
+ ),
2480
+ ),
2481
+ 'DefaultCacheBehavior' => array(
2482
+ 'type' => 'object',
2483
+ 'properties' => array(
2484
+ 'TargetOriginId' => array(
2485
+ 'type' => 'string',
2486
+ ),
2487
+ 'ForwardedValues' => array(
2488
+ 'type' => 'object',
2489
+ 'properties' => array(
2490
+ 'QueryString' => array(
2491
+ 'type' => 'boolean',
2492
+ ),
2493
+ 'Cookies' => array(
2494
+ 'type' => 'object',
2495
+ 'properties' => array(
2496
+ 'Forward' => array(
2497
+ 'type' => 'string',
2498
+ ),
2499
+ 'WhitelistedNames' => array(
2500
+ 'type' => 'object',
2501
+ 'properties' => array(
2502
+ 'Quantity' => array(
2503
+ 'type' => 'numeric',
2504
+ ),
2505
+ 'Items' => array(
2506
+ 'type' => 'array',
2507
+ 'items' => array(
2508
+ 'name' => 'Name',
2509
+ 'type' => 'string',
2510
+ 'sentAs' => 'Name',
2511
+ ),
2512
+ ),
2513
+ ),
2514
+ ),
2515
+ ),
2516
+ ),
2517
+ 'Headers' => array(
2518
+ 'type' => 'object',
2519
+ 'properties' => array(
2520
+ 'Quantity' => array(
2521
+ 'type' => 'numeric',
2522
+ ),
2523
+ 'Items' => array(
2524
+ 'type' => 'array',
2525
+ 'items' => array(
2526
+ 'name' => 'Name',
2527
+ 'type' => 'string',
2528
+ 'sentAs' => 'Name',
2529
+ ),
2530
+ ),
2531
+ ),
2532
+ ),
2533
+ ),
2534
+ ),
2535
+ 'TrustedSigners' => array(
2536
+ 'type' => 'object',
2537
+ 'properties' => array(
2538
+ 'Enabled' => array(
2539
+ 'type' => 'boolean',
2540
+ ),
2541
+ 'Quantity' => array(
2542
+ 'type' => 'numeric',
2543
+ ),
2544
+ 'Items' => array(
2545
+ 'type' => 'array',
2546
+ 'items' => array(
2547
+ 'name' => 'AwsAccountNumber',
2548
+ 'type' => 'string',
2549
+ 'sentAs' => 'AwsAccountNumber',
2550
+ ),
2551
+ ),
2552
+ ),
2553
+ ),
2554
+ 'ViewerProtocolPolicy' => array(
2555
+ 'type' => 'string',
2556
+ ),
2557
+ 'MinTTL' => array(
2558
+ 'type' => 'numeric',
2559
+ ),
2560
+ 'AllowedMethods' => array(
2561
+ 'type' => 'object',
2562
+ 'properties' => array(
2563
+ 'Quantity' => array(
2564
+ 'type' => 'numeric',
2565
+ ),
2566
+ 'Items' => array(
2567
+ 'type' => 'array',
2568
+ 'items' => array(
2569
+ 'name' => 'Method',
2570
+ 'type' => 'string',
2571
+ 'sentAs' => 'Method',
2572
+ ),
2573
+ ),
2574
+ 'CachedMethods' => array(
2575
+ 'type' => 'object',
2576
+ 'properties' => array(
2577
+ 'Quantity' => array(
2578
+ 'type' => 'numeric',
2579
+ ),
2580
+ 'Items' => array(
2581
+ 'type' => 'array',
2582
+ 'items' => array(
2583
+ 'name' => 'Method',
2584
+ 'type' => 'string',
2585
+ 'sentAs' => 'Method',
2586
+ ),
2587
+ ),
2588
+ ),
2589
+ ),
2590
+ ),
2591
+ ),
2592
+ 'SmoothStreaming' => array(
2593
+ 'type' => 'boolean',
2594
+ ),
2595
+ ),
2596
+ ),
2597
+ 'CacheBehaviors' => array(
2598
+ 'type' => 'object',
2599
+ 'properties' => array(
2600
+ 'Quantity' => array(
2601
+ 'type' => 'numeric',
2602
+ ),
2603
+ 'Items' => array(
2604
+ 'type' => 'array',
2605
+ 'items' => array(
2606
+ 'name' => 'CacheBehavior',
2607
+ 'type' => 'object',
2608
+ 'sentAs' => 'CacheBehavior',
2609
+ 'properties' => array(
2610
+ 'PathPattern' => array(
2611
+ 'type' => 'string',
2612
+ ),
2613
+ 'TargetOriginId' => array(
2614
+ 'type' => 'string',
2615
+ ),
2616
+ 'ForwardedValues' => array(
2617
+ 'type' => 'object',
2618
+ 'properties' => array(
2619
+ 'QueryString' => array(
2620
+ 'type' => 'boolean',
2621
+ ),
2622
+ 'Cookies' => array(
2623
+ 'type' => 'object',
2624
+ 'properties' => array(
2625
+ 'Forward' => array(
2626
+ 'type' => 'string',
2627
+ ),
2628
+ 'WhitelistedNames' => array(
2629
+ 'type' => 'object',
2630
+ 'properties' => array(
2631
+ 'Quantity' => array(
2632
+ 'type' => 'numeric',
2633
+ ),
2634
+ 'Items' => array(
2635
+ 'type' => 'array',
2636
+ 'items' => array(
2637
+ 'name' => 'Name',
2638
+ 'type' => 'string',
2639
+ 'sentAs' => 'Name',
2640
+ ),
2641
+ ),
2642
+ ),
2643
+ ),
2644
+ ),
2645
+ ),
2646
+ 'Headers' => array(
2647
+ 'type' => 'object',
2648
+ 'properties' => array(
2649
+ 'Quantity' => array(
2650
+ 'type' => 'numeric',
2651
+ ),
2652
+ 'Items' => array(
2653
+ 'type' => 'array',
2654
+ 'items' => array(
2655
+ 'name' => 'Name',
2656
+ 'type' => 'string',
2657
+ 'sentAs' => 'Name',
2658
+ ),
2659
+ ),
2660
+ ),
2661
+ ),
2662
+ ),
2663
+ ),
2664
+ 'TrustedSigners' => array(
2665
+ 'type' => 'object',
2666
+ 'properties' => array(
2667
+ 'Enabled' => array(
2668
+ 'type' => 'boolean',
2669
+ ),
2670
+ 'Quantity' => array(
2671
+ 'type' => 'numeric',
2672
+ ),
2673
+ 'Items' => array(
2674
+ 'type' => 'array',
2675
+ 'items' => array(
2676
+ 'name' => 'AwsAccountNumber',
2677
+ 'type' => 'string',
2678
+ 'sentAs' => 'AwsAccountNumber',
2679
+ ),
2680
+ ),
2681
+ ),
2682
+ ),
2683
+ 'ViewerProtocolPolicy' => array(
2684
+ 'type' => 'string',
2685
+ ),
2686
+ 'MinTTL' => array(
2687
+ 'type' => 'numeric',
2688
+ ),
2689
+ 'AllowedMethods' => array(
2690
+ 'type' => 'object',
2691
+ 'properties' => array(
2692
+ 'Quantity' => array(
2693
+ 'type' => 'numeric',
2694
+ ),
2695
+ 'Items' => array(
2696
+ 'type' => 'array',
2697
+ 'items' => array(
2698
+ 'name' => 'Method',
2699
+ 'type' => 'string',
2700
+ 'sentAs' => 'Method',
2701
+ ),
2702
+ ),
2703
+ 'CachedMethods' => array(
2704
+ 'type' => 'object',
2705
+ 'properties' => array(
2706
+ 'Quantity' => array(
2707
+ 'type' => 'numeric',
2708
+ ),
2709
+ 'Items' => array(
2710
+ 'type' => 'array',
2711
+ 'items' => array(
2712
+ 'name' => 'Method',
2713
+ 'type' => 'string',
2714
+ 'sentAs' => 'Method',
2715
+ ),
2716
+ ),
2717
+ ),
2718
+ ),
2719
+ ),
2720
+ ),
2721
+ 'SmoothStreaming' => array(
2722
+ 'type' => 'boolean',
2723
+ ),
2724
+ ),
2725
+ ),
2726
+ ),
2727
+ ),
2728
+ ),
2729
+ 'CustomErrorResponses' => array(
2730
+ 'type' => 'object',
2731
+ 'properties' => array(
2732
+ 'Quantity' => array(
2733
+ 'type' => 'numeric',
2734
+ ),
2735
+ 'Items' => array(
2736
+ 'type' => 'array',
2737
+ 'items' => array(
2738
+ 'name' => 'CustomErrorResponse',
2739
+ 'type' => 'object',
2740
+ 'sentAs' => 'CustomErrorResponse',
2741
+ 'properties' => array(
2742
+ 'ErrorCode' => array(
2743
+ 'type' => 'numeric',
2744
+ ),
2745
+ 'ResponsePagePath' => array(
2746
+ 'type' => 'string',
2747
+ ),
2748
+ 'ResponseCode' => array(
2749
+ 'type' => 'string',
2750
+ ),
2751
+ 'ErrorCachingMinTTL' => array(
2752
+ 'type' => 'numeric',
2753
+ ),
2754
+ ),
2755
+ ),
2756
+ ),
2757
+ ),
2758
+ ),
2759
+ 'Comment' => array(
2760
+ 'type' => 'string',
2761
+ ),
2762
+ 'Logging' => array(
2763
+ 'type' => 'object',
2764
+ 'properties' => array(
2765
+ 'Enabled' => array(
2766
+ 'type' => 'boolean',
2767
+ ),
2768
+ 'IncludeCookies' => array(
2769
+ 'type' => 'boolean',
2770
+ ),
2771
+ 'Bucket' => array(
2772
+ 'type' => 'string',
2773
+ ),
2774
+ 'Prefix' => array(
2775
+ 'type' => 'string',
2776
+ ),
2777
+ ),
2778
+ ),
2779
+ 'PriceClass' => array(
2780
+ 'type' => 'string',
2781
+ ),
2782
+ 'Enabled' => array(
2783
+ 'type' => 'boolean',
2784
+ ),
2785
+ 'ViewerCertificate' => array(
2786
+ 'type' => 'object',
2787
+ 'properties' => array(
2788
+ 'IAMCertificateId' => array(
2789
+ 'type' => 'string',
2790
+ ),
2791
+ 'CloudFrontDefaultCertificate' => array(
2792
+ 'type' => 'boolean',
2793
+ ),
2794
+ 'SSLSupportMethod' => array(
2795
+ 'type' => 'string',
2796
+ ),
2797
+ 'MinimumProtocolVersion' => array(
2798
+ 'type' => 'string',
2799
+ ),
2800
+ ),
2801
+ ),
2802
+ 'Restrictions' => array(
2803
+ 'type' => 'object',
2804
+ 'properties' => array(
2805
+ 'GeoRestriction' => array(
2806
+ 'type' => 'object',
2807
+ 'properties' => array(
2808
+ 'RestrictionType' => array(
2809
+ 'type' => 'string',
2810
+ ),
2811
+ 'Quantity' => array(
2812
+ 'type' => 'numeric',
2813
+ ),
2814
+ 'Items' => array(
2815
+ 'type' => 'array',
2816
+ 'items' => array(
2817
+ 'name' => 'Location',
2818
+ 'type' => 'string',
2819
+ 'sentAs' => 'Location',
2820
+ ),
2821
+ ),
2822
+ ),
2823
+ ),
2824
+ ),
2825
+ ),
2826
+ ),
2827
+ ),
2828
+ 'Location' => array(
2829
+ 'type' => 'string',
2830
+ 'location' => 'header',
2831
+ ),
2832
+ 'ETag' => array(
2833
+ 'type' => 'string',
2834
+ 'location' => 'header',
2835
+ ),
2836
+ 'RequestId' => array(
2837
+ 'location' => 'header',
2838
+ 'sentAs' => 'x-amz-request-id',
2839
+ ),
2840
+ ),
2841
+ ),
2842
+ 'CreateInvalidationResult' => array(
2843
+ 'type' => 'object',
2844
+ 'additionalProperties' => true,
2845
+ 'properties' => array(
2846
+ 'Location' => array(
2847
+ 'type' => 'string',
2848
+ 'location' => 'header',
2849
+ ),
2850
+ 'Id' => array(
2851
+ 'type' => 'string',
2852
+ 'location' => 'xml',
2853
+ ),
2854
+ 'Status' => array(
2855
+ 'type' => 'string',
2856
+ 'location' => 'xml',
2857
+ ),
2858
+ 'CreateTime' => array(
2859
+ 'type' => 'string',
2860
+ 'location' => 'xml',
2861
+ ),
2862
+ 'InvalidationBatch' => array(
2863
+ 'type' => 'object',
2864
+ 'location' => 'xml',
2865
+ 'properties' => array(
2866
+ 'Paths' => array(
2867
+ 'type' => 'object',
2868
+ 'properties' => array(
2869
+ 'Quantity' => array(
2870
+ 'type' => 'numeric',
2871
+ ),
2872
+ 'Items' => array(
2873
+ 'type' => 'array',
2874
+ 'items' => array(
2875
+ 'name' => 'Path',
2876
+ 'type' => 'string',
2877
+ 'sentAs' => 'Path',
2878
+ ),
2879
+ ),
2880
+ ),
2881
+ ),
2882
+ 'CallerReference' => array(
2883
+ 'type' => 'string',
2884
+ ),
2885
+ ),
2886
+ ),
2887
+ 'RequestId' => array(
2888
+ 'location' => 'header',
2889
+ 'sentAs' => 'x-amz-request-id',
2890
+ ),
2891
+ ),
2892
+ ),
2893
+ 'CreateStreamingDistributionResult' => array(
2894
+ 'type' => 'object',
2895
+ 'additionalProperties' => true,
2896
+ 'properties' => array(
2897
+ 'Id' => array(
2898
+ 'type' => 'string',
2899
+ 'location' => 'xml',
2900
+ ),
2901
+ 'Status' => array(
2902
+ 'type' => 'string',
2903
+ 'location' => 'xml',
2904
+ ),
2905
+ 'LastModifiedTime' => array(
2906
+ 'type' => 'string',
2907
+ 'location' => 'xml',
2908
+ ),
2909
+ 'DomainName' => array(
2910
+ 'type' => 'string',
2911
+ 'location' => 'xml',
2912
+ ),
2913
+ 'ActiveTrustedSigners' => array(
2914
+ 'type' => 'object',
2915
+ 'location' => 'xml',
2916
+ 'properties' => array(
2917
+ 'Enabled' => array(
2918
+ 'type' => 'boolean',
2919
+ ),
2920
+ 'Quantity' => array(
2921
+ 'type' => 'numeric',
2922
+ ),
2923
+ 'Items' => array(
2924
+ 'type' => 'array',
2925
+ 'items' => array(
2926
+ 'name' => 'Signer',
2927
+ 'type' => 'object',
2928
+ 'sentAs' => 'Signer',
2929
+ 'properties' => array(
2930
+ 'AwsAccountNumber' => array(
2931
+ 'type' => 'string',
2932
+ ),
2933
+ 'KeyPairIds' => array(
2934
+ 'type' => 'object',
2935
+ 'properties' => array(
2936
+ 'Quantity' => array(
2937
+ 'type' => 'numeric',
2938
+ ),
2939
+ 'Items' => array(
2940
+ 'type' => 'array',
2941
+ 'items' => array(
2942
+ 'name' => 'KeyPairId',
2943
+ 'type' => 'string',
2944
+ 'sentAs' => 'KeyPairId',
2945
+ ),
2946
+ ),
2947
+ ),
2948
+ ),
2949
+ ),
2950
+ ),
2951
+ ),
2952
+ ),
2953
+ ),
2954
+ 'StreamingDistributionConfig' => array(
2955
+ 'type' => 'object',
2956
+ 'location' => 'xml',
2957
+ 'properties' => array(
2958
+ 'CallerReference' => array(
2959
+ 'type' => 'string',
2960
+ ),
2961
+ 'S3Origin' => array(
2962
+ 'type' => 'object',
2963
+ 'properties' => array(
2964
+ 'DomainName' => array(
2965
+ 'type' => 'string',
2966
+ ),
2967
+ 'OriginAccessIdentity' => array(
2968
+ 'type' => 'string',
2969
+ ),
2970
+ ),
2971
+ ),
2972
+ 'Aliases' => array(
2973
+ 'type' => 'object',
2974
+ 'properties' => array(
2975
+ 'Quantity' => array(
2976
+ 'type' => 'numeric',
2977
+ ),
2978
+ 'Items' => array(
2979
+ 'type' => 'array',
2980
+ 'items' => array(
2981
+ 'name' => 'CNAME',
2982
+ 'type' => 'string',
2983
+ 'sentAs' => 'CNAME',
2984
+ ),
2985
+ ),
2986
+ ),
2987
+ ),
2988
+ 'Comment' => array(
2989
+ 'type' => 'string',
2990
+ ),
2991
+ 'Logging' => array(
2992
+ 'type' => 'object',
2993
+ 'properties' => array(
2994
+ 'Enabled' => array(
2995
+ 'type' => 'boolean',
2996
+ ),
2997
+ 'Bucket' => array(
2998
+ 'type' => 'string',
2999
+ ),
3000
+ 'Prefix' => array(
3001
+ 'type' => 'string',
3002
+ ),
3003
+ ),
3004
+ ),
3005
+ 'TrustedSigners' => array(
3006
+ 'type' => 'object',
3007
+ 'properties' => array(
3008
+ 'Enabled' => array(
3009
+ 'type' => 'boolean',
3010
+ ),
3011
+ 'Quantity' => array(
3012
+ 'type' => 'numeric',
3013
+ ),
3014
+ 'Items' => array(
3015
+ 'type' => 'array',
3016
+ 'items' => array(
3017
+ 'name' => 'AwsAccountNumber',
3018
+ 'type' => 'string',
3019
+ 'sentAs' => 'AwsAccountNumber',
3020
+ ),
3021
+ ),
3022
+ ),
3023
+ ),
3024
+ 'PriceClass' => array(
3025
+ 'type' => 'string',
3026
+ ),
3027
+ 'Enabled' => array(
3028
+ 'type' => 'boolean',
3029
+ ),
3030
+ ),
3031
+ ),
3032
+ 'Location' => array(
3033
+ 'type' => 'string',
3034
+ 'location' => 'header',
3035
+ ),
3036
+ 'ETag' => array(
3037
+ 'type' => 'string',
3038
+ 'location' => 'header',
3039
+ ),
3040
+ 'RequestId' => array(
3041
+ 'location' => 'header',
3042
+ 'sentAs' => 'x-amz-request-id',
3043
+ ),
3044
+ ),
3045
+ ),
3046
+ 'DeleteCloudFrontOriginAccessIdentity2014_10_21Output' => array(
3047
+ 'type' => 'object',
3048
+ 'additionalProperties' => true,
3049
+ 'properties' => array(
3050
+ 'RequestId' => array(
3051
+ 'location' => 'header',
3052
+ 'sentAs' => 'x-amz-request-id',
3053
+ ),
3054
+ ),
3055
+ ),
3056
+ 'DeleteDistribution2014_10_21Output' => array(
3057
+ 'type' => 'object',
3058
+ 'additionalProperties' => true,
3059
+ 'properties' => array(
3060
+ 'RequestId' => array(
3061
+ 'location' => 'header',
3062
+ 'sentAs' => 'x-amz-request-id',
3063
+ ),
3064
+ ),
3065
+ ),
3066
+ 'DeleteStreamingDistribution2014_10_21Output' => array(
3067
+ 'type' => 'object',
3068
+ 'additionalProperties' => true,
3069
+ 'properties' => array(
3070
+ 'RequestId' => array(
3071
+ 'location' => 'header',
3072
+ 'sentAs' => 'x-amz-request-id',
3073
+ ),
3074
+ ),
3075
+ ),
3076
+ 'GetCloudFrontOriginAccessIdentityResult' => array(
3077
+ 'type' => 'object',
3078
+ 'additionalProperties' => true,
3079
+ 'properties' => array(
3080
+ 'Id' => array(
3081
+ 'type' => 'string',
3082
+ 'location' => 'xml',
3083
+ ),
3084
+ 'S3CanonicalUserId' => array(
3085
+ 'type' => 'string',
3086
+ 'location' => 'xml',
3087
+ ),
3088
+ 'CloudFrontOriginAccessIdentityConfig' => array(
3089
+ 'type' => 'object',
3090
+ 'location' => 'xml',
3091
+ 'properties' => array(
3092
+ 'CallerReference' => array(
3093
+ 'type' => 'string',
3094
+ ),
3095
+ 'Comment' => array(
3096
+ 'type' => 'string',
3097
+ ),
3098
+ ),
3099
+ ),
3100
+ 'ETag' => array(
3101
+ 'type' => 'string',
3102
+ 'location' => 'header',
3103
+ ),
3104
+ 'RequestId' => array(
3105
+ 'location' => 'header',
3106
+ 'sentAs' => 'x-amz-request-id',
3107
+ ),
3108
+ ),
3109
+ ),
3110
+ 'GetCloudFrontOriginAccessIdentityConfigResult' => array(
3111
+ 'type' => 'object',
3112
+ 'additionalProperties' => true,
3113
+ 'properties' => array(
3114
+ 'CallerReference' => array(
3115
+ 'type' => 'string',
3116
+ 'location' => 'xml',
3117
+ ),
3118
+ 'Comment' => array(
3119
+ 'type' => 'string',
3120
+ 'location' => 'xml',
3121
+ ),
3122
+ 'ETag' => array(
3123
+ 'type' => 'string',
3124
+ 'location' => 'header',
3125
+ ),
3126
+ 'RequestId' => array(
3127
+ 'location' => 'header',
3128
+ 'sentAs' => 'x-amz-request-id',
3129
+ ),
3130
+ ),
3131
+ ),
3132
+ 'GetDistributionResult' => array(
3133
+ 'type' => 'object',
3134
+ 'additionalProperties' => true,
3135
+ 'properties' => array(
3136
+ 'Id' => array(
3137
+ 'type' => 'string',
3138
+ 'location' => 'xml',
3139
+ ),
3140
+ 'Status' => array(
3141
+ 'type' => 'string',
3142
+ 'location' => 'xml',
3143
+ ),
3144
+ 'LastModifiedTime' => array(
3145
+ 'type' => 'string',
3146
+ 'location' => 'xml',
3147
+ ),
3148
+ 'InProgressInvalidationBatches' => array(
3149
+ 'type' => 'numeric',
3150
+ 'location' => 'xml',
3151
+ ),
3152
+ 'DomainName' => array(
3153
+ 'type' => 'string',
3154
+ 'location' => 'xml',
3155
+ ),
3156
+ 'ActiveTrustedSigners' => array(
3157
+ 'type' => 'object',
3158
+ 'location' => 'xml',
3159
+ 'properties' => array(
3160
+ 'Enabled' => array(
3161
+ 'type' => 'boolean',
3162
+ ),
3163
+ 'Quantity' => array(
3164
+ 'type' => 'numeric',
3165
+ ),
3166
+ 'Items' => array(
3167
+ 'type' => 'array',
3168
+ 'items' => array(
3169
+ 'name' => 'Signer',
3170
+ 'type' => 'object',
3171
+ 'sentAs' => 'Signer',
3172
+ 'properties' => array(
3173
+ 'AwsAccountNumber' => array(
3174
+ 'type' => 'string',
3175
+ ),
3176
+ 'KeyPairIds' => array(
3177
+ 'type' => 'object',
3178
+ 'properties' => array(
3179
+ 'Quantity' => array(
3180
+ 'type' => 'numeric',
3181
+ ),
3182
+ 'Items' => array(
3183
+ 'type' => 'array',
3184
+ 'items' => array(
3185
+ 'name' => 'KeyPairId',
3186
+ 'type' => 'string',
3187
+ 'sentAs' => 'KeyPairId',
3188
+ ),
3189
+ ),
3190
+ ),
3191
+ ),
3192
+ ),
3193
+ ),
3194
+ ),
3195
+ ),
3196
+ ),
3197
+ 'DistributionConfig' => array(
3198
+ 'type' => 'object',
3199
+ 'location' => 'xml',
3200
+ 'properties' => array(
3201
+ 'CallerReference' => array(
3202
+ 'type' => 'string',
3203
+ ),
3204
+ 'Aliases' => array(
3205
+ 'type' => 'object',
3206
+ 'properties' => array(
3207
+ 'Quantity' => array(
3208
+ 'type' => 'numeric',
3209
+ ),
3210
+ 'Items' => array(
3211
+ 'type' => 'array',
3212
+ 'items' => array(
3213
+ 'name' => 'CNAME',
3214
+ 'type' => 'string',
3215
+ 'sentAs' => 'CNAME',
3216
+ ),
3217
+ ),
3218
+ ),
3219
+ ),
3220
+ 'DefaultRootObject' => array(
3221
+ 'type' => 'string',
3222
+ ),
3223
+ 'Origins' => array(
3224
+ 'type' => 'object',
3225
+ 'properties' => array(
3226
+ 'Quantity' => array(
3227
+ 'type' => 'numeric',
3228
+ ),
3229
+ 'Items' => array(
3230
+ 'type' => 'array',
3231
+ 'items' => array(
3232
+ 'name' => 'Origin',
3233
+ 'type' => 'object',
3234
+ 'sentAs' => 'Origin',
3235
+ 'properties' => array(
3236
+ 'Id' => array(
3237
+ 'type' => 'string',
3238
+ ),
3239
+ 'DomainName' => array(
3240
+ 'type' => 'string',
3241
+ ),
3242
+ 'S3OriginConfig' => array(
3243
+ 'type' => 'object',
3244
+ 'properties' => array(
3245
+ 'OriginAccessIdentity' => array(
3246
+ 'type' => 'string',
3247
+ ),
3248
+ ),
3249
+ ),
3250
+ 'CustomOriginConfig' => array(
3251
+ 'type' => 'object',
3252
+ 'properties' => array(
3253
+ 'HTTPPort' => array(
3254
+ 'type' => 'numeric',
3255
+ ),
3256
+ 'HTTPSPort' => array(
3257
+ 'type' => 'numeric',
3258
+ ),
3259
+ 'OriginProtocolPolicy' => array(
3260
+ 'type' => 'string',
3261
+ ),
3262
+ ),
3263
+ ),
3264
+ ),
3265
+ ),
3266
+ ),
3267
+ ),
3268
+ ),
3269
+ 'DefaultCacheBehavior' => array(
3270
+ 'type' => 'object',
3271
+ 'properties' => array(
3272
+ 'TargetOriginId' => array(
3273
+ 'type' => 'string',
3274
+ ),
3275
+ 'ForwardedValues' => array(
3276
+ 'type' => 'object',
3277
+ 'properties' => array(
3278
+ 'QueryString' => array(
3279
+ 'type' => 'boolean',
3280
+ ),
3281
+ 'Cookies' => array(
3282
+ 'type' => 'object',
3283
+ 'properties' => array(
3284
+ 'Forward' => array(
3285
+ 'type' => 'string',
3286
+ ),
3287
+ 'WhitelistedNames' => array(
3288
+ 'type' => 'object',
3289
+ 'properties' => array(
3290
+ 'Quantity' => array(
3291
+ 'type' => 'numeric',
3292
+ ),
3293
+ 'Items' => array(
3294
+ 'type' => 'array',
3295
+ 'items' => array(
3296
+ 'name' => 'Name',
3297
+ 'type' => 'string',
3298
+ 'sentAs' => 'Name',
3299
+ ),
3300
+ ),
3301
+ ),
3302
+ ),
3303
+ ),
3304
+ ),
3305
+ 'Headers' => array(
3306
+ 'type' => 'object',
3307
+ 'properties' => array(
3308
+ 'Quantity' => array(
3309
+ 'type' => 'numeric',
3310
+ ),
3311
+ 'Items' => array(
3312
+ 'type' => 'array',
3313
+ 'items' => array(
3314
+ 'name' => 'Name',
3315
+ 'type' => 'string',
3316
+ 'sentAs' => 'Name',
3317
+ ),
3318
+ ),
3319
+ ),
3320
+ ),
3321
+ ),
3322
+ ),
3323
+ 'TrustedSigners' => array(
3324
+ 'type' => 'object',
3325
+ 'properties' => array(
3326
+ 'Enabled' => array(
3327
+ 'type' => 'boolean',
3328
+ ),
3329
+ 'Quantity' => array(
3330
+ 'type' => 'numeric',
3331
+ ),
3332
+ 'Items' => array(
3333
+ 'type' => 'array',
3334
+ 'items' => array(
3335
+ 'name' => 'AwsAccountNumber',
3336
+ 'type' => 'string',
3337
+ 'sentAs' => 'AwsAccountNumber',
3338
+ ),
3339
+ ),
3340
+ ),
3341
+ ),
3342
+ 'ViewerProtocolPolicy' => array(
3343
+ 'type' => 'string',
3344
+ ),
3345
+ 'MinTTL' => array(
3346
+ 'type' => 'numeric',
3347
+ ),
3348
+ 'AllowedMethods' => array(
3349
+ 'type' => 'object',
3350
+ 'properties' => array(
3351
+ 'Quantity' => array(
3352
+ 'type' => 'numeric',
3353
+ ),
3354
+ 'Items' => array(
3355
+ 'type' => 'array',
3356
+ 'items' => array(
3357
+ 'name' => 'Method',
3358
+ 'type' => 'string',
3359
+ 'sentAs' => 'Method',
3360
+ ),
3361
+ ),
3362
+ 'CachedMethods' => array(
3363
+ 'type' => 'object',
3364
+ 'properties' => array(
3365
+ 'Quantity' => array(
3366
+ 'type' => 'numeric',
3367
+ ),
3368
+ 'Items' => array(
3369
+ 'type' => 'array',
3370
+ 'items' => array(
3371
+ 'name' => 'Method',
3372
+ 'type' => 'string',
3373
+ 'sentAs' => 'Method',
3374
+ ),
3375
+ ),
3376
+ ),
3377
+ ),
3378
+ ),
3379
+ ),
3380
+ 'SmoothStreaming' => array(
3381
+ 'type' => 'boolean',
3382
+ ),
3383
+ ),
3384
+ ),
3385
+ 'CacheBehaviors' => array(
3386
+ 'type' => 'object',
3387
+ 'properties' => array(
3388
+ 'Quantity' => array(
3389
+ 'type' => 'numeric',
3390
+ ),
3391
+ 'Items' => array(
3392
+ 'type' => 'array',
3393
+ 'items' => array(
3394
+ 'name' => 'CacheBehavior',
3395
+ 'type' => 'object',
3396
+ 'sentAs' => 'CacheBehavior',
3397
+ 'properties' => array(
3398
+ 'PathPattern' => array(
3399
+ 'type' => 'string',
3400
+ ),
3401
+ 'TargetOriginId' => array(
3402
+ 'type' => 'string',
3403
+ ),
3404
+ 'ForwardedValues' => array(
3405
+ 'type' => 'object',
3406
+ 'properties' => array(
3407
+ 'QueryString' => array(
3408
+ 'type' => 'boolean',
3409
+ ),
3410
+ 'Cookies' => array(
3411
+ 'type' => 'object',
3412
+ 'properties' => array(
3413
+ 'Forward' => array(
3414
+ 'type' => 'string',
3415
+ ),
3416
+ 'WhitelistedNames' => array(
3417
+ 'type' => 'object',
3418
+ 'properties' => array(
3419
+ 'Quantity' => array(
3420
+ 'type' => 'numeric',
3421
+ ),
3422
+ 'Items' => array(
3423
+ 'type' => 'array',
3424
+ 'items' => array(
3425
+ 'name' => 'Name',
3426
+ 'type' => 'string',
3427
+ 'sentAs' => 'Name',
3428
+ ),
3429
+ ),
3430
+ ),
3431
+ ),
3432
+ ),
3433
+ ),
3434
+ 'Headers' => array(
3435
+ 'type' => 'object',
3436
+ 'properties' => array(
3437
+ 'Quantity' => array(
3438
+ 'type' => 'numeric',
3439
+ ),
3440
+ 'Items' => array(
3441
+ 'type' => 'array',
3442
+ 'items' => array(
3443
+ 'name' => 'Name',
3444
+ 'type' => 'string',
3445
+ 'sentAs' => 'Name',
3446
+ ),
3447
+ ),
3448
+ ),
3449
+ ),
3450
+ ),
3451
+ ),
3452
+ 'TrustedSigners' => array(
3453
+ 'type' => 'object',
3454
+ 'properties' => array(
3455
+ 'Enabled' => array(
3456
+ 'type' => 'boolean',
3457
+ ),
3458
+ 'Quantity' => array(
3459
+ 'type' => 'numeric',
3460
+ ),
3461
+ 'Items' => array(
3462
+ 'type' => 'array',
3463
+ 'items' => array(
3464
+ 'name' => 'AwsAccountNumber',
3465
+ 'type' => 'string',
3466
+ 'sentAs' => 'AwsAccountNumber',
3467
+ ),
3468
+ ),
3469
+ ),
3470
+ ),
3471
+ 'ViewerProtocolPolicy' => array(
3472
+ 'type' => 'string',
3473
+ ),
3474
+ 'MinTTL' => array(
3475
+ 'type' => 'numeric',
3476
+ ),
3477
+ 'AllowedMethods' => array(
3478
+ 'type' => 'object',
3479
+ 'properties' => array(
3480
+ 'Quantity' => array(
3481
+ 'type' => 'numeric',
3482
+ ),
3483
+ 'Items' => array(
3484
+ 'type' => 'array',
3485
+ 'items' => array(
3486
+ 'name' => 'Method',
3487
+ 'type' => 'string',
3488
+ 'sentAs' => 'Method',
3489
+ ),
3490
+ ),
3491
+ 'CachedMethods' => array(
3492
+ 'type' => 'object',
3493
+ 'properties' => array(
3494
+ 'Quantity' => array(
3495
+ 'type' => 'numeric',
3496
+ ),
3497
+ 'Items' => array(
3498
+ 'type' => 'array',
3499
+ 'items' => array(
3500
+ 'name' => 'Method',
3501
+ 'type' => 'string',
3502
+ 'sentAs' => 'Method',
3503
+ ),
3504
+ ),
3505
+ ),
3506
+ ),
3507
+ ),
3508
+ ),
3509
+ 'SmoothStreaming' => array(
3510
+ 'type' => 'boolean',
3511
+ ),
3512
+ ),
3513
+ ),
3514
+ ),
3515
+ ),
3516
+ ),
3517
+ 'CustomErrorResponses' => array(
3518
+ 'type' => 'object',
3519
+ 'properties' => array(
3520
+ 'Quantity' => array(
3521
+ 'type' => 'numeric',
3522
+ ),
3523
+ 'Items' => array(
3524
+ 'type' => 'array',
3525
+ 'items' => array(
3526
+ 'name' => 'CustomErrorResponse',
3527
+ 'type' => 'object',
3528
+ 'sentAs' => 'CustomErrorResponse',
3529
+ 'properties' => array(
3530
+ 'ErrorCode' => array(
3531
+ 'type' => 'numeric',
3532
+ ),
3533
+ 'ResponsePagePath' => array(
3534
+ 'type' => 'string',
3535
+ ),
3536
+ 'ResponseCode' => array(
3537
+ 'type' => 'string',
3538
+ ),
3539
+ 'ErrorCachingMinTTL' => array(
3540
+ 'type' => 'numeric',
3541
+ ),
3542
+ ),
3543
+ ),
3544
+ ),
3545
+ ),
3546
+ ),
3547
+ 'Comment' => array(
3548
+ 'type' => 'string',
3549
+ ),
3550
+ 'Logging' => array(
3551
+ 'type' => 'object',
3552
+ 'properties' => array(
3553
+ 'Enabled' => array(
3554
+ 'type' => 'boolean',
3555
+ ),
3556
+ 'IncludeCookies' => array(
3557
+ 'type' => 'boolean',
3558
+ ),
3559
+ 'Bucket' => array(
3560
+ 'type' => 'string',
3561
+ ),
3562
+ 'Prefix' => array(
3563
+ 'type' => 'string',
3564
+ ),
3565
+ ),
3566
+ ),
3567
+ 'PriceClass' => array(
3568
+ 'type' => 'string',
3569
+ ),
3570
+ 'Enabled' => array(
3571
+ 'type' => 'boolean',
3572
+ ),
3573
+ 'ViewerCertificate' => array(
3574
+ 'type' => 'object',
3575
+ 'properties' => array(
3576
+ 'IAMCertificateId' => array(
3577
+ 'type' => 'string',
3578
+ ),
3579
+ 'CloudFrontDefaultCertificate' => array(
3580
+ 'type' => 'boolean',
3581
+ ),
3582
+ 'SSLSupportMethod' => array(
3583
+ 'type' => 'string',
3584
+ ),
3585
+ 'MinimumProtocolVersion' => array(
3586
+ 'type' => 'string',
3587
+ ),
3588
+ ),
3589
+ ),
3590
+ 'Restrictions' => array(
3591
+ 'type' => 'object',
3592
+ 'properties' => array(
3593
+ 'GeoRestriction' => array(
3594
+ 'type' => 'object',
3595
+ 'properties' => array(
3596
+ 'RestrictionType' => array(
3597
+ 'type' => 'string',
3598
+ ),
3599
+ 'Quantity' => array(
3600
+ 'type' => 'numeric',
3601
+ ),
3602
+ 'Items' => array(
3603
+ 'type' => 'array',
3604
+ 'items' => array(
3605
+ 'name' => 'Location',
3606
+ 'type' => 'string',
3607
+ 'sentAs' => 'Location',
3608
+ ),
3609
+ ),
3610
+ ),
3611
+ ),
3612
+ ),
3613
+ ),
3614
+ ),
3615
+ ),
3616
+ 'ETag' => array(
3617
+ 'type' => 'string',
3618
+ 'location' => 'header',
3619
+ ),
3620
+ 'RequestId' => array(
3621
+ 'location' => 'header',
3622
+ 'sentAs' => 'x-amz-request-id',
3623
+ ),
3624
+ ),
3625
+ ),
3626
+ 'GetDistributionConfigResult' => array(
3627
+ 'type' => 'object',
3628
+ 'additionalProperties' => true,
3629
+ 'properties' => array(
3630
+ 'CallerReference' => array(
3631
+ 'type' => 'string',
3632
+ 'location' => 'xml',
3633
+ ),
3634
+ 'Aliases' => array(
3635
+ 'type' => 'object',
3636
+ 'location' => 'xml',
3637
+ 'properties' => array(
3638
+ 'Quantity' => array(
3639
+ 'type' => 'numeric',
3640
+ ),
3641
+ 'Items' => array(
3642
+ 'type' => 'array',
3643
+ 'items' => array(
3644
+ 'name' => 'CNAME',
3645
+ 'type' => 'string',
3646
+ 'sentAs' => 'CNAME',
3647
+ ),
3648
+ ),
3649
+ ),
3650
+ ),
3651
+ 'DefaultRootObject' => array(
3652
+ 'type' => 'string',
3653
+ 'location' => 'xml',
3654
+ ),
3655
+ 'Origins' => array(
3656
+ 'type' => 'object',
3657
+ 'location' => 'xml',
3658
+ 'properties' => array(
3659
+ 'Quantity' => array(
3660
+ 'type' => 'numeric',
3661
+ ),
3662
+ 'Items' => array(
3663
+ 'type' => 'array',
3664
+ 'items' => array(
3665
+ 'name' => 'Origin',
3666
+ 'type' => 'object',
3667
+ 'sentAs' => 'Origin',
3668
+ 'properties' => array(
3669
+ 'Id' => array(
3670
+ 'type' => 'string',
3671
+ ),
3672
+ 'DomainName' => array(
3673
+ 'type' => 'string',
3674
+ ),
3675
+ 'S3OriginConfig' => array(
3676
+ 'type' => 'object',
3677
+ 'properties' => array(
3678
+ 'OriginAccessIdentity' => array(
3679
+ 'type' => 'string',
3680
+ ),
3681
+ ),
3682
+ ),
3683
+ 'CustomOriginConfig' => array(
3684
+ 'type' => 'object',
3685
+ 'properties' => array(
3686
+ 'HTTPPort' => array(
3687
+ 'type' => 'numeric',
3688
+ ),
3689
+ 'HTTPSPort' => array(
3690
+ 'type' => 'numeric',
3691
+ ),
3692
+ 'OriginProtocolPolicy' => array(
3693
+ 'type' => 'string',
3694
+ ),
3695
+ ),
3696
+ ),
3697
+ ),
3698
+ ),
3699
+ ),
3700
+ ),
3701
+ ),
3702
+ 'DefaultCacheBehavior' => array(
3703
+ 'type' => 'object',
3704
+ 'location' => 'xml',
3705
+ 'properties' => array(
3706
+ 'TargetOriginId' => array(
3707
+ 'type' => 'string',
3708
+ ),
3709
+ 'ForwardedValues' => array(
3710
+ 'type' => 'object',
3711
+ 'properties' => array(
3712
+ 'QueryString' => array(
3713
+ 'type' => 'boolean',
3714
+ ),
3715
+ 'Cookies' => array(
3716
+ 'type' => 'object',
3717
+ 'properties' => array(
3718
+ 'Forward' => array(
3719
+ 'type' => 'string',
3720
+ ),
3721
+ 'WhitelistedNames' => array(
3722
+ 'type' => 'object',
3723
+ 'properties' => array(
3724
+ 'Quantity' => array(
3725
+ 'type' => 'numeric',
3726
+ ),
3727
+ 'Items' => array(
3728
+ 'type' => 'array',
3729
+ 'items' => array(
3730
+ 'name' => 'Name',
3731
+ 'type' => 'string',
3732
+ 'sentAs' => 'Name',
3733
+ ),
3734
+ ),
3735
+ ),
3736
+ ),
3737
+ ),
3738
+ ),
3739
+ 'Headers' => array(
3740
+ 'type' => 'object',
3741
+ 'properties' => array(
3742
+ 'Quantity' => array(
3743
+ 'type' => 'numeric',
3744
+ ),
3745
+ 'Items' => array(
3746
+ 'type' => 'array',
3747
+ 'items' => array(
3748
+ 'name' => 'Name',
3749
+ 'type' => 'string',
3750
+ 'sentAs' => 'Name',
3751
+ ),
3752
+ ),
3753
+ ),
3754
+ ),
3755
+ ),
3756
+ ),
3757
+ 'TrustedSigners' => array(
3758
+ 'type' => 'object',
3759
+ 'properties' => array(
3760
+ 'Enabled' => array(
3761
+ 'type' => 'boolean',
3762
+ ),
3763
+ 'Quantity' => array(
3764
+ 'type' => 'numeric',
3765
+ ),
3766
+ 'Items' => array(
3767
+ 'type' => 'array',
3768
+ 'items' => array(
3769
+ 'name' => 'AwsAccountNumber',
3770
+ 'type' => 'string',
3771
+ 'sentAs' => 'AwsAccountNumber',
3772
+ ),
3773
+ ),
3774
+ ),
3775
+ ),
3776
+ 'ViewerProtocolPolicy' => array(
3777
+ 'type' => 'string',
3778
+ ),
3779
+ 'MinTTL' => array(
3780
+ 'type' => 'numeric',
3781
+ ),
3782
+ 'AllowedMethods' => array(
3783
+ 'type' => 'object',
3784
+ 'properties' => array(
3785
+ 'Quantity' => array(
3786
+ 'type' => 'numeric',
3787
+ ),
3788
+ 'Items' => array(
3789
+ 'type' => 'array',
3790
+ 'items' => array(
3791
+ 'name' => 'Method',
3792
+ 'type' => 'string',
3793
+ 'sentAs' => 'Method',
3794
+ ),
3795
+ ),
3796
+ 'CachedMethods' => array(
3797
+ 'type' => 'object',
3798
+ 'properties' => array(
3799
+ 'Quantity' => array(
3800
+ 'type' => 'numeric',
3801
+ ),
3802
+ 'Items' => array(
3803
+ 'type' => 'array',
3804
+ 'items' => array(
3805
+ 'name' => 'Method',
3806
+ 'type' => 'string',
3807
+ 'sentAs' => 'Method',
3808
+ ),
3809
+ ),
3810
+ ),
3811
+ ),
3812
+ ),
3813
+ ),
3814
+ 'SmoothStreaming' => array(
3815
+ 'type' => 'boolean',
3816
+ ),
3817
+ ),
3818
+ ),
3819
+ 'CacheBehaviors' => array(
3820
+ 'type' => 'object',
3821
+ 'location' => 'xml',
3822
+ 'properties' => array(
3823
+ 'Quantity' => array(
3824
+ 'type' => 'numeric',
3825
+ ),
3826
+ 'Items' => array(
3827
+ 'type' => 'array',
3828
+ 'items' => array(
3829
+ 'name' => 'CacheBehavior',
3830
+ 'type' => 'object',
3831
+ 'sentAs' => 'CacheBehavior',
3832
+ 'properties' => array(
3833
+ 'PathPattern' => array(
3834
+ 'type' => 'string',
3835
+ ),
3836
+ 'TargetOriginId' => array(
3837
+ 'type' => 'string',
3838
+ ),
3839
+ 'ForwardedValues' => array(
3840
+ 'type' => 'object',
3841
+ 'properties' => array(
3842
+ 'QueryString' => array(
3843
+ 'type' => 'boolean',
3844
+ ),
3845
+ 'Cookies' => array(
3846
+ 'type' => 'object',
3847
+ 'properties' => array(
3848
+ 'Forward' => array(
3849
+ 'type' => 'string',
3850
+ ),
3851
+ 'WhitelistedNames' => array(
3852
+ 'type' => 'object',
3853
+ 'properties' => array(
3854
+ 'Quantity' => array(
3855
+ 'type' => 'numeric',
3856
+ ),
3857
+ 'Items' => array(
3858
+ 'type' => 'array',
3859
+ 'items' => array(
3860
+ 'name' => 'Name',
3861
+ 'type' => 'string',
3862
+ 'sentAs' => 'Name',
3863
+ ),
3864
+ ),
3865
+ ),
3866
+ ),
3867
+ ),
3868
+ ),
3869
+ 'Headers' => array(
3870
+ 'type' => 'object',
3871
+ 'properties' => array(
3872
+ 'Quantity' => array(
3873
+ 'type' => 'numeric',
3874
+ ),
3875
+ 'Items' => array(
3876
+ 'type' => 'array',
3877
+ 'items' => array(
3878
+ 'name' => 'Name',
3879
+ 'type' => 'string',
3880
+ 'sentAs' => 'Name',
3881
+ ),
3882
+ ),
3883
+ ),
3884
+ ),
3885
+ ),
3886
+ ),
3887
+ 'TrustedSigners' => array(
3888
+ 'type' => 'object',
3889
+ 'properties' => array(
3890
+ 'Enabled' => array(
3891
+ 'type' => 'boolean',
3892
+ ),
3893
+ 'Quantity' => array(
3894
+ 'type' => 'numeric',
3895
+ ),
3896
+ 'Items' => array(
3897
+ 'type' => 'array',
3898
+ 'items' => array(
3899
+ 'name' => 'AwsAccountNumber',
3900
+ 'type' => 'string',
3901
+ 'sentAs' => 'AwsAccountNumber',
3902
+ ),
3903
+ ),
3904
+ ),
3905
+ ),
3906
+ 'ViewerProtocolPolicy' => array(
3907
+ 'type' => 'string',
3908
+ ),
3909
+ 'MinTTL' => array(
3910
+ 'type' => 'numeric',
3911
+ ),
3912
+ 'AllowedMethods' => array(
3913
+ 'type' => 'object',
3914
+ 'properties' => array(
3915
+ 'Quantity' => array(
3916
+ 'type' => 'numeric',
3917
+ ),
3918
+ 'Items' => array(
3919
+ 'type' => 'array',
3920
+ 'items' => array(
3921
+ 'name' => 'Method',
3922
+ 'type' => 'string',
3923
+ 'sentAs' => 'Method',
3924
+ ),
3925
+ ),
3926
+ 'CachedMethods' => array(
3927
+ 'type' => 'object',
3928
+ 'properties' => array(
3929
+ 'Quantity' => array(
3930
+ 'type' => 'numeric',
3931
+ ),
3932
+ 'Items' => array(
3933
+ 'type' => 'array',
3934
+ 'items' => array(
3935
+ 'name' => 'Method',
3936
+ 'type' => 'string',
3937
+ 'sentAs' => 'Method',
3938
+ ),
3939
+ ),
3940
+ ),
3941
+ ),
3942
+ ),
3943
+ ),
3944
+ 'SmoothStreaming' => array(
3945
+ 'type' => 'boolean',
3946
+ ),
3947
+ ),
3948
+ ),
3949
+ ),
3950
+ ),
3951
+ ),
3952
+ 'CustomErrorResponses' => array(
3953
+ 'type' => 'object',
3954
+ 'location' => 'xml',
3955
+ 'properties' => array(
3956
+ 'Quantity' => array(
3957
+ 'type' => 'numeric',
3958
+ ),
3959
+ 'Items' => array(
3960
+ 'type' => 'array',
3961
+ 'items' => array(
3962
+ 'name' => 'CustomErrorResponse',
3963
+ 'type' => 'object',
3964
+ 'sentAs' => 'CustomErrorResponse',
3965
+ 'properties' => array(
3966
+ 'ErrorCode' => array(
3967
+ 'type' => 'numeric',
3968
+ ),
3969
+ 'ResponsePagePath' => array(
3970
+ 'type' => 'string',
3971
+ ),
3972
+ 'ResponseCode' => array(
3973
+ 'type' => 'string',
3974
+ ),
3975
+ 'ErrorCachingMinTTL' => array(
3976
+ 'type' => 'numeric',
3977
+ ),
3978
+ ),
3979
+ ),
3980
+ ),
3981
+ ),
3982
+ ),
3983
+ 'Comment' => array(
3984
+ 'type' => 'string',
3985
+ 'location' => 'xml',
3986
+ ),
3987
+ 'Logging' => array(
3988
+ 'type' => 'object',
3989
+ 'location' => 'xml',
3990
+ 'properties' => array(
3991
+ 'Enabled' => array(
3992
+ 'type' => 'boolean',
3993
+ ),
3994
+ 'IncludeCookies' => array(
3995
+ 'type' => 'boolean',
3996
+ ),
3997
+ 'Bucket' => array(
3998
+ 'type' => 'string',
3999
+ ),
4000
+ 'Prefix' => array(
4001
+ 'type' => 'string',
4002
+ ),
4003
+ ),
4004
+ ),
4005
+ 'PriceClass' => array(
4006
+ 'type' => 'string',
4007
+ 'location' => 'xml',
4008
+ ),
4009
+ 'Enabled' => array(
4010
+ 'type' => 'boolean',
4011
+ 'location' => 'xml',
4012
+ ),
4013
+ 'ViewerCertificate' => array(
4014
+ 'type' => 'object',
4015
+ 'location' => 'xml',
4016
+ 'properties' => array(
4017
+ 'IAMCertificateId' => array(
4018
+ 'type' => 'string',
4019
+ ),
4020
+ 'CloudFrontDefaultCertificate' => array(
4021
+ 'type' => 'boolean',
4022
+ ),
4023
+ 'SSLSupportMethod' => array(
4024
+ 'type' => 'string',
4025
+ ),
4026
+ 'MinimumProtocolVersion' => array(
4027
+ 'type' => 'string',
4028
+ ),
4029
+ ),
4030
+ ),
4031
+ 'Restrictions' => array(
4032
+ 'type' => 'object',
4033
+ 'location' => 'xml',
4034
+ 'properties' => array(
4035
+ 'GeoRestriction' => array(
4036
+ 'type' => 'object',
4037
+ 'properties' => array(
4038
+ 'RestrictionType' => array(
4039
+ 'type' => 'string',
4040
+ ),
4041
+ 'Quantity' => array(
4042
+ 'type' => 'numeric',
4043
+ ),
4044
+ 'Items' => array(
4045
+ 'type' => 'array',
4046
+ 'items' => array(
4047
+ 'name' => 'Location',
4048
+ 'type' => 'string',
4049
+ 'sentAs' => 'Location',
4050
+ ),
4051
+ ),
4052
+ ),
4053
+ ),
4054
+ ),
4055
+ ),
4056
+ 'ETag' => array(
4057
+ 'type' => 'string',
4058
+ 'location' => 'header',
4059
+ ),
4060
+ 'RequestId' => array(
4061
+ 'location' => 'header',
4062
+ 'sentAs' => 'x-amz-request-id',
4063
+ ),
4064
+ ),
4065
+ ),
4066
+ 'GetInvalidationResult' => array(
4067
+ 'type' => 'object',
4068
+ 'additionalProperties' => true,
4069
+ 'properties' => array(
4070
+ 'Id' => array(
4071
+ 'type' => 'string',
4072
+ 'location' => 'xml',
4073
+ ),
4074
+ 'Status' => array(
4075
+ 'type' => 'string',
4076
+ 'location' => 'xml',
4077
+ ),
4078
+ 'CreateTime' => array(
4079
+ 'type' => 'string',
4080
+ 'location' => 'xml',
4081
+ ),
4082
+ 'InvalidationBatch' => array(
4083
+ 'type' => 'object',
4084
+ 'location' => 'xml',
4085
+ 'properties' => array(
4086
+ 'Paths' => array(
4087
+ 'type' => 'object',
4088
+ 'properties' => array(
4089
+ 'Quantity' => array(
4090
+ 'type' => 'numeric',
4091
+ ),
4092
+ 'Items' => array(
4093
+ 'type' => 'array',
4094
+ 'items' => array(
4095
+ 'name' => 'Path',
4096
+ 'type' => 'string',
4097
+ 'sentAs' => 'Path',
4098
+ ),
4099
+ ),
4100
+ ),
4101
+ ),
4102
+ 'CallerReference' => array(
4103
+ 'type' => 'string',
4104
+ ),
4105
+ ),
4106
+ ),
4107
+ 'RequestId' => array(
4108
+ 'location' => 'header',
4109
+ 'sentAs' => 'x-amz-request-id',
4110
+ ),
4111
+ ),
4112
+ ),
4113
+ 'GetStreamingDistributionResult' => array(
4114
+ 'type' => 'object',
4115
+ 'additionalProperties' => true,
4116
+ 'properties' => array(
4117
+ 'Id' => array(
4118
+ 'type' => 'string',
4119
+ 'location' => 'xml',
4120
+ ),
4121
+ 'Status' => array(
4122
+ 'type' => 'string',
4123
+ 'location' => 'xml',
4124
+ ),
4125
+ 'LastModifiedTime' => array(
4126
+ 'type' => 'string',
4127
+ 'location' => 'xml',
4128
+ ),
4129
+ 'DomainName' => array(
4130
+ 'type' => 'string',
4131
+ 'location' => 'xml',
4132
+ ),
4133
+ 'ActiveTrustedSigners' => array(
4134
+ 'type' => 'object',
4135
+ 'location' => 'xml',
4136
+ 'properties' => array(
4137
+ 'Enabled' => array(
4138
+ 'type' => 'boolean',
4139
+ ),
4140
+ 'Quantity' => array(
4141
+ 'type' => 'numeric',
4142
+ ),
4143
+ 'Items' => array(
4144
+ 'type' => 'array',
4145
+ 'items' => array(
4146
+ 'name' => 'Signer',
4147
+ 'type' => 'object',
4148
+ 'sentAs' => 'Signer',
4149
+ 'properties' => array(
4150
+ 'AwsAccountNumber' => array(
4151
+ 'type' => 'string',
4152
+ ),
4153
+ 'KeyPairIds' => array(
4154
+ 'type' => 'object',
4155
+ 'properties' => array(
4156
+ 'Quantity' => array(
4157
+ 'type' => 'numeric',
4158
+ ),
4159
+ 'Items' => array(
4160
+ 'type' => 'array',
4161
+ 'items' => array(
4162
+ 'name' => 'KeyPairId',
4163
+ 'type' => 'string',
4164
+ 'sentAs' => 'KeyPairId',
4165
+ ),
4166
+ ),
4167
+ ),
4168
+ ),
4169
+ ),
4170
+ ),
4171
+ ),
4172
+ ),
4173
+ ),
4174
+ 'StreamingDistributionConfig' => array(
4175
+ 'type' => 'object',
4176
+ 'location' => 'xml',
4177
+ 'properties' => array(
4178
+ 'CallerReference' => array(
4179
+ 'type' => 'string',
4180
+ ),
4181
+ 'S3Origin' => array(
4182
+ 'type' => 'object',
4183
+ 'properties' => array(
4184
+ 'DomainName' => array(
4185
+ 'type' => 'string',
4186
+ ),
4187
+ 'OriginAccessIdentity' => array(
4188
+ 'type' => 'string',
4189
+ ),
4190
+ ),
4191
+ ),
4192
+ 'Aliases' => array(
4193
+ 'type' => 'object',
4194
+ 'properties' => array(
4195
+ 'Quantity' => array(
4196
+ 'type' => 'numeric',
4197
+ ),
4198
+ 'Items' => array(
4199
+ 'type' => 'array',
4200
+ 'items' => array(
4201
+ 'name' => 'CNAME',
4202
+ 'type' => 'string',
4203
+ 'sentAs' => 'CNAME',
4204
+ ),
4205
+ ),
4206
+ ),
4207
+ ),
4208
+ 'Comment' => array(
4209
+ 'type' => 'string',
4210
+ ),
4211
+ 'Logging' => array(
4212
+ 'type' => 'object',
4213
+ 'properties' => array(
4214
+ 'Enabled' => array(
4215
+ 'type' => 'boolean',
4216
+ ),
4217
+ 'Bucket' => array(
4218
+ 'type' => 'string',
4219
+ ),
4220
+ 'Prefix' => array(
4221
+ 'type' => 'string',
4222
+ ),
4223
+ ),
4224
+ ),
4225
+ 'TrustedSigners' => array(
4226
+ 'type' => 'object',
4227
+ 'properties' => array(
4228
+ 'Enabled' => array(
4229
+ 'type' => 'boolean',
4230
+ ),
4231
+ 'Quantity' => array(
4232
+ 'type' => 'numeric',
4233
+ ),
4234
+ 'Items' => array(
4235
+ 'type' => 'array',
4236
+ 'items' => array(
4237
+ 'name' => 'AwsAccountNumber',
4238
+ 'type' => 'string',
4239
+ 'sentAs' => 'AwsAccountNumber',
4240
+ ),
4241
+ ),
4242
+ ),
4243
+ ),
4244
+ 'PriceClass' => array(
4245
+ 'type' => 'string',
4246
+ ),
4247
+ 'Enabled' => array(
4248
+ 'type' => 'boolean',
4249
+ ),
4250
+ ),
4251
+ ),
4252
+ 'ETag' => array(
4253
+ 'type' => 'string',
4254
+ 'location' => 'header',
4255
+ ),
4256
+ 'RequestId' => array(
4257
+ 'location' => 'header',
4258
+ 'sentAs' => 'x-amz-request-id',
4259
+ ),
4260
+ ),
4261
+ ),
4262
+ 'GetStreamingDistributionConfigResult' => array(
4263
+ 'type' => 'object',
4264
+ 'additionalProperties' => true,
4265
+ 'properties' => array(
4266
+ 'CallerReference' => array(
4267
+ 'type' => 'string',
4268
+ 'location' => 'xml',
4269
+ ),
4270
+ 'S3Origin' => array(
4271
+ 'type' => 'object',
4272
+ 'location' => 'xml',
4273
+ 'properties' => array(
4274
+ 'DomainName' => array(
4275
+ 'type' => 'string',
4276
+ ),
4277
+ 'OriginAccessIdentity' => array(
4278
+ 'type' => 'string',
4279
+ ),
4280
+ ),
4281
+ ),
4282
+ 'Aliases' => array(
4283
+ 'type' => 'object',
4284
+ 'location' => 'xml',
4285
+ 'properties' => array(
4286
+ 'Quantity' => array(
4287
+ 'type' => 'numeric',
4288
+ ),
4289
+ 'Items' => array(
4290
+ 'type' => 'array',
4291
+ 'items' => array(
4292
+ 'name' => 'CNAME',
4293
+ 'type' => 'string',
4294
+ 'sentAs' => 'CNAME',
4295
+ ),
4296
+ ),
4297
+ ),
4298
+ ),
4299
+ 'Comment' => array(
4300
+ 'type' => 'string',
4301
+ 'location' => 'xml',
4302
+ ),
4303
+ 'Logging' => array(
4304
+ 'type' => 'object',
4305
+ 'location' => 'xml',
4306
+ 'properties' => array(
4307
+ 'Enabled' => array(
4308
+ 'type' => 'boolean',
4309
+ ),
4310
+ 'Bucket' => array(
4311
+ 'type' => 'string',
4312
+ ),
4313
+ 'Prefix' => array(
4314
+ 'type' => 'string',
4315
+ ),
4316
+ ),
4317
+ ),
4318
+ 'TrustedSigners' => array(
4319
+ 'type' => 'object',
4320
+ 'location' => 'xml',
4321
+ 'properties' => array(
4322
+ 'Enabled' => array(
4323
+ 'type' => 'boolean',
4324
+ ),
4325
+ 'Quantity' => array(
4326
+ 'type' => 'numeric',
4327
+ ),
4328
+ 'Items' => array(
4329
+ 'type' => 'array',
4330
+ 'items' => array(
4331
+ 'name' => 'AwsAccountNumber',
4332
+ 'type' => 'string',
4333
+ 'sentAs' => 'AwsAccountNumber',
4334
+ ),
4335
+ ),
4336
+ ),
4337
+ ),
4338
+ 'PriceClass' => array(
4339
+ 'type' => 'string',
4340
+ 'location' => 'xml',
4341
+ ),
4342
+ 'Enabled' => array(
4343
+ 'type' => 'boolean',
4344
+ 'location' => 'xml',
4345
+ ),
4346
+ 'ETag' => array(
4347
+ 'type' => 'string',
4348
+ 'location' => 'header',
4349
+ ),
4350
+ 'RequestId' => array(
4351
+ 'location' => 'header',
4352
+ 'sentAs' => 'x-amz-request-id',
4353
+ ),
4354
+ ),
4355
+ ),
4356
+ 'ListCloudFrontOriginAccessIdentitiesResult' => array(
4357
+ 'type' => 'object',
4358
+ 'additionalProperties' => true,
4359
+ 'properties' => array(
4360
+ 'Marker' => array(
4361
+ 'type' => 'string',
4362
+ 'location' => 'xml',
4363
+ ),
4364
+ 'NextMarker' => array(
4365
+ 'type' => 'string',
4366
+ 'location' => 'xml',
4367
+ ),
4368
+ 'MaxItems' => array(
4369
+ 'type' => 'numeric',
4370
+ 'location' => 'xml',
4371
+ ),
4372
+ 'IsTruncated' => array(
4373
+ 'type' => 'boolean',
4374
+ 'location' => 'xml',
4375
+ ),
4376
+ 'Quantity' => array(
4377
+ 'type' => 'numeric',
4378
+ 'location' => 'xml',
4379
+ ),
4380
+ 'Items' => array(
4381
+ 'type' => 'array',
4382
+ 'location' => 'xml',
4383
+ 'items' => array(
4384
+ 'name' => 'CloudFrontOriginAccessIdentitySummary',
4385
+ 'type' => 'object',
4386
+ 'sentAs' => 'CloudFrontOriginAccessIdentitySummary',
4387
+ 'properties' => array(
4388
+ 'Id' => array(
4389
+ 'type' => 'string',
4390
+ ),
4391
+ 'S3CanonicalUserId' => array(
4392
+ 'type' => 'string',
4393
+ ),
4394
+ 'Comment' => array(
4395
+ 'type' => 'string',
4396
+ ),
4397
+ ),
4398
+ ),
4399
+ ),
4400
+ 'RequestId' => array(
4401
+ 'location' => 'header',
4402
+ 'sentAs' => 'x-amz-request-id',
4403
+ ),
4404
+ ),
4405
+ ),
4406
+ 'ListDistributionsResult' => array(
4407
+ 'type' => 'object',
4408
+ 'additionalProperties' => true,
4409
+ 'properties' => array(
4410
+ 'Marker' => array(
4411
+ 'type' => 'string',
4412
+ 'location' => 'xml',
4413
+ ),
4414
+ 'NextMarker' => array(
4415
+ 'type' => 'string',
4416
+ 'location' => 'xml',
4417
+ ),
4418
+ 'MaxItems' => array(
4419
+ 'type' => 'numeric',
4420
+ 'location' => 'xml',
4421
+ ),
4422
+ 'IsTruncated' => array(
4423
+ 'type' => 'boolean',
4424
+ 'location' => 'xml',
4425
+ ),
4426
+ 'Quantity' => array(
4427
+ 'type' => 'numeric',
4428
+ 'location' => 'xml',
4429
+ ),
4430
+ 'Items' => array(
4431
+ 'type' => 'array',
4432
+ 'location' => 'xml',
4433
+ 'items' => array(
4434
+ 'name' => 'DistributionSummary',
4435
+ 'type' => 'object',
4436
+ 'sentAs' => 'DistributionSummary',
4437
+ 'properties' => array(
4438
+ 'Id' => array(
4439
+ 'type' => 'string',
4440
+ ),
4441
+ 'Status' => array(
4442
+ 'type' => 'string',
4443
+ ),
4444
+ 'LastModifiedTime' => array(
4445
+ 'type' => 'string',
4446
+ ),
4447
+ 'DomainName' => array(
4448
+ 'type' => 'string',
4449
+ ),
4450
+ 'Aliases' => array(
4451
+ 'type' => 'object',
4452
+ 'properties' => array(
4453
+ 'Quantity' => array(
4454
+ 'type' => 'numeric',
4455
+ ),
4456
+ 'Items' => array(
4457
+ 'type' => 'array',
4458
+ 'items' => array(
4459
+ 'name' => 'CNAME',
4460
+ 'type' => 'string',
4461
+ 'sentAs' => 'CNAME',
4462
+ ),
4463
+ ),
4464
+ ),
4465
+ ),
4466
+ 'Origins' => array(
4467
+ 'type' => 'object',
4468
+ 'properties' => array(
4469
+ 'Quantity' => array(
4470
+ 'type' => 'numeric',
4471
+ ),
4472
+ 'Items' => array(
4473
+ 'type' => 'array',
4474
+ 'items' => array(
4475
+ 'name' => 'Origin',
4476
+ 'type' => 'object',
4477
+ 'sentAs' => 'Origin',
4478
+ 'properties' => array(
4479
+ 'Id' => array(
4480
+ 'type' => 'string',
4481
+ ),
4482
+ 'DomainName' => array(
4483
+ 'type' => 'string',
4484
+ ),
4485
+ 'S3OriginConfig' => array(
4486
+ 'type' => 'object',
4487
+ 'properties' => array(
4488
+ 'OriginAccessIdentity' => array(
4489
+ 'type' => 'string',
4490
+ ),
4491
+ ),
4492
+ ),
4493
+ 'CustomOriginConfig' => array(
4494
+ 'type' => 'object',
4495
+ 'properties' => array(
4496
+ 'HTTPPort' => array(
4497
+ 'type' => 'numeric',
4498
+ ),
4499
+ 'HTTPSPort' => array(
4500
+ 'type' => 'numeric',
4501
+ ),
4502
+ 'OriginProtocolPolicy' => array(
4503
+ 'type' => 'string',
4504
+ ),
4505
+ ),
4506
+ ),
4507
+ ),
4508
+ ),
4509
+ ),
4510
+ ),
4511
+ ),
4512
+ 'DefaultCacheBehavior' => array(
4513
+ 'type' => 'object',
4514
+ 'properties' => array(
4515
+ 'TargetOriginId' => array(
4516
+ 'type' => 'string',
4517
+ ),
4518
+ 'ForwardedValues' => array(
4519
+ 'type' => 'object',
4520
+ 'properties' => array(
4521
+ 'QueryString' => array(
4522
+ 'type' => 'boolean',
4523
+ ),
4524
+ 'Cookies' => array(
4525
+ 'type' => 'object',
4526
+ 'properties' => array(
4527
+ 'Forward' => array(
4528
+ 'type' => 'string',
4529
+ ),
4530
+ 'WhitelistedNames' => array(
4531
+ 'type' => 'object',
4532
+ 'properties' => array(
4533
+ 'Quantity' => array(
4534
+ 'type' => 'numeric',
4535
+ ),
4536
+ 'Items' => array(
4537
+ 'type' => 'array',
4538
+ 'items' => array(
4539
+ 'name' => 'Name',
4540
+ 'type' => 'string',
4541
+ 'sentAs' => 'Name',
4542
+ ),
4543
+ ),
4544
+ ),
4545
+ ),
4546
+ ),
4547
+ ),
4548
+ 'Headers' => array(
4549
+ 'type' => 'object',
4550
+ 'properties' => array(
4551
+ 'Quantity' => array(
4552
+ 'type' => 'numeric',
4553
+ ),
4554
+ 'Items' => array(
4555
+ 'type' => 'array',
4556
+ 'items' => array(
4557
+ 'name' => 'Name',
4558
+ 'type' => 'string',
4559
+ 'sentAs' => 'Name',
4560
+ ),
4561
+ ),
4562
+ ),
4563
+ ),
4564
+ ),
4565
+ ),
4566
+ 'TrustedSigners' => array(
4567
+ 'type' => 'object',
4568
+ 'properties' => array(
4569
+ 'Enabled' => array(
4570
+ 'type' => 'boolean',
4571
+ ),
4572
+ 'Quantity' => array(
4573
+ 'type' => 'numeric',
4574
+ ),
4575
+ 'Items' => array(
4576
+ 'type' => 'array',
4577
+ 'items' => array(
4578
+ 'name' => 'AwsAccountNumber',
4579
+ 'type' => 'string',
4580
+ 'sentAs' => 'AwsAccountNumber',
4581
+ ),
4582
+ ),
4583
+ ),
4584
+ ),
4585
+ 'ViewerProtocolPolicy' => array(
4586
+ 'type' => 'string',
4587
+ ),
4588
+ 'MinTTL' => array(
4589
+ 'type' => 'numeric',
4590
+ ),
4591
+ 'AllowedMethods' => array(
4592
+ 'type' => 'object',
4593
+ 'properties' => array(
4594
+ 'Quantity' => array(
4595
+ 'type' => 'numeric',
4596
+ ),
4597
+ 'Items' => array(
4598
+ 'type' => 'array',
4599
+ 'items' => array(
4600
+ 'name' => 'Method',
4601
+ 'type' => 'string',
4602
+ 'sentAs' => 'Method',
4603
+ ),
4604
+ ),
4605
+ 'CachedMethods' => array(
4606
+ 'type' => 'object',
4607
+ 'properties' => array(
4608
+ 'Quantity' => array(
4609
+ 'type' => 'numeric',
4610
+ ),
4611
+ 'Items' => array(
4612
+ 'type' => 'array',
4613
+ 'items' => array(
4614
+ 'name' => 'Method',
4615
+ 'type' => 'string',
4616
+ 'sentAs' => 'Method',
4617
+ ),
4618
+ ),
4619
+ ),
4620
+ ),
4621
+ ),
4622
+ ),
4623
+ 'SmoothStreaming' => array(
4624
+ 'type' => 'boolean',
4625
+ ),
4626
+ ),
4627
+ ),
4628
+ 'CacheBehaviors' => array(
4629
+ 'type' => 'object',
4630
+ 'properties' => array(
4631
+ 'Quantity' => array(
4632
+ 'type' => 'numeric',
4633
+ ),
4634
+ 'Items' => array(
4635
+ 'type' => 'array',
4636
+ 'items' => array(
4637
+ 'name' => 'CacheBehavior',
4638
+ 'type' => 'object',
4639
+ 'sentAs' => 'CacheBehavior',
4640
+ 'properties' => array(
4641
+ 'PathPattern' => array(
4642
+ 'type' => 'string',
4643
+ ),
4644
+ 'TargetOriginId' => array(
4645
+ 'type' => 'string',
4646
+ ),
4647
+ 'ForwardedValues' => array(
4648
+ 'type' => 'object',
4649
+ 'properties' => array(
4650
+ 'QueryString' => array(
4651
+ 'type' => 'boolean',
4652
+ ),
4653
+ 'Cookies' => array(
4654
+ 'type' => 'object',
4655
+ 'properties' => array(
4656
+ 'Forward' => array(
4657
+ 'type' => 'string',
4658
+ ),
4659
+ 'WhitelistedNames' => array(
4660
+ 'type' => 'object',
4661
+ 'properties' => array(
4662
+ 'Quantity' => array(
4663
+ 'type' => 'numeric',
4664
+ ),
4665
+ 'Items' => array(
4666
+ 'type' => 'array',
4667
+ 'items' => array(
4668
+ 'name' => 'Name',
4669
+ 'type' => 'string',
4670
+ 'sentAs' => 'Name',
4671
+ ),
4672
+ ),
4673
+ ),
4674
+ ),
4675
+ ),
4676
+ ),
4677
+ 'Headers' => array(
4678
+ 'type' => 'object',
4679
+ 'properties' => array(
4680
+ 'Quantity' => array(
4681
+ 'type' => 'numeric',
4682
+ ),
4683
+ 'Items' => array(
4684
+ 'type' => 'array',
4685
+ 'items' => array(
4686
+ 'name' => 'Name',
4687
+ 'type' => 'string',
4688
+ 'sentAs' => 'Name',
4689
+ ),
4690
+ ),
4691
+ ),
4692
+ ),
4693
+ ),
4694
+ ),
4695
+ 'TrustedSigners' => array(
4696
+ 'type' => 'object',
4697
+ 'properties' => array(
4698
+ 'Enabled' => array(
4699
+ 'type' => 'boolean',
4700
+ ),
4701
+ 'Quantity' => array(
4702
+ 'type' => 'numeric',
4703
+ ),
4704
+ 'Items' => array(
4705
+ 'type' => 'array',
4706
+ 'items' => array(
4707
+ 'name' => 'AwsAccountNumber',
4708
+ 'type' => 'string',
4709
+ 'sentAs' => 'AwsAccountNumber',
4710
+ ),
4711
+ ),
4712
+ ),
4713
+ ),
4714
+ 'ViewerProtocolPolicy' => array(
4715
+ 'type' => 'string',
4716
+ ),
4717
+ 'MinTTL' => array(
4718
+ 'type' => 'numeric',
4719
+ ),
4720
+ 'AllowedMethods' => array(
4721
+ 'type' => 'object',
4722
+ 'properties' => array(
4723
+ 'Quantity' => array(
4724
+ 'type' => 'numeric',
4725
+ ),
4726
+ 'Items' => array(
4727
+ 'type' => 'array',
4728
+ 'items' => array(
4729
+ 'name' => 'Method',
4730
+ 'type' => 'string',
4731
+ 'sentAs' => 'Method',
4732
+ ),
4733
+ ),
4734
+ 'CachedMethods' => array(
4735
+ 'type' => 'object',
4736
+ 'properties' => array(
4737
+ 'Quantity' => array(
4738
+ 'type' => 'numeric',
4739
+ ),
4740
+ 'Items' => array(
4741
+ 'type' => 'array',
4742
+ 'items' => array(
4743
+ 'name' => 'Method',
4744
+ 'type' => 'string',
4745
+ 'sentAs' => 'Method',
4746
+ ),
4747
+ ),
4748
+ ),
4749
+ ),
4750
+ ),
4751
+ ),
4752
+ 'SmoothStreaming' => array(
4753
+ 'type' => 'boolean',
4754
+ ),
4755
+ ),
4756
+ ),
4757
+ ),
4758
+ ),
4759
+ ),
4760
+ 'CustomErrorResponses' => array(
4761
+ 'type' => 'object',
4762
+ 'properties' => array(
4763
+ 'Quantity' => array(
4764
+ 'type' => 'numeric',
4765
+ ),
4766
+ 'Items' => array(
4767
+ 'type' => 'array',
4768
+ 'items' => array(
4769
+ 'name' => 'CustomErrorResponse',
4770
+ 'type' => 'object',
4771
+ 'sentAs' => 'CustomErrorResponse',
4772
+ 'properties' => array(
4773
+ 'ErrorCode' => array(
4774
+ 'type' => 'numeric',
4775
+ ),
4776
+ 'ResponsePagePath' => array(
4777
+ 'type' => 'string',
4778
+ ),
4779
+ 'ResponseCode' => array(
4780
+ 'type' => 'string',
4781
+ ),
4782
+ 'ErrorCachingMinTTL' => array(
4783
+ 'type' => 'numeric',
4784
+ ),
4785
+ ),
4786
+ ),
4787
+ ),
4788
+ ),
4789
+ ),
4790
+ 'Comment' => array(
4791
+ 'type' => 'string',
4792
+ ),
4793
+ 'PriceClass' => array(
4794
+ 'type' => 'string',
4795
+ ),
4796
+ 'Enabled' => array(
4797
+ 'type' => 'boolean',
4798
+ ),
4799
+ 'ViewerCertificate' => array(
4800
+ 'type' => 'object',
4801
+ 'properties' => array(
4802
+ 'IAMCertificateId' => array(
4803
+ 'type' => 'string',
4804
+ ),
4805
+ 'CloudFrontDefaultCertificate' => array(
4806
+ 'type' => 'boolean',
4807
+ ),
4808
+ 'SSLSupportMethod' => array(
4809
+ 'type' => 'string',
4810
+ ),
4811
+ 'MinimumProtocolVersion' => array(
4812
+ 'type' => 'string',
4813
+ ),
4814
+ ),
4815
+ ),
4816
+ 'Restrictions' => array(
4817
+ 'type' => 'object',
4818
+ 'properties' => array(
4819
+ 'GeoRestriction' => array(
4820
+ 'type' => 'object',
4821
+ 'properties' => array(
4822
+ 'RestrictionType' => array(
4823
+ 'type' => 'string',
4824
+ ),
4825
+ 'Quantity' => array(
4826
+ 'type' => 'numeric',
4827
+ ),
4828
+ 'Items' => array(
4829
+ 'type' => 'array',
4830
+ 'items' => array(
4831
+ 'name' => 'Location',
4832
+ 'type' => 'string',
4833
+ 'sentAs' => 'Location',
4834
+ ),
4835
+ ),
4836
+ ),
4837
+ ),
4838
+ ),
4839
+ ),
4840
+ ),
4841
+ ),
4842
+ ),
4843
+ 'RequestId' => array(
4844
+ 'location' => 'header',
4845
+ 'sentAs' => 'x-amz-request-id',
4846
+ ),
4847
+ ),
4848
+ ),
4849
+ 'ListInvalidationsResult' => array(
4850
+ 'type' => 'object',
4851
+ 'additionalProperties' => true,
4852
+ 'properties' => array(
4853
+ 'Marker' => array(
4854
+ 'type' => 'string',
4855
+ 'location' => 'xml',
4856
+ ),
4857
+ 'NextMarker' => array(
4858
+ 'type' => 'string',
4859
+ 'location' => 'xml',
4860
+ ),
4861
+ 'MaxItems' => array(
4862
+ 'type' => 'numeric',
4863
+ 'location' => 'xml',
4864
+ ),
4865
+ 'IsTruncated' => array(
4866
+ 'type' => 'boolean',
4867
+ 'location' => 'xml',
4868
+ ),
4869
+ 'Quantity' => array(
4870
+ 'type' => 'numeric',
4871
+ 'location' => 'xml',
4872
+ ),
4873
+ 'Items' => array(
4874
+ 'type' => 'array',
4875
+ 'location' => 'xml',
4876
+ 'items' => array(
4877
+ 'name' => 'InvalidationSummary',
4878
+ 'type' => 'object',
4879
+ 'sentAs' => 'InvalidationSummary',
4880
+ 'properties' => array(
4881
+ 'Id' => array(
4882
+ 'type' => 'string',
4883
+ ),
4884
+ 'CreateTime' => array(
4885
+ 'type' => 'string',
4886
+ ),
4887
+ 'Status' => array(
4888
+ 'type' => 'string',
4889
+ ),
4890
+ ),
4891
+ ),
4892
+ ),
4893
+ 'RequestId' => array(
4894
+ 'location' => 'header',
4895
+ 'sentAs' => 'x-amz-request-id',
4896
+ ),
4897
+ ),
4898
+ ),
4899
+ 'ListStreamingDistributionsResult' => array(
4900
+ 'type' => 'object',
4901
+ 'additionalProperties' => true,
4902
+ 'properties' => array(
4903
+ 'Marker' => array(
4904
+ 'type' => 'string',
4905
+ 'location' => 'xml',
4906
+ ),
4907
+ 'NextMarker' => array(
4908
+ 'type' => 'string',
4909
+ 'location' => 'xml',
4910
+ ),
4911
+ 'MaxItems' => array(
4912
+ 'type' => 'numeric',
4913
+ 'location' => 'xml',
4914
+ ),
4915
+ 'IsTruncated' => array(
4916
+ 'type' => 'boolean',
4917
+ 'location' => 'xml',
4918
+ ),
4919
+ 'Quantity' => array(
4920
+ 'type' => 'numeric',
4921
+ 'location' => 'xml',
4922
+ ),
4923
+ 'Items' => array(
4924
+ 'type' => 'array',
4925
+ 'location' => 'xml',
4926
+ 'items' => array(
4927
+ 'name' => 'StreamingDistributionSummary',
4928
+ 'type' => 'object',
4929
+ 'sentAs' => 'StreamingDistributionSummary',
4930
+ 'properties' => array(
4931
+ 'Id' => array(
4932
+ 'type' => 'string',
4933
+ ),
4934
+ 'Status' => array(
4935
+ 'type' => 'string',
4936
+ ),
4937
+ 'LastModifiedTime' => array(
4938
+ 'type' => 'string',
4939
+ ),
4940
+ 'DomainName' => array(
4941
+ 'type' => 'string',
4942
+ ),
4943
+ 'S3Origin' => array(
4944
+ 'type' => 'object',
4945
+ 'properties' => array(
4946
+ 'DomainName' => array(
4947
+ 'type' => 'string',
4948
+ ),
4949
+ 'OriginAccessIdentity' => array(
4950
+ 'type' => 'string',
4951
+ ),
4952
+ ),
4953
+ ),
4954
+ 'Aliases' => array(
4955
+ 'type' => 'object',
4956
+ 'properties' => array(
4957
+ 'Quantity' => array(
4958
+ 'type' => 'numeric',
4959
+ ),
4960
+ 'Items' => array(
4961
+ 'type' => 'array',
4962
+ 'items' => array(
4963
+ 'name' => 'CNAME',
4964
+ 'type' => 'string',
4965
+ 'sentAs' => 'CNAME',
4966
+ ),
4967
+ ),
4968
+ ),
4969
+ ),
4970
+ 'TrustedSigners' => array(
4971
+ 'type' => 'object',
4972
+ 'properties' => array(
4973
+ 'Enabled' => array(
4974
+ 'type' => 'boolean',
4975
+ ),
4976
+ 'Quantity' => array(
4977
+ 'type' => 'numeric',
4978
+ ),
4979
+ 'Items' => array(
4980
+ 'type' => 'array',
4981
+ 'items' => array(
4982
+ 'name' => 'AwsAccountNumber',
4983
+ 'type' => 'string',
4984
+ 'sentAs' => 'AwsAccountNumber',
4985
+ ),
4986
+ ),
4987
+ ),
4988
+ ),
4989
+ 'Comment' => array(
4990
+ 'type' => 'string',
4991
+ ),
4992
+ 'PriceClass' => array(
4993
+ 'type' => 'string',
4994
+ ),
4995
+ 'Enabled' => array(
4996
+ 'type' => 'boolean',
4997
+ ),
4998
+ ),
4999
+ ),
5000
+ ),
5001
+ 'RequestId' => array(
5002
+ 'location' => 'header',
5003
+ 'sentAs' => 'x-amz-request-id',
5004
+ ),
5005
+ ),
5006
+ ),
5007
+ 'UpdateCloudFrontOriginAccessIdentityResult' => array(
5008
+ 'type' => 'object',
5009
+ 'additionalProperties' => true,
5010
+ 'properties' => array(
5011
+ 'Id' => array(
5012
+ 'type' => 'string',
5013
+ 'location' => 'xml',
5014
+ ),
5015
+ 'S3CanonicalUserId' => array(
5016
+ 'type' => 'string',
5017
+ 'location' => 'xml',
5018
+ ),
5019
+ 'CloudFrontOriginAccessIdentityConfig' => array(
5020
+ 'type' => 'object',
5021
+ 'location' => 'xml',
5022
+ 'properties' => array(
5023
+ 'CallerReference' => array(
5024
+ 'type' => 'string',
5025
+ ),
5026
+ 'Comment' => array(
5027
+ 'type' => 'string',
5028
+ ),
5029
+ ),
5030
+ ),
5031
+ 'ETag' => array(
5032
+ 'type' => 'string',
5033
+ 'location' => 'header',
5034
+ ),
5035
+ 'RequestId' => array(
5036
+ 'location' => 'header',
5037
+ 'sentAs' => 'x-amz-request-id',
5038
+ ),
5039
+ ),
5040
+ ),
5041
+ 'UpdateDistributionResult' => array(
5042
+ 'type' => 'object',
5043
+ 'additionalProperties' => true,
5044
+ 'properties' => array(
5045
+ 'Id' => array(
5046
+ 'type' => 'string',
5047
+ 'location' => 'xml',
5048
+ ),
5049
+ 'Status' => array(
5050
+ 'type' => 'string',
5051
+ 'location' => 'xml',
5052
+ ),
5053
+ 'LastModifiedTime' => array(
5054
+ 'type' => 'string',
5055
+ 'location' => 'xml',
5056
+ ),
5057
+ 'InProgressInvalidationBatches' => array(
5058
+ 'type' => 'numeric',
5059
+ 'location' => 'xml',
5060
+ ),
5061
+ 'DomainName' => array(
5062
+ 'type' => 'string',
5063
+ 'location' => 'xml',
5064
+ ),
5065
+ 'ActiveTrustedSigners' => array(
5066
+ 'type' => 'object',
5067
+ 'location' => 'xml',
5068
+ 'properties' => array(
5069
+ 'Enabled' => array(
5070
+ 'type' => 'boolean',
5071
+ ),
5072
+ 'Quantity' => array(
5073
+ 'type' => 'numeric',
5074
+ ),
5075
+ 'Items' => array(
5076
+ 'type' => 'array',
5077
+ 'items' => array(
5078
+ 'name' => 'Signer',
5079
+ 'type' => 'object',
5080
+ 'sentAs' => 'Signer',
5081
+ 'properties' => array(
5082
+ 'AwsAccountNumber' => array(
5083
+ 'type' => 'string',
5084
+ ),
5085
+ 'KeyPairIds' => array(
5086
+ 'type' => 'object',
5087
+ 'properties' => array(
5088
+ 'Quantity' => array(
5089
+ 'type' => 'numeric',
5090
+ ),
5091
+ 'Items' => array(
5092
+ 'type' => 'array',
5093
+ 'items' => array(
5094
+ 'name' => 'KeyPairId',
5095
+ 'type' => 'string',
5096
+ 'sentAs' => 'KeyPairId',
5097
+ ),
5098
+ ),
5099
+ ),
5100
+ ),
5101
+ ),
5102
+ ),
5103
+ ),
5104
+ ),
5105
+ ),
5106
+ 'DistributionConfig' => array(
5107
+ 'type' => 'object',
5108
+ 'location' => 'xml',
5109
+ 'properties' => array(
5110
+ 'CallerReference' => array(
5111
+ 'type' => 'string',
5112
+ ),
5113
+ 'Aliases' => array(
5114
+ 'type' => 'object',
5115
+ 'properties' => array(
5116
+ 'Quantity' => array(
5117
+ 'type' => 'numeric',
5118
+ ),
5119
+ 'Items' => array(
5120
+ 'type' => 'array',
5121
+ 'items' => array(
5122
+ 'name' => 'CNAME',
5123
+ 'type' => 'string',
5124
+ 'sentAs' => 'CNAME',
5125
+ ),
5126
+ ),
5127
+ ),
5128
+ ),
5129
+ 'DefaultRootObject' => array(
5130
+ 'type' => 'string',
5131
+ ),
5132
+ 'Origins' => array(
5133
+ 'type' => 'object',
5134
+ 'properties' => array(
5135
+ 'Quantity' => array(
5136
+ 'type' => 'numeric',
5137
+ ),
5138
+ 'Items' => array(
5139
+ 'type' => 'array',
5140
+ 'items' => array(
5141
+ 'name' => 'Origin',
5142
+ 'type' => 'object',
5143
+ 'sentAs' => 'Origin',
5144
+ 'properties' => array(
5145
+ 'Id' => array(
5146
+ 'type' => 'string',
5147
+ ),
5148
+ 'DomainName' => array(
5149
+ 'type' => 'string',
5150
+ ),
5151
+ 'S3OriginConfig' => array(
5152
+ 'type' => 'object',
5153
+ 'properties' => array(
5154
+ 'OriginAccessIdentity' => array(
5155
+ 'type' => 'string',
5156
+ ),
5157
+ ),
5158
+ ),
5159
+ 'CustomOriginConfig' => array(
5160
+ 'type' => 'object',
5161
+ 'properties' => array(
5162
+ 'HTTPPort' => array(
5163
+ 'type' => 'numeric',
5164
+ ),
5165
+ 'HTTPSPort' => array(
5166
+ 'type' => 'numeric',
5167
+ ),
5168
+ 'OriginProtocolPolicy' => array(
5169
+ 'type' => 'string',
5170
+ ),
5171
+ ),
5172
+ ),
5173
+ ),
5174
+ ),
5175
+ ),
5176
+ ),
5177
+ ),
5178
+ 'DefaultCacheBehavior' => array(
5179
+ 'type' => 'object',
5180
+ 'properties' => array(
5181
+ 'TargetOriginId' => array(
5182
+ 'type' => 'string',
5183
+ ),
5184
+ 'ForwardedValues' => array(
5185
+ 'type' => 'object',
5186
+ 'properties' => array(
5187
+ 'QueryString' => array(
5188
+ 'type' => 'boolean',
5189
+ ),
5190
+ 'Cookies' => array(
5191
+ 'type' => 'object',
5192
+ 'properties' => array(
5193
+ 'Forward' => array(
5194
+ 'type' => 'string',
5195
+ ),
5196
+ 'WhitelistedNames' => array(
5197
+ 'type' => 'object',
5198
+ 'properties' => array(
5199
+ 'Quantity' => array(
5200
+ 'type' => 'numeric',
5201
+ ),
5202
+ 'Items' => array(
5203
+ 'type' => 'array',
5204
+ 'items' => array(
5205
+ 'name' => 'Name',
5206
+ 'type' => 'string',
5207
+ 'sentAs' => 'Name',
5208
+ ),
5209
+ ),
5210
+ ),
5211
+ ),
5212
+ ),
5213
+ ),
5214
+ 'Headers' => array(
5215
+ 'type' => 'object',
5216
+ 'properties' => array(
5217
+ 'Quantity' => array(
5218
+ 'type' => 'numeric',
5219
+ ),
5220
+ 'Items' => array(
5221
+ 'type' => 'array',
5222
+ 'items' => array(
5223
+ 'name' => 'Name',
5224
+ 'type' => 'string',
5225
+ 'sentAs' => 'Name',
5226
+ ),
5227
+ ),
5228
+ ),
5229
+ ),
5230
+ ),
5231
+ ),
5232
+ 'TrustedSigners' => array(
5233
+ 'type' => 'object',
5234
+ 'properties' => array(
5235
+ 'Enabled' => array(
5236
+ 'type' => 'boolean',
5237
+ ),
5238
+ 'Quantity' => array(
5239
+ 'type' => 'numeric',
5240
+ ),
5241
+ 'Items' => array(
5242
+ 'type' => 'array',
5243
+ 'items' => array(
5244
+ 'name' => 'AwsAccountNumber',
5245
+ 'type' => 'string',
5246
+ 'sentAs' => 'AwsAccountNumber',
5247
+ ),
5248
+ ),
5249
+ ),
5250
+ ),
5251
+ 'ViewerProtocolPolicy' => array(
5252
+ 'type' => 'string',
5253
+ ),
5254
+ 'MinTTL' => array(
5255
+ 'type' => 'numeric',
5256
+ ),
5257
+ 'AllowedMethods' => array(
5258
+ 'type' => 'object',
5259
+ 'properties' => array(
5260
+ 'Quantity' => array(
5261
+ 'type' => 'numeric',
5262
+ ),
5263
+ 'Items' => array(
5264
+ 'type' => 'array',
5265
+ 'items' => array(
5266
+ 'name' => 'Method',
5267
+ 'type' => 'string',
5268
+ 'sentAs' => 'Method',
5269
+ ),
5270
+ ),
5271
+ 'CachedMethods' => array(
5272
+ 'type' => 'object',
5273
+ 'properties' => array(
5274
+ 'Quantity' => array(
5275
+ 'type' => 'numeric',
5276
+ ),
5277
+ 'Items' => array(
5278
+ 'type' => 'array',
5279
+ 'items' => array(
5280
+ 'name' => 'Method',
5281
+ 'type' => 'string',
5282
+ 'sentAs' => 'Method',
5283
+ ),
5284
+ ),
5285
+ ),
5286
+ ),
5287
+ ),
5288
+ ),
5289
+ 'SmoothStreaming' => array(
5290
+ 'type' => 'boolean',
5291
+ ),
5292
+ ),
5293
+ ),
5294
+ 'CacheBehaviors' => array(
5295
+ 'type' => 'object',
5296
+ 'properties' => array(
5297
+ 'Quantity' => array(
5298
+ 'type' => 'numeric',
5299
+ ),
5300
+ 'Items' => array(
5301
+ 'type' => 'array',
5302
+ 'items' => array(
5303
+ 'name' => 'CacheBehavior',
5304
+ 'type' => 'object',
5305
+ 'sentAs' => 'CacheBehavior',
5306
+ 'properties' => array(
5307
+ 'PathPattern' => array(
5308
+ 'type' => 'string',
5309
+ ),
5310
+ 'TargetOriginId' => array(
5311
+ 'type' => 'string',
5312
+ ),
5313
+ 'ForwardedValues' => array(
5314
+ 'type' => 'object',
5315
+ 'properties' => array(
5316
+ 'QueryString' => array(
5317
+ 'type' => 'boolean',
5318
+ ),
5319
+ 'Cookies' => array(
5320
+ 'type' => 'object',
5321
+ 'properties' => array(
5322
+ 'Forward' => array(
5323
+ 'type' => 'string',
5324
+ ),
5325
+ 'WhitelistedNames' => array(
5326
+ 'type' => 'object',
5327
+ 'properties' => array(
5328
+ 'Quantity' => array(
5329
+ 'type' => 'numeric',
5330
+ ),
5331
+ 'Items' => array(
5332
+ 'type' => 'array',
5333
+ 'items' => array(
5334
+ 'name' => 'Name',
5335
+ 'type' => 'string',
5336
+ 'sentAs' => 'Name',
5337
+ ),
5338
+ ),
5339
+ ),
5340
+ ),
5341
+ ),
5342
+ ),
5343
+ 'Headers' => array(
5344
+ 'type' => 'object',
5345
+ 'properties' => array(
5346
+ 'Quantity' => array(
5347
+ 'type' => 'numeric',
5348
+ ),
5349
+ 'Items' => array(
5350
+ 'type' => 'array',
5351
+ 'items' => array(
5352
+ 'name' => 'Name',
5353
+ 'type' => 'string',
5354
+ 'sentAs' => 'Name',
5355
+ ),
5356
+ ),
5357
+ ),
5358
+ ),
5359
+ ),
5360
+ ),
5361
+ 'TrustedSigners' => array(
5362
+ 'type' => 'object',
5363
+ 'properties' => array(
5364
+ 'Enabled' => array(
5365
+ 'type' => 'boolean',
5366
+ ),
5367
+ 'Quantity' => array(
5368
+ 'type' => 'numeric',
5369
+ ),
5370
+ 'Items' => array(
5371
+ 'type' => 'array',
5372
+ 'items' => array(
5373
+ 'name' => 'AwsAccountNumber',
5374
+ 'type' => 'string',
5375
+ 'sentAs' => 'AwsAccountNumber',
5376
+ ),
5377
+ ),
5378
+ ),
5379
+ ),
5380
+ 'ViewerProtocolPolicy' => array(
5381
+ 'type' => 'string',
5382
+ ),
5383
+ 'MinTTL' => array(
5384
+ 'type' => 'numeric',
5385
+ ),
5386
+ 'AllowedMethods' => array(
5387
+ 'type' => 'object',
5388
+ 'properties' => array(
5389
+ 'Quantity' => array(
5390
+ 'type' => 'numeric',
5391
+ ),
5392
+ 'Items' => array(
5393
+ 'type' => 'array',
5394
+ 'items' => array(
5395
+ 'name' => 'Method',
5396
+ 'type' => 'string',
5397
+ 'sentAs' => 'Method',
5398
+ ),
5399
+ ),
5400
+ 'CachedMethods' => array(
5401
+ 'type' => 'object',
5402
+ 'properties' => array(
5403
+ 'Quantity' => array(
5404
+ 'type' => 'numeric',
5405
+ ),
5406
+ 'Items' => array(
5407
+ 'type' => 'array',
5408
+ 'items' => array(
5409
+ 'name' => 'Method',
5410
+ 'type' => 'string',
5411
+ 'sentAs' => 'Method',
5412
+ ),
5413
+ ),
5414
+ ),
5415
+ ),
5416
+ ),
5417
+ ),
5418
+ 'SmoothStreaming' => array(
5419
+ 'type' => 'boolean',
5420
+ ),
5421
+ ),
5422
+ ),
5423
+ ),
5424
+ ),
5425
+ ),
5426
+ 'CustomErrorResponses' => array(
5427
+ 'type' => 'object',
5428
+ 'properties' => array(
5429
+ 'Quantity' => array(
5430
+ 'type' => 'numeric',
5431
+ ),
5432
+ 'Items' => array(
5433
+ 'type' => 'array',
5434
+ 'items' => array(
5435
+ 'name' => 'CustomErrorResponse',
5436
+ 'type' => 'object',
5437
+ 'sentAs' => 'CustomErrorResponse',
5438
+ 'properties' => array(
5439
+ 'ErrorCode' => array(
5440
+ 'type' => 'numeric',
5441
+ ),
5442
+ 'ResponsePagePath' => array(
5443
+ 'type' => 'string',
5444
+ ),
5445
+ 'ResponseCode' => array(
5446
+ 'type' => 'string',
5447
+ ),
5448
+ 'ErrorCachingMinTTL' => array(
5449
+ 'type' => 'numeric',
5450
+ ),
5451
+ ),
5452
+ ),
5453
+ ),
5454
+ ),
5455
+ ),
5456
+ 'Comment' => array(
5457
+ 'type' => 'string',
5458
+ ),
5459
+ 'Logging' => array(
5460
+ 'type' => 'object',
5461
+ 'properties' => array(
5462
+ 'Enabled' => array(
5463
+ 'type' => 'boolean',
5464
+ ),
5465
+ 'IncludeCookies' => array(
5466
+ 'type' => 'boolean',
5467
+ ),
5468
+ 'Bucket' => array(
5469
+ 'type' => 'string',
5470
+ ),
5471
+ 'Prefix' => array(
5472
+ 'type' => 'string',
5473
+ ),
5474
+ ),
5475
+ ),
5476
+ 'PriceClass' => array(
5477
+ 'type' => 'string',
5478
+ ),
5479
+ 'Enabled' => array(
5480
+ 'type' => 'boolean',
5481
+ ),
5482
+ 'ViewerCertificate' => array(
5483
+ 'type' => 'object',
5484
+ 'properties' => array(
5485
+ 'IAMCertificateId' => array(
5486
+ 'type' => 'string',
5487
+ ),
5488
+ 'CloudFrontDefaultCertificate' => array(
5489
+ 'type' => 'boolean',
5490
+ ),
5491
+ 'SSLSupportMethod' => array(
5492
+ 'type' => 'string',
5493
+ ),
5494
+ 'MinimumProtocolVersion' => array(
5495
+ 'type' => 'string',
5496
+ ),
5497
+ ),
5498
+ ),
5499
+ 'Restrictions' => array(
5500
+ 'type' => 'object',
5501
+ 'properties' => array(
5502
+ 'GeoRestriction' => array(
5503
+ 'type' => 'object',
5504
+ 'properties' => array(
5505
+ 'RestrictionType' => array(
5506
+ 'type' => 'string',
5507
+ ),
5508
+ 'Quantity' => array(
5509
+ 'type' => 'numeric',
5510
+ ),
5511
+ 'Items' => array(
5512
+ 'type' => 'array',
5513
+ 'items' => array(
5514
+ 'name' => 'Location',
5515
+ 'type' => 'string',
5516
+ 'sentAs' => 'Location',
5517
+ ),
5518
+ ),
5519
+ ),
5520
+ ),
5521
+ ),
5522
+ ),
5523
+ ),
5524
+ ),
5525
+ 'ETag' => array(
5526
+ 'type' => 'string',
5527
+ 'location' => 'header',
5528
+ ),
5529
+ 'RequestId' => array(
5530
+ 'location' => 'header',
5531
+ 'sentAs' => 'x-amz-request-id',
5532
+ ),
5533
+ ),
5534
+ ),
5535
+ 'UpdateStreamingDistributionResult' => array(
5536
+ 'type' => 'object',
5537
+ 'additionalProperties' => true,
5538
+ 'properties' => array(
5539
+ 'Id' => array(
5540
+ 'type' => 'string',
5541
+ 'location' => 'xml',
5542
+ ),
5543
+ 'Status' => array(
5544
+ 'type' => 'string',
5545
+ 'location' => 'xml',
5546
+ ),
5547
+ 'LastModifiedTime' => array(
5548
+ 'type' => 'string',
5549
+ 'location' => 'xml',
5550
+ ),
5551
+ 'DomainName' => array(
5552
+ 'type' => 'string',
5553
+ 'location' => 'xml',
5554
+ ),
5555
+ 'ActiveTrustedSigners' => array(
5556
+ 'type' => 'object',
5557
+ 'location' => 'xml',
5558
+ 'properties' => array(
5559
+ 'Enabled' => array(
5560
+ 'type' => 'boolean',
5561
+ ),
5562
+ 'Quantity' => array(
5563
+ 'type' => 'numeric',
5564
+ ),
5565
+ 'Items' => array(
5566
+ 'type' => 'array',
5567
+ 'items' => array(
5568
+ 'name' => 'Signer',
5569
+ 'type' => 'object',
5570
+ 'sentAs' => 'Signer',
5571
+ 'properties' => array(
5572
+ 'AwsAccountNumber' => array(
5573
+ 'type' => 'string',
5574
+ ),
5575
+ 'KeyPairIds' => array(
5576
+ 'type' => 'object',
5577
+ 'properties' => array(
5578
+ 'Quantity' => array(
5579
+ 'type' => 'numeric',
5580
+ ),
5581
+ 'Items' => array(
5582
+ 'type' => 'array',
5583
+ 'items' => array(
5584
+ 'name' => 'KeyPairId',
5585
+ 'type' => 'string',
5586
+ 'sentAs' => 'KeyPairId',
5587
+ ),
5588
+ ),
5589
+ ),
5590
+ ),
5591
+ ),
5592
+ ),
5593
+ ),
5594
+ ),
5595
+ ),
5596
+ 'StreamingDistributionConfig' => array(
5597
+ 'type' => 'object',
5598
+ 'location' => 'xml',
5599
+ 'properties' => array(
5600
+ 'CallerReference' => array(
5601
+ 'type' => 'string',
5602
+ ),
5603
+ 'S3Origin' => array(
5604
+ 'type' => 'object',
5605
+ 'properties' => array(
5606
+ 'DomainName' => array(
5607
+ 'type' => 'string',
5608
+ ),
5609
+ 'OriginAccessIdentity' => array(
5610
+ 'type' => 'string',
5611
+ ),
5612
+ ),
5613
+ ),
5614
+ 'Aliases' => array(
5615
+ 'type' => 'object',
5616
+ 'properties' => array(
5617
+ 'Quantity' => array(
5618
+ 'type' => 'numeric',
5619
+ ),
5620
+ 'Items' => array(
5621
+ 'type' => 'array',
5622
+ 'items' => array(
5623
+ 'name' => 'CNAME',
5624
+ 'type' => 'string',
5625
+ 'sentAs' => 'CNAME',
5626
+ ),
5627
+ ),
5628
+ ),
5629
+ ),
5630
+ 'Comment' => array(
5631
+ 'type' => 'string',
5632
+ ),
5633
+ 'Logging' => array(
5634
+ 'type' => 'object',
5635
+ 'properties' => array(
5636
+ 'Enabled' => array(
5637
+ 'type' => 'boolean',
5638
+ ),
5639
+ 'Bucket' => array(
5640
+ 'type' => 'string',
5641
+ ),
5642
+ 'Prefix' => array(
5643
+ 'type' => 'string',
5644
+ ),
5645
+ ),
5646
+ ),
5647
+ 'TrustedSigners' => array(
5648
+ 'type' => 'object',
5649
+ 'properties' => array(
5650
+ 'Enabled' => array(
5651
+ 'type' => 'boolean',
5652
+ ),
5653
+ 'Quantity' => array(
5654
+ 'type' => 'numeric',
5655
+ ),
5656
+ 'Items' => array(
5657
+ 'type' => 'array',
5658
+ 'items' => array(
5659
+ 'name' => 'AwsAccountNumber',
5660
+ 'type' => 'string',
5661
+ 'sentAs' => 'AwsAccountNumber',
5662
+ ),
5663
+ ),
5664
+ ),
5665
+ ),
5666
+ 'PriceClass' => array(
5667
+ 'type' => 'string',
5668
+ ),
5669
+ 'Enabled' => array(
5670
+ 'type' => 'boolean',
5671
+ ),
5672
+ ),
5673
+ ),
5674
+ 'ETag' => array(
5675
+ 'type' => 'string',
5676
+ 'location' => 'header',
5677
+ ),
5678
+ 'RequestId' => array(
5679
+ 'location' => 'header',
5680
+ 'sentAs' => 'x-amz-request-id',
5681
+ ),
5682
+ ),
5683
+ ),
5684
+ ),
5685
+ 'iterators' => array(
5686
+ 'ListCloudFrontOriginAccessIdentities' => array(
5687
+ 'input_token' => 'Marker',
5688
+ 'output_token' => 'NextMarker',
5689
+ 'limit_key' => 'MaxItems',
5690
+ 'more_results' => 'IsTruncated',
5691
+ 'result_key' => 'Items',
5692
+ ),
5693
+ 'ListDistributions' => array(
5694
+ 'input_token' => 'Marker',
5695
+ 'output_token' => 'NextMarker',
5696
+ 'limit_key' => 'MaxItems',
5697
+ 'more_results' => 'IsTruncated',
5698
+ 'result_key' => 'Items',
5699
+ ),
5700
+ 'ListInvalidations' => array(
5701
+ 'input_token' => 'Marker',
5702
+ 'output_token' => 'NextMarker',
5703
+ 'limit_key' => 'MaxItems',
5704
+ 'more_results' => 'IsTruncated',
5705
+ 'result_key' => 'Items',
5706
+ ),
5707
+ 'ListStreamingDistributions' => array(
5708
+ 'input_token' => 'Marker',
5709
+ 'output_token' => 'NextMarker',
5710
+ 'limit_key' => 'MaxItems',
5711
+ 'more_results' => 'IsTruncated',
5712
+ 'result_key' => 'Items',
5713
+ ),
5714
+ ),
5715
+ 'waiters' => array(
5716
+ '__default__' => array(
5717
+ 'success.type' => 'output',
5718
+ 'success.path' => 'Status',
5719
+ ),
5720
+ 'StreamingDistributionDeployed' => array(
5721
+ 'operation' => 'GetStreamingDistribution',
5722
+ 'interval' => 60,
5723
+ 'max_attempts' => 25,
5724
+ 'success.value' => 'Deployed',
5725
+ ),
5726
+ 'DistributionDeployed' => array(
5727
+ 'operation' => 'GetDistribution',
5728
+ 'interval' => 60,
5729
+ 'max_attempts' => 25,
5730
+ 'success.value' => 'Deployed',
5731
+ ),
5732
+ 'InvalidationCompleted' => array(
5733
+ 'operation' => 'GetInvalidation',
5734
+ 'interval' => 20,
5735
+ 'max_attempts' => 30,
5736
+ 'success.value' => 'Completed',
5737
+ ),
5738
+ ),
5739
+ );
lib/Aws/Aws/CloudHsm/CloudHsmClient.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\CloudHsm;
18
+
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
+
25
+ /**
26
+ * Client to interact with Amazon CloudHSM
27
+ *
28
+ * @method Model createHapg(array $args = array()) {@command CloudHsm CreateHapg}
29
+ * @method Model createHsm(array $args = array()) {@command CloudHsm CreateHsm}
30
+ * @method Model createLunaClient(array $args = array()) {@command CloudHsm CreateLunaClient}
31
+ * @method Model deleteHapg(array $args = array()) {@command CloudHsm DeleteHapg}
32
+ * @method Model deleteHsm(array $args = array()) {@command CloudHsm DeleteHsm}
33
+ * @method Model deleteLunaClient(array $args = array()) {@command CloudHsm DeleteLunaClient}
34
+ * @method Model describeHapg(array $args = array()) {@command CloudHsm DescribeHapg}
35
+ * @method Model describeHsm(array $args = array()) {@command CloudHsm DescribeHsm}
36
+ * @method Model describeLunaClient(array $args = array()) {@command CloudHsm DescribeLunaClient}
37
+ * @method Model getConfig(array $args = array()) {@command CloudHsm GetConfig}
38
+ * @method Model listAvailableZones(array $args = array()) {@command CloudHsm ListAvailableZones}
39
+ * @method Model listHapgs(array $args = array()) {@command CloudHsm ListHapgs}
40
+ * @method Model listHsms(array $args = array()) {@command CloudHsm ListHsms}
41
+ * @method Model listLunaClients(array $args = array()) {@command CloudHsm ListLunaClients}
42
+ * @method Model modifyHapg(array $args = array()) {@command CloudHsm ModifyHapg}
43
+ * @method Model modifyHsm(array $args = array()) {@command CloudHsm ModifyHsm}
44
+ * @method Model modifyLunaClient(array $args = array()) {@command CloudHsm ModifyLunaClient}
45
+ *
46
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudhsm.html User guide
47
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CloudHsm.CloudHsmClient.html API docs
48
+ */
49
+ class CloudHsmClient extends AbstractClient
50
+ {
51
+ const LATEST_API_VERSION = '2014-05-30';
52
+
53
+ /**
54
+ * Factory method to create a new Amazon CloudHSM client using an array of configuration options.
55
+ *
56
+ * See http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
57
+ *
58
+ * @param array|Collection $config Client configuration data
59
+ *
60
+ * @return self
61
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
62
+ */
63
+ public static function factory($config = array())
64
+ {
65
+ return ClientBuilder::factory(__NAMESPACE__)
66
+ ->setConfig($config)
67
+ ->setConfigDefaults(array(
68
+ Options::VERSION => self::LATEST_API_VERSION,
69
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudhsm-%s.php'
70
+ ))
71
+ ->build();
72
+ }
73
+ }
lib/Aws/Aws/CloudHsm/Exception/CloudHsmException.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\CloudHsm\Exception;
18
+
19
+ use Aws\Common\Exception\ServiceResponseException;
20
+
21
+ /**
22
+ * Default service exception class
23
+ */
24
+ class CloudHsmException extends ServiceResponseException {}
lib/Aws/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php ADDED
@@ -0,0 +1,1178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-05-30',
19
+ 'endpointPrefix' => 'cloudhsm',
20
+ 'serviceFullName' => 'Amazon CloudHSM',
21
+ 'serviceAbbreviation' => 'CloudHSM',
22
+ 'serviceType' => 'json',
23
+ 'targetPrefix' => 'cloudhsm.',
24
+ 'signatureVersion' => 'v4',
25
+ 'namespace' => 'CloudHsm',
26
+ 'operations' => array(
27
+ 'CreateHapg' => array(
28
+ 'httpMethod' => 'POST',
29
+ 'uri' => '/',
30
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
31
+ 'responseClass' => 'CreateHapgResponse',
32
+ 'responseType' => 'model',
33
+ 'parameters' => array(
34
+ 'Content-Type' => array(
35
+ 'static' => true,
36
+ 'location' => 'header',
37
+ 'default' => 'application/x-amz-json-',
38
+ ),
39
+ 'command.expects' => array(
40
+ 'static' => true,
41
+ 'default' => 'application/json',
42
+ ),
43
+ 'X-Amz-Target' => array(
44
+ 'static' => true,
45
+ 'location' => 'header',
46
+ 'default' => 'cloudhsm.CreateHapg',
47
+ ),
48
+ 'Label' => array(
49
+ 'required' => true,
50
+ 'type' => 'string',
51
+ 'location' => 'json',
52
+ ),
53
+ ),
54
+ 'errorResponses' => array(
55
+ array(
56
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
57
+ 'class' => 'CloudHsmServiceException',
58
+ ),
59
+ array(
60
+ 'reason' => 'Indicates that an internal error occurred.',
61
+ 'class' => 'CloudHsmInternalException',
62
+ ),
63
+ array(
64
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
65
+ 'class' => 'InvalidRequestException',
66
+ ),
67
+ ),
68
+ ),
69
+ 'CreateHsm' => array(
70
+ 'httpMethod' => 'POST',
71
+ 'uri' => '/',
72
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
73
+ 'responseClass' => 'CreateHsmResponse',
74
+ 'responseType' => 'model',
75
+ 'parameters' => array(
76
+ 'Content-Type' => array(
77
+ 'static' => true,
78
+ 'location' => 'header',
79
+ 'default' => 'application/x-amz-json-',
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' => 'cloudhsm.CreateHsm',
89
+ ),
90
+ 'SubnetId' => array(
91
+ 'required' => true,
92
+ 'type' => 'string',
93
+ 'location' => 'json',
94
+ ),
95
+ 'SshKey' => array(
96
+ 'required' => true,
97
+ 'type' => 'string',
98
+ 'location' => 'json',
99
+ ),
100
+ 'EniIp' => array(
101
+ 'type' => 'string',
102
+ 'location' => 'json',
103
+ ),
104
+ 'IamRoleArn' => array(
105
+ 'required' => true,
106
+ 'type' => 'string',
107
+ 'location' => 'json',
108
+ ),
109
+ 'ExternalId' => array(
110
+ 'type' => 'string',
111
+ 'location' => 'json',
112
+ ),
113
+ 'SubscriptionType' => array(
114
+ 'required' => true,
115
+ 'type' => 'string',
116
+ 'location' => 'json',
117
+ ),
118
+ 'ClientToken' => array(
119
+ 'type' => 'string',
120
+ 'location' => 'json',
121
+ ),
122
+ 'SyslogIp' => array(
123
+ 'type' => 'string',
124
+ 'location' => 'json',
125
+ ),
126
+ ),
127
+ 'errorResponses' => array(
128
+ array(
129
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
130
+ 'class' => 'CloudHsmServiceException',
131
+ ),
132
+ array(
133
+ 'reason' => 'Indicates that an internal error occurred.',
134
+ 'class' => 'CloudHsmInternalException',
135
+ ),
136
+ array(
137
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
138
+ 'class' => 'InvalidRequestException',
139
+ ),
140
+ ),
141
+ ),
142
+ 'CreateLunaClient' => array(
143
+ 'httpMethod' => 'POST',
144
+ 'uri' => '/',
145
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
146
+ 'responseClass' => 'CreateLunaClientResponse',
147
+ 'responseType' => 'model',
148
+ 'parameters' => array(
149
+ 'Content-Type' => array(
150
+ 'static' => true,
151
+ 'location' => 'header',
152
+ 'default' => 'application/x-amz-json-',
153
+ ),
154
+ 'command.expects' => array(
155
+ 'static' => true,
156
+ 'default' => 'application/json',
157
+ ),
158
+ 'X-Amz-Target' => array(
159
+ 'static' => true,
160
+ 'location' => 'header',
161
+ 'default' => 'cloudhsm.CreateLunaClient',
162
+ ),
163
+ 'Label' => array(
164
+ 'type' => 'string',
165
+ 'location' => 'json',
166
+ ),
167
+ 'Certificate' => array(
168
+ 'required' => true,
169
+ 'type' => 'string',
170
+ 'location' => 'json',
171
+ 'minLength' => 600,
172
+ 'maxLength' => 2400,
173
+ ),
174
+ ),
175
+ 'errorResponses' => array(
176
+ array(
177
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
178
+ 'class' => 'CloudHsmServiceException',
179
+ ),
180
+ array(
181
+ 'reason' => 'Indicates that an internal error occurred.',
182
+ 'class' => 'CloudHsmInternalException',
183
+ ),
184
+ array(
185
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
186
+ 'class' => 'InvalidRequestException',
187
+ ),
188
+ ),
189
+ ),
190
+ 'DeleteHapg' => array(
191
+ 'httpMethod' => 'POST',
192
+ 'uri' => '/',
193
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
194
+ 'responseClass' => 'DeleteHapgResponse',
195
+ 'responseType' => 'model',
196
+ 'parameters' => array(
197
+ 'Content-Type' => array(
198
+ 'static' => true,
199
+ 'location' => 'header',
200
+ 'default' => 'application/x-amz-json-',
201
+ ),
202
+ 'command.expects' => array(
203
+ 'static' => true,
204
+ 'default' => 'application/json',
205
+ ),
206
+ 'X-Amz-Target' => array(
207
+ 'static' => true,
208
+ 'location' => 'header',
209
+ 'default' => 'cloudhsm.DeleteHapg',
210
+ ),
211
+ 'HapgArn' => array(
212
+ 'required' => true,
213
+ 'type' => 'string',
214
+ 'location' => 'json',
215
+ ),
216
+ ),
217
+ 'errorResponses' => array(
218
+ array(
219
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
220
+ 'class' => 'CloudHsmServiceException',
221
+ ),
222
+ array(
223
+ 'reason' => 'Indicates that an internal error occurred.',
224
+ 'class' => 'CloudHsmInternalException',
225
+ ),
226
+ array(
227
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
228
+ 'class' => 'InvalidRequestException',
229
+ ),
230
+ ),
231
+ ),
232
+ 'DeleteHsm' => array(
233
+ 'httpMethod' => 'POST',
234
+ 'uri' => '/',
235
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
236
+ 'responseClass' => 'DeleteHsmResponse',
237
+ 'responseType' => 'model',
238
+ 'parameters' => array(
239
+ 'Content-Type' => array(
240
+ 'static' => true,
241
+ 'location' => 'header',
242
+ 'default' => 'application/x-amz-json-',
243
+ ),
244
+ 'command.expects' => array(
245
+ 'static' => true,
246
+ 'default' => 'application/json',
247
+ ),
248
+ 'X-Amz-Target' => array(
249
+ 'static' => true,
250
+ 'location' => 'header',
251
+ 'default' => 'cloudhsm.DeleteHsm',
252
+ ),
253
+ 'HsmArn' => array(
254
+ 'required' => true,
255
+ 'type' => 'string',
256
+ 'location' => 'json',
257
+ ),
258
+ ),
259
+ 'errorResponses' => array(
260
+ array(
261
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
262
+ 'class' => 'CloudHsmServiceException',
263
+ ),
264
+ array(
265
+ 'reason' => 'Indicates that an internal error occurred.',
266
+ 'class' => 'CloudHsmInternalException',
267
+ ),
268
+ array(
269
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
270
+ 'class' => 'InvalidRequestException',
271
+ ),
272
+ ),
273
+ ),
274
+ 'DeleteLunaClient' => array(
275
+ 'httpMethod' => 'POST',
276
+ 'uri' => '/',
277
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
278
+ 'responseClass' => 'DeleteLunaClientResponse',
279
+ 'responseType' => 'model',
280
+ 'parameters' => array(
281
+ 'Content-Type' => array(
282
+ 'static' => true,
283
+ 'location' => 'header',
284
+ 'default' => 'application/x-amz-json-',
285
+ ),
286
+ 'command.expects' => array(
287
+ 'static' => true,
288
+ 'default' => 'application/json',
289
+ ),
290
+ 'X-Amz-Target' => array(
291
+ 'static' => true,
292
+ 'location' => 'header',
293
+ 'default' => 'cloudhsm.DeleteLunaClient',
294
+ ),
295
+ 'ClientArn' => array(
296
+ 'required' => true,
297
+ 'type' => 'string',
298
+ 'location' => 'json',
299
+ ),
300
+ ),
301
+ 'errorResponses' => array(
302
+ array(
303
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
304
+ 'class' => 'CloudHsmServiceException',
305
+ ),
306
+ array(
307
+ 'reason' => 'Indicates that an internal error occurred.',
308
+ 'class' => 'CloudHsmInternalException',
309
+ ),
310
+ array(
311
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
312
+ 'class' => 'InvalidRequestException',
313
+ ),
314
+ ),
315
+ ),
316
+ 'DescribeHapg' => array(
317
+ 'httpMethod' => 'POST',
318
+ 'uri' => '/',
319
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
320
+ 'responseClass' => 'DescribeHapgResponse',
321
+ 'responseType' => 'model',
322
+ 'parameters' => array(
323
+ 'Content-Type' => array(
324
+ 'static' => true,
325
+ 'location' => 'header',
326
+ 'default' => 'application/x-amz-json-',
327
+ ),
328
+ 'command.expects' => array(
329
+ 'static' => true,
330
+ 'default' => 'application/json',
331
+ ),
332
+ 'X-Amz-Target' => array(
333
+ 'static' => true,
334
+ 'location' => 'header',
335
+ 'default' => 'cloudhsm.DescribeHapg',
336
+ ),
337
+ 'HapgArn' => array(
338
+ 'required' => true,
339
+ 'type' => 'string',
340
+ 'location' => 'json',
341
+ ),
342
+ ),
343
+ 'errorResponses' => array(
344
+ array(
345
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
346
+ 'class' => 'CloudHsmServiceException',
347
+ ),
348
+ array(
349
+ 'reason' => 'Indicates that an internal error occurred.',
350
+ 'class' => 'CloudHsmInternalException',
351
+ ),
352
+ array(
353
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
354
+ 'class' => 'InvalidRequestException',
355
+ ),
356
+ ),
357
+ ),
358
+ 'DescribeHsm' => array(
359
+ 'httpMethod' => 'POST',
360
+ 'uri' => '/',
361
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
362
+ 'responseClass' => 'DescribeHsmResponse',
363
+ 'responseType' => 'model',
364
+ 'parameters' => array(
365
+ 'Content-Type' => array(
366
+ 'static' => true,
367
+ 'location' => 'header',
368
+ 'default' => 'application/x-amz-json-',
369
+ ),
370
+ 'command.expects' => array(
371
+ 'static' => true,
372
+ 'default' => 'application/json',
373
+ ),
374
+ 'X-Amz-Target' => array(
375
+ 'static' => true,
376
+ 'location' => 'header',
377
+ 'default' => 'cloudhsm.DescribeHsm',
378
+ ),
379
+ 'HsmArn' => array(
380
+ 'type' => 'string',
381
+ 'location' => 'json',
382
+ ),
383
+ 'HsmSerialNumber' => array(
384
+ 'type' => 'string',
385
+ 'location' => 'json',
386
+ ),
387
+ ),
388
+ 'errorResponses' => array(
389
+ array(
390
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
391
+ 'class' => 'CloudHsmServiceException',
392
+ ),
393
+ array(
394
+ 'reason' => 'Indicates that an internal error occurred.',
395
+ 'class' => 'CloudHsmInternalException',
396
+ ),
397
+ array(
398
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
399
+ 'class' => 'InvalidRequestException',
400
+ ),
401
+ ),
402
+ ),
403
+ 'DescribeLunaClient' => array(
404
+ 'httpMethod' => 'POST',
405
+ 'uri' => '/',
406
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
407
+ 'responseClass' => 'DescribeLunaClientResponse',
408
+ 'responseType' => 'model',
409
+ 'parameters' => array(
410
+ 'Content-Type' => array(
411
+ 'static' => true,
412
+ 'location' => 'header',
413
+ 'default' => 'application/x-amz-json-',
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' => 'cloudhsm.DescribeLunaClient',
423
+ ),
424
+ 'ClientArn' => array(
425
+ 'type' => 'string',
426
+ 'location' => 'json',
427
+ ),
428
+ 'CertificateFingerprint' => array(
429
+ 'type' => 'string',
430
+ 'location' => 'json',
431
+ ),
432
+ ),
433
+ 'errorResponses' => array(
434
+ array(
435
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
436
+ 'class' => 'CloudHsmServiceException',
437
+ ),
438
+ array(
439
+ 'reason' => 'Indicates that an internal error occurred.',
440
+ 'class' => 'CloudHsmInternalException',
441
+ ),
442
+ array(
443
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
444
+ 'class' => 'InvalidRequestException',
445
+ ),
446
+ ),
447
+ ),
448
+ 'GetConfig' => array(
449
+ 'httpMethod' => 'POST',
450
+ 'uri' => '/',
451
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
452
+ 'responseClass' => 'GetConfigResponse',
453
+ 'responseType' => 'model',
454
+ 'parameters' => array(
455
+ 'Content-Type' => array(
456
+ 'static' => true,
457
+ 'location' => 'header',
458
+ 'default' => 'application/x-amz-json-',
459
+ ),
460
+ 'command.expects' => array(
461
+ 'static' => true,
462
+ 'default' => 'application/json',
463
+ ),
464
+ 'X-Amz-Target' => array(
465
+ 'static' => true,
466
+ 'location' => 'header',
467
+ 'default' => 'cloudhsm.GetConfig',
468
+ ),
469
+ 'ClientArn' => array(
470
+ 'required' => true,
471
+ 'type' => 'string',
472
+ 'location' => 'json',
473
+ ),
474
+ 'ClientVersion' => array(
475
+ 'required' => true,
476
+ 'type' => 'string',
477
+ 'location' => 'json',
478
+ ),
479
+ 'HapgList' => array(
480
+ 'required' => true,
481
+ 'type' => 'array',
482
+ 'location' => 'json',
483
+ 'items' => array(
484
+ 'name' => 'HapgArn',
485
+ 'type' => 'string',
486
+ ),
487
+ ),
488
+ ),
489
+ 'errorResponses' => array(
490
+ array(
491
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
492
+ 'class' => 'CloudHsmServiceException',
493
+ ),
494
+ array(
495
+ 'reason' => 'Indicates that an internal error occurred.',
496
+ 'class' => 'CloudHsmInternalException',
497
+ ),
498
+ array(
499
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
500
+ 'class' => 'InvalidRequestException',
501
+ ),
502
+ ),
503
+ ),
504
+ 'ListAvailableZones' => array(
505
+ 'httpMethod' => 'POST',
506
+ 'uri' => '/',
507
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
508
+ 'responseClass' => 'ListAvailableZonesResponse',
509
+ 'responseType' => 'model',
510
+ 'parameters' => array(
511
+ 'Content-Type' => array(
512
+ 'static' => true,
513
+ 'location' => 'header',
514
+ 'default' => 'application/x-amz-json-',
515
+ ),
516
+ 'command.expects' => array(
517
+ 'static' => true,
518
+ 'default' => 'application/json',
519
+ ),
520
+ 'X-Amz-Target' => array(
521
+ 'static' => true,
522
+ 'location' => 'header',
523
+ 'default' => 'cloudhsm.ListAvailableZones',
524
+ ),
525
+ ),
526
+ 'errorResponses' => array(
527
+ array(
528
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
529
+ 'class' => 'CloudHsmServiceException',
530
+ ),
531
+ array(
532
+ 'reason' => 'Indicates that an internal error occurred.',
533
+ 'class' => 'CloudHsmInternalException',
534
+ ),
535
+ array(
536
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
537
+ 'class' => 'InvalidRequestException',
538
+ ),
539
+ ),
540
+ ),
541
+ 'ListHapgs' => array(
542
+ 'httpMethod' => 'POST',
543
+ 'uri' => '/',
544
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
545
+ 'responseClass' => 'ListHapgsResponse',
546
+ 'responseType' => 'model',
547
+ 'parameters' => array(
548
+ 'Content-Type' => array(
549
+ 'static' => true,
550
+ 'location' => 'header',
551
+ 'default' => 'application/x-amz-json-',
552
+ ),
553
+ 'command.expects' => array(
554
+ 'static' => true,
555
+ 'default' => 'application/json',
556
+ ),
557
+ 'X-Amz-Target' => array(
558
+ 'static' => true,
559
+ 'location' => 'header',
560
+ 'default' => 'cloudhsm.ListHapgs',
561
+ ),
562
+ 'NextToken' => array(
563
+ 'type' => 'string',
564
+ 'location' => 'json',
565
+ ),
566
+ ),
567
+ 'errorResponses' => array(
568
+ array(
569
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
570
+ 'class' => 'CloudHsmServiceException',
571
+ ),
572
+ array(
573
+ 'reason' => 'Indicates that an internal error occurred.',
574
+ 'class' => 'CloudHsmInternalException',
575
+ ),
576
+ array(
577
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
578
+ 'class' => 'InvalidRequestException',
579
+ ),
580
+ ),
581
+ ),
582
+ 'ListHsms' => array(
583
+ 'httpMethod' => 'POST',
584
+ 'uri' => '/',
585
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
586
+ 'responseClass' => 'ListHsmsResponse',
587
+ 'responseType' => 'model',
588
+ 'parameters' => array(
589
+ 'Content-Type' => array(
590
+ 'static' => true,
591
+ 'location' => 'header',
592
+ 'default' => 'application/x-amz-json-',
593
+ ),
594
+ 'command.expects' => array(
595
+ 'static' => true,
596
+ 'default' => 'application/json',
597
+ ),
598
+ 'X-Amz-Target' => array(
599
+ 'static' => true,
600
+ 'location' => 'header',
601
+ 'default' => 'cloudhsm.ListHsms',
602
+ ),
603
+ 'NextToken' => array(
604
+ 'type' => 'string',
605
+ 'location' => 'json',
606
+ ),
607
+ ),
608
+ 'errorResponses' => array(
609
+ array(
610
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
611
+ 'class' => 'CloudHsmServiceException',
612
+ ),
613
+ array(
614
+ 'reason' => 'Indicates that an internal error occurred.',
615
+ 'class' => 'CloudHsmInternalException',
616
+ ),
617
+ array(
618
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
619
+ 'class' => 'InvalidRequestException',
620
+ ),
621
+ ),
622
+ ),
623
+ 'ListLunaClients' => array(
624
+ 'httpMethod' => 'POST',
625
+ 'uri' => '/',
626
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
627
+ 'responseClass' => 'ListLunaClientsResponse',
628
+ 'responseType' => 'model',
629
+ 'parameters' => array(
630
+ 'Content-Type' => array(
631
+ 'static' => true,
632
+ 'location' => 'header',
633
+ 'default' => 'application/x-amz-json-',
634
+ ),
635
+ 'command.expects' => array(
636
+ 'static' => true,
637
+ 'default' => 'application/json',
638
+ ),
639
+ 'X-Amz-Target' => array(
640
+ 'static' => true,
641
+ 'location' => 'header',
642
+ 'default' => 'cloudhsm.ListLunaClients',
643
+ ),
644
+ 'NextToken' => array(
645
+ 'type' => 'string',
646
+ 'location' => 'json',
647
+ ),
648
+ ),
649
+ 'errorResponses' => array(
650
+ array(
651
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
652
+ 'class' => 'CloudHsmServiceException',
653
+ ),
654
+ array(
655
+ 'reason' => 'Indicates that an internal error occurred.',
656
+ 'class' => 'CloudHsmInternalException',
657
+ ),
658
+ array(
659
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
660
+ 'class' => 'InvalidRequestException',
661
+ ),
662
+ ),
663
+ ),
664
+ 'ModifyHapg' => array(
665
+ 'httpMethod' => 'POST',
666
+ 'uri' => '/',
667
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
668
+ 'responseClass' => 'ModifyHapgResponse',
669
+ 'responseType' => 'model',
670
+ 'parameters' => array(
671
+ 'Content-Type' => array(
672
+ 'static' => true,
673
+ 'location' => 'header',
674
+ 'default' => 'application/x-amz-json-',
675
+ ),
676
+ 'command.expects' => array(
677
+ 'static' => true,
678
+ 'default' => 'application/json',
679
+ ),
680
+ 'X-Amz-Target' => array(
681
+ 'static' => true,
682
+ 'location' => 'header',
683
+ 'default' => 'cloudhsm.ModifyHapg',
684
+ ),
685
+ 'HapgArn' => array(
686
+ 'required' => true,
687
+ 'type' => 'string',
688
+ 'location' => 'json',
689
+ ),
690
+ 'Label' => array(
691
+ 'type' => 'string',
692
+ 'location' => 'json',
693
+ ),
694
+ 'PartitionSerialList' => array(
695
+ 'type' => 'array',
696
+ 'location' => 'json',
697
+ 'items' => array(
698
+ 'name' => 'PartitionSerial',
699
+ 'type' => 'string',
700
+ ),
701
+ ),
702
+ ),
703
+ 'errorResponses' => array(
704
+ array(
705
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
706
+ 'class' => 'CloudHsmServiceException',
707
+ ),
708
+ array(
709
+ 'reason' => 'Indicates that an internal error occurred.',
710
+ 'class' => 'CloudHsmInternalException',
711
+ ),
712
+ array(
713
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
714
+ 'class' => 'InvalidRequestException',
715
+ ),
716
+ ),
717
+ ),
718
+ 'ModifyHsm' => array(
719
+ 'httpMethod' => 'POST',
720
+ 'uri' => '/',
721
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
722
+ 'responseClass' => 'ModifyHsmResponse',
723
+ 'responseType' => 'model',
724
+ 'parameters' => array(
725
+ 'Content-Type' => array(
726
+ 'static' => true,
727
+ 'location' => 'header',
728
+ 'default' => 'application/x-amz-json-',
729
+ ),
730
+ 'command.expects' => array(
731
+ 'static' => true,
732
+ 'default' => 'application/json',
733
+ ),
734
+ 'X-Amz-Target' => array(
735
+ 'static' => true,
736
+ 'location' => 'header',
737
+ 'default' => 'cloudhsm.ModifyHsm',
738
+ ),
739
+ 'HsmArn' => array(
740
+ 'required' => true,
741
+ 'type' => 'string',
742
+ 'location' => 'json',
743
+ ),
744
+ 'SubnetId' => array(
745
+ 'type' => 'string',
746
+ 'location' => 'json',
747
+ ),
748
+ 'EniIp' => array(
749
+ 'type' => 'string',
750
+ 'location' => 'json',
751
+ ),
752
+ 'IamRoleArn' => array(
753
+ 'type' => 'string',
754
+ 'location' => 'json',
755
+ ),
756
+ 'ExternalId' => array(
757
+ 'type' => 'string',
758
+ 'location' => 'json',
759
+ ),
760
+ 'SyslogIp' => array(
761
+ 'type' => 'string',
762
+ 'location' => 'json',
763
+ ),
764
+ ),
765
+ 'errorResponses' => array(
766
+ array(
767
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
768
+ 'class' => 'CloudHsmServiceException',
769
+ ),
770
+ array(
771
+ 'reason' => 'Indicates that an internal error occurred.',
772
+ 'class' => 'CloudHsmInternalException',
773
+ ),
774
+ array(
775
+ 'reason' => 'Indicates that one or more of the request parameters are not valid.',
776
+ 'class' => 'InvalidRequestException',
777
+ ),
778
+ ),
779
+ ),
780
+ 'ModifyLunaClient' => array(
781
+ 'httpMethod' => 'POST',
782
+ 'uri' => '/',
783
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
784
+ 'responseClass' => 'ModifyLunaClientResponse',
785
+ 'responseType' => 'model',
786
+ 'parameters' => array(
787
+ 'Content-Type' => array(
788
+ 'static' => true,
789
+ 'location' => 'header',
790
+ 'default' => 'application/x-amz-json-',
791
+ ),
792
+ 'command.expects' => array(
793
+ 'static' => true,
794
+ 'default' => 'application/json',
795
+ ),
796
+ 'X-Amz-Target' => array(
797
+ 'static' => true,
798
+ 'location' => 'header',
799
+ 'default' => 'cloudhsm.ModifyLunaClient',
800
+ ),
801
+ 'ClientArn' => array(
802
+ 'required' => true,
803
+ 'type' => 'string',
804
+ 'location' => 'json',
805
+ ),
806
+ 'Certificate' => array(
807
+ 'required' => true,
808
+ 'type' => 'string',
809
+ 'location' => 'json',
810
+ 'minLength' => 600,
811
+ 'maxLength' => 2400,
812
+ ),
813
+ ),
814
+ 'errorResponses' => array(
815
+ array(
816
+ 'reason' => 'Indicates that an exception occurred in the AWS CloudHSM service.',
817
+ 'class' => 'CloudHsmServiceException',
818
+ ),
819
+ ),
820
+ ),
821
+ ),
822
+ 'models' => array(
823
+ 'CreateHapgResponse' => array(
824
+ 'type' => 'object',
825
+ 'additionalProperties' => true,
826
+ 'properties' => array(
827
+ 'HapgArn' => array(
828
+ 'type' => 'string',
829
+ 'location' => 'json',
830
+ ),
831
+ ),
832
+ ),
833
+ 'CreateHsmResponse' => array(
834
+ 'type' => 'object',
835
+ 'additionalProperties' => true,
836
+ 'properties' => array(
837
+ 'HsmArn' => array(
838
+ 'type' => 'string',
839
+ 'location' => 'json',
840
+ ),
841
+ ),
842
+ ),
843
+ 'CreateLunaClientResponse' => array(
844
+ 'type' => 'object',
845
+ 'additionalProperties' => true,
846
+ 'properties' => array(
847
+ 'ClientArn' => array(
848
+ 'type' => 'string',
849
+ 'location' => 'json',
850
+ ),
851
+ ),
852
+ ),
853
+ 'DeleteHapgResponse' => array(
854
+ 'type' => 'object',
855
+ 'additionalProperties' => true,
856
+ 'properties' => array(
857
+ 'Status' => array(
858
+ 'type' => 'string',
859
+ 'location' => 'json',
860
+ ),
861
+ ),
862
+ ),
863
+ 'DeleteHsmResponse' => array(
864
+ 'type' => 'object',
865
+ 'additionalProperties' => true,
866
+ 'properties' => array(
867
+ 'Status' => array(
868
+ 'type' => 'string',
869
+ 'location' => 'json',
870
+ ),
871
+ ),
872
+ ),
873
+ 'DeleteLunaClientResponse' => array(
874
+ 'type' => 'object',
875
+ 'additionalProperties' => true,
876
+ 'properties' => array(
877
+ 'Status' => array(
878
+ 'type' => 'string',
879
+ 'location' => 'json',
880
+ ),
881
+ ),
882
+ ),
883
+ 'DescribeHapgResponse' => array(
884
+ 'type' => 'object',
885
+ 'additionalProperties' => true,
886
+ 'properties' => array(
887
+ 'HapgArn' => array(
888
+ 'type' => 'string',
889
+ 'location' => 'json',
890
+ ),
891
+ 'HapgSerial' => array(
892
+ 'type' => 'string',
893
+ 'location' => 'json',
894
+ ),
895
+ 'HsmsLastActionFailed' => array(
896
+ 'type' => 'array',
897
+ 'location' => 'json',
898
+ 'items' => array(
899
+ 'name' => 'HsmArn',
900
+ 'type' => 'string',
901
+ ),
902
+ ),
903
+ 'HsmsPendingDeletion' => array(
904
+ 'type' => 'array',
905
+ 'location' => 'json',
906
+ 'items' => array(
907
+ 'name' => 'HsmArn',
908
+ 'type' => 'string',
909
+ ),
910
+ ),
911
+ 'HsmsPendingRegistration' => array(
912
+ 'type' => 'array',
913
+ 'location' => 'json',
914
+ 'items' => array(
915
+ 'name' => 'HsmArn',
916
+ 'type' => 'string',
917
+ ),
918
+ ),
919
+ 'Label' => array(
920
+ 'type' => 'string',
921
+ 'location' => 'json',
922
+ ),
923
+ 'LastModifiedTimestamp' => array(
924
+ 'type' => 'string',
925
+ 'location' => 'json',
926
+ ),
927
+ 'PartitionSerialList' => array(
928
+ 'type' => 'array',
929
+ 'location' => 'json',
930
+ 'items' => array(
931
+ 'name' => 'PartitionSerial',
932
+ 'type' => 'string',
933
+ ),
934
+ ),
935
+ 'State' => array(
936
+ 'type' => 'string',
937
+ 'location' => 'json',
938
+ ),
939
+ ),
940
+ ),
941
+ 'DescribeHsmResponse' => array(
942
+ 'type' => 'object',
943
+ 'additionalProperties' => true,
944
+ 'properties' => array(
945
+ 'HsmArn' => array(
946
+ 'type' => 'string',
947
+ 'location' => 'json',
948
+ ),
949
+ 'Status' => array(
950
+ 'type' => 'string',
951
+ 'location' => 'json',
952
+ ),
953
+ 'StatusDetails' => array(
954
+ 'type' => 'string',
955
+ 'location' => 'json',
956
+ ),
957
+ 'AvailabilityZone' => array(
958
+ 'type' => 'string',
959
+ 'location' => 'json',
960
+ ),
961
+ 'EniId' => array(
962
+ 'type' => 'string',
963
+ 'location' => 'json',
964
+ ),
965
+ 'EniIp' => array(
966
+ 'type' => 'string',
967
+ 'location' => 'json',
968
+ ),
969
+ 'SubscriptionType' => array(
970
+ 'type' => 'string',
971
+ 'location' => 'json',
972
+ ),
973
+ 'SubscriptionStartDate' => array(
974
+ 'type' => 'string',
975
+ 'location' => 'json',
976
+ ),
977
+ 'SubscriptionEndDate' => array(
978
+ 'type' => 'string',
979
+ 'location' => 'json',
980
+ ),
981
+ 'VpcId' => array(
982
+ 'type' => 'string',
983
+ 'location' => 'json',
984
+ ),
985
+ 'SubnetId' => array(
986
+ 'type' => 'string',
987
+ 'location' => 'json',
988
+ ),
989
+ 'IamRoleArn' => array(
990
+ 'type' => 'string',
991
+ 'location' => 'json',
992
+ ),
993
+ 'SerialNumber' => array(
994
+ 'type' => 'string',
995
+ 'location' => 'json',
996
+ ),
997
+ 'VendorName' => array(
998
+ 'type' => 'string',
999
+ 'location' => 'json',
1000
+ ),
1001
+ 'HsmType' => array(
1002
+ 'type' => 'string',
1003
+ 'location' => 'json',
1004
+ ),
1005
+ 'SoftwareVersion' => array(
1006
+ 'type' => 'string',
1007
+ 'location' => 'json',
1008
+ ),
1009
+ 'SshPublicKey' => array(
1010
+ 'type' => 'string',
1011
+ 'location' => 'json',
1012
+ ),
1013
+ 'SshKeyLastUpdated' => array(
1014
+ 'type' => 'string',
1015
+ 'location' => 'json',
1016
+ ),
1017
+ 'ServerCertUri' => array(
1018
+ 'type' => 'string',
1019
+ 'location' => 'json',
1020
+ ),
1021
+ 'ServerCertLastUpdated' => array(
1022
+ 'type' => 'string',
1023
+ 'location' => 'json',
1024
+ ),
1025
+ 'Partitions' => array(
1026
+ 'type' => 'array',
1027
+ 'location' => 'json',
1028
+ 'items' => array(
1029
+ 'name' => 'PartitionArn',
1030
+ 'type' => 'string',
1031
+ ),
1032
+ ),
1033
+ ),
1034
+ ),
1035
+ 'DescribeLunaClientResponse' => array(
1036
+ 'type' => 'object',
1037
+ 'additionalProperties' => true,
1038
+ 'properties' => array(
1039
+ 'ClientArn' => array(
1040
+ 'type' => 'string',
1041
+ 'location' => 'json',
1042
+ ),
1043
+ 'Certificate' => array(
1044
+ 'type' => 'string',
1045
+ 'location' => 'json',
1046
+ ),
1047
+ 'CertificateFingerprint' => array(
1048
+ 'type' => 'string',
1049
+ 'location' => 'json',
1050
+ ),
1051
+ 'LastModifiedTimestamp' => array(
1052
+ 'type' => 'string',
1053
+ 'location' => 'json',
1054
+ ),
1055
+ 'Label' => array(
1056
+ 'type' => 'string',
1057
+ 'location' => 'json',
1058
+ ),
1059
+ ),
1060
+ ),
1061
+ 'GetConfigResponse' => array(
1062
+ 'type' => 'object',
1063
+ 'additionalProperties' => true,
1064
+ 'properties' => array(
1065
+ 'ConfigType' => array(
1066
+ 'type' => 'string',
1067
+ 'location' => 'json',
1068
+ ),
1069
+ 'ConfigFile' => array(
1070
+ 'type' => 'string',
1071
+ 'location' => 'json',
1072
+ ),
1073
+ 'ConfigCred' => array(
1074
+ 'type' => 'string',
1075
+ 'location' => 'json',
1076
+ ),
1077
+ ),
1078
+ ),
1079
+ 'ListAvailableZonesResponse' => array(
1080
+ 'type' => 'object',
1081
+ 'additionalProperties' => true,
1082
+ 'properties' => array(
1083
+ 'AZList' => array(
1084
+ 'type' => 'array',
1085
+ 'location' => 'json',
1086
+ 'items' => array(
1087
+ 'name' => 'AZ',
1088
+ 'type' => 'string',
1089
+ ),
1090
+ ),
1091
+ ),
1092
+ ),
1093
+ 'ListHapgsResponse' => array(
1094
+ 'type' => 'object',
1095
+ 'additionalProperties' => true,
1096
+ 'properties' => array(
1097
+ 'HapgList' => array(
1098
+ 'type' => 'array',
1099
+ 'location' => 'json',
1100
+ 'items' => array(
1101
+ 'name' => 'HapgArn',
1102
+ 'type' => 'string',
1103
+ ),
1104
+ ),
1105
+ 'NextToken' => array(
1106
+ 'type' => 'string',
1107
+ 'location' => 'json',
1108
+ ),
1109
+ ),
1110
+ ),
1111
+ 'ListHsmsResponse' => array(
1112
+ 'type' => 'object',
1113
+ 'additionalProperties' => true,
1114
+ 'properties' => array(
1115
+ 'HsmList' => array(
1116
+ 'type' => 'array',
1117
+ 'location' => 'json',
1118
+ 'items' => array(
1119
+ 'name' => 'HsmArn',
1120
+ 'type' => 'string',
1121
+ ),
1122
+ ),
1123
+ 'NextToken' => array(
1124
+ 'type' => 'string',
1125
+ 'location' => 'json',
1126
+ ),
1127
+ ),
1128
+ ),
1129
+ 'ListLunaClientsResponse' => array(
1130
+ 'type' => 'object',
1131
+ 'additionalProperties' => true,
1132
+ 'properties' => array(
1133
+ 'ClientList' => array(
1134
+ 'type' => 'array',
1135
+ 'location' => 'json',
1136
+ 'items' => array(
1137
+ 'name' => 'ClientArn',
1138
+ 'type' => 'string',
1139
+ ),
1140
+ ),
1141
+ 'NextToken' => array(
1142
+ 'type' => 'string',
1143
+ 'location' => 'json',
1144
+ ),
1145
+ ),
1146
+ ),
1147
+ 'ModifyHapgResponse' => array(
1148
+ 'type' => 'object',
1149
+ 'additionalProperties' => true,
1150
+ 'properties' => array(
1151
+ 'HapgArn' => array(
1152
+ 'type' => 'string',
1153
+ 'location' => 'json',
1154
+ ),
1155
+ ),
1156
+ ),
1157
+ 'ModifyHsmResponse' => array(
1158
+ 'type' => 'object',
1159
+ 'additionalProperties' => true,
1160
+ 'properties' => array(
1161
+ 'HsmArn' => array(
1162
+ 'type' => 'string',
1163
+ 'location' => 'json',
1164
+ ),
1165
+ ),
1166
+ ),
1167
+ 'ModifyLunaClientResponse' => array(
1168
+ 'type' => 'object',
1169
+ 'additionalProperties' => true,
1170
+ 'properties' => array(
1171
+ 'ClientArn' => array(
1172
+ 'type' => 'string',
1173
+ 'location' => 'json',
1174
+ ),
1175
+ ),
1176
+ ),
1177
+ ),
1178
+ );
lib/Aws/Aws/CloudSearch/CloudSearchClient.php ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\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;
23
+ use Guzzle\Common\Collection;
24
+ use Guzzle\Service\Resource\Model;
25
+ use Guzzle\Service\Resource\ResourceIteratorInterface;
26
+
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.
69
+ *
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
+ return ClientBuilder::factory(__NAMESPACE__)
78
+ ->setConfig($config)
79
+ ->setConfigDefaults(array(
80
+ Options::VERSION => self::LATEST_API_VERSION,
81
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudsearch-%s.php'
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
+ }
lib/Aws/Aws/CloudSearch/Enum/IndexFieldType.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\CloudSearch\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable IndexFieldType values
23
+ */
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
+ }
lib/Aws/Aws/CloudSearch/Enum/OptionState.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\CloudSearch\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable OptionState values
23
+ */
24
+ class OptionState extends Enum
25
+ {
26
+ const REQUIRES_INDEX_DOCUMENTS = 'RequiresIndexDocuments';
27
+ const PROCESSING = 'Processing';
28
+ const ACTIVE = 'Active';
29
+ const FAILED_TO_VALIDATE = 'FailedToValidate';
30
+ }
lib/Aws/Aws/CloudSearch/Enum/SearchInstanceType.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\CloudSearch\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable SearchInstanceType values
23
+ */
24
+ class SearchInstanceType extends Enum
25
+ {
26
+ const SEARCH_INSTANCET1_MICRO = 'SearchInstance:t1.micro';
27
+ const SEARCH_INSTANCEM1_SMALL = 'SearchInstance:m1.small';
28
+ const SEARCH_INSTANCEM1_LARGE = 'SearchInstance:m1.large';
29
+ const SEARCH_INSTANCEM2_XLARGE = 'SearchInstance:m2.xlarge';
30
+ }
lib/Aws/Aws/CloudSearch/Enum/SourceDataFunction.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\CloudSearch\Enum;
18
+
19
+ use Aws\Common\Enum;
20
+
21
+ /**
22
+ * Contains enumerable SourceDataFunction values
23
+ */
24
+ class SourceDataFunction extends Enum
25
+ {
26
+ const COPY = 'Copy';
27
+ const TRIM_TITLE = 'TrimTitle';
28
+ const MAP = 'Map';
29
+ }
lib/Aws/Aws/CloudSearch/Exception/BaseException.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\CloudSearch\Exception;
18
+
19
+ /**
20
+ * An error occurred while processing the request.
21
+ */
22
+ class BaseException extends CloudSearchException {}
lib/Aws/Aws/CloudSearch/Exception/CloudSearchException.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\CloudSearch\Exception;
18
+
19
+ use Aws\Common\Exception\ServiceResponseException;
20
+
21
+ /**
22
+ * Default service exception class
23
+ */
24
+ class CloudSearchException extends ServiceResponseException {}
lib/Aws/Aws/CloudSearch/Exception/InternalException.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\CloudSearch\Exception;
18
+
19
+ /**
20
+ * An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.
21
+ */
22
+ class InternalException extends CloudSearchException {}
lib/Aws/Aws/CloudSearch/Exception/InvalidTypeException.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\CloudSearch\Exception;
18
+
19
+ /**
20
+ * The request was rejected because it specified an invalid type definition.
21
+ */
22
+ class InvalidTypeException extends CloudSearchException {}
lib/Aws/Aws/CloudSearch/Exception/LimitExceededException.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\CloudSearch\Exception;
18
+
19
+ /**
20
+ * The request was rejected because a resource limit has already been met.
21
+ */
22
+ class LimitExceededException extends CloudSearchException {}
lib/Aws/Aws/CloudSearch/Exception/ResourceNotFoundException.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\CloudSearch\Exception;
18
+
19
+ /**
20
+ * The request was rejected because it attempted to reference a resource that does not exist.
21
+ */
22
+ class ResourceNotFoundException extends CloudSearchException {}
lib/Aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php ADDED
@@ -0,0 +1,2346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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' => '2011-02-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-southeast-1' => array(
47
+ 'http' => false,
48
+ 'https' => true,
49
+ 'hostname' => 'cloudsearch.ap-southeast-1.amazonaws.com',
50
+ ),
51
+ ),
52
+ 'operations' => array(
53
+ 'CreateDomain' => array(
54
+ 'httpMethod' => 'POST',
55
+ 'uri' => '/',
56
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
57
+ 'responseClass' => 'CreateDomainResponse',
58
+ 'responseType' => 'model',
59
+ 'parameters' => array(
60
+ 'Action' => array(
61
+ 'static' => true,
62
+ 'location' => 'aws.query',
63
+ 'default' => 'CreateDomain',
64
+ ),
65
+ 'Version' => array(
66
+ 'static' => true,
67
+ 'location' => 'aws.query',
68
+ 'default' => '2011-02-01',
69
+ ),
70
+ 'DomainName' => array(
71
+ 'required' => true,
72
+ 'type' => 'string',
73
+ 'location' => 'aws.query',
74
+ 'minLength' => 3,
75
+ 'maxLength' => 28,
76
+ ),
77
+ ),
78
+ 'errorResponses' => array(
79
+ array(
80
+ 'reason' => 'An error occurred while processing the request.',
81
+ 'class' => 'BaseException',
82
+ ),
83
+ 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',
90
+ ),
91
+ ),
92
+ ),
93
+ 'DefineIndexField' => array(
94
+ 'httpMethod' => 'POST',
95
+ 'uri' => '/',
96
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
97
+ 'responseClass' => 'DefineIndexFieldResponse',
98
+ 'responseType' => 'model',
99
+ 'parameters' => array(
100
+ 'Action' => array(
101
+ 'static' => true,
102
+ 'location' => 'aws.query',
103
+ 'default' => 'DefineIndexField',
104
+ ),
105
+ 'Version' => array(
106
+ 'static' => true,
107
+ 'location' => 'aws.query',
108
+ 'default' => '2011-02-01',
109
+ ),
110
+ 'DomainName' => array(
111
+ 'required' => true,
112
+ 'type' => 'string',
113
+ 'location' => 'aws.query',
114
+ 'minLength' => 3,
115
+ 'maxLength' => 28,
116
+ ),
117
+ 'IndexField' => array(
118
+ 'required' => true,
119
+ 'type' => 'object',
120
+ 'location' => 'aws.query',
121
+ 'properties' => array(
122
+ 'IndexFieldName' => array(
123
+ 'required' => true,
124
+ 'type' => 'string',
125
+ 'minLength' => 1,
126
+ 'maxLength' => 64,
127
+ ),
128
+ 'IndexFieldType' => array(
129
+ 'required' => true,
130
+ 'type' => 'string',
131
+ ),
132
+ 'UIntOptions' => array(
133
+ 'type' => 'object',
134
+ 'properties' => array(
135
+ 'DefaultValue' => array(
136
+ 'type' => 'numeric',
137
+ ),
138
+ ),
139
+ ),
140
+ 'LiteralOptions' => array(
141
+ 'type' => 'object',
142
+ 'properties' => array(
143
+ 'DefaultValue' => array(
144
+ 'type' => 'string',
145
+ 'maxLength' => 1024,
146
+ ),
147
+ 'SearchEnabled' => array(
148
+ 'type' => 'boolean',
149
+ 'format' => 'boolean-string',
150
+ ),
151
+ 'FacetEnabled' => array(
152
+ 'type' => 'boolean',
153
+ 'format' => 'boolean-string',
154
+ ),
155
+ 'ResultEnabled' => array(
156
+ 'type' => 'boolean',
157
+ 'format' => 'boolean-string',
158
+ ),
159
+ ),
160
+ ),
161
+ 'TextOptions' => array(
162
+ 'type' => 'object',
163
+ 'properties' => array(
164
+ 'DefaultValue' => array(
165
+ 'type' => 'string',
166
+ 'maxLength' => 1024,
167
+ ),
168
+ 'FacetEnabled' => array(
169
+ 'type' => 'boolean',
170
+ 'format' => 'boolean-string',
171
+ ),
172
+ 'ResultEnabled' => array(
173
+ 'type' => 'boolean',
174
+ 'format' => 'boolean-string',
175
+ ),
176
+ 'TextProcessor' => array(
177
+ 'type' => 'string',
178
+ 'minLength' => 1,
179
+ 'maxLength' => 64,
180
+ ),
181
+ ),
182
+ ),
183
+ 'SourceAttributes' => array(
184
+ 'type' => 'array',
185
+ 'sentAs' => 'SourceAttributes.member',
186
+ 'items' => array(
187
+ 'name' => 'SourceAttribute',
188
+ 'type' => 'object',
189
+ 'properties' => array(
190
+ 'SourceDataFunction' => array(
191
+ 'required' => true,
192
+ 'type' => 'string',
193
+ ),
194
+ 'SourceDataCopy' => array(
195
+ 'type' => 'object',
196
+ 'properties' => array(
197
+ 'SourceName' => array(
198
+ 'required' => true,
199
+ 'type' => 'string',
200
+ 'minLength' => 1,
201
+ 'maxLength' => 64,
202
+ ),
203
+ 'DefaultValue' => array(
204
+ 'type' => 'string',
205
+ 'maxLength' => 1024,
206
+ ),
207
+ ),
208
+ ),
209
+ 'SourceDataTrimTitle' => array(
210
+ 'type' => 'object',
211
+ 'properties' => array(
212
+ 'SourceName' => array(
213
+ 'required' => true,
214
+ 'type' => 'string',
215
+ 'minLength' => 1,
216
+ 'maxLength' => 64,
217
+ ),
218
+ 'DefaultValue' => array(
219
+ 'type' => 'string',
220
+ 'maxLength' => 1024,
221
+ ),
222
+ 'Separator' => array(
223
+ 'type' => 'string',
224
+ ),
225
+ 'Language' => array(
226
+ 'type' => 'string',
227
+ ),
228
+ ),
229
+ ),
230
+ 'SourceDataMap' => array(
231
+ 'type' => 'object',
232
+ 'properties' => array(
233
+ 'SourceName' => array(
234
+ 'required' => true,
235
+ 'type' => 'string',
236
+ 'minLength' => 1,
237
+ 'maxLength' => 64,
238
+ ),
239
+ 'DefaultValue' => array(
240
+ 'type' => 'string',
241
+ 'maxLength' => 1024,
242
+ ),
243
+ 'Cases' => array(
244
+ 'type' => 'object',
245
+ 'sentAs' => 'Cases.entry',
246
+ 'additionalProperties' => array(
247
+ 'type' => 'string',
248
+ 'maxLength' => 1024,
249
+ 'data' => array(
250
+ 'shape_name' => 'FieldValue',
251
+ ),
252
+ ),
253
+ ),
254
+ ),
255
+ ),
256
+ ),
257
+ ),
258
+ ),
259
+ ),
260
+ ),
261
+ ),
262
+ 'errorResponses' => array(
263
+ array(
264
+ 'reason' => 'An error occurred while processing the request.',
265
+ 'class' => 'BaseException',
266
+ ),
267
+ array(
268
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
269
+ 'class' => 'InternalException',
270
+ ),
271
+ array(
272
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
273
+ 'class' => 'LimitExceededException',
274
+ ),
275
+ array(
276
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
277
+ 'class' => 'InvalidTypeException',
278
+ ),
279
+ array(
280
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
281
+ 'class' => 'ResourceNotFoundException',
282
+ ),
283
+ ),
284
+ ),
285
+ 'DefineRankExpression' => array(
286
+ 'httpMethod' => 'POST',
287
+ 'uri' => '/',
288
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
289
+ 'responseClass' => 'DefineRankExpressionResponse',
290
+ 'responseType' => 'model',
291
+ 'parameters' => array(
292
+ 'Action' => array(
293
+ 'static' => true,
294
+ 'location' => 'aws.query',
295
+ 'default' => 'DefineRankExpression',
296
+ ),
297
+ 'Version' => array(
298
+ 'static' => true,
299
+ 'location' => 'aws.query',
300
+ 'default' => '2011-02-01',
301
+ ),
302
+ 'DomainName' => array(
303
+ 'required' => true,
304
+ 'type' => 'string',
305
+ 'location' => 'aws.query',
306
+ 'minLength' => 3,
307
+ 'maxLength' => 28,
308
+ ),
309
+ 'RankExpression' => array(
310
+ 'required' => true,
311
+ 'type' => 'object',
312
+ 'location' => 'aws.query',
313
+ 'properties' => array(
314
+ 'RankName' => array(
315
+ 'required' => true,
316
+ 'type' => 'string',
317
+ 'minLength' => 1,
318
+ 'maxLength' => 64,
319
+ ),
320
+ 'RankExpression' => array(
321
+ 'required' => true,
322
+ 'type' => 'string',
323
+ 'minLength' => 1,
324
+ 'maxLength' => 10240,
325
+ ),
326
+ ),
327
+ ),
328
+ ),
329
+ 'errorResponses' => array(
330
+ array(
331
+ 'reason' => 'An error occurred while processing the request.',
332
+ 'class' => 'BaseException',
333
+ ),
334
+ array(
335
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
336
+ 'class' => 'InternalException',
337
+ ),
338
+ array(
339
+ 'reason' => 'The request was rejected because a resource limit has already been met.',
340
+ 'class' => 'LimitExceededException',
341
+ ),
342
+ array(
343
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
344
+ 'class' => 'InvalidTypeException',
345
+ ),
346
+ array(
347
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
348
+ 'class' => 'ResourceNotFoundException',
349
+ ),
350
+ ),
351
+ ),
352
+ 'DeleteDomain' => array(
353
+ 'httpMethod' => 'POST',
354
+ 'uri' => '/',
355
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
356
+ 'responseClass' => 'DeleteDomainResponse',
357
+ 'responseType' => 'model',
358
+ 'parameters' => array(
359
+ 'Action' => array(
360
+ 'static' => true,
361
+ 'location' => 'aws.query',
362
+ 'default' => 'DeleteDomain',
363
+ ),
364
+ 'Version' => array(
365
+ 'static' => true,
366
+ 'location' => 'aws.query',
367
+ 'default' => '2011-02-01',
368
+ ),
369
+ 'DomainName' => array(
370
+ 'required' => true,
371
+ 'type' => 'string',
372
+ 'location' => 'aws.query',
373
+ 'minLength' => 3,
374
+ 'maxLength' => 28,
375
+ ),
376
+ ),
377
+ 'errorResponses' => array(
378
+ array(
379
+ 'reason' => 'An error occurred while processing the request.',
380
+ 'class' => 'BaseException',
381
+ ),
382
+ array(
383
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
384
+ 'class' => 'InternalException',
385
+ ),
386
+ ),
387
+ ),
388
+ 'DeleteIndexField' => array(
389
+ 'httpMethod' => 'POST',
390
+ 'uri' => '/',
391
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
392
+ 'responseClass' => 'DeleteIndexFieldResponse',
393
+ 'responseType' => 'model',
394
+ 'parameters' => array(
395
+ 'Action' => array(
396
+ 'static' => true,
397
+ 'location' => 'aws.query',
398
+ 'default' => 'DeleteIndexField',
399
+ ),
400
+ 'Version' => array(
401
+ 'static' => true,
402
+ 'location' => 'aws.query',
403
+ 'default' => '2011-02-01',
404
+ ),
405
+ 'DomainName' => array(
406
+ 'required' => true,
407
+ 'type' => 'string',
408
+ 'location' => 'aws.query',
409
+ 'minLength' => 3,
410
+ 'maxLength' => 28,
411
+ ),
412
+ 'IndexFieldName' => array(
413
+ 'required' => true,
414
+ 'type' => 'string',
415
+ 'location' => 'aws.query',
416
+ 'minLength' => 1,
417
+ 'maxLength' => 64,
418
+ ),
419
+ ),
420
+ 'errorResponses' => array(
421
+ array(
422
+ 'reason' => 'An error occurred while processing the request.',
423
+ 'class' => 'BaseException',
424
+ ),
425
+ array(
426
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
427
+ 'class' => 'InternalException',
428
+ ),
429
+ array(
430
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
431
+ 'class' => 'InvalidTypeException',
432
+ ),
433
+ array(
434
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
435
+ 'class' => 'ResourceNotFoundException',
436
+ ),
437
+ ),
438
+ ),
439
+ 'DeleteRankExpression' => array(
440
+ 'httpMethod' => 'POST',
441
+ 'uri' => '/',
442
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
443
+ 'responseClass' => 'DeleteRankExpressionResponse',
444
+ 'responseType' => 'model',
445
+ 'parameters' => array(
446
+ 'Action' => array(
447
+ 'static' => true,
448
+ 'location' => 'aws.query',
449
+ 'default' => 'DeleteRankExpression',
450
+ ),
451
+ 'Version' => array(
452
+ 'static' => true,
453
+ 'location' => 'aws.query',
454
+ 'default' => '2011-02-01',
455
+ ),
456
+ 'DomainName' => array(
457
+ 'required' => true,
458
+ 'type' => 'string',
459
+ 'location' => 'aws.query',
460
+ 'minLength' => 3,
461
+ 'maxLength' => 28,
462
+ ),
463
+ 'RankName' => array(
464
+ 'required' => true,
465
+ 'type' => 'string',
466
+ 'location' => 'aws.query',
467
+ 'minLength' => 1,
468
+ 'maxLength' => 64,
469
+ ),
470
+ ),
471
+ 'errorResponses' => array(
472
+ array(
473
+ 'reason' => 'An error occurred while processing the request.',
474
+ 'class' => 'BaseException',
475
+ ),
476
+ array(
477
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
478
+ 'class' => 'InternalException',
479
+ ),
480
+ array(
481
+ 'reason' => 'The request was rejected because it specified an invalid type definition.',
482
+ 'class' => 'InvalidTypeException',
483
+ ),
484
+ array(
485
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
486
+ 'class' => 'ResourceNotFoundException',
487
+ ),
488
+ ),
489
+ ),
490
+ 'DescribeDefaultSearchField' => array(
491
+ 'httpMethod' => 'POST',
492
+ 'uri' => '/',
493
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
494
+ 'responseClass' => 'DescribeDefaultSearchFieldResponse',
495
+ 'responseType' => 'model',
496
+ 'parameters' => array(
497
+ 'Action' => array(
498
+ 'static' => true,
499
+ 'location' => 'aws.query',
500
+ 'default' => 'DescribeDefaultSearchField',
501
+ ),
502
+ 'Version' => array(
503
+ 'static' => true,
504
+ 'location' => 'aws.query',
505
+ 'default' => '2011-02-01',
506
+ ),
507
+ 'DomainName' => array(
508
+ 'required' => true,
509
+ 'type' => 'string',
510
+ 'location' => 'aws.query',
511
+ 'minLength' => 3,
512
+ 'maxLength' => 28,
513
+ ),
514
+ ),
515
+ 'errorResponses' => array(
516
+ array(
517
+ 'reason' => 'An error occurred while processing the request.',
518
+ 'class' => 'BaseException',
519
+ ),
520
+ array(
521
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
522
+ 'class' => 'InternalException',
523
+ ),
524
+ array(
525
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
526
+ 'class' => 'ResourceNotFoundException',
527
+ ),
528
+ ),
529
+ ),
530
+ 'DescribeDomains' => array(
531
+ 'httpMethod' => 'POST',
532
+ 'uri' => '/',
533
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
534
+ 'responseClass' => 'DescribeDomainsResponse',
535
+ 'responseType' => 'model',
536
+ 'parameters' => array(
537
+ 'Action' => array(
538
+ 'static' => true,
539
+ 'location' => 'aws.query',
540
+ 'default' => 'DescribeDomains',
541
+ ),
542
+ 'Version' => array(
543
+ 'static' => true,
544
+ 'location' => 'aws.query',
545
+ 'default' => '2011-02-01',
546
+ ),
547
+ 'DomainNames' => array(
548
+ 'type' => 'array',
549
+ 'location' => 'aws.query',
550
+ 'sentAs' => 'DomainNames.member',
551
+ 'items' => array(
552
+ 'name' => 'DomainName',
553
+ 'type' => 'string',
554
+ 'minLength' => 3,
555
+ 'maxLength' => 28,
556
+ ),
557
+ ),
558
+ ),
559
+ 'errorResponses' => array(
560
+ array(
561
+ 'reason' => 'An error occurred while processing the request.',
562
+ 'class' => 'BaseException',
563
+ ),
564
+ array(
565
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
566
+ 'class' => 'InternalException',
567
+ ),
568
+ ),
569
+ ),
570
+ 'DescribeIndexFields' => array(
571
+ 'httpMethod' => 'POST',
572
+ 'uri' => '/',
573
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
574
+ 'responseClass' => 'DescribeIndexFieldsResponse',
575
+ 'responseType' => 'model',
576
+ 'parameters' => array(
577
+ 'Action' => array(
578
+ 'static' => true,
579
+ 'location' => 'aws.query',
580
+ 'default' => 'DescribeIndexFields',
581
+ ),
582
+ 'Version' => array(
583
+ 'static' => true,
584
+ 'location' => 'aws.query',
585
+ 'default' => '2011-02-01',
586
+ ),
587
+ 'DomainName' => array(
588
+ 'required' => true,
589
+ 'type' => 'string',
590
+ 'location' => 'aws.query',
591
+ 'minLength' => 3,
592
+ 'maxLength' => 28,
593
+ ),
594
+ 'FieldNames' => array(
595
+ 'type' => 'array',
596
+ 'location' => 'aws.query',
597
+ 'sentAs' => 'FieldNames.member',
598
+ 'items' => array(
599
+ 'name' => 'FieldName',
600
+ 'type' => 'string',
601
+ 'minLength' => 1,
602
+ 'maxLength' => 64,
603
+ ),
604
+ ),
605
+ ),
606
+ 'errorResponses' => array(
607
+ array(
608
+ 'reason' => 'An error occurred while processing the request.',
609
+ 'class' => 'BaseException',
610
+ ),
611
+ array(
612
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
613
+ 'class' => 'InternalException',
614
+ ),
615
+ array(
616
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
617
+ 'class' => 'ResourceNotFoundException',
618
+ ),
619
+ ),
620
+ ),
621
+ 'DescribeRankExpressions' => array(
622
+ 'httpMethod' => 'POST',
623
+ 'uri' => '/',
624
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
625
+ 'responseClass' => 'DescribeRankExpressionsResponse',
626
+ 'responseType' => 'model',
627
+ 'parameters' => array(
628
+ 'Action' => array(
629
+ 'static' => true,
630
+ 'location' => 'aws.query',
631
+ 'default' => 'DescribeRankExpressions',
632
+ ),
633
+ 'Version' => array(
634
+ 'static' => true,
635
+ 'location' => 'aws.query',
636
+ 'default' => '2011-02-01',
637
+ ),
638
+ 'DomainName' => array(
639
+ 'required' => true,
640
+ 'type' => 'string',
641
+ 'location' => 'aws.query',
642
+ 'minLength' => 3,
643
+ 'maxLength' => 28,
644
+ ),
645
+ 'RankNames' => array(
646
+ 'type' => 'array',
647
+ 'location' => 'aws.query',
648
+ 'sentAs' => 'RankNames.member',
649
+ 'items' => array(
650
+ 'name' => 'FieldName',
651
+ 'type' => 'string',
652
+ 'minLength' => 1,
653
+ 'maxLength' => 64,
654
+ ),
655
+ ),
656
+ ),
657
+ 'errorResponses' => array(
658
+ array(
659
+ 'reason' => 'An error occurred while processing the request.',
660
+ 'class' => 'BaseException',
661
+ ),
662
+ array(
663
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
664
+ 'class' => 'InternalException',
665
+ ),
666
+ array(
667
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
668
+ 'class' => 'ResourceNotFoundException',
669
+ ),
670
+ ),
671
+ ),
672
+ 'DescribeServiceAccessPolicies' => array(
673
+ 'httpMethod' => 'POST',
674
+ 'uri' => '/',
675
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
676
+ 'responseClass' => 'DescribeServiceAccessPoliciesResponse',
677
+ 'responseType' => 'model',
678
+ 'parameters' => array(
679
+ 'Action' => array(
680
+ 'static' => true,
681
+ 'location' => 'aws.query',
682
+ 'default' => 'DescribeServiceAccessPolicies',
683
+ ),
684
+ 'Version' => array(
685
+ 'static' => true,
686
+ 'location' => 'aws.query',
687
+ 'default' => '2011-02-01',
688
+ ),
689
+ 'DomainName' => array(
690
+ 'required' => true,
691
+ 'type' => 'string',
692
+ 'location' => 'aws.query',
693
+ 'minLength' => 3,
694
+ 'maxLength' => 28,
695
+ ),
696
+ ),
697
+ 'errorResponses' => array(
698
+ array(
699
+ 'reason' => 'An error occurred while processing the request.',
700
+ 'class' => 'BaseException',
701
+ ),
702
+ array(
703
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
704
+ 'class' => 'InternalException',
705
+ ),
706
+ array(
707
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
708
+ 'class' => 'ResourceNotFoundException',
709
+ ),
710
+ ),
711
+ ),
712
+ 'DescribeStemmingOptions' => array(
713
+ 'httpMethod' => 'POST',
714
+ 'uri' => '/',
715
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
716
+ 'responseClass' => 'DescribeStemmingOptionsResponse',
717
+ 'responseType' => 'model',
718
+ 'parameters' => array(
719
+ 'Action' => array(
720
+ 'static' => true,
721
+ 'location' => 'aws.query',
722
+ 'default' => 'DescribeStemmingOptions',
723
+ ),
724
+ 'Version' => array(
725
+ 'static' => true,
726
+ 'location' => 'aws.query',
727
+ 'default' => '2011-02-01',
728
+ ),
729
+ 'DomainName' => array(
730
+ 'required' => true,
731
+ 'type' => 'string',
732
+ 'location' => 'aws.query',
733
+ 'minLength' => 3,
734
+ 'maxLength' => 28,
735
+ ),
736
+ ),
737
+ 'errorResponses' => array(
738
+ array(
739
+ 'reason' => 'An error occurred while processing the request.',
740
+ 'class' => 'BaseException',
741
+ ),
742
+ array(
743
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
744
+ 'class' => 'InternalException',
745
+ ),
746
+ array(
747
+ 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
748
+ 'class' => 'ResourceNotFoundException',
749
+ ),
750
+ ),
751
+ ),
752
+ 'DescribeStopwordOptions' => array(
753
+ 'httpMethod' => 'POST',
754
+ 'uri' => '/',
755
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
756
+ 'responseClass' => 'DescribeStopwordOptionsResponse',
757
+ 'responseType' => 'model',
758
+ 'parameters' => array(
759
+ 'Action' => array(
760
+ 'static' => true,
761
+ 'location' => 'aws.query',
762
+ 'default' => 'DescribeStopwordOptions',
763
+ ),
764
+ 'Version' => array(
765
+ 'static' => true,
766
+ 'location' => 'aws.query',
767
+ 'default' => '2011-02-01',
768
+ ),
769
+ 'DomainName' => array(
770
+ 'required' => true,
771
+ 'type' => 'string',
772
+ 'location' => 'aws.query',
773
+ 'minLength' => 3,
774
+ 'maxLength' => 28,
775
+ ),
776
+ ),
777
+ 'errorResponses' => array(
778
+ array(
779
+ 'reason' => 'An error occurred while processing the request.',
780
+ 'class' => 'BaseException',
781
+ ),
782
+ array(
783
+ 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.'