Version Description
- 2013-09-20 =
- First release
Download this release
Release Info
Developer | bradt |
Plugin | Amazon Web Services |
Version | 0.1 |
Comparing to | |
See all releases |
Version 0.1
- amazon-web-services.php +79 -0
- assets/config.rb +25 -0
- assets/css/global.css +1 -0
- assets/css/styles.css +1 -0
- assets/img/icon16.png +0 -0
- assets/img/icon16@2x.png +0 -0
- assets/img/icon32.png +0 -0
- assets/img/icon32@2x.png +0 -0
- assets/js/script.js +26 -0
- assets/js/script.min.js +1 -0
- assets/sass/global.scss +39 -0
- assets/sass/styles.scss +77 -0
- classes/amazon-web-services.php +189 -0
- classes/aws-plugin-base.php +59 -0
- readme.txt +30 -0
- vendor/aws/Aws/AutoScaling/AutoScalingClient.php +97 -0
- vendor/aws/Aws/AutoScaling/Enum/LifecycleState.php +31 -0
- vendor/aws/Aws/AutoScaling/Enum/ScalingActivityStatusCode.php +34 -0
- vendor/aws/Aws/AutoScaling/Exception/AlreadyExistsException.php +22 -0
- vendor/aws/Aws/AutoScaling/Exception/AutoScalingException.php +24 -0
- vendor/aws/Aws/AutoScaling/Exception/InvalidNextTokenException.php +22 -0
- vendor/aws/Aws/AutoScaling/Exception/LimitExceededException.php +22 -0
- vendor/aws/Aws/AutoScaling/Exception/ResourceInUseException.php +22 -0
- vendor/aws/Aws/AutoScaling/Exception/ScalingActivityInProgressException.php +22 -0
- vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php +2516 -0
- vendor/aws/Aws/CloudFormation/CloudFormationClient.php +72 -0
- vendor/aws/Aws/CloudFormation/Enum/Capability.php +27 -0
- vendor/aws/Aws/CloudFormation/Enum/OnFailure.php +29 -0
- vendor/aws/Aws/CloudFormation/Enum/ResourceStatus.php +35 -0
- vendor/aws/Aws/CloudFormation/Enum/StackStatus.php +42 -0
- vendor/aws/Aws/CloudFormation/Exception/AlreadyExistsException.php +22 -0
- vendor/aws/Aws/CloudFormation/Exception/CloudFormationException.php +24 -0
- vendor/aws/Aws/CloudFormation/Exception/InsufficientCapabilitiesException.php +22 -0
- vendor/aws/Aws/CloudFormation/Exception/LimitExceededException.php +22 -0
- vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php +1068 -0
- vendor/aws/Aws/CloudFront/CloudFrontClient.php +241 -0
- vendor/aws/Aws/CloudFront/CloudFrontSignature.php +61 -0
- vendor/aws/Aws/CloudFront/Enum/ItemSelection.php +29 -0
- vendor/aws/Aws/CloudFront/Enum/OriginProtocolPolicy.php +28 -0
- vendor/aws/Aws/CloudFront/Enum/PriceClass.php +29 -0
- vendor/aws/Aws/CloudFront/Enum/ViewerProtocolPolicy.php +28 -0
- vendor/aws/Aws/CloudFront/Exception/AccessDeniedException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/BatchTooLargeException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/CNAMEAlreadyExistsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/CloudFrontException.php +24 -0
- vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityAlreadyExistsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityInUseException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/DistributionAlreadyExistsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/DistributionNotDisabledException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/Exception.php +24 -0
- vendor/aws/Aws/CloudFront/Exception/IllegalUpdateException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InconsistentQuantitiesException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidArgumentException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidDefaultRootObjectException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidForwardCookiesException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidIfMatchVersionException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidOriginAccessIdentityException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidOriginException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidRequiredProtocolException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/InvalidViewerCertificateException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/MissingBodyException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/NoSuchCloudFrontOriginAccessIdentityException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/NoSuchDistributionException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/NoSuchInvalidationException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/NoSuchOriginException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/NoSuchStreamingDistributionException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/PreconditionFailedException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/StreamingDistributionAlreadyExistsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/StreamingDistributionNotDisabledException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyCacheBehaviorsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyCertificatesException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyCloudFrontOriginAccessIdentitiesException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyCookieNamesInWhiteListException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyDistributionCNAMEsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyDistributionsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyInvalidationsInProgressException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyOriginsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionCNAMEsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionsException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TooManyTrustedSignersException.php +22 -0
- vendor/aws/Aws/CloudFront/Exception/TrustedSignerDoesNotExistException.php +22 -0
- vendor/aws/Aws/CloudFront/Resources/cloudfront-2012-05-05.php +4583 -0
- vendor/aws/Aws/CloudFront/Resources/cloudfront-2013-05-12.php +4567 -0
- vendor/aws/Aws/CloudSearch/CloudSearchClient.php +78 -0
- vendor/aws/Aws/CloudSearch/Enum/IndexFieldType.php +29 -0
- vendor/aws/Aws/CloudSearch/Enum/OptionState.php +29 -0
- vendor/aws/Aws/CloudSearch/Enum/SearchInstanceType.php +30 -0
- vendor/aws/Aws/CloudSearch/Enum/SourceDataFunction.php +29 -0
- vendor/aws/Aws/CloudSearch/Exception/BaseException.php +22 -0
- vendor/aws/Aws/CloudSearch/Exception/CloudSearchException.php +24 -0
- vendor/aws/Aws/CloudSearch/Exception/InternalException.php +22 -0
- vendor/aws/Aws/CloudSearch/Exception/InvalidTypeException.php +22 -0
- vendor/aws/Aws/CloudSearch/Exception/LimitExceededException.php +22 -0
- vendor/aws/Aws/CloudSearch/Exception/ResourceNotFoundException.php +22 -0
- vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php +2361 -0
- vendor/aws/Aws/CloudWatch/CloudWatchClient.php +70 -0
- vendor/aws/Aws/CloudWatch/Enum/ComparisonOperator.php +30 -0
- vendor/aws/Aws/CloudWatch/Enum/HistoryItemType.php +29 -0
- vendor/aws/Aws/CloudWatch/Enum/StateValue.php +29 -0
- vendor/aws/Aws/CloudWatch/Enum/Statistic.php +31 -0
- vendor/aws/Aws/CloudWatch/Enum/Unit.php +53 -0
- vendor/aws/Aws/CloudWatch/Exception/CloudWatchException.php +24 -0
- vendor/aws/Aws/CloudWatch/Exception/InternalServiceException.php +22 -0
- vendor/aws/Aws/CloudWatch/Exception/InvalidFormatException.php +22 -0
- vendor/aws/Aws/CloudWatch/Exception/InvalidNextTokenException.php +22 -0
- vendor/aws/Aws/CloudWatch/Exception/InvalidParameterCombinationException.php +22 -0
- vendor/aws/Aws/CloudWatch/Exception/InvalidParameterValueException.php +22 -0
- vendor/aws/Aws/CloudWatch/Exception/LimitExceededException.php +22 -0
- vendor/aws/Aws/CloudWatch/Exception/MissingRequiredParameterException.php +22 -0
- vendor/aws/Aws/CloudWatch/Exception/ResourceNotFoundException.php +22 -0
- vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php +1406 -0
- vendor/aws/Aws/Common/Aws.php +107 -0
- vendor/aws/Aws/Common/Client/AbstractClient.php +293 -0
- vendor/aws/Aws/Common/Client/AwsClientInterface.php +118 -0
- vendor/aws/Aws/Common/Client/ClientBuilder.php +120 -0
amazon-web-services.php
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Amazon Web Services
|
4 |
+
Plugin URI: http://wordpress.org/extend/plugins/amazon-web-services/
|
5 |
+
Description: Includes the Amazon Web Services PHP libraries, stores access keys, and allows other plugins to hook into it
|
6 |
+
Author: Brad Touesnard
|
7 |
+
Version: 0.1
|
8 |
+
Author URI: http://bradt.ca/
|
9 |
+
*/
|
10 |
+
|
11 |
+
// Copyright (c) 2013 Brad Touesnard. All rights reserved.
|
12 |
+
//
|
13 |
+
// Released under the GPL license
|
14 |
+
// http://www.opensource.org/licenses/gpl-license.php
|
15 |
+
//
|
16 |
+
// **********************************************************************
|
17 |
+
// This program is distributed in the hope that it will be useful, but
|
18 |
+
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
20 |
+
// **********************************************************************
|
21 |
+
|
22 |
+
function amazon_web_services_incompatibile( $msg ) {
|
23 |
+
require_once ABSPATH . '/wp-admin/includes/plugin.php';
|
24 |
+
deactivate_plugins( __FILE__ );
|
25 |
+
wp_die( $msg );
|
26 |
+
}
|
27 |
+
|
28 |
+
if ( is_admin() && ( !defined( 'DOING_AJAX' ) || !DOING_AJAX ) ) {
|
29 |
+
if ( version_compare( PHP_VERSION, '5.3.3', '<' ) ) {
|
30 |
+
amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires PHP 5.3.3 or higher. The plugin has now disabled itself.', 'amazon-web-services' ) );
|
31 |
+
}
|
32 |
+
elseif ( !function_exists( 'curl_version' )
|
33 |
+
|| !( $curl = curl_version() ) || empty( $curl['version'] ) || empty( $curl['features'] )
|
34 |
+
|| version_compare( $curl['version'], '7.16.2', '<' ) )
|
35 |
+
{
|
36 |
+
amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires cURL 7.16.2+. The plugin has now disabled itself.', 'amazon-web-services' ) );
|
37 |
+
}
|
38 |
+
elseif ( !( $curl['features'] & CURL_VERSION_SSL ) ) {
|
39 |
+
amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires that cURL is compiled with OpenSSL. The plugin has now disabled itself.', 'amazon-web-services' ) );
|
40 |
+
}
|
41 |
+
elseif ( !( $curl['features'] & CURL_VERSION_LIBZ ) ) {
|
42 |
+
amazon_web_services_incompatibile( __( 'The official Amazon Web Services SDK requires that cURL is compiled with zlib. The plugin has now disabled itself.', 'amazon-web-services' ) );
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
require_once 'classes/aws-plugin-base.php';
|
47 |
+
require_once 'classes/amazon-web-services.php';
|
48 |
+
require_once 'vendor/aws/aws-autoloader.php';
|
49 |
+
|
50 |
+
function amazon_web_services_init() {
|
51 |
+
global $amazon_web_services;
|
52 |
+
$amazon_web_services = new Amazon_Web_Services( __FILE__ );
|
53 |
+
}
|
54 |
+
|
55 |
+
add_action( 'init', 'amazon_web_services_init' );
|
56 |
+
|
57 |
+
function amazon_web_services_activation() {
|
58 |
+
// Migrate keys over from old Amazon S3 and CloudFront plugin settings
|
59 |
+
if ( !( $as3cf = get_option( 'tantan_wordpress_s3' ) ) ) {
|
60 |
+
return;
|
61 |
+
}
|
62 |
+
|
63 |
+
if ( !isset( $as3cf['key'] ) || !isset( $as3cf['secret'] ) ) {
|
64 |
+
return;
|
65 |
+
}
|
66 |
+
|
67 |
+
if ( !get_site_option( Amazon_Web_Services::SETTINGS_KEY ) ) {
|
68 |
+
add_site_option( Amazon_Web_Services::SETTINGS_KEY, array(
|
69 |
+
'access_key_id' => $as3cf['key'],
|
70 |
+
'secret_access_key' => $as3cf['secret']
|
71 |
+
) );
|
72 |
+
}
|
73 |
+
|
74 |
+
unset( $as3cf['key'] );
|
75 |
+
unset( $as3cf['secret'] );
|
76 |
+
|
77 |
+
update_option( 'tantan_wordpress_s3', $as3cf );
|
78 |
+
}
|
79 |
+
register_activation_hook( __FILE__, 'amazon_web_services_activation' );
|
assets/config.rb
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Require any additional compass plugins here.
|
2 |
+
|
3 |
+
# Set this to the root of your project when deployed:
|
4 |
+
http_path = "/"
|
5 |
+
css_dir = "css"
|
6 |
+
sass_dir = "sass"
|
7 |
+
images_dir = "img"
|
8 |
+
javascripts_dir = "js"
|
9 |
+
|
10 |
+
# You can select your preferred output style here (can be overridden via the command line):
|
11 |
+
# output_style = :expanded or :nested or :compact or :compressed
|
12 |
+
output_style = :compressed
|
13 |
+
|
14 |
+
# To enable relative paths to assets via compass helper functions. Uncomment:
|
15 |
+
# relative_assets = true
|
16 |
+
|
17 |
+
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
18 |
+
line_comments = false
|
19 |
+
|
20 |
+
|
21 |
+
# If you prefer the indented syntax, you might want to regenerate this
|
22 |
+
# project again passing --syntax sass, or you can uncomment this:
|
23 |
+
# preferred_syntax = :sass
|
24 |
+
# and then run:
|
25 |
+
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
|
assets/css/global.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#adminmenu .toplevel_page_amazon-web-services div.wp-menu-image{background:url("../img/icon16.png") no-repeat 7px 5px}#adminmenu .toplevel_page_amazon-web-services.wp-has-current-submenu div.wp-menu-image,#adminmenu .toplevel_page_amazon-web-services.current div.wp-menu-image,#adminmenu .toplevel_page_amazon-web-services:hover div.wp-menu-image{background-position:7px -79px}#adminmenu .toplevel_page_amazon-web-services img{display:none}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2){#adminmenu .toplevel_page_amazon-web-services div.wp-menu-image{background-image:url("../img/icon16@2x.png");background-size:16px 100px}}#icon-amazon-web-services{background:url(../img/icon32.png) no-repeat}@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2){#icon-amazon-web-services{background:url(../img/icon32@2x.png) no-repeat;background-size:32px 32px}}
|
assets/css/styles.css
ADDED
@@ -0,0 +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)}}
|
assets/img/icon16.png
ADDED
Binary file
|
assets/img/icon16@2x.png
ADDED
Binary file
|
assets/img/icon32.png
ADDED
Binary file
|
assets/img/icon32@2x.png
ADDED
Binary file
|
assets/js/script.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function($) {
|
2 |
+
|
3 |
+
$(document).ready(function() {
|
4 |
+
|
5 |
+
$('.aws-settings').each(function() {
|
6 |
+
var $container = $(this);
|
7 |
+
|
8 |
+
$('.reveal-form a', $container).click(function() {
|
9 |
+
var $form = $('form', $container);
|
10 |
+
if ('block' == $form.css('display')) {
|
11 |
+
$form.hide();
|
12 |
+
}
|
13 |
+
else {
|
14 |
+
$form.show();
|
15 |
+
}
|
16 |
+
return false;
|
17 |
+
});
|
18 |
+
});
|
19 |
+
|
20 |
+
$('.button.remove-keys').click(function() {
|
21 |
+
$('input[name=secret_access_key],input[name=access_key_id]').val('');
|
22 |
+
});
|
23 |
+
|
24 |
+
});
|
25 |
+
|
26 |
+
})(jQuery);
|
assets/js/script.min.js
ADDED
@@ -0,0 +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);
|
assets/sass/global.scss
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#adminmenu .toplevel_page_amazon-web-services {
|
2 |
+
div.wp-menu-image {
|
3 |
+
background: url("../img/icon16.png") no-repeat 7px 5px;
|
4 |
+
}
|
5 |
+
|
6 |
+
&.wp-has-current-submenu, &.current, &:hover {
|
7 |
+
div.wp-menu-image {
|
8 |
+
background-position: 7px -79px;
|
9 |
+
}
|
10 |
+
}
|
11 |
+
|
12 |
+
img {
|
13 |
+
display: none;
|
14 |
+
}
|
15 |
+
|
16 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 2),
|
17 |
+
only screen and (-moz-min-device-pixel-ratio: 2),
|
18 |
+
only screen and (-o-min-device-pixel-ratio: 2/1),
|
19 |
+
only screen and (min-device-pixel-ratio: 2) {
|
20 |
+
|
21 |
+
div.wp-menu-image {
|
22 |
+
background-image: url("../img/icon16@2x.png");
|
23 |
+
background-size: 16px 100px;
|
24 |
+
}
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
#icon-amazon-web-services {
|
29 |
+
background: url(../img/icon32.png) no-repeat;
|
30 |
+
|
31 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 2),
|
32 |
+
only screen and (-moz-min-device-pixel-ratio: 2),
|
33 |
+
only screen and (-o-min-device-pixel-ratio: 2/1),
|
34 |
+
only screen and (min-device-pixel-ratio: 2) {
|
35 |
+
|
36 |
+
background: url(../img/icon32@2x.png) no-repeat;
|
37 |
+
background-size: 32px 32px;
|
38 |
+
}
|
39 |
+
}
|
assets/sass/styles.scss
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.aws-content {
|
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;
|
21 |
+
height: 250px;
|
22 |
+
background-size: 772px 250px;
|
23 |
+
background-repeat: no-repeat;
|
24 |
+
position: relative;
|
25 |
+
|
26 |
+
.info {
|
27 |
+
position: absolute;
|
28 |
+
bottom: 20px;
|
29 |
+
left: 20px;
|
30 |
+
}
|
31 |
+
|
32 |
+
h1 {
|
33 |
+
font-size: 24px;
|
34 |
+
margin: 0;
|
35 |
+
background-color: #000;
|
36 |
+
color: #fff;
|
37 |
+
font-weight: bold;
|
38 |
+
padding: 20px;
|
39 |
+
margin-bottom: 18px;
|
40 |
+
border-radius: 3px;
|
41 |
+
}
|
42 |
+
|
43 |
+
.actions {
|
44 |
+
li {
|
45 |
+
float: left;
|
46 |
+
margin-right: 10px;
|
47 |
+
}
|
48 |
+
|
49 |
+
a, span {
|
50 |
+
background-color: #000;
|
51 |
+
border-radius: 15px;
|
52 |
+
color: #fff;
|
53 |
+
padding: 8px 15px;
|
54 |
+
text-decoration: none;
|
55 |
+
}
|
56 |
+
|
57 |
+
a:hover {
|
58 |
+
background-color: #333;
|
59 |
+
}
|
60 |
+
|
61 |
+
span {
|
62 |
+
color: #ccc;
|
63 |
+
}
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
.addon.as3cf {
|
68 |
+
background-image: url(http://s-plugins.wordpress.org/amazon-s3-and-cloudfront/assets/banner-772x250.jpg);
|
69 |
+
|
70 |
+
@media (min--moz-device-pixel-ratio: 1.3),
|
71 |
+
(-o-min-device-pixel-ratio: 2.6/2),
|
72 |
+
(-webkit-min-device-pixel-ratio: 1.3),
|
73 |
+
(min-device-pixel-ratio: 1.3),
|
74 |
+
(min-resolution: 1.3dppx) {
|
75 |
+
background-image: url(http://s-plugins.wordpress.org/amazon-s3-and-cloudfront/assets/banner-1544x500.jpg);
|
76 |
+
}
|
77 |
+
}
|
classes/amazon-web-services.php
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
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 |
+
|
10 |
+
function __construct( $plugin_file_path ) {
|
11 |
+
parent::__construct( $plugin_file_path );
|
12 |
+
|
13 |
+
do_action( 'aws_init', $this );
|
14 |
+
|
15 |
+
if ( is_admin() ) {
|
16 |
+
do_action( 'aws_admin_init', $this );
|
17 |
+
}
|
18 |
+
|
19 |
+
if ( is_multisite() ) {
|
20 |
+
add_action( 'network_admin_menu', array( $this, 'admin_menu' ) );
|
21 |
+
$this->plugin_permission = 'manage_network_options';
|
22 |
+
}
|
23 |
+
else {
|
24 |
+
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
|
25 |
+
$this->plugin_permission = 'manage_options';
|
26 |
+
}
|
27 |
+
|
28 |
+
$this->plugin_title = __( 'Amazon Web Services', 'amazon-web-services' );
|
29 |
+
$this->plugin_menu_title = __( 'AWS', 'amazon-web-services' );
|
30 |
+
}
|
31 |
+
|
32 |
+
function admin_menu() {
|
33 |
+
$hook_suffixes[] = add_menu_page( $this->plugin_title, $this->plugin_menu_title, $this->plugin_permission, $this->plugin_slug, array( $this, 'render_page' ) );
|
34 |
+
|
35 |
+
$title = __( 'Addons', 'amazon-web-services' );
|
36 |
+
$hook_suffixes[] = $this->add_page( $title, $title, $this->plugin_permission, 'aws-addons', array( $this, 'render_page' ) );
|
37 |
+
|
38 |
+
global $submenu;
|
39 |
+
if ( isset( $submenu[$this->plugin_slug][0][0] ) ) {
|
40 |
+
$submenu[$this->plugin_slug][0][0] = __( 'Settings', 'amazon-web-services' );
|
41 |
+
}
|
42 |
+
|
43 |
+
do_action( 'aws_admin_menu', $this );
|
44 |
+
|
45 |
+
foreach ( $hook_suffixes as $hook_suffix ) {
|
46 |
+
add_action( 'load-' . $hook_suffix , array( $this, 'plugin_load' ) );
|
47 |
+
}
|
48 |
+
|
49 |
+
add_action( 'admin_print_styles', array( $this, 'enqueue_menu_styles' ) );
|
50 |
+
}
|
51 |
+
|
52 |
+
function add_page( $page_title, $menu_title, $capability, $menu_slug, $function = '' ) {
|
53 |
+
return add_submenu_page( $this->plugin_slug, $page_title, $menu_title, $capability, $menu_slug, $function );
|
54 |
+
}
|
55 |
+
|
56 |
+
function enqueue_menu_styles() {
|
57 |
+
$src = plugins_url( 'assets/css/global.css', $this->plugin_file_path );
|
58 |
+
wp_enqueue_style( 'aws-global-styles', $src, array(), $this->get_installed_version() );
|
59 |
+
}
|
60 |
+
|
61 |
+
function plugin_load() {
|
62 |
+
$src = plugins_url( 'assets/css/styles.css', $this->plugin_file_path );
|
63 |
+
wp_enqueue_style( 'aws-styles', $src, array(), $this->get_installed_version() );
|
64 |
+
|
65 |
+
$suffix = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
66 |
+
|
67 |
+
$src = plugins_url( 'assets/js/script' . $suffix . '.js', $this->plugin_file_path );
|
68 |
+
wp_enqueue_script( 'aws-script', $src, array( 'jquery' ), $this->get_installed_version(), true );
|
69 |
+
|
70 |
+
if ( isset( $_GET['page'] ) && 'aws-addons' == $_GET['page'] ) {
|
71 |
+
add_thickbox();
|
72 |
+
}
|
73 |
+
|
74 |
+
$this->handle_post_request();
|
75 |
+
|
76 |
+
do_action( 'aws_plugin_load', $this );
|
77 |
+
}
|
78 |
+
|
79 |
+
function handle_post_request() {
|
80 |
+
if ( empty( $_POST['action'] ) || 'save' != $_POST['action'] ) {
|
81 |
+
return;
|
82 |
+
}
|
83 |
+
|
84 |
+
if ( empty( $_POST['_wpnonce'] ) || !wp_verify_nonce( $_POST['_wpnonce'], 'aws-save-settings' ) ) {
|
85 |
+
die( __( "Cheatin' eh?", 'amazon-web-services' ) );
|
86 |
+
}
|
87 |
+
|
88 |
+
// Make sure $this->settings has been loaded
|
89 |
+
$this->get_settings();
|
90 |
+
|
91 |
+
$post_vars = array( 'access_key_id', 'secret_access_key' );
|
92 |
+
foreach ( $post_vars as $var ) {
|
93 |
+
if ( !isset( $_POST[$var] ) ) {
|
94 |
+
continue;
|
95 |
+
}
|
96 |
+
|
97 |
+
if ( 'secret_access_key' == $var && '-- not shown --' == $_POST[$var] ) {
|
98 |
+
continue;
|
99 |
+
}
|
100 |
+
|
101 |
+
$this->set_setting( $var, $_POST[$var] );
|
102 |
+
}
|
103 |
+
|
104 |
+
$this->save_settings();
|
105 |
+
}
|
106 |
+
|
107 |
+
function render_page() {
|
108 |
+
if ( empty( $_GET['page'] ) ) {
|
109 |
+
// Not sure why we'd ever end up here, but just in case
|
110 |
+
wp_die( 'What the heck are we doin here?' );
|
111 |
+
}
|
112 |
+
|
113 |
+
$view = 'settings';
|
114 |
+
if ( preg_match( '@^aws-(.*)$@', $_GET['page'], $matches ) ) {
|
115 |
+
$allowed = array( 'addons' );
|
116 |
+
if ( in_array( $matches[1], $allowed ) ) {
|
117 |
+
$view = $matches[1];
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
$this->render_view( 'header' );
|
122 |
+
$this->render_view( $view );
|
123 |
+
$this->render_view( 'footer' );
|
124 |
+
}
|
125 |
+
|
126 |
+
function are_key_constants_set() {
|
127 |
+
return defined( 'AWS_ACCESS_KEY_ID' ) && defined( 'AWS_SECRET_ACCESS_KEY' );
|
128 |
+
}
|
129 |
+
|
130 |
+
function get_access_key_id() {
|
131 |
+
if ( $this->are_key_constants_set() ) {
|
132 |
+
return AWS_ACCESS_KEY_ID;
|
133 |
+
}
|
134 |
+
|
135 |
+
return $this->get_setting( 'access_key_id' );
|
136 |
+
}
|
137 |
+
|
138 |
+
function get_secret_access_key() {
|
139 |
+
if ( $this->are_key_constants_set() ) {
|
140 |
+
return AWS_SECRET_ACCESS_KEY;
|
141 |
+
}
|
142 |
+
|
143 |
+
return $this->get_setting( 'secret_access_key' );
|
144 |
+
}
|
145 |
+
|
146 |
+
function get_client() {
|
147 |
+
if ( !$this->get_access_key_id() || !$this->get_secret_access_key() ) {
|
148 |
+
return new WP_Error( 'access_keys_missing', sprintf( __( 'You must first <a href="%s">set your AWS access keys</a> to use this addon.', 'amazon-web-services' ), 'admin.php?page=' . $this->plugin_slug ) );
|
149 |
+
}
|
150 |
+
|
151 |
+
if ( is_null( $this->client ) ) {
|
152 |
+
$args = array(
|
153 |
+
'key' => $this->get_access_key_id(),
|
154 |
+
'secret' => $this->get_secret_access_key()
|
155 |
+
);
|
156 |
+
$args = apply_filters( 'aws_get_client_args', $args );
|
157 |
+
$this->client = Aws::factory( $args );
|
158 |
+
}
|
159 |
+
|
160 |
+
return $this->client;
|
161 |
+
}
|
162 |
+
|
163 |
+
/*
|
164 |
+
function get_tabs() {
|
165 |
+
$tabs = array( 'addons' => 'Addons', 'settings' => 'Settings', 'about' => 'About' );
|
166 |
+
return apply_filters( 'aws_get_tabs', $tabs, $this );
|
167 |
+
}
|
168 |
+
|
169 |
+
function get_active_tab() {
|
170 |
+
if ( isset( $_GET['tab'] ) ) {
|
171 |
+
$tab = $_GET['tab'];
|
172 |
+
$tabs = $this->get_tabs();
|
173 |
+
if ( isset( $tabs[$tab] ) ) {
|
174 |
+
return $tab;
|
175 |
+
}
|
176 |
+
}
|
177 |
+
|
178 |
+
if ( !$this->get_access_key_id() ) {
|
179 |
+
return 'settings';
|
180 |
+
}
|
181 |
+
|
182 |
+
return 'addons'; // Default
|
183 |
+
}
|
184 |
+
*/
|
185 |
+
|
186 |
+
function get_plugin_install_url( $slug ) {
|
187 |
+
return wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), 'install-plugin_' . $slug );
|
188 |
+
}
|
189 |
+
}
|
classes/aws-plugin-base.php
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class AWS_Plugin_Base {
|
3 |
+
|
4 |
+
protected $plugin_file_path, $plugin_dir_path, $plugin_slug, $plugin_basename;
|
5 |
+
private $settings;
|
6 |
+
|
7 |
+
function __construct( $plugin_file_path ) {
|
8 |
+
$this->plugin_file_path = $plugin_file_path;
|
9 |
+
$this->plugin_dir_path = rtrim( plugin_dir_path( $plugin_file_path ), '/' );
|
10 |
+
$this->plugin_slug = basename( $this->plugin_dir_path );
|
11 |
+
$this->plugin_basename = plugin_basename( $plugin_file_path );
|
12 |
+
}
|
13 |
+
|
14 |
+
function get_settings( $force = false ) {
|
15 |
+
if ( is_null( $this->settings ) || $force ) {
|
16 |
+
$this->settings = get_site_option( static::SETTINGS_KEY );
|
17 |
+
}
|
18 |
+
return $this->settings;
|
19 |
+
}
|
20 |
+
|
21 |
+
function get_setting( $key ) {
|
22 |
+
$this->get_settings();
|
23 |
+
|
24 |
+
if ( isset( $this->settings[$key] ) ) {
|
25 |
+
return $this->settings[$key];
|
26 |
+
}
|
27 |
+
|
28 |
+
return '';
|
29 |
+
}
|
30 |
+
|
31 |
+
function render_view( $view, $args = array() ) {
|
32 |
+
extract( $args );
|
33 |
+
include $this->plugin_dir_path . '/view/' . $view . '.php';
|
34 |
+
}
|
35 |
+
|
36 |
+
function set_setting( $key, $value ) {
|
37 |
+
$this->settings[$key] = $value;
|
38 |
+
}
|
39 |
+
|
40 |
+
function set_settings( $settings ) {
|
41 |
+
$this->settings = $settings;
|
42 |
+
}
|
43 |
+
|
44 |
+
function save_settings() {
|
45 |
+
update_site_option( static::SETTINGS_KEY, $this->settings );
|
46 |
+
}
|
47 |
+
|
48 |
+
function get_installed_version() {
|
49 |
+
if ( !is_admin() ) return false; // get_themes & get_plugins throw an error on the frontend
|
50 |
+
|
51 |
+
$plugins = get_plugins();
|
52 |
+
|
53 |
+
if ( !isset( $plugins[$this->plugin_basename]['Version'] ) ) {
|
54 |
+
return false;
|
55 |
+
}
|
56 |
+
|
57 |
+
return $plugins[$this->plugin_basename]['Version'];
|
58 |
+
}
|
59 |
+
}
|
readme.txt
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Amazon Web Services ===
|
2 |
+
Contributors: bradt
|
3 |
+
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5VPMGLLK94XJC
|
4 |
+
Tags: amazon, amazon web services
|
5 |
+
Requires at least: 3.5
|
6 |
+
Tested up to: 3.6.1
|
7 |
+
Stable tag: 0.1
|
8 |
+
License: GPLv3
|
9 |
+
|
10 |
+
Houses the Amazon Web Services (AWS) PHP libraries and manages access keys. Required by other AWS plugins.
|
11 |
+
|
12 |
+
== Description ==
|
13 |
+
|
14 |
+
This plugin is required by other plugins, which uses its libraries and its settings to connect to AWS services. Currently, there is only one plugin that requires this plugin:
|
15 |
+
|
16 |
+
* [Amazon S3 and CloudFront](http://wordpress.org/plugins/amazon-s3-and-cloudfront/)
|
17 |
+
|
18 |
+
== Installation ==
|
19 |
+
|
20 |
+
1. Use WordPress' built-in installer
|
21 |
+
2. A new AWS menu will appear in the side menu
|
22 |
+
|
23 |
+
== Screenshots ==
|
24 |
+
|
25 |
+
1. Settings screen
|
26 |
+
|
27 |
+
== Changelog ==
|
28 |
+
|
29 |
+
= 0.1 - 2013-09-20 =
|
30 |
+
* First release
|
vendor/aws/Aws/AutoScaling/AutoScalingClient.php
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling;
|
18 |
+
|
19 |
+
use Aws\Common\Client\AbstractClient;
|
20 |
+
use Aws\Common\Client\ClientBuilder;
|
21 |
+
use Aws\Common\Enum\ClientOptions as Options;
|
22 |
+
use Guzzle\Common\Collection;
|
23 |
+
use Guzzle\Service\Resource\Model;
|
24 |
+
use Guzzle\Service\Resource\ResourceIteratorInterface;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Client to interact with Auto Scaling
|
28 |
+
*
|
29 |
+
* @method Model createAutoScalingGroup(array $args = array()) {@command AutoScaling CreateAutoScalingGroup}
|
30 |
+
* @method Model createLaunchConfiguration(array $args = array()) {@command AutoScaling CreateLaunchConfiguration}
|
31 |
+
* @method Model createOrUpdateTags(array $args = array()) {@command AutoScaling CreateOrUpdateTags}
|
32 |
+
* @method Model deleteAutoScalingGroup(array $args = array()) {@command AutoScaling DeleteAutoScalingGroup}
|
33 |
+
* @method Model deleteLaunchConfiguration(array $args = array()) {@command AutoScaling DeleteLaunchConfiguration}
|
34 |
+
* @method Model deleteNotificationConfiguration(array $args = array()) {@command AutoScaling DeleteNotificationConfiguration}
|
35 |
+
* @method Model deletePolicy(array $args = array()) {@command AutoScaling DeletePolicy}
|
36 |
+
* @method Model deleteScheduledAction(array $args = array()) {@command AutoScaling DeleteScheduledAction}
|
37 |
+
* @method Model deleteTags(array $args = array()) {@command AutoScaling DeleteTags}
|
38 |
+
* @method Model describeAdjustmentTypes(array $args = array()) {@command AutoScaling DescribeAdjustmentTypes}
|
39 |
+
* @method Model describeAutoScalingGroups(array $args = array()) {@command AutoScaling DescribeAutoScalingGroups}
|
40 |
+
* @method Model describeAutoScalingInstances(array $args = array()) {@command AutoScaling DescribeAutoScalingInstances}
|
41 |
+
* @method Model describeAutoScalingNotificationTypes(array $args = array()) {@command AutoScaling DescribeAutoScalingNotificationTypes}
|
42 |
+
* @method Model describeLaunchConfigurations(array $args = array()) {@command AutoScaling DescribeLaunchConfigurations}
|
43 |
+
* @method Model describeMetricCollectionTypes(array $args = array()) {@command AutoScaling DescribeMetricCollectionTypes}
|
44 |
+
* @method Model describeNotificationConfigurations(array $args = array()) {@command AutoScaling DescribeNotificationConfigurations}
|
45 |
+
* @method Model describePolicies(array $args = array()) {@command AutoScaling DescribePolicies}
|
46 |
+
* @method Model describeScalingActivities(array $args = array()) {@command AutoScaling DescribeScalingActivities}
|
47 |
+
* @method Model describeScalingProcessTypes(array $args = array()) {@command AutoScaling DescribeScalingProcessTypes}
|
48 |
+
* @method Model describeScheduledActions(array $args = array()) {@command AutoScaling DescribeScheduledActions}
|
49 |
+
* @method Model describeTags(array $args = array()) {@command AutoScaling DescribeTags}
|
50 |
+
* @method Model describeTerminationPolicyTypes(array $args = array()) {@command AutoScaling DescribeTerminationPolicyTypes}
|
51 |
+
* @method Model disableMetricsCollection(array $args = array()) {@command AutoScaling DisableMetricsCollection}
|
52 |
+
* @method Model enableMetricsCollection(array $args = array()) {@command AutoScaling EnableMetricsCollection}
|
53 |
+
* @method Model executePolicy(array $args = array()) {@command AutoScaling ExecutePolicy}
|
54 |
+
* @method Model putNotificationConfiguration(array $args = array()) {@command AutoScaling PutNotificationConfiguration}
|
55 |
+
* @method Model putScalingPolicy(array $args = array()) {@command AutoScaling PutScalingPolicy}
|
56 |
+
* @method Model putScheduledUpdateGroupAction(array $args = array()) {@command AutoScaling PutScheduledUpdateGroupAction}
|
57 |
+
* @method Model resumeProcesses(array $args = array()) {@command AutoScaling ResumeProcesses}
|
58 |
+
* @method Model setDesiredCapacity(array $args = array()) {@command AutoScaling SetDesiredCapacity}
|
59 |
+
* @method Model setInstanceHealth(array $args = array()) {@command AutoScaling SetInstanceHealth}
|
60 |
+
* @method Model suspendProcesses(array $args = array()) {@command AutoScaling SuspendProcesses}
|
61 |
+
* @method Model terminateInstanceInAutoScalingGroup(array $args = array()) {@command AutoScaling TerminateInstanceInAutoScalingGroup}
|
62 |
+
* @method Model updateAutoScalingGroup(array $args = array()) {@command AutoScaling UpdateAutoScalingGroup}
|
63 |
+
* @method ResourceIteratorInterface getDescribeAutoScalingGroupsIterator(array $args = array()) The input array uses the parameters of the DescribeAutoScalingGroups operation
|
64 |
+
* @method ResourceIteratorInterface getDescribeAutoScalingInstancesIterator(array $args = array()) The input array uses the parameters of the DescribeAutoScalingInstances operation
|
65 |
+
* @method ResourceIteratorInterface getDescribeLaunchConfigurationsIterator(array $args = array()) The input array uses the parameters of the DescribeLaunchConfigurations operation
|
66 |
+
* @method ResourceIteratorInterface getDescribeNotificationConfigurationsIterator(array $args = array()) The input array uses the parameters of the DescribeNotificationConfigurations operation
|
67 |
+
* @method ResourceIteratorInterface getDescribePoliciesIterator(array $args = array()) The input array uses the parameters of the DescribePolicies operation
|
68 |
+
* @method ResourceIteratorInterface getDescribeScalingActivitiesIterator(array $args = array()) The input array uses the parameters of the DescribeScalingActivities operation
|
69 |
+
* @method ResourceIteratorInterface getDescribeScheduledActionsIterator(array $args = array()) The input array uses the parameters of the DescribeScheduledActions operation
|
70 |
+
* @method ResourceIteratorInterface getDescribeTagsIterator(array $args = array()) The input array uses the parameters of the DescribeTags operation
|
71 |
+
*
|
72 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-autoscaling.html User guide
|
73 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.AutoScaling.AutoScalingClient.html API docs
|
74 |
+
*/
|
75 |
+
class AutoScalingClient extends AbstractClient
|
76 |
+
{
|
77 |
+
const LATEST_API_VERSION = '2011-01-01';
|
78 |
+
|
79 |
+
/**
|
80 |
+
* Factory method to create a new Auto Scaling client using an array of configuration options.
|
81 |
+
*
|
82 |
+
* @param array|Collection $config Client configuration data
|
83 |
+
*
|
84 |
+
* @return self
|
85 |
+
* @see \Aws\Common\Client\DefaultClient for a list of available configuration options
|
86 |
+
*/
|
87 |
+
public static function factory($config = array())
|
88 |
+
{
|
89 |
+
return ClientBuilder::factory(__NAMESPACE__)
|
90 |
+
->setConfig($config)
|
91 |
+
->setConfigDefaults(array(
|
92 |
+
Options::VERSION => self::LATEST_API_VERSION,
|
93 |
+
Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/autoscaling-%s.php'
|
94 |
+
))
|
95 |
+
->build();
|
96 |
+
}
|
97 |
+
}
|
vendor/aws/Aws/AutoScaling/Enum/LifecycleState.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable LifecycleState values
|
23 |
+
*/
|
24 |
+
class LifecycleState extends Enum
|
25 |
+
{
|
26 |
+
const PENDING = 'Pending';
|
27 |
+
const QUARANTINED = 'Quarantined';
|
28 |
+
const IN_SERVICE = 'InService';
|
29 |
+
const TERMINATING = 'Terminating';
|
30 |
+
const TERMINATED = 'Terminated';
|
31 |
+
}
|
vendor/aws/Aws/AutoScaling/Enum/ScalingActivityStatusCode.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable ScalingActivityStatusCode values
|
23 |
+
*/
|
24 |
+
class ScalingActivityStatusCode extends Enum
|
25 |
+
{
|
26 |
+
const WAITING_FOR_SPOT_INSTANCE_REQUEST_ID = 'WaitingForSpotInstanceRequestId';
|
27 |
+
const WAITING_FOR_SPOT_INSTANCE_ID = 'WaitingForSpotInstanceId';
|
28 |
+
const WAITING_FOR_INSTANCE_ID = 'WaitingForInstanceId';
|
29 |
+
const PRE_IN_SERVICE = 'PreInService';
|
30 |
+
const IN_PROGRESS = 'InProgress';
|
31 |
+
const SUCCESSFUL = 'Successful';
|
32 |
+
const FAILED = 'Failed';
|
33 |
+
const CANCELLED = 'Cancelled';
|
34 |
+
}
|
vendor/aws/Aws/AutoScaling/Exception/AlreadyExistsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The named Auto Scaling group or launch configuration already exists.
|
21 |
+
*/
|
22 |
+
class AlreadyExistsException extends AutoScalingException {}
|
vendor/aws/Aws/AutoScaling/Exception/AutoScalingException.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Exception;
|
18 |
+
|
19 |
+
use Aws\Common\Exception\ServiceResponseException;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Default service exception class
|
23 |
+
*/
|
24 |
+
class AutoScalingException extends ServiceResponseException {}
|
vendor/aws/Aws/AutoScaling/Exception/InvalidNextTokenException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The NextToken value is invalid.
|
21 |
+
*/
|
22 |
+
class InvalidNextTokenException extends AutoScalingException {}
|
vendor/aws/Aws/AutoScaling/Exception/LimitExceededException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The quota for capacity groups or launch configurations for this customer has already been reached.
|
21 |
+
*/
|
22 |
+
class LimitExceededException extends AutoScalingException {}
|
vendor/aws/Aws/AutoScaling/Exception/ResourceInUseException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.
|
21 |
+
*/
|
22 |
+
class ResourceInUseException extends AutoScalingException {}
|
vendor/aws/Aws/AutoScaling/Exception/ScalingActivityInProgressException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\AutoScaling\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.
|
21 |
+
*/
|
22 |
+
class ScalingActivityInProgressException extends AutoScalingException {}
|
vendor/aws/Aws/AutoScaling/Resources/autoscaling-2011-01-01.php
ADDED
@@ -0,0 +1,2516 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
return array (
|
18 |
+
'apiVersion' => '2011-01-01',
|
19 |
+
'endpointPrefix' => 'autoscaling',
|
20 |
+
'serviceFullName' => 'Auto Scaling',
|
21 |
+
'serviceType' => 'query',
|
22 |
+
'resultWrapped' => true,
|
23 |
+
'signatureVersion' => 'v4',
|
24 |
+
'namespace' => 'AutoScaling',
|
25 |
+
'regions' => array(
|
26 |
+
'us-east-1' => array(
|
27 |
+
'http' => true,
|
28 |
+
'https' => true,
|
29 |
+
'hostname' => 'autoscaling.us-east-1.amazonaws.com',
|
30 |
+
),
|
31 |
+
'us-west-1' => array(
|
32 |
+
'http' => true,
|
33 |
+
'https' => true,
|
34 |
+
'hostname' => 'autoscaling.us-west-1.amazonaws.com',
|
35 |
+
),
|
36 |
+
'us-west-2' => array(
|
37 |
+
'http' => true,
|
38 |
+
'https' => true,
|
39 |
+
'hostname' => 'autoscaling.us-west-2.amazonaws.com',
|
40 |
+
),
|
41 |
+
'eu-west-1' => array(
|
42 |
+
'http' => true,
|
43 |
+
'https' => true,
|
44 |
+
'hostname' => 'autoscaling.eu-west-1.amazonaws.com',
|
45 |
+
),
|
46 |
+
'ap-northeast-1' => array(
|
47 |
+
'http' => true,
|
48 |
+
'https' => true,
|
49 |
+
'hostname' => 'autoscaling.ap-northeast-1.amazonaws.com',
|
50 |
+
),
|
51 |
+
'ap-southeast-1' => array(
|
52 |
+
'http' => true,
|
53 |
+
'https' => true,
|
54 |
+
'hostname' => 'autoscaling.ap-southeast-1.amazonaws.com',
|
55 |
+
),
|
56 |
+
'ap-southeast-2' => array(
|
57 |
+
'http' => true,
|
58 |
+
'https' => true,
|
59 |
+
'hostname' => 'autoscaling.ap-southeast-2.amazonaws.com',
|
60 |
+
),
|
61 |
+
'sa-east-1' => array(
|
62 |
+
'http' => true,
|
63 |
+
'https' => true,
|
64 |
+
'hostname' => 'autoscaling.sa-east-1.amazonaws.com',
|
65 |
+
),
|
66 |
+
'us-gov-west-1' => array(
|
67 |
+
'http' => true,
|
68 |
+
'https' => true,
|
69 |
+
'hostname' => 'autoscaling.us-gov-west-1.amazonaws.com',
|
70 |
+
),
|
71 |
+
),
|
72 |
+
'operations' => array(
|
73 |
+
'CreateAutoScalingGroup' => array(
|
74 |
+
'httpMethod' => 'POST',
|
75 |
+
'uri' => '/',
|
76 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
77 |
+
'responseClass' => 'EmptyOutput',
|
78 |
+
'responseType' => 'model',
|
79 |
+
'parameters' => array(
|
80 |
+
'Action' => array(
|
81 |
+
'static' => true,
|
82 |
+
'location' => 'aws.query',
|
83 |
+
'default' => 'CreateAutoScalingGroup',
|
84 |
+
),
|
85 |
+
'Version' => array(
|
86 |
+
'static' => true,
|
87 |
+
'location' => 'aws.query',
|
88 |
+
'default' => '2011-01-01',
|
89 |
+
),
|
90 |
+
'AutoScalingGroupName' => array(
|
91 |
+
'required' => true,
|
92 |
+
'type' => 'string',
|
93 |
+
'location' => 'aws.query',
|
94 |
+
'minLength' => 1,
|
95 |
+
'maxLength' => 255,
|
96 |
+
),
|
97 |
+
'LaunchConfigurationName' => array(
|
98 |
+
'required' => true,
|
99 |
+
'type' => 'string',
|
100 |
+
'location' => 'aws.query',
|
101 |
+
'minLength' => 1,
|
102 |
+
'maxLength' => 1600,
|
103 |
+
),
|
104 |
+
'MinSize' => array(
|
105 |
+
'required' => true,
|
106 |
+
'type' => 'numeric',
|
107 |
+
'location' => 'aws.query',
|
108 |
+
),
|
109 |
+
'MaxSize' => array(
|
110 |
+
'required' => true,
|
111 |
+
'type' => 'numeric',
|
112 |
+
'location' => 'aws.query',
|
113 |
+
),
|
114 |
+
'DesiredCapacity' => array(
|
115 |
+
'type' => 'numeric',
|
116 |
+
'location' => 'aws.query',
|
117 |
+
),
|
118 |
+
'DefaultCooldown' => array(
|
119 |
+
'type' => 'numeric',
|
120 |
+
'location' => 'aws.query',
|
121 |
+
),
|
122 |
+
'AvailabilityZones' => array(
|
123 |
+
'type' => 'array',
|
124 |
+
'location' => 'aws.query',
|
125 |
+
'sentAs' => 'AvailabilityZones.member',
|
126 |
+
'minItems' => 1,
|
127 |
+
'items' => array(
|
128 |
+
'name' => 'XmlStringMaxLen255',
|
129 |
+
'type' => 'string',
|
130 |
+
'minLength' => 1,
|
131 |
+
'maxLength' => 255,
|
132 |
+
),
|
133 |
+
),
|
134 |
+
'LoadBalancerNames' => array(
|
135 |
+
'type' => 'array',
|
136 |
+
'location' => 'aws.query',
|
137 |
+
'sentAs' => 'LoadBalancerNames.member',
|
138 |
+
'items' => array(
|
139 |
+
'name' => 'XmlStringMaxLen255',
|
140 |
+
'type' => 'string',
|
141 |
+
'minLength' => 1,
|
142 |
+
'maxLength' => 255,
|
143 |
+
),
|
144 |
+
),
|
145 |
+
'HealthCheckType' => array(
|
146 |
+
'type' => 'string',
|
147 |
+
'location' => 'aws.query',
|
148 |
+
'minLength' => 1,
|
149 |
+
'maxLength' => 32,
|
150 |
+
),
|
151 |
+
'HealthCheckGracePeriod' => array(
|
152 |
+
'type' => 'numeric',
|
153 |
+
'location' => 'aws.query',
|
154 |
+
),
|
155 |
+
'PlacementGroup' => array(
|
156 |
+
'type' => 'string',
|
157 |
+
'location' => 'aws.query',
|
158 |
+
'minLength' => 1,
|
159 |
+
'maxLength' => 255,
|
160 |
+
),
|
161 |
+
'VPCZoneIdentifier' => array(
|
162 |
+
'type' => 'string',
|
163 |
+
'location' => 'aws.query',
|
164 |
+
'minLength' => 1,
|
165 |
+
'maxLength' => 255,
|
166 |
+
),
|
167 |
+
'TerminationPolicies' => array(
|
168 |
+
'type' => 'array',
|
169 |
+
'location' => 'aws.query',
|
170 |
+
'sentAs' => 'TerminationPolicies.member',
|
171 |
+
'items' => array(
|
172 |
+
'name' => 'XmlStringMaxLen1600',
|
173 |
+
'type' => 'string',
|
174 |
+
'minLength' => 1,
|
175 |
+
'maxLength' => 1600,
|
176 |
+
),
|
177 |
+
),
|
178 |
+
'Tags' => array(
|
179 |
+
'type' => 'array',
|
180 |
+
'location' => 'aws.query',
|
181 |
+
'sentAs' => 'Tags.member',
|
182 |
+
'items' => array(
|
183 |
+
'name' => 'Tag',
|
184 |
+
'type' => 'object',
|
185 |
+
'properties' => array(
|
186 |
+
'ResourceId' => array(
|
187 |
+
'type' => 'string',
|
188 |
+
),
|
189 |
+
'ResourceType' => array(
|
190 |
+
'type' => 'string',
|
191 |
+
),
|
192 |
+
'Key' => array(
|
193 |
+
'required' => true,
|
194 |
+
'type' => 'string',
|
195 |
+
'minLength' => 1,
|
196 |
+
'maxLength' => 128,
|
197 |
+
),
|
198 |
+
'Value' => array(
|
199 |
+
'type' => 'string',
|
200 |
+
'maxLength' => 256,
|
201 |
+
),
|
202 |
+
'PropagateAtLaunch' => array(
|
203 |
+
'type' => 'boolean',
|
204 |
+
'format' => 'boolean-string',
|
205 |
+
),
|
206 |
+
),
|
207 |
+
),
|
208 |
+
),
|
209 |
+
),
|
210 |
+
'errorResponses' => array(
|
211 |
+
array(
|
212 |
+
'reason' => 'The named Auto Scaling group or launch configuration already exists.',
|
213 |
+
'class' => 'AlreadyExistsException',
|
214 |
+
),
|
215 |
+
array(
|
216 |
+
'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
|
217 |
+
'class' => 'LimitExceededException',
|
218 |
+
),
|
219 |
+
),
|
220 |
+
),
|
221 |
+
'CreateLaunchConfiguration' => array(
|
222 |
+
'httpMethod' => 'POST',
|
223 |
+
'uri' => '/',
|
224 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
225 |
+
'responseClass' => 'EmptyOutput',
|
226 |
+
'responseType' => 'model',
|
227 |
+
'parameters' => array(
|
228 |
+
'Action' => array(
|
229 |
+
'static' => true,
|
230 |
+
'location' => 'aws.query',
|
231 |
+
'default' => 'CreateLaunchConfiguration',
|
232 |
+
),
|
233 |
+
'Version' => array(
|
234 |
+
'static' => true,
|
235 |
+
'location' => 'aws.query',
|
236 |
+
'default' => '2011-01-01',
|
237 |
+
),
|
238 |
+
'LaunchConfigurationName' => array(
|
239 |
+
'required' => true,
|
240 |
+
'type' => 'string',
|
241 |
+
'location' => 'aws.query',
|
242 |
+
'minLength' => 1,
|
243 |
+
'maxLength' => 255,
|
244 |
+
),
|
245 |
+
'ImageId' => array(
|
246 |
+
'required' => true,
|
247 |
+
'type' => 'string',
|
248 |
+
'location' => 'aws.query',
|
249 |
+
'minLength' => 1,
|
250 |
+
'maxLength' => 255,
|
251 |
+
),
|
252 |
+
'KeyName' => array(
|
253 |
+
'type' => 'string',
|
254 |
+
'location' => 'aws.query',
|
255 |
+
'minLength' => 1,
|
256 |
+
'maxLength' => 255,
|
257 |
+
),
|
258 |
+
'SecurityGroups' => array(
|
259 |
+
'type' => 'array',
|
260 |
+
'location' => 'aws.query',
|
261 |
+
'sentAs' => 'SecurityGroups.member',
|
262 |
+
'items' => array(
|
263 |
+
'name' => 'XmlString',
|
264 |
+
'type' => 'string',
|
265 |
+
),
|
266 |
+
),
|
267 |
+
'UserData' => array(
|
268 |
+
'type' => 'string',
|
269 |
+
'location' => 'aws.query',
|
270 |
+
'maxLength' => 21847,
|
271 |
+
),
|
272 |
+
'InstanceType' => array(
|
273 |
+
'required' => true,
|
274 |
+
'type' => 'string',
|
275 |
+
'location' => 'aws.query',
|
276 |
+
'minLength' => 1,
|
277 |
+
'maxLength' => 255,
|
278 |
+
),
|
279 |
+
'KernelId' => array(
|
280 |
+
'type' => 'string',
|
281 |
+
'location' => 'aws.query',
|
282 |
+
'minLength' => 1,
|
283 |
+
'maxLength' => 255,
|
284 |
+
),
|
285 |
+
'RamdiskId' => array(
|
286 |
+
'type' => 'string',
|
287 |
+
'location' => 'aws.query',
|
288 |
+
'minLength' => 1,
|
289 |
+
'maxLength' => 255,
|
290 |
+
),
|
291 |
+
'BlockDeviceMappings' => array(
|
292 |
+
'type' => 'array',
|
293 |
+
'location' => 'aws.query',
|
294 |
+
'sentAs' => 'BlockDeviceMappings.member',
|
295 |
+
'items' => array(
|
296 |
+
'name' => 'BlockDeviceMapping',
|
297 |
+
'type' => 'object',
|
298 |
+
'properties' => array(
|
299 |
+
'VirtualName' => array(
|
300 |
+
'type' => 'string',
|
301 |
+
'minLength' => 1,
|
302 |
+
'maxLength' => 255,
|
303 |
+
),
|
304 |
+
'DeviceName' => array(
|
305 |
+
'required' => true,
|
306 |
+
'type' => 'string',
|
307 |
+
'minLength' => 1,
|
308 |
+
'maxLength' => 255,
|
309 |
+
),
|
310 |
+
'Ebs' => array(
|
311 |
+
'type' => 'object',
|
312 |
+
'properties' => array(
|
313 |
+
'SnapshotId' => array(
|
314 |
+
'type' => 'string',
|
315 |
+
'minLength' => 1,
|
316 |
+
'maxLength' => 255,
|
317 |
+
),
|
318 |
+
'VolumeSize' => array(
|
319 |
+
'type' => 'numeric',
|
320 |
+
'minimum' => 1,
|
321 |
+
'maximum' => 1024,
|
322 |
+
),
|
323 |
+
),
|
324 |
+
),
|
325 |
+
),
|
326 |
+
),
|
327 |
+
),
|
328 |
+
'InstanceMonitoring' => array(
|
329 |
+
'type' => 'object',
|
330 |
+
'location' => 'aws.query',
|
331 |
+
'properties' => array(
|
332 |
+
'Enabled' => array(
|
333 |
+
'type' => 'boolean',
|
334 |
+
'format' => 'boolean-string',
|
335 |
+
),
|
336 |
+
),
|
337 |
+
),
|
338 |
+
'SpotPrice' => array(
|
339 |
+
'type' => 'string',
|
340 |
+
'location' => 'aws.query',
|
341 |
+
'minLength' => 1,
|
342 |
+
'maxLength' => 255,
|
343 |
+
),
|
344 |
+
'IamInstanceProfile' => array(
|
345 |
+
'type' => 'string',
|
346 |
+
'location' => 'aws.query',
|
347 |
+
'minLength' => 1,
|
348 |
+
'maxLength' => 1600,
|
349 |
+
),
|
350 |
+
'EbsOptimized' => array(
|
351 |
+
'type' => 'boolean',
|
352 |
+
'format' => 'boolean-string',
|
353 |
+
'location' => 'aws.query',
|
354 |
+
),
|
355 |
+
),
|
356 |
+
'errorResponses' => array(
|
357 |
+
array(
|
358 |
+
'reason' => 'The named Auto Scaling group or launch configuration already exists.',
|
359 |
+
'class' => 'AlreadyExistsException',
|
360 |
+
),
|
361 |
+
array(
|
362 |
+
'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
|
363 |
+
'class' => 'LimitExceededException',
|
364 |
+
),
|
365 |
+
),
|
366 |
+
),
|
367 |
+
'CreateOrUpdateTags' => array(
|
368 |
+
'httpMethod' => 'POST',
|
369 |
+
'uri' => '/',
|
370 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
371 |
+
'responseClass' => 'EmptyOutput',
|
372 |
+
'responseType' => 'model',
|
373 |
+
'parameters' => array(
|
374 |
+
'Action' => array(
|
375 |
+
'static' => true,
|
376 |
+
'location' => 'aws.query',
|
377 |
+
'default' => 'CreateOrUpdateTags',
|
378 |
+
),
|
379 |
+
'Version' => array(
|
380 |
+
'static' => true,
|
381 |
+
'location' => 'aws.query',
|
382 |
+
'default' => '2011-01-01',
|
383 |
+
),
|
384 |
+
'Tags' => array(
|
385 |
+
'required' => true,
|
386 |
+
'type' => 'array',
|
387 |
+
'location' => 'aws.query',
|
388 |
+
'sentAs' => 'Tags.member',
|
389 |
+
'items' => array(
|
390 |
+
'name' => 'Tag',
|
391 |
+
'type' => 'object',
|
392 |
+
'properties' => array(
|
393 |
+
'ResourceId' => array(
|
394 |
+
'type' => 'string',
|
395 |
+
),
|
396 |
+
'ResourceType' => array(
|
397 |
+
'type' => 'string',
|
398 |
+
),
|
399 |
+
'Key' => array(
|
400 |
+
'required' => true,
|
401 |
+
'type' => 'string',
|
402 |
+
'minLength' => 1,
|
403 |
+
'maxLength' => 128,
|
404 |
+
),
|
405 |
+
'Value' => array(
|
406 |
+
'type' => 'string',
|
407 |
+
'maxLength' => 256,
|
408 |
+
),
|
409 |
+
'PropagateAtLaunch' => array(
|
410 |
+
'type' => 'boolean',
|
411 |
+
'format' => 'boolean-string',
|
412 |
+
),
|
413 |
+
),
|
414 |
+
),
|
415 |
+
),
|
416 |
+
),
|
417 |
+
'errorResponses' => array(
|
418 |
+
array(
|
419 |
+
'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
|
420 |
+
'class' => 'LimitExceededException',
|
421 |
+
),
|
422 |
+
array(
|
423 |
+
'reason' => 'The named Auto Scaling group or launch configuration already exists.',
|
424 |
+
'class' => 'AlreadyExistsException',
|
425 |
+
),
|
426 |
+
),
|
427 |
+
),
|
428 |
+
'DeleteAutoScalingGroup' => array(
|
429 |
+
'httpMethod' => 'POST',
|
430 |
+
'uri' => '/',
|
431 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
432 |
+
'responseClass' => 'EmptyOutput',
|
433 |
+
'responseType' => 'model',
|
434 |
+
'parameters' => array(
|
435 |
+
'Action' => array(
|
436 |
+
'static' => true,
|
437 |
+
'location' => 'aws.query',
|
438 |
+
'default' => 'DeleteAutoScalingGroup',
|
439 |
+
),
|
440 |
+
'Version' => array(
|
441 |
+
'static' => true,
|
442 |
+
'location' => 'aws.query',
|
443 |
+
'default' => '2011-01-01',
|
444 |
+
),
|
445 |
+
'AutoScalingGroupName' => array(
|
446 |
+
'required' => true,
|
447 |
+
'type' => 'string',
|
448 |
+
'location' => 'aws.query',
|
449 |
+
'minLength' => 1,
|
450 |
+
'maxLength' => 1600,
|
451 |
+
),
|
452 |
+
'ForceDelete' => array(
|
453 |
+
'type' => 'boolean',
|
454 |
+
'format' => 'boolean-string',
|
455 |
+
'location' => 'aws.query',
|
456 |
+
),
|
457 |
+
),
|
458 |
+
'errorResponses' => array(
|
459 |
+
array(
|
460 |
+
'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
|
461 |
+
'class' => 'ScalingActivityInProgressException',
|
462 |
+
),
|
463 |
+
array(
|
464 |
+
'reason' => 'This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.',
|
465 |
+
'class' => 'ResourceInUseException',
|
466 |
+
),
|
467 |
+
),
|
468 |
+
),
|
469 |
+
'DeleteLaunchConfiguration' => array(
|
470 |
+
'httpMethod' => 'POST',
|
471 |
+
'uri' => '/',
|
472 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
473 |
+
'responseClass' => 'EmptyOutput',
|
474 |
+
'responseType' => 'model',
|
475 |
+
'parameters' => array(
|
476 |
+
'Action' => array(
|
477 |
+
'static' => true,
|
478 |
+
'location' => 'aws.query',
|
479 |
+
'default' => 'DeleteLaunchConfiguration',
|
480 |
+
),
|
481 |
+
'Version' => array(
|
482 |
+
'static' => true,
|
483 |
+
'location' => 'aws.query',
|
484 |
+
'default' => '2011-01-01',
|
485 |
+
),
|
486 |
+
'LaunchConfigurationName' => array(
|
487 |
+
'required' => true,
|
488 |
+
'type' => 'string',
|
489 |
+
'location' => 'aws.query',
|
490 |
+
'minLength' => 1,
|
491 |
+
'maxLength' => 1600,
|
492 |
+
),
|
493 |
+
),
|
494 |
+
'errorResponses' => array(
|
495 |
+
array(
|
496 |
+
'reason' => 'This is returned when you cannot delete a launch configuration or Auto Scaling group because it is being used.',
|
497 |
+
'class' => 'ResourceInUseException',
|
498 |
+
),
|
499 |
+
),
|
500 |
+
),
|
501 |
+
'DeleteNotificationConfiguration' => array(
|
502 |
+
'httpMethod' => 'POST',
|
503 |
+
'uri' => '/',
|
504 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
505 |
+
'responseClass' => 'EmptyOutput',
|
506 |
+
'responseType' => 'model',
|
507 |
+
'parameters' => array(
|
508 |
+
'Action' => array(
|
509 |
+
'static' => true,
|
510 |
+
'location' => 'aws.query',
|
511 |
+
'default' => 'DeleteNotificationConfiguration',
|
512 |
+
),
|
513 |
+
'Version' => array(
|
514 |
+
'static' => true,
|
515 |
+
'location' => 'aws.query',
|
516 |
+
'default' => '2011-01-01',
|
517 |
+
),
|
518 |
+
'AutoScalingGroupName' => array(
|
519 |
+
'required' => true,
|
520 |
+
'type' => 'string',
|
521 |
+
'location' => 'aws.query',
|
522 |
+
'minLength' => 1,
|
523 |
+
'maxLength' => 1600,
|
524 |
+
),
|
525 |
+
'TopicARN' => array(
|
526 |
+
'required' => true,
|
527 |
+
'type' => 'string',
|
528 |
+
'location' => 'aws.query',
|
529 |
+
'minLength' => 1,
|
530 |
+
'maxLength' => 1600,
|
531 |
+
),
|
532 |
+
),
|
533 |
+
),
|
534 |
+
'DeletePolicy' => array(
|
535 |
+
'httpMethod' => 'POST',
|
536 |
+
'uri' => '/',
|
537 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
538 |
+
'responseClass' => 'EmptyOutput',
|
539 |
+
'responseType' => 'model',
|
540 |
+
'parameters' => array(
|
541 |
+
'Action' => array(
|
542 |
+
'static' => true,
|
543 |
+
'location' => 'aws.query',
|
544 |
+
'default' => 'DeletePolicy',
|
545 |
+
),
|
546 |
+
'Version' => array(
|
547 |
+
'static' => true,
|
548 |
+
'location' => 'aws.query',
|
549 |
+
'default' => '2011-01-01',
|
550 |
+
),
|
551 |
+
'AutoScalingGroupName' => array(
|
552 |
+
'type' => 'string',
|
553 |
+
'location' => 'aws.query',
|
554 |
+
'minLength' => 1,
|
555 |
+
'maxLength' => 1600,
|
556 |
+
),
|
557 |
+
'PolicyName' => array(
|
558 |
+
'required' => true,
|
559 |
+
'type' => 'string',
|
560 |
+
'location' => 'aws.query',
|
561 |
+
'minLength' => 1,
|
562 |
+
'maxLength' => 1600,
|
563 |
+
),
|
564 |
+
),
|
565 |
+
),
|
566 |
+
'DeleteScheduledAction' => array(
|
567 |
+
'httpMethod' => 'POST',
|
568 |
+
'uri' => '/',
|
569 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
570 |
+
'responseClass' => 'EmptyOutput',
|
571 |
+
'responseType' => 'model',
|
572 |
+
'parameters' => array(
|
573 |
+
'Action' => array(
|
574 |
+
'static' => true,
|
575 |
+
'location' => 'aws.query',
|
576 |
+
'default' => 'DeleteScheduledAction',
|
577 |
+
),
|
578 |
+
'Version' => array(
|
579 |
+
'static' => true,
|
580 |
+
'location' => 'aws.query',
|
581 |
+
'default' => '2011-01-01',
|
582 |
+
),
|
583 |
+
'AutoScalingGroupName' => array(
|
584 |
+
'type' => 'string',
|
585 |
+
'location' => 'aws.query',
|
586 |
+
'minLength' => 1,
|
587 |
+
'maxLength' => 1600,
|
588 |
+
),
|
589 |
+
'ScheduledActionName' => array(
|
590 |
+
'required' => true,
|
591 |
+
'type' => 'string',
|
592 |
+
'location' => 'aws.query',
|
593 |
+
'minLength' => 1,
|
594 |
+
'maxLength' => 1600,
|
595 |
+
),
|
596 |
+
),
|
597 |
+
),
|
598 |
+
'DeleteTags' => array(
|
599 |
+
'httpMethod' => 'POST',
|
600 |
+
'uri' => '/',
|
601 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
602 |
+
'responseClass' => 'EmptyOutput',
|
603 |
+
'responseType' => 'model',
|
604 |
+
'parameters' => array(
|
605 |
+
'Action' => array(
|
606 |
+
'static' => true,
|
607 |
+
'location' => 'aws.query',
|
608 |
+
'default' => 'DeleteTags',
|
609 |
+
),
|
610 |
+
'Version' => array(
|
611 |
+
'static' => true,
|
612 |
+
'location' => 'aws.query',
|
613 |
+
'default' => '2011-01-01',
|
614 |
+
),
|
615 |
+
'Tags' => array(
|
616 |
+
'required' => true,
|
617 |
+
'type' => 'array',
|
618 |
+
'location' => 'aws.query',
|
619 |
+
'sentAs' => 'Tags.member',
|
620 |
+
'items' => array(
|
621 |
+
'name' => 'Tag',
|
622 |
+
'type' => 'object',
|
623 |
+
'properties' => array(
|
624 |
+
'ResourceId' => array(
|
625 |
+
'type' => 'string',
|
626 |
+
),
|
627 |
+
'ResourceType' => array(
|
628 |
+
'type' => 'string',
|
629 |
+
),
|
630 |
+
'Key' => array(
|
631 |
+
'required' => true,
|
632 |
+
'type' => 'string',
|
633 |
+
'minLength' => 1,
|
634 |
+
'maxLength' => 128,
|
635 |
+
),
|
636 |
+
'Value' => array(
|
637 |
+
'type' => 'string',
|
638 |
+
'maxLength' => 256,
|
639 |
+
),
|
640 |
+
'PropagateAtLaunch' => array(
|
641 |
+
'type' => 'boolean',
|
642 |
+
'format' => 'boolean-string',
|
643 |
+
),
|
644 |
+
),
|
645 |
+
),
|
646 |
+
),
|
647 |
+
),
|
648 |
+
),
|
649 |
+
'DescribeAdjustmentTypes' => array(
|
650 |
+
'httpMethod' => 'POST',
|
651 |
+
'uri' => '/',
|
652 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
653 |
+
'responseClass' => 'DescribeAdjustmentTypesAnswer',
|
654 |
+
'responseType' => 'model',
|
655 |
+
'parameters' => array(
|
656 |
+
'Action' => array(
|
657 |
+
'static' => true,
|
658 |
+
'location' => 'aws.query',
|
659 |
+
'default' => 'DescribeAdjustmentTypes',
|
660 |
+
),
|
661 |
+
'Version' => array(
|
662 |
+
'static' => true,
|
663 |
+
'location' => 'aws.query',
|
664 |
+
'default' => '2011-01-01',
|
665 |
+
),
|
666 |
+
),
|
667 |
+
),
|
668 |
+
'DescribeAutoScalingGroups' => array(
|
669 |
+
'httpMethod' => 'POST',
|
670 |
+
'uri' => '/',
|
671 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
672 |
+
'responseClass' => 'AutoScalingGroupsType',
|
673 |
+
'responseType' => 'model',
|
674 |
+
'parameters' => array(
|
675 |
+
'Action' => array(
|
676 |
+
'static' => true,
|
677 |
+
'location' => 'aws.query',
|
678 |
+
'default' => 'DescribeAutoScalingGroups',
|
679 |
+
),
|
680 |
+
'Version' => array(
|
681 |
+
'static' => true,
|
682 |
+
'location' => 'aws.query',
|
683 |
+
'default' => '2011-01-01',
|
684 |
+
),
|
685 |
+
'AutoScalingGroupNames' => array(
|
686 |
+
'type' => 'array',
|
687 |
+
'location' => 'aws.query',
|
688 |
+
'sentAs' => 'AutoScalingGroupNames.member',
|
689 |
+
'items' => array(
|
690 |
+
'name' => 'ResourceName',
|
691 |
+
'type' => 'string',
|
692 |
+
'minLength' => 1,
|
693 |
+
'maxLength' => 1600,
|
694 |
+
),
|
695 |
+
),
|
696 |
+
'NextToken' => array(
|
697 |
+
'type' => 'string',
|
698 |
+
'location' => 'aws.query',
|
699 |
+
),
|
700 |
+
'MaxRecords' => array(
|
701 |
+
'type' => 'numeric',
|
702 |
+
'location' => 'aws.query',
|
703 |
+
'minimum' => 1,
|
704 |
+
'maximum' => 50,
|
705 |
+
),
|
706 |
+
),
|
707 |
+
'errorResponses' => array(
|
708 |
+
array(
|
709 |
+
'reason' => 'The NextToken value is invalid.',
|
710 |
+
'class' => 'InvalidNextTokenException',
|
711 |
+
),
|
712 |
+
),
|
713 |
+
),
|
714 |
+
'DescribeAutoScalingInstances' => array(
|
715 |
+
'httpMethod' => 'POST',
|
716 |
+
'uri' => '/',
|
717 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
718 |
+
'responseClass' => 'AutoScalingInstancesType',
|
719 |
+
'responseType' => 'model',
|
720 |
+
'parameters' => array(
|
721 |
+
'Action' => array(
|
722 |
+
'static' => true,
|
723 |
+
'location' => 'aws.query',
|
724 |
+
'default' => 'DescribeAutoScalingInstances',
|
725 |
+
),
|
726 |
+
'Version' => array(
|
727 |
+
'static' => true,
|
728 |
+
'location' => 'aws.query',
|
729 |
+
'default' => '2011-01-01',
|
730 |
+
),
|
731 |
+
'InstanceIds' => array(
|
732 |
+
'type' => 'array',
|
733 |
+
'location' => 'aws.query',
|
734 |
+
'sentAs' => 'InstanceIds.member',
|
735 |
+
'items' => array(
|
736 |
+
'name' => 'XmlStringMaxLen16',
|
737 |
+
'type' => 'string',
|
738 |
+
'minLength' => 1,
|
739 |
+
'maxLength' => 16,
|
740 |
+
),
|
741 |
+
),
|
742 |
+
'MaxRecords' => array(
|
743 |
+
'type' => 'numeric',
|
744 |
+
'location' => 'aws.query',
|
745 |
+
'minimum' => 1,
|
746 |
+
'maximum' => 50,
|
747 |
+
),
|
748 |
+
'NextToken' => array(
|
749 |
+
'type' => 'string',
|
750 |
+
'location' => 'aws.query',
|
751 |
+
),
|
752 |
+
),
|
753 |
+
'errorResponses' => array(
|
754 |
+
array(
|
755 |
+
'reason' => 'The NextToken value is invalid.',
|
756 |
+
'class' => 'InvalidNextTokenException',
|
757 |
+
),
|
758 |
+
),
|
759 |
+
),
|
760 |
+
'DescribeAutoScalingNotificationTypes' => array(
|
761 |
+
'httpMethod' => 'POST',
|
762 |
+
'uri' => '/',
|
763 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
764 |
+
'responseClass' => 'DescribeAutoScalingNotificationTypesAnswer',
|
765 |
+
'responseType' => 'model',
|
766 |
+
'parameters' => array(
|
767 |
+
'Action' => array(
|
768 |
+
'static' => true,
|
769 |
+
'location' => 'aws.query',
|
770 |
+
'default' => 'DescribeAutoScalingNotificationTypes',
|
771 |
+
),
|
772 |
+
'Version' => array(
|
773 |
+
'static' => true,
|
774 |
+
'location' => 'aws.query',
|
775 |
+
'default' => '2011-01-01',
|
776 |
+
),
|
777 |
+
),
|
778 |
+
),
|
779 |
+
'DescribeLaunchConfigurations' => array(
|
780 |
+
'httpMethod' => 'POST',
|
781 |
+
'uri' => '/',
|
782 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
783 |
+
'responseClass' => 'LaunchConfigurationsType',
|
784 |
+
'responseType' => 'model',
|
785 |
+
'parameters' => array(
|
786 |
+
'Action' => array(
|
787 |
+
'static' => true,
|
788 |
+
'location' => 'aws.query',
|
789 |
+
'default' => 'DescribeLaunchConfigurations',
|
790 |
+
),
|
791 |
+
'Version' => array(
|
792 |
+
'static' => true,
|
793 |
+
'location' => 'aws.query',
|
794 |
+
'default' => '2011-01-01',
|
795 |
+
),
|
796 |
+
'LaunchConfigurationNames' => array(
|
797 |
+
'type' => 'array',
|
798 |
+
'location' => 'aws.query',
|
799 |
+
'sentAs' => 'LaunchConfigurationNames.member',
|
800 |
+
'items' => array(
|
801 |
+
'name' => 'ResourceName',
|
802 |
+
'type' => 'string',
|
803 |
+
'minLength' => 1,
|
804 |
+
'maxLength' => 1600,
|
805 |
+
),
|
806 |
+
),
|
807 |
+
'NextToken' => array(
|
808 |
+
'type' => 'string',
|
809 |
+
'location' => 'aws.query',
|
810 |
+
),
|
811 |
+
'MaxRecords' => array(
|
812 |
+
'type' => 'numeric',
|
813 |
+
'location' => 'aws.query',
|
814 |
+
'minimum' => 1,
|
815 |
+
'maximum' => 50,
|
816 |
+
),
|
817 |
+
),
|
818 |
+
'errorResponses' => array(
|
819 |
+
array(
|
820 |
+
'reason' => 'The NextToken value is invalid.',
|
821 |
+
'class' => 'InvalidNextTokenException',
|
822 |
+
),
|
823 |
+
),
|
824 |
+
),
|
825 |
+
'DescribeMetricCollectionTypes' => array(
|
826 |
+
'httpMethod' => 'POST',
|
827 |
+
'uri' => '/',
|
828 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
829 |
+
'responseClass' => 'DescribeMetricCollectionTypesAnswer',
|
830 |
+
'responseType' => 'model',
|
831 |
+
'parameters' => array(
|
832 |
+
'Action' => array(
|
833 |
+
'static' => true,
|
834 |
+
'location' => 'aws.query',
|
835 |
+
'default' => 'DescribeMetricCollectionTypes',
|
836 |
+
),
|
837 |
+
'Version' => array(
|
838 |
+
'static' => true,
|
839 |
+
'location' => 'aws.query',
|
840 |
+
'default' => '2011-01-01',
|
841 |
+
),
|
842 |
+
),
|
843 |
+
),
|
844 |
+
'DescribeNotificationConfigurations' => array(
|
845 |
+
'httpMethod' => 'POST',
|
846 |
+
'uri' => '/',
|
847 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
848 |
+
'responseClass' => 'DescribeNotificationConfigurationsAnswer',
|
849 |
+
'responseType' => 'model',
|
850 |
+
'parameters' => array(
|
851 |
+
'Action' => array(
|
852 |
+
'static' => true,
|
853 |
+
'location' => 'aws.query',
|
854 |
+
'default' => 'DescribeNotificationConfigurations',
|
855 |
+
),
|
856 |
+
'Version' => array(
|
857 |
+
'static' => true,
|
858 |
+
'location' => 'aws.query',
|
859 |
+
'default' => '2011-01-01',
|
860 |
+
),
|
861 |
+
'AutoScalingGroupNames' => array(
|
862 |
+
'type' => 'array',
|
863 |
+
'location' => 'aws.query',
|
864 |
+
'sentAs' => 'AutoScalingGroupNames.member',
|
865 |
+
'items' => array(
|
866 |
+
'name' => 'ResourceName',
|
867 |
+
'type' => 'string',
|
868 |
+
'minLength' => 1,
|
869 |
+
'maxLength' => 1600,
|
870 |
+
),
|
871 |
+
),
|
872 |
+
'NextToken' => array(
|
873 |
+
'type' => 'string',
|
874 |
+
'location' => 'aws.query',
|
875 |
+
),
|
876 |
+
'MaxRecords' => array(
|
877 |
+
'type' => 'numeric',
|
878 |
+
'location' => 'aws.query',
|
879 |
+
'minimum' => 1,
|
880 |
+
'maximum' => 50,
|
881 |
+
),
|
882 |
+
),
|
883 |
+
'errorResponses' => array(
|
884 |
+
array(
|
885 |
+
'reason' => 'The NextToken value is invalid.',
|
886 |
+
'class' => 'InvalidNextTokenException',
|
887 |
+
),
|
888 |
+
),
|
889 |
+
),
|
890 |
+
'DescribePolicies' => array(
|
891 |
+
'httpMethod' => 'POST',
|
892 |
+
'uri' => '/',
|
893 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
894 |
+
'responseClass' => 'PoliciesType',
|
895 |
+
'responseType' => 'model',
|
896 |
+
'parameters' => array(
|
897 |
+
'Action' => array(
|
898 |
+
'static' => true,
|
899 |
+
'location' => 'aws.query',
|
900 |
+
'default' => 'DescribePolicies',
|
901 |
+
),
|
902 |
+
'Version' => array(
|
903 |
+
'static' => true,
|
904 |
+
'location' => 'aws.query',
|
905 |
+
'default' => '2011-01-01',
|
906 |
+
),
|
907 |
+
'AutoScalingGroupName' => array(
|
908 |
+
'type' => 'string',
|
909 |
+
'location' => 'aws.query',
|
910 |
+
'minLength' => 1,
|
911 |
+
'maxLength' => 1600,
|
912 |
+
),
|
913 |
+
'PolicyNames' => array(
|
914 |
+
'type' => 'array',
|
915 |
+
'location' => 'aws.query',
|
916 |
+
'sentAs' => 'PolicyNames.member',
|
917 |
+
'items' => array(
|
918 |
+
'name' => 'ResourceName',
|
919 |
+
'type' => 'string',
|
920 |
+
'minLength' => 1,
|
921 |
+
'maxLength' => 1600,
|
922 |
+
),
|
923 |
+
),
|
924 |
+
'NextToken' => array(
|
925 |
+
'type' => 'string',
|
926 |
+
'location' => 'aws.query',
|
927 |
+
),
|
928 |
+
'MaxRecords' => array(
|
929 |
+
'type' => 'numeric',
|
930 |
+
'location' => 'aws.query',
|
931 |
+
'minimum' => 1,
|
932 |
+
'maximum' => 50,
|
933 |
+
),
|
934 |
+
),
|
935 |
+
'errorResponses' => array(
|
936 |
+
array(
|
937 |
+
'reason' => 'The NextToken value is invalid.',
|
938 |
+
'class' => 'InvalidNextTokenException',
|
939 |
+
),
|
940 |
+
),
|
941 |
+
),
|
942 |
+
'DescribeScalingActivities' => array(
|
943 |
+
'httpMethod' => 'POST',
|
944 |
+
'uri' => '/',
|
945 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
946 |
+
'responseClass' => 'ActivitiesType',
|
947 |
+
'responseType' => 'model',
|
948 |
+
'parameters' => array(
|
949 |
+
'Action' => array(
|
950 |
+
'static' => true,
|
951 |
+
'location' => 'aws.query',
|
952 |
+
'default' => 'DescribeScalingActivities',
|
953 |
+
),
|
954 |
+
'Version' => array(
|
955 |
+
'static' => true,
|
956 |
+
'location' => 'aws.query',
|
957 |
+
'default' => '2011-01-01',
|
958 |
+
),
|
959 |
+
'ActivityIds' => array(
|
960 |
+
'type' => 'array',
|
961 |
+
'location' => 'aws.query',
|
962 |
+
'sentAs' => 'ActivityIds.member',
|
963 |
+
'items' => array(
|
964 |
+
'name' => 'XmlString',
|
965 |
+
'type' => 'string',
|
966 |
+
),
|
967 |
+
),
|
968 |
+
'AutoScalingGroupName' => array(
|
969 |
+
'type' => 'string',
|
970 |
+
'location' => 'aws.query',
|
971 |
+
'minLength' => 1,
|
972 |
+
'maxLength' => 1600,
|
973 |
+
),
|
974 |
+
'MaxRecords' => array(
|
975 |
+
'type' => 'numeric',
|
976 |
+
'location' => 'aws.query',
|
977 |
+
'minimum' => 1,
|
978 |
+
'maximum' => 50,
|
979 |
+
),
|
980 |
+
'NextToken' => array(
|
981 |
+
'type' => 'string',
|
982 |
+
'location' => 'aws.query',
|
983 |
+
),
|
984 |
+
),
|
985 |
+
'errorResponses' => array(
|
986 |
+
array(
|
987 |
+
'reason' => 'The NextToken value is invalid.',
|
988 |
+
'class' => 'InvalidNextTokenException',
|
989 |
+
),
|
990 |
+
),
|
991 |
+
),
|
992 |
+
'DescribeScalingProcessTypes' => array(
|
993 |
+
'httpMethod' => 'POST',
|
994 |
+
'uri' => '/',
|
995 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
996 |
+
'responseClass' => 'ProcessesType',
|
997 |
+
'responseType' => 'model',
|
998 |
+
'parameters' => array(
|
999 |
+
'Action' => array(
|
1000 |
+
'static' => true,
|
1001 |
+
'location' => 'aws.query',
|
1002 |
+
'default' => 'DescribeScalingProcessTypes',
|
1003 |
+
),
|
1004 |
+
'Version' => array(
|
1005 |
+
'static' => true,
|
1006 |
+
'location' => 'aws.query',
|
1007 |
+
'default' => '2011-01-01',
|
1008 |
+
),
|
1009 |
+
),
|
1010 |
+
),
|
1011 |
+
'DescribeScheduledActions' => array(
|
1012 |
+
'httpMethod' => 'POST',
|
1013 |
+
'uri' => '/',
|
1014 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1015 |
+
'responseClass' => 'ScheduledActionsType',
|
1016 |
+
'responseType' => 'model',
|
1017 |
+
'parameters' => array(
|
1018 |
+
'Action' => array(
|
1019 |
+
'static' => true,
|
1020 |
+
'location' => 'aws.query',
|
1021 |
+
'default' => 'DescribeScheduledActions',
|
1022 |
+
),
|
1023 |
+
'Version' => array(
|
1024 |
+
'static' => true,
|
1025 |
+
'location' => 'aws.query',
|
1026 |
+
'default' => '2011-01-01',
|
1027 |
+
),
|
1028 |
+
'AutoScalingGroupName' => array(
|
1029 |
+
'type' => 'string',
|
1030 |
+
'location' => 'aws.query',
|
1031 |
+
'minLength' => 1,
|
1032 |
+
'maxLength' => 1600,
|
1033 |
+
),
|
1034 |
+
'ScheduledActionNames' => array(
|
1035 |
+
'type' => 'array',
|
1036 |
+
'location' => 'aws.query',
|
1037 |
+
'sentAs' => 'ScheduledActionNames.member',
|
1038 |
+
'items' => array(
|
1039 |
+
'name' => 'ResourceName',
|
1040 |
+
'type' => 'string',
|
1041 |
+
'minLength' => 1,
|
1042 |
+
'maxLength' => 1600,
|
1043 |
+
),
|
1044 |
+
),
|
1045 |
+
'StartTime' => array(
|
1046 |
+
'type' => array(
|
1047 |
+
'object',
|
1048 |
+
'string',
|
1049 |
+
'integer',
|
1050 |
+
),
|
1051 |
+
'format' => 'date-time',
|
1052 |
+
'location' => 'aws.query',
|
1053 |
+
),
|
1054 |
+
'EndTime' => array(
|
1055 |
+
'type' => array(
|
1056 |
+
'object',
|
1057 |
+
'string',
|
1058 |
+
'integer',
|
1059 |
+
),
|
1060 |
+
'format' => 'date-time',
|
1061 |
+
'location' => 'aws.query',
|
1062 |
+
),
|
1063 |
+
'NextToken' => array(
|
1064 |
+
'type' => 'string',
|
1065 |
+
'location' => 'aws.query',
|
1066 |
+
),
|
1067 |
+
'MaxRecords' => array(
|
1068 |
+
'type' => 'numeric',
|
1069 |
+
'location' => 'aws.query',
|
1070 |
+
'minimum' => 1,
|
1071 |
+
'maximum' => 50,
|
1072 |
+
),
|
1073 |
+
),
|
1074 |
+
'errorResponses' => array(
|
1075 |
+
array(
|
1076 |
+
'reason' => 'The NextToken value is invalid.',
|
1077 |
+
'class' => 'InvalidNextTokenException',
|
1078 |
+
),
|
1079 |
+
),
|
1080 |
+
),
|
1081 |
+
'DescribeTags' => array(
|
1082 |
+
'httpMethod' => 'POST',
|
1083 |
+
'uri' => '/',
|
1084 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1085 |
+
'responseClass' => 'TagsType',
|
1086 |
+
'responseType' => 'model',
|
1087 |
+
'parameters' => array(
|
1088 |
+
'Action' => array(
|
1089 |
+
'static' => true,
|
1090 |
+
'location' => 'aws.query',
|
1091 |
+
'default' => 'DescribeTags',
|
1092 |
+
),
|
1093 |
+
'Version' => array(
|
1094 |
+
'static' => true,
|
1095 |
+
'location' => 'aws.query',
|
1096 |
+
'default' => '2011-01-01',
|
1097 |
+
),
|
1098 |
+
'Filters' => array(
|
1099 |
+
'type' => 'array',
|
1100 |
+
'location' => 'aws.query',
|
1101 |
+
'sentAs' => 'Filters.member',
|
1102 |
+
'items' => array(
|
1103 |
+
'name' => 'Filter',
|
1104 |
+
'type' => 'object',
|
1105 |
+
'properties' => array(
|
1106 |
+
'Name' => array(
|
1107 |
+
'type' => 'string',
|
1108 |
+
),
|
1109 |
+
'Values' => array(
|
1110 |
+
'type' => 'array',
|
1111 |
+
'sentAs' => 'Values.member',
|
1112 |
+
'items' => array(
|
1113 |
+
'name' => 'XmlString',
|
1114 |
+
'type' => 'string',
|
1115 |
+
),
|
1116 |
+
),
|
1117 |
+
),
|
1118 |
+
),
|
1119 |
+
),
|
1120 |
+
'NextToken' => array(
|
1121 |
+
'type' => 'string',
|
1122 |
+
'location' => 'aws.query',
|
1123 |
+
),
|
1124 |
+
'MaxRecords' => array(
|
1125 |
+
'type' => 'numeric',
|
1126 |
+
'location' => 'aws.query',
|
1127 |
+
'minimum' => 1,
|
1128 |
+
'maximum' => 50,
|
1129 |
+
),
|
1130 |
+
),
|
1131 |
+
'errorResponses' => array(
|
1132 |
+
array(
|
1133 |
+
'reason' => 'The NextToken value is invalid.',
|
1134 |
+
'class' => 'InvalidNextTokenException',
|
1135 |
+
),
|
1136 |
+
),
|
1137 |
+
),
|
1138 |
+
'DescribeTerminationPolicyTypes' => array(
|
1139 |
+
'httpMethod' => 'POST',
|
1140 |
+
'uri' => '/',
|
1141 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1142 |
+
'responseClass' => 'DescribeTerminationPolicyTypesAnswer',
|
1143 |
+
'responseType' => 'model',
|
1144 |
+
'parameters' => array(
|
1145 |
+
'Action' => array(
|
1146 |
+
'static' => true,
|
1147 |
+
'location' => 'aws.query',
|
1148 |
+
'default' => 'DescribeTerminationPolicyTypes',
|
1149 |
+
),
|
1150 |
+
'Version' => array(
|
1151 |
+
'static' => true,
|
1152 |
+
'location' => 'aws.query',
|
1153 |
+
'default' => '2011-01-01',
|
1154 |
+
),
|
1155 |
+
),
|
1156 |
+
),
|
1157 |
+
'DisableMetricsCollection' => array(
|
1158 |
+
'httpMethod' => 'POST',
|
1159 |
+
'uri' => '/',
|
1160 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1161 |
+
'responseClass' => 'EmptyOutput',
|
1162 |
+
'responseType' => 'model',
|
1163 |
+
'parameters' => array(
|
1164 |
+
'Action' => array(
|
1165 |
+
'static' => true,
|
1166 |
+
'location' => 'aws.query',
|
1167 |
+
'default' => 'DisableMetricsCollection',
|
1168 |
+
),
|
1169 |
+
'Version' => array(
|
1170 |
+
'static' => true,
|
1171 |
+
'location' => 'aws.query',
|
1172 |
+
'default' => '2011-01-01',
|
1173 |
+
),
|
1174 |
+
'AutoScalingGroupName' => array(
|
1175 |
+
'required' => true,
|
1176 |
+
'type' => 'string',
|
1177 |
+
'location' => 'aws.query',
|
1178 |
+
'minLength' => 1,
|
1179 |
+
'maxLength' => 1600,
|
1180 |
+
),
|
1181 |
+
'Metrics' => array(
|
1182 |
+
'type' => 'array',
|
1183 |
+
'location' => 'aws.query',
|
1184 |
+
'sentAs' => 'Metrics.member',
|
1185 |
+
'items' => array(
|
1186 |
+
'name' => 'XmlStringMaxLen255',
|
1187 |
+
'type' => 'string',
|
1188 |
+
'minLength' => 1,
|
1189 |
+
'maxLength' => 255,
|
1190 |
+
),
|
1191 |
+
),
|
1192 |
+
),
|
1193 |
+
),
|
1194 |
+
'EnableMetricsCollection' => array(
|
1195 |
+
'httpMethod' => 'POST',
|
1196 |
+
'uri' => '/',
|
1197 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1198 |
+
'responseClass' => 'EmptyOutput',
|
1199 |
+
'responseType' => 'model',
|
1200 |
+
'parameters' => array(
|
1201 |
+
'Action' => array(
|
1202 |
+
'static' => true,
|
1203 |
+
'location' => 'aws.query',
|
1204 |
+
'default' => 'EnableMetricsCollection',
|
1205 |
+
),
|
1206 |
+
'Version' => array(
|
1207 |
+
'static' => true,
|
1208 |
+
'location' => 'aws.query',
|
1209 |
+
'default' => '2011-01-01',
|
1210 |
+
),
|
1211 |
+
'AutoScalingGroupName' => array(
|
1212 |
+
'required' => true,
|
1213 |
+
'type' => 'string',
|
1214 |
+
'location' => 'aws.query',
|
1215 |
+
'minLength' => 1,
|
1216 |
+
'maxLength' => 1600,
|
1217 |
+
),
|
1218 |
+
'Metrics' => array(
|
1219 |
+
'type' => 'array',
|
1220 |
+
'location' => 'aws.query',
|
1221 |
+
'sentAs' => 'Metrics.member',
|
1222 |
+
'items' => array(
|
1223 |
+
'name' => 'XmlStringMaxLen255',
|
1224 |
+
'type' => 'string',
|
1225 |
+
'minLength' => 1,
|
1226 |
+
'maxLength' => 255,
|
1227 |
+
),
|
1228 |
+
),
|
1229 |
+
'Granularity' => array(
|
1230 |
+
'required' => true,
|
1231 |
+
'type' => 'string',
|
1232 |
+
'location' => 'aws.query',
|
1233 |
+
'minLength' => 1,
|
1234 |
+
'maxLength' => 255,
|
1235 |
+
),
|
1236 |
+
),
|
1237 |
+
),
|
1238 |
+
'ExecutePolicy' => array(
|
1239 |
+
'httpMethod' => 'POST',
|
1240 |
+
'uri' => '/',
|
1241 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1242 |
+
'responseClass' => 'EmptyOutput',
|
1243 |
+
'responseType' => 'model',
|
1244 |
+
'parameters' => array(
|
1245 |
+
'Action' => array(
|
1246 |
+
'static' => true,
|
1247 |
+
'location' => 'aws.query',
|
1248 |
+
'default' => 'ExecutePolicy',
|
1249 |
+
),
|
1250 |
+
'Version' => array(
|
1251 |
+
'static' => true,
|
1252 |
+
'location' => 'aws.query',
|
1253 |
+
'default' => '2011-01-01',
|
1254 |
+
),
|
1255 |
+
'AutoScalingGroupName' => array(
|
1256 |
+
'type' => 'string',
|
1257 |
+
'location' => 'aws.query',
|
1258 |
+
'minLength' => 1,
|
1259 |
+
'maxLength' => 1600,
|
1260 |
+
),
|
1261 |
+
'PolicyName' => array(
|
1262 |
+
'required' => true,
|
1263 |
+
'type' => 'string',
|
1264 |
+
'location' => 'aws.query',
|
1265 |
+
'minLength' => 1,
|
1266 |
+
'maxLength' => 1600,
|
1267 |
+
),
|
1268 |
+
'HonorCooldown' => array(
|
1269 |
+
'type' => 'boolean',
|
1270 |
+
'format' => 'boolean-string',
|
1271 |
+
'location' => 'aws.query',
|
1272 |
+
),
|
1273 |
+
),
|
1274 |
+
'errorResponses' => array(
|
1275 |
+
array(
|
1276 |
+
'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
|
1277 |
+
'class' => 'ScalingActivityInProgressException',
|
1278 |
+
),
|
1279 |
+
),
|
1280 |
+
),
|
1281 |
+
'PutNotificationConfiguration' => array(
|
1282 |
+
'httpMethod' => 'POST',
|
1283 |
+
'uri' => '/',
|
1284 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1285 |
+
'responseClass' => 'EmptyOutput',
|
1286 |
+
'responseType' => 'model',
|
1287 |
+
'parameters' => array(
|
1288 |
+
'Action' => array(
|
1289 |
+
'static' => true,
|
1290 |
+
'location' => 'aws.query',
|
1291 |
+
'default' => 'PutNotificationConfiguration',
|
1292 |
+
),
|
1293 |
+
'Version' => array(
|
1294 |
+
'static' => true,
|
1295 |
+
'location' => 'aws.query',
|
1296 |
+
'default' => '2011-01-01',
|
1297 |
+
),
|
1298 |
+
'AutoScalingGroupName' => array(
|
1299 |
+
'required' => true,
|
1300 |
+
'type' => 'string',
|
1301 |
+
'location' => 'aws.query',
|
1302 |
+
'minLength' => 1,
|
1303 |
+
'maxLength' => 1600,
|
1304 |
+
),
|
1305 |
+
'TopicARN' => array(
|
1306 |
+
'required' => true,
|
1307 |
+
'type' => 'string',
|
1308 |
+
'location' => 'aws.query',
|
1309 |
+
'minLength' => 1,
|
1310 |
+
'maxLength' => 1600,
|
1311 |
+
),
|
1312 |
+
'NotificationTypes' => array(
|
1313 |
+
'required' => true,
|
1314 |
+
'type' => 'array',
|
1315 |
+
'location' => 'aws.query',
|
1316 |
+
'sentAs' => 'NotificationTypes.member',
|
1317 |
+
'items' => array(
|
1318 |
+
'name' => 'XmlStringMaxLen255',
|
1319 |
+
'type' => 'string',
|
1320 |
+
'minLength' => 1,
|
1321 |
+
'maxLength' => 255,
|
1322 |
+
),
|
1323 |
+
),
|
1324 |
+
),
|
1325 |
+
'errorResponses' => array(
|
1326 |
+
array(
|
1327 |
+
'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
|
1328 |
+
'class' => 'LimitExceededException',
|
1329 |
+
),
|
1330 |
+
),
|
1331 |
+
),
|
1332 |
+
'PutScalingPolicy' => array(
|
1333 |
+
'httpMethod' => 'POST',
|
1334 |
+
'uri' => '/',
|
1335 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1336 |
+
'responseClass' => 'PolicyARNType',
|
1337 |
+
'responseType' => 'model',
|
1338 |
+
'parameters' => array(
|
1339 |
+
'Action' => array(
|
1340 |
+
'static' => true,
|
1341 |
+
'location' => 'aws.query',
|
1342 |
+
'default' => 'PutScalingPolicy',
|
1343 |
+
),
|
1344 |
+
'Version' => array(
|
1345 |
+
'static' => true,
|
1346 |
+
'location' => 'aws.query',
|
1347 |
+
'default' => '2011-01-01',
|
1348 |
+
),
|
1349 |
+
'AutoScalingGroupName' => array(
|
1350 |
+
'required' => true,
|
1351 |
+
'type' => 'string',
|
1352 |
+
'location' => 'aws.query',
|
1353 |
+
'minLength' => 1,
|
1354 |
+
'maxLength' => 1600,
|
1355 |
+
),
|
1356 |
+
'PolicyName' => array(
|
1357 |
+
'required' => true,
|
1358 |
+
'type' => 'string',
|
1359 |
+
'location' => 'aws.query',
|
1360 |
+
'minLength' => 1,
|
1361 |
+
'maxLength' => 255,
|
1362 |
+
),
|
1363 |
+
'ScalingAdjustment' => array(
|
1364 |
+
'required' => true,
|
1365 |
+
'type' => 'numeric',
|
1366 |
+
'location' => 'aws.query',
|
1367 |
+
),
|
1368 |
+
'AdjustmentType' => array(
|
1369 |
+
'required' => true,
|
1370 |
+
'type' => 'string',
|
1371 |
+
'location' => 'aws.query',
|
1372 |
+
'minLength' => 1,
|
1373 |
+
'maxLength' => 255,
|
1374 |
+
),
|
1375 |
+
'Cooldown' => array(
|
1376 |
+
'type' => 'numeric',
|
1377 |
+
'location' => 'aws.query',
|
1378 |
+
),
|
1379 |
+
'MinAdjustmentStep' => array(
|
1380 |
+
'type' => 'numeric',
|
1381 |
+
'location' => 'aws.query',
|
1382 |
+
),
|
1383 |
+
),
|
1384 |
+
'errorResponses' => array(
|
1385 |
+
array(
|
1386 |
+
'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
|
1387 |
+
'class' => 'LimitExceededException',
|
1388 |
+
),
|
1389 |
+
),
|
1390 |
+
),
|
1391 |
+
'PutScheduledUpdateGroupAction' => array(
|
1392 |
+
'httpMethod' => 'POST',
|
1393 |
+
'uri' => '/',
|
1394 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1395 |
+
'responseClass' => 'EmptyOutput',
|
1396 |
+
'responseType' => 'model',
|
1397 |
+
'parameters' => array(
|
1398 |
+
'Action' => array(
|
1399 |
+
'static' => true,
|
1400 |
+
'location' => 'aws.query',
|
1401 |
+
'default' => 'PutScheduledUpdateGroupAction',
|
1402 |
+
),
|
1403 |
+
'Version' => array(
|
1404 |
+
'static' => true,
|
1405 |
+
'location' => 'aws.query',
|
1406 |
+
'default' => '2011-01-01',
|
1407 |
+
),
|
1408 |
+
'AutoScalingGroupName' => array(
|
1409 |
+
'required' => true,
|
1410 |
+
'type' => 'string',
|
1411 |
+
'location' => 'aws.query',
|
1412 |
+
'minLength' => 1,
|
1413 |
+
'maxLength' => 1600,
|
1414 |
+
),
|
1415 |
+
'ScheduledActionName' => array(
|
1416 |
+
'required' => true,
|
1417 |
+
'type' => 'string',
|
1418 |
+
'location' => 'aws.query',
|
1419 |
+
'minLength' => 1,
|
1420 |
+
'maxLength' => 255,
|
1421 |
+
),
|
1422 |
+
'Time' => array(
|
1423 |
+
'type' => array(
|
1424 |
+
'object',
|
1425 |
+
'string',
|
1426 |
+
'integer',
|
1427 |
+
),
|
1428 |
+
'format' => 'date-time',
|
1429 |
+
'location' => 'aws.query',
|
1430 |
+
),
|
1431 |
+
'StartTime' => array(
|
1432 |
+
'type' => array(
|
1433 |
+
'object',
|
1434 |
+
'string',
|
1435 |
+
'integer',
|
1436 |
+
),
|
1437 |
+
'format' => 'date-time',
|
1438 |
+
'location' => 'aws.query',
|
1439 |
+
),
|
1440 |
+
'EndTime' => array(
|
1441 |
+
'type' => array(
|
1442 |
+
'object',
|
1443 |
+
'string',
|
1444 |
+
'integer',
|
1445 |
+
),
|
1446 |
+
'format' => 'date-time',
|
1447 |
+
'location' => 'aws.query',
|
1448 |
+
),
|
1449 |
+
'Recurrence' => array(
|
1450 |
+
'type' => 'string',
|
1451 |
+
'location' => 'aws.query',
|
1452 |
+
'minLength' => 1,
|
1453 |
+
'maxLength' => 255,
|
1454 |
+
),
|
1455 |
+
'MinSize' => array(
|
1456 |
+
'type' => 'numeric',
|
1457 |
+
'location' => 'aws.query',
|
1458 |
+
),
|
1459 |
+
'MaxSize' => array(
|
1460 |
+
'type' => 'numeric',
|
1461 |
+
'location' => 'aws.query',
|
1462 |
+
),
|
1463 |
+
'DesiredCapacity' => array(
|
1464 |
+
'type' => 'numeric',
|
1465 |
+
'location' => 'aws.query',
|
1466 |
+
),
|
1467 |
+
),
|
1468 |
+
'errorResponses' => array(
|
1469 |
+
array(
|
1470 |
+
'reason' => 'The named Auto Scaling group or launch configuration already exists.',
|
1471 |
+
'class' => 'AlreadyExistsException',
|
1472 |
+
),
|
1473 |
+
array(
|
1474 |
+
'reason' => 'The quota for capacity groups or launch configurations for this customer has already been reached.',
|
1475 |
+
'class' => 'LimitExceededException',
|
1476 |
+
),
|
1477 |
+
),
|
1478 |
+
),
|
1479 |
+
'ResumeProcesses' => array(
|
1480 |
+
'httpMethod' => 'POST',
|
1481 |
+
'uri' => '/',
|
1482 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1483 |
+
'responseClass' => 'EmptyOutput',
|
1484 |
+
'responseType' => 'model',
|
1485 |
+
'parameters' => array(
|
1486 |
+
'Action' => array(
|
1487 |
+
'static' => true,
|
1488 |
+
'location' => 'aws.query',
|
1489 |
+
'default' => 'ResumeProcesses',
|
1490 |
+
),
|
1491 |
+
'Version' => array(
|
1492 |
+
'static' => true,
|
1493 |
+
'location' => 'aws.query',
|
1494 |
+
'default' => '2011-01-01',
|
1495 |
+
),
|
1496 |
+
'AutoScalingGroupName' => array(
|
1497 |
+
'required' => true,
|
1498 |
+
'type' => 'string',
|
1499 |
+
'location' => 'aws.query',
|
1500 |
+
'minLength' => 1,
|
1501 |
+
'maxLength' => 1600,
|
1502 |
+
),
|
1503 |
+
'ScalingProcesses' => array(
|
1504 |
+
'type' => 'array',
|
1505 |
+
'location' => 'aws.query',
|
1506 |
+
'sentAs' => 'ScalingProcesses.member',
|
1507 |
+
'items' => array(
|
1508 |
+
'name' => 'XmlStringMaxLen255',
|
1509 |
+
'type' => 'string',
|
1510 |
+
'minLength' => 1,
|
1511 |
+
'maxLength' => 255,
|
1512 |
+
),
|
1513 |
+
),
|
1514 |
+
),
|
1515 |
+
),
|
1516 |
+
'SetDesiredCapacity' => array(
|
1517 |
+
'httpMethod' => 'POST',
|
1518 |
+
'uri' => '/',
|
1519 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1520 |
+
'responseClass' => 'EmptyOutput',
|
1521 |
+
'responseType' => 'model',
|
1522 |
+
'parameters' => array(
|
1523 |
+
'Action' => array(
|
1524 |
+
'static' => true,
|
1525 |
+
'location' => 'aws.query',
|
1526 |
+
'default' => 'SetDesiredCapacity',
|
1527 |
+
),
|
1528 |
+
'Version' => array(
|
1529 |
+
'static' => true,
|
1530 |
+
'location' => 'aws.query',
|
1531 |
+
'default' => '2011-01-01',
|
1532 |
+
),
|
1533 |
+
'AutoScalingGroupName' => array(
|
1534 |
+
'required' => true,
|
1535 |
+
'type' => 'string',
|
1536 |
+
'location' => 'aws.query',
|
1537 |
+
'minLength' => 1,
|
1538 |
+
'maxLength' => 1600,
|
1539 |
+
),
|
1540 |
+
'DesiredCapacity' => array(
|
1541 |
+
'required' => true,
|
1542 |
+
'type' => 'numeric',
|
1543 |
+
'location' => 'aws.query',
|
1544 |
+
),
|
1545 |
+
'HonorCooldown' => array(
|
1546 |
+
'type' => 'boolean',
|
1547 |
+
'format' => 'boolean-string',
|
1548 |
+
'location' => 'aws.query',
|
1549 |
+
),
|
1550 |
+
),
|
1551 |
+
'errorResponses' => array(
|
1552 |
+
array(
|
1553 |
+
'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
|
1554 |
+
'class' => 'ScalingActivityInProgressException',
|
1555 |
+
),
|
1556 |
+
),
|
1557 |
+
),
|
1558 |
+
'SetInstanceHealth' => array(
|
1559 |
+
'httpMethod' => 'POST',
|
1560 |
+
'uri' => '/',
|
1561 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1562 |
+
'responseClass' => 'EmptyOutput',
|
1563 |
+
'responseType' => 'model',
|
1564 |
+
'parameters' => array(
|
1565 |
+
'Action' => array(
|
1566 |
+
'static' => true,
|
1567 |
+
'location' => 'aws.query',
|
1568 |
+
'default' => 'SetInstanceHealth',
|
1569 |
+
),
|
1570 |
+
'Version' => array(
|
1571 |
+
'static' => true,
|
1572 |
+
'location' => 'aws.query',
|
1573 |
+
'default' => '2011-01-01',
|
1574 |
+
),
|
1575 |
+
'InstanceId' => array(
|
1576 |
+
'required' => true,
|
1577 |
+
'type' => 'string',
|
1578 |
+
'location' => 'aws.query',
|
1579 |
+
'minLength' => 1,
|
1580 |
+
'maxLength' => 16,
|
1581 |
+
),
|
1582 |
+
'HealthStatus' => array(
|
1583 |
+
'required' => true,
|
1584 |
+
'type' => 'string',
|
1585 |
+
'location' => 'aws.query',
|
1586 |
+
'minLength' => 1,
|
1587 |
+
'maxLength' => 32,
|
1588 |
+
),
|
1589 |
+
'ShouldRespectGracePeriod' => array(
|
1590 |
+
'type' => 'boolean',
|
1591 |
+
'format' => 'boolean-string',
|
1592 |
+
'location' => 'aws.query',
|
1593 |
+
),
|
1594 |
+
),
|
1595 |
+
),
|
1596 |
+
'SuspendProcesses' => array(
|
1597 |
+
'httpMethod' => 'POST',
|
1598 |
+
'uri' => '/',
|
1599 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1600 |
+
'responseClass' => 'EmptyOutput',
|
1601 |
+
'responseType' => 'model',
|
1602 |
+
'parameters' => array(
|
1603 |
+
'Action' => array(
|
1604 |
+
'static' => true,
|
1605 |
+
'location' => 'aws.query',
|
1606 |
+
'default' => 'SuspendProcesses',
|
1607 |
+
),
|
1608 |
+
'Version' => array(
|
1609 |
+
'static' => true,
|
1610 |
+
'location' => 'aws.query',
|
1611 |
+
'default' => '2011-01-01',
|
1612 |
+
),
|
1613 |
+
'AutoScalingGroupName' => array(
|
1614 |
+
'required' => true,
|
1615 |
+
'type' => 'string',
|
1616 |
+
'location' => 'aws.query',
|
1617 |
+
'minLength' => 1,
|
1618 |
+
'maxLength' => 1600,
|
1619 |
+
),
|
1620 |
+
'ScalingProcesses' => array(
|
1621 |
+
'type' => 'array',
|
1622 |
+
'location' => 'aws.query',
|
1623 |
+
'sentAs' => 'ScalingProcesses.member',
|
1624 |
+
'items' => array(
|
1625 |
+
'name' => 'XmlStringMaxLen255',
|
1626 |
+
'type' => 'string',
|
1627 |
+
'minLength' => 1,
|
1628 |
+
'maxLength' => 255,
|
1629 |
+
),
|
1630 |
+
),
|
1631 |
+
),
|
1632 |
+
),
|
1633 |
+
'TerminateInstanceInAutoScalingGroup' => array(
|
1634 |
+
'httpMethod' => 'POST',
|
1635 |
+
'uri' => '/',
|
1636 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1637 |
+
'responseClass' => 'ActivityType',
|
1638 |
+
'responseType' => 'model',
|
1639 |
+
'parameters' => array(
|
1640 |
+
'Action' => array(
|
1641 |
+
'static' => true,
|
1642 |
+
'location' => 'aws.query',
|
1643 |
+
'default' => 'TerminateInstanceInAutoScalingGroup',
|
1644 |
+
),
|
1645 |
+
'Version' => array(
|
1646 |
+
'static' => true,
|
1647 |
+
'location' => 'aws.query',
|
1648 |
+
'default' => '2011-01-01',
|
1649 |
+
),
|
1650 |
+
'InstanceId' => array(
|
1651 |
+
'required' => true,
|
1652 |
+
'type' => 'string',
|
1653 |
+
'location' => 'aws.query',
|
1654 |
+
'minLength' => 1,
|
1655 |
+
'maxLength' => 16,
|
1656 |
+
),
|
1657 |
+
'ShouldDecrementDesiredCapacity' => array(
|
1658 |
+
'required' => true,
|
1659 |
+
'type' => 'boolean',
|
1660 |
+
'format' => 'boolean-string',
|
1661 |
+
'location' => 'aws.query',
|
1662 |
+
),
|
1663 |
+
),
|
1664 |
+
'errorResponses' => array(
|
1665 |
+
array(
|
1666 |
+
'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
|
1667 |
+
'class' => 'ScalingActivityInProgressException',
|
1668 |
+
),
|
1669 |
+
),
|
1670 |
+
),
|
1671 |
+
'UpdateAutoScalingGroup' => array(
|
1672 |
+
'httpMethod' => 'POST',
|
1673 |
+
'uri' => '/',
|
1674 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1675 |
+
'responseClass' => 'EmptyOutput',
|
1676 |
+
'responseType' => 'model',
|
1677 |
+
'parameters' => array(
|
1678 |
+
'Action' => array(
|
1679 |
+
'static' => true,
|
1680 |
+
'location' => 'aws.query',
|
1681 |
+
'default' => 'UpdateAutoScalingGroup',
|
1682 |
+
),
|
1683 |
+
'Version' => array(
|
1684 |
+
'static' => true,
|
1685 |
+
'location' => 'aws.query',
|
1686 |
+
'default' => '2011-01-01',
|
1687 |
+
),
|
1688 |
+
'AutoScalingGroupName' => array(
|
1689 |
+
'required' => true,
|
1690 |
+
'type' => 'string',
|
1691 |
+
'location' => 'aws.query',
|
1692 |
+
'minLength' => 1,
|
1693 |
+
'maxLength' => 1600,
|
1694 |
+
),
|
1695 |
+
'LaunchConfigurationName' => array(
|
1696 |
+
'type' => 'string',
|
1697 |
+
'location' => 'aws.query',
|
1698 |
+
'minLength' => 1,
|
1699 |
+
'maxLength' => 1600,
|
1700 |
+
),
|
1701 |
+
'MinSize' => array(
|
1702 |
+
'type' => 'numeric',
|
1703 |
+
'location' => 'aws.query',
|
1704 |
+
),
|
1705 |
+
'MaxSize' => array(
|
1706 |
+
'type' => 'numeric',
|
1707 |
+
'location' => 'aws.query',
|
1708 |
+
),
|
1709 |
+
'DesiredCapacity' => array(
|
1710 |
+
'type' => 'numeric',
|
1711 |
+
'location' => 'aws.query',
|
1712 |
+
),
|
1713 |
+
'DefaultCooldown' => array(
|
1714 |
+
'type' => 'numeric',
|
1715 |
+
'location' => 'aws.query',
|
1716 |
+
),
|
1717 |
+
'AvailabilityZones' => array(
|
1718 |
+
'type' => 'array',
|
1719 |
+
'location' => 'aws.query',
|
1720 |
+
'sentAs' => 'AvailabilityZones.member',
|
1721 |
+
'minItems' => 1,
|
1722 |
+
'items' => array(
|
1723 |
+
'name' => 'XmlStringMaxLen255',
|
1724 |
+
'type' => 'string',
|
1725 |
+
'minLength' => 1,
|
1726 |
+
'maxLength' => 255,
|
1727 |
+
),
|
1728 |
+
),
|
1729 |
+
'HealthCheckType' => array(
|
1730 |
+
'type' => 'string',
|
1731 |
+
'location' => 'aws.query',
|
1732 |
+
'minLength' => 1,
|
1733 |
+
'maxLength' => 32,
|
1734 |
+
),
|
1735 |
+
'HealthCheckGracePeriod' => array(
|
1736 |
+
'type' => 'numeric',
|
1737 |
+
'location' => 'aws.query',
|
1738 |
+
),
|
1739 |
+
'PlacementGroup' => array(
|
1740 |
+
'type' => 'string',
|
1741 |
+
'location' => 'aws.query',
|
1742 |
+
'minLength' => 1,
|
1743 |
+
'maxLength' => 255,
|
1744 |
+
),
|
1745 |
+
'VPCZoneIdentifier' => array(
|
1746 |
+
'type' => 'string',
|
1747 |
+
'location' => 'aws.query',
|
1748 |
+
'minLength' => 1,
|
1749 |
+
'maxLength' => 255,
|
1750 |
+
),
|
1751 |
+
'TerminationPolicies' => array(
|
1752 |
+
'type' => 'array',
|
1753 |
+
'location' => 'aws.query',
|
1754 |
+
'sentAs' => 'TerminationPolicies.member',
|
1755 |
+
'items' => array(
|
1756 |
+
'name' => 'XmlStringMaxLen1600',
|
1757 |
+
'type' => 'string',
|
1758 |
+
'minLength' => 1,
|
1759 |
+
'maxLength' => 1600,
|
1760 |
+
),
|
1761 |
+
),
|
1762 |
+
),
|
1763 |
+
'errorResponses' => array(
|
1764 |
+
array(
|
1765 |
+
'reason' => 'You cannot delete an Auto Scaling group while there are scaling activities in progress for that group.',
|
1766 |
+
'class' => 'ScalingActivityInProgressException',
|
1767 |
+
),
|
1768 |
+
),
|
1769 |
+
),
|
1770 |
+
),
|
1771 |
+
'models' => array(
|
1772 |
+
'EmptyOutput' => array(
|
1773 |
+
'type' => 'object',
|
1774 |
+
'additionalProperties' => true,
|
1775 |
+
),
|
1776 |
+
'DescribeAdjustmentTypesAnswer' => array(
|
1777 |
+
'type' => 'object',
|
1778 |
+
'additionalProperties' => true,
|
1779 |
+
'properties' => array(
|
1780 |
+
'AdjustmentTypes' => array(
|
1781 |
+
'type' => 'array',
|
1782 |
+
'location' => 'xml',
|
1783 |
+
'items' => array(
|
1784 |
+
'name' => 'AdjustmentType',
|
1785 |
+
'type' => 'object',
|
1786 |
+
'sentAs' => 'member',
|
1787 |
+
'properties' => array(
|
1788 |
+
'AdjustmentType' => array(
|
1789 |
+
'type' => 'string',
|
1790 |
+
),
|
1791 |
+
),
|
1792 |
+
),
|
1793 |
+
),
|
1794 |
+
),
|
1795 |
+
),
|
1796 |
+
'AutoScalingGroupsType' => array(
|
1797 |
+
'type' => 'object',
|
1798 |
+
'additionalProperties' => true,
|
1799 |
+
'properties' => array(
|
1800 |
+
'AutoScalingGroups' => array(
|
1801 |
+
'type' => 'array',
|
1802 |
+
'location' => 'xml',
|
1803 |
+
'items' => array(
|
1804 |
+
'name' => 'AutoScalingGroup',
|
1805 |
+
'type' => 'object',
|
1806 |
+
'sentAs' => 'member',
|
1807 |
+
'properties' => array(
|
1808 |
+
'AutoScalingGroupName' => array(
|
1809 |
+
'type' => 'string',
|
1810 |
+
),
|
1811 |
+
'AutoScalingGroupARN' => array(
|
1812 |
+
'type' => 'string',
|
1813 |
+
),
|
1814 |
+
'LaunchConfigurationName' => array(
|
1815 |
+
'type' => 'string',
|
1816 |
+
),
|
1817 |
+
'MinSize' => array(
|
1818 |
+
'type' => 'numeric',
|
1819 |
+
),
|
1820 |
+
'MaxSize' => array(
|
1821 |
+
'type' => 'numeric',
|
1822 |
+
),
|
1823 |
+
'DesiredCapacity' => array(
|
1824 |
+
'type' => 'numeric',
|
1825 |
+
),
|
1826 |
+
'DefaultCooldown' => array(
|
1827 |
+
'type' => 'numeric',
|
1828 |
+
),
|
1829 |
+
'AvailabilityZones' => array(
|
1830 |
+
'type' => 'array',
|
1831 |
+
'items' => array(
|
1832 |
+
'name' => 'XmlStringMaxLen255',
|
1833 |
+
'type' => 'string',
|
1834 |
+
'sentAs' => 'member',
|
1835 |
+
),
|
1836 |
+
),
|
1837 |
+
'LoadBalancerNames' => array(
|
1838 |
+
'type' => 'array',
|
1839 |
+
'items' => array(
|
1840 |
+
'name' => 'XmlStringMaxLen255',
|
1841 |
+
'type' => 'string',
|
1842 |
+
'sentAs' => 'member',
|
1843 |
+
),
|
1844 |
+
),
|
1845 |
+
'HealthCheckType' => array(
|
1846 |
+
'type' => 'string',
|
1847 |
+
),
|
1848 |
+
'HealthCheckGracePeriod' => array(
|
1849 |
+
'type' => 'numeric',
|
1850 |
+
),
|
1851 |
+
'Instances' => array(
|
1852 |
+
'type' => 'array',
|
1853 |
+
'items' => array(
|
1854 |
+
'name' => 'Instance',
|
1855 |
+
'type' => 'object',
|
1856 |
+
'sentAs' => 'member',
|
1857 |
+
'properties' => array(
|
1858 |
+
'InstanceId' => array(
|
1859 |
+
'type' => 'string',
|
1860 |
+
),
|
1861 |
+
'AvailabilityZone' => array(
|
1862 |
+
'type' => 'string',
|
1863 |
+
),
|
1864 |
+
'LifecycleState' => array(
|
1865 |
+
'type' => 'string',
|
1866 |
+
),
|
1867 |
+
'HealthStatus' => array(
|
1868 |
+
'type' => 'string',
|
1869 |
+
),
|
1870 |
+
'LaunchConfigurationName' => array(
|
1871 |
+
'type' => 'string',
|
1872 |
+
),
|
1873 |
+
),
|
1874 |
+
),
|
1875 |
+
),
|
1876 |
+
'CreatedTime' => array(
|
1877 |
+
'type' => 'string',
|
1878 |
+
),
|
1879 |
+
'SuspendedProcesses' => array(
|
1880 |
+
'type' => 'array',
|
1881 |
+
'items' => array(
|
1882 |
+
'name' => 'SuspendedProcess',
|
1883 |
+
'type' => 'object',
|
1884 |
+
'sentAs' => 'member',
|
1885 |
+
'properties' => array(
|
1886 |
+
'ProcessName' => array(
|
1887 |
+
'type' => 'string',
|
1888 |
+
),
|
1889 |
+
'SuspensionReason' => array(
|
1890 |
+
'type' => 'string',
|
1891 |
+
),
|
1892 |
+
),
|
1893 |
+
),
|
1894 |
+
),
|
1895 |
+
'PlacementGroup' => array(
|
1896 |
+
'type' => 'string',
|
1897 |
+
),
|
1898 |
+
'VPCZoneIdentifier' => array(
|
1899 |
+
'type' => 'string',
|
1900 |
+
),
|
1901 |
+
'EnabledMetrics' => array(
|
1902 |
+
'type' => 'array',
|
1903 |
+
'items' => array(
|
1904 |
+
'name' => 'EnabledMetric',
|
1905 |
+
'type' => 'object',
|
1906 |
+
'sentAs' => 'member',
|
1907 |
+
'properties' => array(
|
1908 |
+
'Metric' => array(
|
1909 |
+
'type' => 'string',
|
1910 |
+
),
|
1911 |
+
'Granularity' => array(
|
1912 |
+
'type' => 'string',
|
1913 |
+
),
|
1914 |
+
),
|
1915 |
+
),
|
1916 |
+
),
|
1917 |
+
'Status' => array(
|
1918 |
+
'type' => 'string',
|
1919 |
+
),
|
1920 |
+
'Tags' => array(
|
1921 |
+
'type' => 'array',
|
1922 |
+
'items' => array(
|
1923 |
+
'name' => 'TagDescription',
|
1924 |
+
'type' => 'object',
|
1925 |
+
'sentAs' => 'member',
|
1926 |
+
'properties' => array(
|
1927 |
+
'ResourceId' => array(
|
1928 |
+
'type' => 'string',
|
1929 |
+
),
|
1930 |
+
'ResourceType' => array(
|
1931 |
+
'type' => 'string',
|
1932 |
+
),
|
1933 |
+
'Key' => array(
|
1934 |
+
'type' => 'string',
|
1935 |
+
),
|
1936 |
+
'Value' => array(
|
1937 |
+
'type' => 'string',
|
1938 |
+
),
|
1939 |
+
'PropagateAtLaunch' => array(
|
1940 |
+
'type' => 'boolean',
|
1941 |
+
),
|
1942 |
+
),
|
1943 |
+
),
|
1944 |
+
),
|
1945 |
+
'TerminationPolicies' => array(
|
1946 |
+
'type' => 'array',
|
1947 |
+
'items' => array(
|
1948 |
+
'name' => 'XmlStringMaxLen1600',
|
1949 |
+
'type' => 'string',
|
1950 |
+
'sentAs' => 'member',
|
1951 |
+
),
|
1952 |
+
),
|
1953 |
+
),
|
1954 |
+
),
|
1955 |
+
),
|
1956 |
+
'NextToken' => array(
|
1957 |
+
'type' => 'string',
|
1958 |
+
'location' => 'xml',
|
1959 |
+
),
|
1960 |
+
),
|
1961 |
+
),
|
1962 |
+
'AutoScalingInstancesType' => array(
|
1963 |
+
'type' => 'object',
|
1964 |
+
'additionalProperties' => true,
|
1965 |
+
'properties' => array(
|
1966 |
+
'AutoScalingInstances' => array(
|
1967 |
+
'type' => 'array',
|
1968 |
+
'location' => 'xml',
|
1969 |
+
'items' => array(
|
1970 |
+
'name' => 'AutoScalingInstanceDetails',
|
1971 |
+
'type' => 'object',
|
1972 |
+
'sentAs' => 'member',
|
1973 |
+
'properties' => array(
|
1974 |
+
'InstanceId' => array(
|
1975 |
+
'type' => 'string',
|
1976 |
+
),
|
1977 |
+
'AutoScalingGroupName' => array(
|
1978 |
+
'type' => 'string',
|
1979 |
+
),
|
1980 |
+
'AvailabilityZone' => array(
|
1981 |
+
'type' => 'string',
|
1982 |
+
),
|
1983 |
+
'LifecycleState' => array(
|
1984 |
+
'type' => 'string',
|
1985 |
+
),
|
1986 |
+
'HealthStatus' => array(
|
1987 |
+
'type' => 'string',
|
1988 |
+
),
|
1989 |
+
'LaunchConfigurationName' => array(
|
1990 |
+
'type' => 'string',
|
1991 |
+
),
|
1992 |
+
),
|
1993 |
+
),
|
1994 |
+
),
|
1995 |
+
'NextToken' => array(
|
1996 |
+
'type' => 'string',
|
1997 |
+
'location' => 'xml',
|
1998 |
+
),
|
1999 |
+
),
|
2000 |
+
),
|
2001 |
+
'DescribeAutoScalingNotificationTypesAnswer' => array(
|
2002 |
+
'type' => 'object',
|
2003 |
+
'additionalProperties' => true,
|
2004 |
+
'properties' => array(
|
2005 |
+
'AutoScalingNotificationTypes' => array(
|
2006 |
+
'type' => 'array',
|
2007 |
+
'location' => 'xml',
|
2008 |
+
'items' => array(
|
2009 |
+
'name' => 'XmlStringMaxLen255',
|
2010 |
+
'type' => 'string',
|
2011 |
+
'sentAs' => 'member',
|
2012 |
+
),
|
2013 |
+
),
|
2014 |
+
),
|
2015 |
+
),
|
2016 |
+
'LaunchConfigurationsType' => array(
|
2017 |
+
'type' => 'object',
|
2018 |
+
'additionalProperties' => true,
|
2019 |
+
'properties' => array(
|
2020 |
+
'LaunchConfigurations' => array(
|
2021 |
+
'type' => 'array',
|
2022 |
+
'location' => 'xml',
|
2023 |
+
'items' => array(
|
2024 |
+
'name' => 'LaunchConfiguration',
|
2025 |
+
'type' => 'object',
|
2026 |
+
'sentAs' => 'member',
|
2027 |
+
'properties' => array(
|
2028 |
+
'LaunchConfigurationName' => array(
|
2029 |
+
'type' => 'string',
|
2030 |
+
),
|
2031 |
+
'LaunchConfigurationARN' => array(
|
2032 |
+
'type' => 'string',
|
2033 |
+
),
|
2034 |
+
'ImageId' => array(
|
2035 |
+
'type' => 'string',
|
2036 |
+
),
|
2037 |
+
'KeyName' => array(
|
2038 |
+
'type' => 'string',
|
2039 |
+
),
|
2040 |
+
'SecurityGroups' => array(
|
2041 |
+
'type' => 'array',
|
2042 |
+
'items' => array(
|
2043 |
+
'name' => 'XmlString',
|
2044 |
+
'type' => 'string',
|
2045 |
+
'sentAs' => 'member',
|
2046 |
+
),
|
2047 |
+
),
|
2048 |
+
'UserData' => array(
|
2049 |
+
'type' => 'string',
|
2050 |
+
),
|
2051 |
+
'InstanceType' => array(
|
2052 |
+
'type' => 'string',
|
2053 |
+
),
|
2054 |
+
'KernelId' => array(
|
2055 |
+
'type' => 'string',
|
2056 |
+
),
|
2057 |
+
'RamdiskId' => array(
|
2058 |
+
'type' => 'string',
|
2059 |
+
),
|
2060 |
+
'BlockDeviceMappings' => array(
|
2061 |
+
'type' => 'array',
|
2062 |
+
'items' => array(
|
2063 |
+
'name' => 'BlockDeviceMapping',
|
2064 |
+
'type' => 'object',
|
2065 |
+
'sentAs' => 'member',
|
2066 |
+
'properties' => array(
|
2067 |
+
'VirtualName' => array(
|
2068 |
+
'type' => 'string',
|
2069 |
+
),
|
2070 |
+
'DeviceName' => array(
|
2071 |
+
'type' => 'string',
|
2072 |
+
),
|
2073 |
+
'Ebs' => array(
|
2074 |
+
'type' => 'object',
|
2075 |
+
'properties' => array(
|
2076 |
+
'SnapshotId' => array(
|
2077 |
+
'type' => 'string',
|
2078 |
+
),
|
2079 |
+
'VolumeSize' => array(
|
2080 |
+
'type' => 'numeric',
|
2081 |
+
),
|
2082 |
+
),
|
2083 |
+
),
|
2084 |
+
),
|
2085 |
+
),
|
2086 |
+
),
|
2087 |
+
'InstanceMonitoring' => array(
|
2088 |
+
'type' => 'object',
|
2089 |
+
'properties' => array(
|
2090 |
+
'Enabled' => array(
|
2091 |
+
'type' => 'boolean',
|
2092 |
+
),
|
2093 |
+
),
|
2094 |
+
),
|
2095 |
+
'SpotPrice' => array(
|
2096 |
+
'type' => 'string',
|
2097 |
+
),
|
2098 |
+
'IamInstanceProfile' => array(
|
2099 |
+
'type' => 'string',
|
2100 |
+
),
|
2101 |
+
'CreatedTime' => array(
|
2102 |
+
'type' => 'string',
|
2103 |
+
),
|
2104 |
+
'EbsOptimized' => array(
|
2105 |
+
'type' => 'boolean',
|
2106 |
+
),
|
2107 |
+
),
|
2108 |
+
),
|
2109 |
+
),
|
2110 |
+
'NextToken' => array(
|
2111 |
+
'type' => 'string',
|
2112 |
+
'location' => 'xml',
|
2113 |
+
),
|
2114 |
+
),
|
2115 |
+
),
|
2116 |
+
'DescribeMetricCollectionTypesAnswer' => array(
|
2117 |
+
'type' => 'object',
|
2118 |
+
'additionalProperties' => true,
|
2119 |
+
'properties' => array(
|
2120 |
+
'Metrics' => array(
|
2121 |
+
'type' => 'array',
|
2122 |
+
'location' => 'xml',
|
2123 |
+
'items' => array(
|
2124 |
+
'name' => 'MetricCollectionType',
|
2125 |
+
'type' => 'object',
|
2126 |
+
'sentAs' => 'member',
|
2127 |
+
'properties' => array(
|
2128 |
+
'Metric' => array(
|
2129 |
+
'type' => 'string',
|
2130 |
+
),
|
2131 |
+
),
|
2132 |
+
),
|
2133 |
+
),
|
2134 |
+
'Granularities' => array(
|
2135 |
+
'type' => 'array',
|
2136 |
+
'location' => 'xml',
|
2137 |
+
'items' => array(
|
2138 |
+
'name' => 'MetricGranularityType',
|
2139 |
+
'type' => 'object',
|
2140 |
+
'sentAs' => 'member',
|
2141 |
+
'properties' => array(
|
2142 |
+
'Granularity' => array(
|
2143 |
+
'type' => 'string',
|
2144 |
+
),
|
2145 |
+
),
|
2146 |
+
),
|
2147 |
+
),
|
2148 |
+
),
|
2149 |
+
),
|
2150 |
+
'DescribeNotificationConfigurationsAnswer' => array(
|
2151 |
+
'type' => 'object',
|
2152 |
+
'additionalProperties' => true,
|
2153 |
+
'properties' => array(
|
2154 |
+
'NotificationConfigurations' => array(
|
2155 |
+
'type' => 'array',
|
2156 |
+
'location' => 'xml',
|
2157 |
+
'items' => array(
|
2158 |
+
'name' => 'NotificationConfiguration',
|
2159 |
+
'type' => 'object',
|
2160 |
+
'sentAs' => 'member',
|
2161 |
+
'properties' => array(
|
2162 |
+
'AutoScalingGroupName' => array(
|
2163 |
+
'type' => 'string',
|
2164 |
+
),
|
2165 |
+
'TopicARN' => array(
|
2166 |
+
'type' => 'string',
|
2167 |
+
),
|
2168 |
+
'NotificationType' => array(
|
2169 |
+
'type' => 'string',
|
2170 |
+
),
|
2171 |
+
),
|
2172 |
+
),
|
2173 |
+
),
|
2174 |
+
'NextToken' => array(
|
2175 |
+
'type' => 'string',
|
2176 |
+
'location' => 'xml',
|
2177 |
+
),
|
2178 |
+
),
|
2179 |
+
),
|
2180 |
+
'PoliciesType' => array(
|
2181 |
+
'type' => 'object',
|
2182 |
+
'additionalProperties' => true,
|
2183 |
+
'properties' => array(
|
2184 |
+
'ScalingPolicies' => array(
|
2185 |
+
'type' => 'array',
|
2186 |
+
'location' => 'xml',
|
2187 |
+
'items' => array(
|
2188 |
+
'name' => 'ScalingPolicy',
|
2189 |
+
'type' => 'object',
|
2190 |
+
'sentAs' => 'member',
|
2191 |
+
'properties' => array(
|
2192 |
+
'AutoScalingGroupName' => array(
|
2193 |
+
'type' => 'string',
|
2194 |
+
),
|
2195 |
+
'PolicyName' => array(
|
2196 |
+
'type' => 'string',
|
2197 |
+
),
|
2198 |
+
'ScalingAdjustment' => array(
|
2199 |
+
'type' => 'numeric',
|
2200 |
+
),
|
2201 |
+
'AdjustmentType' => array(
|
2202 |
+
'type' => 'string',
|
2203 |
+
),
|
2204 |
+
'Cooldown' => array(
|
2205 |
+
'type' => 'numeric',
|
2206 |
+
),
|
2207 |
+
'PolicyARN' => array(
|
2208 |
+
'type' => 'string',
|
2209 |
+
),
|
2210 |
+
'Alarms' => array(
|
2211 |
+
'type' => 'array',
|
2212 |
+
'items' => array(
|
2213 |
+
'name' => 'Alarm',
|
2214 |
+
'type' => 'object',
|
2215 |
+
'sentAs' => 'member',
|
2216 |
+
'properties' => array(
|
2217 |
+
'AlarmName' => array(
|
2218 |
+
'type' => 'string',
|
2219 |
+
),
|
2220 |
+
'AlarmARN' => array(
|
2221 |
+
'type' => 'string',
|
2222 |
+
),
|
2223 |
+
),
|
2224 |
+
),
|
2225 |
+
),
|
2226 |
+
'MinAdjustmentStep' => array(
|
2227 |
+
'type' => 'numeric',
|
2228 |
+
),
|
2229 |
+
),
|
2230 |
+
),
|
2231 |
+
),
|
2232 |
+
'NextToken' => array(
|
2233 |
+
'type' => 'string',
|
2234 |
+
'location' => 'xml',
|
2235 |
+
),
|
2236 |
+
),
|
2237 |
+
),
|
2238 |
+
'ActivitiesType' => array(
|
2239 |
+
'type' => 'object',
|
2240 |
+
'additionalProperties' => true,
|
2241 |
+
'properties' => array(
|
2242 |
+
'Activities' => array(
|
2243 |
+
'type' => 'array',
|
2244 |
+
'location' => 'xml',
|
2245 |
+
'items' => array(
|
2246 |
+
'name' => 'Activity',
|
2247 |
+
'type' => 'object',
|
2248 |
+
'sentAs' => 'member',
|
2249 |
+
'properties' => array(
|
2250 |
+
'ActivityId' => array(
|
2251 |
+
'type' => 'string',
|
2252 |
+
),
|
2253 |
+
'AutoScalingGroupName' => array(
|
2254 |
+
'type' => 'string',
|
2255 |
+
),
|
2256 |
+
'Description' => array(
|
2257 |
+
'type' => 'string',
|
2258 |
+
),
|
2259 |
+
'Cause' => array(
|
2260 |
+
'type' => 'string',
|
2261 |
+
),
|
2262 |
+
'StartTime' => array(
|
2263 |
+
'type' => 'string',
|
2264 |
+
),
|
2265 |
+
'EndTime' => array(
|
2266 |
+
'type' => 'string',
|
2267 |
+
),
|
2268 |
+
'StatusCode' => array(
|
2269 |
+
'type' => 'string',
|
2270 |
+
),
|
2271 |
+
'StatusMessage' => array(
|
2272 |
+
'type' => 'string',
|
2273 |
+
),
|
2274 |
+
'Progress' => array(
|
2275 |
+
'type' => 'numeric',
|
2276 |
+
),
|
2277 |
+
'Details' => array(
|
2278 |
+
'type' => 'string',
|
2279 |
+
),
|
2280 |
+
),
|
2281 |
+
),
|
2282 |
+
),
|
2283 |
+
'NextToken' => array(
|
2284 |
+
'type' => 'string',
|
2285 |
+
'location' => 'xml',
|
2286 |
+
),
|
2287 |
+
),
|
2288 |
+
),
|
2289 |
+
'ProcessesType' => array(
|
2290 |
+
'type' => 'object',
|
2291 |
+
'additionalProperties' => true,
|
2292 |
+
'properties' => array(
|
2293 |
+
'Processes' => array(
|
2294 |
+
'type' => 'array',
|
2295 |
+
'location' => 'xml',
|
2296 |
+
'items' => array(
|
2297 |
+
'name' => 'ProcessType',
|
2298 |
+
'type' => 'object',
|
2299 |
+
'sentAs' => 'member',
|
2300 |
+
'properties' => array(
|
2301 |
+
'ProcessName' => array(
|
2302 |
+
'type' => 'string',
|
2303 |
+
),
|
2304 |
+
),
|
2305 |
+
),
|
2306 |
+
),
|
2307 |
+
),
|
2308 |
+
),
|
2309 |
+
'ScheduledActionsType' => array(
|
2310 |
+
'type' => 'object',
|
2311 |
+
'additionalProperties' => true,
|
2312 |
+
'properties' => array(
|
2313 |
+
'ScheduledUpdateGroupActions' => array(
|
2314 |
+
'type' => 'array',
|
2315 |
+
'location' => 'xml',
|
2316 |
+
'items' => array(
|
2317 |
+
'name' => 'ScheduledUpdateGroupAction',
|
2318 |
+
'type' => 'object',
|
2319 |
+
'sentAs' => 'member',
|
2320 |
+
'properties' => array(
|
2321 |
+
'AutoScalingGroupName' => array(
|
2322 |
+
'type' => 'string',
|
2323 |
+
),
|
2324 |
+
'ScheduledActionName' => array(
|
2325 |
+
'type' => 'string',
|
2326 |
+
),
|
2327 |
+
'ScheduledActionARN' => array(
|
2328 |
+
'type' => 'string',
|
2329 |
+
),
|
2330 |
+
'Time' => array(
|
2331 |
+
'type' => 'string',
|
2332 |
+
),
|
2333 |
+
'StartTime' => array(
|
2334 |
+
'type' => 'string',
|
2335 |
+
),
|
2336 |
+
'EndTime' => array(
|
2337 |
+
'type' => 'string',
|
2338 |
+
),
|
2339 |
+
'Recurrence' => array(
|
2340 |
+
'type' => 'string',
|
2341 |
+
),
|
2342 |
+
'MinSize' => array(
|
2343 |
+
'type' => 'numeric',
|
2344 |
+
),
|
2345 |
+
'MaxSize' => array(
|
2346 |
+
'type' => 'numeric',
|
2347 |
+
),
|
2348 |
+
'DesiredCapacity' => array(
|
2349 |
+
'type' => 'numeric',
|
2350 |
+
),
|
2351 |
+
),
|
2352 |
+
),
|
2353 |
+
),
|
2354 |
+
'NextToken' => array(
|
2355 |
+
'type' => 'string',
|
2356 |
+
'location' => 'xml',
|
2357 |
+
),
|
2358 |
+
),
|
2359 |
+
),
|
2360 |
+
'TagsType' => array(
|
2361 |
+
'type' => 'object',
|
2362 |
+
'additionalProperties' => true,
|
2363 |
+
'properties' => array(
|
2364 |
+
'Tags' => array(
|
2365 |
+
'type' => 'array',
|
2366 |
+
'location' => 'xml',
|
2367 |
+
'items' => array(
|
2368 |
+
'name' => 'TagDescription',
|
2369 |
+
'type' => 'object',
|
2370 |
+
'sentAs' => 'member',
|
2371 |
+
'properties' => array(
|
2372 |
+
'ResourceId' => array(
|
2373 |
+
'type' => 'string',
|
2374 |
+
),
|
2375 |
+
'ResourceType' => array(
|
2376 |
+
'type' => 'string',
|
2377 |
+
),
|
2378 |
+
'Key' => array(
|
2379 |
+
'type' => 'string',
|
2380 |
+
),
|
2381 |
+
'Value' => array(
|
2382 |
+
'type' => 'string',
|
2383 |
+
),
|
2384 |
+
'PropagateAtLaunch' => array(
|
2385 |
+
'type' => 'boolean',
|
2386 |
+
),
|
2387 |
+
),
|
2388 |
+
),
|
2389 |
+
),
|
2390 |
+
'NextToken' => array(
|
2391 |
+
'type' => 'string',
|
2392 |
+
'location' => 'xml',
|
2393 |
+
),
|
2394 |
+
),
|
2395 |
+
),
|
2396 |
+
'DescribeTerminationPolicyTypesAnswer' => array(
|
2397 |
+
'type' => 'object',
|
2398 |
+
'additionalProperties' => true,
|
2399 |
+
'properties' => array(
|
2400 |
+
'TerminationPolicyTypes' => array(
|
2401 |
+
'type' => 'array',
|
2402 |
+
'location' => 'xml',
|
2403 |
+
'items' => array(
|
2404 |
+
'name' => 'XmlStringMaxLen1600',
|
2405 |
+
'type' => 'string',
|
2406 |
+
'sentAs' => 'member',
|
2407 |
+
),
|
2408 |
+
),
|
2409 |
+
),
|
2410 |
+
),
|
2411 |
+
'PolicyARNType' => array(
|
2412 |
+
'type' => 'object',
|
2413 |
+
'additionalProperties' => true,
|
2414 |
+
'properties' => array(
|
2415 |
+
'PolicyARN' => array(
|
2416 |
+
'type' => 'string',
|
2417 |
+
'location' => 'xml',
|
2418 |
+
),
|
2419 |
+
),
|
2420 |
+
),
|
2421 |
+
'ActivityType' => array(
|
2422 |
+
'type' => 'object',
|
2423 |
+
'additionalProperties' => true,
|
2424 |
+
'properties' => array(
|
2425 |
+
'Activity' => array(
|
2426 |
+
'type' => 'object',
|
2427 |
+
'location' => 'xml',
|
2428 |
+
'properties' => array(
|
2429 |
+
'ActivityId' => array(
|
2430 |
+
'type' => 'string',
|
2431 |
+
),
|
2432 |
+
'AutoScalingGroupName' => array(
|
2433 |
+
'type' => 'string',
|
2434 |
+
),
|
2435 |
+
'Description' => array(
|
2436 |
+
'type' => 'string',
|
2437 |
+
),
|
2438 |
+
'Cause' => array(
|
2439 |
+
'type' => 'string',
|
2440 |
+
),
|
2441 |
+
'StartTime' => array(
|
2442 |
+
'type' => 'string',
|
2443 |
+
),
|
2444 |
+
'EndTime' => array(
|
2445 |
+
'type' => 'string',
|
2446 |
+
),
|
2447 |
+
'StatusCode' => array(
|
2448 |
+
'type' => 'string',
|
2449 |
+
),
|
2450 |
+
'StatusMessage' => array(
|
2451 |
+
'type' => 'string',
|
2452 |
+
),
|
2453 |
+
'Progress' => array(
|
2454 |
+
'type' => 'numeric',
|
2455 |
+
),
|
2456 |
+
'Details' => array(
|
2457 |
+
'type' => 'string',
|
2458 |
+
),
|
2459 |
+
),
|
2460 |
+
),
|
2461 |
+
),
|
2462 |
+
),
|
2463 |
+
),
|
2464 |
+
'iterators' => array(
|
2465 |
+
'operations' => array(
|
2466 |
+
'DescribeAutoScalingGroups' => array(
|
2467 |
+
'token_param' => 'NextToken',
|
2468 |
+
'token_key' => 'NextToken',
|
2469 |
+
'limit_key' => 'MaxRecords',
|
2470 |
+
'result_key' => 'AutoScalingGroups',
|
2471 |
+
),
|
2472 |
+
'DescribeAutoScalingInstances' => array(
|
2473 |
+
'token_param' => 'NextToken',
|
2474 |
+
'token_key' => 'NextToken',
|
2475 |
+
'limit_key' => 'MaxRecords',
|
2476 |
+
'result_key' => 'AutoScalingInstances',
|
2477 |
+
),
|
2478 |
+
'DescribeLaunchConfigurations' => array(
|
2479 |
+
'token_param' => 'NextToken',
|
2480 |
+
'token_key' => 'NextToken',
|
2481 |
+
'limit_key' => 'MaxRecords',
|
2482 |
+
'result_key' => 'LaunchConfigurations',
|
2483 |
+
),
|
2484 |
+
'DescribeNotificationConfigurations' => array(
|
2485 |
+
'token_param' => 'NextToken',
|
2486 |
+
'token_key' => 'NextToken',
|
2487 |
+
'limit_key' => 'MaxRecords',
|
2488 |
+
'result_key' => 'NotificationConfigurations',
|
2489 |
+
),
|
2490 |
+
'DescribePolicies' => array(
|
2491 |
+
'token_param' => 'NextToken',
|
2492 |
+
'token_key' => 'NextToken',
|
2493 |
+
'limit_key' => 'MaxRecords',
|
2494 |
+
'result_key' => 'ScalingPolicies',
|
2495 |
+
),
|
2496 |
+
'DescribeScalingActivities' => array(
|
2497 |
+
'token_param' => 'NextToken',
|
2498 |
+
'token_key' => 'NextToken',
|
2499 |
+
'limit_key' => 'MaxRecords',
|
2500 |
+
'result_key' => 'Activities',
|
2501 |
+
),
|
2502 |
+
'DescribeScheduledActions' => array(
|
2503 |
+
'token_param' => 'NextToken',
|
2504 |
+
'token_key' => 'NextToken',
|
2505 |
+
'limit_key' => 'MaxRecords',
|
2506 |
+
'result_key' => 'ScheduledUpdateGroupActions',
|
2507 |
+
),
|
2508 |
+
'DescribeTags' => array(
|
2509 |
+
'token_param' => 'NextToken',
|
2510 |
+
'token_key' => 'NextToken',
|
2511 |
+
'limit_key' => 'MaxRecords',
|
2512 |
+
'result_key' => 'Tags',
|
2513 |
+
),
|
2514 |
+
),
|
2515 |
+
),
|
2516 |
+
);
|
vendor/aws/Aws/CloudFormation/CloudFormationClient.php
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation;
|
18 |
+
|
19 |
+
use Aws\Common\Client\AbstractClient;
|
20 |
+
use Aws\Common\Client\ClientBuilder;
|
21 |
+
use Aws\Common\Enum\ClientOptions as Options;
|
22 |
+
use Guzzle\Common\Collection;
|
23 |
+
use Guzzle\Service\Resource\Model;
|
24 |
+
use Guzzle\Service\Resource\ResourceIteratorInterface;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Client to interact with AWS CloudFormation
|
28 |
+
*
|
29 |
+
* @method Model cancelUpdateStack(array $args = array()) {@command CloudFormation CancelUpdateStack}
|
30 |
+
* @method Model createStack(array $args = array()) {@command CloudFormation CreateStack}
|
31 |
+
* @method Model deleteStack(array $args = array()) {@command CloudFormation DeleteStack}
|
32 |
+
* @method Model describeStackEvents(array $args = array()) {@command CloudFormation DescribeStackEvents}
|
33 |
+
* @method Model describeStackResource(array $args = array()) {@command CloudFormation DescribeStackResource}
|
34 |
+
* @method Model describeStackResources(array $args = array()) {@command CloudFormation DescribeStackResources}
|
35 |
+
* @method Model describeStacks(array $args = array()) {@command CloudFormation DescribeStacks}
|
36 |
+
* @method Model estimateTemplateCost(array $args = array()) {@command CloudFormation EstimateTemplateCost}
|
37 |
+
* @method Model getTemplate(array $args = array()) {@command CloudFormation GetTemplate}
|
38 |
+
* @method Model listStackResources(array $args = array()) {@command CloudFormation ListStackResources}
|
39 |
+
* @method Model listStacks(array $args = array()) {@command CloudFormation ListStacks}
|
40 |
+
* @method Model updateStack(array $args = array()) {@command CloudFormation UpdateStack}
|
41 |
+
* @method Model validateTemplate(array $args = array()) {@command CloudFormation ValidateTemplate}
|
42 |
+
* @method ResourceIteratorInterface getDescribeStackEventsIterator(array $args = array()) The input array uses the parameters of the DescribeStackEvents operation
|
43 |
+
* @method ResourceIteratorInterface getDescribeStacksIterator(array $args = array()) The input array uses the parameters of the DescribeStacks operation
|
44 |
+
* @method ResourceIteratorInterface getListStackResourcesIterator(array $args = array()) The input array uses the parameters of the ListStackResources operation
|
45 |
+
* @method ResourceIteratorInterface getListStacksIterator(array $args = array()) The input array uses the parameters of the ListStacks operation
|
46 |
+
*
|
47 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudformation.html User guide
|
48 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudFormation.CloudFormationClient.html API docs
|
49 |
+
*/
|
50 |
+
class CloudFormationClient extends AbstractClient
|
51 |
+
{
|
52 |
+
const LATEST_API_VERSION = '2010-05-15';
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Factory method to create a new AWS CloudFormation client using an array of configuration options.
|
56 |
+
*
|
57 |
+
* @param array|Collection $config Client configuration data
|
58 |
+
*
|
59 |
+
* @return self
|
60 |
+
* @see \Aws\Common\Client\DefaultClient for a list of available configuration options
|
61 |
+
*/
|
62 |
+
public static function factory($config = array())
|
63 |
+
{
|
64 |
+
return ClientBuilder::factory(__NAMESPACE__)
|
65 |
+
->setConfig($config)
|
66 |
+
->setConfigDefaults(array(
|
67 |
+
Options::VERSION => self::LATEST_API_VERSION,
|
68 |
+
Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudformation-%s.php'
|
69 |
+
))
|
70 |
+
->build();
|
71 |
+
}
|
72 |
+
}
|
vendor/aws/Aws/CloudFormation/Enum/Capability.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable Capability values
|
23 |
+
*/
|
24 |
+
class Capability extends Enum
|
25 |
+
{
|
26 |
+
const CAPABILITY_IAM = 'CAPABILITY_IAM';
|
27 |
+
}
|
vendor/aws/Aws/CloudFormation/Enum/OnFailure.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable OnFailure values
|
23 |
+
*/
|
24 |
+
class OnFailure extends Enum
|
25 |
+
{
|
26 |
+
const DO_NOTHING = 'DO_NOTHING';
|
27 |
+
const ROLLBACK = 'ROLLBACK';
|
28 |
+
const DELETE = 'DELETE';
|
29 |
+
}
|
vendor/aws/Aws/CloudFormation/Enum/ResourceStatus.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable ResourceStatus values
|
23 |
+
*/
|
24 |
+
class ResourceStatus extends Enum
|
25 |
+
{
|
26 |
+
const CREATE_IN_PROGRESS = 'CREATE_IN_PROGRESS';
|
27 |
+
const CREATE_FAILED = 'CREATE_FAILED';
|
28 |
+
const CREATE_COMPLETE = 'CREATE_COMPLETE';
|
29 |
+
const DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS';
|
30 |
+
const DELETE_FAILED = 'DELETE_FAILED';
|
31 |
+
const DELETE_COMPLETE = 'DELETE_COMPLETE';
|
32 |
+
const UPDATE_IN_PROGRESS = 'UPDATE_IN_PROGRESS';
|
33 |
+
const UPDATE_FAILED = 'UPDATE_FAILED';
|
34 |
+
const UPDATE_COMPLETE = 'UPDATE_COMPLETE';
|
35 |
+
}
|
vendor/aws/Aws/CloudFormation/Enum/StackStatus.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable StackStatus values
|
23 |
+
*/
|
24 |
+
class StackStatus extends Enum
|
25 |
+
{
|
26 |
+
const CREATE_IN_PROGRESS = 'CREATE_IN_PROGRESS';
|
27 |
+
const CREATE_FAILED = 'CREATE_FAILED';
|
28 |
+
const CREATE_COMPLETE = 'CREATE_COMPLETE';
|
29 |
+
const ROLLBACK_IN_PROGRESS = 'ROLLBACK_IN_PROGRESS';
|
30 |
+
const ROLLBACK_FAILED = 'ROLLBACK_FAILED';
|
31 |
+
const ROLLBACK_COMPLETE = 'ROLLBACK_COMPLETE';
|
32 |
+
const DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS';
|
33 |
+
const DELETE_FAILED = 'DELETE_FAILED';
|
34 |
+
const DELETE_COMPLETE = 'DELETE_COMPLETE';
|
35 |
+
const UPDATE_IN_PROGRESS = 'UPDATE_IN_PROGRESS';
|
36 |
+
const UPDATE_COMPLETE_CLEANUP_IN_PROGRESS = 'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS';
|
37 |
+
const UPDATE_COMPLETE = 'UPDATE_COMPLETE';
|
38 |
+
const UPDATE_ROLLBACK_IN_PROGRESS = 'UPDATE_ROLLBACK_IN_PROGRESS';
|
39 |
+
const UPDATE_ROLLBACK_FAILED = 'UPDATE_ROLLBACK_FAILED';
|
40 |
+
const UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS = 'UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS';
|
41 |
+
const UPDATE_ROLLBACK_COMPLETE = 'UPDATE_ROLLBACK_COMPLETE';
|
42 |
+
}
|
vendor/aws/Aws/CloudFormation/Exception/AlreadyExistsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Resource with the name requested already exists.
|
21 |
+
*/
|
22 |
+
class AlreadyExistsException extends CloudFormationException {}
|
vendor/aws/Aws/CloudFormation/Exception/CloudFormationException.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Exception;
|
18 |
+
|
19 |
+
use Aws\Common\Exception\ServiceResponseException;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Default service exception class
|
23 |
+
*/
|
24 |
+
class CloudFormationException extends ServiceResponseException {}
|
vendor/aws/Aws/CloudFormation/Exception/InsufficientCapabilitiesException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The template contains resources with capabilities that were not specified in the Capabilities parameter.
|
21 |
+
*/
|
22 |
+
class InsufficientCapabilitiesException extends CloudFormationException {}
|
vendor/aws/Aws/CloudFormation/Exception/LimitExceededException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFormation\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Quota for the resource has already been reached.
|
21 |
+
*/
|
22 |
+
class LimitExceededException extends CloudFormationException {}
|
vendor/aws/Aws/CloudFormation/Resources/cloudformation-2010-05-15.php
ADDED
@@ -0,0 +1,1068 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
return array (
|
18 |
+
'apiVersion' => '2010-05-15',
|
19 |
+
'endpointPrefix' => 'cloudformation',
|
20 |
+
'serviceFullName' => 'AWS CloudFormation',
|
21 |
+
'serviceType' => 'query',
|
22 |
+
'resultWrapped' => true,
|
23 |
+
'signatureVersion' => 'v4',
|
24 |
+
'namespace' => 'CloudFormation',
|
25 |
+
'regions' => array(
|
26 |
+
'us-east-1' => array(
|
27 |
+
'http' => false,
|
28 |
+
'https' => true,
|
29 |
+
'hostname' => 'cloudformation.us-east-1.amazonaws.com',
|
30 |
+
),
|
31 |
+
'us-west-1' => array(
|
32 |
+
'http' => false,
|
33 |
+
'https' => true,
|
34 |
+
'hostname' => 'cloudformation.us-west-1.amazonaws.com',
|
35 |
+
),
|
36 |
+
'us-west-2' => array(
|
37 |
+
'http' => false,
|
38 |
+
'https' => true,
|
39 |
+
'hostname' => 'cloudformation.us-west-2.amazonaws.com',
|
40 |
+
),
|
41 |
+
'eu-west-1' => array(
|
42 |
+
'http' => false,
|
43 |
+
'https' => true,
|
44 |
+
'hostname' => 'cloudformation.eu-west-1.amazonaws.com',
|
45 |
+
),
|
46 |
+
'ap-northeast-1' => array(
|
47 |
+
'http' => false,
|
48 |
+
'https' => true,
|
49 |
+
'hostname' => 'cloudformation.ap-northeast-1.amazonaws.com',
|
50 |
+
),
|
51 |
+
'ap-southeast-1' => array(
|
52 |
+
'http' => false,
|
53 |
+
'https' => true,
|
54 |
+
'hostname' => 'cloudformation.ap-southeast-1.amazonaws.com',
|
55 |
+
),
|
56 |
+
'ap-southeast-2' => array(
|
57 |
+
'http' => false,
|
58 |
+
'https' => true,
|
59 |
+
'hostname' => 'cloudformation.ap-southeast-2.amazonaws.com',
|
60 |
+
),
|
61 |
+
'sa-east-1' => array(
|
62 |
+
'http' => false,
|
63 |
+
'https' => true,
|
64 |
+
'hostname' => 'cloudformation.sa-east-1.amazonaws.com',
|
65 |
+
),
|
66 |
+
),
|
67 |
+
'operations' => array(
|
68 |
+
'CancelUpdateStack' => array(
|
69 |
+
'httpMethod' => 'POST',
|
70 |
+
'uri' => '/',
|
71 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
72 |
+
'responseClass' => 'EmptyOutput',
|
73 |
+
'responseType' => 'model',
|
74 |
+
'parameters' => array(
|
75 |
+
'Action' => array(
|
76 |
+
'static' => true,
|
77 |
+
'location' => 'aws.query',
|
78 |
+
'default' => 'CancelUpdateStack',
|
79 |
+
),
|
80 |
+
'Version' => array(
|
81 |
+
'static' => true,
|
82 |
+
'location' => 'aws.query',
|
83 |
+
'default' => '2010-05-15',
|
84 |
+
),
|
85 |
+
'StackName' => array(
|
86 |
+
'required' => true,
|
87 |
+
'type' => 'string',
|
88 |
+
'location' => 'aws.query',
|
89 |
+
),
|
90 |
+
),
|
91 |
+
),
|
92 |
+
'CreateStack' => array(
|
93 |
+
'httpMethod' => 'POST',
|
94 |
+
'uri' => '/',
|
95 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
96 |
+
'responseClass' => 'CreateStackOutput',
|
97 |
+
'responseType' => 'model',
|
98 |
+
'parameters' => array(
|
99 |
+
'Action' => array(
|
100 |
+
'static' => true,
|
101 |
+
'location' => 'aws.query',
|
102 |
+
'default' => 'CreateStack',
|
103 |
+
),
|
104 |
+
'Version' => array(
|
105 |
+
'static' => true,
|
106 |
+
'location' => 'aws.query',
|
107 |
+
'default' => '2010-05-15',
|
108 |
+
),
|
109 |
+
'StackName' => array(
|
110 |
+
'required' => true,
|
111 |
+
'type' => 'string',
|
112 |
+
'location' => 'aws.query',
|
113 |
+
),
|
114 |
+
'TemplateBody' => array(
|
115 |
+
'type' => 'string',
|
116 |
+
'location' => 'aws.query',
|
117 |
+
'minLength' => 1,
|
118 |
+
'maxLength' => 51200,
|
119 |
+
),
|
120 |
+
'TemplateURL' => array(
|
121 |
+
'type' => 'string',
|
122 |
+
'location' => 'aws.query',
|
123 |
+
'minLength' => 1,
|
124 |
+
'maxLength' => 1024,
|
125 |
+
),
|
126 |
+
'Parameters' => array(
|
127 |
+
'type' => 'array',
|
128 |
+
'location' => 'aws.query',
|
129 |
+
'sentAs' => 'Parameters.member',
|
130 |
+
'items' => array(
|
131 |
+
'name' => 'Parameter',
|
132 |
+
'type' => 'object',
|
133 |
+
'properties' => array(
|
134 |
+
'ParameterKey' => array(
|
135 |
+
'type' => 'string',
|
136 |
+
),
|
137 |
+
'ParameterValue' => array(
|
138 |
+
'type' => 'string',
|
139 |
+
),
|
140 |
+
),
|
141 |
+
),
|
142 |
+
),
|
143 |
+
'DisableRollback' => array(
|
144 |
+
'type' => 'boolean',
|
145 |
+
'format' => 'boolean-string',
|
146 |
+
'location' => 'aws.query',
|
147 |
+
),
|
148 |
+
'TimeoutInMinutes' => array(
|
149 |
+
'type' => 'numeric',
|
150 |
+
'location' => 'aws.query',
|
151 |
+
'minimum' => 1,
|
152 |
+
),
|
153 |
+
'NotificationARNs' => array(
|
154 |
+
'type' => 'array',
|
155 |
+
'location' => 'aws.query',
|
156 |
+
'sentAs' => 'NotificationARNs.member',
|
157 |
+
'maxItems' => 5,
|
158 |
+
'items' => array(
|
159 |
+
'name' => 'NotificationARN',
|
160 |
+
'type' => 'string',
|
161 |
+
),
|
162 |
+
),
|
163 |
+
'Capabilities' => array(
|
164 |
+
'type' => 'array',
|
165 |
+
'location' => 'aws.query',
|
166 |
+
'sentAs' => 'Capabilities.member',
|
167 |
+
'items' => array(
|
168 |
+
'name' => 'Capability',
|
169 |
+
'type' => 'string',
|
170 |
+
'enum' => array(
|
171 |
+
'CAPABILITY_IAM',
|
172 |
+
),
|
173 |
+
),
|
174 |
+
),
|
175 |
+
'OnFailure' => array(
|
176 |
+
'type' => 'string',
|
177 |
+
'location' => 'aws.query',
|
178 |
+
'enum' => array(
|
179 |
+
'DO_NOTHING',
|
180 |
+
'ROLLBACK',
|
181 |
+
'DELETE',
|
182 |
+
),
|
183 |
+
),
|
184 |
+
'Tags' => array(
|
185 |
+
'type' => 'array',
|
186 |
+
'location' => 'aws.query',
|
187 |
+
'sentAs' => 'Tags.member',
|
188 |
+
'items' => array(
|
189 |
+
'name' => 'Tag',
|
190 |
+
'type' => 'object',
|
191 |
+
'properties' => array(
|
192 |
+
'Key' => array(
|
193 |
+
'type' => 'string',
|
194 |
+
),
|
195 |
+
'Value' => array(
|
196 |
+
'type' => 'string',
|
197 |
+
),
|
198 |
+
),
|
199 |
+
),
|
200 |
+
),
|
201 |
+
),
|
202 |
+
'errorResponses' => array(
|
203 |
+
array(
|
204 |
+
'reason' => 'Quota for the resource has already been reached.',
|
205 |
+
'class' => 'LimitExceededException',
|
206 |
+
),
|
207 |
+
array(
|
208 |
+
'reason' => 'Resource with the name requested already exists.',
|
209 |
+
'class' => 'AlreadyExistsException',
|
210 |
+
),
|
211 |
+
array(
|
212 |
+
'reason' => 'The template contains resources with capabilities that were not specified in the Capabilities parameter.',
|
213 |
+
'class' => 'InsufficientCapabilitiesException',
|
214 |
+
),
|
215 |
+
),
|
216 |
+
),
|
217 |
+
'DeleteStack' => array(
|
218 |
+
'httpMethod' => 'POST',
|
219 |
+
'uri' => '/',
|
220 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
221 |
+
'responseClass' => 'EmptyOutput',
|
222 |
+
'responseType' => 'model',
|
223 |
+
'parameters' => array(
|
224 |
+
'Action' => array(
|
225 |
+
'static' => true,
|
226 |
+
'location' => 'aws.query',
|
227 |
+
'default' => 'DeleteStack',
|
228 |
+
),
|
229 |
+
'Version' => array(
|
230 |
+
'static' => true,
|
231 |
+
'location' => 'aws.query',
|
232 |
+
'default' => '2010-05-15',
|
233 |
+
),
|
234 |
+
'StackName' => array(
|
235 |
+
'required' => true,
|
236 |
+
'type' => 'string',
|
237 |
+
'location' => 'aws.query',
|
238 |
+
),
|
239 |
+
),
|
240 |
+
),
|
241 |
+
'DescribeStackEvents' => array(
|
242 |
+
'httpMethod' => 'POST',
|
243 |
+
'uri' => '/',
|
244 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
245 |
+
'responseClass' => 'DescribeStackEventsOutput',
|
246 |
+
'responseType' => 'model',
|
247 |
+
'parameters' => array(
|
248 |
+
'Action' => array(
|
249 |
+
'static' => true,
|
250 |
+
'location' => 'aws.query',
|
251 |
+
'default' => 'DescribeStackEvents',
|
252 |
+
),
|
253 |
+
'Version' => array(
|
254 |
+
'static' => true,
|
255 |
+
'location' => 'aws.query',
|
256 |
+
'default' => '2010-05-15',
|
257 |
+
),
|
258 |
+
'StackName' => array(
|
259 |
+
'type' => 'string',
|
260 |
+
'location' => 'aws.query',
|
261 |
+
),
|
262 |
+
'NextToken' => array(
|
263 |
+
'type' => 'string',
|
264 |
+
'location' => 'aws.query',
|
265 |
+
'minLength' => 1,
|
266 |
+
'maxLength' => 1024,
|
267 |
+
),
|
268 |
+
),
|
269 |
+
),
|
270 |
+
'DescribeStackResource' => array(
|
271 |
+
'httpMethod' => 'POST',
|
272 |
+
'uri' => '/',
|
273 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
274 |
+
'responseClass' => 'DescribeStackResourceOutput',
|
275 |
+
'responseType' => 'model',
|
276 |
+
'parameters' => array(
|
277 |
+
'Action' => array(
|
278 |
+
'static' => true,
|
279 |
+
'location' => 'aws.query',
|
280 |
+
'default' => 'DescribeStackResource',
|
281 |
+
),
|
282 |
+
'Version' => array(
|
283 |
+
'static' => true,
|
284 |
+
'location' => 'aws.query',
|
285 |
+
'default' => '2010-05-15',
|
286 |
+
),
|
287 |
+
'StackName' => array(
|
288 |
+
'required' => true,
|
289 |
+
'type' => 'string',
|
290 |
+
'location' => 'aws.query',
|
291 |
+
),
|
292 |
+
'LogicalResourceId' => array(
|
293 |
+
'required' => true,
|
294 |
+
'type' => 'string',
|
295 |
+
'location' => 'aws.query',
|
296 |
+
),
|
297 |
+
),
|
298 |
+
),
|
299 |
+
'DescribeStackResources' => array(
|
300 |
+
'httpMethod' => 'POST',
|
301 |
+
'uri' => '/',
|
302 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
303 |
+
'responseClass' => 'DescribeStackResourcesOutput',
|
304 |
+
'responseType' => 'model',
|
305 |
+
'parameters' => array(
|
306 |
+
'Action' => array(
|
307 |
+
'static' => true,
|
308 |
+
'location' => 'aws.query',
|
309 |
+
'default' => 'DescribeStackResources',
|
310 |
+
),
|
311 |
+
'Version' => array(
|
312 |
+
'static' => true,
|
313 |
+
'location' => 'aws.query',
|
314 |
+
'default' => '2010-05-15',
|
315 |
+
),
|
316 |
+
'StackName' => array(
|
317 |
+
'type' => 'string',
|
318 |
+
'location' => 'aws.query',
|
319 |
+
),
|
320 |
+
'LogicalResourceId' => array(
|
321 |
+
'type' => 'string',
|
322 |
+
'location' => 'aws.query',
|
323 |
+
),
|
324 |
+
'PhysicalResourceId' => array(
|
325 |
+
'type' => 'string',
|
326 |
+
'location' => 'aws.query',
|
327 |
+
),
|
328 |
+
),
|
329 |
+
),
|
330 |
+
'DescribeStacks' => array(
|
331 |
+
'httpMethod' => 'POST',
|
332 |
+
'uri' => '/',
|
333 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
334 |
+
'responseClass' => 'DescribeStacksOutput',
|
335 |
+
'responseType' => 'model',
|
336 |
+
'parameters' => array(
|
337 |
+
'Action' => array(
|
338 |
+
'static' => true,
|
339 |
+
'location' => 'aws.query',
|
340 |
+
'default' => 'DescribeStacks',
|
341 |
+
),
|
342 |
+
'Version' => array(
|
343 |
+
'static' => true,
|
344 |
+
'location' => 'aws.query',
|
345 |
+
'default' => '2010-05-15',
|
346 |
+
),
|
347 |
+
'StackName' => array(
|
348 |
+
'type' => 'string',
|
349 |
+
'location' => 'aws.query',
|
350 |
+
),
|
351 |
+
'NextToken' => array(
|
352 |
+
'type' => 'string',
|
353 |
+
'location' => 'aws.query',
|
354 |
+
'minLength' => 1,
|
355 |
+
'maxLength' => 1024,
|
356 |
+
),
|
357 |
+
),
|
358 |
+
),
|
359 |
+
'EstimateTemplateCost' => array(
|
360 |
+
'httpMethod' => 'POST',
|
361 |
+
'uri' => '/',
|
362 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
363 |
+
'responseClass' => 'EstimateTemplateCostOutput',
|
364 |
+
'responseType' => 'model',
|
365 |
+
'parameters' => array(
|
366 |
+
'Action' => array(
|
367 |
+
'static' => true,
|
368 |
+
'location' => 'aws.query',
|
369 |
+
'default' => 'EstimateTemplateCost',
|
370 |
+
),
|
371 |
+
'Version' => array(
|
372 |
+
'static' => true,
|
373 |
+
'location' => 'aws.query',
|
374 |
+
'default' => '2010-05-15',
|
375 |
+
),
|
376 |
+
'TemplateBody' => array(
|
377 |
+
'type' => 'string',
|
378 |
+
'location' => 'aws.query',
|
379 |
+
'minLength' => 1,
|
380 |
+
'maxLength' => 51200,
|
381 |
+
),
|
382 |
+
'TemplateURL' => array(
|
383 |
+
'type' => 'string',
|
384 |
+
'location' => 'aws.query',
|
385 |
+
'minLength' => 1,
|
386 |
+
'maxLength' => 1024,
|
387 |
+
),
|
388 |
+
'Parameters' => array(
|
389 |
+
'type' => 'array',
|
390 |
+
'location' => 'aws.query',
|
391 |
+
'sentAs' => 'Parameters.member',
|
392 |
+
'items' => array(
|
393 |
+
'name' => 'Parameter',
|
394 |
+
'type' => 'object',
|
395 |
+
'properties' => array(
|
396 |
+
'ParameterKey' => array(
|
397 |
+
'type' => 'string',
|
398 |
+
),
|
399 |
+
'ParameterValue' => array(
|
400 |
+
'type' => 'string',
|
401 |
+
),
|
402 |
+
),
|
403 |
+
),
|
404 |
+
),
|
405 |
+
),
|
406 |
+
),
|
407 |
+
'GetTemplate' => array(
|
408 |
+
'httpMethod' => 'POST',
|
409 |
+
'uri' => '/',
|
410 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
411 |
+
'responseClass' => 'GetTemplateOutput',
|
412 |
+
'responseType' => 'model',
|
413 |
+
'parameters' => array(
|
414 |
+
'Action' => array(
|
415 |
+
'static' => true,
|
416 |
+
'location' => 'aws.query',
|
417 |
+
'default' => 'GetTemplate',
|
418 |
+
),
|
419 |
+
'Version' => array(
|
420 |
+
'static' => true,
|
421 |
+
'location' => 'aws.query',
|
422 |
+
'default' => '2010-05-15',
|
423 |
+
),
|
424 |
+
'StackName' => array(
|
425 |
+
'required' => true,
|
426 |
+
'type' => 'string',
|
427 |
+
'location' => 'aws.query',
|
428 |
+
),
|
429 |
+
),
|
430 |
+
),
|
431 |
+
'ListStackResources' => array(
|
432 |
+
'httpMethod' => 'POST',
|
433 |
+
'uri' => '/',
|
434 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
435 |
+
'responseClass' => 'ListStackResourcesOutput',
|
436 |
+
'responseType' => 'model',
|
437 |
+
'parameters' => array(
|
438 |
+
'Action' => array(
|
439 |
+
'static' => true,
|
440 |
+
'location' => 'aws.query',
|
441 |
+
'default' => 'ListStackResources',
|
442 |
+
),
|
443 |
+
'Version' => array(
|
444 |
+
'static' => true,
|
445 |
+
'location' => 'aws.query',
|
446 |
+
'default' => '2010-05-15',
|
447 |
+
),
|
448 |
+
'StackName' => array(
|
449 |
+
'required' => true,
|
450 |
+
'type' => 'string',
|
451 |
+
'location' => 'aws.query',
|
452 |
+
),
|
453 |
+
'NextToken' => array(
|
454 |
+
'type' => 'string',
|
455 |
+
'location' => 'aws.query',
|
456 |
+
'minLength' => 1,
|
457 |
+
'maxLength' => 1024,
|
458 |
+
),
|
459 |
+
),
|
460 |
+
),
|
461 |
+
'ListStacks' => array(
|
462 |
+
'httpMethod' => 'POST',
|
463 |
+
'uri' => '/',
|
464 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
465 |
+
'responseClass' => 'ListStacksOutput',
|
466 |
+
'responseType' => 'model',
|
467 |
+
'parameters' => array(
|
468 |
+
'Action' => array(
|
469 |
+
'static' => true,
|
470 |
+
'location' => 'aws.query',
|
471 |
+
'default' => 'ListStacks',
|
472 |
+
),
|
473 |
+
'Version' => array(
|
474 |
+
'static' => true,
|
475 |
+
'location' => 'aws.query',
|
476 |
+
'default' => '2010-05-15',
|
477 |
+
),
|
478 |
+
'NextToken' => array(
|
479 |
+
'type' => 'string',
|
480 |
+
'location' => 'aws.query',
|
481 |
+
'minLength' => 1,
|
482 |
+
'maxLength' => 1024,
|
483 |
+
),
|
484 |
+
'StackStatusFilter' => array(
|
485 |
+
'type' => 'array',
|
486 |
+
'location' => 'aws.query',
|
487 |
+
'sentAs' => 'StackStatusFilter.member',
|
488 |
+
'items' => array(
|
489 |
+
'name' => 'StackStatus',
|
490 |
+
'type' => 'string',
|
491 |
+
'enum' => array(
|
492 |
+
'CREATE_IN_PROGRESS',
|
493 |
+
'CREATE_FAILED',
|
494 |
+
'CREATE_COMPLETE',
|
495 |
+
'ROLLBACK_IN_PROGRESS',
|
496 |
+
'ROLLBACK_FAILED',
|
497 |
+
'ROLLBACK_COMPLETE',
|
498 |
+
'DELETE_IN_PROGRESS',
|
499 |
+
'DELETE_FAILED',
|
500 |
+
'DELETE_COMPLETE',
|
501 |
+
'UPDATE_IN_PROGRESS',
|
502 |
+
'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS',
|
503 |
+
'UPDATE_COMPLETE',
|
504 |
+
'UPDATE_ROLLBACK_IN_PROGRESS',
|
505 |
+
'UPDATE_ROLLBACK_FAILED',
|
506 |
+
'UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS',
|
507 |
+
'UPDATE_ROLLBACK_COMPLETE',
|
508 |
+
),
|
509 |
+
),
|
510 |
+
),
|
511 |
+
),
|
512 |
+
),
|
513 |
+
'UpdateStack' => array(
|
514 |
+
'httpMethod' => 'POST',
|
515 |
+
'uri' => '/',
|
516 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
517 |
+
'responseClass' => 'UpdateStackOutput',
|
518 |
+
'responseType' => 'model',
|
519 |
+
'parameters' => array(
|
520 |
+
'Action' => array(
|
521 |
+
'static' => true,
|
522 |
+
'location' => 'aws.query',
|
523 |
+
'default' => 'UpdateStack',
|
524 |
+
),
|
525 |
+
'Version' => array(
|
526 |
+
'static' => true,
|
527 |
+
'location' => 'aws.query',
|
528 |
+
'default' => '2010-05-15',
|
529 |
+
),
|
530 |
+
'StackName' => array(
|
531 |
+
'required' => true,
|
532 |
+
'type' => 'string',
|
533 |
+
'location' => 'aws.query',
|
534 |
+
),
|
535 |
+
'TemplateBody' => array(
|
536 |
+
'type' => 'string',
|
537 |
+
'location' => 'aws.query',
|
538 |
+
'minLength' => 1,
|
539 |
+
'maxLength' => 51200,
|
540 |
+
),
|
541 |
+
'TemplateURL' => array(
|
542 |
+
'type' => 'string',
|
543 |
+
'location' => 'aws.query',
|
544 |
+
'minLength' => 1,
|
545 |
+
'maxLength' => 1024,
|
546 |
+
),
|
547 |
+
'Parameters' => array(
|
548 |
+
'type' => 'array',
|
549 |
+
'location' => 'aws.query',
|
550 |
+
'sentAs' => 'Parameters.member',
|
551 |
+
'items' => array(
|
552 |
+
'name' => 'Parameter',
|
553 |
+
'type' => 'object',
|
554 |
+
'properties' => array(
|
555 |
+
'ParameterKey' => array(
|
556 |
+
'type' => 'string',
|
557 |
+
),
|
558 |
+
'ParameterValue' => array(
|
559 |
+
'type' => 'string',
|
560 |
+
),
|
561 |
+
),
|
562 |
+
),
|
563 |
+
),
|
564 |
+
'Capabilities' => array(
|
565 |
+
'type' => 'array',
|
566 |
+
'location' => 'aws.query',
|
567 |
+
'sentAs' => 'Capabilities.member',
|
568 |
+
'items' => array(
|
569 |
+
'name' => 'Capability',
|
570 |
+
'type' => 'string',
|
571 |
+
'enum' => array(
|
572 |
+
'CAPABILITY_IAM',
|
573 |
+
),
|
574 |
+
),
|
575 |
+
),
|
576 |
+
),
|
577 |
+
'errorResponses' => array(
|
578 |
+
array(
|
579 |
+
'reason' => 'The template contains resources with capabilities that were not specified in the Capabilities parameter.',
|
580 |
+
'class' => 'InsufficientCapabilitiesException',
|
581 |
+
),
|
582 |
+
),
|
583 |
+
),
|
584 |
+
'ValidateTemplate' => array(
|
585 |
+
'httpMethod' => 'POST',
|
586 |
+
'uri' => '/',
|
587 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
588 |
+
'responseClass' => 'ValidateTemplateOutput',
|
589 |
+
'responseType' => 'model',
|
590 |
+
'parameters' => array(
|
591 |
+
'Action' => array(
|
592 |
+
'static' => true,
|
593 |
+
'location' => 'aws.query',
|
594 |
+
'default' => 'ValidateTemplate',
|
595 |
+
),
|
596 |
+
'Version' => array(
|
597 |
+
'static' => true,
|
598 |
+
'location' => 'aws.query',
|
599 |
+
'default' => '2010-05-15',
|
600 |
+
),
|
601 |
+
'TemplateBody' => array(
|
602 |
+
'type' => 'string',
|
603 |
+
'location' => 'aws.query',
|
604 |
+
'minLength' => 1,
|
605 |
+
'maxLength' => 51200,
|
606 |
+
),
|
607 |
+
'TemplateURL' => array(
|
608 |
+
'type' => 'string',
|
609 |
+
'location' => 'aws.query',
|
610 |
+
'minLength' => 1,
|
611 |
+
'maxLength' => 1024,
|
612 |
+
),
|
613 |
+
),
|
614 |
+
),
|
615 |
+
),
|
616 |
+
'models' => array(
|
617 |
+
'EmptyOutput' => array(
|
618 |
+
'type' => 'object',
|
619 |
+
'additionalProperties' => true,
|
620 |
+
),
|
621 |
+
'CreateStackOutput' => array(
|
622 |
+
'type' => 'object',
|
623 |
+
'additionalProperties' => true,
|
624 |
+
'properties' => array(
|
625 |
+
'StackId' => array(
|
626 |
+
'type' => 'string',
|
627 |
+
'location' => 'xml',
|
628 |
+
),
|
629 |
+
),
|
630 |
+
),
|
631 |
+
'DescribeStackEventsOutput' => array(
|
632 |
+
'type' => 'object',
|
633 |
+
'additionalProperties' => true,
|
634 |
+
'properties' => array(
|
635 |
+
'StackEvents' => array(
|
636 |
+
'type' => 'array',
|
637 |
+
'location' => 'xml',
|
638 |
+
'items' => array(
|
639 |
+
'name' => 'StackEvent',
|
640 |
+
'type' => 'object',
|
641 |
+
'sentAs' => 'member',
|
642 |
+
'properties' => array(
|
643 |
+
'StackId' => array(
|
644 |
+
'type' => 'string',
|
645 |
+
),
|
646 |
+
'EventId' => array(
|
647 |
+
'type' => 'string',
|
648 |
+
),
|
649 |
+
'StackName' => array(
|
650 |
+
'type' => 'string',
|
651 |
+
),
|
652 |
+
'LogicalResourceId' => array(
|
653 |
+
'type' => 'string',
|
654 |
+
),
|
655 |
+
'PhysicalResourceId' => array(
|
656 |
+
'type' => 'string',
|
657 |
+
),
|
658 |
+
'ResourceType' => array(
|
659 |
+
'type' => 'string',
|
660 |
+
),
|
661 |
+
'Timestamp' => array(
|
662 |
+
'type' => 'string',
|
663 |
+
),
|
664 |
+
'ResourceStatus' => array(
|
665 |
+
'type' => 'string',
|
666 |
+
),
|
667 |
+
'ResourceStatusReason' => array(
|
668 |
+
'type' => 'string',
|
669 |
+
),
|
670 |
+
'ResourceProperties' => array(
|
671 |
+
'type' => 'string',
|
672 |
+
),
|
673 |
+
),
|
674 |
+
),
|
675 |
+
),
|
676 |
+
'NextToken' => array(
|
677 |
+
'type' => 'string',
|
678 |
+
'location' => 'xml',
|
679 |
+
),
|
680 |
+
),
|
681 |
+
),
|
682 |
+
'DescribeStackResourceOutput' => array(
|
683 |
+
'type' => 'object',
|
684 |
+
'additionalProperties' => true,
|
685 |
+
'properties' => array(
|
686 |
+
'StackResourceDetail' => array(
|
687 |
+
'type' => 'object',
|
688 |
+
'location' => 'xml',
|
689 |
+
'properties' => array(
|
690 |
+
'StackName' => array(
|
691 |
+
'type' => 'string',
|
692 |
+
),
|
693 |
+
'StackId' => array(
|
694 |
+
'type' => 'string',
|
695 |
+
),
|
696 |
+
'LogicalResourceId' => array(
|
697 |
+
'type' => 'string',
|
698 |
+
),
|
699 |
+
'PhysicalResourceId' => array(
|
700 |
+
'type' => 'string',
|
701 |
+
),
|
702 |
+
'ResourceType' => array(
|
703 |
+
'type' => 'string',
|
704 |
+
),
|
705 |
+
'LastUpdatedTimestamp' => array(
|
706 |
+
'type' => 'string',
|
707 |
+
),
|
708 |
+
'ResourceStatus' => array(
|
709 |
+
'type' => 'string',
|
710 |
+
),
|
711 |
+
'ResourceStatusReason' => array(
|
712 |
+
'type' => 'string',
|
713 |
+
),
|
714 |
+
'Description' => array(
|
715 |
+
'type' => 'string',
|
716 |
+
),
|
717 |
+
'Metadata' => array(
|
718 |
+
'type' => 'string',
|
719 |
+
),
|
720 |
+
),
|
721 |
+
),
|
722 |
+
),
|
723 |
+
),
|
724 |
+
'DescribeStackResourcesOutput' => array(
|
725 |
+
'type' => 'object',
|
726 |
+
'additionalProperties' => true,
|
727 |
+
'properties' => array(
|
728 |
+
'StackResources' => array(
|
729 |
+
'type' => 'array',
|
730 |
+
'location' => 'xml',
|
731 |
+
'items' => array(
|
732 |
+
'name' => 'StackResource',
|
733 |
+
'type' => 'object',
|
734 |
+
'sentAs' => 'member',
|
735 |
+
'properties' => array(
|
736 |
+
'StackName' => array(
|
737 |
+
'type' => 'string',
|
738 |
+
),
|
739 |
+
'StackId' => array(
|
740 |
+
'type' => 'string',
|
741 |
+
),
|
742 |
+
'LogicalResourceId' => array(
|
743 |
+
'type' => 'string',
|
744 |
+
),
|
745 |
+
'PhysicalResourceId' => array(
|
746 |
+
'type' => 'string',
|
747 |
+
),
|
748 |
+
'ResourceType' => array(
|
749 |
+
'type' => 'string',
|
750 |
+
),
|
751 |
+
'Timestamp' => array(
|
752 |
+
'type' => 'string',
|
753 |
+
),
|
754 |
+
'ResourceStatus' => array(
|
755 |
+
'type' => 'string',
|
756 |
+
),
|
757 |
+
'ResourceStatusReason' => array(
|
758 |
+
'type' => 'string',
|
759 |
+
),
|
760 |
+
'Description' => array(
|
761 |
+
'type' => 'string',
|
762 |
+
),
|
763 |
+
),
|
764 |
+
),
|
765 |
+
),
|
766 |
+
),
|
767 |
+
),
|
768 |
+
'DescribeStacksOutput' => array(
|
769 |
+
'type' => 'object',
|
770 |
+
'additionalProperties' => true,
|
771 |
+
'properties' => array(
|
772 |
+
'Stacks' => array(
|
773 |
+
'type' => 'array',
|
774 |
+
'location' => 'xml',
|
775 |
+
'items' => array(
|
776 |
+
'name' => 'Stack',
|
777 |
+
'type' => 'object',
|
778 |
+
'sentAs' => 'member',
|
779 |
+
'properties' => array(
|
780 |
+
'StackId' => array(
|
781 |
+
'type' => 'string',
|
782 |
+
),
|
783 |
+
'StackName' => array(
|
784 |
+
'type' => 'string',
|
785 |
+
),
|
786 |
+
'Description' => array(
|
787 |
+
'type' => 'string',
|
788 |
+
),
|
789 |
+
'Parameters' => array(
|
790 |
+
'type' => 'array',
|
791 |
+
'items' => array(
|
792 |
+
'name' => 'Parameter',
|
793 |
+
'type' => 'object',
|
794 |
+
'sentAs' => 'member',
|
795 |
+
'properties' => array(
|
796 |
+
'ParameterKey' => array(
|
797 |
+
'type' => 'string',
|
798 |
+
),
|
799 |
+
'ParameterValue' => array(
|
800 |
+
'type' => 'string',
|
801 |
+
),
|
802 |
+
),
|
803 |
+
),
|
804 |
+
),
|
805 |
+
'CreationTime' => array(
|
806 |
+
'type' => 'string',
|
807 |
+
),
|
808 |
+
'LastUpdatedTime' => array(
|
809 |
+
'type' => 'string',
|
810 |
+
),
|
811 |
+
'StackStatus' => array(
|
812 |
+
'type' => 'string',
|
813 |
+
),
|
814 |
+
'StackStatusReason' => array(
|
815 |
+
'type' => 'string',
|
816 |
+
),
|
817 |
+
'DisableRollback' => array(
|
818 |
+
'type' => 'boolean',
|
819 |
+
),
|
820 |
+
'NotificationARNs' => array(
|
821 |
+
'type' => 'array',
|
822 |
+
'items' => array(
|
823 |
+
'name' => 'NotificationARN',
|
824 |
+
'type' => 'string',
|
825 |
+
'sentAs' => 'member',
|
826 |
+
),
|
827 |
+
),
|
828 |
+
'TimeoutInMinutes' => array(
|
829 |
+
'type' => 'numeric',
|
830 |
+
),
|
831 |
+
'Capabilities' => array(
|
832 |
+
'type' => 'array',
|
833 |
+
'items' => array(
|
834 |
+
'name' => 'Capability',
|
835 |
+
'type' => 'string',
|
836 |
+
'sentAs' => 'member',
|
837 |
+
),
|
838 |
+
),
|
839 |
+
'Outputs' => array(
|
840 |
+
'type' => 'array',
|
841 |
+
'items' => array(
|
842 |
+
'name' => 'Output',
|
843 |
+
'type' => 'object',
|
844 |
+
'sentAs' => 'member',
|
845 |
+
'properties' => array(
|
846 |
+
'OutputKey' => array(
|
847 |
+
'type' => 'string',
|
848 |
+
),
|
849 |
+
'OutputValue' => array(
|
850 |
+
'type' => 'string',
|
851 |
+
),
|
852 |
+
'Description' => array(
|
853 |
+
'type' => 'string',
|
854 |
+
),
|
855 |
+
),
|
856 |
+
),
|
857 |
+
),
|
858 |
+
'Tags' => array(
|
859 |
+
'type' => 'array',
|
860 |
+
'items' => array(
|
861 |
+
'name' => 'Tag',
|
862 |
+
'type' => 'object',
|
863 |
+
'sentAs' => 'member',
|
864 |
+
'properties' => array(
|
865 |
+
'Key' => array(
|
866 |
+
'type' => 'string',
|
867 |
+
),
|
868 |
+
'Value' => array(
|
869 |
+
'type' => 'string',
|
870 |
+
),
|
871 |
+
),
|
872 |
+
),
|
873 |
+
),
|
874 |
+
),
|
875 |
+
),
|
876 |
+
),
|
877 |
+
'NextToken' => array(
|
878 |
+
'type' => 'string',
|
879 |
+
'location' => 'xml',
|
880 |
+
),
|
881 |
+
),
|
882 |
+
),
|
883 |
+
'EstimateTemplateCostOutput' => array(
|
884 |
+
'type' => 'object',
|
885 |
+
'additionalProperties' => true,
|
886 |
+
'properties' => array(
|
887 |
+
'Url' => array(
|
888 |
+
'type' => 'string',
|
889 |
+
'location' => 'xml',
|
890 |
+
),
|
891 |
+
),
|
892 |
+
),
|
893 |
+
'GetTemplateOutput' => array(
|
894 |
+
'type' => 'object',
|
895 |
+
'additionalProperties' => true,
|
896 |
+
'properties' => array(
|
897 |
+
'TemplateBody' => array(
|
898 |
+
'type' => 'string',
|
899 |
+
'location' => 'xml',
|
900 |
+
),
|
901 |
+
),
|
902 |
+
),
|
903 |
+
'ListStackResourcesOutput' => array(
|
904 |
+
'type' => 'object',
|
905 |
+
'additionalProperties' => true,
|
906 |
+
'properties' => array(
|
907 |
+
'StackResourceSummaries' => array(
|
908 |
+
'type' => 'array',
|
909 |
+
'location' => 'xml',
|
910 |
+
'items' => array(
|
911 |
+
'name' => 'StackResourceSummary',
|
912 |
+
'type' => 'object',
|
913 |
+
'sentAs' => 'member',
|
914 |
+
'properties' => array(
|
915 |
+
'LogicalResourceId' => array(
|
916 |
+
'type' => 'string',
|
917 |
+
),
|
918 |
+
'PhysicalResourceId' => array(
|
919 |
+
'type' => 'string',
|
920 |
+
),
|
921 |
+
'ResourceType' => array(
|
922 |
+
'type' => 'string',
|
923 |
+
),
|
924 |
+
'LastUpdatedTimestamp' => array(
|
925 |
+
'type' => 'string',
|
926 |
+
),
|
927 |
+
'ResourceStatus' => array(
|
928 |
+
'type' => 'string',
|
929 |
+
),
|
930 |
+
'ResourceStatusReason' => array(
|
931 |
+
'type' => 'string',
|
932 |
+
),
|
933 |
+
),
|
934 |
+
),
|
935 |
+
),
|
936 |
+
'NextToken' => array(
|
937 |
+
'type' => 'string',
|
938 |
+
'location' => 'xml',
|
939 |
+
),
|
940 |
+
),
|
941 |
+
),
|
942 |
+
'ListStacksOutput' => array(
|
943 |
+
'type' => 'object',
|
944 |
+
'additionalProperties' => true,
|
945 |
+
'properties' => array(
|
946 |
+
'StackSummaries' => array(
|
947 |
+
'type' => 'array',
|
948 |
+
'location' => 'xml',
|
949 |
+
'items' => array(
|
950 |
+
'name' => 'StackSummary',
|
951 |
+
'type' => 'object',
|
952 |
+
'sentAs' => 'member',
|
953 |
+
'properties' => array(
|
954 |
+
'StackId' => array(
|
955 |
+
'type' => 'string',
|
956 |
+
),
|
957 |
+
'StackName' => array(
|
958 |
+
'type' => 'string',
|
959 |
+
),
|
960 |
+
'TemplateDescription' => array(
|
961 |
+
'type' => 'string',
|
962 |
+
),
|
963 |
+
'CreationTime' => array(
|
964 |
+
'type' => 'string',
|
965 |
+
),
|
966 |
+
'LastUpdatedTime' => array(
|
967 |
+
'type' => 'string',
|
968 |
+
),
|
969 |
+
'DeletionTime' => array(
|
970 |
+
'type' => 'string',
|
971 |
+
),
|
972 |
+
'StackStatus' => array(
|
973 |
+
'type' => 'string',
|
974 |
+
),
|
975 |
+
'StackStatusReason' => array(
|
976 |
+
'type' => 'string',
|
977 |
+
),
|
978 |
+
),
|
979 |
+
),
|
980 |
+
),
|
981 |
+
'NextToken' => array(
|
982 |
+
'type' => 'string',
|
983 |
+
'location' => 'xml',
|
984 |
+
),
|
985 |
+
),
|
986 |
+
),
|
987 |
+
'UpdateStackOutput' => array(
|
988 |
+
'type' => 'object',
|
989 |
+
'additionalProperties' => true,
|
990 |
+
'properties' => array(
|
991 |
+
'StackId' => array(
|
992 |
+
'type' => 'string',
|
993 |
+
'location' => 'xml',
|
994 |
+
),
|
995 |
+
),
|
996 |
+
),
|
997 |
+
'ValidateTemplateOutput' => array(
|
998 |
+
'type' => 'object',
|
999 |
+
'additionalProperties' => true,
|
1000 |
+
'properties' => array(
|
1001 |
+
'Parameters' => array(
|
1002 |
+
'type' => 'array',
|
1003 |
+
'location' => 'xml',
|
1004 |
+
'items' => array(
|
1005 |
+
'name' => 'TemplateParameter',
|
1006 |
+
'type' => 'object',
|
1007 |
+
'sentAs' => 'member',
|
1008 |
+
'properties' => array(
|
1009 |
+
'ParameterKey' => array(
|
1010 |
+
'type' => 'string',
|
1011 |
+
),
|
1012 |
+
'DefaultValue' => array(
|
1013 |
+
'type' => 'string',
|
1014 |
+
),
|
1015 |
+
'NoEcho' => array(
|
1016 |
+
'type' => 'boolean',
|
1017 |
+
),
|
1018 |
+
'Description' => array(
|
1019 |
+
'type' => 'string',
|
1020 |
+
),
|
1021 |
+
),
|
1022 |
+
),
|
1023 |
+
),
|
1024 |
+
'Description' => array(
|
1025 |
+
'type' => 'string',
|
1026 |
+
'location' => 'xml',
|
1027 |
+
),
|
1028 |
+
'Capabilities' => array(
|
1029 |
+
'type' => 'array',
|
1030 |
+
'location' => 'xml',
|
1031 |
+
'items' => array(
|
1032 |
+
'name' => 'Capability',
|
1033 |
+
'type' => 'string',
|
1034 |
+
'sentAs' => 'member',
|
1035 |
+
),
|
1036 |
+
),
|
1037 |
+
'CapabilitiesReason' => array(
|
1038 |
+
'type' => 'string',
|
1039 |
+
'location' => 'xml',
|
1040 |
+
),
|
1041 |
+
),
|
1042 |
+
),
|
1043 |
+
),
|
1044 |
+
'iterators' => array(
|
1045 |
+
'operations' => array(
|
1046 |
+
'DescribeStackEvents' => array(
|
1047 |
+
'token_param' => 'NextToken',
|
1048 |
+
'token_key' => 'NextToken',
|
1049 |
+
'result_key' => 'StackEvents',
|
1050 |
+
),
|
1051 |
+
'DescribeStacks' => array(
|
1052 |
+
'token_param' => 'NextToken',
|
1053 |
+
'token_key' => 'NextToken',
|
1054 |
+
'result_key' => 'Stacks',
|
1055 |
+
),
|
1056 |
+
'ListStackResources' => array(
|
1057 |
+
'token_param' => 'NextToken',
|
1058 |
+
'token_key' => 'NextToken',
|
1059 |
+
'result_key' => 'StackResourceSummaries',
|
1060 |
+
),
|
1061 |
+
'ListStacks' => array(
|
1062 |
+
'token_param' => 'NextToken',
|
1063 |
+
'token_key' => 'NextToken',
|
1064 |
+
'result_key' => 'StackSummaries',
|
1065 |
+
),
|
1066 |
+
),
|
1067 |
+
),
|
1068 |
+
);
|
vendor/aws/Aws/CloudFront/CloudFrontClient.php
ADDED
@@ -0,0 +1,241 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront;
|
18 |
+
|
19 |
+
use Aws\Common\Client\AbstractClient;
|
20 |
+
use Aws\Common\Client\ClientBuilder;
|
21 |
+
use Aws\Common\Enum\ClientOptions as Options;
|
22 |
+
use Aws\Common\Exception\InvalidArgumentException;
|
23 |
+
use Aws\Common\Exception\Parser\DefaultXmlExceptionParser;
|
24 |
+
use Aws\Common\Exception\RequiredExtensionNotLoadedException;
|
25 |
+
use Guzzle\Common\Collection;
|
26 |
+
use Guzzle\Http\Url;
|
27 |
+
use Guzzle\Service\Resource\Model;
|
28 |
+
use Guzzle\Service\Resource\ResourceIteratorInterface;
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Client to interact with Amazon CloudFront
|
32 |
+
*
|
33 |
+
* @method Model createCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront CreateCloudFrontOriginAccessIdentity}
|
34 |
+
* @method Model createDistribution(array $args = array()) {@command CloudFront CreateDistribution}
|
35 |
+
* @method Model createInvalidation(array $args = array()) {@command CloudFront CreateInvalidation}
|
36 |
+
* @method Model createStreamingDistribution(array $args = array()) {@command CloudFront CreateStreamingDistribution}
|
37 |
+
* @method Model deleteCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront DeleteCloudFrontOriginAccessIdentity}
|
38 |
+
* @method Model deleteDistribution(array $args = array()) {@command CloudFront DeleteDistribution}
|
39 |
+
* @method Model deleteStreamingDistribution(array $args = array()) {@command CloudFront DeleteStreamingDistribution}
|
40 |
+
* @method Model getCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentity}
|
41 |
+
* @method Model getCloudFrontOriginAccessIdentityConfig(array $args = array()) {@command CloudFront GetCloudFrontOriginAccessIdentityConfig}
|
42 |
+
* @method Model getDistribution(array $args = array()) {@command CloudFront GetDistribution}
|
43 |
+
* @method Model getDistributionConfig(array $args = array()) {@command CloudFront GetDistributionConfig}
|
44 |
+
* @method Model getInvalidation(array $args = array()) {@command CloudFront GetInvalidation}
|
45 |
+
* @method Model getStreamingDistribution(array $args = array()) {@command CloudFront GetStreamingDistribution}
|
46 |
+
* @method Model getStreamingDistributionConfig(array $args = array()) {@command CloudFront GetStreamingDistributionConfig}
|
47 |
+
* @method Model listCloudFrontOriginAccessIdentities(array $args = array()) {@command CloudFront ListCloudFrontOriginAccessIdentities}
|
48 |
+
* @method Model listDistributions(array $args = array()) {@command CloudFront ListDistributions}
|
49 |
+
* @method Model listInvalidations(array $args = array()) {@command CloudFront ListInvalidations}
|
50 |
+
* @method Model listStreamingDistributions(array $args = array()) {@command CloudFront ListStreamingDistributions}
|
51 |
+
* @method Model updateCloudFrontOriginAccessIdentity(array $args = array()) {@command CloudFront UpdateCloudFrontOriginAccessIdentity}
|
52 |
+
* @method Model updateDistribution(array $args = array()) {@command CloudFront UpdateDistribution}
|
53 |
+
* @method Model updateStreamingDistribution(array $args = array()) {@command CloudFront UpdateStreamingDistribution}
|
54 |
+
* @method waitUntilStreamingDistributionDeployed(array $input) Wait until a streaming distribution is deployed. The input array uses the parameters of the GetStreamingDistribution operation and waiter specific settings
|
55 |
+
* @method waitUntilDistributionDeployed(array $input) Wait until a distribution is deployed. The input array uses the parameters of the GetDistribution operation and waiter specific settings
|
56 |
+
* @method waitUntilInvalidationCompleted(array $input) Wait until an invalidation has completed. The input array uses the parameters of the GetInvalidation operation and waiter specific settings
|
57 |
+
* @method ResourceIteratorInterface getListCloudFrontOriginAccessIdentitiesIterator(array $args = array()) The input array uses the parameters of the ListCloudFrontOriginAccessIdentities operation
|
58 |
+
* @method ResourceIteratorInterface getListDistributionsIterator(array $args = array()) The input array uses the parameters of the ListDistributions operation
|
59 |
+
* @method ResourceIteratorInterface getListInvalidationsIterator(array $args = array()) The input array uses the parameters of the ListInvalidations operation
|
60 |
+
* @method ResourceIteratorInterface getListStreamingDistributionsIterator(array $args = array()) The input array uses the parameters of the ListStreamingDistributions operation
|
61 |
+
*
|
62 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudfront.html User guide
|
63 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudFront.CloudFrontClient.html API docs
|
64 |
+
*/
|
65 |
+
class CloudFrontClient extends AbstractClient
|
66 |
+
{
|
67 |
+
const LATEST_API_VERSION = '2013-05-12';
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Factory method to create a new Amazon CloudFront client using an array of configuration options.
|
71 |
+
*
|
72 |
+
* CloudFront specific options (in addition to the default client configuration options):
|
73 |
+
* - key_pair_id: The ID of the key pair used to sign CloudFront URLs for private distributions.
|
74 |
+
* - private_key: The filepath ot the private key used to sign CloudFront URLs for private distributions.
|
75 |
+
*
|
76 |
+
* @param array|Collection $config Client configuration data
|
77 |
+
*
|
78 |
+
* @return self
|
79 |
+
* @see \Aws\Common\Client\DefaultClient for a list of other available configuration options
|
80 |
+
*/
|
81 |
+
public static function factory($config = array())
|
82 |
+
{
|
83 |
+
// Decide which signature to use
|
84 |
+
if (isset($config[Options::VERSION]) && $config[Options::VERSION] < self::LATEST_API_VERSION) {
|
85 |
+
$config[Options::SIGNATURE] = new CloudFrontSignature();
|
86 |
+
}
|
87 |
+
|
88 |
+
// Instantiate the CloudFront client
|
89 |
+
return ClientBuilder::factory(__NAMESPACE__)
|
90 |
+
->setConfig($config)
|
91 |
+
->setConfigDefaults(array(
|
92 |
+
Options::VERSION => self::LATEST_API_VERSION,
|
93 |
+
Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudfront-%s.php',
|
94 |
+
))
|
95 |
+
->setExceptionParser(new DefaultXmlExceptionParser())
|
96 |
+
->setIteratorsConfig(array(
|
97 |
+
'token_param' => 'Marker',
|
98 |
+
'token_key' => 'NextMarker',
|
99 |
+
'more_key' => 'IsTruncated',
|
100 |
+
'result_key' => 'Items',
|
101 |
+
'operations' => array(
|
102 |
+
'ListCloudFrontOriginAccessIdentities',
|
103 |
+
'ListDistributions',
|
104 |
+
'ListInvalidations',
|
105 |
+
'ListStreamingDistributions'
|
106 |
+
)
|
107 |
+
))
|
108 |
+
->build();
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
* Create a signed URL. Keep in mind that URLs meant for use in media/flash players may have different requirements
|
113 |
+
* for URL formats (e.g. some require that the extension be removed, some require the file name to be prefixed -
|
114 |
+
* mp4:<path>, some require you to add "/cfx/st" into your URL). See
|
115 |
+
* http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/WorkingWithStreamingDistributions.html for
|
116 |
+
* additional details and help.
|
117 |
+
*
|
118 |
+
* This method accepts an array of configuration options:
|
119 |
+
* - url: (string) URL of the resource being signed (can include query string and wildcards). For example:
|
120 |
+
* rtmp://s5c39gqb8ow64r.cloudfront.net/videos/mp3_name.mp3
|
121 |
+
* http://d111111abcdef8.cloudfront.net/images/horizon.jpg?size=large&license=yes
|
122 |
+
* - policy: (string) JSON policy. Use this option when creating a signed URL for a custom policy.
|
123 |
+
* - expires: (int) UTC Unix timestamp used when signing with a canned policy. Not required when passing a
|
124 |
+
* custom 'policy' option.
|
125 |
+
* - key_pair_id: (string) The ID of the key pair used to sign CloudFront URLs for private distributions.
|
126 |
+
* - private_key: (string) The filepath ot the private key used to sign CloudFront URLs for private distributions.
|
127 |
+
*
|
128 |
+
* @param array $options Array of configuration options used when signing
|
129 |
+
*
|
130 |
+
* @return string The file URL with authentication parameters
|
131 |
+
* @throws InvalidArgumentException if key_pair_id and private_key have not been configured on the client
|
132 |
+
* @throws RequiredExtensionNotLoadedException if the openssl extension is not installed
|
133 |
+
* @link http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/WorkingWithStreamingDistributions.html
|
134 |
+
*/
|
135 |
+
public function getSignedUrl(array $options)
|
136 |
+
{
|
137 |
+
if (!extension_loaded('openssl')) {
|
138 |
+
//@codeCoverageIgnoreStart
|
139 |
+
throw new RequiredExtensionNotLoadedException('The openssl extension is required to sign CloudFront urls.');
|
140 |
+
//@codeCoverageIgnoreEnd
|
141 |
+
}
|
142 |
+
|
143 |
+
// Initialize the configuration data and ensure that the url was specified
|
144 |
+
$options = Collection::fromConfig($options, array_filter(array(
|
145 |
+
'key_pair_id' => $this->getConfig('key_pair_id'),
|
146 |
+
'private_key' => $this->getConfig('private_key'),
|
147 |
+
)), array('url', 'key_pair_id', 'private_key'));
|
148 |
+
|
149 |
+
// Determine the scheme of the url
|
150 |
+
$urlSections = explode('://', $options['url']);
|
151 |
+
if (count($urlSections) < 2) {
|
152 |
+
throw new InvalidArgumentException('Invalid URL: ' . $options['url']);
|
153 |
+
}
|
154 |
+
|
155 |
+
// Get the real scheme by removing wildcards from the scheme
|
156 |
+
$scheme = str_replace('*', '', $urlSections[0]);
|
157 |
+
$policy = $options['policy'] ?: $this->createCannedPolicy($scheme, $options['url'], $options['expires']);
|
158 |
+
// Strip whitespace from the policy
|
159 |
+
$policy = str_replace(' ', '', $policy);
|
160 |
+
|
161 |
+
$url = Url::factory($scheme . '://' . $urlSections[1]);
|
162 |
+
if ($options['policy']) {
|
163 |
+
// Custom policies require that the encoded policy be specified in the URL
|
164 |
+
$url->getQuery()->set('Policy', strtr(base64_encode($policy), '+=/', '-_~'));
|
165 |
+
} else {
|
166 |
+
// Canned policies require that the Expires parameter be set in the URL
|
167 |
+
$url->getQuery()->set('Expires', $options['expires']);
|
168 |
+
}
|
169 |
+
|
170 |
+
// Sign the policy using the CloudFront private key
|
171 |
+
$signedPolicy = $this->rsaSha1Sign($policy, $options['private_key']);
|
172 |
+
// Remove whitespace, base64 encode the policy, and replace special characters
|
173 |
+
$signedPolicy = strtr(base64_encode($signedPolicy), '+=/', '-_~');
|
174 |
+
|
175 |
+
$url->getQuery()
|
176 |
+
->useUrlEncoding(false)
|
177 |
+
->set('Signature', $signedPolicy)
|
178 |
+
->set('Key-Pair-Id', $options['key_pair_id']);
|
179 |
+
|
180 |
+
if ($scheme != 'rtmp') {
|
181 |
+
// HTTP and HTTPS signed URLs include the full URL
|
182 |
+
return (string) $url;
|
183 |
+
} else {
|
184 |
+
// Use a relative URL when creating Flash player URLs
|
185 |
+
$url->setScheme(null)->setHost(null);
|
186 |
+
return substr($url, 1);
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
+
/**
|
191 |
+
* Sign a policy string using OpenSSL RSA SHA1
|
192 |
+
*
|
193 |
+
* @param string $policy Policy to sign
|
194 |
+
* @param string $privateKeyFilename File containing the OpenSSL private key
|
195 |
+
*
|
196 |
+
* @return string
|
197 |
+
*/
|
198 |
+
protected function rsaSha1Sign($policy, $privateKeyFilename)
|
199 |
+
{
|
200 |
+
$signature = '';
|
201 |
+
openssl_sign($policy, $signature, file_get_contents($privateKeyFilename));
|
202 |
+
|
203 |
+
return $signature;
|
204 |
+
}
|
205 |
+
|
206 |
+
/**
|
207 |
+
* Create a canned policy for a particular URL and expiration
|
208 |
+
*
|
209 |
+
* @param string $scheme Parsed scheme without wildcards
|
210 |
+
* @param string $url URL that is being signed
|
211 |
+
* @param int $expires Time in which the signature expires
|
212 |
+
*
|
213 |
+
* @return string
|
214 |
+
* @throws InvalidArgumentException if the expiration is not set
|
215 |
+
*/
|
216 |
+
protected function createCannedPolicy($scheme, $url, $expires)
|
217 |
+
{
|
218 |
+
if (!$expires) {
|
219 |
+
throw new InvalidArgumentException('An expires option is required when using a canned policy');
|
220 |
+
}
|
221 |
+
|
222 |
+
// Generate a canned policy
|
223 |
+
if ($scheme == 'http' || $scheme == 'https') {
|
224 |
+
$resource = $url;
|
225 |
+
} elseif ($scheme == 'rtmp') {
|
226 |
+
$parts = parse_url($url);
|
227 |
+
$pathParts = pathinfo($parts['path']);
|
228 |
+
// Add path leading to file, strip file extension, and add a query string if present
|
229 |
+
$resource = ltrim($pathParts['dirname'] . '/' . $pathParts['basename'], '/')
|
230 |
+
. (isset($parts['query']) ? "?{$parts['query']}" : '');
|
231 |
+
} else {
|
232 |
+
throw new InvalidArgumentException("Invalid URI scheme: {$scheme}. Must be one of http or rtmp.");
|
233 |
+
}
|
234 |
+
|
235 |
+
return sprintf(
|
236 |
+
'{"Statement":[{"Resource":"%s","Condition":{"DateLessThan":{"AWS:EpochTime":%d}}}]}',
|
237 |
+
$resource,
|
238 |
+
$expires
|
239 |
+
);
|
240 |
+
}
|
241 |
+
}
|
vendor/aws/Aws/CloudFront/CloudFrontSignature.php
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront;
|
18 |
+
|
19 |
+
use Aws\Common\Credentials\CredentialsInterface;
|
20 |
+
use Aws\Common\Enum\DateFormat;
|
21 |
+
use Aws\Common\Signature\SignatureInterface;
|
22 |
+
use Guzzle\Http\Message\RequestInterface;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Amazon CloudFront signature implementation
|
26 |
+
* @link http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/RESTAuthentication.html
|
27 |
+
*/
|
28 |
+
class CloudFrontSignature implements SignatureInterface
|
29 |
+
{
|
30 |
+
/**
|
31 |
+
* {@inheritdoc}
|
32 |
+
*/
|
33 |
+
public function signRequest(RequestInterface $request, CredentialsInterface $credentials)
|
34 |
+
{
|
35 |
+
// Add a date header if one is not set
|
36 |
+
if (!$request->hasHeader('date') && !$request->hasHeader('x-amz-date')) {
|
37 |
+
$request->setHeader('Date', gmdate(DateFormat::RFC2822));
|
38 |
+
}
|
39 |
+
|
40 |
+
$stringToSign = (string) $request->getHeader('Date') ?: (string) $request->getHeader('x-amz-date');
|
41 |
+
$request->getParams()->set('aws.string_to_sign', $stringToSign);
|
42 |
+
|
43 |
+
$request->setHeader(
|
44 |
+
'Authorization',
|
45 |
+
'AWS ' . $credentials->getAccessKeyId() . ':' . $this->signString($stringToSign, $credentials)
|
46 |
+
);
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Sign a signature string by applying SHA-1 HMAC hashing.
|
51 |
+
*
|
52 |
+
* @param string $string The signature string to hash.
|
53 |
+
* @param CredentialsInterface $credentials Signing credentials.
|
54 |
+
*
|
55 |
+
* @return string The hashed signature string.
|
56 |
+
*/
|
57 |
+
public function signString($string, CredentialsInterface $credentials)
|
58 |
+
{
|
59 |
+
return base64_encode(hash_hmac('sha1', $string, $credentials->getSecretKey(), true));
|
60 |
+
}
|
61 |
+
}
|
vendor/aws/Aws/CloudFront/Enum/ItemSelection.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable ItemSelection values
|
23 |
+
*/
|
24 |
+
class ItemSelection extends Enum
|
25 |
+
{
|
26 |
+
const NONE = 'none';
|
27 |
+
const WHITELIST = 'whitelist';
|
28 |
+
const ALL = 'all';
|
29 |
+
}
|
vendor/aws/Aws/CloudFront/Enum/OriginProtocolPolicy.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable OriginProtocolPolicy values
|
23 |
+
*/
|
24 |
+
class OriginProtocolPolicy extends Enum
|
25 |
+
{
|
26 |
+
const HTTP_ONLY = 'http-only';
|
27 |
+
const MATCH_VIEWER = 'match-viewer';
|
28 |
+
}
|
vendor/aws/Aws/CloudFront/Enum/PriceClass.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable PriceClass values
|
23 |
+
*/
|
24 |
+
class PriceClass extends Enum
|
25 |
+
{
|
26 |
+
const PRICE_CLASS_100 = 'PriceClass_100';
|
27 |
+
const PRICE_CLASS_200 = 'PriceClass_200';
|
28 |
+
const PRICE_CLASS_ALL = 'PriceClass_All';
|
29 |
+
}
|
vendor/aws/Aws/CloudFront/Enum/ViewerProtocolPolicy.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable ViewerProtocolPolicy values
|
23 |
+
*/
|
24 |
+
class ViewerProtocolPolicy extends Enum
|
25 |
+
{
|
26 |
+
const ALLOW_ALL = 'allow-all';
|
27 |
+
const HTTPS_ONLY = 'https-only';
|
28 |
+
}
|
vendor/aws/Aws/CloudFront/Exception/AccessDeniedException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Access denied.
|
21 |
+
*/
|
22 |
+
class AccessDeniedException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/BatchTooLargeException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a BatchTooLargeException error is encountered
|
21 |
+
*/
|
22 |
+
class BatchTooLargeException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/CNAMEAlreadyExistsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a CNAMEAlreadyExistsException error is encountered
|
21 |
+
*/
|
22 |
+
class CNAMEAlreadyExistsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/CloudFrontException.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
use Aws\Common\Exception\ServiceResponseException;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Default service exception class
|
23 |
+
*/
|
24 |
+
class CloudFrontException extends ServiceResponseException {}
|
vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityAlreadyExistsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.
|
21 |
+
*/
|
22 |
+
class CloudFrontOriginAccessIdentityAlreadyExistsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/CloudFrontOriginAccessIdentityInUseException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a CloudFrontOriginAccessIdentityInUseException error is encountered
|
21 |
+
*/
|
22 |
+
class CloudFrontOriginAccessIdentityInUseException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/DistributionAlreadyExistsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The caller reference you attempted to create the distribution with is associated with another distribution.
|
21 |
+
*/
|
22 |
+
class DistributionAlreadyExistsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/DistributionNotDisabledException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a DistributionNotDisabledException error is encountered
|
21 |
+
*/
|
22 |
+
class DistributionNotDisabledException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/Exception.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
use Aws\Common\Exception\ServiceResponseException;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Default service exception class
|
23 |
+
*/
|
24 |
+
class Exception extends ServiceResponseException {}
|
vendor/aws/Aws/CloudFront/Exception/IllegalUpdateException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Origin and CallerReference cannot be updated.
|
21 |
+
*/
|
22 |
+
class IllegalUpdateException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InconsistentQuantitiesException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The value of Quantity and the size of Items do not match.
|
21 |
+
*/
|
22 |
+
class InconsistentQuantitiesException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidArgumentException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The argument is invalid.
|
21 |
+
*/
|
22 |
+
class InvalidArgumentException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidDefaultRootObjectException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The default root object file name is too big or contains an invalid character.
|
21 |
+
*/
|
22 |
+
class InvalidDefaultRootObjectException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidForwardCookiesException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.
|
21 |
+
*/
|
22 |
+
class InvalidForwardCookiesException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidIfMatchVersionException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The If-Match version is missing or not valid for the distribution.
|
21 |
+
*/
|
22 |
+
class InvalidIfMatchVersionException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidOriginAccessIdentityException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The origin access identity is not valid or doesn't exist.
|
21 |
+
*/
|
22 |
+
class InvalidOriginAccessIdentityException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidOriginException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
|
21 |
+
*/
|
22 |
+
class InvalidOriginException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidRequiredProtocolException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.
|
21 |
+
*/
|
22 |
+
class InvalidRequiredProtocolException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/InvalidViewerCertificateException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a InvalidViewerCertificateException error is encountered
|
21 |
+
*/
|
22 |
+
class InvalidViewerCertificateException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/MissingBodyException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* This operation requires a body. Ensure that the body is present and the Content-Type header is set.
|
21 |
+
*/
|
22 |
+
class MissingBodyException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/NoSuchCloudFrontOriginAccessIdentityException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The specified origin access identity does not exist.
|
21 |
+
*/
|
22 |
+
class NoSuchCloudFrontOriginAccessIdentityException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/NoSuchDistributionException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The specified distribution does not exist.
|
21 |
+
*/
|
22 |
+
class NoSuchDistributionException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/NoSuchInvalidationException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The specified invalidation does not exist.
|
21 |
+
*/
|
22 |
+
class NoSuchInvalidationException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/NoSuchOriginException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* No origin exists with the specified Origin Id.
|
21 |
+
*/
|
22 |
+
class NoSuchOriginException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/NoSuchStreamingDistributionException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The specified streaming distribution does not exist.
|
21 |
+
*/
|
22 |
+
class NoSuchStreamingDistributionException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/PreconditionFailedException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The precondition given in one or more of the request-header fields evaluated to false.
|
21 |
+
*/
|
22 |
+
class PreconditionFailedException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/StreamingDistributionAlreadyExistsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a StreamingDistributionAlreadyExistsException error is encountered
|
21 |
+
*/
|
22 |
+
class StreamingDistributionAlreadyExistsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/StreamingDistributionNotDisabledException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a StreamingDistributionNotDisabledException error is encountered
|
21 |
+
*/
|
22 |
+
class StreamingDistributionNotDisabledException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyCacheBehaviorsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* You cannot create anymore cache behaviors for the distribution.
|
21 |
+
*/
|
22 |
+
class TooManyCacheBehaviorsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyCertificatesException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* You cannot create anymore custom ssl certificates.
|
21 |
+
*/
|
22 |
+
class TooManyCertificatesException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyCloudFrontOriginAccessIdentitiesException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Processing your request would cause you to exceed the maximum number of origin access identities allowed.
|
21 |
+
*/
|
22 |
+
class TooManyCloudFrontOriginAccessIdentitiesException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyCookieNamesInWhiteListException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Your request contains more cookie names in the whitelist than are allowed per cache behavior.
|
21 |
+
*/
|
22 |
+
class TooManyCookieNamesInWhiteListException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyDistributionCNAMEsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Your request contains more CNAMEs than are allowed per distribution.
|
21 |
+
*/
|
22 |
+
class TooManyDistributionCNAMEsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyDistributionsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Processing your request would cause you to exceed the maximum number of distributions allowed.
|
21 |
+
*/
|
22 |
+
class TooManyDistributionsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyInvalidationsInProgressException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.
|
21 |
+
*/
|
22 |
+
class TooManyInvalidationsInProgressException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyOriginsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* You cannot create anymore origins for the distribution.
|
21 |
+
*/
|
22 |
+
class TooManyOriginsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionCNAMEsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Exception that occurs when a TooManyStreamingDistributionCNAMEsException error is encountered
|
21 |
+
*/
|
22 |
+
class TooManyStreamingDistributionCNAMEsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyStreamingDistributionsException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
|
21 |
+
*/
|
22 |
+
class TooManyStreamingDistributionsException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TooManyTrustedSignersException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Your request contains more trusted signers than are allowed per distribution.
|
21 |
+
*/
|
22 |
+
class TooManyTrustedSignersException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Exception/TrustedSignerDoesNotExistException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudFront\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* One or more of your trusted signers do not exist.
|
21 |
+
*/
|
22 |
+
class TrustedSignerDoesNotExistException extends CloudFrontException {}
|
vendor/aws/Aws/CloudFront/Resources/cloudfront-2012-05-05.php
ADDED
@@ -0,0 +1,4583 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
return array (
|
18 |
+
'apiVersion' => '2012-05-05',
|
19 |
+
'endpointPrefix' => 'cloudfront',
|
20 |
+
'serviceFullName' => 'Amazon CloudFront',
|
21 |
+
'serviceAbbreviation' => 'CloudFront',
|
22 |
+
'serviceType' => 'rest-xml',
|
23 |
+
'globalEndpoint' => 'cloudfront.amazonaws.com',
|
24 |
+
'signatureVersion' => 'cloudfront',
|
25 |
+
'namespace' => 'CloudFront',
|
26 |
+
'regions' => array(
|
27 |
+
'us-east-1' => array(
|
28 |
+
'http' => true,
|
29 |
+
'https' => true,
|
30 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
31 |
+
),
|
32 |
+
'us-west-1' => array(
|
33 |
+
'http' => true,
|
34 |
+
'https' => true,
|
35 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
36 |
+
),
|
37 |
+
'us-west-2' => array(
|
38 |
+
'http' => true,
|
39 |
+
'https' => true,
|
40 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
41 |
+
),
|
42 |
+
'eu-west-1' => array(
|
43 |
+
'http' => true,
|
44 |
+
'https' => true,
|
45 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
46 |
+
),
|
47 |
+
'ap-northeast-1' => array(
|
48 |
+
'http' => true,
|
49 |
+
'https' => true,
|
50 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
51 |
+
),
|
52 |
+
'ap-southeast-1' => array(
|
53 |
+
'http' => true,
|
54 |
+
'https' => true,
|
55 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
56 |
+
),
|
57 |
+
'ap-southeast-2' => array(
|
58 |
+
'http' => true,
|
59 |
+
'https' => true,
|
60 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
61 |
+
),
|
62 |
+
'sa-east-1' => array(
|
63 |
+
'http' => true,
|
64 |
+
'https' => true,
|
65 |
+
'hostname' => 'cloudfront.amazonaws.com',
|
66 |
+
),
|
67 |
+
),
|
68 |
+
'operations' => array(
|
69 |
+
'CreateCloudFrontOriginAccessIdentity' => array(
|
70 |
+
'httpMethod' => 'POST',
|
71 |
+
'uri' => '/2012-05-05/origin-access-identity/cloudfront',
|
72 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
73 |
+
'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult',
|
74 |
+
'responseType' => 'model',
|
75 |
+
'summary' => 'Create a new origin access identity.',
|
76 |
+
'data' => array(
|
77 |
+
'xmlRoot' => array(
|
78 |
+
'name' => 'CloudFrontOriginAccessIdentityConfig',
|
79 |
+
'namespaces' => array(
|
80 |
+
'http://cloudfront.amazonaws.com/doc/2012-05-05/',
|
81 |
+
),
|
82 |
+
),
|
83 |
+
),
|
84 |
+
'parameters' => array(
|
85 |
+
'CallerReference' => array(
|
86 |
+
'required' => true,
|
87 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
|
88 |
+
'type' => 'string',
|
89 |
+
'location' => 'xml',
|
90 |
+
),
|
91 |
+
'Comment' => array(
|
92 |
+
'required' => true,
|
93 |
+
'description' => 'Any comments you want to include about the origin access identity.',
|
94 |
+
'type' => 'string',
|
95 |
+
'location' => 'xml',
|
96 |
+
),
|
97 |
+
'command.expects' => array(
|
98 |
+
'static' => true,
|
99 |
+
'default' => 'application/xml',
|
100 |
+
),
|
101 |
+
),
|
102 |
+
'errorResponses' => array(
|
103 |
+
array(
|
104 |
+
'class' => 'CloudFrontOriginAccessIdentityAlreadyExistsException',
|
105 |
+
),
|
106 |
+
array(
|
107 |
+
'class' => 'MissingBodyException',
|
108 |
+
),
|
109 |
+
array(
|
110 |
+
'class' => 'TooManyCloudFrontOriginAccessIdentitiesException',
|
111 |
+
),
|
112 |
+
array(
|
113 |
+
'class' => 'InvalidArgumentException',
|
114 |
+
),
|
115 |
+
array(
|
116 |
+
'class' => 'InconsistentQuantitiesException',
|
117 |
+
),
|
118 |
+
),
|
119 |
+
),
|
120 |
+
'CreateDistribution' => array(
|
121 |
+
'httpMethod' => 'POST',
|
122 |
+
'uri' => '/2012-05-05/distribution',
|
123 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
124 |
+
'responseClass' => 'CreateDistributionResult',
|
125 |
+
'responseType' => 'model',
|
126 |
+
'summary' => 'Create a new distribution.',
|
127 |
+
'data' => array(
|
128 |
+
'xmlRoot' => array(
|
129 |
+
'name' => 'DistributionConfig',
|
130 |
+
'namespaces' => array(
|
131 |
+
'http://cloudfront.amazonaws.com/doc/2012-05-05/',
|
132 |
+
),
|
133 |
+
),
|
134 |
+
),
|
135 |
+
'parameters' => array(
|
136 |
+
'CallerReference' => array(
|
137 |
+
'required' => true,
|
138 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
139 |
+
'type' => 'string',
|
140 |
+
'location' => 'xml',
|
141 |
+
),
|
142 |
+
'Aliases' => array(
|
143 |
+
'required' => true,
|
144 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
|
145 |
+
'type' => 'object',
|
146 |
+
'location' => 'xml',
|
147 |
+
'properties' => array(
|
148 |
+
'Quantity' => array(
|
149 |
+
'required' => true,
|
150 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
151 |
+
'type' => 'numeric',
|
152 |
+
),
|
153 |
+
'Items' => array(
|
154 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
155 |
+
'type' => 'array',
|
156 |
+
'items' => array(
|
157 |
+
'name' => 'CNAME',
|
158 |
+
'type' => 'string',
|
159 |
+
),
|
160 |
+
),
|
161 |
+
),
|
162 |
+
),
|
163 |
+
'DefaultRootObject' => array(
|
164 |
+
'required' => true,
|
165 |
+
'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
|
166 |
+
'type' => 'string',
|
167 |
+
'location' => 'xml',
|
168 |
+
),
|
169 |
+
'Origins' => array(
|
170 |
+
'required' => true,
|
171 |
+
'description' => 'A complex type that contains information about origins for this distribution.',
|
172 |
+
'type' => 'object',
|
173 |
+
'location' => 'xml',
|
174 |
+
'properties' => array(
|
175 |
+
'Quantity' => array(
|
176 |
+
'required' => true,
|
177 |
+
'description' => 'The number of origins for this distribution.',
|
178 |
+
'type' => 'numeric',
|
179 |
+
),
|
180 |
+
'Items' => array(
|
181 |
+
'description' => 'A complex type that contains origins for this distribution.',
|
182 |
+
'type' => 'array',
|
183 |
+
'minItems' => 1,
|
184 |
+
'items' => array(
|
185 |
+
'name' => 'Origin',
|
186 |
+
'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
|
187 |
+
'type' => 'object',
|
188 |
+
'properties' => array(
|
189 |
+
'Id' => array(
|
190 |
+
'required' => true,
|
191 |
+
'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
|
192 |
+
'type' => 'string',
|
193 |
+
),
|
194 |
+
'DomainName' => array(
|
195 |
+
'required' => true,
|
196 |
+
'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
|
197 |
+
'type' => 'string',
|
198 |
+
),
|
199 |
+
'S3OriginConfig' => array(
|
200 |
+
'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
|
201 |
+
'type' => 'object',
|
202 |
+
'properties' => array(
|
203 |
+
'OriginAccessIdentity' => array(
|
204 |
+
'required' => true,
|
205 |
+
'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
|
206 |
+
'type' => 'string',
|
207 |
+
),
|
208 |
+
),
|
209 |
+
),
|
210 |
+
'CustomOriginConfig' => array(
|
211 |
+
'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
|
212 |
+
'type' => 'object',
|
213 |
+
'properties' => array(
|
214 |
+
'HTTPPort' => array(
|
215 |
+
'required' => true,
|
216 |
+
'description' => 'The HTTP port the custom origin listens on.',
|
217 |
+
'type' => 'numeric',
|
218 |
+
),
|
219 |
+
'HTTPSPort' => array(
|
220 |
+
'required' => true,
|
221 |
+
'description' => 'The HTTPS port the custom origin listens on.',
|
222 |
+
'type' => 'numeric',
|
223 |
+
),
|
224 |
+
'OriginProtocolPolicy' => array(
|
225 |
+
'required' => true,
|
226 |
+
'description' => 'The origin protocol policy to apply to your origin.',
|
227 |
+
'type' => 'string',
|
228 |
+
'enum' => array(
|
229 |
+
'http-only',
|
230 |
+
'match-viewer',
|
231 |
+
),
|
232 |
+
),
|
233 |
+
),
|
234 |
+
),
|
235 |
+
),
|
236 |
+
),
|
237 |
+
),
|
238 |
+
),
|
239 |
+
),
|
240 |
+
'DefaultCacheBehavior' => array(
|
241 |
+
'required' => true,
|
242 |
+
'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
|
243 |
+
'type' => 'object',
|
244 |
+
'location' => 'xml',
|
245 |
+
'properties' => array(
|
246 |
+
'TargetOriginId' => array(
|
247 |
+
'required' => true,
|
248 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
249 |
+
'type' => 'string',
|
250 |
+
),
|
251 |
+
'ForwardedValues' => array(
|
252 |
+
'required' => true,
|
253 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
254 |
+
'type' => 'object',
|
255 |
+
'properties' => array(
|
256 |
+
'QueryString' => array(
|
257 |
+
'required' => true,
|
258 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
259 |
+
'type' => 'boolean',
|
260 |
+
'format' => 'boolean-string',
|
261 |
+
),
|
262 |
+
),
|
263 |
+
),
|
264 |
+
'TrustedSigners' => array(
|
265 |
+
'required' => true,
|
266 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
267 |
+
'type' => 'object',
|
268 |
+
'properties' => array(
|
269 |
+
'Enabled' => array(
|
270 |
+
'required' => true,
|
271 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
272 |
+
'type' => 'boolean',
|
273 |
+
'format' => 'boolean-string',
|
274 |
+
),
|
275 |
+
'Quantity' => array(
|
276 |
+
'required' => true,
|
277 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
278 |
+
'type' => 'numeric',
|
279 |
+
),
|
280 |
+
'Items' => array(
|
281 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
282 |
+
'type' => 'array',
|
283 |
+
'items' => array(
|
284 |
+
'name' => 'AwsAccountNumber',
|
285 |
+
'type' => 'string',
|
286 |
+
),
|
287 |
+
),
|
288 |
+
),
|
289 |
+
),
|
290 |
+
'ViewerProtocolPolicy' => array(
|
291 |
+
'required' => true,
|
292 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
293 |
+
'type' => 'string',
|
294 |
+
'enum' => array(
|
295 |
+
'allow-all',
|
296 |
+
'https-only',
|
297 |
+
),
|
298 |
+
),
|
299 |
+
'MinTTL' => array(
|
300 |
+
'required' => true,
|
301 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
302 |
+
'type' => 'numeric',
|
303 |
+
),
|
304 |
+
),
|
305 |
+
),
|
306 |
+
'CacheBehaviors' => array(
|
307 |
+
'required' => true,
|
308 |
+
'description' => 'A complex type that contains zero or more CacheBehavior elements.',
|
309 |
+
'type' => 'object',
|
310 |
+
'location' => 'xml',
|
311 |
+
'properties' => array(
|
312 |
+
'Quantity' => array(
|
313 |
+
'required' => true,
|
314 |
+
'description' => 'The number of cache behaviors for this distribution.',
|
315 |
+
'type' => 'numeric',
|
316 |
+
),
|
317 |
+
'Items' => array(
|
318 |
+
'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
|
319 |
+
'type' => 'array',
|
320 |
+
'items' => array(
|
321 |
+
'name' => 'CacheBehavior',
|
322 |
+
'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
|
323 |
+
'type' => 'object',
|
324 |
+
'properties' => array(
|
325 |
+
'PathPattern' => array(
|
326 |
+
'required' => true,
|
327 |
+
'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
|
328 |
+
'type' => 'string',
|
329 |
+
),
|
330 |
+
'TargetOriginId' => array(
|
331 |
+
'required' => true,
|
332 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
333 |
+
'type' => 'string',
|
334 |
+
),
|
335 |
+
'ForwardedValues' => array(
|
336 |
+
'required' => true,
|
337 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
338 |
+
'type' => 'object',
|
339 |
+
'properties' => array(
|
340 |
+
'QueryString' => array(
|
341 |
+
'required' => true,
|
342 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
343 |
+
'type' => 'boolean',
|
344 |
+
'format' => 'boolean-string',
|
345 |
+
),
|
346 |
+
),
|
347 |
+
),
|
348 |
+
'TrustedSigners' => array(
|
349 |
+
'required' => true,
|
350 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
351 |
+
'type' => 'object',
|
352 |
+
'properties' => array(
|
353 |
+
'Enabled' => array(
|
354 |
+
'required' => true,
|
355 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
356 |
+
'type' => 'boolean',
|
357 |
+
'format' => 'boolean-string',
|
358 |
+
),
|
359 |
+
'Quantity' => array(
|
360 |
+
'required' => true,
|
361 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
362 |
+
'type' => 'numeric',
|
363 |
+
),
|
364 |
+
'Items' => array(
|
365 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
366 |
+
'type' => 'array',
|
367 |
+
'items' => array(
|
368 |
+
'name' => 'AwsAccountNumber',
|
369 |
+
'type' => 'string',
|
370 |
+
),
|
371 |
+
),
|
372 |
+
),
|
373 |
+
),
|
374 |
+
'ViewerProtocolPolicy' => array(
|
375 |
+
'required' => true,
|
376 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
377 |
+
'type' => 'string',
|
378 |
+
'enum' => array(
|
379 |
+
'allow-all',
|
380 |
+
'https-only',
|
381 |
+
),
|
382 |
+
),
|
383 |
+
'MinTTL' => array(
|
384 |
+
'required' => true,
|
385 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
386 |
+
'type' => 'numeric',
|
387 |
+
),
|
388 |
+
),
|
389 |
+
),
|
390 |
+
),
|
391 |
+
),
|
392 |
+
),
|
393 |
+
'Comment' => array(
|
394 |
+
'required' => true,
|
395 |
+
'description' => 'Any comments you want to include about the distribution.',
|
396 |
+
'type' => 'string',
|
397 |
+
'location' => 'xml',
|
398 |
+
),
|
399 |
+
'Logging' => array(
|
400 |
+
'required' => true,
|
401 |
+
'description' => 'A complex type that controls whether access logs are written for the distribution.',
|
402 |
+
'type' => 'object',
|
403 |
+
'location' => 'xml',
|
404 |
+
'properties' => array(
|
405 |
+
'Enabled' => array(
|
406 |
+
'required' => true,
|
407 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
408 |
+
'type' => 'boolean',
|
409 |
+
'format' => 'boolean-string',
|
410 |
+
),
|
411 |
+
'Bucket' => array(
|
412 |
+
'required' => true,
|
413 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
414 |
+
'type' => 'string',
|
415 |
+
),
|
416 |
+
'Prefix' => array(
|
417 |
+
'required' => true,
|
418 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
419 |
+
'type' => 'string',
|
420 |
+
),
|
421 |
+
),
|
422 |
+
),
|
423 |
+
'Enabled' => array(
|
424 |
+
'required' => true,
|
425 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
426 |
+
'type' => 'boolean',
|
427 |
+
'format' => 'boolean-string',
|
428 |
+
'location' => 'xml',
|
429 |
+
),
|
430 |
+
'command.expects' => array(
|
431 |
+
'static' => true,
|
432 |
+
'default' => 'application/xml',
|
433 |
+
),
|
434 |
+
),
|
435 |
+
'errorResponses' => array(
|
436 |
+
array(
|
437 |
+
'class' => 'CNAMEAlreadyExistsException',
|
438 |
+
),
|
439 |
+
array(
|
440 |
+
'class' => 'DistributionAlreadyExistsException',
|
441 |
+
),
|
442 |
+
array(
|
443 |
+
'class' => 'InvalidOriginException',
|
444 |
+
),
|
445 |
+
array(
|
446 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
447 |
+
),
|
448 |
+
array(
|
449 |
+
'class' => 'AccessDeniedException',
|
450 |
+
),
|
451 |
+
array(
|
452 |
+
'class' => 'TooManyTrustedSignersException',
|
453 |
+
),
|
454 |
+
array(
|
455 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
456 |
+
),
|
457 |
+
array(
|
458 |
+
'class' => 'MissingBodyException',
|
459 |
+
),
|
460 |
+
array(
|
461 |
+
'class' => 'TooManyDistributionCNAMEsException',
|
462 |
+
),
|
463 |
+
array(
|
464 |
+
'class' => 'TooManyDistributionsException',
|
465 |
+
),
|
466 |
+
array(
|
467 |
+
'class' => 'InvalidDefaultRootObjectException',
|
468 |
+
),
|
469 |
+
array(
|
470 |
+
'class' => 'InvalidArgumentException',
|
471 |
+
),
|
472 |
+
array(
|
473 |
+
'class' => 'InvalidRequiredProtocolException',
|
474 |
+
),
|
475 |
+
array(
|
476 |
+
'class' => 'NoSuchOriginException',
|
477 |
+
),
|
478 |
+
array(
|
479 |
+
'class' => 'TooManyOriginsException',
|
480 |
+
),
|
481 |
+
array(
|
482 |
+
'class' => 'TooManyCacheBehaviorsException',
|
483 |
+
),
|
484 |
+
array(
|
485 |
+
'class' => 'InconsistentQuantitiesException',
|
486 |
+
),
|
487 |
+
),
|
488 |
+
),
|
489 |
+
'CreateInvalidation' => array(
|
490 |
+
'httpMethod' => 'POST',
|
491 |
+
'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation',
|
492 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
493 |
+
'responseClass' => 'CreateInvalidationResult',
|
494 |
+
'responseType' => 'model',
|
495 |
+
'summary' => 'Create a new invalidation.',
|
496 |
+
'data' => array(
|
497 |
+
'xmlRoot' => array(
|
498 |
+
'name' => 'InvalidationBatch',
|
499 |
+
'namespaces' => array(
|
500 |
+
'http://cloudfront.amazonaws.com/doc/2012-05-05/',
|
501 |
+
),
|
502 |
+
),
|
503 |
+
),
|
504 |
+
'parameters' => array(
|
505 |
+
'DistributionId' => array(
|
506 |
+
'required' => true,
|
507 |
+
'description' => 'The distribution\'s id.',
|
508 |
+
'type' => 'string',
|
509 |
+
'location' => 'uri',
|
510 |
+
),
|
511 |
+
'Paths' => array(
|
512 |
+
'required' => true,
|
513 |
+
'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.',
|
514 |
+
'type' => 'object',
|
515 |
+
'location' => 'xml',
|
516 |
+
'properties' => array(
|
517 |
+
'Quantity' => array(
|
518 |
+
'required' => true,
|
519 |
+
'description' => 'The number of objects that you want to invalidate.',
|
520 |
+
'type' => 'numeric',
|
521 |
+
),
|
522 |
+
'Items' => array(
|
523 |
+
'description' => 'A complex type that contains a list of the objects that you want to invalidate.',
|
524 |
+
'type' => 'array',
|
525 |
+
'items' => array(
|
526 |
+
'name' => 'Path',
|
527 |
+
'type' => 'string',
|
528 |
+
),
|
529 |
+
),
|
530 |
+
),
|
531 |
+
),
|
532 |
+
'CallerReference' => array(
|
533 |
+
'required' => true,
|
534 |
+
'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.',
|
535 |
+
'type' => 'string',
|
536 |
+
'location' => 'xml',
|
537 |
+
),
|
538 |
+
'command.expects' => array(
|
539 |
+
'static' => true,
|
540 |
+
'default' => 'application/xml',
|
541 |
+
),
|
542 |
+
),
|
543 |
+
'errorResponses' => array(
|
544 |
+
array(
|
545 |
+
'class' => 'AccessDeniedException',
|
546 |
+
),
|
547 |
+
array(
|
548 |
+
'class' => 'MissingBodyException',
|
549 |
+
),
|
550 |
+
array(
|
551 |
+
'class' => 'InvalidArgumentException',
|
552 |
+
),
|
553 |
+
array(
|
554 |
+
'class' => 'NoSuchDistributionException',
|
555 |
+
),
|
556 |
+
array(
|
557 |
+
'class' => 'BatchTooLargeException',
|
558 |
+
),
|
559 |
+
array(
|
560 |
+
'class' => 'TooManyInvalidationsInProgressException',
|
561 |
+
),
|
562 |
+
array(
|
563 |
+
'class' => 'InconsistentQuantitiesException',
|
564 |
+
),
|
565 |
+
),
|
566 |
+
),
|
567 |
+
'CreateStreamingDistribution' => array(
|
568 |
+
'httpMethod' => 'POST',
|
569 |
+
'uri' => '/2012-05-05/streaming-distribution',
|
570 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
571 |
+
'responseClass' => 'CreateStreamingDistributionResult',
|
572 |
+
'responseType' => 'model',
|
573 |
+
'summary' => 'Create a new streaming distribution.',
|
574 |
+
'data' => array(
|
575 |
+
'xmlRoot' => array(
|
576 |
+
'name' => 'StreamingDistributionConfig',
|
577 |
+
'namespaces' => array(
|
578 |
+
'http://cloudfront.amazonaws.com/doc/2012-05-05/',
|
579 |
+
),
|
580 |
+
),
|
581 |
+
),
|
582 |
+
'parameters' => array(
|
583 |
+
'CallerReference' => array(
|
584 |
+
'required' => true,
|
585 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
586 |
+
'type' => 'string',
|
587 |
+
'location' => 'xml',
|
588 |
+
),
|
589 |
+
'S3Origin' => array(
|
590 |
+
'required' => true,
|
591 |
+
'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
|
592 |
+
'type' => 'object',
|
593 |
+
'location' => 'xml',
|
594 |
+
'properties' => array(
|
595 |
+
'DomainName' => array(
|
596 |
+
'required' => true,
|
597 |
+
'description' => 'The DNS name of the S3 origin.',
|
598 |
+
'type' => 'string',
|
599 |
+
),
|
600 |
+
'OriginAccessIdentity' => array(
|
601 |
+
'required' => true,
|
602 |
+
'description' => 'Your S3 origin\'s origin access identity.',
|
603 |
+
'type' => 'string',
|
604 |
+
),
|
605 |
+
),
|
606 |
+
),
|
607 |
+
'Aliases' => array(
|
608 |
+
'required' => true,
|
609 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
|
610 |
+
'type' => 'object',
|
611 |
+
'location' => 'xml',
|
612 |
+
'properties' => array(
|
613 |
+
'Quantity' => array(
|
614 |
+
'required' => true,
|
615 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
616 |
+
'type' => 'numeric',
|
617 |
+
),
|
618 |
+
'Items' => array(
|
619 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
620 |
+
'type' => 'array',
|
621 |
+
'items' => array(
|
622 |
+
'name' => 'CNAME',
|
623 |
+
'type' => 'string',
|
624 |
+
),
|
625 |
+
),
|
626 |
+
),
|
627 |
+
),
|
628 |
+
'Comment' => array(
|
629 |
+
'required' => true,
|
630 |
+
'description' => 'Any comments you want to include about the streaming distribution.',
|
631 |
+
'type' => 'string',
|
632 |
+
'location' => 'xml',
|
633 |
+
),
|
634 |
+
'Logging' => array(
|
635 |
+
'required' => true,
|
636 |
+
'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
|
637 |
+
'type' => 'object',
|
638 |
+
'location' => 'xml',
|
639 |
+
'properties' => array(
|
640 |
+
'Enabled' => array(
|
641 |
+
'required' => true,
|
642 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
643 |
+
'type' => 'boolean',
|
644 |
+
'format' => 'boolean-string',
|
645 |
+
),
|
646 |
+
'Bucket' => array(
|
647 |
+
'required' => true,
|
648 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
649 |
+
'type' => 'string',
|
650 |
+
),
|
651 |
+
'Prefix' => array(
|
652 |
+
'required' => true,
|
653 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
654 |
+
'type' => 'string',
|
655 |
+
),
|
656 |
+
),
|
657 |
+
),
|
658 |
+
'TrustedSigners' => array(
|
659 |
+
'required' => true,
|
660 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
661 |
+
'type' => 'object',
|
662 |
+
'location' => 'xml',
|
663 |
+
'properties' => array(
|
664 |
+
'Enabled' => array(
|
665 |
+
'required' => true,
|
666 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
667 |
+
'type' => 'boolean',
|
668 |
+
'format' => 'boolean-string',
|
669 |
+
),
|
670 |
+
'Quantity' => array(
|
671 |
+
'required' => true,
|
672 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
673 |
+
'type' => 'numeric',
|
674 |
+
),
|
675 |
+
'Items' => array(
|
676 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
677 |
+
'type' => 'array',
|
678 |
+
'items' => array(
|
679 |
+
'name' => 'AwsAccountNumber',
|
680 |
+
'type' => 'string',
|
681 |
+
),
|
682 |
+
),
|
683 |
+
),
|
684 |
+
),
|
685 |
+
'Enabled' => array(
|
686 |
+
'required' => true,
|
687 |
+
'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
|
688 |
+
'type' => 'boolean',
|
689 |
+
'format' => 'boolean-string',
|
690 |
+
'location' => 'xml',
|
691 |
+
),
|
692 |
+
'command.expects' => array(
|
693 |
+
'static' => true,
|
694 |
+
'default' => 'application/xml',
|
695 |
+
),
|
696 |
+
),
|
697 |
+
'errorResponses' => array(
|
698 |
+
array(
|
699 |
+
'class' => 'CNAMEAlreadyExistsException',
|
700 |
+
),
|
701 |
+
array(
|
702 |
+
'class' => 'StreamingDistributionAlreadyExistsException',
|
703 |
+
),
|
704 |
+
array(
|
705 |
+
'class' => 'InvalidOriginException',
|
706 |
+
),
|
707 |
+
array(
|
708 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
709 |
+
),
|
710 |
+
array(
|
711 |
+
'class' => 'AccessDeniedException',
|
712 |
+
),
|
713 |
+
array(
|
714 |
+
'class' => 'TooManyTrustedSignersException',
|
715 |
+
),
|
716 |
+
array(
|
717 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
718 |
+
),
|
719 |
+
array(
|
720 |
+
'class' => 'MissingBodyException',
|
721 |
+
),
|
722 |
+
array(
|
723 |
+
'class' => 'TooManyStreamingDistributionCNAMEsException',
|
724 |
+
),
|
725 |
+
array(
|
726 |
+
'class' => 'TooManyStreamingDistributionsException',
|
727 |
+
),
|
728 |
+
array(
|
729 |
+
'class' => 'InvalidArgumentException',
|
730 |
+
),
|
731 |
+
array(
|
732 |
+
'class' => 'InconsistentQuantitiesException',
|
733 |
+
),
|
734 |
+
),
|
735 |
+
),
|
736 |
+
'DeleteCloudFrontOriginAccessIdentity' => array(
|
737 |
+
'httpMethod' => 'DELETE',
|
738 |
+
'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}',
|
739 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
740 |
+
'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2012_05_05Output',
|
741 |
+
'responseType' => 'model',
|
742 |
+
'summary' => 'Delete an origin access identity.',
|
743 |
+
'parameters' => array(
|
744 |
+
'Id' => array(
|
745 |
+
'required' => true,
|
746 |
+
'description' => 'The origin access identity\'s id.',
|
747 |
+
'type' => 'string',
|
748 |
+
'location' => 'uri',
|
749 |
+
),
|
750 |
+
'IfMatch' => array(
|
751 |
+
'description' => 'The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.',
|
752 |
+
'type' => 'string',
|
753 |
+
'location' => 'header',
|
754 |
+
'sentAs' => 'If-Match',
|
755 |
+
),
|
756 |
+
),
|
757 |
+
'errorResponses' => array(
|
758 |
+
array(
|
759 |
+
'class' => 'AccessDeniedException',
|
760 |
+
),
|
761 |
+
array(
|
762 |
+
'class' => 'InvalidIfMatchVersionException',
|
763 |
+
),
|
764 |
+
array(
|
765 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
766 |
+
),
|
767 |
+
array(
|
768 |
+
'class' => 'PreconditionFailedException',
|
769 |
+
),
|
770 |
+
array(
|
771 |
+
'class' => 'CloudFrontOriginAccessIdentityInUseException',
|
772 |
+
),
|
773 |
+
),
|
774 |
+
),
|
775 |
+
'DeleteDistribution' => array(
|
776 |
+
'httpMethod' => 'DELETE',
|
777 |
+
'uri' => '/2012-05-05/distribution/{Id}',
|
778 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
779 |
+
'responseClass' => 'DeleteDistribution2012_05_05Output',
|
780 |
+
'responseType' => 'model',
|
781 |
+
'summary' => 'Delete a distribution.',
|
782 |
+
'parameters' => array(
|
783 |
+
'Id' => array(
|
784 |
+
'required' => true,
|
785 |
+
'description' => 'The distribution id.',
|
786 |
+
'type' => 'string',
|
787 |
+
'location' => 'uri',
|
788 |
+
),
|
789 |
+
'IfMatch' => array(
|
790 |
+
'description' => 'The value of the ETag header you received when you disabled the distribution. For example: E2QWRUHAPOMQZL.',
|
791 |
+
'type' => 'string',
|
792 |
+
'location' => 'header',
|
793 |
+
'sentAs' => 'If-Match',
|
794 |
+
),
|
795 |
+
),
|
796 |
+
'errorResponses' => array(
|
797 |
+
array(
|
798 |
+
'class' => 'AccessDeniedException',
|
799 |
+
),
|
800 |
+
array(
|
801 |
+
'class' => 'DistributionNotDisabledException',
|
802 |
+
),
|
803 |
+
array(
|
804 |
+
'class' => 'InvalidIfMatchVersionException',
|
805 |
+
),
|
806 |
+
array(
|
807 |
+
'class' => 'NoSuchDistributionException',
|
808 |
+
),
|
809 |
+
array(
|
810 |
+
'class' => 'PreconditionFailedException',
|
811 |
+
),
|
812 |
+
),
|
813 |
+
),
|
814 |
+
'DeleteStreamingDistribution' => array(
|
815 |
+
'httpMethod' => 'DELETE',
|
816 |
+
'uri' => '/2012-05-05/streaming-distribution/{Id}',
|
817 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
818 |
+
'responseClass' => 'DeleteStreamingDistribution2012_05_05Output',
|
819 |
+
'responseType' => 'model',
|
820 |
+
'summary' => 'Delete a streaming distribution.',
|
821 |
+
'parameters' => array(
|
822 |
+
'Id' => array(
|
823 |
+
'required' => true,
|
824 |
+
'description' => 'The distribution id.',
|
825 |
+
'type' => 'string',
|
826 |
+
'location' => 'uri',
|
827 |
+
),
|
828 |
+
'IfMatch' => array(
|
829 |
+
'description' => 'The value of the ETag header you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.',
|
830 |
+
'type' => 'string',
|
831 |
+
'location' => 'header',
|
832 |
+
'sentAs' => 'If-Match',
|
833 |
+
),
|
834 |
+
),
|
835 |
+
'errorResponses' => array(
|
836 |
+
array(
|
837 |
+
'class' => 'AccessDeniedException',
|
838 |
+
),
|
839 |
+
array(
|
840 |
+
'class' => 'StreamingDistributionNotDisabledException',
|
841 |
+
),
|
842 |
+
array(
|
843 |
+
'class' => 'InvalidIfMatchVersionException',
|
844 |
+
),
|
845 |
+
array(
|
846 |
+
'class' => 'NoSuchStreamingDistributionException',
|
847 |
+
),
|
848 |
+
array(
|
849 |
+
'class' => 'PreconditionFailedException',
|
850 |
+
),
|
851 |
+
),
|
852 |
+
),
|
853 |
+
'GetCloudFrontOriginAccessIdentity' => array(
|
854 |
+
'httpMethod' => 'GET',
|
855 |
+
'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}',
|
856 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
857 |
+
'responseClass' => 'GetCloudFrontOriginAccessIdentityResult',
|
858 |
+
'responseType' => 'model',
|
859 |
+
'summary' => 'Get the information about an origin access identity.',
|
860 |
+
'parameters' => array(
|
861 |
+
'Id' => array(
|
862 |
+
'required' => true,
|
863 |
+
'description' => 'The identity\'s id.',
|
864 |
+
'type' => 'string',
|
865 |
+
'location' => 'uri',
|
866 |
+
),
|
867 |
+
'command.expects' => array(
|
868 |
+
'static' => true,
|
869 |
+
'default' => 'application/xml',
|
870 |
+
),
|
871 |
+
),
|
872 |
+
'errorResponses' => array(
|
873 |
+
array(
|
874 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
875 |
+
),
|
876 |
+
array(
|
877 |
+
'class' => 'AccessDeniedException',
|
878 |
+
),
|
879 |
+
),
|
880 |
+
),
|
881 |
+
'GetCloudFrontOriginAccessIdentityConfig' => array(
|
882 |
+
'httpMethod' => 'GET',
|
883 |
+
'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}/config',
|
884 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
885 |
+
'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult',
|
886 |
+
'responseType' => 'model',
|
887 |
+
'summary' => 'Get the configuration information about an origin access identity.',
|
888 |
+
'parameters' => array(
|
889 |
+
'Id' => array(
|
890 |
+
'required' => true,
|
891 |
+
'description' => 'The identity\'s id.',
|
892 |
+
'type' => 'string',
|
893 |
+
'location' => 'uri',
|
894 |
+
),
|
895 |
+
'command.expects' => array(
|
896 |
+
'static' => true,
|
897 |
+
'default' => 'application/xml',
|
898 |
+
),
|
899 |
+
),
|
900 |
+
'errorResponses' => array(
|
901 |
+
array(
|
902 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
903 |
+
),
|
904 |
+
array(
|
905 |
+
'class' => 'AccessDeniedException',
|
906 |
+
),
|
907 |
+
),
|
908 |
+
),
|
909 |
+
'GetDistribution' => array(
|
910 |
+
'httpMethod' => 'GET',
|
911 |
+
'uri' => '/2012-05-05/distribution/{Id}',
|
912 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
913 |
+
'responseClass' => 'GetDistributionResult',
|
914 |
+
'responseType' => 'model',
|
915 |
+
'summary' => 'Get the information about a distribution.',
|
916 |
+
'parameters' => array(
|
917 |
+
'Id' => array(
|
918 |
+
'required' => true,
|
919 |
+
'description' => 'The distribution\'s id.',
|
920 |
+
'type' => 'string',
|
921 |
+
'location' => 'uri',
|
922 |
+
),
|
923 |
+
'command.expects' => array(
|
924 |
+
'static' => true,
|
925 |
+
'default' => 'application/xml',
|
926 |
+
),
|
927 |
+
),
|
928 |
+
'errorResponses' => array(
|
929 |
+
array(
|
930 |
+
'class' => 'NoSuchDistributionException',
|
931 |
+
),
|
932 |
+
array(
|
933 |
+
'class' => 'AccessDeniedException',
|
934 |
+
),
|
935 |
+
),
|
936 |
+
),
|
937 |
+
'GetDistributionConfig' => array(
|
938 |
+
'httpMethod' => 'GET',
|
939 |
+
'uri' => '/2012-05-05/distribution/{Id}/config',
|
940 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
941 |
+
'responseClass' => 'GetDistributionConfigResult',
|
942 |
+
'responseType' => 'model',
|
943 |
+
'summary' => 'Get the configuration information about a distribution.',
|
944 |
+
'parameters' => array(
|
945 |
+
'Id' => array(
|
946 |
+
'required' => true,
|
947 |
+
'description' => 'The distribution\'s id.',
|
948 |
+
'type' => 'string',
|
949 |
+
'location' => 'uri',
|
950 |
+
),
|
951 |
+
'command.expects' => array(
|
952 |
+
'static' => true,
|
953 |
+
'default' => 'application/xml',
|
954 |
+
),
|
955 |
+
),
|
956 |
+
'errorResponses' => array(
|
957 |
+
array(
|
958 |
+
'class' => 'NoSuchDistributionException',
|
959 |
+
),
|
960 |
+
array(
|
961 |
+
'class' => 'AccessDeniedException',
|
962 |
+
),
|
963 |
+
),
|
964 |
+
),
|
965 |
+
'GetInvalidation' => array(
|
966 |
+
'httpMethod' => 'GET',
|
967 |
+
'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation/{Id}',
|
968 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
969 |
+
'responseClass' => 'GetInvalidationResult',
|
970 |
+
'responseType' => 'model',
|
971 |
+
'summary' => 'Get the information about an invalidation.',
|
972 |
+
'parameters' => array(
|
973 |
+
'DistributionId' => array(
|
974 |
+
'required' => true,
|
975 |
+
'description' => 'The distribution\'s id.',
|
976 |
+
'type' => 'string',
|
977 |
+
'location' => 'uri',
|
978 |
+
),
|
979 |
+
'Id' => array(
|
980 |
+
'required' => true,
|
981 |
+
'description' => 'The invalidation\'s id.',
|
982 |
+
'type' => 'string',
|
983 |
+
'location' => 'uri',
|
984 |
+
),
|
985 |
+
'command.expects' => array(
|
986 |
+
'static' => true,
|
987 |
+
'default' => 'application/xml',
|
988 |
+
),
|
989 |
+
),
|
990 |
+
'errorResponses' => array(
|
991 |
+
array(
|
992 |
+
'class' => 'NoSuchInvalidationException',
|
993 |
+
),
|
994 |
+
array(
|
995 |
+
'class' => 'NoSuchDistributionException',
|
996 |
+
),
|
997 |
+
array(
|
998 |
+
'class' => 'AccessDeniedException',
|
999 |
+
),
|
1000 |
+
),
|
1001 |
+
),
|
1002 |
+
'GetStreamingDistribution' => array(
|
1003 |
+
'httpMethod' => 'GET',
|
1004 |
+
'uri' => '/2012-05-05/streaming-distribution/{Id}',
|
1005 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1006 |
+
'responseClass' => 'GetStreamingDistributionResult',
|
1007 |
+
'responseType' => 'model',
|
1008 |
+
'summary' => 'Get the information about a streaming distribution.',
|
1009 |
+
'parameters' => array(
|
1010 |
+
'Id' => array(
|
1011 |
+
'required' => true,
|
1012 |
+
'description' => 'The streaming distribution\'s id.',
|
1013 |
+
'type' => 'string',
|
1014 |
+
'location' => 'uri',
|
1015 |
+
),
|
1016 |
+
'command.expects' => array(
|
1017 |
+
'static' => true,
|
1018 |
+
'default' => 'application/xml',
|
1019 |
+
),
|
1020 |
+
),
|
1021 |
+
'errorResponses' => array(
|
1022 |
+
array(
|
1023 |
+
'class' => 'NoSuchStreamingDistributionException',
|
1024 |
+
),
|
1025 |
+
array(
|
1026 |
+
'class' => 'AccessDeniedException',
|
1027 |
+
),
|
1028 |
+
),
|
1029 |
+
),
|
1030 |
+
'GetStreamingDistributionConfig' => array(
|
1031 |
+
'httpMethod' => 'GET',
|
1032 |
+
'uri' => '/2012-05-05/streaming-distribution/{Id}/config',
|
1033 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1034 |
+
'responseClass' => 'GetStreamingDistributionConfigResult',
|
1035 |
+
'responseType' => 'model',
|
1036 |
+
'summary' => 'Get the configuration information about a streaming distribution.',
|
1037 |
+
'parameters' => array(
|
1038 |
+
'Id' => array(
|
1039 |
+
'required' => true,
|
1040 |
+
'description' => 'The streaming distribution\'s id.',
|
1041 |
+
'type' => 'string',
|
1042 |
+
'location' => 'uri',
|
1043 |
+
),
|
1044 |
+
'command.expects' => array(
|
1045 |
+
'static' => true,
|
1046 |
+
'default' => 'application/xml',
|
1047 |
+
),
|
1048 |
+
),
|
1049 |
+
'errorResponses' => array(
|
1050 |
+
array(
|
1051 |
+
'class' => 'NoSuchStreamingDistributionException',
|
1052 |
+
),
|
1053 |
+
array(
|
1054 |
+
'class' => 'AccessDeniedException',
|
1055 |
+
),
|
1056 |
+
),
|
1057 |
+
),
|
1058 |
+
'ListCloudFrontOriginAccessIdentities' => array(
|
1059 |
+
'httpMethod' => 'GET',
|
1060 |
+
'uri' => '/2012-05-05/origin-access-identity/cloudfront',
|
1061 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1062 |
+
'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult',
|
1063 |
+
'responseType' => 'model',
|
1064 |
+
'summary' => 'List origin access identities.',
|
1065 |
+
'parameters' => array(
|
1066 |
+
'Marker' => array(
|
1067 |
+
'description' => 'Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last identity on that page).',
|
1068 |
+
'type' => 'string',
|
1069 |
+
'location' => 'query',
|
1070 |
+
),
|
1071 |
+
'MaxItems' => array(
|
1072 |
+
'description' => 'The maximum number of origin access identities you want in the response body.',
|
1073 |
+
'type' => 'string',
|
1074 |
+
'location' => 'query',
|
1075 |
+
),
|
1076 |
+
'command.expects' => array(
|
1077 |
+
'static' => true,
|
1078 |
+
'default' => 'application/xml',
|
1079 |
+
),
|
1080 |
+
),
|
1081 |
+
'errorResponses' => array(
|
1082 |
+
array(
|
1083 |
+
'class' => 'InvalidArgumentException',
|
1084 |
+
),
|
1085 |
+
),
|
1086 |
+
),
|
1087 |
+
'ListDistributions' => array(
|
1088 |
+
'httpMethod' => 'GET',
|
1089 |
+
'uri' => '/2012-05-05/distribution',
|
1090 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1091 |
+
'responseClass' => 'ListDistributionsResult',
|
1092 |
+
'responseType' => 'model',
|
1093 |
+
'summary' => 'List distributions.',
|
1094 |
+
'parameters' => array(
|
1095 |
+
'Marker' => array(
|
1096 |
+
'description' => 'Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last distribution on that page).',
|
1097 |
+
'type' => 'string',
|
1098 |
+
'location' => 'query',
|
1099 |
+
),
|
1100 |
+
'MaxItems' => array(
|
1101 |
+
'description' => 'The maximum number of distributions you want in the response body.',
|
1102 |
+
'type' => 'string',
|
1103 |
+
'location' => 'query',
|
1104 |
+
),
|
1105 |
+
'command.expects' => array(
|
1106 |
+
'static' => true,
|
1107 |
+
'default' => 'application/xml',
|
1108 |
+
),
|
1109 |
+
),
|
1110 |
+
'errorResponses' => array(
|
1111 |
+
array(
|
1112 |
+
'class' => 'InvalidArgumentException',
|
1113 |
+
),
|
1114 |
+
),
|
1115 |
+
),
|
1116 |
+
'ListInvalidations' => array(
|
1117 |
+
'httpMethod' => 'GET',
|
1118 |
+
'uri' => '/2012-05-05/distribution/{DistributionId}/invalidation',
|
1119 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1120 |
+
'responseClass' => 'ListInvalidationsResult',
|
1121 |
+
'responseType' => 'model',
|
1122 |
+
'summary' => 'List invalidation batches.',
|
1123 |
+
'parameters' => array(
|
1124 |
+
'DistributionId' => array(
|
1125 |
+
'required' => true,
|
1126 |
+
'description' => 'The distribution\'s id.',
|
1127 |
+
'type' => 'string',
|
1128 |
+
'location' => 'uri',
|
1129 |
+
),
|
1130 |
+
'Marker' => array(
|
1131 |
+
'description' => 'Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response. This value is the same as the ID of the last invalidation batch on that page.',
|
1132 |
+
'type' => 'string',
|
1133 |
+
'location' => 'query',
|
1134 |
+
),
|
1135 |
+
'MaxItems' => array(
|
1136 |
+
'description' => 'The maximum number of invalidation batches you want in the response body.',
|
1137 |
+
'type' => 'string',
|
1138 |
+
'location' => 'query',
|
1139 |
+
),
|
1140 |
+
'command.expects' => array(
|
1141 |
+
'static' => true,
|
1142 |
+
'default' => 'application/xml',
|
1143 |
+
),
|
1144 |
+
),
|
1145 |
+
'errorResponses' => array(
|
1146 |
+
array(
|
1147 |
+
'class' => 'InvalidArgumentException',
|
1148 |
+
),
|
1149 |
+
array(
|
1150 |
+
'class' => 'NoSuchDistributionException',
|
1151 |
+
),
|
1152 |
+
),
|
1153 |
+
),
|
1154 |
+
'ListStreamingDistributions' => array(
|
1155 |
+
'httpMethod' => 'GET',
|
1156 |
+
'uri' => '/2012-05-05/streaming-distribution',
|
1157 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1158 |
+
'responseClass' => 'ListStreamingDistributionsResult',
|
1159 |
+
'responseType' => 'model',
|
1160 |
+
'summary' => 'List streaming distributions.',
|
1161 |
+
'parameters' => array(
|
1162 |
+
'Marker' => array(
|
1163 |
+
'description' => 'Use this when paginating results to indicate where to begin in your list of streaming distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page\'s response (which is also the ID of the last distribution on that page).',
|
1164 |
+
'type' => 'string',
|
1165 |
+
'location' => 'query',
|
1166 |
+
),
|
1167 |
+
'MaxItems' => array(
|
1168 |
+
'description' => 'The maximum number of streaming distributions you want in the response body.',
|
1169 |
+
'type' => 'string',
|
1170 |
+
'location' => 'query',
|
1171 |
+
),
|
1172 |
+
'command.expects' => array(
|
1173 |
+
'static' => true,
|
1174 |
+
'default' => 'application/xml',
|
1175 |
+
),
|
1176 |
+
),
|
1177 |
+
'errorResponses' => array(
|
1178 |
+
array(
|
1179 |
+
'class' => 'InvalidArgumentException',
|
1180 |
+
),
|
1181 |
+
),
|
1182 |
+
),
|
1183 |
+
'UpdateCloudFrontOriginAccessIdentity' => array(
|
1184 |
+
'httpMethod' => 'PUT',
|
1185 |
+
'uri' => '/2012-05-05/origin-access-identity/cloudfront/{Id}/config',
|
1186 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1187 |
+
'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult',
|
1188 |
+
'responseType' => 'model',
|
1189 |
+
'summary' => 'Update an origin access identity.',
|
1190 |
+
'data' => array(
|
1191 |
+
'xmlRoot' => array(
|
1192 |
+
'name' => 'CloudFrontOriginAccessIdentityConfig',
|
1193 |
+
'namespaces' => array(
|
1194 |
+
'http://cloudfront.amazonaws.com/doc/2012-05-05/',
|
1195 |
+
),
|
1196 |
+
),
|
1197 |
+
),
|
1198 |
+
'parameters' => array(
|
1199 |
+
'CallerReference' => array(
|
1200 |
+
'required' => true,
|
1201 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
|
1202 |
+
'type' => 'string',
|
1203 |
+
'location' => 'xml',
|
1204 |
+
),
|
1205 |
+
'Comment' => array(
|
1206 |
+
'required' => true,
|
1207 |
+
'description' => 'Any comments you want to include about the origin access identity.',
|
1208 |
+
'type' => 'string',
|
1209 |
+
'location' => 'xml',
|
1210 |
+
),
|
1211 |
+
'Id' => array(
|
1212 |
+
'required' => true,
|
1213 |
+
'description' => 'The identity\'s id.',
|
1214 |
+
'type' => 'string',
|
1215 |
+
'location' => 'uri',
|
1216 |
+
),
|
1217 |
+
'IfMatch' => array(
|
1218 |
+
'description' => 'The value of the ETag header you received when retrieving the identity\'s configuration. For example: E2QWRUHAPOMQZL.',
|
1219 |
+
'type' => 'string',
|
1220 |
+
'location' => 'header',
|
1221 |
+
'sentAs' => 'If-Match',
|
1222 |
+
),
|
1223 |
+
'command.expects' => array(
|
1224 |
+
'static' => true,
|
1225 |
+
'default' => 'application/xml',
|
1226 |
+
),
|
1227 |
+
),
|
1228 |
+
'errorResponses' => array(
|
1229 |
+
array(
|
1230 |
+
'class' => 'AccessDeniedException',
|
1231 |
+
),
|
1232 |
+
array(
|
1233 |
+
'class' => 'IllegalUpdateException',
|
1234 |
+
),
|
1235 |
+
array(
|
1236 |
+
'class' => 'InvalidIfMatchVersionException',
|
1237 |
+
),
|
1238 |
+
array(
|
1239 |
+
'class' => 'MissingBodyException',
|
1240 |
+
),
|
1241 |
+
array(
|
1242 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
1243 |
+
),
|
1244 |
+
array(
|
1245 |
+
'class' => 'PreconditionFailedException',
|
1246 |
+
),
|
1247 |
+
array(
|
1248 |
+
'class' => 'InvalidArgumentException',
|
1249 |
+
),
|
1250 |
+
array(
|
1251 |
+
'class' => 'InconsistentQuantitiesException',
|
1252 |
+
),
|
1253 |
+
),
|
1254 |
+
),
|
1255 |
+
'UpdateDistribution' => array(
|
1256 |
+
'httpMethod' => 'PUT',
|
1257 |
+
'uri' => '/2012-05-05/distribution/{Id}/config',
|
1258 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1259 |
+
'responseClass' => 'UpdateDistributionResult',
|
1260 |
+
'responseType' => 'model',
|
1261 |
+
'summary' => 'Update a distribution.',
|
1262 |
+
'data' => array(
|
1263 |
+
'xmlRoot' => array(
|
1264 |
+
'name' => 'DistributionConfig',
|
1265 |
+
'namespaces' => array(
|
1266 |
+
'http://cloudfront.amazonaws.com/doc/2012-05-05/',
|
1267 |
+
),
|
1268 |
+
),
|
1269 |
+
),
|
1270 |
+
'parameters' => array(
|
1271 |
+
'CallerReference' => array(
|
1272 |
+
'required' => true,
|
1273 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
1274 |
+
'type' => 'string',
|
1275 |
+
'location' => 'xml',
|
1276 |
+
),
|
1277 |
+
'Aliases' => array(
|
1278 |
+
'required' => true,
|
1279 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
|
1280 |
+
'type' => 'object',
|
1281 |
+
'location' => 'xml',
|
1282 |
+
'properties' => array(
|
1283 |
+
'Quantity' => array(
|
1284 |
+
'required' => true,
|
1285 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
1286 |
+
'type' => 'numeric',
|
1287 |
+
),
|
1288 |
+
'Items' => array(
|
1289 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
1290 |
+
'type' => 'array',
|
1291 |
+
'items' => array(
|
1292 |
+
'name' => 'CNAME',
|
1293 |
+
'type' => 'string',
|
1294 |
+
),
|
1295 |
+
),
|
1296 |
+
),
|
1297 |
+
),
|
1298 |
+
'DefaultRootObject' => array(
|
1299 |
+
'required' => true,
|
1300 |
+
'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
|
1301 |
+
'type' => 'string',
|
1302 |
+
'location' => 'xml',
|
1303 |
+
),
|
1304 |
+
'Origins' => array(
|
1305 |
+
'required' => true,
|
1306 |
+
'description' => 'A complex type that contains information about origins for this distribution.',
|
1307 |
+
'type' => 'object',
|
1308 |
+
'location' => 'xml',
|
1309 |
+
'properties' => array(
|
1310 |
+
'Quantity' => array(
|
1311 |
+
'required' => true,
|
1312 |
+
'description' => 'The number of origins for this distribution.',
|
1313 |
+
'type' => 'numeric',
|
1314 |
+
),
|
1315 |
+
'Items' => array(
|
1316 |
+
'description' => 'A complex type that contains origins for this distribution.',
|
1317 |
+
'type' => 'array',
|
1318 |
+
'minItems' => 1,
|
1319 |
+
'items' => array(
|
1320 |
+
'name' => 'Origin',
|
1321 |
+
'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
|
1322 |
+
'type' => 'object',
|
1323 |
+
'properties' => array(
|
1324 |
+
'Id' => array(
|
1325 |
+
'required' => true,
|
1326 |
+
'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
|
1327 |
+
'type' => 'string',
|
1328 |
+
),
|
1329 |
+
'DomainName' => array(
|
1330 |
+
'required' => true,
|
1331 |
+
'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
|
1332 |
+
'type' => 'string',
|
1333 |
+
),
|
1334 |
+
'S3OriginConfig' => array(
|
1335 |
+
'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
|
1336 |
+
'type' => 'object',
|
1337 |
+
'properties' => array(
|
1338 |
+
'OriginAccessIdentity' => array(
|
1339 |
+
'required' => true,
|
1340 |
+
'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
|
1341 |
+
'type' => 'string',
|
1342 |
+
),
|
1343 |
+
),
|
1344 |
+
),
|
1345 |
+
'CustomOriginConfig' => array(
|
1346 |
+
'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
|
1347 |
+
'type' => 'object',
|
1348 |
+
'properties' => array(
|
1349 |
+
'HTTPPort' => array(
|
1350 |
+
'required' => true,
|
1351 |
+
'description' => 'The HTTP port the custom origin listens on.',
|
1352 |
+
'type' => 'numeric',
|
1353 |
+
),
|
1354 |
+
'HTTPSPort' => array(
|
1355 |
+
'required' => true,
|
1356 |
+
'description' => 'The HTTPS port the custom origin listens on.',
|
1357 |
+
'type' => 'numeric',
|
1358 |
+
),
|
1359 |
+
'OriginProtocolPolicy' => array(
|
1360 |
+
'required' => true,
|
1361 |
+
'description' => 'The origin protocol policy to apply to your origin.',
|
1362 |
+
'type' => 'string',
|
1363 |
+
'enum' => array(
|
1364 |
+
'http-only',
|
1365 |
+
'match-viewer',
|
1366 |
+
),
|
1367 |
+
),
|
1368 |
+
),
|
1369 |
+
),
|
1370 |
+
),
|
1371 |
+
),
|
1372 |
+
),
|
1373 |
+
),
|
1374 |
+
),
|
1375 |
+
'DefaultCacheBehavior' => array(
|
1376 |
+
'required' => true,
|
1377 |
+
'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
|
1378 |
+
'type' => 'object',
|
1379 |
+
'location' => 'xml',
|
1380 |
+
'properties' => array(
|
1381 |
+
'TargetOriginId' => array(
|
1382 |
+
'required' => true,
|
1383 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
1384 |
+
'type' => 'string',
|
1385 |
+
),
|
1386 |
+
'ForwardedValues' => array(
|
1387 |
+
'required' => true,
|
1388 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
1389 |
+
'type' => 'object',
|
1390 |
+
'properties' => array(
|
1391 |
+
'QueryString' => array(
|
1392 |
+
'required' => true,
|
1393 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
1394 |
+
'type' => 'boolean',
|
1395 |
+
'format' => 'boolean-string',
|
1396 |
+
),
|
1397 |
+
),
|
1398 |
+
),
|
1399 |
+
'TrustedSigners' => array(
|
1400 |
+
'required' => true,
|
1401 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
1402 |
+
'type' => 'object',
|
1403 |
+
'properties' => array(
|
1404 |
+
'Enabled' => array(
|
1405 |
+
'required' => true,
|
1406 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
1407 |
+
'type' => 'boolean',
|
1408 |
+
'format' => 'boolean-string',
|
1409 |
+
),
|
1410 |
+
'Quantity' => array(
|
1411 |
+
'required' => true,
|
1412 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
1413 |
+
'type' => 'numeric',
|
1414 |
+
),
|
1415 |
+
'Items' => array(
|
1416 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
1417 |
+
'type' => 'array',
|
1418 |
+
'items' => array(
|
1419 |
+
'name' => 'AwsAccountNumber',
|
1420 |
+
'type' => 'string',
|
1421 |
+
),
|
1422 |
+
),
|
1423 |
+
),
|
1424 |
+
),
|
1425 |
+
'ViewerProtocolPolicy' => array(
|
1426 |
+
'required' => true,
|
1427 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
1428 |
+
'type' => 'string',
|
1429 |
+
'enum' => array(
|
1430 |
+
'allow-all',
|
1431 |
+
'https-only',
|
1432 |
+
),
|
1433 |
+
),
|
1434 |
+
'MinTTL' => array(
|
1435 |
+
'required' => true,
|
1436 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
1437 |
+
'type' => 'numeric',
|
1438 |
+
),
|
1439 |
+
),
|
1440 |
+
),
|
1441 |
+
'CacheBehaviors' => array(
|
1442 |
+
'required' => true,
|
1443 |
+
'description' => 'A complex type that contains zero or more CacheBehavior elements.',
|
1444 |
+
'type' => 'object',
|
1445 |
+
'location' => 'xml',
|
1446 |
+
'properties' => array(
|
1447 |
+
'Quantity' => array(
|
1448 |
+
'required' => true,
|
1449 |
+
'description' => 'The number of cache behaviors for this distribution.',
|
1450 |
+
'type' => 'numeric',
|
1451 |
+
),
|
1452 |
+
'Items' => array(
|
1453 |
+
'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
|
1454 |
+
'type' => 'array',
|
1455 |
+
'items' => array(
|
1456 |
+
'name' => 'CacheBehavior',
|
1457 |
+
'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
|
1458 |
+
'type' => 'object',
|
1459 |
+
'properties' => array(
|
1460 |
+
'PathPattern' => array(
|
1461 |
+
'required' => true,
|
1462 |
+
'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
|
1463 |
+
'type' => 'string',
|
1464 |
+
),
|
1465 |
+
'TargetOriginId' => array(
|
1466 |
+
'required' => true,
|
1467 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
1468 |
+
'type' => 'string',
|
1469 |
+
),
|
1470 |
+
'ForwardedValues' => array(
|
1471 |
+
'required' => true,
|
1472 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
1473 |
+
'type' => 'object',
|
1474 |
+
'properties' => array(
|
1475 |
+
'QueryString' => array(
|
1476 |
+
'required' => true,
|
1477 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
1478 |
+
'type' => 'boolean',
|
1479 |
+
'format' => 'boolean-string',
|
1480 |
+
),
|
1481 |
+
),
|
1482 |
+
),
|
1483 |
+
'TrustedSigners' => array(
|
1484 |
+
'required' => true,
|
1485 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
1486 |
+
'type' => 'object',
|
1487 |
+
'properties' => array(
|
1488 |
+
'Enabled' => array(
|
1489 |
+
'required' => true,
|
1490 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
1491 |
+
'type' => 'boolean',
|
1492 |
+
'format' => 'boolean-string',
|
1493 |
+
),
|
1494 |
+
'Quantity' => array(
|
1495 |
+
'required' => true,
|
1496 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
1497 |
+
'type' => 'numeric',
|
1498 |
+
),
|
1499 |
+
'Items' => array(
|
1500 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
1501 |
+
'type' => 'array',
|
1502 |
+
'items' => array(
|
1503 |
+
'name' => 'AwsAccountNumber',
|
1504 |
+
'type' => 'string',
|
1505 |
+
),
|
1506 |
+
),
|
1507 |
+
),
|
1508 |
+
),
|
1509 |
+
'ViewerProtocolPolicy' => array(
|
1510 |
+
'required' => true,
|
1511 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
1512 |
+
'type' => 'string',
|
1513 |
+
'enum' => array(
|
1514 |
+
'allow-all',
|
1515 |
+
'https-only',
|
1516 |
+
),
|
1517 |
+
),
|
1518 |
+
'MinTTL' => array(
|
1519 |
+
'required' => true,
|
1520 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
1521 |
+
'type' => 'numeric',
|
1522 |
+
),
|
1523 |
+
),
|
1524 |
+
),
|
1525 |
+
),
|
1526 |
+
),
|
1527 |
+
),
|
1528 |
+
'Comment' => array(
|
1529 |
+
'required' => true,
|
1530 |
+
'description' => 'Any comments you want to include about the distribution.',
|
1531 |
+
'type' => 'string',
|
1532 |
+
'location' => 'xml',
|
1533 |
+
),
|
1534 |
+
'Logging' => array(
|
1535 |
+
'required' => true,
|
1536 |
+
'description' => 'A complex type that controls whether access logs are written for the distribution.',
|
1537 |
+
'type' => 'object',
|
1538 |
+
'location' => 'xml',
|
1539 |
+
'properties' => array(
|
1540 |
+
'Enabled' => array(
|
1541 |
+
'required' => true,
|
1542 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
1543 |
+
'type' => 'boolean',
|
1544 |
+
'format' => 'boolean-string',
|
1545 |
+
),
|
1546 |
+
'Bucket' => array(
|
1547 |
+
'required' => true,
|
1548 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
1549 |
+
'type' => 'string',
|
1550 |
+
),
|
1551 |
+
'Prefix' => array(
|
1552 |
+
'required' => true,
|
1553 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
1554 |
+
'type' => 'string',
|
1555 |
+
),
|
1556 |
+
),
|
1557 |
+
),
|
1558 |
+
'Enabled' => array(
|
1559 |
+
'required' => true,
|
1560 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
1561 |
+
'type' => 'boolean',
|
1562 |
+
'format' => 'boolean-string',
|
1563 |
+
'location' => 'xml',
|
1564 |
+
),
|
1565 |
+
'Id' => array(
|
1566 |
+
'required' => true,
|
1567 |
+
'description' => 'The distribution\'s id.',
|
1568 |
+
'type' => 'string',
|
1569 |
+
'location' => 'uri',
|
1570 |
+
),
|
1571 |
+
'IfMatch' => array(
|
1572 |
+
'description' => 'The value of the ETag header you received when retrieving the distribution\'s configuration. For example: E2QWRUHAPOMQZL.',
|
1573 |
+
'type' => 'string',
|
1574 |
+
'location' => 'header',
|
1575 |
+
'sentAs' => 'If-Match',
|
1576 |
+
),
|
1577 |
+
'command.expects' => array(
|
1578 |
+
'static' => true,
|
1579 |
+
'default' => 'application/xml',
|
1580 |
+
),
|
1581 |
+
),
|
1582 |
+
'errorResponses' => array(
|
1583 |
+
array(
|
1584 |
+
'class' => 'AccessDeniedException',
|
1585 |
+
),
|
1586 |
+
array(
|
1587 |
+
'class' => 'CNAMEAlreadyExistsException',
|
1588 |
+
),
|
1589 |
+
array(
|
1590 |
+
'class' => 'IllegalUpdateException',
|
1591 |
+
),
|
1592 |
+
array(
|
1593 |
+
'class' => 'InvalidIfMatchVersionException',
|
1594 |
+
),
|
1595 |
+
array(
|
1596 |
+
'class' => 'MissingBodyException',
|
1597 |
+
),
|
1598 |
+
array(
|
1599 |
+
'class' => 'NoSuchDistributionException',
|
1600 |
+
),
|
1601 |
+
array(
|
1602 |
+
'class' => 'PreconditionFailedException',
|
1603 |
+
),
|
1604 |
+
array(
|
1605 |
+
'class' => 'TooManyDistributionCNAMEsException',
|
1606 |
+
),
|
1607 |
+
array(
|
1608 |
+
'class' => 'InvalidDefaultRootObjectException',
|
1609 |
+
),
|
1610 |
+
array(
|
1611 |
+
'class' => 'InvalidArgumentException',
|
1612 |
+
),
|
1613 |
+
array(
|
1614 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
1615 |
+
),
|
1616 |
+
array(
|
1617 |
+
'class' => 'TooManyTrustedSignersException',
|
1618 |
+
),
|
1619 |
+
array(
|
1620 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
1621 |
+
),
|
1622 |
+
array(
|
1623 |
+
'class' => 'InvalidRequiredProtocolException',
|
1624 |
+
),
|
1625 |
+
array(
|
1626 |
+
'class' => 'NoSuchOriginException',
|
1627 |
+
),
|
1628 |
+
array(
|
1629 |
+
'class' => 'TooManyOriginsException',
|
1630 |
+
),
|
1631 |
+
array(
|
1632 |
+
'class' => 'TooManyCacheBehaviorsException',
|
1633 |
+
),
|
1634 |
+
array(
|
1635 |
+
'class' => 'InconsistentQuantitiesException',
|
1636 |
+
),
|
1637 |
+
),
|
1638 |
+
),
|
1639 |
+
'UpdateStreamingDistribution' => array(
|
1640 |
+
'httpMethod' => 'PUT',
|
1641 |
+
'uri' => '/2012-05-05/streaming-distribution/{Id}/config',
|
1642 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1643 |
+
'responseClass' => 'UpdateStreamingDistributionResult',
|
1644 |
+
'responseType' => 'model',
|
1645 |
+
'summary' => 'Update a streaming distribution.',
|
1646 |
+
'data' => array(
|
1647 |
+
'xmlRoot' => array(
|
1648 |
+
'name' => 'StreamingDistributionConfig',
|
1649 |
+
'namespaces' => array(
|
1650 |
+
'http://cloudfront.amazonaws.com/doc/2012-05-05/',
|
1651 |
+
),
|
1652 |
+
),
|
1653 |
+
),
|
1654 |
+
'parameters' => array(
|
1655 |
+
'CallerReference' => array(
|
1656 |
+
'required' => true,
|
1657 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
1658 |
+
'type' => 'string',
|
1659 |
+
'location' => 'xml',
|
1660 |
+
),
|
1661 |
+
'S3Origin' => array(
|
1662 |
+
'required' => true,
|
1663 |
+
'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
|
1664 |
+
'type' => 'object',
|
1665 |
+
'location' => 'xml',
|
1666 |
+
'properties' => array(
|
1667 |
+
'DomainName' => array(
|
1668 |
+
'required' => true,
|
1669 |
+
'description' => 'The DNS name of the S3 origin.',
|
1670 |
+
'type' => 'string',
|
1671 |
+
),
|
1672 |
+
'OriginAccessIdentity' => array(
|
1673 |
+
'required' => true,
|
1674 |
+
'description' => 'Your S3 origin\'s origin access identity.',
|
1675 |
+
'type' => 'string',
|
1676 |
+
),
|
1677 |
+
),
|
1678 |
+
),
|
1679 |
+
'Aliases' => array(
|
1680 |
+
'required' => true,
|
1681 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
|
1682 |
+
'type' => 'object',
|
1683 |
+
'location' => 'xml',
|
1684 |
+
'properties' => array(
|
1685 |
+
'Quantity' => array(
|
1686 |
+
'required' => true,
|
1687 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
1688 |
+
'type' => 'numeric',
|
1689 |
+
),
|
1690 |
+
'Items' => array(
|
1691 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
1692 |
+
'type' => 'array',
|
1693 |
+
'items' => array(
|
1694 |
+
'name' => 'CNAME',
|
1695 |
+
'type' => 'string',
|
1696 |
+
),
|
1697 |
+
),
|
1698 |
+
),
|
1699 |
+
),
|
1700 |
+
'Comment' => array(
|
1701 |
+
'required' => true,
|
1702 |
+
'description' => 'Any comments you want to include about the streaming distribution.',
|
1703 |
+
'type' => 'string',
|
1704 |
+
'location' => 'xml',
|
1705 |
+
),
|
1706 |
+
'Logging' => array(
|
1707 |
+
'required' => true,
|
1708 |
+
'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
|
1709 |
+
'type' => 'object',
|
1710 |
+
'location' => 'xml',
|
1711 |
+
'properties' => array(
|
1712 |
+
'Enabled' => array(
|
1713 |
+
'required' => true,
|
1714 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
1715 |
+
'type' => 'boolean',
|
1716 |
+
'format' => 'boolean-string',
|
1717 |
+
),
|
1718 |
+
'Bucket' => array(
|
1719 |
+
'required' => true,
|
1720 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
1721 |
+
'type' => 'string',
|
1722 |
+
),
|
1723 |
+
'Prefix' => array(
|
1724 |
+
'required' => true,
|
1725 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
1726 |
+
'type' => 'string',
|
1727 |
+
),
|
1728 |
+
),
|
1729 |
+
),
|
1730 |
+
'TrustedSigners' => array(
|
1731 |
+
'required' => true,
|
1732 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
1733 |
+
'type' => 'object',
|
1734 |
+
'location' => 'xml',
|
1735 |
+
'properties' => array(
|
1736 |
+
'Enabled' => array(
|
1737 |
+
'required' => true,
|
1738 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
1739 |
+
'type' => 'boolean',
|
1740 |
+
'format' => 'boolean-string',
|
1741 |
+
),
|
1742 |
+
'Quantity' => array(
|
1743 |
+
'required' => true,
|
1744 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
1745 |
+
'type' => 'numeric',
|
1746 |
+
),
|
1747 |
+
'Items' => array(
|
1748 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
1749 |
+
'type' => 'array',
|
1750 |
+
'items' => array(
|
1751 |
+
'name' => 'AwsAccountNumber',
|
1752 |
+
'type' => 'string',
|
1753 |
+
),
|
1754 |
+
),
|
1755 |
+
),
|
1756 |
+
),
|
1757 |
+
'Enabled' => array(
|
1758 |
+
'required' => true,
|
1759 |
+
'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
|
1760 |
+
'type' => 'boolean',
|
1761 |
+
'format' => 'boolean-string',
|
1762 |
+
'location' => 'xml',
|
1763 |
+
),
|
1764 |
+
'Id' => array(
|
1765 |
+
'required' => true,
|
1766 |
+
'description' => 'The streaming distribution\'s id.',
|
1767 |
+
'type' => 'string',
|
1768 |
+
'location' => 'uri',
|
1769 |
+
),
|
1770 |
+
'IfMatch' => array(
|
1771 |
+
'description' => 'The value of the ETag header you received when retrieving the streaming distribution\'s configuration. For example: E2QWRUHAPOMQZL.',
|
1772 |
+
'type' => 'string',
|
1773 |
+
'location' => 'header',
|
1774 |
+
'sentAs' => 'If-Match',
|
1775 |
+
),
|
1776 |
+
'command.expects' => array(
|
1777 |
+
'static' => true,
|
1778 |
+
'default' => 'application/xml',
|
1779 |
+
),
|
1780 |
+
),
|
1781 |
+
'errorResponses' => array(
|
1782 |
+
array(
|
1783 |
+
'class' => 'AccessDeniedException',
|
1784 |
+
),
|
1785 |
+
array(
|
1786 |
+
'class' => 'CNAMEAlreadyExistsException',
|
1787 |
+
),
|
1788 |
+
array(
|
1789 |
+
'class' => 'IllegalUpdateException',
|
1790 |
+
),
|
1791 |
+
array(
|
1792 |
+
'class' => 'InvalidIfMatchVersionException',
|
1793 |
+
),
|
1794 |
+
array(
|
1795 |
+
'class' => 'MissingBodyException',
|
1796 |
+
),
|
1797 |
+
array(
|
1798 |
+
'class' => 'NoSuchStreamingDistributionException',
|
1799 |
+
),
|
1800 |
+
array(
|
1801 |
+
'class' => 'PreconditionFailedException',
|
1802 |
+
),
|
1803 |
+
array(
|
1804 |
+
'class' => 'TooManyStreamingDistributionCNAMEsException',
|
1805 |
+
),
|
1806 |
+
array(
|
1807 |
+
'class' => 'InvalidArgumentException',
|
1808 |
+
),
|
1809 |
+
array(
|
1810 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
1811 |
+
),
|
1812 |
+
array(
|
1813 |
+
'class' => 'TooManyTrustedSignersException',
|
1814 |
+
),
|
1815 |
+
array(
|
1816 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
1817 |
+
),
|
1818 |
+
array(
|
1819 |
+
'class' => 'InconsistentQuantitiesException',
|
1820 |
+
),
|
1821 |
+
),
|
1822 |
+
),
|
1823 |
+
),
|
1824 |
+
'models' => array(
|
1825 |
+
'CreateCloudFrontOriginAccessIdentityResult' => array(
|
1826 |
+
'type' => 'object',
|
1827 |
+
'additionalProperties' => true,
|
1828 |
+
'properties' => array(
|
1829 |
+
'Id' => array(
|
1830 |
+
'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
|
1831 |
+
'type' => 'string',
|
1832 |
+
'location' => 'xml',
|
1833 |
+
),
|
1834 |
+
'S3CanonicalUserId' => array(
|
1835 |
+
'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
|
1836 |
+
'type' => 'string',
|
1837 |
+
'location' => 'xml',
|
1838 |
+
),
|
1839 |
+
'CloudFrontOriginAccessIdentityConfig' => array(
|
1840 |
+
'description' => 'The current configuration information for the identity.',
|
1841 |
+
'type' => 'object',
|
1842 |
+
'location' => 'xml',
|
1843 |
+
'properties' => array(
|
1844 |
+
'CallerReference' => array(
|
1845 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
|
1846 |
+
'type' => 'string',
|
1847 |
+
),
|
1848 |
+
'Comment' => array(
|
1849 |
+
'description' => 'Any comments you want to include about the origin access identity.',
|
1850 |
+
'type' => 'string',
|
1851 |
+
),
|
1852 |
+
),
|
1853 |
+
),
|
1854 |
+
'Location' => array(
|
1855 |
+
'description' => 'The fully qualified URI of the new origin access identity just created. For example: https://cloudfront.amazonaws.com/2010-11-01/origin-access-identity/cloudfront/E74FTE3AJFJ256A.',
|
1856 |
+
'type' => 'string',
|
1857 |
+
'location' => 'header',
|
1858 |
+
),
|
1859 |
+
'ETag' => array(
|
1860 |
+
'description' => 'The current version of the origin access identity created.',
|
1861 |
+
'type' => 'string',
|
1862 |
+
'location' => 'header',
|
1863 |
+
),
|
1864 |
+
'RequestId' => array(
|
1865 |
+
'description' => 'Request ID of the operation',
|
1866 |
+
'location' => 'header',
|
1867 |
+
'sentAs' => 'x-amz-request-id',
|
1868 |
+
),
|
1869 |
+
),
|
1870 |
+
),
|
1871 |
+
'CreateDistributionResult' => array(
|
1872 |
+
'type' => 'object',
|
1873 |
+
'additionalProperties' => true,
|
1874 |
+
'properties' => array(
|
1875 |
+
'Id' => array(
|
1876 |
+
'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
|
1877 |
+
'type' => 'string',
|
1878 |
+
'location' => 'xml',
|
1879 |
+
),
|
1880 |
+
'Status' => array(
|
1881 |
+
'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
1882 |
+
'type' => 'string',
|
1883 |
+
'location' => 'xml',
|
1884 |
+
),
|
1885 |
+
'LastModifiedTime' => array(
|
1886 |
+
'description' => 'The date and time the distribution was last modified.',
|
1887 |
+
'type' => 'string',
|
1888 |
+
'location' => 'xml',
|
1889 |
+
),
|
1890 |
+
'InProgressInvalidationBatches' => array(
|
1891 |
+
'description' => 'The number of invalidation batches currently in progress.',
|
1892 |
+
'type' => 'numeric',
|
1893 |
+
'location' => 'xml',
|
1894 |
+
),
|
1895 |
+
'DomainName' => array(
|
1896 |
+
'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
|
1897 |
+
'type' => 'string',
|
1898 |
+
'location' => 'xml',
|
1899 |
+
),
|
1900 |
+
'ActiveTrustedSigners' => array(
|
1901 |
+
'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
|
1902 |
+
'type' => 'object',
|
1903 |
+
'location' => 'xml',
|
1904 |
+
'properties' => array(
|
1905 |
+
'Enabled' => array(
|
1906 |
+
'description' => 'Each active trusted signer.',
|
1907 |
+
'type' => 'boolean',
|
1908 |
+
),
|
1909 |
+
'Quantity' => array(
|
1910 |
+
'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
|
1911 |
+
'type' => 'numeric',
|
1912 |
+
),
|
1913 |
+
'Items' => array(
|
1914 |
+
'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
|
1915 |
+
'type' => 'array',
|
1916 |
+
'items' => array(
|
1917 |
+
'name' => 'Signer',
|
1918 |
+
'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
|
1919 |
+
'type' => 'object',
|
1920 |
+
'sentAs' => 'Signer',
|
1921 |
+
'properties' => array(
|
1922 |
+
'AwsAccountNumber' => array(
|
1923 |
+
'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
|
1924 |
+
'type' => 'string',
|
1925 |
+
),
|
1926 |
+
'KeyPairIds' => array(
|
1927 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
1928 |
+
'type' => 'object',
|
1929 |
+
'properties' => array(
|
1930 |
+
'Quantity' => array(
|
1931 |
+
'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
|
1932 |
+
'type' => 'numeric',
|
1933 |
+
),
|
1934 |
+
'Items' => array(
|
1935 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
1936 |
+
'type' => 'array',
|
1937 |
+
'items' => array(
|
1938 |
+
'name' => 'KeyPairId',
|
1939 |
+
'type' => 'string',
|
1940 |
+
'sentAs' => 'KeyPairId',
|
1941 |
+
),
|
1942 |
+
),
|
1943 |
+
),
|
1944 |
+
),
|
1945 |
+
),
|
1946 |
+
),
|
1947 |
+
),
|
1948 |
+
),
|
1949 |
+
),
|
1950 |
+
'DistributionConfig' => array(
|
1951 |
+
'description' => 'The current configuration information for the distribution.',
|
1952 |
+
'type' => 'object',
|
1953 |
+
'location' => 'xml',
|
1954 |
+
'properties' => array(
|
1955 |
+
'CallerReference' => array(
|
1956 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
1957 |
+
'type' => 'string',
|
1958 |
+
),
|
1959 |
+
'Aliases' => array(
|
1960 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
|
1961 |
+
'type' => 'object',
|
1962 |
+
'properties' => array(
|
1963 |
+
'Quantity' => array(
|
1964 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
1965 |
+
'type' => 'numeric',
|
1966 |
+
),
|
1967 |
+
'Items' => array(
|
1968 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
1969 |
+
'type' => 'array',
|
1970 |
+
'items' => array(
|
1971 |
+
'name' => 'CNAME',
|
1972 |
+
'type' => 'string',
|
1973 |
+
'sentAs' => 'CNAME',
|
1974 |
+
),
|
1975 |
+
),
|
1976 |
+
),
|
1977 |
+
),
|
1978 |
+
'DefaultRootObject' => array(
|
1979 |
+
'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
|
1980 |
+
'type' => 'string',
|
1981 |
+
),
|
1982 |
+
'Origins' => array(
|
1983 |
+
'description' => 'A complex type that contains information about origins for this distribution.',
|
1984 |
+
'type' => 'object',
|
1985 |
+
'properties' => array(
|
1986 |
+
'Quantity' => array(
|
1987 |
+
'description' => 'The number of origins for this distribution.',
|
1988 |
+
'type' => 'numeric',
|
1989 |
+
),
|
1990 |
+
'Items' => array(
|
1991 |
+
'description' => 'A complex type that contains origins for this distribution.',
|
1992 |
+
'type' => 'array',
|
1993 |
+
'items' => array(
|
1994 |
+
'name' => 'Origin',
|
1995 |
+
'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
|
1996 |
+
'type' => 'object',
|
1997 |
+
'sentAs' => 'Origin',
|
1998 |
+
'properties' => array(
|
1999 |
+
'Id' => array(
|
2000 |
+
'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
|
2001 |
+
'type' => 'string',
|
2002 |
+
),
|
2003 |
+
'DomainName' => array(
|
2004 |
+
'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
|
2005 |
+
'type' => 'string',
|
2006 |
+
),
|
2007 |
+
'S3OriginConfig' => array(
|
2008 |
+
'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
|
2009 |
+
'type' => 'object',
|
2010 |
+
'properties' => array(
|
2011 |
+
'OriginAccessIdentity' => array(
|
2012 |
+
'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
|
2013 |
+
'type' => 'string',
|
2014 |
+
),
|
2015 |
+
),
|
2016 |
+
),
|
2017 |
+
'CustomOriginConfig' => array(
|
2018 |
+
'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
|
2019 |
+
'type' => 'object',
|
2020 |
+
'properties' => array(
|
2021 |
+
'HTTPPort' => array(
|
2022 |
+
'description' => 'The HTTP port the custom origin listens on.',
|
2023 |
+
'type' => 'numeric',
|
2024 |
+
),
|
2025 |
+
'HTTPSPort' => array(
|
2026 |
+
'description' => 'The HTTPS port the custom origin listens on.',
|
2027 |
+
'type' => 'numeric',
|
2028 |
+
),
|
2029 |
+
'OriginProtocolPolicy' => array(
|
2030 |
+
'description' => 'The origin protocol policy to apply to your origin.',
|
2031 |
+
'type' => 'string',
|
2032 |
+
),
|
2033 |
+
),
|
2034 |
+
),
|
2035 |
+
),
|
2036 |
+
),
|
2037 |
+
),
|
2038 |
+
),
|
2039 |
+
),
|
2040 |
+
'DefaultCacheBehavior' => array(
|
2041 |
+
'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
|
2042 |
+
'type' => 'object',
|
2043 |
+
'properties' => array(
|
2044 |
+
'TargetOriginId' => array(
|
2045 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
2046 |
+
'type' => 'string',
|
2047 |
+
),
|
2048 |
+
'ForwardedValues' => array(
|
2049 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
2050 |
+
'type' => 'object',
|
2051 |
+
'properties' => array(
|
2052 |
+
'QueryString' => array(
|
2053 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
2054 |
+
'type' => 'boolean',
|
2055 |
+
),
|
2056 |
+
),
|
2057 |
+
),
|
2058 |
+
'TrustedSigners' => array(
|
2059 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
2060 |
+
'type' => 'object',
|
2061 |
+
'properties' => array(
|
2062 |
+
'Enabled' => array(
|
2063 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
2064 |
+
'type' => 'boolean',
|
2065 |
+
),
|
2066 |
+
'Quantity' => array(
|
2067 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
2068 |
+
'type' => 'numeric',
|
2069 |
+
),
|
2070 |
+
'Items' => array(
|
2071 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
2072 |
+
'type' => 'array',
|
2073 |
+
'items' => array(
|
2074 |
+
'name' => 'AwsAccountNumber',
|
2075 |
+
'type' => 'string',
|
2076 |
+
'sentAs' => 'AwsAccountNumber',
|
2077 |
+
),
|
2078 |
+
),
|
2079 |
+
),
|
2080 |
+
),
|
2081 |
+
'ViewerProtocolPolicy' => array(
|
2082 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
2083 |
+
'type' => 'string',
|
2084 |
+
),
|
2085 |
+
'MinTTL' => array(
|
2086 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
2087 |
+
'type' => 'numeric',
|
2088 |
+
),
|
2089 |
+
),
|
2090 |
+
),
|
2091 |
+
'CacheBehaviors' => array(
|
2092 |
+
'description' => 'A complex type that contains zero or more CacheBehavior elements.',
|
2093 |
+
'type' => 'object',
|
2094 |
+
'properties' => array(
|
2095 |
+
'Quantity' => array(
|
2096 |
+
'description' => 'The number of cache behaviors for this distribution.',
|
2097 |
+
'type' => 'numeric',
|
2098 |
+
),
|
2099 |
+
'Items' => array(
|
2100 |
+
'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
|
2101 |
+
'type' => 'array',
|
2102 |
+
'items' => array(
|
2103 |
+
'name' => 'CacheBehavior',
|
2104 |
+
'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
|
2105 |
+
'type' => 'object',
|
2106 |
+
'sentAs' => 'CacheBehavior',
|
2107 |
+
'properties' => array(
|
2108 |
+
'PathPattern' => array(
|
2109 |
+
'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
|
2110 |
+
'type' => 'string',
|
2111 |
+
),
|
2112 |
+
'TargetOriginId' => array(
|
2113 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
2114 |
+
'type' => 'string',
|
2115 |
+
),
|
2116 |
+
'ForwardedValues' => array(
|
2117 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
2118 |
+
'type' => 'object',
|
2119 |
+
'properties' => array(
|
2120 |
+
'QueryString' => array(
|
2121 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
2122 |
+
'type' => 'boolean',
|
2123 |
+
),
|
2124 |
+
),
|
2125 |
+
),
|
2126 |
+
'TrustedSigners' => array(
|
2127 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
2128 |
+
'type' => 'object',
|
2129 |
+
'properties' => array(
|
2130 |
+
'Enabled' => array(
|
2131 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
2132 |
+
'type' => 'boolean',
|
2133 |
+
),
|
2134 |
+
'Quantity' => array(
|
2135 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
2136 |
+
'type' => 'numeric',
|
2137 |
+
),
|
2138 |
+
'Items' => array(
|
2139 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
2140 |
+
'type' => 'array',
|
2141 |
+
'items' => array(
|
2142 |
+
'name' => 'AwsAccountNumber',
|
2143 |
+
'type' => 'string',
|
2144 |
+
'sentAs' => 'AwsAccountNumber',
|
2145 |
+
),
|
2146 |
+
),
|
2147 |
+
),
|
2148 |
+
),
|
2149 |
+
'ViewerProtocolPolicy' => array(
|
2150 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
2151 |
+
'type' => 'string',
|
2152 |
+
),
|
2153 |
+
'MinTTL' => array(
|
2154 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
2155 |
+
'type' => 'numeric',
|
2156 |
+
),
|
2157 |
+
),
|
2158 |
+
),
|
2159 |
+
),
|
2160 |
+
),
|
2161 |
+
),
|
2162 |
+
'Comment' => array(
|
2163 |
+
'description' => 'Any comments you want to include about the distribution.',
|
2164 |
+
'type' => 'string',
|
2165 |
+
),
|
2166 |
+
'Logging' => array(
|
2167 |
+
'description' => 'A complex type that controls whether access logs are written for the distribution.',
|
2168 |
+
'type' => 'object',
|
2169 |
+
'properties' => array(
|
2170 |
+
'Enabled' => array(
|
2171 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
2172 |
+
'type' => 'boolean',
|
2173 |
+
),
|
2174 |
+
'Bucket' => array(
|
2175 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
2176 |
+
'type' => 'string',
|
2177 |
+
),
|
2178 |
+
'Prefix' => array(
|
2179 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
2180 |
+
'type' => 'string',
|
2181 |
+
),
|
2182 |
+
),
|
2183 |
+
),
|
2184 |
+
'Enabled' => array(
|
2185 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
2186 |
+
'type' => 'boolean',
|
2187 |
+
),
|
2188 |
+
),
|
2189 |
+
),
|
2190 |
+
'Location' => array(
|
2191 |
+
'description' => 'The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5.',
|
2192 |
+
'type' => 'string',
|
2193 |
+
'location' => 'header',
|
2194 |
+
),
|
2195 |
+
'ETag' => array(
|
2196 |
+
'description' => 'The current version of the distribution created.',
|
2197 |
+
'type' => 'string',
|
2198 |
+
'location' => 'header',
|
2199 |
+
),
|
2200 |
+
'RequestId' => array(
|
2201 |
+
'description' => 'Request ID of the operation',
|
2202 |
+
'location' => 'header',
|
2203 |
+
'sentAs' => 'x-amz-request-id',
|
2204 |
+
),
|
2205 |
+
),
|
2206 |
+
),
|
2207 |
+
'CreateInvalidationResult' => array(
|
2208 |
+
'type' => 'object',
|
2209 |
+
'additionalProperties' => true,
|
2210 |
+
'properties' => array(
|
2211 |
+
'Location' => array(
|
2212 |
+
'description' => 'The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID.',
|
2213 |
+
'type' => 'string',
|
2214 |
+
'location' => 'header',
|
2215 |
+
),
|
2216 |
+
'Id' => array(
|
2217 |
+
'description' => 'The identifier for the invalidation request. For example: IDFDVBD632BHDS5.',
|
2218 |
+
'type' => 'string',
|
2219 |
+
'location' => 'xml',
|
2220 |
+
),
|
2221 |
+
'Status' => array(
|
2222 |
+
'description' => 'The status of the invalidation request. When the invalidation batch is finished, the status is Completed.',
|
2223 |
+
'type' => 'string',
|
2224 |
+
'location' => 'xml',
|
2225 |
+
),
|
2226 |
+
'CreateTime' => array(
|
2227 |
+
'description' => 'The date and time the invalidation request was first made.',
|
2228 |
+
'type' => 'string',
|
2229 |
+
'location' => 'xml',
|
2230 |
+
),
|
2231 |
+
'InvalidationBatch' => array(
|
2232 |
+
'description' => 'The current invalidation information for the batch request.',
|
2233 |
+
'type' => 'object',
|
2234 |
+
'location' => 'xml',
|
2235 |
+
'properties' => array(
|
2236 |
+
'Paths' => array(
|
2237 |
+
'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.',
|
2238 |
+
'type' => 'object',
|
2239 |
+
'properties' => array(
|
2240 |
+
'Quantity' => array(
|
2241 |
+
'description' => 'The number of objects that you want to invalidate.',
|
2242 |
+
'type' => 'numeric',
|
2243 |
+
),
|
2244 |
+
'Items' => array(
|
2245 |
+
'description' => 'A complex type that contains a list of the objects that you want to invalidate.',
|
2246 |
+
'type' => 'array',
|
2247 |
+
'items' => array(
|
2248 |
+
'name' => 'Path',
|
2249 |
+
'type' => 'string',
|
2250 |
+
'sentAs' => 'Path',
|
2251 |
+
),
|
2252 |
+
),
|
2253 |
+
),
|
2254 |
+
),
|
2255 |
+
'CallerReference' => array(
|
2256 |
+
'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.',
|
2257 |
+
'type' => 'string',
|
2258 |
+
),
|
2259 |
+
),
|
2260 |
+
),
|
2261 |
+
'RequestId' => array(
|
2262 |
+
'description' => 'Request ID of the operation',
|
2263 |
+
'location' => 'header',
|
2264 |
+
'sentAs' => 'x-amz-request-id',
|
2265 |
+
),
|
2266 |
+
),
|
2267 |
+
),
|
2268 |
+
'CreateStreamingDistributionResult' => array(
|
2269 |
+
'type' => 'object',
|
2270 |
+
'additionalProperties' => true,
|
2271 |
+
'properties' => array(
|
2272 |
+
'Id' => array(
|
2273 |
+
'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.',
|
2274 |
+
'type' => 'string',
|
2275 |
+
'location' => 'xml',
|
2276 |
+
),
|
2277 |
+
'Status' => array(
|
2278 |
+
'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
2279 |
+
'type' => 'string',
|
2280 |
+
'location' => 'xml',
|
2281 |
+
),
|
2282 |
+
'LastModifiedTime' => array(
|
2283 |
+
'description' => 'The date and time the distribution was last modified.',
|
2284 |
+
'type' => 'string',
|
2285 |
+
'location' => 'xml',
|
2286 |
+
),
|
2287 |
+
'DomainName' => array(
|
2288 |
+
'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.',
|
2289 |
+
'type' => 'string',
|
2290 |
+
'location' => 'xml',
|
2291 |
+
),
|
2292 |
+
'ActiveTrustedSigners' => array(
|
2293 |
+
'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
|
2294 |
+
'type' => 'object',
|
2295 |
+
'location' => 'xml',
|
2296 |
+
'properties' => array(
|
2297 |
+
'Enabled' => array(
|
2298 |
+
'description' => 'Each active trusted signer.',
|
2299 |
+
'type' => 'boolean',
|
2300 |
+
),
|
2301 |
+
'Quantity' => array(
|
2302 |
+
'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
|
2303 |
+
'type' => 'numeric',
|
2304 |
+
),
|
2305 |
+
'Items' => array(
|
2306 |
+
'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
|
2307 |
+
'type' => 'array',
|
2308 |
+
'items' => array(
|
2309 |
+
'name' => 'Signer',
|
2310 |
+
'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
|
2311 |
+
'type' => 'object',
|
2312 |
+
'sentAs' => 'Signer',
|
2313 |
+
'properties' => array(
|
2314 |
+
'AwsAccountNumber' => array(
|
2315 |
+
'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
|
2316 |
+
'type' => 'string',
|
2317 |
+
),
|
2318 |
+
'KeyPairIds' => array(
|
2319 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
2320 |
+
'type' => 'object',
|
2321 |
+
'properties' => array(
|
2322 |
+
'Quantity' => array(
|
2323 |
+
'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
|
2324 |
+
'type' => 'numeric',
|
2325 |
+
),
|
2326 |
+
'Items' => array(
|
2327 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
2328 |
+
'type' => 'array',
|
2329 |
+
'items' => array(
|
2330 |
+
'name' => 'KeyPairId',
|
2331 |
+
'type' => 'string',
|
2332 |
+
'sentAs' => 'KeyPairId',
|
2333 |
+
),
|
2334 |
+
),
|
2335 |
+
),
|
2336 |
+
),
|
2337 |
+
),
|
2338 |
+
),
|
2339 |
+
),
|
2340 |
+
),
|
2341 |
+
),
|
2342 |
+
'StreamingDistributionConfig' => array(
|
2343 |
+
'description' => 'The current configuration information for the streaming distribution.',
|
2344 |
+
'type' => 'object',
|
2345 |
+
'location' => 'xml',
|
2346 |
+
'properties' => array(
|
2347 |
+
'CallerReference' => array(
|
2348 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
2349 |
+
'type' => 'string',
|
2350 |
+
),
|
2351 |
+
'S3Origin' => array(
|
2352 |
+
'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
|
2353 |
+
'type' => 'object',
|
2354 |
+
'properties' => array(
|
2355 |
+
'DomainName' => array(
|
2356 |
+
'description' => 'The DNS name of the S3 origin.',
|
2357 |
+
'type' => 'string',
|
2358 |
+
),
|
2359 |
+
'OriginAccessIdentity' => array(
|
2360 |
+
'description' => 'Your S3 origin\'s origin access identity.',
|
2361 |
+
'type' => 'string',
|
2362 |
+
),
|
2363 |
+
),
|
2364 |
+
),
|
2365 |
+
'Aliases' => array(
|
2366 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
|
2367 |
+
'type' => 'object',
|
2368 |
+
'properties' => array(
|
2369 |
+
'Quantity' => array(
|
2370 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
2371 |
+
'type' => 'numeric',
|
2372 |
+
),
|
2373 |
+
'Items' => array(
|
2374 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
2375 |
+
'type' => 'array',
|
2376 |
+
'items' => array(
|
2377 |
+
'name' => 'CNAME',
|
2378 |
+
'type' => 'string',
|
2379 |
+
'sentAs' => 'CNAME',
|
2380 |
+
),
|
2381 |
+
),
|
2382 |
+
),
|
2383 |
+
),
|
2384 |
+
'Comment' => array(
|
2385 |
+
'description' => 'Any comments you want to include about the streaming distribution.',
|
2386 |
+
'type' => 'string',
|
2387 |
+
),
|
2388 |
+
'Logging' => array(
|
2389 |
+
'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
|
2390 |
+
'type' => 'object',
|
2391 |
+
'properties' => array(
|
2392 |
+
'Enabled' => array(
|
2393 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
2394 |
+
'type' => 'boolean',
|
2395 |
+
),
|
2396 |
+
'Bucket' => array(
|
2397 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
2398 |
+
'type' => 'string',
|
2399 |
+
),
|
2400 |
+
'Prefix' => array(
|
2401 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
2402 |
+
'type' => 'string',
|
2403 |
+
),
|
2404 |
+
),
|
2405 |
+
),
|
2406 |
+
'TrustedSigners' => array(
|
2407 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
2408 |
+
'type' => 'object',
|
2409 |
+
'properties' => array(
|
2410 |
+
'Enabled' => array(
|
2411 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
2412 |
+
'type' => 'boolean',
|
2413 |
+
),
|
2414 |
+
'Quantity' => array(
|
2415 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
2416 |
+
'type' => 'numeric',
|
2417 |
+
),
|
2418 |
+
'Items' => array(
|
2419 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
2420 |
+
'type' => 'array',
|
2421 |
+
'items' => array(
|
2422 |
+
'name' => 'AwsAccountNumber',
|
2423 |
+
'type' => 'string',
|
2424 |
+
'sentAs' => 'AwsAccountNumber',
|
2425 |
+
),
|
2426 |
+
),
|
2427 |
+
),
|
2428 |
+
),
|
2429 |
+
'Enabled' => array(
|
2430 |
+
'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
|
2431 |
+
'type' => 'boolean',
|
2432 |
+
),
|
2433 |
+
),
|
2434 |
+
),
|
2435 |
+
'Location' => array(
|
2436 |
+
'description' => 'The fully qualified URI of the new streaming distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/streaming-distribution/EGTXBD79H29TRA8.',
|
2437 |
+
'type' => 'string',
|
2438 |
+
'location' => 'header',
|
2439 |
+
),
|
2440 |
+
'ETag' => array(
|
2441 |
+
'description' => 'The current version of the streaming distribution created.',
|
2442 |
+
'type' => 'string',
|
2443 |
+
'location' => 'header',
|
2444 |
+
),
|
2445 |
+
'RequestId' => array(
|
2446 |
+
'description' => 'Request ID of the operation',
|
2447 |
+
'location' => 'header',
|
2448 |
+
'sentAs' => 'x-amz-request-id',
|
2449 |
+
),
|
2450 |
+
),
|
2451 |
+
),
|
2452 |
+
'DeleteCloudFrontOriginAccessIdentity2012_05_05Output' => array(
|
2453 |
+
'type' => 'object',
|
2454 |
+
'additionalProperties' => true,
|
2455 |
+
'properties' => array(
|
2456 |
+
'RequestId' => array(
|
2457 |
+
'description' => 'Request ID of the operation',
|
2458 |
+
'location' => 'header',
|
2459 |
+
'sentAs' => 'x-amz-request-id',
|
2460 |
+
),
|
2461 |
+
),
|
2462 |
+
),
|
2463 |
+
'DeleteDistribution2012_05_05Output' => array(
|
2464 |
+
'type' => 'object',
|
2465 |
+
'additionalProperties' => true,
|
2466 |
+
'properties' => array(
|
2467 |
+
'RequestId' => array(
|
2468 |
+
'description' => 'Request ID of the operation',
|
2469 |
+
'location' => 'header',
|
2470 |
+
'sentAs' => 'x-amz-request-id',
|
2471 |
+
),
|
2472 |
+
),
|
2473 |
+
),
|
2474 |
+
'DeleteStreamingDistribution2012_05_05Output' => array(
|
2475 |
+
'type' => 'object',
|
2476 |
+
'additionalProperties' => true,
|
2477 |
+
'properties' => array(
|
2478 |
+
'RequestId' => array(
|
2479 |
+
'description' => 'Request ID of the operation',
|
2480 |
+
'location' => 'header',
|
2481 |
+
'sentAs' => 'x-amz-request-id',
|
2482 |
+
),
|
2483 |
+
),
|
2484 |
+
),
|
2485 |
+
'GetCloudFrontOriginAccessIdentityResult' => array(
|
2486 |
+
'type' => 'object',
|
2487 |
+
'additionalProperties' => true,
|
2488 |
+
'properties' => array(
|
2489 |
+
'Id' => array(
|
2490 |
+
'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
|
2491 |
+
'type' => 'string',
|
2492 |
+
'location' => 'xml',
|
2493 |
+
),
|
2494 |
+
'S3CanonicalUserId' => array(
|
2495 |
+
'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
|
2496 |
+
'type' => 'string',
|
2497 |
+
'location' => 'xml',
|
2498 |
+
),
|
2499 |
+
'CloudFrontOriginAccessIdentityConfig' => array(
|
2500 |
+
'description' => 'The current configuration information for the identity.',
|
2501 |
+
'type' => 'object',
|
2502 |
+
'location' => 'xml',
|
2503 |
+
'properties' => array(
|
2504 |
+
'CallerReference' => array(
|
2505 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
|
2506 |
+
'type' => 'string',
|
2507 |
+
),
|
2508 |
+
'Comment' => array(
|
2509 |
+
'description' => 'Any comments you want to include about the origin access identity.',
|
2510 |
+
'type' => 'string',
|
2511 |
+
),
|
2512 |
+
),
|
2513 |
+
),
|
2514 |
+
'ETag' => array(
|
2515 |
+
'description' => 'The current version of the origin access identity\'s information. For example: E2QWRUHAPOMQZL.',
|
2516 |
+
'type' => 'string',
|
2517 |
+
'location' => 'header',
|
2518 |
+
),
|
2519 |
+
'RequestId' => array(
|
2520 |
+
'description' => 'Request ID of the operation',
|
2521 |
+
'location' => 'header',
|
2522 |
+
'sentAs' => 'x-amz-request-id',
|
2523 |
+
),
|
2524 |
+
),
|
2525 |
+
),
|
2526 |
+
'GetCloudFrontOriginAccessIdentityConfigResult' => array(
|
2527 |
+
'type' => 'object',
|
2528 |
+
'additionalProperties' => true,
|
2529 |
+
'properties' => array(
|
2530 |
+
'CallerReference' => array(
|
2531 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
|
2532 |
+
'type' => 'string',
|
2533 |
+
'location' => 'xml',
|
2534 |
+
),
|
2535 |
+
'Comment' => array(
|
2536 |
+
'description' => 'Any comments you want to include about the origin access identity.',
|
2537 |
+
'type' => 'string',
|
2538 |
+
'location' => 'xml',
|
2539 |
+
),
|
2540 |
+
'ETag' => array(
|
2541 |
+
'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
|
2542 |
+
'type' => 'string',
|
2543 |
+
'location' => 'header',
|
2544 |
+
),
|
2545 |
+
'RequestId' => array(
|
2546 |
+
'description' => 'Request ID of the operation',
|
2547 |
+
'location' => 'header',
|
2548 |
+
'sentAs' => 'x-amz-request-id',
|
2549 |
+
),
|
2550 |
+
),
|
2551 |
+
),
|
2552 |
+
'GetDistributionResult' => array(
|
2553 |
+
'type' => 'object',
|
2554 |
+
'additionalProperties' => true,
|
2555 |
+
'properties' => array(
|
2556 |
+
'Id' => array(
|
2557 |
+
'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
|
2558 |
+
'type' => 'string',
|
2559 |
+
'location' => 'xml',
|
2560 |
+
),
|
2561 |
+
'Status' => array(
|
2562 |
+
'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
2563 |
+
'type' => 'string',
|
2564 |
+
'location' => 'xml',
|
2565 |
+
),
|
2566 |
+
'LastModifiedTime' => array(
|
2567 |
+
'description' => 'The date and time the distribution was last modified.',
|
2568 |
+
'type' => 'string',
|
2569 |
+
'location' => 'xml',
|
2570 |
+
),
|
2571 |
+
'InProgressInvalidationBatches' => array(
|
2572 |
+
'description' => 'The number of invalidation batches currently in progress.',
|
2573 |
+
'type' => 'numeric',
|
2574 |
+
'location' => 'xml',
|
2575 |
+
),
|
2576 |
+
'DomainName' => array(
|
2577 |
+
'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
|
2578 |
+
'type' => 'string',
|
2579 |
+
'location' => 'xml',
|
2580 |
+
),
|
2581 |
+
'ActiveTrustedSigners' => array(
|
2582 |
+
'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
|
2583 |
+
'type' => 'object',
|
2584 |
+
'location' => 'xml',
|
2585 |
+
'properties' => array(
|
2586 |
+
'Enabled' => array(
|
2587 |
+
'description' => 'Each active trusted signer.',
|
2588 |
+
'type' => 'boolean',
|
2589 |
+
),
|
2590 |
+
'Quantity' => array(
|
2591 |
+
'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
|
2592 |
+
'type' => 'numeric',
|
2593 |
+
),
|
2594 |
+
'Items' => array(
|
2595 |
+
'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
|
2596 |
+
'type' => 'array',
|
2597 |
+
'items' => array(
|
2598 |
+
'name' => 'Signer',
|
2599 |
+
'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
|
2600 |
+
'type' => 'object',
|
2601 |
+
'sentAs' => 'Signer',
|
2602 |
+
'properties' => array(
|
2603 |
+
'AwsAccountNumber' => array(
|
2604 |
+
'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
|
2605 |
+
'type' => 'string',
|
2606 |
+
),
|
2607 |
+
'KeyPairIds' => array(
|
2608 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
2609 |
+
'type' => 'object',
|
2610 |
+
'properties' => array(
|
2611 |
+
'Quantity' => array(
|
2612 |
+
'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
|
2613 |
+
'type' => 'numeric',
|
2614 |
+
),
|
2615 |
+
'Items' => array(
|
2616 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
2617 |
+
'type' => 'array',
|
2618 |
+
'items' => array(
|
2619 |
+
'name' => 'KeyPairId',
|
2620 |
+
'type' => 'string',
|
2621 |
+
'sentAs' => 'KeyPairId',
|
2622 |
+
),
|
2623 |
+
),
|
2624 |
+
),
|
2625 |
+
),
|
2626 |
+
),
|
2627 |
+
),
|
2628 |
+
),
|
2629 |
+
),
|
2630 |
+
),
|
2631 |
+
'DistributionConfig' => array(
|
2632 |
+
'description' => 'The current configuration information for the distribution.',
|
2633 |
+
'type' => 'object',
|
2634 |
+
'location' => 'xml',
|
2635 |
+
'properties' => array(
|
2636 |
+
'CallerReference' => array(
|
2637 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
2638 |
+
'type' => 'string',
|
2639 |
+
),
|
2640 |
+
'Aliases' => array(
|
2641 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
|
2642 |
+
'type' => 'object',
|
2643 |
+
'properties' => array(
|
2644 |
+
'Quantity' => array(
|
2645 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
2646 |
+
'type' => 'numeric',
|
2647 |
+
),
|
2648 |
+
'Items' => array(
|
2649 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
2650 |
+
'type' => 'array',
|
2651 |
+
'items' => array(
|
2652 |
+
'name' => 'CNAME',
|
2653 |
+
'type' => 'string',
|
2654 |
+
'sentAs' => 'CNAME',
|
2655 |
+
),
|
2656 |
+
),
|
2657 |
+
),
|
2658 |
+
),
|
2659 |
+
'DefaultRootObject' => array(
|
2660 |
+
'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
|
2661 |
+
'type' => 'string',
|
2662 |
+
),
|
2663 |
+
'Origins' => array(
|
2664 |
+
'description' => 'A complex type that contains information about origins for this distribution.',
|
2665 |
+
'type' => 'object',
|
2666 |
+
'properties' => array(
|
2667 |
+
'Quantity' => array(
|
2668 |
+
'description' => 'The number of origins for this distribution.',
|
2669 |
+
'type' => 'numeric',
|
2670 |
+
),
|
2671 |
+
'Items' => array(
|
2672 |
+
'description' => 'A complex type that contains origins for this distribution.',
|
2673 |
+
'type' => 'array',
|
2674 |
+
'items' => array(
|
2675 |
+
'name' => 'Origin',
|
2676 |
+
'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
|
2677 |
+
'type' => 'object',
|
2678 |
+
'sentAs' => 'Origin',
|
2679 |
+
'properties' => array(
|
2680 |
+
'Id' => array(
|
2681 |
+
'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
|
2682 |
+
'type' => 'string',
|
2683 |
+
),
|
2684 |
+
'DomainName' => array(
|
2685 |
+
'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
|
2686 |
+
'type' => 'string',
|
2687 |
+
),
|
2688 |
+
'S3OriginConfig' => array(
|
2689 |
+
'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
|
2690 |
+
'type' => 'object',
|
2691 |
+
'properties' => array(
|
2692 |
+
'OriginAccessIdentity' => array(
|
2693 |
+
'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
|
2694 |
+
'type' => 'string',
|
2695 |
+
),
|
2696 |
+
),
|
2697 |
+
),
|
2698 |
+
'CustomOriginConfig' => array(
|
2699 |
+
'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
|
2700 |
+
'type' => 'object',
|
2701 |
+
'properties' => array(
|
2702 |
+
'HTTPPort' => array(
|
2703 |
+
'description' => 'The HTTP port the custom origin listens on.',
|
2704 |
+
'type' => 'numeric',
|
2705 |
+
),
|
2706 |
+
'HTTPSPort' => array(
|
2707 |
+
'description' => 'The HTTPS port the custom origin listens on.',
|
2708 |
+
'type' => 'numeric',
|
2709 |
+
),
|
2710 |
+
'OriginProtocolPolicy' => array(
|
2711 |
+
'description' => 'The origin protocol policy to apply to your origin.',
|
2712 |
+
'type' => 'string',
|
2713 |
+
),
|
2714 |
+
),
|
2715 |
+
),
|
2716 |
+
),
|
2717 |
+
),
|
2718 |
+
),
|
2719 |
+
),
|
2720 |
+
),
|
2721 |
+
'DefaultCacheBehavior' => array(
|
2722 |
+
'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
|
2723 |
+
'type' => 'object',
|
2724 |
+
'properties' => array(
|
2725 |
+
'TargetOriginId' => array(
|
2726 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
2727 |
+
'type' => 'string',
|
2728 |
+
),
|
2729 |
+
'ForwardedValues' => array(
|
2730 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
2731 |
+
'type' => 'object',
|
2732 |
+
'properties' => array(
|
2733 |
+
'QueryString' => array(
|
2734 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
2735 |
+
'type' => 'boolean',
|
2736 |
+
),
|
2737 |
+
),
|
2738 |
+
),
|
2739 |
+
'TrustedSigners' => array(
|
2740 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
2741 |
+
'type' => 'object',
|
2742 |
+
'properties' => array(
|
2743 |
+
'Enabled' => array(
|
2744 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
2745 |
+
'type' => 'boolean',
|
2746 |
+
),
|
2747 |
+
'Quantity' => array(
|
2748 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
2749 |
+
'type' => 'numeric',
|
2750 |
+
),
|
2751 |
+
'Items' => array(
|
2752 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
2753 |
+
'type' => 'array',
|
2754 |
+
'items' => array(
|
2755 |
+
'name' => 'AwsAccountNumber',
|
2756 |
+
'type' => 'string',
|
2757 |
+
'sentAs' => 'AwsAccountNumber',
|
2758 |
+
),
|
2759 |
+
),
|
2760 |
+
),
|
2761 |
+
),
|
2762 |
+
'ViewerProtocolPolicy' => array(
|
2763 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
2764 |
+
'type' => 'string',
|
2765 |
+
),
|
2766 |
+
'MinTTL' => array(
|
2767 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
2768 |
+
'type' => 'numeric',
|
2769 |
+
),
|
2770 |
+
),
|
2771 |
+
),
|
2772 |
+
'CacheBehaviors' => array(
|
2773 |
+
'description' => 'A complex type that contains zero or more CacheBehavior elements.',
|
2774 |
+
'type' => 'object',
|
2775 |
+
'properties' => array(
|
2776 |
+
'Quantity' => array(
|
2777 |
+
'description' => 'The number of cache behaviors for this distribution.',
|
2778 |
+
'type' => 'numeric',
|
2779 |
+
),
|
2780 |
+
'Items' => array(
|
2781 |
+
'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
|
2782 |
+
'type' => 'array',
|
2783 |
+
'items' => array(
|
2784 |
+
'name' => 'CacheBehavior',
|
2785 |
+
'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
|
2786 |
+
'type' => 'object',
|
2787 |
+
'sentAs' => 'CacheBehavior',
|
2788 |
+
'properties' => array(
|
2789 |
+
'PathPattern' => array(
|
2790 |
+
'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
|
2791 |
+
'type' => 'string',
|
2792 |
+
),
|
2793 |
+
'TargetOriginId' => array(
|
2794 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
2795 |
+
'type' => 'string',
|
2796 |
+
),
|
2797 |
+
'ForwardedValues' => array(
|
2798 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
2799 |
+
'type' => 'object',
|
2800 |
+
'properties' => array(
|
2801 |
+
'QueryString' => array(
|
2802 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
2803 |
+
'type' => 'boolean',
|
2804 |
+
),
|
2805 |
+
),
|
2806 |
+
),
|
2807 |
+
'TrustedSigners' => array(
|
2808 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
2809 |
+
'type' => 'object',
|
2810 |
+
'properties' => array(
|
2811 |
+
'Enabled' => array(
|
2812 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
2813 |
+
'type' => 'boolean',
|
2814 |
+
),
|
2815 |
+
'Quantity' => array(
|
2816 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
2817 |
+
'type' => 'numeric',
|
2818 |
+
),
|
2819 |
+
'Items' => array(
|
2820 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
2821 |
+
'type' => 'array',
|
2822 |
+
'items' => array(
|
2823 |
+
'name' => 'AwsAccountNumber',
|
2824 |
+
'type' => 'string',
|
2825 |
+
'sentAs' => 'AwsAccountNumber',
|
2826 |
+
),
|
2827 |
+
),
|
2828 |
+
),
|
2829 |
+
),
|
2830 |
+
'ViewerProtocolPolicy' => array(
|
2831 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
2832 |
+
'type' => 'string',
|
2833 |
+
),
|
2834 |
+
'MinTTL' => array(
|
2835 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
2836 |
+
'type' => 'numeric',
|
2837 |
+
),
|
2838 |
+
),
|
2839 |
+
),
|
2840 |
+
),
|
2841 |
+
),
|
2842 |
+
),
|
2843 |
+
'Comment' => array(
|
2844 |
+
'description' => 'Any comments you want to include about the distribution.',
|
2845 |
+
'type' => 'string',
|
2846 |
+
),
|
2847 |
+
'Logging' => array(
|
2848 |
+
'description' => 'A complex type that controls whether access logs are written for the distribution.',
|
2849 |
+
'type' => 'object',
|
2850 |
+
'properties' => array(
|
2851 |
+
'Enabled' => array(
|
2852 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
2853 |
+
'type' => 'boolean',
|
2854 |
+
),
|
2855 |
+
'Bucket' => array(
|
2856 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
2857 |
+
'type' => 'string',
|
2858 |
+
),
|
2859 |
+
'Prefix' => array(
|
2860 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
2861 |
+
'type' => 'string',
|
2862 |
+
),
|
2863 |
+
),
|
2864 |
+
),
|
2865 |
+
'Enabled' => array(
|
2866 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
2867 |
+
'type' => 'boolean',
|
2868 |
+
),
|
2869 |
+
),
|
2870 |
+
),
|
2871 |
+
'ETag' => array(
|
2872 |
+
'description' => 'The current version of the distribution\'s information. For example: E2QWRUHAPOMQZL.',
|
2873 |
+
'type' => 'string',
|
2874 |
+
'location' => 'header',
|
2875 |
+
),
|
2876 |
+
'RequestId' => array(
|
2877 |
+
'description' => 'Request ID of the operation',
|
2878 |
+
'location' => 'header',
|
2879 |
+
'sentAs' => 'x-amz-request-id',
|
2880 |
+
),
|
2881 |
+
),
|
2882 |
+
),
|
2883 |
+
'GetDistributionConfigResult' => array(
|
2884 |
+
'type' => 'object',
|
2885 |
+
'additionalProperties' => true,
|
2886 |
+
'properties' => array(
|
2887 |
+
'CallerReference' => array(
|
2888 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
2889 |
+
'type' => 'string',
|
2890 |
+
'location' => 'xml',
|
2891 |
+
),
|
2892 |
+
'Aliases' => array(
|
2893 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
|
2894 |
+
'type' => 'object',
|
2895 |
+
'location' => 'xml',
|
2896 |
+
'properties' => array(
|
2897 |
+
'Quantity' => array(
|
2898 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
2899 |
+
'type' => 'numeric',
|
2900 |
+
),
|
2901 |
+
'Items' => array(
|
2902 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
2903 |
+
'type' => 'array',
|
2904 |
+
'items' => array(
|
2905 |
+
'name' => 'CNAME',
|
2906 |
+
'type' => 'string',
|
2907 |
+
'sentAs' => 'CNAME',
|
2908 |
+
),
|
2909 |
+
),
|
2910 |
+
),
|
2911 |
+
),
|
2912 |
+
'DefaultRootObject' => array(
|
2913 |
+
'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
|
2914 |
+
'type' => 'string',
|
2915 |
+
'location' => 'xml',
|
2916 |
+
),
|
2917 |
+
'Origins' => array(
|
2918 |
+
'description' => 'A complex type that contains information about origins for this distribution.',
|
2919 |
+
'type' => 'object',
|
2920 |
+
'location' => 'xml',
|
2921 |
+
'properties' => array(
|
2922 |
+
'Quantity' => array(
|
2923 |
+
'description' => 'The number of origins for this distribution.',
|
2924 |
+
'type' => 'numeric',
|
2925 |
+
),
|
2926 |
+
'Items' => array(
|
2927 |
+
'description' => 'A complex type that contains origins for this distribution.',
|
2928 |
+
'type' => 'array',
|
2929 |
+
'items' => array(
|
2930 |
+
'name' => 'Origin',
|
2931 |
+
'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
|
2932 |
+
'type' => 'object',
|
2933 |
+
'sentAs' => 'Origin',
|
2934 |
+
'properties' => array(
|
2935 |
+
'Id' => array(
|
2936 |
+
'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
|
2937 |
+
'type' => 'string',
|
2938 |
+
),
|
2939 |
+
'DomainName' => array(
|
2940 |
+
'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
|
2941 |
+
'type' => 'string',
|
2942 |
+
),
|
2943 |
+
'S3OriginConfig' => array(
|
2944 |
+
'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
|
2945 |
+
'type' => 'object',
|
2946 |
+
'properties' => array(
|
2947 |
+
'OriginAccessIdentity' => array(
|
2948 |
+
'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
|
2949 |
+
'type' => 'string',
|
2950 |
+
),
|
2951 |
+
),
|
2952 |
+
),
|
2953 |
+
'CustomOriginConfig' => array(
|
2954 |
+
'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
|
2955 |
+
'type' => 'object',
|
2956 |
+
'properties' => array(
|
2957 |
+
'HTTPPort' => array(
|
2958 |
+
'description' => 'The HTTP port the custom origin listens on.',
|
2959 |
+
'type' => 'numeric',
|
2960 |
+
),
|
2961 |
+
'HTTPSPort' => array(
|
2962 |
+
'description' => 'The HTTPS port the custom origin listens on.',
|
2963 |
+
'type' => 'numeric',
|
2964 |
+
),
|
2965 |
+
'OriginProtocolPolicy' => array(
|
2966 |
+
'description' => 'The origin protocol policy to apply to your origin.',
|
2967 |
+
'type' => 'string',
|
2968 |
+
),
|
2969 |
+
),
|
2970 |
+
),
|
2971 |
+
),
|
2972 |
+
),
|
2973 |
+
),
|
2974 |
+
),
|
2975 |
+
),
|
2976 |
+
'DefaultCacheBehavior' => array(
|
2977 |
+
'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
|
2978 |
+
'type' => 'object',
|
2979 |
+
'location' => 'xml',
|
2980 |
+
'properties' => array(
|
2981 |
+
'TargetOriginId' => array(
|
2982 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
2983 |
+
'type' => 'string',
|
2984 |
+
),
|
2985 |
+
'ForwardedValues' => array(
|
2986 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
2987 |
+
'type' => 'object',
|
2988 |
+
'properties' => array(
|
2989 |
+
'QueryString' => array(
|
2990 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
2991 |
+
'type' => 'boolean',
|
2992 |
+
),
|
2993 |
+
),
|
2994 |
+
),
|
2995 |
+
'TrustedSigners' => array(
|
2996 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
2997 |
+
'type' => 'object',
|
2998 |
+
'properties' => array(
|
2999 |
+
'Enabled' => array(
|
3000 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
3001 |
+
'type' => 'boolean',
|
3002 |
+
),
|
3003 |
+
'Quantity' => array(
|
3004 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
3005 |
+
'type' => 'numeric',
|
3006 |
+
),
|
3007 |
+
'Items' => array(
|
3008 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
3009 |
+
'type' => 'array',
|
3010 |
+
'items' => array(
|
3011 |
+
'name' => 'AwsAccountNumber',
|
3012 |
+
'type' => 'string',
|
3013 |
+
'sentAs' => 'AwsAccountNumber',
|
3014 |
+
),
|
3015 |
+
),
|
3016 |
+
),
|
3017 |
+
),
|
3018 |
+
'ViewerProtocolPolicy' => array(
|
3019 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
3020 |
+
'type' => 'string',
|
3021 |
+
),
|
3022 |
+
'MinTTL' => array(
|
3023 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
3024 |
+
'type' => 'numeric',
|
3025 |
+
),
|
3026 |
+
),
|
3027 |
+
),
|
3028 |
+
'CacheBehaviors' => array(
|
3029 |
+
'description' => 'A complex type that contains zero or more CacheBehavior elements.',
|
3030 |
+
'type' => 'object',
|
3031 |
+
'location' => 'xml',
|
3032 |
+
'properties' => array(
|
3033 |
+
'Quantity' => array(
|
3034 |
+
'description' => 'The number of cache behaviors for this distribution.',
|
3035 |
+
'type' => 'numeric',
|
3036 |
+
),
|
3037 |
+
'Items' => array(
|
3038 |
+
'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
|
3039 |
+
'type' => 'array',
|
3040 |
+
'items' => array(
|
3041 |
+
'name' => 'CacheBehavior',
|
3042 |
+
'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
|
3043 |
+
'type' => 'object',
|
3044 |
+
'sentAs' => 'CacheBehavior',
|
3045 |
+
'properties' => array(
|
3046 |
+
'PathPattern' => array(
|
3047 |
+
'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
|
3048 |
+
'type' => 'string',
|
3049 |
+
),
|
3050 |
+
'TargetOriginId' => array(
|
3051 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
3052 |
+
'type' => 'string',
|
3053 |
+
),
|
3054 |
+
'ForwardedValues' => array(
|
3055 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
3056 |
+
'type' => 'object',
|
3057 |
+
'properties' => array(
|
3058 |
+
'QueryString' => array(
|
3059 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
3060 |
+
'type' => 'boolean',
|
3061 |
+
),
|
3062 |
+
),
|
3063 |
+
),
|
3064 |
+
'TrustedSigners' => array(
|
3065 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
3066 |
+
'type' => 'object',
|
3067 |
+
'properties' => array(
|
3068 |
+
'Enabled' => array(
|
3069 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
3070 |
+
'type' => 'boolean',
|
3071 |
+
),
|
3072 |
+
'Quantity' => array(
|
3073 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
3074 |
+
'type' => 'numeric',
|
3075 |
+
),
|
3076 |
+
'Items' => array(
|
3077 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
3078 |
+
'type' => 'array',
|
3079 |
+
'items' => array(
|
3080 |
+
'name' => 'AwsAccountNumber',
|
3081 |
+
'type' => 'string',
|
3082 |
+
'sentAs' => 'AwsAccountNumber',
|
3083 |
+
),
|
3084 |
+
),
|
3085 |
+
),
|
3086 |
+
),
|
3087 |
+
'ViewerProtocolPolicy' => array(
|
3088 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
3089 |
+
'type' => 'string',
|
3090 |
+
),
|
3091 |
+
'MinTTL' => array(
|
3092 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
3093 |
+
'type' => 'numeric',
|
3094 |
+
),
|
3095 |
+
),
|
3096 |
+
),
|
3097 |
+
),
|
3098 |
+
),
|
3099 |
+
),
|
3100 |
+
'Comment' => array(
|
3101 |
+
'description' => 'Any comments you want to include about the distribution.',
|
3102 |
+
'type' => 'string',
|
3103 |
+
'location' => 'xml',
|
3104 |
+
),
|
3105 |
+
'Logging' => array(
|
3106 |
+
'description' => 'A complex type that controls whether access logs are written for the distribution.',
|
3107 |
+
'type' => 'object',
|
3108 |
+
'location' => 'xml',
|
3109 |
+
'properties' => array(
|
3110 |
+
'Enabled' => array(
|
3111 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
3112 |
+
'type' => 'boolean',
|
3113 |
+
),
|
3114 |
+
'Bucket' => array(
|
3115 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
3116 |
+
'type' => 'string',
|
3117 |
+
),
|
3118 |
+
'Prefix' => array(
|
3119 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
3120 |
+
'type' => 'string',
|
3121 |
+
),
|
3122 |
+
),
|
3123 |
+
),
|
3124 |
+
'Enabled' => array(
|
3125 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
3126 |
+
'type' => 'boolean',
|
3127 |
+
'location' => 'xml',
|
3128 |
+
),
|
3129 |
+
'ETag' => array(
|
3130 |
+
'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
|
3131 |
+
'type' => 'string',
|
3132 |
+
'location' => 'header',
|
3133 |
+
),
|
3134 |
+
'RequestId' => array(
|
3135 |
+
'description' => 'Request ID of the operation',
|
3136 |
+
'location' => 'header',
|
3137 |
+
'sentAs' => 'x-amz-request-id',
|
3138 |
+
),
|
3139 |
+
),
|
3140 |
+
),
|
3141 |
+
'GetInvalidationResult' => array(
|
3142 |
+
'type' => 'object',
|
3143 |
+
'additionalProperties' => true,
|
3144 |
+
'properties' => array(
|
3145 |
+
'Id' => array(
|
3146 |
+
'description' => 'The identifier for the invalidation request. For example: IDFDVBD632BHDS5.',
|
3147 |
+
'type' => 'string',
|
3148 |
+
'location' => 'xml',
|
3149 |
+
),
|
3150 |
+
'Status' => array(
|
3151 |
+
'description' => 'The status of the invalidation request. When the invalidation batch is finished, the status is Completed.',
|
3152 |
+
'type' => 'string',
|
3153 |
+
'location' => 'xml',
|
3154 |
+
),
|
3155 |
+
'CreateTime' => array(
|
3156 |
+
'description' => 'The date and time the invalidation request was first made.',
|
3157 |
+
'type' => 'string',
|
3158 |
+
'location' => 'xml',
|
3159 |
+
),
|
3160 |
+
'InvalidationBatch' => array(
|
3161 |
+
'description' => 'The current invalidation information for the batch request.',
|
3162 |
+
'type' => 'object',
|
3163 |
+
'location' => 'xml',
|
3164 |
+
'properties' => array(
|
3165 |
+
'Paths' => array(
|
3166 |
+
'description' => 'The path of the object to invalidate. The path is relative to the distribution and must begin with a slash (/). You must enclose each invalidation object with the Path element tags. If the path includes non-ASCII characters or unsafe characters as defined in RFC 1783 (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters. Do not URL encode any other characters in the path, or CloudFront will not invalidate the old version of the updated object.',
|
3167 |
+
'type' => 'object',
|
3168 |
+
'properties' => array(
|
3169 |
+
'Quantity' => array(
|
3170 |
+
'description' => 'The number of objects that you want to invalidate.',
|
3171 |
+
'type' => 'numeric',
|
3172 |
+
),
|
3173 |
+
'Items' => array(
|
3174 |
+
'description' => 'A complex type that contains a list of the objects that you want to invalidate.',
|
3175 |
+
'type' => 'array',
|
3176 |
+
'items' => array(
|
3177 |
+
'name' => 'Path',
|
3178 |
+
'type' => 'string',
|
3179 |
+
'sentAs' => 'Path',
|
3180 |
+
),
|
3181 |
+
),
|
3182 |
+
),
|
3183 |
+
),
|
3184 |
+
'CallerReference' => array(
|
3185 |
+
'description' => 'A unique name that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the Path object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create an invalidation batch, and the content of each Path element is identical to the original request, the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of any Path is different from the original request, CloudFront returns an InvalidationBatchAlreadyExists error.',
|
3186 |
+
'type' => 'string',
|
3187 |
+
),
|
3188 |
+
),
|
3189 |
+
),
|
3190 |
+
'RequestId' => array(
|
3191 |
+
'description' => 'Request ID of the operation',
|
3192 |
+
'location' => 'header',
|
3193 |
+
'sentAs' => 'x-amz-request-id',
|
3194 |
+
),
|
3195 |
+
),
|
3196 |
+
),
|
3197 |
+
'GetStreamingDistributionResult' => array(
|
3198 |
+
'type' => 'object',
|
3199 |
+
'additionalProperties' => true,
|
3200 |
+
'properties' => array(
|
3201 |
+
'Id' => array(
|
3202 |
+
'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.',
|
3203 |
+
'type' => 'string',
|
3204 |
+
'location' => 'xml',
|
3205 |
+
),
|
3206 |
+
'Status' => array(
|
3207 |
+
'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
3208 |
+
'type' => 'string',
|
3209 |
+
'location' => 'xml',
|
3210 |
+
),
|
3211 |
+
'LastModifiedTime' => array(
|
3212 |
+
'description' => 'The date and time the distribution was last modified.',
|
3213 |
+
'type' => 'string',
|
3214 |
+
'location' => 'xml',
|
3215 |
+
),
|
3216 |
+
'DomainName' => array(
|
3217 |
+
'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.',
|
3218 |
+
'type' => 'string',
|
3219 |
+
'location' => 'xml',
|
3220 |
+
),
|
3221 |
+
'ActiveTrustedSigners' => array(
|
3222 |
+
'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
|
3223 |
+
'type' => 'object',
|
3224 |
+
'location' => 'xml',
|
3225 |
+
'properties' => array(
|
3226 |
+
'Enabled' => array(
|
3227 |
+
'description' => 'Each active trusted signer.',
|
3228 |
+
'type' => 'boolean',
|
3229 |
+
),
|
3230 |
+
'Quantity' => array(
|
3231 |
+
'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
|
3232 |
+
'type' => 'numeric',
|
3233 |
+
),
|
3234 |
+
'Items' => array(
|
3235 |
+
'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
|
3236 |
+
'type' => 'array',
|
3237 |
+
'items' => array(
|
3238 |
+
'name' => 'Signer',
|
3239 |
+
'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
|
3240 |
+
'type' => 'object',
|
3241 |
+
'sentAs' => 'Signer',
|
3242 |
+
'properties' => array(
|
3243 |
+
'AwsAccountNumber' => array(
|
3244 |
+
'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
|
3245 |
+
'type' => 'string',
|
3246 |
+
),
|
3247 |
+
'KeyPairIds' => array(
|
3248 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
3249 |
+
'type' => 'object',
|
3250 |
+
'properties' => array(
|
3251 |
+
'Quantity' => array(
|
3252 |
+
'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
|
3253 |
+
'type' => 'numeric',
|
3254 |
+
),
|
3255 |
+
'Items' => array(
|
3256 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
3257 |
+
'type' => 'array',
|
3258 |
+
'items' => array(
|
3259 |
+
'name' => 'KeyPairId',
|
3260 |
+
'type' => 'string',
|
3261 |
+
'sentAs' => 'KeyPairId',
|
3262 |
+
),
|
3263 |
+
),
|
3264 |
+
),
|
3265 |
+
),
|
3266 |
+
),
|
3267 |
+
),
|
3268 |
+
),
|
3269 |
+
),
|
3270 |
+
),
|
3271 |
+
'StreamingDistributionConfig' => array(
|
3272 |
+
'description' => 'The current configuration information for the streaming distribution.',
|
3273 |
+
'type' => 'object',
|
3274 |
+
'location' => 'xml',
|
3275 |
+
'properties' => array(
|
3276 |
+
'CallerReference' => array(
|
3277 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
3278 |
+
'type' => 'string',
|
3279 |
+
),
|
3280 |
+
'S3Origin' => array(
|
3281 |
+
'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
|
3282 |
+
'type' => 'object',
|
3283 |
+
'properties' => array(
|
3284 |
+
'DomainName' => array(
|
3285 |
+
'description' => 'The DNS name of the S3 origin.',
|
3286 |
+
'type' => 'string',
|
3287 |
+
),
|
3288 |
+
'OriginAccessIdentity' => array(
|
3289 |
+
'description' => 'Your S3 origin\'s origin access identity.',
|
3290 |
+
'type' => 'string',
|
3291 |
+
),
|
3292 |
+
),
|
3293 |
+
),
|
3294 |
+
'Aliases' => array(
|
3295 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
|
3296 |
+
'type' => 'object',
|
3297 |
+
'properties' => array(
|
3298 |
+
'Quantity' => array(
|
3299 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
3300 |
+
'type' => 'numeric',
|
3301 |
+
),
|
3302 |
+
'Items' => array(
|
3303 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
3304 |
+
'type' => 'array',
|
3305 |
+
'items' => array(
|
3306 |
+
'name' => 'CNAME',
|
3307 |
+
'type' => 'string',
|
3308 |
+
'sentAs' => 'CNAME',
|
3309 |
+
),
|
3310 |
+
),
|
3311 |
+
),
|
3312 |
+
),
|
3313 |
+
'Comment' => array(
|
3314 |
+
'description' => 'Any comments you want to include about the streaming distribution.',
|
3315 |
+
'type' => 'string',
|
3316 |
+
),
|
3317 |
+
'Logging' => array(
|
3318 |
+
'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
|
3319 |
+
'type' => 'object',
|
3320 |
+
'properties' => array(
|
3321 |
+
'Enabled' => array(
|
3322 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
3323 |
+
'type' => 'boolean',
|
3324 |
+
),
|
3325 |
+
'Bucket' => array(
|
3326 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
3327 |
+
'type' => 'string',
|
3328 |
+
),
|
3329 |
+
'Prefix' => array(
|
3330 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
3331 |
+
'type' => 'string',
|
3332 |
+
),
|
3333 |
+
),
|
3334 |
+
),
|
3335 |
+
'TrustedSigners' => array(
|
3336 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
3337 |
+
'type' => 'object',
|
3338 |
+
'properties' => array(
|
3339 |
+
'Enabled' => array(
|
3340 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
3341 |
+
'type' => 'boolean',
|
3342 |
+
),
|
3343 |
+
'Quantity' => array(
|
3344 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
3345 |
+
'type' => 'numeric',
|
3346 |
+
),
|
3347 |
+
'Items' => array(
|
3348 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
3349 |
+
'type' => 'array',
|
3350 |
+
'items' => array(
|
3351 |
+
'name' => 'AwsAccountNumber',
|
3352 |
+
'type' => 'string',
|
3353 |
+
'sentAs' => 'AwsAccountNumber',
|
3354 |
+
),
|
3355 |
+
),
|
3356 |
+
),
|
3357 |
+
),
|
3358 |
+
'Enabled' => array(
|
3359 |
+
'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
|
3360 |
+
'type' => 'boolean',
|
3361 |
+
),
|
3362 |
+
),
|
3363 |
+
),
|
3364 |
+
'ETag' => array(
|
3365 |
+
'description' => 'The current version of the streaming distribution\'s information. For example: E2QWRUHAPOMQZL.',
|
3366 |
+
'type' => 'string',
|
3367 |
+
'location' => 'header',
|
3368 |
+
),
|
3369 |
+
'RequestId' => array(
|
3370 |
+
'description' => 'Request ID of the operation',
|
3371 |
+
'location' => 'header',
|
3372 |
+
'sentAs' => 'x-amz-request-id',
|
3373 |
+
),
|
3374 |
+
),
|
3375 |
+
),
|
3376 |
+
'GetStreamingDistributionConfigResult' => array(
|
3377 |
+
'type' => 'object',
|
3378 |
+
'additionalProperties' => true,
|
3379 |
+
'properties' => array(
|
3380 |
+
'CallerReference' => array(
|
3381 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
3382 |
+
'type' => 'string',
|
3383 |
+
'location' => 'xml',
|
3384 |
+
),
|
3385 |
+
'S3Origin' => array(
|
3386 |
+
'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
|
3387 |
+
'type' => 'object',
|
3388 |
+
'location' => 'xml',
|
3389 |
+
'properties' => array(
|
3390 |
+
'DomainName' => array(
|
3391 |
+
'description' => 'The DNS name of the S3 origin.',
|
3392 |
+
'type' => 'string',
|
3393 |
+
),
|
3394 |
+
'OriginAccessIdentity' => array(
|
3395 |
+
'description' => 'Your S3 origin\'s origin access identity.',
|
3396 |
+
'type' => 'string',
|
3397 |
+
),
|
3398 |
+
),
|
3399 |
+
),
|
3400 |
+
'Aliases' => array(
|
3401 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
|
3402 |
+
'type' => 'object',
|
3403 |
+
'location' => 'xml',
|
3404 |
+
'properties' => array(
|
3405 |
+
'Quantity' => array(
|
3406 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
3407 |
+
'type' => 'numeric',
|
3408 |
+
),
|
3409 |
+
'Items' => array(
|
3410 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
3411 |
+
'type' => 'array',
|
3412 |
+
'items' => array(
|
3413 |
+
'name' => 'CNAME',
|
3414 |
+
'type' => 'string',
|
3415 |
+
'sentAs' => 'CNAME',
|
3416 |
+
),
|
3417 |
+
),
|
3418 |
+
),
|
3419 |
+
),
|
3420 |
+
'Comment' => array(
|
3421 |
+
'description' => 'Any comments you want to include about the streaming distribution.',
|
3422 |
+
'type' => 'string',
|
3423 |
+
'location' => 'xml',
|
3424 |
+
),
|
3425 |
+
'Logging' => array(
|
3426 |
+
'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
|
3427 |
+
'type' => 'object',
|
3428 |
+
'location' => 'xml',
|
3429 |
+
'properties' => array(
|
3430 |
+
'Enabled' => array(
|
3431 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
3432 |
+
'type' => 'boolean',
|
3433 |
+
),
|
3434 |
+
'Bucket' => array(
|
3435 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
3436 |
+
'type' => 'string',
|
3437 |
+
),
|
3438 |
+
'Prefix' => array(
|
3439 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
3440 |
+
'type' => 'string',
|
3441 |
+
),
|
3442 |
+
),
|
3443 |
+
),
|
3444 |
+
'TrustedSigners' => array(
|
3445 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
3446 |
+
'type' => 'object',
|
3447 |
+
'location' => 'xml',
|
3448 |
+
'properties' => array(
|
3449 |
+
'Enabled' => array(
|
3450 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
3451 |
+
'type' => 'boolean',
|
3452 |
+
),
|
3453 |
+
'Quantity' => array(
|
3454 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
3455 |
+
'type' => 'numeric',
|
3456 |
+
),
|
3457 |
+
'Items' => array(
|
3458 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
3459 |
+
'type' => 'array',
|
3460 |
+
'items' => array(
|
3461 |
+
'name' => 'AwsAccountNumber',
|
3462 |
+
'type' => 'string',
|
3463 |
+
'sentAs' => 'AwsAccountNumber',
|
3464 |
+
),
|
3465 |
+
),
|
3466 |
+
),
|
3467 |
+
),
|
3468 |
+
'Enabled' => array(
|
3469 |
+
'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
|
3470 |
+
'type' => 'boolean',
|
3471 |
+
'location' => 'xml',
|
3472 |
+
),
|
3473 |
+
'ETag' => array(
|
3474 |
+
'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
|
3475 |
+
'type' => 'string',
|
3476 |
+
'location' => 'header',
|
3477 |
+
),
|
3478 |
+
'RequestId' => array(
|
3479 |
+
'description' => 'Request ID of the operation',
|
3480 |
+
'location' => 'header',
|
3481 |
+
'sentAs' => 'x-amz-request-id',
|
3482 |
+
),
|
3483 |
+
),
|
3484 |
+
),
|
3485 |
+
'ListCloudFrontOriginAccessIdentitiesResult' => array(
|
3486 |
+
'type' => 'object',
|
3487 |
+
'additionalProperties' => true,
|
3488 |
+
'properties' => array(
|
3489 |
+
'Marker' => array(
|
3490 |
+
'description' => 'The value you provided for the Marker request parameter.',
|
3491 |
+
'type' => 'string',
|
3492 |
+
'location' => 'xml',
|
3493 |
+
),
|
3494 |
+
'NextMarker' => array(
|
3495 |
+
'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your origin access identities where they left off.',
|
3496 |
+
'type' => 'string',
|
3497 |
+
'location' => 'xml',
|
3498 |
+
),
|
3499 |
+
'MaxItems' => array(
|
3500 |
+
'description' => 'The value you provided for the MaxItems request parameter.',
|
3501 |
+
'type' => 'numeric',
|
3502 |
+
'location' => 'xml',
|
3503 |
+
),
|
3504 |
+
'IsTruncated' => array(
|
3505 |
+
'description' => 'A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more items in the list.',
|
3506 |
+
'type' => 'boolean',
|
3507 |
+
'location' => 'xml',
|
3508 |
+
),
|
3509 |
+
'Quantity' => array(
|
3510 |
+
'description' => 'The number of CloudFront origin access identities that were created by the current AWS account.',
|
3511 |
+
'type' => 'numeric',
|
3512 |
+
'location' => 'xml',
|
3513 |
+
),
|
3514 |
+
'Items' => array(
|
3515 |
+
'description' => 'A complex type that contains one CloudFrontOriginAccessIdentitySummary element for each origin access identity that was created by the current AWS account.',
|
3516 |
+
'type' => 'array',
|
3517 |
+
'location' => 'xml',
|
3518 |
+
'items' => array(
|
3519 |
+
'name' => 'CloudFrontOriginAccessIdentitySummary',
|
3520 |
+
'description' => 'Summary of the information about a CloudFront origin access identity.',
|
3521 |
+
'type' => 'object',
|
3522 |
+
'sentAs' => 'CloudFrontOriginAccessIdentitySummary',
|
3523 |
+
'properties' => array(
|
3524 |
+
'Id' => array(
|
3525 |
+
'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
|
3526 |
+
'type' => 'string',
|
3527 |
+
),
|
3528 |
+
'S3CanonicalUserId' => array(
|
3529 |
+
'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
|
3530 |
+
'type' => 'string',
|
3531 |
+
),
|
3532 |
+
'Comment' => array(
|
3533 |
+
'description' => 'The comment for this origin access identity, as originally specified when created.',
|
3534 |
+
'type' => 'string',
|
3535 |
+
),
|
3536 |
+
),
|
3537 |
+
),
|
3538 |
+
),
|
3539 |
+
'RequestId' => array(
|
3540 |
+
'description' => 'Request ID of the operation',
|
3541 |
+
'location' => 'header',
|
3542 |
+
'sentAs' => 'x-amz-request-id',
|
3543 |
+
),
|
3544 |
+
),
|
3545 |
+
),
|
3546 |
+
'ListDistributionsResult' => array(
|
3547 |
+
'type' => 'object',
|
3548 |
+
'additionalProperties' => true,
|
3549 |
+
'properties' => array(
|
3550 |
+
'Marker' => array(
|
3551 |
+
'description' => 'The value you provided for the Marker request parameter.',
|
3552 |
+
'type' => 'string',
|
3553 |
+
'location' => 'xml',
|
3554 |
+
),
|
3555 |
+
'NextMarker' => array(
|
3556 |
+
'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.',
|
3557 |
+
'type' => 'string',
|
3558 |
+
'location' => 'xml',
|
3559 |
+
),
|
3560 |
+
'MaxItems' => array(
|
3561 |
+
'description' => 'The value you provided for the MaxItems request parameter.',
|
3562 |
+
'type' => 'numeric',
|
3563 |
+
'location' => 'xml',
|
3564 |
+
),
|
3565 |
+
'IsTruncated' => array(
|
3566 |
+
'description' => 'A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.',
|
3567 |
+
'type' => 'boolean',
|
3568 |
+
'location' => 'xml',
|
3569 |
+
),
|
3570 |
+
'Quantity' => array(
|
3571 |
+
'description' => 'The number of distributions that were created by the current AWS account.',
|
3572 |
+
'type' => 'numeric',
|
3573 |
+
'location' => 'xml',
|
3574 |
+
),
|
3575 |
+
'Items' => array(
|
3576 |
+
'description' => 'A complex type that contains one DistributionSummary element for each distribution that was created by the current AWS account.',
|
3577 |
+
'type' => 'array',
|
3578 |
+
'location' => 'xml',
|
3579 |
+
'items' => array(
|
3580 |
+
'name' => 'DistributionSummary',
|
3581 |
+
'description' => 'A summary of the information for an Amazon CloudFront distribution.',
|
3582 |
+
'type' => 'object',
|
3583 |
+
'sentAs' => 'DistributionSummary',
|
3584 |
+
'properties' => array(
|
3585 |
+
'Id' => array(
|
3586 |
+
'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
|
3587 |
+
'type' => 'string',
|
3588 |
+
),
|
3589 |
+
'Status' => array(
|
3590 |
+
'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
3591 |
+
'type' => 'string',
|
3592 |
+
),
|
3593 |
+
'LastModifiedTime' => array(
|
3594 |
+
'description' => 'The date and time the distribution was last modified.',
|
3595 |
+
'type' => 'string',
|
3596 |
+
),
|
3597 |
+
'DomainName' => array(
|
3598 |
+
'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
|
3599 |
+
'type' => 'string',
|
3600 |
+
),
|
3601 |
+
'Aliases' => array(
|
3602 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
|
3603 |
+
'type' => 'object',
|
3604 |
+
'properties' => array(
|
3605 |
+
'Quantity' => array(
|
3606 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
3607 |
+
'type' => 'numeric',
|
3608 |
+
),
|
3609 |
+
'Items' => array(
|
3610 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
3611 |
+
'type' => 'array',
|
3612 |
+
'items' => array(
|
3613 |
+
'name' => 'CNAME',
|
3614 |
+
'type' => 'string',
|
3615 |
+
'sentAs' => 'CNAME',
|
3616 |
+
),
|
3617 |
+
),
|
3618 |
+
),
|
3619 |
+
),
|
3620 |
+
'Origins' => array(
|
3621 |
+
'description' => 'A complex type that contains information about origins for this distribution.',
|
3622 |
+
'type' => 'object',
|
3623 |
+
'properties' => array(
|
3624 |
+
'Quantity' => array(
|
3625 |
+
'description' => 'The number of origins for this distribution.',
|
3626 |
+
'type' => 'numeric',
|
3627 |
+
),
|
3628 |
+
'Items' => array(
|
3629 |
+
'description' => 'A complex type that contains origins for this distribution.',
|
3630 |
+
'type' => 'array',
|
3631 |
+
'items' => array(
|
3632 |
+
'name' => 'Origin',
|
3633 |
+
'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
|
3634 |
+
'type' => 'object',
|
3635 |
+
'sentAs' => 'Origin',
|
3636 |
+
'properties' => array(
|
3637 |
+
'Id' => array(
|
3638 |
+
'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
|
3639 |
+
'type' => 'string',
|
3640 |
+
),
|
3641 |
+
'DomainName' => array(
|
3642 |
+
'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
|
3643 |
+
'type' => 'string',
|
3644 |
+
),
|
3645 |
+
'S3OriginConfig' => array(
|
3646 |
+
'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
|
3647 |
+
'type' => 'object',
|
3648 |
+
'properties' => array(
|
3649 |
+
'OriginAccessIdentity' => array(
|
3650 |
+
'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
|
3651 |
+
'type' => 'string',
|
3652 |
+
),
|
3653 |
+
),
|
3654 |
+
),
|
3655 |
+
'CustomOriginConfig' => array(
|
3656 |
+
'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
|
3657 |
+
'type' => 'object',
|
3658 |
+
'properties' => array(
|
3659 |
+
'HTTPPort' => array(
|
3660 |
+
'description' => 'The HTTP port the custom origin listens on.',
|
3661 |
+
'type' => 'numeric',
|
3662 |
+
),
|
3663 |
+
'HTTPSPort' => array(
|
3664 |
+
'description' => 'The HTTPS port the custom origin listens on.',
|
3665 |
+
'type' => 'numeric',
|
3666 |
+
),
|
3667 |
+
'OriginProtocolPolicy' => array(
|
3668 |
+
'description' => 'The origin protocol policy to apply to your origin.',
|
3669 |
+
'type' => 'string',
|
3670 |
+
),
|
3671 |
+
),
|
3672 |
+
),
|
3673 |
+
),
|
3674 |
+
),
|
3675 |
+
),
|
3676 |
+
),
|
3677 |
+
),
|
3678 |
+
'DefaultCacheBehavior' => array(
|
3679 |
+
'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
|
3680 |
+
'type' => 'object',
|
3681 |
+
'properties' => array(
|
3682 |
+
'TargetOriginId' => array(
|
3683 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
3684 |
+
'type' => 'string',
|
3685 |
+
),
|
3686 |
+
'ForwardedValues' => array(
|
3687 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
3688 |
+
'type' => 'object',
|
3689 |
+
'properties' => array(
|
3690 |
+
'QueryString' => array(
|
3691 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
3692 |
+
'type' => 'boolean',
|
3693 |
+
),
|
3694 |
+
),
|
3695 |
+
),
|
3696 |
+
'TrustedSigners' => array(
|
3697 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
3698 |
+
'type' => 'object',
|
3699 |
+
'properties' => array(
|
3700 |
+
'Enabled' => array(
|
3701 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
3702 |
+
'type' => 'boolean',
|
3703 |
+
),
|
3704 |
+
'Quantity' => array(
|
3705 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
3706 |
+
'type' => 'numeric',
|
3707 |
+
),
|
3708 |
+
'Items' => array(
|
3709 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
3710 |
+
'type' => 'array',
|
3711 |
+
'items' => array(
|
3712 |
+
'name' => 'AwsAccountNumber',
|
3713 |
+
'type' => 'string',
|
3714 |
+
'sentAs' => 'AwsAccountNumber',
|
3715 |
+
),
|
3716 |
+
),
|
3717 |
+
),
|
3718 |
+
),
|
3719 |
+
'ViewerProtocolPolicy' => array(
|
3720 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
3721 |
+
'type' => 'string',
|
3722 |
+
),
|
3723 |
+
'MinTTL' => array(
|
3724 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
3725 |
+
'type' => 'numeric',
|
3726 |
+
),
|
3727 |
+
),
|
3728 |
+
),
|
3729 |
+
'CacheBehaviors' => array(
|
3730 |
+
'description' => 'A complex type that contains zero or more CacheBehavior elements.',
|
3731 |
+
'type' => 'object',
|
3732 |
+
'properties' => array(
|
3733 |
+
'Quantity' => array(
|
3734 |
+
'description' => 'The number of cache behaviors for this distribution.',
|
3735 |
+
'type' => 'numeric',
|
3736 |
+
),
|
3737 |
+
'Items' => array(
|
3738 |
+
'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
|
3739 |
+
'type' => 'array',
|
3740 |
+
'items' => array(
|
3741 |
+
'name' => 'CacheBehavior',
|
3742 |
+
'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
|
3743 |
+
'type' => 'object',
|
3744 |
+
'sentAs' => 'CacheBehavior',
|
3745 |
+
'properties' => array(
|
3746 |
+
'PathPattern' => array(
|
3747 |
+
'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
|
3748 |
+
'type' => 'string',
|
3749 |
+
),
|
3750 |
+
'TargetOriginId' => array(
|
3751 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
3752 |
+
'type' => 'string',
|
3753 |
+
),
|
3754 |
+
'ForwardedValues' => array(
|
3755 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
3756 |
+
'type' => 'object',
|
3757 |
+
'properties' => array(
|
3758 |
+
'QueryString' => array(
|
3759 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
3760 |
+
'type' => 'boolean',
|
3761 |
+
),
|
3762 |
+
),
|
3763 |
+
),
|
3764 |
+
'TrustedSigners' => array(
|
3765 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
3766 |
+
'type' => 'object',
|
3767 |
+
'properties' => array(
|
3768 |
+
'Enabled' => array(
|
3769 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
3770 |
+
'type' => 'boolean',
|
3771 |
+
),
|
3772 |
+
'Quantity' => array(
|
3773 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
3774 |
+
'type' => 'numeric',
|
3775 |
+
),
|
3776 |
+
'Items' => array(
|
3777 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
3778 |
+
'type' => 'array',
|
3779 |
+
'items' => array(
|
3780 |
+
'name' => 'AwsAccountNumber',
|
3781 |
+
'type' => 'string',
|
3782 |
+
'sentAs' => 'AwsAccountNumber',
|
3783 |
+
),
|
3784 |
+
),
|
3785 |
+
),
|
3786 |
+
),
|
3787 |
+
'ViewerProtocolPolicy' => array(
|
3788 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
3789 |
+
'type' => 'string',
|
3790 |
+
),
|
3791 |
+
'MinTTL' => array(
|
3792 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
3793 |
+
'type' => 'numeric',
|
3794 |
+
),
|
3795 |
+
),
|
3796 |
+
),
|
3797 |
+
),
|
3798 |
+
),
|
3799 |
+
),
|
3800 |
+
'Comment' => array(
|
3801 |
+
'description' => 'The comment originally specified when this distribution was created.',
|
3802 |
+
'type' => 'string',
|
3803 |
+
),
|
3804 |
+
'Enabled' => array(
|
3805 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
3806 |
+
'type' => 'boolean',
|
3807 |
+
),
|
3808 |
+
),
|
3809 |
+
),
|
3810 |
+
),
|
3811 |
+
'RequestId' => array(
|
3812 |
+
'description' => 'Request ID of the operation',
|
3813 |
+
'location' => 'header',
|
3814 |
+
'sentAs' => 'x-amz-request-id',
|
3815 |
+
),
|
3816 |
+
),
|
3817 |
+
),
|
3818 |
+
'ListInvalidationsResult' => array(
|
3819 |
+
'type' => 'object',
|
3820 |
+
'additionalProperties' => true,
|
3821 |
+
'properties' => array(
|
3822 |
+
'Marker' => array(
|
3823 |
+
'description' => 'The value you provided for the Marker request parameter.',
|
3824 |
+
'type' => 'string',
|
3825 |
+
'location' => 'xml',
|
3826 |
+
),
|
3827 |
+
'NextMarker' => array(
|
3828 |
+
'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your invalidation batches where they left off.',
|
3829 |
+
'type' => 'string',
|
3830 |
+
'location' => 'xml',
|
3831 |
+
),
|
3832 |
+
'MaxItems' => array(
|
3833 |
+
'description' => 'The value you provided for the MaxItems request parameter.',
|
3834 |
+
'type' => 'numeric',
|
3835 |
+
'location' => 'xml',
|
3836 |
+
),
|
3837 |
+
'IsTruncated' => array(
|
3838 |
+
'description' => 'A flag that indicates whether more invalidation batch requests remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more invalidation batches in the list.',
|
3839 |
+
'type' => 'boolean',
|
3840 |
+
'location' => 'xml',
|
3841 |
+
),
|
3842 |
+
'Quantity' => array(
|
3843 |
+
'description' => 'The number of invalidation batches that were created by the current AWS account.',
|
3844 |
+
'type' => 'numeric',
|
3845 |
+
'location' => 'xml',
|
3846 |
+
),
|
3847 |
+
'Items' => array(
|
3848 |
+
'description' => 'A complex type that contains one InvalidationSummary element for each invalidation batch that was created by the current AWS account.',
|
3849 |
+
'type' => 'array',
|
3850 |
+
'location' => 'xml',
|
3851 |
+
'items' => array(
|
3852 |
+
'name' => 'InvalidationSummary',
|
3853 |
+
'description' => 'Summary of an invalidation request.',
|
3854 |
+
'type' => 'object',
|
3855 |
+
'sentAs' => 'InvalidationSummary',
|
3856 |
+
'properties' => array(
|
3857 |
+
'Id' => array(
|
3858 |
+
'description' => 'The unique ID for an invalidation request.',
|
3859 |
+
'type' => 'string',
|
3860 |
+
),
|
3861 |
+
'Status' => array(
|
3862 |
+
'description' => 'The status of an invalidation request.',
|
3863 |
+
'type' => 'string',
|
3864 |
+
),
|
3865 |
+
),
|
3866 |
+
),
|
3867 |
+
),
|
3868 |
+
'RequestId' => array(
|
3869 |
+
'description' => 'Request ID of the operation',
|
3870 |
+
'location' => 'header',
|
3871 |
+
'sentAs' => 'x-amz-request-id',
|
3872 |
+
),
|
3873 |
+
),
|
3874 |
+
),
|
3875 |
+
'ListStreamingDistributionsResult' => array(
|
3876 |
+
'type' => 'object',
|
3877 |
+
'additionalProperties' => true,
|
3878 |
+
'properties' => array(
|
3879 |
+
'Marker' => array(
|
3880 |
+
'description' => 'The value you provided for the Marker request parameter.',
|
3881 |
+
'type' => 'string',
|
3882 |
+
'location' => 'xml',
|
3883 |
+
),
|
3884 |
+
'NextMarker' => array(
|
3885 |
+
'description' => 'If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your streaming distributions where they left off.',
|
3886 |
+
'type' => 'string',
|
3887 |
+
'location' => 'xml',
|
3888 |
+
),
|
3889 |
+
'MaxItems' => array(
|
3890 |
+
'description' => 'The value you provided for the MaxItems request parameter.',
|
3891 |
+
'type' => 'numeric',
|
3892 |
+
'location' => 'xml',
|
3893 |
+
),
|
3894 |
+
'IsTruncated' => array(
|
3895 |
+
'description' => 'A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.',
|
3896 |
+
'type' => 'boolean',
|
3897 |
+
'location' => 'xml',
|
3898 |
+
),
|
3899 |
+
'Quantity' => array(
|
3900 |
+
'description' => 'The number of streaming distributions that were created by the current AWS account.',
|
3901 |
+
'type' => 'numeric',
|
3902 |
+
'location' => 'xml',
|
3903 |
+
),
|
3904 |
+
'Items' => array(
|
3905 |
+
'description' => 'A complex type that contains one StreamingDistributionSummary element for each distribution that was created by the current AWS account.',
|
3906 |
+
'type' => 'array',
|
3907 |
+
'location' => 'xml',
|
3908 |
+
'items' => array(
|
3909 |
+
'name' => 'StreamingDistributionSummary',
|
3910 |
+
'description' => 'A summary of the information for an Amazon CloudFront streaming distribution.',
|
3911 |
+
'type' => 'object',
|
3912 |
+
'sentAs' => 'StreamingDistributionSummary',
|
3913 |
+
'properties' => array(
|
3914 |
+
'Id' => array(
|
3915 |
+
'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
|
3916 |
+
'type' => 'string',
|
3917 |
+
),
|
3918 |
+
'Status' => array(
|
3919 |
+
'description' => 'Indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
3920 |
+
'type' => 'string',
|
3921 |
+
),
|
3922 |
+
'LastModifiedTime' => array(
|
3923 |
+
'description' => 'The date and time the distribution was last modified.',
|
3924 |
+
'type' => 'string',
|
3925 |
+
),
|
3926 |
+
'DomainName' => array(
|
3927 |
+
'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
|
3928 |
+
'type' => 'string',
|
3929 |
+
),
|
3930 |
+
'S3Origin' => array(
|
3931 |
+
'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
|
3932 |
+
'type' => 'object',
|
3933 |
+
'properties' => array(
|
3934 |
+
'DomainName' => array(
|
3935 |
+
'description' => 'The DNS name of the S3 origin.',
|
3936 |
+
'type' => 'string',
|
3937 |
+
),
|
3938 |
+
'OriginAccessIdentity' => array(
|
3939 |
+
'description' => 'Your S3 origin\'s origin access identity.',
|
3940 |
+
'type' => 'string',
|
3941 |
+
),
|
3942 |
+
),
|
3943 |
+
),
|
3944 |
+
'Aliases' => array(
|
3945 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
|
3946 |
+
'type' => 'object',
|
3947 |
+
'properties' => array(
|
3948 |
+
'Quantity' => array(
|
3949 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
3950 |
+
'type' => 'numeric',
|
3951 |
+
),
|
3952 |
+
'Items' => array(
|
3953 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
3954 |
+
'type' => 'array',
|
3955 |
+
'items' => array(
|
3956 |
+
'name' => 'CNAME',
|
3957 |
+
'type' => 'string',
|
3958 |
+
'sentAs' => 'CNAME',
|
3959 |
+
),
|
3960 |
+
),
|
3961 |
+
),
|
3962 |
+
),
|
3963 |
+
'TrustedSigners' => array(
|
3964 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
3965 |
+
'type' => 'object',
|
3966 |
+
'properties' => array(
|
3967 |
+
'Enabled' => array(
|
3968 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
3969 |
+
'type' => 'boolean',
|
3970 |
+
),
|
3971 |
+
'Quantity' => array(
|
3972 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
3973 |
+
'type' => 'numeric',
|
3974 |
+
),
|
3975 |
+
'Items' => array(
|
3976 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
3977 |
+
'type' => 'array',
|
3978 |
+
'items' => array(
|
3979 |
+
'name' => 'AwsAccountNumber',
|
3980 |
+
'type' => 'string',
|
3981 |
+
'sentAs' => 'AwsAccountNumber',
|
3982 |
+
),
|
3983 |
+
),
|
3984 |
+
),
|
3985 |
+
),
|
3986 |
+
'Comment' => array(
|
3987 |
+
'description' => 'The comment originally specified when this distribution was created.',
|
3988 |
+
'type' => 'string',
|
3989 |
+
),
|
3990 |
+
'Enabled' => array(
|
3991 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
3992 |
+
'type' => 'boolean',
|
3993 |
+
),
|
3994 |
+
),
|
3995 |
+
),
|
3996 |
+
),
|
3997 |
+
'RequestId' => array(
|
3998 |
+
'description' => 'Request ID of the operation',
|
3999 |
+
'location' => 'header',
|
4000 |
+
'sentAs' => 'x-amz-request-id',
|
4001 |
+
),
|
4002 |
+
),
|
4003 |
+
),
|
4004 |
+
'UpdateCloudFrontOriginAccessIdentityResult' => array(
|
4005 |
+
'type' => 'object',
|
4006 |
+
'additionalProperties' => true,
|
4007 |
+
'properties' => array(
|
4008 |
+
'Id' => array(
|
4009 |
+
'description' => 'The ID for the origin access identity. For example: E74FTE3AJFJ256A.',
|
4010 |
+
'type' => 'string',
|
4011 |
+
'location' => 'xml',
|
4012 |
+
),
|
4013 |
+
'S3CanonicalUserId' => array(
|
4014 |
+
'description' => 'The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.',
|
4015 |
+
'type' => 'string',
|
4016 |
+
'location' => 'xml',
|
4017 |
+
),
|
4018 |
+
'CloudFrontOriginAccessIdentityConfig' => array(
|
4019 |
+
'description' => 'The current configuration information for the identity.',
|
4020 |
+
'type' => 'object',
|
4021 |
+
'location' => 'xml',
|
4022 |
+
'properties' => array(
|
4023 |
+
'CallerReference' => array(
|
4024 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',
|
4025 |
+
'type' => 'string',
|
4026 |
+
),
|
4027 |
+
'Comment' => array(
|
4028 |
+
'description' => 'Any comments you want to include about the origin access identity.',
|
4029 |
+
'type' => 'string',
|
4030 |
+
),
|
4031 |
+
),
|
4032 |
+
),
|
4033 |
+
'ETag' => array(
|
4034 |
+
'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
|
4035 |
+
'type' => 'string',
|
4036 |
+
'location' => 'header',
|
4037 |
+
),
|
4038 |
+
'RequestId' => array(
|
4039 |
+
'description' => 'Request ID of the operation',
|
4040 |
+
'location' => 'header',
|
4041 |
+
'sentAs' => 'x-amz-request-id',
|
4042 |
+
),
|
4043 |
+
),
|
4044 |
+
),
|
4045 |
+
'UpdateDistributionResult' => array(
|
4046 |
+
'type' => 'object',
|
4047 |
+
'additionalProperties' => true,
|
4048 |
+
'properties' => array(
|
4049 |
+
'Id' => array(
|
4050 |
+
'description' => 'The identifier for the distribution. For example: EDFDVBD632BHDS5.',
|
4051 |
+
'type' => 'string',
|
4052 |
+
'location' => 'xml',
|
4053 |
+
),
|
4054 |
+
'Status' => array(
|
4055 |
+
'description' => 'This response element indicates the current status of the distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
4056 |
+
'type' => 'string',
|
4057 |
+
'location' => 'xml',
|
4058 |
+
),
|
4059 |
+
'LastModifiedTime' => array(
|
4060 |
+
'description' => 'The date and time the distribution was last modified.',
|
4061 |
+
'type' => 'string',
|
4062 |
+
'location' => 'xml',
|
4063 |
+
),
|
4064 |
+
'InProgressInvalidationBatches' => array(
|
4065 |
+
'description' => 'The number of invalidation batches currently in progress.',
|
4066 |
+
'type' => 'numeric',
|
4067 |
+
'location' => 'xml',
|
4068 |
+
),
|
4069 |
+
'DomainName' => array(
|
4070 |
+
'description' => 'The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.',
|
4071 |
+
'type' => 'string',
|
4072 |
+
'location' => 'xml',
|
4073 |
+
),
|
4074 |
+
'ActiveTrustedSigners' => array(
|
4075 |
+
'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
|
4076 |
+
'type' => 'object',
|
4077 |
+
'location' => 'xml',
|
4078 |
+
'properties' => array(
|
4079 |
+
'Enabled' => array(
|
4080 |
+
'description' => 'Each active trusted signer.',
|
4081 |
+
'type' => 'boolean',
|
4082 |
+
),
|
4083 |
+
'Quantity' => array(
|
4084 |
+
'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
|
4085 |
+
'type' => 'numeric',
|
4086 |
+
),
|
4087 |
+
'Items' => array(
|
4088 |
+
'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
|
4089 |
+
'type' => 'array',
|
4090 |
+
'items' => array(
|
4091 |
+
'name' => 'Signer',
|
4092 |
+
'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
|
4093 |
+
'type' => 'object',
|
4094 |
+
'sentAs' => 'Signer',
|
4095 |
+
'properties' => array(
|
4096 |
+
'AwsAccountNumber' => array(
|
4097 |
+
'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
|
4098 |
+
'type' => 'string',
|
4099 |
+
),
|
4100 |
+
'KeyPairIds' => array(
|
4101 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
4102 |
+
'type' => 'object',
|
4103 |
+
'properties' => array(
|
4104 |
+
'Quantity' => array(
|
4105 |
+
'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
|
4106 |
+
'type' => 'numeric',
|
4107 |
+
),
|
4108 |
+
'Items' => array(
|
4109 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
4110 |
+
'type' => 'array',
|
4111 |
+
'items' => array(
|
4112 |
+
'name' => 'KeyPairId',
|
4113 |
+
'type' => 'string',
|
4114 |
+
'sentAs' => 'KeyPairId',
|
4115 |
+
),
|
4116 |
+
),
|
4117 |
+
),
|
4118 |
+
),
|
4119 |
+
),
|
4120 |
+
),
|
4121 |
+
),
|
4122 |
+
),
|
4123 |
+
),
|
4124 |
+
'DistributionConfig' => array(
|
4125 |
+
'description' => 'The current configuration information for the distribution.',
|
4126 |
+
'type' => 'object',
|
4127 |
+
'location' => 'xml',
|
4128 |
+
'properties' => array(
|
4129 |
+
'CallerReference' => array(
|
4130 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
4131 |
+
'type' => 'string',
|
4132 |
+
),
|
4133 |
+
'Aliases' => array(
|
4134 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.',
|
4135 |
+
'type' => 'object',
|
4136 |
+
'properties' => array(
|
4137 |
+
'Quantity' => array(
|
4138 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
4139 |
+
'type' => 'numeric',
|
4140 |
+
),
|
4141 |
+
'Items' => array(
|
4142 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
4143 |
+
'type' => 'array',
|
4144 |
+
'items' => array(
|
4145 |
+
'name' => 'CNAME',
|
4146 |
+
'type' => 'string',
|
4147 |
+
'sentAs' => 'CNAME',
|
4148 |
+
),
|
4149 |
+
),
|
4150 |
+
),
|
4151 |
+
),
|
4152 |
+
'DefaultRootObject' => array(
|
4153 |
+
'description' => 'The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL for your distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/index.html). Specifying a default root object avoids exposing the contents of your distribution. If you don\'t want to specify a default root object when you create a distribution, include an empty DefaultRootObject element. To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element. To replace the default root object, update the distribution configuration and specify the new object.',
|
4154 |
+
'type' => 'string',
|
4155 |
+
),
|
4156 |
+
'Origins' => array(
|
4157 |
+
'description' => 'A complex type that contains information about origins for this distribution.',
|
4158 |
+
'type' => 'object',
|
4159 |
+
'properties' => array(
|
4160 |
+
'Quantity' => array(
|
4161 |
+
'description' => 'The number of origins for this distribution.',
|
4162 |
+
'type' => 'numeric',
|
4163 |
+
),
|
4164 |
+
'Items' => array(
|
4165 |
+
'description' => 'A complex type that contains origins for this distribution.',
|
4166 |
+
'type' => 'array',
|
4167 |
+
'items' => array(
|
4168 |
+
'name' => 'Origin',
|
4169 |
+
'description' => 'A complex type that describes the Amazon S3 bucket or the HTTP server (for example, a web server) from which CloudFront gets your files.You must create at least one origin.',
|
4170 |
+
'type' => 'object',
|
4171 |
+
'sentAs' => 'Origin',
|
4172 |
+
'properties' => array(
|
4173 |
+
'Id' => array(
|
4174 |
+
'description' => 'A unique identifier for the origin. The value of Id must be unique within the distribution. You use the value of Id when you create a cache behavior. The Id identifies the origin that CloudFront routes a request to when the request matches the path pattern for that cache behavior.',
|
4175 |
+
'type' => 'string',
|
4176 |
+
),
|
4177 |
+
'DomainName' => array(
|
4178 |
+
'description' => 'Amazon S3 origins: The DNS name of the Amazon S3 bucket from which you want CloudFront to get objects for this origin, for example, myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP server from which you want CloudFront to get objects for this origin, for example, www.example.com.',
|
4179 |
+
'type' => 'string',
|
4180 |
+
),
|
4181 |
+
'S3OriginConfig' => array(
|
4182 |
+
'description' => 'A complex type that contains information about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig element instead.',
|
4183 |
+
'type' => 'object',
|
4184 |
+
'properties' => array(
|
4185 |
+
'OriginAccessIdentity' => array(
|
4186 |
+
'description' => 'The CloudFront origin access identity to associate with the origin. Use an origin access identity to configure the origin so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity.',
|
4187 |
+
'type' => 'string',
|
4188 |
+
),
|
4189 |
+
),
|
4190 |
+
),
|
4191 |
+
'CustomOriginConfig' => array(
|
4192 |
+
'description' => 'A complex type that contains information about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig element instead.',
|
4193 |
+
'type' => 'object',
|
4194 |
+
'properties' => array(
|
4195 |
+
'HTTPPort' => array(
|
4196 |
+
'description' => 'The HTTP port the custom origin listens on.',
|
4197 |
+
'type' => 'numeric',
|
4198 |
+
),
|
4199 |
+
'HTTPSPort' => array(
|
4200 |
+
'description' => 'The HTTPS port the custom origin listens on.',
|
4201 |
+
'type' => 'numeric',
|
4202 |
+
),
|
4203 |
+
'OriginProtocolPolicy' => array(
|
4204 |
+
'description' => 'The origin protocol policy to apply to your origin.',
|
4205 |
+
'type' => 'string',
|
4206 |
+
),
|
4207 |
+
),
|
4208 |
+
),
|
4209 |
+
),
|
4210 |
+
),
|
4211 |
+
),
|
4212 |
+
),
|
4213 |
+
),
|
4214 |
+
'DefaultCacheBehavior' => array(
|
4215 |
+
'description' => 'A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don\'t match any of the values of PathPattern in CacheBehavior elements.You must create exactly one default cache behavior.',
|
4216 |
+
'type' => 'object',
|
4217 |
+
'properties' => array(
|
4218 |
+
'TargetOriginId' => array(
|
4219 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
4220 |
+
'type' => 'string',
|
4221 |
+
),
|
4222 |
+
'ForwardedValues' => array(
|
4223 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
4224 |
+
'type' => 'object',
|
4225 |
+
'properties' => array(
|
4226 |
+
'QueryString' => array(
|
4227 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
4228 |
+
'type' => 'boolean',
|
4229 |
+
),
|
4230 |
+
),
|
4231 |
+
),
|
4232 |
+
'TrustedSigners' => array(
|
4233 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
4234 |
+
'type' => 'object',
|
4235 |
+
'properties' => array(
|
4236 |
+
'Enabled' => array(
|
4237 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
4238 |
+
'type' => 'boolean',
|
4239 |
+
),
|
4240 |
+
'Quantity' => array(
|
4241 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
4242 |
+
'type' => 'numeric',
|
4243 |
+
),
|
4244 |
+
'Items' => array(
|
4245 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
4246 |
+
'type' => 'array',
|
4247 |
+
'items' => array(
|
4248 |
+
'name' => 'AwsAccountNumber',
|
4249 |
+
'type' => 'string',
|
4250 |
+
'sentAs' => 'AwsAccountNumber',
|
4251 |
+
),
|
4252 |
+
),
|
4253 |
+
),
|
4254 |
+
),
|
4255 |
+
'ViewerProtocolPolicy' => array(
|
4256 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
4257 |
+
'type' => 'string',
|
4258 |
+
),
|
4259 |
+
'MinTTL' => array(
|
4260 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
4261 |
+
'type' => 'numeric',
|
4262 |
+
),
|
4263 |
+
),
|
4264 |
+
),
|
4265 |
+
'CacheBehaviors' => array(
|
4266 |
+
'description' => 'A complex type that contains zero or more CacheBehavior elements.',
|
4267 |
+
'type' => 'object',
|
4268 |
+
'properties' => array(
|
4269 |
+
'Quantity' => array(
|
4270 |
+
'description' => 'The number of cache behaviors for this distribution.',
|
4271 |
+
'type' => 'numeric',
|
4272 |
+
),
|
4273 |
+
'Items' => array(
|
4274 |
+
'description' => 'Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.',
|
4275 |
+
'type' => 'array',
|
4276 |
+
'items' => array(
|
4277 |
+
'name' => 'CacheBehavior',
|
4278 |
+
'description' => 'A complex type that describes how CloudFront processes requests. You can create up to 10 cache behaviors.You must create at least as many cache behaviors (including the default cache behavior) as you have origins if you want CloudFront to distribute objects from all of the origins. Each cache behavior specifies the one origin from which you want CloudFront to get objects. If you have two origins and only the default cache behavior, the default cache behavior will cause CloudFront to get objects from one of the origins, but the other origin will never be used. If you don\'t want to specify any cache behaviors, include only an empty CacheBehaviors element. Don\'t include an empty CacheBehavior element, or CloudFront returns a MalformedXML error. To delete all cache behaviors in an existing distribution, update the distribution configuration and include only an empty CacheBehaviors element. To add, change, or remove one or more cache behaviors, update the distribution configuration and specify all of the cache behaviors that you want to include in the updated distribution.',
|
4279 |
+
'type' => 'object',
|
4280 |
+
'sentAs' => 'CacheBehavior',
|
4281 |
+
'properties' => array(
|
4282 |
+
'PathPattern' => array(
|
4283 |
+
'description' => 'The pattern (for example, images/*.jpg) that specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The path pattern for the default cache behavior is * and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.',
|
4284 |
+
'type' => 'string',
|
4285 |
+
),
|
4286 |
+
'TargetOriginId' => array(
|
4287 |
+
'description' => 'The value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.',
|
4288 |
+
'type' => 'string',
|
4289 |
+
),
|
4290 |
+
'ForwardedValues' => array(
|
4291 |
+
'description' => 'A complex type that specifies how CloudFront handles query strings.',
|
4292 |
+
'type' => 'object',
|
4293 |
+
'properties' => array(
|
4294 |
+
'QueryString' => array(
|
4295 |
+
'description' => 'Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior. If so, specify true; if not, specify false.',
|
4296 |
+
'type' => 'boolean',
|
4297 |
+
),
|
4298 |
+
),
|
4299 |
+
),
|
4300 |
+
'TrustedSigners' => array(
|
4301 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
4302 |
+
'type' => 'object',
|
4303 |
+
'properties' => array(
|
4304 |
+
'Enabled' => array(
|
4305 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
4306 |
+
'type' => 'boolean',
|
4307 |
+
),
|
4308 |
+
'Quantity' => array(
|
4309 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
4310 |
+
'type' => 'numeric',
|
4311 |
+
),
|
4312 |
+
'Items' => array(
|
4313 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
4314 |
+
'type' => 'array',
|
4315 |
+
'items' => array(
|
4316 |
+
'name' => 'AwsAccountNumber',
|
4317 |
+
'type' => 'string',
|
4318 |
+
'sentAs' => 'AwsAccountNumber',
|
4319 |
+
),
|
4320 |
+
),
|
4321 |
+
),
|
4322 |
+
),
|
4323 |
+
'ViewerProtocolPolicy' => array(
|
4324 |
+
'description' => 'Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. If you want CloudFront to allow end users to use any available protocol, specify allow-all. If you want CloudFront to require HTTPS, specify https.',
|
4325 |
+
'type' => 'string',
|
4326 |
+
),
|
4327 |
+
'MinTTL' => array(
|
4328 |
+
'description' => 'The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront queries your origin to see whether the object has been updated.You can specify a value from 0 to 3,153,600,000 seconds (100 years).',
|
4329 |
+
'type' => 'numeric',
|
4330 |
+
),
|
4331 |
+
),
|
4332 |
+
),
|
4333 |
+
),
|
4334 |
+
),
|
4335 |
+
),
|
4336 |
+
'Comment' => array(
|
4337 |
+
'description' => 'Any comments you want to include about the distribution.',
|
4338 |
+
'type' => 'string',
|
4339 |
+
),
|
4340 |
+
'Logging' => array(
|
4341 |
+
'description' => 'A complex type that controls whether access logs are written for the distribution.',
|
4342 |
+
'type' => 'object',
|
4343 |
+
'properties' => array(
|
4344 |
+
'Enabled' => array(
|
4345 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
4346 |
+
'type' => 'boolean',
|
4347 |
+
),
|
4348 |
+
'Bucket' => array(
|
4349 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
4350 |
+
'type' => 'string',
|
4351 |
+
),
|
4352 |
+
'Prefix' => array(
|
4353 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
4354 |
+
'type' => 'string',
|
4355 |
+
),
|
4356 |
+
),
|
4357 |
+
),
|
4358 |
+
'Enabled' => array(
|
4359 |
+
'description' => 'Whether the distribution is enabled to accept end user requests for content.',
|
4360 |
+
'type' => 'boolean',
|
4361 |
+
),
|
4362 |
+
),
|
4363 |
+
),
|
4364 |
+
'ETag' => array(
|
4365 |
+
'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
|
4366 |
+
'type' => 'string',
|
4367 |
+
'location' => 'header',
|
4368 |
+
),
|
4369 |
+
'RequestId' => array(
|
4370 |
+
'description' => 'Request ID of the operation',
|
4371 |
+
'location' => 'header',
|
4372 |
+
'sentAs' => 'x-amz-request-id',
|
4373 |
+
),
|
4374 |
+
),
|
4375 |
+
),
|
4376 |
+
'UpdateStreamingDistributionResult' => array(
|
4377 |
+
'type' => 'object',
|
4378 |
+
'additionalProperties' => true,
|
4379 |
+
'properties' => array(
|
4380 |
+
'Id' => array(
|
4381 |
+
'description' => 'The identifier for the streaming distribution. For example: EGTXBD79H29TRA8.',
|
4382 |
+
'type' => 'string',
|
4383 |
+
'location' => 'xml',
|
4384 |
+
),
|
4385 |
+
'Status' => array(
|
4386 |
+
'description' => 'The current status of the streaming distribution. When the status is Deployed, the distribution\'s information is fully propagated throughout the Amazon CloudFront system.',
|
4387 |
+
'type' => 'string',
|
4388 |
+
'location' => 'xml',
|
4389 |
+
),
|
4390 |
+
'LastModifiedTime' => array(
|
4391 |
+
'description' => 'The date and time the distribution was last modified.',
|
4392 |
+
'type' => 'string',
|
4393 |
+
'location' => 'xml',
|
4394 |
+
),
|
4395 |
+
'DomainName' => array(
|
4396 |
+
'description' => 'The domain name corresponding to the streaming distribution. For example: s5c39gqb8ow64r.cloudfront.net.',
|
4397 |
+
'type' => 'string',
|
4398 |
+
'location' => 'xml',
|
4399 |
+
),
|
4400 |
+
'ActiveTrustedSigners' => array(
|
4401 |
+
'description' => 'CloudFront automatically adds this element to the response only if you\'ve set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer\'s AWS account. If no KeyPairId element appears for a Signer, that signer can\'t create working signed URLs.',
|
4402 |
+
'type' => 'object',
|
4403 |
+
'location' => 'xml',
|
4404 |
+
'properties' => array(
|
4405 |
+
'Enabled' => array(
|
4406 |
+
'description' => 'Each active trusted signer.',
|
4407 |
+
'type' => 'boolean',
|
4408 |
+
),
|
4409 |
+
'Quantity' => array(
|
4410 |
+
'description' => 'The number of unique trusted signers included in all cache behaviors. For example, if three cache behaviors all list the same three AWS accounts, the value of Quantity for ActiveTrustedSigners will be 3.',
|
4411 |
+
'type' => 'numeric',
|
4412 |
+
),
|
4413 |
+
'Items' => array(
|
4414 |
+
'description' => 'A complex type that contains one Signer complex type for each unique trusted signer that is specified in the TrustedSigners complex type, including trusted signers in the default cache behavior and in all of the other cache behaviors.',
|
4415 |
+
'type' => 'array',
|
4416 |
+
'items' => array(
|
4417 |
+
'name' => 'Signer',
|
4418 |
+
'description' => 'A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.',
|
4419 |
+
'type' => 'object',
|
4420 |
+
'sentAs' => 'Signer',
|
4421 |
+
'properties' => array(
|
4422 |
+
'AwsAccountNumber' => array(
|
4423 |
+
'description' => 'Specifies an AWS account that can create signed URLs. Values: self, which indicates that the AWS account that was used to create the distribution can created signed URLs, or an AWS account number. Omit the dashes in the account number.',
|
4424 |
+
'type' => 'string',
|
4425 |
+
),
|
4426 |
+
'KeyPairIds' => array(
|
4427 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
4428 |
+
'type' => 'object',
|
4429 |
+
'properties' => array(
|
4430 |
+
'Quantity' => array(
|
4431 |
+
'description' => 'The number of active CloudFront key pairs for AwsAccountNumber.',
|
4432 |
+
'type' => 'numeric',
|
4433 |
+
),
|
4434 |
+
'Items' => array(
|
4435 |
+
'description' => 'A complex type that lists the active CloudFront key pairs, if any, that are associated with AwsAccountNumber.',
|
4436 |
+
'type' => 'array',
|
4437 |
+
'items' => array(
|
4438 |
+
'name' => 'KeyPairId',
|
4439 |
+
'type' => 'string',
|
4440 |
+
'sentAs' => 'KeyPairId',
|
4441 |
+
),
|
4442 |
+
),
|
4443 |
+
),
|
4444 |
+
),
|
4445 |
+
),
|
4446 |
+
),
|
4447 |
+
),
|
4448 |
+
),
|
4449 |
+
),
|
4450 |
+
'StreamingDistributionConfig' => array(
|
4451 |
+
'description' => 'The current configuration information for the streaming distribution.',
|
4452 |
+
'type' => 'object',
|
4453 |
+
'location' => 'xml',
|
4454 |
+
'properties' => array(
|
4455 |
+
'CallerReference' => array(
|
4456 |
+
'description' => 'A unique number that ensures the request can\'t be replayed. If the CallerReference is new (no matter the content of the StreamingDistributionConfig object), a new streaming distribution is created. If the CallerReference is a value you already sent in a previous request to create a streaming distribution, and the content of the StreamingDistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a streaming distribution but the content of the StreamingDistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.',
|
4457 |
+
'type' => 'string',
|
4458 |
+
),
|
4459 |
+
'S3Origin' => array(
|
4460 |
+
'description' => 'A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.',
|
4461 |
+
'type' => 'object',
|
4462 |
+
'properties' => array(
|
4463 |
+
'DomainName' => array(
|
4464 |
+
'description' => 'The DNS name of the S3 origin.',
|
4465 |
+
'type' => 'string',
|
4466 |
+
),
|
4467 |
+
'OriginAccessIdentity' => array(
|
4468 |
+
'description' => 'Your S3 origin\'s origin access identity.',
|
4469 |
+
'type' => 'string',
|
4470 |
+
),
|
4471 |
+
),
|
4472 |
+
),
|
4473 |
+
'Aliases' => array(
|
4474 |
+
'description' => 'A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.',
|
4475 |
+
'type' => 'object',
|
4476 |
+
'properties' => array(
|
4477 |
+
'Quantity' => array(
|
4478 |
+
'description' => 'The number of CNAMEs, if any, for this distribution.',
|
4479 |
+
'type' => 'numeric',
|
4480 |
+
),
|
4481 |
+
'Items' => array(
|
4482 |
+
'description' => 'Optional: A complex type that contains CNAME elements, if any, for this distribution. If Quantity is 0, you can omit Items.',
|
4483 |
+
'type' => 'array',
|
4484 |
+
'items' => array(
|
4485 |
+
'name' => 'CNAME',
|
4486 |
+
'type' => 'string',
|
4487 |
+
'sentAs' => 'CNAME',
|
4488 |
+
),
|
4489 |
+
),
|
4490 |
+
),
|
4491 |
+
),
|
4492 |
+
'Comment' => array(
|
4493 |
+
'description' => 'Any comments you want to include about the streaming distribution.',
|
4494 |
+
'type' => 'string',
|
4495 |
+
),
|
4496 |
+
'Logging' => array(
|
4497 |
+
'description' => 'A complex type that controls whether access logs are written for the streaming distribution.',
|
4498 |
+
'type' => 'object',
|
4499 |
+
'properties' => array(
|
4500 |
+
'Enabled' => array(
|
4501 |
+
'description' => 'Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.',
|
4502 |
+
'type' => 'boolean',
|
4503 |
+
),
|
4504 |
+
'Bucket' => array(
|
4505 |
+
'description' => 'The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.',
|
4506 |
+
'type' => 'string',
|
4507 |
+
),
|
4508 |
+
'Prefix' => array(
|
4509 |
+
'description' => 'An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.',
|
4510 |
+
'type' => 'string',
|
4511 |
+
),
|
4512 |
+
),
|
4513 |
+
),
|
4514 |
+
'TrustedSigners' => array(
|
4515 |
+
'description' => 'A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, go to Using a Signed URL to Serve Private Content in the Amazon CloudFront Developer Guide. If you don\'t want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items. To add, change, or remove one or more trusted signers, change Enabled to true (if it\'s currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.',
|
4516 |
+
'type' => 'object',
|
4517 |
+
'properties' => array(
|
4518 |
+
'Enabled' => array(
|
4519 |
+
'description' => 'Specifies whether you want to require end users to use signed URLs to access the files specified by PathPattern and TargetOriginId.',
|
4520 |
+
'type' => 'boolean',
|
4521 |
+
),
|
4522 |
+
'Quantity' => array(
|
4523 |
+
'description' => 'The number of trusted signers for this cache behavior.',
|
4524 |
+
'type' => 'numeric',
|
4525 |
+
),
|
4526 |
+
'Items' => array(
|
4527 |
+
'description' => 'Optional: A complex type that contains trusted signers for this cache behavior. If Quantity is 0, you can omit Items.',
|
4528 |
+
'type' => 'array',
|
4529 |
+
'items' => array(
|
4530 |
+
'name' => 'AwsAccountNumber',
|
4531 |
+
'type' => 'string',
|
4532 |
+
'sentAs' => 'AwsAccountNumber',
|
4533 |
+
),
|
4534 |
+
),
|
4535 |
+
),
|
4536 |
+
),
|
4537 |
+
'Enabled' => array(
|
4538 |
+
'description' => 'Whether the streaming distribution is enabled to accept end user requests for content.',
|
4539 |
+
'type' => 'boolean',
|
4540 |
+
),
|
4541 |
+
),
|
4542 |
+
),
|
4543 |
+
'ETag' => array(
|
4544 |
+
'description' => 'The current version of the configuration. For example: E2QWRUHAPOMQZL.',
|
4545 |
+
'type' => 'string',
|
4546 |
+
'location' => 'header',
|
4547 |
+
),
|
4548 |
+
'RequestId' => array(
|
4549 |
+
'description' => 'Request ID of the operation',
|
4550 |
+
'location' => 'header',
|
4551 |
+
'sentAs' => 'x-amz-request-id',
|
4552 |
+
),
|
4553 |
+
),
|
4554 |
+
),
|
4555 |
+
),
|
4556 |
+
'waiters' => array(
|
4557 |
+
'__default__' => array(
|
4558 |
+
'success.type' => 'output',
|
4559 |
+
'success.path' => 'Status',
|
4560 |
+
),
|
4561 |
+
'StreamingDistributionDeployed' => array(
|
4562 |
+
'operation' => 'GetStreamingDistribution',
|
4563 |
+
'description' => 'Wait until a streaming distribution is deployed.',
|
4564 |
+
'interval' => 60,
|
4565 |
+
'max_attempts' => 25,
|
4566 |
+
'success.value' => 'Deployed',
|
4567 |
+
),
|
4568 |
+
'DistributionDeployed' => array(
|
4569 |
+
'operation' => 'GetDistribution',
|
4570 |
+
'description' => 'Wait until a distribution is deployed.',
|
4571 |
+
'interval' => 60,
|
4572 |
+
'max_attempts' => 25,
|
4573 |
+
'success.value' => 'Deployed',
|
4574 |
+
),
|
4575 |
+
'InvalidationCompleted' => array(
|
4576 |
+
'operation' => 'GetInvalidation',
|
4577 |
+
'description' => 'Wait until an invalidation has completed.',
|
4578 |
+
'interval' => 20,
|
4579 |
+
'max_attempts' => 30,
|
4580 |
+
'success.value' => 'Completed',
|
4581 |
+
),
|
4582 |
+
),
|
4583 |
+
);
|
vendor/aws/Aws/CloudFront/Resources/cloudfront-2013-05-12.php
ADDED
@@ -0,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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
return array (
|
18 |
+
'apiVersion' => '2013-05-12',
|
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' => '/2013-05-12/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/2013-05-12/',
|
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' => '/2013-05-12/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/2013-05-12/',
|
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 |
+
'enum' => array(
|
213 |
+
'http-only',
|
214 |
+
'match-viewer',
|
215 |
+
),
|
216 |
+
),
|
217 |
+
),
|
218 |
+
),
|
219 |
+
),
|
220 |
+
),
|
221 |
+
),
|
222 |
+
),
|
223 |
+
),
|
224 |
+
'DefaultCacheBehavior' => array(
|
225 |
+
'required' => true,
|
226 |
+
'type' => 'object',
|
227 |
+
'location' => 'xml',
|
228 |
+
'properties' => array(
|
229 |
+
'TargetOriginId' => array(
|
230 |
+
'required' => true,
|
231 |
+
'type' => 'string',
|
232 |
+
),
|
233 |
+
'ForwardedValues' => array(
|
234 |
+
'required' => true,
|
235 |
+
'type' => 'object',
|
236 |
+
'properties' => array(
|
237 |
+
'QueryString' => array(
|
238 |
+
'required' => true,
|
239 |
+
'type' => 'boolean',
|
240 |
+
'format' => 'boolean-string',
|
241 |
+
),
|
242 |
+
'Cookies' => array(
|
243 |
+
'required' => true,
|
244 |
+
'type' => 'object',
|
245 |
+
'properties' => array(
|
246 |
+
'Forward' => array(
|
247 |
+
'required' => true,
|
248 |
+
'type' => 'string',
|
249 |
+
'enum' => array(
|
250 |
+
'none',
|
251 |
+
'whitelist',
|
252 |
+
'all',
|
253 |
+
),
|
254 |
+
),
|
255 |
+
'WhitelistedNames' => array(
|
256 |
+
'type' => 'object',
|
257 |
+
'properties' => array(
|
258 |
+
'Quantity' => array(
|
259 |
+
'required' => true,
|
260 |
+
'type' => 'numeric',
|
261 |
+
),
|
262 |
+
'Items' => array(
|
263 |
+
'type' => 'array',
|
264 |
+
'items' => array(
|
265 |
+
'name' => 'Name',
|
266 |
+
'type' => 'string',
|
267 |
+
),
|
268 |
+
),
|
269 |
+
),
|
270 |
+
),
|
271 |
+
),
|
272 |
+
),
|
273 |
+
),
|
274 |
+
),
|
275 |
+
'TrustedSigners' => array(
|
276 |
+
'required' => true,
|
277 |
+
'type' => 'object',
|
278 |
+
'properties' => array(
|
279 |
+
'Enabled' => array(
|
280 |
+
'required' => true,
|
281 |
+
'type' => 'boolean',
|
282 |
+
'format' => 'boolean-string',
|
283 |
+
),
|
284 |
+
'Quantity' => array(
|
285 |
+
'required' => true,
|
286 |
+
'type' => 'numeric',
|
287 |
+
),
|
288 |
+
'Items' => array(
|
289 |
+
'type' => 'array',
|
290 |
+
'items' => array(
|
291 |
+
'name' => 'AwsAccountNumber',
|
292 |
+
'type' => 'string',
|
293 |
+
),
|
294 |
+
),
|
295 |
+
),
|
296 |
+
),
|
297 |
+
'ViewerProtocolPolicy' => array(
|
298 |
+
'required' => true,
|
299 |
+
'type' => 'string',
|
300 |
+
'enum' => array(
|
301 |
+
'allow-all',
|
302 |
+
'https-only',
|
303 |
+
),
|
304 |
+
),
|
305 |
+
'MinTTL' => array(
|
306 |
+
'required' => true,
|
307 |
+
'type' => 'numeric',
|
308 |
+
),
|
309 |
+
),
|
310 |
+
),
|
311 |
+
'CacheBehaviors' => array(
|
312 |
+
'required' => true,
|
313 |
+
'type' => 'object',
|
314 |
+
'location' => 'xml',
|
315 |
+
'properties' => array(
|
316 |
+
'Quantity' => array(
|
317 |
+
'required' => true,
|
318 |
+
'type' => 'numeric',
|
319 |
+
),
|
320 |
+
'Items' => array(
|
321 |
+
'type' => 'array',
|
322 |
+
'items' => array(
|
323 |
+
'name' => 'CacheBehavior',
|
324 |
+
'type' => 'object',
|
325 |
+
'properties' => array(
|
326 |
+
'PathPattern' => array(
|
327 |
+
'required' => true,
|
328 |
+
'type' => 'string',
|
329 |
+
),
|
330 |
+
'TargetOriginId' => array(
|
331 |
+
'required' => true,
|
332 |
+
'type' => 'string',
|
333 |
+
),
|
334 |
+
'ForwardedValues' => array(
|
335 |
+
'required' => true,
|
336 |
+
'type' => 'object',
|
337 |
+
'properties' => array(
|
338 |
+
'QueryString' => array(
|
339 |
+
'required' => true,
|
340 |
+
'type' => 'boolean',
|
341 |
+
'format' => 'boolean-string',
|
342 |
+
),
|
343 |
+
'Cookies' => array(
|
344 |
+
'required' => true,
|
345 |
+
'type' => 'object',
|
346 |
+
'properties' => array(
|
347 |
+
'Forward' => array(
|
348 |
+
'required' => true,
|
349 |
+
'type' => 'string',
|
350 |
+
'enum' => array(
|
351 |
+
'none',
|
352 |
+
'whitelist',
|
353 |
+
'all',
|
354 |
+
),
|
355 |
+
),
|
356 |
+
'WhitelistedNames' => array(
|
357 |
+
'type' => 'object',
|
358 |
+
'properties' => array(
|
359 |
+
'Quantity' => array(
|
360 |
+
'required' => true,
|
361 |
+
'type' => 'numeric',
|
362 |
+
),
|
363 |
+
'Items' => array(
|
364 |
+
'type' => 'array',
|
365 |
+
'items' => array(
|
366 |
+
'name' => 'Name',
|
367 |
+
'type' => 'string',
|
368 |
+
),
|
369 |
+
),
|
370 |
+
),
|
371 |
+
),
|
372 |
+
),
|
373 |
+
),
|
374 |
+
),
|
375 |
+
),
|
376 |
+
'TrustedSigners' => array(
|
377 |
+
'required' => true,
|
378 |
+
'type' => 'object',
|
379 |
+
'properties' => array(
|
380 |
+
'Enabled' => array(
|
381 |
+
'required' => true,
|
382 |
+
'type' => 'boolean',
|
383 |
+
'format' => 'boolean-string',
|
384 |
+
),
|
385 |
+
'Quantity' => array(
|
386 |
+
'required' => true,
|
387 |
+
'type' => 'numeric',
|
388 |
+
),
|
389 |
+
'Items' => array(
|
390 |
+
'type' => 'array',
|
391 |
+
'items' => array(
|
392 |
+
'name' => 'AwsAccountNumber',
|
393 |
+
'type' => 'string',
|
394 |
+
),
|
395 |
+
),
|
396 |
+
),
|
397 |
+
),
|
398 |
+
'ViewerProtocolPolicy' => array(
|
399 |
+
'required' => true,
|
400 |
+
'type' => 'string',
|
401 |
+
'enum' => array(
|
402 |
+
'allow-all',
|
403 |
+
'https-only',
|
404 |
+
),
|
405 |
+
),
|
406 |
+
'MinTTL' => array(
|
407 |
+
'required' => true,
|
408 |
+
'type' => 'numeric',
|
409 |
+
),
|
410 |
+
),
|
411 |
+
),
|
412 |
+
),
|
413 |
+
),
|
414 |
+
),
|
415 |
+
'Comment' => array(
|
416 |
+
'required' => true,
|
417 |
+
'type' => 'string',
|
418 |
+
'location' => 'xml',
|
419 |
+
),
|
420 |
+
'Logging' => array(
|
421 |
+
'required' => true,
|
422 |
+
'type' => 'object',
|
423 |
+
'location' => 'xml',
|
424 |
+
'properties' => array(
|
425 |
+
'Enabled' => array(
|
426 |
+
'required' => true,
|
427 |
+
'type' => 'boolean',
|
428 |
+
'format' => 'boolean-string',
|
429 |
+
),
|
430 |
+
'IncludeCookies' => array(
|
431 |
+
'required' => true,
|
432 |
+
'type' => 'boolean',
|
433 |
+
'format' => 'boolean-string',
|
434 |
+
),
|
435 |
+
'Bucket' => array(
|
436 |
+
'required' => true,
|
437 |
+
'type' => 'string',
|
438 |
+
),
|
439 |
+
'Prefix' => array(
|
440 |
+
'required' => true,
|
441 |
+
'type' => 'string',
|
442 |
+
),
|
443 |
+
),
|
444 |
+
),
|
445 |
+
'PriceClass' => array(
|
446 |
+
'required' => true,
|
447 |
+
'type' => 'string',
|
448 |
+
'location' => 'xml',
|
449 |
+
'enum' => array(
|
450 |
+
'PriceClass_100',
|
451 |
+
'PriceClass_200',
|
452 |
+
'PriceClass_All',
|
453 |
+
),
|
454 |
+
),
|
455 |
+
'Enabled' => array(
|
456 |
+
'required' => true,
|
457 |
+
'type' => 'boolean',
|
458 |
+
'format' => 'boolean-string',
|
459 |
+
'location' => 'xml',
|
460 |
+
),
|
461 |
+
'ViewerCertificate' => array(
|
462 |
+
'type' => 'object',
|
463 |
+
'location' => 'xml',
|
464 |
+
'properties' => array(
|
465 |
+
'IAMCertificateId' => array(
|
466 |
+
'type' => 'string',
|
467 |
+
),
|
468 |
+
'CloudFrontDefaultCertificate' => array(
|
469 |
+
'type' => 'boolean',
|
470 |
+
'format' => 'boolean-string',
|
471 |
+
),
|
472 |
+
),
|
473 |
+
),
|
474 |
+
'command.expects' => array(
|
475 |
+
'static' => true,
|
476 |
+
'default' => 'application/xml',
|
477 |
+
),
|
478 |
+
),
|
479 |
+
'errorResponses' => array(
|
480 |
+
array(
|
481 |
+
'class' => 'CNAMEAlreadyExistsException',
|
482 |
+
),
|
483 |
+
array(
|
484 |
+
'reason' => 'The caller reference you attempted to create the distribution with is associated with another distribution.',
|
485 |
+
'class' => 'DistributionAlreadyExistsException',
|
486 |
+
),
|
487 |
+
array(
|
488 |
+
'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.',
|
489 |
+
'class' => 'InvalidOriginException',
|
490 |
+
),
|
491 |
+
array(
|
492 |
+
'reason' => 'The origin access identity is not valid or doesn\'t exist.',
|
493 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
494 |
+
),
|
495 |
+
array(
|
496 |
+
'reason' => 'Access denied.',
|
497 |
+
'class' => 'AccessDeniedException',
|
498 |
+
),
|
499 |
+
array(
|
500 |
+
'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
|
501 |
+
'class' => 'TooManyTrustedSignersException',
|
502 |
+
),
|
503 |
+
array(
|
504 |
+
'reason' => 'One or more of your trusted signers do not exist.',
|
505 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
506 |
+
),
|
507 |
+
array(
|
508 |
+
'class' => 'InvalidViewerCertificateException',
|
509 |
+
),
|
510 |
+
array(
|
511 |
+
'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
|
512 |
+
'class' => 'MissingBodyException',
|
513 |
+
),
|
514 |
+
array(
|
515 |
+
'reason' => 'Your request contains more CNAMEs than are allowed per distribution.',
|
516 |
+
'class' => 'TooManyDistributionCNAMEsException',
|
517 |
+
),
|
518 |
+
array(
|
519 |
+
'reason' => 'Processing your request would cause you to exceed the maximum number of distributions allowed.',
|
520 |
+
'class' => 'TooManyDistributionsException',
|
521 |
+
),
|
522 |
+
array(
|
523 |
+
'reason' => 'The default root object file name is too big or contains an invalid character.',
|
524 |
+
'class' => 'InvalidDefaultRootObjectException',
|
525 |
+
),
|
526 |
+
array(
|
527 |
+
'reason' => 'The argument is invalid.',
|
528 |
+
'class' => 'InvalidArgumentException',
|
529 |
+
),
|
530 |
+
array(
|
531 |
+
'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.',
|
532 |
+
'class' => 'InvalidRequiredProtocolException',
|
533 |
+
),
|
534 |
+
array(
|
535 |
+
'reason' => 'No origin exists with the specified Origin Id.',
|
536 |
+
'class' => 'NoSuchOriginException',
|
537 |
+
),
|
538 |
+
array(
|
539 |
+
'reason' => 'You cannot create anymore origins for the distribution.',
|
540 |
+
'class' => 'TooManyOriginsException',
|
541 |
+
),
|
542 |
+
array(
|
543 |
+
'reason' => 'You cannot create anymore cache behaviors for the distribution.',
|
544 |
+
'class' => 'TooManyCacheBehaviorsException',
|
545 |
+
),
|
546 |
+
array(
|
547 |
+
'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.',
|
548 |
+
'class' => 'TooManyCookieNamesInWhiteListException',
|
549 |
+
),
|
550 |
+
array(
|
551 |
+
'reason' => 'Your request contains forward cookies option which doesn\'t match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.',
|
552 |
+
'class' => 'InvalidForwardCookiesException',
|
553 |
+
),
|
554 |
+
array(
|
555 |
+
'reason' => 'The value of Quantity and the size of Items do not match.',
|
556 |
+
'class' => 'InconsistentQuantitiesException',
|
557 |
+
),
|
558 |
+
array(
|
559 |
+
'reason' => 'You cannot create anymore custom ssl certificates.',
|
560 |
+
'class' => 'TooManyCertificatesException',
|
561 |
+
),
|
562 |
+
),
|
563 |
+
),
|
564 |
+
'CreateInvalidation' => array(
|
565 |
+
'httpMethod' => 'POST',
|
566 |
+
'uri' => '/2013-05-12/distribution/{DistributionId}/invalidation',
|
567 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
568 |
+
'responseClass' => 'CreateInvalidationResult',
|
569 |
+
'responseType' => 'model',
|
570 |
+
'data' => array(
|
571 |
+
'xmlRoot' => array(
|
572 |
+
'name' => 'InvalidationBatch',
|
573 |
+
'namespaces' => array(
|
574 |
+
'http://cloudfront.amazonaws.com/doc/2013-05-12/',
|
575 |
+
),
|
576 |
+
),
|
577 |
+
),
|
578 |
+
'parameters' => array(
|
579 |
+
'DistributionId' => array(
|
580 |
+
'required' => true,
|
581 |
+
'type' => 'string',
|
582 |
+
'location' => 'uri',
|
583 |
+
),
|
584 |
+
'Paths' => array(
|
585 |
+
'required' => true,
|
586 |
+
'type' => 'object',
|
587 |
+
'location' => 'xml',
|
588 |
+
'properties' => array(
|
589 |
+
'Quantity' => array(
|
590 |
+
'required' => true,
|
591 |
+
'type' => 'numeric',
|
592 |
+
),
|
593 |
+
'Items' => array(
|
594 |
+
'type' => 'array',
|
595 |
+
'items' => array(
|
596 |
+
'name' => 'Path',
|
597 |
+
'type' => 'string',
|
598 |
+
),
|
599 |
+
),
|
600 |
+
),
|
601 |
+
),
|
602 |
+
'CallerReference' => array(
|
603 |
+
'required' => true,
|
604 |
+
'type' => 'string',
|
605 |
+
'location' => 'xml',
|
606 |
+
),
|
607 |
+
'command.expects' => array(
|
608 |
+
'static' => true,
|
609 |
+
'default' => 'application/xml',
|
610 |
+
),
|
611 |
+
),
|
612 |
+
'errorResponses' => array(
|
613 |
+
array(
|
614 |
+
'reason' => 'Access denied.',
|
615 |
+
'class' => 'AccessDeniedException',
|
616 |
+
),
|
617 |
+
array(
|
618 |
+
'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
|
619 |
+
'class' => 'MissingBodyException',
|
620 |
+
),
|
621 |
+
array(
|
622 |
+
'reason' => 'The argument is invalid.',
|
623 |
+
'class' => 'InvalidArgumentException',
|
624 |
+
),
|
625 |
+
array(
|
626 |
+
'reason' => 'The specified distribution does not exist.',
|
627 |
+
'class' => 'NoSuchDistributionException',
|
628 |
+
),
|
629 |
+
array(
|
630 |
+
'class' => 'BatchTooLargeException',
|
631 |
+
),
|
632 |
+
array(
|
633 |
+
'reason' => 'You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.',
|
634 |
+
'class' => 'TooManyInvalidationsInProgressException',
|
635 |
+
),
|
636 |
+
array(
|
637 |
+
'reason' => 'The value of Quantity and the size of Items do not match.',
|
638 |
+
'class' => 'InconsistentQuantitiesException',
|
639 |
+
),
|
640 |
+
),
|
641 |
+
),
|
642 |
+
'CreateStreamingDistribution' => array(
|
643 |
+
'httpMethod' => 'POST',
|
644 |
+
'uri' => '/2013-05-12/streaming-distribution',
|
645 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
646 |
+
'responseClass' => 'CreateStreamingDistributionResult',
|
647 |
+
'responseType' => 'model',
|
648 |
+
'data' => array(
|
649 |
+
'xmlRoot' => array(
|
650 |
+
'name' => 'StreamingDistributionConfig',
|
651 |
+
'namespaces' => array(
|
652 |
+
'http://cloudfront.amazonaws.com/doc/2013-05-12/',
|
653 |
+
),
|
654 |
+
),
|
655 |
+
),
|
656 |
+
'parameters' => array(
|
657 |
+
'CallerReference' => array(
|
658 |
+
'required' => true,
|
659 |
+
'type' => 'string',
|
660 |
+
'location' => 'xml',
|
661 |
+
),
|
662 |
+
'S3Origin' => array(
|
663 |
+
'required' => true,
|
664 |
+
'type' => 'object',
|
665 |
+
'location' => 'xml',
|
666 |
+
'properties' => array(
|
667 |
+
'DomainName' => array(
|
668 |
+
'required' => true,
|
669 |
+
'type' => 'string',
|
670 |
+
),
|
671 |
+
'OriginAccessIdentity' => array(
|
672 |
+
'required' => true,
|
673 |
+
'type' => 'string',
|
674 |
+
),
|
675 |
+
),
|
676 |
+
),
|
677 |
+
'Aliases' => array(
|
678 |
+
'required' => true,
|
679 |
+
'type' => 'object',
|
680 |
+
'location' => 'xml',
|
681 |
+
'properties' => array(
|
682 |
+
'Quantity' => array(
|
683 |
+
'required' => true,
|
684 |
+
'type' => 'numeric',
|
685 |
+
),
|
686 |
+
'Items' => array(
|
687 |
+
'type' => 'array',
|
688 |
+
'items' => array(
|
689 |
+
'name' => 'CNAME',
|
690 |
+
'type' => 'string',
|
691 |
+
),
|
692 |
+
),
|
693 |
+
),
|
694 |
+
),
|
695 |
+
'Comment' => array(
|
696 |
+
'required' => true,
|
697 |
+
'type' => 'string',
|
698 |
+
'location' => 'xml',
|
699 |
+
),
|
700 |
+
'Logging' => array(
|
701 |
+
'required' => true,
|
702 |
+
'type' => 'object',
|
703 |
+
'location' => 'xml',
|
704 |
+
'properties' => array(
|
705 |
+
'Enabled' => array(
|
706 |
+
'required' => true,
|
707 |
+
'type' => 'boolean',
|
708 |
+
'format' => 'boolean-string',
|
709 |
+
),
|
710 |
+
'Bucket' => array(
|
711 |
+
'required' => true,
|
712 |
+
'type' => 'string',
|
713 |
+
),
|
714 |
+
'Prefix' => array(
|
715 |
+
'required' => true,
|
716 |
+
'type' => 'string',
|
717 |
+
),
|
718 |
+
),
|
719 |
+
),
|
720 |
+
'TrustedSigners' => array(
|
721 |
+
'required' => true,
|
722 |
+
'type' => 'object',
|
723 |
+
'location' => 'xml',
|
724 |
+
'properties' => array(
|
725 |
+
'Enabled' => array(
|
726 |
+
'required' => true,
|
727 |
+
'type' => 'boolean',
|
728 |
+
'format' => 'boolean-string',
|
729 |
+
),
|
730 |
+
'Quantity' => array(
|
731 |
+
'required' => true,
|
732 |
+
'type' => 'numeric',
|
733 |
+
),
|
734 |
+
'Items' => array(
|
735 |
+
'type' => 'array',
|
736 |
+
'items' => array(
|
737 |
+
'name' => 'AwsAccountNumber',
|
738 |
+
'type' => 'string',
|
739 |
+
),
|
740 |
+
),
|
741 |
+
),
|
742 |
+
),
|
743 |
+
'PriceClass' => array(
|
744 |
+
'required' => true,
|
745 |
+
'type' => 'string',
|
746 |
+
'location' => 'xml',
|
747 |
+
'enum' => array(
|
748 |
+
'PriceClass_100',
|
749 |
+
'PriceClass_200',
|
750 |
+
'PriceClass_All',
|
751 |
+
),
|
752 |
+
),
|
753 |
+
'Enabled' => array(
|
754 |
+
'required' => true,
|
755 |
+
'type' => 'boolean',
|
756 |
+
'format' => 'boolean-string',
|
757 |
+
'location' => 'xml',
|
758 |
+
),
|
759 |
+
'command.expects' => array(
|
760 |
+
'static' => true,
|
761 |
+
'default' => 'application/xml',
|
762 |
+
),
|
763 |
+
),
|
764 |
+
'errorResponses' => array(
|
765 |
+
array(
|
766 |
+
'class' => 'CNAMEAlreadyExistsException',
|
767 |
+
),
|
768 |
+
array(
|
769 |
+
'class' => 'StreamingDistributionAlreadyExistsException',
|
770 |
+
),
|
771 |
+
array(
|
772 |
+
'reason' => 'The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.',
|
773 |
+
'class' => 'InvalidOriginException',
|
774 |
+
),
|
775 |
+
array(
|
776 |
+
'reason' => 'The origin access identity is not valid or doesn\'t exist.',
|
777 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
778 |
+
),
|
779 |
+
array(
|
780 |
+
'reason' => 'Access denied.',
|
781 |
+
'class' => 'AccessDeniedException',
|
782 |
+
),
|
783 |
+
array(
|
784 |
+
'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
|
785 |
+
'class' => 'TooManyTrustedSignersException',
|
786 |
+
),
|
787 |
+
array(
|
788 |
+
'reason' => 'One or more of your trusted signers do not exist.',
|
789 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
790 |
+
),
|
791 |
+
array(
|
792 |
+
'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
|
793 |
+
'class' => 'MissingBodyException',
|
794 |
+
),
|
795 |
+
array(
|
796 |
+
'class' => 'TooManyStreamingDistributionCNAMEsException',
|
797 |
+
),
|
798 |
+
array(
|
799 |
+
'reason' => 'Processing your request would cause you to exceed the maximum number of streaming distributions allowed.',
|
800 |
+
'class' => 'TooManyStreamingDistributionsException',
|
801 |
+
),
|
802 |
+
array(
|
803 |
+
'reason' => 'The argument is invalid.',
|
804 |
+
'class' => 'InvalidArgumentException',
|
805 |
+
),
|
806 |
+
array(
|
807 |
+
'reason' => 'The value of Quantity and the size of Items do not match.',
|
808 |
+
'class' => 'InconsistentQuantitiesException',
|
809 |
+
),
|
810 |
+
),
|
811 |
+
),
|
812 |
+
'DeleteCloudFrontOriginAccessIdentity' => array(
|
813 |
+
'httpMethod' => 'DELETE',
|
814 |
+
'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}',
|
815 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
816 |
+
'responseClass' => 'DeleteCloudFrontOriginAccessIdentity2013_05_12Output',
|
817 |
+
'responseType' => 'model',
|
818 |
+
'parameters' => array(
|
819 |
+
'Id' => array(
|
820 |
+
'required' => true,
|
821 |
+
'type' => 'string',
|
822 |
+
'location' => 'uri',
|
823 |
+
),
|
824 |
+
'IfMatch' => array(
|
825 |
+
'type' => 'string',
|
826 |
+
'location' => 'header',
|
827 |
+
'sentAs' => 'If-Match',
|
828 |
+
),
|
829 |
+
),
|
830 |
+
'errorResponses' => array(
|
831 |
+
array(
|
832 |
+
'reason' => 'Access denied.',
|
833 |
+
'class' => 'AccessDeniedException',
|
834 |
+
),
|
835 |
+
array(
|
836 |
+
'reason' => 'The If-Match version is missing or not valid for the distribution.',
|
837 |
+
'class' => 'InvalidIfMatchVersionException',
|
838 |
+
),
|
839 |
+
array(
|
840 |
+
'reason' => 'The specified origin access identity does not exist.',
|
841 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
842 |
+
),
|
843 |
+
array(
|
844 |
+
'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
|
845 |
+
'class' => 'PreconditionFailedException',
|
846 |
+
),
|
847 |
+
array(
|
848 |
+
'class' => 'CloudFrontOriginAccessIdentityInUseException',
|
849 |
+
),
|
850 |
+
),
|
851 |
+
),
|
852 |
+
'DeleteDistribution' => array(
|
853 |
+
'httpMethod' => 'DELETE',
|
854 |
+
'uri' => '/2013-05-12/distribution/{Id}',
|
855 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
856 |
+
'responseClass' => 'DeleteDistribution2013_05_12Output',
|
857 |
+
'responseType' => 'model',
|
858 |
+
'parameters' => array(
|
859 |
+
'Id' => array(
|
860 |
+
'required' => true,
|
861 |
+
'type' => 'string',
|
862 |
+
'location' => 'uri',
|
863 |
+
),
|
864 |
+
'IfMatch' => array(
|
865 |
+
'type' => 'string',
|
866 |
+
'location' => 'header',
|
867 |
+
'sentAs' => 'If-Match',
|
868 |
+
),
|
869 |
+
),
|
870 |
+
'errorResponses' => array(
|
871 |
+
array(
|
872 |
+
'reason' => 'Access denied.',
|
873 |
+
'class' => 'AccessDeniedException',
|
874 |
+
),
|
875 |
+
array(
|
876 |
+
'class' => 'DistributionNotDisabledException',
|
877 |
+
),
|
878 |
+
array(
|
879 |
+
'reason' => 'The If-Match version is missing or not valid for the distribution.',
|
880 |
+
'class' => 'InvalidIfMatchVersionException',
|
881 |
+
),
|
882 |
+
array(
|
883 |
+
'reason' => 'The specified distribution does not exist.',
|
884 |
+
'class' => 'NoSuchDistributionException',
|
885 |
+
),
|
886 |
+
array(
|
887 |
+
'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
|
888 |
+
'class' => 'PreconditionFailedException',
|
889 |
+
),
|
890 |
+
),
|
891 |
+
),
|
892 |
+
'DeleteStreamingDistribution' => array(
|
893 |
+
'httpMethod' => 'DELETE',
|
894 |
+
'uri' => '/2013-05-12/streaming-distribution/{Id}',
|
895 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
896 |
+
'responseClass' => 'DeleteStreamingDistribution2013_05_12Output',
|
897 |
+
'responseType' => 'model',
|
898 |
+
'parameters' => array(
|
899 |
+
'Id' => array(
|
900 |
+
'required' => true,
|
901 |
+
'type' => 'string',
|
902 |
+
'location' => 'uri',
|
903 |
+
),
|
904 |
+
'IfMatch' => array(
|
905 |
+
'type' => 'string',
|
906 |
+
'location' => 'header',
|
907 |
+
'sentAs' => 'If-Match',
|
908 |
+
),
|
909 |
+
),
|
910 |
+
'errorResponses' => array(
|
911 |
+
array(
|
912 |
+
'reason' => 'Access denied.',
|
913 |
+
'class' => 'AccessDeniedException',
|
914 |
+
),
|
915 |
+
array(
|
916 |
+
'class' => 'StreamingDistributionNotDisabledException',
|
917 |
+
),
|
918 |
+
array(
|
919 |
+
'reason' => 'The If-Match version is missing or not valid for the distribution.',
|
920 |
+
'class' => 'InvalidIfMatchVersionException',
|
921 |
+
),
|
922 |
+
array(
|
923 |
+
'reason' => 'The specified streaming distribution does not exist.',
|
924 |
+
'class' => 'NoSuchStreamingDistributionException',
|
925 |
+
),
|
926 |
+
array(
|
927 |
+
'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
|
928 |
+
'class' => 'PreconditionFailedException',
|
929 |
+
),
|
930 |
+
),
|
931 |
+
),
|
932 |
+
'GetCloudFrontOriginAccessIdentity' => array(
|
933 |
+
'httpMethod' => 'GET',
|
934 |
+
'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}',
|
935 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
936 |
+
'responseClass' => 'GetCloudFrontOriginAccessIdentityResult',
|
937 |
+
'responseType' => 'model',
|
938 |
+
'parameters' => array(
|
939 |
+
'Id' => array(
|
940 |
+
'required' => true,
|
941 |
+
'type' => 'string',
|
942 |
+
'location' => 'uri',
|
943 |
+
),
|
944 |
+
'command.expects' => array(
|
945 |
+
'static' => true,
|
946 |
+
'default' => 'application/xml',
|
947 |
+
),
|
948 |
+
),
|
949 |
+
'errorResponses' => array(
|
950 |
+
array(
|
951 |
+
'reason' => 'The specified origin access identity does not exist.',
|
952 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
953 |
+
),
|
954 |
+
array(
|
955 |
+
'reason' => 'Access denied.',
|
956 |
+
'class' => 'AccessDeniedException',
|
957 |
+
),
|
958 |
+
),
|
959 |
+
),
|
960 |
+
'GetCloudFrontOriginAccessIdentityConfig' => array(
|
961 |
+
'httpMethod' => 'GET',
|
962 |
+
'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}/config',
|
963 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
964 |
+
'responseClass' => 'GetCloudFrontOriginAccessIdentityConfigResult',
|
965 |
+
'responseType' => 'model',
|
966 |
+
'parameters' => array(
|
967 |
+
'Id' => array(
|
968 |
+
'required' => true,
|
969 |
+
'type' => 'string',
|
970 |
+
'location' => 'uri',
|
971 |
+
),
|
972 |
+
'command.expects' => array(
|
973 |
+
'static' => true,
|
974 |
+
'default' => 'application/xml',
|
975 |
+
),
|
976 |
+
),
|
977 |
+
'errorResponses' => array(
|
978 |
+
array(
|
979 |
+
'reason' => 'The specified origin access identity does not exist.',
|
980 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
981 |
+
),
|
982 |
+
array(
|
983 |
+
'reason' => 'Access denied.',
|
984 |
+
'class' => 'AccessDeniedException',
|
985 |
+
),
|
986 |
+
),
|
987 |
+
),
|
988 |
+
'GetDistribution' => array(
|
989 |
+
'httpMethod' => 'GET',
|
990 |
+
'uri' => '/2013-05-12/distribution/{Id}',
|
991 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
992 |
+
'responseClass' => 'GetDistributionResult',
|
993 |
+
'responseType' => 'model',
|
994 |
+
'parameters' => array(
|
995 |
+
'Id' => array(
|
996 |
+
'required' => true,
|
997 |
+
'type' => 'string',
|
998 |
+
'location' => 'uri',
|
999 |
+
),
|
1000 |
+
'command.expects' => array(
|
1001 |
+
'static' => true,
|
1002 |
+
'default' => 'application/xml',
|
1003 |
+
),
|
1004 |
+
),
|
1005 |
+
'errorResponses' => array(
|
1006 |
+
array(
|
1007 |
+
'reason' => 'The specified distribution does not exist.',
|
1008 |
+
'class' => 'NoSuchDistributionException',
|
1009 |
+
),
|
1010 |
+
array(
|
1011 |
+
'reason' => 'Access denied.',
|
1012 |
+
'class' => 'AccessDeniedException',
|
1013 |
+
),
|
1014 |
+
),
|
1015 |
+
),
|
1016 |
+
'GetDistributionConfig' => array(
|
1017 |
+
'httpMethod' => 'GET',
|
1018 |
+
'uri' => '/2013-05-12/distribution/{Id}/config',
|
1019 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1020 |
+
'responseClass' => 'GetDistributionConfigResult',
|
1021 |
+
'responseType' => 'model',
|
1022 |
+
'parameters' => array(
|
1023 |
+
'Id' => array(
|
1024 |
+
'required' => true,
|
1025 |
+
'type' => 'string',
|
1026 |
+
'location' => 'uri',
|
1027 |
+
),
|
1028 |
+
'command.expects' => array(
|
1029 |
+
'static' => true,
|
1030 |
+
'default' => 'application/xml',
|
1031 |
+
),
|
1032 |
+
),
|
1033 |
+
'errorResponses' => array(
|
1034 |
+
array(
|
1035 |
+
'reason' => 'The specified distribution does not exist.',
|
1036 |
+
'class' => 'NoSuchDistributionException',
|
1037 |
+
),
|
1038 |
+
array(
|
1039 |
+
'reason' => 'Access denied.',
|
1040 |
+
'class' => 'AccessDeniedException',
|
1041 |
+
),
|
1042 |
+
),
|
1043 |
+
),
|
1044 |
+
'GetInvalidation' => array(
|
1045 |
+
'httpMethod' => 'GET',
|
1046 |
+
'uri' => '/2013-05-12/distribution/{DistributionId}/invalidation/{Id}',
|
1047 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1048 |
+
'responseClass' => 'GetInvalidationResult',
|
1049 |
+
'responseType' => 'model',
|
1050 |
+
'parameters' => array(
|
1051 |
+
'DistributionId' => array(
|
1052 |
+
'required' => true,
|
1053 |
+
'type' => 'string',
|
1054 |
+
'location' => 'uri',
|
1055 |
+
),
|
1056 |
+
'Id' => array(
|
1057 |
+
'required' => true,
|
1058 |
+
'type' => 'string',
|
1059 |
+
'location' => 'uri',
|
1060 |
+
),
|
1061 |
+
'command.expects' => array(
|
1062 |
+
'static' => true,
|
1063 |
+
'default' => 'application/xml',
|
1064 |
+
),
|
1065 |
+
),
|
1066 |
+
'errorResponses' => array(
|
1067 |
+
array(
|
1068 |
+
'reason' => 'The specified invalidation does not exist.',
|
1069 |
+
'class' => 'NoSuchInvalidationException',
|
1070 |
+
),
|
1071 |
+
array(
|
1072 |
+
'reason' => 'The specified distribution does not exist.',
|
1073 |
+
'class' => 'NoSuchDistributionException',
|
1074 |
+
),
|
1075 |
+
array(
|
1076 |
+
'reason' => 'Access denied.',
|
1077 |
+
'class' => 'AccessDeniedException',
|
1078 |
+
),
|
1079 |
+
),
|
1080 |
+
),
|
1081 |
+
'GetStreamingDistribution' => array(
|
1082 |
+
'httpMethod' => 'GET',
|
1083 |
+
'uri' => '/2013-05-12/streaming-distribution/{Id}',
|
1084 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1085 |
+
'responseClass' => 'GetStreamingDistributionResult',
|
1086 |
+
'responseType' => 'model',
|
1087 |
+
'parameters' => array(
|
1088 |
+
'Id' => array(
|
1089 |
+
'required' => true,
|
1090 |
+
'type' => 'string',
|
1091 |
+
'location' => 'uri',
|
1092 |
+
),
|
1093 |
+
'command.expects' => array(
|
1094 |
+
'static' => true,
|
1095 |
+
'default' => 'application/xml',
|
1096 |
+
),
|
1097 |
+
),
|
1098 |
+
'errorResponses' => array(
|
1099 |
+
array(
|
1100 |
+
'reason' => 'The specified streaming distribution does not exist.',
|
1101 |
+
'class' => 'NoSuchStreamingDistributionException',
|
1102 |
+
),
|
1103 |
+
array(
|
1104 |
+
'reason' => 'Access denied.',
|
1105 |
+
'class' => 'AccessDeniedException',
|
1106 |
+
),
|
1107 |
+
),
|
1108 |
+
),
|
1109 |
+
'GetStreamingDistributionConfig' => array(
|
1110 |
+
'httpMethod' => 'GET',
|
1111 |
+
'uri' => '/2013-05-12/streaming-distribution/{Id}/config',
|
1112 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1113 |
+
'responseClass' => 'GetStreamingDistributionConfigResult',
|
1114 |
+
'responseType' => 'model',
|
1115 |
+
'parameters' => array(
|
1116 |
+
'Id' => array(
|
1117 |
+
'required' => true,
|
1118 |
+
'type' => 'string',
|
1119 |
+
'location' => 'uri',
|
1120 |
+
),
|
1121 |
+
'command.expects' => array(
|
1122 |
+
'static' => true,
|
1123 |
+
'default' => 'application/xml',
|
1124 |
+
),
|
1125 |
+
),
|
1126 |
+
'errorResponses' => array(
|
1127 |
+
array(
|
1128 |
+
'reason' => 'The specified streaming distribution does not exist.',
|
1129 |
+
'class' => 'NoSuchStreamingDistributionException',
|
1130 |
+
),
|
1131 |
+
array(
|
1132 |
+
'reason' => 'Access denied.',
|
1133 |
+
'class' => 'AccessDeniedException',
|
1134 |
+
),
|
1135 |
+
),
|
1136 |
+
),
|
1137 |
+
'ListCloudFrontOriginAccessIdentities' => array(
|
1138 |
+
'httpMethod' => 'GET',
|
1139 |
+
'uri' => '/2013-05-12/origin-access-identity/cloudfront',
|
1140 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1141 |
+
'responseClass' => 'ListCloudFrontOriginAccessIdentitiesResult',
|
1142 |
+
'responseType' => 'model',
|
1143 |
+
'parameters' => array(
|
1144 |
+
'Marker' => array(
|
1145 |
+
'type' => 'string',
|
1146 |
+
'location' => 'query',
|
1147 |
+
),
|
1148 |
+
'MaxItems' => array(
|
1149 |
+
'type' => 'string',
|
1150 |
+
'location' => 'query',
|
1151 |
+
),
|
1152 |
+
'command.expects' => array(
|
1153 |
+
'static' => true,
|
1154 |
+
'default' => 'application/xml',
|
1155 |
+
),
|
1156 |
+
),
|
1157 |
+
'errorResponses' => array(
|
1158 |
+
array(
|
1159 |
+
'reason' => 'The argument is invalid.',
|
1160 |
+
'class' => 'InvalidArgumentException',
|
1161 |
+
),
|
1162 |
+
),
|
1163 |
+
),
|
1164 |
+
'ListDistributions' => array(
|
1165 |
+
'httpMethod' => 'GET',
|
1166 |
+
'uri' => '/2013-05-12/distribution',
|
1167 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1168 |
+
'responseClass' => 'ListDistributionsResult',
|
1169 |
+
'responseType' => 'model',
|
1170 |
+
'parameters' => array(
|
1171 |
+
'Marker' => array(
|
1172 |
+
'type' => 'string',
|
1173 |
+
'location' => 'query',
|
1174 |
+
),
|
1175 |
+
'MaxItems' => array(
|
1176 |
+
'type' => 'string',
|
1177 |
+
'location' => 'query',
|
1178 |
+
),
|
1179 |
+
'command.expects' => array(
|
1180 |
+
'static' => true,
|
1181 |
+
'default' => 'application/xml',
|
1182 |
+
),
|
1183 |
+
),
|
1184 |
+
'errorResponses' => array(
|
1185 |
+
array(
|
1186 |
+
'reason' => 'The argument is invalid.',
|
1187 |
+
'class' => 'InvalidArgumentException',
|
1188 |
+
),
|
1189 |
+
),
|
1190 |
+
),
|
1191 |
+
'ListInvalidations' => array(
|
1192 |
+
'httpMethod' => 'GET',
|
1193 |
+
'uri' => '/2013-05-12/distribution/{DistributionId}/invalidation',
|
1194 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1195 |
+
'responseClass' => 'ListInvalidationsResult',
|
1196 |
+
'responseType' => 'model',
|
1197 |
+
'parameters' => array(
|
1198 |
+
'DistributionId' => array(
|
1199 |
+
'required' => true,
|
1200 |
+
'type' => 'string',
|
1201 |
+
'location' => 'uri',
|
1202 |
+
),
|
1203 |
+
'Marker' => array(
|
1204 |
+
'type' => 'string',
|
1205 |
+
'location' => 'query',
|
1206 |
+
),
|
1207 |
+
'MaxItems' => array(
|
1208 |
+
'type' => 'string',
|
1209 |
+
'location' => 'query',
|
1210 |
+
),
|
1211 |
+
'command.expects' => array(
|
1212 |
+
'static' => true,
|
1213 |
+
'default' => 'application/xml',
|
1214 |
+
),
|
1215 |
+
),
|
1216 |
+
'errorResponses' => array(
|
1217 |
+
array(
|
1218 |
+
'reason' => 'The argument is invalid.',
|
1219 |
+
'class' => 'InvalidArgumentException',
|
1220 |
+
),
|
1221 |
+
array(
|
1222 |
+
'reason' => 'The specified distribution does not exist.',
|
1223 |
+
'class' => 'NoSuchDistributionException',
|
1224 |
+
),
|
1225 |
+
array(
|
1226 |
+
'reason' => 'Access denied.',
|
1227 |
+
'class' => 'AccessDeniedException',
|
1228 |
+
),
|
1229 |
+
),
|
1230 |
+
),
|
1231 |
+
'ListStreamingDistributions' => array(
|
1232 |
+
'httpMethod' => 'GET',
|
1233 |
+
'uri' => '/2013-05-12/streaming-distribution',
|
1234 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1235 |
+
'responseClass' => 'ListStreamingDistributionsResult',
|
1236 |
+
'responseType' => 'model',
|
1237 |
+
'parameters' => array(
|
1238 |
+
'Marker' => array(
|
1239 |
+
'type' => 'string',
|
1240 |
+
'location' => 'query',
|
1241 |
+
),
|
1242 |
+
'MaxItems' => array(
|
1243 |
+
'type' => 'string',
|
1244 |
+
'location' => 'query',
|
1245 |
+
),
|
1246 |
+
'command.expects' => array(
|
1247 |
+
'static' => true,
|
1248 |
+
'default' => 'application/xml',
|
1249 |
+
),
|
1250 |
+
),
|
1251 |
+
'errorResponses' => array(
|
1252 |
+
array(
|
1253 |
+
'reason' => 'The argument is invalid.',
|
1254 |
+
'class' => 'InvalidArgumentException',
|
1255 |
+
),
|
1256 |
+
),
|
1257 |
+
),
|
1258 |
+
'UpdateCloudFrontOriginAccessIdentity' => array(
|
1259 |
+
'httpMethod' => 'PUT',
|
1260 |
+
'uri' => '/2013-05-12/origin-access-identity/cloudfront/{Id}/config',
|
1261 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1262 |
+
'responseClass' => 'UpdateCloudFrontOriginAccessIdentityResult',
|
1263 |
+
'responseType' => 'model',
|
1264 |
+
'data' => array(
|
1265 |
+
'xmlRoot' => array(
|
1266 |
+
'name' => 'CloudFrontOriginAccessIdentityConfig',
|
1267 |
+
'namespaces' => array(
|
1268 |
+
'http://cloudfront.amazonaws.com/doc/2013-05-12/',
|
1269 |
+
),
|
1270 |
+
),
|
1271 |
+
),
|
1272 |
+
'parameters' => array(
|
1273 |
+
'CallerReference' => array(
|
1274 |
+
'required' => true,
|
1275 |
+
'type' => 'string',
|
1276 |
+
'location' => 'xml',
|
1277 |
+
),
|
1278 |
+
'Comment' => array(
|
1279 |
+
'required' => true,
|
1280 |
+
'type' => 'string',
|
1281 |
+
'location' => 'xml',
|
1282 |
+
),
|
1283 |
+
'Id' => array(
|
1284 |
+
'required' => true,
|
1285 |
+
'type' => 'string',
|
1286 |
+
'location' => 'uri',
|
1287 |
+
),
|
1288 |
+
'IfMatch' => array(
|
1289 |
+
'type' => 'string',
|
1290 |
+
'location' => 'header',
|
1291 |
+
'sentAs' => 'If-Match',
|
1292 |
+
),
|
1293 |
+
'command.expects' => array(
|
1294 |
+
'static' => true,
|
1295 |
+
'default' => 'application/xml',
|
1296 |
+
),
|
1297 |
+
),
|
1298 |
+
'errorResponses' => array(
|
1299 |
+
array(
|
1300 |
+
'reason' => 'Access denied.',
|
1301 |
+
'class' => 'AccessDeniedException',
|
1302 |
+
),
|
1303 |
+
array(
|
1304 |
+
'reason' => 'Origin and CallerReference cannot be updated.',
|
1305 |
+
'class' => 'IllegalUpdateException',
|
1306 |
+
),
|
1307 |
+
array(
|
1308 |
+
'reason' => 'The If-Match version is missing or not valid for the distribution.',
|
1309 |
+
'class' => 'InvalidIfMatchVersionException',
|
1310 |
+
),
|
1311 |
+
array(
|
1312 |
+
'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
|
1313 |
+
'class' => 'MissingBodyException',
|
1314 |
+
),
|
1315 |
+
array(
|
1316 |
+
'reason' => 'The specified origin access identity does not exist.',
|
1317 |
+
'class' => 'NoSuchCloudFrontOriginAccessIdentityException',
|
1318 |
+
),
|
1319 |
+
array(
|
1320 |
+
'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
|
1321 |
+
'class' => 'PreconditionFailedException',
|
1322 |
+
),
|
1323 |
+
array(
|
1324 |
+
'reason' => 'The argument is invalid.',
|
1325 |
+
'class' => 'InvalidArgumentException',
|
1326 |
+
),
|
1327 |
+
array(
|
1328 |
+
'reason' => 'The value of Quantity and the size of Items do not match.',
|
1329 |
+
'class' => 'InconsistentQuantitiesException',
|
1330 |
+
),
|
1331 |
+
),
|
1332 |
+
),
|
1333 |
+
'UpdateDistribution' => array(
|
1334 |
+
'httpMethod' => 'PUT',
|
1335 |
+
'uri' => '/2013-05-12/distribution/{Id}/config',
|
1336 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1337 |
+
'responseClass' => 'UpdateDistributionResult',
|
1338 |
+
'responseType' => 'model',
|
1339 |
+
'data' => array(
|
1340 |
+
'xmlRoot' => array(
|
1341 |
+
'name' => 'DistributionConfig',
|
1342 |
+
'namespaces' => array(
|
1343 |
+
'http://cloudfront.amazonaws.com/doc/2013-05-12/',
|
1344 |
+
),
|
1345 |
+
),
|
1346 |
+
),
|
1347 |
+
'parameters' => array(
|
1348 |
+
'CallerReference' => array(
|
1349 |
+
'required' => true,
|
1350 |
+
'type' => 'string',
|
1351 |
+
'location' => 'xml',
|
1352 |
+
),
|
1353 |
+
'Aliases' => array(
|
1354 |
+
'required' => true,
|
1355 |
+
'type' => 'object',
|
1356 |
+
'location' => 'xml',
|
1357 |
+
'properties' => array(
|
1358 |
+
'Quantity' => array(
|
1359 |
+
'required' => true,
|
1360 |
+
'type' => 'numeric',
|
1361 |
+
),
|
1362 |
+
'Items' => array(
|
1363 |
+
'type' => 'array',
|
1364 |
+
'items' => array(
|
1365 |
+
'name' => 'CNAME',
|
1366 |
+
'type' => 'string',
|
1367 |
+
),
|
1368 |
+
),
|
1369 |
+
),
|
1370 |
+
),
|
1371 |
+
'DefaultRootObject' => array(
|
1372 |
+
'required' => true,
|
1373 |
+
'type' => 'string',
|
1374 |
+
'location' => 'xml',
|
1375 |
+
),
|
1376 |
+
'Origins' => array(
|
1377 |
+
'required' => true,
|
1378 |
+
'type' => 'object',
|
1379 |
+
'location' => 'xml',
|
1380 |
+
'properties' => array(
|
1381 |
+
'Quantity' => array(
|
1382 |
+
'required' => true,
|
1383 |
+
'type' => 'numeric',
|
1384 |
+
),
|
1385 |
+
'Items' => array(
|
1386 |
+
'type' => 'array',
|
1387 |
+
'minItems' => 1,
|
1388 |
+
'items' => array(
|
1389 |
+
'name' => 'Origin',
|
1390 |
+
'type' => 'object',
|
1391 |
+
'properties' => array(
|
1392 |
+
'Id' => array(
|
1393 |
+
'required' => true,
|
1394 |
+
'type' => 'string',
|
1395 |
+
),
|
1396 |
+
'DomainName' => array(
|
1397 |
+
'required' => true,
|
1398 |
+
'type' => 'string',
|
1399 |
+
),
|
1400 |
+
'S3OriginConfig' => array(
|
1401 |
+
'type' => 'object',
|
1402 |
+
'properties' => array(
|
1403 |
+
'OriginAccessIdentity' => array(
|
1404 |
+
'required' => true,
|
1405 |
+
'type' => 'string',
|
1406 |
+
),
|
1407 |
+
),
|
1408 |
+
),
|
1409 |
+
'CustomOriginConfig' => array(
|
1410 |
+
'type' => 'object',
|
1411 |
+
'properties' => array(
|
1412 |
+
'HTTPPort' => array(
|
1413 |
+
'required' => true,
|
1414 |
+
'type' => 'numeric',
|
1415 |
+
),
|
1416 |
+
'HTTPSPort' => array(
|
1417 |
+
'required' => true,
|
1418 |
+
'type' => 'numeric',
|
1419 |
+
),
|
1420 |
+
'OriginProtocolPolicy' => array(
|
1421 |
+
'required' => true,
|
1422 |
+
'type' => 'string',
|
1423 |
+
'enum' => array(
|
1424 |
+
'http-only',
|
1425 |
+
'match-viewer',
|
1426 |
+
),
|
1427 |
+
),
|
1428 |
+
),
|
1429 |
+
),
|
1430 |
+
),
|
1431 |
+
),
|
1432 |
+
),
|
1433 |
+
),
|
1434 |
+
),
|
1435 |
+
'DefaultCacheBehavior' => array(
|
1436 |
+
'required' => true,
|
1437 |
+
'type' => 'object',
|
1438 |
+
'location' => 'xml',
|
1439 |
+
'properties' => array(
|
1440 |
+
'TargetOriginId' => array(
|
1441 |
+
'required' => true,
|
1442 |
+
'type' => 'string',
|
1443 |
+
),
|
1444 |
+
'ForwardedValues' => array(
|
1445 |
+
'required' => true,
|
1446 |
+
'type' => 'object',
|
1447 |
+
'properties' => array(
|
1448 |
+
'QueryString' => array(
|
1449 |
+
'required' => true,
|
1450 |
+
'type' => 'boolean',
|
1451 |
+
'format' => 'boolean-string',
|
1452 |
+
),
|
1453 |
+
'Cookies' => array(
|
1454 |
+
'required' => true,
|
1455 |
+
'type' => 'object',
|
1456 |
+
'properties' => array(
|
1457 |
+
'Forward' => array(
|
1458 |
+
'required' => true,
|
1459 |
+
'type' => 'string',
|
1460 |
+
'enum' => array(
|
1461 |
+
'none',
|
1462 |
+
'whitelist',
|
1463 |
+
'all',
|
1464 |
+
),
|
1465 |
+
),
|
1466 |
+
'WhitelistedNames' => array(
|
1467 |
+
'type' => 'object',
|
1468 |
+
'properties' => array(
|
1469 |
+
'Quantity' => array(
|
1470 |
+
'required' => true,
|
1471 |
+
'type' => 'numeric',
|
1472 |
+
),
|
1473 |
+
'Items' => array(
|
1474 |
+
'type' => 'array',
|
1475 |
+
'items' => array(
|
1476 |
+
'name' => 'Name',
|
1477 |
+
'type' => 'string',
|
1478 |
+
),
|
1479 |
+
),
|
1480 |
+
),
|
1481 |
+
),
|
1482 |
+
),
|
1483 |
+
),
|
1484 |
+
),
|
1485 |
+
),
|
1486 |
+
'TrustedSigners' => array(
|
1487 |
+
'required' => true,
|
1488 |
+
'type' => 'object',
|
1489 |
+
'properties' => array(
|
1490 |
+
'Enabled' => array(
|
1491 |
+
'required' => true,
|
1492 |
+
'type' => 'boolean',
|
1493 |
+
'format' => 'boolean-string',
|
1494 |
+
),
|
1495 |
+
'Quantity' => array(
|
1496 |
+
'required' => true,
|
1497 |
+
'type' => 'numeric',
|
1498 |
+
),
|
1499 |
+
'Items' => array(
|
1500 |
+
'type' => 'array',
|
1501 |
+
'items' => array(
|
1502 |
+
'name' => 'AwsAccountNumber',
|
1503 |
+
'type' => 'string',
|
1504 |
+
),
|
1505 |
+
),
|
1506 |
+
),
|
1507 |
+
),
|
1508 |
+
'ViewerProtocolPolicy' => array(
|
1509 |
+
'required' => true,
|
1510 |
+
'type' => 'string',
|
1511 |
+
'enum' => array(
|
1512 |
+
'allow-all',
|
1513 |
+
'https-only',
|
1514 |
+
),
|
1515 |
+
),
|
1516 |
+
'MinTTL' => array(
|
1517 |
+
'required' => true,
|
1518 |
+
'type' => 'numeric',
|
1519 |
+
),
|
1520 |
+
),
|
1521 |
+
),
|
1522 |
+
'CacheBehaviors' => array(
|
1523 |
+
'required' => true,
|
1524 |
+
'type' => 'object',
|
1525 |
+
'location' => 'xml',
|
1526 |
+
'properties' => array(
|
1527 |
+
'Quantity' => array(
|
1528 |
+
'required' => true,
|
1529 |
+
'type' => 'numeric',
|
1530 |
+
),
|
1531 |
+
'Items' => array(
|
1532 |
+
'type' => 'array',
|
1533 |
+
'items' => array(
|
1534 |
+
'name' => 'CacheBehavior',
|
1535 |
+
'type' => 'object',
|
1536 |
+
'properties' => array(
|
1537 |
+
'PathPattern' => array(
|
1538 |
+
'required' => true,
|
1539 |
+
'type' => 'string',
|
1540 |
+
),
|
1541 |
+
'TargetOriginId' => array(
|
1542 |
+
'required' => true,
|
1543 |
+
'type' => 'string',
|
1544 |
+
),
|
1545 |
+
'ForwardedValues' => array(
|
1546 |
+
'required' => true,
|
1547 |
+
'type' => 'object',
|
1548 |
+
'properties' => array(
|
1549 |
+
'QueryString' => array(
|
1550 |
+
'required' => true,
|
1551 |
+
'type' => 'boolean',
|
1552 |
+
'format' => 'boolean-string',
|
1553 |
+
),
|
1554 |
+
'Cookies' => array(
|
1555 |
+
'required' => true,
|
1556 |
+
'type' => 'object',
|
1557 |
+
'properties' => array(
|
1558 |
+
'Forward' => array(
|
1559 |
+
'required' => true,
|
1560 |
+
'type' => 'string',
|
1561 |
+
'enum' => array(
|
1562 |
+
'none',
|
1563 |
+
'whitelist',
|
1564 |
+
'all',
|
1565 |
+
),
|
1566 |
+
),
|
1567 |
+
'WhitelistedNames' => array(
|
1568 |
+
'type' => 'object',
|
1569 |
+
'properties' => array(
|
1570 |
+
'Quantity' => array(
|
1571 |
+
'required' => true,
|
1572 |
+
'type' => 'numeric',
|
1573 |
+
),
|
1574 |
+
'Items' => array(
|
1575 |
+
'type' => 'array',
|
1576 |
+
'items' => array(
|
1577 |
+
'name' => 'Name',
|
1578 |
+
'type' => 'string',
|
1579 |
+
),
|
1580 |
+
),
|
1581 |
+
),
|
1582 |
+
),
|
1583 |
+
),
|
1584 |
+
),
|
1585 |
+
),
|
1586 |
+
),
|
1587 |
+
'TrustedSigners' => array(
|
1588 |
+
'required' => true,
|
1589 |
+
'type' => 'object',
|
1590 |
+
'properties' => array(
|
1591 |
+
'Enabled' => array(
|
1592 |
+
'required' => true,
|
1593 |
+
'type' => 'boolean',
|
1594 |
+
'format' => 'boolean-string',
|
1595 |
+
),
|
1596 |
+
'Quantity' => array(
|
1597 |
+
'required' => true,
|
1598 |
+
'type' => 'numeric',
|
1599 |
+
),
|
1600 |
+
'Items' => array(
|
1601 |
+
'type' => 'array',
|
1602 |
+
'items' => array(
|
1603 |
+
'name' => 'AwsAccountNumber',
|
1604 |
+
'type' => 'string',
|
1605 |
+
),
|
1606 |
+
),
|
1607 |
+
),
|
1608 |
+
),
|
1609 |
+
'ViewerProtocolPolicy' => array(
|
1610 |
+
'required' => true,
|
1611 |
+
'type' => 'string',
|
1612 |
+
'enum' => array(
|
1613 |
+
'allow-all',
|
1614 |
+
'https-only',
|
1615 |
+
),
|
1616 |
+
),
|
1617 |
+
'MinTTL' => array(
|
1618 |
+
'required' => true,
|
1619 |
+
'type' => 'numeric',
|
1620 |
+
),
|
1621 |
+
),
|
1622 |
+
),
|
1623 |
+
),
|
1624 |
+
),
|
1625 |
+
),
|
1626 |
+
'Comment' => array(
|
1627 |
+
'required' => true,
|
1628 |
+
'type' => 'string',
|
1629 |
+
'location' => 'xml',
|
1630 |
+
),
|
1631 |
+
'Logging' => array(
|
1632 |
+
'required' => true,
|
1633 |
+
'type' => 'object',
|
1634 |
+
'location' => 'xml',
|
1635 |
+
'properties' => array(
|
1636 |
+
'Enabled' => array(
|
1637 |
+
'required' => true,
|
1638 |
+
'type' => 'boolean',
|
1639 |
+
'format' => 'boolean-string',
|
1640 |
+
),
|
1641 |
+
'IncludeCookies' => array(
|
1642 |
+
'required' => true,
|
1643 |
+
'type' => 'boolean',
|
1644 |
+
'format' => 'boolean-string',
|
1645 |
+
),
|
1646 |
+
'Bucket' => array(
|
1647 |
+
'required' => true,
|
1648 |
+
'type' => 'string',
|
1649 |
+
),
|
1650 |
+
'Prefix' => array(
|
1651 |
+
'required' => true,
|
1652 |
+
'type' => 'string',
|
1653 |
+
),
|
1654 |
+
),
|
1655 |
+
),
|
1656 |
+
'PriceClass' => array(
|
1657 |
+
'required' => true,
|
1658 |
+
'type' => 'string',
|
1659 |
+
'location' => 'xml',
|
1660 |
+
'enum' => array(
|
1661 |
+
'PriceClass_100',
|
1662 |
+
'PriceClass_200',
|
1663 |
+
'PriceClass_All',
|
1664 |
+
),
|
1665 |
+
),
|
1666 |
+
'Enabled' => array(
|
1667 |
+
'required' => true,
|
1668 |
+
'type' => 'boolean',
|
1669 |
+
'format' => 'boolean-string',
|
1670 |
+
'location' => 'xml',
|
1671 |
+
),
|
1672 |
+
'ViewerCertificate' => array(
|
1673 |
+
'type' => 'object',
|
1674 |
+
'location' => 'xml',
|
1675 |
+
'properties' => array(
|
1676 |
+
'IAMCertificateId' => array(
|
1677 |
+
'type' => 'string',
|
1678 |
+
),
|
1679 |
+
'CloudFrontDefaultCertificate' => array(
|
1680 |
+
'type' => 'boolean',
|
1681 |
+
'format' => 'boolean-string',
|
1682 |
+
),
|
1683 |
+
),
|
1684 |
+
),
|
1685 |
+
'Id' => array(
|
1686 |
+
'required' => true,
|
1687 |
+
'type' => 'string',
|
1688 |
+
'location' => 'uri',
|
1689 |
+
),
|
1690 |
+
'IfMatch' => array(
|
1691 |
+
'type' => 'string',
|
1692 |
+
'location' => 'header',
|
1693 |
+
'sentAs' => 'If-Match',
|
1694 |
+
),
|
1695 |
+
'command.expects' => array(
|
1696 |
+
'static' => true,
|
1697 |
+
'default' => 'application/xml',
|
1698 |
+
),
|
1699 |
+
),
|
1700 |
+
'errorResponses' => array(
|
1701 |
+
array(
|
1702 |
+
'reason' => 'Access denied.',
|
1703 |
+
'class' => 'AccessDeniedException',
|
1704 |
+
),
|
1705 |
+
array(
|
1706 |
+
'class' => 'CNAMEAlreadyExistsException',
|
1707 |
+
),
|
1708 |
+
array(
|
1709 |
+
'reason' => 'Origin and CallerReference cannot be updated.',
|
1710 |
+
'class' => 'IllegalUpdateException',
|
1711 |
+
),
|
1712 |
+
array(
|
1713 |
+
'reason' => 'The If-Match version is missing or not valid for the distribution.',
|
1714 |
+
'class' => 'InvalidIfMatchVersionException',
|
1715 |
+
),
|
1716 |
+
array(
|
1717 |
+
'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
|
1718 |
+
'class' => 'MissingBodyException',
|
1719 |
+
),
|
1720 |
+
array(
|
1721 |
+
'reason' => 'The specified distribution does not exist.',
|
1722 |
+
'class' => 'NoSuchDistributionException',
|
1723 |
+
),
|
1724 |
+
array(
|
1725 |
+
'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
|
1726 |
+
'class' => 'PreconditionFailedException',
|
1727 |
+
),
|
1728 |
+
array(
|
1729 |
+
'reason' => 'Your request contains more CNAMEs than are allowed per distribution.',
|
1730 |
+
'class' => 'TooManyDistributionCNAMEsException',
|
1731 |
+
),
|
1732 |
+
array(
|
1733 |
+
'reason' => 'The default root object file name is too big or contains an invalid character.',
|
1734 |
+
'class' => 'InvalidDefaultRootObjectException',
|
1735 |
+
),
|
1736 |
+
array(
|
1737 |
+
'reason' => 'The argument is invalid.',
|
1738 |
+
'class' => 'InvalidArgumentException',
|
1739 |
+
),
|
1740 |
+
array(
|
1741 |
+
'reason' => 'The origin access identity is not valid or doesn\'t exist.',
|
1742 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
1743 |
+
),
|
1744 |
+
array(
|
1745 |
+
'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
|
1746 |
+
'class' => 'TooManyTrustedSignersException',
|
1747 |
+
),
|
1748 |
+
array(
|
1749 |
+
'reason' => 'One or more of your trusted signers do not exist.',
|
1750 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
1751 |
+
),
|
1752 |
+
array(
|
1753 |
+
'class' => 'InvalidViewerCertificateException',
|
1754 |
+
),
|
1755 |
+
array(
|
1756 |
+
'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.',
|
1757 |
+
'class' => 'InvalidRequiredProtocolException',
|
1758 |
+
),
|
1759 |
+
array(
|
1760 |
+
'reason' => 'No origin exists with the specified Origin Id.',
|
1761 |
+
'class' => 'NoSuchOriginException',
|
1762 |
+
),
|
1763 |
+
array(
|
1764 |
+
'reason' => 'You cannot create anymore origins for the distribution.',
|
1765 |
+
'class' => 'TooManyOriginsException',
|
1766 |
+
),
|
1767 |
+
array(
|
1768 |
+
'reason' => 'You cannot create anymore cache behaviors for the distribution.',
|
1769 |
+
'class' => 'TooManyCacheBehaviorsException',
|
1770 |
+
),
|
1771 |
+
array(
|
1772 |
+
'reason' => 'Your request contains more cookie names in the whitelist than are allowed per cache behavior.',
|
1773 |
+
'class' => 'TooManyCookieNamesInWhiteListException',
|
1774 |
+
),
|
1775 |
+
array(
|
1776 |
+
'reason' => 'Your request contains forward cookies option which doesn\'t match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.',
|
1777 |
+
'class' => 'InvalidForwardCookiesException',
|
1778 |
+
),
|
1779 |
+
array(
|
1780 |
+
'reason' => 'The value of Quantity and the size of Items do not match.',
|
1781 |
+
'class' => 'InconsistentQuantitiesException',
|
1782 |
+
),
|
1783 |
+
array(
|
1784 |
+
'reason' => 'You cannot create anymore custom ssl certificates.',
|
1785 |
+
'class' => 'TooManyCertificatesException',
|
1786 |
+
),
|
1787 |
+
),
|
1788 |
+
),
|
1789 |
+
'UpdateStreamingDistribution' => array(
|
1790 |
+
'httpMethod' => 'PUT',
|
1791 |
+
'uri' => '/2013-05-12/streaming-distribution/{Id}/config',
|
1792 |
+
'class' => 'Guzzle\\Service\\Command\\OperationCommand',
|
1793 |
+
'responseClass' => 'UpdateStreamingDistributionResult',
|
1794 |
+
'responseType' => 'model',
|
1795 |
+
'data' => array(
|
1796 |
+
'xmlRoot' => array(
|
1797 |
+
'name' => 'StreamingDistributionConfig',
|
1798 |
+
'namespaces' => array(
|
1799 |
+
'http://cloudfront.amazonaws.com/doc/2013-05-12/',
|
1800 |
+
),
|
1801 |
+
),
|
1802 |
+
),
|
1803 |
+
'parameters' => array(
|
1804 |
+
'CallerReference' => array(
|
1805 |
+
'required' => true,
|
1806 |
+
'type' => 'string',
|
1807 |
+
'location' => 'xml',
|
1808 |
+
),
|
1809 |
+
'S3Origin' => array(
|
1810 |
+
'required' => true,
|
1811 |
+
'type' => 'object',
|
1812 |
+
'location' => 'xml',
|
1813 |
+
'properties' => array(
|
1814 |
+
'DomainName' => array(
|
1815 |
+
'required' => true,
|
1816 |
+
'type' => 'string',
|
1817 |
+
),
|
1818 |
+
'OriginAccessIdentity' => array(
|
1819 |
+
'required' => true,
|
1820 |
+
'type' => 'string',
|
1821 |
+
),
|
1822 |
+
),
|
1823 |
+
),
|
1824 |
+
'Aliases' => array(
|
1825 |
+
'required' => true,
|
1826 |
+
'type' => 'object',
|
1827 |
+
'location' => 'xml',
|
1828 |
+
'properties' => array(
|
1829 |
+
'Quantity' => array(
|
1830 |
+
'required' => true,
|
1831 |
+
'type' => 'numeric',
|
1832 |
+
),
|
1833 |
+
'Items' => array(
|
1834 |
+
'type' => 'array',
|
1835 |
+
'items' => array(
|
1836 |
+
'name' => 'CNAME',
|
1837 |
+
'type' => 'string',
|
1838 |
+
),
|
1839 |
+
),
|
1840 |
+
),
|
1841 |
+
),
|
1842 |
+
'Comment' => array(
|
1843 |
+
'required' => true,
|
1844 |
+
'type' => 'string',
|
1845 |
+
'location' => 'xml',
|
1846 |
+
),
|
1847 |
+
'Logging' => array(
|
1848 |
+
'required' => true,
|
1849 |
+
'type' => 'object',
|
1850 |
+
'location' => 'xml',
|
1851 |
+
'properties' => array(
|
1852 |
+
'Enabled' => array(
|
1853 |
+
'required' => true,
|
1854 |
+
'type' => 'boolean',
|
1855 |
+
'format' => 'boolean-string',
|
1856 |
+
),
|
1857 |
+
'Bucket' => array(
|
1858 |
+
'required' => true,
|
1859 |
+
'type' => 'string',
|
1860 |
+
),
|
1861 |
+
'Prefix' => array(
|
1862 |
+
'required' => true,
|
1863 |
+
'type' => 'string',
|
1864 |
+
),
|
1865 |
+
),
|
1866 |
+
),
|
1867 |
+
'TrustedSigners' => array(
|
1868 |
+
'required' => true,
|
1869 |
+
'type' => 'object',
|
1870 |
+
'location' => 'xml',
|
1871 |
+
'properties' => array(
|
1872 |
+
'Enabled' => array(
|
1873 |
+
'required' => true,
|
1874 |
+
'type' => 'boolean',
|
1875 |
+
'format' => 'boolean-string',
|
1876 |
+
),
|
1877 |
+
'Quantity' => array(
|
1878 |
+
'required' => true,
|
1879 |
+
'type' => 'numeric',
|
1880 |
+
),
|
1881 |
+
'Items' => array(
|
1882 |
+
'type' => 'array',
|
1883 |
+
'items' => array(
|
1884 |
+
'name' => 'AwsAccountNumber',
|
1885 |
+
'type' => 'string',
|
1886 |
+
),
|
1887 |
+
),
|
1888 |
+
),
|
1889 |
+
),
|
1890 |
+
'PriceClass' => array(
|
1891 |
+
'required' => true,
|
1892 |
+
'type' => 'string',
|
1893 |
+
'location' => 'xml',
|
1894 |
+
'enum' => array(
|
1895 |
+
'PriceClass_100',
|
1896 |
+
'PriceClass_200',
|
1897 |
+
'PriceClass_All',
|
1898 |
+
),
|
1899 |
+
),
|
1900 |
+
'Enabled' => array(
|
1901 |
+
'required' => true,
|
1902 |
+
'type' => 'boolean',
|
1903 |
+
'format' => 'boolean-string',
|
1904 |
+
'location' => 'xml',
|
1905 |
+
),
|
1906 |
+
'Id' => array(
|
1907 |
+
'required' => true,
|
1908 |
+
'type' => 'string',
|
1909 |
+
'location' => 'uri',
|
1910 |
+
),
|
1911 |
+
'IfMatch' => array(
|
1912 |
+
'type' => 'string',
|
1913 |
+
'location' => 'header',
|
1914 |
+
'sentAs' => 'If-Match',
|
1915 |
+
),
|
1916 |
+
'command.expects' => array(
|
1917 |
+
'static' => true,
|
1918 |
+
'default' => 'application/xml',
|
1919 |
+
),
|
1920 |
+
),
|
1921 |
+
'errorResponses' => array(
|
1922 |
+
array(
|
1923 |
+
'reason' => 'Access denied.',
|
1924 |
+
'class' => 'AccessDeniedException',
|
1925 |
+
),
|
1926 |
+
array(
|
1927 |
+
'class' => 'CNAMEAlreadyExistsException',
|
1928 |
+
),
|
1929 |
+
array(
|
1930 |
+
'reason' => 'Origin and CallerReference cannot be updated.',
|
1931 |
+
'class' => 'IllegalUpdateException',
|
1932 |
+
),
|
1933 |
+
array(
|
1934 |
+
'reason' => 'The If-Match version is missing or not valid for the distribution.',
|
1935 |
+
'class' => 'InvalidIfMatchVersionException',
|
1936 |
+
),
|
1937 |
+
array(
|
1938 |
+
'reason' => 'This operation requires a body. Ensure that the body is present and the Content-Type header is set.',
|
1939 |
+
'class' => 'MissingBodyException',
|
1940 |
+
),
|
1941 |
+
array(
|
1942 |
+
'reason' => 'The specified streaming distribution does not exist.',
|
1943 |
+
'class' => 'NoSuchStreamingDistributionException',
|
1944 |
+
),
|
1945 |
+
array(
|
1946 |
+
'reason' => 'The precondition given in one or more of the request-header fields evaluated to false.',
|
1947 |
+
'class' => 'PreconditionFailedException',
|
1948 |
+
),
|
1949 |
+
array(
|
1950 |
+
'class' => 'TooManyStreamingDistributionCNAMEsException',
|
1951 |
+
),
|
1952 |
+
array(
|
1953 |
+
'reason' => 'The argument is invalid.',
|
1954 |
+
'class' => 'InvalidArgumentException',
|
1955 |
+
),
|
1956 |
+
array(
|
1957 |
+
'reason' => 'The origin access identity is not valid or doesn\'t exist.',
|
1958 |
+
'class' => 'InvalidOriginAccessIdentityException',
|
1959 |
+
),
|
1960 |
+
array(
|
1961 |
+
'reason' => 'Your request contains more trusted signers than are allowed per distribution.',
|
1962 |
+
'class' => 'TooManyTrustedSignersException',
|
1963 |
+
),
|
1964 |
+
array(
|
1965 |
+
'reason' => 'One or more of your trusted signers do not exist.',
|
1966 |
+
'class' => 'TrustedSignerDoesNotExistException',
|
1967 |
+
),
|
1968 |
+
array(
|
1969 |
+
'reason' => 'The value of Quantity and the size of Items do not match.',
|
1970 |
+
'class' => 'InconsistentQuantitiesException',
|
1971 |
+
),
|
1972 |
+
),
|
1973 |
+
),
|
1974 |
+
),
|
1975 |
+
'models' => array(
|
1976 |
+
'CreateCloudFrontOriginAccessIdentityResult' => array(
|
1977 |
+
'type' => 'object',
|
1978 |
+
'additionalProperties' => true,
|
1979 |
+
'properties' => array(
|
1980 |
+
'Id' => array(
|
1981 |
+
'type' => 'string',
|
1982 |
+
'location' => 'xml',
|
1983 |
+
),
|
1984 |
+
'S3CanonicalUserId' => array(
|
1985 |
+
'type' => 'string',
|
1986 |
+
'location' => 'xml',
|
1987 |
+
),
|
1988 |
+
'CloudFrontOriginAccessIdentityConfig' => array(
|
1989 |
+
'type' => 'object',
|
1990 |
+
'location' => 'xml',
|
1991 |
+
'properties' => array(
|
1992 |
+
'CallerReference' => array(
|
1993 |
+
'type' => 'string',
|
1994 |
+
),
|
1995 |
+
'Comment' => array(
|
1996 |
+
'type' => 'string',
|
1997 |
+
),
|
1998 |
+
),
|
1999 |
+
),
|
2000 |
+
'Location' => array(
|
2001 |
+
'type' => 'string',
|
2002 |
+
'location' => 'header',
|
2003 |
+
),
|
2004 |
+
'ETag' => array(
|
2005 |
+
'type' => 'string',
|
2006 |
+
'location' => 'header',
|
2007 |
+
),
|
2008 |
+
'RequestId' => array(
|
2009 |
+
'location' => 'header',
|
2010 |
+
'sentAs' => 'x-amz-request-id',
|
2011 |
+
),
|
2012 |
+
),
|
2013 |
+
),
|
2014 |
+
'CreateDistributionResult' => array(
|
2015 |
+
'type' => 'object',
|
2016 |
+
'additionalProperties' => true,
|
2017 |
+
'properties' => array(
|
2018 |
+
'Id' => array(
|
2019 |
+
'type' => 'string',
|
2020 |
+
'location' => 'xml',
|
2021 |
+
),
|
2022 |
+
'Status' => array(
|
2023 |
+
'type' => 'string',
|
2024 |
+
'location' => 'xml',
|
2025 |
+
),
|
2026 |
+
'LastModifiedTime' => array(
|
2027 |
+
'type' => 'string',
|
2028 |
+
'location' => 'xml',
|
2029 |
+
),
|
2030 |
+
'InProgressInvalidationBatches' => array(
|
2031 |
+
'type' => 'numeric',
|
2032 |
+
'location' => 'xml',
|
2033 |
+
),
|
2034 |
+
'DomainName' => array(
|
2035 |
+
'type' => 'string',
|
2036 |
+
'location' => 'xml',
|
2037 |
+
),
|
2038 |
+
'ActiveTrustedSigners' => array(
|
2039 |
+
'type' => 'object',
|
2040 |
+
'location' => 'xml',
|
2041 |
+
'properties' => array(
|
2042 |
+
'Enabled' => array(
|
2043 |
+
'type' => 'boolean',
|
2044 |
+
),
|
2045 |
+
'Quantity' => array(
|
2046 |
+
'type' => 'numeric',
|
2047 |
+
),
|
2048 |
+
'Items' => array(
|
2049 |
+
'type' => 'array',
|
2050 |
+
'items' => array(
|
2051 |
+
'name' => 'Signer',
|
2052 |
+
'type' => 'object',
|
2053 |
+
'sentAs' => 'Signer',
|
2054 |
+
'properties' => array(
|
2055 |
+
'AwsAccountNumber' => array(
|
2056 |
+
'type' => 'string',
|
2057 |
+
),
|
2058 |
+
'KeyPairIds' => array(
|
2059 |
+
'type' => 'object',
|
2060 |
+
'properties' => array(
|
2061 |
+
'Quantity' => array(
|
2062 |
+
'type' => 'numeric',
|
2063 |
+
),
|
2064 |
+
'Items' => array(
|
2065 |
+
'type' => 'array',
|
2066 |
+
'items' => array(
|
2067 |
+
'name' => 'KeyPairId',
|
2068 |
+
'type' => 'string',
|
2069 |
+
'sentAs' => 'KeyPairId',
|
2070 |
+
),
|
2071 |
+
),
|
2072 |
+
),
|
2073 |
+
),
|
2074 |
+
),
|
2075 |
+
),
|
2076 |
+
),
|
2077 |
+
),
|
2078 |
+
),
|
2079 |
+
'DistributionConfig' => array(
|
2080 |
+
'type' => 'object',
|
2081 |
+
'location' => 'xml',
|
2082 |
+
'properties' => array(
|
2083 |
+
'CallerReference' => array(
|
2084 |
+
'type' => 'string',
|
2085 |
+
),
|
2086 |
+
'Aliases' => array(
|
2087 |
+
'type' => 'object',
|
2088 |
+
'properties' => array(
|
2089 |
+
'Quantity' => array(
|
2090 |
+
'type' => 'numeric',
|
2091 |
+
),
|
2092 |
+
'Items' => array(
|
2093 |
+
'type' => 'array',
|
2094 |
+
'items' => array(
|
2095 |
+
'name' => 'CNAME',
|
2096 |
+
'type' => 'string',
|
2097 |
+
'sentAs' => 'CNAME',
|
2098 |
+
),
|
2099 |
+
),
|
2100 |
+
),
|
2101 |
+
),
|
2102 |
+
'DefaultRootObject' => array(
|
2103 |
+
'type' => 'string',
|
2104 |
+
),
|
2105 |
+
'Origins' => array(
|
2106 |
+
'type' => 'object',
|
2107 |
+
'properties' => array(
|
2108 |
+
'Quantity' => array(
|
2109 |
+
'type' => 'numeric',
|
2110 |
+
),
|
2111 |
+
'Items' => array(
|
2112 |
+
'type' => 'array',
|
2113 |
+
'items' => array(
|
2114 |
+
'name' => 'Origin',
|
2115 |
+
'type' => 'object',
|
2116 |
+
'sentAs' => 'Origin',
|
2117 |
+
'properties' => array(
|
2118 |
+
'Id' => array(
|
2119 |
+
'type' => 'string',
|
2120 |
+
),
|
2121 |
+
'DomainName' => array(
|
2122 |
+
'type' => 'string',
|
2123 |
+
),
|
2124 |
+
'S3OriginConfig' => array(
|
2125 |
+
'type' => 'object',
|
2126 |
+
'properties' => array(
|
2127 |
+
'OriginAccessIdentity' => array(
|
2128 |
+
'type' => 'string',
|
2129 |
+
),
|
2130 |
+
),
|
2131 |
+
),
|
2132 |
+
'CustomOriginConfig' => array(
|
2133 |
+
'type' => 'object',
|
2134 |
+
'properties' => array(
|
2135 |
+
'HTTPPort' => array(
|
2136 |
+
'type' => 'numeric',
|
2137 |
+
),
|
2138 |
+
'HTTPSPort' => array(
|
2139 |
+
'type' => 'numeric',
|
2140 |
+
),
|
2141 |
+
'OriginProtocolPolicy' => array(
|
2142 |
+
'type' => 'string',
|
2143 |
+
),
|
2144 |
+
),
|
2145 |
+
),
|
2146 |
+
),
|
2147 |
+
),
|
2148 |
+
),
|
2149 |
+
),
|
2150 |
+
),
|
2151 |
+
'DefaultCacheBehavior' => array(
|
2152 |
+
'type' => 'object',
|
2153 |
+
'properties' => array(
|
2154 |
+
'TargetOriginId' => array(
|
2155 |
+
'type' => 'string',
|
2156 |
+
),
|
2157 |
+
'ForwardedValues' => array(
|
2158 |
+
'type' => 'object',
|
2159 |
+
'properties' => array(
|
2160 |
+
'QueryString' => array(
|
2161 |
+
'type' => 'boolean',
|
2162 |
+
),
|
2163 |
+
'Cookies' => array(
|
2164 |
+
'type' => 'object',
|
2165 |
+
'properties' => array(
|
2166 |
+
'Forward' => array(
|
2167 |
+
'type' => 'string',
|
2168 |
+
),
|
2169 |
+
'WhitelistedNames' => array(
|
2170 |
+
'type' => 'object',
|
2171 |
+
'properties' => array(
|
2172 |
+
'Quantity' => array(
|
2173 |
+
'type' => 'numeric',
|
2174 |
+
),
|
2175 |
+
'Items' => array(
|
2176 |
+
'type' => 'array',
|
2177 |
+
'items' => array(
|
2178 |
+
'name' => 'Name',
|
2179 |
+
'type' => 'string',
|
2180 |
+
'sentAs' => 'Name',
|
2181 |
+
),
|
2182 |
+
),
|
2183 |
+
),
|
2184 |
+
),
|
2185 |
+
),
|
2186 |
+
),
|
2187 |
+
),
|
2188 |
+
),
|
2189 |
+
'TrustedSigners' => array(
|
2190 |
+
'type' => 'object',
|
2191 |
+
'properties' => array(
|
2192 |
+
'Enabled' => array(
|
2193 |
+
'type' => 'boolean',
|
2194 |
+
),
|
2195 |
+
'Quantity' => array(
|
2196 |
+
'type' => 'numeric',
|
2197 |
+
),
|
2198 |
+
'Items' => array(
|
2199 |
+
'type' => 'array',
|
2200 |
+
'items' => array(
|
2201 |
+
'name' => 'AwsAccountNumber',
|
2202 |
+
'type' => 'string',
|
2203 |
+
'sentAs' => 'AwsAccountNumber',
|
2204 |
+
),
|
2205 |
+
),
|
2206 |
+
),
|
2207 |
+
),
|
2208 |
+
'ViewerProtocolPolicy' => array(
|
2209 |
+
'type' => 'string',
|
2210 |
+
),
|
2211 |
+
'MinTTL' => array(
|
2212 |
+
'type' => 'numeric',
|
2213 |
+
),
|
2214 |
+
),
|
2215 |
+
),
|
2216 |
+
'CacheBehaviors' => array(
|
2217 |
+
'type' => 'object',
|
2218 |
+
'properties' => array(
|
2219 |
+
'Quantity' => array(
|
2220 |
+
'type' => 'numeric',
|
2221 |
+
),
|
2222 |
+
'Items' => array(
|
2223 |
+
'type' => 'array',
|
2224 |
+
'items' => array(
|
2225 |
+
'name' => 'CacheBehavior',
|
2226 |
+
'type' => 'object',
|
2227 |
+
'sentAs' => 'CacheBehavior',
|
2228 |
+
'properties' => array(
|
2229 |
+
'PathPattern' => array(
|
2230 |
+
'type' => 'string',
|
2231 |
+
),
|
2232 |
+
'TargetOriginId' => array(
|
2233 |
+
'type' => 'string',
|
2234 |
+
),
|
2235 |
+
'ForwardedValues' => array(
|
2236 |
+
'type' => 'object',
|
2237 |
+
'properties' => array(
|
2238 |
+
'QueryString' => array(
|
2239 |
+
'type' => 'boolean',
|
2240 |
+
),
|
2241 |
+
'Cookies' => array(
|
2242 |
+
'type' => 'object',
|
2243 |
+
'properties' => array(
|
2244 |
+
'Forward' => array(
|
2245 |
+
'type' => 'string',
|
2246 |
+
),
|
2247 |
+
'WhitelistedNames' => array(
|
2248 |
+
'type' => 'object',
|
2249 |
+
'properties' => array(
|
2250 |
+
'Quantity' => array(
|
2251 |
+
'type' => 'numeric',
|
2252 |
+
),
|
2253 |
+
'Items' => array(
|
2254 |
+
'type' => 'array',
|
2255 |
+
'items' => array(
|
2256 |
+
'name' => 'Name',
|
2257 |
+
'type' => 'string',
|
2258 |
+
'sentAs' => 'Name',
|
2259 |
+
),
|
2260 |
+
),
|
2261 |
+
),
|
2262 |
+
),
|
2263 |
+
),
|
2264 |
+
),
|
2265 |
+
),
|
2266 |
+
),
|
2267 |
+
'TrustedSigners' => array(
|
2268 |
+
'type' => 'object',
|
2269 |
+
'properties' => array(
|
2270 |
+
'Enabled' => array(
|
2271 |
+
'type' => 'boolean',
|
2272 |
+
),
|
2273 |
+
'Quantity' => array(
|
2274 |
+
'type' => 'numeric',
|
2275 |
+
),
|
2276 |
+
'Items' => array(
|
2277 |
+
'type' => 'array',
|
2278 |
+
'items' => array(
|
2279 |
+
'name' => 'AwsAccountNumber',
|
2280 |
+
'type' => 'string',
|
2281 |
+
'sentAs' => 'AwsAccountNumber',
|
2282 |
+
),
|
2283 |
+
),
|
2284 |
+
),
|
2285 |
+
),
|
2286 |
+
'ViewerProtocolPolicy' => array(
|
2287 |
+
'type' => 'string',
|
2288 |
+
),
|
2289 |
+
'MinTTL' => array(
|
2290 |
+
'type' => 'numeric',
|
2291 |
+
),
|
2292 |
+
),
|
2293 |
+
),
|
2294 |
+
),
|
2295 |
+
),
|
2296 |
+
),
|
2297 |
+
'Comment' => array(
|
2298 |
+
'type' => 'string',
|
2299 |
+
),
|
2300 |
+
'Logging' => array(
|
2301 |
+
'type' => 'object',
|
2302 |
+
'properties' => array(
|
2303 |
+
'Enabled' => array(
|
2304 |
+
'type' => 'boolean',
|
2305 |
+
),
|
2306 |
+
'IncludeCookies' => array(
|
2307 |
+
'type' => 'boolean',
|
2308 |
+
),
|
2309 |
+
'Bucket' => array(
|
2310 |
+
'type' => 'string',
|
2311 |
+
),
|
2312 |
+
'Prefix' => array(
|
2313 |
+
'type' => 'string',
|
2314 |
+
),
|
2315 |
+
),
|
2316 |
+
),
|
2317 |
+
'PriceClass' => array(
|
2318 |
+
'type' => 'string',
|
2319 |
+
),
|
2320 |
+
'Enabled' => array(
|
2321 |
+
'type' => 'boolean',
|
2322 |
+
),
|
2323 |
+
'ViewerCertificate' => array(
|
2324 |
+
'type' => 'object',
|
2325 |
+
'properties' => array(
|
2326 |
+
'IAMCertificateId' => array(
|
2327 |
+
'type' => 'string',
|
2328 |
+
),
|
2329 |
+
'CloudFrontDefaultCertificate' => array(
|
2330 |
+
'type' => 'boolean',
|
2331 |
+
),
|
2332 |
+
),
|
2333 |
+
),
|
2334 |
+
),
|
2335 |
+
),
|
2336 |
+
'Location' => array(
|
2337 |
+
'type' => 'string',
|
2338 |
+
'location' => 'header',
|
2339 |
+
),
|
2340 |
+
'ETag' => array(
|
2341 |
+
'type' => 'string',
|
2342 |
+
'location' => 'header',
|
2343 |
+
),
|
2344 |
+
'RequestId' => array(
|
2345 |
+
'location' => 'header',
|
2346 |
+
'sentAs' => 'x-amz-request-id',
|
2347 |
+
),
|
2348 |
+
),
|
2349 |
+
),
|
2350 |
+
'CreateInvalidationResult' => array(
|
2351 |
+
'type' => 'object',
|
2352 |
+
'additionalProperties' => true,
|
2353 |
+
'properties' => array(
|
2354 |
+
'Location' => array(
|
2355 |
+
'type' => 'string',
|
2356 |
+
'location' => 'header',
|
2357 |
+
),
|
2358 |
+
'Id' => array(
|
2359 |
+
'type' => 'string',
|
2360 |
+
'location' => 'xml',
|
2361 |
+
),
|
2362 |
+
'Status' => array(
|
2363 |
+
'type' => 'string',
|
2364 |
+
'location' => 'xml',
|
2365 |
+
),
|
2366 |
+
'CreateTime' => array(
|
2367 |
+
'type' => 'string',
|
2368 |
+
'location' => 'xml',
|
2369 |
+
),
|
2370 |
+
'InvalidationBatch' => array(
|
2371 |
+
'type' => 'object',
|
2372 |
+
'location' => 'xml',
|
2373 |
+
'properties' => array(
|
2374 |
+
'Paths' => array(
|
2375 |
+
'type' => 'object',
|
2376 |
+
'properties' => array(
|
2377 |
+
'Quantity' => array(
|
2378 |
+
'type' => 'numeric',
|
2379 |
+
),
|
2380 |
+
'Items' => array(
|
2381 |
+
'type' => 'array',
|
2382 |
+
'items' => array(
|
2383 |
+
'name' => 'Path',
|
2384 |
+
'type' => 'string',
|
2385 |
+
'sentAs' => 'Path',
|
2386 |
+
),
|
2387 |
+
),
|
2388 |
+
),
|
2389 |
+
),
|
2390 |
+
'CallerReference' => array(
|
2391 |
+
'type' => 'string',
|
2392 |
+
),
|
2393 |
+
),
|
2394 |
+
),
|
2395 |
+
'RequestId' => array(
|
2396 |
+
'location' => 'header',
|
2397 |
+
'sentAs' => 'x-amz-request-id',
|
2398 |
+
),
|
2399 |
+
),
|
2400 |
+
),
|
2401 |
+
'CreateStreamingDistributionResult' => array(
|
2402 |
+
'type' => 'object',
|
2403 |
+
'additionalProperties' => true,
|
2404 |
+
'properties' => array(
|
2405 |
+
'Id' => array(
|
2406 |
+
'type' => 'string',
|
2407 |
+
'location' => 'xml',
|
2408 |
+
),
|
2409 |
+
'Status' => array(
|
2410 |
+
'type' => 'string',
|
2411 |
+
'location' => 'xml',
|
2412 |
+
),
|
2413 |
+
'LastModifiedTime' => array(
|
2414 |
+
'type' => 'string',
|
2415 |
+
'location' => 'xml',
|
2416 |
+
),
|
2417 |
+
'DomainName' => array(
|
2418 |
+
'type' => 'string',
|
2419 |
+
'location' => 'xml',
|
2420 |
+
),
|
2421 |
+
'ActiveTrustedSigners' => array(
|
2422 |
+
'type' => 'object',
|
2423 |
+
'location' => 'xml',
|
2424 |
+
'properties' => array(
|
2425 |
+
'Enabled' => array(
|
2426 |
+
'type' => 'boolean',
|
2427 |
+
),
|
2428 |
+
'Quantity' => array(
|
2429 |
+
'type' => 'numeric',
|
2430 |
+
),
|
2431 |
+
'Items' => array(
|
2432 |
+
'type' => 'array',
|
2433 |
+
'items' => array(
|
2434 |
+
'name' => 'Signer',
|
2435 |
+
'type' => 'object',
|
2436 |
+
'sentAs' => 'Signer',
|
2437 |
+
'properties' => array(
|
2438 |
+
'AwsAccountNumber' => array(
|
2439 |
+
'type' => 'string',
|
2440 |
+
),
|
2441 |
+
'KeyPairIds' => array(
|
2442 |
+
'type' => 'object',
|
2443 |
+
'properties' => array(
|
2444 |
+
'Quantity' => array(
|
2445 |
+
'type' => 'numeric',
|
2446 |
+
),
|
2447 |
+
'Items' => array(
|
2448 |
+
'type' => 'array',
|
2449 |
+
'items' => array(
|
2450 |
+
'name' => 'KeyPairId',
|
2451 |
+
'type' => 'string',
|
2452 |
+
'sentAs' => 'KeyPairId',
|
2453 |
+
),
|
2454 |
+
),
|
2455 |
+
),
|
2456 |
+
),
|
2457 |
+
),
|
2458 |
+
),
|
2459 |
+
),
|
2460 |
+
),
|
2461 |
+
),
|
2462 |
+
'StreamingDistributionConfig' => array(
|
2463 |
+
'type' => 'object',
|
2464 |
+
'location' => 'xml',
|
2465 |
+
'properties' => array(
|
2466 |
+
'CallerReference' => array(
|
2467 |
+
'type' => 'string',
|
2468 |
+
),
|
2469 |
+
'S3Origin' => array(
|
2470 |
+
'type' => 'object',
|
2471 |
+
'properties' => array(
|
2472 |
+
'DomainName' => array(
|
2473 |
+
'type' => 'string',
|
2474 |
+
),
|
2475 |
+
'OriginAccessIdentity' => array(
|
2476 |
+
'type' => 'string',
|
2477 |
+
),
|
2478 |
+
),
|
2479 |
+
),
|
2480 |
+
'Aliases' => array(
|
2481 |
+
'type' => 'object',
|
2482 |
+
'properties' => array(
|
2483 |
+
'Quantity' => array(
|
2484 |
+
'type' => 'numeric',
|
2485 |
+
),
|
2486 |
+
'Items' => array(
|
2487 |
+
'type' => 'array',
|
2488 |
+
'items' => array(
|
2489 |
+
'name' => 'CNAME',
|
2490 |
+
'type' => 'string',
|
2491 |
+
'sentAs' => 'CNAME',
|
2492 |
+
),
|
2493 |
+
),
|
2494 |
+
),
|
2495 |
+
),
|
2496 |
+
'Comment' => array(
|
2497 |
+
'type' => 'string',
|
2498 |
+
),
|
2499 |
+
'Logging' => array(
|
2500 |
+
'type' => 'object',
|
2501 |
+
'properties' => array(
|
2502 |
+
'Enabled' => array(
|
2503 |
+
'type' => 'boolean',
|
2504 |
+
),
|
2505 |
+
'Bucket' => array(
|
2506 |
+
'type' => 'string',
|
2507 |
+
),
|
2508 |
+
'Prefix' => array(
|
2509 |
+
'type' => 'string',
|
2510 |
+
),
|
2511 |
+
),
|
2512 |
+
),
|
2513 |
+
'TrustedSigners' => array(
|
2514 |
+
'type' => 'object',
|
2515 |
+
'properties' => array(
|
2516 |
+
'Enabled' => array(
|
2517 |
+
'type' => 'boolean',
|
2518 |
+
),
|
2519 |
+
'Quantity' => array(
|
2520 |
+
'type' => 'numeric',
|
2521 |
+
),
|
2522 |
+
'Items' => array(
|
2523 |
+
'type' => 'array',
|
2524 |
+
'items' => array(
|
2525 |
+
'name' => 'AwsAccountNumber',
|
2526 |
+
'type' => 'string',
|
2527 |
+
'sentAs' => 'AwsAccountNumber',
|
2528 |
+
),
|
2529 |
+
),
|
2530 |
+
),
|
2531 |
+
),
|
2532 |
+
'PriceClass' => array(
|
2533 |
+
'type' => 'string',
|
2534 |
+
),
|
2535 |
+
'Enabled' => array(
|
2536 |
+
'type' => 'boolean',
|
2537 |
+
),
|
2538 |
+
),
|
2539 |
+
),
|
2540 |
+
'Location' => array(
|
2541 |
+
'type' => 'string',
|
2542 |
+
'location' => 'header',
|
2543 |
+
),
|
2544 |
+
'ETag' => array(
|
2545 |
+
'type' => 'string',
|
2546 |
+
'location' => 'header',
|
2547 |
+
),
|
2548 |
+
'RequestId' => array(
|
2549 |
+
'location' => 'header',
|
2550 |
+
'sentAs' => 'x-amz-request-id',
|
2551 |
+
),
|
2552 |
+
),
|
2553 |
+
),
|
2554 |
+
'DeleteCloudFrontOriginAccessIdentity2013_05_12Output' => array(
|
2555 |
+
'type' => 'object',
|
2556 |
+
'additionalProperties' => true,
|
2557 |
+
'properties' => array(
|
2558 |
+
'RequestId' => array(
|
2559 |
+
'location' => 'header',
|
2560 |
+
'sentAs' => 'x-amz-request-id',
|
2561 |
+
),
|
2562 |
+
),
|
2563 |
+
),
|
2564 |
+
'DeleteDistribution2013_05_12Output' => array(
|
2565 |
+
'type' => 'object',
|
2566 |
+
'additionalProperties' => true,
|
2567 |
+
'properties' => array(
|
2568 |
+
'RequestId' => array(
|
2569 |
+
'location' => 'header',
|
2570 |
+
'sentAs' => 'x-amz-request-id',
|
2571 |
+
),
|
2572 |
+
),
|
2573 |
+
),
|
2574 |
+
'DeleteStreamingDistribution2013_05_12Output' => array(
|
2575 |
+
'type' => 'object',
|
2576 |
+
'additionalProperties' => true,
|
2577 |
+
'properties' => array(
|
2578 |
+
'RequestId' => array(
|
2579 |
+
'location' => 'header',
|
2580 |
+
'sentAs' => 'x-amz-request-id',
|
2581 |
+
),
|
2582 |
+
),
|
2583 |
+
),
|
2584 |
+
'GetCloudFrontOriginAccessIdentityResult' => array(
|
2585 |
+
'type' => 'object',
|
2586 |
+
'additionalProperties' => true,
|
2587 |
+
'properties' => array(
|
2588 |
+
'Id' => array(
|
2589 |
+
'type' => 'string',
|
2590 |
+
'location' => 'xml',
|
2591 |
+
),
|
2592 |
+
'S3CanonicalUserId' => array(
|
2593 |
+
'type' => 'string',
|
2594 |
+
'location' => 'xml',
|
2595 |
+
),
|
2596 |
+
'CloudFrontOriginAccessIdentityConfig' => array(
|
2597 |
+
'type' => 'object',
|
2598 |
+
'location' => 'xml',
|
2599 |
+
'properties' => array(
|
2600 |
+
'CallerReference' => array(
|
2601 |
+
'type' => 'string',
|
2602 |
+
),
|
2603 |
+
'Comment' => array(
|
2604 |
+
'type' => 'string',
|
2605 |
+
),
|
2606 |
+
),
|
2607 |
+
),
|
2608 |
+
'ETag' => array(
|
2609 |
+
'type' => 'string',
|
2610 |
+
'location' => 'header',
|
2611 |
+
),
|
2612 |
+
'RequestId' => array(
|
2613 |
+
'location' => 'header',
|
2614 |
+
'sentAs' => 'x-amz-request-id',
|
2615 |
+
),
|
2616 |
+
),
|
2617 |
+
),
|
2618 |
+
'GetCloudFrontOriginAccessIdentityConfigResult' => array(
|
2619 |
+
'type' => 'object',
|
2620 |
+
'additionalProperties' => true,
|
2621 |
+
'properties' => array(
|
2622 |
+
'CallerReference' => array(
|
2623 |
+
'type' => 'string',
|
2624 |
+
'location' => 'xml',
|
2625 |
+
),
|
2626 |
+
'Comment' => array(
|
2627 |
+
'type' => 'string',
|
2628 |
+
'location' => 'xml',
|
2629 |
+
),
|
2630 |
+
'ETag' => array(
|
2631 |
+
'type' => 'string',
|
2632 |
+
'location' => 'header',
|
2633 |
+
),
|
2634 |
+
'RequestId' => array(
|
2635 |
+
'location' => 'header',
|
2636 |
+
'sentAs' => 'x-amz-request-id',
|
2637 |
+
),
|
2638 |
+
),
|
2639 |
+
),
|
2640 |
+
'GetDistributionResult' => array(
|
2641 |
+
'type' => 'object',
|
2642 |
+
'additionalProperties' => true,
|
2643 |
+
'properties' => array(
|
2644 |
+
'Id' => array(
|
2645 |
+
'type' => 'string',
|
2646 |
+
'location' => 'xml',
|
2647 |
+
),
|
2648 |
+
'Status' => array(
|
2649 |
+
'type' => 'string',
|
2650 |
+
'location' => 'xml',
|
2651 |
+
),
|
2652 |
+
'LastModifiedTime' => array(
|
2653 |
+
'type' => 'string',
|
2654 |
+
'location' => 'xml',
|
2655 |
+
),
|
2656 |
+
'InProgressInvalidationBatches' => array(
|
2657 |
+
'type' => 'numeric',
|
2658 |
+
'location' => 'xml',
|
2659 |
+
),
|
2660 |
+
'DomainName' => array(
|
2661 |
+
'type' => 'string',
|
2662 |
+
'location' => 'xml',
|
2663 |
+
),
|
2664 |
+
'ActiveTrustedSigners' => array(
|
2665 |
+
'type' => 'object',
|
2666 |
+
'location' => 'xml',
|
2667 |
+
'properties' => array(
|
2668 |
+
'Enabled' => array(
|
2669 |
+
'type' => 'boolean',
|
2670 |
+
),
|
2671 |
+
'Quantity' => array(
|
2672 |
+
'type' => 'numeric',
|
2673 |
+
),
|
2674 |
+
'Items' => array(
|
2675 |
+
'type' => 'array',
|
2676 |
+
'items' => array(
|
2677 |
+
'name' => 'Signer',
|
2678 |
+
'type' => 'object',
|
2679 |
+
'sentAs' => 'Signer',
|
2680 |
+
'properties' => array(
|
2681 |
+
'AwsAccountNumber' => array(
|
2682 |
+
'type' => 'string',
|
2683 |
+
),
|
2684 |
+
'KeyPairIds' => array(
|
2685 |
+
'type' => 'object',
|
2686 |
+
'properties' => array(
|
2687 |
+
'Quantity' => array(
|
2688 |
+
'type' => 'numeric',
|
2689 |
+
),
|
2690 |
+
'Items' => array(
|
2691 |
+
'type' => 'array',
|
2692 |
+
'items' => array(
|
2693 |
+
'name' => 'KeyPairId',
|
2694 |
+
'type' => 'string',
|
2695 |
+
'sentAs' => 'KeyPairId',
|
2696 |
+
),
|
2697 |
+
),
|
2698 |
+
),
|
2699 |
+
),
|
2700 |
+
),
|
2701 |
+
),
|
2702 |
+
),
|
2703 |
+
),
|
2704 |
+
),
|
2705 |
+
'DistributionConfig' => array(
|
2706 |
+
'type' => 'object',
|
2707 |
+
'location' => 'xml',
|
2708 |
+
'properties' => array(
|
2709 |
+
'CallerReference' => array(
|
2710 |
+
'type' => 'string',
|
2711 |
+
),
|
2712 |
+
'Aliases' => array(
|
2713 |
+
'type' => 'object',
|
2714 |
+
'properties' => array(
|
2715 |
+
'Quantity' => array(
|
2716 |
+
'type' => 'numeric',
|
2717 |
+
),
|
2718 |
+
'Items' => array(
|
2719 |
+
'type' => 'array',
|
2720 |
+
'items' => array(
|
2721 |
+
'name' => 'CNAME',
|
2722 |
+
'type' => 'string',
|
2723 |
+
'sentAs' => 'CNAME',
|
2724 |
+
),
|
2725 |
+
),
|
2726 |
+
),
|
2727 |
+
),
|
2728 |
+
'DefaultRootObject' => array(
|
2729 |
+
'type' => 'string',
|
2730 |
+
),
|
2731 |
+
'Origins' => array(
|
2732 |
+
'type' => 'object',
|
2733 |
+
'properties' => array(
|
2734 |
+
'Quantity' => array(
|
2735 |
+
'type' => 'numeric',
|
2736 |
+
),
|
2737 |
+
'Items' => array(
|
2738 |
+
'type' => 'array',
|
2739 |
+
'items' => array(
|
2740 |
+
'name' => 'Origin',
|
2741 |
+
'type' => 'object',
|
2742 |
+
'sentAs' => 'Origin',
|
2743 |
+
'properties' => array(
|
2744 |
+
'Id' => array(
|
2745 |
+
'type' => 'string',
|
2746 |
+
),
|
2747 |
+
'DomainName' => array(
|
2748 |
+
'type' => 'string',
|
2749 |
+
),
|
2750 |
+
'S3OriginConfig' => array(
|
2751 |
+
'type' => 'object',
|
2752 |
+
'properties' => array(
|
2753 |
+
'OriginAccessIdentity' => array(
|
2754 |
+
'type' => 'string',
|
2755 |
+
),
|
2756 |
+
),
|
2757 |
+
),
|
2758 |
+
'CustomOriginConfig' => array(
|
2759 |
+
'type' => 'object',
|
2760 |
+
'properties' => array(
|
2761 |
+
'HTTPPort' => array(
|
2762 |
+
'type' => 'numeric',
|
2763 |
+
),
|
2764 |
+
'HTTPSPort' => array(
|
2765 |
+
'type' => 'numeric',
|
2766 |
+
),
|
2767 |
+
'OriginProtocolPolicy' => array(
|
2768 |
+
'type' => 'string',
|
2769 |
+
),
|
2770 |
+
),
|
2771 |
+
),
|
2772 |
+
),
|
2773 |
+
),
|
2774 |
+
),
|
2775 |
+
),
|
2776 |
+
),
|
2777 |
+
'DefaultCacheBehavior' => array(
|
2778 |
+
'type' => 'object',
|
2779 |
+
'properties' => array(
|
2780 |
+
'TargetOriginId' => array(
|
2781 |
+
'type' => 'string',
|
2782 |
+
),
|
2783 |
+
'ForwardedValues' => array(
|
2784 |
+
'type' => 'object',
|
2785 |
+
'properties' => array(
|
2786 |
+
'QueryString' => array(
|
2787 |
+
'type' => 'boolean',
|
2788 |
+
),
|
2789 |
+
'Cookies' => array(
|
2790 |
+
'type' => 'object',
|
2791 |
+
'properties' => array(
|
2792 |
+
'Forward' => array(
|
2793 |
+
'type' => 'string',
|
2794 |
+
),
|
2795 |
+
'WhitelistedNames' => array(
|
2796 |
+
'type' => 'object',
|
2797 |
+
'properties' => array(
|
2798 |
+
'Quantity' => array(
|
2799 |
+
'type' => 'numeric',
|
2800 |
+
),
|
2801 |
+
'Items' => array(
|
2802 |
+
'type' => 'array',
|
2803 |
+
'items' => array(
|
2804 |
+
'name' => 'Name',
|
2805 |
+
'type' => 'string',
|
2806 |
+
'sentAs' => 'Name',
|
2807 |
+
),
|
2808 |
+
),
|
2809 |
+
),
|
2810 |
+
),
|
2811 |
+
),
|
2812 |
+
),
|
2813 |
+
),
|
2814 |
+
),
|
2815 |
+
'TrustedSigners' => array(
|
2816 |
+
'type' => 'object',
|
2817 |
+
'properties' => array(
|
2818 |
+
'Enabled' => array(
|
2819 |
+
'type' => 'boolean',
|
2820 |
+
),
|
2821 |
+
'Quantity' => array(
|
2822 |
+
'type' => 'numeric',
|
2823 |
+
),
|
2824 |
+
'Items' => array(
|
2825 |
+
'type' => 'array',
|
2826 |
+
'items' => array(
|
2827 |
+
'name' => 'AwsAccountNumber',
|
2828 |
+
'type' => 'string',
|
2829 |
+
'sentAs' => 'AwsAccountNumber',
|
2830 |
+
),
|
2831 |
+
),
|
2832 |
+
),
|
2833 |
+
),
|
2834 |
+
'ViewerProtocolPolicy' => array(
|
2835 |
+
'type' => 'string',
|
2836 |
+
),
|
2837 |
+
'MinTTL' => array(
|
2838 |
+
'type' => 'numeric',
|
2839 |
+
),
|
2840 |
+
),
|
2841 |
+
),
|
2842 |
+
'CacheBehaviors' => array(
|
2843 |
+
'type' => 'object',
|
2844 |
+
'properties' => array(
|
2845 |
+
'Quantity' => array(
|
2846 |
+
'type' => 'numeric',
|
2847 |
+
),
|
2848 |
+
'Items' => array(
|
2849 |
+
'type' => 'array',
|
2850 |
+
'items' => array(
|
2851 |
+
'name' => 'CacheBehavior',
|
2852 |
+
'type' => 'object',
|
2853 |
+
'sentAs' => 'CacheBehavior',
|
2854 |
+
'properties' => array(
|
2855 |
+
'PathPattern' => array(
|
2856 |
+
'type' => 'string',
|
2857 |
+
),
|
2858 |
+
'TargetOriginId' => array(
|
2859 |
+
'type' => 'string',
|
2860 |
+
),
|
2861 |
+
'ForwardedValues' => array(
|
2862 |
+
'type' => 'object',
|
2863 |
+
'properties' => array(
|
2864 |
+
'QueryString' => array(
|
2865 |
+
'type' => 'boolean',
|
2866 |
+
),
|
2867 |
+
'Cookies' => array(
|
2868 |
+
'type' => 'object',
|
2869 |
+
'properties' => array(
|
2870 |
+
'Forward' => array(
|
2871 |
+
'type' => 'string',
|
2872 |
+
),
|
2873 |
+
'WhitelistedNames' => array(
|
2874 |
+
'type' => 'object',
|
2875 |
+
'properties' => array(
|
2876 |
+
'Quantity' => array(
|
2877 |
+
'type' => 'numeric',
|
2878 |
+
),
|
2879 |
+
'Items' => array(
|
2880 |
+
'type' => 'array',
|
2881 |
+
'items' => array(
|
2882 |
+
'name' => 'Name',
|
2883 |
+
'type' => 'string',
|
2884 |
+
'sentAs' => 'Name',
|
2885 |
+
),
|
2886 |
+
),
|
2887 |
+
),
|
2888 |
+
),
|
2889 |
+
),
|
2890 |
+
),
|
2891 |
+
),
|
2892 |
+
),
|
2893 |
+
'TrustedSigners' => array(
|
2894 |
+
'type' => 'object',
|
2895 |
+
'properties' => array(
|
2896 |
+
'Enabled' => array(
|
2897 |
+
'type' => 'boolean',
|
2898 |
+
),
|
2899 |
+
'Quantity' => array(
|
2900 |
+
'type' => 'numeric',
|
2901 |
+
),
|
2902 |
+
'Items' => array(
|
2903 |
+
'type' => 'array',
|
2904 |
+
'items' => array(
|
2905 |
+
'name' => 'AwsAccountNumber',
|
2906 |
+
'type' => 'string',
|
2907 |
+
'sentAs' => 'AwsAccountNumber',
|
2908 |
+
),
|
2909 |
+
),
|
2910 |
+
),
|
2911 |
+
),
|
2912 |
+
'ViewerProtocolPolicy' => array(
|
2913 |
+
'type' => 'string',
|
2914 |
+
),
|
2915 |
+
'MinTTL' => array(
|
2916 |
+
'type' => 'numeric',
|
2917 |
+
),
|
2918 |
+
),
|
2919 |
+
),
|
2920 |
+
),
|
2921 |
+
),
|
2922 |
+
),
|
2923 |
+
'Comment' => array(
|
2924 |
+
'type' => 'string',
|
2925 |
+
),
|
2926 |
+
'Logging' => array(
|
2927 |
+
'type' => 'object',
|
2928 |
+
'properties' => array(
|
2929 |
+
'Enabled' => array(
|
2930 |
+
'type' => 'boolean',
|
2931 |
+
),
|
2932 |
+
'IncludeCookies' => array(
|
2933 |
+
'type' => 'boolean',
|
2934 |
+
),
|
2935 |
+
'Bucket' => array(
|
2936 |
+
'type' => 'string',
|
2937 |
+
),
|
2938 |
+
'Prefix' => array(
|
2939 |
+
'type' => 'string',
|
2940 |
+
),
|
2941 |
+
),
|
2942 |
+
),
|
2943 |
+
'PriceClass' => array(
|
2944 |
+
'type' => 'string',
|
2945 |
+
),
|
2946 |
+
'Enabled' => array(
|
2947 |
+
'type' => 'boolean',
|
2948 |
+
),
|
2949 |
+
'ViewerCertificate' => array(
|
2950 |
+
'type' => 'object',
|
2951 |
+
'properties' => array(
|
2952 |
+
'IAMCertificateId' => array(
|
2953 |
+
'type' => 'string',
|
2954 |
+
),
|
2955 |
+
'CloudFrontDefaultCertificate' => array(
|
2956 |
+
'type' => 'boolean',
|
2957 |
+
),
|
2958 |
+
),
|
2959 |
+
),
|
2960 |
+
),
|
2961 |
+
),
|
2962 |
+
'ETag' => array(
|
2963 |
+
'type' => 'string',
|
2964 |
+
'location' => 'header',
|
2965 |
+
),
|
2966 |
+
'RequestId' => array(
|
2967 |
+
'location' => 'header',
|
2968 |
+
'sentAs' => 'x-amz-request-id',
|
2969 |
+
),
|
2970 |
+
),
|
2971 |
+
),
|
2972 |
+
'GetDistributionConfigResult' => array(
|
2973 |
+
'type' => 'object',
|
2974 |
+
'additionalProperties' => true,
|
2975 |
+
'properties' => array(
|
2976 |
+
'CallerReference' => array(
|
2977 |
+
'type' => 'string',
|
2978 |
+
'location' => 'xml',
|
2979 |
+
),
|
2980 |
+
'Aliases' => array(
|
2981 |
+
'type' => 'object',
|
2982 |
+
'location' => 'xml',
|
2983 |
+
'properties' => array(
|
2984 |
+
'Quantity' => array(
|
2985 |
+
'type' => 'numeric',
|
2986 |
+
),
|
2987 |
+
'Items' => array(
|
2988 |
+
'type' => 'array',
|
2989 |
+
'items' => array(
|
2990 |
+
'name' => 'CNAME',
|
2991 |
+
'type' => 'string',
|
2992 |
+
'sentAs' => 'CNAME',
|
2993 |
+
),
|
2994 |
+
),
|
2995 |
+
),
|
2996 |
+
),
|
2997 |
+
'DefaultRootObject' => array(
|
2998 |
+
'type' => 'string',
|
2999 |
+
'location' => 'xml',
|
3000 |
+
),
|
3001 |
+
'Origins' => array(
|
3002 |
+
'type' => 'object',
|
3003 |
+
'location' => 'xml',
|
3004 |
+
'properties' => array(
|
3005 |
+
'Quantity' => array(
|
3006 |
+
'type' => 'numeric',
|
3007 |
+
),
|
3008 |
+
'Items' => array(
|
3009 |
+
'type' => 'array',
|
3010 |
+
'items' => array(
|
3011 |
+
'name' => 'Origin',
|
3012 |
+
'type' => 'object',
|
3013 |
+
'sentAs' => 'Origin',
|
3014 |
+
'properties' => array(
|
3015 |
+
'Id' => array(
|
3016 |
+
'type' => 'string',
|
3017 |
+
),
|
3018 |
+
'DomainName' => array(
|
3019 |
+
'type' => 'string',
|
3020 |
+
),
|
3021 |
+
'S3OriginConfig' => array(
|
3022 |
+
'type' => 'object',
|
3023 |
+
'properties' => array(
|
3024 |
+
'OriginAccessIdentity' => array(
|
3025 |
+
'type' => 'string',
|
3026 |
+
),
|
3027 |
+
),
|
3028 |
+
),
|
3029 |
+
'CustomOriginConfig' => array(
|
3030 |
+
'type' => 'object',
|
3031 |
+
'properties' => array(
|
3032 |
+
'HTTPPort' => array(
|
3033 |
+
'type' => 'numeric',
|
3034 |
+
),
|
3035 |
+
'HTTPSPort' => array(
|
3036 |
+
'type' => 'numeric',
|
3037 |
+
),
|
3038 |
+
'OriginProtocolPolicy' => array(
|
3039 |
+
'type' => 'string',
|
3040 |
+
),
|
3041 |
+
),
|
3042 |
+
),
|
3043 |
+
),
|
3044 |
+
),
|
3045 |
+
),
|
3046 |
+
),
|
3047 |
+
),
|
3048 |
+
'DefaultCacheBehavior' => array(
|
3049 |
+
'type' => 'object',
|
3050 |
+
'location' => 'xml',
|
3051 |
+
'properties' => array(
|
3052 |
+
'TargetOriginId' => array(
|
3053 |
+
'type' => 'string',
|
3054 |
+
),
|
3055 |
+
'ForwardedValues' => array(
|
3056 |
+
'type' => 'object',
|
3057 |
+
'properties' => array(
|
3058 |
+
'QueryString' => array(
|
3059 |
+
'type' => 'boolean',
|
3060 |
+
),
|
3061 |
+
'Cookies' => array(
|
3062 |
+
'type' => 'object',
|
3063 |
+
'properties' => array(
|
3064 |
+
'Forward' => array(
|
3065 |
+
'type' => 'string',
|
3066 |
+
),
|
3067 |
+
'WhitelistedNames' => array(
|
3068 |
+
'type' => 'object',
|
3069 |
+
'properties' => array(
|
3070 |
+
'Quantity' => array(
|
3071 |
+
'type' => 'numeric',
|
3072 |
+
),
|
3073 |
+
'Items' => array(
|
3074 |
+
'type' => 'array',
|
3075 |
+
'items' => array(
|
3076 |
+
'name' => 'Name',
|
3077 |
+
'type' => 'string',
|
3078 |
+
'sentAs' => 'Name',
|
3079 |
+
),
|
3080 |
+
),
|
3081 |
+
),
|
3082 |
+
),
|
3083 |
+
),
|
3084 |
+
),
|
3085 |
+
),
|
3086 |
+
),
|
3087 |
+
'TrustedSigners' => array(
|
3088 |
+
'type' => 'object',
|
3089 |
+
'properties' => array(
|
3090 |
+
'Enabled' => array(
|
3091 |
+
'type' => 'boolean',
|
3092 |
+
),
|
3093 |
+
'Quantity' => array(
|
3094 |
+
'type' => 'numeric',
|
3095 |
+
),
|
3096 |
+
'Items' => array(
|
3097 |
+
'type' => 'array',
|
3098 |
+
'items' => array(
|
3099 |
+
'name' => 'AwsAccountNumber',
|
3100 |
+
'type' => 'string',
|
3101 |
+
'sentAs' => 'AwsAccountNumber',
|
3102 |
+
),
|
3103 |
+
),
|
3104 |
+
),
|
3105 |
+
),
|
3106 |
+
'ViewerProtocolPolicy' => array(
|
3107 |
+
'type' => 'string',
|
3108 |
+
),
|
3109 |
+
'MinTTL' => array(
|
3110 |
+
'type' => 'numeric',
|
3111 |
+
),
|
3112 |
+
),
|
3113 |
+
),
|
3114 |
+
'CacheBehaviors' => array(
|
3115 |
+
'type' => 'object',
|
3116 |
+
'location' => 'xml',
|
3117 |
+
'properties' => array(
|
3118 |
+
'Quantity' => array(
|
3119 |
+
'type' => 'numeric',
|
3120 |
+
),
|
3121 |
+
'Items' => array(
|
3122 |
+
'type' => 'array',
|
3123 |
+
'items' => array(
|
3124 |
+
'name' => 'CacheBehavior',
|
3125 |
+
'type' => 'object',
|
3126 |
+
'sentAs' => 'CacheBehavior',
|
3127 |
+
'properties' => array(
|
3128 |
+
'PathPattern' => array(
|
3129 |
+
'type' => 'string',
|
3130 |
+
),
|
3131 |
+
'TargetOriginId' => array(
|
3132 |
+
'type' => 'string',
|
3133 |
+
),
|
3134 |
+
'ForwardedValues' => array(
|
3135 |
+
'type' => 'object',
|
3136 |
+
'properties' => array(
|
3137 |
+
'QueryString' => array(
|
3138 |
+
'type' => 'boolean',
|
3139 |
+
),
|
3140 |
+
'Cookies' => array(
|
3141 |
+
'type' => 'object',
|
3142 |
+
'properties' => array(
|
3143 |
+
'Forward' => array(
|
3144 |
+
'type' => 'string',
|
3145 |
+
),
|
3146 |
+
'WhitelistedNames' => array(
|
3147 |
+
'type' => 'object',
|
3148 |
+
'properties' => array(
|
3149 |
+
'Quantity' => array(
|
3150 |
+
'type' => 'numeric',
|
3151 |
+
),
|
3152 |
+
'Items' => array(
|
3153 |
+
'type' => 'array',
|
3154 |
+
'items' => array(
|
3155 |
+
'name' => 'Name',
|
3156 |
+
'type' => 'string',
|
3157 |
+
'sentAs' => 'Name',
|
3158 |
+
),
|
3159 |
+
),
|
3160 |
+
),
|
3161 |
+
),
|
3162 |
+
),
|
3163 |
+
),
|
3164 |
+
),
|
3165 |
+
),
|
3166 |
+
'TrustedSigners' => array(
|
3167 |
+
'type' => 'object',
|
3168 |
+
'properties' => array(
|
3169 |
+
'Enabled' => array(
|
3170 |
+
'type' => 'boolean',
|
3171 |
+
),
|
3172 |
+
'Quantity' => array(
|
3173 |
+
'type' => 'numeric',
|
3174 |
+
),
|
3175 |
+
'Items' => array(
|
3176 |
+
'type' => 'array',
|
3177 |
+
'items' => array(
|
3178 |
+
'name' => 'AwsAccountNumber',
|
3179 |
+
'type' => 'string',
|
3180 |
+
'sentAs' => 'AwsAccountNumber',
|
3181 |
+
),
|
3182 |
+
),
|
3183 |
+
),
|
3184 |
+
),
|
3185 |
+
'ViewerProtocolPolicy' => array(
|
3186 |
+
'type' => 'string',
|
3187 |
+
),
|
3188 |
+
'MinTTL' => array(
|
3189 |
+
'type' => 'numeric',
|
3190 |
+
),
|
3191 |
+
),
|
3192 |
+
),
|
3193 |
+
),
|
3194 |
+
),
|
3195 |
+
),
|
3196 |
+
'Comment' => array(
|
3197 |
+
'type' => 'string',
|
3198 |
+
'location' => 'xml',
|
3199 |
+
),
|
3200 |
+
'Logging' => array(
|
3201 |
+
'type' => 'object',
|
3202 |
+
'location' => 'xml',
|
3203 |
+
'properties' => array(
|
3204 |
+
'Enabled' => array(
|
3205 |
+
'type' => 'boolean',
|
3206 |
+
),
|
3207 |
+
'IncludeCookies' => array(
|
3208 |
+
'type' => 'boolean',
|
3209 |
+
),
|
3210 |
+
'Bucket' => array(
|
3211 |
+
'type' => 'string',
|
3212 |
+
),
|
3213 |
+
'Prefix' => array(
|
3214 |
+
'type' => 'string',
|
3215 |
+
),
|
3216 |
+
),
|
3217 |
+
),
|
3218 |
+
'PriceClass' => array(
|
3219 |
+
'type' => 'string',
|
3220 |
+
'location' => 'xml',
|
3221 |
+
),
|
3222 |
+
'Enabled' => array(
|
3223 |
+
'type' => 'boolean',
|
3224 |
+
'location' => 'xml',
|
3225 |
+
),
|
3226 |
+
'ViewerCertificate' => array(
|
3227 |
+
'type' => 'object',
|
3228 |
+
'location' => 'xml',
|
3229 |
+
'properties' => array(
|
3230 |
+
'IAMCertificateId' => array(
|
3231 |
+
'type' => 'string',
|
3232 |
+
),
|
3233 |
+
'CloudFrontDefaultCertificate' => array(
|
3234 |
+
'type' => 'boolean',
|
3235 |
+
),
|
3236 |
+
),
|
3237 |
+
),
|
3238 |
+
'ETag' => array(
|
3239 |
+
'type' => 'string',
|
3240 |
+
'location' => 'header',
|
3241 |
+
),
|
3242 |
+
'RequestId' => array(
|
3243 |
+
'location' => 'header',
|
3244 |
+
'sentAs' => 'x-amz-request-id',
|
3245 |
+
),
|
3246 |
+
),
|
3247 |
+
),
|
3248 |
+
'GetInvalidationResult' => array(
|
3249 |
+
'type' => 'object',
|
3250 |
+
'additionalProperties' => true,
|
3251 |
+
'properties' => array(
|
3252 |
+
'Id' => array(
|
3253 |
+
'type' => 'string',
|
3254 |
+
'location' => 'xml',
|
3255 |
+
),
|
3256 |
+
'Status' => array(
|
3257 |
+
'type' => 'string',
|
3258 |
+
'location' => 'xml',
|
3259 |
+
),
|
3260 |
+
'CreateTime' => array(
|
3261 |
+
'type' => 'string',
|
3262 |
+
'location' => 'xml',
|
3263 |
+
),
|
3264 |
+
'InvalidationBatch' => array(
|
3265 |
+
'type' => 'object',
|
3266 |
+
'location' => 'xml',
|
3267 |
+
'properties' => array(
|
3268 |
+
'Paths' => array(
|
3269 |
+
'type' => 'object',
|
3270 |
+
'properties' => array(
|
3271 |
+
'Quantity' => array(
|
3272 |
+
'type' => 'numeric',
|
3273 |
+
),
|
3274 |
+
'Items' => array(
|
3275 |
+
'type' => 'array',
|
3276 |
+
'items' => array(
|
3277 |
+
'name' => 'Path',
|
3278 |
+
'type' => 'string',
|
3279 |
+
'sentAs' => 'Path',
|
3280 |
+
),
|
3281 |
+
),
|
3282 |
+
),
|
3283 |
+
),
|
3284 |
+
'CallerReference' => array(
|
3285 |
+
'type' => 'string',
|
3286 |
+
),
|
3287 |
+
),
|
3288 |
+
),
|
3289 |
+
'RequestId' => array(
|
3290 |
+
'location' => 'header',
|
3291 |
+
'sentAs' => 'x-amz-request-id',
|
3292 |
+
),
|
3293 |
+
),
|
3294 |
+
),
|
3295 |
+
'GetStreamingDistributionResult' => array(
|
3296 |
+
'type' => 'object',
|
3297 |
+
'additionalProperties' => true,
|
3298 |
+
'properties' => array(
|
3299 |
+
'Id' => array(
|
3300 |
+
'type' => 'string',
|
3301 |
+
'location' => 'xml',
|
3302 |
+
),
|
3303 |
+
'Status' => array(
|
3304 |
+
'type' => 'string',
|
3305 |
+
'location' => 'xml',
|
3306 |
+
),
|
3307 |
+
'LastModifiedTime' => array(
|
3308 |
+
'type' => 'string',
|
3309 |
+
'location' => 'xml',
|
3310 |
+
),
|
3311 |
+
'DomainName' => array(
|
3312 |
+
'type' => 'string',
|
3313 |
+
'location' => 'xml',
|
3314 |
+
),
|
3315 |
+
'ActiveTrustedSigners' => array(
|
3316 |
+
'type' => 'object',
|
3317 |
+
'location' => 'xml',
|
3318 |
+
'properties' => array(
|
3319 |
+
'Enabled' => array(
|
3320 |
+
'type' => 'boolean',
|
3321 |
+
),
|
3322 |
+
'Quantity' => array(
|
3323 |
+
'type' => 'numeric',
|
3324 |
+
),
|
3325 |
+
'Items' => array(
|
3326 |
+
'type' => 'array',
|
3327 |
+
'items' => array(
|
3328 |
+
'name' => 'Signer',
|
3329 |
+
'type' => 'object',
|
3330 |
+
'sentAs' => 'Signer',
|
3331 |
+
'properties' => array(
|
3332 |
+
'AwsAccountNumber' => array(
|
3333 |
+
'type' => 'string',
|
3334 |
+
),
|
3335 |
+
'KeyPairIds' => array(
|
3336 |
+
'type' => 'object',
|
3337 |
+
'properties' => array(
|
3338 |
+
'Quantity' => array(
|
3339 |
+
'type' => 'numeric',
|
3340 |
+
),
|
3341 |
+
'Items' => array(
|
3342 |
+
'type' => 'array',
|
3343 |
+
'items' => array(
|
3344 |
+
'name' => 'KeyPairId',
|
3345 |
+
'type' => 'string',
|
3346 |
+
'sentAs' => 'KeyPairId',
|
3347 |
+
),
|
3348 |
+
),
|
3349 |
+
),
|
3350 |
+
),
|
3351 |
+
),
|
3352 |
+
),
|
3353 |
+
),
|
3354 |
+
),
|
3355 |
+
),
|
3356 |
+
'StreamingDistributionConfig' => array(
|
3357 |
+
'type' => 'object',
|
3358 |
+
'location' => 'xml',
|
3359 |
+
'properties' => array(
|
3360 |
+
'CallerReference' => array(
|
3361 |
+
'type' => 'string',
|
3362 |
+
),
|
3363 |
+
'S3Origin' => array(
|
3364 |
+
'type' => 'object',
|
3365 |
+
'properties' => array(
|
3366 |
+
'DomainName' => array(
|
3367 |
+
'type' => 'string',
|
3368 |
+
),
|
3369 |
+
'OriginAccessIdentity' => array(
|
3370 |
+
'type' => 'string',
|
3371 |
+
),
|
3372 |
+
),
|
3373 |
+
),
|
3374 |
+
'Aliases' => array(
|
3375 |
+
'type' => 'object',
|
3376 |
+
'properties' => array(
|
3377 |
+
'Quantity' => array(
|
3378 |
+
'type' => 'numeric',
|
3379 |
+
),
|
3380 |
+
'Items' => array(
|
3381 |
+
'type' => 'array',
|
3382 |
+
'items' => array(
|
3383 |
+
'name' => 'CNAME',
|
3384 |
+
'type' => 'string',
|
3385 |
+
'sentAs' => 'CNAME',
|
3386 |
+
),
|
3387 |
+
),
|
3388 |
+
),
|
3389 |
+
),
|
3390 |
+
'Comment' => array(
|
3391 |
+
'type' => 'string',
|
3392 |
+
),
|
3393 |
+
'Logging' => array(
|
3394 |
+
'type' => 'object',
|
3395 |
+
'properties' => array(
|
3396 |
+
'Enabled' => array(
|
3397 |
+
'type' => 'boolean',
|
3398 |
+
),
|
3399 |
+
'Bucket' => array(
|
3400 |
+
'type' => 'string',
|
3401 |
+
),
|
3402 |
+
'Prefix' => array(
|
3403 |
+
'type' => 'string',
|
3404 |
+
),
|
3405 |
+
),
|
3406 |
+
),
|
3407 |
+
'TrustedSigners' => array(
|
3408 |
+
'type' => 'object',
|
3409 |
+
'properties' => array(
|
3410 |
+
'Enabled' => array(
|
3411 |
+
'type' => 'boolean',
|
3412 |
+
),
|
3413 |
+
'Quantity' => array(
|
3414 |
+
'type' => 'numeric',
|
3415 |
+
),
|
3416 |
+
'Items' => array(
|
3417 |
+
'type' => 'array',
|
3418 |
+
'items' => array(
|
3419 |
+
'name' => 'AwsAccountNumber',
|
3420 |
+
'type' => 'string',
|
3421 |
+
'sentAs' => 'AwsAccountNumber',
|
3422 |
+
),
|
3423 |
+
),
|
3424 |
+
),
|
3425 |
+
),
|
3426 |
+
'PriceClass' => array(
|
3427 |
+
'type' => 'string',
|
3428 |
+
),
|
3429 |
+
'Enabled' => array(
|
3430 |
+
'type' => 'boolean',
|
3431 |
+
),
|
3432 |
+
),
|
3433 |
+
),
|
3434 |
+
'ETag' => array(
|
3435 |
+
'type' => 'string',
|
3436 |
+
'location' => 'header',
|
3437 |
+
),
|
3438 |
+
'RequestId' => array(
|
3439 |
+
'location' => 'header',
|
3440 |
+
'sentAs' => 'x-amz-request-id',
|
3441 |
+
),
|
3442 |
+
),
|
3443 |
+
),
|
3444 |
+
'GetStreamingDistributionConfigResult' => array(
|
3445 |
+
'type' => 'object',
|
3446 |
+
'additionalProperties' => true,
|
3447 |
+
'properties' => array(
|
3448 |
+
'CallerReference' => array(
|
3449 |
+
'type' => 'string',
|
3450 |
+
'location' => 'xml',
|
3451 |
+
),
|
3452 |
+
'S3Origin' => array(
|
3453 |
+
'type' => 'object',
|
3454 |
+
'location' => 'xml',
|
3455 |
+
'properties' => array(
|
3456 |
+
'DomainName' => array(
|
3457 |
+
'type' => 'string',
|
3458 |
+
),
|
3459 |
+
'OriginAccessIdentity' => array(
|
3460 |
+
'type' => 'string',
|
3461 |
+
),
|
3462 |
+
),
|
3463 |
+
),
|
3464 |
+
'Aliases' => array(
|
3465 |
+
'type' => 'object',
|
3466 |
+
'location' => 'xml',
|
3467 |
+
'properties' => array(
|
3468 |
+
'Quantity' => array(
|
3469 |
+
'type' => 'numeric',
|
3470 |
+
),
|
3471 |
+
'Items' => array(
|
3472 |
+
'type' => 'array',
|
3473 |
+
'items' => array(
|
3474 |
+
'name' => 'CNAME',
|
3475 |
+
'type' => 'string',
|
3476 |
+
'sentAs' => 'CNAME',
|
3477 |
+
),
|
3478 |
+
),
|
3479 |
+
),
|
3480 |
+
),
|
3481 |
+
'Comment' => array(
|
3482 |
+
'type' => 'string',
|
3483 |
+
'location' => 'xml',
|
3484 |
+
),
|
3485 |
+
'Logging' => array(
|
3486 |
+
'type' => 'object',
|
3487 |
+
'location' => 'xml',
|
3488 |
+
'properties' => array(
|
3489 |
+
'Enabled' => array(
|
3490 |
+
'type' => 'boolean',
|
3491 |
+
),
|
3492 |
+
'Bucket' => array(
|
3493 |
+
'type' => 'string',
|
3494 |
+
),
|
3495 |
+
'Prefix' => array(
|
3496 |
+
'type' => 'string',
|
3497 |
+
),
|
3498 |
+
),
|
3499 |
+
),
|
3500 |
+
'TrustedSigners' => array(
|
3501 |
+
'type' => 'object',
|
3502 |
+
'location' => 'xml',
|
3503 |
+
'properties' => array(
|
3504 |
+
'Enabled' => array(
|
3505 |
+
'type' => 'boolean',
|
3506 |
+
),
|
3507 |
+
'Quantity' => array(
|
3508 |
+
'type' => 'numeric',
|
3509 |
+
),
|
3510 |
+
'Items' => array(
|
3511 |
+
'type' => 'array',
|
3512 |
+
'items' => array(
|
3513 |
+
'name' => 'AwsAccountNumber',
|
3514 |
+
'type' => 'string',
|
3515 |
+
'sentAs' => 'AwsAccountNumber',
|
3516 |
+
),
|
3517 |
+
),
|
3518 |
+
),
|
3519 |
+
),
|
3520 |
+
'PriceClass' => array(
|
3521 |
+
'type' => 'string',
|
3522 |
+
'location' => 'xml',
|
3523 |
+
),
|
3524 |
+
'Enabled' => array(
|
3525 |
+
'type' => 'boolean',
|
3526 |
+
'location' => 'xml',
|
3527 |
+
),
|
3528 |
+
'ETag' => array(
|
3529 |
+
'type' => 'string',
|
3530 |
+
'location' => 'header',
|
3531 |
+
),
|
3532 |
+
'RequestId' => array(
|
3533 |
+
'location' => 'header',
|
3534 |
+
'sentAs' => 'x-amz-request-id',
|
3535 |
+
),
|
3536 |
+
),
|
3537 |
+
),
|
3538 |
+
'ListCloudFrontOriginAccessIdentitiesResult' => array(
|
3539 |
+
'type' => 'object',
|
3540 |
+
'additionalProperties' => true,
|
3541 |
+
'properties' => array(
|
3542 |
+
'Marker' => array(
|
3543 |
+
'type' => 'string',
|
3544 |
+
'location' => 'xml',
|
3545 |
+
),
|
3546 |
+
'NextMarker' => array(
|
3547 |
+
'type' => 'string',
|
3548 |
+
'location' => 'xml',
|
3549 |
+
),
|
3550 |
+
'MaxItems' => array(
|
3551 |
+
'type' => 'numeric',
|
3552 |
+
'location' => 'xml',
|
3553 |
+
),
|
3554 |
+
'IsTruncated' => array(
|
3555 |
+
'type' => 'boolean',
|
3556 |
+
'location' => 'xml',
|
3557 |
+
),
|
3558 |
+
'Quantity' => array(
|
3559 |
+
'type' => 'numeric',
|
3560 |
+
'location' => 'xml',
|
3561 |
+
),
|
3562 |
+
'Items' => array(
|
3563 |
+
'type' => 'array',
|
3564 |
+
'location' => 'xml',
|
3565 |
+
'items' => array(
|
3566 |
+
'name' => 'CloudFrontOriginAccessIdentitySummary',
|
3567 |
+
'type' => 'object',
|
3568 |
+
'sentAs' => 'CloudFrontOriginAccessIdentitySummary',
|
3569 |
+
'properties' => array(
|
3570 |
+
'Id' => array(
|
3571 |
+
'type' => 'string',
|
3572 |
+
),
|
3573 |
+
'S3CanonicalUserId' => array(
|
3574 |
+
'type' => 'string',
|
3575 |
+
),
|
3576 |
+
'Comment' => array(
|
3577 |
+
'type' => 'string',
|
3578 |
+
),
|
3579 |
+
),
|
3580 |
+
),
|
3581 |
+
),
|
3582 |
+
'RequestId' => array(
|
3583 |
+
'location' => 'header',
|
3584 |
+
'sentAs' => 'x-amz-request-id',
|
3585 |
+
),
|
3586 |
+
),
|
3587 |
+
),
|
3588 |
+
'ListDistributionsResult' => array(
|
3589 |
+
'type' => 'object',
|
3590 |
+
'additionalProperties' => true,
|
3591 |
+
'properties' => array(
|
3592 |
+
'Marker' => array(
|
3593 |
+
'type' => 'string',
|
3594 |
+
'location' => 'xml',
|
3595 |
+
),
|
3596 |
+
'NextMarker' => array(
|
3597 |
+
'type' => 'string',
|
3598 |
+
'location' => 'xml',
|
3599 |
+
),
|
3600 |
+
'MaxItems' => array(
|
3601 |
+
'type' => 'numeric',
|
3602 |
+
'location' => 'xml',
|
3603 |
+
),
|
3604 |
+
'IsTruncated' => array(
|
3605 |
+
'type' => 'boolean',
|
3606 |
+
'location' => 'xml',
|
3607 |
+
),
|
3608 |
+
'Quantity' => array(
|
3609 |
+
'type' => 'numeric',
|
3610 |
+
'location' => 'xml',
|
3611 |
+
),
|
3612 |
+
'Items' => array(
|
3613 |
+
'type' => 'array',
|
3614 |
+
'location' => 'xml',
|
3615 |
+
'items' => array(
|
3616 |
+
'name' => 'DistributionSummary',
|
3617 |
+
'type' => 'object',
|
3618 |
+
'sentAs' => 'DistributionSummary',
|
3619 |
+
'properties' => array(
|
3620 |
+
'Id' => array(
|
3621 |
+
'type' => 'string',
|
3622 |
+
),
|
3623 |
+
'Status' => array(
|
3624 |
+
'type' => 'string',
|
3625 |
+
),
|
3626 |
+
'LastModifiedTime' => array(
|
3627 |
+
'type' => 'string',
|
3628 |
+
),
|
3629 |
+
'DomainName' => array(
|
3630 |
+
'type' => 'string',
|
3631 |
+
),
|
3632 |
+
'Aliases' => array(
|
3633 |
+
'type' => 'object',
|
3634 |
+
'properties' => array(
|
3635 |
+
'Quantity' => array(
|
3636 |
+
'type' => 'numeric',
|
3637 |
+
),
|
3638 |
+
'Items' => array(
|
3639 |
+
'type' => 'array',
|
3640 |
+
'items' => array(
|
3641 |
+
'name' => 'CNAME',
|
3642 |
+
'type' => 'string',
|
3643 |
+
'sentAs' => 'CNAME',
|
3644 |
+
),
|
3645 |
+
),
|
3646 |
+
),
|
3647 |
+
),
|
3648 |
+
'Origins' => array(
|
3649 |
+
'type' => 'object',
|
3650 |
+
'properties' => array(
|
3651 |
+
'Quantity' => array(
|
3652 |
+
'type' => 'numeric',
|
3653 |
+
),
|
3654 |
+
'Items' => array(
|
3655 |
+
'type' => 'array',
|
3656 |
+
'items' => array(
|
3657 |
+
'name' => 'Origin',
|
3658 |
+
'type' => 'object',
|
3659 |
+
'sentAs' => 'Origin',
|
3660 |
+
'properties' => array(
|
3661 |
+
'Id' => array(
|
3662 |
+
'type' => 'string',
|
3663 |
+
),
|
3664 |
+
'DomainName' => array(
|
3665 |
+
'type' => 'string',
|
3666 |
+
),
|
3667 |
+
'S3OriginConfig' => array(
|
3668 |
+
'type' => 'object',
|
3669 |
+
'properties' => array(
|
3670 |
+
'OriginAccessIdentity' => array(
|
3671 |
+
'type' => 'string',
|
3672 |
+
),
|
3673 |
+
),
|
3674 |
+
),
|
3675 |
+
'CustomOriginConfig' => array(
|
3676 |
+
'type' => 'object',
|
3677 |
+
'properties' => array(
|
3678 |
+
'HTTPPort' => array(
|
3679 |
+
'type' => 'numeric',
|
3680 |
+
),
|
3681 |
+
'HTTPSPort' => array(
|
3682 |
+
'type' => 'numeric',
|
3683 |
+
),
|
3684 |
+
'OriginProtocolPolicy' => array(
|
3685 |
+
'type' => 'string',
|
3686 |
+
),
|
3687 |
+
),
|
3688 |
+
),
|
3689 |
+
),
|
3690 |
+
),
|
3691 |
+
),
|
3692 |
+
),
|
3693 |
+
),
|
3694 |
+
'DefaultCacheBehavior' => array(
|
3695 |
+
'type' => 'object',
|
3696 |
+
'properties' => array(
|
3697 |
+
'TargetOriginId' => array(
|
3698 |
+
'type' => 'string',
|
3699 |
+
),
|
3700 |
+
'ForwardedValues' => array(
|
3701 |
+
'type' => 'object',
|
3702 |
+
'properties' => array(
|
3703 |
+
'QueryString' => array(
|
3704 |
+
'type' => 'boolean',
|
3705 |
+
),
|
3706 |
+
'Cookies' => array(
|
3707 |
+
'type' => 'object',
|
3708 |
+
'properties' => array(
|
3709 |
+
'Forward' => array(
|
3710 |
+
'type' => 'string',
|
3711 |
+
),
|
3712 |
+
'WhitelistedNames' => array(
|
3713 |
+
'type' => 'object',
|
3714 |
+
'properties' => array(
|
3715 |
+
'Quantity' => array(
|
3716 |
+
'type' => 'numeric',
|
3717 |
+
),
|
3718 |
+
'Items' => array(
|
3719 |
+
'type' => 'array',
|
3720 |
+
'items' => array(
|
3721 |
+
'name' => 'Name',
|
3722 |
+
'type' => 'string',
|
3723 |
+
'sentAs' => 'Name',
|
3724 |
+
),
|
3725 |
+
),
|
3726 |
+
),
|
3727 |
+
),
|
3728 |
+
),
|
3729 |
+
),
|
3730 |
+
),
|
3731 |
+
),
|
3732 |
+
'TrustedSigners' => array(
|
3733 |
+
'type' => 'object',
|
3734 |
+
'properties' => array(
|
3735 |
+
'Enabled' => array(
|
3736 |
+
'type' => 'boolean',
|
3737 |
+
),
|
3738 |
+
'Quantity' => array(
|
3739 |
+
'type' => 'numeric',
|
3740 |
+
),
|
3741 |
+
'Items' => array(
|
3742 |
+
'type' => 'array',
|
3743 |
+
'items' => array(
|
3744 |
+
'name' => 'AwsAccountNumber',
|
3745 |
+
'type' => 'string',
|
3746 |
+
'sentAs' => 'AwsAccountNumber',
|
3747 |
+
),
|
3748 |
+
),
|
3749 |
+
),
|
3750 |
+
),
|
3751 |
+
'ViewerProtocolPolicy' => array(
|
3752 |
+
'type' => 'string',
|
3753 |
+
),
|
3754 |
+
'MinTTL' => array(
|
3755 |
+
'type' => 'numeric',
|
3756 |
+
),
|
3757 |
+
),
|
3758 |
+
),
|
3759 |
+
'CacheBehaviors' => array(
|
3760 |
+
'type' => 'object',
|
3761 |
+
'properties' => array(
|
3762 |
+
'Quantity' => array(
|
3763 |
+
'type' => 'numeric',
|
3764 |
+
),
|
3765 |
+
'Items' => array(
|
3766 |
+
'type' => 'array',
|
3767 |
+
'items' => array(
|
3768 |
+
'name' => 'CacheBehavior',
|
3769 |
+
'type' => 'object',
|
3770 |
+
'sentAs' => 'CacheBehavior',
|
3771 |
+
'properties' => array(
|
3772 |
+
'PathPattern' => array(
|
3773 |
+
'type' => 'string',
|
3774 |
+
),
|
3775 |
+
'TargetOriginId' => array(
|
3776 |
+
'type' => 'string',
|
3777 |
+
),
|
3778 |
+
'ForwardedValues' => array(
|
3779 |
+
'type' => 'object',
|
3780 |
+
'properties' => array(
|
3781 |
+
'QueryString' => array(
|
3782 |
+
'type' => 'boolean',
|
3783 |
+
),
|
3784 |
+
'Cookies' => array(
|
3785 |
+
'type' => 'object',
|
3786 |
+
'properties' => array(
|
3787 |
+
'Forward' => array(
|
3788 |
+
'type' => 'string',
|
3789 |
+
),
|
3790 |
+
'WhitelistedNames' => array(
|
3791 |
+
'type' => 'object',
|
3792 |
+
'properties' => array(
|
3793 |
+
'Quantity' => array(
|
3794 |
+
'type' => 'numeric',
|
3795 |
+
),
|
3796 |
+
'Items' => array(
|
3797 |
+
'type' => 'array',
|
3798 |
+
'items' => array(
|
3799 |
+
'name' => 'Name',
|
3800 |
+
'type' => 'string',
|
3801 |
+
'sentAs' => 'Name',
|
3802 |
+
),
|
3803 |
+
),
|
3804 |
+
),
|
3805 |
+
),
|
3806 |
+
),
|
3807 |
+
),
|
3808 |
+
),
|
3809 |
+
),
|
3810 |
+
'TrustedSigners' => array(
|
3811 |
+
'type' => 'object',
|
3812 |
+
'properties' => array(
|
3813 |
+
'Enabled' => array(
|
3814 |
+
'type' => 'boolean',
|
3815 |
+
),
|
3816 |
+
'Quantity' => array(
|
3817 |
+
'type' => 'numeric',
|
3818 |
+
),
|
3819 |
+
'Items' => array(
|
3820 |
+
'type' => 'array',
|
3821 |
+
'items' => array(
|
3822 |
+
'name' => 'AwsAccountNumber',
|
3823 |
+
'type' => 'string',
|
3824 |
+
'sentAs' => 'AwsAccountNumber',
|
3825 |
+
),
|
3826 |
+
),
|
3827 |
+
),
|
3828 |
+
),
|
3829 |
+
'ViewerProtocolPolicy' => array(
|
3830 |
+
'type' => 'string',
|
3831 |
+
),
|
3832 |
+
'MinTTL' => array(
|
3833 |
+
'type' => 'numeric',
|
3834 |
+
),
|
3835 |
+
),
|
3836 |
+
),
|
3837 |
+
),
|
3838 |
+
),
|
3839 |
+
),
|
3840 |
+
'Comment' => array(
|
3841 |
+
'type' => 'string',
|
3842 |
+
),
|
3843 |
+
'PriceClass' => array(
|
3844 |
+
'type' => 'string',
|
3845 |
+
),
|
3846 |
+
'Enabled' => array(
|
3847 |
+
'type' => 'boolean',
|
3848 |
+
),
|
3849 |
+
'ViewerCertificate' => array(
|
3850 |
+
'type' => 'object',
|
3851 |
+
'properties' => array(
|
3852 |
+
'IAMCertificateId' => array(
|
3853 |
+
'type' => 'string',
|
3854 |
+
),
|
3855 |
+
'CloudFrontDefaultCertificate' => array(
|
3856 |
+
'type' => 'boolean',
|
3857 |
+
),
|
3858 |
+
),
|
3859 |
+
),
|
3860 |
+
),
|
3861 |
+
),
|
3862 |
+
),
|
3863 |
+
'RequestId' => array(
|
3864 |
+
'location' => 'header',
|
3865 |
+
'sentAs' => 'x-amz-request-id',
|
3866 |
+
),
|
3867 |
+
),
|
3868 |
+
),
|
3869 |
+
'ListInvalidationsResult' => array(
|
3870 |
+
'type' => 'object',
|
3871 |
+
'additionalProperties' => true,
|
3872 |
+
'properties' => array(
|
3873 |
+
'Marker' => array(
|
3874 |
+
'type' => 'string',
|
3875 |
+
'location' => 'xml',
|
3876 |
+
),
|
3877 |
+
'NextMarker' => array(
|
3878 |
+
'type' => 'string',
|
3879 |
+
'location' => 'xml',
|
3880 |
+
),
|
3881 |
+
'MaxItems' => array(
|
3882 |
+
'type' => 'numeric',
|
3883 |
+
'location' => 'xml',
|
3884 |
+
),
|
3885 |
+
'IsTruncated' => array(
|
3886 |
+
'type' => 'boolean',
|
3887 |
+
'location' => 'xml',
|
3888 |
+
),
|
3889 |
+
'Quantity' => array(
|
3890 |
+
'type' => 'numeric',
|
3891 |
+
'location' => 'xml',
|
3892 |
+
),
|
3893 |
+
'Items' => array(
|
3894 |
+
'type' => 'array',
|
3895 |
+
'location' => 'xml',
|
3896 |
+
'items' => array(
|
3897 |
+
'name' => 'InvalidationSummary',
|
3898 |
+
'type' => 'object',
|
3899 |
+
'sentAs' => 'InvalidationSummary',
|
3900 |
+
'properties' => array(
|
3901 |
+
'Id' => array(
|
3902 |
+
'type' => 'string',
|
3903 |
+
),
|
3904 |
+
'CreateTime' => array(
|
3905 |
+
'type' => 'string',
|
3906 |
+
),
|
3907 |
+
'Status' => array(
|
3908 |
+
'type' => 'string',
|
3909 |
+
),
|
3910 |
+
),
|
3911 |
+
),
|
3912 |
+
),
|
3913 |
+
'RequestId' => array(
|
3914 |
+
'location' => 'header',
|
3915 |
+
'sentAs' => 'x-amz-request-id',
|
3916 |
+
),
|
3917 |
+
),
|
3918 |
+
),
|
3919 |
+
'ListStreamingDistributionsResult' => array(
|
3920 |
+
'type' => 'object',
|
3921 |
+
'additionalProperties' => true,
|
3922 |
+
'properties' => array(
|
3923 |
+
'Marker' => array(
|
3924 |
+
'type' => 'string',
|
3925 |
+
'location' => 'xml',
|
3926 |
+
),
|
3927 |
+
'NextMarker' => array(
|
3928 |
+
'type' => 'string',
|
3929 |
+
'location' => 'xml',
|
3930 |
+
),
|
3931 |
+
'MaxItems' => array(
|
3932 |
+
'type' => 'numeric',
|
3933 |
+
'location' => 'xml',
|
3934 |
+
),
|
3935 |
+
'IsTruncated' => array(
|
3936 |
+
'type' => 'boolean',
|
3937 |
+
'location' => 'xml',
|
3938 |
+
),
|
3939 |
+
'Quantity' => array(
|
3940 |
+
'type' => 'numeric',
|
3941 |
+
'location' => 'xml',
|
3942 |
+
),
|
3943 |
+
'Items' => array(
|
3944 |
+
'type' => 'array',
|
3945 |
+
'location' => 'xml',
|
3946 |
+
'items' => array(
|
3947 |
+
'name' => 'StreamingDistributionSummary',
|
3948 |
+
'type' => 'object',
|
3949 |
+
'sentAs' => 'StreamingDistributionSummary',
|
3950 |
+
'properties' => array(
|
3951 |
+
'Id' => array(
|
3952 |
+
'type' => 'string',
|
3953 |
+
),
|
3954 |
+
'Status' => array(
|
3955 |
+
'type' => 'string',
|
3956 |
+
),
|
3957 |
+
'LastModifiedTime' => array(
|
3958 |
+
'type' => 'string',
|
3959 |
+
),
|
3960 |
+
'DomainName' => array(
|
3961 |
+
'type' => 'string',
|
3962 |
+
),
|
3963 |
+
'S3Origin' => array(
|
3964 |
+
'type' => 'object',
|
3965 |
+
'properties' => array(
|
3966 |
+
'DomainName' => array(
|
3967 |
+
'type' => 'string',
|
3968 |
+
),
|
3969 |
+
'OriginAccessIdentity' => array(
|
3970 |
+
'type' => 'string',
|
3971 |
+
),
|
3972 |
+
),
|
3973 |
+
),
|
3974 |
+
'Aliases' => array(
|
3975 |
+
'type' => 'object',
|
3976 |
+
'properties' => array(
|
3977 |
+
'Quantity' => array(
|
3978 |
+
'type' => 'numeric',
|
3979 |
+
),
|
3980 |
+
'Items' => array(
|
3981 |
+
'type' => 'array',
|
3982 |
+
'items' => array(
|
3983 |
+
'name' => 'CNAME',
|
3984 |
+
'type' => 'string',
|
3985 |
+
'sentAs' => 'CNAME',
|
3986 |
+
),
|
3987 |
+
),
|
3988 |
+
),
|
3989 |
+
),
|
3990 |
+
'TrustedSigners' => array(
|
3991 |
+
'type' => 'object',
|
3992 |
+
'properties' => array(
|
3993 |
+
'Enabled' => array(
|
3994 |
+
'type' => 'boolean',
|
3995 |
+
),
|
3996 |
+
'Quantity' => array(
|
3997 |
+
'type' => 'numeric',
|
3998 |
+
),
|
3999 |
+
'Items' => array(
|
4000 |
+
'type' => 'array',
|
4001 |
+
'items' => array(
|
4002 |
+
'name' => 'AwsAccountNumber',
|
4003 |
+
'type' => 'string',
|
4004 |
+
'sentAs' => 'AwsAccountNumber',
|
4005 |
+
),
|
4006 |
+
),
|
4007 |
+
),
|
4008 |
+
),
|
4009 |
+
'Comment' => array(
|
4010 |
+
'type' => 'string',
|
4011 |
+
),
|
4012 |
+
'PriceClass' => array(
|
4013 |
+
'type' => 'string',
|
4014 |
+
),
|
4015 |
+
'Enabled' => array(
|
4016 |
+
'type' => 'boolean',
|
4017 |
+
),
|
4018 |
+
),
|
4019 |
+
),
|
4020 |
+
),
|
4021 |
+
'RequestId' => array(
|
4022 |
+
'location' => 'header',
|
4023 |
+
'sentAs' => 'x-amz-request-id',
|
4024 |
+
),
|
4025 |
+
),
|
4026 |
+
),
|
4027 |
+
'UpdateCloudFrontOriginAccessIdentityResult' => array(
|
4028 |
+
'type' => 'object',
|
4029 |
+
'additionalProperties' => true,
|
4030 |
+
'properties' => array(
|
4031 |
+
'Id' => array(
|
4032 |
+
'type' => 'string',
|
4033 |
+
'location' => 'xml',
|
4034 |
+
),
|
4035 |
+
'S3CanonicalUserId' => array(
|
4036 |
+
'type' => 'string',
|
4037 |
+
'location' => 'xml',
|
4038 |
+
),
|
4039 |
+
'CloudFrontOriginAccessIdentityConfig' => array(
|
4040 |
+
'type' => 'object',
|
4041 |
+
'location' => 'xml',
|
4042 |
+
'properties' => array(
|
4043 |
+
'CallerReference' => array(
|
4044 |
+
'type' => 'string',
|
4045 |
+
),
|
4046 |
+
'Comment' => array(
|
4047 |
+
'type' => 'string',
|
4048 |
+
),
|
4049 |
+
),
|
4050 |
+
),
|
4051 |
+
'ETag' => array(
|
4052 |
+
'type' => 'string',
|
4053 |
+
'location' => 'header',
|
4054 |
+
),
|
4055 |
+
'RequestId' => array(
|
4056 |
+
'location' => 'header',
|
4057 |
+
'sentAs' => 'x-amz-request-id',
|
4058 |
+
),
|
4059 |
+
),
|
4060 |
+
),
|
4061 |
+
'UpdateDistributionResult' => array(
|
4062 |
+
'type' => 'object',
|
4063 |
+
'additionalProperties' => true,
|
4064 |
+
'properties' => array(
|
4065 |
+
'Id' => array(
|
4066 |
+
'type' => 'string',
|
4067 |
+
'location' => 'xml',
|
4068 |
+
),
|
4069 |
+
'Status' => array(
|
4070 |
+
'type' => 'string',
|
4071 |
+
'location' => 'xml',
|
4072 |
+
),
|
4073 |
+
'LastModifiedTime' => array(
|
4074 |
+
'type' => 'string',
|
4075 |
+
'location' => 'xml',
|
4076 |
+
),
|
4077 |
+
'InProgressInvalidationBatches' => array(
|
4078 |
+
'type' => 'numeric',
|
4079 |
+
'location' => 'xml',
|
4080 |
+
),
|
4081 |
+
'DomainName' => array(
|
4082 |
+
'type' => 'string',
|
4083 |
+
'location' => 'xml',
|
4084 |
+
),
|
4085 |
+
'ActiveTrustedSigners' => array(
|
4086 |
+
'type' => 'object',
|
4087 |
+
'location' => 'xml',
|
4088 |
+
'properties' => array(
|
4089 |
+
'Enabled' => array(
|
4090 |
+
'type' => 'boolean',
|
4091 |
+
),
|
4092 |
+
'Quantity' => array(
|
4093 |
+
'type' => 'numeric',
|
4094 |
+
),
|
4095 |
+
'Items' => array(
|
4096 |
+
'type' => 'array',
|
4097 |
+
'items' => array(
|
4098 |
+
'name' => 'Signer',
|
4099 |
+
'type' => 'object',
|
4100 |
+
'sentAs' => 'Signer',
|
4101 |
+
'properties' => array(
|
4102 |
+
'AwsAccountNumber' => array(
|
4103 |
+
'type' => 'string',
|
4104 |
+
),
|
4105 |
+
'KeyPairIds' => array(
|
4106 |
+
'type' => 'object',
|
4107 |
+
'properties' => array(
|
4108 |
+
'Quantity' => array(
|
4109 |
+
'type' => 'numeric',
|
4110 |
+
),
|
4111 |
+
'Items' => array(
|
4112 |
+
'type' => 'array',
|
4113 |
+
'items' => array(
|
4114 |
+
'name' => 'KeyPairId',
|
4115 |
+
'type' => 'string',
|
4116 |
+
'sentAs' => 'KeyPairId',
|
4117 |
+
),
|
4118 |
+
),
|
4119 |
+
),
|
4120 |
+
),
|
4121 |
+
),
|
4122 |
+
),
|
4123 |
+
),
|
4124 |
+
),
|
4125 |
+
),
|
4126 |
+
'DistributionConfig' => array(
|
4127 |
+
'type' => 'object',
|
4128 |
+
'location' => 'xml',
|
4129 |
+
'properties' => array(
|
4130 |
+
'CallerReference' => array(
|
4131 |
+
'type' => 'string',
|
4132 |
+
),
|
4133 |
+
'Aliases' => array(
|
4134 |
+
'type' => 'object',
|
4135 |
+
'properties' => array(
|
4136 |
+
'Quantity' => array(
|
4137 |
+
'type' => 'numeric',
|
4138 |
+
),
|
4139 |
+
'Items' => array(
|
4140 |
+
'type' => 'array',
|
4141 |
+
'items' => array(
|
4142 |
+
'name' => 'CNAME',
|
4143 |
+
'type' => 'string',
|
4144 |
+
'sentAs' => 'CNAME',
|
4145 |
+
),
|
4146 |
+
),
|
4147 |
+
),
|
4148 |
+
),
|
4149 |
+
'DefaultRootObject' => array(
|
4150 |
+
'type' => 'string',
|
4151 |
+
),
|
4152 |
+
'Origins' => array(
|
4153 |
+
'type' => 'object',
|
4154 |
+
'properties' => array(
|
4155 |
+
'Quantity' => array(
|
4156 |
+
'type' => 'numeric',
|
4157 |
+
),
|
4158 |
+
'Items' => array(
|
4159 |
+
'type' => 'array',
|
4160 |
+
'items' => array(
|
4161 |
+
'name' => 'Origin',
|
4162 |
+
'type' => 'object',
|
4163 |
+
'sentAs' => 'Origin',
|
4164 |
+
'properties' => array(
|
4165 |
+
'Id' => array(
|
4166 |
+
'type' => 'string',
|
4167 |
+
),
|
4168 |
+
'DomainName' => array(
|
4169 |
+
'type' => 'string',
|
4170 |
+
),
|
4171 |
+
'S3OriginConfig' => array(
|
4172 |
+
'type' => 'object',
|
4173 |
+
'properties' => array(
|
4174 |
+
'OriginAccessIdentity' => array(
|
4175 |
+
'type' => 'string',
|
4176 |
+
),
|
4177 |
+
),
|
4178 |
+
),
|
4179 |
+
'CustomOriginConfig' => array(
|
4180 |
+
'type' => 'object',
|
4181 |
+
'properties' => array(
|
4182 |
+
'HTTPPort' => array(
|
4183 |
+
'type' => 'numeric',
|
4184 |
+
),
|
4185 |
+
'HTTPSPort' => array(
|
4186 |
+
'type' => 'numeric',
|
4187 |
+
),
|
4188 |
+
'OriginProtocolPolicy' => array(
|
4189 |
+
'type' => 'string',
|
4190 |
+
),
|
4191 |
+
),
|
4192 |
+
),
|
4193 |
+
),
|
4194 |
+
),
|
4195 |
+
),
|
4196 |
+
),
|
4197 |
+
),
|
4198 |
+
'DefaultCacheBehavior' => array(
|
4199 |
+
'type' => 'object',
|
4200 |
+
'properties' => array(
|
4201 |
+
'TargetOriginId' => array(
|
4202 |
+
'type' => 'string',
|
4203 |
+
),
|
4204 |
+
'ForwardedValues' => array(
|
4205 |
+
'type' => 'object',
|
4206 |
+
'properties' => array(
|
4207 |
+
'QueryString' => array(
|
4208 |
+
'type' => 'boolean',
|
4209 |
+
),
|
4210 |
+
'Cookies' => array(
|
4211 |
+
'type' => 'object',
|
4212 |
+
'properties' => array(
|
4213 |
+
'Forward' => array(
|
4214 |
+
'type' => 'string',
|
4215 |
+
),
|
4216 |
+
'WhitelistedNames' => array(
|
4217 |
+
'type' => 'object',
|
4218 |
+
'properties' => array(
|
4219 |
+
'Quantity' => array(
|
4220 |
+
'type' => 'numeric',
|
4221 |
+
),
|
4222 |
+
'Items' => array(
|
4223 |
+
'type' => 'array',
|
4224 |
+
'items' => array(
|
4225 |
+
'name' => 'Name',
|
4226 |
+
'type' => 'string',
|
4227 |
+
'sentAs' => 'Name',
|
4228 |
+
),
|
4229 |
+
),
|
4230 |
+
),
|
4231 |
+
),
|
4232 |
+
),
|
4233 |
+
),
|
4234 |
+
),
|
4235 |
+
),
|
4236 |
+
'TrustedSigners' => array(
|
4237 |
+
'type' => 'object',
|
4238 |
+
'properties' => array(
|
4239 |
+
'Enabled' => array(
|
4240 |
+
'type' => 'boolean',
|
4241 |
+
),
|
4242 |
+
'Quantity' => array(
|
4243 |
+
'type' => 'numeric',
|
4244 |
+
),
|
4245 |
+
'Items' => array(
|
4246 |
+
'type' => 'array',
|
4247 |
+
'items' => array(
|
4248 |
+
'name' => 'AwsAccountNumber',
|
4249 |
+
'type' => 'string',
|
4250 |
+
'sentAs' => 'AwsAccountNumber',
|
4251 |
+
),
|
4252 |
+
),
|
4253 |
+
),
|
4254 |
+
),
|
4255 |
+
'ViewerProtocolPolicy' => array(
|
4256 |
+
'type' => 'string',
|
4257 |
+
),
|
4258 |
+
'MinTTL' => array(
|
4259 |
+
'type' => 'numeric',
|
4260 |
+
),
|
4261 |
+
),
|
4262 |
+
),
|
4263 |
+
'CacheBehaviors' => array(
|
4264 |
+
'type' => 'object',
|
4265 |
+
'properties' => array(
|
4266 |
+
'Quantity' => array(
|
4267 |
+
'type' => 'numeric',
|
4268 |
+
),
|
4269 |
+
'Items' => array(
|
4270 |
+
'type' => 'array',
|
4271 |
+
'items' => array(
|
4272 |
+
'name' => 'CacheBehavior',
|
4273 |
+
'type' => 'object',
|
4274 |
+
'sentAs' => 'CacheBehavior',
|
4275 |
+
'properties' => array(
|
4276 |
+
'PathPattern' => array(
|
4277 |
+
'type' => 'string',
|
4278 |
+
),
|
4279 |
+
'TargetOriginId' => array(
|
4280 |
+
'type' => 'string',
|
4281 |
+
),
|
4282 |
+
'ForwardedValues' => array(
|
4283 |
+
'type' => 'object',
|
4284 |
+
'properties' => array(
|
4285 |
+
'QueryString' => array(
|
4286 |
+
'type' => 'boolean',
|
4287 |
+
),
|
4288 |
+
'Cookies' => array(
|
4289 |
+
'type' => 'object',
|
4290 |
+
'properties' => array(
|
4291 |
+
'Forward' => array(
|
4292 |
+
'type' => 'string',
|
4293 |
+
),
|
4294 |
+
'WhitelistedNames' => array(
|
4295 |
+
'type' => 'object',
|
4296 |
+
'properties' => array(
|
4297 |
+
'Quantity' => array(
|
4298 |
+
'type' => 'numeric',
|
4299 |
+
),
|
4300 |
+
'Items' => array(
|
4301 |
+
'type' => 'array',
|
4302 |
+
'items' => array(
|
4303 |
+
'name' => 'Name',
|
4304 |
+
'type' => 'string',
|
4305 |
+
'sentAs' => 'Name',
|
4306 |
+
),
|
4307 |
+
),
|
4308 |
+
),
|
4309 |
+
),
|
4310 |
+
),
|
4311 |
+
),
|
4312 |
+
),
|
4313 |
+
),
|
4314 |
+
'TrustedSigners' => array(
|
4315 |
+
'type' => 'object',
|
4316 |
+
'properties' => array(
|
4317 |
+
'Enabled' => array(
|
4318 |
+
'type' => 'boolean',
|
4319 |
+
),
|
4320 |
+
'Quantity' => array(
|
4321 |
+
'type' => 'numeric',
|
4322 |
+
),
|
4323 |
+
'Items' => array(
|
4324 |
+
'type' => 'array',
|
4325 |
+
'items' => array(
|
4326 |
+
'name' => 'AwsAccountNumber',
|
4327 |
+
'type' => 'string',
|
4328 |
+
'sentAs' => 'AwsAccountNumber',
|
4329 |
+
),
|
4330 |
+
),
|
4331 |
+
),
|
4332 |
+
),
|
4333 |
+
'ViewerProtocolPolicy' => array(
|
4334 |
+
'type' => 'string',
|
4335 |
+
),
|
4336 |
+
'MinTTL' => array(
|
4337 |
+
'type' => 'numeric',
|
4338 |
+
),
|
4339 |
+
),
|
4340 |
+
),
|
4341 |
+
),
|
4342 |
+
),
|
4343 |
+
),
|
4344 |
+
'Comment' => array(
|
4345 |
+
'type' => 'string',
|
4346 |
+
),
|
4347 |
+
'Logging' => array(
|
4348 |
+
'type' => 'object',
|
4349 |
+
'properties' => array(
|
4350 |
+
'Enabled' => array(
|
4351 |
+
'type' => 'boolean',
|
4352 |
+
),
|
4353 |
+
'IncludeCookies' => array(
|
4354 |
+
'type' => 'boolean',
|
4355 |
+
),
|
4356 |
+
'Bucket' => array(
|
4357 |
+
'type' => 'string',
|
4358 |
+
),
|
4359 |
+
'Prefix' => array(
|
4360 |
+
'type' => 'string',
|
4361 |
+
),
|
4362 |
+
),
|
4363 |
+
),
|
4364 |
+
'PriceClass' => array(
|
4365 |
+
'type' => 'string',
|
4366 |
+
),
|
4367 |
+
'Enabled' => array(
|
4368 |
+
'type' => 'boolean',
|
4369 |
+
),
|
4370 |
+
'ViewerCertificate' => array(
|
4371 |
+
'type' => 'object',
|
4372 |
+
'properties' => array(
|
4373 |
+
'IAMCertificateId' => array(
|
4374 |
+
'type' => 'string',
|
4375 |
+
),
|
4376 |
+
'CloudFrontDefaultCertificate' => array(
|
4377 |
+
'type' => 'boolean',
|
4378 |
+
),
|
4379 |
+
),
|
4380 |
+
),
|
4381 |
+
),
|
4382 |
+
),
|
4383 |
+
'ETag' => array(
|
4384 |
+
'type' => 'string',
|
4385 |
+
'location' => 'header',
|
4386 |
+
),
|
4387 |
+
'RequestId' => array(
|
4388 |
+
'location' => 'header',
|
4389 |
+
'sentAs' => 'x-amz-request-id',
|
4390 |
+
),
|
4391 |
+
),
|
4392 |
+
),
|
4393 |
+
'UpdateStreamingDistributionResult' => array(
|
4394 |
+
'type' => 'object',
|
4395 |
+
'additionalProperties' => true,
|
4396 |
+
'properties' => array(
|
4397 |
+
'Id' => array(
|
4398 |
+
'type' => 'string',
|
4399 |
+
'location' => 'xml',
|
4400 |
+
),
|
4401 |
+
'Status' => array(
|
4402 |
+
'type' => 'string',
|
4403 |
+
'location' => 'xml',
|
4404 |
+
),
|
4405 |
+
'LastModifiedTime' => array(
|
4406 |
+
'type' => 'string',
|
4407 |
+
'location' => 'xml',
|
4408 |
+
),
|
4409 |
+
'DomainName' => array(
|
4410 |
+
'type' => 'string',
|
4411 |
+
'location' => 'xml',
|
4412 |
+
),
|
4413 |
+
'ActiveTrustedSigners' => array(
|
4414 |
+
'type' => 'object',
|
4415 |
+
'location' => 'xml',
|
4416 |
+
'properties' => array(
|
4417 |
+
'Enabled' => array(
|
4418 |
+
'type' => 'boolean',
|
4419 |
+
),
|
4420 |
+
'Quantity' => array(
|
4421 |
+
'type' => 'numeric',
|
4422 |
+
),
|
4423 |
+
'Items' => array(
|
4424 |
+
'type' => 'array',
|
4425 |
+
'items' => array(
|
4426 |
+
'name' => 'Signer',
|
4427 |
+
'type' => 'object',
|
4428 |
+
'sentAs' => 'Signer',
|
4429 |
+
'properties' => array(
|
4430 |
+
'AwsAccountNumber' => array(
|
4431 |
+
'type' => 'string',
|
4432 |
+
),
|
4433 |
+
'KeyPairIds' => array(
|
4434 |
+
'type' => 'object',
|
4435 |
+
'properties' => array(
|
4436 |
+
'Quantity' => array(
|
4437 |
+
'type' => 'numeric',
|
4438 |
+
),
|
4439 |
+
'Items' => array(
|
4440 |
+
'type' => 'array',
|
4441 |
+
'items' => array(
|
4442 |
+
'name' => 'KeyPairId',
|
4443 |
+
'type' => 'string',
|
4444 |
+
'sentAs' => 'KeyPairId',
|
4445 |
+
),
|
4446 |
+
),
|
4447 |
+
),
|
4448 |
+
),
|
4449 |
+
),
|
4450 |
+
),
|
4451 |
+
),
|
4452 |
+
),
|
4453 |
+
),
|
4454 |
+
'StreamingDistributionConfig' => array(
|
4455 |
+
'type' => 'object',
|
4456 |
+
'location' => 'xml',
|
4457 |
+
'properties' => array(
|
4458 |
+
'CallerReference' => array(
|
4459 |
+
'type' => 'string',
|
4460 |
+
),
|
4461 |
+
'S3Origin' => array(
|
4462 |
+
'type' => 'object',
|
4463 |
+
'properties' => array(
|
4464 |
+
'DomainName' => array(
|
4465 |
+
'type' => 'string',
|
4466 |
+
),
|
4467 |
+
'OriginAccessIdentity' => array(
|
4468 |
+
'type' => 'string',
|
4469 |
+
),
|
4470 |
+
),
|
4471 |
+
),
|
4472 |
+
'Aliases' => array(
|
4473 |
+
'type' => 'object',
|
4474 |
+
'properties' => array(
|
4475 |
+
'Quantity' => array(
|
4476 |
+
'type' => 'numeric',
|
4477 |
+
),
|
4478 |
+
'Items' => array(
|
4479 |
+
'type' => 'array',
|
4480 |
+
'items' => array(
|
4481 |
+
'name' => 'CNAME',
|
4482 |
+
'type' => 'string',
|
4483 |
+
'sentAs' => 'CNAME',
|
4484 |
+
),
|
4485 |
+
),
|
4486 |
+
),
|
4487 |
+
),
|
4488 |
+
'Comment' => array(
|
4489 |
+
'type' => 'string',
|
4490 |
+
),
|
4491 |
+
'Logging' => array(
|
4492 |
+
'type' => 'object',
|
4493 |
+
'properties' => array(
|
4494 |
+
'Enabled' => array(
|
4495 |
+
'type' => 'boolean',
|
4496 |
+
),
|
4497 |
+
'Bucket' => array(
|
4498 |
+
'type' => 'string',
|
4499 |
+
),
|
4500 |
+
'Prefix' => array(
|
4501 |
+
'type' => 'string',
|
4502 |
+
),
|
4503 |
+
),
|
4504 |
+
),
|
4505 |
+
'TrustedSigners' => array(
|
4506 |
+
'type' => 'object',
|
4507 |
+
'properties' => array(
|
4508 |
+
'Enabled' => array(
|
4509 |
+
'type' => 'boolean',
|
4510 |
+
),
|
4511 |
+
'Quantity' => array(
|
4512 |
+
'type' => 'numeric',
|
4513 |
+
),
|
4514 |
+
'Items' => array(
|
4515 |
+
'type' => 'array',
|
4516 |
+
'items' => array(
|
4517 |
+
'name' => 'AwsAccountNumber',
|
4518 |
+
'type' => 'string',
|
4519 |
+
'sentAs' => 'AwsAccountNumber',
|
4520 |
+
),
|
4521 |
+
),
|
4522 |
+
),
|
4523 |
+
),
|
4524 |
+
'PriceClass' => array(
|
4525 |
+
'type' => 'string',
|
4526 |
+
),
|
4527 |
+
'Enabled' => array(
|
4528 |
+
'type' => 'boolean',
|
4529 |
+
),
|
4530 |
+
),
|
4531 |
+
),
|
4532 |
+
'ETag' => array(
|
4533 |
+
'type' => 'string',
|
4534 |
+
'location' => 'header',
|
4535 |
+
),
|
4536 |
+
'RequestId' => array(
|
4537 |
+
'location' => 'header',
|
4538 |
+
'sentAs' => 'x-amz-request-id',
|
4539 |
+
),
|
4540 |
+
),
|
4541 |
+
),
|
4542 |
+
),
|
4543 |
+
'waiters' => array(
|
4544 |
+
'__default__' => array(
|
4545 |
+
'success.type' => 'output',
|
4546 |
+
'success.path' => 'Status',
|
4547 |
+
),
|
4548 |
+
'StreamingDistributionDeployed' => array(
|
4549 |
+
'operation' => 'GetStreamingDistribution',
|
4550 |
+
'interval' => 60,
|
4551 |
+
'max_attempts' => 25,
|
4552 |
+
'success.value' => 'Deployed',
|
4553 |
+
),
|
4554 |
+
'DistributionDeployed' => array(
|
4555 |
+
'operation' => 'GetDistribution',
|
4556 |
+
'interval' => 60,
|
4557 |
+
'max_attempts' => 25,
|
4558 |
+
'success.value' => 'Deployed',
|
4559 |
+
),
|
4560 |
+
'InvalidationCompleted' => array(
|
4561 |
+
'operation' => 'GetInvalidation',
|
4562 |
+
'interval' => 20,
|
4563 |
+
'max_attempts' => 30,
|
4564 |
+
'success.value' => 'Completed',
|
4565 |
+
),
|
4566 |
+
),
|
4567 |
+
);
|
vendor/aws/Aws/CloudSearch/CloudSearchClient.php
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch;
|
18 |
+
|
19 |
+
use Aws\Common\Client\AbstractClient;
|
20 |
+
use Aws\Common\Client\ClientBuilder;
|
21 |
+
use Aws\Common\Enum\ClientOptions as Options;
|
22 |
+
use Guzzle\Common\Collection;
|
23 |
+
use Guzzle\Service\Resource\Model;
|
24 |
+
use Guzzle\Service\Resource\ResourceIteratorInterface;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Client to interact with Amazon CloudSearch
|
28 |
+
*
|
29 |
+
* @method Model createDomain(array $args = array()) {@command CloudSearch CreateDomain}
|
30 |
+
* @method Model defineIndexField(array $args = array()) {@command CloudSearch DefineIndexField}
|
31 |
+
* @method Model defineRankExpression(array $args = array()) {@command CloudSearch DefineRankExpression}
|
32 |
+
* @method Model deleteDomain(array $args = array()) {@command CloudSearch DeleteDomain}
|
33 |
+
* @method Model deleteIndexField(array $args = array()) {@command CloudSearch DeleteIndexField}
|
34 |
+
* @method Model deleteRankExpression(array $args = array()) {@command CloudSearch DeleteRankExpression}
|
35 |
+
* @method Model describeDefaultSearchField(array $args = array()) {@command CloudSearch DescribeDefaultSearchField}
|
36 |
+
* @method Model describeDomains(array $args = array()) {@command CloudSearch DescribeDomains}
|
37 |
+
* @method Model describeIndexFields(array $args = array()) {@command CloudSearch DescribeIndexFields}
|
38 |
+
* @method Model describeRankExpressions(array $args = array()) {@command CloudSearch DescribeRankExpressions}
|
39 |
+
* @method Model describeServiceAccessPolicies(array $args = array()) {@command CloudSearch DescribeServiceAccessPolicies}
|
40 |
+
* @method Model describeStemmingOptions(array $args = array()) {@command CloudSearch DescribeStemmingOptions}
|
41 |
+
* @method Model describeStopwordOptions(array $args = array()) {@command CloudSearch DescribeStopwordOptions}
|
42 |
+
* @method Model describeSynonymOptions(array $args = array()) {@command CloudSearch DescribeSynonymOptions}
|
43 |
+
* @method Model indexDocuments(array $args = array()) {@command CloudSearch IndexDocuments}
|
44 |
+
* @method Model updateDefaultSearchField(array $args = array()) {@command CloudSearch UpdateDefaultSearchField}
|
45 |
+
* @method Model updateServiceAccessPolicies(array $args = array()) {@command CloudSearch UpdateServiceAccessPolicies}
|
46 |
+
* @method Model updateStemmingOptions(array $args = array()) {@command CloudSearch UpdateStemmingOptions}
|
47 |
+
* @method Model updateStopwordOptions(array $args = array()) {@command CloudSearch UpdateStopwordOptions}
|
48 |
+
* @method Model updateSynonymOptions(array $args = array()) {@command CloudSearch UpdateSynonymOptions}
|
49 |
+
* @method ResourceIteratorInterface getDescribeDomainsIterator(array $args = array()) The input array uses the parameters of the DescribeDomains operation
|
50 |
+
* @method ResourceIteratorInterface getDescribeIndexFieldsIterator(array $args = array()) The input array uses the parameters of the DescribeIndexFields operation
|
51 |
+
* @method ResourceIteratorInterface getDescribeRankExpressionsIterator(array $args = array()) The input array uses the parameters of the DescribeRankExpressions operation
|
52 |
+
*
|
53 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudsearch.html User guide
|
54 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudSearch.CloudSearchClient.html API docs
|
55 |
+
*/
|
56 |
+
class CloudSearchClient extends AbstractClient
|
57 |
+
{
|
58 |
+
const LATEST_API_VERSION = '2011-02-01';
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Factory method to create a new Amazon CloudSearch client using an array of configuration options.
|
62 |
+
*
|
63 |
+
* @param array|Collection $config Client configuration data
|
64 |
+
*
|
65 |
+
* @return self
|
66 |
+
* @see \Aws\Common\Client\DefaultClient for a list of available configuration options
|
67 |
+
*/
|
68 |
+
public static function factory($config = array())
|
69 |
+
{
|
70 |
+
return ClientBuilder::factory(__NAMESPACE__)
|
71 |
+
->setConfig($config)
|
72 |
+
->setConfigDefaults(array(
|
73 |
+
Options::VERSION => self::LATEST_API_VERSION,
|
74 |
+
Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudsearch-%s.php'
|
75 |
+
))
|
76 |
+
->build();
|
77 |
+
}
|
78 |
+
}
|
vendor/aws/Aws/CloudSearch/Enum/IndexFieldType.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable IndexFieldType values
|
23 |
+
*/
|
24 |
+
class IndexFieldType extends Enum
|
25 |
+
{
|
26 |
+
const UINT = 'uint';
|
27 |
+
const LITERAL = 'literal';
|
28 |
+
const TEXT = 'text';
|
29 |
+
}
|
vendor/aws/Aws/CloudSearch/Enum/OptionState.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable OptionState values
|
23 |
+
*/
|
24 |
+
class OptionState extends Enum
|
25 |
+
{
|
26 |
+
const REQUIRES_INDEX_DOCUMENTS = 'RequiresIndexDocuments';
|
27 |
+
const PROCESSING = 'Processing';
|
28 |
+
const ACTIVE = 'Active';
|
29 |
+
}
|
vendor/aws/Aws/CloudSearch/Enum/SearchInstanceType.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable SearchInstanceType values
|
23 |
+
*/
|
24 |
+
class SearchInstanceType extends Enum
|
25 |
+
{
|
26 |
+
const SEARCH_INSTANCET1_MICRO = 'SearchInstance:t1.micro';
|
27 |
+
const SEARCH_INSTANCEM1_SMALL = 'SearchInstance:m1.small';
|
28 |
+
const SEARCH_INSTANCEM1_LARGE = 'SearchInstance:m1.large';
|
29 |
+
const SEARCH_INSTANCEM2_XLARGE = 'SearchInstance:m2.xlarge';
|
30 |
+
}
|
vendor/aws/Aws/CloudSearch/Enum/SourceDataFunction.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable SourceDataFunction values
|
23 |
+
*/
|
24 |
+
class SourceDataFunction extends Enum
|
25 |
+
{
|
26 |
+
const COPY = 'Copy';
|
27 |
+
const TRIM_TITLE = 'TrimTitle';
|
28 |
+
const MAP = 'Map';
|
29 |
+
}
|
vendor/aws/Aws/CloudSearch/Exception/BaseException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* An error occurred while processing the request.
|
21 |
+
*/
|
22 |
+
class BaseException extends CloudSearchException {}
|
vendor/aws/Aws/CloudSearch/Exception/CloudSearchException.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Exception;
|
18 |
+
|
19 |
+
use Aws\Common\Exception\ServiceResponseException;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Default service exception class
|
23 |
+
*/
|
24 |
+
class CloudSearchException extends ServiceResponseException {}
|
vendor/aws/Aws/CloudSearch/Exception/InternalException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.
|
21 |
+
*/
|
22 |
+
class InternalException extends CloudSearchException {}
|
vendor/aws/Aws/CloudSearch/Exception/InvalidTypeException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The request was rejected because it specified an invalid type definition.
|
21 |
+
*/
|
22 |
+
class InvalidTypeException extends CloudSearchException {}
|
vendor/aws/Aws/CloudSearch/Exception/LimitExceededException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The request was rejected because a resource limit has already been met.
|
21 |
+
*/
|
22 |
+
class LimitExceededException extends CloudSearchException {}
|
vendor/aws/Aws/CloudSearch/Exception/ResourceNotFoundException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudSearch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The request was rejected because it attempted to reference a resource that does not exist.
|
21 |
+
*/
|
22 |
+
class ResourceNotFoundException extends CloudSearchException {}
|
vendor/aws/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php
ADDED
@@ -0,0 +1,2361 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
return array (
|
18 |
+
'apiVersion' => '2011-02-01',
|
19 |
+
'endpointPrefix' => 'cloudsearch',
|
20 |
+
'serviceFullName' => 'Amazon CloudSearch',
|
21 |
+
'serviceType' => 'query',
|
22 |
+
'resultWrapped' => true,
|
23 |
+
'signatureVersion' => 'v2',
|
24 |
+
'namespace' => 'CloudSearch',
|
25 |
+
'regions' => array(
|
26 |
+
'us-east-1' => array(
|
27 |
+
'http' => false,
|
28 |
+
'https' => true,
|
29 |
+
'hostname' => 'cloudsearch.us-east-1.amazonaws.com',
|
30 |
+
),
|
31 |
+
'us-west-1' => array(
|
32 |
+
'http' => false,
|
33 |
+
'https' => true,
|
34 |
+
'hostname' => 'cloudsearch.us-west-1.amazonaws.com',
|
35 |
+
),
|
36 |
+
'us-west-2' => array(
|
37 |
+
'http' => false,
|
38 |
+
'https' => true,
|
39 |
+
'hostname' => 'cloudsearch.us-west-2.amazonaws.com',
|
40 |
+
),
|
41 |
+
'eu-west-1' => array(
|
42 |
+
'http' => false,
|
43 |
+
'https' => true,
|
44 |
+
'hostname' => 'cloudsearch.eu-west-1.amazonaws.com',
|
45 |
+
),
|
46 |
+
'ap-southeast-1' => array(
|
47 |
+
'http' => false,
|
48 |
+
'https' => true,
|
49 |
+
'hostname' => 'cloudsearch.ap-southeast-1.amazonaws.com',
|
50 |
+
),
|
51 |
+
),
|
52 |
+
'operations' => array(
|
53 |
+
'CreateDomain' => array(
|
54 |
+
'httpMethod' => 'POST',
|
55 |
+
'uri' => '/',
|
56 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
57 |
+
'responseClass' => 'CreateDomainResponse',
|
58 |
+
'responseType' => 'model',
|
59 |
+
'parameters' => array(
|
60 |
+
'Action' => array(
|
61 |
+
'static' => true,
|
62 |
+
'location' => 'aws.query',
|
63 |
+
'default' => 'CreateDomain',
|
64 |
+
),
|
65 |
+
'Version' => array(
|
66 |
+
'static' => true,
|
67 |
+
'location' => 'aws.query',
|
68 |
+
'default' => '2011-02-01',
|
69 |
+
),
|
70 |
+
'DomainName' => array(
|
71 |
+
'required' => true,
|
72 |
+
'type' => 'string',
|
73 |
+
'location' => 'aws.query',
|
74 |
+
'minLength' => 3,
|
75 |
+
'maxLength' => 28,
|
76 |
+
),
|
77 |
+
),
|
78 |
+
'errorResponses' => array(
|
79 |
+
array(
|
80 |
+
'reason' => 'An error occurred while processing the request.',
|
81 |
+
'class' => 'BaseException',
|
82 |
+
),
|
83 |
+
array(
|
84 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
85 |
+
'class' => 'InternalException',
|
86 |
+
),
|
87 |
+
array(
|
88 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
89 |
+
'class' => 'InternalException',
|
90 |
+
),
|
91 |
+
array(
|
92 |
+
'reason' => 'The request was rejected because a resource limit has already been met.',
|
93 |
+
'class' => 'LimitExceededException',
|
94 |
+
),
|
95 |
+
),
|
96 |
+
),
|
97 |
+
'DefineIndexField' => array(
|
98 |
+
'httpMethod' => 'POST',
|
99 |
+
'uri' => '/',
|
100 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
101 |
+
'responseClass' => 'DefineIndexFieldResponse',
|
102 |
+
'responseType' => 'model',
|
103 |
+
'parameters' => array(
|
104 |
+
'Action' => array(
|
105 |
+
'static' => true,
|
106 |
+
'location' => 'aws.query',
|
107 |
+
'default' => 'DefineIndexField',
|
108 |
+
),
|
109 |
+
'Version' => array(
|
110 |
+
'static' => true,
|
111 |
+
'location' => 'aws.query',
|
112 |
+
'default' => '2011-02-01',
|
113 |
+
),
|
114 |
+
'DomainName' => array(
|
115 |
+
'required' => true,
|
116 |
+
'type' => 'string',
|
117 |
+
'location' => 'aws.query',
|
118 |
+
'minLength' => 3,
|
119 |
+
'maxLength' => 28,
|
120 |
+
),
|
121 |
+
'IndexField' => array(
|
122 |
+
'required' => true,
|
123 |
+
'type' => 'object',
|
124 |
+
'location' => 'aws.query',
|
125 |
+
'properties' => array(
|
126 |
+
'IndexFieldName' => array(
|
127 |
+
'required' => true,
|
128 |
+
'type' => 'string',
|
129 |
+
'minLength' => 1,
|
130 |
+
'maxLength' => 64,
|
131 |
+
),
|
132 |
+
'IndexFieldType' => array(
|
133 |
+
'required' => true,
|
134 |
+
'type' => 'string',
|
135 |
+
'enum' => array(
|
136 |
+
'uint',
|
137 |
+
'literal',
|
138 |
+
'text',
|
139 |
+
),
|
140 |
+
),
|
141 |
+
'UIntOptions' => array(
|
142 |
+
'type' => 'object',
|
143 |
+
'properties' => array(
|
144 |
+
'DefaultValue' => array(
|
145 |
+
'type' => 'numeric',
|
146 |
+
),
|
147 |
+
),
|
148 |
+
),
|
149 |
+
'LiteralOptions' => array(
|
150 |
+
'type' => 'object',
|
151 |
+
'properties' => array(
|
152 |
+
'DefaultValue' => array(
|
153 |
+
'type' => 'string',
|
154 |
+
'maxLength' => 1024,
|
155 |
+
),
|
156 |
+
'SearchEnabled' => array(
|
157 |
+
'type' => 'boolean',
|
158 |
+
'format' => 'boolean-string',
|
159 |
+
),
|
160 |
+
'FacetEnabled' => array(
|
161 |
+
'type' => 'boolean',
|
162 |
+
'format' => 'boolean-string',
|
163 |
+
),
|
164 |
+
'ResultEnabled' => array(
|
165 |
+
'type' => 'boolean',
|
166 |
+
'format' => 'boolean-string',
|
167 |
+
),
|
168 |
+
),
|
169 |
+
),
|
170 |
+
'TextOptions' => array(
|
171 |
+
'type' => 'object',
|
172 |
+
'properties' => array(
|
173 |
+
'DefaultValue' => array(
|
174 |
+
'type' => 'string',
|
175 |
+
'maxLength' => 1024,
|
176 |
+
),
|
177 |
+
'FacetEnabled' => array(
|
178 |
+
'type' => 'boolean',
|
179 |
+
'format' => 'boolean-string',
|
180 |
+
),
|
181 |
+
'ResultEnabled' => array(
|
182 |
+
'type' => 'boolean',
|
183 |
+
'format' => 'boolean-string',
|
184 |
+
),
|
185 |
+
'TextProcessor' => array(
|
186 |
+
'type' => 'string',
|
187 |
+
'minLength' => 1,
|
188 |
+
'maxLength' => 64,
|
189 |
+
),
|
190 |
+
),
|
191 |
+
),
|
192 |
+
'SourceAttributes' => array(
|
193 |
+
'type' => 'array',
|
194 |
+
'sentAs' => 'SourceAttributes.member',
|
195 |
+
'items' => array(
|
196 |
+
'name' => 'SourceAttribute',
|
197 |
+
'type' => 'object',
|
198 |
+
'properties' => array(
|
199 |
+
'SourceDataFunction' => array(
|
200 |
+
'required' => true,
|
201 |
+
'type' => 'string',
|
202 |
+
'enum' => array(
|
203 |
+
'Copy',
|
204 |
+
'TrimTitle',
|
205 |
+
'Map',
|
206 |
+
),
|
207 |
+
),
|
208 |
+
'SourceDataCopy' => array(
|
209 |
+
'type' => 'object',
|
210 |
+
'properties' => array(
|
211 |
+
'SourceName' => array(
|
212 |
+
'required' => true,
|
213 |
+
'type' => 'string',
|
214 |
+
'minLength' => 1,
|
215 |
+
'maxLength' => 64,
|
216 |
+
),
|
217 |
+
'DefaultValue' => array(
|
218 |
+
'type' => 'string',
|
219 |
+
'maxLength' => 1024,
|
220 |
+
),
|
221 |
+
),
|
222 |
+
),
|
223 |
+
'SourceDataTrimTitle' => array(
|
224 |
+
'type' => 'object',
|
225 |
+
'properties' => array(
|
226 |
+
'SourceName' => array(
|
227 |
+
'required' => true,
|
228 |
+
'type' => 'string',
|
229 |
+
'minLength' => 1,
|
230 |
+
'maxLength' => 64,
|
231 |
+
),
|
232 |
+
'DefaultValue' => array(
|
233 |
+
'type' => 'string',
|
234 |
+
'maxLength' => 1024,
|
235 |
+
),
|
236 |
+
'Separator' => array(
|
237 |
+
'type' => 'string',
|
238 |
+
),
|
239 |
+
'Language' => array(
|
240 |
+
'type' => 'string',
|
241 |
+
),
|
242 |
+
),
|
243 |
+
),
|
244 |
+
'SourceDataMap' => array(
|
245 |
+
'type' => 'object',
|
246 |
+
'properties' => array(
|
247 |
+
'SourceName' => array(
|
248 |
+
'required' => true,
|
249 |
+
'type' => 'string',
|
250 |
+
'minLength' => 1,
|
251 |
+
'maxLength' => 64,
|
252 |
+
),
|
253 |
+
'DefaultValue' => array(
|
254 |
+
'type' => 'string',
|
255 |
+
'maxLength' => 1024,
|
256 |
+
),
|
257 |
+
'Cases' => array(
|
258 |
+
'type' => 'object',
|
259 |
+
'additionalProperties' => array(
|
260 |
+
'type' => 'string',
|
261 |
+
'maxLength' => 1024,
|
262 |
+
'data' => array(
|
263 |
+
'shape_name' => 'FieldValue',
|
264 |
+
),
|
265 |
+
),
|
266 |
+
),
|
267 |
+
),
|
268 |
+
),
|
269 |
+
),
|
270 |
+
),
|
271 |
+
),
|
272 |
+
),
|
273 |
+
),
|
274 |
+
),
|
275 |
+
'errorResponses' => array(
|
276 |
+
array(
|
277 |
+
'reason' => 'An error occurred while processing the request.',
|
278 |
+
'class' => 'BaseException',
|
279 |
+
),
|
280 |
+
array(
|
281 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
282 |
+
'class' => 'InternalException',
|
283 |
+
),
|
284 |
+
array(
|
285 |
+
'reason' => 'The request was rejected because a resource limit has already been met.',
|
286 |
+
'class' => 'LimitExceededException',
|
287 |
+
),
|
288 |
+
array(
|
289 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
290 |
+
'class' => 'InvalidTypeException',
|
291 |
+
),
|
292 |
+
array(
|
293 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
294 |
+
'class' => 'ResourceNotFoundException',
|
295 |
+
),
|
296 |
+
),
|
297 |
+
),
|
298 |
+
'DefineRankExpression' => array(
|
299 |
+
'httpMethod' => 'POST',
|
300 |
+
'uri' => '/',
|
301 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
302 |
+
'responseClass' => 'DefineRankExpressionResponse',
|
303 |
+
'responseType' => 'model',
|
304 |
+
'parameters' => array(
|
305 |
+
'Action' => array(
|
306 |
+
'static' => true,
|
307 |
+
'location' => 'aws.query',
|
308 |
+
'default' => 'DefineRankExpression',
|
309 |
+
),
|
310 |
+
'Version' => array(
|
311 |
+
'static' => true,
|
312 |
+
'location' => 'aws.query',
|
313 |
+
'default' => '2011-02-01',
|
314 |
+
),
|
315 |
+
'DomainName' => array(
|
316 |
+
'required' => true,
|
317 |
+
'type' => 'string',
|
318 |
+
'location' => 'aws.query',
|
319 |
+
'minLength' => 3,
|
320 |
+
'maxLength' => 28,
|
321 |
+
),
|
322 |
+
'RankExpression' => array(
|
323 |
+
'required' => true,
|
324 |
+
'type' => 'object',
|
325 |
+
'location' => 'aws.query',
|
326 |
+
'properties' => array(
|
327 |
+
'RankName' => array(
|
328 |
+
'required' => true,
|
329 |
+
'type' => 'string',
|
330 |
+
'minLength' => 1,
|
331 |
+
'maxLength' => 64,
|
332 |
+
),
|
333 |
+
'RankExpression' => array(
|
334 |
+
'required' => true,
|
335 |
+
'type' => 'string',
|
336 |
+
'minLength' => 1,
|
337 |
+
'maxLength' => 10240,
|
338 |
+
),
|
339 |
+
),
|
340 |
+
),
|
341 |
+
),
|
342 |
+
'errorResponses' => array(
|
343 |
+
array(
|
344 |
+
'reason' => 'An error occurred while processing the request.',
|
345 |
+
'class' => 'BaseException',
|
346 |
+
),
|
347 |
+
array(
|
348 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
349 |
+
'class' => 'InternalException',
|
350 |
+
),
|
351 |
+
array(
|
352 |
+
'reason' => 'The request was rejected because a resource limit has already been met.',
|
353 |
+
'class' => 'LimitExceededException',
|
354 |
+
),
|
355 |
+
array(
|
356 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
357 |
+
'class' => 'InvalidTypeException',
|
358 |
+
),
|
359 |
+
array(
|
360 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
361 |
+
'class' => 'ResourceNotFoundException',
|
362 |
+
),
|
363 |
+
),
|
364 |
+
),
|
365 |
+
'DeleteDomain' => array(
|
366 |
+
'httpMethod' => 'POST',
|
367 |
+
'uri' => '/',
|
368 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
369 |
+
'responseClass' => 'DeleteDomainResponse',
|
370 |
+
'responseType' => 'model',
|
371 |
+
'parameters' => array(
|
372 |
+
'Action' => array(
|
373 |
+
'static' => true,
|
374 |
+
'location' => 'aws.query',
|
375 |
+
'default' => 'DeleteDomain',
|
376 |
+
),
|
377 |
+
'Version' => array(
|
378 |
+
'static' => true,
|
379 |
+
'location' => 'aws.query',
|
380 |
+
'default' => '2011-02-01',
|
381 |
+
),
|
382 |
+
'DomainName' => array(
|
383 |
+
'required' => true,
|
384 |
+
'type' => 'string',
|
385 |
+
'location' => 'aws.query',
|
386 |
+
'minLength' => 3,
|
387 |
+
'maxLength' => 28,
|
388 |
+
),
|
389 |
+
),
|
390 |
+
'errorResponses' => array(
|
391 |
+
array(
|
392 |
+
'reason' => 'An error occurred while processing the request.',
|
393 |
+
'class' => 'BaseException',
|
394 |
+
),
|
395 |
+
array(
|
396 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
397 |
+
'class' => 'InternalException',
|
398 |
+
),
|
399 |
+
),
|
400 |
+
),
|
401 |
+
'DeleteIndexField' => array(
|
402 |
+
'httpMethod' => 'POST',
|
403 |
+
'uri' => '/',
|
404 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
405 |
+
'responseClass' => 'DeleteIndexFieldResponse',
|
406 |
+
'responseType' => 'model',
|
407 |
+
'parameters' => array(
|
408 |
+
'Action' => array(
|
409 |
+
'static' => true,
|
410 |
+
'location' => 'aws.query',
|
411 |
+
'default' => 'DeleteIndexField',
|
412 |
+
),
|
413 |
+
'Version' => array(
|
414 |
+
'static' => true,
|
415 |
+
'location' => 'aws.query',
|
416 |
+
'default' => '2011-02-01',
|
417 |
+
),
|
418 |
+
'DomainName' => array(
|
419 |
+
'required' => true,
|
420 |
+
'type' => 'string',
|
421 |
+
'location' => 'aws.query',
|
422 |
+
'minLength' => 3,
|
423 |
+
'maxLength' => 28,
|
424 |
+
),
|
425 |
+
'IndexFieldName' => array(
|
426 |
+
'required' => true,
|
427 |
+
'type' => 'string',
|
428 |
+
'location' => 'aws.query',
|
429 |
+
'minLength' => 1,
|
430 |
+
'maxLength' => 64,
|
431 |
+
),
|
432 |
+
),
|
433 |
+
'errorResponses' => array(
|
434 |
+
array(
|
435 |
+
'reason' => 'An error occurred while processing the request.',
|
436 |
+
'class' => 'BaseException',
|
437 |
+
),
|
438 |
+
array(
|
439 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
440 |
+
'class' => 'InternalException',
|
441 |
+
),
|
442 |
+
array(
|
443 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
444 |
+
'class' => 'InvalidTypeException',
|
445 |
+
),
|
446 |
+
array(
|
447 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
448 |
+
'class' => 'ResourceNotFoundException',
|
449 |
+
),
|
450 |
+
),
|
451 |
+
),
|
452 |
+
'DeleteRankExpression' => array(
|
453 |
+
'httpMethod' => 'POST',
|
454 |
+
'uri' => '/',
|
455 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
456 |
+
'responseClass' => 'DeleteRankExpressionResponse',
|
457 |
+
'responseType' => 'model',
|
458 |
+
'parameters' => array(
|
459 |
+
'Action' => array(
|
460 |
+
'static' => true,
|
461 |
+
'location' => 'aws.query',
|
462 |
+
'default' => 'DeleteRankExpression',
|
463 |
+
),
|
464 |
+
'Version' => array(
|
465 |
+
'static' => true,
|
466 |
+
'location' => 'aws.query',
|
467 |
+
'default' => '2011-02-01',
|
468 |
+
),
|
469 |
+
'DomainName' => array(
|
470 |
+
'required' => true,
|
471 |
+
'type' => 'string',
|
472 |
+
'location' => 'aws.query',
|
473 |
+
'minLength' => 3,
|
474 |
+
'maxLength' => 28,
|
475 |
+
),
|
476 |
+
'RankName' => array(
|
477 |
+
'required' => true,
|
478 |
+
'type' => 'string',
|
479 |
+
'location' => 'aws.query',
|
480 |
+
'minLength' => 1,
|
481 |
+
'maxLength' => 64,
|
482 |
+
),
|
483 |
+
),
|
484 |
+
'errorResponses' => array(
|
485 |
+
array(
|
486 |
+
'reason' => 'An error occurred while processing the request.',
|
487 |
+
'class' => 'BaseException',
|
488 |
+
),
|
489 |
+
array(
|
490 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
491 |
+
'class' => 'InternalException',
|
492 |
+
),
|
493 |
+
array(
|
494 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
495 |
+
'class' => 'InvalidTypeException',
|
496 |
+
),
|
497 |
+
array(
|
498 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
499 |
+
'class' => 'ResourceNotFoundException',
|
500 |
+
),
|
501 |
+
),
|
502 |
+
),
|
503 |
+
'DescribeDefaultSearchField' => array(
|
504 |
+
'httpMethod' => 'POST',
|
505 |
+
'uri' => '/',
|
506 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
507 |
+
'responseClass' => 'DescribeDefaultSearchFieldResponse',
|
508 |
+
'responseType' => 'model',
|
509 |
+
'parameters' => array(
|
510 |
+
'Action' => array(
|
511 |
+
'static' => true,
|
512 |
+
'location' => 'aws.query',
|
513 |
+
'default' => 'DescribeDefaultSearchField',
|
514 |
+
),
|
515 |
+
'Version' => array(
|
516 |
+
'static' => true,
|
517 |
+
'location' => 'aws.query',
|
518 |
+
'default' => '2011-02-01',
|
519 |
+
),
|
520 |
+
'DomainName' => array(
|
521 |
+
'required' => true,
|
522 |
+
'type' => 'string',
|
523 |
+
'location' => 'aws.query',
|
524 |
+
'minLength' => 3,
|
525 |
+
'maxLength' => 28,
|
526 |
+
),
|
527 |
+
),
|
528 |
+
'errorResponses' => array(
|
529 |
+
array(
|
530 |
+
'reason' => 'An error occurred while processing the request.',
|
531 |
+
'class' => 'BaseException',
|
532 |
+
),
|
533 |
+
array(
|
534 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
535 |
+
'class' => 'InternalException',
|
536 |
+
),
|
537 |
+
array(
|
538 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
539 |
+
'class' => 'ResourceNotFoundException',
|
540 |
+
),
|
541 |
+
),
|
542 |
+
),
|
543 |
+
'DescribeDomains' => array(
|
544 |
+
'httpMethod' => 'POST',
|
545 |
+
'uri' => '/',
|
546 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
547 |
+
'responseClass' => 'DescribeDomainsResponse',
|
548 |
+
'responseType' => 'model',
|
549 |
+
'parameters' => array(
|
550 |
+
'Action' => array(
|
551 |
+
'static' => true,
|
552 |
+
'location' => 'aws.query',
|
553 |
+
'default' => 'DescribeDomains',
|
554 |
+
),
|
555 |
+
'Version' => array(
|
556 |
+
'static' => true,
|
557 |
+
'location' => 'aws.query',
|
558 |
+
'default' => '2011-02-01',
|
559 |
+
),
|
560 |
+
'DomainNames' => array(
|
561 |
+
'type' => 'array',
|
562 |
+
'location' => 'aws.query',
|
563 |
+
'sentAs' => 'DomainNames.member',
|
564 |
+
'items' => array(
|
565 |
+
'name' => 'DomainName',
|
566 |
+
'type' => 'string',
|
567 |
+
'minLength' => 3,
|
568 |
+
'maxLength' => 28,
|
569 |
+
),
|
570 |
+
),
|
571 |
+
),
|
572 |
+
'errorResponses' => array(
|
573 |
+
array(
|
574 |
+
'reason' => 'An error occurred while processing the request.',
|
575 |
+
'class' => 'BaseException',
|
576 |
+
),
|
577 |
+
array(
|
578 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
579 |
+
'class' => 'InternalException',
|
580 |
+
),
|
581 |
+
),
|
582 |
+
),
|
583 |
+
'DescribeIndexFields' => array(
|
584 |
+
'httpMethod' => 'POST',
|
585 |
+
'uri' => '/',
|
586 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
587 |
+
'responseClass' => 'DescribeIndexFieldsResponse',
|
588 |
+
'responseType' => 'model',
|
589 |
+
'parameters' => array(
|
590 |
+
'Action' => array(
|
591 |
+
'static' => true,
|
592 |
+
'location' => 'aws.query',
|
593 |
+
'default' => 'DescribeIndexFields',
|
594 |
+
),
|
595 |
+
'Version' => array(
|
596 |
+
'static' => true,
|
597 |
+
'location' => 'aws.query',
|
598 |
+
'default' => '2011-02-01',
|
599 |
+
),
|
600 |
+
'DomainName' => array(
|
601 |
+
'required' => true,
|
602 |
+
'type' => 'string',
|
603 |
+
'location' => 'aws.query',
|
604 |
+
'minLength' => 3,
|
605 |
+
'maxLength' => 28,
|
606 |
+
),
|
607 |
+
'FieldNames' => array(
|
608 |
+
'type' => 'array',
|
609 |
+
'location' => 'aws.query',
|
610 |
+
'sentAs' => 'FieldNames.member',
|
611 |
+
'items' => array(
|
612 |
+
'name' => 'FieldName',
|
613 |
+
'type' => 'string',
|
614 |
+
'minLength' => 1,
|
615 |
+
'maxLength' => 64,
|
616 |
+
),
|
617 |
+
),
|
618 |
+
),
|
619 |
+
'errorResponses' => array(
|
620 |
+
array(
|
621 |
+
'reason' => 'An error occurred while processing the request.',
|
622 |
+
'class' => 'BaseException',
|
623 |
+
),
|
624 |
+
array(
|
625 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
626 |
+
'class' => 'InternalException',
|
627 |
+
),
|
628 |
+
array(
|
629 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
630 |
+
'class' => 'ResourceNotFoundException',
|
631 |
+
),
|
632 |
+
),
|
633 |
+
),
|
634 |
+
'DescribeRankExpressions' => array(
|
635 |
+
'httpMethod' => 'POST',
|
636 |
+
'uri' => '/',
|
637 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
638 |
+
'responseClass' => 'DescribeRankExpressionsResponse',
|
639 |
+
'responseType' => 'model',
|
640 |
+
'parameters' => array(
|
641 |
+
'Action' => array(
|
642 |
+
'static' => true,
|
643 |
+
'location' => 'aws.query',
|
644 |
+
'default' => 'DescribeRankExpressions',
|
645 |
+
),
|
646 |
+
'Version' => array(
|
647 |
+
'static' => true,
|
648 |
+
'location' => 'aws.query',
|
649 |
+
'default' => '2011-02-01',
|
650 |
+
),
|
651 |
+
'DomainName' => array(
|
652 |
+
'required' => true,
|
653 |
+
'type' => 'string',
|
654 |
+
'location' => 'aws.query',
|
655 |
+
'minLength' => 3,
|
656 |
+
'maxLength' => 28,
|
657 |
+
),
|
658 |
+
'RankNames' => array(
|
659 |
+
'type' => 'array',
|
660 |
+
'location' => 'aws.query',
|
661 |
+
'sentAs' => 'RankNames.member',
|
662 |
+
'items' => array(
|
663 |
+
'name' => 'FieldName',
|
664 |
+
'type' => 'string',
|
665 |
+
'minLength' => 1,
|
666 |
+
'maxLength' => 64,
|
667 |
+
),
|
668 |
+
),
|
669 |
+
),
|
670 |
+
'errorResponses' => array(
|
671 |
+
array(
|
672 |
+
'reason' => 'An error occurred while processing the request.',
|
673 |
+
'class' => 'BaseException',
|
674 |
+
),
|
675 |
+
array(
|
676 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
677 |
+
'class' => 'InternalException',
|
678 |
+
),
|
679 |
+
array(
|
680 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
681 |
+
'class' => 'ResourceNotFoundException',
|
682 |
+
),
|
683 |
+
),
|
684 |
+
),
|
685 |
+
'DescribeServiceAccessPolicies' => array(
|
686 |
+
'httpMethod' => 'POST',
|
687 |
+
'uri' => '/',
|
688 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
689 |
+
'responseClass' => 'DescribeServiceAccessPoliciesResponse',
|
690 |
+
'responseType' => 'model',
|
691 |
+
'parameters' => array(
|
692 |
+
'Action' => array(
|
693 |
+
'static' => true,
|
694 |
+
'location' => 'aws.query',
|
695 |
+
'default' => 'DescribeServiceAccessPolicies',
|
696 |
+
),
|
697 |
+
'Version' => array(
|
698 |
+
'static' => true,
|
699 |
+
'location' => 'aws.query',
|
700 |
+
'default' => '2011-02-01',
|
701 |
+
),
|
702 |
+
'DomainName' => array(
|
703 |
+
'required' => true,
|
704 |
+
'type' => 'string',
|
705 |
+
'location' => 'aws.query',
|
706 |
+
'minLength' => 3,
|
707 |
+
'maxLength' => 28,
|
708 |
+
),
|
709 |
+
),
|
710 |
+
'errorResponses' => array(
|
711 |
+
array(
|
712 |
+
'reason' => 'An error occurred while processing the request.',
|
713 |
+
'class' => 'BaseException',
|
714 |
+
),
|
715 |
+
array(
|
716 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
717 |
+
'class' => 'InternalException',
|
718 |
+
),
|
719 |
+
array(
|
720 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
721 |
+
'class' => 'ResourceNotFoundException',
|
722 |
+
),
|
723 |
+
),
|
724 |
+
),
|
725 |
+
'DescribeStemmingOptions' => array(
|
726 |
+
'httpMethod' => 'POST',
|
727 |
+
'uri' => '/',
|
728 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
729 |
+
'responseClass' => 'DescribeStemmingOptionsResponse',
|
730 |
+
'responseType' => 'model',
|
731 |
+
'parameters' => array(
|
732 |
+
'Action' => array(
|
733 |
+
'static' => true,
|
734 |
+
'location' => 'aws.query',
|
735 |
+
'default' => 'DescribeStemmingOptions',
|
736 |
+
),
|
737 |
+
'Version' => array(
|
738 |
+
'static' => true,
|
739 |
+
'location' => 'aws.query',
|
740 |
+
'default' => '2011-02-01',
|
741 |
+
),
|
742 |
+
'DomainName' => array(
|
743 |
+
'required' => true,
|
744 |
+
'type' => 'string',
|
745 |
+
'location' => 'aws.query',
|
746 |
+
'minLength' => 3,
|
747 |
+
'maxLength' => 28,
|
748 |
+
),
|
749 |
+
),
|
750 |
+
'errorResponses' => array(
|
751 |
+
array(
|
752 |
+
'reason' => 'An error occurred while processing the request.',
|
753 |
+
'class' => 'BaseException',
|
754 |
+
),
|
755 |
+
array(
|
756 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
757 |
+
'class' => 'InternalException',
|
758 |
+
),
|
759 |
+
array(
|
760 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
761 |
+
'class' => 'ResourceNotFoundException',
|
762 |
+
),
|
763 |
+
),
|
764 |
+
),
|
765 |
+
'DescribeStopwordOptions' => array(
|
766 |
+
'httpMethod' => 'POST',
|
767 |
+
'uri' => '/',
|
768 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
769 |
+
'responseClass' => 'DescribeStopwordOptionsResponse',
|
770 |
+
'responseType' => 'model',
|
771 |
+
'parameters' => array(
|
772 |
+
'Action' => array(
|
773 |
+
'static' => true,
|
774 |
+
'location' => 'aws.query',
|
775 |
+
'default' => 'DescribeStopwordOptions',
|
776 |
+
),
|
777 |
+
'Version' => array(
|
778 |
+
'static' => true,
|
779 |
+
'location' => 'aws.query',
|
780 |
+
'default' => '2011-02-01',
|
781 |
+
),
|
782 |
+
'DomainName' => array(
|
783 |
+
'required' => true,
|
784 |
+
'type' => 'string',
|
785 |
+
'location' => 'aws.query',
|
786 |
+
'minLength' => 3,
|
787 |
+
'maxLength' => 28,
|
788 |
+
),
|
789 |
+
),
|
790 |
+
'errorResponses' => array(
|
791 |
+
array(
|
792 |
+
'reason' => 'An error occurred while processing the request.',
|
793 |
+
'class' => 'BaseException',
|
794 |
+
),
|
795 |
+
array(
|
796 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
797 |
+
'class' => 'InternalException',
|
798 |
+
),
|
799 |
+
array(
|
800 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
801 |
+
'class' => 'ResourceNotFoundException',
|
802 |
+
),
|
803 |
+
),
|
804 |
+
),
|
805 |
+
'DescribeSynonymOptions' => array(
|
806 |
+
'httpMethod' => 'POST',
|
807 |
+
'uri' => '/',
|
808 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
809 |
+
'responseClass' => 'DescribeSynonymOptionsResponse',
|
810 |
+
'responseType' => 'model',
|
811 |
+
'parameters' => array(
|
812 |
+
'Action' => array(
|
813 |
+
'static' => true,
|
814 |
+
'location' => 'aws.query',
|
815 |
+
'default' => 'DescribeSynonymOptions',
|
816 |
+
),
|
817 |
+
'Version' => array(
|
818 |
+
'static' => true,
|
819 |
+
'location' => 'aws.query',
|
820 |
+
'default' => '2011-02-01',
|
821 |
+
),
|
822 |
+
'DomainName' => array(
|
823 |
+
'required' => true,
|
824 |
+
'type' => 'string',
|
825 |
+
'location' => 'aws.query',
|
826 |
+
'minLength' => 3,
|
827 |
+
'maxLength' => 28,
|
828 |
+
),
|
829 |
+
),
|
830 |
+
'errorResponses' => array(
|
831 |
+
array(
|
832 |
+
'reason' => 'An error occurred while processing the request.',
|
833 |
+
'class' => 'BaseException',
|
834 |
+
),
|
835 |
+
array(
|
836 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
837 |
+
'class' => 'InternalException',
|
838 |
+
),
|
839 |
+
array(
|
840 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
841 |
+
'class' => 'ResourceNotFoundException',
|
842 |
+
),
|
843 |
+
),
|
844 |
+
),
|
845 |
+
'IndexDocuments' => array(
|
846 |
+
'httpMethod' => 'POST',
|
847 |
+
'uri' => '/',
|
848 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
849 |
+
'responseClass' => 'IndexDocumentsResponse',
|
850 |
+
'responseType' => 'model',
|
851 |
+
'parameters' => array(
|
852 |
+
'Action' => array(
|
853 |
+
'static' => true,
|
854 |
+
'location' => 'aws.query',
|
855 |
+
'default' => 'IndexDocuments',
|
856 |
+
),
|
857 |
+
'Version' => array(
|
858 |
+
'static' => true,
|
859 |
+
'location' => 'aws.query',
|
860 |
+
'default' => '2011-02-01',
|
861 |
+
),
|
862 |
+
'DomainName' => array(
|
863 |
+
'required' => true,
|
864 |
+
'type' => 'string',
|
865 |
+
'location' => 'aws.query',
|
866 |
+
'minLength' => 3,
|
867 |
+
'maxLength' => 28,
|
868 |
+
),
|
869 |
+
),
|
870 |
+
'errorResponses' => array(
|
871 |
+
array(
|
872 |
+
'reason' => 'An error occurred while processing the request.',
|
873 |
+
'class' => 'BaseException',
|
874 |
+
),
|
875 |
+
array(
|
876 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
877 |
+
'class' => 'InternalException',
|
878 |
+
),
|
879 |
+
array(
|
880 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
881 |
+
'class' => 'ResourceNotFoundException',
|
882 |
+
),
|
883 |
+
),
|
884 |
+
),
|
885 |
+
'UpdateDefaultSearchField' => array(
|
886 |
+
'httpMethod' => 'POST',
|
887 |
+
'uri' => '/',
|
888 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
889 |
+
'responseClass' => 'UpdateDefaultSearchFieldResponse',
|
890 |
+
'responseType' => 'model',
|
891 |
+
'parameters' => array(
|
892 |
+
'Action' => array(
|
893 |
+
'static' => true,
|
894 |
+
'location' => 'aws.query',
|
895 |
+
'default' => 'UpdateDefaultSearchField',
|
896 |
+
),
|
897 |
+
'Version' => array(
|
898 |
+
'static' => true,
|
899 |
+
'location' => 'aws.query',
|
900 |
+
'default' => '2011-02-01',
|
901 |
+
),
|
902 |
+
'DomainName' => array(
|
903 |
+
'required' => true,
|
904 |
+
'type' => 'string',
|
905 |
+
'location' => 'aws.query',
|
906 |
+
'minLength' => 3,
|
907 |
+
'maxLength' => 28,
|
908 |
+
),
|
909 |
+
'DefaultSearchField' => array(
|
910 |
+
'required' => true,
|
911 |
+
'type' => 'string',
|
912 |
+
'location' => 'aws.query',
|
913 |
+
),
|
914 |
+
),
|
915 |
+
'errorResponses' => array(
|
916 |
+
array(
|
917 |
+
'reason' => 'An error occurred while processing the request.',
|
918 |
+
'class' => 'BaseException',
|
919 |
+
),
|
920 |
+
array(
|
921 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
922 |
+
'class' => 'InternalException',
|
923 |
+
),
|
924 |
+
array(
|
925 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
926 |
+
'class' => 'InvalidTypeException',
|
927 |
+
),
|
928 |
+
array(
|
929 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
930 |
+
'class' => 'ResourceNotFoundException',
|
931 |
+
),
|
932 |
+
),
|
933 |
+
),
|
934 |
+
'UpdateServiceAccessPolicies' => array(
|
935 |
+
'httpMethod' => 'POST',
|
936 |
+
'uri' => '/',
|
937 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
938 |
+
'responseClass' => 'UpdateServiceAccessPoliciesResponse',
|
939 |
+
'responseType' => 'model',
|
940 |
+
'parameters' => array(
|
941 |
+
'Action' => array(
|
942 |
+
'static' => true,
|
943 |
+
'location' => 'aws.query',
|
944 |
+
'default' => 'UpdateServiceAccessPolicies',
|
945 |
+
),
|
946 |
+
'Version' => array(
|
947 |
+
'static' => true,
|
948 |
+
'location' => 'aws.query',
|
949 |
+
'default' => '2011-02-01',
|
950 |
+
),
|
951 |
+
'DomainName' => array(
|
952 |
+
'required' => true,
|
953 |
+
'type' => 'string',
|
954 |
+
'location' => 'aws.query',
|
955 |
+
'minLength' => 3,
|
956 |
+
'maxLength' => 28,
|
957 |
+
),
|
958 |
+
'AccessPolicies' => array(
|
959 |
+
'required' => true,
|
960 |
+
'type' => 'string',
|
961 |
+
'location' => 'aws.query',
|
962 |
+
),
|
963 |
+
),
|
964 |
+
'errorResponses' => array(
|
965 |
+
array(
|
966 |
+
'reason' => 'An error occurred while processing the request.',
|
967 |
+
'class' => 'BaseException',
|
968 |
+
),
|
969 |
+
array(
|
970 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
971 |
+
'class' => 'InternalException',
|
972 |
+
),
|
973 |
+
array(
|
974 |
+
'reason' => 'The request was rejected because a resource limit has already been met.',
|
975 |
+
'class' => 'LimitExceededException',
|
976 |
+
),
|
977 |
+
array(
|
978 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
979 |
+
'class' => 'ResourceNotFoundException',
|
980 |
+
),
|
981 |
+
array(
|
982 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
983 |
+
'class' => 'InvalidTypeException',
|
984 |
+
),
|
985 |
+
),
|
986 |
+
),
|
987 |
+
'UpdateStemmingOptions' => array(
|
988 |
+
'httpMethod' => 'POST',
|
989 |
+
'uri' => '/',
|
990 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
991 |
+
'responseClass' => 'UpdateStemmingOptionsResponse',
|
992 |
+
'responseType' => 'model',
|
993 |
+
'parameters' => array(
|
994 |
+
'Action' => array(
|
995 |
+
'static' => true,
|
996 |
+
'location' => 'aws.query',
|
997 |
+
'default' => 'UpdateStemmingOptions',
|
998 |
+
),
|
999 |
+
'Version' => array(
|
1000 |
+
'static' => true,
|
1001 |
+
'location' => 'aws.query',
|
1002 |
+
'default' => '2011-02-01',
|
1003 |
+
),
|
1004 |
+
'DomainName' => array(
|
1005 |
+
'required' => true,
|
1006 |
+
'type' => 'string',
|
1007 |
+
'location' => 'aws.query',
|
1008 |
+
'minLength' => 3,
|
1009 |
+
'maxLength' => 28,
|
1010 |
+
),
|
1011 |
+
'Stems' => array(
|
1012 |
+
'required' => true,
|
1013 |
+
'type' => 'string',
|
1014 |
+
'location' => 'aws.query',
|
1015 |
+
),
|
1016 |
+
),
|
1017 |
+
'errorResponses' => array(
|
1018 |
+
array(
|
1019 |
+
'reason' => 'An error occurred while processing the request.',
|
1020 |
+
'class' => 'BaseException',
|
1021 |
+
),
|
1022 |
+
array(
|
1023 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
1024 |
+
'class' => 'InternalException',
|
1025 |
+
),
|
1026 |
+
array(
|
1027 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
1028 |
+
'class' => 'InvalidTypeException',
|
1029 |
+
),
|
1030 |
+
array(
|
1031 |
+
'reason' => 'The request was rejected because a resource limit has already been met.',
|
1032 |
+
'class' => 'LimitExceededException',
|
1033 |
+
),
|
1034 |
+
array(
|
1035 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
1036 |
+
'class' => 'ResourceNotFoundException',
|
1037 |
+
),
|
1038 |
+
),
|
1039 |
+
),
|
1040 |
+
'UpdateStopwordOptions' => array(
|
1041 |
+
'httpMethod' => 'POST',
|
1042 |
+
'uri' => '/',
|
1043 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1044 |
+
'responseClass' => 'UpdateStopwordOptionsResponse',
|
1045 |
+
'responseType' => 'model',
|
1046 |
+
'parameters' => array(
|
1047 |
+
'Action' => array(
|
1048 |
+
'static' => true,
|
1049 |
+
'location' => 'aws.query',
|
1050 |
+
'default' => 'UpdateStopwordOptions',
|
1051 |
+
),
|
1052 |
+
'Version' => array(
|
1053 |
+
'static' => true,
|
1054 |
+
'location' => 'aws.query',
|
1055 |
+
'default' => '2011-02-01',
|
1056 |
+
),
|
1057 |
+
'DomainName' => array(
|
1058 |
+
'required' => true,
|
1059 |
+
'type' => 'string',
|
1060 |
+
'location' => 'aws.query',
|
1061 |
+
'minLength' => 3,
|
1062 |
+
'maxLength' => 28,
|
1063 |
+
),
|
1064 |
+
'Stopwords' => array(
|
1065 |
+
'required' => true,
|
1066 |
+
'type' => 'string',
|
1067 |
+
'location' => 'aws.query',
|
1068 |
+
),
|
1069 |
+
),
|
1070 |
+
'errorResponses' => array(
|
1071 |
+
array(
|
1072 |
+
'reason' => 'An error occurred while processing the request.',
|
1073 |
+
'class' => 'BaseException',
|
1074 |
+
),
|
1075 |
+
array(
|
1076 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
1077 |
+
'class' => 'InternalException',
|
1078 |
+
),
|
1079 |
+
array(
|
1080 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
1081 |
+
'class' => 'InvalidTypeException',
|
1082 |
+
),
|
1083 |
+
array(
|
1084 |
+
'reason' => 'The request was rejected because a resource limit has already been met.',
|
1085 |
+
'class' => 'LimitExceededException',
|
1086 |
+
),
|
1087 |
+
array(
|
1088 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
1089 |
+
'class' => 'ResourceNotFoundException',
|
1090 |
+
),
|
1091 |
+
),
|
1092 |
+
),
|
1093 |
+
'UpdateSynonymOptions' => array(
|
1094 |
+
'httpMethod' => 'POST',
|
1095 |
+
'uri' => '/',
|
1096 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
1097 |
+
'responseClass' => 'UpdateSynonymOptionsResponse',
|
1098 |
+
'responseType' => 'model',
|
1099 |
+
'parameters' => array(
|
1100 |
+
'Action' => array(
|
1101 |
+
'static' => true,
|
1102 |
+
'location' => 'aws.query',
|
1103 |
+
'default' => 'UpdateSynonymOptions',
|
1104 |
+
),
|
1105 |
+
'Version' => array(
|
1106 |
+
'static' => true,
|
1107 |
+
'location' => 'aws.query',
|
1108 |
+
'default' => '2011-02-01',
|
1109 |
+
),
|
1110 |
+
'DomainName' => array(
|
1111 |
+
'required' => true,
|
1112 |
+
'type' => 'string',
|
1113 |
+
'location' => 'aws.query',
|
1114 |
+
'minLength' => 3,
|
1115 |
+
'maxLength' => 28,
|
1116 |
+
),
|
1117 |
+
'Synonyms' => array(
|
1118 |
+
'required' => true,
|
1119 |
+
'type' => 'string',
|
1120 |
+
'location' => 'aws.query',
|
1121 |
+
),
|
1122 |
+
),
|
1123 |
+
'errorResponses' => array(
|
1124 |
+
array(
|
1125 |
+
'reason' => 'An error occurred while processing the request.',
|
1126 |
+
'class' => 'BaseException',
|
1127 |
+
),
|
1128 |
+
array(
|
1129 |
+
'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
|
1130 |
+
'class' => 'InternalException',
|
1131 |
+
),
|
1132 |
+
array(
|
1133 |
+
'reason' => 'The request was rejected because it specified an invalid type definition.',
|
1134 |
+
'class' => 'InvalidTypeException',
|
1135 |
+
),
|
1136 |
+
array(
|
1137 |
+
'reason' => 'The request was rejected because a resource limit has already been met.',
|
1138 |
+
'class' => 'LimitExceededException',
|
1139 |
+
),
|
1140 |
+
array(
|
1141 |
+
'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
|
1142 |
+
'class' => 'ResourceNotFoundException',
|
1143 |
+
),
|
1144 |
+
),
|
1145 |
+
),
|
1146 |
+
),
|
1147 |
+
'models' => array(
|
1148 |
+
'CreateDomainResponse' => array(
|
1149 |
+
'type' => 'object',
|
1150 |
+
'additionalProperties' => true,
|
1151 |
+
'properties' => array(
|
1152 |
+
'DomainStatus' => array(
|
1153 |
+
'type' => 'object',
|
1154 |
+
'location' => 'xml',
|
1155 |
+
'properties' => array(
|
1156 |
+
'DomainId' => array(
|
1157 |
+
'type' => 'string',
|
1158 |
+
),
|
1159 |
+
'DomainName' => array(
|
1160 |
+
'type' => 'string',
|
1161 |
+
),
|
1162 |
+
'Created' => array(
|
1163 |
+
'type' => 'boolean',
|
1164 |
+
),
|
1165 |
+
'Deleted' => array(
|
1166 |
+
'type' => 'boolean',
|
1167 |
+
),
|
1168 |
+
'NumSearchableDocs' => array(
|
1169 |
+
'type' => 'numeric',
|
1170 |
+
),
|
1171 |
+
'DocService' => array(
|
1172 |
+
'type' => 'object',
|
1173 |
+
'properties' => array(
|
1174 |
+
'Arn' => array(
|
1175 |
+
'type' => 'string',
|
1176 |
+
),
|
1177 |
+
'Endpoint' => array(
|
1178 |
+
'type' => 'string',
|
1179 |
+
),
|
1180 |
+
),
|
1181 |
+
),
|
1182 |
+
'SearchService' => array(
|
1183 |
+
'type' => 'object',
|
1184 |
+
'properties' => array(
|
1185 |
+
'Arn' => array(
|
1186 |
+
'type' => 'string',
|
1187 |
+
),
|
1188 |
+
'Endpoint' => array(
|
1189 |
+
'type' => 'string',
|
1190 |
+
),
|
1191 |
+
),
|
1192 |
+
),
|
1193 |
+
'RequiresIndexDocuments' => array(
|
1194 |
+
'type' => 'boolean',
|
1195 |
+
),
|
1196 |
+
'Processing' => array(
|
1197 |
+
'type' => 'boolean',
|
1198 |
+
),
|
1199 |
+
'SearchInstanceType' => array(
|
1200 |
+
'type' => 'string',
|
1201 |
+
),
|
1202 |
+
'SearchPartitionCount' => array(
|
1203 |
+
'type' => 'numeric',
|
1204 |
+
),
|
1205 |
+
'SearchInstanceCount' => array(
|
1206 |
+
'type' => 'numeric',
|
1207 |
+
),
|
1208 |
+
),
|
1209 |
+
),
|
1210 |
+
),
|
1211 |
+
),
|
1212 |
+
'DefineIndexFieldResponse' => array(
|
1213 |
+
'type' => 'object',
|
1214 |
+
'additionalProperties' => true,
|
1215 |
+
'properties' => array(
|
1216 |
+
'IndexField' => array(
|
1217 |
+
'type' => 'object',
|
1218 |
+
'location' => 'xml',
|
1219 |
+
'properties' => array(
|
1220 |
+
'Options' => array(
|
1221 |
+
'type' => 'object',
|
1222 |
+
'properties' => array(
|
1223 |
+
'IndexFieldName' => array(
|
1224 |
+
'type' => 'string',
|
1225 |
+
),
|
1226 |
+
'IndexFieldType' => array(
|
1227 |
+
'type' => 'string',
|
1228 |
+
),
|
1229 |
+
'UIntOptions' => array(
|
1230 |
+
'type' => 'object',
|
1231 |
+
'properties' => array(
|
1232 |
+
'DefaultValue' => array(
|
1233 |
+
'type' => 'numeric',
|
1234 |
+
),
|
1235 |
+
),
|
1236 |
+
),
|
1237 |
+
'LiteralOptions' => array(
|
1238 |
+
'type' => 'object',
|
1239 |
+
'properties' => array(
|
1240 |
+
'DefaultValue' => array(
|
1241 |
+
'type' => 'string',
|
1242 |
+
),
|
1243 |
+
'SearchEnabled' => array(
|
1244 |
+
'type' => 'boolean',
|
1245 |
+
),
|
1246 |
+
'FacetEnabled' => array(
|
1247 |
+
'type' => 'boolean',
|
1248 |
+
),
|
1249 |
+
'ResultEnabled' => array(
|
1250 |
+
'type' => 'boolean',
|
1251 |
+
),
|
1252 |
+
),
|
1253 |
+
),
|
1254 |
+
'TextOptions' => array(
|
1255 |
+
'type' => 'object',
|
1256 |
+
'properties' => array(
|
1257 |
+
'DefaultValue' => array(
|
1258 |
+
'type' => 'string',
|
1259 |
+
),
|
1260 |
+
'FacetEnabled' => array(
|
1261 |
+
'type' => 'boolean',
|
1262 |
+
),
|
1263 |
+
'ResultEnabled' => array(
|
1264 |
+
'type' => 'boolean',
|
1265 |
+
),
|
1266 |
+
'TextProcessor' => array(
|
1267 |
+
'type' => 'string',
|
1268 |
+
),
|
1269 |
+
),
|
1270 |
+
),
|
1271 |
+
'SourceAttributes' => array(
|
1272 |
+
'type' => 'array',
|
1273 |
+
'items' => array(
|
1274 |
+
'name' => 'SourceAttribute',
|
1275 |
+
'type' => 'object',
|
1276 |
+
'sentAs' => 'member',
|
1277 |
+
'properties' => array(
|
1278 |
+
'SourceDataFunction' => array(
|
1279 |
+
'type' => 'string',
|
1280 |
+
),
|
1281 |
+
'SourceDataCopy' => array(
|
1282 |
+
'type' => 'object',
|
1283 |
+
'properties' => array(
|
1284 |
+
'SourceName' => array(
|
1285 |
+
'type' => 'string',
|
1286 |
+
),
|
1287 |
+
'DefaultValue' => array(
|
1288 |
+
'type' => 'string',
|
1289 |
+
),
|
1290 |
+
),
|
1291 |
+
),
|
1292 |
+
'SourceDataTrimTitle' => array(
|
1293 |
+
'type' => 'object',
|
1294 |
+
'properties' => array(
|
1295 |
+
'SourceName' => array(
|
1296 |
+
'type' => 'string',
|
1297 |
+
),
|
1298 |
+
'DefaultValue' => array(
|
1299 |
+
'type' => 'string',
|
1300 |
+
),
|
1301 |
+
'Separator' => array(
|
1302 |
+
'type' => 'string',
|
1303 |
+
),
|
1304 |
+
'Language' => array(
|
1305 |
+
'type' => 'string',
|
1306 |
+
),
|
1307 |
+
),
|
1308 |
+
),
|
1309 |
+
'SourceDataMap' => array(
|
1310 |
+
'type' => 'object',
|
1311 |
+
'properties' => array(
|
1312 |
+
'SourceName' => array(
|
1313 |
+
'type' => 'string',
|
1314 |
+
),
|
1315 |
+
'DefaultValue' => array(
|
1316 |
+
'type' => 'string',
|
1317 |
+
),
|
1318 |
+
'Cases' => array(
|
1319 |
+
'type' => 'array',
|
1320 |
+
'filters' => array(
|
1321 |
+
array(
|
1322 |
+
'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap',
|
1323 |
+
'args' => array(
|
1324 |
+
'@value',
|
1325 |
+
'entry',
|
1326 |
+
'key',
|
1327 |
+
'value',
|
1328 |
+
),
|
1329 |
+
),
|
1330 |
+
),
|
1331 |
+
'items' => array(
|
1332 |
+
'name' => 'entry',
|
1333 |
+
'type' => 'object',
|
1334 |
+
'sentAs' => 'entry',
|
1335 |
+
'additionalProperties' => true,
|
1336 |
+
'properties' => array(
|
1337 |
+
'key' => array(
|
1338 |
+
'type' => 'string',
|
1339 |
+
),
|
1340 |
+
'value' => array(
|
1341 |
+
'type' => 'string',
|
1342 |
+
),
|
1343 |
+
),
|
1344 |
+
),
|
1345 |
+
'additionalProperties' => false,
|
1346 |
+
),
|
1347 |
+
),
|
1348 |
+
),
|
1349 |
+
),
|
1350 |
+
),
|
1351 |
+
),
|
1352 |
+
),
|
1353 |
+
),
|
1354 |
+
'Status' => array(
|
1355 |
+
'type' => 'object',
|
1356 |
+
'properties' => array(
|
1357 |
+
'CreationDate' => array(
|
1358 |
+
'type' => 'string',
|
1359 |
+
),
|
1360 |
+
'UpdateDate' => array(
|
1361 |
+
'type' => 'string',
|
1362 |
+
),
|
1363 |
+
'UpdateVersion' => array(
|
1364 |
+
'type' => 'numeric',
|
1365 |
+
),
|
1366 |
+
'State' => array(
|
1367 |
+
'type' => 'string',
|
1368 |
+
),
|
1369 |
+
'PendingDeletion' => array(
|
1370 |
+
'type' => 'boolean',
|
1371 |
+
),
|
1372 |
+
),
|
1373 |
+
),
|
1374 |
+
),
|
1375 |
+
),
|
1376 |
+
),
|
1377 |
+
),
|
1378 |
+
'DefineRankExpressionResponse' => array(
|
1379 |
+
'type' => 'object',
|
1380 |
+
'additionalProperties' => true,
|
1381 |
+
'properties' => array(
|
1382 |
+
'RankExpression' => array(
|
1383 |
+
'type' => 'object',
|
1384 |
+
'location' => 'xml',
|
1385 |
+
'properties' => array(
|
1386 |
+
'Options' => array(
|
1387 |
+
'type' => 'object',
|
1388 |
+
'properties' => array(
|
1389 |
+
'RankName' => array(
|
1390 |
+
'type' => 'string',
|
1391 |
+
),
|
1392 |
+
'RankExpression' => array(
|
1393 |
+
'type' => 'string',
|
1394 |
+
),
|
1395 |
+
),
|
1396 |
+
),
|
1397 |
+
'Status' => array(
|
1398 |
+
'type' => 'object',
|
1399 |
+
'properties' => array(
|
1400 |
+
'CreationDate' => array(
|
1401 |
+
'type' => 'string',
|
1402 |
+
),
|
1403 |
+
'UpdateDate' => array(
|
1404 |
+
'type' => 'string',
|
1405 |
+
),
|
1406 |
+
'UpdateVersion' => array(
|
1407 |
+
'type' => 'numeric',
|
1408 |
+
),
|
1409 |
+
'State' => array(
|
1410 |
+
'type' => 'string',
|
1411 |
+
),
|
1412 |
+
'PendingDeletion' => array(
|
1413 |
+
'type' => 'boolean',
|
1414 |
+
),
|
1415 |
+
),
|
1416 |
+
),
|
1417 |
+
),
|
1418 |
+
),
|
1419 |
+
),
|
1420 |
+
),
|
1421 |
+
'DeleteDomainResponse' => array(
|
1422 |
+
'type' => 'object',
|
1423 |
+
'additionalProperties' => true,
|
1424 |
+
'properties' => array(
|
1425 |
+
'DomainStatus' => array(
|
1426 |
+
'type' => 'object',
|
1427 |
+
'location' => 'xml',
|
1428 |
+
'properties' => array(
|
1429 |
+
'DomainId' => array(
|
1430 |
+
'type' => 'string',
|
1431 |
+
),
|
1432 |
+
'DomainName' => array(
|
1433 |
+
'type' => 'string',
|
1434 |
+
),
|
1435 |
+
'Created' => array(
|
1436 |
+
'type' => 'boolean',
|
1437 |
+
),
|
1438 |
+
'Deleted' => array(
|
1439 |
+
'type' => 'boolean',
|
1440 |
+
),
|
1441 |
+
'NumSearchableDocs' => array(
|
1442 |
+
'type' => 'numeric',
|
1443 |
+
),
|
1444 |
+
'DocService' => array(
|
1445 |
+
'type' => 'object',
|
1446 |
+
'properties' => array(
|
1447 |
+
'Arn' => array(
|
1448 |
+
'type' => 'string',
|
1449 |
+
),
|
1450 |
+
'Endpoint' => array(
|
1451 |
+
'type' => 'string',
|
1452 |
+
),
|
1453 |
+
),
|
1454 |
+
),
|
1455 |
+
'SearchService' => array(
|
1456 |
+
'type' => 'object',
|
1457 |
+
'properties' => array(
|
1458 |
+
'Arn' => array(
|
1459 |
+
'type' => 'string',
|
1460 |
+
),
|
1461 |
+
'Endpoint' => array(
|
1462 |
+
'type' => 'string',
|
1463 |
+
),
|
1464 |
+
),
|
1465 |
+
),
|
1466 |
+
'RequiresIndexDocuments' => array(
|
1467 |
+
'type' => 'boolean',
|
1468 |
+
),
|
1469 |
+
'Processing' => array(
|
1470 |
+
'type' => 'boolean',
|
1471 |
+
),
|
1472 |
+
'SearchInstanceType' => array(
|
1473 |
+
'type' => 'string',
|
1474 |
+
),
|
1475 |
+
'SearchPartitionCount' => array(
|
1476 |
+
'type' => 'numeric',
|
1477 |
+
),
|
1478 |
+
'SearchInstanceCount' => array(
|
1479 |
+
'type' => 'numeric',
|
1480 |
+
),
|
1481 |
+
),
|
1482 |
+
),
|
1483 |
+
),
|
1484 |
+
),
|
1485 |
+
'DeleteIndexFieldResponse' => array(
|
1486 |
+
'type' => 'object',
|
1487 |
+
'additionalProperties' => true,
|
1488 |
+
'properties' => array(
|
1489 |
+
'IndexField' => array(
|
1490 |
+
'type' => 'object',
|
1491 |
+
'location' => 'xml',
|
1492 |
+
'properties' => array(
|
1493 |
+
'Options' => array(
|
1494 |
+
'type' => 'object',
|
1495 |
+
'properties' => array(
|
1496 |
+
'IndexFieldName' => array(
|
1497 |
+
'type' => 'string',
|
1498 |
+
),
|
1499 |
+
'IndexFieldType' => array(
|
1500 |
+
'type' => 'string',
|
1501 |
+
),
|
1502 |
+
'UIntOptions' => array(
|
1503 |
+
'type' => 'object',
|
1504 |
+
'properties' => array(
|
1505 |
+
'DefaultValue' => array(
|
1506 |
+
'type' => 'numeric',
|
1507 |
+
),
|
1508 |
+
),
|
1509 |
+
),
|
1510 |
+
'LiteralOptions' => array(
|
1511 |
+
'type' => 'object',
|
1512 |
+
'properties' => array(
|
1513 |
+
'DefaultValue' => array(
|
1514 |
+
'type' => 'string',
|
1515 |
+
),
|
1516 |
+
'SearchEnabled' => array(
|
1517 |
+
'type' => 'boolean',
|
1518 |
+
),
|
1519 |
+
'FacetEnabled' => array(
|
1520 |
+
'type' => 'boolean',
|
1521 |
+
),
|
1522 |
+
'ResultEnabled' => array(
|
1523 |
+
'type' => 'boolean',
|
1524 |
+
),
|
1525 |
+
),
|
1526 |
+
),
|
1527 |
+
'TextOptions' => array(
|
1528 |
+
'type' => 'object',
|
1529 |
+
'properties' => array(
|
1530 |
+
'DefaultValue' => array(
|
1531 |
+
'type' => 'string',
|
1532 |
+
),
|
1533 |
+
'FacetEnabled' => array(
|
1534 |
+
'type' => 'boolean',
|
1535 |
+
),
|
1536 |
+
'ResultEnabled' => array(
|
1537 |
+
'type' => 'boolean',
|
1538 |
+
),
|
1539 |
+
'TextProcessor' => array(
|
1540 |
+
'type' => 'string',
|
1541 |
+
),
|
1542 |
+
),
|
1543 |
+
),
|
1544 |
+
'SourceAttributes' => array(
|
1545 |
+
'type' => 'array',
|
1546 |
+
'items' => array(
|
1547 |
+
'name' => 'SourceAttribute',
|
1548 |
+
'type' => 'object',
|
1549 |
+
'sentAs' => 'member',
|
1550 |
+
'properties' => array(
|
1551 |
+
'SourceDataFunction' => array(
|
1552 |
+
'type' => 'string',
|
1553 |
+
),
|
1554 |
+
'SourceDataCopy' => array(
|
1555 |
+
'type' => 'object',
|
1556 |
+
'properties' => array(
|
1557 |
+
'SourceName' => array(
|
1558 |
+
'type' => 'string',
|
1559 |
+
),
|
1560 |
+
'DefaultValue' => array(
|
1561 |
+
'type' => 'string',
|
1562 |
+
),
|
1563 |
+
),
|
1564 |
+
),
|
1565 |
+
'SourceDataTrimTitle' => array(
|
1566 |
+
'type' => 'object',
|
1567 |
+
'properties' => array(
|
1568 |
+
'SourceName' => array(
|
1569 |
+
'type' => 'string',
|
1570 |
+
),
|
1571 |
+
'DefaultValue' => array(
|
1572 |
+
'type' => 'string',
|
1573 |
+
),
|
1574 |
+
'Separator' => array(
|
1575 |
+
'type' => 'string',
|
1576 |
+
),
|
1577 |
+
'Language' => array(
|
1578 |
+
'type' => 'string',
|
1579 |
+
),
|
1580 |
+
),
|
1581 |
+
),
|
1582 |
+
'SourceDataMap' => array(
|
1583 |
+
'type' => 'object',
|
1584 |
+
'properties' => array(
|
1585 |
+
'SourceName' => array(
|
1586 |
+
'type' => 'string',
|
1587 |
+
),
|
1588 |
+
'DefaultValue' => array(
|
1589 |
+
'type' => 'string',
|
1590 |
+
),
|
1591 |
+
'Cases' => array(
|
1592 |
+
'type' => 'array',
|
1593 |
+
'filters' => array(
|
1594 |
+
array(
|
1595 |
+
'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap',
|
1596 |
+
'args' => array(
|
1597 |
+
'@value',
|
1598 |
+
'entry',
|
1599 |
+
'key',
|
1600 |
+
'value',
|
1601 |
+
),
|
1602 |
+
),
|
1603 |
+
),
|
1604 |
+
'items' => array(
|
1605 |
+
'name' => 'entry',
|
1606 |
+
'type' => 'object',
|
1607 |
+
'sentAs' => 'entry',
|
1608 |
+
'additionalProperties' => true,
|
1609 |
+
'properties' => array(
|
1610 |
+
'key' => array(
|
1611 |
+
'type' => 'string',
|
1612 |
+
),
|
1613 |
+
'value' => array(
|
1614 |
+
'type' => 'string',
|
1615 |
+
),
|
1616 |
+
),
|
1617 |
+
),
|
1618 |
+
'additionalProperties' => false,
|
1619 |
+
),
|
1620 |
+
),
|
1621 |
+
),
|
1622 |
+
),
|
1623 |
+
),
|
1624 |
+
),
|
1625 |
+
),
|
1626 |
+
),
|
1627 |
+
'Status' => array(
|
1628 |
+
'type' => 'object',
|
1629 |
+
'properties' => array(
|
1630 |
+
'CreationDate' => array(
|
1631 |
+
'type' => 'string',
|
1632 |
+
),
|
1633 |
+
'UpdateDate' => array(
|
1634 |
+
'type' => 'string',
|
1635 |
+
),
|
1636 |
+
'UpdateVersion' => array(
|
1637 |
+
'type' => 'numeric',
|
1638 |
+
),
|
1639 |
+
'State' => array(
|
1640 |
+
'type' => 'string',
|
1641 |
+
),
|
1642 |
+
'PendingDeletion' => array(
|
1643 |
+
'type' => 'boolean',
|
1644 |
+
),
|
1645 |
+
),
|
1646 |
+
),
|
1647 |
+
),
|
1648 |
+
),
|
1649 |
+
),
|
1650 |
+
),
|
1651 |
+
'DeleteRankExpressionResponse' => array(
|
1652 |
+
'type' => 'object',
|
1653 |
+
'additionalProperties' => true,
|
1654 |
+
'properties' => array(
|
1655 |
+
'RankExpression' => array(
|
1656 |
+
'type' => 'object',
|
1657 |
+
'location' => 'xml',
|
1658 |
+
'properties' => array(
|
1659 |
+
'Options' => array(
|
1660 |
+
'type' => 'object',
|
1661 |
+
'properties' => array(
|
1662 |
+
'RankName' => array(
|
1663 |
+
'type' => 'string',
|
1664 |
+
),
|
1665 |
+
'RankExpression' => array(
|
1666 |
+
'type' => 'string',
|
1667 |
+
),
|
1668 |
+
),
|
1669 |
+
),
|
1670 |
+
'Status' => array(
|
1671 |
+
'type' => 'object',
|
1672 |
+
'properties' => array(
|
1673 |
+
'CreationDate' => array(
|
1674 |
+
'type' => 'string',
|
1675 |
+
),
|
1676 |
+
'UpdateDate' => array(
|
1677 |
+
'type' => 'string',
|
1678 |
+
),
|
1679 |
+
'UpdateVersion' => array(
|
1680 |
+
'type' => 'numeric',
|
1681 |
+
),
|
1682 |
+
'State' => array(
|
1683 |
+
'type' => 'string',
|
1684 |
+
),
|
1685 |
+
'PendingDeletion' => array(
|
1686 |
+
'type' => 'boolean',
|
1687 |
+
),
|
1688 |
+
),
|
1689 |
+
),
|
1690 |
+
),
|
1691 |
+
),
|
1692 |
+
),
|
1693 |
+
),
|
1694 |
+
'DescribeDefaultSearchFieldResponse' => array(
|
1695 |
+
'type' => 'object',
|
1696 |
+
'additionalProperties' => true,
|
1697 |
+
'properties' => array(
|
1698 |
+
'DefaultSearchField' => array(
|
1699 |
+
'type' => 'object',
|
1700 |
+
'location' => 'xml',
|
1701 |
+
'properties' => array(
|
1702 |
+
'Options' => array(
|
1703 |
+
'type' => 'string',
|
1704 |
+
),
|
1705 |
+
'Status' => array(
|
1706 |
+
'type' => 'object',
|
1707 |
+
'properties' => array(
|
1708 |
+
'CreationDate' => array(
|
1709 |
+
'type' => 'string',
|
1710 |
+
),
|
1711 |
+
'UpdateDate' => array(
|
1712 |
+
'type' => 'string',
|
1713 |
+
),
|
1714 |
+
'UpdateVersion' => array(
|
1715 |
+
'type' => 'numeric',
|
1716 |
+
),
|
1717 |
+
'State' => array(
|
1718 |
+
'type' => 'string',
|
1719 |
+
),
|
1720 |
+
'PendingDeletion' => array(
|
1721 |
+
'type' => 'boolean',
|
1722 |
+
),
|
1723 |
+
),
|
1724 |
+
),
|
1725 |
+
),
|
1726 |
+
),
|
1727 |
+
),
|
1728 |
+
),
|
1729 |
+
'DescribeDomainsResponse' => array(
|
1730 |
+
'type' => 'object',
|
1731 |
+
'additionalProperties' => true,
|
1732 |
+
'properties' => array(
|
1733 |
+
'DomainStatusList' => array(
|
1734 |
+
'type' => 'array',
|
1735 |
+
'location' => 'xml',
|
1736 |
+
'items' => array(
|
1737 |
+
'name' => 'DomainStatus',
|
1738 |
+
'type' => 'object',
|
1739 |
+
'sentAs' => 'member',
|
1740 |
+
'properties' => array(
|
1741 |
+
'DomainId' => array(
|
1742 |
+
'type' => 'string',
|
1743 |
+
),
|
1744 |
+
'DomainName' => array(
|
1745 |
+
'type' => 'string',
|
1746 |
+
),
|
1747 |
+
'Created' => array(
|
1748 |
+
'type' => 'boolean',
|
1749 |
+
),
|
1750 |
+
'Deleted' => array(
|
1751 |
+
'type' => 'boolean',
|
1752 |
+
),
|
1753 |
+
'NumSearchableDocs' => array(
|
1754 |
+
'type' => 'numeric',
|
1755 |
+
),
|
1756 |
+
'DocService' => array(
|
1757 |
+
'type' => 'object',
|
1758 |
+
'properties' => array(
|
1759 |
+
'Arn' => array(
|
1760 |
+
'type' => 'string',
|
1761 |
+
),
|
1762 |
+
'Endpoint' => array(
|
1763 |
+
'type' => 'string',
|
1764 |
+
),
|
1765 |
+
),
|
1766 |
+
),
|
1767 |
+
'SearchService' => array(
|
1768 |
+
'type' => 'object',
|
1769 |
+
'properties' => array(
|
1770 |
+
'Arn' => array(
|
1771 |
+
'type' => 'string',
|
1772 |
+
),
|
1773 |
+
'Endpoint' => array(
|
1774 |
+
'type' => 'string',
|
1775 |
+
),
|
1776 |
+
),
|
1777 |
+
),
|
1778 |
+
'RequiresIndexDocuments' => array(
|
1779 |
+
'type' => 'boolean',
|
1780 |
+
),
|
1781 |
+
'Processing' => array(
|
1782 |
+
'type' => 'boolean',
|
1783 |
+
),
|
1784 |
+
'SearchInstanceType' => array(
|
1785 |
+
'type' => 'string',
|
1786 |
+
),
|
1787 |
+
'SearchPartitionCount' => array(
|
1788 |
+
'type' => 'numeric',
|
1789 |
+
),
|
1790 |
+
'SearchInstanceCount' => array(
|
1791 |
+
'type' => 'numeric',
|
1792 |
+
),
|
1793 |
+
),
|
1794 |
+
),
|
1795 |
+
),
|
1796 |
+
),
|
1797 |
+
),
|
1798 |
+
'DescribeIndexFieldsResponse' => array(
|
1799 |
+
'type' => 'object',
|
1800 |
+
'additionalProperties' => true,
|
1801 |
+
'properties' => array(
|
1802 |
+
'IndexFields' => array(
|
1803 |
+
'type' => 'array',
|
1804 |
+
'location' => 'xml',
|
1805 |
+
'items' => array(
|
1806 |
+
'name' => 'IndexFieldStatus',
|
1807 |
+
'type' => 'object',
|
1808 |
+
'sentAs' => 'member',
|
1809 |
+
'properties' => array(
|
1810 |
+
'Options' => array(
|
1811 |
+
'type' => 'object',
|
1812 |
+
'properties' => array(
|
1813 |
+
'IndexFieldName' => array(
|
1814 |
+
'type' => 'string',
|
1815 |
+
),
|
1816 |
+
'IndexFieldType' => array(
|
1817 |
+
'type' => 'string',
|
1818 |
+
),
|
1819 |
+
'UIntOptions' => array(
|
1820 |
+
'type' => 'object',
|
1821 |
+
'properties' => array(
|
1822 |
+
'DefaultValue' => array(
|
1823 |
+
'type' => 'numeric',
|
1824 |
+
),
|
1825 |
+
),
|
1826 |
+
),
|
1827 |
+
'LiteralOptions' => array(
|
1828 |
+
'type' => 'object',
|
1829 |
+
'properties' => array(
|
1830 |
+
'DefaultValue' => array(
|
1831 |
+
'type' => 'string',
|
1832 |
+
),
|
1833 |
+
'SearchEnabled' => array(
|
1834 |
+
'type' => 'boolean',
|
1835 |
+
),
|
1836 |
+
'FacetEnabled' => array(
|
1837 |
+
'type' => 'boolean',
|
1838 |
+
),
|
1839 |
+
'ResultEnabled' => array(
|
1840 |
+
'type' => 'boolean',
|
1841 |
+
),
|
1842 |
+
),
|
1843 |
+
),
|
1844 |
+
'TextOptions' => array(
|
1845 |
+
'type' => 'object',
|
1846 |
+
'properties' => array(
|
1847 |
+
'DefaultValue' => array(
|
1848 |
+
'type' => 'string',
|
1849 |
+
),
|
1850 |
+
'FacetEnabled' => array(
|
1851 |
+
'type' => 'boolean',
|
1852 |
+
),
|
1853 |
+
'ResultEnabled' => array(
|
1854 |
+
'type' => 'boolean',
|
1855 |
+
),
|
1856 |
+
'TextProcessor' => array(
|
1857 |
+
'type' => 'string',
|
1858 |
+
),
|
1859 |
+
),
|
1860 |
+
),
|
1861 |
+
'SourceAttributes' => array(
|
1862 |
+
'type' => 'array',
|
1863 |
+
'items' => array(
|
1864 |
+
'name' => 'SourceAttribute',
|
1865 |
+
'type' => 'object',
|
1866 |
+
'sentAs' => 'member',
|
1867 |
+
'properties' => array(
|
1868 |
+
'SourceDataFunction' => array(
|
1869 |
+
'type' => 'string',
|
1870 |
+
),
|
1871 |
+
'SourceDataCopy' => array(
|
1872 |
+
'type' => 'object',
|
1873 |
+
'properties' => array(
|
1874 |
+
'SourceName' => array(
|
1875 |
+
'type' => 'string',
|
1876 |
+
),
|
1877 |
+
'DefaultValue' => array(
|
1878 |
+
'type' => 'string',
|
1879 |
+
),
|
1880 |
+
),
|
1881 |
+
),
|
1882 |
+
'SourceDataTrimTitle' => array(
|
1883 |
+
'type' => 'object',
|
1884 |
+
'properties' => array(
|
1885 |
+
'SourceName' => array(
|
1886 |
+
'type' => 'string',
|
1887 |
+
),
|
1888 |
+
'DefaultValue' => array(
|
1889 |
+
'type' => 'string',
|
1890 |
+
),
|
1891 |
+
'Separator' => array(
|
1892 |
+
'type' => 'string',
|
1893 |
+
),
|
1894 |
+
'Language' => array(
|
1895 |
+
'type' => 'string',
|
1896 |
+
),
|
1897 |
+
),
|
1898 |
+
),
|
1899 |
+
'SourceDataMap' => array(
|
1900 |
+
'type' => 'object',
|
1901 |
+
'properties' => array(
|
1902 |
+
'SourceName' => array(
|
1903 |
+
'type' => 'string',
|
1904 |
+
),
|
1905 |
+
'DefaultValue' => array(
|
1906 |
+
'type' => 'string',
|
1907 |
+
),
|
1908 |
+
'Cases' => array(
|
1909 |
+
'type' => 'array',
|
1910 |
+
'filters' => array(
|
1911 |
+
array(
|
1912 |
+
'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap',
|
1913 |
+
'args' => array(
|
1914 |
+
'@value',
|
1915 |
+
'entry',
|
1916 |
+
'key',
|
1917 |
+
'value',
|
1918 |
+
),
|
1919 |
+
),
|
1920 |
+
),
|
1921 |
+
'items' => array(
|
1922 |
+
'name' => 'entry',
|
1923 |
+
'type' => 'object',
|
1924 |
+
'sentAs' => 'entry',
|
1925 |
+
'additionalProperties' => true,
|
1926 |
+
'properties' => array(
|
1927 |
+
'key' => array(
|
1928 |
+
'type' => 'string',
|
1929 |
+
),
|
1930 |
+
'value' => array(
|
1931 |
+
'type' => 'string',
|
1932 |
+
),
|
1933 |
+
),
|
1934 |
+
),
|
1935 |
+
'additionalProperties' => false,
|
1936 |
+
),
|
1937 |
+
),
|
1938 |
+
),
|
1939 |
+
),
|
1940 |
+
),
|
1941 |
+
),
|
1942 |
+
),
|
1943 |
+
),
|
1944 |
+
'Status' => array(
|
1945 |
+
'type' => 'object',
|
1946 |
+
'properties' => array(
|
1947 |
+
'CreationDate' => array(
|
1948 |
+
'type' => 'string',
|
1949 |
+
),
|
1950 |
+
'UpdateDate' => array(
|
1951 |
+
'type' => 'string',
|
1952 |
+
),
|
1953 |
+
'UpdateVersion' => array(
|
1954 |
+
'type' => 'numeric',
|
1955 |
+
),
|
1956 |
+
'State' => array(
|
1957 |
+
'type' => 'string',
|
1958 |
+
),
|
1959 |
+
'PendingDeletion' => array(
|
1960 |
+
'type' => 'boolean',
|
1961 |
+
),
|
1962 |
+
),
|
1963 |
+
),
|
1964 |
+
),
|
1965 |
+
),
|
1966 |
+
),
|
1967 |
+
),
|
1968 |
+
),
|
1969 |
+
'DescribeRankExpressionsResponse' => array(
|
1970 |
+
'type' => 'object',
|
1971 |
+
'additionalProperties' => true,
|
1972 |
+
'properties' => array(
|
1973 |
+
'RankExpressions' => array(
|
1974 |
+
'type' => 'array',
|
1975 |
+
'location' => 'xml',
|
1976 |
+
'items' => array(
|
1977 |
+
'name' => 'RankExpressionStatus',
|
1978 |
+
'type' => 'object',
|
1979 |
+
'sentAs' => 'member',
|
1980 |
+
'properties' => array(
|
1981 |
+
'Options' => array(
|
1982 |
+
'type' => 'object',
|
1983 |
+
'properties' => array(
|
1984 |
+
'RankName' => array(
|
1985 |
+
'type' => 'string',
|
1986 |
+
),
|
1987 |
+
'RankExpression' => array(
|
1988 |
+
'type' => 'string',
|
1989 |
+
),
|
1990 |
+
),
|
1991 |
+
),
|
1992 |
+
'Status' => array(
|
1993 |
+
'type' => 'object',
|
1994 |
+
'properties' => array(
|
1995 |
+
'CreationDate' => array(
|
1996 |
+
'type' => 'string',
|
1997 |
+
),
|
1998 |
+
'UpdateDate' => array(
|
1999 |
+
'type' => 'string',
|
2000 |
+
),
|
2001 |
+
'UpdateVersion' => array(
|
2002 |
+
'type' => 'numeric',
|
2003 |
+
),
|
2004 |
+
'State' => array(
|
2005 |
+
'type' => 'string',
|
2006 |
+
),
|
2007 |
+
'PendingDeletion' => array(
|
2008 |
+
'type' => 'boolean',
|
2009 |
+
),
|
2010 |
+
),
|
2011 |
+
),
|
2012 |
+
),
|
2013 |
+
),
|
2014 |
+
),
|
2015 |
+
),
|
2016 |
+
),
|
2017 |
+
'DescribeServiceAccessPoliciesResponse' => array(
|
2018 |
+
'type' => 'object',
|
2019 |
+
'additionalProperties' => true,
|
2020 |
+
'properties' => array(
|
2021 |
+
'AccessPolicies' => array(
|
2022 |
+
'type' => 'object',
|
2023 |
+
'location' => 'xml',
|
2024 |
+
'properties' => array(
|
2025 |
+
'Options' => array(
|
2026 |
+
'type' => 'string',
|
2027 |
+
),
|
2028 |
+
'Status' => array(
|
2029 |
+
'type' => 'object',
|
2030 |
+
'properties' => array(
|
2031 |
+
'CreationDate' => array(
|
2032 |
+
'type' => 'string',
|
2033 |
+
),
|
2034 |
+
'UpdateDate' => array(
|
2035 |
+
'type' => 'string',
|
2036 |
+
),
|
2037 |
+
'UpdateVersion' => array(
|
2038 |
+
'type' => 'numeric',
|
2039 |
+
),
|
2040 |
+
'State' => array(
|
2041 |
+
'type' => 'string',
|
2042 |
+
),
|
2043 |
+
'PendingDeletion' => array(
|
2044 |
+
'type' => 'boolean',
|
2045 |
+
),
|
2046 |
+
),
|
2047 |
+
),
|
2048 |
+
),
|
2049 |
+
),
|
2050 |
+
),
|
2051 |
+
),
|
2052 |
+
'DescribeStemmingOptionsResponse' => array(
|
2053 |
+
'type' => 'object',
|
2054 |
+
'additionalProperties' => true,
|
2055 |
+
'properties' => array(
|
2056 |
+
'Stems' => array(
|
2057 |
+
'type' => 'object',
|
2058 |
+
'location' => 'xml',
|
2059 |
+
'properties' => array(
|
2060 |
+
'Options' => array(
|
2061 |
+
'type' => 'string',
|
2062 |
+
),
|
2063 |
+
'Status' => array(
|
2064 |
+
'type' => 'object',
|
2065 |
+
'properties' => array(
|
2066 |
+
'CreationDate' => array(
|
2067 |
+
'type' => 'string',
|
2068 |
+
),
|
2069 |
+
'UpdateDate' => array(
|
2070 |
+
'type' => 'string',
|
2071 |
+
),
|
2072 |
+
'UpdateVersion' => array(
|
2073 |
+
'type' => 'numeric',
|
2074 |
+
),
|
2075 |
+
'State' => array(
|
2076 |
+
'type' => 'string',
|
2077 |
+
),
|
2078 |
+
'PendingDeletion' => array(
|
2079 |
+
'type' => 'boolean',
|
2080 |
+
),
|
2081 |
+
),
|
2082 |
+
),
|
2083 |
+
),
|
2084 |
+
),
|
2085 |
+
),
|
2086 |
+
),
|
2087 |
+
'DescribeStopwordOptionsResponse' => array(
|
2088 |
+
'type' => 'object',
|
2089 |
+
'additionalProperties' => true,
|
2090 |
+
'properties' => array(
|
2091 |
+
'Stopwords' => array(
|
2092 |
+
'type' => 'object',
|
2093 |
+
'location' => 'xml',
|
2094 |
+
'properties' => array(
|
2095 |
+
'Options' => array(
|
2096 |
+
'type' => 'string',
|
2097 |
+
),
|
2098 |
+
'Status' => array(
|
2099 |
+
'type' => 'object',
|
2100 |
+
'properties' => array(
|
2101 |
+
'CreationDate' => array(
|
2102 |
+
'type' => 'string',
|
2103 |
+
),
|
2104 |
+
'UpdateDate' => array(
|
2105 |
+
'type' => 'string',
|
2106 |
+
),
|
2107 |
+
'UpdateVersion' => array(
|
2108 |
+
'type' => 'numeric',
|
2109 |
+
),
|
2110 |
+
'State' => array(
|
2111 |
+
'type' => 'string',
|
2112 |
+
),
|
2113 |
+
'PendingDeletion' => array(
|
2114 |
+
'type' => 'boolean',
|
2115 |
+
),
|
2116 |
+
),
|
2117 |
+
),
|
2118 |
+
),
|
2119 |
+
),
|
2120 |
+
),
|
2121 |
+
),
|
2122 |
+
'DescribeSynonymOptionsResponse' => array(
|
2123 |
+
'type' => 'object',
|
2124 |
+
'additionalProperties' => true,
|
2125 |
+
'properties' => array(
|
2126 |
+
'Synonyms' => array(
|
2127 |
+
'type' => 'object',
|
2128 |
+
'location' => 'xml',
|
2129 |
+
'properties' => array(
|
2130 |
+
'Options' => array(
|
2131 |
+
'type' => 'string',
|
2132 |
+
),
|
2133 |
+
'Status' => array(
|
2134 |
+
'type' => 'object',
|
2135 |
+
'properties' => array(
|
2136 |
+
'CreationDate' => array(
|
2137 |
+
'type' => 'string',
|
2138 |
+
),
|
2139 |
+
'UpdateDate' => array(
|
2140 |
+
'type' => 'string',
|
2141 |
+
),
|
2142 |
+
'UpdateVersion' => array(
|
2143 |
+
'type' => 'numeric',
|
2144 |
+
),
|
2145 |
+
'State' => array(
|
2146 |
+
'type' => 'string',
|
2147 |
+
),
|
2148 |
+
'PendingDeletion' => array(
|
2149 |
+
'type' => 'boolean',
|
2150 |
+
),
|
2151 |
+
),
|
2152 |
+
),
|
2153 |
+
),
|
2154 |
+
),
|
2155 |
+
),
|
2156 |
+
),
|
2157 |
+
'IndexDocumentsResponse' => array(
|
2158 |
+
'type' => 'object',
|
2159 |
+
'additionalProperties' => true,
|
2160 |
+
'properties' => array(
|
2161 |
+
'FieldNames' => array(
|
2162 |
+
'type' => 'array',
|
2163 |
+
'location' => 'xml',
|
2164 |
+
'items' => array(
|
2165 |
+
'name' => 'FieldName',
|
2166 |
+
'type' => 'string',
|
2167 |
+
'sentAs' => 'member',
|
2168 |
+
),
|
2169 |
+
),
|
2170 |
+
),
|
2171 |
+
),
|
2172 |
+
'UpdateDefaultSearchFieldResponse' => array(
|
2173 |
+
'type' => 'object',
|
2174 |
+
'additionalProperties' => true,
|
2175 |
+
'properties' => array(
|
2176 |
+
'DefaultSearchField' => array(
|
2177 |
+
'type' => 'object',
|
2178 |
+
'location' => 'xml',
|
2179 |
+
'properties' => array(
|
2180 |
+
'Options' => array(
|
2181 |
+
'type' => 'string',
|
2182 |
+
),
|
2183 |
+
'Status' => array(
|
2184 |
+
'type' => 'object',
|
2185 |
+
'properties' => array(
|
2186 |
+
'CreationDate' => array(
|
2187 |
+
'type' => 'string',
|
2188 |
+
),
|
2189 |
+
'UpdateDate' => array(
|
2190 |
+
'type' => 'string',
|
2191 |
+
),
|
2192 |
+
'UpdateVersion' => array(
|
2193 |
+
'type' => 'numeric',
|
2194 |
+
),
|
2195 |
+
'State' => array(
|
2196 |
+
'type' => 'string',
|
2197 |
+
),
|
2198 |
+
'PendingDeletion' => array(
|
2199 |
+
'type' => 'boolean',
|
2200 |
+
),
|
2201 |
+
),
|
2202 |
+
),
|
2203 |
+
),
|
2204 |
+
),
|
2205 |
+
),
|
2206 |
+
),
|
2207 |
+
'UpdateServiceAccessPoliciesResponse' => array(
|
2208 |
+
'type' => 'object',
|
2209 |
+
'additionalProperties' => true,
|
2210 |
+
'properties' => array(
|
2211 |
+
'AccessPolicies' => array(
|
2212 |
+
'type' => 'object',
|
2213 |
+
'location' => 'xml',
|
2214 |
+
'properties' => array(
|
2215 |
+
'Options' => array(
|
2216 |
+
'type' => 'string',
|
2217 |
+
),
|
2218 |
+
'Status' => array(
|
2219 |
+
'type' => 'object',
|
2220 |
+
'properties' => array(
|
2221 |
+
'CreationDate' => array(
|
2222 |
+
'type' => 'string',
|
2223 |
+
),
|
2224 |
+
'UpdateDate' => array(
|
2225 |
+
'type' => 'string',
|
2226 |
+
),
|
2227 |
+
'UpdateVersion' => array(
|
2228 |
+
'type' => 'numeric',
|
2229 |
+
),
|
2230 |
+
'State' => array(
|
2231 |
+
'type' => 'string',
|
2232 |
+
),
|
2233 |
+
'PendingDeletion' => array(
|
2234 |
+
'type' => 'boolean',
|
2235 |
+
),
|
2236 |
+
),
|
2237 |
+
),
|
2238 |
+
),
|
2239 |
+
),
|
2240 |
+
),
|
2241 |
+
),
|
2242 |
+
'UpdateStemmingOptionsResponse' => array(
|
2243 |
+
'type' => 'object',
|
2244 |
+
'additionalProperties' => true,
|
2245 |
+
'properties' => array(
|
2246 |
+
'Stems' => array(
|
2247 |
+
'type' => 'object',
|
2248 |
+
'location' => 'xml',
|
2249 |
+
'properties' => array(
|
2250 |
+
'Options' => array(
|
2251 |
+
'type' => 'string',
|
2252 |
+
),
|
2253 |
+
'Status' => array(
|
2254 |
+
'type' => 'object',
|
2255 |
+
'properties' => array(
|
2256 |
+
'CreationDate' => array(
|
2257 |
+
'type' => 'string',
|
2258 |
+
),
|
2259 |
+
'UpdateDate' => array(
|
2260 |
+
'type' => 'string',
|
2261 |
+
),
|
2262 |
+
'UpdateVersion' => array(
|
2263 |
+
'type' => 'numeric',
|
2264 |
+
),
|
2265 |
+
'State' => array(
|
2266 |
+
'type' => 'string',
|
2267 |
+
),
|
2268 |
+
'PendingDeletion' => array(
|
2269 |
+
'type' => 'boolean',
|
2270 |
+
),
|
2271 |
+
),
|
2272 |
+
),
|
2273 |
+
),
|
2274 |
+
),
|
2275 |
+
),
|
2276 |
+
),
|
2277 |
+
'UpdateStopwordOptionsResponse' => array(
|
2278 |
+
'type' => 'object',
|
2279 |
+
'additionalProperties' => true,
|
2280 |
+
'properties' => array(
|
2281 |
+
'Stopwords' => array(
|
2282 |
+
'type' => 'object',
|
2283 |
+
'location' => 'xml',
|
2284 |
+
'properties' => array(
|
2285 |
+
'Options' => array(
|
2286 |
+
'type' => 'string',
|
2287 |
+
),
|
2288 |
+
'Status' => array(
|
2289 |
+
'type' => 'object',
|
2290 |
+
'properties' => array(
|
2291 |
+
'CreationDate' => array(
|
2292 |
+
'type' => 'string',
|
2293 |
+
),
|
2294 |
+
'UpdateDate' => array(
|
2295 |
+
'type' => 'string',
|
2296 |
+
),
|
2297 |
+
'UpdateVersion' => array(
|
2298 |
+
'type' => 'numeric',
|
2299 |
+
),
|
2300 |
+
'State' => array(
|
2301 |
+
'type' => 'string',
|
2302 |
+
),
|
2303 |
+
'PendingDeletion' => array(
|
2304 |
+
'type' => 'boolean',
|
2305 |
+
),
|
2306 |
+
),
|
2307 |
+
),
|
2308 |
+
),
|
2309 |
+
),
|
2310 |
+
),
|
2311 |
+
),
|
2312 |
+
'UpdateSynonymOptionsResponse' => array(
|
2313 |
+
'type' => 'object',
|
2314 |
+
'additionalProperties' => true,
|
2315 |
+
'properties' => array(
|
2316 |
+
'Synonyms' => array(
|
2317 |
+
'type' => 'object',
|
2318 |
+
'location' => 'xml',
|
2319 |
+
'properties' => array(
|
2320 |
+
'Options' => array(
|
2321 |
+
'type' => 'string',
|
2322 |
+
),
|
2323 |
+
'Status' => array(
|
2324 |
+
'type' => 'object',
|
2325 |
+
'properties' => array(
|
2326 |
+
'CreationDate' => array(
|
2327 |
+
'type' => 'string',
|
2328 |
+
),
|
2329 |
+
'UpdateDate' => array(
|
2330 |
+
'type' => 'string',
|
2331 |
+
),
|
2332 |
+
'UpdateVersion' => array(
|
2333 |
+
'type' => 'numeric',
|
2334 |
+
),
|
2335 |
+
'State' => array(
|
2336 |
+
'type' => 'string',
|
2337 |
+
),
|
2338 |
+
'PendingDeletion' => array(
|
2339 |
+
'type' => 'boolean',
|
2340 |
+
),
|
2341 |
+
),
|
2342 |
+
),
|
2343 |
+
),
|
2344 |
+
),
|
2345 |
+
),
|
2346 |
+
),
|
2347 |
+
),
|
2348 |
+
'iterators' => array(
|
2349 |
+
'operations' => array(
|
2350 |
+
'DescribeDomains' => array(
|
2351 |
+
'result_key' => 'DomainStatusList',
|
2352 |
+
),
|
2353 |
+
'DescribeIndexFields' => array(
|
2354 |
+
'result_key' => 'IndexFields',
|
2355 |
+
),
|
2356 |
+
'DescribeRankExpressions' => array(
|
2357 |
+
'result_key' => 'RankExpressions',
|
2358 |
+
),
|
2359 |
+
),
|
2360 |
+
),
|
2361 |
+
);
|
vendor/aws/Aws/CloudWatch/CloudWatchClient.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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\CloudWatch;
|
18 |
+
|
19 |
+
use Aws\Common\Client\AbstractClient;
|
20 |
+
use Aws\Common\Client\ClientBuilder;
|
21 |
+
use Aws\Common\Enum\ClientOptions as Options;
|
22 |
+
use Guzzle\Common\Collection;
|
23 |
+
use Guzzle\Service\Resource\Model;
|
24 |
+
use Guzzle\Service\Resource\ResourceIteratorInterface;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Client to interact with Amazon CloudWatch
|
28 |
+
*
|
29 |
+
* @method Model deleteAlarms(array $args = array()) {@command CloudWatch DeleteAlarms}
|
30 |
+
* @method Model describeAlarmHistory(array $args = array()) {@command CloudWatch DescribeAlarmHistory}
|
31 |
+
* @method Model describeAlarms(array $args = array()) {@command CloudWatch DescribeAlarms}
|
32 |
+
* @method Model describeAlarmsForMetric(array $args = array()) {@command CloudWatch DescribeAlarmsForMetric}
|
33 |
+
* @method Model disableAlarmActions(array $args = array()) {@command CloudWatch DisableAlarmActions}
|
34 |
+
* @method Model enableAlarmActions(array $args = array()) {@command CloudWatch EnableAlarmActions}
|
35 |
+
* @method Model getMetricStatistics(array $args = array()) {@command CloudWatch GetMetricStatistics}
|
36 |
+
* @method Model listMetrics(array $args = array()) {@command CloudWatch ListMetrics}
|
37 |
+
* @method Model putMetricAlarm(array $args = array()) {@command CloudWatch PutMetricAlarm}
|
38 |
+
* @method Model putMetricData(array $args = array()) {@command CloudWatch PutMetricData}
|
39 |
+
* @method Model setAlarmState(array $args = array()) {@command CloudWatch SetAlarmState}
|
40 |
+
* @method ResourceIteratorInterface getDescribeAlarmHistoryIterator(array $args = array()) The input array uses the parameters of the DescribeAlarmHistory operation
|
41 |
+
* @method ResourceIteratorInterface getDescribeAlarmsIterator(array $args = array()) The input array uses the parameters of the DescribeAlarms operation
|
42 |
+
* @method ResourceIteratorInterface getDescribeAlarmsForMetricIterator(array $args = array()) The input array uses the parameters of the DescribeAlarmsForMetric operation
|
43 |
+
* @method ResourceIteratorInterface getListMetricsIterator(array $args = array()) The input array uses the parameters of the ListMetrics operation
|
44 |
+
*
|
45 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/guide/latest/service-cloudwatch.html User guide
|
46 |
+
* @link http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.CloudWatch.CloudWatchClient.html API docs
|
47 |
+
*/
|
48 |
+
class CloudWatchClient extends AbstractClient
|
49 |
+
{
|
50 |
+
const LATEST_API_VERSION = '2010-08-01';
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Factory method to create a new Amazon CloudWatch client using an array of configuration options.
|
54 |
+
*
|
55 |
+
* @param array|Collection $config Client configuration data
|
56 |
+
*
|
57 |
+
* @return self
|
58 |
+
* @see \Aws\Common\Client\DefaultClient for a list of available configuration options
|
59 |
+
*/
|
60 |
+
public static function factory($config = array())
|
61 |
+
{
|
62 |
+
return ClientBuilder::factory(__NAMESPACE__)
|
63 |
+
->setConfig($config)
|
64 |
+
->setConfigDefaults(array(
|
65 |
+
Options::VERSION => self::LATEST_API_VERSION,
|
66 |
+
Options::SERVICE_DESCRIPTION => __DIR__ . '/Resources/cloudwatch-%s.php'
|
67 |
+
))
|
68 |
+
->build();
|
69 |
+
}
|
70 |
+
}
|
vendor/aws/Aws/CloudWatch/Enum/ComparisonOperator.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable ComparisonOperator values
|
23 |
+
*/
|
24 |
+
class ComparisonOperator extends Enum
|
25 |
+
{
|
26 |
+
const GREATER_THAN_OR_EQUAL_TO_THRESHOLD = 'GreaterThanOrEqualToThreshold';
|
27 |
+
const GREATER_THAN_THRESHOLD = 'GreaterThanThreshold';
|
28 |
+
const LESS_THAN_THRESHOLD = 'LessThanThreshold';
|
29 |
+
const LESS_THAN_OR_EQUAL_TO_THRESHOLD = 'LessThanOrEqualToThreshold';
|
30 |
+
}
|
vendor/aws/Aws/CloudWatch/Enum/HistoryItemType.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable HistoryItemType values
|
23 |
+
*/
|
24 |
+
class HistoryItemType extends Enum
|
25 |
+
{
|
26 |
+
const CONFIGURATION_UPDATE = 'ConfigurationUpdate';
|
27 |
+
const STATE_UPDATE = 'StateUpdate';
|
28 |
+
const ACTION = 'Action';
|
29 |
+
}
|
vendor/aws/Aws/CloudWatch/Enum/StateValue.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable StateValue values
|
23 |
+
*/
|
24 |
+
class StateValue extends Enum
|
25 |
+
{
|
26 |
+
const OK = 'OK';
|
27 |
+
const ALARM = 'ALARM';
|
28 |
+
const INSUFFICIENT_DATA = 'INSUFFICIENT_DATA';
|
29 |
+
}
|
vendor/aws/Aws/CloudWatch/Enum/Statistic.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable Statistic values
|
23 |
+
*/
|
24 |
+
class Statistic extends Enum
|
25 |
+
{
|
26 |
+
const SAMPLE_COUNT = 'SampleCount';
|
27 |
+
const AVERAGE = 'Average';
|
28 |
+
const SUM = 'Sum';
|
29 |
+
const MINIMUM = 'Minimum';
|
30 |
+
const MAXIMUM = 'Maximum';
|
31 |
+
}
|
vendor/aws/Aws/CloudWatch/Enum/Unit.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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\CloudWatch\Enum;
|
18 |
+
|
19 |
+
use Aws\Common\Enum;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Contains enumerable Unit values
|
23 |
+
*/
|
24 |
+
class Unit extends Enum
|
25 |
+
{
|
26 |
+
const SECONDS = 'Seconds';
|
27 |
+
const MICROSECONDS = 'Microseconds';
|
28 |
+
const MILLISECONDS = 'Milliseconds';
|
29 |
+
const BYTES = 'Bytes';
|
30 |
+
const KILOBYTES = 'Kilobytes';
|
31 |
+
const MEGABYTES = 'Megabytes';
|
32 |
+
const GIGABYTES = 'Gigabytes';
|
33 |
+
const TERABYTES = 'Terabytes';
|
34 |
+
const BITS = 'Bits';
|
35 |
+
const KILOBITS = 'Kilobits';
|
36 |
+
const MEGABITS = 'Megabits';
|
37 |
+
const GIGABITS = 'Gigabits';
|
38 |
+
const TERABITS = 'Terabits';
|
39 |
+
const PERCENT = 'Percent';
|
40 |
+
const COUNT = 'Count';
|
41 |
+
const BYTES_PER_SECOND = 'Bytes/Second';
|
42 |
+
const KILOBYTES_PER_SECOND = 'Kilobytes/Second';
|
43 |
+
const MEGABYTES_PER_SECOND = 'Megabytes/Second';
|
44 |
+
const GIGABYTES_PER_SECOND = 'Gigabytes/Second';
|
45 |
+
const TERABYTES_PER_SECOND = 'Terabytes/Second';
|
46 |
+
const BITS_PER_SECOND = 'Bits/Second';
|
47 |
+
const KILOBITS_PER_SECOND = 'Kilobits/Second';
|
48 |
+
const MEGABITS_PER_SECOND = 'Megabits/Second';
|
49 |
+
const GIGABITS_PER_SECOND = 'Gigabits/Second';
|
50 |
+
const TERABITS_PER_SECOND = 'Terabits/Second';
|
51 |
+
const COUNT_PER_SECOND = 'Count/Second';
|
52 |
+
const NONE = 'None';
|
53 |
+
}
|
vendor/aws/Aws/CloudWatch/Exception/CloudWatchException.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\CloudWatch\Exception;
|
18 |
+
|
19 |
+
use Aws\Common\Exception\ServiceResponseException;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Default service exception class
|
23 |
+
*/
|
24 |
+
class CloudWatchException extends ServiceResponseException {}
|
vendor/aws/Aws/CloudWatch/Exception/InternalServiceException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Indicates that the request processing has failed due to some unknown error, exception, or failure.
|
21 |
+
*/
|
22 |
+
class InternalServiceException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Exception/InvalidFormatException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Data was not syntactically valid JSON.
|
21 |
+
*/
|
22 |
+
class InvalidFormatException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Exception/InvalidNextTokenException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The next token specified is invalid.
|
21 |
+
*/
|
22 |
+
class InvalidNextTokenException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Exception/InvalidParameterCombinationException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Parameters that must not be used together were used together.
|
21 |
+
*/
|
22 |
+
class InvalidParameterCombinationException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Exception/InvalidParameterValueException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Bad or out-of-range value was supplied for the input parameter.
|
21 |
+
*/
|
22 |
+
class InvalidParameterValueException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Exception/LimitExceededException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The quota for alarms for this customer has already been reached.
|
21 |
+
*/
|
22 |
+
class LimitExceededException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Exception/MissingRequiredParameterException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* An input parameter that is mandatory for processing the request is not supplied.
|
21 |
+
*/
|
22 |
+
class MissingRequiredParameterException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Exception/ResourceNotFoundException.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\CloudWatch\Exception;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The named resource does not exist.
|
21 |
+
*/
|
22 |
+
class ResourceNotFoundException extends CloudWatchException {}
|
vendor/aws/Aws/CloudWatch/Resources/cloudwatch-2010-08-01.php
ADDED
@@ -0,0 +1,1406 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
return array (
|
18 |
+
'apiVersion' => '2010-08-01',
|
19 |
+
'endpointPrefix' => 'monitoring',
|
20 |
+
'serviceFullName' => 'Amazon CloudWatch',
|
21 |
+
'serviceAbbreviation' => 'CloudWatch',
|
22 |
+
'serviceType' => 'query',
|
23 |
+
'resultWrapped' => true,
|
24 |
+
'signatureVersion' => 'v2',
|
25 |
+
'namespace' => 'CloudWatch',
|
26 |
+
'regions' => array(
|
27 |
+
'us-east-1' => array(
|
28 |
+
'http' => true,
|
29 |
+
'https' => true,
|
30 |
+
'hostname' => 'monitoring.us-east-1.amazonaws.com',
|
31 |
+
),
|
32 |
+
'us-west-1' => array(
|
33 |
+
'http' => true,
|
34 |
+
'https' => true,
|
35 |
+
'hostname' => 'monitoring.us-west-1.amazonaws.com',
|
36 |
+
),
|
37 |
+
'us-west-2' => array(
|
38 |
+
'http' => true,
|
39 |
+
'https' => true,
|
40 |
+
'hostname' => 'monitoring.us-west-2.amazonaws.com',
|
41 |
+
),
|
42 |
+
'eu-west-1' => array(
|
43 |
+
'http' => true,
|
44 |
+
'https' => true,
|
45 |
+
'hostname' => 'monitoring.eu-west-1.amazonaws.com',
|
46 |
+
),
|
47 |
+
'ap-northeast-1' => array(
|
48 |
+
'http' => true,
|
49 |
+
'https' => true,
|
50 |
+
'hostname' => 'monitoring.ap-northeast-1.amazonaws.com',
|
51 |
+
),
|
52 |
+
'ap-southeast-1' => array(
|
53 |
+
'http' => true,
|
54 |
+
'https' => true,
|
55 |
+
'hostname' => 'monitoring.ap-southeast-1.amazonaws.com',
|
56 |
+
),
|
57 |
+
'ap-southeast-2' => array(
|
58 |
+
'http' => true,
|
59 |
+
'https' => true,
|
60 |
+
'hostname' => 'monitoring.ap-southeast-2.amazonaws.com',
|
61 |
+
),
|
62 |
+
'sa-east-1' => array(
|
63 |
+
'http' => true,
|
64 |
+
'https' => true,
|
65 |
+
'hostname' => 'monitoring.sa-east-1.amazonaws.com',
|
66 |
+
),
|
67 |
+
'us-gov-west-1' => array(
|
68 |
+
'http' => false,
|
69 |
+
'https' => true,
|
70 |
+
'hostname' => 'monitoring.us-gov-west-1.amazonaws.com',
|
71 |
+
),
|
72 |
+
),
|
73 |
+
'operations' => array(
|
74 |
+
'DeleteAlarms' => array(
|
75 |
+
'httpMethod' => 'POST',
|
76 |
+
'uri' => '/',
|
77 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
78 |
+
'responseClass' => 'EmptyOutput',
|
79 |
+
'responseType' => 'model',
|
80 |
+
'parameters' => array(
|
81 |
+
'Action' => array(
|
82 |
+
'static' => true,
|
83 |
+
'location' => 'aws.query',
|
84 |
+
'default' => 'DeleteAlarms',
|
85 |
+
),
|
86 |
+
'Version' => array(
|
87 |
+
'static' => true,
|
88 |
+
'location' => 'aws.query',
|
89 |
+
'default' => '2010-08-01',
|
90 |
+
),
|
91 |
+
'AlarmNames' => array(
|
92 |
+
'required' => true,
|
93 |
+
'type' => 'array',
|
94 |
+
'location' => 'aws.query',
|
95 |
+
'sentAs' => 'AlarmNames.member',
|
96 |
+
'maxItems' => 100,
|
97 |
+
'items' => array(
|
98 |
+
'name' => 'AlarmName',
|
99 |
+
'type' => 'string',
|
100 |
+
'minLength' => 1,
|
101 |
+
'maxLength' => 255,
|
102 |
+
),
|
103 |
+
),
|
104 |
+
),
|
105 |
+
'errorResponses' => array(
|
106 |
+
array(
|
107 |
+
'reason' => 'The named resource does not exist.',
|
108 |
+
'class' => 'ResourceNotFoundException',
|
109 |
+
),
|
110 |
+
),
|
111 |
+
),
|
112 |
+
'DescribeAlarmHistory' => array(
|
113 |
+
'httpMethod' => 'POST',
|
114 |
+
'uri' => '/',
|
115 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
116 |
+
'responseClass' => 'DescribeAlarmHistoryOutput',
|
117 |
+
'responseType' => 'model',
|
118 |
+
'parameters' => array(
|
119 |
+
'Action' => array(
|
120 |
+
'static' => true,
|
121 |
+
'location' => 'aws.query',
|
122 |
+
'default' => 'DescribeAlarmHistory',
|
123 |
+
),
|
124 |
+
'Version' => array(
|
125 |
+
'static' => true,
|
126 |
+
'location' => 'aws.query',
|
127 |
+
'default' => '2010-08-01',
|
128 |
+
),
|
129 |
+
'AlarmName' => array(
|
130 |
+
'type' => 'string',
|
131 |
+
'location' => 'aws.query',
|
132 |
+
'minLength' => 1,
|
133 |
+
'maxLength' => 255,
|
134 |
+
),
|
135 |
+
'HistoryItemType' => array(
|
136 |
+
'type' => 'string',
|
137 |
+
'location' => 'aws.query',
|
138 |
+
'enum' => array(
|
139 |
+
'ConfigurationUpdate',
|
140 |
+
'StateUpdate',
|
141 |
+
'Action',
|
142 |
+
),
|
143 |
+
),
|
144 |
+
'StartDate' => array(
|
145 |
+
'type' => array(
|
146 |
+
'object',
|
147 |
+
'string',
|
148 |
+
'integer',
|
149 |
+
),
|
150 |
+
'format' => 'date-time',
|
151 |
+
'location' => 'aws.query',
|
152 |
+
),
|
153 |
+
'EndDate' => array(
|
154 |
+
'type' => array(
|
155 |
+
'object',
|
156 |
+
'string',
|
157 |
+
'integer',
|
158 |
+
),
|
159 |
+
'format' => 'date-time',
|
160 |
+
'location' => 'aws.query',
|
161 |
+
),
|
162 |
+
'MaxRecords' => array(
|
163 |
+
'type' => 'numeric',
|
164 |
+
'location' => 'aws.query',
|
165 |
+
'minimum' => 1,
|
166 |
+
'maximum' => 100,
|
167 |
+
),
|
168 |
+
'NextToken' => array(
|
169 |
+
'type' => 'string',
|
170 |
+
'location' => 'aws.query',
|
171 |
+
),
|
172 |
+
),
|
173 |
+
'errorResponses' => array(
|
174 |
+
array(
|
175 |
+
'reason' => 'The next token specified is invalid.',
|
176 |
+
'class' => 'InvalidNextTokenException',
|
177 |
+
),
|
178 |
+
),
|
179 |
+
),
|
180 |
+
'DescribeAlarms' => array(
|
181 |
+
'httpMethod' => 'POST',
|
182 |
+
'uri' => '/',
|
183 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
184 |
+
'responseClass' => 'DescribeAlarmsOutput',
|
185 |
+
'responseType' => 'model',
|
186 |
+
'parameters' => array(
|
187 |
+
'Action' => array(
|
188 |
+
'static' => true,
|
189 |
+
'location' => 'aws.query',
|
190 |
+
'default' => 'DescribeAlarms',
|
191 |
+
),
|
192 |
+
'Version' => array(
|
193 |
+
'static' => true,
|
194 |
+
'location' => 'aws.query',
|
195 |
+
'default' => '2010-08-01',
|
196 |
+
),
|
197 |
+
'AlarmNames' => array(
|
198 |
+
'type' => 'array',
|
199 |
+
'location' => 'aws.query',
|
200 |
+
'sentAs' => 'AlarmNames.member',
|
201 |
+
'maxItems' => 100,
|
202 |
+
'items' => array(
|
203 |
+
'name' => 'AlarmName',
|
204 |
+
'type' => 'string',
|
205 |
+
'minLength' => 1,
|
206 |
+
'maxLength' => 255,
|
207 |
+
),
|
208 |
+
),
|
209 |
+
'AlarmNamePrefix' => array(
|
210 |
+
'type' => 'string',
|
211 |
+
'location' => 'aws.query',
|
212 |
+
'minLength' => 1,
|
213 |
+
'maxLength' => 255,
|
214 |
+
),
|
215 |
+
'StateValue' => array(
|
216 |
+
'type' => 'string',
|
217 |
+
'location' => 'aws.query',
|
218 |
+
'enum' => array(
|
219 |
+
'OK',
|
220 |
+
'ALARM',
|
221 |
+
'INSUFFICIENT_DATA',
|
222 |
+
),
|
223 |
+
),
|
224 |
+
'ActionPrefix' => array(
|
225 |
+
'type' => 'string',
|
226 |
+
'location' => 'aws.query',
|
227 |
+
'minLength' => 1,
|
228 |
+
'maxLength' => 1024,
|
229 |
+
),
|
230 |
+
'MaxRecords' => array(
|
231 |
+
'type' => 'numeric',
|
232 |
+
'location' => 'aws.query',
|
233 |
+
'minimum' => 1,
|
234 |
+
'maximum' => 100,
|
235 |
+
),
|
236 |
+
'NextToken' => array(
|
237 |
+
'type' => 'string',
|
238 |
+
'location' => 'aws.query',
|
239 |
+
),
|
240 |
+
),
|
241 |
+
'errorResponses' => array(
|
242 |
+
array(
|
243 |
+
'reason' => 'The next token specified is invalid.',
|
244 |
+
'class' => 'InvalidNextTokenException',
|
245 |
+
),
|
246 |
+
),
|
247 |
+
),
|
248 |
+
'DescribeAlarmsForMetric' => array(
|
249 |
+
'httpMethod' => 'POST',
|
250 |
+
'uri' => '/',
|
251 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
252 |
+
'responseClass' => 'DescribeAlarmsForMetricOutput',
|
253 |
+
'responseType' => 'model',
|
254 |
+
'parameters' => array(
|
255 |
+
'Action' => array(
|
256 |
+
'static' => true,
|
257 |
+
'location' => 'aws.query',
|
258 |
+
'default' => 'DescribeAlarmsForMetric',
|
259 |
+
),
|
260 |
+
'Version' => array(
|
261 |
+
'static' => true,
|
262 |
+
'location' => 'aws.query',
|
263 |
+
'default' => '2010-08-01',
|
264 |
+
),
|
265 |
+
'MetricName' => array(
|
266 |
+
'required' => true,
|
267 |
+
'type' => 'string',
|
268 |
+
'location' => 'aws.query',
|
269 |
+
'minLength' => 1,
|
270 |
+
'maxLength' => 255,
|
271 |
+
),
|
272 |
+
'Namespace' => array(
|
273 |
+
'required' => true,
|
274 |
+
'type' => 'string',
|
275 |
+
'location' => 'aws.query',
|
276 |
+
'minLength' => 1,
|
277 |
+
'maxLength' => 255,
|
278 |
+
),
|
279 |
+
'Statistic' => array(
|
280 |
+
'type' => 'string',
|
281 |
+
'location' => 'aws.query',
|
282 |
+
'enum' => array(
|
283 |
+
'SampleCount',
|
284 |
+
'Average',
|
285 |
+
'Sum',
|
286 |
+
'Minimum',
|
287 |
+
'Maximum',
|
288 |
+
),
|
289 |
+
),
|
290 |
+
'Dimensions' => array(
|
291 |
+
'type' => 'array',
|
292 |
+
'location' => 'aws.query',
|
293 |
+
'sentAs' => 'Dimensions.member',
|
294 |
+
'maxItems' => 10,
|
295 |
+
'items' => array(
|
296 |
+
'name' => 'Dimension',
|
297 |
+
'type' => 'object',
|
298 |
+
'properties' => array(
|
299 |
+
'Name' => array(
|
300 |
+
'required' => true,
|
301 |
+
'type' => 'string',
|
302 |
+
'minLength' => 1,
|
303 |
+
'maxLength' => 255,
|
304 |
+
),
|
305 |
+
'Value' => array(
|
306 |
+
'required' => true,
|
307 |
+
'type' => 'string',
|
308 |
+
'minLength' => 1,
|
309 |
+
'maxLength' => 255,
|
310 |
+
),
|
311 |
+
),
|
312 |
+
),
|
313 |
+
),
|
314 |
+
'Period' => array(
|
315 |
+
'type' => 'numeric',
|
316 |
+
'location' => 'aws.query',
|
317 |
+
'minimum' => 60,
|
318 |
+
),
|
319 |
+
'Unit' => array(
|
320 |
+
'type' => 'string',
|
321 |
+
'location' => 'aws.query',
|
322 |
+
'enum' => array(
|
323 |
+
'Seconds',
|
324 |
+
'Microseconds',
|
325 |
+
'Milliseconds',
|
326 |
+
'Bytes',
|
327 |
+
'Kilobytes',
|
328 |
+
'Megabytes',
|
329 |
+
'Gigabytes',
|
330 |
+
'Terabytes',
|
331 |
+
'Bits',
|
332 |
+
'Kilobits',
|
333 |
+
'Megabits',
|
334 |
+
'Gigabits',
|
335 |
+
'Terabits',
|
336 |
+
'Percent',
|
337 |
+
'Count',
|
338 |
+
'Bytes/Second',
|
339 |
+
'Kilobytes/Second',
|
340 |
+
'Megabytes/Second',
|
341 |
+
'Gigabytes/Second',
|
342 |
+
'Terabytes/Second',
|
343 |
+
'Bits/Second',
|
344 |
+
'Kilobits/Second',
|
345 |
+
'Megabits/Second',
|
346 |
+
'Gigabits/Second',
|
347 |
+
'Terabits/Second',
|
348 |
+
'Count/Second',
|
349 |
+
'None',
|
350 |
+
),
|
351 |
+
),
|
352 |
+
),
|
353 |
+
),
|
354 |
+
'DisableAlarmActions' => array(
|
355 |
+
'httpMethod' => 'POST',
|
356 |
+
'uri' => '/',
|
357 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
358 |
+
'responseClass' => 'EmptyOutput',
|
359 |
+
'responseType' => 'model',
|
360 |
+
'parameters' => array(
|
361 |
+
'Action' => array(
|
362 |
+
'static' => true,
|
363 |
+
'location' => 'aws.query',
|
364 |
+
'default' => 'DisableAlarmActions',
|
365 |
+
),
|
366 |
+
'Version' => array(
|
367 |
+
'static' => true,
|
368 |
+
'location' => 'aws.query',
|
369 |
+
'default' => '2010-08-01',
|
370 |
+
),
|
371 |
+
'AlarmNames' => array(
|
372 |
+
'required' => true,
|
373 |
+
'type' => 'array',
|
374 |
+
'location' => 'aws.query',
|
375 |
+
'sentAs' => 'AlarmNames.member',
|
376 |
+
'maxItems' => 100,
|
377 |
+
'items' => array(
|
378 |
+
'name' => 'AlarmName',
|
379 |
+
'type' => 'string',
|
380 |
+
'minLength' => 1,
|
381 |
+
'maxLength' => 255,
|
382 |
+
),
|
383 |
+
),
|
384 |
+
),
|
385 |
+
),
|
386 |
+
'EnableAlarmActions' => array(
|
387 |
+
'httpMethod' => 'POST',
|
388 |
+
'uri' => '/',
|
389 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
390 |
+
'responseClass' => 'EmptyOutput',
|
391 |
+
'responseType' => 'model',
|
392 |
+
'parameters' => array(
|
393 |
+
'Action' => array(
|
394 |
+
'static' => true,
|
395 |
+
'location' => 'aws.query',
|
396 |
+
'default' => 'EnableAlarmActions',
|
397 |
+
),
|
398 |
+
'Version' => array(
|
399 |
+
'static' => true,
|
400 |
+
'location' => 'aws.query',
|
401 |
+
'default' => '2010-08-01',
|
402 |
+
),
|
403 |
+
'AlarmNames' => array(
|
404 |
+
'required' => true,
|
405 |
+
'type' => 'array',
|
406 |
+
'location' => 'aws.query',
|
407 |
+
'sentAs' => 'AlarmNames.member',
|
408 |
+
'maxItems' => 100,
|
409 |
+
'items' => array(
|
410 |
+
'name' => 'AlarmName',
|
411 |
+
'type' => 'string',
|
412 |
+
'minLength' => 1,
|
413 |
+
'maxLength' => 255,
|
414 |
+
),
|
415 |
+
),
|
416 |
+
),
|
417 |
+
),
|
418 |
+
'GetMetricStatistics' => array(
|
419 |
+
'httpMethod' => 'POST',
|
420 |
+
'uri' => '/',
|
421 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
422 |
+
'responseClass' => 'GetMetricStatisticsOutput',
|
423 |
+
'responseType' => 'model',
|
424 |
+
'parameters' => array(
|
425 |
+
'Action' => array(
|
426 |
+
'static' => true,
|
427 |
+
'location' => 'aws.query',
|
428 |
+
'default' => 'GetMetricStatistics',
|
429 |
+
),
|
430 |
+
'Version' => array(
|
431 |
+
'static' => true,
|
432 |
+
'location' => 'aws.query',
|
433 |
+
'default' => '2010-08-01',
|
434 |
+
),
|
435 |
+
'Namespace' => array(
|
436 |
+
'required' => true,
|
437 |
+
'type' => 'string',
|
438 |
+
'location' => 'aws.query',
|
439 |
+
'minLength' => 1,
|
440 |
+
'maxLength' => 255,
|
441 |
+
),
|
442 |
+
'MetricName' => array(
|
443 |
+
'required' => true,
|
444 |
+
'type' => 'string',
|
445 |
+
'location' => 'aws.query',
|
446 |
+
'minLength' => 1,
|
447 |
+
'maxLength' => 255,
|
448 |
+
),
|
449 |
+
'Dimensions' => array(
|
450 |
+
'type' => 'array',
|
451 |
+
'location' => 'aws.query',
|
452 |
+
'sentAs' => 'Dimensions.member',
|
453 |
+
'maxItems' => 10,
|
454 |
+
'items' => array(
|
455 |
+
'name' => 'Dimension',
|
456 |
+
'type' => 'object',
|
457 |
+
'properties' => array(
|
458 |
+
'Name' => array(
|
459 |
+
'required' => true,
|
460 |
+
'type' => 'string',
|
461 |
+
'minLength' => 1,
|
462 |
+
'maxLength' => 255,
|
463 |
+
),
|
464 |
+
'Value' => array(
|
465 |
+
'required' => true,
|
466 |
+
'type' => 'string',
|
467 |
+
'minLength' => 1,
|
468 |
+
'maxLength' => 255,
|
469 |
+
),
|
470 |
+
),
|
471 |
+
),
|
472 |
+
),
|
473 |
+
'StartTime' => array(
|
474 |
+
'required' => true,
|
475 |
+
'type' => array(
|
476 |
+
'object',
|
477 |
+
'string',
|
478 |
+
'integer',
|
479 |
+
),
|
480 |
+
'format' => 'date-time',
|
481 |
+
'location' => 'aws.query',
|
482 |
+
),
|
483 |
+
'EndTime' => array(
|
484 |
+
'required' => true,
|
485 |
+
'type' => array(
|
486 |
+
'object',
|
487 |
+
'string',
|
488 |
+
'integer',
|
489 |
+
),
|
490 |
+
'format' => 'date-time',
|
491 |
+
'location' => 'aws.query',
|
492 |
+
),
|
493 |
+
'Period' => array(
|
494 |
+
'required' => true,
|
495 |
+
'type' => 'numeric',
|
496 |
+
'location' => 'aws.query',
|
497 |
+
'minimum' => 60,
|
498 |
+
),
|
499 |
+
'Statistics' => array(
|
500 |
+
'required' => true,
|
501 |
+
'type' => 'array',
|
502 |
+
'location' => 'aws.query',
|
503 |
+
'sentAs' => 'Statistics.member',
|
504 |
+
'minItems' => 1,
|
505 |
+
'maxItems' => 5,
|
506 |
+
'items' => array(
|
507 |
+
'name' => 'Statistic',
|
508 |
+
'type' => 'string',
|
509 |
+
'enum' => array(
|
510 |
+
'SampleCount',
|
511 |
+
'Average',
|
512 |
+
'Sum',
|
513 |
+
'Minimum',
|
514 |
+
'Maximum',
|
515 |
+
),
|
516 |
+
),
|
517 |
+
),
|
518 |
+
'Unit' => array(
|
519 |
+
'type' => 'string',
|
520 |
+
'location' => 'aws.query',
|
521 |
+
'enum' => array(
|
522 |
+
'Seconds',
|
523 |
+
'Microseconds',
|
524 |
+
'Milliseconds',
|
525 |
+
'Bytes',
|
526 |
+
'Kilobytes',
|
527 |
+
'Megabytes',
|
528 |
+
'Gigabytes',
|
529 |
+
'Terabytes',
|
530 |
+
'Bits',
|
531 |
+
'Kilobits',
|
532 |
+
'Megabits',
|
533 |
+
'Gigabits',
|
534 |
+
'Terabits',
|
535 |
+
'Percent',
|
536 |
+
'Count',
|
537 |
+
'Bytes/Second',
|
538 |
+
'Kilobytes/Second',
|
539 |
+
'Megabytes/Second',
|
540 |
+
'Gigabytes/Second',
|
541 |
+
'Terabytes/Second',
|
542 |
+
'Bits/Second',
|
543 |
+
'Kilobits/Second',
|
544 |
+
'Megabits/Second',
|
545 |
+
'Gigabits/Second',
|
546 |
+
'Terabits/Second',
|
547 |
+
'Count/Second',
|
548 |
+
'None',
|
549 |
+
),
|
550 |
+
),
|
551 |
+
),
|
552 |
+
'errorResponses' => array(
|
553 |
+
array(
|
554 |
+
'reason' => 'Bad or out-of-range value was supplied for the input parameter.',
|
555 |
+
'class' => 'InvalidParameterValueException',
|
556 |
+
),
|
557 |
+
array(
|
558 |
+
'reason' => 'An input parameter that is mandatory for processing the request is not supplied.',
|
559 |
+
'class' => 'MissingRequiredParameterException',
|
560 |
+
),
|
561 |
+
array(
|
562 |
+
'reason' => 'Parameters that must not be used together were used together.',
|
563 |
+
'class' => 'InvalidParameterCombinationException',
|
564 |
+
),
|
565 |
+
array(
|
566 |
+
'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.',
|
567 |
+
'class' => 'InternalServiceException',
|
568 |
+
),
|
569 |
+
),
|
570 |
+
),
|
571 |
+
'ListMetrics' => array(
|
572 |
+
'httpMethod' => 'POST',
|
573 |
+
'uri' => '/',
|
574 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
575 |
+
'responseClass' => 'ListMetricsOutput',
|
576 |
+
'responseType' => 'model',
|
577 |
+
'parameters' => array(
|
578 |
+
'Action' => array(
|
579 |
+
'static' => true,
|
580 |
+
'location' => 'aws.query',
|
581 |
+
'default' => 'ListMetrics',
|
582 |
+
),
|
583 |
+
'Version' => array(
|
584 |
+
'static' => true,
|
585 |
+
'location' => 'aws.query',
|
586 |
+
'default' => '2010-08-01',
|
587 |
+
),
|
588 |
+
'Namespace' => array(
|
589 |
+
'type' => 'string',
|
590 |
+
'location' => 'aws.query',
|
591 |
+
'minLength' => 1,
|
592 |
+
'maxLength' => 255,
|
593 |
+
),
|
594 |
+
'MetricName' => array(
|
595 |
+
'type' => 'string',
|
596 |
+
'location' => 'aws.query',
|
597 |
+
'minLength' => 1,
|
598 |
+
'maxLength' => 255,
|
599 |
+
),
|
600 |
+
'Dimensions' => array(
|
601 |
+
'type' => 'array',
|
602 |
+
'location' => 'aws.query',
|
603 |
+
'sentAs' => 'Dimensions.member',
|
604 |
+
'maxItems' => 10,
|
605 |
+
'items' => array(
|
606 |
+
'name' => 'DimensionFilter',
|
607 |
+
'type' => 'object',
|
608 |
+
'properties' => array(
|
609 |
+
'Name' => array(
|
610 |
+
'required' => true,
|
611 |
+
'type' => 'string',
|
612 |
+
'minLength' => 1,
|
613 |
+
'maxLength' => 255,
|
614 |
+
),
|
615 |
+
'Value' => array(
|
616 |
+
'type' => 'string',
|
617 |
+
'minLength' => 1,
|
618 |
+
'maxLength' => 255,
|
619 |
+
),
|
620 |
+
),
|
621 |
+
),
|
622 |
+
),
|
623 |
+
'NextToken' => array(
|
624 |
+
'type' => 'string',
|
625 |
+
'location' => 'aws.query',
|
626 |
+
),
|
627 |
+
),
|
628 |
+
'errorResponses' => array(
|
629 |
+
array(
|
630 |
+
'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.',
|
631 |
+
'class' => 'InternalServiceException',
|
632 |
+
),
|
633 |
+
array(
|
634 |
+
'reason' => 'Bad or out-of-range value was supplied for the input parameter.',
|
635 |
+
'class' => 'InvalidParameterValueException',
|
636 |
+
),
|
637 |
+
),
|
638 |
+
),
|
639 |
+
'PutMetricAlarm' => array(
|
640 |
+
'httpMethod' => 'POST',
|
641 |
+
'uri' => '/',
|
642 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
643 |
+
'responseClass' => 'EmptyOutput',
|
644 |
+
'responseType' => 'model',
|
645 |
+
'parameters' => array(
|
646 |
+
'Action' => array(
|
647 |
+
'static' => true,
|
648 |
+
'location' => 'aws.query',
|
649 |
+
'default' => 'PutMetricAlarm',
|
650 |
+
),
|
651 |
+
'Version' => array(
|
652 |
+
'static' => true,
|
653 |
+
'location' => 'aws.query',
|
654 |
+
'default' => '2010-08-01',
|
655 |
+
),
|
656 |
+
'AlarmName' => array(
|
657 |
+
'required' => true,
|
658 |
+
'type' => 'string',
|
659 |
+
'location' => 'aws.query',
|
660 |
+
'minLength' => 1,
|
661 |
+
'maxLength' => 255,
|
662 |
+
),
|
663 |
+
'AlarmDescription' => array(
|
664 |
+
'type' => 'string',
|
665 |
+
'location' => 'aws.query',
|
666 |
+
'maxLength' => 255,
|
667 |
+
),
|
668 |
+
'ActionsEnabled' => array(
|
669 |
+
'type' => 'boolean',
|
670 |
+
'format' => 'boolean-string',
|
671 |
+
'location' => 'aws.query',
|
672 |
+
),
|
673 |
+
'OKActions' => array(
|
674 |
+
'type' => 'array',
|
675 |
+
'location' => 'aws.query',
|
676 |
+
'sentAs' => 'OKActions.member',
|
677 |
+
'maxItems' => 5,
|
678 |
+
'items' => array(
|
679 |
+
'name' => 'ResourceName',
|
680 |
+
'type' => 'string',
|
681 |
+
'minLength' => 1,
|
682 |
+
'maxLength' => 1024,
|
683 |
+
),
|
684 |
+
),
|
685 |
+
'AlarmActions' => array(
|
686 |
+
'type' => 'array',
|
687 |
+
'location' => 'aws.query',
|
688 |
+
'sentAs' => 'AlarmActions.member',
|
689 |
+
'maxItems' => 5,
|
690 |
+
'items' => array(
|
691 |
+
'name' => 'ResourceName',
|
692 |
+
'type' => 'string',
|
693 |
+
'minLength' => 1,
|
694 |
+
'maxLength' => 1024,
|
695 |
+
),
|
696 |
+
),
|
697 |
+
'InsufficientDataActions' => array(
|
698 |
+
'type' => 'array',
|
699 |
+
'location' => 'aws.query',
|
700 |
+
'sentAs' => 'InsufficientDataActions.member',
|
701 |
+
'maxItems' => 5,
|
702 |
+
'items' => array(
|
703 |
+
'name' => 'ResourceName',
|
704 |
+
'type' => 'string',
|
705 |
+
'minLength' => 1,
|
706 |
+
'maxLength' => 1024,
|
707 |
+
),
|
708 |
+
),
|
709 |
+
'MetricName' => array(
|
710 |
+
'required' => true,
|
711 |
+
'type' => 'string',
|
712 |
+
'location' => 'aws.query',
|
713 |
+
'minLength' => 1,
|
714 |
+
'maxLength' => 255,
|
715 |
+
),
|
716 |
+
'Namespace' => array(
|
717 |
+
'required' => true,
|
718 |
+
'type' => 'string',
|
719 |
+
'location' => 'aws.query',
|
720 |
+
'minLength' => 1,
|
721 |
+
'maxLength' => 255,
|
722 |
+
),
|
723 |
+
'Statistic' => array(
|
724 |
+
'required' => true,
|
725 |
+
'type' => 'string',
|
726 |
+
'location' => 'aws.query',
|
727 |
+
'enum' => array(
|
728 |
+
'SampleCount',
|
729 |
+
'Average',
|
730 |
+
'Sum',
|
731 |
+
'Minimum',
|
732 |
+
'Maximum',
|
733 |
+
),
|
734 |
+
),
|
735 |
+
'Dimensions' => array(
|
736 |
+
'type' => 'array',
|
737 |
+
'location' => 'aws.query',
|
738 |
+
'sentAs' => 'Dimensions.member',
|
739 |
+
'maxItems' => 10,
|
740 |
+
'items' => array(
|
741 |
+
'name' => 'Dimension',
|
742 |
+
'type' => 'object',
|
743 |
+
'properties' => array(
|
744 |
+
'Name' => array(
|
745 |
+
'required' => true,
|
746 |
+
'type' => 'string',
|
747 |
+
'minLength' => 1,
|
748 |
+
'maxLength' => 255,
|
749 |
+
),
|
750 |
+
'Value' => array(
|
751 |
+
'required' => true,
|
752 |
+
'type' => 'string',
|
753 |
+
'minLength' => 1,
|
754 |
+
'maxLength' => 255,
|
755 |
+
),
|
756 |
+
),
|
757 |
+
),
|
758 |
+
),
|
759 |
+
'Period' => array(
|
760 |
+
'required' => true,
|
761 |
+
'type' => 'numeric',
|
762 |
+
'location' => 'aws.query',
|
763 |
+
'minimum' => 60,
|
764 |
+
),
|
765 |
+
'Unit' => array(
|
766 |
+
'type' => 'string',
|
767 |
+
'location' => 'aws.query',
|
768 |
+
'enum' => array(
|
769 |
+
'Seconds',
|
770 |
+
'Microseconds',
|
771 |
+
'Milliseconds',
|
772 |
+
'Bytes',
|
773 |
+
'Kilobytes',
|
774 |
+
'Megabytes',
|
775 |
+
'Gigabytes',
|
776 |
+
'Terabytes',
|
777 |
+
'Bits',
|
778 |
+
'Kilobits',
|
779 |
+
'Megabits',
|
780 |
+
'Gigabits',
|
781 |
+
'Terabits',
|
782 |
+
'Percent',
|
783 |
+
'Count',
|
784 |
+
'Bytes/Second',
|
785 |
+
'Kilobytes/Second',
|
786 |
+
'Megabytes/Second',
|
787 |
+
'Gigabytes/Second',
|
788 |
+
'Terabytes/Second',
|
789 |
+
'Bits/Second',
|
790 |
+
'Kilobits/Second',
|
791 |
+
'Megabits/Second',
|
792 |
+
'Gigabits/Second',
|
793 |
+
'Terabits/Second',
|
794 |
+
'Count/Second',
|
795 |
+
'None',
|
796 |
+
),
|
797 |
+
),
|
798 |
+
'EvaluationPeriods' => array(
|
799 |
+
'required' => true,
|
800 |
+
'type' => 'numeric',
|
801 |
+
'location' => 'aws.query',
|
802 |
+
'minimum' => 1,
|
803 |
+
),
|
804 |
+
'Threshold' => array(
|
805 |
+
'required' => true,
|
806 |
+
'type' => 'numeric',
|
807 |
+
'location' => 'aws.query',
|
808 |
+
),
|
809 |
+
'ComparisonOperator' => array(
|
810 |
+
'required' => true,
|
811 |
+
'type' => 'string',
|
812 |
+
'location' => 'aws.query',
|
813 |
+
'enum' => array(
|
814 |
+
'GreaterThanOrEqualToThreshold',
|
815 |
+
'GreaterThanThreshold',
|
816 |
+
'LessThanThreshold',
|
817 |
+
'LessThanOrEqualToThreshold',
|
818 |
+
),
|
819 |
+
),
|
820 |
+
),
|
821 |
+
'errorResponses' => array(
|
822 |
+
array(
|
823 |
+
'reason' => 'The quota for alarms for this customer has already been reached.',
|
824 |
+
'class' => 'LimitExceededException',
|
825 |
+
),
|
826 |
+
),
|
827 |
+
),
|
828 |
+
'PutMetricData' => array(
|
829 |
+
'httpMethod' => 'POST',
|
830 |
+
'uri' => '/',
|
831 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
832 |
+
'responseClass' => 'EmptyOutput',
|
833 |
+
'responseType' => 'model',
|
834 |
+
'parameters' => array(
|
835 |
+
'Action' => array(
|
836 |
+
'static' => true,
|
837 |
+
'location' => 'aws.query',
|
838 |
+
'default' => 'PutMetricData',
|
839 |
+
),
|
840 |
+
'Version' => array(
|
841 |
+
'static' => true,
|
842 |
+
'location' => 'aws.query',
|
843 |
+
'default' => '2010-08-01',
|
844 |
+
),
|
845 |
+
'Namespace' => array(
|
846 |
+
'required' => true,
|
847 |
+
'type' => 'string',
|
848 |
+
'location' => 'aws.query',
|
849 |
+
'minLength' => 1,
|
850 |
+
'maxLength' => 255,
|
851 |
+
),
|
852 |
+
'MetricData' => array(
|
853 |
+
'required' => true,
|
854 |
+
'type' => 'array',
|
855 |
+
'location' => 'aws.query',
|
856 |
+
'sentAs' => 'MetricData.member',
|
857 |
+
'items' => array(
|
858 |
+
'name' => 'MetricDatum',
|
859 |
+
'type' => 'object',
|
860 |
+
'properties' => array(
|
861 |
+
'MetricName' => array(
|
862 |
+
'required' => true,
|
863 |
+
'type' => 'string',
|
864 |
+
'minLength' => 1,
|
865 |
+
'maxLength' => 255,
|
866 |
+
),
|
867 |
+
'Dimensions' => array(
|
868 |
+
'type' => 'array',
|
869 |
+
'sentAs' => 'Dimensions.member',
|
870 |
+
'maxItems' => 10,
|
871 |
+
'items' => array(
|
872 |
+
'name' => 'Dimension',
|
873 |
+
'type' => 'object',
|
874 |
+
'properties' => array(
|
875 |
+
'Name' => array(
|
876 |
+
'required' => true,
|
877 |
+
'type' => 'string',
|
878 |
+
'minLength' => 1,
|
879 |
+
'maxLength' => 255,
|
880 |
+
),
|
881 |
+
'Value' => array(
|
882 |
+
'required' => true,
|
883 |
+
'type' => 'string',
|
884 |
+
'minLength' => 1,
|
885 |
+
'maxLength' => 255,
|
886 |
+
),
|
887 |
+
),
|
888 |
+
),
|
889 |
+
),
|
890 |
+
'Timestamp' => array(
|
891 |
+
'type' => array(
|
892 |
+
'object',
|
893 |
+
'string',
|
894 |
+
'integer',
|
895 |
+
),
|
896 |
+
'format' => 'date-time',
|
897 |
+
),
|
898 |
+
'Value' => array(
|
899 |
+
'type' => 'numeric',
|
900 |
+
),
|
901 |
+
'StatisticValues' => array(
|
902 |
+
'type' => 'object',
|
903 |
+
'properties' => array(
|
904 |
+
'SampleCount' => array(
|
905 |
+
'required' => true,
|
906 |
+
'type' => 'numeric',
|
907 |
+
),
|
908 |
+
'Sum' => array(
|
909 |
+
'required' => true,
|
910 |
+
'type' => 'numeric',
|
911 |
+
),
|
912 |
+
'Minimum' => array(
|
913 |
+
'required' => true,
|
914 |
+
'type' => 'numeric',
|
915 |
+
),
|
916 |
+
'Maximum' => array(
|
917 |
+
'required' => true,
|
918 |
+
'type' => 'numeric',
|
919 |
+
),
|
920 |
+
),
|
921 |
+
),
|
922 |
+
'Unit' => array(
|
923 |
+
'type' => 'string',
|
924 |
+
'enum' => array(
|
925 |
+
'Seconds',
|
926 |
+
'Microseconds',
|
927 |
+
'Milliseconds',
|
928 |
+
'Bytes',
|
929 |
+
'Kilobytes',
|
930 |
+
'Megabytes',
|
931 |
+
'Gigabytes',
|
932 |
+
'Terabytes',
|
933 |
+
'Bits',
|
934 |
+
'Kilobits',
|
935 |
+
'Megabits',
|
936 |
+
'Gigabits',
|
937 |
+
'Terabits',
|
938 |
+
'Percent',
|
939 |
+
'Count',
|
940 |
+
'Bytes/Second',
|
941 |
+
'Kilobytes/Second',
|
942 |
+
'Megabytes/Second',
|
943 |
+
'Gigabytes/Second',
|
944 |
+
'Terabytes/Second',
|
945 |
+
'Bits/Second',
|
946 |
+
'Kilobits/Second',
|
947 |
+
'Megabits/Second',
|
948 |
+
'Gigabits/Second',
|
949 |
+
'Terabits/Second',
|
950 |
+
'Count/Second',
|
951 |
+
'None',
|
952 |
+
),
|
953 |
+
),
|
954 |
+
),
|
955 |
+
),
|
956 |
+
),
|
957 |
+
),
|
958 |
+
'errorResponses' => array(
|
959 |
+
array(
|
960 |
+
'reason' => 'Bad or out-of-range value was supplied for the input parameter.',
|
961 |
+
'class' => 'InvalidParameterValueException',
|
962 |
+
),
|
963 |
+
array(
|
964 |
+
'reason' => 'An input parameter that is mandatory for processing the request is not supplied.',
|
965 |
+
'class' => 'MissingRequiredParameterException',
|
966 |
+
),
|
967 |
+
array(
|
968 |
+
'reason' => 'Parameters that must not be used together were used together.',
|
969 |
+
'class' => 'InvalidParameterCombinationException',
|
970 |
+
),
|
971 |
+
array(
|
972 |
+
'reason' => 'Indicates that the request processing has failed due to some unknown error, exception, or failure.',
|
973 |
+
'class' => 'InternalServiceException',
|
974 |
+
),
|
975 |
+
),
|
976 |
+
),
|
977 |
+
'SetAlarmState' => array(
|
978 |
+
'httpMethod' => 'POST',
|
979 |
+
'uri' => '/',
|
980 |
+
'class' => 'Aws\\Common\\Command\\QueryCommand',
|
981 |
+
'responseClass' => 'EmptyOutput',
|
982 |
+
'responseType' => 'model',
|
983 |
+
'parameters' => array(
|
984 |
+
'Action' => array(
|
985 |
+
'static' => true,
|
986 |
+
'location' => 'aws.query',
|
987 |
+
'default' => 'SetAlarmState',
|
988 |
+
),
|
989 |
+
'Version' => array(
|
990 |
+
'static' => true,
|
991 |
+
'location' => 'aws.query',
|
992 |
+
'default' => '2010-08-01',
|
993 |
+
),
|
994 |
+
'AlarmName' => array(
|
995 |
+
'required' => true,
|
996 |
+
'type' => 'string',
|
997 |
+
'location' => 'aws.query',
|
998 |
+
'minLength' => 1,
|
999 |
+
'maxLength' => 255,
|
1000 |
+
),
|
1001 |
+
'StateValue' => array(
|
1002 |
+
'required' => true,
|
1003 |
+
'type' => 'string',
|
1004 |
+
'location' => 'aws.query',
|
1005 |
+
'enum' => array(
|
1006 |
+
'OK',
|
1007 |
+
'ALARM',
|
1008 |
+
'INSUFFICIENT_DATA',
|
1009 |
+
),
|
1010 |
+
),
|
1011 |
+
'StateReason' => array(
|
1012 |
+
'required' => true,
|
1013 |
+
'type' => 'string',
|
1014 |
+
'location' => 'aws.query',
|
1015 |
+
'maxLength' => 1023,
|
1016 |
+
),
|
1017 |
+
'StateReasonData' => array(
|
1018 |
+
'type' => 'string',
|
1019 |
+
'location' => 'aws.query',
|
1020 |
+
'maxLength' => 4000,
|
1021 |
+
),
|
1022 |
+
),
|
1023 |
+
'errorResponses' => array(
|
1024 |
+
array(
|
1025 |
+
'reason' => 'The named resource does not exist.',
|
1026 |
+
'class' => 'ResourceNotFoundException',
|
1027 |
+
),
|
1028 |
+
array(
|
1029 |
+
'reason' => 'Data was not syntactically valid JSON.',
|
1030 |
+
'class' => 'InvalidFormatException',
|
1031 |
+
),
|
1032 |
+
),
|
1033 |
+
),
|
1034 |
+
),
|
1035 |
+
'models' => array(
|
1036 |
+
'EmptyOutput' => array(
|
1037 |
+
'type' => 'object',
|
1038 |
+
'additionalProperties' => true,
|
1039 |
+
),
|
1040 |
+
'DescribeAlarmHistoryOutput' => array(
|
1041 |
+
'type' => 'object',
|
1042 |
+
'additionalProperties' => true,
|
1043 |
+
'properties' => array(
|
1044 |
+
'AlarmHistoryItems' => array(
|
1045 |
+
'type' => 'array',
|
1046 |
+
'location' => 'xml',
|
1047 |
+
'items' => array(
|
1048 |
+
'name' => 'AlarmHistoryItem',
|
1049 |
+
'type' => 'object',
|
1050 |
+
'sentAs' => 'member',
|
1051 |
+
'properties' => array(
|
1052 |
+
'AlarmName' => array(
|
1053 |
+
'type' => 'string',
|
1054 |
+
),
|
1055 |
+
'Timestamp' => array(
|
1056 |
+
'type' => 'string',
|
1057 |
+
),
|
1058 |
+
'HistoryItemType' => array(
|
1059 |
+
'type' => 'string',
|
1060 |
+
),
|
1061 |
+
'HistorySummary' => array(
|
1062 |
+
'type' => 'string',
|
1063 |
+
),
|
1064 |
+
'HistoryData' => array(
|
1065 |
+
'type' => 'string',
|
1066 |
+
),
|
1067 |
+
),
|
1068 |
+
),
|
1069 |
+
),
|
1070 |
+
'NextToken' => array(
|
1071 |
+
'type' => 'string',
|
1072 |
+
'location' => 'xml',
|
1073 |
+
),
|
1074 |
+
),
|
1075 |
+
),
|
1076 |
+
'DescribeAlarmsOutput' => array(
|
1077 |
+
'type' => 'object',
|
1078 |
+
'additionalProperties' => true,
|
1079 |
+
'properties' => array(
|
1080 |
+
'MetricAlarms' => array(
|
1081 |
+
'type' => 'array',
|
1082 |
+
'location' => 'xml',
|
1083 |
+
'items' => array(
|
1084 |
+
'name' => 'MetricAlarm',
|
1085 |
+
'type' => 'object',
|
1086 |
+
'sentAs' => 'member',
|
1087 |
+
'properties' => array(
|
1088 |
+
'AlarmName' => array(
|
1089 |
+
'type' => 'string',
|
1090 |
+
),
|
1091 |
+
'AlarmArn' => array(
|
1092 |
+
'type' => 'string',
|
1093 |
+
),
|
1094 |
+
'AlarmDescription' => array(
|
1095 |
+
'type' => 'string',
|
1096 |
+
),
|
1097 |
+
'AlarmConfigurationUpdatedTimestamp' => array(
|
1098 |
+
'type' => 'string',
|
1099 |
+
),
|
1100 |
+
'ActionsEnabled' => array(
|
1101 |
+
'type' => 'boolean',
|
1102 |
+
),
|
1103 |
+
'OKActions' => array(
|
1104 |
+
'type' => 'array',
|
1105 |
+
'items' => array(
|
1106 |
+
'name' => 'ResourceName',
|
1107 |
+
'type' => 'string',
|
1108 |
+
'sentAs' => 'member',
|
1109 |
+
),
|
1110 |
+
),
|
1111 |
+
'AlarmActions' => array(
|
1112 |
+
'type' => 'array',
|
1113 |
+
'items' => array(
|
1114 |
+
'name' => 'ResourceName',
|
1115 |
+
'type' => 'string',
|
1116 |
+
'sentAs' => 'member',
|
1117 |
+
),
|
1118 |
+
),
|
1119 |
+
'InsufficientDataActions' => array(
|
1120 |
+
'type' => 'array',
|
1121 |
+
'items' => array(
|
1122 |
+
'name' => 'ResourceName',
|
1123 |
+
'type' => 'string',
|
1124 |
+
'sentAs' => 'member',
|
1125 |
+
),
|
1126 |
+
),
|
1127 |
+
'StateValue' => array(
|
1128 |
+
'type' => 'string',
|
1129 |
+
),
|
1130 |
+
'StateReason' => array(
|
1131 |
+
'type' => 'string',
|
1132 |
+
),
|
1133 |
+
'StateReasonData' => array(
|
1134 |
+
'type' => 'string',
|
1135 |
+
),
|
1136 |
+
'StateUpdatedTimestamp' => array(
|
1137 |
+
'type' => 'string',
|
1138 |
+
),
|
1139 |
+
'MetricName' => array(
|
1140 |
+
'type' => 'string',
|
1141 |
+
),
|
1142 |
+
'Namespace' => array(
|
1143 |
+
'type' => 'string',
|
1144 |
+
),
|
1145 |
+
'Statistic' => array(
|
1146 |
+
'type' => 'string',
|
1147 |
+
),
|
1148 |
+
'Dimensions' => array(
|
1149 |
+
'type' => 'array',
|
1150 |
+
'items' => array(
|
1151 |
+
'name' => 'Dimension',
|
1152 |
+
'type' => 'object',
|
1153 |
+
'sentAs' => 'member',
|
1154 |
+
'properties' => array(
|
1155 |
+
'Name' => array(
|
1156 |
+
'type' => 'string',
|
1157 |
+
),
|
1158 |
+
'Value' => array(
|
1159 |
+
'type' => 'string',
|
1160 |
+
),
|
1161 |
+
),
|
1162 |
+
),
|
1163 |
+
),
|
1164 |
+
'Period' => array(
|
1165 |
+
'type' => 'numeric',
|
1166 |
+
),
|
1167 |
+
'Unit' => array(
|
1168 |
+
'type' => 'string',
|
1169 |
+
),
|
1170 |
+
'EvaluationPeriods' => array(
|
1171 |
+
'type' => 'numeric',
|
1172 |
+
),
|
1173 |
+
'Threshold' => array(
|
1174 |
+
'type' => 'numeric',
|
1175 |
+
),
|
1176 |
+
'ComparisonOperator' => array(
|
1177 |
+
'type' => 'string',
|
1178 |
+
),
|
1179 |
+
),
|
1180 |
+
),
|
1181 |
+
),
|
1182 |
+
'NextToken' => array(
|
1183 |
+
'type' => 'string',
|
1184 |
+
'location' => 'xml',
|
1185 |
+
),
|
1186 |
+
),
|
1187 |
+
),
|
1188 |
+
'DescribeAlarmsForMetricOutput' => array(
|
1189 |
+
'type' => 'object',
|
1190 |
+
'additionalProperties' => true,
|
1191 |
+
'properties' => array(
|
1192 |
+
'MetricAlarms' => array(
|
1193 |
+
'type' => 'array',
|
1194 |
+
'location' => 'xml',
|
1195 |
+
'items' => array(
|
1196 |
+
'name' => 'MetricAlarm',
|
1197 |
+
'type' => 'object',
|
1198 |
+
'sentAs' => 'member',
|
1199 |
+
'properties' => array(
|
1200 |
+
'AlarmName' => array(
|
1201 |
+
'type' => 'string',
|
1202 |
+
),
|
1203 |
+
'AlarmArn' => array(
|
1204 |
+
'type' => 'string',
|
1205 |
+
),
|
1206 |
+
'AlarmDescription' => array(
|
1207 |
+
'type' => 'string',
|
1208 |
+
),
|
1209 |
+
'AlarmConfigurationUpdatedTimestamp' => array(
|
1210 |
+
'type' => 'string',
|
1211 |
+
),
|
1212 |
+
'ActionsEnabled' => array(
|
1213 |
+
'type' => 'boolean',
|
1214 |
+
),
|
1215 |
+
'OKActions' => array(
|
1216 |
+
'type' => 'array',
|
1217 |
+
'items' => array(
|
1218 |
+
'name' => 'ResourceName',
|
1219 |
+
'type' => 'string',
|
1220 |
+
'sentAs' => 'member',
|
1221 |
+
),
|
1222 |
+
),
|
1223 |
+
'AlarmActions' => array(
|
1224 |
+
'type' => 'array',
|
1225 |
+
'items' => array(
|
1226 |
+
'name' => 'ResourceName',
|
1227 |
+
'type' => 'string',
|
1228 |
+
'sentAs' => 'member',
|
1229 |
+
),
|
1230 |
+
),
|
1231 |
+
'InsufficientDataActions' => array(
|
1232 |
+
'type' => 'array',
|
1233 |
+
'items' => array(
|
1234 |
+
'name' => 'ResourceName',
|
1235 |
+
'type' => 'string',
|
1236 |
+
'sentAs' => 'member',
|
1237 |
+
),
|
1238 |
+
),
|
1239 |
+
'StateValue' => array(
|
1240 |
+
'type' => 'string',
|
1241 |
+
),
|
1242 |
+
'StateReason' => array(
|
1243 |
+
'type' => 'string',
|
1244 |
+
),
|
1245 |
+
'StateReasonData' => array(
|
1246 |
+
'type' => 'string',
|
1247 |
+
),
|
1248 |
+
'StateUpdatedTimestamp' => array(
|
1249 |
+
'type' => 'string',
|
1250 |
+
),
|
1251 |
+
'MetricName' => array(
|
1252 |
+
'type' => 'string',
|
1253 |
+
),
|
1254 |
+
'Namespace' => array(
|
1255 |
+
'type' => 'string',
|
1256 |
+
),
|
1257 |
+
'Statistic' => array(
|
1258 |
+
'type' => 'string',
|
1259 |
+
),
|
1260 |
+
'Dimensions' => array(
|
1261 |
+
'type' => 'array',
|
1262 |
+
'items' => array(
|
1263 |
+
'name' => 'Dimension',
|
1264 |
+
'type' => 'object',
|
1265 |
+
'sentAs' => 'member',
|
1266 |
+
'properties' => array(
|
1267 |
+
'Name' => array(
|
1268 |
+
'type' => 'string',
|
1269 |
+
),
|
1270 |
+
'Value' => array(
|
1271 |
+
'type' => 'string',
|
1272 |
+
),
|
1273 |
+
),
|
1274 |
+
),
|
1275 |
+
),
|
1276 |
+
'Period' => array(
|
1277 |
+
'type' => 'numeric',
|
1278 |
+
),
|
1279 |
+
'Unit' => array(
|
1280 |
+
'type' => 'string',
|
1281 |
+
),
|
1282 |
+
'EvaluationPeriods' => array(
|
1283 |
+
'type' => 'numeric',
|
1284 |
+
),
|
1285 |
+
'Threshold' => array(
|
1286 |
+
'type' => 'numeric',
|
1287 |
+
),
|
1288 |
+
'ComparisonOperator' => array(
|
1289 |
+
'type' => 'string',
|
1290 |
+
),
|
1291 |
+
),
|
1292 |
+
),
|
1293 |
+
),
|
1294 |
+
),
|
1295 |
+
),
|
1296 |
+
'GetMetricStatisticsOutput' => array(
|
1297 |
+
'type' => 'object',
|
1298 |
+
'additionalProperties' => true,
|
1299 |
+
'properties' => array(
|
1300 |
+
'Label' => array(
|
1301 |
+
'type' => 'string',
|
1302 |
+
'location' => 'xml',
|
1303 |
+
),
|
1304 |
+
'Datapoints' => array(
|
1305 |
+
'type' => 'array',
|
1306 |
+
'location' => 'xml',
|
1307 |
+
'items' => array(
|
1308 |
+
'name' => 'Datapoint',
|
1309 |
+
'type' => 'object',
|
1310 |
+
'sentAs' => 'member',
|
1311 |
+
'properties' => array(
|
1312 |
+
'Timestamp' => array(
|
1313 |
+
'type' => 'string',
|
1314 |
+
),
|
1315 |
+
'SampleCount' => array(
|
1316 |
+
'type' => 'numeric',
|
1317 |
+
),
|
1318 |
+
'Average' => array(
|
1319 |
+
'type' => 'numeric',
|
1320 |
+
),
|
1321 |
+
'Sum' => array(
|
1322 |
+
'type' => 'numeric',
|
1323 |
+
),
|
1324 |
+
'Minimum' => array(
|
1325 |
+
'type' => 'numeric',
|
1326 |
+
),
|
1327 |
+
'Maximum' => array(
|
1328 |
+
'type' => 'numeric',
|
1329 |
+
),
|
1330 |
+
'Unit' => array(
|
1331 |
+
'type' => 'string',
|
1332 |
+
),
|
1333 |
+
),
|
1334 |
+
),
|
1335 |
+
),
|
1336 |
+
),
|
1337 |
+
),
|
1338 |
+
'ListMetricsOutput' => array(
|
1339 |
+
'type' => 'object',
|
1340 |
+
'additionalProperties' => true,
|
1341 |
+
'properties' => array(
|
1342 |
+
'Metrics' => array(
|
1343 |
+
'type' => 'array',
|
1344 |
+
'location' => 'xml',
|
1345 |
+
'items' => array(
|
1346 |
+
'name' => 'Metric',
|
1347 |
+
'type' => 'object',
|
1348 |
+
'sentAs' => 'member',
|
1349 |
+
'properties' => array(
|
1350 |
+
'Namespace' => array(
|
1351 |
+
'type' => 'string',
|
1352 |
+
),
|
1353 |
+
'MetricName' => array(
|
1354 |
+
'type' => 'string',
|
1355 |
+
),
|
1356 |
+
'Dimensions' => array(
|
1357 |
+
'type' => 'array',
|
1358 |
+
'items' => array(
|
1359 |
+
'name' => 'Dimension',
|
1360 |
+
'type' => 'object',
|
1361 |
+
'sentAs' => 'member',
|
1362 |
+
'properties' => array(
|
1363 |
+
'Name' => array(
|
1364 |
+
'type' => 'string',
|
1365 |
+
),
|
1366 |
+
'Value' => array(
|
1367 |
+
'type' => 'string',
|
1368 |
+
),
|
1369 |
+
),
|
1370 |
+
),
|
1371 |
+
),
|
1372 |
+
),
|
1373 |
+
),
|
1374 |
+
),
|
1375 |
+
'NextToken' => array(
|
1376 |
+
'type' => 'string',
|
1377 |
+
'location' => 'xml',
|
1378 |
+
),
|
1379 |
+
),
|
1380 |
+
),
|
1381 |
+
),
|
1382 |
+
'iterators' => array(
|
1383 |
+
'operations' => array(
|
1384 |
+
'DescribeAlarmHistory' => array(
|
1385 |
+
'token_param' => 'NextToken',
|
1386 |
+
'token_key' => 'NextToken',
|
1387 |
+
'limit_key' => 'MaxRecords',
|
1388 |
+
'result_key' => 'AlarmHistoryItems',
|
1389 |
+
),
|
1390 |
+
'DescribeAlarms' => array(
|
1391 |
+
'token_param' => 'NextToken',
|
1392 |
+
'token_key' => 'NextToken',
|
1393 |
+
'limit_key' => 'MaxRecords',
|
1394 |
+
'result_key' => 'MetricAlarms',
|
1395 |
+
),
|
1396 |
+
'DescribeAlarmsForMetric' => array(
|
1397 |
+
'result_key' => 'MetricAlarms',
|
1398 |
+
),
|
1399 |
+
'ListMetrics' => array(
|
1400 |
+
'token_param' => 'NextToken',
|
1401 |
+
'token_key' => 'NextToken',
|
1402 |
+
'result_key' => 'Metrics',
|
1403 |
+
),
|
1404 |
+
),
|
1405 |
+
),
|
1406 |
+
);
|
vendor/aws/Aws/Common/Aws.php
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\Common;
|
18 |
+
|
19 |
+
use Guzzle\Service\Builder\ServiceBuilder;
|
20 |
+
use Guzzle\Service\Builder\ServiceBuilderLoader;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Base class for interacting with web service clients
|
24 |
+
*/
|
25 |
+
class Aws extends ServiceBuilder
|
26 |
+
{
|
27 |
+
/**
|
28 |
+
* @var string Current version of the SDK
|
29 |
+
*/
|
30 |
+
const VERSION = '2.4.3';
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Create a new service locator for the AWS SDK
|
34 |
+
*
|
35 |
+
* You can configure the service locator is four different ways:
|
36 |
+
*
|
37 |
+
* 1. Use the default configuration file shipped with the SDK that wires class names with service short names and
|
38 |
+
* specify global parameters to add to every definition (e.g. key, secret, credentials, etc)
|
39 |
+
*
|
40 |
+
* 2. Use a custom configuration file that extends the default config and supplies credentials for each service.
|
41 |
+
*
|
42 |
+
* 3. Use a custom config file that wires services to custom short names for services.
|
43 |
+
*
|
44 |
+
* 4. If you are on Amazon EC2, you can use the default configuration file and not provide any credentials so that
|
45 |
+
* you are using InstanceProfile credentials.
|
46 |
+
*
|
47 |
+
* @param array|string $config The full path to a .php or .js|.json file, or an associative array of data
|
48 |
+
* to use as global parameters to pass to each service.
|
49 |
+
* @param array $globalParameters Global parameters to pass to every service as it is instantiated.
|
50 |
+
*
|
51 |
+
* @return Aws
|
52 |
+
*/
|
53 |
+
public static function factory($config = null, array $globalParameters = array())
|
54 |
+
{
|
55 |
+
if (!$config) {
|
56 |
+
// If nothing is passed in, then use the default configuration file with credentials from the environment
|
57 |
+
$config = self::getDefaultServiceDefinition();
|
58 |
+
} elseif (is_array($config)) {
|
59 |
+
// If an array was passed, then use the default configuration file with parameter overrides
|
60 |
+
$globalParameters = $config;
|
61 |
+
$config = self::getDefaultServiceDefinition();
|
62 |
+
}
|
63 |
+
|
64 |
+
$loader = new ServiceBuilderLoader();
|
65 |
+
$loader->addAlias('_aws', self::getDefaultServiceDefinition())
|
66 |
+
->addAlias('_sdk1', __DIR__ . '/Resources/sdk1-config.php');
|
67 |
+
|
68 |
+
return $loader->load($config, $globalParameters);
|
69 |
+
}
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Get the full path to the default service builder definition file
|
73 |
+
*
|
74 |
+
* @return string
|
75 |
+
*/
|
76 |
+
public static function getDefaultServiceDefinition()
|
77 |
+
{
|
78 |
+
return __DIR__ . '/Resources/aws-config.php';
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* Returns the configuration for the service builder
|
83 |
+
*
|
84 |
+
* @return array
|
85 |
+
*/
|
86 |
+
public function getConfig()
|
87 |
+
{
|
88 |
+
return $this->builderConfig;
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* Enables the facades for the clients defined in the service builder
|
93 |
+
*
|
94 |
+
* @param string|null $namespace The namespace that the facades should be mounted to. Defaults to global namespace
|
95 |
+
*
|
96 |
+
* @return Aws
|
97 |
+
*/
|
98 |
+
public function enableFacades($namespace = null)
|
99 |
+
{
|
100 |
+
$facadeClass = 'Aws\\Common\\Facade\\Facade';
|
101 |
+
if (class_exists($facadeClass)) {
|
102 |
+
$facadeClass::mountFacades($this, $namespace);
|
103 |
+
}
|
104 |
+
|
105 |
+
return $this;
|
106 |
+
}
|
107 |
+
}
|
vendor/aws/Aws/Common/Client/AbstractClient.php
ADDED
@@ -0,0 +1,293 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\Common\Client;
|
18 |
+
|
19 |
+
use Aws\Common\Aws;
|
20 |
+
use Aws\Common\Credentials\Credentials;
|
21 |
+
use Aws\Common\Credentials\CredentialsInterface;
|
22 |
+
use Aws\Common\Enum\ClientOptions as Options;
|
23 |
+
use Aws\Common\Exception\InvalidArgumentException;
|
24 |
+
use Aws\Common\Exception\TransferException;
|
25 |
+
use Aws\Common\Signature\EndpointSignatureInterface;
|
26 |
+
use Aws\Common\Signature\SignatureInterface;
|
27 |
+
use Aws\Common\Signature\SignatureListener;
|
28 |
+
use Aws\Common\Waiter\WaiterClassFactory;
|
29 |
+
use Aws\Common\Waiter\CompositeWaiterFactory;
|
30 |
+
use Aws\Common\Waiter\WaiterFactoryInterface;
|
31 |
+
use Aws\Common\Waiter\WaiterConfigFactory;
|
32 |
+
use Guzzle\Common\Collection;
|
33 |
+
use Guzzle\Http\Exception\CurlException;
|
34 |
+
use Guzzle\Service\Client;
|
35 |
+
use Guzzle\Service\Description\ServiceDescriptionInterface;
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Abstract AWS client
|
39 |
+
*/
|
40 |
+
abstract class AbstractClient extends Client implements AwsClientInterface
|
41 |
+
{
|
42 |
+
/**
|
43 |
+
* @var CredentialsInterface AWS credentials
|
44 |
+
*/
|
45 |
+
protected $credentials;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* @var SignatureInterface Signature implementation of the service
|
49 |
+
*/
|
50 |
+
protected $signature;
|
51 |
+
|
52 |
+
/**
|
53 |
+
* @var WaiterFactoryInterface Factory used to create waiter classes
|
54 |
+
*/
|
55 |
+
protected $waiterFactory;
|
56 |
+
|
57 |
+
/**
|
58 |
+
* {@inheritdoc}
|
59 |
+
*/
|
60 |
+
public static function getAllEvents()
|
61 |
+
{
|
62 |
+
return array_merge(Client::getAllEvents(), array(
|
63 |
+
'client.region_changed',
|
64 |
+
'client.credentials_changed',
|
65 |
+
));
|
66 |
+
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* @param CredentialsInterface $credentials AWS credentials
|
70 |
+
* @param SignatureInterface $signature Signature implementation
|
71 |
+
* @param Collection $config Configuration options
|
72 |
+
*
|
73 |
+
* @throws InvalidArgumentException if an endpoint provider isn't provided
|
74 |
+
*/
|
75 |
+
public function __construct(CredentialsInterface $credentials, SignatureInterface $signature, Collection $config)
|
76 |
+
{
|
77 |
+
// Bootstrap with Guzzle
|
78 |
+
parent::__construct($config->get(Options::BASE_URL), $config);
|
79 |
+
$this->credentials = $credentials;
|
80 |
+
$this->signature = $signature;
|
81 |
+
|
82 |
+
// Make sure the user agent is prefixed by the SDK version
|
83 |
+
$this->setUserAgent('aws-sdk-php2/' . Aws::VERSION, true);
|
84 |
+
|
85 |
+
// Add the event listener so that requests are signed before they are sent
|
86 |
+
$dispatcher = $this->getEventDispatcher();
|
87 |
+
$dispatcher->addSubscriber(new SignatureListener($credentials, $signature));
|
88 |
+
|
89 |
+
if ($backoff = $config->get(Options::BACKOFF)) {
|
90 |
+
$dispatcher->addSubscriber($backoff, -255);
|
91 |
+
}
|
92 |
+
}
|
93 |
+
|
94 |
+
public function __call($method, $args)
|
95 |
+
{
|
96 |
+
if (substr($method, 0, 3) === 'get' && substr($method, -8) === 'Iterator') {
|
97 |
+
// Allow magic method calls for iterators (e.g. $client->get<CommandName>Iterator($params))
|
98 |
+
$commandOptions = isset($args[0]) ? $args[0] : null;
|
99 |
+
$iteratorOptions = isset($args[1]) ? $args[1] : array();
|
100 |
+
return $this->getIterator(substr($method, 3, -8), $commandOptions, $iteratorOptions);
|
101 |
+
} elseif (substr($method, 0, 9) == 'waitUntil') {
|
102 |
+
// Allow magic method calls for waiters (e.g. $client->waitUntil<WaiterName>($params))
|
103 |
+
return $this->waitUntil(substr($method, 9), isset($args[0]) ? $args[0]: array());
|
104 |
+
} else {
|
105 |
+
return parent::__call(ucfirst($method), $args);
|
106 |
+
}
|
107 |
+
}
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Get an endpoint for a specific region from a service description
|
111 |
+
*
|
112 |
+
* @param ServiceDescriptionInterface $description Service description
|
113 |
+
* @param string $region Region of the endpoint
|
114 |
+
* @param string $scheme URL scheme
|
115 |
+
*
|
116 |
+
* @return string
|
117 |
+
* @throws InvalidArgumentException
|
118 |
+
*/
|
119 |
+
public static function getEndpoint(ServiceDescriptionInterface $description, $region, $scheme)
|
120 |
+
{
|
121 |
+
$service = $description->getData('serviceFullName');
|
122 |
+
// Lookup the region in the service description
|
123 |
+
if (!($regions = $description->getData('regions'))) {
|
124 |
+
throw new InvalidArgumentException("No regions found in the {$service} description");
|
125 |
+
}
|
126 |
+
// Ensure that the region exists for the service
|
127 |
+
if (!isset($regions[$region])) {
|
128 |
+
throw new InvalidArgumentException("{$region} is not a valid region for {$service}");
|
129 |
+
}
|
130 |
+
// Ensure that the scheme is valid
|
131 |
+
if ($regions[$region][$scheme] == false) {
|
132 |
+
throw new InvalidArgumentException("{$scheme} is not a valid URI scheme for {$service} in {$region}");
|
133 |
+
}
|
134 |
+
|
135 |
+
return $scheme . '://' . $regions[$region]['hostname'];
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* {@inheritdoc}
|
140 |
+
*/
|
141 |
+
public function getCredentials()
|
142 |
+
{
|
143 |
+
return $this->credentials;
|
144 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* {@inheritdoc}
|
148 |
+
*/
|
149 |
+
public function setCredentials(CredentialsInterface $credentials)
|
150 |
+
{
|
151 |
+
$formerCredentials = $this->credentials;
|
152 |
+
$this->credentials = $credentials;
|
153 |
+
|
154 |
+
// Dispatch an event that the credentials have been changed
|
155 |
+
$this->dispatch('client.credentials_changed', array(
|
156 |
+
'credentials' => $credentials,
|
157 |
+
'former_credentials' => $formerCredentials,
|
158 |
+
));
|
159 |
+
|
160 |
+
return $this;
|
161 |
+
}
|
162 |
+
|
163 |
+
/**
|
164 |
+
* {@inheritdoc}
|
165 |
+
*/
|
166 |
+
public function getSignature()
|
167 |
+
{
|
168 |
+
return $this->signature;
|
169 |
+
}
|
170 |
+
|
171 |
+
/**
|
172 |
+
* {@inheritdoc}
|
173 |
+
*/
|
174 |
+
public function getRegions()
|
175 |
+
{
|
176 |
+
return $this->serviceDescription->getData('regions');
|
177 |
+
}
|
178 |
+
|
179 |
+
/**
|
180 |
+
* {@inheritdoc}
|
181 |
+
*/
|
182 |
+
public function getRegion()
|
183 |
+
{
|
184 |
+
return $this->getConfig(Options::REGION);
|
185 |
+
}
|
186 |
+
|
187 |
+
/**
|
188 |
+
* {@inheritdoc}
|
189 |
+
*/
|
190 |
+
public function setRegion($region)
|
191 |
+
{
|
192 |
+
$config = $this->getConfig();
|
193 |
+
$formerRegion = $config->get(Options::REGION);
|
194 |
+
$global = $this->serviceDescription->getData('globalEndpoint');
|
195 |
+
|
196 |
+
// Only change the region if the service does not have a global endpoint
|
197 |
+
if (!$global || $this->serviceDescription->getData('namespace') === 'S3') {
|
198 |
+
$baseUrl = self::getEndpoint($this->serviceDescription, $region, $config->get(Options::SCHEME));
|
199 |
+
$this->setBaseUrl($baseUrl);
|
200 |
+
$config->set(Options::BASE_URL, $baseUrl)->set(Options::REGION, $region);
|
201 |
+
|
202 |
+
// Update the signature if necessary
|
203 |
+
$signature = $this->getSignature();
|
204 |
+
if ($signature instanceof EndpointSignatureInterface) {
|
205 |
+
/** @var $signature EndpointSignatureInterface */
|
206 |
+
$signature->setRegionName($region);
|
207 |
+
}
|
208 |
+
|
209 |
+
// Dispatch an event that the region has been changed
|
210 |
+
$this->dispatch('client.region_changed', array(
|
211 |
+
'region' => $region,
|
212 |
+
'former_region' => $formerRegion,
|
213 |
+
));
|
214 |
+
}
|
215 |
+
|
216 |
+
return $this;
|
217 |
+
}
|
218 |
+
|
219 |
+
/**
|
220 |
+
* {@inheritdoc}
|
221 |
+
*/
|
222 |
+
public function waitUntil($waiter, array $input = array())
|
223 |
+
{
|
224 |
+
$this->getWaiter($waiter, $input)->wait();
|
225 |
+
|
226 |
+
return $this;
|
227 |
+
}
|
228 |
+
|
229 |
+
/**
|
230 |
+
* {@inheritdoc}
|
231 |
+
*/
|
232 |
+
public function getWaiter($waiter, array $input = array())
|
233 |
+
{
|
234 |
+
return $this->getWaiterFactory()->build($waiter)
|
235 |
+
->setClient($this)
|
236 |
+
->setConfig($input);
|
237 |
+
}
|
238 |
+
|
239 |
+
/**
|
240 |
+
* {@inheritdoc}
|
241 |
+
*/
|
242 |
+
public function setWaiterFactory(WaiterFactoryInterface $waiterFactory)
|
243 |
+
{
|
244 |
+
$this->waiterFactory = $waiterFactory;
|
245 |
+
|
246 |
+
return $this;
|
247 |
+
}
|
248 |
+
|
249 |
+
/**
|
250 |
+
* {@inheritdoc}
|
251 |
+
*/
|
252 |
+
public function getWaiterFactory()
|
253 |
+
{
|
254 |
+
if (!$this->waiterFactory) {
|
255 |
+
$clientClass = get_class($this);
|
256 |
+
// Use a composite factory that checks for classes first, then config waiters
|
257 |
+
$this->waiterFactory = new CompositeWaiterFactory(array(
|
258 |
+
new WaiterClassFactory(substr($clientClass, 0, strrpos($clientClass, '\\')) . '\\Waiter')
|
259 |
+
));
|
260 |
+
if ($this->getDescription()) {
|
261 |
+
$this->waiterFactory->addFactory(new WaiterConfigFactory($this->getDescription()->getData('waiters')));
|
262 |
+
}
|
263 |
+
}
|
264 |
+
|
265 |
+
return $this->waiterFactory;
|
266 |
+
}
|
267 |
+
|
268 |
+
/**
|
269 |
+
* {@inheritdoc}
|
270 |
+
*/
|
271 |
+
public function getApiVersion()
|
272 |
+
{
|
273 |
+
return $this->serviceDescription->getApiVersion();
|
274 |
+
}
|
275 |
+
|
276 |
+
/**
|
277 |
+
* {@inheritdoc}
|
278 |
+
* @throws \Aws\Common\Exception\TransferException
|
279 |
+
*/
|
280 |
+
public function send($requests)
|
281 |
+
{
|
282 |
+
try {
|
283 |
+
return parent::send($requests);
|
284 |
+
} catch (CurlException $e) {
|
285 |
+
$wrapped = new TransferException($e->getMessage(), null, $e);
|
286 |
+
$wrapped->setCurlHandle($e->getCurlHandle())
|
287 |
+
->setCurlInfo($e->getCurlInfo())
|
288 |
+
->setError($e->getError(), $e->getErrorNo())
|
289 |
+
->setRequest($e->getRequest());
|
290 |
+
throw $wrapped;
|
291 |
+
}
|
292 |
+
}
|
293 |
+
}
|
vendor/aws/Aws/Common/Client/AwsClientInterface.php
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\Common\Client;
|
18 |
+
|
19 |
+
use Aws\Common\Credentials\CredentialsInterface;
|
20 |
+
use Aws\Common\Signature\SignatureInterface;
|
21 |
+
use Aws\Common\Waiter\WaiterFactoryInterface;
|
22 |
+
use Aws\Common\Waiter\WaiterInterface;
|
23 |
+
use Guzzle\Service\ClientInterface;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Interface that all AWS clients implement
|
27 |
+
*/
|
28 |
+
interface AwsClientInterface extends ClientInterface
|
29 |
+
{
|
30 |
+
/**
|
31 |
+
* Returns the AWS credentials associated with the client
|
32 |
+
*
|
33 |
+
* @return CredentialsInterface
|
34 |
+
*/
|
35 |
+
public function getCredentials();
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Sets the credentials object associated with the client
|
39 |
+
*
|
40 |
+
* @param CredentialsInterface $credentials Credentials object to use
|
41 |
+
*
|
42 |
+
* @return self
|
43 |
+
*/
|
44 |
+
public function setCredentials(CredentialsInterface $credentials);
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Returns the signature implementation used with the client
|
48 |
+
*
|
49 |
+
* @return SignatureInterface
|
50 |
+
*/
|
51 |
+
public function getSignature();
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Get a list of available regions and region data
|
55 |
+
*
|
56 |
+
* @return array
|
57 |
+
*/
|
58 |
+
public function getRegions();
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Get the name of the region to which the client is configured to send requests
|
62 |
+
*
|
63 |
+
* @return string
|
64 |
+
*/
|
65 |
+
public function getRegion();
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Change the region to which the client is configured to send requests
|
69 |
+
*
|
70 |
+
* @param string $region Name of the region
|
71 |
+
*
|
72 |
+
* @return self
|
73 |
+
*/
|
74 |
+
public function setRegion($region);
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Get the waiter factory being used by the client
|
78 |
+
*
|
79 |
+
* @return WaiterFactoryInterface
|
80 |
+
*/
|
81 |
+
public function getWaiterFactory();
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Set the waiter factory to use with the client
|
85 |
+
*
|
86 |
+
* @param WaiterFactoryInterface $waiterFactory Factory used to create waiters
|
87 |
+
*
|
88 |
+
* @return self
|
89 |
+
*/
|
90 |
+
public function setWaiterFactory(WaiterFactoryInterface $waiterFactory);
|
91 |
+
|
92 |
+
/**
|
93 |
+
* Wait until a resource is available or an associated waiter returns true
|
94 |
+
*
|
95 |
+
* @param string $waiter Name of the waiter
|
96 |
+
* @param array $input Values used as input for the underlying operation and to control the waiter
|
97 |
+
*
|
98 |
+
* @return self
|
99 |
+
*/
|
100 |
+
public function waitUntil($waiter, array $input = array());
|
101 |
+
|
102 |
+
/**
|
103 |
+
* Get a named waiter object
|
104 |
+
*
|
105 |
+
* @param string $waiter Name of the waiter
|
106 |
+
* @param array $input Values used as input for the underlying operation and to control the waiter
|
107 |
+
*
|
108 |
+
* @return WaiterInterface
|
109 |
+
*/
|
110 |
+
public function getWaiter($waiter, array $input = array());
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Get the API version of the client (e.g. 2006-03-01)
|
114 |
+
*
|
115 |
+
* @return string
|
116 |
+
*/
|
117 |
+
public function getApiVersion();
|
118 |
+
}
|
vendor/aws/Aws/Common/Client/ClientBuilder.php
ADDED
@@ -0,0 +1,454 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
4 |
+
*
|
5 |
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
6 |
+
* You may not use this file except in compliance with the License.
|
7 |
+
* A copy of the License is located at
|
8 |
+
*
|
9 |
+
* http://aws.amazon.com/apache2.0
|
10 |
+
*
|
11 |
+
* or in the "license" file accompanying this file. This file is distributed
|
12 |
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
13 |
+
* express or implied. See the License for the specific language governing
|
14 |
+
* permissions and limitations under the License.
|
15 |
+
*/
|
16 |
+
|
17 |
+
namespace Aws\Common\Client;
|
18 |
+
|
19 |
+
use Aws\Common\Credentials\Credentials;
|
20 |
+
use Aws\Common\Enum\ClientOptions as Options;
|
21 |
+
use Aws\Common\Enum\Region;
|
22 |
+
use Aws\Common\Exception\ExceptionListener;
|
23 |
+
use Aws\Common\Exception\InvalidArgumentException;
|
24 |
+
use Aws\Common\Exception\NamespaceExceptionFactory;
|
25 |
+
use Aws\Common\Exception\Parser\DefaultXmlExceptionParser;
|
26 |
+
use Aws\Common\Exception\Parser\ExceptionParserInterface;
|
27 |
+
use Aws\Common\Iterator\AwsResourceIteratorFactory;
|
28 |
+
use Aws\Common\Signature\EndpointSignatureInterface;
|
29 |
+
use Aws\Common\Signature\SignatureInterface;
|
30 |
+
use Aws\Common\Signature\SignatureV2;
|
31 |
+
use Aws\Common\Signature\SignatureV3;
|
32 |
+
use Aws\Common\Signature\SignatureV3Https;
|
33 |
+
use Aws\Common\Signature\SignatureV4;
|
34 |
+
use Guzzle\Common\Collection;
|
35 |
+
use Guzzle\Plugin\Backoff\BackoffPlugin;
|
36 |
+
use Guzzle\Plugin\Backoff\CurlBackoffStrategy;
|
37 |
+
use Guzzle\Plugin\Backoff\ExponentialBackoffStrategy;
|
38 |
+
use Guzzle\Plugin\Backoff\HttpBackoffStrategy;
|
39 |
+
use Guzzle\Plugin\Backoff\TruncatedBackoffStrategy;
|
40 |
+
use Guzzle\Service\Client;
|
41 |
+
use Guzzle\Service\Description\ServiceDescription;
|
42 |
+
use Guzzle\Service\Resource\ResourceIteratorClassFactory;
|
43 |
+
use Guzzle\Log\LogAdapterInterface;
|
44 |
+
use Guzzle\Log\ClosureLogAdapter;
|
45 |
+
use Guzzle\Plugin\Backoff\BackoffLogger;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Builder for creating AWS service clients
|
49 |
+
*/
|
50 |
+
class ClientBuilder
|
51 |
+
{
|
52 |
+
/**
|
53 |
+
* @var array Default client config
|
54 |
+
*/
|
55 |
+
protected static $commonConfigDefaults = array('scheme' => 'https');
|
56 |
+
|
57 |
+
/**
|
58 |
+
* @var array Default client requirements
|
59 |
+
*/
|
60 |
+
protected static $commonConfigRequirements = array(Options::SERVICE_DESCRIPTION);
|
61 |
+
|
62 |
+
/**
|
63 |
+
* @var string The namespace of the client
|
64 |
+
*/
|
65 |
+
protected $clientNamespace;
|
66 |
+
|
67 |
+
/**
|
68 |
+
* @var array The config options
|
69 |
+
*/
|
70 |
+
protected $config = array();
|
71 |
+
|
72 |
+
/**
|
73 |
+
* @var array The config defaults
|
74 |
+
*/
|
75 |
+
protected $configDefaults = array();
|
76 |
+
|
77 |
+
/**
|
78 |
+
* @var array The config requirements
|
79 |
+
*/
|
80 |
+
protected $configRequirements = array();
|
81 |
+
|
82 |
+
/**
|
83 |
+
* @var ExceptionParserInterface The Parser interface for the client
|
84 |
+
*/
|
85 |
+
protected $exceptionParser;
|
86 |
+
|
87 |
+
/**
|
88 |
+
* @var array Array of configuration data for iterators available for the client
|
89 |
+
*/
|
90 |
+
protected $iteratorsConfig = array();
|
91 |
+
|
92 |
+
/**
|
93 |
+
* Factory method for creating the client builder
|
94 |
+
*
|
95 |
+
* @param string $namespace The namespace of the client
|
96 |
+
*
|
97 |
+
* @return ClientBuilder
|
98 |
+
*/
|
99 |
+
public static function factory($namespace = null)
|
100 |
+
{
|
101 |
+
return new static($namespace);
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Constructs a client builder
|
106 |
+
*
|
107 |
+
* @param string $namespace The namespace of the client
|
108 |
+
*/
|
109 |
+
public function __construct($namespace = null)
|
110 |
+
{
|
111 |
+
$this->clientNamespace = $namespace;
|
112 |
+
}
|
113 |
+
|
114 |
+
/**
|
115 |
+
* Sets the config options
|
116 |
+
*
|
117 |
+
* @param array|Collection $config The config options
|
118 |
+
*
|
119 |
+
* @return ClientBuilder
|
120 |
+
*/
|