Amazon Web Services - Version 0.2.1

Version Description

  • 2015-01-10 =
  • New: AWS SDK updated to 2.7.13
  • New: Translation ready
  • Improvement: Code cleanup to WordPress coding standards
  • Improvement: Settings notice UI aligned with WordPress style
  • Bug: Error if migrating keys over from old Amazon S3 and CloudFront plugin settings
Download this release

Release Info

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

Code changes from version 0.2 to 0.2.1

Files changed (56) hide show
  1. amazon-web-services.php +21 -6
  2. assets/css/styles.css +1 -1
  3. assets/js/script.min.js +1 -1
  4. assets/sass/styles.scss +0 -13
  5. classes/amazon-web-services.php +74 -25
  6. classes/aws-compatibility-check.php +30 -10
  7. classes/aws-plugin-base.php +41 -1
  8. languages/amazon-web-services.pot +146 -0
  9. readme.txt +9 -2
  10. vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php +26 -26
  11. vendor/aws/Aws/CloudFormation/CloudFormationClient.php +2 -0
  12. vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php +130 -0
  13. vendor/aws/Aws/CloudFront/CloudFrontClient.php +1 -1
  14. vendor/aws/Aws/CloudFront/Resources/cloudfront-2014-10-21.php +5739 -0
  15. vendor/aws/Aws/CloudHsm/CloudHsmClient.php +73 -0
  16. vendor/aws/Aws/CloudHsm/Exception/CloudHsmException.php +24 -0
  17. vendor/aws/Aws/CloudHsm/Resources/cloudhsm-2014-05-30.php +1178 -0
  18. vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php +49 -4
  19. vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClient.php +2 -2
  20. vendor/aws/Aws/CloudSearchDomain/Resources/cloudsearchdomain-2013-01-01.php +2 -2
  21. vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php +70 -0
  22. vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php +0 -1
  23. vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php +0 -53
  24. vendor/aws/Aws/CodeDeploy/CodeDeployClient.php +83 -0
  25. vendor/aws/Aws/CodeDeploy/Exception/CodeDeployException.php +10 -0
  26. vendor/aws/Aws/CodeDeploy/Resources/codedeploy-2014-10-06.php +2502 -0
  27. vendor/aws/Aws/CognitoIdentity/CognitoIdentityClient.php +4 -0
  28. vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php +404 -3
  29. vendor/aws/Aws/CognitoSync/CognitoSyncClient.php +5 -0
  30. vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php +328 -0
  31. vendor/aws/Aws/Common/Aws.php +1 -1
  32. vendor/aws/Aws/Common/Client/AbstractClient.php +44 -20
  33. vendor/aws/Aws/Common/Client/ClientBuilder.php +25 -19
  34. vendor/aws/Aws/Common/Enum/Region.php +3 -0
  35. vendor/aws/Aws/Common/Hash/HashUtils.php +4 -0
  36. vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadBuilder.php +5 -5
  37. vendor/aws/Aws/Common/Resources/aws-config.php +39 -3
  38. vendor/aws/Aws/Common/Resources/public-endpoints.php +64 -0
  39. vendor/aws/Aws/Common/RulesEndpointProvider.php +67 -0
  40. vendor/aws/Aws/Common/Signature/SignatureV4.php +28 -30
  41. vendor/aws/Aws/ConfigService/ConfigServiceClient.php +69 -0
  42. vendor/aws/Aws/ConfigService/Exception/ConfigServiceException.php +10 -0
  43. vendor/aws/Aws/ConfigService/Resources/configservice-2014-11-12.php +830 -0
  44. vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php +206 -0
  45. vendor/aws/Aws/DynamoDb/DynamoDbClient.php +4 -0
  46. vendor/aws/Aws/DynamoDb/DynamoDbCommand.php +100 -0
  47. vendor/aws/Aws/DynamoDb/Iterator/ItemIterator.php +6 -2
  48. vendor/aws/Aws/DynamoDb/Marshaler.php +173 -0
  49. vendor/aws/Aws/DynamoDb/Model/Attribute.php +3 -0
  50. vendor/aws/Aws/DynamoDb/Model/BatchRequest/PutRequest.php +15 -13
  51. vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatch.php +1 -1
  52. vendor/aws/Aws/DynamoDb/Model/Item.php +3 -0
  53. vendor/aws/Aws/DynamoDb/Resources/dynamodb-2012-08-10.php +72 -3794
  54. vendor/aws/Aws/Ec2/Ec2Client.php +8 -8
  55. vendor/aws/Aws/Ec2/Resources/ec2-2014-06-15.php +21 -1
  56. vendor/aws/Aws/Ec2/Resources/ec2-2014-09-01.php +5471 -0
amazon-web-services.php CHANGED
@@ -4,9 +4,11 @@ Plugin Name: Amazon Web Services
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
5
  Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it
6
  Author: Brad Touesnard
7
- Version: 0.2
8
  Author URI: http://bradt.ca/
9
  Network: True
 
 
10
  */
11
 
12
  // Copyright (c) 2013 Brad Touesnard. All rights reserved.
@@ -20,10 +22,10 @@ Network: True
20
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21
  // **********************************************************************
22
 
23
- $GLOBALS['aws_meta']['amazon-web-services']['version'] = '0.2';
24
 
25
  $GLOBALS['aws_meta']['amazon-web-services']['supported_addon_versions'] = array(
26
- 'amazon-s3-and-cloudfront' => '0.7'
27
  );
28
 
29
  require dirname( __FILE__ ) . '/classes/aws-compatibility-check.php';
@@ -34,16 +36,27 @@ if ( $aws_compat_check->is_compatible() ) {
34
  add_action( 'init', 'amazon_web_services_init' );
35
  }
36
 
37
- function amazon_web_services_init() {
 
 
 
38
  $abspath = dirname( __FILE__ );
39
  require_once $abspath . '/classes/aws-plugin-base.php';
40
  require_once $abspath . '/classes/amazon-web-services.php';
41
  require_once $abspath . '/vendor/aws/aws-autoloader.php';
 
42
 
 
 
43
  global $amazon_web_services;
44
  $amazon_web_services = new Amazon_Web_Services( __FILE__ );
45
  }
46
 
 
 
 
 
 
47
  function amazon_web_services_activation() {
48
  global $aws_compat_check;
49
  if ( ! $aws_compat_check->is_compatible() ) {
@@ -61,10 +74,12 @@ function amazon_web_services_activation() {
61
  return;
62
  }
63
 
 
 
64
  if ( ! get_site_option( Amazon_Web_Services::SETTINGS_KEY ) ) {
65
  add_site_option( Amazon_Web_Services::SETTINGS_KEY, array(
66
  'access_key_id' => $as3cf['key'],
67
- 'secret_access_key' => $as3cf['secret']
68
  ) );
69
  }
70
 
@@ -74,4 +89,4 @@ function amazon_web_services_activation() {
74
  update_option( 'tantan_wordpress_s3', $as3cf );
75
  }
76
 
77
- register_activation_hook( __FILE__, 'amazon_web_services_activation' );
4
  Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
5
  Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it
6
  Author: Brad Touesnard
7
+ Version: 0.2.1
8
  Author URI: http://bradt.ca/
9
  Network: True
10
+ Text Domain: amazon-web-services
11
+ Domain Path: /languages/
12
  */
13
 
14
  // Copyright (c) 2013 Brad Touesnard. All rights reserved.
22
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23
  // **********************************************************************
24
 
25
+ $GLOBALS['aws_meta']['amazon-web-services']['version'] = '0.2.1';
26
 
27
  $GLOBALS['aws_meta']['amazon-web-services']['supported_addon_versions'] = array(
28
+ 'amazon-s3-and-cloudfront' => '0.8',
29
  );
30
 
31
  require dirname( __FILE__ ) . '/classes/aws-compatibility-check.php';
36
  add_action( 'init', 'amazon_web_services_init' );
37
  }
38
 
39
+ /**
40
+ * Fire up the plugin if compatibility checks have been met
41
+ */
42
+ function amazon_web_services_require_files() {
43
  $abspath = dirname( __FILE__ );
44
  require_once $abspath . '/classes/aws-plugin-base.php';
45
  require_once $abspath . '/classes/amazon-web-services.php';
46
  require_once $abspath . '/vendor/aws/aws-autoloader.php';
47
+ }
48
 
49
+ function amazon_web_services_init() {
50
+ amazon_web_services_require_files();
51
  global $amazon_web_services;
52
  $amazon_web_services = new Amazon_Web_Services( __FILE__ );
53
  }
54
 
55
+ /**
56
+ * On activation check the plugin meets compatibility checks
57
+ * and migrate any legacy settings over to the new option
58
+ *
59
+ */
60
  function amazon_web_services_activation() {
61
  global $aws_compat_check;
62
  if ( ! $aws_compat_check->is_compatible() ) {
74
  return;
75
  }
76
 
77
+ amazon_web_services_require_files();
78
+
79
  if ( ! get_site_option( Amazon_Web_Services::SETTINGS_KEY ) ) {
80
  add_site_option( Amazon_Web_Services::SETTINGS_KEY, array(
81
  'access_key_id' => $as3cf['key'],
82
+ 'secret_access_key' => $as3cf['secret'],
83
  ) );
84
  }
85
 
89
  update_option( 'tantan_wordpress_s3', $as3cf );
90
  }
91
 
92
+ register_activation_hook( __FILE__, 'amazon_web_services_activation' );
assets/css/styles.css CHANGED
@@ -1 +1 @@
1
- .aws-content{max-width:800px}.aws-updated{background-color:#ffffe0;border:1px solid #e6db55;border-radius:3px;padding:0 0.6em;color:#333}.aws-updated p{margin:0.5em 0;padding:2px}.addon{margin-top:10px;width:772px;height:250px;background-size:772px 250px;background-repeat:no-repeat;position:relative}.addon .info{position:absolute;bottom:20px;left:20px}.addon h1{font-size:24px;margin:0;background-color:#000;color:#fff;font-weight:bold;padding:20px;margin-bottom:18px;border-radius:3px}.addon .actions li{float:left;margin-right:10px}.addon .actions a,.addon .actions span{background-color:#000;border-radius:15px;color:#fff;padding:8px 15px;text-decoration:none}.addon .actions a:hover{background-color:#333}.addon .actions span{color:#ccc}.addon.as3cf{background-image:url(http://s-plugins.wordpress.org/amazon-s3-and-cloudfront/assets/banner-772x250.jpg)}@media (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 2.6 / 2), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){.addon.as3cf{background-image:url(http://s-plugins.wordpress.org/amazon-s3-and-cloudfront/assets/banner-1544x500.jpg)}}
1
+ .aws-content{max-width:800px}.addon{margin-top:10px;width:772px;height:250px;background-size:772px 250px;background-repeat:no-repeat;position:relative}.addon .info{position:absolute;bottom:20px;left:20px}.addon h1{font-size:24px;margin:0;background-color:#000;color:#fff;font-weight:bold;padding:20px;margin-bottom:18px;border-radius:3px}.addon .actions li{float:left;margin-right:10px}.addon .actions a,.addon .actions span{background-color:#000;border-radius:15px;color:#fff;padding:8px 15px;text-decoration:none}.addon .actions a:hover{background-color:#333}.addon .actions span{color:#ccc}.addon.as3cf{background-image:url(http://s-plugins.wordpress.org/amazon-s3-and-cloudfront/assets/banner-772x250.jpg)}@media (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 2.6 / 2), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx){.addon.as3cf{background-image:url(http://s-plugins.wordpress.org/amazon-s3-and-cloudfront/assets/banner-1544x500.jpg)}}
assets/js/script.min.js CHANGED
@@ -1 +1 @@
1
- (function(e){e(document).ready(function(){e(".aws-settings").each(function(){var t=e(this);e(".reveal-form a",t).click(function(){var n=e("form",t);"block"==n.css("display")?n.hide():n.show();return!1})});e(".button.remove-keys").click(function(){e("input[name=secret_access_key],input[name=access_key_id]").val("")})})})(jQuery);
1
+ !function(a){a(document).ready(function(){a(".aws-settings").each(function(){var b=a(this);a(".reveal-form a",b).click(function(){var c=a("form",b);return"block"==c.css("display")?c.hide():c.show(),!1})}),a(".button.remove-keys").click(function(){a("input[name=secret_access_key],input[name=access_key_id]").val("")})})}(jQuery);
assets/sass/styles.scss CHANGED
@@ -2,19 +2,6 @@
2
  max-width: 800px;
3
  }
4
 
5
- .aws-updated {
6
- background-color: #ffffe0;
7
- border: 1px solid #e6db55;
8
- border-radius: 3px;
9
- padding: 0 0.6em;
10
- color: #333;
11
-
12
- p {
13
- margin: 0.5em 0;
14
- padding: 2px;
15
- }
16
- }
17
-
18
  .addon {
19
  margin-top: 10px;
20
  width: 772px;
2
  max-width: 800px;
3
  }
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  .addon {
6
  margin-top: 10px;
7
  width: 772px;
classes/amazon-web-services.php CHANGED
@@ -3,7 +3,7 @@ use Aws\Common\Aws;
3
 
4
  class Amazon_Web_Services extends AWS_Plugin_Base {
5
 
6
- private $plugin_title, $plugin_menu_title, $client;
7
 
8
  const SETTINGS_KEY = 'aws_settings';
9
 
@@ -28,8 +28,13 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
28
 
29
  $this->plugin_title = __( 'Amazon Web Services', 'amazon-web-services' );
30
  $this->plugin_menu_title = __( 'AWS', 'amazon-web-services' );
 
 
31
  }
32
 
 
 
 
33
  function admin_menu() {
34
  if ( version_compare( $GLOBALS['wp_version'], '3.8', '<' ) ) {
35
  $icon_url = plugins_url( 'assets/img/icon16.png', $this->plugin_file_path );
@@ -37,15 +42,16 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
37
  $icon_url = false;
38
  }
39
 
 
40
  $hook_suffixes[] = add_menu_page( $this->plugin_title, $this->plugin_menu_title, $this->plugin_permission, $this->plugin_slug, array(
41
  $this,
42
- 'render_page'
43
  ), $icon_url );
44
 
45
  $title = __( 'Addons', 'amazon-web-services' );
46
  $hook_suffixes[] = $this->add_page( $title, $title, $this->plugin_permission, 'aws-addons', array(
47
  $this,
48
- 'render_page'
49
  ) );
50
 
51
  global $submenu;
@@ -64,16 +70,33 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
64
  }
65
  }
66
 
 
 
 
 
 
 
 
 
 
 
 
67
  function add_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
68
  return add_submenu_page( $this->plugin_slug, $page_title, $menu_title, $capability, $menu_slug, $function );
69
  }
70
 
 
 
 
71
  function enqueue_menu_styles() {
72
  $version = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : $this->plugin_version;
73
  $src = plugins_url( 'assets/css/global.css', $this->plugin_file_path );
74
  wp_enqueue_style( 'aws-global-styles', $src, array(), $version );
75
  }
76
 
 
 
 
77
  function plugin_load() {
78
  $version = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : $this->plugin_version;
79
 
@@ -85,7 +108,7 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
85
  $src = plugins_url( 'assets/js/script' . $suffix . '.js', $this->plugin_file_path );
86
  wp_enqueue_script( 'aws-script', $src, array( 'jquery' ), $version, true );
87
 
88
- if ( isset( $_GET['page'] ) && 'aws-addons' == $_GET['page'] ) {
89
  add_filter( 'admin_body_class', array( $this, 'admin_plugin_body_class' ) );
90
  wp_enqueue_script( 'plugin-install' );
91
  add_thickbox();
@@ -96,12 +119,15 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
96
  do_action( 'aws_plugin_load', $this );
97
  }
98
 
 
 
 
99
  function handle_post_request() {
100
- if ( empty( $_POST['action'] ) || 'save' != $_POST['action'] ) {
101
  return;
102
  }
103
 
104
- if ( empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'aws-save-settings' ) ) {
105
  die( __( "Cheatin' eh?", 'amazon-web-services' ) );
106
  }
107
 
@@ -110,15 +136,17 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
110
 
111
  $post_vars = array( 'access_key_id', 'secret_access_key' );
112
  foreach ( $post_vars as $var ) {
113
- if ( ! isset( $_POST[ $var ] ) ) {
114
  continue;
115
  }
116
 
117
- if ( 'secret_access_key' == $var && '-- not shown --' == $_POST[ $var ] ) {
 
 
118
  continue;
119
  }
120
 
121
- $this->set_setting( $var, $_POST[ $var ] );
122
  }
123
 
124
  $this->save_settings();
@@ -137,8 +165,11 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
137
  return $classes;
138
  }
139
 
 
 
 
140
  function render_page() {
141
- if ( empty( $_GET['page'] ) ) {
142
  // Not sure why we'd ever end up here, but just in case
143
  wp_die( 'What the heck are we doin here?' );
144
  }
@@ -155,10 +186,20 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
155
  $this->render_view( 'footer' );
156
  }
157
 
 
 
 
 
 
158
  function are_key_constants_set() {
159
  return defined( 'AWS_ACCESS_KEY_ID' ) && defined( 'AWS_SECRET_ACCESS_KEY' );
160
  }
161
 
 
 
 
 
 
162
  function get_access_key_id() {
163
  if ( $this->are_key_constants_set() ) {
164
  return AWS_ACCESS_KEY_ID;
@@ -167,14 +208,11 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
167
  return $this->get_setting( 'access_key_id' );
168
  }
169
 
170
- function get_region() {
171
- if ( defined( 'AWS_REGION' ) ) {
172
- return AWS_REGION;
173
- }
174
-
175
- return null;
176
- }
177
-
178
  function get_secret_access_key() {
179
  if ( $this->are_key_constants_set() ) {
180
  return AWS_SECRET_ACCESS_KEY;
@@ -183,21 +221,25 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
183
  return $this->get_setting( 'secret_access_key' );
184
  }
185
 
 
 
 
 
 
 
186
  function get_client() {
187
  if ( ! $this->get_access_key_id() || ! $this->get_secret_access_key() ) {
188
- return new WP_Error( 'access_keys_missing', sprintf( __( 'You must first <a href="%s">set your AWS access keys</a> to use this addon.', 'amazon-web-services' ), 'admin.php?page=' . $this->plugin_slug ) );
189
  }
190
 
191
  if ( is_null( $this->client ) ) {
192
  $args = array(
193
- 'key' => $this->get_access_key_id(),
194
- 'secret' => $this->get_secret_access_key()
 
 
195
  );
196
 
197
- if ( $this->get_region() ) {
198
- $args['region'] = $this->get_region();
199
- }
200
-
201
  $args = apply_filters( 'aws_get_client_args', $args );
202
  $this->client = Aws::factory( $args );
203
  }
@@ -228,6 +270,13 @@ class Amazon_Web_Services extends AWS_Plugin_Base {
228
  }
229
  */
230
 
 
 
 
 
 
 
 
231
  function get_plugin_install_url( $slug ) {
232
  return wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), 'install-plugin_' . $slug );
233
  }
3
 
4
  class Amazon_Web_Services extends AWS_Plugin_Base {
5
 
6
+ private $plugin_title, $plugin_menu_title, $plugin_permission, $client;
7
 
8
  const SETTINGS_KEY = 'aws_settings';
9
 
28
 
29
  $this->plugin_title = __( 'Amazon Web Services', 'amazon-web-services' );
30
  $this->plugin_menu_title = __( 'AWS', 'amazon-web-services' );
31
+
32
+ load_plugin_textdomain( 'amazon-web-services', false, dirname( plugin_basename( $plugin_file_path ) ) . '/languages/' );
33
  }
34
 
35
+ /**
36
+ * Add the AWS menu item and sub pages
37
+ */
38
  function admin_menu() {
39
  if ( version_compare( $GLOBALS['wp_version'], '3.8', '<' ) ) {
40
  $icon_url = plugins_url( 'assets/img/icon16.png', $this->plugin_file_path );
42
  $icon_url = false;
43
  }
44
 
45
+ $hook_suffixes = array();
46
  $hook_suffixes[] = add_menu_page( $this->plugin_title, $this->plugin_menu_title, $this->plugin_permission, $this->plugin_slug, array(
47
  $this,
48
+ 'render_page',
49
  ), $icon_url );
50
 
51
  $title = __( 'Addons', 'amazon-web-services' );
52
  $hook_suffixes[] = $this->add_page( $title, $title, $this->plugin_permission, 'aws-addons', array(
53
  $this,
54
+ 'render_page',
55
  ) );
56
 
57
  global $submenu;
70
  }
71
  }
72
 
73
+ /**
74
+ * Add sub page to the AWS menu item
75
+ *
76
+ * @param $page_title
77
+ * @param $menu_title
78
+ * @param $capability
79
+ * @param $menu_slug
80
+ * @param string $function
81
+ *
82
+ * @return bool|string
83
+ */
84
  function add_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
85
  return add_submenu_page( $this->plugin_slug, $page_title, $menu_title, $capability, $menu_slug, $function );
86
  }
87
 
88
+ /**
89
+ * Load styles for the AWS menu item
90
+ */
91
  function enqueue_menu_styles() {
92
  $version = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : $this->plugin_version;
93
  $src = plugins_url( 'assets/css/global.css', $this->plugin_file_path );
94
  wp_enqueue_style( 'aws-global-styles', $src, array(), $version );
95
  }
96
 
97
+ /**
98
+ * Plugin loading enqueue scripts and styles
99
+ */
100
  function plugin_load() {
101
  $version = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : $this->plugin_version;
102
 
108
  $src = plugins_url( 'assets/js/script' . $suffix . '.js', $this->plugin_file_path );
109
  wp_enqueue_script( 'aws-script', $src, array( 'jquery' ), $version, true );
110
 
111
+ if ( isset( $_GET['page'] ) && 'aws-addons' == sanitize_key( $_GET['page'] ) ) { // input var okay
112
  add_filter( 'admin_body_class', array( $this, 'admin_plugin_body_class' ) );
113
  wp_enqueue_script( 'plugin-install' );
114
  add_thickbox();
119
  do_action( 'aws_plugin_load', $this );
120
  }
121
 
122
+ /**
123
+ * Process the saving of the settings form
124
+ */
125
  function handle_post_request() {
126
+ if ( empty( $_POST['action'] ) || 'save' != sanitize_key( $_POST['action'] ) ) { // input var okay
127
  return;
128
  }
129
 
130
+ if ( empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( $_POST['_wpnonce'] ), 'aws-save-settings' ) ) { // input var okay
131
  die( __( "Cheatin' eh?", 'amazon-web-services' ) );
132
  }
133
 
136
 
137
  $post_vars = array( 'access_key_id', 'secret_access_key' );
138
  foreach ( $post_vars as $var ) {
139
+ if ( ! isset( $_POST[ $var ] ) ) { // input var okay
140
  continue;
141
  }
142
 
143
+ $value = sanitize_text_field( $_POST[ $var ] ); // input var okay
144
+
145
+ if ( 'secret_access_key' == $var && '-- not shown --' == $value ) {
146
  continue;
147
  }
148
 
149
+ $this->set_setting( $var, $value );
150
  }
151
 
152
  $this->save_settings();
165
  return $classes;
166
  }
167
 
168
+ /**
169
+ * Render the output of a page
170
+ */
171
  function render_page() {
172
+ if ( empty( $_GET['page'] ) ) { // input var okay
173
  // Not sure why we'd ever end up here, but just in case
174
  wp_die( 'What the heck are we doin here?' );
175
  }
186
  $this->render_view( 'footer' );
187
  }
188
 
189
+ /**
190
+ * Check if we are using constants for the AWS access credentials
191
+ *
192
+ * @return bool
193
+ */
194
  function are_key_constants_set() {
195
  return defined( 'AWS_ACCESS_KEY_ID' ) && defined( 'AWS_SECRET_ACCESS_KEY' );
196
  }
197
 
198
+ /**
199
+ * Get the AWS key from a constant or the settings
200
+ *
201
+ * @return string
202
+ */
203
  function get_access_key_id() {
204
  if ( $this->are_key_constants_set() ) {
205
  return AWS_ACCESS_KEY_ID;
208
  return $this->get_setting( 'access_key_id' );
209
  }
210
 
211
+ /**
212
+ * Get the AWS secret from a constant or the settings
213
+ *
214
+ * @return string
215
+ */
 
 
 
216
  function get_secret_access_key() {
217
  if ( $this->are_key_constants_set() ) {
218
  return AWS_SECRET_ACCESS_KEY;
221
  return $this->get_setting( 'secret_access_key' );
222
  }
223
 
224
+ /**
225
+ * Instantiate a new AWS service client for the AWS SDK
226
+ * using the defined AWS key and secret
227
+ *
228
+ * @return Aws|WP_Error
229
+ */
230
  function get_client() {
231
  if ( ! $this->get_access_key_id() || ! $this->get_secret_access_key() ) {
232
+ return new WP_Error( 'access_keys_missing', sprintf( __( 'You must first <a href="%s">set your AWS access keys</a> to use this addon.', 'amazon-web-services' ), 'admin.php?page=' . $this->plugin_slug ) ); // xss ok
233
  }
234
 
235
  if ( is_null( $this->client ) ) {
236
  $args = array(
237
+ 'key' => $this->get_access_key_id(),
238
+ 'secret' => $this->get_secret_access_key(),
239
+ 'region' => 'us-east-1',
240
+ 'signature' => 'v4',
241
  );
242
 
 
 
 
 
243
  $args = apply_filters( 'aws_get_client_args', $args );
244
  $this->client = Aws::factory( $args );
245
  }
270
  }
271
  */
272
 
273
+ /**
274
+ * Get a nonced, network safe install URL for a plugin
275
+ *
276
+ * @param $slug Plugin slug
277
+ *
278
+ * @return string
279
+ */
280
  function get_plugin_install_url( $slug ) {
281
  return wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), 'install-plugin_' . $slug );
282
  }
classes/aws-compatibility-check.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  class AWS_Compatibility_Check {
3
 
4
  private $plugin_file_path;
@@ -10,10 +11,20 @@ class AWS_Compatibility_Check {
10
  add_action( 'network_admin_notices', array( $this, 'hook_admin_notices' ) );
11
  }
12
 
 
 
 
 
 
13
  function is_compatible() {
14
  return $this->get_sdk_requirements_errors() ? false : true;
15
  }
16
 
 
 
 
 
 
17
  function get_sdk_requirements_errors() {
18
  static $errors;
19
 
@@ -27,11 +38,13 @@ class AWS_Compatibility_Check {
27
  $errors[] = __( 'a PHP version less than 5.3.3', 'amazon-web-services' );
28
  }
29
 
30
- if (
31
- ! function_exists( 'curl_version' )
32
- || ! ( $curl = curl_version() ) || empty( $curl['version'] ) || empty( $curl['features'] )
33
- || version_compare( $curl['version'], '7.16.2', '<' )
34
- ) {
 
 
35
  $errors[] = __( 'a cURL version less than 7.16.2', 'amazon-web-services' );
36
  }
37
 
@@ -47,13 +60,18 @@ class AWS_Compatibility_Check {
47
  }
48
 
49
  if ( $curl_errors ) {
50
- $errors[] = __( 'cURL compiled without', 'amazon-web-services' ) . ' ' . implode( ' or ', $curl_errors );
51
  }
52
  }
53
 
54
  return $errors;
55
  }
56
 
 
 
 
 
 
57
  function get_sdk_requirements_error_msg() {
58
  $errors = $this->get_sdk_requirements_errors();
59
 
@@ -65,8 +83,7 @@ class AWS_Compatibility_Check {
65
 
66
  if ( count( $errors ) > 1 ) {
67
  $last_one = ' and ' . array_pop( $errors );
68
- }
69
- else {
70
  $last_one = '';
71
  }
72
 
@@ -75,13 +92,16 @@ class AWS_Compatibility_Check {
75
  return $msg;
76
  }
77
 
 
 
 
 
78
  function hook_admin_notices() {
79
  if ( is_multisite() ) {
80
  if ( ! current_user_can( 'manage_network_plugins' ) ) {
81
  return; // Don't show notices if the user can't manage network plugins
82
  }
83
- }
84
- else {
85
  // Don't show notices if user doesn't have plugin management privileges
86
  $caps = array( 'activate_plugins', 'update_plugins', 'install_plugins' );
87
  foreach ( $caps as $cap ) {
1
  <?php
2
+
3
  class AWS_Compatibility_Check {
4
 
5
  private $plugin_file_path;
11
  add_action( 'network_admin_notices', array( $this, 'hook_admin_notices' ) );
12
  }
13
 
14
+ /**
15
+ * Check the server is compatible with the AWS SDK
16
+ *
17
+ * @return bool
18
+ */
19
  function is_compatible() {
20
  return $this->get_sdk_requirements_errors() ? false : true;
21
  }
22
 
23
+ /**
24
+ * Return an array of issues with the server's compatibility with the AWS SDK
25
+ *
26
+ * @return array
27
+ */
28
  function get_sdk_requirements_errors() {
29
  static $errors;
30
 
38
  $errors[] = __( 'a PHP version less than 5.3.3', 'amazon-web-services' );
39
  }
40
 
41
+ if ( ! function_exists( 'curl_version' ) ) {
42
+ $errors[] = __( 'no PHP cURL library activated', 'amazon-web-services' );
43
+
44
+ return $errors;
45
+ }
46
+
47
+ if ( ! ( $curl = curl_version() ) || empty( $curl['version'] ) || empty( $curl['features'] ) || version_compare( $curl['version'], '7.16.2', '<' ) ) {
48
  $errors[] = __( 'a cURL version less than 7.16.2', 'amazon-web-services' );
49
  }
50
 
60
  }
61
 
62
  if ( $curl_errors ) {
63
+ $errors[] = __( 'cURL compiled without', 'amazon-web-services' ) . ' ' . implode( ' or ', $curl_errors ); // xss ok
64
  }
65
  }
66
 
67
  return $errors;
68
  }
69
 
70
+ /**
71
+ * Prepare an error message with compatibility issues
72
+ *
73
+ * @return string
74
+ */
75
  function get_sdk_requirements_error_msg() {
76
  $errors = $this->get_sdk_requirements_errors();
77
 
83
 
84
  if ( count( $errors ) > 1 ) {
85
  $last_one = ' and ' . array_pop( $errors );
86
+ } else {
 
87
  $last_one = '';
88
  }
89
 
92
  return $msg;
93
  }
94
 
95
+ /**
96
+ * Display the compatibility error message for users
97
+ * Deactivate the plugin if there are errors
98
+ */
99
  function hook_admin_notices() {
100
  if ( is_multisite() ) {
101
  if ( ! current_user_can( 'manage_network_plugins' ) ) {
102
  return; // Don't show notices if the user can't manage network plugins
103
  }
104
+ } else {
 
105
  // Don't show notices if user doesn't have plugin management privileges
106
  $caps = array( 'activate_plugins', 'update_plugins', 'install_plugins' );
107
  foreach ( $caps as $cap ) {
classes/aws-plugin-base.php CHANGED
@@ -24,12 +24,19 @@ class AWS_Plugin_Base {
24
  /**
25
  * Accessor for plugin slug
26
  *
27
- * @return mixed
28
  */
29
  public function get_plugin_slug() {
30
  return $this->plugin_slug;
31
  }
32
 
 
 
 
 
 
 
 
33
  function get_settings( $force = false ) {
34
  if ( is_null( $this->settings ) || $force ) {
35
  $this->settings = get_site_option( static::SETTINGS_KEY );
@@ -38,6 +45,14 @@ class AWS_Plugin_Base {
38
  return $this->settings;
39
  }
40
 
 
 
 
 
 
 
 
 
41
  function get_setting( $key, $default = '' ) {
42
  $this->get_settings();
43
 
@@ -48,6 +63,11 @@ class AWS_Plugin_Base {
48
  return $default;
49
  }
50
 
 
 
 
 
 
51
  function remove_setting( $key ) {
52
  $this->get_settings();
53
 
@@ -56,19 +76,39 @@ class AWS_Plugin_Base {
56
  }
57
  }
58
 
 
 
 
 
 
 
59
  function render_view( $view, $args = array() ) {
60
  extract( $args );
61
  include $this->plugin_dir_path . '/view/' . $view . '.php';
62
  }
63
 
 
 
 
 
 
 
64
  function set_setting( $key, $value ) {
65
  $this->settings[ $key ] = $value;
66
  }
67
 
 
 
 
 
 
68
  function set_settings( $settings ) {
69
  $this->settings = $settings;
70
  }
71
 
 
 
 
72
  function save_settings() {
73
  update_site_option( static::SETTINGS_KEY, $this->settings );
74
  }
24
  /**
25
  * Accessor for plugin slug
26
  *
27
+ * @return string
28
  */
29
  public function get_plugin_slug() {
30
  return $this->plugin_slug;
31
  }
32
 
33
+ /**
34
+ * Get the plugin's settings array
35
+ *
36
+ * @param bool $force
37
+ *
38
+ * @return array
39
+ */
40
  function get_settings( $force = false ) {
41
  if ( is_null( $this->settings ) || $force ) {
42
  $this->settings = get_site_option( static::SETTINGS_KEY );
45
  return $this->settings;
46
  }
47
 
48
+ /**
49
+ * Get a specific setting
50
+ *
51
+ * @param $key
52
+ * @param string $default
53
+ *
54
+ * @return string
55
+ */
56
  function get_setting( $key, $default = '' ) {
57
  $this->get_settings();
58
 
63
  return $default;
64
  }
65
 
66
+ /**
67
+ * Delete a setting
68
+ *
69
+ * @param $key
70
+ */
71
  function remove_setting( $key ) {
72
  $this->get_settings();
73
 
76
  }
77
  }
78
 
79
+ /**
80
+ * Render a view template file
81
+ *
82
+ * @param $view View filename without the extension
83
+ * @param array $args Arguments to pass to the view
84
+ */
85
  function render_view( $view, $args = array() ) {
86
  extract( $args );
87
  include $this->plugin_dir_path . '/view/' . $view . '.php';
88
  }
89
 
90
+ /**
91
+ * Set a setting
92
+ *
93
+ * @param $key
94
+ * @param $value
95
+ */
96
  function set_setting( $key, $value ) {
97
  $this->settings[ $key ] = $value;
98
  }
99
 
100
+ /**
101
+ * Bulk set the settings array
102
+ *
103
+ * @param array $settings
104
+ */
105
  function set_settings( $settings ) {
106
  $this->settings = $settings;
107
  }
108
 
109
+ /**
110
+ * Save the settings to the database
111
+ */
112
  function save_settings() {
113
  update_site_option( static::SETTINGS_KEY, $this->settings );
114
  }
languages/amazon-web-services.pot ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Amazon Web Services\n"
4
+ "POT-Creation-Date: 2015-01-09 17:14-0000\n"
5
+ "PO-Revision-Date: 2015-01-09 17:14-0000\n"
6
+ "Last-Translator: Delicious Brains <nom@deliciousbrains.com>\n"
7
+ "Language-Team: Delicious Brains <nom@deliciousbrains.com>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.7\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
16
+ "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
17
+ "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: vendor\n"
21
+ "X-Poedit-SearchPathExcluded-1: assets\n"
22
+
23
+ #: classes/amazon-web-services.php:29 view/header.php:3
24
+ msgid "Amazon Web Services"
25
+ msgstr ""
26
+
27
+ #: classes/amazon-web-services.php:30
28
+ msgid "AWS"
29
+ msgstr ""
30
+
31
+ #: classes/amazon-web-services.php:51
32
+ msgid "Addons"
33
+ msgstr ""
34
+
35
+ #: classes/amazon-web-services.php:59
36
+ msgid "Settings"
37
+ msgstr ""
38
+
39
+ #: classes/amazon-web-services.php:131
40
+ msgid "Cheatin' eh?"
41
+ msgstr ""
42
+
43
+ #: classes/amazon-web-services.php:245
44
+ #, php-format
45
+ msgid ""
46
+ "You must first <a href=\"%s\">set your AWS access keys</a> to use this addon."
47
+ msgstr ""
48
+
49
+ #: classes/aws-compatibility-check.php:38
50
+ msgid "a PHP version less than 5.3.3"
51
+ msgstr ""
52
+
53
+ #: classes/aws-compatibility-check.php:42
54
+ msgid "no PHP cURL library activated"
55
+ msgstr ""
56
+
57
+ #: classes/aws-compatibility-check.php:48
58
+ msgid "a cURL version less than 7.16.2"
59
+ msgstr ""
60
+
61
+ #: classes/aws-compatibility-check.php:63
62
+ msgid "cURL compiled without"
63
+ msgstr ""
64
+
65
+ #: classes/aws-compatibility-check.php:82
66
+ msgid ""
67
+ "The official Amazon&nbsp;Web&nbsp;Services SDK requires PHP 5.3.3+ and cURL "
68
+ "7.16.2+ compiled with OpenSSL and zlib. Your server currently has"
69
+ msgstr ""
70
+
71
+ #: classes/aws-compatibility-check.php:120
72
+ msgid "The Amazon&nbsp;Web&nbsp;Services plugin has been deactivated."
73
+ msgstr ""
74
+
75
+ #: view/activation-error.php:5
76
+ msgid "Activation Error"
77
+ msgstr ""
78
+
79
+ #: view/addons.php:6
80
+ msgid "Amazon S3 and CloudFront"
81
+ msgstr ""
82
+
83
+ #: view/addons.php:20
84
+ msgid "View Details"
85
+ msgstr ""
86
+
87
+ #: view/addons.php:24
88
+ msgctxt "amazon-web-services"
89
+ msgid "Already Installed"
90
+ msgstr ""
91
+
92
+ #: view/addons.php:26
93
+ msgid "Install Now"
94
+ msgstr ""
95
+
96
+ #: view/settings.php:8
97
+ msgid ""
98
+ "You&#8217;ve already defined your AWS access keys in your wp-config.php. If "
99
+ "you&#8217;d prefer to manage them here and store them in the database (not "
100
+ "recommended), simply remove the lines from your wp-config."
101
+ msgstr ""
102
+
103
+ #: view/settings.php:14
104
+ #, php-format
105
+ msgid ""
106
+ "If you don&#8217;t have an Amazon Web Services account yet, you need to <a "
107
+ "href=\"%s\">sign up</a>."
108
+ msgstr ""
109
+
110
+ #: view/settings.php:17
111
+ #, php-format
112
+ msgid ""
113
+ "Once you&#8217;ve signed up, you will need to <a href=\"%s\">create a new "
114
+ "IAM user</a> and grant access to the specific services which this plugin "
115
+ "will use (e.g. S3)."
116
+ msgstr ""
117
+
118
+ #: view/settings.php:20
119
+ msgid ""
120
+ "Once the user has been created, you will be presented with a couple of keys. "
121
+ "Copy the folowing code to your wp-config.php and replace the stars with the "
122
+ "keys."
123
+ msgstr ""
124
+
125
+ #: view/settings.php:27
126
+ msgid ""
127
+ "If you&#8217;d rather not to edit your wp-config.php and are ok storing the "
128
+ "keys in the database (not recommended), <a href=\"\">click here to reveal a "
129
+ "form.</a>"
130
+ msgstr ""
131
+
132
+ #: view/settings.php:43
133
+ msgid "Access Key ID:"
134
+ msgstr ""
135
+
136
+ #: view/settings.php:49
137
+ msgid "Secret Access Key:"
138
+ msgstr ""
139
+
140
+ #: view/settings.php:56
141
+ msgid "Save Changes"
142
+ msgstr ""
143
+
144
+ #: view/settings.php:59
145
+ msgid "Remove Keys"
146
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: amazon, amazon web services
5
  Requires at least: 3.5
6
  Tested up to: 4.1
7
- Stable tag: 0.2
8
  License: GPLv3
9
 
10
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
@@ -26,6 +26,13 @@ This plugin is required by other plugins, which uses its libraries and its setti
26
 
27
  == Changelog ==
28
 
 
 
 
 
 
 
 
29
  = 0.2 - 2014-12-04 =
30
  * New: AWS SDK updated to 2.6.16
31
  * New: Set the region for the AWS client by defining `AWS_REGION` in your wp-config.php
@@ -37,4 +44,4 @@ This plugin is required by other plugins, which uses its libraries and its setti
37
  * Improvement: Code formatting to WordPress standards
38
 
39
  = 0.1 - 2013-09-20 =
40
- * First release
4
  Tags: amazon, amazon web services
5
  Requires at least: 3.5
6
  Tested up to: 4.1
7
+ Stable tag: 0.2.1
8
  License: GPLv3
9
 
10
  Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
26
 
27
  == Changelog ==
28
 
29
+ = 0.2.1 - 2015-01-10 =
30
+ * New: AWS SDK updated to 2.7.13
31
+ * New: Translation ready
32
+ * Improvement: Code cleanup to WordPress coding standards
33
+ * Improvement: Settings notice UI aligned with WordPress style
34
+ * Bug: Error if migrating keys over from old Amazon S3 and CloudFront plugin settings
35
+
36
  = 0.2 - 2014-12-04 =
37
  * New: AWS SDK updated to 2.6.16
38
  * New: Set the region for the AWS client by defining `AWS_REGION` in your wp-config.php
44
  * Improvement: Code formatting to WordPress standards
45
 
46
  = 0.1 - 2013-09-20 =
47
+ * First release
vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php CHANGED
@@ -301,11 +301,11 @@ return array (
301
  ),
302
  'errorResponses' => array(
303
  array(
304
- 'reason' => 'The named Auto Scaling group or launch configuration already exists.',
305
  'class' => 'AlreadyExistsException',
306
  ),
307
  array(
308
- 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
309
  'class' => 'LimitExceededException',
310
  ),
311
  ),
@@ -480,11 +480,11 @@ return array (
480
  ),
481
  'errorResponses' => array(
482
  array(
483
- 'reason' => 'The named Auto Scaling group or launch configuration already exists.',
484
  'class' => 'AlreadyExistsException',
485
  ),
486
  array(
487
- 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
488
  'class' => 'LimitExceededException',
489
  ),
490
  ),
@@ -541,11 +541,11 @@ return array (
541
  ),
542
  'errorResponses' => array(
543
  array(
544
- 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
545
  'class' => 'LimitExceededException',
546
  ),
547
  array(
548
- 'reason' => 'The named Auto Scaling group or launch configuration already exists.',
549
  'class' => 'AlreadyExistsException',
550
  ),
551
  ),
@@ -582,11 +582,11 @@ return array (
582
  ),
583
  'errorResponses' => array(
584
  array(
585
- 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
586
  'class' => 'ScalingActivityInProgressException',
587
  ),
588
  array(
589
- 'reason' => 'This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.',
590
  'class' => 'ResourceInUseException',
591
  ),
592
  ),
@@ -618,7 +618,7 @@ return array (
618
  ),
619
  'errorResponses' => array(
620
  array(
621
- 'reason' => 'This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.',
622
  'class' => 'ResourceInUseException',
623
  ),
624
  ),
@@ -881,7 +881,7 @@ return array (
881
  ),
882
  'errorResponses' => array(
883
  array(
884
- 'reason' => 'The NextToken value is invalid.',
885
  'class' => 'InvalidNextTokenException',
886
  ),
887
  ),
@@ -925,7 +925,7 @@ return array (
925
  ),
926
  'errorResponses' => array(
927
  array(
928
- 'reason' => 'The NextToken value is invalid.',
929
  'class' => 'InvalidNextTokenException',
930
  ),
931
  ),
@@ -988,7 +988,7 @@ return array (
988
  ),
989
  'errorResponses' => array(
990
  array(
991
- 'reason' => 'The NextToken value is invalid.',
992
  'class' => 'InvalidNextTokenException',
993
  ),
994
  ),
@@ -1107,7 +1107,7 @@ return array (
1107
  ),
1108
  'errorResponses' => array(
1109
  array(
1110
- 'reason' => 'The NextToken value is invalid.',
1111
  'class' => 'InvalidNextTokenException',
1112
  ),
1113
  ),
@@ -1157,7 +1157,7 @@ return array (
1157
  ),
1158
  'errorResponses' => array(
1159
  array(
1160
- 'reason' => 'The NextToken value is invalid.',
1161
  'class' => 'InvalidNextTokenException',
1162
  ),
1163
  ),
@@ -1205,7 +1205,7 @@ return array (
1205
  ),
1206
  'errorResponses' => array(
1207
  array(
1208
- 'reason' => 'The NextToken value is invalid.',
1209
  'class' => 'InvalidNextTokenException',
1210
  ),
1211
  ),
@@ -1292,7 +1292,7 @@ return array (
1292
  ),
1293
  'errorResponses' => array(
1294
  array(
1295
- 'reason' => 'The NextToken value is invalid.',
1296
  'class' => 'InvalidNextTokenException',
1297
  ),
1298
  ),
@@ -1347,7 +1347,7 @@ return array (
1347
  ),
1348
  'errorResponses' => array(
1349
  array(
1350
- 'reason' => 'The NextToken value is invalid.',
1351
  'class' => 'InvalidNextTokenException',
1352
  ),
1353
  ),
@@ -1576,7 +1576,7 @@ return array (
1576
  ),
1577
  'errorResponses' => array(
1578
  array(
1579
- 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
1580
  'class' => 'ScalingActivityInProgressException',
1581
  ),
1582
  ),
@@ -1682,7 +1682,7 @@ return array (
1682
  ),
1683
  'errorResponses' => array(
1684
  array(
1685
- 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
1686
  'class' => 'LimitExceededException',
1687
  ),
1688
  ),
@@ -1733,7 +1733,7 @@ return array (
1733
  ),
1734
  'errorResponses' => array(
1735
  array(
1736
- 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
1737
  'class' => 'LimitExceededException',
1738
  ),
1739
  ),
@@ -1792,7 +1792,7 @@ return array (
1792
  ),
1793
  'errorResponses' => array(
1794
  array(
1795
- 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
1796
  'class' => 'LimitExceededException',
1797
  ),
1798
  ),
@@ -1876,11 +1876,11 @@ return array (
1876
  ),
1877
  'errorResponses' => array(
1878
  array(
1879
- 'reason' => 'The named Auto Scaling group or launch configuration already exists.',
1880
  'class' => 'AlreadyExistsException',
1881
  ),
1882
  array(
1883
- 'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
1884
  'class' => 'LimitExceededException',
1885
  ),
1886
  ),
@@ -1999,7 +1999,7 @@ return array (
1999
  ),
2000
  'errorResponses' => array(
2001
  array(
2002
- 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
2003
  'class' => 'ScalingActivityInProgressException',
2004
  ),
2005
  ),
@@ -2112,7 +2112,7 @@ return array (
2112
  ),
2113
  'errorResponses' => array(
2114
  array(
2115
- 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
2116
  'class' => 'ScalingActivityInProgressException',
2117
  ),
2118
  ),
@@ -2211,7 +2211,7 @@ return array (
2211
  ),
2212
  'errorResponses' => array(
2213
  array(
2214
- 'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
2215
  'class' => 'ScalingActivityInProgressException',
2216
  ),
2217
  ),
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
  ),
480
  ),
481
  'errorResponses' => array(
482
  array(
483
+ 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.',
484
  'class' => 'AlreadyExistsException',
485
  ),
486
  array(
487
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
488
  'class' => 'LimitExceededException',
489
  ),
490
  ),
541
  ),
542
  'errorResponses' => array(
543
  array(
544
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
545
  'class' => 'LimitExceededException',
546
  ),
547
  array(
548
+ 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.',
549
  'class' => 'AlreadyExistsException',
550
  ),
551
  ),
582
  ),
583
  'errorResponses' => array(
584
  array(
585
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
586
  'class' => 'ScalingActivityInProgressException',
587
  ),
588
  array(
589
+ 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.',
590
  'class' => 'ResourceInUseException',
591
  ),
592
  ),
618
  ),
619
  'errorResponses' => array(
620
  array(
621
+ 'reason' => 'The Auto Scaling group or launch configuration can\'t be deleted because it is in use.',
622
  'class' => 'ResourceInUseException',
623
  ),
624
  ),
881
  ),
882
  'errorResponses' => array(
883
  array(
884
+ 'reason' => 'The NextToken value is not valid.',
885
  'class' => 'InvalidNextTokenException',
886
  ),
887
  ),
925
  ),
926
  'errorResponses' => array(
927
  array(
928
+ 'reason' => 'The NextToken value is not valid.',
929
  'class' => 'InvalidNextTokenException',
930
  ),
931
  ),
988
  ),
989
  'errorResponses' => array(
990
  array(
991
+ 'reason' => 'The NextToken value is not valid.',
992
  'class' => 'InvalidNextTokenException',
993
  ),
994
  ),
1107
  ),
1108
  'errorResponses' => array(
1109
  array(
1110
+ 'reason' => 'The NextToken value is not valid.',
1111
  'class' => 'InvalidNextTokenException',
1112
  ),
1113
  ),
1157
  ),
1158
  'errorResponses' => array(
1159
  array(
1160
+ 'reason' => 'The NextToken value is not valid.',
1161
  'class' => 'InvalidNextTokenException',
1162
  ),
1163
  ),
1205
  ),
1206
  'errorResponses' => array(
1207
  array(
1208
+ 'reason' => 'The NextToken value is not valid.',
1209
  'class' => 'InvalidNextTokenException',
1210
  ),
1211
  ),
1292
  ),
1293
  'errorResponses' => array(
1294
  array(
1295
+ 'reason' => 'The NextToken value is not valid.',
1296
  'class' => 'InvalidNextTokenException',
1297
  ),
1298
  ),
1347
  ),
1348
  'errorResponses' => array(
1349
  array(
1350
+ 'reason' => 'The NextToken value is not valid.',
1351
  'class' => 'InvalidNextTokenException',
1352
  ),
1353
  ),
1576
  ),
1577
  'errorResponses' => array(
1578
  array(
1579
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
1580
  'class' => 'ScalingActivityInProgressException',
1581
  ),
1582
  ),
1682
  ),
1683
  'errorResponses' => array(
1684
  array(
1685
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1686
  'class' => 'LimitExceededException',
1687
  ),
1688
  ),
1733
  ),
1734
  'errorResponses' => array(
1735
  array(
1736
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1737
  'class' => 'LimitExceededException',
1738
  ),
1739
  ),
1792
  ),
1793
  'errorResponses' => array(
1794
  array(
1795
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1796
  'class' => 'LimitExceededException',
1797
  ),
1798
  ),
1876
  ),
1877
  'errorResponses' => array(
1878
  array(
1879
+ 'reason' => 'You already have an Auto Scaling group or launch configuration with this name.',
1880
  'class' => 'AlreadyExistsException',
1881
  ),
1882
  array(
1883
+ 'reason' => 'The limit for the number of Auto Scaling groups or launch configurations has already been reached.',
1884
  'class' => 'LimitExceededException',
1885
  ),
1886
  ),
1999
  ),
2000
  'errorResponses' => array(
2001
  array(
2002
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
2003
  'class' => 'ScalingActivityInProgressException',
2004
  ),
2005
  ),
2112
  ),
2113
  'errorResponses' => array(
2114
  array(
2115
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
2116
  'class' => 'ScalingActivityInProgressException',
2117
  ),
2118
  ),
2211
  ),
2212
  'errorResponses' => array(
2213
  array(
2214
+ 'reason' => 'The Auto Scaling group can\'t be deleted because there are scaling activities in progress.',
2215
  'class' => 'ScalingActivityInProgressException',
2216
  ),
2217
  ),
vendor/aws/Aws/CloudFormation/CloudFormationClient.php CHANGED
@@ -36,9 +36,11 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
36
  * @method Model estimateTemplateCost(array $args = array()) {@command CloudFormation EstimateTemplateCost}
37
  * @method Model getStackPolicy(array $args = array()) {@command CloudFormation GetStackPolicy}
38
  * @method Model getTemplate(array $args = array()) {@command CloudFormation GetTemplate}
 
39
  * @method Model listStackResources(array $args = array()) {@command CloudFormation ListStackResources}
40
  * @method Model listStacks(array $args = array()) {@command CloudFormation ListStacks}
41
  * @method Model setStackPolicy(array $args = array()) {@command CloudFormation SetStackPolicy}
 
42
  * @method Model updateStack(array $args = array()) {@command CloudFormation UpdateStack}
43
  * @method Model validateTemplate(array $args = array()) {@command CloudFormation ValidateTemplate}
44
  * @method ResourceIteratorInterface getDescribeStackEventsIterator(array $args = array()) The input array uses the parameters of the DescribeStackEvents operation
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
vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php CHANGED
@@ -472,6 +472,41 @@ return array (
472
  ),
473
  ),
474
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
475
  'ListStackResources' => array(
476
  'httpMethod' => 'POST',
477
  'uri' => '/',
@@ -572,6 +607,48 @@ return array (
572
  ),
573
  ),
574
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
575
  'UpdateStack' => array(
576
  'httpMethod' => 'POST',
577
  'uri' => '/',
@@ -1013,6 +1090,59 @@ return array (
1013
  ),
1014
  ),
1015
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1016
  'ListStackResourcesOutput' => array(
1017
  'type' => 'object',
1018
  'additionalProperties' => true,
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' => '/',
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' => '/',
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,
vendor/aws/Aws/CloudFront/CloudFrontClient.php CHANGED
@@ -64,7 +64,7 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
64
  */
65
  class CloudFrontClient extends AbstractClient
66
  {
67
- const LATEST_API_VERSION = '2014-05-31';
68
 
69
  /**
70
  * Factory method to create a new Amazon CloudFront client using an array of configuration options.
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.
vendor/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
+ );
vendor/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
+ }
vendor/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 {}
vendor/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
+ );
vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2013-01-01.php CHANGED
@@ -196,6 +196,9 @@ return array (
196
  'StemmingDictionary' => array(
197
  'type' => 'string',
198
  ),
 
 
 
199
  'AlgorithmicStemming' => array(
200
  'type' => 'string',
201
  ),
@@ -1001,7 +1004,7 @@ return array (
1001
  'location' => 'aws.query',
1002
  'sentAs' => 'AnalysisSchemeNames.member',
1003
  'items' => array(
1004
- 'name' => 'FieldName',
1005
  'type' => 'string',
1006
  'minLength' => 1,
1007
  'maxLength' => 64,
@@ -1154,7 +1157,7 @@ return array (
1154
  'location' => 'aws.query',
1155
  'sentAs' => 'ExpressionNames.member',
1156
  'items' => array(
1157
- 'name' => 'FieldName',
1158
  'type' => 'string',
1159
  'minLength' => 1,
1160
  'maxLength' => 64,
@@ -1210,7 +1213,7 @@ return array (
1210
  'location' => 'aws.query',
1211
  'sentAs' => 'FieldNames.member',
1212
  'items' => array(
1213
- 'name' => 'FieldName',
1214
  'type' => 'string',
1215
  'minLength' => 1,
1216
  'maxLength' => 64,
@@ -1351,7 +1354,7 @@ return array (
1351
  'location' => 'aws.query',
1352
  'sentAs' => 'SuggesterNames.member',
1353
  'items' => array(
1354
- 'name' => 'FieldName',
1355
  'type' => 'string',
1356
  'minLength' => 1,
1357
  'maxLength' => 64,
@@ -1689,6 +1692,17 @@ return array (
1689
  'SearchInstanceCount' => array(
1690
  'type' => 'numeric',
1691
  ),
 
 
 
 
 
 
 
 
 
 
 
1692
  ),
1693
  ),
1694
  ),
@@ -1722,6 +1736,9 @@ return array (
1722
  'StemmingDictionary' => array(
1723
  'type' => 'string',
1724
  ),
 
 
 
1725
  'AlgorithmicStemming' => array(
1726
  'type' => 'string',
1727
  ),
@@ -2160,6 +2177,9 @@ return array (
2160
  'StemmingDictionary' => array(
2161
  'type' => 'string',
2162
  ),
 
 
 
2163
  'AlgorithmicStemming' => array(
2164
  'type' => 'string',
2165
  ),
@@ -2245,6 +2265,17 @@ return array (
2245
  'SearchInstanceCount' => array(
2246
  'type' => 'numeric',
2247
  ),
 
 
 
 
 
 
 
 
 
 
 
2248
  ),
2249
  ),
2250
  ),
@@ -2660,6 +2691,9 @@ return array (
2660
  'StemmingDictionary' => array(
2661
  'type' => 'string',
2662
  ),
 
 
 
2663
  'AlgorithmicStemming' => array(
2664
  'type' => 'string',
2665
  ),
@@ -2785,6 +2819,17 @@ return array (
2785
  'SearchInstanceCount' => array(
2786
  'type' => 'numeric',
2787
  ),
 
 
 
 
 
 
 
 
 
 
 
2788
  ),
2789
  ),
2790
  ),
196
  'StemmingDictionary' => array(
197
  'type' => 'string',
198
  ),
199
+ 'JapaneseTokenizationDictionary' => array(
200
+ 'type' => 'string',
201
+ ),
202
  'AlgorithmicStemming' => array(
203
  'type' => 'string',
204
  ),
1004
  'location' => 'aws.query',
1005
  'sentAs' => 'AnalysisSchemeNames.member',
1006
  'items' => array(
1007
+ 'name' => 'StandardName',
1008
  'type' => 'string',
1009
  'minLength' => 1,
1010
  'maxLength' => 64,
1157
  'location' => 'aws.query',
1158
  'sentAs' => 'ExpressionNames.member',
1159
  'items' => array(
1160
+ 'name' => 'StandardName',
1161
  'type' => 'string',
1162
  'minLength' => 1,
1163
  'maxLength' => 64,
1213
  'location' => 'aws.query',
1214
  'sentAs' => 'FieldNames.member',
1215
  'items' => array(
1216
+ 'name' => 'DynamicFieldName',
1217
  'type' => 'string',
1218
  'minLength' => 1,
1219
  'maxLength' => 64,
1354
  'location' => 'aws.query',
1355
  'sentAs' => 'SuggesterNames.member',
1356
  'items' => array(
1357
+ 'name' => 'StandardName',
1358
  'type' => 'string',
1359
  'minLength' => 1,
1360
  'maxLength' => 64,
1692
  'SearchInstanceCount' => array(
1693
  'type' => 'numeric',
1694
  ),
1695
+ 'Limits' => array(
1696
+ 'type' => 'object',
1697
+ 'properties' => array(
1698
+ 'MaximumReplicationCount' => array(
1699
+ 'type' => 'numeric',
1700
+ ),
1701
+ 'MaximumPartitionCount' => array(
1702
+ 'type' => 'numeric',
1703
+ ),
1704
+ ),
1705
+ ),
1706
  ),
1707
  ),
1708
  ),
1736
  'StemmingDictionary' => array(
1737
  'type' => 'string',
1738
  ),
1739
+ 'JapaneseTokenizationDictionary' => array(
1740
+ 'type' => 'string',
1741
+ ),
1742
  'AlgorithmicStemming' => array(
1743
  'type' => 'string',
1744
  ),
2177
  'StemmingDictionary' => array(
2178
  'type' => 'string',
2179
  ),
2180
+ 'JapaneseTokenizationDictionary' => array(
2181
+ 'type' => 'string',
2182
+ ),
2183
  'AlgorithmicStemming' => array(
2184
  'type' => 'string',
2185
  ),
2265
  'SearchInstanceCount' => array(
2266
  'type' => 'numeric',
2267
  ),
2268
+ 'Limits' => array(
2269
+ 'type' => 'object',
2270
+ 'properties' => array(
2271
+ 'MaximumReplicationCount' => array(
2272
+ 'type' => 'numeric',
2273
+ ),
2274
+ 'MaximumPartitionCount' => array(
2275
+ 'type' => 'numeric',
2276
+ ),
2277
+ ),
2278
+ ),
2279
  ),
2280
  ),
2281
  ),
2691
  'StemmingDictionary' => array(
2692
  'type' => 'string',
2693
  ),
2694
+ 'JapaneseTokenizationDictionary' => array(
2695
+ 'type' => 'string',
2696
+ ),
2697
  'AlgorithmicStemming' => array(
2698
  'type' => 'string',
2699
  ),
2819
  'SearchInstanceCount' => array(
2820
  'type' => 'numeric',
2821
  ),
2822
+ 'Limits' => array(
2823
+ 'type' => 'object',
2824
+ 'properties' => array(
2825
+ 'MaximumReplicationCount' => array(
2826
+ 'type' => 'numeric',
2827
+ ),
2828
+ 'MaximumPartitionCount' => array(
2829
+ 'type' => 'numeric',
2830
+ ),
2831
+ ),
2832
+ ),
2833
  ),
2834
  ),
2835
  ),
vendor/aws/Aws/CloudSearchDomain/CloudSearchDomainClient.php CHANGED
@@ -10,7 +10,7 @@ use Guzzle\Common\Collection;
10
  use Guzzle\Service\Resource\Model;
11
 
12
  /**
13
- * Client to interact with Amazon CloudSearchDomain
14
  *
15
  * @method Model search(array $args = array()) {@command CloudSearchDomain Search}
16
  * @method Model suggest(array $args = array()) {@command CloudSearchDomain Suggest}
@@ -24,7 +24,7 @@ class CloudSearchDomainClient extends AbstractClient
24
  const LATEST_API_VERSION = '2013-01-01';
25
 
26
  /**
27
- * Factory method to create a new Amazon CloudSearchDomain client using an array of configuration options.
28
  *
29
  * You must provide the `base_url` option for this client, but credentials and `region` are not needed.
30
  *
10
  use Guzzle\Service\Resource\Model;
11
 
12
  /**
13
+ * Client to interact with Amazon CloudSearch Domain
14
  *
15
  * @method Model search(array $args = array()) {@command CloudSearchDomain Search}
16
  * @method Model suggest(array $args = array()) {@command CloudSearchDomain Suggest}
24
  const LATEST_API_VERSION = '2013-01-01';
25
 
26
  /**
27
+ * Factory method to create a new Amazon CloudSearch Domain client using an array of configuration options.
28
  *
29
  * You must provide the `base_url` option for this client, but credentials and `region` are not needed.
30
  *
vendor/aws/Aws/CloudSearchDomain/Resources/cloudsearchdomain-2013-01-01.php CHANGED
@@ -3,14 +3,14 @@
3
  return array (
4
  'apiVersion' => '2013-01-01',
5
  'endpointPrefix' => 'cloudsearchdomain',
6
- 'serviceFullName' => 'Amazon CloudSearchDomain',
7
  'serviceType' => 'rest-json',
8
  'signatureVersion' => 'v4',
9
  'signingName' => 'cloudsearch',
10
  'namespace' => 'CloudSearchDomain',
11
  'operations' => array(
12
  'Search' => array(
13
- 'httpMethod' => 'GET',
14
  'uri' => '/2013-01-01/search?format=sdk&pretty=true',
15
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
16
  'responseClass' => 'SearchResponse',
3
  return array (
4
  'apiVersion' => '2013-01-01',
5
  'endpointPrefix' => 'cloudsearchdomain',
6
+ 'serviceFullName' => 'Amazon CloudSearch Domain',
7
  'serviceType' => 'rest-json',
8
  'signatureVersion' => 'v4',
9
  'signingName' => 'cloudsearch',
10
  'namespace' => 'CloudSearchDomain',
11
  'operations' => array(
12
  'Search' => array(
13
+ 'httpMethod' => 'POST',
14
  'uri' => '/2013-01-01/search?format=sdk&pretty=true',
15
  'class' => 'Guzzle\\Service\\Command\\OperationCommand',
16
  'responseClass' => 'SearchResponse',
vendor/aws/Aws/CloudTrail/Resources/cloudtrail-2013-11-01.php CHANGED
@@ -111,6 +111,14 @@ return array (
111
  'format' => 'boolean-string',
112
  'location' => 'json',
113
  ),
 
 
 
 
 
 
 
 
114
  ),
115
  'errorResponses' => array(
116
  array(
@@ -149,6 +157,18 @@ return array (
149
  'reason' => 'This exception is thrown when the provided trail name is not valid.',
150
  'class' => 'InvalidTrailNameException',
151
  ),
 
 
 
 
 
 
 
 
 
 
 
 
152
  ),
153
  ),
154
  'DeleteTrail' => array(
@@ -377,6 +397,14 @@ return array (
377
  'format' => 'boolean-string',
378
  'location' => 'json',
379
  ),
 
 
 
 
 
 
 
 
380
  ),
381
  'errorResponses' => array(
382
  array(
@@ -411,6 +439,18 @@ return array (
411
  'reason' => 'This exception is thrown when the provided trail name is not valid.',
412
  'class' => 'InvalidTrailNameException',
413
  ),
 
 
 
 
 
 
 
 
 
 
 
 
414
  ),
415
  ),
416
  ),
@@ -439,6 +479,14 @@ return array (
439
  'type' => 'boolean',
440
  'location' => 'json',
441
  ),
 
 
 
 
 
 
 
 
442
  ),
443
  ),
444
  'EmptyOutput' => array(
@@ -471,6 +519,12 @@ return array (
471
  'IncludeGlobalServiceEvents' => array(
472
  'type' => 'boolean',
473
  ),
 
 
 
 
 
 
474
  ),
475
  ),
476
  ),
@@ -508,6 +562,14 @@ return array (
508
  'type' => 'string',
509
  'location' => 'json',
510
  ),
 
 
 
 
 
 
 
 
511
  ),
512
  ),
513
  'UpdateTrailResponse' => array(
@@ -534,6 +596,14 @@ return array (
534
  'type' => 'boolean',
535
  'location' => 'json',
536
  ),
 
 
 
 
 
 
 
 
537
  ),
538
  ),
539
  ),
111
  'format' => 'boolean-string',
112
  'location' => 'json',
113
  ),
114
+ 'CloudWatchLogsLogGroupArn' => array(
115
+ 'type' => 'string',
116
+ 'location' => 'json',
117
+ ),
118
+ 'CloudWatchLogsRoleArn' => array(
119
+ 'type' => 'string',
120
+ 'location' => 'json',
121
+ ),
122
  ),
123
  'errorResponses' => array(
124
  array(
157
  'reason' => 'This exception is thrown when the provided trail name is not valid.',
158
  'class' => 'InvalidTrailNameException',
159
  ),
160
+ array(
161
+ 'reason' => 'This exception is thrown when the provided CloudWatch log group is not valid.',
162
+ 'class' => 'InvalidCloudWatchLogsLogGroupArnException',
163
+ ),
164
+ array(
165
+ 'reason' => 'This exception is thrown when the provided role is not valid.',
166
+ 'class' => 'InvalidCloudWatchLogsRoleArnException',
167
+ ),
168
+ array(
169
+ 'reason' => 'Cannot set a CloudWatch Logs delivery for this region.',
170
+ 'class' => 'CloudWatchLogsDeliveryUnavailableException',
171
+ ),
172
  ),
173
  ),
174
  'DeleteTrail' => array(
397
  'format' => 'boolean-string',
398
  'location' => 'json',
399
  ),
400
+ 'CloudWatchLogsLogGroupArn' => array(
401
+ 'type' => 'string',
402
+ 'location' => 'json',
403
+ ),
404
+ 'CloudWatchLogsRoleArn' => array(
405
+ 'type' => 'string',
406
+ 'location' => 'json',
407
+ ),
408
  ),
409
  'errorResponses' => array(
410
  array(
439
  'reason' => 'This exception is thrown when the provided trail name is not valid.',
440
  'class' => 'InvalidTrailNameException',
441
  ),
442
+ array(
443
+ 'reason' => 'This exception is thrown when the provided CloudWatch log group is not valid.',
444
+ 'class' => 'InvalidCloudWatchLogsLogGroupArnException',
445
+ ),
446
+ array(
447
+ 'reason' => 'This exception is thrown when the provided role is not valid.',
448
+ 'class' => 'InvalidCloudWatchLogsRoleArnException',
449
+ ),
450
+ array(
451
+ 'reason' => 'Cannot set a CloudWatch Logs delivery for this region.',
452
+ 'class' => 'CloudWatchLogsDeliveryUnavailableException',
453
+ ),
454
  ),
455
  ),
456
  ),
479
  'type' => 'boolean',
480
  'location' => 'json',
481
  ),
482
+ 'CloudWatchLogsLogGroupArn' => array(
483
+ 'type' => 'string',
484
+ 'location' => 'json',
485
+ ),
486
+ 'CloudWatchLogsRoleArn' => array(
487
+ 'type' => 'string',
488
+ 'location' => 'json',
489
+ ),
490
  ),
491
  ),
492
  'EmptyOutput' => array(
519
  'IncludeGlobalServiceEvents' => array(
520
  'type' => 'boolean',
521
  ),
522
+ 'CloudWatchLogsLogGroupArn' => array(
523
+ 'type' => 'string',
524
+ ),
525
+ 'CloudWatchLogsRoleArn' => array(
526
+ 'type' => 'string',
527
+ ),
528
  ),
529
  ),
530
  ),
562
  'type' => 'string',
563
  'location' => 'json',
564
  ),
565
+ 'LatestCloudWatchLogsDeliveryError' => array(
566
+ 'type' => 'string',
567
+ 'location' => 'json',
568
+ ),
569
+ 'LatestCloudWatchLogsDeliveryTime' => array(
570
+ 'type' => 'string',
571
+ 'location' => 'json',
572
+ ),
573
  ),
574
  ),
575
  'UpdateTrailResponse' => array(
596
  'type' => 'boolean',
597
  'location' => 'json',
598
  ),
599
+ 'CloudWatchLogsLogGroupArn' => array(
600
+ 'type' => 'string',
601
+ 'location' => 'json',
602
+ ),
603
+ 'CloudWatchLogsRoleArn' => array(
604
+ 'type' => 'string',
605
+ 'location' => 'json',
606
+ ),
607
  ),
608
  ),
609
  ),
vendor/aws/Aws/CloudWatchLogs/CloudWatchLogsClient.php CHANGED
@@ -25,7 +25,6 @@ use Guzzle\Service\Resource\Model;
25
  * @method Model putLogEvents(array $args = array()) {@command CloudWatchLogs PutLogEvents}
26
  * @method Model putMetricFilter(array $args = array()) {@command CloudWatchLogs PutMetricFilter}
27
  * @method Model putRetentionPolicy(array $args = array()) {@command CloudWatchLogs PutRetentionPolicy}
28
- * @method Model setRetention(array $args = array()) {@command CloudWatchLogs SetRetention}
29
  * @method Model testMetricFilter(array $args = array()) {@command CloudWatchLogs TestMetricFilter}
30
  *
31
  * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudwatchlogs.html User guide
25
  * @method Model putLogEvents(array $args = array()) {@command CloudWatchLogs PutLogEvents}
26
  * @method Model putMetricFilter(array $args = array()) {@command CloudWatchLogs PutMetricFilter}
27
  * @method Model putRetentionPolicy(array $args = array()) {@command CloudWatchLogs PutRetentionPolicy}
 
28
  * @method Model testMetricFilter(array $args = array()) {@command CloudWatchLogs TestMetricFilter}
29
  *
30
  * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cloudwatchlogs.html User guide
vendor/aws/Aws/CloudWatchLogs/Resources/cloudwatchlogs-2014-03-28.php CHANGED
@@ -812,59 +812,6 @@ return array (
812
  ),
813
  ),
814
  ),
815
- 'SetRetention' => array(
816
- 'httpMethod' => 'POST',
817
- 'uri' => '/',
818
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
819
- 'responseClass' => 'EmptyOutput',
820
- 'responseType' => 'model',
821
- 'parameters' => array(
822
- 'Content-Type' => array(
823
- 'static' => true,
824
- 'location' => 'header',
825
- 'default' => 'application/x-amz-json-1.1',
826
- ),
827
- 'command.expects' => array(
828
- 'static' => true,
829
- 'default' => 'application/json',
830
- ),
831
- 'X-Amz-Target' => array(
832
- 'static' => true,
833
- 'location' => 'header',
834
- 'default' => 'Logs_20140328.SetRetention',
835
- ),
836
- 'logGroupName' => array(
837
- 'required' => true,
838
- 'type' => 'string',
839
- 'location' => 'json',
840
- 'minLength' => 1,
841
- 'maxLength' => 512,
842
- ),
843
- 'retentionInDays' => array(
844
- 'required' => true,
845
- 'type' => 'numeric',
846
- 'location' => 'json',
847
- ),
848
- ),
849
- 'errorResponses' => array(
850
- array(
851
- 'reason' => 'Returned if a parameter of the request is incorrectly specified.',
852
- 'class' => 'InvalidParameterException',
853
- ),
854
- array(
855
- 'reason' => 'Returned if the specified resource does not exist.',
856
- 'class' => 'ResourceNotFoundException',
857
- ),
858
- array(
859
- 'reason' => 'Returned if multiple requests to update the same resource were in conflict.',
860
- 'class' => 'OperationAbortedException',
861
- ),
862
- array(
863
- 'reason' => 'Returned if the service cannot complete the request.',
864
- 'class' => 'ServiceUnavailableException',
865
- ),
866
- ),
867
- ),
868
  'TestMetricFilter' => array(
869
  'httpMethod' => 'POST',
870
  'uri' => '/',
812
  ),
813
  ),
814
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
815
  'TestMetricFilter' => array(
816
  'httpMethod' => 'POST',
817
  'uri' => '/',
vendor/aws/Aws/CodeDeploy/CodeDeployClient.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://aws.amazon.com/apache2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ namespace Aws\CodeDeploy;
18
+
19
+ use Aws\Common\Client\AbstractClient;
20
+ use Aws\Common\Client\ClientBuilder;
21
+ use Aws\Common\Enum\ClientOptions as Options;
22
+ use Aws\Common\Exception\Parser\JsonQueryExceptionParser;
23
+ use Guzzle\Common\Collection;
24
+ use Guzzle\Service\Resource\Model;
25
+
26
+ /**
27
+ * Client to interact with AWS CodeDeploy
28
+ *
29
+ * @method Model batchGetApplications(array $args = array()) {@command CodeDeploy BatchGetApplications}
30
+ * @method Model batchGetDeployments(array $args = array()) {@command CodeDeploy BatchGetDeployments}
31
+ * @method Model createApplication(array $args = array()) {@command CodeDeploy CreateApplication}
32
+ * @method Model createDeployment(array $args = array()) {@command CodeDeploy CreateDeployment}
33
+ * @method Model createDeploymentConfig(array $args = array()) {@command CodeDeploy CreateDeploymentConfig}
34
+ * @method Model createDeploymentGroup(array $args = array()) {@command CodeDeploy CreateDeploymentGroup}
35
+ * @method Model deleteApplication(array $args = array()) {@command CodeDeploy DeleteApplication}
36
+ * @method Model deleteDeploymentConfig(array $args = array()) {@command CodeDeploy DeleteDeploymentConfig}
37
+ * @method Model deleteDeploymentGroup(array $args = array()) {@command CodeDeploy DeleteDeploymentGroup}
38
+ * @method Model getApplication(array $args = array()) {@command CodeDeploy GetApplication}
39
+ * @method Model getApplicationRevision(array $args = array()) {@command CodeDeploy GetApplicationRevision}
40
+ * @method Model getDeployment(array $args = array()) {@command CodeDeploy GetDeployment}
41
+ * @method Model getDeploymentConfig(array $args = array()) {@command CodeDeploy GetDeploymentConfig}
42
+ * @method Model getDeploymentGroup(array $args = array()) {@command CodeDeploy GetDeploymentGroup}
43
+ * @method Model getDeploymentInstance(array $args = array()) {@command CodeDeploy GetDeploymentInstance}
44
+ * @method Model listApplicationRevisions(array $args = array()) {@command CodeDeploy ListApplicationRevisions}
45
+ * @method Model listApplications(array $args = array()) {@command CodeDeploy ListApplications}
46
+ * @method Model listDeploymentConfigs(array $args = array()) {@command CodeDeploy ListDeploymentConfigs}
47
+ * @method Model listDeploymentGroups(array $args = array()) {@command CodeDeploy ListDeploymentGroups}
48
+ * @method Model listDeploymentInstances(array $args = array()) {@command CodeDeploy ListDeploymentInstances}
49
+ * @method Model listDeployments(array $args = array()) {@command CodeDeploy ListDeployments}
50
+ * @method Model registerApplicationRevision(array $args = array()) {@command CodeDeploy RegisterApplicationRevision}
51
+ * @method Model stopDeployment(array $args = array()) {@command CodeDeploy StopDeployment}
52
+ * @method Model updateApplication(array $args = array()) {@command CodeDeploy UpdateApplication}
53
+ * @method Model updateDeploymentGroup(array $args = array()) {@command CodeDeploy UpdateDeploymentGroup}
54
+ *
55
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-codedeploy.html User guide
56
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.CodeDeploy.CodeDeployClient.html API docs
57
+ */
58
+ class CodeDeployClient extends AbstractClient
59
+ {
60
+ const LATEST_API_VERSION = '2014-10-06';
61
+
62
+ /**
63
+ * Factory method to create a new AWS CodeDeploy client using an array of configuration options.
64
+ *
65
+ * See http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
66
+ *
67
+ * @param array|Collection $config Client configuration data
68
+ *
69
+ * @return self
70
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
71
+ */
72
+ public static function factory($config = array())
73
+ {
74
+ return ClientBuilder::factory(__NAMESPACE__)
75
+ ->setConfig($config)
76
+ ->setConfigDefaults(array(
77
+ Options::VERSION => self::LATEST_API_VERSION,
78
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/codedeploy-%s.php'
79
+ ))
80
+ ->setExceptionParser(new JsonQueryExceptionParser)
81
+ ->build();
82
+ }
83
+ }
vendor/aws/Aws/CodeDeploy/Exception/CodeDeployException.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\CodeDeploy\Exception;
4
+
5
+ use Aws\Common\Exception\ServiceResponseException;
6
+
7
+ /**
8
+ * Exception thrown by the CodeDeploy service client.
9
+ */
10
+ class CodeDeployException extends ServiceResponseException {}
vendor/aws/Aws/CodeDeploy/Resources/codedeploy-2014-10-06.php ADDED
@@ -0,0 +1,2502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright 2010-2014 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-06',
19
+ 'endpointPrefix' => 'codedeploy',
20
+ 'serviceFullName' => 'AWS CodeDeploy',
21
+ 'serviceAbbreviation' => 'CodeDeploy',
22
+ 'serviceType' => 'json',
23
+ 'jsonVersion' => '1.1',
24
+ 'targetPrefix' => 'CodeDeploy_20141006.',
25
+ 'timestampFormat' => 'unixTimestamp',
26
+ 'signatureVersion' => 'v4',
27
+ 'namespace' => 'CodeDeploy',
28
+ 'operations' => array(
29
+ 'BatchGetApplications' => array(
30
+ 'httpMethod' => 'POST',
31
+ 'uri' => '/',
32
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
33
+ 'responseClass' => 'BatchGetApplicationsOutput',
34
+ 'responseType' => 'model',
35
+ 'parameters' => array(
36
+ 'Content-Type' => array(
37
+ 'static' => true,
38
+ 'location' => 'header',
39
+ 'default' => 'application/x-amz-json-1.1',
40
+ ),
41
+ 'command.expects' => array(
42
+ 'static' => true,
43
+ 'default' => 'application/json',
44
+ ),
45
+ 'X-Amz-Target' => array(
46
+ 'static' => true,
47
+ 'location' => 'header',
48
+ 'default' => 'CodeDeploy_20141006.BatchGetApplications',
49
+ ),
50
+ 'applicationNames' => array(
51
+ 'type' => 'array',
52
+ 'location' => 'json',
53
+ 'items' => array(
54
+ 'name' => 'ApplicationName',
55
+ 'type' => 'string',
56
+ 'minLength' => 1,
57
+ 'maxLength' => 100,
58
+ ),
59
+ ),
60
+ ),
61
+ 'errorResponses' => array(
62
+ array(
63
+ 'reason' => 'The minimum number of required application names was not specified.',
64
+ 'class' => 'ApplicationNameRequiredException',
65
+ ),
66
+ array(
67
+ 'reason' => 'The application name was specified in an invalid format.',
68
+ 'class' => 'InvalidApplicationNameException',
69
+ ),
70
+ array(
71
+ 'reason' => 'The application does not exist within the AWS user account.',
72
+ 'class' => 'ApplicationDoesNotExistException',
73
+ ),
74
+ ),
75
+ ),
76
+ 'BatchGetDeployments' => array(
77
+ 'httpMethod' => 'POST',
78
+ 'uri' => '/',
79
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
80
+ 'responseClass' => 'BatchGetDeploymentsOutput',
81
+ 'responseType' => 'model',
82
+ 'parameters' => array(
83
+ 'Content-Type' => array(
84
+ 'static' => true,
85
+ 'location' => 'header',
86
+ 'default' => 'application/x-amz-json-1.1',
87
+ ),
88
+ 'command.expects' => array(
89
+ 'static' => true,
90
+ 'default' => 'application/json',
91
+ ),
92
+ 'X-Amz-Target' => array(
93
+ 'static' => true,
94
+ 'location' => 'header',
95
+ 'default' => 'CodeDeploy_20141006.BatchGetDeployments',
96
+ ),
97
+ 'deploymentIds' => array(
98
+ 'type' => 'array',
99
+ 'location' => 'json',
100
+ 'items' => array(
101
+ 'name' => 'DeploymentId',
102
+ 'type' => 'string',
103
+ ),
104
+ ),
105
+ ),
106
+ 'errorResponses' => array(
107
+ array(
108
+ 'reason' => 'At least one deployment ID must be specified.',
109
+ 'class' => 'DeploymentIdRequiredException',
110
+ ),
111
+ array(
112
+ 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
113
+ 'class' => 'InvalidDeploymentIdException',
114
+ ),
115
+ ),
116
+ ),
117
+ 'CreateApplication' => array(
118
+ 'httpMethod' => 'POST',
119
+ 'uri' => '/',
120
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
121
+ 'responseClass' => 'CreateApplicationOutput',
122
+ 'responseType' => 'model',
123
+ 'parameters' => array(
124
+ 'Content-Type' => array(
125
+ 'static' => true,
126
+ 'location' => 'header',
127
+ 'default' => 'application/x-amz-json-1.1',
128
+ ),
129
+ 'command.expects' => array(
130
+ 'static' => true,
131
+ 'default' => 'application/json',
132
+ ),
133
+ 'X-Amz-Target' => array(
134
+ 'static' => true,
135
+ 'location' => 'header',
136
+ 'default' => 'CodeDeploy_20141006.CreateApplication',
137
+ ),
138
+ 'applicationName' => array(
139
+ 'required' => true,
140
+ 'type' => 'string',
141
+ 'location' => 'json',
142
+ 'minLength' => 1,
143
+ 'maxLength' => 100,
144
+ ),
145
+ ),
146
+ 'errorResponses' => array(
147
+ array(
148
+ 'reason' => 'The minimum number of required application names was not specified.',
149
+ 'class' => 'ApplicationNameRequiredException',
150
+ ),
151
+ array(
152
+ 'reason' => 'The application name was specified in an invalid format.',
153
+ 'class' => 'InvalidApplicationNameException',
154
+ ),
155
+ array(
156
+ 'reason' => 'An application with the specified name already exists within the AWS user account.',
157
+ 'class' => 'ApplicationAlreadyExistsException',
158
+ ),
159
+ array(
160
+ 'reason' => 'More applications were attempted to be created than were allowed.',
161
+ 'class' => 'ApplicationLimitExceededException',
162
+ ),
163
+ ),
164
+ ),
165
+ 'CreateDeployment' => array(
166
+ 'httpMethod' => 'POST',
167
+ 'uri' => '/',
168
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
169
+ 'responseClass' => 'CreateDeploymentOutput',
170
+ 'responseType' => 'model',
171
+ 'parameters' => array(
172
+ 'Content-Type' => array(
173
+ 'static' => true,
174
+ 'location' => 'header',
175
+ 'default' => 'application/x-amz-json-1.1',
176
+ ),
177
+ 'command.expects' => array(
178
+ 'static' => true,
179
+ 'default' => 'application/json',
180
+ ),
181
+ 'X-Amz-Target' => array(
182
+ 'static' => true,
183
+ 'location' => 'header',
184
+ 'default' => 'CodeDeploy_20141006.CreateDeployment',
185
+ ),
186
+ 'applicationName' => array(
187
+ 'required' => true,
188
+ 'type' => 'string',
189
+ 'location' => 'json',
190
+ 'minLength' => 1,
191
+ 'maxLength' => 100,
192
+ ),
193
+ 'deploymentGroupName' => array(
194
+ 'type' => 'string',
195
+ 'location' => 'json',
196
+ 'minLength' => 1,
197
+ 'maxLength' => 100,
198
+ ),
199
+ 'revision' => array(
200
+ 'type' => 'object',
201
+ 'location' => 'json',
202
+ 'properties' => array(
203
+ 'revisionType' => array(
204
+ 'type' => 'string',
205
+ ),
206
+ 's3Location' => array(
207
+ 'type' => 'object',
208
+ 'properties' => array(
209
+ 'bucket' => array(
210
+ 'type' => 'string',
211
+ ),
212
+ 'key' => array(
213
+ 'type' => 'string',
214
+ ),
215
+ 'bundleType' => array(
216
+ 'type' => 'string',
217
+ ),
218
+ 'version' => array(
219
+ 'type' => 'string',
220
+ ),
221
+ 'eTag' => array(
222
+ 'type' => 'string',
223
+ ),
224
+ ),
225
+ ),
226
+ 'gitHubLocation' => array(
227
+ 'type' => 'object',
228
+ 'properties' => array(
229
+ 'repository' => array(
230
+ 'type' => 'string',
231
+ ),
232
+ 'commitId' => array(
233
+ 'type' => 'string',
234
+ ),
235
+ ),
236
+ ),
237
+ ),
238
+ ),
239
+ 'deploymentConfigName' => array(
240
+ 'type' => 'string',
241
+ 'location' => 'json',
242
+ 'minLength' => 1,
243
+ 'maxLength' => 100,
244
+ ),
245
+ 'description' => array(
246
+ 'type' => 'string',
247
+ 'location' => 'json',
248
+ ),
249
+ 'ignoreApplicationStopFailures' => array(
250
+ 'type' => 'boolean',
251
+ 'format' => 'boolean-string',
252
+ 'location' => 'json',
253
+ ),
254
+ ),
255
+ 'errorResponses' => array(
256
+ array(
257
+ 'reason' => 'The minimum number of required application names was not specified.',
258
+ 'class' => 'ApplicationNameRequiredException',
259
+ ),
260
+ array(
261
+ 'reason' => 'The application name was specified in an invalid format.',
262
+ 'class' => 'InvalidApplicationNameException',
263
+ ),
264
+ array(
265
+ 'reason' => 'The application does not exist within the AWS user account.',
266
+ 'class' => 'ApplicationDoesNotExistException',
267
+ ),
268
+ array(
269
+ 'reason' => 'The deployment group name was not specified.',
270
+ 'class' => 'DeploymentGroupNameRequiredException',
271
+ ),
272
+ array(
273
+ 'reason' => 'The deployment group name was specified in an invalid format.',
274
+ 'class' => 'InvalidDeploymentGroupNameException',
275
+ ),
276
+ array(
277
+ 'reason' => 'The named deployment group does not exist within the AWS user account.',
278
+ 'class' => 'DeploymentGroupDoesNotExistException',
279
+ ),
280
+ array(
281
+ 'reason' => 'The revision ID was not specified.',
282
+ 'class' => 'RevisionRequiredException',
283
+ ),
284
+ array(
285
+ 'reason' => 'The revision was specified in an invalid format.',
286
+ 'class' => 'InvalidRevisionException',
287
+ ),
288
+ array(
289
+ 'reason' => 'The deployment configuration name was specified in an invalid format.',
290
+ 'class' => 'InvalidDeploymentConfigNameException',
291
+ ),
292
+ array(
293
+ 'reason' => 'The deployment configuration does not exist within the AWS user account.',
294
+ 'class' => 'DeploymentConfigDoesNotExistException',
295
+ ),
296
+ array(
297
+ 'reason' => 'The description that was provided is too long.',
298
+ 'class' => 'DescriptionTooLongException',
299
+ ),
300
+ array(
301
+ 'reason' => 'The number of allowed deployments was exceeded.',
302
+ 'class' => 'DeploymentLimitExceededException',
303
+ ),
304
+ ),
305
+ ),
306
+ 'CreateDeploymentConfig' => array(
307
+ 'httpMethod' => 'POST',
308
+ 'uri' => '/',
309
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
310
+ 'responseClass' => 'CreateDeploymentConfigOutput',
311
+ 'responseType' => 'model',
312
+ 'parameters' => array(
313
+ 'Content-Type' => array(
314
+ 'static' => true,
315
+ 'location' => 'header',
316
+ 'default' => 'application/x-amz-json-1.1',
317
+ ),
318
+ 'command.expects' => array(
319
+ 'static' => true,
320
+ 'default' => 'application/json',
321
+ ),
322
+ 'X-Amz-Target' => array(
323
+ 'static' => true,
324
+ 'location' => 'header',
325
+ 'default' => 'CodeDeploy_20141006.CreateDeploymentConfig',
326
+ ),
327
+ 'deploymentConfigName' => array(
328
+ 'required' => true,
329
+ 'type' => 'string',
330
+ 'location' => 'json',
331
+ 'minLength' => 1,
332
+ 'maxLength' => 100,
333
+ ),
334
+ 'minimumHealthyHosts' => array(
335
+ 'type' => 'object',
336
+ 'location' => 'json',
337
+ 'properties' => array(
338
+ '' => array(
339
+ ),
340
+ ),
341
+ ),
342
+ ),
343
+ 'errorResponses' => array(
344
+ array(
345
+ 'reason' => 'The deployment configuration name was specified in an invalid format.',
346
+ 'class' => 'InvalidDeploymentConfigNameException',
347
+ ),
348
+ array(
349
+ 'reason' => 'The deployment configuration name was not specified.',
350
+ 'class' => 'DeploymentConfigNameRequiredException',
351
+ ),
352
+ array(
353
+ 'reason' => 'A deployment configuration with the specified name already exists within the AWS user account.',
354
+ 'class' => 'DeploymentConfigAlreadyExistsException',
355
+ ),
356
+ array(
357
+ 'reason' => 'The minimum healthy instances value was specified in an invalid format.',
358
+ 'class' => 'InvalidMinimumHealthyHostValueException',
359
+ ),
360
+ array(
361
+ 'reason' => 'The deployment configurations limit was exceeded.',
362
+ 'class' => 'DeploymentConfigLimitExceededException',
363
+ ),
364
+ ),
365
+ ),
366
+ 'CreateDeploymentGroup' => array(
367
+ 'httpMethod' => 'POST',
368
+ 'uri' => '/',
369
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
370
+ 'responseClass' => 'CreateDeploymentGroupOutput',
371
+ 'responseType' => 'model',
372
+ 'parameters' => array(
373
+ 'Content-Type' => array(
374
+ 'static' => true,
375
+ 'location' => 'header',
376
+ 'default' => 'application/x-amz-json-1.1',
377
+ ),
378
+ 'command.expects' => array(
379
+ 'static' => true,
380
+ 'default' => 'application/json',
381
+ ),
382
+ 'X-Amz-Target' => array(
383
+ 'static' => true,
384
+ 'location' => 'header',
385
+ 'default' => 'CodeDeploy_20141006.CreateDeploymentGroup',
386
+ ),
387
+ 'applicationName' => array(
388
+ 'required' => true,
389
+ 'type' => 'string',
390
+ 'location' => 'json',
391
+ 'minLength' => 1,
392
+ 'maxLength' => 100,
393
+ ),
394
+ 'deploymentGroupName' => array(
395
+ 'required' => true,
396
+ 'type' => 'string',
397
+ 'location' => 'json',
398
+ 'minLength' => 1,
399
+ 'maxLength' => 100,
400
+ ),
401
+ 'deploymentConfigName' => array(
402
+ 'type' => 'string',
403
+ 'location' => 'json',
404
+ 'minLength' => 1,
405
+ 'maxLength' => 100,
406
+ ),
407
+ 'ec2TagFilters' => array(
408
+ 'type' => 'array',
409
+ 'location' => 'json',
410
+ 'items' => array(
411
+ 'name' => 'EC2TagFilter',
412
+ 'type' => 'object',
413
+ 'properties' => array(
414
+ 'Key' => array(
415
+ 'type' => 'string',
416
+ ),
417
+ 'Value' => array(
418
+ 'type' => 'string',
419
+ ),
420
+ 'Type' => array(
421
+ 'type' => 'string',
422
+ ),
423
+ ),
424
+ ),
425
+ ),
426
+ 'autoScalingGroups' => array(
427
+ 'type' => 'array',
428
+ 'location' => 'json',
429
+ 'items' => array(
430
+ 'name' => 'AutoScalingGroupName',
431
+ 'type' => 'string',
432
+ ),
433
+ ),
434
+ 'serviceRoleArn' => array(
435
+ 'type' => 'string',
436
+ 'location' => 'json',
437
+ ),
438
+ ),
439
+ 'errorResponses' => array(
440
+ array(
441
+ 'reason' => 'The minimum number of required application names was not specified.',
442
+ 'class' => 'ApplicationNameRequiredException',
443
+ ),
444
+ array(
445
+ 'reason' => 'The application name was specified in an invalid format.',
446
+ 'class' => 'InvalidApplicationNameException',
447
+ ),
448
+ array(
449
+ 'reason' => 'The application does not exist within the AWS user account.',
450
+ 'class' => 'ApplicationDoesNotExistException',
451
+ ),
452
+ array(
453
+ 'reason' => 'The deployment group name was not specified.',
454
+ 'class' => 'DeploymentGroupNameRequiredException',
455
+ ),
456
+ array(
457
+ 'reason' => 'The deployment group name was specified in an invalid format.',
458
+ 'class' => 'InvalidDeploymentGroupNameException',
459
+ ),
460
+ array(
461
+ 'reason' => 'A deployment group group with the specified name already exists within the AWS user account.',
462
+ 'class' => 'DeploymentGroupAlreadyExistsException',
463
+ ),
464
+ array(
465
+ 'reason' => 'The Amazon EC2 tag was specified in an invalid format.',
466
+ 'class' => 'InvalidEC2TagException',
467
+ ),
468
+ array(
469
+ 'reason' => 'The Auto Scaling group was specified in an invalid format or does not exist.',
470
+ 'class' => 'InvalidAutoScalingGroupException',
471
+ ),
472
+ array(
473
+ 'reason' => 'The deployment configuration name was specified in an invalid format.',
474
+ 'class' => 'InvalidDeploymentConfigNameException',
475
+ ),
476
+ array(
477
+ 'reason' => 'The deployment configuration does not exist within the AWS user account.',
478
+ 'class' => 'DeploymentConfigDoesNotExistException',
479
+ ),
480
+ array(
481
+ 'reason' => 'The role ID was not specified.',
482
+ 'class' => 'RoleRequiredException',
483
+ ),
484
+ array(
485
+ 'reason' => 'The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.',
486
+ 'class' => 'InvalidRoleException',
487
+ ),
488
+ array(
489
+ 'reason' => 'The deployment groups limit was exceeded.',
490
+ 'class' => 'DeploymentGroupLimitExceededException',
491
+ ),
492
+ ),
493
+ ),
494
+ 'DeleteApplication' => array(
495
+ 'httpMethod' => 'POST',
496
+ 'uri' => '/',
497
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
498
+ 'responseClass' => 'EmptyOutput',
499
+ 'responseType' => 'model',
500
+ 'parameters' => array(
501
+ 'Content-Type' => array(
502
+ 'static' => true,
503
+ 'location' => 'header',
504
+ 'default' => 'application/x-amz-json-1.1',
505
+ ),
506
+ 'command.expects' => array(
507
+ 'static' => true,
508
+ 'default' => 'application/json',
509
+ ),
510
+ 'X-Amz-Target' => array(
511
+ 'static' => true,
512
+ 'location' => 'header',
513
+ 'default' => 'CodeDeploy_20141006.DeleteApplication',
514
+ ),
515
+ 'applicationName' => array(
516
+ 'required' => true,
517
+ 'type' => 'string',
518
+ 'location' => 'json',
519
+ 'minLength' => 1,
520
+ 'maxLength' => 100,
521
+ ),
522
+ ),
523
+ 'errorResponses' => array(
524
+ array(
525
+ 'reason' => 'The minimum number of required application names was not specified.',
526
+ 'class' => 'ApplicationNameRequiredException',
527
+ ),
528
+ array(
529
+ 'reason' => 'The application name was specified in an invalid format.',
530
+ 'class' => 'InvalidApplicationNameException',
531
+ ),
532
+ ),
533
+ ),
534
+ 'DeleteDeploymentConfig' => array(
535
+ 'httpMethod' => 'POST',
536
+ 'uri' => '/',
537
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
538
+ 'responseClass' => 'EmptyOutput',
539
+ 'responseType' => 'model',
540
+ 'parameters' => array(
541
+ 'Content-Type' => array(
542
+ 'static' => true,
543
+ 'location' => 'header',
544
+ 'default' => 'application/x-amz-json-1.1',
545
+ ),
546
+ 'command.expects' => array(
547
+ 'static' => true,
548
+ 'default' => 'application/json',
549
+ ),
550
+ 'X-Amz-Target' => array(
551
+ 'static' => true,
552
+ 'location' => 'header',
553
+ 'default' => 'CodeDeploy_20141006.DeleteDeploymentConfig',
554
+ ),
555
+ 'deploymentConfigName' => array(
556
+ 'required' => true,
557
+ 'type' => 'string',
558
+ 'location' => 'json',
559
+ 'minLength' => 1,
560
+ 'maxLength' => 100,
561
+ ),
562
+ ),
563
+ 'errorResponses' => array(
564
+ array(
565
+ 'reason' => 'The deployment configuration name was specified in an invalid format.',
566
+ 'class' => 'InvalidDeploymentConfigNameException',
567
+ ),
568
+ array(
569
+ 'reason' => 'The deployment configuration name was not specified.',
570
+ 'class' => 'DeploymentConfigNameRequiredException',
571
+ ),
572
+ array(
573
+ 'reason' => 'The deployment configuration is still in use.',
574
+ 'class' => 'DeploymentConfigInUseException',
575
+ ),
576
+ array(
577
+ 'reason' => 'An invalid operation was detected.',
578
+ 'class' => 'InvalidOperationException',
579
+ ),
580
+ ),
581
+ ),
582
+ 'DeleteDeploymentGroup' => array(
583
+ 'httpMethod' => 'POST',
584
+ 'uri' => '/',
585
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
586
+ 'responseClass' => 'DeleteDeploymentGroupOutput',
587
+ 'responseType' => 'model',
588
+ 'parameters' => array(
589
+ 'Content-Type' => array(
590
+ 'static' => true,
591
+ 'location' => 'header',
592
+ 'default' => 'application/x-amz-json-1.1',
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' => 'CodeDeploy_20141006.DeleteDeploymentGroup',
602
+ ),
603
+ 'applicationName' => array(
604
+ 'required' => true,
605
+ 'type' => 'string',
606
+ 'location' => 'json',
607
+ 'minLength' => 1,
608
+ 'maxLength' => 100,
609
+ ),
610
+ 'deploymentGroupName' => array(
611
+ 'required' => true,
612
+ 'type' => 'string',
613
+ 'location' => 'json',
614
+ 'minLength' => 1,
615
+ 'maxLength' => 100,
616
+ ),
617
+ ),
618
+ 'errorResponses' => array(
619
+ array(
620
+ 'reason' => 'The minimum number of required application names was not specified.',
621
+ 'class' => 'ApplicationNameRequiredException',
622
+ ),
623
+ array(
624
+ 'reason' => 'The application name was specified in an invalid format.',
625
+ 'class' => 'InvalidApplicationNameException',
626
+ ),
627
+ array(
628
+ 'reason' => 'The deployment group name was not specified.',
629
+ 'class' => 'DeploymentGroupNameRequiredException',
630
+ ),
631
+ array(
632
+ 'reason' => 'The deployment group name was specified in an invalid format.',
633
+ 'class' => 'InvalidDeploymentGroupNameException',
634
+ ),
635
+ array(
636
+ 'reason' => 'The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.',
637
+ 'class' => 'InvalidRoleException',
638
+ ),
639
+ ),
640
+ ),
641
+ 'GetApplication' => array(
642
+ 'httpMethod' => 'POST',
643
+ 'uri' => '/',
644
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
645
+ 'responseClass' => 'GetApplicationOutput',
646
+ 'responseType' => 'model',
647
+ 'parameters' => array(
648
+ 'Content-Type' => array(
649
+ 'static' => true,
650
+ 'location' => 'header',
651
+ 'default' => 'application/x-amz-json-1.1',
652
+ ),
653
+ 'command.expects' => array(
654
+ 'static' => true,
655
+ 'default' => 'application/json',
656
+ ),
657
+ 'X-Amz-Target' => array(
658
+ 'static' => true,
659
+ 'location' => 'header',
660
+ 'default' => 'CodeDeploy_20141006.GetApplication',
661
+ ),
662
+ 'applicationName' => array(
663
+ 'required' => true,
664
+ 'type' => 'string',
665
+ 'location' => 'json',
666
+ 'minLength' => 1,
667
+ 'maxLength' => 100,
668
+ ),
669
+ ),
670
+ 'errorResponses' => array(
671
+ array(
672
+ 'reason' => 'The minimum number of required application names was not specified.',
673
+ 'class' => 'ApplicationNameRequiredException',
674
+ ),
675
+ array(
676
+ 'reason' => 'The application name was specified in an invalid format.',
677
+ 'class' => 'InvalidApplicationNameException',
678
+ ),
679
+ array(
680
+ 'reason' => 'The application does not exist within the AWS user account.',
681
+ 'class' => 'ApplicationDoesNotExistException',
682
+ ),
683
+ ),
684
+ ),
685
+ 'GetApplicationRevision' => array(
686
+ 'httpMethod' => 'POST',
687
+ 'uri' => '/',
688
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
689
+ 'responseClass' => 'GetApplicationRevisionOutput',
690
+ 'responseType' => 'model',
691
+ 'parameters' => array(
692
+ 'Content-Type' => array(
693
+ 'static' => true,
694
+ 'location' => 'header',
695
+ 'default' => 'application/x-amz-json-1.1',
696
+ ),
697
+ 'command.expects' => array(
698
+ 'static' => true,
699
+ 'default' => 'application/json',
700
+ ),
701
+ 'X-Amz-Target' => array(
702
+ 'static' => true,
703
+ 'location' => 'header',
704
+ 'default' => 'CodeDeploy_20141006.GetApplicationRevision',
705
+ ),
706
+ 'applicationName' => array(
707
+ 'required' => true,
708
+ 'type' => 'string',
709
+ 'location' => 'json',
710
+ 'minLength' => 1,
711
+ 'maxLength' => 100,
712
+ ),
713
+ 'revision' => array(
714
+ 'required' => true,
715
+ 'type' => 'object',
716
+ 'location' => 'json',
717
+ 'properties' => array(
718
+ 'revisionType' => array(
719
+ 'type' => 'string',
720
+ ),
721
+ 's3Location' => array(
722
+ 'type' => 'object',
723
+ 'properties' => array(
724
+ 'bucket' => array(
725
+ 'type' => 'string',
726
+ ),
727
+ 'key' => array(
728
+ 'type' => 'string',
729
+ ),
730
+ 'bundleType' => array(
731
+ 'type' => 'string',
732
+ ),
733
+ 'version' => array(
734
+ 'type' => 'string',
735
+ ),
736
+ 'eTag' => array(
737
+ 'type' => 'string',
738
+ ),
739
+ ),
740
+ ),
741
+ 'gitHubLocation' => array(
742
+ 'type' => 'object',
743
+ 'properties' => array(
744
+ 'repository' => array(
745
+ 'type' => 'string',
746
+ ),
747
+ 'commitId' => array(
748
+ 'type' => 'string',
749
+ ),
750
+ ),
751
+ ),
752
+ ),
753
+ ),
754
+ ),
755
+ 'errorResponses' => array(
756
+ array(
757
+ 'reason' => 'The application does not exist within the AWS user account.',
758
+ 'class' => 'ApplicationDoesNotExistException',
759
+ ),
760
+ array(
761
+ 'reason' => 'The minimum number of required application names was not specified.',
762
+ 'class' => 'ApplicationNameRequiredException',
763
+ ),
764
+ array(
765
+ 'reason' => 'The application name was specified in an invalid format.',
766
+ 'class' => 'InvalidApplicationNameException',
767
+ ),
768
+ array(
769
+ 'reason' => 'The named revision does not exist within the AWS user account.',
770
+ 'class' => 'RevisionDoesNotExistException',
771
+ ),
772
+ array(
773
+ 'reason' => 'The revision ID was not specified.',
774
+ 'class' => 'RevisionRequiredException',
775
+ ),
776
+ array(
777
+ 'reason' => 'The revision was specified in an invalid format.',
778
+ 'class' => 'InvalidRevisionException',
779
+ ),
780
+ ),
781
+ ),
782
+ 'GetDeployment' => array(
783
+ 'httpMethod' => 'POST',
784
+ 'uri' => '/',
785
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
786
+ 'responseClass' => 'GetDeploymentOutput',
787
+ 'responseType' => 'model',
788
+ 'parameters' => array(
789
+ 'Content-Type' => array(
790
+ 'static' => true,
791
+ 'location' => 'header',
792
+ 'default' => 'application/x-amz-json-1.1',
793
+ ),
794
+ 'command.expects' => array(
795
+ 'static' => true,
796
+ 'default' => 'application/json',
797
+ ),
798
+ 'X-Amz-Target' => array(
799
+ 'static' => true,
800
+ 'location' => 'header',
801
+ 'default' => 'CodeDeploy_20141006.GetDeployment',
802
+ ),
803
+ 'deploymentId' => array(
804
+ 'required' => true,
805
+ 'type' => 'string',
806
+ 'location' => 'json',
807
+ ),
808
+ ),
809
+ 'errorResponses' => array(
810
+ array(
811
+ 'reason' => 'At least one deployment ID must be specified.',
812
+ 'class' => 'DeploymentIdRequiredException',
813
+ ),
814
+ array(
815
+ 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
816
+ 'class' => 'InvalidDeploymentIdException',
817
+ ),
818
+ array(
819
+ 'reason' => 'The deployment does not exist within the AWS user account.',
820
+ 'class' => 'DeploymentDoesNotExistException',
821
+ ),
822
+ ),
823
+ ),
824
+ 'GetDeploymentConfig' => array(
825
+ 'httpMethod' => 'POST',
826
+ 'uri' => '/',
827
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
828
+ 'responseClass' => 'GetDeploymentConfigOutput',
829
+ 'responseType' => 'model',
830
+ 'parameters' => array(
831
+ 'Content-Type' => array(
832
+ 'static' => true,
833
+ 'location' => 'header',
834
+ 'default' => 'application/x-amz-json-1.1',
835
+ ),
836
+ 'command.expects' => array(
837
+ 'static' => true,
838
+ 'default' => 'application/json',
839
+ ),
840
+ 'X-Amz-Target' => array(
841
+ 'static' => true,
842
+ 'location' => 'header',
843
+ 'default' => 'CodeDeploy_20141006.GetDeploymentConfig',
844
+ ),
845
+ 'deploymentConfigName' => array(
846
+ 'required' => true,
847
+ 'type' => 'string',
848
+ 'location' => 'json',
849
+ 'minLength' => 1,
850
+ 'maxLength' => 100,
851
+ ),
852
+ ),
853
+ 'errorResponses' => array(
854
+ array(
855
+ 'reason' => 'The deployment configuration name was specified in an invalid format.',
856
+ 'class' => 'InvalidDeploymentConfigNameException',
857
+ ),
858
+ array(
859
+ 'reason' => 'The deployment configuration name was not specified.',
860
+ 'class' => 'DeploymentConfigNameRequiredException',
861
+ ),
862
+ array(
863
+ 'reason' => 'The deployment configuration does not exist within the AWS user account.',
864
+ 'class' => 'DeploymentConfigDoesNotExistException',
865
+ ),
866
+ ),
867
+ ),
868
+ 'GetDeploymentGroup' => array(
869
+ 'httpMethod' => 'POST',
870
+ 'uri' => '/',
871
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
872
+ 'responseClass' => 'GetDeploymentGroupOutput',
873
+ 'responseType' => 'model',
874
+ 'parameters' => array(
875
+ 'Content-Type' => array(
876
+ 'static' => true,
877
+ 'location' => 'header',
878
+ 'default' => 'application/x-amz-json-1.1',
879
+ ),
880
+ 'command.expects' => array(
881
+ 'static' => true,
882
+ 'default' => 'application/json',
883
+ ),
884
+ 'X-Amz-Target' => array(
885
+ 'static' => true,
886
+ 'location' => 'header',
887
+ 'default' => 'CodeDeploy_20141006.GetDeploymentGroup',
888
+ ),
889
+ 'applicationName' => array(
890
+ 'required' => true,
891
+ 'type' => 'string',
892
+ 'location' => 'json',
893
+ 'minLength' => 1,
894
+ 'maxLength' => 100,
895
+ ),
896
+ 'deploymentGroupName' => array(
897
+ 'required' => true,
898
+ 'type' => 'string',
899
+ 'location' => 'json',
900
+ 'minLength' => 1,
901
+ 'maxLength' => 100,
902
+ ),
903
+ ),
904
+ 'errorResponses' => array(
905
+ array(
906
+ 'reason' => 'The minimum number of required application names was not specified.',
907
+ 'class' => 'ApplicationNameRequiredException',
908
+ ),
909
+ array(
910
+ 'reason' => 'The application name was specified in an invalid format.',
911
+ 'class' => 'InvalidApplicationNameException',
912
+ ),
913
+ array(
914
+ 'reason' => 'The application does not exist within the AWS user account.',
915
+ 'class' => 'ApplicationDoesNotExistException',
916
+ ),
917
+ array(
918
+ 'reason' => 'The deployment group name was not specified.',
919
+ 'class' => 'DeploymentGroupNameRequiredException',
920
+ ),
921
+ array(
922
+ 'reason' => 'The deployment group name was specified in an invalid format.',
923
+ 'class' => 'InvalidDeploymentGroupNameException',
924
+ ),
925
+ array(
926
+ 'reason' => 'The named deployment group does not exist within the AWS user account.',
927
+ 'class' => 'DeploymentGroupDoesNotExistException',
928
+ ),
929
+ ),
930
+ ),
931
+ 'GetDeploymentInstance' => array(
932
+ 'httpMethod' => 'POST',
933
+ 'uri' => '/',
934
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
935
+ 'responseClass' => 'GetDeploymentInstanceOutput',
936
+ 'responseType' => 'model',
937
+ 'parameters' => array(
938
+ 'Content-Type' => array(
939
+ 'static' => true,
940
+ 'location' => 'header',
941
+ 'default' => 'application/x-amz-json-1.1',
942
+ ),
943
+ 'command.expects' => array(
944
+ 'static' => true,
945
+ 'default' => 'application/json',
946
+ ),
947
+ 'X-Amz-Target' => array(
948
+ 'static' => true,
949
+ 'location' => 'header',
950
+ 'default' => 'CodeDeploy_20141006.GetDeploymentInstance',
951
+ ),
952
+ 'deploymentId' => array(
953
+ 'required' => true,
954
+ 'type' => 'string',
955
+ 'location' => 'json',
956
+ ),
957
+ 'instanceId' => array(
958
+ 'required' => true,
959
+ 'type' => 'string',
960
+ 'location' => 'json',
961
+ ),
962
+ ),
963
+ 'errorResponses' => array(
964
+ array(
965
+ 'reason' => 'At least one deployment ID must be specified.',
966
+ 'class' => 'DeploymentIdRequiredException',
967
+ ),
968
+ array(
969
+ 'reason' => 'The deployment does not exist within the AWS user account.',
970
+ 'class' => 'DeploymentDoesNotExistException',
971
+ ),
972
+ array(
973
+ 'reason' => 'The instance ID was not specified.',
974
+ 'class' => 'InstanceIdRequiredException',
975
+ ),
976
+ array(
977
+ 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
978
+ 'class' => 'InvalidDeploymentIdException',
979
+ ),
980
+ array(
981
+ 'reason' => 'The specified instance does not exist in the deployment group.',
982
+ 'class' => 'InstanceDoesNotExistException',
983
+ ),
984
+ ),
985
+ ),
986
+ 'ListApplicationRevisions' => array(
987
+ 'httpMethod' => 'POST',
988
+ 'uri' => '/',
989
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
990
+ 'responseClass' => 'ListApplicationRevisionsOutput',
991
+ 'responseType' => 'model',
992
+ 'parameters' => array(
993
+ 'Content-Type' => array(
994
+ 'static' => true,
995
+ 'location' => 'header',
996
+ 'default' => 'application/x-amz-json-1.1',
997
+ ),
998
+ 'command.expects' => array(
999
+ 'static' => true,
1000
+ 'default' => 'application/json',
1001
+ ),
1002
+ 'X-Amz-Target' => array(
1003
+ 'static' => true,
1004
+ 'location' => 'header',
1005
+ 'default' => 'CodeDeploy_20141006.ListApplicationRevisions',
1006
+ ),
1007
+ 'applicationName' => array(
1008
+ 'required' => true,
1009
+ 'type' => 'string',
1010
+ 'location' => 'json',
1011
+ 'minLength' => 1,
1012
+ 'maxLength' => 100,
1013
+ ),
1014
+ 'sortBy' => array(
1015
+ 'type' => 'string',
1016
+ 'location' => 'json',
1017
+ ),
1018
+ 'sortOrder' => array(
1019
+ 'type' => 'string',
1020
+ 'location' => 'json',
1021
+ ),
1022
+ 's3Bucket' => array(
1023
+ 'type' => 'string',
1024
+ 'location' => 'json',
1025
+ ),
1026
+ 's3KeyPrefix' => array(
1027
+ 'type' => 'string',
1028
+ 'location' => 'json',
1029
+ ),
1030
+ 'deployed' => array(
1031
+ 'type' => 'string',
1032
+ 'location' => 'json',
1033
+ ),
1034
+ 'nextToken' => array(
1035
+ 'type' => 'string',
1036
+ 'location' => 'json',
1037
+ ),
1038
+ ),
1039
+ 'errorResponses' => array(
1040
+ array(
1041
+ 'reason' => 'The application does not exist within the AWS user account.',
1042
+ 'class' => 'ApplicationDoesNotExistException',
1043
+ ),
1044
+ array(
1045
+ 'reason' => 'The minimum number of required application names was not specified.',
1046
+ 'class' => 'ApplicationNameRequiredException',
1047
+ ),
1048
+ array(
1049
+ 'reason' => 'The application name was specified in an invalid format.',
1050
+ 'class' => 'InvalidApplicationNameException',
1051
+ ),
1052
+ array(
1053
+ 'reason' => 'The column name to sort by is either not present or was specified in an invalid format.',
1054
+ 'class' => 'InvalidSortByException',
1055
+ ),
1056
+ array(
1057
+ 'reason' => 'The sort order was specified in an invalid format.',
1058
+ 'class' => 'InvalidSortOrderException',
1059
+ ),
1060
+ array(
1061
+ 'reason' => 'The bucket name either doesn\'t exist or was specified in an invalid format.',
1062
+ 'class' => 'InvalidBucketNameFilterException',
1063
+ ),
1064
+ array(
1065
+ 'reason' => 'The specified key prefix filter was specified in an invalid format.',
1066
+ 'class' => 'InvalidKeyPrefixFilterException',
1067
+ ),
1068
+ array(
1069
+ 'reason' => 'A bucket name is required but was not provided.',
1070
+ 'class' => 'BucketNameFilterRequiredException',
1071
+ ),
1072
+ array(
1073
+ 'reason' => 'The deployed state filter was specified in an invalid format.',
1074
+ 'class' => 'InvalidDeployedStateFilterException',
1075
+ ),
1076
+ array(
1077
+ 'reason' => 'The next token was specified in an invalid format.',
1078
+ 'class' => 'InvalidNextTokenException',
1079
+ ),
1080
+ ),
1081
+ ),
1082
+ 'ListApplications' => array(
1083
+ 'httpMethod' => 'POST',
1084
+ 'uri' => '/',
1085
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1086
+ 'responseClass' => 'ListApplicationsOutput',
1087
+ 'responseType' => 'model',
1088
+ 'parameters' => array(
1089
+ 'Content-Type' => array(
1090
+ 'static' => true,
1091
+ 'location' => 'header',
1092
+ 'default' => 'application/x-amz-json-1.1',
1093
+ ),
1094
+ 'command.expects' => array(
1095
+ 'static' => true,
1096
+ 'default' => 'application/json',
1097
+ ),
1098
+ 'X-Amz-Target' => array(
1099
+ 'static' => true,
1100
+ 'location' => 'header',
1101
+ 'default' => 'CodeDeploy_20141006.ListApplications',
1102
+ ),
1103
+ 'nextToken' => array(
1104
+ 'type' => 'string',
1105
+ 'location' => 'json',
1106
+ ),
1107
+ ),
1108
+ 'errorResponses' => array(
1109
+ array(
1110
+ 'reason' => 'The next token was specified in an invalid format.',
1111
+ 'class' => 'InvalidNextTokenException',
1112
+ ),
1113
+ ),
1114
+ ),
1115
+ 'ListDeploymentConfigs' => array(
1116
+ 'httpMethod' => 'POST',
1117
+ 'uri' => '/',
1118
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1119
+ 'responseClass' => 'ListDeploymentConfigsOutput',
1120
+ 'responseType' => 'model',
1121
+ 'parameters' => array(
1122
+ 'Content-Type' => array(
1123
+ 'static' => true,
1124
+ 'location' => 'header',
1125
+ 'default' => 'application/x-amz-json-1.1',
1126
+ ),
1127
+ 'command.expects' => array(
1128
+ 'static' => true,
1129
+ 'default' => 'application/json',
1130
+ ),
1131
+ 'X-Amz-Target' => array(
1132
+ 'static' => true,
1133
+ 'location' => 'header',
1134
+ 'default' => 'CodeDeploy_20141006.ListDeploymentConfigs',
1135
+ ),
1136
+ 'nextToken' => array(
1137
+ 'type' => 'string',
1138
+ 'location' => 'json',
1139
+ ),
1140
+ ),
1141
+ 'errorResponses' => array(
1142
+ array(
1143
+ 'reason' => 'The next token was specified in an invalid format.',
1144
+ 'class' => 'InvalidNextTokenException',
1145
+ ),
1146
+ ),
1147
+ ),
1148
+ 'ListDeploymentGroups' => array(
1149
+ 'httpMethod' => 'POST',
1150
+ 'uri' => '/',
1151
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1152
+ 'responseClass' => 'ListDeploymentGroupsOutput',
1153
+ 'responseType' => 'model',
1154
+ 'parameters' => array(
1155
+ 'Content-Type' => array(
1156
+ 'static' => true,
1157
+ 'location' => 'header',
1158
+ 'default' => 'application/x-amz-json-1.1',
1159
+ ),
1160
+ 'command.expects' => array(
1161
+ 'static' => true,
1162
+ 'default' => 'application/json',
1163
+ ),
1164
+ 'X-Amz-Target' => array(
1165
+ 'static' => true,
1166
+ 'location' => 'header',
1167
+ 'default' => 'CodeDeploy_20141006.ListDeploymentGroups',
1168
+ ),
1169
+ 'applicationName' => array(
1170
+ 'required' => true,
1171
+ 'type' => 'string',
1172
+ 'location' => 'json',
1173
+ 'minLength' => 1,
1174
+ 'maxLength' => 100,
1175
+ ),
1176
+ 'nextToken' => array(
1177
+ 'type' => 'string',
1178
+ 'location' => 'json',
1179
+ ),
1180
+ ),
1181
+ 'errorResponses' => array(
1182
+ array(
1183
+ 'reason' => 'The minimum number of required application names was not specified.',
1184
+ 'class' => 'ApplicationNameRequiredException',
1185
+ ),
1186
+ array(
1187
+ 'reason' => 'The application name was specified in an invalid format.',
1188
+ 'class' => 'InvalidApplicationNameException',
1189
+ ),
1190
+ array(
1191
+ 'reason' => 'The application does not exist within the AWS user account.',
1192
+ 'class' => 'ApplicationDoesNotExistException',
1193
+ ),
1194
+ array(
1195
+ 'reason' => 'The next token was specified in an invalid format.',
1196
+ 'class' => 'InvalidNextTokenException',
1197
+ ),
1198
+ ),
1199
+ ),
1200
+ 'ListDeploymentInstances' => array(
1201
+ 'httpMethod' => 'POST',
1202
+ 'uri' => '/',
1203
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1204
+ 'responseClass' => 'ListDeploymentInstancesOutput',
1205
+ 'responseType' => 'model',
1206
+ 'parameters' => array(
1207
+ 'Content-Type' => array(
1208
+ 'static' => true,
1209
+ 'location' => 'header',
1210
+ 'default' => 'application/x-amz-json-1.1',
1211
+ ),
1212
+ 'command.expects' => array(
1213
+ 'static' => true,
1214
+ 'default' => 'application/json',
1215
+ ),
1216
+ 'X-Amz-Target' => array(
1217
+ 'static' => true,
1218
+ 'location' => 'header',
1219
+ 'default' => 'CodeDeploy_20141006.ListDeploymentInstances',
1220
+ ),
1221
+ 'deploymentId' => array(
1222
+ 'required' => true,
1223
+ 'type' => 'string',
1224
+ 'location' => 'json',
1225
+ ),
1226
+ 'nextToken' => array(
1227
+ 'type' => 'string',
1228
+ 'location' => 'json',
1229
+ ),
1230
+ 'instanceStatusFilter' => array(
1231
+ 'type' => 'array',
1232
+ 'location' => 'json',
1233
+ 'items' => array(
1234
+ 'name' => 'InstanceStatus',
1235
+ 'type' => 'string',
1236
+ ),
1237
+ ),
1238
+ ),
1239
+ 'errorResponses' => array(
1240
+ array(
1241
+ 'reason' => 'At least one deployment ID must be specified.',
1242
+ 'class' => 'DeploymentIdRequiredException',
1243
+ ),
1244
+ array(
1245
+ 'reason' => 'The deployment does not exist within the AWS user account.',
1246
+ 'class' => 'DeploymentDoesNotExistException',
1247
+ ),
1248
+ array(
1249
+ 'reason' => 'The specified deployment has not started.',
1250
+ 'class' => 'DeploymentNotStartedException',
1251
+ ),
1252
+ array(
1253
+ 'reason' => 'The next token was specified in an invalid format.',
1254
+ 'class' => 'InvalidNextTokenException',
1255
+ ),
1256
+ array(
1257
+ 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
1258
+ 'class' => 'InvalidDeploymentIdException',
1259
+ ),
1260
+ array(
1261
+ 'reason' => 'The specified instance status does not exist.',
1262
+ 'class' => 'InvalidInstanceStatusException',
1263
+ ),
1264
+ ),
1265
+ ),
1266
+ 'ListDeployments' => array(
1267
+ 'httpMethod' => 'POST',
1268
+ 'uri' => '/',
1269
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1270
+ 'responseClass' => 'ListDeploymentsOutput',
1271
+ 'responseType' => 'model',
1272
+ 'parameters' => array(
1273
+ 'Content-Type' => array(
1274
+ 'static' => true,
1275
+ 'location' => 'header',
1276
+ 'default' => 'application/x-amz-json-1.1',
1277
+ ),
1278
+ 'command.expects' => array(
1279
+ 'static' => true,
1280
+ 'default' => 'application/json',
1281
+ ),
1282
+ 'X-Amz-Target' => array(
1283
+ 'static' => true,
1284
+ 'location' => 'header',
1285
+ 'default' => 'CodeDeploy_20141006.ListDeployments',
1286
+ ),
1287
+ 'applicationName' => array(
1288
+ 'type' => 'string',
1289
+ 'location' => 'json',
1290
+ 'minLength' => 1,
1291
+ 'maxLength' => 100,
1292
+ ),
1293
+ 'deploymentGroupName' => array(
1294
+ 'type' => 'string',
1295
+ 'location' => 'json',
1296
+ 'minLength' => 1,
1297
+ 'maxLength' => 100,
1298
+ ),
1299
+ 'includeOnlyStatuses' => array(
1300
+ 'type' => 'array',
1301
+ 'location' => 'json',
1302
+ 'items' => array(
1303
+ 'name' => 'DeploymentStatus',
1304
+ 'type' => 'string',
1305
+ ),
1306
+ ),
1307
+ 'createTimeRange' => array(
1308
+ 'type' => 'object',
1309
+ 'location' => 'json',
1310
+ 'properties' => array(
1311
+ 'start' => array(
1312
+ 'type' => array(
1313
+ 'object',
1314
+ 'string',
1315
+ 'integer',
1316
+ ),
1317
+ 'format' => 'timestamp',
1318
+ ),
1319
+ 'end' => array(
1320
+ 'type' => array(
1321
+ 'object',
1322
+ 'string',
1323
+ 'integer',
1324
+ ),
1325
+ 'format' => 'timestamp',
1326
+ ),
1327
+ ),
1328
+ ),
1329
+ 'nextToken' => array(
1330
+ 'type' => 'string',
1331
+ 'location' => 'json',
1332
+ ),
1333
+ ),
1334
+ 'errorResponses' => array(
1335
+ array(
1336
+ 'reason' => 'The minimum number of required application names was not specified.',
1337
+ 'class' => 'ApplicationNameRequiredException',
1338
+ ),
1339
+ array(
1340
+ 'reason' => 'The application name was specified in an invalid format.',
1341
+ 'class' => 'InvalidApplicationNameException',
1342
+ ),
1343
+ array(
1344
+ 'reason' => 'The application does not exist within the AWS user account.',
1345
+ 'class' => 'ApplicationDoesNotExistException',
1346
+ ),
1347
+ array(
1348
+ 'reason' => 'The deployment group name was specified in an invalid format.',
1349
+ 'class' => 'InvalidDeploymentGroupNameException',
1350
+ ),
1351
+ array(
1352
+ 'reason' => 'The named deployment group does not exist within the AWS user account.',
1353
+ 'class' => 'DeploymentGroupDoesNotExistException',
1354
+ ),
1355
+ array(
1356
+ 'reason' => 'The deployment group name was not specified.',
1357
+ 'class' => 'DeploymentGroupNameRequiredException',
1358
+ ),
1359
+ array(
1360
+ 'reason' => 'The specified time range was specified in an invalid format.',
1361
+ 'class' => 'InvalidTimeRangeException',
1362
+ ),
1363
+ array(
1364
+ 'reason' => 'The specified deployment status doesn\'t exist or cannot be determined.',
1365
+ 'class' => 'InvalidDeploymentStatusException',
1366
+ ),
1367
+ array(
1368
+ 'reason' => 'The next token was specified in an invalid format.',
1369
+ 'class' => 'InvalidNextTokenException',
1370
+ ),
1371
+ ),
1372
+ ),
1373
+ 'RegisterApplicationRevision' => array(
1374
+ 'httpMethod' => 'POST',
1375
+ 'uri' => '/',
1376
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1377
+ 'responseClass' => 'EmptyOutput',
1378
+ 'responseType' => 'model',
1379
+ 'parameters' => array(
1380
+ 'Content-Type' => array(
1381
+ 'static' => true,
1382
+ 'location' => 'header',
1383
+ 'default' => 'application/x-amz-json-1.1',
1384
+ ),
1385
+ 'command.expects' => array(
1386
+ 'static' => true,
1387
+ 'default' => 'application/json',
1388
+ ),
1389
+ 'X-Amz-Target' => array(
1390
+ 'static' => true,
1391
+ 'location' => 'header',
1392
+ 'default' => 'CodeDeploy_20141006.RegisterApplicationRevision',
1393
+ ),
1394
+ 'applicationName' => array(
1395
+ 'required' => true,
1396
+ 'type' => 'string',
1397
+ 'location' => 'json',
1398
+ 'minLength' => 1,
1399
+ 'maxLength' => 100,
1400
+ ),
1401
+ 'description' => array(
1402
+ 'type' => 'string',
1403
+ 'location' => 'json',
1404
+ ),
1405
+ 'revision' => array(
1406
+ 'required' => true,
1407
+ 'type' => 'object',
1408
+ 'location' => 'json',
1409
+ 'properties' => array(
1410
+ 'revisionType' => array(
1411
+ 'type' => 'string',
1412
+ ),
1413
+ 's3Location' => array(
1414
+ 'type' => 'object',
1415
+ 'properties' => array(
1416
+ 'bucket' => array(
1417
+ 'type' => 'string',
1418
+ ),
1419
+ 'key' => array(
1420
+ 'type' => 'string',
1421
+ ),
1422
+ 'bundleType' => array(
1423
+ 'type' => 'string',
1424
+ ),
1425
+ 'version' => array(
1426
+ 'type' => 'string',
1427
+ ),
1428
+ 'eTag' => array(
1429
+ 'type' => 'string',
1430
+ ),
1431
+ ),
1432
+ ),
1433
+ 'gitHubLocation' => array(
1434
+ 'type' => 'object',
1435
+ 'properties' => array(
1436
+ 'repository' => array(
1437
+ 'type' => 'string',
1438
+ ),
1439
+ 'commitId' => array(
1440
+ 'type' => 'string',
1441
+ ),
1442
+ ),
1443
+ ),
1444
+ ),
1445
+ ),
1446
+ ),
1447
+ 'errorResponses' => array(
1448
+ array(
1449
+ 'reason' => 'The application does not exist within the AWS user account.',
1450
+ 'class' => 'ApplicationDoesNotExistException',
1451
+ ),
1452
+ array(
1453
+ 'reason' => 'The minimum number of required application names was not specified.',
1454
+ 'class' => 'ApplicationNameRequiredException',
1455
+ ),
1456
+ array(
1457
+ 'reason' => 'The application name was specified in an invalid format.',
1458
+ 'class' => 'InvalidApplicationNameException',
1459
+ ),
1460
+ array(
1461
+ 'reason' => 'The description that was provided is too long.',
1462
+ 'class' => 'DescriptionTooLongException',
1463
+ ),
1464
+ array(
1465
+ 'reason' => 'The revision ID was not specified.',
1466
+ 'class' => 'RevisionRequiredException',
1467
+ ),
1468
+ array(
1469
+ 'reason' => 'The revision was specified in an invalid format.',
1470
+ 'class' => 'InvalidRevisionException',
1471
+ ),
1472
+ ),
1473
+ ),
1474
+ 'StopDeployment' => array(
1475
+ 'httpMethod' => 'POST',
1476
+ 'uri' => '/',
1477
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1478
+ 'responseClass' => 'StopDeploymentOutput',
1479
+ 'responseType' => 'model',
1480
+ 'parameters' => array(
1481
+ 'Content-Type' => array(
1482
+ 'static' => true,
1483
+ 'location' => 'header',
1484
+ 'default' => 'application/x-amz-json-1.1',
1485
+ ),
1486
+ 'command.expects' => array(
1487
+ 'static' => true,
1488
+ 'default' => 'application/json',
1489
+ ),
1490
+ 'X-Amz-Target' => array(
1491
+ 'static' => true,
1492
+ 'location' => 'header',
1493
+ 'default' => 'CodeDeploy_20141006.StopDeployment',
1494
+ ),
1495
+ 'deploymentId' => array(
1496
+ 'required' => true,
1497
+ 'type' => 'string',
1498
+ 'location' => 'json',
1499
+ ),
1500
+ ),
1501
+ 'errorResponses' => array(
1502
+ array(
1503
+ 'reason' => 'At least one deployment ID must be specified.',
1504
+ 'class' => 'DeploymentIdRequiredException',
1505
+ ),
1506
+ array(
1507
+ 'reason' => 'The deployment does not exist within the AWS user account.',
1508
+ 'class' => 'DeploymentDoesNotExistException',
1509
+ ),
1510
+ array(
1511
+ 'reason' => 'The deployment is already completed.',
1512
+ 'class' => 'DeploymentAlreadyCompletedException',
1513
+ ),
1514
+ array(
1515
+ 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
1516
+ 'class' => 'InvalidDeploymentIdException',
1517
+ ),
1518
+ ),
1519
+ ),
1520
+ 'UpdateApplication' => array(
1521
+ 'httpMethod' => 'POST',
1522
+ 'uri' => '/',
1523
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1524
+ 'responseClass' => 'EmptyOutput',
1525
+ 'responseType' => 'model',
1526
+ 'parameters' => array(
1527
+ 'Content-Type' => array(
1528
+ 'static' => true,
1529
+ 'location' => 'header',
1530
+ 'default' => 'application/x-amz-json-1.1',
1531
+ ),
1532
+ 'command.expects' => array(
1533
+ 'static' => true,
1534
+ 'default' => 'application/json',
1535
+ ),
1536
+ 'X-Amz-Target' => array(
1537
+ 'static' => true,
1538
+ 'location' => 'header',
1539
+ 'default' => 'CodeDeploy_20141006.UpdateApplication',
1540
+ ),
1541
+ 'applicationName' => array(
1542
+ 'type' => 'string',
1543
+ 'location' => 'json',
1544
+ 'minLength' => 1,
1545
+ 'maxLength' => 100,
1546
+ ),
1547
+ 'newApplicationName' => array(
1548
+ 'type' => 'string',
1549
+ 'location' => 'json',
1550
+ 'minLength' => 1,
1551
+ 'maxLength' => 100,
1552
+ ),
1553
+ ),
1554
+ 'errorResponses' => array(
1555
+ array(
1556
+ 'reason' => 'The minimum number of required application names was not specified.',
1557
+ 'class' => 'ApplicationNameRequiredException',
1558
+ ),
1559
+ array(
1560
+ 'reason' => 'The application name was specified in an invalid format.',
1561
+ 'class' => 'InvalidApplicationNameException',
1562
+ ),
1563
+ array(
1564
+ 'reason' => 'An application with the specified name already exists within the AWS user account.',
1565
+ 'class' => 'ApplicationAlreadyExistsException',
1566
+ ),
1567
+ array(
1568
+ 'reason' => 'The application does not exist within the AWS user account.',
1569
+ 'class' => 'ApplicationDoesNotExistException',
1570
+ ),
1571
+ ),
1572
+ ),
1573
+ 'UpdateDeploymentGroup' => array(
1574
+ 'httpMethod' => 'POST',
1575
+ 'uri' => '/',
1576
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
1577
+ 'responseClass' => 'UpdateDeploymentGroupOutput',
1578
+ 'responseType' => 'model',
1579
+ 'parameters' => array(
1580
+ 'Content-Type' => array(
1581
+ 'static' => true,
1582
+ 'location' => 'header',
1583
+ 'default' => 'application/x-amz-json-1.1',
1584
+ ),
1585
+ 'command.expects' => array(
1586
+ 'static' => true,
1587
+ 'default' => 'application/json',
1588
+ ),
1589
+ 'X-Amz-Target' => array(
1590
+ 'static' => true,
1591
+ 'location' => 'header',
1592
+ 'default' => 'CodeDeploy_20141006.UpdateDeploymentGroup',
1593
+ ),
1594
+ 'applicationName' => array(
1595
+ 'required' => true,
1596
+ 'type' => 'string',
1597
+ 'location' => 'json',
1598
+ 'minLength' => 1,
1599
+ 'maxLength' => 100,
1600
+ ),
1601
+ 'currentDeploymentGroupName' => array(
1602
+ 'required' => true,
1603
+ 'type' => 'string',
1604
+ 'location' => 'json',
1605
+ 'minLength' => 1,
1606
+ 'maxLength' => 100,
1607
+ ),
1608
+ 'newDeploymentGroupName' => array(
1609
+ 'type' => 'string',
1610
+ 'location' => 'json',
1611
+ 'minLength' => 1,
1612
+ 'maxLength' => 100,
1613
+ ),
1614
+ 'deploymentConfigName' => array(
1615
+ 'type' => 'string',
1616
+ 'location' => 'json',
1617
+ 'minLength' => 1,
1618
+ 'maxLength' => 100,
1619
+ ),
1620
+ 'ec2TagFilters' => array(
1621
+ 'type' => 'array',
1622
+ 'location' => 'json',
1623
+ 'items' => array(
1624
+ 'name' => 'EC2TagFilter',
1625
+ 'type' => 'object',
1626
+ 'properties' => array(
1627
+ 'Key' => array(
1628
+ 'type' => 'string',
1629
+ ),
1630
+ 'Value' => array(
1631
+ 'type' => 'string',
1632
+ ),
1633
+ 'Type' => array(
1634
+ 'type' => 'string',
1635
+ ),
1636
+ ),
1637
+ ),
1638
+ ),
1639
+ 'autoScalingGroups' => array(
1640
+ 'type' => 'array',
1641
+ 'location' => 'json',
1642
+ 'items' => array(
1643
+ 'name' => 'AutoScalingGroupName',
1644
+ 'type' => 'string',
1645
+ ),
1646
+ ),
1647
+ 'serviceRoleArn' => array(
1648
+ 'type' => 'string',
1649
+ 'location' => 'json',
1650
+ ),
1651
+ ),
1652
+ 'errorResponses' => array(
1653
+ array(
1654
+ 'reason' => 'The minimum number of required application names was not specified.',
1655
+ 'class' => 'ApplicationNameRequiredException',
1656
+ ),
1657
+ array(
1658
+ 'reason' => 'The application name was specified in an invalid format.',
1659
+ 'class' => 'InvalidApplicationNameException',
1660
+ ),
1661
+ array(
1662
+ 'reason' => 'The application does not exist within the AWS user account.',
1663
+ 'class' => 'ApplicationDoesNotExistException',
1664
+ ),
1665
+ array(
1666
+ 'reason' => 'The deployment group name was specified in an invalid format.',
1667
+ 'class' => 'InvalidDeploymentGroupNameException',
1668
+ ),
1669
+ array(
1670
+ 'reason' => 'A deployment group group with the specified name already exists within the AWS user account.',
1671
+ 'class' => 'DeploymentGroupAlreadyExistsException',
1672
+ ),
1673
+ array(
1674
+ 'reason' => 'The deployment group name was not specified.',
1675
+ 'class' => 'DeploymentGroupNameRequiredException',
1676
+ ),
1677
+ array(
1678
+ 'reason' => 'The Amazon EC2 tag was specified in an invalid format.',
1679
+ 'class' => 'InvalidEC2TagException',
1680
+ ),
1681
+ array(
1682
+ 'reason' => 'The Auto Scaling group was specified in an invalid format or does not exist.',
1683
+ 'class' => 'InvalidAutoScalingGroupException',
1684
+ ),
1685
+ array(
1686
+ 'reason' => 'The deployment configuration name was specified in an invalid format.',
1687
+ 'class' => 'InvalidDeploymentConfigNameException',
1688
+ ),
1689
+ array(
1690
+ 'reason' => 'The deployment configuration does not exist within the AWS user account.',
1691
+ 'class' => 'DeploymentConfigDoesNotExistException',
1692
+ ),
1693
+ array(
1694
+ 'reason' => 'The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.',
1695
+ 'class' => 'InvalidRoleException',
1696
+ ),
1697
+ ),
1698
+ ),
1699
+ ),
1700
+ 'models' => array(
1701
+ 'BatchGetApplicationsOutput' => array(
1702
+ 'type' => 'object',
1703
+ 'additionalProperties' => true,
1704
+ 'properties' => array(
1705
+ 'applicationsInfo' => array(
1706
+ 'type' => 'array',
1707
+ 'location' => 'json',
1708
+ 'items' => array(
1709
+ 'name' => 'ApplicationInfo',
1710
+ 'type' => 'object',
1711
+ 'properties' => array(
1712
+ 'applicationId' => array(
1713
+ 'type' => 'string',
1714
+ ),
1715
+ 'applicationName' => array(
1716
+ 'type' => 'string',
1717
+ ),
1718
+ 'createTime' => array(
1719
+ 'type' => 'string',
1720
+ ),
1721
+ 'linkedToGitHub' => array(
1722
+ 'type' => 'boolean',
1723
+ ),
1724
+ ),
1725
+ ),
1726
+ ),
1727
+ ),
1728
+ ),
1729
+ 'BatchGetDeploymentsOutput' => array(
1730
+ 'type' => 'object',
1731
+ 'additionalProperties' => true,
1732
+ 'properties' => array(
1733
+ 'deploymentsInfo' => array(
1734
+ 'type' => 'array',
1735
+ 'location' => 'json',
1736
+ 'items' => array(
1737
+ 'name' => 'DeploymentInfo',
1738
+ 'type' => 'object',
1739
+ 'properties' => array(
1740
+ 'applicationName' => array(
1741
+ 'type' => 'string',
1742
+ ),
1743
+ 'deploymentGroupName' => array(
1744
+ 'type' => 'string',
1745
+ ),
1746
+ 'deploymentConfigName' => array(
1747
+ 'type' => 'string',
1748
+ ),
1749
+ 'deploymentId' => array(
1750
+ 'type' => 'string',
1751
+ ),
1752
+ 'revision' => array(
1753
+ 'type' => 'object',
1754
+ 'properties' => array(
1755
+ 'revisionType' => array(
1756
+ 'type' => 'string',
1757
+ ),
1758
+ 's3Location' => array(
1759
+ 'type' => 'object',
1760
+ 'properties' => array(
1761
+ 'bucket' => array(
1762
+ 'type' => 'string',
1763
+ ),
1764
+ 'key' => array(
1765
+ 'type' => 'string',
1766
+ ),
1767
+ 'bundleType' => array(
1768
+ 'type' => 'string',
1769
+ ),
1770
+ 'version' => array(
1771
+ 'type' => 'string',
1772
+ ),
1773
+ 'eTag' => array(
1774
+ 'type' => 'string',
1775
+ ),
1776
+ ),
1777
+ ),
1778
+ 'gitHubLocation' => array(
1779
+ 'type' => 'object',
1780
+ 'properties' => array(
1781
+ 'repository' => array(
1782
+ 'type' => 'string',
1783
+ ),
1784
+ 'commitId' => array(
1785
+ 'type' => 'string',
1786
+ ),
1787
+ ),
1788
+ ),
1789
+ ),
1790
+ ),
1791
+ 'status' => array(
1792
+ 'type' => 'string',
1793
+ ),
1794
+ 'errorInformation' => array(
1795
+ 'type' => 'object',
1796
+ 'properties' => array(
1797
+ 'code' => array(
1798
+ 'type' => 'string',
1799
+ ),
1800
+ 'message' => array(
1801
+ 'type' => 'string',
1802
+ ),
1803
+ ),
1804
+ ),
1805
+ 'createTime' => array(
1806
+ 'type' => 'string',
1807
+ ),
1808
+ 'startTime' => array(
1809
+ 'type' => 'string',
1810
+ ),
1811
+ 'completeTime' => array(
1812
+ 'type' => 'string',
1813
+ ),
1814
+ 'deploymentOverview' => array(
1815
+ 'type' => 'object',
1816
+ 'properties' => array(
1817
+ 'Pending' => array(
1818
+ 'type' => 'numeric',
1819
+ ),
1820
+ 'InProgress' => array(
1821
+ 'type' => 'numeric',
1822
+ ),
1823
+ 'Succeeded' => array(
1824
+ 'type' => 'numeric',
1825
+ ),
1826
+ 'Failed' => array(
1827
+ 'type' => 'numeric',
1828
+ ),
1829
+ 'Skipped' => array(
1830
+ 'type' => 'numeric',
1831
+ ),
1832
+ ),
1833
+ ),
1834
+ 'description' => array(
1835
+ 'type' => 'string',
1836
+ ),
1837
+ 'creator' => array(
1838
+ 'type' => 'string',
1839
+ ),
1840
+ 'ignoreApplicationStopFailures' => array(
1841
+ 'type' => 'boolean',
1842
+ ),
1843
+ ),
1844
+ ),
1845
+ ),
1846
+ ),
1847
+ ),
1848
+ 'CreateApplicationOutput' => array(
1849
+ 'type' => 'object',
1850
+ 'additionalProperties' => true,
1851
+ 'properties' => array(
1852
+ 'applicationId' => array(
1853
+ 'type' => 'string',
1854
+ 'location' => 'json',
1855
+ ),
1856
+ ),
1857
+ ),
1858
+ 'CreateDeploymentOutput' => array(
1859
+ 'type' => 'object',
1860
+ 'additionalProperties' => true,
1861
+ 'properties' => array(
1862
+ 'deploymentId' => array(
1863
+ 'type' => 'string',
1864
+ 'location' => 'json',
1865
+ ),
1866
+ ),
1867
+ ),
1868
+ 'CreateDeploymentConfigOutput' => array(
1869
+ 'type' => 'object',
1870
+ 'additionalProperties' => true,
1871
+ 'properties' => array(
1872
+ 'deploymentConfigId' => array(
1873
+ 'type' => 'string',
1874
+ 'location' => 'json',
1875
+ ),
1876
+ ),
1877
+ ),
1878
+ 'CreateDeploymentGroupOutput' => array(
1879
+ 'type' => 'object',
1880
+ 'additionalProperties' => true,
1881
+ 'properties' => array(
1882
+ 'deploymentGroupId' => array(
1883
+ 'type' => 'string',
1884
+ 'location' => 'json',
1885
+ ),
1886
+ ),
1887
+ ),
1888
+ 'EmptyOutput' => array(
1889
+ 'type' => 'object',
1890
+ 'additionalProperties' => true,
1891
+ ),
1892
+ 'DeleteDeploymentGroupOutput' => array(
1893
+ 'type' => 'object',
1894
+ 'additionalProperties' => true,
1895
+ 'properties' => array(
1896
+ 'hooksNotCleanedUp' => array(
1897
+ 'type' => 'array',
1898
+ 'location' => 'json',
1899
+ 'items' => array(
1900
+ 'name' => 'AutoScalingGroup',
1901
+ 'type' => 'object',
1902
+ 'properties' => array(
1903
+ 'name' => array(
1904
+ 'type' => 'string',
1905
+ ),
1906
+ 'hook' => array(
1907
+ 'type' => 'string',
1908
+ ),
1909
+ ),
1910
+ ),
1911
+ ),
1912
+ ),
1913
+ ),
1914
+ 'GetApplicationOutput' => array(
1915
+ 'type' => 'object',
1916
+ 'additionalProperties' => true,
1917
+ 'properties' => array(
1918
+ 'application' => array(
1919
+ 'type' => 'object',
1920
+ 'location' => 'json',
1921
+ 'properties' => array(
1922
+ 'applicationId' => array(
1923
+ 'type' => 'string',
1924
+ ),
1925
+ 'applicationName' => array(
1926
+ 'type' => 'string',
1927
+ ),
1928
+ 'createTime' => array(
1929
+ 'type' => 'string',
1930
+ ),
1931
+ 'linkedToGitHub' => array(
1932
+ 'type' => 'boolean',
1933
+ ),
1934
+ ),
1935
+ ),
1936
+ ),
1937
+ ),
1938
+ 'GetApplicationRevisionOutput' => array(
1939
+ 'type' => 'object',
1940
+ 'additionalProperties' => true,
1941
+ 'properties' => array(
1942
+ 'applicationName' => array(
1943
+ 'type' => 'string',
1944
+ 'location' => 'json',
1945
+ ),
1946
+ 'revision' => array(
1947
+ 'type' => 'object',
1948
+ 'location' => 'json',
1949
+ 'properties' => array(
1950
+ 'revisionType' => array(
1951
+ 'type' => 'string',
1952
+ ),
1953
+ 's3Location' => array(
1954
+ 'type' => 'object',
1955
+ 'properties' => array(
1956
+ 'bucket' => array(
1957
+ 'type' => 'string',
1958
+ ),
1959
+ 'key' => array(
1960
+ 'type' => 'string',
1961
+ ),
1962
+ 'bundleType' => array(
1963
+ 'type' => 'string',
1964
+ ),
1965
+ 'version' => array(
1966
+ 'type' => 'string',
1967
+ ),
1968
+ 'eTag' => array(
1969
+ 'type' => 'string',
1970
+ ),
1971
+ ),
1972
+ ),
1973
+ 'gitHubLocation' => array(
1974
+ 'type' => 'object',
1975
+ 'properties' => array(
1976
+ 'repository' => array(
1977
+ 'type' => 'string',
1978
+ ),
1979
+ 'commitId' => array(
1980
+ 'type' => 'string',
1981
+ ),
1982
+ ),
1983
+ ),
1984
+ ),
1985
+ ),
1986
+ 'revisionInfo' => array(
1987
+ 'type' => 'object',
1988
+ 'location' => 'json',
1989
+ 'properties' => array(
1990
+ 'description' => array(
1991
+ 'type' => 'string',
1992
+ ),
1993
+ 'deploymentGroups' => array(
1994
+ 'type' => 'array',
1995
+ 'items' => array(
1996
+ 'name' => 'DeploymentGroupName',
1997
+ 'type' => 'string',
1998
+ ),
1999
+ ),
2000
+ 'firstUsedTime' => array(
2001
+ 'type' => 'string',
2002
+ ),
2003
+ 'lastUsedTime' => array(
2004
+ 'type' => 'string',
2005
+ ),
2006
+ 'registerTime' => array(
2007
+ 'type' => 'string',
2008
+ ),
2009
+ ),
2010
+ ),
2011
+ ),
2012
+ ),
2013
+ 'GetDeploymentOutput' => array(
2014
+ 'type' => 'object',
2015
+ 'additionalProperties' => true,
2016
+ 'properties' => array(
2017
+ 'deploymentInfo' => array(
2018
+ 'type' => 'object',
2019
+ 'location' => 'json',
2020
+ 'properties' => array(
2021
+ 'applicationName' => array(
2022
+ 'type' => 'string',
2023
+ ),
2024
+ 'deploymentGroupName' => array(
2025
+ 'type' => 'string',
2026
+ ),
2027
+ 'deploymentConfigName' => array(
2028
+ 'type' => 'string',
2029
+ ),
2030
+ 'deploymentId' => array(
2031
+ 'type' => 'string',
2032
+ ),
2033
+ 'revision' => array(
2034
+ 'type' => 'object',
2035
+ 'properties' => array(
2036
+ 'revisionType' => array(
2037
+ 'type' => 'string',
2038
+ ),
2039
+ 's3Location' => array(
2040
+ 'type' => 'object',
2041
+ 'properties' => array(
2042
+ 'bucket' => array(
2043
+ 'type' => 'string',
2044
+ ),
2045
+ 'key' => array(
2046
+ 'type' => 'string',
2047
+ ),
2048
+ 'bundleType' => array(
2049
+ 'type' => 'string',
2050
+ ),
2051
+ 'version' => array(
2052
+ 'type' => 'string',
2053
+ ),
2054
+ 'eTag' => array(
2055
+ 'type' => 'string',
2056
+ ),
2057
+ ),
2058
+ ),
2059
+ 'gitHubLocation' => array(
2060
+ 'type' => 'object',
2061
+ 'properties' => array(
2062
+ 'repository' => array(
2063
+ 'type' => 'string',
2064
+ ),
2065
+ 'commitId' => array(
2066
+ 'type' => 'string',
2067
+ ),
2068
+ ),
2069
+ ),
2070
+ ),
2071
+ ),
2072
+ 'status' => array(
2073
+ 'type' => 'string',
2074
+ ),
2075
+ 'errorInformation' => array(
2076
+ 'type' => 'object',
2077
+ 'properties' => array(
2078
+ 'code' => array(
2079
+ 'type' => 'string',
2080
+ ),
2081
+ 'message' => array(
2082
+ 'type' => 'string',
2083
+ ),
2084
+ ),
2085
+ ),
2086
+ 'createTime' => array(
2087
+ 'type' => 'string',
2088
+ ),
2089
+ 'startTime' => array(
2090
+ 'type' => 'string',
2091
+ ),
2092
+ 'completeTime' => array(
2093
+ 'type' => 'string',
2094
+ ),
2095
+ 'deploymentOverview' => array(
2096
+ 'type' => 'object',
2097
+ 'properties' => array(
2098
+ 'Pending' => array(
2099
+ 'type' => 'numeric',
2100
+ ),
2101
+ 'InProgress' => array(
2102
+ 'type' => 'numeric',
2103
+ ),
2104
+ 'Succeeded' => array(
2105
+ 'type' => 'numeric',
2106
+ ),
2107
+ 'Failed' => array(
2108
+ 'type' => 'numeric',
2109
+ ),
2110
+ 'Skipped' => array(
2111
+ 'type' => 'numeric',
2112
+ ),
2113
+ ),
2114
+ ),
2115
+ 'description' => array(
2116
+ 'type' => 'string',
2117
+ ),
2118
+ 'creator' => array(
2119
+ 'type' => 'string',
2120
+ ),
2121
+ 'ignoreApplicationStopFailures' => array(
2122
+ 'type' => 'boolean',
2123
+ ),
2124
+ ),
2125
+ ),
2126
+ ),
2127
+ ),
2128
+ 'GetDeploymentConfigOutput' => array(
2129
+ 'type' => 'object',
2130
+ 'additionalProperties' => true,
2131
+ 'properties' => array(
2132
+ 'deploymentConfigInfo' => array(
2133
+ 'type' => 'object',
2134
+ 'location' => 'json',
2135
+ 'properties' => array(
2136
+ 'deploymentConfigId' => array(
2137
+ 'type' => 'string',
2138
+ ),
2139
+ 'deploymentConfigName' => array(
2140
+ 'type' => 'string',
2141
+ ),
2142
+ 'minimumHealthyHosts' => array(
2143
+ 'type' => 'object',
2144
+ 'properties' => array(
2145
+ '' => array(
2146
+ ),
2147
+ ),
2148
+ ),
2149
+ 'createTime' => array(
2150
+ 'type' => 'string',
2151
+ ),
2152
+ ),
2153
+ ),
2154
+ ),
2155
+ ),
2156
+ 'GetDeploymentGroupOutput' => array(
2157
+ 'type' => 'object',
2158
+ 'additionalProperties' => true,
2159
+ 'properties' => array(
2160
+ 'deploymentGroupInfo' => array(
2161
+ 'type' => 'object',
2162
+ 'location' => 'json',
2163
+ 'properties' => array(
2164
+ 'applicationName' => array(
2165
+ 'type' => 'string',
2166
+ ),
2167
+ 'deploymentGroupId' => array(
2168
+ 'type' => 'string',
2169
+ ),
2170
+ 'deploymentGroupName' => array(
2171
+ 'type' => 'string',
2172
+ ),
2173
+ 'deploymentConfigName' => array(
2174
+ 'type' => 'string',
2175
+ ),
2176
+ 'ec2TagFilters' => array(
2177
+ 'type' => 'array',
2178
+ 'items' => array(
2179
+ 'name' => 'EC2TagFilter',
2180
+ 'type' => 'object',
2181
+ 'properties' => array(
2182
+ 'Key' => array(
2183
+ 'type' => 'string',
2184
+ ),
2185
+ 'Value' => array(
2186
+ 'type' => 'string',
2187
+ ),
2188
+ 'Type' => array(
2189
+ 'type' => 'string',
2190
+ ),
2191
+ ),
2192
+ ),
2193
+ ),
2194
+ 'autoScalingGroups' => array(
2195
+ 'type' => 'array',
2196
+ 'items' => array(
2197
+ 'name' => 'AutoScalingGroup',
2198
+ 'type' => 'object',
2199
+ 'properties' => array(
2200
+ 'name' => array(
2201
+ 'type' => 'string',
2202
+ ),
2203
+ 'hook' => array(
2204
+ 'type' => 'string',
2205
+ ),
2206
+ ),
2207
+ ),
2208
+ ),
2209
+ 'serviceRoleArn' => array(
2210
+ 'type' => 'string',
2211
+ ),
2212
+ 'targetRevision' => array(
2213
+ 'type' => 'object',
2214
+ 'properties' => array(
2215
+ 'revisionType' => array(
2216
+ 'type' => 'string',
2217
+ ),
2218
+ 's3Location' => array(
2219
+ 'type' => 'object',
2220
+ 'properties' => array(
2221
+ 'bucket' => array(
2222
+ 'type' => 'string',
2223
+ ),
2224
+ 'key' => array(
2225
+ 'type' => 'string',
2226
+ ),
2227
+ 'bundleType' => array(
2228
+ 'type' => 'string',
2229
+ ),
2230
+ 'version' => array(
2231
+ 'type' => 'string',
2232
+ ),
2233
+ 'eTag' => array(
2234
+ 'type' => 'string',
2235
+ ),
2236
+ ),
2237
+ ),
2238
+ 'gitHubLocation' => array(
2239
+ 'type' => 'object',
2240
+ 'properties' => array(
2241
+ 'repository' => array(
2242
+ 'type' => 'string',
2243
+ ),
2244
+ 'commitId' => array(
2245
+ 'type' => 'string',
2246
+ ),
2247
+ ),
2248
+ ),
2249
+ ),
2250
+ ),
2251
+ ),
2252
+ ),
2253
+ ),
2254
+ ),
2255
+ 'GetDeploymentInstanceOutput' => array(
2256
+ 'type' => 'object',
2257
+ 'additionalProperties' => true,
2258
+ 'properties' => array(
2259
+ 'instanceSummary' => array(
2260
+ 'type' => 'object',
2261
+ 'location' => 'json',
2262
+ 'properties' => array(
2263
+ 'deploymentId' => array(
2264
+ 'type' => 'string',
2265
+ ),
2266
+ 'instanceId' => array(
2267
+ 'type' => 'string',
2268
+ ),
2269
+ 'status' => array(
2270
+ 'type' => 'string',
2271
+ ),
2272
+ 'lastUpdatedAt' => array(
2273
+ 'type' => 'string',
2274
+ ),
2275
+ 'lifecycleEvents' => array(
2276
+ 'type' => 'array',
2277
+ 'items' => array(
2278
+ 'name' => 'LifecycleEvent',
2279
+ 'type' => 'object',
2280
+ 'properties' => array(
2281
+ 'lifecycleEventName' => array(
2282
+ 'type' => 'string',
2283
+ ),
2284
+ 'diagnostics' => array(
2285
+ 'type' => 'object',
2286
+ 'properties' => array(
2287
+ 'errorCode' => array(
2288
+ 'type' => 'string',
2289
+ ),
2290
+ 'scriptName' => array(
2291
+ 'type' => 'string',
2292
+ ),
2293
+ 'message' => array(
2294
+ 'type' => 'string',
2295
+ ),
2296
+ 'logTail' => array(
2297
+ 'type' => 'string',
2298
+ ),
2299
+ ),
2300
+ ),
2301
+ 'startTime' => array(
2302
+ 'type' => 'string',
2303
+ ),
2304
+ 'endTime' => array(
2305
+ 'type' => 'string',
2306
+ ),
2307
+ 'status' => array(
2308
+ 'type' => 'string',
2309
+ ),
2310
+ ),
2311
+ ),
2312
+ ),
2313
+ ),
2314
+ ),
2315
+ ),
2316
+ ),
2317
+ 'ListApplicationRevisionsOutput' => array(
2318
+ 'type' => 'object',
2319
+ 'additionalProperties' => true,
2320
+ 'properties' => array(
2321
+ 'revisions' => array(
2322
+ 'type' => 'array',
2323
+ 'location' => 'json',
2324
+ 'items' => array(
2325
+ 'name' => 'RevisionLocation',
2326
+ 'type' => 'object',
2327
+ 'properties' => array(
2328
+ 'revisionType' => array(
2329
+ 'type' => 'string',
2330
+ ),
2331
+ 's3Location' => array(
2332
+ 'type' => 'object',
2333
+ 'properties' => array(
2334
+ 'bucket' => array(
2335
+ 'type' => 'string',
2336
+ ),
2337
+ 'key' => array(
2338
+ 'type' => 'string',
2339
+ ),
2340
+ 'bundleType' => array(
2341
+ 'type' => 'string',
2342
+ ),
2343
+ 'version' => array(
2344
+ 'type' => 'string',
2345
+ ),
2346
+ 'eTag' => array(
2347
+ 'type' => 'string',
2348
+ ),
2349
+ ),
2350
+ ),
2351
+ 'gitHubLocation' => array(
2352
+ 'type' => 'object',
2353
+ 'properties' => array(
2354
+ 'repository' => array(
2355
+ 'type' => 'string',
2356
+ ),
2357
+ 'commitId' => array(
2358
+ 'type' => 'string',
2359
+ ),
2360
+ ),
2361
+ ),
2362
+ ),
2363
+ ),
2364
+ ),
2365
+ 'nextToken' => array(
2366
+ 'type' => 'string',
2367
+ 'location' => 'json',
2368
+ ),
2369
+ ),
2370
+ ),
2371
+ 'ListApplicationsOutput' => array(
2372
+ 'type' => 'object',
2373
+ 'additionalProperties' => true,
2374
+ 'properties' => array(
2375
+ 'applications' => array(
2376
+ 'type' => 'array',
2377
+ 'location' => 'json',
2378
+ 'items' => array(
2379
+ 'name' => 'ApplicationName',
2380
+ 'type' => 'string',
2381
+ ),
2382
+ ),
2383
+ 'nextToken' => array(
2384
+ 'type' => 'string',
2385
+ 'location' => 'json',
2386
+ ),
2387
+ ),
2388
+ ),
2389
+ 'ListDeploymentConfigsOutput' => array(
2390
+ 'type' => 'object',
2391
+ 'additionalProperties' => true,
2392
+ 'properties' => array(
2393
+ 'deploymentConfigsList' => array(
2394
+ 'type' => 'array',
2395
+ 'location' => 'json',
2396
+ 'items' => array(
2397
+ 'name' => 'DeploymentConfigName',
2398
+ 'type' => 'string',
2399
+ ),
2400
+ ),
2401
+ 'nextToken' => array(
2402
+ 'type' => 'string',
2403
+ 'location' => 'json',
2404
+ ),
2405
+ ),
2406
+ ),
2407
+ 'ListDeploymentGroupsOutput' => array(
2408
+ 'type' => 'object',
2409
+ 'additionalProperties' => true,
2410
+ 'properties' => array(
2411
+ 'applicationName' => array(
2412
+ 'type' => 'string',
2413
+ 'location' => 'json',
2414
+ ),
2415
+ 'deploymentGroups' => array(
2416
+ 'type' => 'array',
2417
+ 'location' => 'json',
2418
+ 'items' => array(
2419
+ 'name' => 'DeploymentGroupName',
2420
+ 'type' => 'string',
2421
+ ),
2422
+ ),
2423
+ 'nextToken' => array(
2424
+ 'type' => 'string',
2425
+ 'location' => 'json',
2426
+ ),
2427
+ ),
2428
+ ),
2429
+ 'ListDeploymentInstancesOutput' => array(
2430
+ 'type' => 'object',
2431
+ 'additionalProperties' => true,
2432
+ 'properties' => array(
2433
+ 'instancesList' => array(
2434
+ 'type' => 'array',
2435
+ 'location' => 'json',
2436
+ 'items' => array(
2437
+ 'name' => 'InstanceId',
2438
+ 'type' => 'string',
2439
+ ),
2440
+ ),
2441
+ 'nextToken' => array(
2442
+ 'type' => 'string',
2443
+ 'location' => 'json',
2444
+ ),
2445
+ ),
2446
+ ),
2447
+ 'ListDeploymentsOutput' => array(
2448
+ 'type' => 'object',
2449
+ 'additionalProperties' => true,
2450
+ 'properties' => array(
2451
+ 'deployments' => array(
2452
+ 'type' => 'array',
2453
+ 'location' => 'json',
2454
+ 'items' => array(
2455
+ 'name' => 'DeploymentId',
2456
+ 'type' => 'string',
2457
+ ),
2458
+ ),
2459
+ 'nextToken' => array(
2460
+ 'type' => 'string',
2461
+ 'location' => 'json',
2462
+ ),
2463
+ ),
2464
+ ),
2465
+ 'StopDeploymentOutput' => array(
2466
+ 'type' => 'object',
2467
+ 'additionalProperties' => true,
2468
+ 'properties' => array(
2469
+ 'status' => array(
2470
+ 'type' => 'string',
2471
+ 'location' => 'json',
2472
+ ),
2473
+ 'statusMessage' => array(
2474
+ 'type' => 'string',
2475
+ 'location' => 'json',
2476
+ ),
2477
+ ),
2478
+ ),
2479
+ 'UpdateDeploymentGroupOutput' => array(
2480
+ 'type' => 'object',
2481
+ 'additionalProperties' => true,
2482
+ 'properties' => array(
2483
+ 'hooksNotCleanedUp' => array(
2484
+ 'type' => 'array',
2485
+ 'location' => 'json',
2486
+ 'items' => array(
2487
+ 'name' => 'AutoScalingGroup',
2488
+ 'type' => 'object',
2489
+ 'properties' => array(
2490
+ 'name' => array(
2491
+ 'type' => 'string',
2492
+ ),
2493
+ 'hook' => array(
2494
+ 'type' => 'string',
2495
+ ),
2496
+ ),
2497
+ ),
2498
+ ),
2499
+ ),
2500
+ ),
2501
+ ),
2502
+ );
vendor/aws/Aws/CognitoIdentity/CognitoIdentityClient.php CHANGED
@@ -21,8 +21,12 @@ use Symfony\Component\EventDispatcher\Event;
21
  * @method Model describeIdentityPool(array $args = array()) {@command CognitoIdentity DescribeIdentityPool}
22
  * @method Model getId(array $args = array()) {@command CognitoIdentity GetId}
23
  * @method Model getOpenIdToken(array $args = array()) {@command CognitoIdentity GetOpenIdToken}
 
24
  * @method Model listIdentities(array $args = array()) {@command CognitoIdentity ListIdentities}
25
  * @method Model listIdentityPools(array $args = array()) {@command CognitoIdentity ListIdentityPools}
 
 
 
26
  * @method Model unlinkIdentity(array $args = array()) {@command CognitoIdentity UnlinkIdentity}
27
  * @method Model updateIdentityPool(array $args = array()) {@command CognitoIdentity UpdateIdentityPool}
28
  *
21
  * @method Model describeIdentityPool(array $args = array()) {@command CognitoIdentity DescribeIdentityPool}
22
  * @method Model getId(array $args = array()) {@command CognitoIdentity GetId}
23
  * @method Model getOpenIdToken(array $args = array()) {@command CognitoIdentity GetOpenIdToken}
24
+ * @method Model getOpenIdTokenForDeveloperIdentity(array $args = array()) {@command CognitoIdentity GetOpenIdTokenForDeveloperIdentity}
25
  * @method Model listIdentities(array $args = array()) {@command CognitoIdentity ListIdentities}
26
  * @method Model listIdentityPools(array $args = array()) {@command CognitoIdentity ListIdentityPools}
27
+ * @method Model lookupDeveloperIdentity(array $args = array()) {@command CognitoIdentity LookupDeveloperIdentity}
28
+ * @method Model mergeDeveloperIdentities(array $args = array()) {@command CognitoIdentity MergeDeveloperIdentities}
29
+ * @method Model unlinkDeveloperIdentity(array $args = array()) {@command CognitoIdentity UnlinkDeveloperIdentity}
30
  * @method Model unlinkIdentity(array $args = array()) {@command CognitoIdentity UnlinkIdentity}
31
  * @method Model updateIdentityPool(array $args = array()) {@command CognitoIdentity UpdateIdentityPool}
32
  *
vendor/aws/Aws/CognitoIdentity/Resources/cognitoidentity-2014-06-30.php CHANGED
@@ -78,6 +78,22 @@ return array (
78
  ),
79
  ),
80
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  ),
82
  'errorResponses' => array(
83
  array(
@@ -251,7 +267,7 @@ return array (
251
  'additionalProperties' => array(
252
  'type' => 'string',
253
  'minLength' => 1,
254
- 'maxLength' => 1024,
255
  'data' => array(
256
  'shape_name' => 'IdentityProviderName',
257
  'key_pattern' => '/[\\w._-]+/',
@@ -324,7 +340,7 @@ return array (
324
  'additionalProperties' => array(
325
  'type' => 'string',
326
  'minLength' => 1,
327
- 'maxLength' => 1024,
328
  'data' => array(
329
  'shape_name' => 'IdentityProviderName',
330
  'key_pattern' => '/[\\w._-]+/',
@@ -359,6 +375,92 @@ return array (
359
  ),
360
  ),
361
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
  'ListIdentities' => array(
363
  'httpMethod' => 'POST',
364
  'uri' => '/',
@@ -476,6 +578,231 @@ return array (
476
  ),
477
  ),
478
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
479
  'UnlinkIdentity' => array(
480
  'httpMethod' => 'POST',
481
  'uri' => '/',
@@ -511,7 +838,7 @@ return array (
511
  'additionalProperties' => array(
512
  'type' => 'string',
513
  'minLength' => 1,
514
- 'maxLength' => 1024,
515
  'data' => array(
516
  'shape_name' => 'IdentityProviderName',
517
  'key_pattern' => '/[\\w._-]+/',
@@ -611,6 +938,22 @@ return array (
611
  ),
612
  ),
613
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
614
  ),
615
  'errorResponses' => array(
616
  array(
@@ -664,6 +1007,18 @@ return array (
664
  'type' => 'string',
665
  ),
666
  ),
 
 
 
 
 
 
 
 
 
 
 
 
667
  ),
668
  ),
669
  'EmptyOutput' => array(
@@ -694,6 +1049,20 @@ return array (
694
  ),
695
  ),
696
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
697
  'ListIdentitiesResponse' => array(
698
  'type' => 'object',
699
  'additionalProperties' => true,
@@ -754,5 +1123,37 @@ return array (
754
  ),
755
  ),
756
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
757
  ),
758
  );
78
  ),
79
  ),
80
  ),
81
+ 'DeveloperProviderName' => array(
82
+ 'type' => 'string',
83
+ 'location' => 'json',
84
+ 'minLength' => 1,
85
+ 'maxLength' => 128,
86
+ ),
87
+ 'OpenIdConnectProviderARNs' => array(
88
+ 'type' => 'array',
89
+ 'location' => 'json',
90
+ 'items' => array(
91
+ 'name' => 'OIDCProviderARN',
92
+ 'type' => 'string',
93
+ 'minLength' => 20,
94
+ 'maxLength' => 2048,
95
+ ),
96
+ ),
97
  ),
98
  'errorResponses' => array(
99
  array(
267
  'additionalProperties' => array(
268
  'type' => 'string',
269
  'minLength' => 1,
270
+ 'maxLength' => 2048,
271
  'data' => array(
272
  'shape_name' => 'IdentityProviderName',
273
  'key_pattern' => '/[\\w._-]+/',
340
  'additionalProperties' => array(
341
  'type' => 'string',
342
  'minLength' => 1,
343
+ 'maxLength' => 2048,
344
  'data' => array(
345
  'shape_name' => 'IdentityProviderName',
346
  'key_pattern' => '/[\\w._-]+/',
375
  ),
376
  ),
377
  ),
378
+ 'GetOpenIdTokenForDeveloperIdentity' => array(
379
+ 'httpMethod' => 'POST',
380
+ 'uri' => '/',
381
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
382
+ 'responseClass' => 'GetOpenIdTokenForDeveloperIdentityResponse',
383
+ 'responseType' => 'model',
384
+ 'parameters' => array(
385
+ 'Content-Type' => array(
386
+ 'static' => true,
387
+ 'location' => 'header',
388
+ 'default' => 'application/x-amz-json-1.1',
389
+ ),
390
+ 'command.expects' => array(
391
+ 'static' => true,
392
+ 'default' => 'application/json',
393
+ ),
394
+ 'X-Amz-Target' => array(
395
+ 'static' => true,
396
+ 'location' => 'header',
397
+ 'default' => 'AWSCognitoIdentityService.GetOpenIdTokenForDeveloperIdentity',
398
+ ),
399
+ 'IdentityPoolId' => array(
400
+ 'required' => true,
401
+ 'type' => 'string',
402
+ 'location' => 'json',
403
+ 'minLength' => 1,
404
+ 'maxLength' => 50,
405
+ ),
406
+ 'IdentityId' => array(
407
+ 'type' => 'string',
408
+ 'location' => 'json',
409
+ 'minLength' => 1,
410
+ 'maxLength' => 50,
411
+ ),
412
+ 'Logins' => array(
413
+ 'required' => true,
414
+ 'type' => 'object',
415
+ 'location' => 'json',
416
+ 'additionalProperties' => array(
417
+ 'type' => 'string',
418
+ 'minLength' => 1,
419
+ 'maxLength' => 2048,
420
+ 'data' => array(
421
+ 'shape_name' => 'IdentityProviderName',
422
+ 'key_pattern' => '/[\\w._-]+/',
423
+ ),
424
+ ),
425
+ ),
426
+ 'TokenDuration' => array(
427
+ 'type' => 'numeric',
428
+ 'location' => 'json',
429
+ 'minimum' => 1,
430
+ 'maximum' => 86400,
431
+ ),
432
+ ),
433
+ 'errorResponses' => array(
434
+ array(
435
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
436
+ 'class' => 'InvalidParameterException',
437
+ ),
438
+ array(
439
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
440
+ 'class' => 'ResourceNotFoundException',
441
+ ),
442
+ array(
443
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
444
+ 'class' => 'NotAuthorizedException',
445
+ ),
446
+ array(
447
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
448
+ 'class' => 'ResourceConflictException',
449
+ ),
450
+ array(
451
+ 'reason' => 'Thrown when a request is throttled.',
452
+ 'class' => 'TooManyRequestsException',
453
+ ),
454
+ array(
455
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
456
+ 'class' => 'InternalErrorException',
457
+ ),
458
+ array(
459
+ 'reason' => 'The provided developer user identifier is already registered with Cognito under a different identity ID.',
460
+ 'class' => 'DeveloperUserAlreadyRegisteredException',
461
+ ),
462
+ ),
463
+ ),
464
  'ListIdentities' => array(
465
  'httpMethod' => 'POST',
466
  'uri' => '/',
578
  ),
579
  ),
580
  ),
581
+ 'LookupDeveloperIdentity' => array(
582
+ 'httpMethod' => 'POST',
583
+ 'uri' => '/',
584
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
585
+ 'responseClass' => 'LookupDeveloperIdentityResponse',
586
+ 'responseType' => 'model',
587
+ 'parameters' => array(
588
+ 'Content-Type' => array(
589
+ 'static' => true,
590
+ 'location' => 'header',
591
+ 'default' => 'application/x-amz-json-1.1',
592
+ ),
593
+ 'command.expects' => array(
594
+ 'static' => true,
595
+ 'default' => 'application/json',
596
+ ),
597
+ 'X-Amz-Target' => array(
598
+ 'static' => true,
599
+ 'location' => 'header',
600
+ 'default' => 'AWSCognitoIdentityService.LookupDeveloperIdentity',
601
+ ),
602
+ 'IdentityPoolId' => array(
603
+ 'required' => true,
604
+ 'type' => 'string',
605
+ 'location' => 'json',
606
+ 'minLength' => 1,
607
+ 'maxLength' => 50,
608
+ ),
609
+ 'IdentityId' => array(
610
+ 'type' => 'string',
611
+ 'location' => 'json',
612
+ 'minLength' => 1,
613
+ 'maxLength' => 50,
614
+ ),
615
+ 'DeveloperUserIdentifier' => array(
616
+ 'type' => 'string',
617
+ 'location' => 'json',
618
+ ),
619
+ 'MaxResults' => array(
620
+ 'type' => 'numeric',
621
+ 'location' => 'json',
622
+ 'minimum' => 1,
623
+ 'maximum' => 60,
624
+ ),
625
+ 'NextToken' => array(
626
+ 'type' => 'string',
627
+ 'location' => 'json',
628
+ 'minLength' => 1,
629
+ ),
630
+ ),
631
+ 'errorResponses' => array(
632
+ array(
633
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
634
+ 'class' => 'InvalidParameterException',
635
+ ),
636
+ array(
637
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
638
+ 'class' => 'ResourceNotFoundException',
639
+ ),
640
+ array(
641
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
642
+ 'class' => 'NotAuthorizedException',
643
+ ),
644
+ array(
645
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
646
+ 'class' => 'ResourceConflictException',
647
+ ),
648
+ array(
649
+ 'reason' => 'Thrown when a request is throttled.',
650
+ 'class' => 'TooManyRequestsException',
651
+ ),
652
+ array(
653
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
654
+ 'class' => 'InternalErrorException',
655
+ ),
656
+ ),
657
+ ),
658
+ 'MergeDeveloperIdentities' => array(
659
+ 'httpMethod' => 'POST',
660
+ 'uri' => '/',
661
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
662
+ 'responseClass' => 'MergeDeveloperIdentitiesResponse',
663
+ 'responseType' => 'model',
664
+ 'parameters' => array(
665
+ 'Content-Type' => array(
666
+ 'static' => true,
667
+ 'location' => 'header',
668
+ 'default' => 'application/x-amz-json-1.1',
669
+ ),
670
+ 'command.expects' => array(
671
+ 'static' => true,
672
+ 'default' => 'application/json',
673
+ ),
674
+ 'X-Amz-Target' => array(
675
+ 'static' => true,
676
+ 'location' => 'header',
677
+ 'default' => 'AWSCognitoIdentityService.MergeDeveloperIdentities',
678
+ ),
679
+ 'SourceUserIdentifier' => array(
680
+ 'required' => true,
681
+ 'type' => 'string',
682
+ 'location' => 'json',
683
+ ),
684
+ 'DestinationUserIdentifier' => array(
685
+ 'required' => true,
686
+ 'type' => 'string',
687
+ 'location' => 'json',
688
+ ),
689
+ 'DeveloperProviderName' => array(
690
+ 'required' => true,
691
+ 'type' => 'string',
692
+ 'location' => 'json',
693
+ 'minLength' => 1,
694
+ 'maxLength' => 128,
695
+ ),
696
+ 'IdentityPoolId' => array(
697
+ 'required' => true,
698
+ 'type' => 'string',
699
+ 'location' => 'json',
700
+ 'minLength' => 1,
701
+ 'maxLength' => 50,
702
+ ),
703
+ ),
704
+ 'errorResponses' => array(
705
+ array(
706
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
707
+ 'class' => 'InvalidParameterException',
708
+ ),
709
+ array(
710
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
711
+ 'class' => 'ResourceNotFoundException',
712
+ ),
713
+ array(
714
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
715
+ 'class' => 'NotAuthorizedException',
716
+ ),
717
+ array(
718
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
719
+ 'class' => 'ResourceConflictException',
720
+ ),
721
+ array(
722
+ 'reason' => 'Thrown when a request is throttled.',
723
+ 'class' => 'TooManyRequestsException',
724
+ ),
725
+ array(
726
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
727
+ 'class' => 'InternalErrorException',
728
+ ),
729
+ ),
730
+ ),
731
+ 'UnlinkDeveloperIdentity' => array(
732
+ 'httpMethod' => 'POST',
733
+ 'uri' => '/',
734
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
735
+ 'responseClass' => 'EmptyOutput',
736
+ 'responseType' => 'model',
737
+ 'parameters' => array(
738
+ 'Content-Type' => array(
739
+ 'static' => true,
740
+ 'location' => 'header',
741
+ 'default' => 'application/x-amz-json-1.1',
742
+ ),
743
+ 'command.expects' => array(
744
+ 'static' => true,
745
+ 'default' => 'application/json',
746
+ ),
747
+ 'X-Amz-Target' => array(
748
+ 'static' => true,
749
+ 'location' => 'header',
750
+ 'default' => 'AWSCognitoIdentityService.UnlinkDeveloperIdentity',
751
+ ),
752
+ 'IdentityId' => array(
753
+ 'required' => true,
754
+ 'type' => 'string',
755
+ 'location' => 'json',
756
+ 'minLength' => 1,
757
+ 'maxLength' => 50,
758
+ ),
759
+ 'IdentityPoolId' => array(
760
+ 'required' => true,
761
+ 'type' => 'string',
762
+ 'location' => 'json',
763
+ 'minLength' => 1,
764
+ 'maxLength' => 50,
765
+ ),
766
+ 'DeveloperProviderName' => array(
767
+ 'required' => true,
768
+ 'type' => 'string',
769
+ 'location' => 'json',
770
+ 'minLength' => 1,
771
+ 'maxLength' => 128,
772
+ ),
773
+ 'DeveloperUserIdentifier' => array(
774
+ 'required' => true,
775
+ 'type' => 'string',
776
+ 'location' => 'json',
777
+ ),
778
+ ),
779
+ 'errorResponses' => array(
780
+ array(
781
+ 'reason' => 'Thrown for missing or bad input parameter(s).',
782
+ 'class' => 'InvalidParameterException',
783
+ ),
784
+ array(
785
+ 'reason' => 'Thrown when the requested resource (for example, a dataset or record) does not exist.',
786
+ 'class' => 'ResourceNotFoundException',
787
+ ),
788
+ array(
789
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
790
+ 'class' => 'NotAuthorizedException',
791
+ ),
792
+ array(
793
+ 'reason' => 'Thrown when a user tries to use a login which is already linked to another account.',
794
+ 'class' => 'ResourceConflictException',
795
+ ),
796
+ array(
797
+ 'reason' => 'Thrown when a request is throttled.',
798
+ 'class' => 'TooManyRequestsException',
799
+ ),
800
+ array(
801
+ 'reason' => 'Thrown when the service encounters an error during processing the request.',
802
+ 'class' => 'InternalErrorException',
803
+ ),
804
+ ),
805
+ ),
806
  'UnlinkIdentity' => array(
807
  'httpMethod' => 'POST',
808
  'uri' => '/',
838
  'additionalProperties' => array(
839
  'type' => 'string',
840
  'minLength' => 1,
841
+ 'maxLength' => 2048,
842
  'data' => array(
843
  'shape_name' => 'IdentityProviderName',
844
  'key_pattern' => '/[\\w._-]+/',
938
  ),
939
  ),
940
  ),
941
+ 'DeveloperProviderName' => array(
942
+ 'type' => 'string',
943
+ 'location' => 'json',
944
+ 'minLength' => 1,
945
+ 'maxLength' => 128,
946
+ ),
947
+ 'OpenIdConnectProviderARNs' => array(
948
+ 'type' => 'array',
949
+ 'location' => 'json',
950
+ 'items' => array(
951
+ 'name' => 'OIDCProviderARN',
952
+ 'type' => 'string',
953
+ 'minLength' => 20,
954
+ 'maxLength' => 2048,
955
+ ),
956
+ ),
957
  ),
958
  'errorResponses' => array(
959
  array(
1007
  'type' => 'string',
1008
  ),
1009
  ),
1010
+ 'DeveloperProviderName' => array(
1011
+ 'type' => 'string',
1012
+ 'location' => 'json',
1013
+ ),
1014
+ 'OpenIdConnectProviderARNs' => array(
1015
+ 'type' => 'array',
1016
+ 'location' => 'json',
1017
+ 'items' => array(
1018
+ 'name' => 'OIDCProviderARN',
1019
+ 'type' => 'string',
1020
+ ),
1021
+ ),
1022
  ),
1023
  ),
1024
  'EmptyOutput' => array(
1049
  ),
1050
  ),
1051
  ),
1052
+ 'GetOpenIdTokenForDeveloperIdentityResponse' => array(
1053
+ 'type' => 'object',
1054
+ 'additionalProperties' => true,
1055
+ 'properties' => array(
1056
+ 'IdentityId' => array(
1057
+ 'type' => 'string',
1058
+ 'location' => 'json',
1059
+ ),
1060
+ 'Token' => array(
1061
+ 'type' => 'string',
1062
+ 'location' => 'json',
1063
+ ),
1064
+ ),
1065
+ ),
1066
  'ListIdentitiesResponse' => array(
1067
  'type' => 'object',
1068
  'additionalProperties' => true,
1123
  ),
1124
  ),
1125
  ),
1126
+ 'LookupDeveloperIdentityResponse' => array(
1127
+ 'type' => 'object',
1128
+ 'additionalProperties' => true,
1129
+ 'properties' => array(
1130
+ 'IdentityId' => array(
1131
+ 'type' => 'string',
1132
+ 'location' => 'json',
1133
+ ),
1134
+ 'DeveloperUserIdentifierList' => array(
1135
+ 'type' => 'array',
1136
+ 'location' => 'json',
1137
+ 'items' => array(
1138
+ 'name' => 'DeveloperUserIdentifier',
1139
+ 'type' => 'string',
1140
+ ),
1141
+ ),
1142
+ 'NextToken' => array(
1143
+ 'type' => 'string',
1144
+ 'location' => 'json',
1145
+ ),
1146
+ ),
1147
+ ),
1148
+ 'MergeDeveloperIdentitiesResponse' => array(
1149
+ 'type' => 'object',
1150
+ 'additionalProperties' => true,
1151
+ 'properties' => array(
1152
+ 'IdentityId' => array(
1153
+ 'type' => 'string',
1154
+ 'location' => 'json',
1155
+ ),
1156
+ ),
1157
+ ),
1158
  ),
1159
  );
vendor/aws/Aws/CognitoSync/CognitoSyncClient.php CHANGED
@@ -16,9 +16,14 @@ use Guzzle\Service\Resource\Model;
16
  * @method Model describeDataset(array $args = array()) {@command CognitoSync DescribeDataset}
17
  * @method Model describeIdentityPoolUsage(array $args = array()) {@command CognitoSync DescribeIdentityPoolUsage}
18
  * @method Model describeIdentityUsage(array $args = array()) {@command CognitoSync DescribeIdentityUsage}
 
19
  * @method Model listDatasets(array $args = array()) {@command CognitoSync ListDatasets}
20
  * @method Model listIdentityPoolUsage(array $args = array()) {@command CognitoSync ListIdentityPoolUsage}
21
  * @method Model listRecords(array $args = array()) {@command CognitoSync ListRecords}
 
 
 
 
22
  * @method Model updateRecords(array $args = array()) {@command CognitoSync UpdateRecords}
23
  *
24
  * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cognitosync.html User guide
16
  * @method Model describeDataset(array $args = array()) {@command CognitoSync DescribeDataset}
17
  * @method Model describeIdentityPoolUsage(array $args = array()) {@command CognitoSync DescribeIdentityPoolUsage}
18
  * @method Model describeIdentityUsage(array $args = array()) {@command CognitoSync DescribeIdentityUsage}
19
+ * @method Model getIdentityPoolConfiguration(array $args = array()) {@command CognitoSync GetIdentityPoolConfiguration}
20
  * @method Model listDatasets(array $args = array()) {@command CognitoSync ListDatasets}
21
  * @method Model listIdentityPoolUsage(array $args = array()) {@command CognitoSync ListIdentityPoolUsage}
22
  * @method Model listRecords(array $args = array()) {@command CognitoSync ListRecords}
23
+ * @method Model registerDevice(array $args = array()) {@command CognitoSync RegisterDevice}
24
+ * @method Model setIdentityPoolConfiguration(array $args = array()) {@command CognitoSync SetIdentityPoolConfiguration}
25
+ * @method Model subscribeToDataset(array $args = array()) {@command CognitoSync SubscribeToDataset}
26
+ * @method Model unsubscribeFromDataset(array $args = array()) {@command CognitoSync UnsubscribeFromDataset}
27
  * @method Model updateRecords(array $args = array()) {@command CognitoSync UpdateRecords}
28
  *
29
  * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-cognitosync.html User guide
vendor/aws/Aws/CognitoSync/Resources/cognitosync-2014-06-30.php CHANGED
@@ -201,6 +201,40 @@ return array (
201
  ),
202
  ),
203
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  'ListDatasets' => array(
205
  'httpMethod' => 'GET',
206
  'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets',
@@ -349,6 +383,228 @@ return array (
349
  ),
350
  ),
351
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
352
  'UpdateRecords' => array(
353
  'httpMethod' => 'POST',
354
  'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}',
@@ -377,6 +633,12 @@ return array (
377
  'minLength' => 1,
378
  'maxLength' => 128,
379
  ),
 
 
 
 
 
 
380
  'RecordPatches' => array(
381
  'type' => 'array',
382
  'location' => 'json',
@@ -574,6 +836,32 @@ return array (
574
  ),
575
  ),
576
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  'ListDatasetsResponse' => array(
578
  'type' => 'object',
579
  'additionalProperties' => true,
@@ -729,6 +1017,46 @@ return array (
729
  ),
730
  ),
731
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
732
  'UpdateRecordsResponse' => array(
733
  'type' => 'object',
734
  'additionalProperties' => true,
201
  ),
202
  ),
203
  ),
204
+ 'GetIdentityPoolConfiguration' => array(
205
+ 'httpMethod' => 'GET',
206
+ 'uri' => '/identitypools/{IdentityPoolId}/configuration',
207
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
208
+ 'responseClass' => 'GetIdentityPoolConfigurationResponse',
209
+ 'responseType' => 'model',
210
+ 'parameters' => array(
211
+ 'IdentityPoolId' => array(
212
+ 'required' => true,
213
+ 'type' => 'string',
214
+ 'location' => 'uri',
215
+ 'minLength' => 1,
216
+ 'maxLength' => 50,
217
+ ),
218
+ ),
219
+ 'errorResponses' => array(
220
+ array(
221
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
222
+ 'class' => 'NotAuthorizedException',
223
+ ),
224
+ array(
225
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
226
+ 'class' => 'InvalidParameterException',
227
+ ),
228
+ array(
229
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
230
+ 'class' => 'ResourceNotFoundException',
231
+ ),
232
+ array(
233
+ 'reason' => 'Indicates an internal service error.',
234
+ 'class' => 'InternalErrorException',
235
+ ),
236
+ ),
237
+ ),
238
  'ListDatasets' => array(
239
  'httpMethod' => 'GET',
240
  'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets',
383
  ),
384
  ),
385
  ),
386
+ 'RegisterDevice' => array(
387
+ 'httpMethod' => 'POST',
388
+ 'uri' => '/identitypools/{IdentityPoolId}/identity/{IdentityId}/device',
389
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
390
+ 'responseClass' => 'RegisterDeviceResponse',
391
+ 'responseType' => 'model',
392
+ 'parameters' => array(
393
+ 'IdentityPoolId' => array(
394
+ 'required' => true,
395
+ 'type' => 'string',
396
+ 'location' => 'uri',
397
+ 'minLength' => 1,
398
+ 'maxLength' => 50,
399
+ ),
400
+ 'IdentityId' => array(
401
+ 'required' => true,
402
+ 'type' => 'string',
403
+ 'location' => 'uri',
404
+ 'minLength' => 1,
405
+ 'maxLength' => 50,
406
+ ),
407
+ 'Platform' => array(
408
+ 'required' => true,
409
+ 'type' => 'string',
410
+ 'location' => 'json',
411
+ ),
412
+ 'Token' => array(
413
+ 'required' => true,
414
+ 'type' => 'string',
415
+ 'location' => 'json',
416
+ ),
417
+ ),
418
+ 'errorResponses' => array(
419
+ array(
420
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
421
+ 'class' => 'NotAuthorizedException',
422
+ ),
423
+ array(
424
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
425
+ 'class' => 'InvalidParameterException',
426
+ ),
427
+ array(
428
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
429
+ 'class' => 'ResourceNotFoundException',
430
+ ),
431
+ array(
432
+ 'reason' => 'Indicates an internal service error.',
433
+ 'class' => 'InternalErrorException',
434
+ ),
435
+ array(
436
+ 'class' => 'InvalidConfigurationException',
437
+ ),
438
+ ),
439
+ ),
440
+ 'SetIdentityPoolConfiguration' => array(
441
+ 'httpMethod' => 'POST',
442
+ 'uri' => '/identitypools/{IdentityPoolId}/configuration',
443
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
444
+ 'responseClass' => 'SetIdentityPoolConfigurationResponse',
445
+ 'responseType' => 'model',
446
+ 'parameters' => array(
447
+ 'IdentityPoolId' => array(
448
+ 'required' => true,
449
+ 'type' => 'string',
450
+ 'location' => 'uri',
451
+ 'minLength' => 1,
452
+ 'maxLength' => 50,
453
+ ),
454
+ 'PushSync' => array(
455
+ 'type' => 'object',
456
+ 'location' => 'json',
457
+ 'properties' => array(
458
+ 'ApplicationArns' => array(
459
+ 'type' => 'array',
460
+ 'items' => array(
461
+ 'name' => 'ApplicationArn',
462
+ 'type' => 'string',
463
+ ),
464
+ ),
465
+ 'RoleArn' => array(
466
+ 'type' => 'string',
467
+ 'minLength' => 20,
468
+ 'maxLength' => 2048,
469
+ ),
470
+ ),
471
+ ),
472
+ ),
473
+ 'errorResponses' => array(
474
+ array(
475
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
476
+ 'class' => 'NotAuthorizedException',
477
+ ),
478
+ array(
479
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
480
+ 'class' => 'InvalidParameterException',
481
+ ),
482
+ array(
483
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
484
+ 'class' => 'ResourceNotFoundException',
485
+ ),
486
+ array(
487
+ 'reason' => 'Indicates an internal service error.',
488
+ 'class' => 'InternalErrorException',
489
+ ),
490
+ ),
491
+ ),
492
+ 'SubscribeToDataset' => array(
493
+ 'httpMethod' => 'POST',
494
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}',
495
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
496
+ 'responseClass' => 'EmptyOutput',
497
+ 'responseType' => 'model',
498
+ 'parameters' => array(
499
+ 'IdentityPoolId' => array(
500
+ 'required' => true,
501
+ 'type' => 'string',
502
+ 'location' => 'uri',
503
+ 'minLength' => 1,
504
+ 'maxLength' => 50,
505
+ ),
506
+ 'IdentityId' => array(
507
+ 'required' => true,
508
+ 'type' => 'string',
509
+ 'location' => 'uri',
510
+ 'minLength' => 1,
511
+ 'maxLength' => 50,
512
+ ),
513
+ 'DatasetName' => array(
514
+ 'required' => true,
515
+ 'type' => 'string',
516
+ 'location' => 'uri',
517
+ 'minLength' => 1,
518
+ 'maxLength' => 128,
519
+ ),
520
+ 'DeviceId' => array(
521
+ 'required' => true,
522
+ 'type' => 'string',
523
+ 'location' => 'uri',
524
+ 'minLength' => 1,
525
+ 'maxLength' => 256,
526
+ ),
527
+ ),
528
+ 'errorResponses' => array(
529
+ array(
530
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
531
+ 'class' => 'NotAuthorizedException',
532
+ ),
533
+ array(
534
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
535
+ 'class' => 'InvalidParameterException',
536
+ ),
537
+ array(
538
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
539
+ 'class' => 'ResourceNotFoundException',
540
+ ),
541
+ array(
542
+ 'reason' => 'Indicates an internal service error.',
543
+ 'class' => 'InternalErrorException',
544
+ ),
545
+ array(
546
+ 'class' => 'InvalidConfigurationException',
547
+ ),
548
+ ),
549
+ ),
550
+ 'UnsubscribeFromDataset' => array(
551
+ 'httpMethod' => 'DELETE',
552
+ 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}',
553
+ 'class' => 'Guzzle\\Service\\Command\\OperationCommand',
554
+ 'responseClass' => 'EmptyOutput',
555
+ 'responseType' => 'model',
556
+ 'parameters' => array(
557
+ 'IdentityPoolId' => array(
558
+ 'required' => true,
559
+ 'type' => 'string',
560
+ 'location' => 'uri',
561
+ 'minLength' => 1,
562
+ 'maxLength' => 50,
563
+ ),
564
+ 'IdentityId' => array(
565
+ 'required' => true,
566
+ 'type' => 'string',
567
+ 'location' => 'uri',
568
+ 'minLength' => 1,
569
+ 'maxLength' => 50,
570
+ ),
571
+ 'DatasetName' => array(
572
+ 'required' => true,
573
+ 'type' => 'string',
574
+ 'location' => 'uri',
575
+ 'minLength' => 1,
576
+ 'maxLength' => 128,
577
+ ),
578
+ 'DeviceId' => array(
579
+ 'required' => true,
580
+ 'type' => 'string',
581
+ 'location' => 'uri',
582
+ 'minLength' => 1,
583
+ 'maxLength' => 256,
584
+ ),
585
+ ),
586
+ 'errorResponses' => array(
587
+ array(
588
+ 'reason' => 'Thrown when a user is not authorized to access the requested resource.',
589
+ 'class' => 'NotAuthorizedException',
590
+ ),
591
+ array(
592
+ 'reason' => 'Thrown when a request parameter does not comply with the associated constraints.',
593
+ 'class' => 'InvalidParameterException',
594
+ ),
595
+ array(
596
+ 'reason' => 'Thrown if the resource doesn\'t exist.',
597
+ 'class' => 'ResourceNotFoundException',
598
+ ),
599
+ array(
600
+ 'reason' => 'Indicates an internal service error.',
601
+ 'class' => 'InternalErrorException',
602
+ ),
603
+ array(
604
+ 'class' => 'InvalidConfigurationException',
605
+ ),
606
+ ),
607
+ ),
608
  'UpdateRecords' => array(
609
  'httpMethod' => 'POST',
610
  'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}',
633
  'minLength' => 1,
634
  'maxLength' => 128,
635
  ),
636
+ 'DeviceId' => array(
637
+ 'type' => 'string',
638
+ 'location' => 'json',
639
+ 'minLength' => 1,
640
+ 'maxLength' => 256,
641
+ ),
642
  'RecordPatches' => array(
643
  'type' => 'array',
644
  'location' => 'json',
836
  ),
837
  ),
838
  ),
839
+ 'GetIdentityPoolConfigurationResponse' => array(
840
+ 'type' => 'object',
841
+ 'additionalProperties' => true,
842
+ 'properties' => array(
843
+ 'IdentityPoolId' => array(
844
+ 'type' => 'string',
845
+ 'location' => 'json',
846
+ ),
847
+ 'PushSync' => array(
848
+ 'type' => 'object',
849
+ 'location' => 'json',
850
+ 'properties' => array(
851
+ 'ApplicationArns' => array(
852
+ 'type' => 'array',
853
+ 'items' => array(
854
+ 'name' => 'ApplicationArn',
855
+ 'type' => 'string',
856
+ ),
857
+ ),
858
+ 'RoleArn' => array(
859
+ 'type' => 'string',
860
+ ),
861
+ ),
862
+ ),
863
+ ),
864
+ ),
865
  'ListDatasetsResponse' => array(
866
  'type' => 'object',
867
  'additionalProperties' => true,
1017
  ),
1018
  ),
1019
  ),
1020
+ 'RegisterDeviceResponse' => array(
1021
+ 'type' => 'object',
1022
+ 'additionalProperties' => true,
1023
+ 'properties' => array(
1024
+ 'DeviceId' => array(
1025
+ 'type' => 'string',
1026
+ 'location' => 'json',
1027
+ ),
1028
+ ),
1029
+ ),
1030
+ 'SetIdentityPoolConfigurationResponse' => array(
1031
+ 'type' => 'object',
1032
+ 'additionalProperties' => true,
1033
+ 'properties' => array(
1034
+ 'IdentityPoolId' => array(
1035
+ 'type' => 'string',
1036
+ 'location' => 'json',
1037
+ ),
1038
+ 'PushSync' => array(
1039
+ 'type' => 'object',
1040
+ 'location' => 'json',
1041
+ 'properties' => array(
1042
+ 'ApplicationArns' => array(
1043
+ 'type' => 'array',
1044
+ 'items' => array(
1045
+ 'name' => 'ApplicationArn',
1046
+ 'type' => 'string',
1047
+ ),
1048
+ ),
1049
+ 'RoleArn' => array(
1050
+ 'type' => 'string',
1051
+ ),
1052
+ ),
1053
+ ),
1054
+ ),
1055
+ ),
1056
+ 'EmptyOutput' => array(
1057
+ 'type' => 'object',
1058
+ 'additionalProperties' => true,
1059
+ ),
1060
  'UpdateRecordsResponse' => array(
1061
  'type' => 'object',
1062
  'additionalProperties' => true,
vendor/aws/Aws/Common/Aws.php CHANGED
@@ -28,7 +28,7 @@ class Aws extends ServiceBuilder
28
  /**
29
  * @var string Current version of the SDK
30
  */
31
- const VERSION = '2.6.16';
32
 
33
  /**
34
  * Create a new service locator for the AWS SDK
28
  /**
29
  * @var string Current version of the SDK
30
  */
31
+ const VERSION = '2.7.13';
32
 
33
  /**
34
  * Create a new service locator for the AWS SDK
vendor/aws/Aws/Common/Client/AbstractClient.php CHANGED
@@ -17,7 +17,6 @@
17
  namespace Aws\Common\Client;
18
 
19
  use Aws\Common\Aws;
20
- use Aws\Common\Credentials\Credentials;
21
  use Aws\Common\Credentials\CredentialsInterface;
22
  use Aws\Common\Credentials\NullCredentials;
23
  use Aws\Common\Enum\ClientOptions as Options;
@@ -32,6 +31,7 @@ use Aws\Common\Waiter\WaiterFactoryInterface;
32
  use Aws\Common\Waiter\WaiterConfigFactory;
33
  use Guzzle\Common\Collection;
34
  use Guzzle\Http\Exception\CurlException;
 
35
  use Guzzle\Service\Client;
36
  use Guzzle\Service\Description\ServiceDescriptionInterface;
37
 
@@ -40,21 +40,18 @@ use Guzzle\Service\Description\ServiceDescriptionInterface;
40
  */
41
  abstract class AbstractClient extends Client implements AwsClientInterface
42
  {
43
- /**
44
- * @var CredentialsInterface AWS credentials
45
- */
46
  protected $credentials;
47
 
48
- /**
49
- * @var SignatureInterface Signature implementation of the service
50
- */
51
  protected $signature;
52
 
53
- /**
54
- * @var WaiterFactoryInterface Factory used to create waiter classes
55
- */
56
  protected $waiterFactory;
57
 
 
 
 
58
  /**
59
  * {@inheritdoc}
60
  */
@@ -79,6 +76,7 @@ abstract class AbstractClient extends Client implements AwsClientInterface
79
  parent::__construct($config->get(Options::BASE_URL), $config);
80
  $this->credentials = $credentials;
81
  $this->signature = $signature;
 
82
 
83
  // Make sure the user agent is prefixed by the SDK version
84
  $this->setUserAgent('aws-sdk-php2/' . Aws::VERSION, true);
@@ -111,13 +109,7 @@ abstract class AbstractClient extends Client implements AwsClientInterface
111
 
112
  /**
113
  * Get an endpoint for a specific region from a service description
114
- *
115
- * @param ServiceDescriptionInterface $description Service description
116
- * @param string $region Region of the endpoint
117
- * @param string $scheme URL scheme
118
- *
119
- * @return string
120
- * @throws InvalidArgumentException
121
  */
122
  public static function getEndpoint(ServiceDescriptionInterface $description, $region, $scheme)
123
  {
@@ -177,12 +169,27 @@ abstract class AbstractClient extends Client implements AwsClientInterface
177
  $config = $this->getConfig();
178
  $formerRegion = $config->get(Options::REGION);
179
  $global = $this->serviceDescription->getData('globalEndpoint');
 
 
 
 
 
180
 
181
  // Only change the region if the service does not have a global endpoint
182
  if (!$global || $this->serviceDescription->getData('namespace') === 'S3') {
183
- $baseUrl = self::getEndpoint($this->serviceDescription, $region, $config->get(Options::SCHEME));
184
- $this->setBaseUrl($baseUrl);
185
- $config->set(Options::BASE_URL, $baseUrl)->set(Options::REGION, $region);
 
 
 
 
 
 
 
 
 
 
186
 
187
  // Update the signature if necessary
188
  $signature = $this->getSignature();
@@ -261,4 +268,21 @@ abstract class AbstractClient extends Client implements AwsClientInterface
261
  throw $wrapped;
262
  }
263
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  }
17
  namespace Aws\Common\Client;
18
 
19
  use Aws\Common\Aws;
 
20
  use Aws\Common\Credentials\CredentialsInterface;
21
  use Aws\Common\Credentials\NullCredentials;
22
  use Aws\Common\Enum\ClientOptions as Options;
31
  use Aws\Common\Waiter\WaiterConfigFactory;
32
  use Guzzle\Common\Collection;
33
  use Guzzle\Http\Exception\CurlException;
34
+ use Guzzle\Http\QueryAggregator\DuplicateAggregator;
35
  use Guzzle\Service\Client;
36
  use Guzzle\Service\Description\ServiceDescriptionInterface;
37
 
40
  */
41
  abstract class AbstractClient extends Client implements AwsClientInterface
42
  {
43
+ /** @var CredentialsInterface AWS credentials */
 
 
44
  protected $credentials;
45
 
46
+ /** @var SignatureInterface Signature implementation of the service */
 
 
47
  protected $signature;
48
 
49
+ /** @var WaiterFactoryInterface Factory used to create waiter classes */
 
 
50
  protected $waiterFactory;
51
 
52
+ /** @var DuplicateAggregator Cached query aggregator*/
53
+ protected $aggregator;
54
+
55
  /**
56
  * {@inheritdoc}
57
  */
76
  parent::__construct($config->get(Options::BASE_URL), $config);
77
  $this->credentials = $credentials;
78
  $this->signature = $signature;
79
+ $this->aggregator = new DuplicateAggregator();
80
 
81
  // Make sure the user agent is prefixed by the SDK version
82
  $this->setUserAgent('aws-sdk-php2/' . Aws::VERSION, true);
109
 
110
  /**
111
  * Get an endpoint for a specific region from a service description
112
+ * @deprecated This function will no longer be updated to work with new regions.
 
 
 
 
 
 
113
  */
114
  public static function getEndpoint(ServiceDescriptionInterface $description, $region, $scheme)
115
  {
169
  $config = $this->getConfig();
170
  $formerRegion = $config->get(Options::REGION);
171
  $global = $this->serviceDescription->getData('globalEndpoint');
172
+ $provider = $config->get('endpoint_provider');
173
+
174
+ if (!$provider) {
175
+ throw new \RuntimeException('No endpoint provider configured');
176
+ }
177
 
178
  // Only change the region if the service does not have a global endpoint
179
  if (!$global || $this->serviceDescription->getData('namespace') === 'S3') {
180
+
181
+ $endpoint = call_user_func(
182
+ $provider,
183
+ array(
184
+ 'scheme' => $config->get(Options::SCHEME),
185
+ 'region' => $region,
186
+ 'service' => $config->get(Options::SERVICE)
187
+ )
188
+ );
189
+
190
+ $this->setBaseUrl($endpoint['endpoint']);
191
+ $config->set(Options::BASE_URL, $endpoint['endpoint']);
192
+ $config->set(Options::REGION, $region);
193
 
194
  // Update the signature if necessary
195
  $signature = $this->getSignature();
268
  throw $wrapped;
269
  }
270
  }
271
+
272
+ /**
273
+ * Ensures that the duplicate query string aggregator is used so that
274
+ * query string values are sent over the wire as foo=bar&foo=baz.
275
+ * {@inheritdoc}
276
+ */
277
+ public function createRequest(
278
+ $method = 'GET',
279
+ $uri = null,
280
+ $headers = null,
281
+ $body = null,
282
+ array $options = array()
283
+ ) {
284
+ $request = parent::createRequest($method, $uri, $headers, $body, $options);
285
+ $request->getQuery()->setAggregator($this->aggregator);
286
+ return $request;
287
+ }
288
  }
vendor/aws/Aws/Common/Client/ClientBuilder.php CHANGED
@@ -20,13 +20,13 @@ use Aws\Common\Credentials\Credentials;
20
  use Aws\Common\Credentials\CredentialsInterface;
21
  use Aws\Common\Credentials\NullCredentials;
22
  use Aws\Common\Enum\ClientOptions as Options;
23
- use Aws\Common\Enum\Region;
24
  use Aws\Common\Exception\ExceptionListener;
25
  use Aws\Common\Exception\InvalidArgumentException;
26
  use Aws\Common\Exception\NamespaceExceptionFactory;
27
  use Aws\Common\Exception\Parser\DefaultXmlExceptionParser;
28
  use Aws\Common\Exception\Parser\ExceptionParserInterface;
29
  use Aws\Common\Iterator\AwsResourceIteratorFactory;
 
30
  use Aws\Common\Signature\EndpointSignatureInterface;
31
  use Aws\Common\Signature\SignatureInterface;
32
  use Aws\Common\Signature\SignatureV2;
@@ -38,7 +38,6 @@ use Guzzle\Plugin\Backoff\CurlBackoffStrategy;
38
  use Guzzle\Plugin\Backoff\ExponentialBackoffStrategy;
39
  use Guzzle\Plugin\Backoff\HttpBackoffStrategy;
40
  use Guzzle\Plugin\Backoff\TruncatedBackoffStrategy;
41
- use Guzzle\Service\Client;
42
  use Guzzle\Service\Description\ServiceDescription;
43
  use Guzzle\Service\Resource\ResourceIteratorClassFactory;
44
  use Guzzle\Log\LogAdapterInterface;
@@ -200,6 +199,10 @@ class ClientBuilder
200
  (self::$commonConfigRequirements + $this->configRequirements)
201
  );
202
 
 
 
 
 
203
  // Resolve the endpoint, signature, and credentials
204
  $description = $this->updateConfigFromDescription($config);
205
  $signature = $this->getSignature($description, $config);
@@ -366,33 +369,36 @@ class ClientBuilder
366
  $this->setIteratorsConfig($iterators);
367
  }
368
 
369
- // Ensure that the service description has regions
370
- if (!$description->getData('regions')) {
371
- throw new InvalidArgumentException(
372
- 'No regions found in the ' . $description->getData('serviceFullName'). ' description'
373
- );
374
- }
375
-
376
  // Make sure a valid region is set
377
  $region = $config->get(Options::REGION);
378
  $global = $description->getData('globalEndpoint');
 
379
  if (!$global && !$region) {
380
  throw new InvalidArgumentException(
381
  'A region is required when using ' . $description->getData('serviceFullName')
382
- . '. Set "region" to one of: ' . implode(', ', array_keys($description->getData('regions')))
383
  );
384
- } elseif ($global && (!$region || $description->getData('namespace') !== 'S3')) {
385
- $region = Region::US_EAST_1;
386
- $config->set(Options::REGION, $region);
387
  }
388
 
389
  if (!$config->get(Options::BASE_URL)) {
390
- // Set the base URL using the scheme and hostname of the service's region
391
- $config->set(Options::BASE_URL, AbstractClient::getEndpoint(
392
- $description,
393
- $region,
394
- $config->get(Options::SCHEME)
395
- ));
 
 
 
 
 
 
 
 
 
 
396
  }
397
 
398
  return $description;
20
  use Aws\Common\Credentials\CredentialsInterface;
21
  use Aws\Common\Credentials\NullCredentials;
22
  use Aws\Common\Enum\ClientOptions as Options;
 
23
  use Aws\Common\Exception\ExceptionListener;
24
  use Aws\Common\Exception\InvalidArgumentException;
25
  use Aws\Common\Exception\NamespaceExceptionFactory;
26
  use Aws\Common\Exception\Parser\DefaultXmlExceptionParser;
27
  use Aws\Common\Exception\Parser\ExceptionParserInterface;
28
  use Aws\Common\Iterator\AwsResourceIteratorFactory;
29
+ use Aws\Common\RulesEndpointProvider;
30
  use Aws\Common\Signature\EndpointSignatureInterface;
31
  use Aws\Common\Signature\SignatureInterface;
32
  use Aws\Common\Signature\SignatureV2;
38
  use Guzzle\Plugin\Backoff\ExponentialBackoffStrategy;
39
  use Guzzle\Plugin\Backoff\HttpBackoffStrategy;
40
  use Guzzle\Plugin\Backoff\TruncatedBackoffStrategy;
 
41
  use Guzzle\Service\Description\ServiceDescription;
42
  use Guzzle\Service\Resource\ResourceIteratorClassFactory;
43
  use Guzzle\Log\LogAdapterInterface;
199
  (self::$commonConfigRequirements + $this->configRequirements)
200
  );
201
 
202
+ if (!isset($config['endpoint_provider'])) {
203
+ $config['endpoint_provider'] = RulesEndpointProvider::fromDefaults();
204
+ }
205
+
206
  // Resolve the endpoint, signature, and credentials
207
  $description = $this->updateConfigFromDescription($config);
208
  $signature = $this->getSignature($description, $config);
369
  $this->setIteratorsConfig($iterators);
370
  }
371
 
 
 
 
 
 
 
 
372
  // Make sure a valid region is set
373
  $region = $config->get(Options::REGION);
374
  $global = $description->getData('globalEndpoint');
375
+
376
  if (!$global && !$region) {
377
  throw new InvalidArgumentException(
378
  'A region is required when using ' . $description->getData('serviceFullName')
 
379
  );
380
+ } elseif ($global && !$region) {
381
+ $region = 'us-east-1';
382
+ $config->set(Options::REGION, 'us-east-1');
383
  }
384
 
385
  if (!$config->get(Options::BASE_URL)) {
386
+ $endpoint = call_user_func(
387
+ $config->get('endpoint_provider'),
388
+ array(
389
+ 'scheme' => $config->get(Options::SCHEME),
390
+ 'region' => $region,
391
+ 'service' => $config->get(Options::SERVICE)
392
+ )
393
+ );
394
+ $config->set(Options::BASE_URL, $endpoint['endpoint']);
395
+
396
+ // Set a signature if one was not explicitly provided.
397
+ if (!$config->hasKey(Options::SIGNATURE)
398
+ && isset($endpoint['signatureVersion'])
399
+ ) {
400
+ $config->set(Options::SIGNATURE, $endpoint['signatureVersion']);
401
+ }
402
  }
403
 
404
  return $description;
vendor/aws/Aws/Common/Enum/Region.php CHANGED
@@ -39,6 +39,9 @@ class Region extends Enum
39
 
40
  const EU_WEST_1 = 'eu-west-1';
41
  const IRELAND = 'eu-west-1';
 
 
 
42
 
43
  const AP_SOUTHEAST_1 = 'ap-southeast-1';
44
  const SINGAPORE = 'ap-southeast-1';
39
 
40
  const EU_WEST_1 = 'eu-west-1';
41
  const IRELAND = 'eu-west-1';
42
+
43
+ const EU_CENTRAL_1 = 'eu-central-1';
44
+ const FRANKFURT = 'eu-central-1';
45
 
46
  const AP_SOUTHEAST_1 = 'ap-southeast-1';
47
  const SINGAPORE = 'ap-southeast-1';
vendor/aws/Aws/Common/Hash/HashUtils.php CHANGED
@@ -38,6 +38,10 @@ class HashUtils
38
  $useNative = function_exists('hex2bin');
39
  }
40
 
 
 
 
 
41
  return $useNative ? hex2bin($hash) : pack("H*", $hash);
42
  }
43
 
38
  $useNative = function_exists('hex2bin');
39
  }
40
 
41
+ if (!$useNative && strlen($hash) % 2 !== 0) {
42
+ $hash = '0' . $hash;
43
+ }
44
+
45
  return $useNative ? hex2bin($hash) : pack("H*", $hash);
46
  }
47
 
vendor/aws/Aws/Common/Model/MultipartUpload/AbstractUploadBuilder.php CHANGED
@@ -49,7 +49,7 @@ abstract class AbstractUploadBuilder
49
  /**
50
  * Return a new instance of the UploadBuilder
51
  *
52
- * @return self
53
  */
54
  public static function newInstance()
55
  {
@@ -61,7 +61,7 @@ abstract class AbstractUploadBuilder
61
  *
62
  * @param AwsClientInterface $client Client to use
63
  *
64
- * @return self
65
  */
66
  public function setClient(AwsClientInterface $client)
67
  {
@@ -78,7 +78,7 @@ abstract class AbstractUploadBuilder
78
  * multipart upload. When an ID is passed, the builder will create a
79
  * state object using the data from a ListParts API response.
80
  *
81
- * @return self
82
  */
83
  public function resumeFrom($state)
84
  {
@@ -94,7 +94,7 @@ abstract class AbstractUploadBuilder
94
  * You can also stream from a resource returned from fopen or a Guzzle
95
  * {@see EntityBody} object.
96
  *
97
- * @return self
98
  * @throws InvalidArgumentException when the source cannot be found or opened
99
  */
100
  public function setSource($source)
@@ -123,7 +123,7 @@ abstract class AbstractUploadBuilder
123
  *
124
  * @param array $headers Headers to add to the uploaded object
125
  *
126
- * @return self
127
  */
128
  public function setHeaders(array $headers)
129
  {
49
  /**
50
  * Return a new instance of the UploadBuilder
51
  *
52
+ * @return static
53
  */
54
  public static function newInstance()
55
  {
61
  *
62
  * @param AwsClientInterface $client Client to use
63
  *
64
+ * @return $this
65
  */
66
  public function setClient(AwsClientInterface $client)
67
  {
78
  * multipart upload. When an ID is passed, the builder will create a
79
  * state object using the data from a ListParts API response.
80
  *
81
+ * @return $this
82
  */
83
  public function resumeFrom($state)
84
  {
94
  * You can also stream from a resource returned from fopen or a Guzzle
95
  * {@see EntityBody} object.
96
  *
97
+ * @return $this
98
  * @throws InvalidArgumentException when the source cannot be found or opened
99
  */
100
  public function setSource($source)
123
  *
124
  * @param array $headers Headers to add to the uploaded object
125
  *
126
+ * @return $this
127
  */
128
  public function setHeaders(array $headers)
129
  {
vendor/aws/Aws/Common/Resources/aws-config.php CHANGED
@@ -47,6 +47,12 @@ return array(
47
  )
48
  ),
49
 
 
 
 
 
 
 
50
  'cloudsearch' => array(
51
  'alias' => 'CloudSearch',
52
  'extends' => 'default_settings',
@@ -78,6 +84,12 @@ return array(
78
  'class' => 'Aws\CloudWatch\CloudWatchClient'
79
  ),
80
 
 
 
 
 
 
 
81
  'cognito-identity' => array(
82
  'alias' => 'CognitoIdentity',
83
  'extends' => 'default_settings',
@@ -94,10 +106,16 @@ return array(
94
 
95
  'cognitosync' => array('extends' => 'cognito-sync'),
96
 
97
- 'cloudwatchlogs' => array(
98
- 'alias' => 'CloudWatchLogs',
99
  'extends' => 'default_settings',
100
- 'class' => 'Aws\CloudWatchLogs\CloudWatchLogsClient'
 
 
 
 
 
 
101
  ),
102
 
103
  'datapipeline' => array(
@@ -131,6 +149,12 @@ return array(
131
  'class' => 'Aws\Ec2\Ec2Client'
132
  ),
133
 
 
 
 
 
 
 
134
  'elasticache' => array(
135
  'alias' => 'ElastiCache',
136
  'extends' => 'default_settings',
@@ -173,6 +197,18 @@ return array(
173
  'class' => 'Aws\Kinesis\KinesisClient'
174
  ),
175
 
 
 
 
 
 
 
 
 
 
 
 
 
176
  'iam' => array(
177
  'alias' => 'Iam',
178
  'extends' => 'default_settings',
47
  )
48
  ),
49
 
50
+ 'cloudhsm' => array(
51
+ 'alias' => 'CloudHsm',
52
+ 'extends' => 'default_settings',
53
+ 'class' => 'Aws\CloudHsm\CloudHsmClient'
54
+ ),
55
+
56
  'cloudsearch' => array(
57
  'alias' => 'CloudSearch',
58
  'extends' => 'default_settings',
84
  'class' => 'Aws\CloudWatch\CloudWatchClient'
85
  ),
86
 
87
+ 'cloudwatchlogs' => array(
88
+ 'alias' => 'CloudWatchLogs',
89
+ 'extends' => 'default_settings',
90
+ 'class' => 'Aws\CloudWatchLogs\CloudWatchLogsClient'
91
+ ),
92
+
93
  'cognito-identity' => array(
94
  'alias' => 'CognitoIdentity',
95
  'extends' => 'default_settings',
106
 
107
  'cognitosync' => array('extends' => 'cognito-sync'),
108
 
109
+ 'codedeploy' => array(
110
+ 'alias' => 'CodeDeploy',
111
  'extends' => 'default_settings',
112
+ 'class' => 'Aws\CodeDeploy\CodeDeployClient'
113
+ ),
114
+
115
+ 'config' => array(
116
+ 'alias' => 'ConfigService',
117
+ 'extends' => 'default_settings',
118
+ 'class' => 'Aws\ConfigService\ConfigServiceClient'
119
  ),
120
 
121
  'datapipeline' => array(
149
  'class' => 'Aws\Ec2\Ec2Client'
150
  ),
151
 
152
+ 'ecs' => array(
153
+ 'alias' => 'Ecs',
154
+ 'extends' => 'default_settings',
155
+ 'class' => 'Aws\Ecs\EcsClient'
156
+ ),
157
+
158
  'elasticache' => array(
159
  'alias' => 'ElastiCache',
160
  'extends' => 'default_settings',
197
  'class' => 'Aws\Kinesis\KinesisClient'
198
  ),
199
 
200
+ 'kms' => array(
201
+ 'alias' => 'Kms',
202
+ 'extends' => 'default_settings',
203
+ 'class' => 'Aws\Kms\KmsClient'
204
+ ),
205
+
206
+ 'lambda' => array(
207
+ 'alias' => 'Lambda',
208
+ 'extends' => 'default_settings',
209
+ 'class' => 'Aws\Lambda\LambdaClient'
210
+ ),
211
+
212
  'iam' => array(
213
  'alias' => 'Iam',
214
  'extends' => 'default_settings',
vendor/aws/Aws/Common/Resources/public-endpoints.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ return array(
3
+ 'version' => 2,
4
+ 'endpoints' => array(
5
+ '*/*' => array(
6
+ 'endpoint' => '{service}.{region}.amazonaws.com'
7
+ ),
8
+ 'cn-north-1/*' => array(
9
+ 'endpoint' => '{service}.{region}.amazonaws.com.cn',
10
+ 'signatureVersion' => 'v4'
11
+ ),
12
+ 'us-gov-west-1/iam' => array(
13
+ 'endpoint' => 'iam.us-gov.amazonaws.com'
14
+ ),
15
+ 'us-gov-west-1/sts' => array(
16
+ 'endpoint' => 'sts.us-gov-west-1.amazonaws.com'
17
+ ),
18
+ 'us-gov-west-1/s3' => array(
19
+ 'endpoint' => 's3-{region}.amazonaws.com'
20
+ ),
21
+ '*/cloudfront' => array(
22
+ 'endpoint' => 'cloudfront.amazonaws.com'
23
+ ),
24
+ '*/iam' => array(
25
+ 'endpoint' => 'iam.amazonaws.com'
26
+ ),
27
+ '*/importexport' => array(
28
+ 'endpoint' => 'importexport.amazonaws.com'
29
+ ),
30
+ '*/route53' => array(
31
+ 'endpoint' => 'route53.amazonaws.com'
32
+ ),
33
+ '*/sts' => array(
34
+ 'endpoint' => 'sts.amazonaws.com'
35
+ ),
36
+ 'us-east-1/sdb' => array(
37
+ 'endpoint' => 'sdb.amazonaws.com'
38
+ ),
39
+ 'us-east-1/s3' => array(
40
+ 'endpoint' => 's3.amazonaws.com'
41
+ ),
42
+ 'us-west-1/s3' => array(
43
+ 'endpoint' => 's3-{region}.amazonaws.com'
44
+ ),
45
+ 'us-west-2/s3' => array(
46
+ 'endpoint' => 's3-{region}.amazonaws.com'
47
+ ),
48
+ 'eu-west-1/s3' => array(
49
+ 'endpoint' => 's3-{region}.amazonaws.com'
50
+ ),
51
+ 'ap-southeast-1/s3' => array(
52
+ 'endpoint' => 's3-{region}.amazonaws.com'
53
+ ),
54
+ 'ap-southeast-2/s3' => array(
55
+ 'endpoint' => 's3-{region}.amazonaws.com'
56
+ ),
57
+ 'ap-northeast-1/s3' => array(
58
+ 'endpoint' => 's3-{region}.amazonaws.com'
59
+ ),
60
+ 'sa-east-1/s3' => array(
61
+ 'endpoint' => 's3-{region}.amazonaws.com'
62
+ )
63
+ )
64
+ );
vendor/aws/Aws/Common/RulesEndpointProvider.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Aws\Common;
3
+
4
+ /**
5
+ * Provides endpoints based on a rules configuration file.
6
+ */
7
+ class RulesEndpointProvider
8
+ {
9
+ /** @var array */
10
+ private $patterns;
11
+
12
+ /**
13
+ * @param array $patterns Hash of endpoint patterns mapping to endpoint
14
+ * configurations.
15
+ */
16
+ public function __construct(array $patterns)
17
+ {
18
+ $this->patterns = $patterns;
19
+ }
20
+
21
+ /**
22
+ * Creates and returns the default RulesEndpointProvider based on the
23
+ * public rule sets.
24
+ *
25
+ * @return self
26
+ */
27
+ public static function fromDefaults()
28
+ {
29
+ return new self(require __DIR__ . '/Resources/public-endpoints.php');
30
+ }
31
+
32
+ public function __invoke(array $args = array())
33
+ {
34
+ if (!isset($args['service'])) {
35
+ throw new \InvalidArgumentException('Requires a "service" value');
36
+ }
37
+
38
+ if (!isset($args['region'])) {
39
+ throw new \InvalidArgumentException('Requires a "region" value');
40
+ }
41
+
42
+ foreach ($this->getKeys($args['region'], $args['service']) as $key) {
43
+ if (isset($this->patterns['endpoints'][$key])) {
44
+ return $this->expand($this->patterns['endpoints'][$key], $args);
45
+ }
46
+ }
47
+
48
+ throw new \RuntimeException('Could not resolve endpoint');
49
+ }
50
+
51
+ private function expand(array $config, array $args)
52
+ {
53
+ $scheme = isset($args['scheme']) ? $args['scheme'] : 'https';
54
+ $config['endpoint'] = $scheme . '://' . str_replace(
55
+ array('{service}', '{region}'),
56
+ array($args['service'], $args['region']),
57
+ $config['endpoint']
58
+ );
59
+
60
+ return $config;
61
+ }
62
+
63
+ private function getKeys($region, $service)
64
+ {
65
+ return array("$region/$service", "$region/*", "*/$service", "*/*");
66
+ }
67
+ }
vendor/aws/Aws/Common/Signature/SignatureV4.php CHANGED
@@ -19,12 +19,12 @@ namespace Aws\Common\Signature;
19
  use Aws\Common\Credentials\CredentialsInterface;
20
  use Aws\Common\Enum\DateFormat;
21
  use Aws\Common\HostNameUtils;
22
- use Guzzle\Http\Message\EntityEnclosingRequest;
23
  use Guzzle\Http\Message\EntityEnclosingRequestInterface;
24
  use Guzzle\Http\Message\RequestFactory;
25
  use Guzzle\Http\Message\RequestInterface;
26
  use Guzzle\Http\QueryString;
27
  use Guzzle\Http\Url;
 
28
 
29
  /**
30
  * Signature Version 4
@@ -231,12 +231,11 @@ class SignatureV4 extends AbstractSignature implements EndpointSignatureInterfac
231
  }
232
 
233
  if ($request instanceof EntityEnclosingRequestInterface) {
234
- return hash(
235
- 'sha256',
236
- $request->getMethod() == 'POST' && count($request->getPostFields())
237
- ? (string) $request->getPostFields()
238
- : (string) $request->getBody()
239
- );
240
  }
241
 
242
  return self::DEFAULT_PAYLOAD;
@@ -304,43 +303,42 @@ class SignatureV4 extends AbstractSignature implements EndpointSignatureInterfac
304
  */
305
  private function createSigningContext(RequestInterface $request, $payload)
306
  {
 
 
 
 
 
 
307
  // Normalize the path as required by SigV4 and ensure it's absolute
308
  $canon = $request->getMethod() . "\n"
309
  . $this->createCanonicalizedPath($request) . "\n"
310
  . $this->getCanonicalizedQueryString($request) . "\n";
311
 
312
- // Create the canonical headers
313
- $headers = array();
314
  foreach ($request->getHeaders()->getAll() as $key => $values) {
315
  $key = strtolower($key);
316
- if ($key != 'user-agent') {
317
- $headers[$key] = array();
318
- foreach ($values as $value) {
319
- $headers[$key][] = preg_replace('/\s+/', ' ', trim($value));
320
- }
321
- // Sort the value if there is more than one
322
- if (count($values) > 1) {
323
- sort($headers[$key]);
324
  }
 
325
  }
326
  }
327
 
328
- // The headers must be sorted
329
- ksort($headers);
330
-
331
- // Continue to build the canonical request by adding headers
332
- foreach ($headers as $key => $values) {
333
- // Combine multi-value headers into a comma separated list
334
- $canon .= $key . ':' . implode(',', $values) . "\n";
335
- }
336
-
337
- // Create the signed headers
338
- $signedHeaders = implode(';', array_keys($headers));
339
- $canon .= "\n{$signedHeaders}\n{$payload}";
340
 
341
  return array(
342
  'canonical_request' => $canon,
343
- 'signed_headers' => $signedHeaders
344
  );
345
  }
346
 
19
  use Aws\Common\Credentials\CredentialsInterface;
20
  use Aws\Common\Enum\DateFormat;
21
  use Aws\Common\HostNameUtils;
 
22
  use Guzzle\Http\Message\EntityEnclosingRequestInterface;
23
  use Guzzle\Http\Message\RequestFactory;
24
  use Guzzle\Http\Message\RequestInterface;
25
  use Guzzle\Http\QueryString;
26
  use Guzzle\Http\Url;
27
+ use Guzzle\Stream\Stream;
28
 
29
  /**
30
  * Signature Version 4
231
  }
232
 
233
  if ($request instanceof EntityEnclosingRequestInterface) {
234
+ if ($request->getMethod() == 'POST' && count($request->getPostFields())) {
235
+ return hash('sha256', (string) $request->getPostFields());
236
+ } elseif ($body = $request->getBody()) {
237
+ return Stream::getHash($request->getBody(), 'sha256');
238
+ }
 
239
  }
240
 
241
  return self::DEFAULT_PAYLOAD;
303
  */
304
  private function createSigningContext(RequestInterface $request, $payload)
305
  {
306
+ $signable = array(
307
+ 'host' => true,
308
+ 'date' => true,
309
+ 'content-md5' => true
310
+ );
311
+
312
  // Normalize the path as required by SigV4 and ensure it's absolute
313
  $canon = $request->getMethod() . "\n"
314
  . $this->createCanonicalizedPath($request) . "\n"
315
  . $this->getCanonicalizedQueryString($request) . "\n";
316
 
317
+ $canonHeaders = array();
318
+
319
  foreach ($request->getHeaders()->getAll() as $key => $values) {
320
  $key = strtolower($key);
321
+ if (isset($signable[$key]) || substr($key, 0, 6) === 'x-amz-') {
322
+ $values = $values->toArray();
323
+ if (count($values) == 1) {
324
+ $values = $values[0];
325
+ } else {
326
+ sort($values);
327
+ $values = implode(',', $values);
 
328
  }
329
+ $canonHeaders[$key] = $key . ':' . preg_replace('/\s+/', ' ', $values);
330
  }
331
  }
332
 
333
+ ksort($canonHeaders);
334
+ $signedHeadersString = implode(';', array_keys($canonHeaders));
335
+ $canon .= implode("\n", $canonHeaders) . "\n\n"
336
+ . $signedHeadersString . "\n"
337
+ . $payload;
 
 
 
 
 
 
 
338
 
339
  return array(
340
  'canonical_request' => $canon,
341
+ 'signed_headers' => $signedHeadersString
342
  );
343
  }
344
 
vendor/aws/Aws/ConfigService/ConfigServiceClient.php ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\ConfigService;
18
+
19
+ use Aws\Common\Client\AbstractClient;
20
+ use Aws\Common\Client\ClientBuilder;
21
+ use Aws\Common\Enum\ClientOptions as Options;
22
+ use Aws\Common\Exception\Parser\JsonQueryExceptionParser;
23
+ use Guzzle\Common\Collection;
24
+ use Guzzle\Service\Resource\Model;
25
+
26
+ /**
27
+ * Client to interact with AWS Config
28
+ *
29
+ * @method Model deleteDeliveryChannel(array $args = array()) {@command ConfigService DeleteDeliveryChannel}
30
+ * @method Model deliverConfigSnapshot(array $args = array()) {@command ConfigService DeliverConfigSnapshot}
31
+ * @method Model describeConfigurationRecorderStatus(array $args = array()) {@command ConfigService DescribeConfigurationRecorderStatus}
32
+ * @method Model describeConfigurationRecorders(array $args = array()) {@command ConfigService DescribeConfigurationRecorders}
33
+ * @method Model describeDeliveryChannelStatus(array $args = array()) {@command ConfigService DescribeDeliveryChannelStatus}
34
+ * @method Model describeDeliveryChannels(array $args = array()) {@command ConfigService DescribeDeliveryChannels}
35
+ * @method Model getResourceConfigHistory(array $args = array()) {@command ConfigService GetResourceConfigHistory}
36
+ * @method Model putConfigurationRecorder(array $args = array()) {@command ConfigService PutConfigurationRecorder}
37
+ * @method Model putDeliveryChannel(array $args = array()) {@command ConfigService PutDeliveryChannel}
38
+ * @method Model startConfigurationRecorder(array $args = array()) {@command ConfigService StartConfigurationRecorder}
39
+ * @method Model stopConfigurationRecorder(array $args = array()) {@command ConfigService StopConfigurationRecorder}
40
+ *
41
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-configservice.html User guide
42
+ * @link http://docs.aws.amazon.com/aws-sdk-php/latest/class-Aws.ConfigService.ConfigServiceClient.html API docs
43
+ */
44
+ class ConfigServiceClient extends AbstractClient
45
+ {
46
+ const LATEST_API_VERSION = '2014-11-12';
47
+
48
+ /**
49
+ * Factory method to create a new AWS Config client using an array of configuration options.
50
+ *
51
+ * See http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
52
+ *
53
+ * @param array|Collection $config Client configuration data
54
+ *
55
+ * @return self
56
+ * @link http://docs.aws.amazon.com/aws-sdk-php/guide/latest/configuration.html#client-configuration-options
57
+ */
58
+ public static function factory($config = array())
59
+ {
60
+ return ClientBuilder::factory(__NAMESPACE__)
61
+ ->setConfig($config)
62
+ ->setConfigDefaults(array(
63
+ Options::VERSION => self::LATEST_API_VERSION,
64
+ Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/configservice-%s.php'
65
+ ))
66
+ ->setExceptionParser(new JsonQueryExceptionParser())
67
+ ->build();
68
+ }
69
+ }
vendor/aws/Aws/ConfigService/Exception/ConfigServiceException.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Aws\ConfigService\Exception;
4
+
5
+ use Aws\Common\Exception\ServiceResponseException;
6
+
7
+ /**
8
+ * Exception thrown by the ConfigService service client.
9
+ */
10
+ class ConfigServiceException extends ServiceResponseException {}
vendor/aws/Aws/ConfigService/Resources/configservice-2014-11-12.php ADDED
@@ -0,0 +1,830 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-11-12',
19
+ 'endpointPrefix' => 'config',
20
+ 'serviceFullName' => 'AWS Config',
21
+ 'serviceAbbreviation' => 'Config Service',
22
+ 'serviceType' => 'json',
23
+ 'jsonVersion' => '1.1',
24
+ 'targetPrefix' => 'StarlingDoveService.',
25
+ 'signatureVersion' => 'v4',
26
+ 'namespace' => 'ConfigService',
27
+ 'operations' => array(
28
+ 'DeleteDeliveryChannel' => array(
29
+ 'httpMethod' => 'POST',
30
+ 'uri' => '/',
31
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
32
+ 'responseClass' => 'EmptyOutput',
33
+ 'responseType' => 'model',
34
+ 'parameters' => array(
35
+ 'Content-Type' => array(
36
+ 'static' => true,
37
+ 'location' => 'header',
38
+ 'default' => 'application/x-amz-json-1.1',
39
+ ),
40
+ 'command.expects' => array(
41
+ 'static' => true,
42
+ 'default' => 'application/json',
43
+ ),
44
+ 'X-Amz-Target' => array(
45
+ 'static' => true,
46
+ 'location' => 'header',
47
+ 'default' => 'StarlingDoveService.DeleteDeliveryChannel',
48
+ ),
49
+ 'DeliveryChannelName' => array(
50
+ 'required' => true,
51
+ 'type' => 'string',
52
+ 'location' => 'json',
53
+ 'minLength' => 1,
54
+ 'maxLength' => 256,
55
+ ),
56
+ ),
57
+ 'errorResponses' => array(
58
+ array(
59
+ 'reason' => 'You have specified a delivery channel that does not exist.',
60
+ 'class' => 'NoSuchDeliveryChannelException',
61
+ ),
62
+ array(
63
+ 'reason' => 'You cannot delete the delivery channel you specified because the configuration recorder is running.',
64
+ 'class' => 'LastDeliveryChannelDeleteFailedException',
65
+ ),
66
+ ),
67
+ ),
68
+ 'DeliverConfigSnapshot' => array(
69
+ 'httpMethod' => 'POST',
70
+ 'uri' => '/',
71
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
72
+ 'responseClass' => 'DeliverConfigSnapshotResponse',
73
+ 'responseType' => 'model',
74
+ 'parameters' => array(
75
+ 'Content-Type' => array(
76
+ 'static' => true,
77
+ 'location' => 'header',
78
+ 'default' => 'application/x-amz-json-1.1',
79
+ ),
80
+ 'command.expects' => array(
81
+ 'static' => true,
82
+ 'default' => 'application/json',
83
+ ),
84
+ 'X-Amz-Target' => array(
85
+ 'static' => true,
86
+ 'location' => 'header',
87
+ 'default' => 'StarlingDoveService.DeliverConfigSnapshot',
88
+ ),
89
+ 'deliveryChannelName' => array(
90
+ 'required' => true,
91
+ 'type' => 'string',
92
+ 'location' => 'json',
93
+ 'minLength' => 1,
94
+ 'maxLength' => 256,
95
+ ),
96
+ ),
97
+ 'errorResponses' => array(
98
+ array(
99
+ 'reason' => 'You have specified a delivery channel that does not exist.',
100
+ 'class' => 'NoSuchDeliveryChannelException',
101
+ ),
102
+ array(
103
+ 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources.',
104
+ 'class' => 'NoAvailableConfigurationRecorderException',
105
+ ),
106
+ array(
107
+ 'reason' => 'There is no configuration recorder running.',
108
+ 'class' => 'NoRunningConfigurationRecorderException',
109
+ ),
110
+ ),
111
+ ),
112
+ 'DescribeConfigurationRecorderStatus' => array(
113
+ 'httpMethod' => 'POST',
114
+ 'uri' => '/',
115
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
116
+ 'responseClass' => 'DescribeConfigurationRecorderStatusResponse',
117
+ 'responseType' => 'model',
118
+ 'parameters' => array(
119
+ 'Content-Type' => array(
120
+ 'static' => true,
121
+ 'location' => 'header',
122
+ 'default' => 'application/x-amz-json-1.1',
123
+ ),
124
+ 'command.expects' => array(
125
+ 'static' => true,
126
+ 'default' => 'application/json',
127
+ ),
128
+ 'X-Amz-Target' => array(
129
+ 'static' => true,
130
+ 'location' => 'header',
131
+ 'default' => 'StarlingDoveService.DescribeConfigurationRecorderStatus',
132
+ ),
133
+ 'ConfigurationRecorderNames' => array(
134
+ 'type' => 'array',
135
+ 'location' => 'json',
136
+ 'items' => array(
137
+ 'name' => 'RecorderName',
138
+ 'type' => 'string',
139
+ 'minLength' => 1,
140
+ 'maxLength' => 256,
141
+ ),
142
+ ),
143
+ ),
144
+ 'errorResponses' => array(
145
+ array(
146
+ 'reason' => 'You have specified a configuration recorder that does not exist.',
147
+ 'class' => 'NoSuchConfigurationRecorderException',
148
+ ),
149
+ ),
150
+ ),
151
+ 'DescribeConfigurationRecorders' => array(
152
+ 'httpMethod' => 'POST',
153
+ 'uri' => '/',
154
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
155
+ 'responseClass' => 'DescribeConfigurationRecordersResponse',
156
+ 'responseType' => 'model',
157
+ 'parameters' => array(
158
+ 'Content-Type' => array(
159
+ 'static' => true,
160
+ 'location' => 'header',
161
+ 'default' => 'application/x-amz-json-1.1',
162
+ ),
163
+ 'command.expects' => array(
164
+ 'static' => true,
165
+ 'default' => 'application/json',
166
+ ),
167
+ 'X-Amz-Target' => array(
168
+ 'static' => true,
169
+ 'location' => 'header',
170
+ 'default' => 'StarlingDoveService.DescribeConfigurationRecorders',
171
+ ),
172
+ 'ConfigurationRecorderNames' => array(
173
+ 'type' => 'array',
174
+ 'location' => 'json',
175
+ 'items' => array(
176
+ 'name' => 'RecorderName',
177
+ 'type' => 'string',
178
+ 'minLength' => 1,
179
+ 'maxLength' => 256,
180
+ ),
181
+ ),
182
+ ),
183
+ 'errorResponses' => array(
184
+ array(
185
+ 'reason' => 'You have specified a configuration recorder that does not exist.',
186
+ 'class' => 'NoSuchConfigurationRecorderException',
187
+ ),
188
+ ),
189
+ ),
190
+ 'DescribeDeliveryChannelStatus' => array(
191
+ 'httpMethod' => 'POST',
192
+ 'uri' => '/',
193
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
194
+ 'responseClass' => 'DescribeDeliveryChannelStatusResponse',
195
+ 'responseType' => 'model',
196
+ 'parameters' => array(
197
+ 'Content-Type' => array(
198
+ 'static' => true,
199
+ 'location' => 'header',
200
+ 'default' => 'application/x-amz-json-1.1',
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' => 'StarlingDoveService.DescribeDeliveryChannelStatus',
210
+ ),
211
+ 'DeliveryChannelNames' => array(
212
+ 'type' => 'array',
213
+ 'location' => 'json',
214
+ 'items' => array(
215
+ 'name' => 'ChannelName',
216
+ 'type' => 'string',
217
+ 'minLength' => 1,
218
+ 'maxLength' => 256,
219
+ ),
220
+ ),
221
+ ),
222
+ 'errorResponses' => array(
223
+ array(
224
+ 'reason' => 'You have specified a delivery channel that does not exist.',
225
+ 'class' => 'NoSuchDeliveryChannelException',
226
+ ),
227
+ ),
228
+ ),
229
+ 'DescribeDeliveryChannels' => array(
230
+ 'httpMethod' => 'POST',
231
+ 'uri' => '/',
232
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
233
+ 'responseClass' => 'DescribeDeliveryChannelsResponse',
234
+ 'responseType' => 'model',
235
+ 'parameters' => array(
236
+ 'Content-Type' => array(
237
+ 'static' => true,
238
+ 'location' => 'header',
239
+ 'default' => 'application/x-amz-json-1.1',
240
+ ),
241
+ 'command.expects' => array(
242
+ 'static' => true,
243
+ 'default' => 'application/json',
244
+ ),
245
+ 'X-Amz-Target' => array(
246
+ 'static' => true,
247
+ 'location' => 'header',
248
+ 'default' => 'StarlingDoveService.DescribeDeliveryChannels',
249
+ ),
250
+ 'DeliveryChannelNames' => array(
251
+ 'type' => 'array',
252
+ 'location' => 'json',
253
+ 'items' => array(
254
+ 'name' => 'ChannelName',
255
+ 'type' => 'string',
256
+ 'minLength' => 1,
257
+ 'maxLength' => 256,
258
+ ),
259
+ ),
260
+ ),
261
+ 'errorResponses' => array(
262
+ array(
263
+ 'reason' => 'You have specified a delivery channel that does not exist.',
264
+ 'class' => 'NoSuchDeliveryChannelException',
265
+ ),
266
+ ),
267
+ ),
268
+ 'GetResourceConfigHistory' => array(
269
+ 'httpMethod' => 'POST',
270
+ 'uri' => '/',
271
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
272
+ 'responseClass' => 'GetResourceConfigHistoryResponse',
273
+ 'responseType' => 'model',
274
+ 'parameters' => array(
275
+ 'Content-Type' => array(
276
+ 'static' => true,
277
+ 'location' => 'header',
278
+ 'default' => 'application/x-amz-json-1.1',
279
+ ),
280
+ 'command.expects' => array(
281
+ 'static' => true,
282
+ 'default' => 'application/json',
283
+ ),
284
+ 'X-Amz-Target' => array(
285
+ 'static' => true,
286
+ 'location' => 'header',
287
+ 'default' => 'StarlingDoveService.GetResourceConfigHistory',
288
+ ),
289
+ 'resourceType' => array(
290
+ 'required' => true,
291
+ 'type' => 'string',
292
+ 'location' => 'json',
293
+ ),
294
+ 'resourceId' => array(
295
+ 'required' => true,
296
+ 'type' => 'string',
297
+ 'location' => 'json',
298
+ ),
299
+ 'laterTime' => array(
300
+ 'type' => array(
301
+ 'object',
302
+ 'string',
303
+ 'integer',
304
+ ),
305
+ 'format' => 'date-time',
306
+ 'location' => 'json',
307
+ ),
308
+ 'earlierTime' => array(
309
+ 'type' => array(
310
+ 'object',
311
+ 'string',
312
+ 'integer',
313
+ ),
314
+ 'format' => 'date-time',
315
+ 'location' => 'json',
316
+ ),
317
+ 'chronologicalOrder' => array(
318
+ 'type' => 'string',
319
+ 'location' => 'json',
320
+ ),
321
+ 'limit' => array(
322
+ 'type' => 'numeric',
323
+ 'location' => 'json',
324
+ 'maximum' => 100,
325
+ ),
326
+ 'nextToken' => array(
327
+ 'type' => 'string',
328
+ 'location' => 'json',
329
+ ),
330
+ ),
331
+ 'errorResponses' => array(
332
+ array(
333
+ 'reason' => 'The requested action is not valid.',
334
+ 'class' => 'ValidationException',
335
+ ),
336
+ array(
337
+ 'reason' => 'The specified time range is not valid. The earlier time is not chronologically before the later time.',
338
+ 'class' => 'InvalidTimeRangeException',
339
+ ),
340
+ array(
341
+ 'reason' => 'You have reached the limit on the pagination.',
342
+ 'class' => 'InvalidLimitException',
343
+ ),
344
+ array(
345
+ 'reason' => 'The specified nextToken for pagination is not valid.',
346
+ 'class' => 'InvalidNextTokenException',
347
+ ),
348
+ array(
349
+ 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources.',
350
+ 'class' => 'NoAvailableConfigurationRecorderException',
351
+ ),
352
+ array(
353
+ 'reason' => 'You have specified a resource that is either unknown or has not been discovered.',
354
+ 'class' => 'ResourceNotDiscoveredException',
355
+ ),
356
+ ),
357
+ ),
358
+ 'PutConfigurationRecorder' => array(
359
+ 'httpMethod' => 'POST',
360
+ 'uri' => '/',
361
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
362
+ 'responseClass' => 'EmptyOutput',
363
+ 'responseType' => 'model',
364
+ 'parameters' => array(
365
+ 'Content-Type' => array(
366
+ 'static' => true,
367
+ 'location' => 'header',
368
+ 'default' => 'application/x-amz-json-1.1',
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' => 'StarlingDoveService.PutConfigurationRecorder',
378
+ ),
379
+ 'ConfigurationRecorder' => array(
380
+ 'required' => true,
381
+ 'type' => 'object',
382
+ 'location' => 'json',
383
+ 'properties' => array(
384
+ 'name' => array(
385
+ 'type' => 'string',
386
+ 'minLength' => 1,
387
+ 'maxLength' => 256,
388
+ ),
389
+ 'roleARN' => array(
390
+ 'type' => 'string',
391
+ ),
392
+ ),
393
+ ),
394
+ ),
395
+ 'errorResponses' => array(
396
+ array(
397
+ 'reason' => 'You have reached the limit on the number of recorders you can create.',
398
+ 'class' => 'MaxNumberOfConfigurationRecordersExceededException',
399
+ ),
400
+ array(
401
+ 'reason' => 'You have provided a configuration recorder name that is not valid.',
402
+ 'class' => 'InvalidConfigurationRecorderNameException',
403
+ ),
404
+ array(
405
+ 'reason' => 'You have provided a null or empty role ARN.',
406
+ 'class' => 'InvalidRoleException',
407
+ ),
408
+ ),
409
+ ),
410
+ 'PutDeliveryChannel' => array(
411
+ 'httpMethod' => 'POST',
412
+ 'uri' => '/',
413
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
414
+ 'responseClass' => 'EmptyOutput',
415
+ 'responseType' => 'model',
416
+ 'parameters' => array(
417
+ 'Content-Type' => array(
418
+ 'static' => true,
419
+ 'location' => 'header',
420
+ 'default' => 'application/x-amz-json-1.1',
421
+ ),
422
+ 'command.expects' => array(
423
+ 'static' => true,
424
+ 'default' => 'application/json',
425
+ ),
426
+ 'X-Amz-Target' => array(
427
+ 'static' => true,
428
+ 'location' => 'header',
429
+ 'default' => 'StarlingDoveService.PutDeliveryChannel',
430
+ ),
431
+ 'DeliveryChannel' => array(
432
+ 'required' => true,
433
+ 'type' => 'object',
434
+ 'location' => 'json',
435
+ 'properties' => array(
436
+ 'name' => array(
437
+ 'type' => 'string',
438
+ 'minLength' => 1,
439
+ 'maxLength' => 256,
440
+ ),
441
+ 's3BucketName' => array(
442
+ 'type' => 'string',
443
+ ),
444
+ 's3KeyPrefix' => array(
445
+ 'type' => 'string',
446
+ ),
447
+ 'snsTopicARN' => array(
448
+ 'type' => 'string',
449
+ ),
450
+ ),
451
+ ),
452
+ ),
453
+ 'errorResponses' => array(
454
+ array(
455
+ 'reason' => 'You have reached the limit on the number of delivery channels you can create.',
456
+ 'class' => 'MaxNumberOfDeliveryChannelsExceededException',
457
+ ),
458
+ array(
459
+ 'reason' => 'There are no configuration recorders available to provide the role needed to describe your resources.',
460
+ 'class' => 'NoAvailableConfigurationRecorderException',
461
+ ),
462
+ array(
463
+ 'reason' => 'The specified delivery channel name is not valid.',
464
+ 'class' => 'InvalidDeliveryChannelNameException',
465
+ ),
466
+ array(
467
+ 'reason' => 'The specified Amazon S3 bucket does not exist.',
468
+ 'class' => 'NoSuchBucketException',
469
+ ),
470
+ array(
471
+ 'reason' => 'The specified Amazon S3 key prefix is not valid.',
472
+ 'class' => 'InvalidS3KeyPrefixException',
473
+ ),
474
+ array(
475
+ 'reason' => 'The specified Amazon SNS topic does not exist.',
476
+ 'class' => 'InvalidSNSTopicARNException',
477
+ ),
478
+ array(
479
+ 'reason' => 'Your Amazon S3 bucket policy does not permit AWS Config to write to it.',
480
+ 'class' => 'InsufficientDeliveryPolicyException',
481
+ ),
482
+ ),
483
+ ),
484
+ 'StartConfigurationRecorder' => array(
485
+ 'httpMethod' => 'POST',
486
+ 'uri' => '/',
487
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
488
+ 'responseClass' => 'EmptyOutput',
489
+ 'responseType' => 'model',
490
+ 'parameters' => array(
491
+ 'Content-Type' => array(
492
+ 'static' => true,
493
+ 'location' => 'header',
494
+ 'default' => 'application/x-amz-json-1.1',
495
+ ),
496
+ 'command.expects' => array(
497
+ 'static' => true,
498
+ 'default' => 'application/json',
499
+ ),
500
+ 'X-Amz-Target' => array(
501
+ 'static' => true,
502
+ 'location' => 'header',
503
+ 'default' => 'StarlingDoveService.StartConfigurationRecorder',
504
+ ),
505
+ 'ConfigurationRecorderName' => array(
506
+ 'required' => true,
507
+ 'type' => 'string',
508
+ 'location' => 'json',
509
+ 'minLength' => 1,
510
+ 'maxLength' => 256,
511
+ ),
512
+ ),
513
+ 'errorResponses' => array(
514
+ array(
515
+ 'reason' => 'You have specified a configuration recorder that does not exist.',
516
+ 'class' => 'NoSuchConfigurationRecorderException',
517
+ ),
518
+ array(
519
+ 'reason' => 'There is no delivery channel available to record configurations.',
520
+ 'class' => 'NoAvailableDeliveryChannelException',
521
+ ),
522
+ ),
523
+ ),
524
+ 'StopConfigurationRecorder' => array(
525
+ 'httpMethod' => 'POST',
526
+ 'uri' => '/',
527
+ 'class' => 'Aws\\Common\\Command\\JsonCommand',
528
+ 'responseClass' => 'EmptyOutput',
529
+ 'responseType' => 'model',
530
+ 'parameters' => array(
531
+ 'Content-Type' => array(
532
+ 'static' => true,
533
+ 'location' => 'header',
534
+ 'default' => 'application/x-amz-json-1.1',
535
+ ),
536
+ 'command.expects' => array(
537
+ 'static' => true,
538
+ 'default' => 'application/json',
539
+ ),
540
+ 'X-Amz-Target' => array(
541
+ 'static' => true,
542
+ 'location' => 'header',
543
+ 'default' => 'StarlingDoveService.StopConfigurationRecorder',
544
+ ),
545
+ 'ConfigurationRecorderName' => array(
546
+ 'required' => true,
547
+ 'type' => 'string',
548
+ 'location' => 'json',
549
+ 'minLength' => 1,
550
+ 'maxLength' => 256,
551
+ ),
552
+ ),
553
+ 'errorResponses' => array(
554
+ array(
555
+ 'reason' => 'You have specified a configuration recorder that does not exist.',
556
+ 'class' => 'NoSuchConfigurationRecorderException',
557
+ ),
558
+ ),
559
+ ),
560
+ ),
561
+ 'models' => array(
562
+ 'EmptyOutput' => array(
563
+ 'type' => 'object',
564
+ 'additionalProperties' => true,
565
+ ),
566
+ 'DeliverConfigSnapshotResponse' => array(
567
+ 'type' => 'object',
568
+ 'additionalProperties' => true,
569
+ 'properties' => array(
570
+ 'configSnapshotId' => array(
571
+ 'type' => 'string',
572
+ 'location' => 'json',
573
+ ),
574
+ ),
575
+ ),
576
+ 'DescribeConfigurationRecorderStatusResponse' => array(
577
+ 'type' => 'object',
578
+ 'additionalProperties' => true,
579
+ 'properties' => array(
580
+ 'ConfigurationRecordersStatus' => array(
581
+ 'type' => 'array',
582
+ 'location' => 'json',
583
+ 'items' => array(
584
+ 'name' => 'ConfigurationRecorderStatus',
585
+ 'type' => 'object',
586
+ 'properties' => array(
587
+ 'name' => array(
588
+ 'type' => 'string',
589
+ ),
590
+ 'lastStartTime' => array(
591
+ 'type' => 'string',
592
+ ),
593
+ 'lastStopTime' => array(
594
+ 'type' => 'string',
595
+ ),
596
+ 'recording' => array(
597
+ 'type' => 'boolean',
598
+ ),
599
+ 'lastStatus' => array(
600
+ 'type' => 'string',
601
+ ),
602
+ 'lastErrorCode' => array(
603
+ 'type' => 'string',
604
+ ),
605
+ 'lastErrorMessage' => array(
606
+ 'type' => 'string',
607
+ ),
608
+ 'lastStatusChangeTime' => array(
609
+ 'type' => 'string',
610
+ ),
611
+ ),
612
+ ),
613
+ ),
614
+ ),
615
+ ),
616
+ 'DescribeConfigurationRecordersResponse' => array(
617
+ 'type' => 'object',
618
+ 'additionalProperties' => true,
619
+ 'properties' => array(
620
+ 'ConfigurationRecorders' => array(
621
+ 'type' => 'array',
622
+ 'location' => 'json',
623
+ 'items' => array(
624
+ 'name' => 'ConfigurationRecorder',
625
+ 'type' => 'object',
626
+ 'properties' => array(
627
+ 'name' => array(
628
+ 'type' => 'string',
629
+ ),
630
+ 'roleARN' => array(
631
+ 'type' => 'string',
632
+ ),
633
+ ),
634
+ ),
635
+ ),
636
+ ),
637
+ ),
638
+ 'DescribeDeliveryChannelStatusResponse' => array(
639
+ 'type' => 'object',
640
+ 'additionalProperties' => true,
641
+ 'properties' => array(
642
+ 'DeliveryChannelsStatus' => array(
643
+ 'type' => 'array',
644
+ 'location' => 'json',
645
+ 'items' => array(
646
+ 'name' => 'DeliveryChannelStatus',
647
+ 'type' => 'object',
648
+ 'properties' => array(
649
+ 'name' => array(
650
+ 'type' => 'string',
651
+ ),
652
+ 'configSnapshotDeliveryInfo' => array(
653
+ 'type' => 'object',
654
+ 'properties' => array(
655
+ 'lastStatus' => array(
656
+ 'type' => 'string',
657
+ ),
658
+ 'lastErrorCode' => array(
659
+ 'type' => 'string',
660
+ ),
661
+ 'lastErrorMessage' => array(
662
+ 'type' => 'string',
663
+ ),
664
+ 'lastAttemptTime' => array(
665
+ 'type' => 'string',
666
+ ),
667
+ 'lastSuccessfulTime' => array(
668
+ 'type' => 'string',
669
+ ),
670
+ ),
671
+ ),
672
+ 'configHistoryDeliveryInfo' => array(
673
+ 'type' => 'object',
674
+ 'properties' => array(
675
+ 'lastStatus' => array(
676
+ 'type' => 'string',
677
+ ),
678
+ 'lastErrorCode' => array(
679
+ 'type' => 'string',
680
+ ),
681
+ 'lastErrorMessage' => array(
682
+ 'type' => 'string',
683
+ ),
684
+ 'lastAttemptTime' => array(
685
+ 'type' => 'string',
686
+ ),
687
+ 'lastSuccessfulTime' => array(
688
+ 'type' => 'string',
689
+ ),
690
+ ),
691
+ ),
692
+ 'configStreamDeliveryInfo' => array(
693
+ 'type' => 'object',
694
+ 'properties' => array(
695
+ 'lastStatus' => array(
696
+ 'type' => 'string',
697
+ ),
698
+ 'lastErrorCode' => array(
699
+ 'type' => 'string',
700
+ ),
701
+ 'lastErrorMessage' => array(
702
+ 'type' => 'string',
703
+ ),
704
+ 'lastStatusChangeTime' => array(
705
+ 'type' => 'string',
706
+ ),
707
+ ),
708
+ ),
709
+ ),
710
+ ),
711
+ ),
712
+ ),
713
+ ),
714
+ 'DescribeDeliveryChannelsResponse' => array(
715
+ 'type' => 'object',
716
+ 'additionalProperties' => true,
717
+ 'properties' => array(
718
+ 'DeliveryChannels' => array(
719
+ 'type' => 'array',
720
+ 'location' => 'json',
721
+ 'items' => array(
722
+ 'name' => 'DeliveryChannel',
723
+ 'type' => 'object',
724
+ 'properties' => array(
725
+ 'name' => array(
726
+ 'type' => 'string',
727
+ ),
728
+ 's3BucketName' => array(
729
+ 'type' => 'string',
730
+ ),
731
+ 's3KeyPrefix' => array(
732
+ 'type' => 'string',
733
+ ),
734
+ 'snsTopicARN' => array(
735
+ 'type' => 'string',
736
+ ),
737
+ ),
738
+ ),
739
+ ),
740
+ ),
741
+ ),
742
+ 'GetResourceConfigHistoryResponse' => array(
743
+ 'type' => 'object',
744
+ 'additionalProperties' => true,
745
+ 'properties' => array(
746
+ 'configurationItems' => array(
747
+ 'type' => 'array',
748
+ 'location' => 'json',
749
+ 'items' => array(
750
+ 'name' => 'ConfigurationItem',
751
+ 'type' => 'object',
752
+ 'properties' => array(
753
+ 'version' => array(
754
+ 'type' => 'string',
755
+ ),
756
+ 'accountId' => array(
757
+ 'type' => 'string',
758
+ ),
759
+ 'configurationItemCaptureTime' => array(
760
+ 'type' => 'string',
761
+ ),
762
+ 'configurationItemStatus' => array(
763
+ 'type' => 'string',
764
+ ),
765
+ 'configurationStateId' => array(
766
+ 'type' => 'string',
767
+ ),
768
+ 'configurationItemMD5Hash' => array(
769
+ 'type' => 'string',
770
+ ),
771
+ 'arn' => array(
772
+ 'type' => 'string',
773
+ ),
774
+ 'resourceType' => array(
775
+ 'type' => 'string',
776
+ ),
777
+ 'resourceId' => array(
778
+ 'type' => 'string',
779
+ ),
780
+ 'availabilityZone' => array(
781
+ 'type' => 'string',
782
+ ),
783
+ 'resourceCreationTime' => array(
784
+ 'type' => 'string',
785
+ ),
786
+ 'tags' => array(
787
+ 'type' => 'object',
788
+ 'additionalProperties' => array(
789
+ 'type' => 'string',
790
+ ),
791
+ ),
792
+ 'relatedEvents' => array(
793
+ 'type' => 'array',
794
+ 'items' => array(
795
+ 'name' => 'RelatedEvent',
796
+ 'type' => 'string',
797
+ ),
798
+ ),
799
+ 'relationships' => array(
800
+ 'type' => 'array',
801
+ 'items' => array(
802
+ 'name' => 'Relationship',
803
+ 'type' => 'object',
804
+ 'properties' => array(
805
+ 'resourceType' => array(
806
+ 'type' => 'string',
807
+ ),
808
+ 'resourceId' => array(
809
+ 'type' => 'string',
810
+ ),
811
+ 'relationshipName' => array(
812
+ 'type' => 'string',
813
+ ),
814
+ ),
815
+ ),
816
+ ),
817
+ 'configuration' => array(
818
+ 'type' => 'string',
819
+ ),
820
+ ),
821
+ ),
822
+ ),
823
+ 'nextToken' => array(
824
+ 'type' => 'string',
825
+ 'location' => 'json',
826
+ ),
827
+ ),
828
+ ),
829
+ ),
830
+ );
vendor/aws/Aws/DataPipeline/Resources/datapipeline-2012-10-29.php CHANGED
@@ -79,6 +79,27 @@ return array (
79
  'minLength' => 1,
80
  'maxLength' => 1024,
81
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  ),
83
  'errorResponses' => array(
84
  array(
@@ -611,6 +632,64 @@ return array (
611
  ),
612
  ),
613
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
614
  ),
615
  'errorResponses' => array(
616
  array(
@@ -748,6 +827,31 @@ return array (
748
  'minLength' => 1,
749
  'maxLength' => 2048,
750
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
751
  ),
752
  'errorResponses' => array(
753
  array(
@@ -1035,6 +1139,64 @@ return array (
1035
  ),
1036
  ),
1037
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1038
  ),
1039
  'errorResponses' => array(
1040
  array(
@@ -1210,6 +1372,50 @@ return array (
1210
  ),
1211
  ),
1212
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1213
  ),
1214
  ),
1215
  'ListPipelinesOutput' => array(
79
  'minLength' => 1,
80
  'maxLength' => 1024,
81
  ),
82
+ 'parameterValues' => array(
83
+ 'type' => 'array',
84
+ 'location' => 'json',
85
+ 'items' => array(
86
+ 'name' => 'ParameterValue',
87
+ 'type' => 'object',
88
+ 'properties' => array(
89
+ 'id' => array(
90
+ 'required' => true,
91
+ 'type' => 'string',
92
+ 'minLength' => 1,
93
+ 'maxLength' => 256,
94
+ ),
95
+ 'stringValue' => array(
96
+ 'required' => true,
97
+ 'type' => 'string',
98
+ 'maxLength' => 10240,
99
+ ),
100
+ ),
101
+ ),
102
+ ),
103
  ),
104
  'errorResponses' => array(
105
  array(
632
  ),
633
  ),
634
  ),
635
+ 'parameterObjects' => array(
636
+ 'type' => 'array',
637
+ 'location' => 'json',
638
+ 'items' => array(
639
+ 'name' => 'ParameterObject',
640
+ 'type' => 'object',
641
+ 'properties' => array(
642
+ 'id' => array(
643
+ 'required' => true,
644
+ 'type' => 'string',
645
+ 'minLength' => 1,
646
+ 'maxLength' => 256,
647
+ ),
648
+ 'attributes' => array(
649
+ 'required' => true,
650
+ 'type' => 'array',
651
+ 'items' => array(
652
+ 'name' => 'ParameterAttribute',
653
+ 'type' => 'object',
654
+ 'properties' => array(
655
+ 'key' => array(
656
+ 'required' => true,
657
+ 'type' => 'string',
658
+ 'minLength' => 1,
659
+ 'maxLength' => 256,
660
+ ),
661
+ 'stringValue' => array(
662
+ 'required' => true,
663
+ 'type' => 'string',
664
+ 'maxLength' => 10240,
665
+ ),
666
+ ),
667
+ ),
668
+ ),
669
+ ),
670
+ ),
671
+ ),
672
+ 'parameterValues' => array(
673
+ 'type' => 'array',
674
+ 'location' => 'json',
675
+ 'items' => array(
676
+ 'name' => 'ParameterValue',
677
+ 'type' => 'object',
678
+ 'properties' => array(
679
+ 'id' => array(
680
+ 'required' => true,
681
+ 'type' => 'string',
682
+ 'minLength' => 1,
683
+ 'maxLength' => 256,
684
+ ),
685
+ 'stringValue' => array(
686
+ 'required' => true,
687
+ 'type' => 'string',
688
+ 'maxLength' => 10240,
689
+ ),
690
+ ),
691
+ ),
692
+ ),
693
  ),
694
  'errorResponses' => array(
695
  array(
827
  'minLength' => 1,
828
  'maxLength' => 2048,
829
  ),
830
+ 'fields' => array(
831
+ 'type' => 'array',
832
+ 'location' => 'json',
833
+ 'items' => array(
834
+ 'name' => 'Field',
835
+ 'type' => 'object',
836
+ 'properties' => array(
837
+ 'key' => array(
838
+ 'required' => true,
839
+ 'type' => 'string',
840
+ 'minLength' => 1,
841
+ 'maxLength' => 256,
842
+ ),
843
+ 'stringValue' => array(
844
+ 'type' => 'string',
845
+ 'maxLength' => 10240,
846
+ ),
847
+ 'refValue' => array(
848
+ 'type' => 'string',
849
+ 'minLength' => 1,
850
+ 'maxLength' => 256,
851
+ ),
852
+ ),
853
+ ),
854
+ ),
855
  ),
856
  'errorResponses' => array(
857
  array(
1139
  ),
1140
  ),
1141
  ),
1142
+ 'parameterObjects' => array(
1143
+ 'type' => 'array',
1144
+ 'location' => 'json',
1145
+ 'items' => array(
1146
+ 'name' => 'ParameterObject',
1147
+ 'type' => 'object',
1148
+ 'properties' => array(
1149
+ 'id' => array(
1150
+ 'required' => true,
1151
+ 'type' => 'string',
1152
+ 'minLength' => 1,
1153
+ 'maxLength' => 256,
1154
+ ),
1155
+ 'attributes' => array(
1156
+ 'required' => true,
1157
+ 'type' => 'array',
1158
+ 'items' => array(
1159
+ 'name' => 'ParameterAttribute',
1160
+ 'type' => 'object',
1161
+ 'properties' => array(
1162
+ 'key' => array(
1163
+ 'required' => true,
1164
+ 'type' => 'string',
1165
+ 'minLength' => 1,
1166
+ 'maxLength' => 256,
1167
+ ),
1168
+ 'stringValue' => array(
1169
+ 'required' => true,
1170
+ 'type' => 'string',
1171
+ 'maxLength' => 10240,
1172
+ ),
1173
+ ),
1174
+ ),
1175
+ ),
1176
+ ),
1177
+ ),
1178
+ ),
1179
+ 'parameterValues' => array(
1180
+ 'type' => 'array',
1181
+ 'location' => 'json',
1182
+ 'items' => array(
1183
+ 'name' => 'ParameterValue',
1184
+ 'type' => 'object',
1185
+ 'properties' => array(
1186
+ 'id' => array(
1187
+ 'required' => true,
1188
+ 'type' => 'string',
1189
+ 'minLength' => 1,
1190
+ 'maxLength' => 256,
1191
+ ),
1192
+ 'stringValue' => array(
1193
+ 'required' => true,
1194
+ 'type' => 'string',
1195
+ 'maxLength' => 10240,
1196
+ ),
1197
+ ),
1198
+ ),
1199
+ ),
1200
  ),
1201
  'errorResponses' => array(
1202
  array(
1372
  ),
1373
  ),
1374
  ),
1375
+ 'parameterObjects' => array(
1376
+ 'type' => 'array',
1377
+ 'location' => 'json',
1378
+ 'items' => array(
1379
+ 'name' => 'ParameterObject',
1380
+ 'type' => 'object',
1381
+ 'properties' => array(
1382
+ 'id' => array(
1383
+ 'type' => 'string',
1384
+ ),
1385
+ 'attributes' => array(
1386
+ 'type' => 'array',
1387
+ 'items' => array(
1388
+ 'name' => 'ParameterAttribute',
1389
+ 'type' => 'object',
1390
+ 'properties' => array(
1391
+ 'key' => array(
1392
+ 'type' => 'string',
1393
+ ),
1394
+ 'stringValue' => array(
1395
+ 'type' => 'string',
1396
+ ),
1397
+ ),
1398
+ ),
1399
+ ),
1400
+ ),
1401
+ ),
1402
+ ),
1403
+ 'parameterValues' => array(
1404
+ 'type' => 'array',
1405
+ 'location' => 'json',
1406
+ 'items' => array(
1407
+ 'name' => 'ParameterValue',
1408
+ 'type' => 'object',
1409
+ 'properties' => array(
1410
+ 'id' => array(
1411
+ 'type' => 'string',
1412
+ ),
1413
+ 'stringValue' => array(
1414
+ 'type' => 'string',
1415
+ ),
1416
+ ),
1417
+ ),
1418
+ ),
1419
  ),
1420
  ),
1421
  'ListPipelinesOutput' => array(
vendor/aws/Aws/DynamoDb/DynamoDbClient.php CHANGED
@@ -134,6 +134,8 @@ class DynamoDbClient extends AbstractClient
134
  * @param string $format The type of format (e.g. put, update).
135
  *
136
  * @return array The formatted value.
 
 
137
  */
138
  public function formatValue($value, $format = Attribute::FORMAT_PUT)
139
  {
@@ -147,6 +149,8 @@ class DynamoDbClient extends AbstractClient
147
  * @param string $format The type of format (e.g. put, update).
148
  *
149
  * @return array The formatted values.
 
 
150
  */
151
  public function formatAttributes(array $values, $format = Attribute::FORMAT_PUT)
152
  {
134
  * @param string $format The type of format (e.g. put, update).
135
  *
136
  * @return array The formatted value.
137
+ * @deprecated The new DynamoDB document model, including the new types
138
+ * (L, M, BOOL, NULL), is not supported by this method.
139
  */
140
  public function formatValue($value, $format = Attribute::FORMAT_PUT)
141
  {
149
  * @param string $format The type of format (e.g. put, update).
150
  *
151
  * @return array The formatted values.
152
+ * @deprecated The new DynamoDB document model, including the new types
153
+ * (L, M, BOOL, NULL), is not supported by this method.
154
  */
155
  public function formatAttributes(array $values, $format = Attribute::FORMAT_PUT)
156
  {
vendor/aws/Aws/DynamoDb/DynamoDbCommand.php ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Aws\DynamoDb;
3
+
4
+ use Aws\Common\Command\JsonCommand;
5
+
6
+ /**
7
+ * Short-circuits validation for DynamoDB and handles binary value decoding in
8
+ * the response, if enabled.
9
+ *
10
+ * @internal
11
+ */
12
+ class DynamoDbCommand extends JsonCommand
13
+ {
14
+ protected function build()
15
+ {
16
+ // Remove the values that should be appended to the user agent.
17
+ // (Note: Because validation is off, this doesn't happen automatically.)
18
+ $uaAppend = $this['ua.append'];
19
+ unset($this['ua.append']);
20
+
21
+ // Build the request.
22
+ parent::build();
23
+
24
+ // Put the values back, so the UA listener add them to the UA header.
25
+ $this['ua.append'] = $uaAppend;
26
+ }
27
+
28
+ protected function validate()
29
+ {
30
+ // No validation for DynamoDB ever. This is because the service
31
+ // description does everything with additionalParameters
32
+ return;
33
+ }
34
+
35
+ protected function process()
36
+ {
37
+ parent::process();
38
+
39
+ // Decode B/BS values when Response processing is enabled
40
+ if ($this[self::RESPONSE_PROCESSING] == self::TYPE_MODEL) {
41
+ foreach ($this->result as $key => $value) {
42
+ $this->result[$key] = self::unmarshalAttributes($value);
43
+ }
44
+ }
45
+ }
46
+
47
+ /**
48
+ * Recursively searches for N/NS/B/BS values within the given value and
49
+ * marshals them (e.g., base64_encode) into a DynamoDB compatible format.
50
+ *
51
+ * @param mixed $value
52
+ *
53
+ * @return mixed
54
+ */
55
+ public static function marshalAttributes($value)
56
+ {
57
+ if (is_array($value)) {
58
+ array_walk($value, ($fn = function(&$v, $k) use (&$fn) {
59
+ if ($k === 'N' && (is_int($v) || is_float($v))) {
60
+ $v = strval($v);
61
+ } elseif ($k === 'NS' && is_array($v) && isset($v[0])) {
62
+ $v = array_map('strval', $v);
63
+ } elseif ($k === 'B' && is_string($v)) {
64
+ $v = base64_encode($v);
65
+ } elseif ($k === 'BS' && is_array($v) && isset($v[0])) {
66
+ $v = array_map('base64_encode', $v);
67
+ } elseif (is_array($v)) {
68
+ array_walk($v, $fn);
69
+ }
70
+ }));
71
+ }
72
+
73
+ return $value;
74
+ }
75
+
76
+ /**
77
+ * Recursively searches for B/BS values within the given value and
78
+ * decodes them into their original string format.
79
+ *
80
+ * @param mixed $value
81
+ *
82
+ * @return mixed
83
+ */
84
+ public static function unmarshalAttributes($value)
85
+ {
86
+ if (is_array($value)) {
87
+ array_walk($value, ($fn = function(&$v, $k) use (&$fn) {
88
+ if ($k === 'B' && is_string($v)) {
89
+ $v = base64_decode($v);
90
+ } elseif ($k === 'BS' && is_array($v) && isset($v[0])) {
91
+ $v = array_map('base64_decode', $v);
92
+ } elseif (is_array($v)) {
93
+ array_walk($v, $fn);
94
+ }
95
+ }));
96
+ }
97
+
98
+ return $value;
99
+ }
100
+ }
vendor/aws/Aws/DynamoDb/Iterator/ItemIterator.php CHANGED
@@ -21,8 +21,12 @@ use Guzzle\Common\Collection;
21
  use Guzzle\Common\ToArrayInterface;
22
 
23
  /**
24
- * Converts items to a simple associative array form with type information removed. Also performs base64_decode on
25
- * values specified as binary. Each item is yielded as an array-accessible Collection object
 
 
 
 
26
  */
27
  class ItemIterator extends \IteratorIterator implements \Countable, ToArrayInterface
28
  {
21
  use Guzzle\Common\ToArrayInterface;
22
 
23
  /**
24
+ * Converts items to a simple associative array form with type information
25
+ * removed. Also performs base64_decode on values specified as binary. Each item
26
+ * is yielded as an array-accessible Collection object.
27
+ *
28
+ * @deprecated The new DynamoDB document model, including the new types (L, M,
29
+ * BOOL, NULL), is not supported by this class.
30
  */
31
  class ItemIterator extends \IteratorIterator implements \Countable, ToArrayInterface
32
  {
vendor/aws/Aws/DynamoDb/Marshaler.php ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Aws\DynamoDb;
3
+
4
+ /**
5
+ * Marshals JSON documents or array representations of JSON documents into the
6
+ * parameter structure required by DynamoDB. Also allows for unmarshaling. Does
7
+ * not support binary (B) or set (*S) types, since they are not supported
8
+ * explicitly in JSON.
9
+ */
10
+ class Marshaler
11
+ {
12
+ /**
13
+ * Marshal a JSON document from a string to an array that is formatted in
14
+ * the proper parameter structure required by DynamoDB operations.
15
+ *
16
+ * @param string $json A valid JSON document.
17
+ *
18
+ * @return array
19
+ * @throws \InvalidArgumentException if the JSON is invalid.
20
+ */
21
+ public function marshalJson($json)
22
+ {
23
+ $data = json_decode($json);
24
+ if (!($data instanceof \stdClass)) {
25
+ throw new \InvalidArgumentException(
26
+ 'The JSON document must be valid and be an object at its root.'
27
+ );
28
+ }
29
+
30
+ return current($this->marshalValue($data));
31
+ }
32
+
33
+ /**
34
+ * Marshal a native PHP array of data to a new array that is formatted in
35
+ * the proper parameter structure required by DynamoDB operations.
36
+ *
37
+ * @param array|\stdClass $item An associative array of data.
38
+ *
39
+ * @return array
40
+ */
41
+ public function marshalItem($item)
42
+ {
43
+ return current($this->marshalValue($item));
44
+ }
45
+
46
+ /**
47
+ * Marshal a native PHP value into an array that is formatted in the proper
48
+ * parameter structure required by DynamoDB operations.
49
+ *
50
+ * @param mixed $value A scalar, array, or stdClass value.
51
+ *
52
+ * @return array Formatted like `array(TYPE => VALUE)`.
53
+ * @throws \UnexpectedValueException if the value cannot be marshaled.
54
+ */
55
+ private function marshalValue($value)
56
+ {
57
+ $type = gettype($value);
58
+ if ($type === 'string' && $value !== '') {
59
+ $type = 'S';
60
+ } elseif ($type === 'integer' || $type === 'double') {
61
+ $type = 'N';
62
+ $value = (string) $value;
63
+ } elseif ($type === 'boolean') {
64
+ $type = 'BOOL';
65
+ } elseif ($type === 'NULL') {
66
+ $type = 'NULL';
67
+ $value = true;
68
+ } elseif ($type === 'array'
69
+ || $value instanceof \Traversable
70
+ || $value instanceof \stdClass
71
+ ) {
72
+ $type = $value instanceof \stdClass ? 'M' : 'L';
73
+ $data = array();
74
+ $expectedIndex = -1;
75
+ foreach ($value as $k => $v) {
76
+ $data[$k] = $this->marshalValue($v);
77
+ if ($type === 'L' && (!is_int($k) || $k != ++$expectedIndex)) {
78
+ $type = 'M';
79
+ }
80
+ }
81
+ $value = $data;
82
+ } else {
83
+ $type = $type === 'object' ? get_class($value) : $type;
84
+ throw new \UnexpectedValueException('Marshaling error: ' . ($value
85
+ ? "encountered unexpected type \"{$type}\"."
86
+ : 'encountered empty value.'
87
+ ));
88
+ }
89
+
90
+ return array($type => $value);
91
+ }
92
+
93
+ /**
94
+ * Unmarshal a document (item) from a DynamoDB operation result into a JSON
95
+ * document string.
96
+ *
97
+ * @param array $data Item/document from a DynamoDB result.
98
+ * @param int $jsonEncodeFlags Flags to use with `json_encode()`.
99
+ *
100
+ * @return string
101
+ */
102
+ public function unmarshalJson(array $data, $jsonEncodeFlags = 0)
103
+ {
104
+ return json_encode(
105
+ $this->unmarshalValue(array('M' => $data), true),
106
+ $jsonEncodeFlags
107
+ );
108
+ }
109
+
110
+ /**
111
+ * Unmarshal an item from a DynamoDB operation result into a native PHP
112
+ * array. If you set $mapAsObject to true, then a stdClass value will be
113
+ * returned instead.
114
+ *
115
+ * @param array $data Item from a DynamoDB result.
116
+ *
117
+ * @return array|\stdClass
118
+ */
119
+ public function unmarshalItem(array $data)
120
+ {
121
+ return $this->unmarshalValue(array('M' => $data));
122
+ }
123
+
124
+ /**
125
+ * Unmarshal a value from a DynamoDB operation result into a native PHP
126
+ * value. Will return a scalar, array, or (if you set $mapAsObject to true)
127
+ * stdClass value.
128
+ *
129
+ * @param array $value Value from a DynamoDB result.
130
+ * @param bool $mapAsObject Whether maps should be represented as stdClass.
131
+ *
132
+ * @return mixed
133
+ * @throws \UnexpectedValueException
134
+ */
135
+ private function unmarshalValue(array $value, $mapAsObject = false)
136
+ {
137
+ list($type, $value) = each($value);
138
+ switch ($type) {
139
+ case 'S':
140
+ case 'SS':
141
+ case 'B':
142
+ case 'BS':
143
+ case 'BOOL':
144
+ return $value;
145
+ case 'NULL':
146
+ return null;
147
+ case 'N':
148
+ // Use type coercion to unmarshal numbers to int/float.
149
+ return $value + 0;
150
+ case 'NS':
151
+ foreach ($value as &$v) {
152
+ $v += 0;
153
+ }
154
+ return $value;
155
+ case 'M':
156
+ if ($mapAsObject) {
157
+ $data = new \stdClass;
158
+ foreach ($value as $k => $v) {
159
+ $data->$k = $this->unmarshalValue($v, $mapAsObject);
160
+ }
161
+ return $data;
162
+ }
163
+ // Else, unmarshal M the same way as L.
164
+ case 'L':
165
+ foreach ($value as &$v) {
166
+ $v = $this->unmarshalValue($v, $mapAsObject);
167
+ }
168
+ return $value;
169
+ }
170
+
171
+ throw new \UnexpectedValueException("Unexpected type: {$type}.");
172
+ }
173
+ }
vendor/aws/Aws/DynamoDb/Model/Attribute.php CHANGED
@@ -23,6 +23,9 @@ use Guzzle\Common\ToArrayInterface;
23
  /**
24
  * Class representing a DynamoDB item attribute. Contains helpers for building
25
  * attributes and arrays of attributes.
 
 
 
26
  */
27
  class Attribute implements ToArrayInterface
28
  {
23
  /**
24
  * Class representing a DynamoDB item attribute. Contains helpers for building
25
  * attributes and arrays of attributes.
26
+ *
27
+ * @deprecated The new DynamoDB document model, including the new types (L, M,
28
+ * BOOL, NULL), is not supported by this class.
29
  */
30
  class Attribute implements ToArrayInterface
31
  {
vendor/aws/Aws/DynamoDb/Model/BatchRequest/PutRequest.php CHANGED
@@ -26,7 +26,7 @@ use Guzzle\Service\Command\AbstractCommand;
26
  class PutRequest extends AbstractWriteRequest
27
  {
28
  /**
29
- * @var Item The item to be inserted into the DynamoDB table
30
  */
31
  protected $item;
32
 
@@ -49,11 +49,6 @@ class PutRequest extends AbstractWriteRequest
49
  $table = $command->get('TableName');
50
  $item = $command->get('Item');
51
 
52
- // Create an Item object from the 'item' command data
53
- if (!($item instanceof Item)) {
54
- $item = new Item($item, $table);
55
- }
56
-
57
  // Return an instantiated PutRequest object
58
  return new PutRequest($item, $table);
59
  }
@@ -61,15 +56,22 @@ class PutRequest extends AbstractWriteRequest
61
  /**
62
  * Constructs a new put request
63
  *
64
- * @param Item $item The item to put into DynamoDB
65
- * @param string $tableName The name of the table which has the item
66
  *
67
  * @throw InvalidArgumentException if the table name is not provided
68
  */
69
- public function __construct(Item $item, $tableName = null)
70
  {
71
- $this->item = $item;
72
- $this->tableName = $tableName ?: $item->getTableName();
 
 
 
 
 
 
 
73
 
74
  if (!$this->tableName) {
75
  throw new InvalidArgumentException('A table name is required to create a PutRequest.');
@@ -83,7 +85,7 @@ class PutRequest extends AbstractWriteRequest
83
  */
84
  public function toArray()
85
  {
86
- return array('PutRequest' => array('Item' => $this->item->toArray()));
87
  }
88
 
89
  /**
@@ -93,6 +95,6 @@ class PutRequest extends AbstractWriteRequest
93
  */
94
  public function getItem()
95
  {
96
- return $this->item;
97
  }
98
  }
26
  class PutRequest extends AbstractWriteRequest
27
  {
28
  /**
29
+ * @var array The item to be inserted into the DynamoDB table
30
  */
31
  protected $item;
32
 
49
  $table = $command->get('TableName');
50
  $item = $command->get('Item');
51
 
 
 
 
 
 
52
  // Return an instantiated PutRequest object
53
  return new PutRequest($item, $table);
54
  }
56
  /**
57
  * Constructs a new put request
58
  *
59
+ * @param array|Item $item The item to put into DynamoDB
60
+ * @param string $tableName The name of the table which has the item
61
  *
62
  * @throw InvalidArgumentException if the table name is not provided
63
  */
64
+ public function __construct($item, $tableName = null)
65
  {
66
+ if ($item instanceof Item) {
67
+ $this->item = $item->toArray();
68
+ $this->tableName = $tableName ?: $item->getTableName();
69
+ } elseif (is_array($item)) {
70
+ $this->item = $item;
71
+ $this->tableName = $tableName;
72
+ } else {
73
+ throw new InvalidArgumentException('The item must be an array or an Item object.');
74
+ }
75
 
76
  if (!$this->tableName) {
77
  throw new InvalidArgumentException('A table name is required to create a PutRequest.');
85
  */
86
  public function toArray()
87
  {
88
+ return array('PutRequest' => array('Item' => $this->item));
89
  }
90
 
91
  /**
95
  */
96
  public function getItem()
97
  {
98
+ return new Item($this->item);
99
  }
100
  }
vendor/aws/Aws/DynamoDb/Model/BatchRequest/WriteRequestBatch.php CHANGED
@@ -84,7 +84,7 @@ class WriteRequestBatch extends AbstractBatchDecorator
84
  }
85
 
86
  if (!($item instanceof WriteRequestInterface)) {
87
- throw new InvalidArgumentException('The item are are trying to add to the batch queue is invalid.');
88
  }
89
 
90
  return $this->decoratedBatch->add($item);
84
  }
85
 
86
  if (!($item instanceof WriteRequestInterface)) {
87
+ throw new InvalidArgumentException('The item you are trying to add to the batch queue is invalid.');
88
  }
89
 
90
  return $this->decoratedBatch->add($item);
vendor/aws/Aws/DynamoDb/Model/Item.php CHANGED
@@ -20,6 +20,9 @@ use Guzzle\Common\ToArrayInterface;
20
 
21
  /**
22
  * Amazon DynamoDB item model
 
 
 
23
  */
24
  class Item implements \ArrayAccess, \IteratorAggregate, ToArrayInterface, \Countable
25
  {
20
 
21
  /**
22
  * Amazon DynamoDB item model
23
+ *
24
+ * @deprecated The new DynamoDB document model, including the new types (L, M,
25
+ * BOOL, NULL), is not supported by this class.
26
  */
27
  class Item implements \ArrayAccess, \IteratorAggregate, ToArrayInterface, \Countable
28
  {
vendor/aws/Aws/DynamoDb/Resources/dynamodb-2012-08-10.php CHANGED
@@ -80,8 +80,8 @@ return array (
80
  'BatchGetItem' => array(
81
  'httpMethod' => 'POST',
82
  'uri' => '/',
83
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
84
- 'responseClass' => 'BatchGetItemOutput',
85
  'responseType' => 'model',
86
  'parameters' => array(
87
  'Content-Type' => array(
@@ -98,112 +98,19 @@ return array (
98
  'location' => 'header',
99
  'default' => 'DynamoDB_20120810.BatchGetItem',
100
  ),
101
- 'RequestItems' => array(
102
- 'required' => true,
103
- 'type' => 'object',
104
- 'location' => 'json',
105
- 'additionalProperties' => array(
106
- 'type' => 'object',
107
- 'data' => array(
108
- 'shape_name' => 'TableName',
109
- 'key_pattern' => '/[a-zA-Z0-9_.-]+/',
110
- ),
111
- 'properties' => array(
112
- 'Keys' => array(
113
- 'required' => true,
114
- 'type' => 'array',
115
- 'minItems' => 1,
116
- 'maxItems' => 100,
117
- 'items' => array(
118
- 'name' => 'Key',
119
- 'type' => 'object',
120
- 'additionalProperties' => array(
121
- 'type' => 'object',
122
- 'data' => array(
123
- 'shape_name' => 'AttributeName',
124
- ),
125
- 'properties' => array(
126
- 'S' => array(
127
- 'type' => 'string',
128
- ),
129
- 'N' => array(
130
- 'type' => 'string',
131
- ),
132
- 'B' => array(
133
- 'type' => 'string',
134
- 'filters' => array(
135
- 'base64_encode',
136
- ),
137
- ),
138
- 'SS' => array(
139
- 'type' => 'array',
140
- 'items' => array(
141
- 'name' => 'StringAttributeValue',
142
- 'type' => 'string',
143
- ),
144
- ),
145
- 'NS' => array(
146
- 'type' => 'array',
147
- 'items' => array(
148
- 'name' => 'NumberAttributeValue',
149
- 'type' => 'string',
150
- ),
151
- ),
152
- 'BS' => array(
153
- 'type' => 'array',
154
- 'items' => array(
155
- 'name' => 'BinaryAttributeValue',
156
- 'type' => 'string',
157
- 'filters' => array(
158
- 'base64_encode',
159
- ),
160
- ),
161
- ),
162
- ),
163
- ),
164
- ),
165
- ),
166
- 'AttributesToGet' => array(
167
- 'type' => 'array',
168
- 'minItems' => 1,
169
- 'items' => array(
170
- 'name' => 'AttributeName',
171
- 'type' => 'string',
172
- 'maxLength' => 65535,
173
- ),
174
- ),
175
- 'ConsistentRead' => array(
176
- 'type' => 'boolean',
177
- 'format' => 'boolean-string',
178
- ),
179
- ),
180
- ),
181
- ),
182
- 'ReturnConsumedCapacity' => array(
183
- 'type' => 'string',
184
- 'location' => 'json',
185
- ),
186
  ),
187
- 'errorResponses' => array(
188
- array(
189
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
190
- 'class' => 'ProvisionedThroughputExceededException',
191
- ),
192
- array(
193
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
194
- 'class' => 'ResourceNotFoundException',
195
- ),
196
- array(
197
- 'reason' => 'An error occurred on the server side.',
198
- 'class' => 'InternalServerErrorException',
199
  ),
200
  ),
201
  ),
202
  'BatchWriteItem' => array(
203
  'httpMethod' => 'POST',
204
  'uri' => '/',
205
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
206
- 'responseClass' => 'BatchWriteItemOutput',
207
  'responseType' => 'model',
208
  'parameters' => array(
209
  'Content-Type' => array(
@@ -220,165 +127,19 @@ return array (
220
  'location' => 'header',
221
  'default' => 'DynamoDB_20120810.BatchWriteItem',
222
  ),
223
- 'RequestItems' => array(
224
- 'required' => true,
225
- 'type' => 'object',
226
- 'location' => 'json',
227
- 'additionalProperties' => array(
228
- 'type' => 'array',
229
- 'minItems' => 1,
230
- 'maxItems' => 25,
231
- 'data' => array(
232
- 'shape_name' => 'TableName',
233
- 'key_pattern' => '/[a-zA-Z0-9_.-]+/',
234
- ),
235
- 'items' => array(
236
- 'name' => 'WriteRequest',
237
- 'type' => 'object',
238
- 'properties' => array(
239
- 'PutRequest' => array(
240
- 'type' => 'object',
241
- 'properties' => array(
242
- 'Item' => array(
243
- 'required' => true,
244
- 'type' => 'object',
245
- 'additionalProperties' => array(
246
- 'type' => 'object',
247
- 'data' => array(
248
- 'shape_name' => 'AttributeName',
249
- ),
250
- 'properties' => array(
251
- 'S' => array(
252
- 'type' => 'string',
253
- ),
254
- 'N' => array(
255
- 'type' => 'string',
256
- ),
257
- 'B' => array(
258
- 'type' => 'string',
259
- 'filters' => array(
260
- 'base64_encode',
261
- ),
262
- ),
263
- 'SS' => array(
264
- 'type' => 'array',
265
- 'items' => array(
266
- 'name' => 'StringAttributeValue',
267
- 'type' => 'string',
268
- ),
269
- ),
270
- 'NS' => array(
271
- 'type' => 'array',
272
- 'items' => array(
273
- 'name' => 'NumberAttributeValue',
274
- 'type' => 'string',
275
- ),
276
- ),
277
- 'BS' => array(
278
- 'type' => 'array',
279
- 'items' => array(
280
- 'name' => 'BinaryAttributeValue',
281
- 'type' => 'string',
282
- 'filters' => array(
283
- 'base64_encode',
284
- ),
285
- ),
286
- ),
287
- ),
288
- ),
289
- ),
290
- ),
291
- ),
292
- 'DeleteRequest' => array(
293
- 'type' => 'object',
294
- 'properties' => array(
295
- 'Key' => array(
296
- 'required' => true,
297
- 'type' => 'object',
298
- 'additionalProperties' => array(
299
- 'type' => 'object',
300
- 'data' => array(
301
- 'shape_name' => 'AttributeName',
302
- ),
303
- 'properties' => array(
304
- 'S' => array(
305
- 'type' => 'string',
306
- ),
307
- 'N' => array(
308
- 'type' => 'string',
309
- ),
310
- 'B' => array(
311
- 'type' => 'string',
312
- 'filters' => array(
313
- 'base64_encode',
314
- ),
315
- ),
316
- 'SS' => array(
317
- 'type' => 'array',
318
- 'items' => array(
319
- 'name' => 'StringAttributeValue',
320
- 'type' => 'string',
321
- ),
322
- ),
323
- 'NS' => array(
324
- 'type' => 'array',
325
- 'items' => array(
326
- 'name' => 'NumberAttributeValue',
327
- 'type' => 'string',
328
- ),
329
- ),
330
- 'BS' => array(
331
- 'type' => 'array',
332
- 'items' => array(
333
- 'name' => 'BinaryAttributeValue',
334
- 'type' => 'string',
335
- 'filters' => array(
336
- 'base64_encode',
337
- ),
338
- ),
339
- ),
340
- ),
341
- ),
342
- ),
343
- ),
344
- ),
345
- ),
346
- ),
347
- ),
348
- ),
349
- 'ReturnConsumedCapacity' => array(
350
- 'type' => 'string',
351
- 'location' => 'json',
352
- ),
353
- 'ReturnItemCollectionMetrics' => array(
354
- 'type' => 'string',
355
- 'location' => 'json',
356
- ),
357
  ),
358
- 'errorResponses' => array(
359
- array(
360
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
361
- 'class' => 'ProvisionedThroughputExceededException',
362
- ),
363
- array(
364
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
365
- 'class' => 'ResourceNotFoundException',
366
- ),
367
- array(
368
- 'reason' => 'An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.',
369
- 'class' => 'ItemCollectionSizeLimitExceededException',
370
- ),
371
- array(
372
- 'reason' => 'An error occurred on the server side.',
373
- 'class' => 'InternalServerErrorException',
374
  ),
375
  ),
376
  ),
377
  'CreateTable' => array(
378
  'httpMethod' => 'POST',
379
  'uri' => '/',
380
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
381
- 'responseClass' => 'CreateTableOutput',
382
  'responseType' => 'model',
383
  'parameters' => array(
384
  'Content-Type' => array(
@@ -395,227 +156,16 @@ return array (
395
  'location' => 'header',
396
  'default' => 'DynamoDB_20120810.CreateTable',
397
  ),
398
- 'AttributeDefinitions' => array(
399
- 'required' => true,
400
- 'type' => 'array',
401
- 'location' => 'json',
402
- 'items' => array(
403
- 'name' => 'AttributeDefinition',
404
- 'type' => 'object',
405
- 'properties' => array(
406
- 'AttributeName' => array(
407
- 'required' => true,
408
- 'type' => 'string',
409
- 'minLength' => 1,
410
- 'maxLength' => 255,
411
- ),
412
- 'AttributeType' => array(
413
- 'required' => true,
414
- 'type' => 'string',
415
- ),
416
- ),
417
- ),
418
- ),
419
- 'TableName' => array(
420
- 'required' => true,
421
- 'type' => 'string',
422
- 'location' => 'json',
423
- 'minLength' => 3,
424
- 'maxLength' => 255,
425
- ),
426
- 'KeySchema' => array(
427
- 'required' => true,
428
- 'type' => 'array',
429
- 'location' => 'json',
430
- 'minItems' => 1,
431
- 'maxItems' => 2,
432
- 'items' => array(
433
- 'name' => 'KeySchemaElement',
434
- 'type' => 'object',
435
- 'properties' => array(
436
- 'AttributeName' => array(
437
- 'required' => true,
438
- 'type' => 'string',
439
- 'minLength' => 1,
440
- 'maxLength' => 255,
441
- ),
442
- 'KeyType' => array(
443
- 'required' => true,
444
- 'type' => 'string',
445
- ),
446
- ),
447
- ),
448
- ),
449
- 'LocalSecondaryIndexes' => array(
450
- 'type' => 'array',
451
- 'location' => 'json',
452
- 'items' => array(
453
- 'name' => 'LocalSecondaryIndex',
454
- 'type' => 'object',
455
- 'properties' => array(
456
- 'IndexName' => array(
457
- 'required' => true,
458
- 'type' => 'string',
459
- 'minLength' => 3,
460
- 'maxLength' => 255,
461
- ),
462
- 'KeySchema' => array(
463
- 'required' => true,
464
- 'type' => 'array',
465
- 'minItems' => 1,
466
- 'maxItems' => 2,
467
- 'items' => array(
468
- 'name' => 'KeySchemaElement',
469
- 'type' => 'object',
470
- 'properties' => array(
471
- 'AttributeName' => array(
472
- 'required' => true,
473
- 'type' => 'string',
474
- 'minLength' => 1,
475
- 'maxLength' => 255,
476
- ),
477
- 'KeyType' => array(
478
- 'required' => true,
479
- 'type' => 'string',
480
- ),
481
- ),
482
- ),
483
- ),
484
- 'Projection' => array(
485
- 'required' => true,
486
- 'type' => 'object',
487
- 'properties' => array(
488
- 'ProjectionType' => array(
489
- 'type' => 'string',
490
- ),
491
- 'NonKeyAttributes' => array(
492
- 'type' => 'array',
493
- 'minItems' => 1,
494
- 'maxItems' => 20,
495
- 'items' => array(
496
- 'name' => 'NonKeyAttributeName',
497
- 'type' => 'string',
498
- 'minLength' => 1,
499
- 'maxLength' => 255,
500
- ),
501
- ),
502
- ),
503
- ),
504
- ),
505
- ),
506
- ),
507
- 'GlobalSecondaryIndexes' => array(
508
- 'type' => 'array',
509
- 'location' => 'json',
510
- 'items' => array(
511
- 'name' => 'GlobalSecondaryIndex',
512
- 'type' => 'object',
513
- 'properties' => array(
514
- 'IndexName' => array(
515
- 'required' => true,
516
- 'type' => 'string',
517
- 'minLength' => 3,
518
- 'maxLength' => 255,
519
- ),
520
- 'KeySchema' => array(
521
- 'required' => true,
522
- 'type' => 'array',
523
- 'minItems' => 1,
524
- 'maxItems' => 2,
525
- 'items' => array(
526
- 'name' => 'KeySchemaElement',
527
- 'type' => 'object',
528
- 'properties' => array(
529
- 'AttributeName' => array(
530
- 'required' => true,
531
- 'type' => 'string',
532
- 'minLength' => 1,
533
- 'maxLength' => 255,
534
- ),
535
- 'KeyType' => array(
536
- 'required' => true,
537
- 'type' => 'string',
538
- ),
539
- ),
540
- ),
541
- ),
542
- 'Projection' => array(
543
- 'required' => true,
544
- 'type' => 'object',
545
- 'properties' => array(
546
- 'ProjectionType' => array(
547
- 'type' => 'string',
548
- ),
549
- 'NonKeyAttributes' => array(
550
- 'type' => 'array',
551
- 'minItems' => 1,
552
- 'maxItems' => 20,
553
- 'items' => array(
554
- 'name' => 'NonKeyAttributeName',
555
- 'type' => 'string',
556
- 'minLength' => 1,
557
- 'maxLength' => 255,
558
- ),
559
- ),
560
- ),
561
- ),
562
- 'ProvisionedThroughput' => array(
563
- 'required' => true,
564
- 'type' => 'object',
565
- 'properties' => array(
566
- 'ReadCapacityUnits' => array(
567
- 'required' => true,
568
- 'type' => 'numeric',
569
- 'minimum' => 1,
570
- ),
571
- 'WriteCapacityUnits' => array(
572
- 'required' => true,
573
- 'type' => 'numeric',
574
- 'minimum' => 1,
575
- ),
576
- ),
577
- ),
578
- ),
579
- ),
580
- ),
581
- 'ProvisionedThroughput' => array(
582
- 'required' => true,
583
- 'type' => 'object',
584
- 'location' => 'json',
585
- 'properties' => array(
586
- 'ReadCapacityUnits' => array(
587
- 'required' => true,
588
- 'type' => 'numeric',
589
- 'minimum' => 1,
590
- ),
591
- 'WriteCapacityUnits' => array(
592
- 'required' => true,
593
- 'type' => 'numeric',
594
- 'minimum' => 1,
595
- ),
596
- ),
597
- ),
598
  ),
599
- 'errorResponses' => array(
600
- array(
601
- 'reason' => 'The operation conflicts with the resource\'s availability. For example, you attempted to recreate an existing table, or tried to delete a table currently in the CREATING state.',
602
- 'class' => 'ResourceInUseException',
603
- ),
604
- array(
605
- 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. Also, for tables with secondary indexes, only one of those tables can be in the CREATING state at any point in time. Do not attempt to create more than one such table simultaneously. The total limit of tables in the ACTIVE state is 250.',
606
- 'class' => 'LimitExceededException',
607
- ),
608
- array(
609
- 'reason' => 'An error occurred on the server side.',
610
- 'class' => 'InternalServerErrorException',
611
- ),
612
  ),
613
  ),
614
  'DeleteItem' => array(
615
  'httpMethod' => 'POST',
616
  'uri' => '/',
617
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
618
- 'responseClass' => 'DeleteItemOutput',
619
  'responseType' => 'model',
620
  'parameters' => array(
621
  'Content-Type' => array(
@@ -632,212 +182,19 @@ return array (
632
  'location' => 'header',
633
  'default' => 'DynamoDB_20120810.DeleteItem',
634
  ),
635
- 'TableName' => array(
636
- 'required' => true,
637
- 'type' => 'string',
638
- 'location' => 'json',
639
- 'minLength' => 3,
640
- 'maxLength' => 255,
641
- ),
642
- 'Key' => array(
643
- 'required' => true,
644
- 'type' => 'object',
645
- 'location' => 'json',
646
- 'additionalProperties' => array(
647
- 'type' => 'object',
648
- 'data' => array(
649
- 'shape_name' => 'AttributeName',
650
- ),
651
- 'properties' => array(
652
- 'S' => array(
653
- 'type' => 'string',
654
- ),
655
- 'N' => array(
656
- 'type' => 'string',
657
- ),
658
- 'B' => array(
659
- 'type' => 'string',
660
- 'filters' => array(
661
- 'base64_encode',
662
- ),
663
- ),
664
- 'SS' => array(
665
- 'type' => 'array',
666
- 'items' => array(
667
- 'name' => 'StringAttributeValue',
668
- 'type' => 'string',
669
- ),
670
- ),
671
- 'NS' => array(
672
- 'type' => 'array',
673
- 'items' => array(
674
- 'name' => 'NumberAttributeValue',
675
- 'type' => 'string',
676
- ),
677
- ),
678
- 'BS' => array(
679
- 'type' => 'array',
680
- 'items' => array(
681
- 'name' => 'BinaryAttributeValue',
682
- 'type' => 'string',
683
- 'filters' => array(
684
- 'base64_encode',
685
- ),
686
- ),
687
- ),
688
- ),
689
- ),
690
- ),
691
- 'Expected' => array(
692
- 'type' => 'object',
693
- 'location' => 'json',
694
- 'additionalProperties' => array(
695
- 'type' => 'object',
696
- 'data' => array(
697
- 'shape_name' => 'AttributeName',
698
- ),
699
- 'properties' => array(
700
- 'Value' => array(
701
- 'type' => 'object',
702
- 'properties' => array(
703
- 'S' => array(
704
- 'type' => 'string',
705
- ),
706
- 'N' => array(
707
- 'type' => 'string',
708
- ),
709
- 'B' => array(
710
- 'type' => 'string',
711
- 'filters' => array(
712
- 'base64_encode',
713
- ),
714
- ),
715
- 'SS' => array(
716
- 'type' => 'array',
717
- 'items' => array(
718
- 'name' => 'StringAttributeValue',
719
- 'type' => 'string',
720
- ),
721
- ),
722
- 'NS' => array(
723
- 'type' => 'array',
724
- 'items' => array(
725
- 'name' => 'NumberAttributeValue',
726
- 'type' => 'string',
727
- ),
728
- ),
729
- 'BS' => array(
730
- 'type' => 'array',
731
- 'items' => array(
732
- 'name' => 'BinaryAttributeValue',
733
- 'type' => 'string',
734
- 'filters' => array(
735
- 'base64_encode',
736
- ),
737
- ),
738
- ),
739
- ),
740
- ),
741
- 'Exists' => array(
742
- 'type' => 'boolean',
743
- 'format' => 'boolean-string',
744
- ),
745
- 'ComparisonOperator' => array(
746
- 'type' => 'string',
747
- ),
748
- 'AttributeValueList' => array(
749
- 'type' => 'array',
750
- 'items' => array(
751
- 'name' => 'AttributeValue',
752
- 'type' => 'object',
753
- 'properties' => array(
754
- 'S' => array(
755
- 'type' => 'string',
756
- ),
757
- 'N' => array(
758
- 'type' => 'string',
759
- ),
760
- 'B' => array(
761
- 'type' => 'string',
762
- 'filters' => array(
763
- 'base64_encode',
764
- ),
765
- ),
766
- 'SS' => array(
767
- 'type' => 'array',
768
- 'items' => array(
769
- 'name' => 'StringAttributeValue',
770
- 'type' => 'string',
771
- ),
772
- ),
773
- 'NS' => array(
774
- 'type' => 'array',
775
- 'items' => array(
776
- 'name' => 'NumberAttributeValue',
777
- 'type' => 'string',
778
- ),
779
- ),
780
- 'BS' => array(
781
- 'type' => 'array',
782
- 'items' => array(
783
- 'name' => 'BinaryAttributeValue',
784
- 'type' => 'string',
785
- 'filters' => array(
786
- 'base64_encode',
787
- ),
788
- ),
789
- ),
790
- ),
791
- ),
792
- ),
793
- ),
794
- ),
795
- ),
796
- 'ConditionalOperator' => array(
797
- 'type' => 'string',
798
- 'location' => 'json',
799
- ),
800
- 'ReturnValues' => array(
801
- 'type' => 'string',
802
- 'location' => 'json',
803
- ),
804
- 'ReturnConsumedCapacity' => array(
805
- 'type' => 'string',
806
- 'location' => 'json',
807
- ),
808
- 'ReturnItemCollectionMetrics' => array(
809
- 'type' => 'string',
810
- 'location' => 'json',
811
- ),
812
  ),
813
- 'errorResponses' => array(
814
- array(
815
- 'reason' => 'A condition specified in the operation could not be evaluated.',
816
- 'class' => 'ConditionalCheckFailedException',
817
- ),
818
- array(
819
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
820
- 'class' => 'ProvisionedThroughputExceededException',
821
- ),
822
- array(
823
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
824
- 'class' => 'ResourceNotFoundException',
825
- ),
826
- array(
827
- 'reason' => 'An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.',
828
- 'class' => 'ItemCollectionSizeLimitExceededException',
829
- ),
830
- array(
831
- 'reason' => 'An error occurred on the server side.',
832
- 'class' => 'InternalServerErrorException',
833
  ),
834
  ),
835
  ),
836
  'DeleteTable' => array(
837
  'httpMethod' => 'POST',
838
  'uri' => '/',
839
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
840
- 'responseClass' => 'DeleteTableOutput',
841
  'responseType' => 'model',
842
  'parameters' => array(
843
  'Content-Type' => array(
@@ -854,38 +211,16 @@ return array (
854
  'location' => 'header',
855
  'default' => 'DynamoDB_20120810.DeleteTable',
856
  ),
857
- 'TableName' => array(
858
- 'required' => true,
859
- 'type' => 'string',
860
- 'location' => 'json',
861
- 'minLength' => 3,
862
- 'maxLength' => 255,
863
- ),
864
  ),
865
- 'errorResponses' => array(
866
- array(
867
- 'reason' => 'The operation conflicts with the resource\'s availability. For example, you attempted to recreate an existing table, or tried to delete a table currently in the CREATING state.',
868
- 'class' => 'ResourceInUseException',
869
- ),
870
- array(
871
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
872
- 'class' => 'ResourceNotFoundException',
873
- ),
874
- array(
875
- 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. Also, for tables with secondary indexes, only one of those tables can be in the CREATING state at any point in time. Do not attempt to create more than one such table simultaneously. The total limit of tables in the ACTIVE state is 250.',
876
- 'class' => 'LimitExceededException',
877
- ),
878
- array(
879
- 'reason' => 'An error occurred on the server side.',
880
- 'class' => 'InternalServerErrorException',
881
- ),
882
  ),
883
  ),
884
  'DescribeTable' => array(
885
  'httpMethod' => 'POST',
886
  'uri' => '/',
887
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
888
- 'responseClass' => 'DescribeTableOutput',
889
  'responseType' => 'model',
890
  'parameters' => array(
891
  'Content-Type' => array(
@@ -902,30 +237,16 @@ return array (
902
  'location' => 'header',
903
  'default' => 'DynamoDB_20120810.DescribeTable',
904
  ),
905
- 'TableName' => array(
906
- 'required' => true,
907
- 'type' => 'string',
908
- 'location' => 'json',
909
- 'minLength' => 3,
910
- 'maxLength' => 255,
911
- ),
912
  ),
913
- 'errorResponses' => array(
914
- array(
915
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
916
- 'class' => 'ResourceNotFoundException',
917
- ),
918
- array(
919
- 'reason' => 'An error occurred on the server side.',
920
- 'class' => 'InternalServerErrorException',
921
- ),
922
  ),
923
  ),
924
  'GetItem' => array(
925
  'httpMethod' => 'POST',
926
  'uri' => '/',
927
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
928
- 'responseClass' => 'GetItemOutput',
929
  'responseType' => 'model',
930
  'parameters' => array(
931
  'Content-Type' => array(
@@ -942,102 +263,19 @@ return array (
942
  'location' => 'header',
943
  'default' => 'DynamoDB_20120810.GetItem',
944
  ),
945
- 'TableName' => array(
946
- 'required' => true,
947
- 'type' => 'string',
948
- 'location' => 'json',
949
- 'minLength' => 3,
950
- 'maxLength' => 255,
951
- ),
952
- 'Key' => array(
953
- 'required' => true,
954
- 'type' => 'object',
955
- 'location' => 'json',
956
- 'additionalProperties' => array(
957
- 'type' => 'object',
958
- 'data' => array(
959
- 'shape_name' => 'AttributeName',
960
- ),
961
- 'properties' => array(
962
- 'S' => array(
963
- 'type' => 'string',
964
- ),
965
- 'N' => array(
966
- 'type' => 'string',
967
- ),
968
- 'B' => array(
969
- 'type' => 'string',
970
- 'filters' => array(
971
- 'base64_encode',
972
- ),
973
- ),
974
- 'SS' => array(
975
- 'type' => 'array',
976
- 'items' => array(
977
- 'name' => 'StringAttributeValue',
978
- 'type' => 'string',
979
- ),
980
- ),
981
- 'NS' => array(
982
- 'type' => 'array',
983
- 'items' => array(
984
- 'name' => 'NumberAttributeValue',
985
- 'type' => 'string',
986
- ),
987
- ),
988
- 'BS' => array(
989
- 'type' => 'array',
990
- 'items' => array(
991
- 'name' => 'BinaryAttributeValue',
992
- 'type' => 'string',
993
- 'filters' => array(
994
- 'base64_encode',
995
- ),
996
- ),
997
- ),
998
- ),
999
- ),
1000
- ),
1001
- 'AttributesToGet' => array(
1002
- 'type' => 'array',
1003
- 'location' => 'json',
1004
- 'minItems' => 1,
1005
- 'items' => array(
1006
- 'name' => 'AttributeName',
1007
- 'type' => 'string',
1008
- 'maxLength' => 65535,
1009
- ),
1010
- ),
1011
- 'ConsistentRead' => array(
1012
- 'type' => 'boolean',
1013
- 'format' => 'boolean-string',
1014
- 'location' => 'json',
1015
- ),
1016
- 'ReturnConsumedCapacity' => array(
1017
- 'type' => 'string',
1018
- 'location' => 'json',
1019
- ),
1020
  ),
1021
- 'errorResponses' => array(
1022
- array(
1023
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
1024
- 'class' => 'ProvisionedThroughputExceededException',
1025
- ),
1026
- array(
1027
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
1028
- 'class' => 'ResourceNotFoundException',
1029
- ),
1030
- array(
1031
- 'reason' => 'An error occurred on the server side.',
1032
- 'class' => 'InternalServerErrorException',
1033
  ),
1034
  ),
1035
  ),
1036
  'ListTables' => array(
1037
  'httpMethod' => 'POST',
1038
  'uri' => '/',
1039
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
1040
- 'responseClass' => 'ListTablesOutput',
1041
  'responseType' => 'model',
1042
  'parameters' => array(
1043
  'Content-Type' => array(
@@ -1054,31 +292,16 @@ return array (
1054
  'location' => 'header',
1055
  'default' => 'DynamoDB_20120810.ListTables',
1056
  ),
1057
- 'ExclusiveStartTableName' => array(
1058
- 'type' => 'string',
1059
- 'location' => 'json',
1060
- 'minLength' => 3,
1061
- 'maxLength' => 255,
1062
- ),
1063
- 'Limit' => array(
1064
- 'type' => 'numeric',
1065
- 'location' => 'json',
1066
- 'minimum' => 1,
1067
- 'maximum' => 100,
1068
- ),
1069
  ),
1070
- 'errorResponses' => array(
1071
- array(
1072
- 'reason' => 'An error occurred on the server side.',
1073
- 'class' => 'InternalServerErrorException',
1074
- ),
1075
  ),
1076
  ),
1077
  'PutItem' => array(
1078
  'httpMethod' => 'POST',
1079
  'uri' => '/',
1080
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
1081
- 'responseClass' => 'PutItemOutput',
1082
  'responseType' => 'model',
1083
  'parameters' => array(
1084
  'Content-Type' => array(
@@ -1095,212 +318,19 @@ return array (
1095
  'location' => 'header',
1096
  'default' => 'DynamoDB_20120810.PutItem',
1097
  ),
1098
- 'TableName' => array(
1099
- 'required' => true,
1100
- 'type' => 'string',
1101
- 'location' => 'json',
1102
- 'minLength' => 3,
1103
- 'maxLength' => 255,
1104
- ),
1105
- 'Item' => array(
1106
- 'required' => true,
1107
- 'type' => 'object',
1108
- 'location' => 'json',
1109
- 'additionalProperties' => array(
1110
- 'type' => 'object',
1111
- 'data' => array(
1112
- 'shape_name' => 'AttributeName',
1113
- ),
1114
- 'properties' => array(
1115
- 'S' => array(
1116
- 'type' => 'string',
1117
- ),
1118
- 'N' => array(
1119
- 'type' => 'string',
1120
- ),
1121
- 'B' => array(
1122
- 'type' => 'string',
1123
- 'filters' => array(
1124
- 'base64_encode',
1125
- ),
1126
- ),
1127
- 'SS' => array(
1128
- 'type' => 'array',
1129
- 'items' => array(
1130
- 'name' => 'StringAttributeValue',
1131
- 'type' => 'string',
1132
- ),
1133
- ),
1134
- 'NS' => array(
1135
- 'type' => 'array',
1136
- 'items' => array(
1137
- 'name' => 'NumberAttributeValue',
1138
- 'type' => 'string',
1139
- ),
1140
- ),
1141
- 'BS' => array(
1142
- 'type' => 'array',
1143
- 'items' => array(
1144
- 'name' => 'BinaryAttributeValue',
1145
- 'type' => 'string',
1146
- 'filters' => array(
1147
- 'base64_encode',
1148
- ),
1149
- ),
1150
- ),
1151
- ),
1152
- ),
1153
- ),
1154
- 'Expected' => array(
1155
- 'type' => 'object',
1156
- 'location' => 'json',
1157
- 'additionalProperties' => array(
1158
- 'type' => 'object',
1159
- 'data' => array(
1160
- 'shape_name' => 'AttributeName',
1161
- ),
1162
- 'properties' => array(
1163
- 'Value' => array(
1164
- 'type' => 'object',
1165
- 'properties' => array(
1166
- 'S' => array(
1167
- 'type' => 'string',
1168
- ),
1169
- 'N' => array(
1170
- 'type' => 'string',
1171
- ),
1172
- 'B' => array(
1173
- 'type' => 'string',
1174
- 'filters' => array(
1175
- 'base64_encode',
1176
- ),
1177
- ),
1178
- 'SS' => array(
1179
- 'type' => 'array',
1180
- 'items' => array(
1181
- 'name' => 'StringAttributeValue',
1182
- 'type' => 'string',
1183
- ),
1184
- ),
1185
- 'NS' => array(
1186
- 'type' => 'array',
1187
- 'items' => array(
1188
- 'name' => 'NumberAttributeValue',
1189
- 'type' => 'string',
1190
- ),
1191
- ),
1192
- 'BS' => array(
1193
- 'type' => 'array',
1194
- 'items' => array(
1195
- 'name' => 'BinaryAttributeValue',
1196
- 'type' => 'string',
1197
- 'filters' => array(
1198
- 'base64_encode',
1199
- ),
1200
- ),
1201
- ),
1202
- ),
1203
- ),
1204
- 'Exists' => array(
1205
- 'type' => 'boolean',
1206
- 'format' => 'boolean-string',
1207
- ),
1208
- 'ComparisonOperator' => array(
1209
- 'type' => 'string',
1210
- ),
1211
- 'AttributeValueList' => array(
1212
- 'type' => 'array',
1213
- 'items' => array(
1214
- 'name' => 'AttributeValue',
1215
- 'type' => 'object',
1216
- 'properties' => array(
1217
- 'S' => array(
1218
- 'type' => 'string',
1219
- ),
1220
- 'N' => array(
1221
- 'type' => 'string',
1222
- ),
1223
- 'B' => array(
1224
- 'type' => 'string',
1225
- 'filters' => array(
1226
- 'base64_encode',
1227
- ),
1228
- ),
1229
- 'SS' => array(
1230
- 'type' => 'array',
1231
- 'items' => array(
1232
- 'name' => 'StringAttributeValue',
1233
- 'type' => 'string',
1234
- ),
1235
- ),
1236
- 'NS' => array(
1237
- 'type' => 'array',
1238
- 'items' => array(
1239
- 'name' => 'NumberAttributeValue',
1240
- 'type' => 'string',
1241
- ),
1242
- ),
1243
- 'BS' => array(
1244
- 'type' => 'array',
1245
- 'items' => array(
1246
- 'name' => 'BinaryAttributeValue',
1247
- 'type' => 'string',
1248
- 'filters' => array(
1249
- 'base64_encode',
1250
- ),
1251
- ),
1252
- ),
1253
- ),
1254
- ),
1255
- ),
1256
- ),
1257
- ),
1258
- ),
1259
- 'ReturnValues' => array(
1260
- 'type' => 'string',
1261
- 'location' => 'json',
1262
- ),
1263
- 'ReturnConsumedCapacity' => array(
1264
- 'type' => 'string',
1265
- 'location' => 'json',
1266
- ),
1267
- 'ReturnItemCollectionMetrics' => array(
1268
- 'type' => 'string',
1269
- 'location' => 'json',
1270
- ),
1271
- 'ConditionalOperator' => array(
1272
- 'type' => 'string',
1273
- 'location' => 'json',
1274
- ),
1275
  ),
1276
- 'errorResponses' => array(
1277
- array(
1278
- 'reason' => 'A condition specified in the operation could not be evaluated.',
1279
- 'class' => 'ConditionalCheckFailedException',
1280
- ),
1281
- array(
1282
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
1283
- 'class' => 'ProvisionedThroughputExceededException',
1284
- ),
1285
- array(
1286
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
1287
- 'class' => 'ResourceNotFoundException',
1288
- ),
1289
- array(
1290
- 'reason' => 'An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.',
1291
- 'class' => 'ItemCollectionSizeLimitExceededException',
1292
- ),
1293
- array(
1294
- 'reason' => 'An error occurred on the server side.',
1295
- 'class' => 'InternalServerErrorException',
1296
  ),
1297
  ),
1298
  ),
1299
  'Query' => array(
1300
  'httpMethod' => 'POST',
1301
  'uri' => '/',
1302
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
1303
- 'responseClass' => 'QueryOutput',
1304
  'responseType' => 'model',
1305
  'parameters' => array(
1306
  'Content-Type' => array(
@@ -1317,248 +347,19 @@ return array (
1317
  'location' => 'header',
1318
  'default' => 'DynamoDB_20120810.Query',
1319
  ),
1320
- 'TableName' => array(
1321
- 'required' => true,
1322
- 'type' => 'string',
1323
- 'location' => 'json',
1324
- 'minLength' => 3,
1325
- 'maxLength' => 255,
1326
- ),
1327
- 'IndexName' => array(
1328
- 'type' => 'string',
1329
- 'location' => 'json',
1330
- 'minLength' => 3,
1331
- 'maxLength' => 255,
1332
- ),
1333
- 'Select' => array(
1334
- 'type' => 'string',
1335
- 'location' => 'json',
1336
- ),
1337
- 'AttributesToGet' => array(
1338
- 'type' => 'array',
1339
- 'location' => 'json',
1340
- 'minItems' => 1,
1341
- 'items' => array(
1342
- 'name' => 'AttributeName',
1343
- 'type' => 'string',
1344
- 'maxLength' => 65535,
1345
- ),
1346
- ),
1347
- 'Limit' => array(
1348
- 'type' => 'numeric',
1349
- 'location' => 'json',
1350
- 'minimum' => 1,
1351
- ),
1352
- 'ConsistentRead' => array(
1353
- 'type' => 'boolean',
1354
- 'format' => 'boolean-string',
1355
- 'location' => 'json',
1356
- ),
1357
- 'KeyConditions' => array(
1358
- 'required' => true,
1359
- 'type' => 'object',
1360
- 'location' => 'json',
1361
- 'additionalProperties' => array(
1362
- 'type' => 'object',
1363
- 'data' => array(
1364
- 'shape_name' => 'AttributeName',
1365
- ),
1366
- 'properties' => array(
1367
- 'AttributeValueList' => array(
1368
- 'type' => 'array',
1369
- 'items' => array(
1370
- 'name' => 'AttributeValue',
1371
- 'type' => 'object',
1372
- 'properties' => array(
1373
- 'S' => array(
1374
- 'type' => 'string',
1375
- ),
1376
- 'N' => array(
1377
- 'type' => 'string',
1378
- ),
1379
- 'B' => array(
1380
- 'type' => 'string',
1381
- 'filters' => array(
1382
- 'base64_encode',
1383
- ),
1384
- ),
1385
- 'SS' => array(
1386
- 'type' => 'array',
1387
- 'items' => array(
1388
- 'name' => 'StringAttributeValue',
1389
- 'type' => 'string',
1390
- ),
1391
- ),
1392
- 'NS' => array(
1393
- 'type' => 'array',
1394
- 'items' => array(
1395
- 'name' => 'NumberAttributeValue',
1396
- 'type' => 'string',
1397
- ),
1398
- ),
1399
- 'BS' => array(
1400
- 'type' => 'array',
1401
- 'items' => array(
1402
- 'name' => 'BinaryAttributeValue',
1403
- 'type' => 'string',
1404
- 'filters' => array(
1405
- 'base64_encode',
1406
- ),
1407
- ),
1408
- ),
1409
- ),
1410
- ),
1411
- ),
1412
- 'ComparisonOperator' => array(
1413
- 'required' => true,
1414
- 'type' => 'string',
1415
- ),
1416
- ),
1417
- ),
1418
- ),
1419
- 'QueryFilter' => array(
1420
- 'type' => 'object',
1421
- 'location' => 'json',
1422
- 'additionalProperties' => array(
1423
- 'type' => 'object',
1424
- 'data' => array(
1425
- 'shape_name' => 'AttributeName',
1426
- ),
1427
- 'properties' => array(
1428
- 'AttributeValueList' => array(
1429
- 'type' => 'array',
1430
- 'items' => array(
1431
- 'name' => 'AttributeValue',
1432
- 'type' => 'object',
1433
- 'properties' => array(
1434
- 'S' => array(
1435
- 'type' => 'string',
1436
- ),
1437
- 'N' => array(
1438
- 'type' => 'string',
1439
- ),
1440
- 'B' => array(
1441
- 'type' => 'string',
1442
- 'filters' => array(
1443
- 'base64_encode',
1444
- ),
1445
- ),
1446
- 'SS' => array(
1447
- 'type' => 'array',
1448
- 'items' => array(
1449
- 'name' => 'StringAttributeValue',
1450
- 'type' => 'string',
1451
- ),
1452
- ),
1453
- 'NS' => array(
1454
- 'type' => 'array',
1455
- 'items' => array(
1456
- 'name' => 'NumberAttributeValue',
1457
- 'type' => 'string',
1458
- ),
1459
- ),
1460
- 'BS' => array(
1461
- 'type' => 'array',
1462
- 'items' => array(
1463
- 'name' => 'BinaryAttributeValue',
1464
- 'type' => 'string',
1465
- 'filters' => array(
1466
- 'base64_encode',
1467
- ),
1468
- ),
1469
- ),
1470
- ),
1471
- ),
1472
- ),
1473
- 'ComparisonOperator' => array(
1474
- 'required' => true,
1475
- 'type' => 'string',
1476
- ),
1477
- ),
1478
- ),
1479
- ),
1480
- 'ConditionalOperator' => array(
1481
- 'type' => 'string',
1482
- 'location' => 'json',
1483
- ),
1484
- 'ScanIndexForward' => array(
1485
- 'type' => 'boolean',
1486
- 'format' => 'boolean-string',
1487
- 'location' => 'json',
1488
- ),
1489
- 'ExclusiveStartKey' => array(
1490
- 'type' => 'object',
1491
- 'location' => 'json',
1492
- 'additionalProperties' => array(
1493
- 'type' => 'object',
1494
- 'data' => array(
1495
- 'shape_name' => 'AttributeName',
1496
- ),
1497
- 'properties' => array(
1498
- 'S' => array(
1499
- 'type' => 'string',
1500
- ),
1501
- 'N' => array(
1502
- 'type' => 'string',
1503
- ),
1504
- 'B' => array(
1505
- 'type' => 'string',
1506
- 'filters' => array(
1507
- 'base64_encode',
1508
- ),
1509
- ),
1510
- 'SS' => array(
1511
- 'type' => 'array',
1512
- 'items' => array(
1513
- 'name' => 'StringAttributeValue',
1514
- 'type' => 'string',
1515
- ),
1516
- ),
1517
- 'NS' => array(
1518
- 'type' => 'array',
1519
- 'items' => array(
1520
- 'name' => 'NumberAttributeValue',
1521
- 'type' => 'string',
1522
- ),
1523
- ),
1524
- 'BS' => array(
1525
- 'type' => 'array',
1526
- 'items' => array(
1527
- 'name' => 'BinaryAttributeValue',
1528
- 'type' => 'string',
1529
- 'filters' => array(
1530
- 'base64_encode',
1531
- ),
1532
- ),
1533
- ),
1534
- ),
1535
- ),
1536
- ),
1537
- 'ReturnConsumedCapacity' => array(
1538
- 'type' => 'string',
1539
- 'location' => 'json',
1540
- ),
1541
  ),
1542
- 'errorResponses' => array(
1543
- array(
1544
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
1545
- 'class' => 'ProvisionedThroughputExceededException',
1546
- ),
1547
- array(
1548
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
1549
- 'class' => 'ResourceNotFoundException',
1550
- ),
1551
- array(
1552
- 'reason' => 'An error occurred on the server side.',
1553
- 'class' => 'InternalServerErrorException',
1554
  ),
1555
  ),
1556
  ),
1557
  'Scan' => array(
1558
  'httpMethod' => 'POST',
1559
  'uri' => '/',
1560
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
1561
- 'responseClass' => 'ScanOutput',
1562
  'responseType' => 'model',
1563
  'parameters' => array(
1564
  'Content-Type' => array(
@@ -1575,181 +376,19 @@ return array (
1575
  'location' => 'header',
1576
  'default' => 'DynamoDB_20120810.Scan',
1577
  ),
1578
- 'TableName' => array(
1579
- 'required' => true,
1580
- 'type' => 'string',
1581
- 'location' => 'json',
1582
- 'minLength' => 3,
1583
- 'maxLength' => 255,
1584
- ),
1585
- 'AttributesToGet' => array(
1586
- 'type' => 'array',
1587
- 'location' => 'json',
1588
- 'minItems' => 1,
1589
- 'items' => array(
1590
- 'name' => 'AttributeName',
1591
- 'type' => 'string',
1592
- 'maxLength' => 65535,
1593
- ),
1594
- ),
1595
- 'Limit' => array(
1596
- 'type' => 'numeric',
1597
- 'location' => 'json',
1598
- 'minimum' => 1,
1599
- ),
1600
- 'Select' => array(
1601
- 'type' => 'string',
1602
- 'location' => 'json',
1603
- ),
1604
- 'ScanFilter' => array(
1605
- 'type' => 'object',
1606
- 'location' => 'json',
1607
- 'additionalProperties' => array(
1608
- 'type' => 'object',
1609
- 'data' => array(
1610
- 'shape_name' => 'AttributeName',
1611
- ),
1612
- 'properties' => array(
1613
- 'AttributeValueList' => array(
1614
- 'type' => 'array',
1615
- 'items' => array(
1616
- 'name' => 'AttributeValue',
1617
- 'type' => 'object',
1618
- 'properties' => array(
1619
- 'S' => array(
1620
- 'type' => 'string',
1621
- ),
1622
- 'N' => array(
1623
- 'type' => 'string',
1624
- ),
1625
- 'B' => array(
1626
- 'type' => 'string',
1627
- 'filters' => array(
1628
- 'base64_encode',
1629
- ),
1630
- ),
1631
- 'SS' => array(
1632
- 'type' => 'array',
1633
- 'items' => array(
1634
- 'name' => 'StringAttributeValue',
1635
- 'type' => 'string',
1636
- ),
1637
- ),
1638
- 'NS' => array(
1639
- 'type' => 'array',
1640
- 'items' => array(
1641
- 'name' => 'NumberAttributeValue',
1642
- 'type' => 'string',
1643
- ),
1644
- ),
1645
- 'BS' => array(
1646
- 'type' => 'array',
1647
- 'items' => array(
1648
- 'name' => 'BinaryAttributeValue',
1649
- 'type' => 'string',
1650
- 'filters' => array(
1651
- 'base64_encode',
1652
- ),
1653
- ),
1654
- ),
1655
- ),
1656
- ),
1657
- ),
1658
- 'ComparisonOperator' => array(
1659
- 'required' => true,
1660
- 'type' => 'string',
1661
- ),
1662
- ),
1663
- ),
1664
- ),
1665
- 'ConditionalOperator' => array(
1666
- 'type' => 'string',
1667
- 'location' => 'json',
1668
- ),
1669
- 'ExclusiveStartKey' => array(
1670
- 'type' => 'object',
1671
- 'location' => 'json',
1672
- 'additionalProperties' => array(
1673
- 'type' => 'object',
1674
- 'data' => array(
1675
- 'shape_name' => 'AttributeName',
1676
- ),
1677
- 'properties' => array(
1678
- 'S' => array(
1679
- 'type' => 'string',
1680
- ),
1681
- 'N' => array(
1682
- 'type' => 'string',
1683
- ),
1684
- 'B' => array(
1685
- 'type' => 'string',
1686
- 'filters' => array(
1687
- 'base64_encode',
1688
- ),
1689
- ),
1690
- 'SS' => array(
1691
- 'type' => 'array',
1692
- 'items' => array(
1693
- 'name' => 'StringAttributeValue',
1694
- 'type' => 'string',
1695
- ),
1696
- ),
1697
- 'NS' => array(
1698
- 'type' => 'array',
1699
- 'items' => array(
1700
- 'name' => 'NumberAttributeValue',
1701
- 'type' => 'string',
1702
- ),
1703
- ),
1704
- 'BS' => array(
1705
- 'type' => 'array',
1706
- 'items' => array(
1707
- 'name' => 'BinaryAttributeValue',
1708
- 'type' => 'string',
1709
- 'filters' => array(
1710
- 'base64_encode',
1711
- ),
1712
- ),
1713
- ),
1714
- ),
1715
- ),
1716
- ),
1717
- 'ReturnConsumedCapacity' => array(
1718
- 'type' => 'string',
1719
- 'location' => 'json',
1720
- ),
1721
- 'TotalSegments' => array(
1722
- 'type' => 'numeric',
1723
- 'location' => 'json',
1724
- 'minimum' => 1,
1725
- 'maximum' => 1000000,
1726
- ),
1727
- 'Segment' => array(
1728
- 'type' => 'numeric',
1729
- 'location' => 'json',
1730
- 'maximum' => 999999,
1731
- ),
1732
  ),
1733
- 'errorResponses' => array(
1734
- array(
1735
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
1736
- 'class' => 'ProvisionedThroughputExceededException',
1737
- ),
1738
- array(
1739
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
1740
- 'class' => 'ResourceNotFoundException',
1741
- ),
1742
- array(
1743
- 'reason' => 'An error occurred on the server side.',
1744
- 'class' => 'InternalServerErrorException',
1745
  ),
1746
  ),
1747
  ),
1748
  'UpdateItem' => array(
1749
  'httpMethod' => 'POST',
1750
  'uri' => '/',
1751
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
1752
- 'responseClass' => 'UpdateItemOutput',
1753
  'responseType' => 'model',
1754
  'parameters' => array(
1755
  'Content-Type' => array(
@@ -1766,268 +405,19 @@ return array (
1766
  'location' => 'header',
1767
  'default' => 'DynamoDB_20120810.UpdateItem',
1768
  ),
1769
- 'TableName' => array(
1770
- 'required' => true,
1771
- 'type' => 'string',
1772
- 'location' => 'json',
1773
- 'minLength' => 3,
1774
- 'maxLength' => 255,
1775
- ),
1776
- 'Key' => array(
1777
- 'required' => true,
1778
- 'type' => 'object',
1779
- 'location' => 'json',
1780
- 'additionalProperties' => array(
1781
- 'type' => 'object',
1782
- 'data' => array(
1783
- 'shape_name' => 'AttributeName',
1784
- ),
1785
- 'properties' => array(
1786
- 'S' => array(
1787
- 'type' => 'string',
1788
- ),
1789
- 'N' => array(
1790
- 'type' => 'string',
1791
- ),
1792
- 'B' => array(
1793
- 'type' => 'string',
1794
- 'filters' => array(
1795
- 'base64_encode',
1796
- ),
1797
- ),
1798
- 'SS' => array(
1799
- 'type' => 'array',
1800
- 'items' => array(
1801
- 'name' => 'StringAttributeValue',
1802
- 'type' => 'string',
1803
- ),
1804
- ),
1805
- 'NS' => array(
1806
- 'type' => 'array',
1807
- 'items' => array(
1808
- 'name' => 'NumberAttributeValue',
1809
- 'type' => 'string',
1810
- ),
1811
- ),
1812
- 'BS' => array(
1813
- 'type' => 'array',
1814
- 'items' => array(
1815
- 'name' => 'BinaryAttributeValue',
1816
- 'type' => 'string',
1817
- 'filters' => array(
1818
- 'base64_encode',
1819
- ),
1820
- ),
1821
- ),
1822
- ),
1823
- ),
1824
- ),
1825
- 'AttributeUpdates' => array(
1826
- 'type' => 'object',
1827
- 'location' => 'json',
1828
- 'additionalProperties' => array(
1829
- 'type' => 'object',
1830
- 'data' => array(
1831
- 'shape_name' => 'AttributeName',
1832
- ),
1833
- 'properties' => array(
1834
- 'Value' => array(
1835
- 'type' => 'object',
1836
- 'properties' => array(
1837
- 'S' => array(
1838
- 'type' => 'string',
1839
- ),
1840
- 'N' => array(
1841
- 'type' => 'string',
1842
- ),
1843
- 'B' => array(
1844
- 'type' => 'string',
1845
- 'filters' => array(
1846
- 'base64_encode',
1847
- ),
1848
- ),
1849
- 'SS' => array(
1850
- 'type' => 'array',
1851
- 'items' => array(
1852
- 'name' => 'StringAttributeValue',
1853
- 'type' => 'string',
1854
- ),
1855
- ),
1856
- 'NS' => array(
1857
- 'type' => 'array',
1858
- 'items' => array(
1859
- 'name' => 'NumberAttributeValue',
1860
- 'type' => 'string',
1861
- ),
1862
- ),
1863
- 'BS' => array(
1864
- 'type' => 'array',
1865
- 'items' => array(
1866
- 'name' => 'BinaryAttributeValue',
1867
- 'type' => 'string',
1868
- 'filters' => array(
1869
- 'base64_encode',
1870
- ),
1871
- ),
1872
- ),
1873
- ),
1874
- ),
1875
- 'Action' => array(
1876
- 'type' => 'string',
1877
- ),
1878
- ),
1879
- ),
1880
- ),
1881
- 'Expected' => array(
1882
- 'type' => 'object',
1883
- 'location' => 'json',
1884
- 'additionalProperties' => array(
1885
- 'type' => 'object',
1886
- 'data' => array(
1887
- 'shape_name' => 'AttributeName',
1888
- ),
1889
- 'properties' => array(
1890
- 'Value' => array(
1891
- 'type' => 'object',
1892
- 'properties' => array(
1893
- 'S' => array(
1894
- 'type' => 'string',
1895
- ),
1896
- 'N' => array(
1897
- 'type' => 'string',
1898
- ),
1899
- 'B' => array(
1900
- 'type' => 'string',
1901
- 'filters' => array(
1902
- 'base64_encode',
1903
- ),
1904
- ),
1905
- 'SS' => array(
1906
- 'type' => 'array',
1907
- 'items' => array(
1908
- 'name' => 'StringAttributeValue',
1909
- 'type' => 'string',
1910
- ),
1911
- ),
1912
- 'NS' => array(
1913
- 'type' => 'array',
1914
- 'items' => array(
1915
- 'name' => 'NumberAttributeValue',
1916
- 'type' => 'string',
1917
- ),
1918
- ),
1919
- 'BS' => array(
1920
- 'type' => 'array',
1921
- 'items' => array(
1922
- 'name' => 'BinaryAttributeValue',
1923
- 'type' => 'string',
1924
- 'filters' => array(
1925
- 'base64_encode',
1926
- ),
1927
- ),
1928
- ),
1929
- ),
1930
- ),
1931
- 'Exists' => array(
1932
- 'type' => 'boolean',
1933
- 'format' => 'boolean-string',
1934
- ),
1935
- 'ComparisonOperator' => array(
1936
- 'type' => 'string',
1937
- ),
1938
- 'AttributeValueList' => array(
1939
- 'type' => 'array',
1940
- 'items' => array(
1941
- 'name' => 'AttributeValue',
1942
- 'type' => 'object',
1943
- 'properties' => array(
1944
- 'S' => array(
1945
- 'type' => 'string',
1946
- ),
1947
- 'N' => array(
1948
- 'type' => 'string',
1949
- ),
1950
- 'B' => array(
1951
- 'type' => 'string',
1952
- 'filters' => array(
1953
- 'base64_encode',
1954
- ),
1955
- ),
1956
- 'SS' => array(
1957
- 'type' => 'array',
1958
- 'items' => array(
1959
- 'name' => 'StringAttributeValue',
1960
- 'type' => 'string',
1961
- ),
1962
- ),
1963
- 'NS' => array(
1964
- 'type' => 'array',
1965
- 'items' => array(
1966
- 'name' => 'NumberAttributeValue',
1967
- 'type' => 'string',
1968
- ),
1969
- ),
1970
- 'BS' => array(
1971
- 'type' => 'array',
1972
- 'items' => array(
1973
- 'name' => 'BinaryAttributeValue',
1974
- 'type' => 'string',
1975
- 'filters' => array(
1976
- 'base64_encode',
1977
- ),
1978
- ),
1979
- ),
1980
- ),
1981
- ),
1982
- ),
1983
- ),
1984
- ),
1985
- ),
1986
- 'ConditionalOperator' => array(
1987
- 'type' => 'string',
1988
- 'location' => 'json',
1989
- ),
1990
- 'ReturnValues' => array(
1991
- 'type' => 'string',
1992
- 'location' => 'json',
1993
- ),
1994
- 'ReturnConsumedCapacity' => array(
1995
- 'type' => 'string',
1996
- 'location' => 'json',
1997
- ),
1998
- 'ReturnItemCollectionMetrics' => array(
1999
- 'type' => 'string',
2000
- 'location' => 'json',
2001
- ),
2002
  ),
2003
- 'errorResponses' => array(
2004
- array(
2005
- 'reason' => 'A condition specified in the operation could not be evaluated.',
2006
- 'class' => 'ConditionalCheckFailedException',
2007
- ),
2008
- array(
2009
- 'reason' => 'The request rate is too high, or the request is too large, for the available throughput to accommodate. The AWS SDKs automatically retry requests that receive this exception; therefore, your request will eventually succeed, unless the request is too large or your retry queue is too large to finish. Reduce the frequency of requests by using the strategies listed in Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.',
2010
- 'class' => 'ProvisionedThroughputExceededException',
2011
- ),
2012
- array(
2013
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
2014
- 'class' => 'ResourceNotFoundException',
2015
- ),
2016
- array(
2017
- 'reason' => 'An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.',
2018
- 'class' => 'ItemCollectionSizeLimitExceededException',
2019
- ),
2020
- array(
2021
- 'reason' => 'An error occurred on the server side.',
2022
- 'class' => 'InternalServerErrorException',
2023
  ),
2024
  ),
2025
  ),
2026
  'UpdateTable' => array(
2027
  'httpMethod' => 'POST',
2028
  'uri' => '/',
2029
- 'class' => 'Aws\\Common\\Command\\JsonCommand',
2030
- 'responseClass' => 'UpdateTableOutput',
2031
  'responseType' => 'model',
2032
  'parameters' => array(
2033
  'Content-Type' => array(
@@ -2044,2130 +434,18 @@ return array (
2044
  'location' => 'header',
2045
  'default' => 'DynamoDB_20120810.UpdateTable',
2046
  ),
2047
- 'TableName' => array(
2048
- 'required' => true,
2049
- 'type' => 'string',
2050
- 'location' => 'json',
2051
- 'minLength' => 3,
2052
- 'maxLength' => 255,
2053
- ),
2054
- 'ProvisionedThroughput' => array(
2055
- 'type' => 'object',
2056
- 'location' => 'json',
2057
- 'properties' => array(
2058
- 'ReadCapacityUnits' => array(
2059
- 'required' => true,
2060
- 'type' => 'numeric',
2061
- 'minimum' => 1,
2062
- ),
2063
- 'WriteCapacityUnits' => array(
2064
- 'required' => true,
2065
- 'type' => 'numeric',
2066
- 'minimum' => 1,
2067
- ),
2068
- ),
2069
- ),
2070
- 'GlobalSecondaryIndexUpdates' => array(
2071
- 'type' => 'array',
2072
- 'location' => 'json',
2073
- 'items' => array(
2074
- 'name' => 'GlobalSecondaryIndexUpdate',
2075
- 'type' => 'object',
2076
- 'properties' => array(
2077
- 'Update' => array(
2078
- 'type' => 'object',
2079
- 'properties' => array(
2080
- 'IndexName' => array(
2081
- 'required' => true,
2082
- 'type' => 'string',
2083
- 'minLength' => 3,
2084
- 'maxLength' => 255,
2085
- ),
2086
- 'ProvisionedThroughput' => array(
2087
- 'required' => true,
2088
- 'type' => 'object',
2089
- 'properties' => array(
2090
- 'ReadCapacityUnits' => array(
2091
- 'required' => true,
2092
- 'type' => 'numeric',
2093
- 'minimum' => 1,
2094
- ),
2095
- 'WriteCapacityUnits' => array(
2096
- 'required' => true,
2097
- 'type' => 'numeric',
2098
- 'minimum' => 1,
2099
- ),
2100
- ),
2101
- ),
2102
- ),
2103
- ),
2104
- ),
2105
- ),
2106
- ),
2107
  ),
2108
- 'errorResponses' => array(
2109
- array(
2110
- 'reason' => 'The operation conflicts with the resource\'s availability. For example, you attempted to recreate an existing table, or tried to delete a table currently in the CREATING state.',
2111
- 'class' => 'ResourceInUseException',
2112
- ),
2113
- array(
2114
- 'reason' => 'The operation tried to access a nonexistent table or index. The resource may not be specified correctly, or its status may not be ACTIVE.',
2115
- 'class' => 'ResourceNotFoundException',
2116
- ),
2117
- array(
2118
- 'reason' => 'The number of concurrent table requests (cumulative number of tables in the CREATING, DELETING or UPDATING state) exceeds the maximum allowed of 10. Also, for tables with secondary indexes, only one of those tables can be in the CREATING state at any point in time. Do not attempt to create more than one such table simultaneously. The total limit of tables in the ACTIVE state is 250.',
2119
- 'class' => 'LimitExceededException',
2120
- ),
2121
- array(
2122
- 'reason' => 'An error occurred on the server side.',
2123
- 'class' => 'InternalServerErrorException',
2124
- ),
2125
  ),
2126
  ),
2127
  ),
2128
  'models' => array(
2129
- 'BatchGetItemOutput' => array(
2130
- 'type' => 'object',
2131
- 'additionalProperties' => true,
2132
- 'properties' => array(
2133
- 'Responses' => array(
2134
- 'type' => 'object',
2135
- 'location' => 'json',
2136
- 'additionalProperties' => array(
2137
- 'type' => 'array',
2138
- 'items' => array(
2139
- 'name' => 'AttributeMap',
2140
- 'type' => 'object',
2141
- 'additionalProperties' => array(
2142
- 'type' => 'object',
2143
- 'properties' => array(
2144
- 'S' => array(
2145
- 'type' => 'string',
2146
- ),
2147
- 'N' => array(
2148
- 'type' => 'string',
2149
- ),
2150
- 'B' => array(
2151
- 'type' => 'string',
2152
- 'filters' => array(
2153
- 'base64_decode',
2154
- ),
2155
- ),
2156
- 'SS' => array(
2157
- 'type' => 'array',
2158
- 'items' => array(
2159
- 'name' => 'StringAttributeValue',
2160
- 'type' => 'string',
2161
- ),
2162
- ),
2163
- 'NS' => array(
2164
- 'type' => 'array',
2165
- 'items' => array(
2166
- 'name' => 'NumberAttributeValue',
2167
- 'type' => 'string',
2168
- ),
2169
- ),
2170
- 'BS' => array(
2171
- 'type' => 'array',
2172
- 'items' => array(
2173
- 'name' => 'BinaryAttributeValue',
2174
- 'type' => 'string',
2175
- 'filters' => array(
2176
- 'base64_decode',
2177
- ),
2178
- ),
2179
- ),
2180
- ),
2181
- ),
2182
- ),
2183
- ),
2184
- ),
2185
- 'UnprocessedKeys' => array(
2186
- 'type' => 'object',
2187
- 'location' => 'json',
2188
- 'additionalProperties' => array(
2189
- 'type' => 'object',
2190
- 'properties' => array(
2191
- 'Keys' => array(
2192
- 'type' => 'array',
2193
- 'items' => array(
2194
- 'name' => 'Key',
2195
- 'type' => 'object',
2196
- 'additionalProperties' => array(
2197
- 'type' => 'object',
2198
- 'properties' => array(
2199
- 'S' => array(
2200
- 'type' => 'string',
2201
- ),
2202
- 'N' => array(
2203
- 'type' => 'string',
2204
- ),
2205
- 'B' => array(
2206
- 'type' => 'string',
2207
- 'filters' => array(
2208
- 'base64_decode',
2209
- ),
2210
- ),
2211
- 'SS' => array(
2212
- 'type' => 'array',
2213
- 'items' => array(
2214
- 'name' => 'StringAttributeValue',
2215
- 'type' => 'string',
2216
- ),
2217
- ),
2218
- 'NS' => array(
2219
- 'type' => 'array',
2220
- 'items' => array(
2221
- 'name' => 'NumberAttributeValue',
2222
- 'type' => 'string',
2223
- ),
2224
- ),
2225
- 'BS' => array(
2226
- 'type' => 'array',
2227
- 'items' => array(
2228
- 'name' => 'BinaryAttributeValue',
2229
- 'type' => 'string',
2230
- 'filters' => array(
2231
- 'base64_decode',
2232
- ),
2233
- ),
2234
- ),
2235
- ),
2236
- ),
2237
- ),
2238
- ),
2239
- 'AttributesToGet' => array(
2240
- 'type' => 'array',
2241
- 'items' => array(
2242
- 'name' => 'AttributeName',
2243
- 'type' => 'string',
2244
- ),
2245
- ),
2246
- 'ConsistentRead' => array(
2247
- 'type' => 'boolean',
2248
- ),
2249
- ),
2250
- ),
2251
- ),
2252
- 'ConsumedCapacity' => array(
2253
- 'type' => 'array',
2254
- 'location' => 'json',
2255
- 'items' => array(
2256
- 'name' => 'ConsumedCapacity',
2257
- 'type' => 'object',
2258
- 'properties' => array(
2259
- 'TableName' => array(
2260
- 'type' => 'string',
2261
- ),
2262
- 'CapacityUnits' => array(
2263
- 'type' => 'numeric',
2264
- ),
2265
- 'Table' => array(
2266
- 'type' => 'object',
2267
- 'properties' => array(
2268
- 'CapacityUnits' => array(
2269
- 'type' => 'numeric',
2270
- ),
2271
- ),
2272
- ),
2273
- 'LocalSecondaryIndexes' => array(
2274
- 'type' => 'object',
2275
- 'additionalProperties' => array(
2276
- 'type' => 'object',
2277
- 'properties' => array(
2278
- 'CapacityUnits' => array(
2279
- 'type' => 'numeric',
2280
- ),
2281
- ),
2282
- ),
2283
- ),
2284
- 'GlobalSecondaryIndexes' => array(
2285
- 'type' => 'object',
2286
- 'additionalProperties' => array(
2287
- 'type' => 'object',
2288
- 'properties' => array(
2289
- 'CapacityUnits' => array(
2290
- 'type' => 'numeric',
2291
- ),
2292
- ),
2293
- ),
2294
- ),
2295
- ),
2296
- ),
2297
- ),
2298
- ),
2299
- ),
2300
- 'BatchWriteItemOutput' => array(
2301
- 'type' => 'object',
2302
- 'additionalProperties' => true,
2303
- 'properties' => array(
2304
- 'UnprocessedItems' => array(
2305
- 'type' => 'object',
2306
- 'location' => 'json',
2307
- 'additionalProperties' => array(
2308
- 'type' => 'array',
2309
- 'items' => array(
2310
- 'name' => 'WriteRequest',
2311
- 'type' => 'object',
2312
- 'properties' => array(
2313
- 'PutRequest' => array(
2314
- 'type' => 'object',
2315
- 'properties' => array(
2316
- 'Item' => array(
2317
- 'type' => 'object',
2318
- 'additionalProperties' => array(
2319
- 'type' => 'object',
2320
- 'properties' => array(
2321
- 'S' => array(
2322
- 'type' => 'string',
2323
- ),
2324
- 'N' => array(
2325
- 'type' => 'string',
2326
- ),
2327
- 'B' => array(
2328
- 'type' => 'string',
2329
- 'filters' => array(
2330
- 'base64_decode',
2331
- ),
2332
- ),
2333
- 'SS' => array(
2334
- 'type' => 'array',
2335
- 'items' => array(
2336
- 'name' => 'StringAttributeValue',
2337
- 'type' => 'string',
2338
- ),
2339
- ),
2340
- 'NS' => array(
2341
- 'type' => 'array',
2342
- 'items' => array(
2343
- 'name' => 'NumberAttributeValue',
2344
- 'type' => 'string',
2345
- ),
2346
- ),
2347
- 'BS' => array(
2348
- 'type' => 'array',
2349
- 'items' => array(
2350
- 'name' => 'BinaryAttributeValue',
2351
- 'type' => 'string',
2352
- 'filters' => array(
2353
- 'base64_decode',
2354
- ),
2355
- ),
2356
- ),
2357
- ),
2358
- ),
2359
- ),
2360
- ),
2361
- ),
2362
- 'DeleteRequest' => array(
2363
- 'type' => 'object',
2364
- 'properties' => array(
2365
- 'Key' => array(
2366
- 'type' => 'object',
2367
- 'additionalProperties' => array(
2368
- 'type' => 'object',
2369
- 'properties' => array(
2370
- 'S' => array(
2371
- 'type' => 'string',
2372
- ),
2373
- 'N' => array(
2374
- 'type' => 'string',
2375
- ),
2376
- 'B' => array(
2377
- 'type' => 'string',
2378
- 'filters' => array(
2379
- 'base64_decode',
2380
- ),
2381
- ),
2382
- 'SS' => array(
2383
- 'type' => 'array',
2384
- 'items' => array(
2385
- 'name' => 'StringAttributeValue',
2386
- 'type' => 'string',
2387
- ),
2388
- ),
2389
- 'NS' => array(
2390
- 'type' => 'array',
2391
- 'items' => array(
2392
- 'name' => 'NumberAttributeValue',
2393
- 'type' => 'string',
2394
- ),
2395
- ),
2396
- 'BS' => array(
2397
- 'type' => 'array',
2398
- 'items' => array(
2399
- 'name' => 'BinaryAttributeValue',
2400
- 'type' => 'string',
2401
- 'filters' => array(
2402
- 'base64_decode',
2403
- ),
2404
- ),
2405
- ),
2406
- ),
2407
- ),
2408
- ),
2409
- ),
2410
- ),
2411
- ),
2412
- ),
2413
- ),
2414
- ),
2415
- 'ItemCollectionMetrics' => array(
2416
- 'type' => 'object',
2417
- 'location' => 'json',
2418
- 'additionalProperties' => array(
2419
- 'type' => 'array',
2420
- 'items' => array(
2421
- 'name' => 'ItemCollectionMetrics',
2422
- 'type' => 'object',
2423
- 'properties' => array(
2424
- 'ItemCollectionKey' => array(
2425
- 'type' => 'object',
2426
- 'additionalProperties' => array(
2427
- 'type' => 'object',
2428
- 'properties' => array(
2429
- 'S' => array(
2430
- 'type' => 'string',
2431
- ),
2432
- 'N' => array(
2433
- 'type' => 'string',
2434
- ),
2435
- 'B' => array(
2436
- 'type' => 'string',
2437
- 'filters' => array(
2438
- 'base64_decode',
2439
- ),
2440
- ),
2441
- 'SS' => array(
2442
- 'type' => 'array',
2443
- 'items' => array(
2444
- 'name' => 'StringAttributeValue',
2445
- 'type' => 'string',
2446
- ),
2447
- ),
2448
- 'NS' => array(
2449
- 'type' => 'array',
2450
- 'items' => array(
2451
- 'name' => 'NumberAttributeValue',
2452
- 'type' => 'string',
2453
- ),
2454
- ),
2455
- 'BS' => array(
2456
- 'type' => 'array',
2457
- 'items' => array(
2458
- 'name' => 'BinaryAttributeValue',
2459
- 'type' => 'string',
2460
- 'filters' => array(
2461
- 'base64_decode',
2462
- ),
2463
- ),
2464
- ),
2465
- ),
2466
- ),
2467
- ),
2468
- 'SizeEstimateRangeGB' => array(
2469
- 'type' => 'array',
2470
- 'items' => array(
2471
- 'name' => 'ItemCollectionSizeEstimateBound',
2472
- 'type' => 'numeric',
2473
- ),
2474
- ),
2475
- ),
2476
- ),
2477
- ),
2478
- ),
2479
- 'ConsumedCapacity' => array(
2480
- 'type' => 'array',
2481
- 'location' => 'json',
2482
- 'items' => array(
2483
- 'name' => 'ConsumedCapacity',
2484
- 'type' => 'object',
2485
- 'properties' => array(
2486
- 'TableName' => array(
2487
- 'type' => 'string',
2488
- ),
2489
- 'CapacityUnits' => array(
2490
- 'type' => 'numeric',
2491
- ),
2492
- 'Table' => array(
2493
- 'type' => 'object',
2494
- 'properties' => array(
2495
- 'CapacityUnits' => array(
2496
- 'type' => 'numeric',
2497
- ),
2498
- ),
2499
- ),
2500
- 'LocalSecondaryIndexes' => array(
2501
- 'type' => 'object',
2502
- 'additionalProperties' => array(
2503
- 'type' => 'object',
2504
- 'properties' => array(
2505
- 'CapacityUnits' => array(
2506
- 'type' => 'numeric',
2507
- ),
2508
- ),
2509
- ),
2510
- ),
2511
- 'GlobalSecondaryIndexes' => array(
2512
- 'type' => 'object',
2513
- 'additionalProperties' => array(
2514
- 'type' => 'object',
2515
- 'properties' => array(
2516
- 'CapacityUnits' => array(
2517
- 'type' => 'numeric',
2518
- ),
2519
- ),
2520
- ),
2521
- ),
2522
- ),
2523
- ),
2524
- ),
2525
- ),
2526
- ),
2527
- 'CreateTableOutput' => array(
2528
- 'type' => 'object',
2529
- 'additionalProperties' => true,
2530
- 'properties' => array(
2531
- 'TableDescription' => array(
2532
- 'type' => 'object',
2533
- 'location' => 'json',
2534
- 'properties' => array(
2535
- 'AttributeDefinitions' => array(
2536
- 'type' => 'array',
2537
- 'items' => array(
2538
- 'name' => 'AttributeDefinition',
2539
- 'type' => 'object',
2540
- 'properties' => array(
2541
- 'AttributeName' => array(
2542
- 'type' => 'string',
2543
- ),
2544
- 'AttributeType' => array(
2545
- 'type' => 'string',
2546
- ),
2547
- ),
2548
- ),
2549
- ),
2550
- 'TableName' => array(
2551
- 'type' => 'string',
2552
- ),
2553
- 'KeySchema' => array(
2554
- 'type' => 'array',
2555
- 'items' => array(
2556
- 'name' => 'KeySchemaElement',
2557
- 'type' => 'object',
2558
- 'properties' => array(
2559
- 'AttributeName' => array(
2560
- 'type' => 'string',
2561
- ),
2562
- 'KeyType' => array(
2563
- 'type' => 'string',
2564
- ),
2565
- ),
2566
- ),
2567
- ),
2568
- 'TableStatus' => array(
2569
- 'type' => 'string',
2570
- ),
2571
- 'CreationDateTime' => array(
2572
- 'type' => 'string',
2573
- ),
2574
- 'ProvisionedThroughput' => array(
2575
- 'type' => 'object',
2576
- 'properties' => array(
2577
- 'LastIncreaseDateTime' => array(
2578
- 'type' => 'string',
2579
- ),
2580
- 'LastDecreaseDateTime' => array(
2581
- 'type' => 'string',
2582
- ),
2583
- 'NumberOfDecreasesToday' => array(
2584
- 'type' => 'numeric',
2585
- ),
2586
- 'ReadCapacityUnits' => array(
2587
- 'type' => 'numeric',
2588
- ),
2589
- 'WriteCapacityUnits' => array(
2590
- 'type' => 'numeric',
2591
- ),
2592
- ),
2593
- ),
2594
- 'TableSizeBytes' => array(
2595
- 'type' => 'numeric',
2596
- ),
2597
- 'ItemCount' => array(
2598
- 'type' => 'numeric',
2599
- ),
2600
- 'LocalSecondaryIndexes' => array(
2601
- 'type' => 'array',
2602
- 'items' => array(
2603
- 'name' => 'LocalSecondaryIndexDescription',
2604
- 'type' => 'object',
2605
- 'properties' => array(
2606
- 'IndexName' => array(
2607
- 'type' => 'string',
2608
- ),
2609
- 'KeySchema' => array(
2610
- 'type' => 'array',
2611
- 'items' => array(
2612
- 'name' => 'KeySchemaElement',
2613
- 'type' => 'object',
2614
- 'properties' => array(
2615
- 'AttributeName' => array(
2616
- 'type' => 'string',
2617
- ),
2618
- 'KeyType' => array(
2619
- 'type' => 'string',
2620
- ),
2621
- ),
2622
- ),
2623
- ),
2624
- 'Projection' => array(
2625
- 'type' => 'object',
2626
- 'properties' => array(
2627
- 'ProjectionType' => array(
2628
- 'type' => 'string',
2629
- ),
2630
- 'NonKeyAttributes' => array(
2631
- 'type' => 'array',
2632
- 'items' => array(
2633
- 'name' => 'NonKeyAttributeName',
2634
- 'type' => 'string',
2635
- ),
2636
- ),
2637
- ),
2638
- ),
2639
- 'IndexSizeBytes' => array(
2640
- 'type' => 'numeric',
2641
- ),
2642
- 'ItemCount' => array(
2643
- 'type' => 'numeric',
2644
- ),
2645
- ),
2646
- ),
2647
- ),
2648
- 'GlobalSecondaryIndexes' => array(
2649
- 'type' => 'array',
2650
- 'items' => array(
2651
- 'name' => 'GlobalSecondaryIndexDescription',
2652
- 'type' => 'object',
2653
- 'properties' => array(
2654
- 'IndexName' => array(
2655
- 'type' => 'string',
2656
- ),
2657
- 'KeySchema' => array(
2658
- 'type' => 'array',
2659
- 'items' => array(
2660
- 'name' => 'KeySchemaElement',
2661
- 'type' => 'object',
2662
- 'properties' => array(
2663
- 'AttributeName' => array(
2664
- 'type' => 'string',
2665
- ),
2666
- 'KeyType' => array(
2667
- 'type' => 'string',
2668
- ),
2669
- ),
2670
- ),
2671
- ),
2672
- 'Projection' => array(
2673
- 'type' => 'object',
2674
- 'properties' => array(
2675
- 'ProjectionType' => array(
2676
- 'type' => 'string',
2677
- ),
2678
- 'NonKeyAttributes' => array(
2679
- 'type' => 'array',
2680
- 'items' => array(
2681
- 'name' => 'NonKeyAttributeName',
2682
- 'type' => 'string',
2683
- ),
2684
- ),
2685
- ),
2686
- ),
2687
- 'IndexStatus' => array(
2688
- 'type' => 'string',
2689
- ),
2690
- 'ProvisionedThroughput' => array(
2691
- 'type' => 'object',
2692
- 'properties' => array(
2693
- 'LastIncreaseDateTime' => array(
2694
- 'type' => 'string',
2695
- ),
2696
- 'LastDecreaseDateTime' => array(
2697
- 'type' => 'string',
2698
- ),
2699
- 'NumberOfDecreasesToday' => array(
2700
- 'type' => 'numeric',
2701
- ),
2702
- 'ReadCapacityUnits' => array(
2703
- 'type' => 'numeric',
2704
- ),
2705
- 'WriteCapacityUnits' => array(
2706
- 'type' => 'numeric',
2707
- ),
2708
- ),
2709
- ),
2710
- 'IndexSizeBytes' => array(
2711
- 'type' => 'numeric',
2712
- ),
2713
- 'ItemCount' => array(
2714
- 'type' => 'numeric',
2715
- ),
2716
- ),
2717
- ),
2718
- ),
2719
- ),
2720
- ),
2721
- ),
2722
- ),
2723
- 'DeleteItemOutput' => array(
2724
  'type' => 'object',
2725
- 'additionalProperties' => true,
2726
- 'properties' => array(
2727
- 'Attributes' => array(
2728
- 'type' => 'object',
2729
- 'location' => 'json',
2730
- 'additionalProperties' => array(
2731
- 'type' => 'object',
2732
- 'properties' => array(
2733
- 'S' => array(
2734
- 'type' => 'string',
2735
- ),
2736
- 'N' => array(
2737
- 'type' => 'string',
2738
- ),
2739
- 'B' => array(
2740
- 'type' => 'string',
2741
- 'filters' => array(
2742
- 'base64_decode',
2743
- ),
2744
- ),
2745
- 'SS' => array(
2746
- 'type' => 'array',
2747
- 'items' => array(
2748
- 'name' => 'StringAttributeValue',
2749
- 'type' => 'string',
2750
- ),
2751
- ),
2752
- 'NS' => array(
2753
- 'type' => 'array',
2754
- 'items' => array(
2755
- 'name' => 'NumberAttributeValue',
2756
- 'type' => 'string',
2757
- ),
2758
- ),
2759
- 'BS' => array(
2760
- 'type' => 'array',
2761
- 'items' => array(
2762
- 'name' => 'BinaryAttributeValue',
2763
- 'type' => 'string',
2764
- 'filters' => array(
2765
- 'base64_decode',
2766
- ),
2767
- ),
2768
- ),
2769
- ),
2770
- ),
2771
- ),
2772
- 'ConsumedCapacity' => array(
2773
- 'type' => 'object',
2774
- 'location' => 'json',
2775
- 'properties' => array(
2776
- 'TableName' => array(
2777
- 'type' => 'string',
2778
- ),
2779
- 'CapacityUnits' => array(
2780
- 'type' => 'numeric',
2781
- ),
2782
- 'Table' => array(
2783
- 'type' => 'object',
2784
- 'properties' => array(
2785
- 'CapacityUnits' => array(
2786
- 'type' => 'numeric',
2787
- ),
2788
- ),
2789
- ),
2790
- 'LocalSecondaryIndexes' => array(
2791
- 'type' => 'object',
2792
- 'additionalProperties' => array(
2793
- 'type' => 'object',
2794
- 'properties' => array(
2795
- 'CapacityUnits' => array(
2796
- 'type' => 'numeric',
2797
- ),
2798
- ),
2799
- ),
2800
- ),
2801
- 'GlobalSecondaryIndexes' => array(
2802
- 'type' => 'object',
2803
- 'additionalProperties' => array(
2804
- 'type' => 'object',
2805
- 'properties' => array(
2806
- 'CapacityUnits' => array(
2807
- 'type' => 'numeric',
2808
- ),
2809
- ),
2810
- ),
2811
- ),
2812
- ),
2813
- ),
2814
- 'ItemCollectionMetrics' => array(
2815
- 'type' => 'object',
2816
- 'location' => 'json',
2817
- 'properties' => array(
2818
- 'ItemCollectionKey' => array(
2819
- 'type' => 'object',
2820
- 'additionalProperties' => array(
2821
- 'type' => 'object',
2822
- 'properties' => array(
2823
- 'S' => array(
2824
- 'type' => 'string',
2825
- ),
2826
- 'N' => array(
2827
- 'type' => 'string',
2828
- ),
2829
- 'B' => array(
2830
- 'type' => 'string',
2831
- 'filters' => array(
2832
- 'base64_decode',
2833
- ),
2834
- ),
2835
- 'SS' => array(
2836
- 'type' => 'array',
2837
- 'items' => array(
2838
- 'name' => 'StringAttributeValue',
2839
- 'type' => 'string',
2840
- ),
2841
- ),
2842
- 'NS' => array(
2843
- 'type' => 'array',
2844
- 'items' => array(
2845
- 'name' => 'NumberAttributeValue',
2846
- 'type' => 'string',
2847
- ),
2848
- ),
2849
- 'BS' => array(
2850
- 'type' => 'array',
2851
- 'items' => array(
2852
- 'name' => 'BinaryAttributeValue',
2853
- 'type' => 'string',
2854
- 'filters' => array(
2855
- 'base64_decode',
2856
- ),
2857
- ),
2858
- ),
2859
- ),
2860
- ),
2861
- ),
2862
- 'SizeEstimateRangeGB' => array(
2863
- 'type' => 'array',
2864
- 'items' => array(
2865
- 'name' => 'ItemCollectionSizeEstimateBound',
2866
- 'type' => 'numeric',
2867
- ),
2868
- ),
2869
- ),
2870
- ),
2871
- ),
2872
- ),
2873
- 'DeleteTableOutput' => array(
2874
- 'type' => 'object',
2875
- 'additionalProperties' => true,
2876
- 'properties' => array(
2877
- 'TableDescription' => array(
2878
- 'type' => 'object',
2879
- 'location' => 'json',
2880
- 'properties' => array(
2881
- 'AttributeDefinitions' => array(
2882
- 'type' => 'array',
2883
- 'items' => array(
2884
- 'name' => 'AttributeDefinition',
2885
- 'type' => 'object',
2886
- 'properties' => array(
2887
- 'AttributeName' => array(
2888
- 'type' => 'string',
2889
- ),
2890
- 'AttributeType' => array(
2891
- 'type' => 'string',
2892
- ),
2893
- ),
2894
- ),
2895
- ),
2896
- 'TableName' => array(
2897
- 'type' => 'string',
2898
- ),
2899
- 'KeySchema' => array(
2900
- 'type' => 'array',
2901
- 'items' => array(
2902
- 'name' => 'KeySchemaElement',
2903
- 'type' => 'object',
2904
- 'properties' => array(
2905
- 'AttributeName' => array(
2906
- 'type' => 'string',
2907
- ),
2908
- 'KeyType' => array(
2909
- 'type' => 'string',
2910
- ),
2911
- ),
2912
- ),
2913
- ),
2914
- 'TableStatus' => array(
2915
- 'type' => 'string',
2916
- ),
2917
- 'CreationDateTime' => array(
2918
- 'type' => 'string',
2919
- ),
2920
- 'ProvisionedThroughput' => array(
2921
- 'type' => 'object',
2922
- 'properties' => array(
2923
- 'LastIncreaseDateTime' => array(
2924
- 'type' => 'string',
2925
- ),
2926
- 'LastDecreaseDateTime' => array(
2927
- 'type' => 'string',
2928
- ),
2929
- 'NumberOfDecreasesToday' => array(
2930
- 'type' => 'numeric',
2931
- ),
2932
- 'ReadCapacityUnits' => array(
2933
- 'type' => 'numeric',
2934
- ),
2935
- 'WriteCapacityUnits' => array(
2936
- 'type' => 'numeric',
2937
- ),
2938
- ),
2939
- ),
2940
- 'TableSizeBytes' => array(
2941
- 'type' => 'numeric',
2942
- ),
2943
- 'ItemCount' => array(
2944
- 'type' => 'numeric',
2945
- ),
2946
- 'LocalSecondaryIndexes' => array(
2947
- 'type' => 'array',
2948
- 'items' => array(
2949
- 'name' => 'LocalSecondaryIndexDescription',
2950
- 'type' => 'object',
2951
- 'properties' => array(
2952
- 'IndexName' => array(
2953
- 'type' => 'string',
2954
- ),
2955
- 'KeySchema' => array(
2956
- 'type' => 'array',
2957
- 'items' => array(
2958
- 'name' => 'KeySchemaElement',
2959
- 'type' => 'object',
2960
- 'properties' => array(
2961
- 'AttributeName' => array(
2962
- 'type' => 'string',
2963
- ),
2964
- 'KeyType' => array(
2965
- 'type' => 'string',
2966
- ),
2967
- ),
2968
- ),
2969
- ),
2970
- 'Projection' => array(
2971
- 'type' => 'object',
2972
- 'properties' => array(
2973
- 'ProjectionType' => array(
2974
- 'type' => 'string',
2975
- ),
2976
- 'NonKeyAttributes' => array(
2977
- 'type' => 'array',
2978
- 'items' => array(
2979
- 'name' => 'NonKeyAttributeName',
2980
- 'type' => 'string',
2981
- ),
2982
- ),
2983
- ),
2984
- ),
2985
- 'IndexSizeBytes' => array(
2986
- 'type' => 'numeric',
2987
- ),
2988
- 'ItemCount' => array(
2989
- 'type' => 'numeric',
2990
- ),
2991
- ),
2992
- ),
2993
- ),
2994
- 'GlobalSecondaryIndexes' => array(
2995
- 'type' => 'array',
2996
- 'items' => array(
2997
- 'name' => 'GlobalSecondaryIndexDescription',
2998
- 'type' => 'object',
2999
- 'properties' => array(
3000
- 'IndexName' => array(
3001
- 'type' => 'string',
3002
- ),
3003
- 'KeySchema' => array(
3004
- 'type' => 'array',
3005
- 'items' => array(
3006
- 'name' => 'KeySchemaElement',
3007
- 'type' => 'object',
3008
- 'properties' => array(
3009
- 'AttributeName' => array(
3010
- 'type' => 'string',
3011
- ),
3012
- 'KeyType' => array(
3013
- 'type' => 'string',
3014
- ),
3015
- ),
3016
- ),
3017
- ),
3018
- 'Projection' => array(
3019
- 'type' => 'object',
3020
- 'properties' => array(
3021
- 'ProjectionType' => array(
3022
- 'type' => 'string',
3023
- ),
3024
- 'NonKeyAttributes' => array(
3025
- 'type' => 'array',
3026
- 'items' => array(
3027
- 'name' => 'NonKeyAttributeName',
3028
- 'type' => 'string',
3029
- ),
3030
- ),
3031
- ),
3032
- ),
3033
- 'IndexStatus' => array(
3034
- 'type' => 'string',
3035
- ),
3036
- 'ProvisionedThroughput' => array(
3037
- 'type' => 'object',
3038
- 'properties' => array(
3039
- 'LastIncreaseDateTime' => array(
3040
- 'type' => 'string',
3041
- ),
3042
- 'LastDecreaseDateTime' => array(
3043
- 'type' => 'string',
3044
- ),
3045
- 'NumberOfDecreasesToday' => array(
3046
- 'type' => 'numeric',
3047
- ),
3048
- 'ReadCapacityUnits' => array(
3049
- 'type' => 'numeric',
3050
- ),
3051
- 'WriteCapacityUnits' => array(
3052
- 'type' => 'numeric',
3053
- ),
3054
- ),
3055
- ),
3056
- 'IndexSizeBytes' => array(
3057
- 'type' => 'numeric',
3058
- ),
3059
- 'ItemCount' => array(
3060
- 'type' => 'numeric',
3061
- ),
3062
- ),
3063
- ),
3064
- ),
3065
- ),
3066
- ),
3067
- ),
3068
- ),
3069
- 'DescribeTableOutput' => array(
3070
- 'type' => 'object',
3071
- 'additionalProperties' => true,
3072
- 'properties' => array(
3073
- 'Table' => array(
3074
- 'type' => 'object',
3075
- 'location' => 'json',
3076
- 'properties' => array(
3077
- 'AttributeDefinitions' => array(
3078
- 'type' => 'array',
3079
- 'items' => array(
3080
- 'name' => 'AttributeDefinition',
3081
- 'type' => 'object',
3082
- 'properties' => array(
3083
- 'AttributeName' => array(
3084
- 'type' => 'string',
3085
- ),
3086
- 'AttributeType' => array(
3087
- 'type' => 'string',
3088
- ),
3089
- ),
3090
- ),
3091
- ),
3092
- 'TableName' => array(
3093
- 'type' => 'string',
3094
- ),
3095
- 'KeySchema' => array(
3096
- 'type' => 'array',
3097
- 'items' => array(
3098
- 'name' => 'KeySchemaElement',
3099
- 'type' => 'object',
3100
- 'properties' => array(
3101
- 'AttributeName' => array(
3102
- 'type' => 'string',
3103
- ),
3104
- 'KeyType' => array(
3105
- 'type' => 'string',
3106
- ),
3107
- ),
3108
- ),
3109
- ),
3110
- 'TableStatus' => array(
3111
- 'type' => 'string',
3112
- ),
3113
- 'CreationDateTime' => array(
3114
- 'type' => 'string',
3115
- ),
3116
- 'ProvisionedThroughput' => array(
3117
- 'type' => 'object',
3118
- 'properties' => array(
3119
- 'LastIncreaseDateTime' => array(
3120
- 'type' => 'string',
3121
- ),
3122
- 'LastDecreaseDateTime' => array(
3123
- 'type' => 'string',
3124
- ),
3125
- 'NumberOfDecreasesToday' => array(
3126
- 'type' => 'numeric',
3127
- ),
3128
- 'ReadCapacityUnits' => array(
3129
- 'type' => 'numeric',
3130
- ),
3131
- 'WriteCapacityUnits' => array(
3132
- 'type' => 'numeric',
3133
- ),
3134
- ),
3135
- ),
3136
- 'TableSizeBytes' => array(
3137
- 'type' => 'numeric',
3138
- ),
3139
- 'ItemCount' => array(
3140
- 'type' => 'numeric',
3141
- ),
3142
- 'LocalSecondaryIndexes' => array(
3143
- 'type' => 'array',
3144
- 'items' => array(
3145
- 'name' => 'LocalSecondaryIndexDescription',
3146
- 'type' => 'object',
3147
- 'properties' => array(
3148
- 'IndexName' => array(
3149
- 'type' => 'string',
3150
- ),
3151
- 'KeySchema' => array(
3152
- 'type' => 'array',
3153
- 'items' => array(
3154
- 'name' => 'KeySchemaElement',
3155
- 'type' => 'object',
3156
- 'properties' => array(
3157
- 'AttributeName' => array(
3158
- 'type' => 'string',
3159
- ),
3160
- 'KeyType' => array(
3161
- 'type' => 'string',
3162
- ),
3163
- ),
3164
- ),
3165
- ),
3166
- 'Projection' => array(
3167
- 'type' => 'object',
3168
- 'properties' => array(
3169
- 'ProjectionType' => array(
3170
- 'type' => 'string',
3171
- ),
3172
- 'NonKeyAttributes' => array(
3173
- 'type' => 'array',
3174
- 'items' => array(
3175
- 'name' => 'NonKeyAttributeName',
3176
- 'type' => 'string',
3177
- ),
3178
- ),
3179
- ),
3180
- ),
3181
- 'IndexSizeBytes' => array(
3182
- 'type' => 'numeric',
3183
- ),
3184
- 'ItemCount' => array(
3185
- 'type' => 'numeric',
3186
- ),
3187
- ),
3188
- ),
3189
- ),
3190
- 'GlobalSecondaryIndexes' => array(
3191
- 'type' => 'array',
3192
- 'items' => array(
3193
- 'name' => 'GlobalSecondaryIndexDescription',
3194
- 'type' => 'object',
3195
- 'properties' => array(
3196
- 'IndexName' => array(
3197
- 'type' => 'string',
3198
- ),
3199
- 'KeySchema' => array(
3200
- 'type' => 'array',
3201
- 'items' => array(
3202
- 'name' => 'KeySchemaElement',
3203
- 'type' => 'object',
3204
- 'properties' => array(
3205
- 'AttributeName' => array(
3206
- 'type' => 'string',
3207
- ),
3208
- 'KeyType' => array(
3209
- 'type' => 'string',
3210
- ),
3211
- ),
3212
- ),
3213
- ),
3214
- 'Projection' => array(
3215
- 'type' => 'object',
3216
- 'properties' => array(
3217
- 'ProjectionType' => array(
3218
- 'type' => 'string',
3219
- ),
3220
- 'NonKeyAttributes' => array(
3221
- 'type' => 'array',
3222
- 'items' => array(
3223
- 'name' => 'NonKeyAttributeName',
3224
- 'type' => 'string',
3225
- ),
3226
- ),
3227
- ),
3228
- ),
3229
- 'IndexStatus' => array(
3230
- 'type' => 'string',
3231
- ),
3232
- 'ProvisionedThroughput' => array(
3233
- 'type' => 'object',
3234
- 'properties' => array(
3235
- 'LastIncreaseDateTime' => array(
3236
- 'type' => 'string',
3237
- ),
3238
- 'LastDecreaseDateTime' => array(
3239
- 'type' => 'string',
3240
- ),
3241
- 'NumberOfDecreasesToday' => array(
3242
- 'type' => 'numeric',
3243
- ),
3244
- 'ReadCapacityUnits' => array(
3245
- 'type' => 'numeric',
3246
- ),
3247
- 'WriteCapacityUnits' => array(
3248
- 'type' => 'numeric',
3249
- ),
3250
- ),
3251
- ),
3252
- 'IndexSizeBytes' => array(
3253
- 'type' => 'numeric',
3254
- ),
3255
- 'ItemCount' => array(
3256
- 'type' => 'numeric',
3257
- ),
3258
- ),
3259
- ),
3260
- ),
3261
- ),
3262
- ),
3263
- ),
3264
- ),
3265
- 'GetItemOutput' => array(
3266
- 'type' => 'object',
3267
- 'additionalProperties' => true,
3268
- 'properties' => array(
3269
- 'Item' => array(
3270
- 'type' => 'object',
3271
- 'location' => 'json',
3272
- 'additionalProperties' => array(
3273
- 'type' => 'object',
3274
- 'properties' => array(
3275
- 'S' => array(
3276
- 'type' => 'string',
3277
- ),
3278
- 'N' => array(
3279
- 'type' => 'string',
3280
- ),
3281
- 'B' => array(
3282
- 'type' => 'string',
3283
- 'filters' => array(
3284
- 'base64_decode',
3285
- ),
3286
- ),
3287
- 'SS' => array(
3288
- 'type' => 'array',
3289
- 'items' => array(
3290
- 'name' => 'StringAttributeValue',
3291
- 'type' => 'string',
3292
- ),
3293
- ),
3294
- 'NS' => array(
3295
- 'type' => 'array',
3296
- 'items' => array(
3297
- 'name' => 'NumberAttributeValue',
3298
- 'type' => 'string',
3299
- ),
3300
- ),
3301
- 'BS' => array(
3302
- 'type' => 'array',
3303
- 'items' => array(
3304
- 'name' => 'BinaryAttributeValue',
3305
- 'type' => 'string',
3306
- 'filters' => array(
3307
- 'base64_decode',
3308
- ),
3309
- ),
3310
- ),
3311
- ),
3312
- ),
3313
- ),
3314
- 'ConsumedCapacity' => array(
3315
- 'type' => 'object',
3316
- 'location' => 'json',
3317
- 'properties' => array(
3318
- 'TableName' => array(
3319
- 'type' => 'string',
3320
- ),
3321
- 'CapacityUnits' => array(
3322
- 'type' => 'numeric',
3323
- ),
3324
- 'Table' => array(
3325
- 'type' => 'object',
3326
- 'properties' => array(
3327
- 'CapacityUnits' => array(
3328
- 'type' => 'numeric',
3329
- ),
3330
- ),
3331
- ),
3332
- 'LocalSecondaryIndexes' => array(
3333
- 'type' => 'object',
3334
- 'additionalProperties' => array(
3335
- 'type' => 'object',
3336
- 'properties' => array(
3337
- 'CapacityUnits' => array(
3338
- 'type' => 'numeric',
3339
- ),
3340
- ),
3341
- ),
3342
- ),
3343
- 'GlobalSecondaryIndexes' => array(
3344
- 'type' => 'object',
3345
- 'additionalProperties' => array(
3346
- 'type' => 'object',
3347
- 'properties' => array(
3348
- 'CapacityUnits' => array(
3349
- 'type' => 'numeric',
3350
- ),
3351
- ),
3352
- ),
3353
- ),
3354
- ),
3355
- ),
3356
- ),
3357
- ),
3358
- 'ListTablesOutput' => array(
3359
- 'type' => 'object',
3360
- 'additionalProperties' => true,
3361
- 'properties' => array(
3362
- 'TableNames' => array(
3363
- 'type' => 'array',
3364
- 'location' => 'json',
3365
- 'items' => array(
3366
- 'name' => 'TableName',
3367
- 'type' => 'string',
3368
- ),
3369
- ),
3370
- 'LastEvaluatedTableName' => array(
3371
- 'type' => 'string',
3372
- 'location' => 'json',
3373
- ),
3374
- ),
3375
- ),
3376
- 'PutItemOutput' => array(
3377
- 'type' => 'object',
3378
- 'additionalProperties' => true,
3379
- 'properties' => array(
3380
- 'Attributes' => array(
3381
- 'type' => 'object',
3382
- 'location' => 'json',
3383
- 'additionalProperties' => array(
3384
- 'type' => 'object',
3385
- 'properties' => array(
3386
- 'S' => array(
3387
- 'type' => 'string',
3388
- ),
3389
- 'N' => array(
3390
- 'type' => 'string',
3391
- ),
3392
- 'B' => array(
3393
- 'type' => 'string',
3394
- 'filters' => array(
3395
- 'base64_decode',
3396
- ),
3397
- ),
3398
- 'SS' => array(
3399
- 'type' => 'array',
3400
- 'items' => array(
3401
- 'name' => 'StringAttributeValue',
3402
- 'type' => 'string',
3403
- ),
3404
- ),
3405
- 'NS' => array(
3406
- 'type' => 'array',
3407
- 'items' => array(
3408
- 'name' => 'NumberAttributeValue',
3409
- 'type' => 'string',
3410
- ),
3411
- ),
3412
- 'BS' => array(
3413
- 'type' => 'array',
3414
- 'items' => array(
3415
- 'name' => 'BinaryAttributeValue',
3416
- 'type' => 'string',
3417
- 'filters' => array(
3418
- 'base64_decode',
3419
- ),
3420
- ),
3421
- ),
3422
- ),
3423
- ),
3424
- ),
3425
- 'ConsumedCapacity' => array(
3426
- 'type' => 'object',
3427
- 'location' => 'json',
3428
- 'properties' => array(
3429
- 'TableName' => array(
3430
- 'type' => 'string',
3431
- ),
3432
- 'CapacityUnits' => array(
3433
- 'type' => 'numeric',
3434
- ),
3435
- 'Table' => array(
3436
- 'type' => 'object',
3437
- 'properties' => array(
3438
- 'CapacityUnits' => array(
3439
- 'type' => 'numeric',
3440
- ),
3441
- ),
3442
- ),
3443
- 'LocalSecondaryIndexes' => array(
3444
- 'type' => 'object',
3445
- 'additionalProperties' => array(
3446
- 'type' => 'object',
3447
- 'properties' => array(
3448
- 'CapacityUnits' => array(
3449
- 'type' => 'numeric',
3450
- ),
3451
- ),
3452
- ),
3453
- ),
3454
- 'GlobalSecondaryIndexes' => array(
3455
- 'type' => 'object',
3456
- 'additionalProperties' => array(
3457
- 'type' => 'object',
3458
- 'properties' => array(
3459
- 'CapacityUnits' => array(
3460
- 'type' => 'numeric',
3461
- ),
3462
- ),
3463
- ),
3464
- ),
3465
- ),
3466
- ),
3467
- 'ItemCollectionMetrics' => array(
3468
- 'type' => 'object',
3469
- 'location' => 'json',
3470
- 'properties' => array(
3471
- 'ItemCollectionKey' => array(
3472
- 'type' => 'object',
3473
- 'additionalProperties' => array(
3474
- 'type' => 'object',
3475
- 'properties' => array(
3476
- 'S' => array(
3477
- 'type' => 'string',
3478
- ),
3479
- 'N' => array(
3480
- 'type' => 'string',
3481
- ),
3482
- 'B' => array(
3483
- 'type' => 'string',
3484
- 'filters' => array(
3485
- 'base64_decode',
3486
- ),
3487
- ),
3488
- 'SS' => array(
3489
- 'type' => 'array',
3490
- 'items' => array(
3491
- 'name' => 'StringAttributeValue',
3492
- 'type' => 'string',
3493
- ),
3494
- ),
3495
- 'NS' => array(
3496
- 'type' => 'array',
3497
- 'items' => array(
3498
- 'name' => 'NumberAttributeValue',
3499
- 'type' => 'string',
3500
- ),
3501
- ),
3502
- 'BS' => array(
3503
- 'type' => 'array',
3504
- 'items' => array(
3505
- 'name' => 'BinaryAttributeValue',
3506
- 'type' => 'string',
3507
- 'filters' => array(
3508
- 'base64_decode',
3509
- ),
3510
- ),
3511
- ),
3512
- ),
3513
- ),
3514
- ),
3515
- 'SizeEstimateRangeGB' => array(
3516
- 'type' => 'array',
3517
- 'items' => array(
3518
- 'name' => 'ItemCollectionSizeEstimateBound',
3519
- 'type' => 'numeric',
3520
- ),
3521
- ),
3522
- ),
3523
- ),
3524
- ),
3525
- ),
3526
- 'QueryOutput' => array(
3527
- 'type' => 'object',
3528
- 'additionalProperties' => true,
3529
- 'properties' => array(
3530
- 'Items' => array(
3531
- 'type' => 'array',
3532
- 'location' => 'json',
3533
- 'items' => array(
3534
- 'name' => 'AttributeMap',
3535
- 'type' => 'object',
3536
- 'additionalProperties' => array(
3537
- 'type' => 'object',
3538
- 'properties' => array(
3539
- 'S' => array(
3540
- 'type' => 'string',
3541
- ),
3542
- 'N' => array(
3543
- 'type' => 'string',
3544
- ),
3545
- 'B' => array(
3546
- 'type' => 'string',
3547
- 'filters' => array(
3548
- 'base64_decode',
3549
- ),
3550
- ),
3551
- 'SS' => array(
3552
- 'type' => 'array',
3553
- 'items' => array(
3554
- 'name' => 'StringAttributeValue',
3555
- 'type' => 'string',
3556
- ),
3557
- ),
3558
- 'NS' => array(
3559
- 'type' => 'array',
3560
- 'items' => array(
3561
- 'name' => 'NumberAttributeValue',
3562
- 'type' => 'string',
3563
- ),
3564
- ),
3565
- 'BS' => array(
3566
- 'type' => 'array',
3567
- 'items' => array(
3568
- 'name' => 'BinaryAttributeValue',
3569
- 'type' => 'string',
3570
- 'filters' => array(
3571
- 'base64_decode',
3572
- ),
3573
- ),
3574
- ),
3575
- ),
3576
- ),
3577
- ),
3578
- ),
3579
- 'Count' => array(
3580
- 'type' => 'numeric',
3581
- 'location' => 'json',
3582
- ),
3583
- 'ScannedCount' => array(
3584
- 'type' => 'numeric',
3585
- 'location' => 'json',
3586
- ),
3587
- 'LastEvaluatedKey' => array(
3588
- 'type' => 'object',
3589
- 'location' => 'json',
3590
- 'additionalProperties' => array(
3591
- 'type' => 'object',
3592
- 'properties' => array(
3593
- 'S' => array(
3594
- 'type' => 'string',
3595
- ),
3596
- 'N' => array(
3597
- 'type' => 'string',
3598
- ),
3599
- 'B' => array(
3600
- 'type' => 'string',
3601
- 'filters' => array(
3602
- 'base64_decode',
3603
- ),
3604
- ),
3605
- 'SS' => array(
3606
- 'type' => 'array',
3607
- 'items' => array(
3608
- 'name' => 'StringAttributeValue',
3609
- 'type' => 'string',
3610
- ),
3611
- ),
3612
- 'NS' => array(
3613
- 'type' => 'array',
3614
- 'items' => array(
3615
- 'name' => 'NumberAttributeValue',
3616
- 'type' => 'string',
3617
- ),
3618
- ),
3619
- 'BS' => array(
3620
- 'type' => 'array',
3621
- 'items' => array(
3622
- 'name' => 'BinaryAttributeValue',
3623
- 'type' => 'string',
3624
- 'filters' => array(
3625
- 'base64_decode',
3626
- ),
3627
- ),
3628
- ),
3629
- ),
3630
- ),
3631
- ),
3632
- 'ConsumedCapacity' => array(
3633
- 'type' => 'object',
3634
- 'location' => 'json',
3635
- 'properties' => array(
3636
- 'TableName' => array(
3637
- 'type' => 'string',
3638
- ),
3639
- 'CapacityUnits' => array(
3640
- 'type' => 'numeric',
3641
- ),
3642
- 'Table' => array(
3643
- 'type' => 'object',
3644
- 'properties' => array(
3645
- 'CapacityUnits' => array(
3646
- 'type' => 'numeric',
3647
- ),
3648
- ),
3649
- ),
3650
- 'LocalSecondaryIndexes' => array(
3651
- 'type' => 'object',
3652
- 'additionalProperties' => array(
3653
- 'type' => 'object',
3654
- 'properties' => array(
3655
- 'CapacityUnits' => array(
3656
- 'type' => 'numeric',
3657
- ),
3658
- ),
3659
- ),
3660
- ),
3661
- 'GlobalSecondaryIndexes' => array(
3662
- 'type' => 'object',
3663
- 'additionalProperties' => array(
3664
- 'type' => 'object',
3665
- 'properties' => array(
3666
- 'CapacityUnits' => array(
3667
- 'type' => 'numeric',
3668
- ),
3669
- ),
3670
- ),
3671
- ),
3672
- ),
3673
- ),
3674
- ),
3675
- ),
3676
- 'ScanOutput' => array(
3677
- 'type' => 'object',
3678
- 'additionalProperties' => true,
3679
- 'properties' => array(
3680
- 'Items' => array(
3681
- 'type' => 'array',
3682
- 'location' => 'json',
3683
- 'items' => array(
3684
- 'name' => 'AttributeMap',
3685
- 'type' => 'object',
3686
- 'additionalProperties' => array(
3687
- 'type' => 'object',
3688
- 'properties' => array(
3689
- 'S' => array(
3690
- 'type' => 'string',
3691
- ),
3692
- 'N' => array(
3693
- 'type' => 'string',
3694
- ),
3695
- 'B' => array(
3696
- 'type' => 'string',
3697
- 'filters' => array(
3698
- 'base64_decode',
3699
- ),
3700
- ),
3701
- 'SS' => array(
3702
- 'type' => 'array',
3703
- 'items' => array(
3704
- 'name' => 'StringAttributeValue',
3705
- 'type' => 'string',
3706
- ),
3707
- ),
3708
- 'NS' => array(
3709
- 'type' => 'array',
3710
- 'items' => array(
3711
- 'name' => 'NumberAttributeValue',
3712
- 'type' => 'string',
3713
- ),
3714
- ),
3715
- 'BS' => array(
3716
- 'type' => 'array',
3717
- 'items' => array(
3718
- 'name' => 'BinaryAttributeValue',
3719
- 'type' => 'string',
3720
- 'filters' => array(
3721
- 'base64_decode',
3722
- ),
3723
- ),
3724
- ),
3725
- ),
3726
- ),
3727
- ),
3728
- ),
3729
- 'Count' => array(
3730
- 'type' => 'numeric',
3731
- 'location' => 'json',
3732
- ),
3733
- 'ScannedCount' => array(
3734
- 'type' => 'numeric',
3735
- 'location' => 'json',
3736
- ),
3737
- 'LastEvaluatedKey' => array(
3738
- 'type' => 'object',
3739
- 'location' => 'json',
3740
- 'additionalProperties' => array(
3741
- 'type' => 'object',
3742
- 'properties' => array(
3743
- 'S' => array(
3744
- 'type' => 'string',
3745
- ),
3746
- 'N' => array(
3747
- 'type' => 'string',
3748
- ),
3749
- 'B' => array(
3750
- 'type' => 'string',
3751
- 'filters' => array(
3752
- 'base64_decode',
3753
- ),
3754
- ),
3755
- 'SS' => array(
3756
- 'type' => 'array',
3757
- 'items' => array(
3758
- 'name' => 'StringAttributeValue',
3759
- 'type' => 'string',
3760
- ),
3761
- ),
3762
- 'NS' => array(
3763
- 'type' => 'array',
3764
- 'items' => array(
3765
- 'name' => 'NumberAttributeValue',
3766
- 'type' => 'string',
3767
- ),
3768
- ),
3769
- 'BS' => array(
3770
- 'type' => 'array',
3771
- 'items' => array(
3772
- 'name' => 'BinaryAttributeValue',
3773
- 'type' => 'string',
3774
- 'filters' => array(
3775
- 'base64_decode',
3776
- ),
3777
- ),
3778
- ),
3779
- ),
3780
- ),
3781
- ),
3782
- 'ConsumedCapacity' => array(
3783
- 'type' => 'object',
3784
- 'location' => 'json',
3785
- 'properties' => array(
3786
- 'TableName' => array(
3787
- 'type' => 'string',
3788
- ),
3789
- 'CapacityUnits' => array(
3790
- 'type' => 'numeric',
3791
- ),
3792
- 'Table' => array(
3793
- 'type' => 'object',
3794
- 'properties' => array(
3795
- 'CapacityUnits' => array(
3796
- 'type' => 'numeric',
3797
- ),
3798
- ),
3799
- ),
3800
- 'LocalSecondaryIndexes' => array(
3801
- 'type' => 'object',
3802
- 'additionalProperties' => array(
3803
- 'type' => 'object',
3804
- 'properties' => array(
3805
- 'CapacityUnits' => array(
3806
- 'type' => 'numeric',
3807
- ),
3808
- ),
3809
- ),
3810
- ),
3811
- 'GlobalSecondaryIndexes' => array(
3812
- 'type' => 'object',
3813
- 'additionalProperties' => array(
3814
- 'type' => 'object',
3815
- 'properties' => array(
3816
- 'CapacityUnits' => array(
3817
- 'type' => 'numeric',
3818
- ),
3819
- ),
3820
- ),
3821
- ),
3822
- ),
3823
- ),
3824
- ),
3825
- ),
3826
- 'UpdateItemOutput' => array(
3827
- 'type' => 'object',
3828
- 'additionalProperties' => true,
3829
- 'properties' => array(
3830
- 'Attributes' => array(
3831
- 'type' => 'object',
3832
- 'location' => 'json',
3833
- 'additionalProperties' => array(
3834
- 'type' => 'object',
3835
- 'properties' => array(
3836
- 'S' => array(
3837
- 'type' => 'string',
3838
- ),
3839
- 'N' => array(
3840
- 'type' => 'string',
3841
- ),
3842
- 'B' => array(
3843
- 'type' => 'string',
3844
- 'filters' => array(
3845
- 'base64_decode',
3846
- ),
3847
- ),
3848
- 'SS' => array(
3849
- 'type' => 'array',
3850
- 'items' => array(
3851
- 'name' => 'StringAttributeValue',
3852
- 'type' => 'string',
3853
- ),
3854
- ),
3855
- 'NS' => array(
3856
- 'type' => 'array',
3857
- 'items' => array(
3858
- 'name' => 'NumberAttributeValue',
3859
- 'type' => 'string',
3860
- ),
3861
- ),
3862
- 'BS' => array(
3863
- 'type' => 'array',
3864
- 'items' => array(
3865
- 'name' => 'BinaryAttributeValue',
3866
- 'type' => 'string',
3867
- 'filters' => array(
3868
- 'base64_decode',
3869
- ),
3870
- ),
3871
- ),
3872
- ),
3873
- ),
3874
- ),
3875
- 'ConsumedCapacity' => array(
3876
- 'type' => 'object',
3877
- 'location' => 'json',
3878
- 'properties' => array(
3879
- 'TableName' => array(
3880
- 'type' => 'string',
3881
- ),
3882
- 'CapacityUnits' => array(
3883
- 'type' => 'numeric',
3884
- ),
3885
- 'Table' => array(
3886
- 'type' => 'object',
3887
- 'properties' => array(
3888
- 'CapacityUnits' => array(
3889
- 'type' => 'numeric',
3890
- ),
3891
- ),
3892
- ),
3893
- 'LocalSecondaryIndexes' => array(
3894
- 'type' => 'object',
3895
- 'additionalProperties' => array(
3896
- 'type' => 'object',
3897
- 'properties' => array(
3898
- 'CapacityUnits' => array(
3899
- 'type' => 'numeric',
3900
- ),
3901
- ),
3902
- ),
3903
- ),
3904
- 'GlobalSecondaryIndexes' => array(
3905
- 'type' => 'object',
3906
- 'additionalProperties' => array(
3907
- 'type' => 'object',
3908
- 'properties' => array(
3909
- 'CapacityUnits' => array(
3910
- 'type' => 'numeric',
3911
- ),
3912
- ),
3913
- ),
3914
- ),
3915
- ),
3916
- ),
3917
- 'ItemCollectionMetrics' => array(
3918
- 'type' => 'object',
3919
- 'location' => 'json',
3920
- 'properties' => array(
3921
- 'ItemCollectionKey' => array(
3922
- 'type' => 'object',
3923
- 'additionalProperties' => array(
3924
- 'type' => 'object',
3925
- 'properties' => array(
3926
- 'S' => array(
3927
- 'type' => 'string',
3928
- ),
3929
- 'N' => array(
3930
- 'type' => 'string',
3931
- ),
3932
- 'B' => array(
3933
- 'type' => 'string',
3934
- 'filters' => array(
3935
- 'base64_decode',
3936
- ),
3937
- ),
3938
- 'SS' => array(
3939
- 'type' => 'array',
3940
- 'items' => array(
3941
- 'name' => 'StringAttributeValue',
3942
- 'type' => 'string',
3943
- ),
3944
- ),
3945
- 'NS' => array(
3946
- 'type' => 'array',
3947
- 'items' => array(
3948
- 'name' => 'NumberAttributeValue',
3949
- 'type' => 'string',
3950
- ),
3951
- ),
3952
- 'BS' => array(
3953
- 'type' => 'array',
3954
- 'items' => array(
3955
- 'name' => 'BinaryAttributeValue',
3956
- 'type' => 'string',
3957
- 'filters' => array(
3958
- 'base64_decode',
3959
- ),
3960
- ),
3961
- ),
3962
- ),
3963
- ),
3964
- ),
3965
- 'SizeEstimateRangeGB' => array(
3966
- 'type' => 'array',
3967
- 'items' => array(
3968
- 'name' => 'ItemCollectionSizeEstimateBound',
3969
- 'type' => 'numeric',
3970
- ),
3971
- ),
3972
- ),
3973
- ),
3974
- ),
3975
- ),
3976
- 'UpdateTableOutput' => array(
3977
- 'type' => 'object',
3978
- 'additionalProperties' => true,
3979
- 'properties' => array(
3980
- 'TableDescription' => array(
3981
- 'type' => 'object',
3982
- 'location' => 'json',
3983
- 'properties' => array(
3984
- 'AttributeDefinitions' => array(
3985
- 'type' => 'array',
3986
- 'items' => array(
3987
- 'name' => 'AttributeDefinition',
3988
- 'type' => 'object',
3989
- 'properties' => array(
3990
- 'AttributeName' => array(
3991
- 'type' => 'string',
3992
- ),
3993
- 'AttributeType' => array(
3994
- 'type' => 'string',
3995
- ),
3996
- ),
3997
- ),
3998
- ),
3999
- 'TableName' => array(
4000
- 'type' => 'string',
4001
- ),
4002
- 'KeySchema' => array(
4003
- 'type' => 'array',
4004
- 'items' => array(
4005
- 'name' => 'KeySchemaElement',
4006
- 'type' => 'object',
4007
- 'properties' => array(
4008
- 'AttributeName' => array(
4009
- 'type' => 'string',
4010
- ),
4011
- 'KeyType' => array(
4012
- 'type' => 'string',
4013
- ),
4014
- ),
4015
- ),
4016
- ),
4017
- 'TableStatus' => array(
4018
- 'type' => 'string',
4019
- ),
4020
- 'CreationDateTime' => array(
4021
- 'type' => 'string',
4022
- ),
4023
- 'ProvisionedThroughput' => array(
4024
- 'type' => 'object',
4025
- 'properties' => array(
4026
- 'LastIncreaseDateTime' => array(
4027
- 'type' => 'string',
4028
- ),
4029
- 'LastDecreaseDateTime' => array(
4030
- 'type' => 'string',
4031
- ),
4032
- 'NumberOfDecreasesToday' => array(
4033
- 'type' => 'numeric',
4034
- ),
4035
- 'ReadCapacityUnits' => array(
4036
- 'type' => 'numeric',
4037
- ),
4038
- 'WriteCapacityUnits' => array(
4039
- 'type' => 'numeric',
4040
- ),
4041
- ),
4042
- ),
4043
- 'TableSizeBytes' => array(
4044
- 'type' => 'numeric',
4045
- ),
4046
- 'ItemCount' => array(
4047
- 'type' => 'numeric',
4048
- ),
4049
- 'LocalSecondaryIndexes' => array(
4050
- 'type' => 'array',
4051
- 'items' => array(
4052
- 'name' => 'LocalSecondaryIndexDescription',
4053
- 'type' => 'object',
4054
- 'properties' => array(
4055
- 'IndexName' => array(
4056
- 'type' => 'string',
4057
- ),
4058
- 'KeySchema' => array(
4059
- 'type' => 'array',
4060
- 'items' => array(
4061
- 'name' => 'KeySchemaElement',
4062
- 'type' => 'object',
4063
- 'properties' => array(
4064
- 'AttributeName' => array(
4065
- 'type' => 'string',
4066
- ),
4067
- 'KeyType' => array(
4068
- 'type' => 'string',
4069
- ),
4070
- ),
4071
- ),
4072
- ),
4073
- 'Projection' => array(
4074
- 'type' => 'object',
4075
- 'properties' => array(
4076
- 'ProjectionType' => array(
4077
- 'type' => 'string',
4078
- ),
4079
- 'NonKeyAttributes' => array(
4080
- 'type' => 'array',
4081
- 'items' => array(
4082
- 'name' => 'NonKeyAttributeName',
4083
- 'type' => 'string',
4084
- ),
4085
- ),
4086
- ),
4087
- ),
4088
- 'IndexSizeBytes' => array(
4089
- 'type' => 'numeric',
4090
- ),
4091
- 'ItemCount' => array(
4092
- 'type' => 'numeric',
4093
- ),
4094
- ),
4095
- ),
4096
- ),
4097
- 'GlobalSecondaryIndexes' => array(
4098
- 'type' => 'array',
4099
- 'items' => array(
4100
- 'name' => 'GlobalSecondaryIndexDescription',
4101
- 'type' => 'object',
4102
- 'properties' => array(
4103
- 'IndexName' => array(
4104
- 'type' => 'string',
4105
- ),
4106
- 'KeySchema' => array(
4107
- 'type' => 'array',
4108
- 'items' => array(
4109
- 'name' => 'KeySchemaElement',
4110
- 'type' => 'object',
4111
- 'properties' => array(
4112
- 'AttributeName' => array(
4113
- 'type' => 'string',
4114
- ),
4115
- 'KeyType' => array(
4116
- 'type' => 'string',
4117
- ),
4118
- ),
4119
- ),
4120
- ),
4121
- 'Projection' => array(
4122
- 'type' => 'object',
4123
- 'properties' => array(
4124
- 'ProjectionType' => array(
4125
- 'type' => 'string',
4126
- ),
4127
- 'NonKeyAttributes' => array(
4128
- 'type' => 'array',
4129
- 'items' => array(
4130
- 'name' => 'NonKeyAttributeName',
4131
- 'type' => 'string',
4132
- ),
4133
- ),
4134
- ),
4135
- ),
4136
- 'IndexStatus' => array(
4137
- 'type' => 'string',
4138
- ),
4139
- 'ProvisionedThroughput' => array(
4140
- 'type' => 'object',
4141
- 'properties' => array(
4142
- 'LastIncreaseDateTime' => array(
4143
- 'type' => 'string',
4144
- ),
4145
- 'LastDecreaseDateTime' => array(
4146
- 'type' => 'string',
4147
- ),
4148
- 'NumberOfDecreasesToday' => array(
4149
- 'type' => 'numeric',
4150
- ),
4151
- 'ReadCapacityUnits' => array(
4152
- 'type' => 'numeric',
4153
- ),
4154
- 'WriteCapacityUnits' => array(
4155
- 'type' => 'numeric',
4156
- ),
4157
- ),
4158
- ),
4159
- 'IndexSizeBytes' => array(
4160
- 'type' => 'numeric',
4161
- ),
4162
- 'ItemCount' => array(
4163
- 'type' => 'numeric',
4164
- ),
4165
- ),
4166
- ),
4167
- ),
4168
- ),
4169
- ),
4170
- ),
4171
  ),
4172
  ),
4173
  'iterators' => array(
80
  'BatchGetItem' => array(
81
  'httpMethod' => 'POST',
82
  'uri' => '/',
83
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
84
+ 'responseClass' => 'JsonOutput',
85
  'responseType' => 'model',
86
  'parameters' => array(
87
  'Content-Type' => array(
98
  'location' => 'header',
99
  'default' => 'DynamoDB_20120810.BatchGetItem',
100
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  ),
102
+ 'additionalParameters' => array(
103
+ 'location' => 'json',
104
+ 'filters' => array(
105
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
106
  ),
107
  ),
108
  ),
109
  'BatchWriteItem' => array(
110
  'httpMethod' => 'POST',
111
  'uri' => '/',
112
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
113
+ 'responseClass' => 'JsonOutput',
114
  'responseType' => 'model',
115
  'parameters' => array(
116
  'Content-Type' => array(
127
  'location' => 'header',
128
  'default' => 'DynamoDB_20120810.BatchWriteItem',
129
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  ),
131
+ 'additionalParameters' => array(
132
+ 'location' => 'json',
133
+ 'filters' => array(
134
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
 
 
 
 
135
  ),
136
  ),
137
  ),
138
  'CreateTable' => array(
139
  'httpMethod' => 'POST',
140
  'uri' => '/',
141
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
142
+ 'responseClass' => 'JsonOutput',
143
  'responseType' => 'model',
144
  'parameters' => array(
145
  'Content-Type' => array(
156
  'location' => 'header',
157
  'default' => 'DynamoDB_20120810.CreateTable',
158
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  ),
160
+ 'additionalParameters' => array(
161
+ 'location' => 'json',
 
 
 
 
 
 
 
 
 
 
 
162
  ),
163
  ),
164
  'DeleteItem' => array(
165
  'httpMethod' => 'POST',
166
  'uri' => '/',
167
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
168
+ 'responseClass' => 'JsonOutput',
169
  'responseType' => 'model',
170
  'parameters' => array(
171
  'Content-Type' => array(
182
  'location' => 'header',
183
  'default' => 'DynamoDB_20120810.DeleteItem',
184
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  ),
186
+ 'additionalParameters' => array(
187
+ 'location' => 'json',
188
+ 'filters' => array(
189
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  ),
191
  ),
192
  ),
193
  'DeleteTable' => array(
194
  'httpMethod' => 'POST',
195
  'uri' => '/',
196
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
197
+ 'responseClass' => 'JsonOutput',
198
  'responseType' => 'model',
199
  'parameters' => array(
200
  'Content-Type' => array(
211
  'location' => 'header',
212
  'default' => 'DynamoDB_20120810.DeleteTable',
213
  ),
 
 
 
 
 
 
 
214
  ),
215
+ 'additionalParameters' => array(
216
+ 'location' => 'json',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  ),
218
  ),
219
  'DescribeTable' => array(
220
  'httpMethod' => 'POST',
221
  'uri' => '/',
222
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
223
+ 'responseClass' => 'JsonOutput',
224
  'responseType' => 'model',
225
  'parameters' => array(
226
  'Content-Type' => array(
237
  'location' => 'header',
238
  'default' => 'DynamoDB_20120810.DescribeTable',
239
  ),
 
 
 
 
 
 
 
240
  ),
241
+ 'additionalParameters' => array(
242
+ 'location' => 'json',
 
 
 
 
 
 
 
243
  ),
244
  ),
245
  'GetItem' => array(
246
  'httpMethod' => 'POST',
247
  'uri' => '/',
248
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
249
+ 'responseClass' => 'JsonOutput',
250
  'responseType' => 'model',
251
  'parameters' => array(
252
  'Content-Type' => array(
263
  'location' => 'header',
264
  'default' => 'DynamoDB_20120810.GetItem',
265
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  ),
267
+ 'additionalParameters' => array(
268
+ 'location' => 'json',
269
+ 'filters' => array(
270
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
271
  ),
272
  ),
273
  ),
274
  'ListTables' => array(
275
  'httpMethod' => 'POST',
276
  'uri' => '/',
277
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
278
+ 'responseClass' => 'JsonOutput',
279
  'responseType' => 'model',
280
  'parameters' => array(
281
  'Content-Type' => array(
292
  'location' => 'header',
293
  'default' => 'DynamoDB_20120810.ListTables',
294
  ),
 
 
 
 
 
 
 
 
 
 
 
 
295
  ),
296
+ 'additionalParameters' => array(
297
+ 'location' => 'json',
 
 
 
298
  ),
299
  ),
300
  'PutItem' => array(
301
  'httpMethod' => 'POST',
302
  'uri' => '/',
303
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
304
+ 'responseClass' => 'JsonOutput',
305
  'responseType' => 'model',
306
  'parameters' => array(
307
  'Content-Type' => array(
318
  'location' => 'header',
319
  'default' => 'DynamoDB_20120810.PutItem',
320
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  ),
322
+ 'additionalParameters' => array(
323
+ 'location' => 'json',
324
+ 'filters' => array(
325
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326
  ),
327
  ),
328
  ),
329
  'Query' => array(
330
  'httpMethod' => 'POST',
331
  'uri' => '/',
332
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
333
+ 'responseClass' => 'JsonOutput',
334
  'responseType' => 'model',
335
  'parameters' => array(
336
  'Content-Type' => array(
347
  'location' => 'header',
348
  'default' => 'DynamoDB_20120810.Query',
349
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  ),
351
+ 'additionalParameters' => array(
352
+ 'location' => 'json',
353
+ 'filters' => array(
354
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
355
  ),
356
  ),
357
  ),
358
  'Scan' => array(
359
  'httpMethod' => 'POST',
360
  'uri' => '/',
361
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
362
+ 'responseClass' => 'JsonOutput',
363
  'responseType' => 'model',
364
  'parameters' => array(
365
  'Content-Type' => array(
376
  'location' => 'header',
377
  'default' => 'DynamoDB_20120810.Scan',
378
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
379
  ),
380
+ 'additionalParameters' => array(
381
+ 'location' => 'json',
382
+ 'filters' => array(
383
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
384
  ),
385
  ),
386
  ),
387
  'UpdateItem' => array(
388
  'httpMethod' => 'POST',
389
  'uri' => '/',
390
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
391
+ 'responseClass' => 'JsonOutput',
392
  'responseType' => 'model',
393
  'parameters' => array(
394
  'Content-Type' => array(
405
  'location' => 'header',
406
  'default' => 'DynamoDB_20120810.UpdateItem',
407
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
408
  ),
409
+ 'additionalParameters' => array(
410
+ 'location' => 'json',
411
+ 'filters' => array(
412
+ 'Aws\DynamoDb\DynamoDbCommand::marshalAttributes',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
413
  ),
414
  ),
415
  ),
416
  'UpdateTable' => array(
417
  'httpMethod' => 'POST',
418
  'uri' => '/',
419
+ 'class' => 'Aws\\DynamoDb\\DynamoDbCommand',
420
+ 'responseClass' => 'JsonOutput',
421
  'responseType' => 'model',
422
  'parameters' => array(
423
  'Content-Type' => array(
434
  'location' => 'header',
435
  'default' => 'DynamoDB_20120810.UpdateTable',
436
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
437
  ),
438
+ 'additionalParameters' => array(
439
+ 'location' => 'json',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
440
  ),
441
  ),
442
  ),
443
  'models' => array(
444
+ 'JsonOutput' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
445
  'type' => 'object',
446
+ 'additionalProperties' => array(
447
+ 'location' => 'json',
448
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
449
  ),
450
  ),
451
  'iterators' => array(
vendor/aws/Aws/Ec2/Ec2Client.php CHANGED
@@ -19,7 +19,6 @@ namespace Aws\Ec2;
19
  use Aws\Common\Client\AbstractClient;
20
  use Aws\Common\Client\ClientBuilder;
21
  use Aws\Common\Enum\ClientOptions as Options;
22
- use Aws\Common\Signature\SignatureV4;
23
  use Guzzle\Common\Collection;
24
  use Guzzle\Service\Resource\Model;
25
  use Guzzle\Service\Resource\ResourceIteratorInterface;
@@ -33,6 +32,7 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
33
  * @method Model associateAddress(array $args = array()) {@command Ec2 AssociateAddress}
34
  * @method Model associateDhcpOptions(array $args = array()) {@command Ec2 AssociateDhcpOptions}
35
  * @method Model associateRouteTable(array $args = array()) {@command Ec2 AssociateRouteTable}
 
36
  * @method Model attachInternetGateway(array $args = array()) {@command Ec2 AttachInternetGateway}
37
  * @method Model attachNetworkInterface(array $args = array()) {@command Ec2 AttachNetworkInterface}
38
  * @method Model attachVolume(array $args = array()) {@command Ec2 AttachVolume}
@@ -98,6 +98,7 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
98
  * @method Model describeAddresses(array $args = array()) {@command Ec2 DescribeAddresses}
99
  * @method Model describeAvailabilityZones(array $args = array()) {@command Ec2 DescribeAvailabilityZones}
100
  * @method Model describeBundleTasks(array $args = array()) {@command Ec2 DescribeBundleTasks}
 
101
  * @method Model describeConversionTasks(array $args = array()) {@command Ec2 DescribeConversionTasks}
102
  * @method Model describeCustomerGateways(array $args = array()) {@command Ec2 DescribeCustomerGateways}
103
  * @method Model describeDhcpOptions(array $args = array()) {@command Ec2 DescribeDhcpOptions}
@@ -131,19 +132,23 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
131
  * @method Model describeVolumeStatus(array $args = array()) {@command Ec2 DescribeVolumeStatus}
132
  * @method Model describeVolumes(array $args = array()) {@command Ec2 DescribeVolumes}
133
  * @method Model describeVpcAttribute(array $args = array()) {@command Ec2 DescribeVpcAttribute}
 
134
  * @method Model describeVpcPeeringConnections(array $args = array()) {@command Ec2 DescribeVpcPeeringConnections}
135
  * @method Model describeVpcs(array $args = array()) {@command Ec2 DescribeVpcs}
136
  * @method Model describeVpnConnections(array $args = array()) {@command Ec2 DescribeVpnConnections}
137
  * @method Model describeVpnGateways(array $args = array()) {@command Ec2 DescribeVpnGateways}
 
138
  * @method Model detachInternetGateway(array $args = array()) {@command Ec2 DetachInternetGateway}
139
  * @method Model detachNetworkInterface(array $args = array()) {@command Ec2 DetachNetworkInterface}
140
  * @method Model detachVolume(array $args = array()) {@command Ec2 DetachVolume}
141
  * @method Model detachVpnGateway(array $args = array()) {@command Ec2 DetachVpnGateway}
142
  * @method Model disableVgwRoutePropagation(array $args = array()) {@command Ec2 DisableVgwRoutePropagation}
 
143
  * @method Model disassociateAddress(array $args = array()) {@command Ec2 DisassociateAddress}
144
  * @method Model disassociateRouteTable(array $args = array()) {@command Ec2 DisassociateRouteTable}
145
  * @method Model enableVgwRoutePropagation(array $args = array()) {@command Ec2 EnableVgwRoutePropagation}
146
  * @method Model enableVolumeIO(array $args = array()) {@command Ec2 EnableVolumeIO}
 
147
  * @method Model getConsoleOutput(array $args = array()) {@command Ec2 GetConsoleOutput}
148
  * @method Model getPasswordData(array $args = array()) {@command Ec2 GetPasswordData}
149
  * @method Model importInstance(array $args = array()) {@command Ec2 ImportInstance}
@@ -181,7 +186,6 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
181
  * @method Model terminateInstances(array $args = array()) {@command Ec2 TerminateInstances}
182
  * @method Model unassignPrivateIpAddresses(array $args = array()) {@command Ec2 UnassignPrivateIpAddresses}
183
  * @method Model unmonitorInstances(array $args = array()) {@command Ec2 UnmonitorInstances}
184
- * @method waitUntilSpotInstanceRequestFulfilled(array $input) The input array uses the parameters of the DescribeSpotInstanceRequests operation and waiter specific settings
185
  * @method waitUntilInstanceRunning(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
186
  * @method waitUntilInstanceStopped(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
187
  * @method waitUntilInstanceTerminated(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
@@ -238,10 +242,10 @@ use Guzzle\Service\Resource\ResourceIteratorInterface;
238
  */
239
  class Ec2Client extends AbstractClient
240
  {
241
- const LATEST_API_VERSION = '2014-06-15';
242
 
243
  /**
244
- * Factory method to create a new AWS Elastic Beanstalk client using an array of configuration options.
245
  *
246
  * @param array|Collection $config Client configuration data
247
  *
@@ -250,10 +254,6 @@ class Ec2Client extends AbstractClient
250
  */
251
  public static function factory($config = array())
252
  {
253
- if (isset($config['region']) && substr($config['region'], 0, 3) == 'cn-') {
254
- $config[Options::SIGNATURE] = new SignatureV4();
255
- }
256
-
257
  $client = ClientBuilder::factory(__NAMESPACE__)
258
  ->setConfig($config)
259
  ->setConfigDefaults(array(
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;
32
  * @method Model associateAddress(array $args = array()) {@command Ec2 AssociateAddress}
33
  * @method Model associateDhcpOptions(array $args = array()) {@command Ec2 AssociateDhcpOptions}
34
  * @method Model associateRouteTable(array $args = array()) {@command Ec2 AssociateRouteTable}
35
+ * @method Model attachClassicLinkVpc(array $args = array()) {@command Ec2 AttachClassicLinkVpc}
36
  * @method Model attachInternetGateway(array $args = array()) {@command Ec2 AttachInternetGateway}
37
  * @method Model attachNetworkInterface(array $args = array()) {@command Ec2 AttachNetworkInterface}
38
  * @method Model attachVolume(array $args = array()) {@command Ec2 AttachVolume}
98
  * @method Model describeAddresses(array $args = array()) {@command Ec2 DescribeAddresses}
99
  * @method Model describeAvailabilityZones(array $args = array()) {@command Ec2 DescribeAvailabilityZones}
100
  * @method Model describeBundleTasks(array $args = array()) {@command Ec2 DescribeBundleTasks}
101
+ * @method Model describeClassicLinkInstances(array $args = array()) {@command Ec2 DescribeClassicLinkInstances}
102
  * @method Model describeConversionTasks(array $args = array()) {@command Ec2 DescribeConversionTasks}
103
  * @method Model describeCustomerGateways(array $args = array()) {@command Ec2 DescribeCustomerGateways}
104
  * @method Model describeDhcpOptions(array $args = array()) {@command Ec2 DescribeDhcpOptions}
132
  * @method Model describeVolumeStatus(array $args = array()) {@command Ec2 DescribeVolumeStatus}
133
  * @method Model describeVolumes(array $args = array()) {@command Ec2 DescribeVolumes}
134
  * @method Model describeVpcAttribute(array $args = array()) {@command Ec2 DescribeVpcAttribute}
135
+ * @method Model describeVpcClassicLink(array $args = array()) {@command Ec2 DescribeVpcClassicLink}
136
  * @method Model describeVpcPeeringConnections(array $args = array()) {@command Ec2 DescribeVpcPeeringConnections}
137
  * @method Model describeVpcs(array $args = array()) {@command Ec2 DescribeVpcs}
138
  * @method Model describeVpnConnections(array $args = array()) {@command Ec2 DescribeVpnConnections}
139
  * @method Model describeVpnGateways(array $args = array()) {@command Ec2 DescribeVpnGateways}
140
+ * @method Model detachClassicLinkVpc(array $args = array()) {@command Ec2 DetachClassicLinkVpc}
141
  * @method Model detachInternetGateway(array $args = array()) {@command Ec2 DetachInternetGateway}
142
  * @method Model detachNetworkInterface(array $args = array()) {@command Ec2 DetachNetworkInterface}
143
  * @method Model detachVolume(array $args = array()) {@command Ec2 DetachVolume}
144
  * @method Model detachVpnGateway(array $args = array()) {@command Ec2 DetachVpnGateway}
145
  * @method Model disableVgwRoutePropagation(array $args = array()) {@command Ec2 DisableVgwRoutePropagation}
146
+ * @method Model disableVpcClassicLink(array $args = array()) {@command Ec2 DisableVpcClassicLink}
147
  * @method Model disassociateAddress(array $args = array()) {@command Ec2 DisassociateAddress}
148
  * @method Model disassociateRouteTable(array $args = array()) {@command Ec2 DisassociateRouteTable}
149
  * @method Model enableVgwRoutePropagation(array $args = array()) {@command Ec2 EnableVgwRoutePropagation}
150
  * @method Model enableVolumeIO(array $args = array()) {@command Ec2 EnableVolumeIO}
151
+ * @method Model enableVpcClassicLink(array $args = array()) {@command Ec2 EnableVpcClassicLink}
152
  * @method Model getConsoleOutput(array $args = array()) {@command Ec2 GetConsoleOutput}
153
  * @method Model getPasswordData(array $args = array()) {@command Ec2 GetPasswordData}
154
  * @method Model importInstance(array $args = array()) {@command Ec2 ImportInstance}
186
  * @method Model terminateInstances(array $args = array()) {@command Ec2 TerminateInstances}
187
  * @method Model unassignPrivateIpAddresses(array $args = array()) {@command Ec2 UnassignPrivateIpAddresses}
188
  * @method Model unmonitorInstances(array $args = array()) {@command Ec2 UnmonitorInstances}
 
189
  * @method waitUntilInstanceRunning(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
190
  * @method waitUntilInstanceStopped(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
191
  * @method waitUntilInstanceTerminated(array $input) The input array uses the parameters of the DescribeInstances operation and waiter specific settings
242
  */
243
  class Ec2Client extends AbstractClient
244
  {
245
+ const LATEST_API_VERSION = '2014-10-01';
246
 
247
  /**
248
+ * Factory method to create a new AWS Elastic Compute Cloud client using an array of configuration options.
249
  *
250
  * @param array|Collection $config Client configuration data
251
  *
254
  */
255
  public static function factory($config = array())
256
  {
 
 
 
 
257
  $client = ClientBuilder::factory(__NAMESPACE__)
258
  ->setConfig($config)
259
  ->setConfigDefaults(array(
vendor/aws/Aws/Ec2/Resources/ec2-2014-06-15.php CHANGED
@@ -20,7 +20,7 @@ return array (
20
  'serviceFullName' => 'Amazon Elastic Compute Cloud',
21
  'serviceAbbreviation' => 'Amazon EC2',
22
  'serviceType' => 'query',
23
- 'signatureVersion' => 'v2',
24
  'namespace' => 'Ec2',
25
  'regions' => array(
26
  'us-east-1' => array(
@@ -10788,6 +10788,26 @@ return array (
10788
  ),
10789
  ),
10790
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10791
  ),
10792
  ),
10793
  'DescribeInstanceStatusResult' => array(
20
  'serviceFullName' => 'Amazon Elastic Compute Cloud',
21
  'serviceAbbreviation' => 'Amazon EC2',
22
  'serviceType' => 'query',
23
+ 'signatureVersion' => 'v4',
24
  'namespace' => 'Ec2',
25
  'regions' => array(
26
  'us-east-1' => array(
10788
  ),
10789
  ),
10790
  ),
10791
+ 'Groups' => array(
10792
+ 'type' => 'array',
10793
+ 'location' => 'xml',
10794
+ 'sentAs' => 'groupSet',
10795
+ 'items' => array(
10796
+ 'name' => 'item',
10797
+ 'type' => 'object',
10798
+ 'sentAs' => 'item',
10799
+ 'properties' => array(
10800
+ 'GroupName' => array(
10801
+ 'type' => 'string',
10802
+ 'sentAs' => 'groupName',
10803
+ ),
10804
+ 'GroupId' => array(
10805
+ 'type' => 'string',
10806
+ 'sentAs' => 'groupId',
10807
+ ),
10808
+ ),
10809
+ ),
10810
+ ),
10811
  ),
10812
  ),
10813
  'DescribeInstanceStatusResult' => array(
vendor/aws/Aws/Ec2/Resources/ec2-2014-09-01.php ADDED
@@ -0,0 +1,15873 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-09-01',
19
+ 'endpointPrefix' => 'ec2',
20
+ 'serviceFullName' => 'Amazon Elastic Compute Cloud',
21
+ 'serviceAbbreviation' => 'Amazon EC2',
22
+ 'serviceType' => 'query',
23
+ 'signatureVersion' => 'v4',
24
+ 'namespace' => 'Ec2',
25
+ 'regions' => array(
26
+ 'us-east-1' => array(
27
+ 'http' => true,
28
+ 'https' => true,
29
+ 'hostname' => 'ec2.us-east-1.amazonaws.com',
30
+ ),
31
+ 'us-west-1' => array(
32
+ 'http' => true,
33
+ 'https' => true,
34
+ 'hostname' => 'ec2.us-west-1.amazonaws.com',
35
+ ),
36
+ 'us-west-2' => array(
37
+ 'http' => true,
38
+ 'https' => true,
39
+ 'hostname' => 'ec2.us-west-2.amazonaws.com',
40
+ ),
41
+ 'eu-west-1' => array(
42
+ 'http' => true,
43
+ 'https' => true,
44
+ 'hostname' => 'ec2.eu-west-1.amazonaws.com',
45
+ ),
46
+ 'ap-northeast-1' => array(
47
+ 'http' => true,
48
+ 'https' => true,
49
+ 'hostname' => 'ec2.ap-northeast-1.amazonaws.com',
50
+ ),
51
+ 'ap-southeast-1' => array(
52
+ 'http' => true,
53
+ 'https' => true,
54
+ 'hostname' => 'ec2.ap-southeast-1.amazonaws.com',
55
+ ),
56
+ 'ap-southeast-2' => array(
57
+ 'http' => true,
58
+ 'https' => true,
59
+ 'hostname' => 'ec2.ap-southeast-2.amazonaws.com',
60
+ ),
61
+ 'sa-east-1' => array(
62
+ 'http' => true,
63
+ 'https' => true,
64
+ 'hostname' => 'ec2.sa-east-1.amazonaws.com',
65
+ ),
66
+ 'cn-north-1' => array(
67
+ 'http' => true,
68
+ 'https' => true,
69
+ 'hostname' => 'ec2.cn-north-1.amazonaws.com.cn',
70
+ ),
71
+ 'us-gov-west-1' => array(
72
+ 'http' => false,
73
+ 'https' => true,
74
+ 'hostname' => 'ec2.us-gov-west-1.amazonaws.com',
75
+ ),
76
+ ),
77
+ 'operations' => array(
78
+ 'AcceptVpcPeeringConnection' => array(
79
+ 'httpMethod' => 'POST',
80
+ 'uri' => '/',
81
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
82
+ 'responseClass' => 'AcceptVpcPeeringConnectionResult',
83
+ 'responseType' => 'model',
84
+ 'parameters' => array(
85
+ 'Action' => array(
86
+ 'static' => true,
87
+ 'location' => 'aws.query',
88
+ 'default' => 'AcceptVpcPeeringConnection',
89
+ ),
90
+ 'Version' => array(
91
+ 'static' => true,
92
+ 'location' => 'aws.query',
93
+ 'default' => '2014-09-01',
94
+ ),
95
+ 'DryRun' => array(
96
+ 'type' => 'boolean',
97
+ 'format' => 'boolean-string',
98
+ 'location' => 'aws.query',
99
+ ),
100
+ 'VpcPeeringConnectionId' => array(
101
+ 'type' => 'string',
102
+ 'location' => 'aws.query',
103
+ ),
104
+ ),
105
+ ),
106
+ 'AllocateAddress' => array(
107
+ 'httpMethod' => 'POST',
108
+ 'uri' => '/',
109
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
110
+ 'responseClass' => 'AllocateAddressResult',
111
+ 'responseType' => 'model',
112
+ 'parameters' => array(
113
+ 'Action' => array(
114
+ 'static' => true,
115
+ 'location' => 'aws.query',
116
+ 'default' => 'AllocateAddress',
117
+ ),
118
+ 'Version' => array(
119
+ 'static' => true,
120
+ 'location' => 'aws.query',
121
+ 'default' => '2014-09-01',
122
+ ),
123
+ 'DryRun' => array(
124
+ 'type' => 'boolean',
125
+ 'format' => 'boolean-string',
126
+ 'location' => 'aws.query',
127
+ ),
128
+ 'Domain' => array(
129
+ 'type' => 'string',
130
+ 'location' => 'aws.query',
131
+ ),
132
+ ),
133
+ ),
134
+ 'AssignPrivateIpAddresses' => array(
135
+ 'httpMethod' => 'POST',
136
+ 'uri' => '/',
137
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
138
+ 'responseClass' => 'EmptyOutput',
139
+ 'responseType' => 'model',
140
+ 'parameters' => array(
141
+ 'Action' => array(
142
+ 'static' => true,
143
+ 'location' => 'aws.query',
144
+ 'default' => 'AssignPrivateIpAddresses',
145
+ ),
146
+ 'Version' => array(
147
+ 'static' => true,
148
+ 'location' => 'aws.query',
149
+ 'default' => '2014-09-01',
150
+ ),
151
+ 'NetworkInterfaceId' => array(
152
+ 'required' => true,
153
+ 'type' => 'string',
154
+ 'location' => 'aws.query',
155
+ ),
156
+ 'PrivateIpAddresses' => array(
157
+ 'type' => 'array',
158
+ 'location' => 'aws.query',
159
+ 'sentAs' => 'PrivateIpAddress',
160
+ 'items' => array(
161
+ 'name' => 'PrivateIpAddress',
162
+ 'type' => 'string',
163
+ ),
164
+ ),
165
+ 'SecondaryPrivateIpAddressCount' => array(
166
+ 'type' => 'numeric',
167
+ 'location' => 'aws.query',
168
+ ),
169
+ 'AllowReassignment' => array(
170
+ 'type' => 'boolean',
171
+ 'format' => 'boolean-string',
172
+ 'location' => 'aws.query',
173
+ ),
174
+ ),
175
+ ),
176
+ 'AssociateAddress' => array(
177
+ 'httpMethod' => 'POST',
178
+ 'uri' => '/',
179
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
180
+ 'responseClass' => 'AssociateAddressResult',
181
+ 'responseType' => 'model',
182
+ 'parameters' => array(
183
+ 'Action' => array(
184
+ 'static' => true,
185
+ 'location' => 'aws.query',
186
+ 'default' => 'AssociateAddress',
187
+ ),
188
+ 'Version' => array(
189
+ 'static' => true,
190
+ 'location' => 'aws.query',
191
+ 'default' => '2014-09-01',
192
+ ),
193
+ 'DryRun' => array(
194
+ 'type' => 'boolean',
195
+ 'format' => 'boolean-string',
196
+ 'location' => 'aws.query',
197
+ ),
198
+ 'InstanceId' => array(
199
+ 'type' => 'string',
200
+ 'location' => 'aws.query',
201
+ ),
202
+ 'PublicIp' => array(
203
+ 'type' => 'string',
204
+ 'location' => 'aws.query',
205
+ ),
206
+ 'AllocationId' => array(
207
+ 'type' => 'string',
208
+ 'location' => 'aws.query',
209
+ ),
210
+ 'NetworkInterfaceId' => array(
211
+ 'type' => 'string',
212
+ 'location' => 'aws.query',
213
+ ),
214
+ 'PrivateIpAddress' => array(
215
+ 'type' => 'string',
216
+ 'location' => 'aws.query',
217
+ ),
218
+ 'AllowReassociation' => array(
219
+ 'type' => 'boolean',
220
+ 'format' => 'boolean-string',
221
+ 'location' => 'aws.query',
222
+ ),
223
+ ),
224
+ ),
225
+ 'AssociateDhcpOptions' => array(
226
+ 'httpMethod' => 'POST',
227
+ 'uri' => '/',
228
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
229
+ 'responseClass' => 'EmptyOutput',
230
+ 'responseType' => 'model',
231
+ 'parameters' => array(
232
+ 'Action' => array(
233
+ 'static' => true,
234
+ 'location' => 'aws.query',
235
+ 'default' => 'AssociateDhcpOptions',
236
+ ),
237
+ 'Version' => array(
238
+ 'static' => true,
239
+ 'location' => 'aws.query',
240
+ 'default' => '2014-09-01',
241
+ ),
242
+ 'DryRun' => array(
243
+ 'type' => 'boolean',
244
+ 'format' => 'boolean-string',
245
+ 'location' => 'aws.query',
246
+ ),
247
+ 'DhcpOptionsId' => array(
248
+ 'required' => true,
249
+ 'type' => 'string',
250
+ 'location' => 'aws.query',
251
+ ),
252
+ 'VpcId' => array(
253
+ 'required' => true,
254
+ 'type' => 'string',
255
+ 'location' => 'aws.query',
256
+ ),
257
+ ),
258
+ ),
259
+ 'AssociateRouteTable' => array(
260
+ 'httpMethod' => 'POST',
261
+ 'uri' => '/',
262
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
263
+ 'responseClass' => 'AssociateRouteTableResult',
264
+ 'responseType' => 'model',
265
+ 'parameters' => array(
266
+ 'Action' => array(
267
+ 'static' => true,
268
+ 'location' => 'aws.query',
269
+ 'default' => 'AssociateRouteTable',
270
+ ),
271
+ 'Version' => array(
272
+ 'static' => true,
273
+ 'location' => 'aws.query',
274
+ 'default' => '2014-09-01',
275
+ ),
276
+ 'DryRun' => array(
277
+ 'type' => 'boolean',
278
+ 'format' => 'boolean-string',
279
+ 'location' => 'aws.query',
280
+ ),
281
+ 'SubnetId' => array(
282
+ 'required' => true,
283
+ 'type' => 'string',
284
+ 'location' => 'aws.query',
285
+ ),
286
+ 'RouteTableId' => array(
287
+ 'required' => true,
288
+ 'type' => 'string',
289
+ 'location' => 'aws.query',
290
+ ),
291
+ ),
292
+ ),
293
+ 'AttachInternetGateway' => array(
294
+ 'httpMethod' => 'POST',
295
+ 'uri' => '/',
296
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
297
+ 'responseClass' => 'EmptyOutput',
298
+ 'responseType' => 'model',
299
+ 'parameters' => array(
300
+ 'Action' => array(
301
+ 'static' => true,
302
+ 'location' => 'aws.query',
303
+ 'default' => 'AttachInternetGateway',
304
+ ),
305
+ 'Version' => array(
306
+ 'static' => true,
307
+ 'location' => 'aws.query',
308
+ 'default' => '2014-09-01',
309
+ ),
310
+ 'DryRun' => array(
311
+ 'type' => 'boolean',
312
+ 'format' => 'boolean-string',
313
+ 'location' => 'aws.query',
314
+ ),
315
+ 'InternetGatewayId' => array(
316
+ 'required' => true,
317
+ 'type' => 'string',
318
+ 'location' => 'aws.query',
319
+ ),
320
+ 'VpcId' => array(
321
+ 'required' => true,
322
+ 'type' => 'string',
323
+ 'location' => 'aws.query',
324
+ ),
325
+ ),
326
+ ),
327
+ 'AttachNetworkInterface' => array(
328
+ 'httpMethod' => 'POST',
329
+ 'uri' => '/',
330
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
331
+ 'responseClass' => 'AttachNetworkInterfaceResult',
332
+ 'responseType' => 'model',
333
+ 'parameters' => array(
334
+ 'Action' => array(
335
+ 'static' => true,
336
+ 'location' => 'aws.query',
337
+ 'default' => 'AttachNetworkInterface',
338
+ ),
339
+ 'Version' => array(
340
+ 'static' => true,
341
+ 'location' => 'aws.query',
342
+ 'default' => '2014-09-01',
343
+ ),
344
+ 'DryRun' => array(
345
+ 'type' => 'boolean',
346
+ 'format' => 'boolean-string',
347
+ 'location' => 'aws.query',
348
+ ),
349
+ 'NetworkInterfaceId' => array(
350
+ 'required' => true,
351
+ 'type' => 'string',
352
+ 'location' => 'aws.query',
353
+ ),
354
+ 'InstanceId' => array(
355
+ 'required' => true,
356
+ 'type' => 'string',
357
+ 'location' => 'aws.query',
358
+ ),
359
+ 'DeviceIndex' => array(
360
+ 'required' => true,
361
+ 'type' => 'numeric',
362
+ 'location' => 'aws.query',
363
+ ),
364
+ ),
365
+ ),
366
+ 'AttachVolume' => array(
367
+ 'httpMethod' => 'POST',
368
+ 'uri' => '/',
369
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
370
+ 'responseClass' => 'attachment',
371
+ 'responseType' => 'model',
372
+ 'parameters' => array(
373
+ 'Action' => array(
374
+ 'static' => true,
375
+ 'location' => 'aws.query',
376
+ 'default' => 'AttachVolume',
377
+ ),
378
+ 'Version' => array(
379
+ 'static' => true,
380
+ 'location' => 'aws.query',
381
+ 'default' => '2014-09-01',
382
+ ),
383
+ 'DryRun' => array(
384
+ 'type' => 'boolean',
385
+ 'format' => 'boolean-string',
386
+ 'location' => 'aws.query',
387
+ ),
388
+ 'VolumeId' => array(
389
+ 'required' => true,
390
+ 'type' => 'string',
391
+ 'location' => 'aws.query',
392
+ ),
393
+ 'InstanceId' => array(
394
+ 'required' => true,
395
+ 'type' => 'string',
396
+ 'location' => 'aws.query',
397
+ ),
398
+ 'Device' => array(
399
+ 'required' => true,
400
+ 'type' => 'string',
401
+ 'location' => 'aws.query',
402
+ ),
403
+ ),
404
+ ),
405
+ 'AttachVpnGateway' => array(
406
+ 'httpMethod' => 'POST',
407
+ 'uri' => '/',
408
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
409
+ 'responseClass' => 'AttachVpnGatewayResult',
410
+ 'responseType' => 'model',
411
+ 'parameters' => array(
412
+ 'Action' => array(
413
+ 'static' => true,
414
+ 'location' => 'aws.query',
415
+ 'default' => 'AttachVpnGateway',
416
+ ),
417
+ 'Version' => array(
418
+ 'static' => true,
419
+ 'location' => 'aws.query',
420
+ 'default' => '2014-09-01',
421
+ ),
422
+ 'DryRun' => array(
423
+ 'type' => 'boolean',
424
+ 'format' => 'boolean-string',
425
+ 'location' => 'aws.query',
426
+ ),
427
+ 'VpnGatewayId' => array(
428
+ 'required' => true,
429
+ 'type' => 'string',
430
+ 'location' => 'aws.query',
431
+ ),
432
+ 'VpcId' => array(
433
+ 'required' => true,
434
+ 'type' => 'string',
435
+ 'location' => 'aws.query',
436
+ ),
437
+ ),
438
+ ),
439
+ 'AuthorizeSecurityGroupEgress' => array(
440
+ 'httpMethod' => 'POST',
441
+ 'uri' => '/',
442
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
443
+ 'responseClass' => 'EmptyOutput',
444
+ 'responseType' => 'model',
445
+ 'parameters' => array(
446
+ 'Action' => array(
447
+ 'static' => true,
448
+ 'location' => 'aws.query',
449
+ 'default' => 'AuthorizeSecurityGroupEgress',
450
+ ),
451
+ 'Version' => array(
452
+ 'static' => true,
453
+ 'location' => 'aws.query',
454
+ 'default' => '2014-09-01',
455
+ ),
456
+ 'DryRun' => array(
457
+ 'type' => 'boolean',
458
+ 'format' => 'boolean-string',
459
+ 'location' => 'aws.query',
460
+ ),
461
+ 'GroupId' => array(
462
+ 'required' => true,
463
+ 'type' => 'string',
464
+ 'location' => 'aws.query',
465
+ ),
466
+ 'SourceSecurityGroupName' => array(
467
+ 'type' => 'string',
468
+ 'location' => 'aws.query',
469
+ ),
470
+ 'SourceSecurityGroupOwnerId' => array(
471
+ 'type' => 'string',
472
+ 'location' => 'aws.query',
473
+ ),
474
+ 'IpProtocol' => array(
475
+ 'type' => 'string',
476
+ 'location' => 'aws.query',
477
+ ),
478
+ 'FromPort' => array(
479
+ 'type' => 'numeric',
480
+ 'location' => 'aws.query',
481
+ ),
482
+ 'ToPort' => array(
483
+ 'type' => 'numeric',
484
+ 'location' => 'aws.query',
485
+ ),
486
+ 'CidrIp' => array(
487
+ 'type' => 'string',
488
+ 'location' => 'aws.query',
489
+ ),
490
+ 'IpPermissions' => array(
491
+ 'type' => 'array',
492
+ 'location' => 'aws.query',
493
+ 'items' => array(
494
+ 'name' => 'IpPermission',
495
+ 'type' => 'object',
496
+ 'properties' => array(
497
+ 'IpProtocol' => array(
498
+ 'type' => 'string',
499
+ ),
500
+ 'FromPort' => array(
501
+ 'type' => 'numeric',
502
+ ),
503
+ 'ToPort' => array(
504
+ 'type' => 'numeric',
505
+ ),
506
+ 'UserIdGroupPairs' => array(
507
+ 'type' => 'array',
508
+ 'sentAs' => 'Groups',
509
+ 'items' => array(
510
+ 'name' => 'Groups',
511
+ 'type' => 'object',
512
+ 'properties' => array(
513
+ 'UserId' => array(
514
+ 'type' => 'string',
515
+ ),
516
+ 'GroupName' => array(
517
+ 'type' => 'string',
518
+ ),
519
+ 'GroupId' => array(
520
+ 'type' => 'string',
521
+ ),
522
+ ),
523
+ ),
524
+ ),
525
+ 'IpRanges' => array(
526
+ 'type' => 'array',
527
+ 'items' => array(
528
+ 'name' => 'IpRange',
529
+ 'type' => 'object',
530
+ 'properties' => array(
531
+ 'CidrIp' => array(
532
+ 'type' => 'string',
533
+ ),
534
+ ),
535
+ ),
536
+ ),
537
+ ),
538
+ ),
539
+ ),
540
+ ),
541
+ ),
542
+ 'AuthorizeSecurityGroupIngress' => array(
543
+ 'httpMethod' => 'POST',
544
+ 'uri' => '/',
545
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
546
+ 'responseClass' => 'EmptyOutput',
547
+ 'responseType' => 'model',
548
+ 'parameters' => array(
549
+ 'Action' => array(
550
+ 'static' => true,
551
+ 'location' => 'aws.query',
552
+ 'default' => 'AuthorizeSecurityGroupIngress',
553
+ ),
554
+ 'Version' => array(
555
+ 'static' => true,
556
+ 'location' => 'aws.query',
557
+ 'default' => '2014-09-01',
558
+ ),
559
+ 'DryRun' => array(
560
+ 'type' => 'boolean',
561
+ 'format' => 'boolean-string',
562
+ 'location' => 'aws.query',
563
+ ),
564
+ 'GroupName' => array(
565
+ 'type' => 'string',
566
+ 'location' => 'aws.query',
567
+ ),
568
+ 'GroupId' => array(
569
+ 'type' => 'string',
570
+ 'location' => 'aws.query',
571
+ ),
572
+ 'SourceSecurityGroupName' => array(
573
+ 'type' => 'string',
574
+ 'location' => 'aws.query',
575
+ ),
576
+ 'SourceSecurityGroupOwnerId' => array(
577
+ 'type' => 'string',
578
+ 'location' => 'aws.query',
579
+ ),
580
+ 'IpProtocol' => array(
581
+ 'type' => 'string',
582
+ 'location' => 'aws.query',
583
+ ),
584
+ 'FromPort' => array(
585
+ 'type' => 'numeric',
586
+ 'location' => 'aws.query',
587
+ ),
588
+ 'ToPort' => array(
589
+ 'type' => 'numeric',
590
+ 'location' => 'aws.query',
591
+ ),
592
+ 'CidrIp' => array(
593
+ 'type' => 'string',
594
+ 'location' => 'aws.query',
595
+ ),
596
+ 'IpPermissions' => array(
597
+ 'type' => 'array',
598
+ 'location' => 'aws.query',
599
+ 'items' => array(
600
+ 'name' => 'IpPermission',
601
+ 'type' => 'object',
602
+ 'properties' => array(
603
+ 'IpProtocol' => array(
604
+ 'type' => 'string',
605
+ ),
606
+ 'FromPort' => array(
607
+ 'type' => 'numeric',
608
+ ),
609
+ 'ToPort' => array(
610
+ 'type' => 'numeric',
611
+ ),
612
+ 'UserIdGroupPairs' => array(
613
+ 'type' => 'array',
614
+ 'sentAs' => 'Groups',
615
+ 'items' => array(
616
+ 'name' => 'Groups',
617
+ 'type' => 'object',
618
+ 'properties' => array(
619
+ 'UserId' => array(
620
+ 'type' => 'string',
621
+ ),
622
+ 'GroupName' => array(
623
+ 'type' => 'string',
624
+ ),
625
+ 'GroupId' => array(
626
+ 'type' => 'string',
627
+ ),
628
+ ),
629
+ ),
630
+ ),
631
+ 'IpRanges' => array(
632
+ 'type' => 'array',
633
+ 'items' => array(
634
+ 'name' => 'IpRange',
635
+ 'type' => 'object',
636
+ 'properties' => array(
637
+ 'CidrIp' => array(
638
+ 'type' => 'string',
639
+ ),
640
+ ),
641
+ ),
642
+ ),
643
+ ),
644
+ ),
645
+ ),
646
+ ),
647
+ ),
648
+ 'BundleInstance' => array(
649
+ 'httpMethod' => 'POST',
650
+ 'uri' => '/',
651
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
652
+ 'responseClass' => 'BundleInstanceResult',
653
+ 'responseType' => 'model',
654
+ 'parameters' => array(
655
+ 'Action' => array(
656
+ 'static' => true,
657
+ 'location' => 'aws.query',
658
+ 'default' => 'BundleInstance',
659
+ ),
660
+ 'Version' => array(
661
+ 'static' => true,
662
+ 'location' => 'aws.query',
663
+ 'default' => '2014-09-01',
664
+ ),
665
+ 'DryRun' => array(
666
+ 'type' => 'boolean',
667
+ 'format' => 'boolean-string',
668
+ 'location' => 'aws.query',
669
+ ),
670
+ 'InstanceId' => array(
671
+ 'required' => true,
672
+ 'type' => 'string',
673
+ 'location' => 'aws.query',
674
+ ),
675
+ 'Storage' => array(
676
+ 'required' => true,
677
+ 'type' => 'object',
678
+ 'location' => 'aws.query',
679
+ 'properties' => array(
680
+ 'S3' => array(
681
+ 'type' => 'object',
682
+ 'properties' => array(
683
+ 'Bucket' => array(
684
+ 'type' => 'string',
685
+ ),
686
+ 'Prefix' => array(
687
+ 'type' => 'string',
688
+ ),
689
+ 'AWSAccessKeyId' => array(
690
+ 'type' => 'string',
691
+ ),
692
+ 'UploadPolicy' => array(
693
+ 'type' => 'string',
694
+ ),
695
+ 'UploadPolicySignature' => array(
696
+ 'type' => 'string',
697
+ ),
698
+ ),
699
+ ),
700
+ ),
701
+ ),
702
+ ),
703
+ ),
704
+ 'CancelBundleTask' => array(
705
+ 'httpMethod' => 'POST',
706
+ 'uri' => '/',
707
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
708
+ 'responseClass' => 'CancelBundleTaskResult',
709
+ 'responseType' => 'model',
710
+ 'parameters' => array(
711
+ 'Action' => array(
712
+ 'static' => true,
713
+ 'location' => 'aws.query',
714
+ 'default' => 'CancelBundleTask',
715
+ ),
716
+ 'Version' => array(
717
+ 'static' => true,
718
+ 'location' => 'aws.query',
719
+ 'default' => '2014-09-01',
720
+ ),
721
+ 'DryRun' => array(
722
+ 'type' => 'boolean',
723
+ 'format' => 'boolean-string',
724
+ 'location' => 'aws.query',
725
+ ),
726
+ 'BundleId' => array(
727
+ 'required' => true,
728
+ 'type' => 'string',
729
+ 'location' => 'aws.query',
730
+ ),
731
+ ),
732
+ ),
733
+ 'CancelConversionTask' => array(
734
+ 'httpMethod' => 'POST',
735
+ 'uri' => '/',
736
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
737
+ 'responseClass' => 'EmptyOutput',
738
+ 'responseType' => 'model',
739
+ 'parameters' => array(
740
+ 'Action' => array(
741
+ 'static' => true,
742
+ 'location' => 'aws.query',
743
+ 'default' => 'CancelConversionTask',
744
+ ),
745
+ 'Version' => array(
746
+ 'static' => true,
747
+ 'location' => 'aws.query',
748
+ 'default' => '2014-09-01',
749
+ ),
750
+ 'DryRun' => array(
751
+ 'type' => 'boolean',
752
+ 'format' => 'boolean-string',
753
+ 'location' => 'aws.query',
754
+ ),
755
+ 'ConversionTaskId' => array(
756
+ 'required' => true,
757
+ 'type' => 'string',
758
+ 'location' => 'aws.query',
759
+ ),
760
+ 'ReasonMessage' => array(
761
+ 'type' => 'string',
762
+ 'location' => 'aws.query',
763
+ ),
764
+ ),
765
+ ),
766
+ 'CancelExportTask' => array(
767
+ 'httpMethod' => 'POST',
768
+ 'uri' => '/',
769
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
770
+ 'responseClass' => 'EmptyOutput',
771
+ 'responseType' => 'model',
772
+ 'parameters' => array(
773
+ 'Action' => array(
774
+ 'static' => true,
775
+ 'location' => 'aws.query',
776
+ 'default' => 'CancelExportTask',
777
+ ),
778
+ 'Version' => array(
779
+ 'static' => true,
780
+ 'location' => 'aws.query',
781
+ 'default' => '2014-09-01',
782
+ ),
783
+ 'ExportTaskId' => array(
784
+ 'required' => true,
785
+ 'type' => 'string',
786
+ 'location' => 'aws.query',
787
+ ),
788
+ ),
789
+ ),
790
+ 'CancelReservedInstancesListing' => array(
791
+ 'httpMethod' => 'POST',
792
+ 'uri' => '/',
793
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
794
+ 'responseClass' => 'CancelReservedInstancesListingResult',
795
+ 'responseType' => 'model',
796
+ 'parameters' => array(
797
+ 'Action' => array(
798
+ 'static' => true,
799
+ 'location' => 'aws.query',
800
+ 'default' => 'CancelReservedInstancesListing',
801
+ ),
802
+ 'Version' => array(
803
+ 'static' => true,
804
+ 'location' => 'aws.query',
805
+ 'default' => '2014-09-01',
806
+ ),
807
+ 'ReservedInstancesListingId' => array(
808
+ 'required' => true,
809
+ 'type' => 'string',
810
+ 'location' => 'aws.query',
811
+ ),
812
+ ),
813
+ ),
814
+ 'CancelSpotInstanceRequests' => array(
815
+ 'httpMethod' => 'POST',
816
+ 'uri' => '/',
817
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
818
+ 'responseClass' => 'CancelSpotInstanceRequestsResult',
819
+ 'responseType' => 'model',
820
+ 'parameters' => array(
821
+ 'Action' => array(
822
+ 'static' => true,
823
+ 'location' => 'aws.query',
824
+ 'default' => 'CancelSpotInstanceRequests',
825
+ ),
826
+ 'Version' => array(
827
+ 'static' => true,
828
+ 'location' => 'aws.query',
829
+ 'default' => '2014-09-01',
830
+ ),
831
+ 'DryRun' => array(
832
+ 'type' => 'boolean',
833
+ 'format' => 'boolean-string',
834
+ 'location' => 'aws.query',
835
+ ),
836
+ 'SpotInstanceRequestIds' => array(
837
+ 'required' => true,
838
+ 'type' => 'array',
839
+ 'location' => 'aws.query',
840
+ 'sentAs' => 'SpotInstanceRequestId',
841
+ 'items' => array(
842
+ 'name' => 'SpotInstanceRequestId',
843
+ 'type' => 'string',
844
+ ),
845
+ ),
846
+ ),
847
+ ),
848
+ 'ConfirmProductInstance' => array(
849
+ 'httpMethod' => 'POST',
850
+ 'uri' => '/',
851
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
852
+ 'responseClass' => 'ConfirmProductInstanceResult',
853
+ 'responseType' => 'model',
854
+ 'parameters' => array(
855
+ 'Action' => array(
856
+ 'static' => true,
857
+ 'location' => 'aws.query',
858
+ 'default' => 'ConfirmProductInstance',
859
+ ),
860
+ 'Version' => array(
861
+ 'static' => true,
862
+ 'location' => 'aws.query',
863
+ 'default' => '2014-09-01',
864
+ ),
865
+ 'DryRun' => array(
866
+ 'type' => 'boolean',
867
+ 'format' => 'boolean-string',
868
+ 'location' => 'aws.query',
869
+ ),
870
+ 'ProductCode' => array(
871
+ 'required' => true,
872
+ 'type' => 'string',
873
+ 'location' => 'aws.query',
874
+ ),
875
+ 'InstanceId' => array(
876
+ 'required' => true,
877
+ 'type' => 'string',
878
+ 'location' => 'aws.query',
879
+ ),
880
+ ),
881
+ ),
882
+ 'CopyImage' => array(
883
+ 'httpMethod' => 'POST',
884
+ 'uri' => '/',
885
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
886
+ 'responseClass' => 'CopyImageResult',
887
+ 'responseType' => 'model',
888
+ 'parameters' => array(
889
+ 'Action' => array(
890
+ 'static' => true,
891
+ 'location' => 'aws.query',
892
+ 'default' => 'CopyImage',
893
+ ),
894
+ 'Version' => array(
895
+ 'static' => true,
896
+ 'location' => 'aws.query',
897
+ 'default' => '2014-09-01',
898
+ ),
899
+ 'DryRun' => array(
900
+ 'type' => 'boolean',
901
+ 'format' => 'boolean-string',
902
+ 'location' => 'aws.query',
903
+ ),
904
+ 'SourceRegion' => array(
905
+ 'required' => true,
906
+ 'type' => 'string',
907
+ 'location' => 'aws.query',
908
+ ),
909
+ 'SourceImageId' => array(
910
+ 'required' => true,
911
+ 'type' => 'string',
912
+ 'location' => 'aws.query',
913
+ ),
914
+ 'Name' => array(
915
+ 'required' => true,
916
+ 'type' => 'string',
917
+ 'location' => 'aws.query',
918
+ ),
919
+ 'Description' => array(
920
+ 'type' => 'string',
921
+ 'location' => 'aws.query',
922
+ ),
923
+ 'ClientToken' => array(
924
+ 'type' => 'string',
925
+ 'location' => 'aws.query',
926
+ ),
927
+ ),
928
+ ),
929
+ 'CopySnapshot' => array(
930
+ 'httpMethod' => 'POST',
931
+ 'uri' => '/',
932
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
933
+ 'responseClass' => 'CopySnapshotResult',
934
+ 'responseType' => 'model',
935
+ 'parameters' => array(
936
+ 'Action' => array(
937
+ 'static' => true,
938
+ 'location' => 'aws.query',
939
+ 'default' => 'CopySnapshot',
940
+ ),
941
+ 'Version' => array(
942
+ 'static' => true,
943
+ 'location' => 'aws.query',
944
+ 'default' => '2014-09-01',
945
+ ),
946
+ 'DryRun' => array(
947
+ 'type' => 'boolean',
948
+ 'format' => 'boolean-string',
949
+ 'location' => 'aws.query',
950
+ ),
951
+ 'SourceRegion' => array(
952
+ 'required' => true,
953
+ 'type' => 'string',
954
+ 'location' => 'aws.query',
955
+ ),
956
+ 'SourceSnapshotId' => array(
957
+ 'required' => true,
958
+ 'type' => 'string',
959
+ 'location' => 'aws.query',
960
+ ),
961
+ 'Description' => array(
962
+ 'type' => 'string',
963
+ 'location' => 'aws.query',
964
+ ),
965
+ 'DestinationRegion' => array(
966
+ 'type' => 'string',
967
+ 'location' => 'aws.query',
968
+ ),
969
+ 'PresignedUrl' => array(
970
+ 'type' => 'string',
971
+ 'location' => 'aws.query',
972
+ ),
973
+ ),
974
+ ),
975
+ 'CreateCustomerGateway' => array(
976
+ 'httpMethod' => 'POST',
977
+ 'uri' => '/',
978
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
979
+ 'responseClass' => 'CreateCustomerGatewayResult',
980
+ 'responseType' => 'model',
981
+ 'parameters' => array(
982
+ 'Action' => array(
983
+ 'static' => true,
984
+ 'location' => 'aws.query',
985
+ 'default' => 'CreateCustomerGateway',
986
+ ),
987
+ 'Version' => array(
988
+ 'static' => true,
989
+ 'location' => 'aws.query',
990
+ 'default' => '2014-09-01',
991
+ ),
992
+ 'DryRun' => array(
993
+ 'type' => 'boolean',
994
+ 'format' => 'boolean-string',
995
+ 'location' => 'aws.query',
996
+ ),
997
+ 'Type' => array(
998
+ 'required' => true,
999
+ 'type' => 'string',
1000
+ 'location' => 'aws.query',
1001
+ ),
1002
+ 'PublicIp' => array(
1003
+ 'required' => true,
1004
+ 'type' => 'string',
1005
+ 'location' => 'aws.query',
1006
+ 'sentAs' => 'IpAddress',
1007
+ ),
1008
+ 'BgpAsn' => array(
1009
+ 'required' => true,
1010
+ 'type' => 'numeric',
1011
+ 'location' => 'aws.query',
1012
+ ),
1013
+ ),
1014
+ ),
1015
+ 'CreateDhcpOptions' => array(
1016
+ 'httpMethod' => 'POST',
1017
+ 'uri' => '/',
1018
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1019
+ 'responseClass' => 'CreateDhcpOptionsResult',
1020
+ 'responseType' => 'model',
1021
+ 'parameters' => array(
1022
+ 'Action' => array(
1023
+ 'static' => true,
1024
+ 'location' => 'aws.query',
1025
+ 'default' => 'CreateDhcpOptions',
1026
+ ),
1027
+ 'Version' => array(
1028
+ 'static' => true,
1029
+ 'location' => 'aws.query',
1030
+ 'default' => '2014-09-01',
1031
+ ),
1032
+ 'DryRun' => array(
1033
+ 'type' => 'boolean',
1034
+ 'format' => 'boolean-string',
1035
+ 'location' => 'aws.query',
1036
+ ),
1037
+ 'DhcpConfigurations' => array(
1038
+ 'required' => true,
1039
+ 'type' => 'array',
1040
+ 'location' => 'aws.query',
1041
+ 'sentAs' => 'DhcpConfiguration',
1042
+ 'items' => array(
1043
+ 'name' => 'DhcpConfiguration',
1044
+ 'type' => 'object',
1045
+ 'properties' => array(
1046
+ 'Key' => array(
1047
+ 'type' => 'string',
1048
+ ),
1049
+ 'Values' => array(
1050
+ 'type' => 'array',
1051
+ 'sentAs' => 'Value',
1052
+ 'items' => array(
1053
+ 'name' => 'Value',
1054
+ 'type' => 'string',
1055
+ ),
1056
+ ),
1057
+ ),
1058
+ ),
1059
+ ),
1060
+ ),
1061
+ ),
1062
+ 'CreateImage' => array(
1063
+ 'httpMethod' => 'POST',
1064
+ 'uri' => '/',
1065
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1066
+ 'responseClass' => 'CreateImageResult',
1067
+ 'responseType' => 'model',
1068
+ 'parameters' => array(
1069
+ 'Action' => array(
1070
+ 'static' => true,
1071
+ 'location' => 'aws.query',
1072
+ 'default' => 'CreateImage',
1073
+ ),
1074
+ 'Version' => array(
1075
+ 'static' => true,
1076
+ 'location' => 'aws.query',
1077
+ 'default' => '2014-09-01',
1078
+ ),
1079
+ 'DryRun' => array(
1080
+ 'type' => 'boolean',
1081
+ 'format' => 'boolean-string',
1082
+ 'location' => 'aws.query',
1083
+ ),
1084
+ 'InstanceId' => array(
1085
+ 'required' => true,
1086
+ 'type' => 'string',
1087
+ 'location' => 'aws.query',
1088
+ ),
1089
+ 'Name' => array(
1090
+ 'required' => true,
1091
+ 'type' => 'string',
1092
+ 'location' => 'aws.query',
1093
+ ),
1094
+ 'Description' => array(
1095
+ 'type' => 'string',
1096
+ 'location' => 'aws.query',
1097
+ ),
1098
+ 'NoReboot' => array(
1099
+ 'type' => 'boolean',
1100
+ 'format' => 'boolean-string',
1101
+ 'location' => 'aws.query',
1102
+ ),
1103
+ 'BlockDeviceMappings' => array(
1104
+ 'type' => 'array',
1105
+ 'location' => 'aws.query',
1106
+ 'sentAs' => 'BlockDeviceMapping',
1107
+ 'items' => array(
1108
+ 'name' => 'BlockDeviceMapping',
1109
+ 'type' => 'object',
1110
+ 'properties' => array(
1111
+ 'VirtualName' => array(
1112
+ 'type' => 'string',
1113
+ ),
1114
+ 'DeviceName' => array(
1115
+ 'type' => 'string',
1116
+ ),
1117
+ 'Ebs' => array(
1118
+ 'type' => 'object',
1119
+ 'properties' => array(
1120
+ 'SnapshotId' => array(
1121
+ 'type' => 'string',
1122
+ ),
1123
+ 'VolumeSize' => array(
1124
+ 'type' => 'numeric',
1125
+ ),
1126
+ 'DeleteOnTermination' => array(
1127
+ 'type' => 'boolean',
1128
+ 'format' => 'boolean-string',
1129
+ ),
1130
+ 'VolumeType' => array(
1131
+ 'type' => 'string',
1132
+ ),
1133
+ 'Iops' => array(
1134
+ 'type' => 'numeric',
1135
+ ),
1136
+ 'Encrypted' => array(
1137
+ 'type' => 'boolean',
1138
+ 'format' => 'boolean-string',
1139
+ ),
1140
+ ),
1141
+ ),
1142
+ 'NoDevice' => array(
1143
+ 'type' => 'string',
1144
+ ),
1145
+ ),
1146
+ ),
1147
+ ),
1148
+ ),
1149
+ ),
1150
+ 'CreateInstanceExportTask' => array(
1151
+ 'httpMethod' => 'POST',
1152
+ 'uri' => '/',
1153
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1154
+ 'responseClass' => 'CreateInstanceExportTaskResult',
1155
+ 'responseType' => 'model',
1156
+ 'parameters' => array(
1157
+ 'Action' => array(
1158
+ 'static' => true,
1159
+ 'location' => 'aws.query',
1160
+ 'default' => 'CreateInstanceExportTask',
1161
+ ),
1162
+ 'Version' => array(
1163
+ 'static' => true,
1164
+ 'location' => 'aws.query',
1165
+ 'default' => '2014-09-01',
1166
+ ),
1167
+ 'Description' => array(
1168
+ 'type' => 'string',
1169
+ 'location' => 'aws.query',
1170
+ ),
1171
+ 'InstanceId' => array(
1172
+ 'required' => true,
1173
+ 'type' => 'string',
1174
+ 'location' => 'aws.query',
1175
+ ),
1176
+ 'TargetEnvironment' => array(
1177
+ 'type' => 'string',
1178
+ 'location' => 'aws.query',
1179
+ ),
1180
+ 'ExportToS3Task' => array(
1181
+ 'type' => 'object',
1182
+ 'location' => 'aws.query',
1183
+ 'sentAs' => 'ExportToS3',
1184
+ 'properties' => array(
1185
+ 'DiskImageFormat' => array(
1186
+ 'type' => 'string',
1187
+ ),
1188
+ 'ContainerFormat' => array(
1189
+ 'type' => 'string',
1190
+ ),
1191
+ 'S3Bucket' => array(
1192
+ 'type' => 'string',
1193
+ ),
1194
+ 'S3Prefix' => array(
1195
+ 'type' => 'string',
1196
+ ),
1197
+ ),
1198
+ ),
1199
+ ),
1200
+ ),
1201
+ 'CreateInternetGateway' => array(
1202
+ 'httpMethod' => 'POST',
1203
+ 'uri' => '/',
1204
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1205
+ 'responseClass' => 'CreateInternetGatewayResult',
1206
+ 'responseType' => 'model',
1207
+ 'parameters' => array(
1208
+ 'Action' => array(
1209
+ 'static' => true,
1210
+ 'location' => 'aws.query',
1211
+ 'default' => 'CreateInternetGateway',
1212
+ ),
1213
+ 'Version' => array(
1214
+ 'static' => true,
1215
+ 'location' => 'aws.query',
1216
+ 'default' => '2014-09-01',
1217
+ ),
1218
+ 'DryRun' => array(
1219
+ 'type' => 'boolean',
1220
+ 'format' => 'boolean-string',
1221
+ 'location' => 'aws.query',
1222
+ ),
1223
+ ),
1224
+ ),
1225
+ 'CreateKeyPair' => array(
1226
+ 'httpMethod' => 'POST',
1227
+ 'uri' => '/',
1228
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1229
+ 'responseClass' => 'CreateKeyPairResult',
1230
+ 'responseType' => 'model',
1231
+ 'parameters' => array(
1232
+ 'Action' => array(
1233
+ 'static' => true,
1234
+ 'location' => 'aws.query',
1235
+ 'default' => 'CreateKeyPair',
1236
+ ),
1237
+ 'Version' => array(
1238
+ 'static' => true,
1239
+ 'location' => 'aws.query',
1240
+ 'default' => '2014-09-01',
1241
+ ),
1242
+ 'DryRun' => array(
1243
+ 'type' => 'boolean',
1244
+ 'format' => 'boolean-string',
1245
+ 'location' => 'aws.query',
1246
+ ),
1247
+ 'KeyName' => array(
1248
+ 'required' => true,
1249
+ 'type' => 'string',
1250
+ 'location' => 'aws.query',
1251
+ ),
1252
+ ),
1253
+ ),
1254
+ 'CreateNetworkAcl' => array(
1255
+ 'httpMethod' => 'POST',
1256
+ 'uri' => '/',
1257
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1258
+ 'responseClass' => 'CreateNetworkAclResult',
1259
+ 'responseType' => 'model',
1260
+ 'parameters' => array(
1261
+ 'Action' => array(
1262
+ 'static' => true,
1263
+ 'location' => 'aws.query',
1264
+ 'default' => 'CreateNetworkAcl',
1265
+ ),
1266
+ 'Version' => array(
1267
+ 'static' => true,
1268
+ 'location' => 'aws.query',
1269
+ 'default' => '2014-09-01',
1270
+ ),
1271
+ 'DryRun' => array(
1272
+ 'type' => 'boolean',
1273
+ 'format' => 'boolean-string',
1274
+ 'location' => 'aws.query',
1275
+ ),
1276
+ 'VpcId' => array(
1277
+ 'required' => true,
1278
+ 'type' => 'string',
1279
+ 'location' => 'aws.query',
1280
+ ),
1281
+ ),
1282
+ ),
1283
+ 'CreateNetworkAclEntry' => array(
1284
+ 'httpMethod' => 'POST',
1285
+ 'uri' => '/',
1286
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1287
+ 'responseClass' => 'EmptyOutput',
1288
+ 'responseType' => 'model',
1289
+ 'parameters' => array(
1290
+ 'Action' => array(
1291
+ 'static' => true,
1292
+ 'location' => 'aws.query',
1293
+ 'default' => 'CreateNetworkAclEntry',
1294
+ ),
1295
+ 'Version' => array(
1296
+ 'static' => true,
1297
+ 'location' => 'aws.query',
1298
+ 'default' => '2014-09-01',
1299
+ ),
1300
+ 'DryRun' => array(
1301
+ 'type' => 'boolean',
1302
+ 'format' => 'boolean-string',
1303
+ 'location' => 'aws.query',
1304
+ ),
1305
+ 'NetworkAclId' => array(
1306
+ 'required' => true,
1307
+ 'type' => 'string',
1308
+ 'location' => 'aws.query',
1309
+ ),
1310
+ 'RuleNumber' => array(
1311
+ 'required' => true,
1312
+ 'type' => 'numeric',
1313
+ 'location' => 'aws.query',
1314
+ ),
1315
+ 'Protocol' => array(
1316
+ 'required' => true,
1317
+ 'type' => 'string',
1318
+ 'location' => 'aws.query',
1319
+ ),
1320
+ 'RuleAction' => array(
1321
+ 'required' => true,
1322
+ 'type' => 'string',
1323
+ 'location' => 'aws.query',
1324
+ ),
1325
+ 'Egress' => array(
1326
+ 'required' => true,
1327
+ 'type' => 'boolean',
1328
+ 'format' => 'boolean-string',
1329
+ 'location' => 'aws.query',
1330
+ ),
1331
+ 'CidrBlock' => array(
1332
+ 'required' => true,
1333
+ 'type' => 'string',
1334
+ 'location' => 'aws.query',
1335
+ ),
1336
+ 'IcmpTypeCode' => array(
1337
+ 'type' => 'object',
1338
+ 'location' => 'aws.query',
1339
+ 'sentAs' => 'Icmp',
1340
+ 'properties' => array(
1341
+ 'Type' => array(
1342
+ 'type' => 'numeric',
1343
+ ),
1344
+ 'Code' => array(
1345
+ 'type' => 'numeric',
1346
+ ),
1347
+ ),
1348
+ ),
1349
+ 'PortRange' => array(
1350
+ 'type' => 'object',
1351
+ 'location' => 'aws.query',
1352
+ 'properties' => array(
1353
+ 'From' => array(
1354
+ 'type' => 'numeric',
1355
+ ),
1356
+ 'To' => array(
1357
+ 'type' => 'numeric',
1358
+ ),
1359
+ ),
1360
+ ),
1361
+ ),
1362
+ ),
1363
+ 'CreateNetworkInterface' => array(
1364
+ 'httpMethod' => 'POST',
1365
+ 'uri' => '/',
1366
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1367
+ 'responseClass' => 'CreateNetworkInterfaceResult',
1368
+ 'responseType' => 'model',
1369
+ 'parameters' => array(
1370
+ 'Action' => array(
1371
+ 'static' => true,
1372
+ 'location' => 'aws.query',
1373
+ 'default' => 'CreateNetworkInterface',
1374
+ ),
1375
+ 'Version' => array(
1376
+ 'static' => true,
1377
+ 'location' => 'aws.query',
1378
+ 'default' => '2014-09-01',
1379
+ ),
1380
+ 'SubnetId' => array(
1381
+ 'required' => true,
1382
+ 'type' => 'string',
1383
+ 'location' => 'aws.query',
1384
+ ),
1385
+ 'Description' => array(
1386
+ 'type' => 'string',
1387
+ 'location' => 'aws.query',
1388
+ ),
1389
+ 'PrivateIpAddress' => array(
1390
+ 'type' => 'string',
1391
+ 'location' => 'aws.query',
1392
+ ),
1393
+ 'Groups' => array(
1394
+ 'type' => 'array',
1395
+ 'location' => 'aws.query',
1396
+ 'sentAs' => 'SecurityGroupId',
1397
+ 'items' => array(
1398
+ 'name' => 'SecurityGroupId',
1399
+ 'type' => 'string',
1400
+ ),
1401
+ ),
1402
+ 'PrivateIpAddresses' => array(
1403
+ 'type' => 'array',
1404
+ 'location' => 'aws.query',
1405
+ 'items' => array(
1406
+ 'name' => 'PrivateIpAddressSpecification',
1407
+ 'type' => 'object',
1408
+ 'properties' => array(
1409
+ 'PrivateIpAddress' => array(
1410
+ 'required' => true,
1411
+ 'type' => 'string',
1412
+ ),
1413
+ 'Primary' => array(
1414
+ 'type' => 'boolean',
1415
+ 'format' => 'boolean-string',
1416
+ ),
1417
+ ),
1418
+ ),
1419
+ ),
1420
+ 'SecondaryPrivateIpAddressCount' => array(
1421
+ 'type' => 'numeric',
1422
+ 'location' => 'aws.query',
1423
+ ),
1424
+ 'DryRun' => array(
1425
+ 'type' => 'boolean',
1426
+ 'format' => 'boolean-string',
1427
+ 'location' => 'aws.query',
1428
+ ),
1429
+ ),
1430
+ ),
1431
+ 'CreatePlacementGroup' => array(
1432
+ 'httpMethod' => 'POST',
1433
+ 'uri' => '/',
1434
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1435
+ 'responseClass' => 'EmptyOutput',
1436
+ 'responseType' => 'model',
1437
+ 'parameters' => array(
1438
+ 'Action' => array(
1439
+ 'static' => true,
1440
+ 'location' => 'aws.query',
1441
+ 'default' => 'CreatePlacementGroup',
1442
+ ),
1443
+ 'Version' => array(
1444
+ 'static' => true,
1445
+ 'location' => 'aws.query',
1446
+ 'default' => '2014-09-01',
1447
+ ),
1448
+ 'DryRun' => array(
1449
+ 'type' => 'boolean',
1450
+ 'format' => 'boolean-string',
1451
+ 'location' => 'aws.query',
1452
+ ),
1453
+ 'GroupName' => array(
1454
+ 'required' => true,
1455
+ 'type' => 'string',
1456
+ 'location' => 'aws.query',
1457
+ ),
1458
+ 'Strategy' => array(
1459
+ 'required' => true,
1460
+ 'type' => 'string',
1461
+ 'location' => 'aws.query',
1462
+ ),
1463
+ ),
1464
+ ),
1465
+ 'CreateReservedInstancesListing' => array(
1466
+ 'httpMethod' => 'POST',
1467
+ 'uri' => '/',
1468
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1469
+ 'responseClass' => 'CreateReservedInstancesListingResult',
1470
+ 'responseType' => 'model',
1471
+ 'parameters' => array(
1472
+ 'Action' => array(
1473
+ 'static' => true,
1474
+ 'location' => 'aws.query',
1475
+ 'default' => 'CreateReservedInstancesListing',
1476
+ ),
1477
+ 'Version' => array(
1478
+ 'static' => true,
1479
+ 'location' => 'aws.query',
1480
+ 'default' => '2014-09-01',
1481
+ ),
1482
+ 'ReservedInstancesId' => array(
1483
+ 'required' => true,
1484
+ 'type' => 'string',
1485
+ 'location' => 'aws.query',
1486
+ ),
1487
+ 'InstanceCount' => array(
1488
+ 'required' => true,
1489
+ 'type' => 'numeric',
1490
+ 'location' => 'aws.query',
1491
+ ),
1492
+ 'PriceSchedules' => array(
1493
+ 'required' => true,
1494
+ 'type' => 'array',
1495
+ 'location' => 'aws.query',
1496
+ 'items' => array(
1497
+ 'name' => 'PriceScheduleSpecification',
1498
+ 'type' => 'object',
1499
+ 'properties' => array(
1500
+ 'Term' => array(
1501
+ 'type' => 'numeric',
1502
+ ),
1503
+ 'Price' => array(
1504
+ 'type' => 'numeric',
1505
+ ),
1506
+ 'CurrencyCode' => array(
1507
+ 'type' => 'string',
1508
+ ),
1509
+ ),
1510
+ ),
1511
+ ),
1512
+ 'ClientToken' => array(
1513
+ 'required' => true,
1514
+ 'type' => 'string',
1515
+ 'location' => 'aws.query',
1516
+ ),
1517
+ ),
1518
+ ),
1519
+ 'CreateRoute' => array(
1520
+ 'httpMethod' => 'POST',
1521
+ 'uri' => '/',
1522
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1523
+ 'responseClass' => 'EmptyOutput',
1524
+ 'responseType' => 'model',
1525
+ 'parameters' => array(
1526
+ 'Action' => array(
1527
+ 'static' => true,
1528
+ 'location' => 'aws.query',
1529
+ 'default' => 'CreateRoute',
1530
+ ),
1531
+ 'Version' => array(
1532
+ 'static' => true,
1533
+ 'location' => 'aws.query',
1534
+ 'default' => '2014-09-01',
1535
+ ),
1536
+ 'DryRun' => array(
1537
+ 'type' => 'boolean',
1538
+ 'format' => 'boolean-string',
1539
+ 'location' => 'aws.query',
1540
+ ),
1541
+ 'RouteTableId' => array(
1542
+ 'required' => true,
1543
+ 'type' => 'string',
1544
+ 'location' => 'aws.query',
1545
+ ),
1546
+ 'DestinationCidrBlock' => array(
1547
+ 'required' => true,
1548
+ 'type' => 'string',
1549
+ 'location' => 'aws.query',
1550
+ ),
1551
+ 'GatewayId' => array(
1552
+ 'type' => 'string',
1553
+ 'location' => 'aws.query',
1554
+ ),
1555
+ 'InstanceId' => array(
1556
+ 'type' => 'string',
1557
+ 'location' => 'aws.query',
1558
+ ),
1559
+ 'NetworkInterfaceId' => array(
1560
+ 'type' => 'string',
1561
+ 'location' => 'aws.query',
1562
+ ),
1563
+ 'VpcPeeringConnectionId' => array(
1564
+ 'type' => 'string',
1565
+ 'location' => 'aws.query',
1566
+ ),
1567
+ ),
1568
+ ),
1569
+ 'CreateRouteTable' => array(
1570
+ 'httpMethod' => 'POST',
1571
+ 'uri' => '/',
1572
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1573
+ 'responseClass' => 'CreateRouteTableResult',
1574
+ 'responseType' => 'model',
1575
+ 'parameters' => array(
1576
+ 'Action' => array(
1577
+ 'static' => true,
1578
+ 'location' => 'aws.query',
1579
+ 'default' => 'CreateRouteTable',
1580
+ ),
1581
+ 'Version' => array(
1582
+ 'static' => true,
1583
+ 'location' => 'aws.query',
1584
+ 'default' => '2014-09-01',
1585
+ ),
1586
+ 'DryRun' => array(
1587
+ 'type' => 'boolean',
1588
+ 'format' => 'boolean-string',
1589
+ 'location' => 'aws.query',
1590
+ ),
1591
+ 'VpcId' => array(
1592
+ 'required' => true,
1593
+ 'type' => 'string',
1594
+ 'location' => 'aws.query',
1595
+ ),
1596
+ ),
1597
+ ),
1598
+ 'CreateSecurityGroup' => array(
1599
+ 'httpMethod' => 'POST',
1600
+ 'uri' => '/',
1601
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1602
+ 'responseClass' => 'CreateSecurityGroupResult',
1603
+ 'responseType' => 'model',
1604
+ 'parameters' => array(
1605
+ 'Action' => array(
1606
+ 'static' => true,
1607
+ 'location' => 'aws.query',
1608
+ 'default' => 'CreateSecurityGroup',
1609
+ ),
1610
+ 'Version' => array(
1611
+ 'static' => true,
1612
+ 'location' => 'aws.query',
1613
+ 'default' => '2014-09-01',
1614
+ ),
1615
+ 'DryRun' => array(
1616
+ 'type' => 'boolean',
1617
+ 'format' => 'boolean-string',
1618
+ 'location' => 'aws.query',
1619
+ ),
1620
+ 'GroupName' => array(
1621
+ 'required' => true,
1622
+ 'type' => 'string',
1623
+ 'location' => 'aws.query',
1624
+ ),
1625
+ 'Description' => array(
1626
+ 'required' => true,
1627
+ 'type' => 'string',
1628
+ 'location' => 'aws.query',
1629
+ 'sentAs' => 'GroupDescription',
1630
+ ),
1631
+ 'VpcId' => array(
1632
+ 'type' => 'string',
1633
+ 'location' => 'aws.query',
1634
+ ),
1635
+ ),
1636
+ ),
1637
+ 'CreateSnapshot' => array(
1638
+ 'httpMethod' => 'POST',
1639
+ 'uri' => '/',
1640
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1641
+ 'responseClass' => 'snapshot',
1642
+ 'responseType' => 'model',
1643
+ 'parameters' => array(
1644
+ 'Action' => array(
1645
+ 'static' => true,
1646
+ 'location' => 'aws.query',
1647
+ 'default' => 'CreateSnapshot',
1648
+ ),
1649
+ 'Version' => array(
1650
+ 'static' => true,
1651
+ 'location' => 'aws.query',
1652
+ 'default' => '2014-09-01',
1653
+ ),
1654
+ 'DryRun' => array(
1655
+ 'type' => 'boolean',
1656
+ 'format' => 'boolean-string',
1657
+ 'location' => 'aws.query',
1658
+ ),
1659
+ 'VolumeId' => array(
1660
+ 'required' => true,
1661
+ 'type' => 'string',
1662
+ 'location' => 'aws.query',
1663
+ ),
1664
+ 'Description' => array(
1665
+ 'type' => 'string',
1666
+ 'location' => 'aws.query',
1667
+ ),
1668
+ ),
1669
+ ),
1670
+ 'CreateSpotDatafeedSubscription' => array(
1671
+ 'httpMethod' => 'POST',
1672
+ 'uri' => '/',
1673
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1674
+ 'responseClass' => 'CreateSpotDatafeedSubscriptionResult',
1675
+ 'responseType' => 'model',
1676
+ 'parameters' => array(
1677
+ 'Action' => array(
1678
+ 'static' => true,
1679
+ 'location' => 'aws.query',
1680
+ 'default' => 'CreateSpotDatafeedSubscription',
1681
+ ),
1682
+ 'Version' => array(
1683
+ 'static' => true,
1684
+ 'location' => 'aws.query',
1685
+ 'default' => '2014-09-01',
1686
+ ),
1687
+ 'DryRun' => array(
1688
+ 'type' => 'boolean',
1689
+ 'format' => 'boolean-string',
1690
+ 'location' => 'aws.query',
1691
+ ),
1692
+ 'Bucket' => array(
1693
+ 'required' => true,
1694
+ 'type' => 'string',
1695
+ 'location' => 'aws.query',
1696
+ ),
1697
+ 'Prefix' => array(
1698
+ 'type' => 'string',
1699
+ 'location' => 'aws.query',
1700
+ ),
1701
+ ),
1702
+ ),
1703
+ 'CreateSubnet' => array(
1704
+ 'httpMethod' => 'POST',
1705
+ 'uri' => '/',
1706
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1707
+ 'responseClass' => 'CreateSubnetResult',
1708
+ 'responseType' => 'model',
1709
+ 'parameters' => array(
1710
+ 'Action' => array(
1711
+ 'static' => true,
1712
+ 'location' => 'aws.query',
1713
+ 'default' => 'CreateSubnet',
1714
+ ),
1715
+ 'Version' => array(
1716
+ 'static' => true,
1717
+ 'location' => 'aws.query',
1718
+ 'default' => '2014-09-01',
1719
+ ),
1720
+ 'DryRun' => array(
1721
+ 'type' => 'boolean',
1722
+ 'format' => 'boolean-string',
1723
+ 'location' => 'aws.query',
1724
+ ),
1725
+ 'VpcId' => array(
1726
+ 'required' => true,
1727
+ 'type' => 'string',
1728
+ 'location' => 'aws.query',
1729
+ ),
1730
+ 'CidrBlock' => array(
1731
+ 'required' => true,
1732
+ 'type' => 'string',
1733
+ 'location' => 'aws.query',
1734
+ ),
1735
+ 'AvailabilityZone' => array(
1736
+ 'type' => 'string',
1737
+ 'location' => 'aws.query',
1738
+ ),
1739
+ ),
1740
+ ),
1741
+ 'CreateTags' => array(
1742
+ 'httpMethod' => 'POST',
1743
+ 'uri' => '/',
1744
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1745
+ 'responseClass' => 'EmptyOutput',
1746
+ 'responseType' => 'model',
1747
+ 'parameters' => array(
1748
+ 'Action' => array(
1749
+ 'static' => true,
1750
+ 'location' => 'aws.query',
1751
+ 'default' => 'CreateTags',
1752
+ ),
1753
+ 'Version' => array(
1754
+ 'static' => true,
1755
+ 'location' => 'aws.query',
1756
+ 'default' => '2014-09-01',
1757
+ ),
1758
+ 'DryRun' => array(
1759
+ 'type' => 'boolean',
1760
+ 'format' => 'boolean-string',
1761
+ 'location' => 'aws.query',
1762
+ ),
1763
+ 'Resources' => array(
1764
+ 'required' => true,
1765
+ 'type' => 'array',
1766
+ 'location' => 'aws.query',
1767
+ 'sentAs' => 'ResourceId',
1768
+ 'items' => array(
1769
+ 'name' => 'ResourceId',
1770
+ 'type' => 'string',
1771
+ ),
1772
+ ),
1773
+ 'Tags' => array(
1774
+ 'required' => true,
1775
+ 'type' => 'array',
1776
+ 'location' => 'aws.query',
1777
+ 'sentAs' => 'Tag',
1778
+ 'items' => array(
1779
+ 'name' => 'Tag',
1780
+ 'type' => 'object',
1781
+ 'properties' => array(
1782
+ 'Key' => array(
1783
+ 'type' => 'string',
1784
+ ),
1785
+ 'Value' => array(
1786
+ 'type' => 'string',
1787
+ ),
1788
+ ),
1789
+ ),
1790
+ ),
1791
+ ),
1792
+ ),
1793
+ 'CreateVolume' => array(
1794
+ 'httpMethod' => 'POST',
1795
+ 'uri' => '/',
1796
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1797
+ 'responseClass' => 'volume',
1798
+ 'responseType' => 'model',
1799
+ 'parameters' => array(
1800
+ 'Action' => array(
1801
+ 'static' => true,
1802
+ 'location' => 'aws.query',
1803
+ 'default' => 'CreateVolume',
1804
+ ),
1805
+ 'Version' => array(
1806
+ 'static' => true,
1807
+ 'location' => 'aws.query',
1808
+ 'default' => '2014-09-01',
1809
+ ),
1810
+ 'DryRun' => array(
1811
+ 'type' => 'boolean',
1812
+ 'format' => 'boolean-string',
1813
+ 'location' => 'aws.query',
1814
+ ),
1815
+ 'Size' => array(
1816
+ 'type' => 'numeric',
1817
+ 'location' => 'aws.query',
1818
+ ),
1819
+ 'SnapshotId' => array(
1820
+ 'type' => 'string',
1821
+ 'location' => 'aws.query',
1822
+ ),
1823
+ 'AvailabilityZone' => array(
1824
+ 'required' => true,
1825
+ 'type' => 'string',
1826
+ 'location' => 'aws.query',
1827
+ ),
1828
+ 'VolumeType' => array(
1829
+ 'type' => 'string',
1830
+ 'location' => 'aws.query',
1831
+ ),
1832
+ 'Iops' => array(
1833
+ 'type' => 'numeric',
1834
+ 'location' => 'aws.query',
1835
+ ),
1836
+ 'Encrypted' => array(
1837
+ 'type' => 'boolean',
1838
+ 'format' => 'boolean-string',
1839
+ 'location' => 'aws.query',
1840
+ ),
1841
+ ),
1842
+ ),
1843
+ 'CreateVpc' => array(
1844
+ 'httpMethod' => 'POST',
1845
+ 'uri' => '/',
1846
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1847
+ 'responseClass' => 'CreateVpcResult',
1848
+ 'responseType' => 'model',
1849
+ 'parameters' => array(
1850
+ 'Action' => array(
1851
+ 'static' => true,
1852
+ 'location' => 'aws.query',
1853
+ 'default' => 'CreateVpc',
1854
+ ),
1855
+ 'Version' => array(
1856
+ 'static' => true,
1857
+ 'location' => 'aws.query',
1858
+ 'default' => '2014-09-01',
1859
+ ),
1860
+ 'DryRun' => array(
1861
+ 'type' => 'boolean',
1862
+ 'format' => 'boolean-string',
1863
+ 'location' => 'aws.query',
1864
+ ),
1865
+ 'CidrBlock' => array(
1866
+ 'required' => true,
1867
+ 'type' => 'string',
1868
+ 'location' => 'aws.query',
1869
+ ),
1870
+ 'InstanceTenancy' => array(
1871
+ 'type' => 'string',
1872
+ 'location' => 'aws.query',
1873
+ ),
1874
+ ),
1875
+ ),
1876
+ 'CreateVpcPeeringConnection' => array(
1877
+ 'httpMethod' => 'POST',
1878
+ 'uri' => '/',
1879
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1880
+ 'responseClass' => 'CreateVpcPeeringConnectionResult',
1881
+ 'responseType' => 'model',
1882
+ 'parameters' => array(
1883
+ 'Action' => array(
1884
+ 'static' => true,
1885
+ 'location' => 'aws.query',
1886
+ 'default' => 'CreateVpcPeeringConnection',
1887
+ ),
1888
+ 'Version' => array(
1889
+ 'static' => true,
1890
+ 'location' => 'aws.query',
1891
+ 'default' => '2014-09-01',
1892
+ ),
1893
+ 'DryRun' => array(
1894
+ 'type' => 'boolean',
1895
+ 'format' => 'boolean-string',
1896
+ 'location' => 'aws.query',
1897
+ ),
1898
+ 'VpcId' => array(
1899
+ 'type' => 'string',
1900
+ 'location' => 'aws.query',
1901
+ ),
1902
+ 'PeerVpcId' => array(
1903
+ 'type' => 'string',
1904
+ 'location' => 'aws.query',
1905
+ ),
1906
+ 'PeerOwnerId' => array(
1907
+ 'type' => 'string',
1908
+ 'location' => 'aws.query',
1909
+ ),
1910
+ ),
1911
+ ),
1912
+ 'CreateVpnConnection' => array(
1913
+ 'httpMethod' => 'POST',
1914
+ 'uri' => '/',
1915
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1916
+ 'responseClass' => 'CreateVpnConnectionResult',
1917
+ 'responseType' => 'model',
1918
+ 'parameters' => array(
1919
+ 'Action' => array(
1920
+ 'static' => true,
1921
+ 'location' => 'aws.query',
1922
+ 'default' => 'CreateVpnConnection',
1923
+ ),
1924
+ 'Version' => array(
1925
+ 'static' => true,
1926
+ 'location' => 'aws.query',
1927
+ 'default' => '2014-09-01',
1928
+ ),
1929
+ 'DryRun' => array(
1930
+ 'type' => 'boolean',
1931
+ 'format' => 'boolean-string',
1932
+ 'location' => 'aws.query',
1933
+ ),
1934
+ 'Type' => array(
1935
+ 'required' => true,
1936
+ 'type' => 'string',
1937
+ 'location' => 'aws.query',
1938
+ ),
1939
+ 'CustomerGatewayId' => array(
1940
+ 'required' => true,
1941
+ 'type' => 'string',
1942
+ 'location' => 'aws.query',
1943
+ ),
1944
+ 'VpnGatewayId' => array(
1945
+ 'required' => true,
1946
+ 'type' => 'string',
1947
+ 'location' => 'aws.query',
1948
+ ),
1949
+ 'Options' => array(
1950
+ 'type' => 'object',
1951
+ 'location' => 'aws.query',
1952
+ 'properties' => array(
1953
+ 'StaticRoutesOnly' => array(
1954
+ 'type' => 'boolean',
1955
+ 'format' => 'boolean-string',
1956
+ ),
1957
+ ),
1958
+ ),
1959
+ ),
1960
+ ),
1961
+ 'CreateVpnConnectionRoute' => array(
1962
+ 'httpMethod' => 'POST',
1963
+ 'uri' => '/',
1964
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1965
+ 'responseClass' => 'EmptyOutput',
1966
+ 'responseType' => 'model',
1967
+ 'parameters' => array(
1968
+ 'Action' => array(
1969
+ 'static' => true,
1970
+ 'location' => 'aws.query',
1971
+ 'default' => 'CreateVpnConnectionRoute',
1972
+ ),
1973
+ 'Version' => array(
1974
+ 'static' => true,
1975
+ 'location' => 'aws.query',
1976
+ 'default' => '2014-09-01',
1977
+ ),
1978
+ 'VpnConnectionId' => array(
1979
+ 'required' => true,
1980
+ 'type' => 'string',
1981
+ 'location' => 'aws.query',
1982
+ ),
1983
+ 'DestinationCidrBlock' => array(
1984
+ 'required' => true,
1985
+ 'type' => 'string',
1986
+ 'location' => 'aws.query',
1987
+ ),
1988
+ ),
1989
+ ),
1990
+ 'CreateVpnGateway' => array(
1991
+ 'httpMethod' => 'POST',
1992
+ 'uri' => '/',
1993
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
1994
+ 'responseClass' => 'CreateVpnGatewayResult',
1995
+ 'responseType' => 'model',
1996
+ 'parameters' => array(
1997
+ 'Action' => array(
1998
+ 'static' => true,
1999
+ 'location' => 'aws.query',
2000
+ 'default' => 'CreateVpnGateway',
2001
+ ),
2002
+ 'Version' => array(
2003
+ 'static' => true,
2004
+ 'location' => 'aws.query',
2005
+ 'default' => '2014-09-01',
2006
+ ),
2007
+ 'DryRun' => array(
2008
+ 'type' => 'boolean',
2009
+ 'format' => 'boolean-string',
2010
+ 'location' => 'aws.query',
2011
+ ),
2012
+ 'Type' => array(
2013
+ 'required' => true,
2014
+ 'type' => 'string',
2015
+ 'location' => 'aws.query',
2016
+ ),
2017
+ 'AvailabilityZone' => array(
2018
+ 'type' => 'string',
2019
+ 'location' => 'aws.query',
2020
+ ),
2021
+ ),
2022
+ ),
2023
+ 'DeleteCustomerGateway' => array(
2024
+ 'httpMethod' => 'POST',
2025
+ 'uri' => '/',
2026
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2027
+ 'responseClass' => 'EmptyOutput',
2028
+ 'responseType' => 'model',
2029
+ 'parameters' => array(
2030
+ 'Action' => array(
2031
+ 'static' => true,
2032
+ 'location' => 'aws.query',
2033
+ 'default' => 'DeleteCustomerGateway',
2034
+ ),
2035
+ 'Version' => array(
2036
+ 'static' => true,
2037
+ 'location' => 'aws.query',
2038
+ 'default' => '2014-09-01',
2039
+ ),
2040
+ 'DryRun' => array(
2041
+ 'type' => 'boolean',
2042
+ 'format' => 'boolean-string',
2043
+ 'location' => 'aws.query',
2044
+ ),
2045
+ 'CustomerGatewayId' => array(
2046
+ 'required' => true,
2047
+ 'type' => 'string',
2048
+ 'location' => 'aws.query',
2049
+ ),
2050
+ ),
2051
+ ),
2052
+ 'DeleteDhcpOptions' => array(
2053
+ 'httpMethod' => 'POST',
2054
+ 'uri' => '/',
2055
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2056
+ 'responseClass' => 'EmptyOutput',
2057
+ 'responseType' => 'model',
2058
+ 'parameters' => array(
2059
+ 'Action' => array(
2060
+ 'static' => true,
2061
+ 'location' => 'aws.query',
2062
+ 'default' => 'DeleteDhcpOptions',
2063
+ ),
2064
+ 'Version' => array(
2065
+ 'static' => true,
2066
+ 'location' => 'aws.query',
2067
+ 'default' => '2014-09-01',
2068
+ ),
2069
+ 'DryRun' => array(
2070
+ 'type' => 'boolean',
2071
+ 'format' => 'boolean-string',
2072
+ 'location' => 'aws.query',
2073
+ ),
2074
+ 'DhcpOptionsId' => array(
2075
+ 'required' => true,
2076
+ 'type' => 'string',
2077
+ 'location' => 'aws.query',
2078
+ ),
2079
+ ),
2080
+ ),
2081
+ 'DeleteInternetGateway' => array(
2082
+ 'httpMethod' => 'POST',
2083
+ 'uri' => '/',
2084
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2085
+ 'responseClass' => 'EmptyOutput',
2086
+ 'responseType' => 'model',
2087
+ 'parameters' => array(
2088
+ 'Action' => array(
2089
+ 'static' => true,
2090
+ 'location' => 'aws.query',
2091
+ 'default' => 'DeleteInternetGateway',
2092
+ ),
2093
+ 'Version' => array(
2094
+ 'static' => true,
2095
+ 'location' => 'aws.query',
2096
+ 'default' => '2014-09-01',
2097
+ ),
2098
+ 'DryRun' => array(
2099
+ 'type' => 'boolean',
2100
+ 'format' => 'boolean-string',
2101
+ 'location' => 'aws.query',
2102
+ ),
2103
+ 'InternetGatewayId' => array(
2104
+ 'required' => true,
2105
+ 'type' => 'string',
2106
+ 'location' => 'aws.query',
2107
+ ),
2108
+ ),
2109
+ ),
2110
+ 'DeleteKeyPair' => array(
2111
+ 'httpMethod' => 'POST',
2112
+ 'uri' => '/',
2113
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2114
+ 'responseClass' => 'EmptyOutput',
2115
+ 'responseType' => 'model',
2116
+ 'parameters' => array(
2117
+ 'Action' => array(
2118
+ 'static' => true,
2119
+ 'location' => 'aws.query',
2120
+ 'default' => 'DeleteKeyPair',
2121
+ ),
2122
+ 'Version' => array(
2123
+ 'static' => true,
2124
+ 'location' => 'aws.query',
2125
+ 'default' => '2014-09-01',
2126
+ ),
2127
+ 'DryRun' => array(
2128
+ 'type' => 'boolean',
2129
+ 'format' => 'boolean-string',
2130
+ 'location' => 'aws.query',
2131
+ ),
2132
+ 'KeyName' => array(
2133
+ 'required' => true,
2134
+ 'type' => 'string',
2135
+ 'location' => 'aws.query',
2136
+ ),
2137
+ ),
2138
+ ),
2139
+ 'DeleteNetworkAcl' => array(
2140
+ 'httpMethod' => 'POST',
2141
+ 'uri' => '/',
2142
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2143
+ 'responseClass' => 'EmptyOutput',
2144
+ 'responseType' => 'model',
2145
+ 'parameters' => array(
2146
+ 'Action' => array(
2147
+ 'static' => true,
2148
+ 'location' => 'aws.query',
2149
+ 'default' => 'DeleteNetworkAcl',
2150
+ ),
2151
+ 'Version' => array(
2152
+ 'static' => true,
2153
+ 'location' => 'aws.query',
2154
+ 'default' => '2014-09-01',
2155
+ ),
2156
+ 'DryRun' => array(
2157
+ 'type' => 'boolean',
2158
+ 'format' => 'boolean-string',
2159
+ 'location' => 'aws.query',
2160
+ ),
2161
+ 'NetworkAclId' => array(
2162
+ 'required' => true,
2163
+ 'type' => 'string',
2164
+ 'location' => 'aws.query',
2165
+ ),
2166
+ ),
2167
+ ),
2168
+ 'DeleteNetworkAclEntry' => array(
2169
+ 'httpMethod' => 'POST',
2170
+ 'uri' => '/',
2171
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2172
+ 'responseClass' => 'EmptyOutput',
2173
+ 'responseType' => 'model',
2174
+ 'parameters' => array(
2175
+ 'Action' => array(
2176
+ 'static' => true,
2177
+ 'location' => 'aws.query',
2178
+ 'default' => 'DeleteNetworkAclEntry',
2179
+ ),
2180
+ 'Version' => array(
2181
+ 'static' => true,
2182
+ 'location' => 'aws.query',
2183
+ 'default' => '2014-09-01',
2184
+ ),
2185
+ 'DryRun' => array(
2186
+ 'type' => 'boolean',
2187
+ 'format' => 'boolean-string',
2188
+ 'location' => 'aws.query',
2189
+ ),
2190
+ 'NetworkAclId' => array(
2191
+ 'required' => true,
2192
+ 'type' => 'string',
2193
+ 'location' => 'aws.query',
2194
+ ),
2195
+ 'RuleNumber' => array(
2196
+ 'required' => true,
2197
+ 'type' => 'numeric',
2198
+ 'location' => 'aws.query',
2199
+ ),
2200
+ 'Egress' => array(
2201
+ 'required' => true,
2202
+ 'type' => 'boolean',
2203
+ 'format' => 'boolean-string',
2204
+ 'location' => 'aws.query',
2205
+ ),
2206
+ ),
2207
+ ),
2208
+ 'DeleteNetworkInterface' => array(
2209
+ 'httpMethod' => 'POST',
2210
+ 'uri' => '/',
2211
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2212
+ 'responseClass' => 'EmptyOutput',
2213
+ 'responseType' => 'model',
2214
+ 'parameters' => array(
2215
+ 'Action' => array(
2216
+ 'static' => true,
2217
+ 'location' => 'aws.query',
2218
+ 'default' => 'DeleteNetworkInterface',
2219
+ ),
2220
+ 'Version' => array(
2221
+ 'static' => true,
2222
+ 'location' => 'aws.query',
2223
+ 'default' => '2014-09-01',
2224
+ ),
2225
+ 'DryRun' => array(
2226
+ 'type' => 'boolean',
2227
+ 'format' => 'boolean-string',
2228
+ 'location' => 'aws.query',
2229
+ ),
2230
+ 'NetworkInterfaceId' => array(
2231
+ 'required' => true,
2232
+ 'type' => 'string',
2233
+ 'location' => 'aws.query',
2234
+ ),
2235
+ ),
2236
+ ),
2237
+ 'DeletePlacementGroup' => array(
2238
+ 'httpMethod' => 'POST',
2239
+ 'uri' => '/',
2240
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2241
+ 'responseClass' => 'EmptyOutput',
2242
+ 'responseType' => 'model',
2243
+ 'parameters' => array(
2244
+ 'Action' => array(
2245
+ 'static' => true,
2246
+ 'location' => 'aws.query',
2247
+ 'default' => 'DeletePlacementGroup',
2248
+ ),
2249
+ 'Version' => array(
2250
+ 'static' => true,
2251
+ 'location' => 'aws.query',
2252
+ 'default' => '2014-09-01',
2253
+ ),
2254
+ 'DryRun' => array(
2255
+ 'type' => 'boolean',
2256
+ 'format' => 'boolean-string',
2257
+ 'location' => 'aws.query',
2258
+ ),
2259
+ 'GroupName' => array(
2260
+ 'required' => true,
2261
+ 'type' => 'string',
2262
+ 'location' => 'aws.query',
2263
+ ),
2264
+ ),
2265
+ ),
2266
+ 'DeleteRoute' => array(
2267
+ 'httpMethod' => 'POST',
2268
+ 'uri' => '/',
2269
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2270
+ 'responseClass' => 'EmptyOutput',
2271
+ 'responseType' => 'model',
2272
+ 'parameters' => array(
2273
+ 'Action' => array(
2274
+ 'static' => true,
2275
+ 'location' => 'aws.query',
2276
+ 'default' => 'DeleteRoute',
2277
+ ),
2278
+ 'Version' => array(
2279
+ 'static' => true,
2280
+ 'location' => 'aws.query',
2281
+ 'default' => '2014-09-01',
2282
+ ),
2283
+ 'DryRun' => array(
2284
+ 'type' => 'boolean',
2285
+ 'format' => 'boolean-string',
2286
+ 'location' => 'aws.query',
2287
+ ),
2288
+ 'RouteTableId' => array(
2289
+ 'required' => true,
2290
+ 'type' => 'string',
2291
+ 'location' => 'aws.query',
2292
+ ),
2293
+ 'DestinationCidrBlock' => array(
2294
+ 'required' => true,
2295
+ 'type' => 'string',
2296
+ 'location' => 'aws.query',
2297
+ ),
2298
+ ),
2299
+ ),
2300
+ 'DeleteRouteTable' => array(
2301
+ 'httpMethod' => 'POST',
2302
+ 'uri' => '/',
2303
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2304
+ 'responseClass' => 'EmptyOutput',
2305
+ 'responseType' => 'model',
2306
+ 'parameters' => array(
2307
+ 'Action' => array(
2308
+ 'static' => true,
2309
+ 'location' => 'aws.query',
2310
+ 'default' => 'DeleteRouteTable',
2311
+ ),
2312
+ 'Version' => array(
2313
+ 'static' => true,
2314
+ 'location' => 'aws.query',
2315
+ 'default' => '2014-09-01',
2316
+ ),
2317
+ 'DryRun' => array(
2318
+ 'type' => 'boolean',
2319
+ 'format' => 'boolean-string',
2320
+ 'location' => 'aws.query',
2321
+ ),
2322
+ 'RouteTableId' => array(
2323
+ 'required' => true,
2324
+ 'type' => 'string',
2325
+ 'location' => 'aws.query',
2326
+ ),
2327
+ ),
2328
+ ),
2329
+ 'DeleteSecurityGroup' => array(
2330
+ 'httpMethod' => 'POST',
2331
+ 'uri' => '/',
2332
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2333
+ 'responseClass' => 'EmptyOutput',
2334
+ 'responseType' => 'model',
2335
+ 'parameters' => array(
2336
+ 'Action' => array(
2337
+ 'static' => true,
2338
+ 'location' => 'aws.query',
2339
+ 'default' => 'DeleteSecurityGroup',
2340
+ ),
2341
+ 'Version' => array(
2342
+ 'static' => true,
2343
+ 'location' => 'aws.query',
2344
+ 'default' => '2014-09-01',
2345
+ ),
2346
+ 'DryRun' => array(
2347
+ 'type' => 'boolean',
2348
+ 'format' => 'boolean-string',
2349
+ 'location' => 'aws.query',
2350
+ ),
2351
+ 'GroupName' => array(
2352
+ 'type' => 'string',
2353
+ 'location' => 'aws.query',
2354
+ ),
2355
+ 'GroupId' => array(
2356
+ 'type' => 'string',
2357
+ 'location' => 'aws.query',
2358
+ ),
2359
+ ),
2360
+ ),
2361
+ 'DeleteSnapshot' => array(
2362
+ 'httpMethod' => 'POST',
2363
+ 'uri' => '/',
2364
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2365
+ 'responseClass' => 'EmptyOutput',
2366
+ 'responseType' => 'model',
2367
+ 'parameters' => array(
2368
+ 'Action' => array(
2369
+ 'static' => true,
2370
+ 'location' => 'aws.query',
2371
+ 'default' => 'DeleteSnapshot',
2372
+ ),
2373
+ 'Version' => array(
2374
+ 'static' => true,
2375
+ 'location' => 'aws.query',
2376
+ 'default' => '2014-09-01',
2377
+ ),
2378
+ 'DryRun' => array(
2379
+ 'type' => 'boolean',
2380
+ 'format' => 'boolean-string',
2381
+ 'location' => 'aws.query',
2382
+ ),
2383
+ 'SnapshotId' => array(
2384
+ 'required' => true,
2385
+ 'type' => 'string',
2386
+ 'location' => 'aws.query',
2387
+ ),
2388
+ ),
2389
+ ),
2390
+ 'DeleteSpotDatafeedSubscription' => array(
2391
+ 'httpMethod' => 'POST',
2392
+ 'uri' => '/',
2393
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2394
+ 'responseClass' => 'EmptyOutput',
2395
+ 'responseType' => 'model',
2396
+ 'parameters' => array(
2397
+ 'Action' => array(
2398
+ 'static' => true,
2399
+ 'location' => 'aws.query',
2400
+ 'default' => 'DeleteSpotDatafeedSubscription',
2401
+ ),
2402
+ 'Version' => array(
2403
+ 'static' => true,
2404
+ 'location' => 'aws.query',
2405
+ 'default' => '2014-09-01',
2406
+ ),
2407
+ 'DryRun' => array(
2408
+ 'type' => 'boolean',
2409
+ 'format' => 'boolean-string',
2410
+ 'location' => 'aws.query',
2411
+ ),
2412
+ ),
2413
+ ),
2414
+ 'DeleteSubnet' => array(
2415
+ 'httpMethod' => 'POST',
2416
+ 'uri' => '/',
2417
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2418
+ 'responseClass' => 'EmptyOutput',
2419
+ 'responseType' => 'model',
2420
+ 'parameters' => array(
2421
+ 'Action' => array(
2422
+ 'static' => true,
2423
+ 'location' => 'aws.query',
2424
+ 'default' => 'DeleteSubnet',
2425
+ ),
2426
+ 'Version' => array(
2427
+ 'static' => true,
2428
+ 'location' => 'aws.query',
2429
+ 'default' => '2014-09-01',
2430
+ ),
2431
+ 'DryRun' => array(
2432
+ 'type' => 'boolean',
2433
+ 'format' => 'boolean-string',
2434
+ 'location' => 'aws.query',
2435
+ ),
2436
+ 'SubnetId' => array(
2437
+ 'required' => true,
2438
+ 'type' => 'string',
2439
+ 'location' => 'aws.query',
2440
+ ),
2441
+ ),
2442
+ ),
2443
+ 'DeleteTags' => array(
2444
+ 'httpMethod' => 'POST',
2445
+ 'uri' => '/',
2446
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2447
+ 'responseClass' => 'EmptyOutput',
2448
+ 'responseType' => 'model',
2449
+ 'parameters' => array(
2450
+ 'Action' => array(
2451
+ 'static' => true,
2452
+ 'location' => 'aws.query',
2453
+ 'default' => 'DeleteTags',
2454
+ ),
2455
+ 'Version' => array(
2456
+ 'static' => true,
2457
+ 'location' => 'aws.query',
2458
+ 'default' => '2014-09-01',
2459
+ ),
2460
+ 'DryRun' => array(
2461
+ 'type' => 'boolean',
2462
+ 'format' => 'boolean-string',
2463
+ 'location' => 'aws.query',
2464
+ ),
2465
+ 'Resources' => array(
2466
+ 'required' => true,
2467
+ 'type' => 'array',
2468
+ 'location' => 'aws.query',
2469
+ 'sentAs' => 'ResourceId',
2470
+ 'items' => array(
2471
+ 'name' => 'ResourceId',
2472
+ 'type' => 'string',
2473
+ ),
2474
+ ),
2475
+ 'Tags' => array(
2476
+ 'type' => 'array',
2477
+ 'location' => 'aws.query',
2478
+ 'sentAs' => 'Tag',
2479
+ 'items' => array(
2480
+ 'name' => 'Tag',
2481
+ 'type' => 'object',
2482
+ 'properties' => array(
2483
+ 'Key' => array(
2484
+ 'type' => 'string',
2485
+ ),
2486
+ 'Value' => array(
2487
+ 'type' => 'string',
2488
+ ),
2489
+ ),
2490
+ ),
2491
+ ),
2492
+ ),
2493
+ ),
2494
+ 'DeleteVolume' => array(
2495
+ 'httpMethod' => 'POST',
2496
+ 'uri' => '/',
2497
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2498
+ 'responseClass' => 'EmptyOutput',
2499
+ 'responseType' => 'model',
2500
+ 'parameters' => array(
2501
+ 'Action' => array(
2502
+ 'static' => true,
2503
+ 'location' => 'aws.query',
2504
+ 'default' => 'DeleteVolume',
2505
+ ),
2506
+ 'Version' => array(
2507
+ 'static' => true,
2508
+ 'location' => 'aws.query',
2509
+ 'default' => '2014-09-01',
2510
+ ),
2511
+ 'DryRun' => array(
2512
+ 'type' => 'boolean',
2513
+ 'format' => 'boolean-string',
2514
+ 'location' => 'aws.query',
2515
+ ),
2516
+ 'VolumeId' => array(
2517
+ 'required' => true,
2518
+ 'type' => 'string',
2519
+ 'location' => 'aws.query',
2520
+ ),
2521
+ ),
2522
+ ),
2523
+ 'DeleteVpc' => array(
2524
+ 'httpMethod' => 'POST',
2525
+ 'uri' => '/',
2526
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2527
+ 'responseClass' => 'EmptyOutput',
2528
+ 'responseType' => 'model',
2529
+ 'parameters' => array(
2530
+ 'Action' => array(
2531
+ 'static' => true,
2532
+ 'location' => 'aws.query',
2533
+ 'default' => 'DeleteVpc',
2534
+ ),
2535
+ 'Version' => array(
2536
+ 'static' => true,
2537
+ 'location' => 'aws.query',
2538
+ 'default' => '2014-09-01',
2539
+ ),
2540
+ 'DryRun' => array(
2541
+ 'type' => 'boolean',
2542
+ 'format' => 'boolean-string',
2543
+ 'location' => 'aws.query',
2544
+ ),
2545
+ 'VpcId' => array(
2546
+ 'required' => true,
2547
+ 'type' => 'string',
2548
+ 'location' => 'aws.query',
2549
+ ),
2550
+ ),
2551
+ ),
2552
+ 'DeleteVpcPeeringConnection' => array(
2553
+ 'httpMethod' => 'POST',
2554
+ 'uri' => '/',
2555
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2556
+ 'responseClass' => 'DeleteVpcPeeringConnectionResult',
2557
+ 'responseType' => 'model',
2558
+ 'parameters' => array(
2559
+ 'Action' => array(
2560
+ 'static' => true,
2561
+ 'location' => 'aws.query',
2562
+ 'default' => 'DeleteVpcPeeringConnection',
2563
+ ),
2564
+ 'Version' => array(
2565
+ 'static' => true,
2566
+ 'location' => 'aws.query',
2567
+ 'default' => '2014-09-01',
2568
+ ),
2569
+ 'DryRun' => array(
2570
+ 'type' => 'boolean',
2571
+ 'format' => 'boolean-string',
2572
+ 'location' => 'aws.query',
2573
+ ),
2574
+ 'VpcPeeringConnectionId' => array(
2575
+ 'required' => true,
2576
+ 'type' => 'string',
2577
+ 'location' => 'aws.query',
2578
+ ),
2579
+ ),
2580
+ ),
2581
+ 'DeleteVpnConnection' => array(
2582
+ 'httpMethod' => 'POST',
2583
+ 'uri' => '/',
2584
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2585
+ 'responseClass' => 'EmptyOutput',
2586
+ 'responseType' => 'model',
2587
+ 'parameters' => array(
2588
+ 'Action' => array(
2589
+ 'static' => true,
2590
+ 'location' => 'aws.query',
2591
+ 'default' => 'DeleteVpnConnection',
2592
+ ),
2593
+ 'Version' => array(
2594
+ 'static' => true,
2595
+ 'location' => 'aws.query',
2596
+ 'default' => '2014-09-01',
2597
+ ),
2598
+ 'DryRun' => array(
2599
+ 'type' => 'boolean',
2600
+ 'format' => 'boolean-string',
2601
+ 'location' => 'aws.query',
2602
+ ),
2603
+ 'VpnConnectionId' => array(
2604
+ 'required' => true,
2605
+ 'type' => 'string',
2606
+ 'location' => 'aws.query',
2607
+ ),
2608
+ ),
2609
+ ),
2610
+ 'DeleteVpnConnectionRoute' => array(
2611
+ 'httpMethod' => 'POST',
2612
+ 'uri' => '/',
2613
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2614
+ 'responseClass' => 'EmptyOutput',
2615
+ 'responseType' => 'model',
2616
+ 'parameters' => array(
2617
+ 'Action' => array(
2618
+ 'static' => true,
2619
+ 'location' => 'aws.query',
2620
+ 'default' => 'DeleteVpnConnectionRoute',
2621
+ ),
2622
+ 'Version' => array(
2623
+ 'static' => true,
2624
+ 'location' => 'aws.query',
2625
+ 'default' => '2014-09-01',
2626
+ ),
2627
+ 'VpnConnectionId' => array(
2628
+ 'required' => true,
2629
+ 'type' => 'string',
2630
+ 'location' => 'aws.query',
2631
+ ),
2632
+ 'DestinationCidrBlock' => array(
2633
+ 'required' => true,
2634
+ 'type' => 'string',
2635
+ 'location' => 'aws.query',
2636
+ ),
2637
+ ),
2638
+ ),
2639
+ 'DeleteVpnGateway' => array(
2640
+ 'httpMethod' => 'POST',
2641
+ 'uri' => '/',
2642
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2643
+ 'responseClass' => 'EmptyOutput',
2644
+ 'responseType' => 'model',
2645
+ 'parameters' => array(
2646
+ 'Action' => array(
2647
+ 'static' => true,
2648
+ 'location' => 'aws.query',
2649
+ 'default' => 'DeleteVpnGateway',
2650
+ ),
2651
+ 'Version' => array(
2652
+ 'static' => true,
2653
+ 'location' => 'aws.query',
2654
+ 'default' => '2014-09-01',
2655
+ ),
2656
+ 'DryRun' => array(
2657
+ 'type' => 'boolean',
2658
+ 'format' => 'boolean-string',
2659
+ 'location' => 'aws.query',
2660
+ ),
2661
+ 'VpnGatewayId' => array(
2662
+ 'required' => true,
2663
+ 'type' => 'string',
2664
+ 'location' => 'aws.query',
2665
+ ),
2666
+ ),
2667
+ ),
2668
+ 'DeregisterImage' => array(
2669
+ 'httpMethod' => 'POST',
2670
+ 'uri' => '/',
2671
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2672
+ 'responseClass' => 'EmptyOutput',
2673
+ 'responseType' => 'model',
2674
+ 'parameters' => array(
2675
+ 'Action' => array(
2676
+ 'static' => true,
2677
+ 'location' => 'aws.query',
2678
+ 'default' => 'DeregisterImage',
2679
+ ),
2680
+ 'Version' => array(
2681
+ 'static' => true,
2682
+ 'location' => 'aws.query',
2683
+ 'default' => '2014-09-01',
2684
+ ),
2685
+ 'DryRun' => array(
2686
+ 'type' => 'boolean',
2687
+ 'format' => 'boolean-string',
2688
+ 'location' => 'aws.query',
2689
+ ),
2690
+ 'ImageId' => array(
2691
+ 'required' => true,
2692
+ 'type' => 'string',
2693
+ 'location' => 'aws.query',
2694
+ ),
2695
+ ),
2696
+ ),
2697
+ 'DescribeAccountAttributes' => array(
2698
+ 'httpMethod' => 'POST',
2699
+ 'uri' => '/',
2700
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2701
+ 'responseClass' => 'DescribeAccountAttributesResult',
2702
+ 'responseType' => 'model',
2703
+ 'parameters' => array(
2704
+ 'Action' => array(
2705
+ 'static' => true,
2706
+ 'location' => 'aws.query',
2707
+ 'default' => 'DescribeAccountAttributes',
2708
+ ),
2709
+ 'Version' => array(
2710
+ 'static' => true,
2711
+ 'location' => 'aws.query',
2712
+ 'default' => '2014-09-01',
2713
+ ),
2714
+ 'DryRun' => array(
2715
+ 'type' => 'boolean',
2716
+ 'format' => 'boolean-string',
2717
+ 'location' => 'aws.query',
2718
+ ),
2719
+ 'AttributeNames' => array(
2720
+ 'type' => 'array',
2721
+ 'location' => 'aws.query',
2722
+ 'sentAs' => 'AttributeName',
2723
+ 'items' => array(
2724
+ 'name' => 'AttributeName',
2725
+ 'type' => 'string',
2726
+ ),
2727
+ ),
2728
+ ),
2729
+ ),
2730
+ 'DescribeAddresses' => array(
2731
+ 'httpMethod' => 'POST',
2732
+ 'uri' => '/',
2733
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2734
+ 'responseClass' => 'DescribeAddressesResult',
2735
+ 'responseType' => 'model',
2736
+ 'parameters' => array(
2737
+ 'Action' => array(
2738
+ 'static' => true,
2739
+ 'location' => 'aws.query',
2740
+ 'default' => 'DescribeAddresses',
2741
+ ),
2742
+ 'Version' => array(
2743
+ 'static' => true,
2744
+ 'location' => 'aws.query',
2745
+ 'default' => '2014-09-01',
2746
+ ),
2747
+ 'DryRun' => array(
2748
+ 'type' => 'boolean',
2749
+ 'format' => 'boolean-string',
2750
+ 'location' => 'aws.query',
2751
+ ),
2752
+ 'PublicIps' => array(
2753
+ 'type' => 'array',
2754
+ 'location' => 'aws.query',
2755
+ 'sentAs' => 'PublicIp',
2756
+ 'items' => array(
2757
+ 'name' => 'PublicIp',
2758
+ 'type' => 'string',
2759
+ ),
2760
+ ),
2761
+ 'Filters' => array(
2762
+ 'type' => 'array',
2763
+ 'location' => 'aws.query',
2764
+ 'sentAs' => 'Filter',
2765
+ 'items' => array(
2766
+ 'name' => 'Filter',
2767
+ 'type' => 'object',
2768
+ 'properties' => array(
2769
+ 'Name' => array(
2770
+ 'type' => 'string',
2771
+ ),
2772
+ 'Values' => array(
2773
+ 'type' => 'array',
2774
+ 'sentAs' => 'Value',
2775
+ 'items' => array(
2776
+ 'name' => 'Value',
2777
+ 'type' => 'string',
2778
+ ),
2779
+ ),
2780
+ ),
2781
+ ),
2782
+ ),
2783
+ 'AllocationIds' => array(
2784
+ 'type' => 'array',
2785
+ 'location' => 'aws.query',
2786
+ 'sentAs' => 'AllocationId',
2787
+ 'items' => array(
2788
+ 'name' => 'AllocationId',
2789
+ 'type' => 'string',
2790
+ ),
2791
+ ),
2792
+ ),
2793
+ ),
2794
+ 'DescribeAvailabilityZones' => array(
2795
+ 'httpMethod' => 'POST',
2796
+ 'uri' => '/',
2797
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2798
+ 'responseClass' => 'DescribeAvailabilityZonesResult',
2799
+ 'responseType' => 'model',
2800
+ 'parameters' => array(
2801
+ 'Action' => array(
2802
+ 'static' => true,
2803
+ 'location' => 'aws.query',
2804
+ 'default' => 'DescribeAvailabilityZones',
2805
+ ),
2806
+ 'Version' => array(
2807
+ 'static' => true,
2808
+ 'location' => 'aws.query',
2809
+ 'default' => '2014-09-01',
2810
+ ),
2811
+ 'DryRun' => array(
2812
+ 'type' => 'boolean',
2813
+ 'format' => 'boolean-string',
2814
+ 'location' => 'aws.query',
2815
+ ),
2816
+ 'ZoneNames' => array(
2817
+ 'type' => 'array',
2818
+ 'location' => 'aws.query',
2819
+ 'sentAs' => 'ZoneName',
2820
+ 'items' => array(
2821
+ 'name' => 'ZoneName',
2822
+ 'type' => 'string',
2823
+ ),
2824
+ ),
2825
+ 'Filters' => array(
2826
+ 'type' => 'array',
2827
+ 'location' => 'aws.query',
2828
+ 'sentAs' => 'Filter',
2829
+ 'items' => array(
2830
+ 'name' => 'Filter',
2831
+ 'type' => 'object',
2832
+ 'properties' => array(
2833
+ 'Name' => array(
2834
+ 'type' => 'string',
2835
+ ),
2836
+ 'Values' => array(
2837
+ 'type' => 'array',
2838
+ 'sentAs' => 'Value',
2839
+ 'items' => array(
2840
+ 'name' => 'Value',
2841
+ 'type' => 'string',
2842
+ ),
2843
+ ),
2844
+ ),
2845
+ ),
2846
+ ),
2847
+ ),
2848
+ ),
2849
+ 'DescribeBundleTasks' => array(
2850
+ 'httpMethod' => 'POST',
2851
+ 'uri' => '/',
2852
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2853
+ 'responseClass' => 'DescribeBundleTasksResult',
2854
+ 'responseType' => 'model',
2855
+ 'parameters' => array(
2856
+ 'Action' => array(
2857
+ 'static' => true,
2858
+ 'location' => 'aws.query',
2859
+ 'default' => 'DescribeBundleTasks',
2860
+ ),
2861
+ 'Version' => array(
2862
+ 'static' => true,
2863
+ 'location' => 'aws.query',
2864
+ 'default' => '2014-09-01',
2865
+ ),
2866
+ 'DryRun' => array(
2867
+ 'type' => 'boolean',
2868
+ 'format' => 'boolean-string',
2869
+ 'location' => 'aws.query',
2870
+ ),
2871
+ 'BundleIds' => array(
2872
+ 'type' => 'array',
2873
+ 'location' => 'aws.query',
2874
+ 'sentAs' => 'BundleId',
2875
+ 'items' => array(
2876
+ 'name' => 'BundleId',
2877
+ 'type' => 'string',
2878
+ ),
2879
+ ),
2880
+ 'Filters' => array(
2881
+ 'type' => 'array',
2882
+ 'location' => 'aws.query',
2883
+ 'sentAs' => 'Filter',
2884
+ 'items' => array(
2885
+ 'name' => 'Filter',
2886
+ 'type' => 'object',
2887
+ 'properties' => array(
2888
+ 'Name' => array(
2889
+ 'type' => 'string',
2890
+ ),
2891
+ 'Values' => array(
2892
+ 'type' => 'array',
2893
+ 'sentAs' => 'Value',
2894
+ 'items' => array(
2895
+ 'name' => 'Value',
2896
+ 'type' => 'string',
2897
+ ),
2898
+ ),
2899
+ ),
2900
+ ),
2901
+ ),
2902
+ ),
2903
+ ),
2904
+ 'DescribeConversionTasks' => array(
2905
+ 'httpMethod' => 'POST',
2906
+ 'uri' => '/',
2907
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2908
+ 'responseClass' => 'DescribeConversionTasksResult',
2909
+ 'responseType' => 'model',
2910
+ 'parameters' => array(
2911
+ 'Action' => array(
2912
+ 'static' => true,
2913
+ 'location' => 'aws.query',
2914
+ 'default' => 'DescribeConversionTasks',
2915
+ ),
2916
+ 'Version' => array(
2917
+ 'static' => true,
2918
+ 'location' => 'aws.query',
2919
+ 'default' => '2014-09-01',
2920
+ ),
2921
+ 'DryRun' => array(
2922
+ 'type' => 'boolean',
2923
+ 'format' => 'boolean-string',
2924
+ 'location' => 'aws.query',
2925
+ ),
2926
+ 'Filters' => array(
2927
+ 'type' => 'array',
2928
+ 'location' => 'aws.query',
2929
+ 'sentAs' => 'Filter',
2930
+ 'items' => array(
2931
+ 'name' => 'Filter',
2932
+ 'type' => 'object',
2933
+ 'properties' => array(
2934
+ 'Name' => array(
2935
+ 'type' => 'string',
2936
+ ),
2937
+ 'Values' => array(
2938
+ 'type' => 'array',
2939
+ 'sentAs' => 'Value',
2940
+ 'items' => array(
2941
+ 'name' => 'Value',
2942
+ 'type' => 'string',
2943
+ ),
2944
+ ),
2945
+ ),
2946
+ ),
2947
+ ),
2948
+ 'ConversionTaskIds' => array(
2949
+ 'type' => 'array',
2950
+ 'location' => 'aws.query',
2951
+ 'sentAs' => 'ConversionTaskId',
2952
+ 'items' => array(
2953
+ 'name' => 'ConversionTaskId',
2954
+ 'type' => 'string',
2955
+ ),
2956
+ ),
2957
+ ),
2958
+ ),
2959
+ 'DescribeCustomerGateways' => array(
2960
+ 'httpMethod' => 'POST',
2961
+ 'uri' => '/',
2962
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
2963
+ 'responseClass' => 'DescribeCustomerGatewaysResult',
2964
+ 'responseType' => 'model',
2965
+ 'parameters' => array(
2966
+ 'Action' => array(
2967
+ 'static' => true,
2968
+ 'location' => 'aws.query',
2969
+ 'default' => 'DescribeCustomerGateways',
2970
+ ),
2971
+ 'Version' => array(
2972
+ 'static' => true,
2973
+ 'location' => 'aws.query',
2974
+ 'default' => '2014-09-01',
2975
+ ),
2976
+ 'DryRun' => array(
2977
+ 'type' => 'boolean',
2978
+ 'format' => 'boolean-string',
2979
+ 'location' => 'aws.query',
2980
+ ),
2981
+ 'CustomerGatewayIds' => array(
2982
+ 'type' => 'array',
2983
+ 'location' => 'aws.query',
2984
+ 'sentAs' => 'CustomerGatewayId',
2985
+ 'items' => array(
2986
+ 'name' => 'CustomerGatewayId',
2987
+ 'type' => 'string',
2988
+ ),
2989
+ ),
2990
+ 'Filters' => array(
2991
+ 'type' => 'array',
2992
+ 'location' => 'aws.query',
2993
+ 'sentAs' => 'Filter',
2994
+ 'items' => array(
2995
+ 'name' => 'Filter',
2996
+ 'type' => 'object',
2997
+ 'properties' => array(
2998
+ 'Name' => array(
2999
+ 'type' => 'string',
3000
+ ),
3001
+ 'Values' => array(
3002
+ 'type' => 'array',
3003
+ 'sentAs' => 'Value',
3004
+ 'items' => array(
3005
+ 'name' => 'Value',
3006
+ 'type' => 'string',
3007
+ ),
3008
+ ),
3009
+ ),
3010
+ ),
3011
+ ),
3012
+ ),
3013
+ ),
3014
+ 'DescribeDhcpOptions' => array(
3015
+ 'httpMethod' => 'POST',
3016
+ 'uri' => '/',
3017
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3018
+ 'responseClass' => 'DescribeDhcpOptionsResult',
3019
+ 'responseType' => 'model',
3020
+ 'parameters' => array(
3021
+ 'Action' => array(
3022
+ 'static' => true,
3023
+ 'location' => 'aws.query',
3024
+ 'default' => 'DescribeDhcpOptions',
3025
+ ),
3026
+ 'Version' => array(
3027
+ 'static' => true,
3028
+ 'location' => 'aws.query',
3029
+ 'default' => '2014-09-01',
3030
+ ),
3031
+ 'DryRun' => array(
3032
+ 'type' => 'boolean',
3033
+ 'format' => 'boolean-string',
3034
+ 'location' => 'aws.query',
3035
+ ),
3036
+ 'DhcpOptionsIds' => array(
3037
+ 'type' => 'array',
3038
+ 'location' => 'aws.query',
3039
+ 'sentAs' => 'DhcpOptionsId',
3040
+ 'items' => array(
3041
+ 'name' => 'DhcpOptionsId',
3042
+ 'type' => 'string',
3043
+ ),
3044
+ ),
3045
+ 'Filters' => array(
3046
+ 'type' => 'array',
3047
+ 'location' => 'aws.query',
3048
+ 'sentAs' => 'Filter',
3049
+ 'items' => array(
3050
+ 'name' => 'Filter',
3051
+ 'type' => 'object',
3052
+ 'properties' => array(
3053
+ 'Name' => array(
3054
+ 'type' => 'string',
3055
+ ),
3056
+ 'Values' => array(
3057
+ 'type' => 'array',
3058
+ 'sentAs' => 'Value',
3059
+ 'items' => array(
3060
+ 'name' => 'Value',
3061
+ 'type' => 'string',
3062
+ ),
3063
+ ),
3064
+ ),
3065
+ ),
3066
+ ),
3067
+ ),
3068
+ ),
3069
+ 'DescribeExportTasks' => array(
3070
+ 'httpMethod' => 'POST',
3071
+ 'uri' => '/',
3072
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3073
+ 'responseClass' => 'DescribeExportTasksResult',
3074
+ 'responseType' => 'model',
3075
+ 'parameters' => array(
3076
+ 'Action' => array(
3077
+ 'static' => true,
3078
+ 'location' => 'aws.query',
3079
+ 'default' => 'DescribeExportTasks',
3080
+ ),
3081
+ 'Version' => array(
3082
+ 'static' => true,
3083
+ 'location' => 'aws.query',
3084
+ 'default' => '2014-09-01',
3085
+ ),
3086
+ 'ExportTaskIds' => array(
3087
+ 'type' => 'array',
3088
+ 'location' => 'aws.query',
3089
+ 'sentAs' => 'ExportTaskId',
3090
+ 'items' => array(
3091
+ 'name' => 'ExportTaskId',
3092
+ 'type' => 'string',
3093
+ ),
3094
+ ),
3095
+ ),
3096
+ ),
3097
+ 'DescribeImageAttribute' => array(
3098
+ 'httpMethod' => 'POST',
3099
+ 'uri' => '/',
3100
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3101
+ 'responseClass' => 'imageAttribute',
3102
+ 'responseType' => 'model',
3103
+ 'parameters' => array(
3104
+ 'Action' => array(
3105
+ 'static' => true,
3106
+ 'location' => 'aws.query',
3107
+ 'default' => 'DescribeImageAttribute',
3108
+ ),
3109
+ 'Version' => array(
3110
+ 'static' => true,
3111
+ 'location' => 'aws.query',
3112
+ 'default' => '2014-09-01',
3113
+ ),
3114
+ 'DryRun' => array(
3115
+ 'type' => 'boolean',
3116
+ 'format' => 'boolean-string',
3117
+ 'location' => 'aws.query',
3118
+ ),
3119
+ 'ImageId' => array(
3120
+ 'required' => true,
3121
+ 'type' => 'string',
3122
+ 'location' => 'aws.query',
3123
+ ),
3124
+ 'Attribute' => array(
3125
+ 'required' => true,
3126
+ 'type' => 'string',
3127
+ 'location' => 'aws.query',
3128
+ ),
3129
+ ),
3130
+ ),
3131
+ 'DescribeImages' => array(
3132
+ 'httpMethod' => 'POST',
3133
+ 'uri' => '/',
3134
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3135
+ 'responseClass' => 'DescribeImagesResult',
3136
+ 'responseType' => 'model',
3137
+ 'parameters' => array(
3138
+ 'Action' => array(
3139
+ 'static' => true,
3140
+ 'location' => 'aws.query',
3141
+ 'default' => 'DescribeImages',
3142
+ ),
3143
+ 'Version' => array(
3144
+ 'static' => true,
3145
+ 'location' => 'aws.query',
3146
+ 'default' => '2014-09-01',
3147
+ ),
3148
+ 'DryRun' => array(
3149
+ 'type' => 'boolean',
3150
+ 'format' => 'boolean-string',
3151
+ 'location' => 'aws.query',
3152
+ ),
3153
+ 'ImageIds' => array(
3154
+ 'type' => 'array',
3155
+ 'location' => 'aws.query',
3156
+ 'sentAs' => 'ImageId',
3157
+ 'items' => array(
3158
+ 'name' => 'ImageId',
3159
+ 'type' => 'string',
3160
+ ),
3161
+ ),
3162
+ 'Owners' => array(
3163
+ 'type' => 'array',
3164
+ 'location' => 'aws.query',
3165
+ 'sentAs' => 'Owner',
3166
+ 'items' => array(
3167
+ 'name' => 'Owner',
3168
+ 'type' => 'string',
3169
+ ),
3170
+ ),
3171
+ 'ExecutableUsers' => array(
3172
+ 'type' => 'array',
3173
+ 'location' => 'aws.query',
3174
+ 'sentAs' => 'ExecutableBy',
3175
+ 'items' => array(
3176
+ 'name' => 'ExecutableBy',
3177
+ 'type' => 'string',
3178
+ ),
3179
+ ),
3180
+ 'Filters' => array(
3181
+ 'type' => 'array',
3182
+ 'location' => 'aws.query',
3183
+ 'sentAs' => 'Filter',
3184
+ 'items' => array(
3185
+ 'name' => 'Filter',
3186
+ 'type' => 'object',
3187
+ 'properties' => array(
3188
+ 'Name' => array(
3189
+ 'type' => 'string',
3190
+ ),
3191
+ 'Values' => array(
3192
+ 'type' => 'array',
3193
+ 'sentAs' => 'Value',
3194
+ 'items' => array(
3195
+ 'name' => 'Value',
3196
+ 'type' => 'string',
3197
+ ),
3198
+ ),
3199
+ ),
3200
+ ),
3201
+ ),
3202
+ ),
3203
+ ),
3204
+ 'DescribeInstanceAttribute' => array(
3205
+ 'httpMethod' => 'POST',
3206
+ 'uri' => '/',
3207
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3208
+ 'responseClass' => 'InstanceAttribute',
3209
+ 'responseType' => 'model',
3210
+ 'parameters' => array(
3211
+ 'Action' => array(
3212
+ 'static' => true,
3213
+ 'location' => 'aws.query',
3214
+ 'default' => 'DescribeInstanceAttribute',
3215
+ ),
3216
+ 'Version' => array(
3217
+ 'static' => true,
3218
+ 'location' => 'aws.query',
3219
+ 'default' => '2014-09-01',
3220
+ ),
3221
+ 'DryRun' => array(
3222
+ 'type' => 'boolean',
3223
+ 'format' => 'boolean-string',
3224
+ 'location' => 'aws.query',
3225
+ ),
3226
+ 'InstanceId' => array(
3227
+ 'required' => true,
3228
+ 'type' => 'string',
3229
+ 'location' => 'aws.query',
3230
+ ),
3231
+ 'Attribute' => array(
3232
+ 'required' => true,
3233
+ 'type' => 'string',
3234
+ 'location' => 'aws.query',
3235
+ ),
3236
+ ),
3237
+ ),
3238
+ 'DescribeInstanceStatus' => array(
3239
+ 'httpMethod' => 'POST',
3240
+ 'uri' => '/',
3241
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3242
+ 'responseClass' => 'DescribeInstanceStatusResult',
3243
+ 'responseType' => 'model',
3244
+ 'parameters' => array(
3245
+ 'Action' => array(
3246
+ 'static' => true,
3247
+ 'location' => 'aws.query',
3248
+ 'default' => 'DescribeInstanceStatus',
3249
+ ),
3250
+ 'Version' => array(
3251
+ 'static' => true,
3252
+ 'location' => 'aws.query',
3253
+ 'default' => '2014-09-01',
3254
+ ),
3255
+ 'DryRun' => array(
3256
+ 'type' => 'boolean',
3257
+ 'format' => 'boolean-string',
3258
+ 'location' => 'aws.query',
3259
+ ),
3260
+ 'InstanceIds' => array(
3261
+ 'type' => 'array',
3262
+ 'location' => 'aws.query',
3263
+ 'sentAs' => 'InstanceId',
3264
+ 'items' => array(
3265
+ 'name' => 'InstanceId',
3266
+ 'type' => 'string',
3267
+ ),
3268
+ ),
3269
+ 'Filters' => array(
3270
+ 'type' => 'array',
3271
+ 'location' => 'aws.query',
3272
+ 'sentAs' => 'Filter',
3273
+ 'items' => array(
3274
+ 'name' => 'Filter',
3275
+ 'type' => 'object',
3276
+ 'properties' => array(
3277
+ 'Name' => array(
3278
+ 'type' => 'string',
3279
+ ),
3280
+ 'Values' => array(
3281
+ 'type' => 'array',
3282
+ 'sentAs' => 'Value',
3283
+ 'items' => array(
3284
+ 'name' => 'Value',
3285
+ 'type' => 'string',
3286
+ ),
3287
+ ),
3288
+ ),
3289
+ ),
3290
+ ),
3291
+ 'NextToken' => array(
3292
+ 'type' => 'string',
3293
+ 'location' => 'aws.query',
3294
+ ),
3295
+ 'MaxResults' => array(
3296
+ 'type' => 'numeric',
3297
+ 'location' => 'aws.query',
3298
+ ),
3299
+ 'IncludeAllInstances' => array(
3300
+ 'type' => 'boolean',
3301
+ 'format' => 'boolean-string',
3302
+ 'location' => 'aws.query',
3303
+ ),
3304
+ ),
3305
+ ),
3306
+ 'DescribeInstances' => array(
3307
+ 'httpMethod' => 'POST',
3308
+ 'uri' => '/',
3309
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3310
+ 'responseClass' => 'DescribeInstancesResult',
3311
+ 'responseType' => 'model',
3312
+ 'parameters' => array(
3313
+ 'Action' => array(
3314
+ 'static' => true,
3315
+ 'location' => 'aws.query',
3316
+ 'default' => 'DescribeInstances',
3317
+ ),
3318
+ 'Version' => array(
3319
+ 'static' => true,
3320
+ 'location' => 'aws.query',
3321
+ 'default' => '2014-09-01',
3322
+ ),
3323
+ 'DryRun' => array(
3324
+ 'type' => 'boolean',
3325
+ 'format' => 'boolean-string',
3326
+ 'location' => 'aws.query',
3327
+ ),
3328
+ 'InstanceIds' => array(
3329
+ 'type' => 'array',
3330
+ 'location' => 'aws.query',
3331
+ 'sentAs' => 'InstanceId',
3332
+ 'items' => array(
3333
+ 'name' => 'InstanceId',
3334
+ 'type' => 'string',
3335
+ ),
3336
+ ),
3337
+ 'Filters' => array(
3338
+ 'type' => 'array',
3339
+ 'location' => 'aws.query',
3340
+ 'sentAs' => 'Filter',
3341
+ 'items' => array(
3342
+ 'name' => 'Filter',
3343
+ 'type' => 'object',
3344
+ 'properties' => array(
3345
+ 'Name' => array(
3346
+ 'type' => 'string',
3347
+ ),
3348
+ 'Values' => array(
3349
+ 'type' => 'array',
3350
+ 'sentAs' => 'Value',
3351
+ 'items' => array(
3352
+ 'name' => 'Value',
3353
+ 'type' => 'string',
3354
+ ),
3355
+ ),
3356
+ ),
3357
+ ),
3358
+ ),
3359
+ 'NextToken' => array(
3360
+ 'type' => 'string',
3361
+ 'location' => 'aws.query',
3362
+ ),
3363
+ 'MaxResults' => array(
3364
+ 'type' => 'numeric',
3365
+ 'location' => 'aws.query',
3366
+ ),
3367
+ ),
3368
+ ),
3369
+ 'DescribeInternetGateways' => array(
3370
+ 'httpMethod' => 'POST',
3371
+ 'uri' => '/',
3372
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3373
+ 'responseClass' => 'DescribeInternetGatewaysResult',
3374
+ 'responseType' => 'model',
3375
+ 'parameters' => array(
3376
+ 'Action' => array(
3377
+ 'static' => true,
3378
+ 'location' => 'aws.query',
3379
+ 'default' => 'DescribeInternetGateways',
3380
+ ),
3381
+ 'Version' => array(
3382
+ 'static' => true,
3383
+ 'location' => 'aws.query',
3384
+ 'default' => '2014-09-01',
3385
+ ),
3386
+ 'DryRun' => array(
3387
+ 'type' => 'boolean',
3388
+ 'format' => 'boolean-string',
3389
+ 'location' => 'aws.query',
3390
+ ),
3391
+ 'InternetGatewayIds' => array(
3392
+ 'type' => 'array',
3393
+ 'location' => 'aws.query',
3394
+ 'sentAs' => 'InternetGatewayId',
3395
+ 'items' => array(
3396
+ 'name' => 'InternetGatewayId',
3397
+ 'type' => 'string',
3398
+ ),
3399
+ ),
3400
+ 'Filters' => array(
3401
+ 'type' => 'array',
3402
+ 'location' => 'aws.query',
3403
+ 'sentAs' => 'Filter',
3404
+ 'items' => array(
3405
+ 'name' => 'Filter',
3406
+ 'type' => 'object',
3407
+ 'properties' => array(
3408
+ 'Name' => array(
3409
+ 'type' => 'string',
3410
+ ),
3411
+ 'Values' => array(
3412
+ 'type' => 'array',
3413
+ 'sentAs' => 'Value',
3414
+ 'items' => array(
3415
+ 'name' => 'Value',
3416
+ 'type' => 'string',
3417
+ ),
3418
+ ),
3419
+ ),
3420
+ ),
3421
+ ),
3422
+ ),
3423
+ ),
3424
+ 'DescribeKeyPairs' => array(
3425
+ 'httpMethod' => 'POST',
3426
+ 'uri' => '/',
3427
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3428
+ 'responseClass' => 'DescribeKeyPairsResult',
3429
+ 'responseType' => 'model',
3430
+ 'parameters' => array(
3431
+ 'Action' => array(
3432
+ 'static' => true,
3433
+ 'location' => 'aws.query',
3434
+ 'default' => 'DescribeKeyPairs',
3435
+ ),
3436
+ 'Version' => array(
3437
+ 'static' => true,
3438
+ 'location' => 'aws.query',
3439
+ 'default' => '2014-09-01',
3440
+ ),
3441
+ 'DryRun' => array(
3442
+ 'type' => 'boolean',
3443
+ 'format' => 'boolean-string',
3444
+ 'location' => 'aws.query',
3445
+ ),
3446
+ 'KeyNames' => array(
3447
+ 'type' => 'array',
3448
+ 'location' => 'aws.query',
3449
+ 'sentAs' => 'KeyName',
3450
+ 'items' => array(
3451
+ 'name' => 'KeyName',
3452
+ 'type' => 'string',
3453
+ ),
3454
+ ),
3455
+ 'Filters' => array(
3456
+ 'type' => 'array',
3457
+ 'location' => 'aws.query',
3458
+ 'sentAs' => 'Filter',
3459
+ 'items' => array(
3460
+ 'name' => 'Filter',
3461
+ 'type' => 'object',
3462
+ 'properties' => array(
3463
+ 'Name' => array(
3464
+ 'type' => 'string',
3465
+ ),
3466
+ 'Values' => array(
3467
+ 'type' => 'array',
3468
+ 'sentAs' => 'Value',
3469
+ 'items' => array(
3470
+ 'name' => 'Value',
3471
+ 'type' => 'string',
3472
+ ),
3473
+ ),
3474
+ ),
3475
+ ),
3476
+ ),
3477
+ ),
3478
+ ),
3479
+ 'DescribeNetworkAcls' => array(
3480
+ 'httpMethod' => 'POST',
3481
+ 'uri' => '/',
3482
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3483
+ 'responseClass' => 'DescribeNetworkAclsResult',
3484
+ 'responseType' => 'model',
3485
+ 'parameters' => array(
3486
+ 'Action' => array(
3487
+ 'static' => true,
3488
+ 'location' => 'aws.query',
3489
+ 'default' => 'DescribeNetworkAcls',
3490
+ ),
3491
+ 'Version' => array(
3492
+ 'static' => true,
3493
+ 'location' => 'aws.query',
3494
+ 'default' => '2014-09-01',
3495
+ ),
3496
+ 'DryRun' => array(
3497
+ 'type' => 'boolean',
3498
+ 'format' => 'boolean-string',
3499
+ 'location' => 'aws.query',
3500
+ ),
3501
+ 'NetworkAclIds' => array(
3502
+ 'type' => 'array',
3503
+ 'location' => 'aws.query',
3504
+ 'sentAs' => 'NetworkAclId',
3505
+ 'items' => array(
3506
+ 'name' => 'NetworkAclId',
3507
+ 'type' => 'string',
3508
+ ),
3509
+ ),
3510
+ 'Filters' => array(
3511
+ 'type' => 'array',
3512
+ 'location' => 'aws.query',
3513
+ 'sentAs' => 'Filter',
3514
+ 'items' => array(
3515
+ 'name' => 'Filter',
3516
+ 'type' => 'object',
3517
+ 'properties' => array(
3518
+ 'Name' => array(
3519
+ 'type' => 'string',
3520
+ ),
3521
+ 'Values' => array(
3522
+ 'type' => 'array',
3523
+ 'sentAs' => 'Value',
3524
+ 'items' => array(
3525
+ 'name' => 'Value',
3526
+ 'type' => 'string',
3527
+ ),
3528
+ ),
3529
+ ),
3530
+ ),
3531
+ ),
3532
+ ),
3533
+ ),
3534
+ 'DescribeNetworkInterfaceAttribute' => array(
3535
+ 'httpMethod' => 'POST',
3536
+ 'uri' => '/',
3537
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3538
+ 'responseClass' => 'DescribeNetworkInterfaceAttributeResult',
3539
+ 'responseType' => 'model',
3540
+ 'parameters' => array(
3541
+ 'Action' => array(
3542
+ 'static' => true,
3543
+ 'location' => 'aws.query',
3544
+ 'default' => 'DescribeNetworkInterfaceAttribute',
3545
+ ),
3546
+ 'Version' => array(
3547
+ 'static' => true,
3548
+ 'location' => 'aws.query',
3549
+ 'default' => '2014-09-01',
3550
+ ),
3551
+ 'DryRun' => array(
3552
+ 'type' => 'boolean',
3553
+ 'format' => 'boolean-string',
3554
+ 'location' => 'aws.query',
3555
+ ),
3556
+ 'NetworkInterfaceId' => array(
3557
+ 'required' => true,
3558
+ 'type' => 'string',
3559
+ 'location' => 'aws.query',
3560
+ ),
3561
+ 'Attribute' => array(
3562
+ 'type' => 'string',
3563
+ 'location' => 'aws.query',
3564
+ ),
3565
+ ),
3566
+ ),
3567
+ 'DescribeNetworkInterfaces' => array(
3568
+ 'httpMethod' => 'POST',
3569
+ 'uri' => '/',
3570
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3571
+ 'responseClass' => 'DescribeNetworkInterfacesResult',
3572
+ 'responseType' => 'model',
3573
+ 'parameters' => array(
3574
+ 'Action' => array(
3575
+ 'static' => true,
3576
+ 'location' => 'aws.query',
3577
+ 'default' => 'DescribeNetworkInterfaces',
3578
+ ),
3579
+ 'Version' => array(
3580
+ 'static' => true,
3581
+ 'location' => 'aws.query',
3582
+ 'default' => '2014-09-01',
3583
+ ),
3584
+ 'DryRun' => array(
3585
+ 'type' => 'boolean',
3586
+ 'format' => 'boolean-string',
3587
+ 'location' => 'aws.query',
3588
+ ),
3589
+ 'NetworkInterfaceIds' => array(
3590
+ 'type' => 'array',
3591
+ 'location' => 'aws.query',
3592
+ 'sentAs' => 'NetworkInterfaceId',
3593
+ 'items' => array(
3594
+ 'name' => 'NetworkInterfaceId',
3595
+ 'type' => 'string',
3596
+ ),
3597
+ ),
3598
+ 'Filters' => array(
3599
+ 'type' => 'array',
3600
+ 'location' => 'aws.query',
3601
+ 'sentAs' => 'Filter',
3602
+ 'items' => array(
3603
+ 'name' => 'Filter',
3604
+ 'type' => 'object',
3605
+ 'properties' => array(
3606
+ 'Name' => array(
3607
+ 'type' => 'string',
3608
+ ),
3609
+ 'Values' => array(
3610
+ 'type' => 'array',
3611
+ 'sentAs' => 'Value',
3612
+ 'items' => array(
3613
+ 'name' => 'Value',
3614
+ 'type' => 'string',
3615
+ ),
3616
+ ),
3617
+ ),
3618
+ ),
3619
+ ),
3620
+ ),
3621
+ ),
3622
+ 'DescribePlacementGroups' => array(
3623
+ 'httpMethod' => 'POST',
3624
+ 'uri' => '/',
3625
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3626
+ 'responseClass' => 'DescribePlacementGroupsResult',
3627
+ 'responseType' => 'model',
3628
+ 'parameters' => array(
3629
+ 'Action' => array(
3630
+ 'static' => true,
3631
+ 'location' => 'aws.query',
3632
+ 'default' => 'DescribePlacementGroups',
3633
+ ),
3634
+ 'Version' => array(
3635
+ 'static' => true,
3636
+ 'location' => 'aws.query',
3637
+ 'default' => '2014-09-01',
3638
+ ),
3639
+ 'DryRun' => array(
3640
+ 'type' => 'boolean',
3641
+ 'format' => 'boolean-string',
3642
+ 'location' => 'aws.query',
3643
+ ),
3644
+ 'GroupNames' => array(
3645
+ 'type' => 'array',
3646
+ 'location' => 'aws.query',
3647
+ 'sentAs' => 'GroupName',
3648
+ 'items' => array(
3649
+ 'name' => 'GroupName',
3650
+ 'type' => 'string',
3651
+ ),
3652
+ ),
3653
+ 'Filters' => array(
3654
+ 'type' => 'array',
3655
+ 'location' => 'aws.query',
3656
+ 'sentAs' => 'Filter',
3657
+ 'items' => array(
3658
+ 'name' => 'Filter',
3659
+ 'type' => 'object',
3660
+ 'properties' => array(
3661
+ 'Name' => array(
3662
+ 'type' => 'string',
3663
+ ),
3664
+ 'Values' => array(
3665
+ 'type' => 'array',
3666
+ 'sentAs' => 'Value',
3667
+ 'items' => array(
3668
+ 'name' => 'Value',
3669
+ 'type' => 'string',
3670
+ ),
3671
+ ),
3672
+ ),
3673
+ ),
3674
+ ),
3675
+ ),
3676
+ ),
3677
+ 'DescribeRegions' => array(
3678
+ 'httpMethod' => 'POST',
3679
+ 'uri' => '/',
3680
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3681
+ 'responseClass' => 'DescribeRegionsResult',
3682
+ 'responseType' => 'model',
3683
+ 'parameters' => array(
3684
+ 'Action' => array(
3685
+ 'static' => true,
3686
+ 'location' => 'aws.query',
3687
+ 'default' => 'DescribeRegions',
3688
+ ),
3689
+ 'Version' => array(
3690
+ 'static' => true,
3691
+ 'location' => 'aws.query',
3692
+ 'default' => '2014-09-01',
3693
+ ),
3694
+ 'DryRun' => array(
3695
+ 'type' => 'boolean',
3696
+ 'format' => 'boolean-string',
3697
+ 'location' => 'aws.query',
3698
+ ),
3699
+ 'RegionNames' => array(
3700
+ 'type' => 'array',
3701
+ 'location' => 'aws.query',
3702
+ 'sentAs' => 'RegionName',
3703
+ 'items' => array(
3704
+ 'name' => 'RegionName',
3705
+ 'type' => 'string',
3706
+ ),
3707
+ ),
3708
+ 'Filters' => array(
3709
+ 'type' => 'array',
3710
+ 'location' => 'aws.query',
3711
+ 'sentAs' => 'Filter',
3712
+ 'items' => array(
3713
+ 'name' => 'Filter',
3714
+ 'type' => 'object',
3715
+ 'properties' => array(
3716
+ 'Name' => array(
3717
+ 'type' => 'string',
3718
+ ),
3719
+ 'Values' => array(
3720
+ 'type' => 'array',
3721
+ 'sentAs' => 'Value',
3722
+ 'items' => array(
3723
+ 'name' => 'Value',
3724
+ 'type' => 'string',
3725
+ ),
3726
+ ),
3727
+ ),
3728
+ ),
3729
+ ),
3730
+ ),
3731
+ ),
3732
+ 'DescribeReservedInstances' => array(
3733
+ 'httpMethod' => 'POST',
3734
+ 'uri' => '/',
3735
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3736
+ 'responseClass' => 'DescribeReservedInstancesResult',
3737
+ 'responseType' => 'model',
3738
+ 'parameters' => array(
3739
+ 'Action' => array(
3740
+ 'static' => true,
3741
+ 'location' => 'aws.query',
3742
+ 'default' => 'DescribeReservedInstances',
3743
+ ),
3744
+ 'Version' => array(
3745
+ 'static' => true,
3746
+ 'location' => 'aws.query',
3747
+ 'default' => '2014-09-01',
3748
+ ),
3749
+ 'DryRun' => array(
3750
+ 'type' => 'boolean',
3751
+ 'format' => 'boolean-string',
3752
+ 'location' => 'aws.query',
3753
+ ),
3754
+ 'ReservedInstancesIds' => array(
3755
+ 'type' => 'array',
3756
+ 'location' => 'aws.query',
3757
+ 'sentAs' => 'ReservedInstancesId',
3758
+ 'items' => array(
3759
+ 'name' => 'ReservedInstancesId',
3760
+ 'type' => 'string',
3761
+ ),
3762
+ ),
3763
+ 'Filters' => array(
3764
+ 'type' => 'array',
3765
+ 'location' => 'aws.query',
3766
+ 'sentAs' => 'Filter',
3767
+ 'items' => array(
3768
+ 'name' => 'Filter',
3769
+ 'type' => 'object',
3770
+ 'properties' => array(
3771
+ 'Name' => array(
3772
+ 'type' => 'string',
3773
+ ),
3774
+ 'Values' => array(
3775
+ 'type' => 'array',
3776
+ 'sentAs' => 'Value',
3777
+ 'items' => array(
3778
+ 'name' => 'Value',
3779
+ 'type' => 'string',
3780
+ ),
3781
+ ),
3782
+ ),
3783
+ ),
3784
+ ),
3785
+ 'OfferingType' => array(
3786
+ 'type' => 'string',
3787
+ 'location' => 'aws.query',
3788
+ ),
3789
+ ),
3790
+ ),
3791
+ 'DescribeReservedInstancesListings' => array(
3792
+ 'httpMethod' => 'POST',
3793
+ 'uri' => '/',
3794
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3795
+ 'responseClass' => 'DescribeReservedInstancesListingsResult',
3796
+ 'responseType' => 'model',
3797
+ 'parameters' => array(
3798
+ 'Action' => array(
3799
+ 'static' => true,
3800
+ 'location' => 'aws.query',
3801
+ 'default' => 'DescribeReservedInstancesListings',
3802
+ ),
3803
+ 'Version' => array(
3804
+ 'static' => true,
3805
+ 'location' => 'aws.query',
3806
+ 'default' => '2014-09-01',
3807
+ ),
3808
+ 'ReservedInstancesId' => array(
3809
+ 'type' => 'string',
3810
+ 'location' => 'aws.query',
3811
+ ),
3812
+ 'ReservedInstancesListingId' => array(
3813
+ 'type' => 'string',
3814
+ 'location' => 'aws.query',
3815
+ ),
3816
+ 'Filters' => array(
3817
+ 'type' => 'array',
3818
+ 'location' => 'aws.query',
3819
+ 'items' => array(
3820
+ 'name' => 'Filter',
3821
+ 'type' => 'object',
3822
+ 'properties' => array(
3823
+ 'Name' => array(
3824
+ 'type' => 'string',
3825
+ ),
3826
+ 'Values' => array(
3827
+ 'type' => 'array',
3828
+ 'sentAs' => 'Value',
3829
+ 'items' => array(
3830
+ 'name' => 'Value',
3831
+ 'type' => 'string',
3832
+ ),
3833
+ ),
3834
+ ),
3835
+ ),
3836
+ ),
3837
+ ),
3838
+ ),
3839
+ 'DescribeReservedInstancesModifications' => array(
3840
+ 'httpMethod' => 'POST',
3841
+ 'uri' => '/',
3842
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3843
+ 'responseClass' => 'DescribeReservedInstancesModificationsResult',
3844
+ 'responseType' => 'model',
3845
+ 'parameters' => array(
3846
+ 'Action' => array(
3847
+ 'static' => true,
3848
+ 'location' => 'aws.query',
3849
+ 'default' => 'DescribeReservedInstancesModifications',
3850
+ ),
3851
+ 'Version' => array(
3852
+ 'static' => true,
3853
+ 'location' => 'aws.query',
3854
+ 'default' => '2014-09-01',
3855
+ ),
3856
+ 'ReservedInstancesModificationIds' => array(
3857
+ 'type' => 'array',
3858
+ 'location' => 'aws.query',
3859
+ 'sentAs' => 'ReservedInstancesModificationId',
3860
+ 'items' => array(
3861
+ 'name' => 'ReservedInstancesModificationId',
3862
+ 'type' => 'string',
3863
+ ),
3864
+ ),
3865
+ 'NextToken' => array(
3866
+ 'type' => 'string',
3867
+ 'location' => 'aws.query',
3868
+ ),
3869
+ 'Filters' => array(
3870
+ 'type' => 'array',
3871
+ 'location' => 'aws.query',
3872
+ 'sentAs' => 'Filter',
3873
+ 'items' => array(
3874
+ 'name' => 'Filter',
3875
+ 'type' => 'object',
3876
+ 'properties' => array(
3877
+ 'Name' => array(
3878
+ 'type' => 'string',
3879
+ ),
3880
+ 'Values' => array(
3881
+ 'type' => 'array',
3882
+ 'sentAs' => 'Value',
3883
+ 'items' => array(
3884
+ 'name' => 'Value',
3885
+ 'type' => 'string',
3886
+ ),
3887
+ ),
3888
+ ),
3889
+ ),
3890
+ ),
3891
+ ),
3892
+ ),
3893
+ 'DescribeReservedInstancesOfferings' => array(
3894
+ 'httpMethod' => 'POST',
3895
+ 'uri' => '/',
3896
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3897
+ 'responseClass' => 'DescribeReservedInstancesOfferingsResult',
3898
+ 'responseType' => 'model',
3899
+ 'parameters' => array(
3900
+ 'Action' => array(
3901
+ 'static' => true,
3902
+ 'location' => 'aws.query',
3903
+ 'default' => 'DescribeReservedInstancesOfferings',
3904
+ ),
3905
+ 'Version' => array(
3906
+ 'static' => true,
3907
+ 'location' => 'aws.query',
3908
+ 'default' => '2014-09-01',
3909
+ ),
3910
+ 'DryRun' => array(
3911
+ 'type' => 'boolean',
3912
+ 'format' => 'boolean-string',
3913
+ 'location' => 'aws.query',
3914
+ ),
3915
+ 'ReservedInstancesOfferingIds' => array(
3916
+ 'type' => 'array',
3917
+ 'location' => 'aws.query',
3918
+ 'sentAs' => 'ReservedInstancesOfferingId',
3919
+ 'items' => array(
3920
+ 'name' => 'ReservedInstancesOfferingId',
3921
+ 'type' => 'string',
3922
+ ),
3923
+ ),
3924
+ 'InstanceType' => array(
3925
+ 'type' => 'string',
3926
+ 'location' => 'aws.query',
3927
+ ),
3928
+ 'AvailabilityZone' => array(
3929
+ 'type' => 'string',
3930
+ 'location' => 'aws.query',
3931
+ ),
3932
+ 'ProductDescription' => array(
3933
+ 'type' => 'string',
3934
+ 'location' => 'aws.query',
3935
+ ),
3936
+ 'Filters' => array(
3937
+ 'type' => 'array',
3938
+ 'location' => 'aws.query',
3939
+ 'sentAs' => 'Filter',
3940
+ 'items' => array(
3941
+ 'name' => 'Filter',
3942
+ 'type' => 'object',
3943
+ 'properties' => array(
3944
+ 'Name' => array(
3945
+ 'type' => 'string',
3946
+ ),
3947
+ 'Values' => array(
3948
+ 'type' => 'array',
3949
+ 'sentAs' => 'Value',
3950
+ 'items' => array(
3951
+ 'name' => 'Value',
3952
+ 'type' => 'string',
3953
+ ),
3954
+ ),
3955
+ ),
3956
+ ),
3957
+ ),
3958
+ 'InstanceTenancy' => array(
3959
+ 'type' => 'string',
3960
+ 'location' => 'aws.query',
3961
+ ),
3962
+ 'OfferingType' => array(
3963
+ 'type' => 'string',
3964
+ 'location' => 'aws.query',
3965
+ ),
3966
+ 'NextToken' => array(
3967
+ 'type' => 'string',
3968
+ 'location' => 'aws.query',
3969
+ ),
3970
+ 'MaxResults' => array(
3971
+ 'type' => 'numeric',
3972
+ 'location' => 'aws.query',
3973
+ ),
3974
+ 'IncludeMarketplace' => array(
3975
+ 'type' => 'boolean',
3976
+ 'format' => 'boolean-string',
3977
+ 'location' => 'aws.query',
3978
+ ),
3979
+ 'MinDuration' => array(
3980
+ 'type' => 'numeric',
3981
+ 'location' => 'aws.query',
3982
+ ),
3983
+ 'MaxDuration' => array(
3984
+ 'type' => 'numeric',
3985
+ 'location' => 'aws.query',
3986
+ ),
3987
+ 'MaxInstanceCount' => array(
3988
+ 'type' => 'numeric',
3989
+ 'location' => 'aws.query',
3990
+ ),
3991
+ ),
3992
+ ),
3993
+ 'DescribeRouteTables' => array(
3994
+ 'httpMethod' => 'POST',
3995
+ 'uri' => '/',
3996
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
3997
+ 'responseClass' => 'DescribeRouteTablesResult',
3998
+ 'responseType' => 'model',
3999
+ 'parameters' => array(
4000
+ 'Action' => array(
4001
+ 'static' => true,
4002
+ 'location' => 'aws.query',
4003
+ 'default' => 'DescribeRouteTables',
4004
+ ),
4005
+ 'Version' => array(
4006
+ 'static' => true,
4007
+ 'location' => 'aws.query',
4008
+ 'default' => '2014-09-01',
4009
+ ),
4010
+ 'DryRun' => array(
4011
+ 'type' => 'boolean',
4012
+ 'format' => 'boolean-string',
4013
+ 'location' => 'aws.query',
4014
+ ),
4015
+ 'RouteTableIds' => array(
4016
+ 'type' => 'array',
4017
+ 'location' => 'aws.query',
4018
+ 'sentAs' => 'RouteTableId',
4019
+ 'items' => array(
4020
+ 'name' => 'RouteTableId',
4021
+ 'type' => 'string',
4022
+ ),
4023
+ ),
4024
+ 'Filters' => array(
4025
+ 'type' => 'array',
4026
+ 'location' => 'aws.query',
4027
+ 'sentAs' => 'Filter',
4028
+ 'items' => array(
4029
+ 'name' => 'Filter',
4030
+ 'type' => 'object',
4031
+ 'properties' => array(
4032
+ 'Name' => array(
4033
+ 'type' => 'string',
4034
+ ),
4035
+ 'Values' => array(
4036
+ 'type' => 'array',
4037
+ 'sentAs' => 'Value',
4038
+ 'items' => array(
4039
+ 'name' => 'Value',
4040
+ 'type' => 'string',
4041
+ ),
4042
+ ),
4043
+ ),
4044
+ ),
4045
+ ),
4046
+ ),
4047
+ ),
4048
+ 'DescribeSecurityGroups' => array(
4049
+ 'httpMethod' => 'POST',
4050
+ 'uri' => '/',
4051
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4052
+ 'responseClass' => 'DescribeSecurityGroupsResult',
4053
+ 'responseType' => 'model',
4054
+ 'parameters' => array(
4055
+ 'Action' => array(
4056
+ 'static' => true,
4057
+ 'location' => 'aws.query',
4058
+ 'default' => 'DescribeSecurityGroups',
4059
+ ),
4060
+ 'Version' => array(
4061
+ 'static' => true,
4062
+ 'location' => 'aws.query',
4063
+ 'default' => '2014-09-01',
4064
+ ),
4065
+ 'DryRun' => array(
4066
+ 'type' => 'boolean',
4067
+ 'format' => 'boolean-string',
4068
+ 'location' => 'aws.query',
4069
+ ),
4070
+ 'GroupNames' => array(
4071
+ 'type' => 'array',
4072
+ 'location' => 'aws.query',
4073
+ 'sentAs' => 'GroupName',
4074
+ 'items' => array(
4075
+ 'name' => 'GroupName',
4076
+ 'type' => 'string',
4077
+ ),
4078
+ ),
4079
+ 'GroupIds' => array(
4080
+ 'type' => 'array',
4081
+ 'location' => 'aws.query',
4082
+ 'sentAs' => 'GroupId',
4083
+ 'items' => array(
4084
+ 'name' => 'GroupId',
4085
+ 'type' => 'string',
4086
+ ),
4087
+ ),
4088
+ 'Filters' => array(
4089
+ 'type' => 'array',
4090
+ 'location' => 'aws.query',
4091
+ 'sentAs' => 'Filter',
4092
+ 'items' => array(
4093
+ 'name' => 'Filter',
4094
+ 'type' => 'object',
4095
+ 'properties' => array(
4096
+ 'Name' => array(
4097
+ 'type' => 'string',
4098
+ ),
4099
+ 'Values' => array(
4100
+ 'type' => 'array',
4101
+ 'sentAs' => 'Value',
4102
+ 'items' => array(
4103
+ 'name' => 'Value',
4104
+ 'type' => 'string',
4105
+ ),
4106
+ ),
4107
+ ),
4108
+ ),
4109
+ ),
4110
+ ),
4111
+ ),
4112
+ 'DescribeSnapshotAttribute' => array(
4113
+ 'httpMethod' => 'POST',
4114
+ 'uri' => '/',
4115
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4116
+ 'responseClass' => 'DescribeSnapshotAttributeResult',
4117
+ 'responseType' => 'model',
4118
+ 'parameters' => array(
4119
+ 'Action' => array(
4120
+ 'static' => true,
4121
+ 'location' => 'aws.query',
4122
+ 'default' => 'DescribeSnapshotAttribute',
4123
+ ),
4124
+ 'Version' => array(
4125
+ 'static' => true,
4126
+ 'location' => 'aws.query',
4127
+ 'default' => '2014-09-01',
4128
+ ),
4129
+ 'DryRun' => array(
4130
+ 'type' => 'boolean',
4131
+ 'format' => 'boolean-string',
4132
+ 'location' => 'aws.query',
4133
+ ),
4134
+ 'SnapshotId' => array(
4135
+ 'required' => true,
4136
+ 'type' => 'string',
4137
+ 'location' => 'aws.query',
4138
+ ),
4139
+ 'Attribute' => array(
4140
+ 'required' => true,
4141
+ 'type' => 'string',
4142
+ 'location' => 'aws.query',
4143
+ ),
4144
+ ),
4145
+ ),
4146
+ 'DescribeSnapshots' => array(
4147
+ 'httpMethod' => 'POST',
4148
+ 'uri' => '/',
4149
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4150
+ 'responseClass' => 'DescribeSnapshotsResult',
4151
+ 'responseType' => 'model',
4152
+ 'parameters' => array(
4153
+ 'Action' => array(
4154
+ 'static' => true,
4155
+ 'location' => 'aws.query',
4156
+ 'default' => 'DescribeSnapshots',
4157
+ ),
4158
+ 'Version' => array(
4159
+ 'static' => true,
4160
+ 'location' => 'aws.query',
4161
+ 'default' => '2014-09-01',
4162
+ ),
4163
+ 'DryRun' => array(
4164
+ 'type' => 'boolean',
4165
+ 'format' => 'boolean-string',
4166
+ 'location' => 'aws.query',
4167
+ ),
4168
+ 'SnapshotIds' => array(
4169
+ 'type' => 'array',
4170
+ 'location' => 'aws.query',
4171
+ 'sentAs' => 'SnapshotId',
4172
+ 'items' => array(
4173
+ 'name' => 'SnapshotId',
4174
+ 'type' => 'string',
4175
+ ),
4176
+ ),
4177
+ 'OwnerIds' => array(
4178
+ 'type' => 'array',
4179
+ 'location' => 'aws.query',
4180
+ 'sentAs' => 'Owner',
4181
+ 'items' => array(
4182
+ 'name' => 'Owner',
4183
+ 'type' => 'string',
4184
+ ),
4185
+ ),
4186
+ 'RestorableByUserIds' => array(
4187
+ 'type' => 'array',
4188
+ 'location' => 'aws.query',
4189
+ 'sentAs' => 'RestorableBy',
4190
+ 'items' => array(
4191
+ 'name' => 'RestorableBy',
4192
+ 'type' => 'string',
4193
+ ),
4194
+ ),
4195
+ 'Filters' => array(
4196
+ 'type' => 'array',
4197
+ 'location' => 'aws.query',
4198
+ 'sentAs' => 'Filter',
4199
+ 'items' => array(
4200
+ 'name' => 'Filter',
4201
+ 'type' => 'object',
4202
+ 'properties' => array(
4203
+ 'Name' => array(
4204
+ 'type' => 'string',
4205
+ ),
4206
+ 'Values' => array(
4207
+ 'type' => 'array',
4208
+ 'sentAs' => 'Value',
4209
+ 'items' => array(
4210
+ 'name' => 'Value',
4211
+ 'type' => 'string',
4212
+ ),
4213
+ ),
4214
+ ),
4215
+ ),
4216
+ ),
4217
+ ),
4218
+ ),
4219
+ 'DescribeSpotDatafeedSubscription' => array(
4220
+ 'httpMethod' => 'POST',
4221
+ 'uri' => '/',
4222
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4223
+ 'responseClass' => 'DescribeSpotDatafeedSubscriptionResult',
4224
+ 'responseType' => 'model',
4225
+ 'parameters' => array(
4226
+ 'Action' => array(
4227
+ 'static' => true,
4228
+ 'location' => 'aws.query',
4229
+ 'default' => 'DescribeSpotDatafeedSubscription',
4230
+ ),
4231
+ 'Version' => array(
4232
+ 'static' => true,
4233
+ 'location' => 'aws.query',
4234
+ 'default' => '2014-09-01',
4235
+ ),
4236
+ 'DryRun' => array(
4237
+ 'type' => 'boolean',
4238
+ 'format' => 'boolean-string',
4239
+ 'location' => 'aws.query',
4240
+ ),
4241
+ ),
4242
+ ),
4243
+ 'DescribeSpotInstanceRequests' => array(
4244
+ 'httpMethod' => 'POST',
4245
+ 'uri' => '/',
4246
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4247
+ 'responseClass' => 'DescribeSpotInstanceRequestsResult',
4248
+ 'responseType' => 'model',
4249
+ 'parameters' => array(
4250
+ 'Action' => array(
4251
+ 'static' => true,
4252
+ 'location' => 'aws.query',
4253
+ 'default' => 'DescribeSpotInstanceRequests',
4254
+ ),
4255
+ 'Version' => array(
4256
+ 'static' => true,
4257
+ 'location' => 'aws.query',
4258
+ 'default' => '2014-09-01',
4259
+ ),
4260
+ 'DryRun' => array(
4261
+ 'type' => 'boolean',
4262
+ 'format' => 'boolean-string',
4263
+ 'location' => 'aws.query',
4264
+ ),
4265
+ 'SpotInstanceRequestIds' => array(
4266
+ 'type' => 'array',
4267
+ 'location' => 'aws.query',
4268
+ 'sentAs' => 'SpotInstanceRequestId',
4269
+ 'items' => array(
4270
+ 'name' => 'SpotInstanceRequestId',
4271
+ 'type' => 'string',
4272
+ ),
4273
+ ),
4274
+ 'Filters' => array(
4275
+ 'type' => 'array',
4276
+ 'location' => 'aws.query',
4277
+ 'sentAs' => 'Filter',
4278
+ 'items' => array(
4279
+ 'name' => 'Filter',
4280
+ 'type' => 'object',
4281
+ 'properties' => array(
4282
+ 'Name' => array(
4283
+ 'type' => 'string',
4284
+ ),
4285
+ 'Values' => array(
4286
+ 'type' => 'array',
4287
+ 'sentAs' => 'Value',
4288
+ 'items' => array(
4289
+ 'name' => 'Value',
4290
+ 'type' => 'string',
4291
+ ),
4292
+ ),
4293
+ ),
4294
+ ),
4295
+ ),
4296
+ ),
4297
+ ),
4298
+ 'DescribeSpotPriceHistory' => array(
4299
+ 'httpMethod' => 'POST',
4300
+ 'uri' => '/',
4301
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4302
+ 'responseClass' => 'DescribeSpotPriceHistoryResult',
4303
+ 'responseType' => 'model',
4304
+ 'parameters' => array(
4305
+ 'Action' => array(
4306
+ 'static' => true,
4307
+ 'location' => 'aws.query',
4308
+ 'default' => 'DescribeSpotPriceHistory',
4309
+ ),
4310
+ 'Version' => array(
4311
+ 'static' => true,
4312
+ 'location' => 'aws.query',
4313
+ 'default' => '2014-09-01',
4314
+ ),
4315
+ 'DryRun' => array(
4316
+ 'type' => 'boolean',
4317
+ 'format' => 'boolean-string',
4318
+ 'location' => 'aws.query',
4319
+ ),
4320
+ 'StartTime' => array(
4321
+ 'type' => array(
4322
+ 'object',
4323
+ 'string',
4324
+ 'integer',
4325
+ ),
4326
+ 'format' => 'date-time',
4327
+ 'location' => 'aws.query',
4328
+ ),
4329
+ 'EndTime' => array(
4330
+ 'type' => array(
4331
+ 'object',
4332
+ 'string',
4333
+ 'integer',
4334
+ ),
4335
+ 'format' => 'date-time',
4336
+ 'location' => 'aws.query',
4337
+ ),
4338
+ 'InstanceTypes' => array(
4339
+ 'type' => 'array',
4340
+ 'location' => 'aws.query',
4341
+ 'sentAs' => 'InstanceType',
4342
+ 'items' => array(
4343
+ 'name' => 'InstanceType',
4344
+ 'type' => 'string',
4345
+ ),
4346
+ ),
4347
+ 'ProductDescriptions' => array(
4348
+ 'type' => 'array',
4349
+ 'location' => 'aws.query',
4350
+ 'sentAs' => 'ProductDescription',
4351
+ 'items' => array(
4352
+ 'name' => 'ProductDescription',
4353
+ 'type' => 'string',
4354
+ ),
4355
+ ),
4356
+ 'Filters' => array(
4357
+ 'type' => 'array',
4358
+ 'location' => 'aws.query',
4359
+ 'sentAs' => 'Filter',
4360
+ 'items' => array(
4361
+ 'name' => 'Filter',
4362
+ 'type' => 'object',
4363
+ 'properties' => array(
4364
+ 'Name' => array(
4365
+ 'type' => 'string',
4366
+ ),
4367
+ 'Values' => array(
4368
+ 'type' => 'array',
4369
+ 'sentAs' => 'Value',
4370
+ 'items' => array(
4371
+ 'name' => 'Value',
4372
+ 'type' => 'string',
4373
+ ),
4374
+ ),
4375
+ ),
4376
+ ),
4377
+ ),
4378
+ 'AvailabilityZone' => array(
4379
+ 'type' => 'string',
4380
+ 'location' => 'aws.query',
4381
+ ),
4382
+ 'MaxResults' => array(
4383
+ 'type' => 'numeric',
4384
+ 'location' => 'aws.query',
4385
+ ),
4386
+ 'NextToken' => array(
4387
+ 'type' => 'string',
4388
+ 'location' => 'aws.query',
4389
+ ),
4390
+ ),
4391
+ ),
4392
+ 'DescribeSubnets' => array(
4393
+ 'httpMethod' => 'POST',
4394
+ 'uri' => '/',
4395
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4396
+ 'responseClass' => 'DescribeSubnetsResult',
4397
+ 'responseType' => 'model',
4398
+ 'parameters' => array(
4399
+ 'Action' => array(
4400
+ 'static' => true,
4401
+ 'location' => 'aws.query',
4402
+ 'default' => 'DescribeSubnets',
4403
+ ),
4404
+ 'Version' => array(
4405
+ 'static' => true,
4406
+ 'location' => 'aws.query',
4407
+ 'default' => '2014-09-01',
4408
+ ),
4409
+ 'DryRun' => array(
4410
+ 'type' => 'boolean',
4411
+ 'format' => 'boolean-string',
4412
+ 'location' => 'aws.query',
4413
+ ),
4414
+ 'SubnetIds' => array(
4415
+ 'type' => 'array',
4416
+ 'location' => 'aws.query',
4417
+ 'sentAs' => 'SubnetId',
4418
+ 'items' => array(
4419
+ 'name' => 'SubnetId',
4420
+ 'type' => 'string',
4421
+ ),
4422
+ ),
4423
+ 'Filters' => array(
4424
+ 'type' => 'array',
4425
+ 'location' => 'aws.query',
4426
+ 'sentAs' => 'Filter',
4427
+ 'items' => array(
4428
+ 'name' => 'Filter',
4429
+ 'type' => 'object',
4430
+ 'properties' => array(
4431
+ 'Name' => array(
4432
+ 'type' => 'string',
4433
+ ),
4434
+ 'Values' => array(
4435
+ 'type' => 'array',
4436
+ 'sentAs' => 'Value',
4437
+ 'items' => array(
4438
+ 'name' => 'Value',
4439
+ 'type' => 'string',
4440
+ ),
4441
+ ),
4442
+ ),
4443
+ ),
4444
+ ),
4445
+ ),
4446
+ ),
4447
+ 'DescribeTags' => array(
4448
+ 'httpMethod' => 'POST',
4449
+ 'uri' => '/',
4450
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4451
+ 'responseClass' => 'DescribeTagsResult',
4452
+ 'responseType' => 'model',
4453
+ 'parameters' => array(
4454
+ 'Action' => array(
4455
+ 'static' => true,
4456
+ 'location' => 'aws.query',
4457
+ 'default' => 'DescribeTags',
4458
+ ),
4459
+ 'Version' => array(
4460
+ 'static' => true,
4461
+ 'location' => 'aws.query',
4462
+ 'default' => '2014-09-01',
4463
+ ),
4464
+ 'DryRun' => array(
4465
+ 'type' => 'boolean',
4466
+ 'format' => 'boolean-string',
4467
+ 'location' => 'aws.query',
4468
+ ),
4469
+ 'Filters' => array(
4470
+ 'type' => 'array',
4471
+ 'location' => 'aws.query',
4472
+ 'sentAs' => 'Filter',
4473
+ 'items' => array(
4474
+ 'name' => 'Filter',
4475
+ 'type' => 'object',
4476
+ 'properties' => array(
4477
+ 'Name' => array(
4478
+ 'type' => 'string',
4479
+ ),
4480
+ 'Values' => array(
4481
+ 'type' => 'array',
4482
+ 'sentAs' => 'Value',
4483
+ 'items' => array(
4484
+ 'name' => 'Value',
4485
+ 'type' => 'string',
4486
+ ),
4487
+ ),
4488
+ ),
4489
+ ),
4490
+ ),
4491
+ 'MaxResults' => array(
4492
+ 'type' => 'numeric',
4493
+ 'location' => 'aws.query',
4494
+ ),
4495
+ 'NextToken' => array(
4496
+ 'type' => 'string',
4497
+ 'location' => 'aws.query',
4498
+ ),
4499
+ ),
4500
+ ),
4501
+ 'DescribeVolumeAttribute' => array(
4502
+ 'httpMethod' => 'POST',
4503
+ 'uri' => '/',
4504
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4505
+ 'responseClass' => 'DescribeVolumeAttributeResult',
4506
+ 'responseType' => 'model',
4507
+ 'parameters' => array(
4508
+ 'Action' => array(
4509
+ 'static' => true,
4510
+ 'location' => 'aws.query',
4511
+ 'default' => 'DescribeVolumeAttribute',
4512
+ ),
4513
+ 'Version' => array(
4514
+ 'static' => true,
4515
+ 'location' => 'aws.query',
4516
+ 'default' => '2014-09-01',
4517
+ ),
4518
+ 'DryRun' => array(
4519
+ 'type' => 'boolean',
4520
+ 'format' => 'boolean-string',
4521
+ 'location' => 'aws.query',
4522
+ ),
4523
+ 'VolumeId' => array(
4524
+ 'required' => true,
4525
+ 'type' => 'string',
4526
+ 'location' => 'aws.query',
4527
+ ),
4528
+ 'Attribute' => array(
4529
+ 'type' => 'string',
4530
+ 'location' => 'aws.query',
4531
+ ),
4532
+ ),
4533
+ ),
4534
+ 'DescribeVolumeStatus' => array(
4535
+ 'httpMethod' => 'POST',
4536
+ 'uri' => '/',
4537
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4538
+ 'responseClass' => 'DescribeVolumeStatusResult',
4539
+ 'responseType' => 'model',
4540
+ 'parameters' => array(
4541
+ 'Action' => array(
4542
+ 'static' => true,
4543
+ 'location' => 'aws.query',
4544
+ 'default' => 'DescribeVolumeStatus',
4545
+ ),
4546
+ 'Version' => array(
4547
+ 'static' => true,
4548
+ 'location' => 'aws.query',
4549
+ 'default' => '2014-09-01',
4550
+ ),
4551
+ 'DryRun' => array(
4552
+ 'type' => 'boolean',
4553
+ 'format' => 'boolean-string',
4554
+ 'location' => 'aws.query',
4555
+ ),
4556
+ 'VolumeIds' => array(
4557
+ 'type' => 'array',
4558
+ 'location' => 'aws.query',
4559
+ 'sentAs' => 'VolumeId',
4560
+ 'items' => array(
4561
+ 'name' => 'VolumeId',
4562
+ 'type' => 'string',
4563
+ ),
4564
+ ),
4565
+ 'Filters' => array(
4566
+ 'type' => 'array',
4567
+ 'location' => 'aws.query',
4568
+ 'sentAs' => 'Filter',
4569
+ 'items' => array(
4570
+ 'name' => 'Filter',
4571
+ 'type' => 'object',
4572
+ 'properties' => array(
4573
+ 'Name' => array(
4574
+ 'type' => 'string',
4575
+ ),
4576
+ 'Values' => array(
4577
+ 'type' => 'array',
4578
+ 'sentAs' => 'Value',
4579
+ 'items' => array(
4580
+ 'name' => 'Value',
4581
+ 'type' => 'string',
4582
+ ),
4583
+ ),
4584
+ ),
4585
+ ),
4586
+ ),
4587
+ 'NextToken' => array(
4588
+ 'type' => 'string',
4589
+ 'location' => 'aws.query',
4590
+ ),
4591
+ 'MaxResults' => array(
4592
+ 'type' => 'numeric',
4593
+ 'location' => 'aws.query',
4594
+ ),
4595
+ ),
4596
+ ),
4597
+ 'DescribeVolumes' => array(
4598
+ 'httpMethod' => 'POST',
4599
+ 'uri' => '/',
4600
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4601
+ 'responseClass' => 'DescribeVolumesResult',
4602
+ 'responseType' => 'model',
4603
+ 'parameters' => array(
4604
+ 'Action' => array(
4605
+ 'static' => true,
4606
+ 'location' => 'aws.query',
4607
+ 'default' => 'DescribeVolumes',
4608
+ ),
4609
+ 'Version' => array(
4610
+ 'static' => true,
4611
+ 'location' => 'aws.query',
4612
+ 'default' => '2014-09-01',
4613
+ ),
4614
+ 'DryRun' => array(
4615
+ 'type' => 'boolean',
4616
+ 'format' => 'boolean-string',
4617
+ 'location' => 'aws.query',
4618
+ ),
4619
+ 'VolumeIds' => array(
4620
+ 'type' => 'array',
4621
+ 'location' => 'aws.query',
4622
+ 'sentAs' => 'VolumeId',
4623
+ 'items' => array(
4624
+ 'name' => 'VolumeId',
4625
+ 'type' => 'string',
4626
+ ),
4627
+ ),
4628
+ 'Filters' => array(
4629
+ 'type' => 'array',
4630
+ 'location' => 'aws.query',
4631
+ 'sentAs' => 'Filter',
4632
+ 'items' => array(
4633
+ 'name' => 'Filter',
4634
+ 'type' => 'object',
4635
+ 'properties' => array(
4636
+ 'Name' => array(
4637
+ 'type' => 'string',
4638
+ ),
4639
+ 'Values' => array(
4640
+ 'type' => 'array',
4641
+ 'sentAs' => 'Value',
4642
+ 'items' => array(
4643
+ 'name' => 'Value',
4644
+ 'type' => 'string',
4645
+ ),
4646
+ ),
4647
+ ),
4648
+ ),
4649
+ ),
4650
+ 'NextToken' => array(
4651
+ 'type' => 'string',
4652
+ 'location' => 'aws.query',
4653
+ ),
4654
+ 'MaxResults' => array(
4655
+ 'type' => 'numeric',
4656
+ 'location' => 'aws.query',
4657
+ ),
4658
+ ),
4659
+ ),
4660
+ 'DescribeVpcAttribute' => array(
4661
+ 'httpMethod' => 'POST',
4662
+ 'uri' => '/',
4663
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4664
+ 'responseClass' => 'DescribeVpcAttributeResult',
4665
+ 'responseType' => 'model',
4666
+ 'parameters' => array(
4667
+ 'Action' => array(
4668
+ 'static' => true,
4669
+ 'location' => 'aws.query',
4670
+ 'default' => 'DescribeVpcAttribute',
4671
+ ),
4672
+ 'Version' => array(
4673
+ 'static' => true,
4674
+ 'location' => 'aws.query',
4675
+ 'default' => '2014-09-01',
4676
+ ),
4677
+ 'DryRun' => array(
4678
+ 'type' => 'boolean',
4679
+ 'format' => 'boolean-string',
4680
+ 'location' => 'aws.query',
4681
+ ),
4682
+ 'VpcId' => array(
4683
+ 'required' => true,
4684
+ 'type' => 'string',
4685
+ 'location' => 'aws.query',
4686
+ ),
4687
+ 'Attribute' => array(
4688
+ 'type' => 'string',
4689
+ 'location' => 'aws.query',
4690
+ ),
4691
+ ),
4692
+ ),
4693
+ 'DescribeVpcPeeringConnections' => array(
4694
+ 'httpMethod' => 'POST',
4695
+ 'uri' => '/',
4696
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4697
+ 'responseClass' => 'DescribeVpcPeeringConnectionsResult',
4698
+ 'responseType' => 'model',
4699
+ 'parameters' => array(
4700
+ 'Action' => array(
4701
+ 'static' => true,
4702
+ 'location' => 'aws.query',
4703
+ 'default' => 'DescribeVpcPeeringConnections',
4704
+ ),
4705
+ 'Version' => array(
4706
+ 'static' => true,
4707
+ 'location' => 'aws.query',
4708
+ 'default' => '2014-09-01',
4709
+ ),
4710
+ 'DryRun' => array(
4711
+ 'type' => 'boolean',
4712
+ 'format' => 'boolean-string',
4713
+ 'location' => 'aws.query',
4714
+ ),
4715
+ 'VpcPeeringConnectionIds' => array(
4716
+ 'type' => 'array',
4717
+ 'location' => 'aws.query',
4718
+ 'sentAs' => 'VpcPeeringConnectionId',
4719
+ 'items' => array(
4720
+ 'name' => 'VpcPeeringConnectionId',
4721
+ 'type' => 'string',
4722
+ ),
4723
+ ),
4724
+ 'Filters' => array(
4725
+ 'type' => 'array',
4726
+ 'location' => 'aws.query',
4727
+ 'sentAs' => 'Filter',
4728
+ 'items' => array(
4729
+ 'name' => 'Filter',
4730
+ 'type' => 'object',
4731
+ 'properties' => array(
4732
+ 'Name' => array(
4733
+ 'type' => 'string',
4734
+ ),
4735
+ 'Values' => array(
4736
+ 'type' => 'array',
4737
+ 'sentAs' => 'Value',
4738
+ 'items' => array(
4739
+ 'name' => 'Value',
4740
+ 'type' => 'string',
4741
+ ),
4742
+ ),
4743
+ ),
4744
+ ),
4745
+ ),
4746
+ ),
4747
+ ),
4748
+ 'DescribeVpcs' => array(
4749
+ 'httpMethod' => 'POST',
4750
+ 'uri' => '/',
4751
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4752
+ 'responseClass' => 'DescribeVpcsResult',
4753
+ 'responseType' => 'model',
4754
+ 'parameters' => array(
4755
+ 'Action' => array(
4756
+ 'static' => true,
4757
+ 'location' => 'aws.query',
4758
+ 'default' => 'DescribeVpcs',
4759
+ ),
4760
+ 'Version' => array(
4761
+ 'static' => true,
4762
+ 'location' => 'aws.query',
4763
+ 'default' => '2014-09-01',
4764
+ ),
4765
+ 'DryRun' => array(
4766
+ 'type' => 'boolean',
4767
+ 'format' => 'boolean-string',
4768
+ 'location' => 'aws.query',
4769
+ ),
4770
+ 'VpcIds' => array(
4771
+ 'type' => 'array',
4772
+ 'location' => 'aws.query',
4773
+ 'sentAs' => 'VpcId',
4774
+ 'items' => array(
4775
+ 'name' => 'VpcId',
4776
+ 'type' => 'string',
4777
+ ),
4778
+ ),
4779
+ 'Filters' => array(
4780
+ 'type' => 'array',
4781
+ 'location' => 'aws.query',
4782
+ 'sentAs' => 'Filter',
4783
+ 'items' => array(
4784
+ 'name' => 'Filter',
4785
+ 'type' => 'object',
4786
+ 'properties' => array(
4787
+ 'Name' => array(
4788
+ 'type' => 'string',
4789
+ ),
4790
+ 'Values' => array(
4791
+ 'type' => 'array',
4792
+ 'sentAs' => 'Value',
4793
+ 'items' => array(
4794
+ 'name' => 'Value',
4795
+ 'type' => 'string',
4796
+ ),
4797
+ ),
4798
+ ),
4799
+ ),
4800
+ ),
4801
+ ),
4802
+ ),
4803
+ 'DescribeVpnConnections' => array(
4804
+ 'httpMethod' => 'POST',
4805
+ 'uri' => '/',
4806
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4807
+ 'responseClass' => 'DescribeVpnConnectionsResult',
4808
+ 'responseType' => 'model',
4809
+ 'parameters' => array(
4810
+ 'Action' => array(
4811
+ 'static' => true,
4812
+ 'location' => 'aws.query',
4813
+ 'default' => 'DescribeVpnConnections',
4814
+ ),
4815
+ 'Version' => array(
4816
+ 'static' => true,
4817
+ 'location' => 'aws.query',
4818
+ 'default' => '2014-09-01',
4819
+ ),
4820
+ 'DryRun' => array(
4821
+ 'type' => 'boolean',
4822
+ 'format' => 'boolean-string',
4823
+ 'location' => 'aws.query',
4824
+ ),
4825
+ 'VpnConnectionIds' => array(
4826
+ 'type' => 'array',
4827
+ 'location' => 'aws.query',
4828
+ 'sentAs' => 'VpnConnectionId',
4829
+ 'items' => array(
4830
+ 'name' => 'VpnConnectionId',
4831
+ 'type' => 'string',
4832
+ ),
4833
+ ),
4834
+ 'Filters' => array(
4835
+ 'type' => 'array',
4836
+ 'location' => 'aws.query',
4837
+ 'sentAs' => 'Filter',
4838
+ 'items' => array(
4839
+ 'name' => 'Filter',
4840
+ 'type' => 'object',
4841
+ 'properties' => array(
4842
+ 'Name' => array(
4843
+ 'type' => 'string',
4844
+ ),
4845
+ 'Values' => array(
4846
+ 'type' => 'array',
4847
+ 'sentAs' => 'Value',
4848
+ 'items' => array(
4849
+ 'name' => 'Value',
4850
+ 'type' => 'string',
4851
+ ),
4852
+ ),
4853
+ ),
4854
+ ),
4855
+ ),
4856
+ ),
4857
+ ),
4858
+ 'DescribeVpnGateways' => array(
4859
+ 'httpMethod' => 'POST',
4860
+ 'uri' => '/',
4861
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4862
+ 'responseClass' => 'DescribeVpnGatewaysResult',
4863
+ 'responseType' => 'model',
4864
+ 'parameters' => array(
4865
+ 'Action' => array(
4866
+ 'static' => true,
4867
+ 'location' => 'aws.query',
4868
+ 'default' => 'DescribeVpnGateways',
4869
+ ),
4870
+ 'Version' => array(
4871
+ 'static' => true,
4872
+ 'location' => 'aws.query',
4873
+ 'default' => '2014-09-01',
4874
+ ),
4875
+ 'DryRun' => array(
4876
+ 'type' => 'boolean',
4877
+ 'format' => 'boolean-string',
4878
+ 'location' => 'aws.query',
4879
+ ),
4880
+ 'VpnGatewayIds' => array(
4881
+ 'type' => 'array',
4882
+ 'location' => 'aws.query',
4883
+ 'sentAs' => 'VpnGatewayId',
4884
+ 'items' => array(
4885
+ 'name' => 'VpnGatewayId',
4886
+ 'type' => 'string',
4887
+ ),
4888
+ ),
4889
+ 'Filters' => array(
4890
+ 'type' => 'array',
4891
+ 'location' => 'aws.query',
4892
+ 'sentAs' => 'Filter',
4893
+ 'items' => array(
4894
+ 'name' => 'Filter',
4895
+ 'type' => 'object',
4896
+ 'properties' => array(
4897
+ 'Name' => array(
4898
+ 'type' => 'string',
4899
+ ),
4900
+ 'Values' => array(
4901
+ 'type' => 'array',
4902
+ 'sentAs' => 'Value',
4903
+ 'items' => array(
4904
+ 'name' => 'Value',
4905
+ 'type' => 'string',
4906
+ ),
4907
+ ),
4908
+ ),
4909
+ ),
4910
+ ),
4911
+ ),
4912
+ ),
4913
+ 'DetachInternetGateway' => array(
4914
+ 'httpMethod' => 'POST',
4915
+ 'uri' => '/',
4916
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4917
+ 'responseClass' => 'EmptyOutput',
4918
+ 'responseType' => 'model',
4919
+ 'parameters' => array(
4920
+ 'Action' => array(
4921
+ 'static' => true,
4922
+ 'location' => 'aws.query',
4923
+ 'default' => 'DetachInternetGateway',
4924
+ ),
4925
+ 'Version' => array(
4926
+ 'static' => true,
4927
+ 'location' => 'aws.query',
4928
+ 'default' => '2014-09-01',
4929
+ ),
4930
+ 'DryRun' => array(
4931
+ 'type' => 'boolean',
4932
+ 'format' => 'boolean-string',
4933
+ 'location' => 'aws.query',
4934
+ ),
4935
+ 'InternetGatewayId' => array(
4936
+ 'required' => true,
4937
+ 'type' => 'string',
4938
+ 'location' => 'aws.query',
4939
+ ),
4940
+ 'VpcId' => array(
4941
+ 'required' => true,
4942
+ 'type' => 'string',
4943
+ 'location' => 'aws.query',
4944
+ ),
4945
+ ),
4946
+ ),
4947
+ 'DetachNetworkInterface' => array(
4948
+ 'httpMethod' => 'POST',
4949
+ 'uri' => '/',
4950
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4951
+ 'responseClass' => 'EmptyOutput',
4952
+ 'responseType' => 'model',
4953
+ 'parameters' => array(
4954
+ 'Action' => array(
4955
+ 'static' => true,
4956
+ 'location' => 'aws.query',
4957
+ 'default' => 'DetachNetworkInterface',
4958
+ ),
4959
+ 'Version' => array(
4960
+ 'static' => true,
4961
+ 'location' => 'aws.query',
4962
+ 'default' => '2014-09-01',
4963
+ ),
4964
+ 'DryRun' => array(
4965
+ 'type' => 'boolean',
4966
+ 'format' => 'boolean-string',
4967
+ 'location' => 'aws.query',
4968
+ ),
4969
+ 'AttachmentId' => array(
4970
+ 'required' => true,
4971
+ 'type' => 'string',
4972
+ 'location' => 'aws.query',
4973
+ ),
4974
+ 'Force' => array(
4975
+ 'type' => 'boolean',
4976
+ 'format' => 'boolean-string',
4977
+ 'location' => 'aws.query',
4978
+ ),
4979
+ ),
4980
+ ),
4981
+ 'DetachVolume' => array(
4982
+ 'httpMethod' => 'POST',
4983
+ 'uri' => '/',
4984
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
4985
+ 'responseClass' => 'attachment',
4986
+ 'responseType' => 'model',
4987
+ 'parameters' => array(
4988
+ 'Action' => array(
4989
+ 'static' => true,
4990
+ 'location' => 'aws.query',
4991
+ 'default' => 'DetachVolume',
4992
+ ),
4993
+ 'Version' => array(
4994
+ 'static' => true,
4995
+ 'location' => 'aws.query',
4996
+ 'default' => '2014-09-01',
4997
+ ),
4998
+ 'DryRun' => array(
4999
+ 'type' => 'boolean',
5000
+ 'format' => 'boolean-string',
5001
+ 'location' => 'aws.query',
5002
+ ),
5003
+ 'VolumeId' => array(
5004
+ 'required' => true,
5005
+ 'type' => 'string',
5006
+ 'location' => 'aws.query',
5007
+ ),
5008
+ 'InstanceId' => array(
5009
+ 'type' => 'string',
5010
+ 'location' => 'aws.query',
5011
+ ),
5012
+ 'Device' => array(
5013
+ 'type' => 'string',
5014
+ 'location' => 'aws.query',
5015
+ ),
5016
+ 'Force' => array(
5017
+ 'type' => 'boolean',
5018
+ 'format' => 'boolean-string',
5019
+ 'location' => 'aws.query',
5020
+ ),
5021
+ ),
5022
+ ),
5023
+ 'DetachVpnGateway' => array(
5024
+ 'httpMethod' => 'POST',
5025
+ 'uri' => '/',
5026
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5027
+ 'responseClass' => 'EmptyOutput',
5028
+ 'responseType' => 'model',
5029
+ 'parameters' => array(
5030
+ 'Action' => array(
5031
+ 'static' => true,
5032
+ 'location' => 'aws.query',
5033
+ 'default' => 'DetachVpnGateway',
5034
+ ),
5035
+ 'Version' => array(
5036
+ 'static' => true,
5037
+ 'location' => 'aws.query',
5038
+ 'default' => '2014-09-01',
5039
+ ),
5040
+ 'DryRun' => array(
5041
+ 'type' => 'boolean',
5042
+ 'format' => 'boolean-string',
5043
+ 'location' => 'aws.query',
5044
+ ),
5045
+ 'VpnGatewayId' => array(
5046
+ 'required' => true,
5047
+ 'type' => 'string',
5048
+ 'location' => 'aws.query',
5049
+ ),
5050
+ 'VpcId' => array(
5051
+ 'required' => true,
5052
+ 'type' => 'string',
5053
+ 'location' => 'aws.query',
5054
+ ),
5055
+ ),
5056
+ ),
5057
+ 'DisableVgwRoutePropagation' => array(
5058
+ 'httpMethod' => 'POST',
5059
+ 'uri' => '/',
5060
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5061
+ 'responseClass' => 'EmptyOutput',
5062
+ 'responseType' => 'model',
5063
+ 'parameters' => array(
5064
+ 'Action' => array(
5065
+ 'static' => true,
5066
+ 'location' => 'aws.query',
5067
+ 'default' => 'DisableVgwRoutePropagation',
5068
+ ),
5069
+ 'Version' => array(
5070
+ 'static' => true,
5071
+ 'location' => 'aws.query',
5072
+ 'default' => '2014-09-01',
5073
+ ),
5074
+ 'RouteTableId' => array(
5075
+ 'required' => true,
5076
+ 'type' => 'string',
5077
+ 'location' => 'aws.query',
5078
+ ),
5079
+ 'GatewayId' => array(
5080
+ 'required' => true,
5081
+ 'type' => 'string',
5082
+ 'location' => 'aws.query',
5083
+ ),
5084
+ ),
5085
+ ),
5086
+ 'DisassociateAddress' => array(
5087
+ 'httpMethod' => 'POST',
5088
+ 'uri' => '/',
5089
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5090
+ 'responseClass' => 'EmptyOutput',
5091
+ 'responseType' => 'model',
5092
+ 'parameters' => array(
5093
+ 'Action' => array(
5094
+ 'static' => true,
5095
+ 'location' => 'aws.query',
5096
+ 'default' => 'DisassociateAddress',
5097
+ ),
5098
+ 'Version' => array(
5099
+ 'static' => true,
5100
+ 'location' => 'aws.query',
5101
+ 'default' => '2014-09-01',
5102
+ ),
5103
+ 'DryRun' => array(
5104
+ 'type' => 'boolean',
5105
+ 'format' => 'boolean-string',
5106
+ 'location' => 'aws.query',
5107
+ ),
5108
+ 'PublicIp' => array(
5109
+ 'type' => 'string',
5110
+ 'location' => 'aws.query',
5111
+ ),
5112
+ 'AssociationId' => array(
5113
+ 'type' => 'string',
5114
+ 'location' => 'aws.query',
5115
+ ),
5116
+ ),
5117
+ ),
5118
+ 'DisassociateRouteTable' => array(
5119
+ 'httpMethod' => 'POST',
5120
+ 'uri' => '/',
5121
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5122
+ 'responseClass' => 'EmptyOutput',
5123
+ 'responseType' => 'model',
5124
+ 'parameters' => array(
5125
+ 'Action' => array(
5126
+ 'static' => true,
5127
+ 'location' => 'aws.query',
5128
+ 'default' => 'DisassociateRouteTable',
5129
+ ),
5130
+ 'Version' => array(
5131
+ 'static' => true,
5132
+ 'location' => 'aws.query',
5133
+ 'default' => '2014-09-01',
5134
+ ),
5135
+ 'DryRun' => array(
5136
+ 'type' => 'boolean',
5137
+ 'format' => 'boolean-string',
5138
+ 'location' => 'aws.query',
5139
+ ),
5140
+ 'AssociationId' => array(
5141
+ 'required' => true,
5142
+ 'type' => 'string',
5143
+ 'location' => 'aws.query',
5144
+ ),
5145
+ ),
5146
+ ),
5147
+ 'EnableVgwRoutePropagation' => array(
5148
+ 'httpMethod' => 'POST',
5149
+ 'uri' => '/',
5150
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5151
+ 'responseClass' => 'EmptyOutput',
5152
+ 'responseType' => 'model',
5153
+ 'parameters' => array(
5154
+ 'Action' => array(
5155
+ 'static' => true,
5156
+ 'location' => 'aws.query',
5157
+ 'default' => 'EnableVgwRoutePropagation',
5158
+ ),
5159
+ 'Version' => array(
5160
+ 'static' => true,
5161
+ 'location' => 'aws.query',
5162
+ 'default' => '2014-09-01',
5163
+ ),
5164
+ 'RouteTableId' => array(
5165
+ 'required' => true,
5166
+ 'type' => 'string',
5167
+ 'location' => 'aws.query',
5168
+ ),
5169
+ 'GatewayId' => array(
5170
+ 'required' => true,
5171
+ 'type' => 'string',
5172
+ 'location' => 'aws.query',
5173
+ ),
5174
+ ),
5175
+ ),
5176
+ 'EnableVolumeIO' => array(
5177
+ 'httpMethod' => 'POST',
5178
+ 'uri' => '/',
5179
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5180
+ 'responseClass' => 'EmptyOutput',
5181
+ 'responseType' => 'model',
5182
+ 'parameters' => array(
5183
+ 'Action' => array(
5184
+ 'static' => true,
5185
+ 'location' => 'aws.query',
5186
+ 'default' => 'EnableVolumeIO',
5187
+ ),
5188
+ 'Version' => array(
5189
+ 'static' => true,
5190
+ 'location' => 'aws.query',
5191
+ 'default' => '2014-09-01',
5192
+ ),
5193
+ 'DryRun' => array(
5194
+ 'type' => 'boolean',
5195
+ 'format' => 'boolean-string',
5196
+ 'location' => 'aws.query',
5197
+ ),
5198
+ 'VolumeId' => array(
5199
+ 'required' => true,
5200
+ 'type' => 'string',
5201
+ 'location' => 'aws.query',
5202
+ ),
5203
+ ),
5204
+ ),
5205
+ 'GetConsoleOutput' => array(
5206
+ 'httpMethod' => 'POST',
5207
+ 'uri' => '/',
5208
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5209
+ 'responseClass' => 'GetConsoleOutputResult',
5210
+ 'responseType' => 'model',
5211
+ 'parameters' => array(
5212
+ 'Action' => array(
5213
+ 'static' => true,
5214
+ 'location' => 'aws.query',
5215
+ 'default' => 'GetConsoleOutput',
5216
+ ),
5217
+ 'Version' => array(
5218
+ 'static' => true,
5219
+ 'location' => 'aws.query',
5220
+ 'default' => '2014-09-01',
5221
+ ),
5222
+ 'DryRun' => array(
5223
+ 'type' => 'boolean',
5224
+ 'format' => 'boolean-string',
5225
+ 'location' => 'aws.query',
5226
+ ),
5227
+ 'InstanceId' => array(
5228
+ 'required' => true,
5229
+ 'type' => 'string',
5230
+ 'location' => 'aws.query',
5231
+ ),
5232
+ ),
5233
+ ),
5234
+ 'GetPasswordData' => array(
5235
+ 'httpMethod' => 'POST',
5236
+ 'uri' => '/',
5237
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5238
+ 'responseClass' => 'GetPasswordDataResult',
5239
+ 'responseType' => 'model',
5240
+ 'parameters' => array(
5241
+ 'Action' => array(
5242
+ 'static' => true,
5243
+ 'location' => 'aws.query',
5244
+ 'default' => 'GetPasswordData',
5245
+ ),
5246
+ 'Version' => array(
5247
+ 'static' => true,
5248
+ 'location' => 'aws.query',
5249
+ 'default' => '2014-09-01',
5250
+ ),
5251
+ 'DryRun' => array(
5252
+ 'type' => 'boolean',
5253
+ 'format' => 'boolean-string',
5254
+ 'location' => 'aws.query',
5255
+ ),
5256
+ 'InstanceId' => array(
5257
+ 'required' => true,
5258
+ 'type' => 'string',
5259
+ 'location' => 'aws.query',
5260
+ ),
5261
+ ),
5262
+ ),
5263
+ 'ImportInstance' => array(
5264
+ 'httpMethod' => 'POST',
5265
+ 'uri' => '/',
5266
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5267
+ 'responseClass' => 'ImportInstanceResult',
5268
+ 'responseType' => 'model',
5269
+ 'parameters' => array(
5270
+ 'Action' => array(
5271
+ 'static' => true,
5272
+ 'location' => 'aws.query',
5273
+ 'default' => 'ImportInstance',
5274
+ ),
5275
+ 'Version' => array(
5276
+ 'static' => true,
5277
+ 'location' => 'aws.query',
5278
+ 'default' => '2014-09-01',
5279
+ ),
5280
+ 'DryRun' => array(
5281
+ 'type' => 'boolean',
5282
+ 'format' => 'boolean-string',
5283
+ 'location' => 'aws.query',
5284
+ ),
5285
+ 'Description' => array(
5286
+ 'type' => 'string',
5287
+ 'location' => 'aws.query',
5288
+ ),
5289
+ 'LaunchSpecification' => array(
5290
+ 'type' => 'object',
5291
+ 'location' => 'aws.query',
5292
+ 'properties' => array(
5293
+ 'Architecture' => array(
5294
+ 'type' => 'string',
5295
+ ),
5296
+ 'GroupNames' => array(
5297
+ 'type' => 'array',
5298
+ 'sentAs' => 'GroupName',
5299
+ 'items' => array(
5300
+ 'name' => 'GroupName',
5301
+ 'type' => 'string',
5302
+ ),
5303
+ ),
5304
+ 'GroupIds' => array(
5305
+ 'type' => 'array',
5306
+ 'sentAs' => 'GroupId',
5307
+ 'items' => array(
5308
+ 'name' => 'GroupId',
5309
+ 'type' => 'string',
5310
+ ),
5311
+ ),
5312
+ 'AdditionalInfo' => array(
5313
+ 'type' => 'string',
5314
+ ),
5315
+ 'UserData' => array(
5316
+ 'type' => 'string',
5317
+ ),
5318
+ 'InstanceType' => array(
5319
+ 'type' => 'string',
5320
+ ),
5321
+ 'Placement' => array(
5322
+ 'type' => 'object',
5323
+ 'properties' => array(
5324
+ 'AvailabilityZone' => array(
5325
+ 'type' => 'string',
5326
+ ),
5327
+ 'GroupName' => array(
5328
+ 'type' => 'string',
5329
+ ),
5330
+ 'Tenancy' => array(
5331
+ 'type' => 'string',
5332
+ ),
5333
+ ),
5334
+ ),
5335
+ 'Monitoring' => array(
5336
+ 'type' => 'boolean',
5337
+ 'format' => 'boolean-string',
5338
+ ),
5339
+ 'SubnetId' => array(
5340
+ 'type' => 'string',
5341
+ ),
5342
+ 'InstanceInitiatedShutdownBehavior' => array(
5343
+ 'type' => 'string',
5344
+ ),
5345
+ 'PrivateIpAddress' => array(
5346
+ 'type' => 'string',
5347
+ ),
5348
+ ),
5349
+ ),
5350
+ 'DiskImages' => array(
5351
+ 'type' => 'array',
5352
+ 'location' => 'aws.query',
5353
+ 'sentAs' => 'DiskImage',
5354
+ 'items' => array(
5355
+ 'name' => 'DiskImage',
5356
+ 'type' => 'object',
5357
+ 'properties' => array(
5358
+ 'Image' => array(
5359
+ 'type' => 'object',
5360
+ 'properties' => array(
5361
+ 'Format' => array(
5362
+ 'required' => true,
5363
+ 'type' => 'string',
5364
+ ),
5365
+ 'Bytes' => array(
5366
+ 'required' => true,
5367
+ 'type' => 'numeric',
5368
+ ),
5369
+ 'ImportManifestUrl' => array(
5370
+ 'required' => true,
5371
+ 'type' => 'string',
5372
+ ),
5373
+ ),
5374
+ ),
5375
+ 'Description' => array(
5376
+ 'type' => 'string',
5377
+ ),
5378
+ 'Volume' => array(
5379
+ 'type' => 'object',
5380
+ 'properties' => array(
5381
+ 'Size' => array(
5382
+ 'required' => true,
5383
+ 'type' => 'numeric',
5384
+ ),
5385
+ ),
5386
+ ),
5387
+ ),
5388
+ ),
5389
+ ),
5390
+ 'Platform' => array(
5391
+ 'required' => true,
5392
+ 'type' => 'string',
5393
+ 'location' => 'aws.query',
5394
+ ),
5395
+ ),
5396
+ ),
5397
+ 'ImportKeyPair' => array(
5398
+ 'httpMethod' => 'POST',
5399
+ 'uri' => '/',
5400
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5401
+ 'responseClass' => 'ImportKeyPairResult',
5402
+ 'responseType' => 'model',
5403
+ 'parameters' => array(
5404
+ 'Action' => array(
5405
+ 'static' => true,
5406
+ 'location' => 'aws.query',
5407
+ 'default' => 'ImportKeyPair',
5408
+ ),
5409
+ 'Version' => array(
5410
+ 'static' => true,
5411
+ 'location' => 'aws.query',
5412
+ 'default' => '2014-09-01',
5413
+ ),
5414
+ 'DryRun' => array(
5415
+ 'type' => 'boolean',
5416
+ 'format' => 'boolean-string',
5417
+ 'location' => 'aws.query',
5418
+ ),
5419
+ 'KeyName' => array(
5420
+ 'required' => true,
5421
+ 'type' => 'string',
5422
+ 'location' => 'aws.query',
5423
+ ),
5424
+ 'PublicKeyMaterial' => array(
5425
+ 'required' => true,
5426
+ 'type' => 'string',
5427
+ 'location' => 'aws.query',
5428
+ 'filters' => array(
5429
+ 'base64_encode',
5430
+ ),
5431
+ ),
5432
+ ),
5433
+ ),
5434
+ 'ImportVolume' => array(
5435
+ 'httpMethod' => 'POST',
5436
+ 'uri' => '/',
5437
+ 'class' => 'Aws\\Common\\Command\\QueryCommand',
5438
+ 'responseClass' => 'ImportVolumeResult',
5439
+ 'responseType' => 'model',
5440
+ 'parameters' => array(
5441
+ 'Action' => array(
5442
+ 'static' => true,
5443
+ 'location' => 'aws.query',
5444
+ 'default' => 'ImportVolume',
5445
+ ),
5446
+ 'Version' => array(
5447
+ 'static' => true,
5448
+ 'location' => 'aws.query',
5449
+ 'default' => '2014-09-01',
5450
+ ),
5451
+ 'DryRun' => array(
5452
+ 'type' => 'boolean',
5453
+ 'format' => 'boolean-string',
5454
+ 'location' => 'aws.query',
5455
+ ),
5456
+ 'AvailabilityZone' => array(
5457
+ 'required' => true,
5458
+ 'type' => 'string',
5459
+ 'location' => 'aws.query',
5460
+ ),
5461
+ 'Image' => array(
5462
+ 'required' => true,
5463
+ 'type' => 'object',
5464
+ 'location' => 'aws.query',
5465
+ 'properties' => array(
5466
+ 'Format' => array(
5467
+ 'required' => true,
5468
+ 'type' => 'string',
5469
+ ),
5470
+ 'Bytes' => array(
5471
+ '