Skip to content

Commit

Permalink
Update AWS SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Oct 13, 2016
1 parent b23a9ec commit c87d283
Show file tree
Hide file tree
Showing 156 changed files with 1,789 additions and 568 deletions.
24 changes: 24 additions & 0 deletions vendor/Aws/ApiGateway/ApiGatewayClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
* @method \GuzzleHttp\Promise\Promise createRestApiAsync(array $args = [])
* @method \Aws\Result createStage(array $args = [])
* @method \GuzzleHttp\Promise\Promise createStageAsync(array $args = [])
* @method \Aws\Result createUsagePlan(array $args = [])
* @method \GuzzleHttp\Promise\Promise createUsagePlanAsync(array $args = [])
* @method \Aws\Result createUsagePlanKey(array $args = [])
* @method \GuzzleHttp\Promise\Promise createUsagePlanKeyAsync(array $args = [])
* @method \Aws\Result deleteApiKey(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteApiKeyAsync(array $args = [])
* @method \Aws\Result deleteAuthorizer(array $args = [])
Expand Down Expand Up @@ -54,6 +58,10 @@
* @method \GuzzleHttp\Promise\Promise deleteRestApiAsync(array $args = [])
* @method \Aws\Result deleteStage(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteStageAsync(array $args = [])
* @method \Aws\Result deleteUsagePlan(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteUsagePlanAsync(array $args = [])
* @method \Aws\Result deleteUsagePlanKey(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteUsagePlanKeyAsync(array $args = [])
* @method \Aws\Result flushStageAuthorizersCache(array $args = [])
* @method \GuzzleHttp\Promise\Promise flushStageAuthorizersCacheAsync(array $args = [])
* @method \Aws\Result flushStageCache(array $args = [])
Expand Down Expand Up @@ -116,6 +124,18 @@
* @method \GuzzleHttp\Promise\Promise getStageAsync(array $args = [])
* @method \Aws\Result getStages(array $args = [])
* @method \GuzzleHttp\Promise\Promise getStagesAsync(array $args = [])
* @method \Aws\Result getUsage(array $args = [])
* @method \GuzzleHttp\Promise\Promise getUsageAsync(array $args = [])
* @method \Aws\Result getUsagePlan(array $args = [])
* @method \GuzzleHttp\Promise\Promise getUsagePlanAsync(array $args = [])
* @method \Aws\Result getUsagePlanKey(array $args = [])
* @method \GuzzleHttp\Promise\Promise getUsagePlanKeyAsync(array $args = [])
* @method \Aws\Result getUsagePlanKeys(array $args = [])
* @method \GuzzleHttp\Promise\Promise getUsagePlanKeysAsync(array $args = [])
* @method \Aws\Result getUsagePlans(array $args = [])
* @method \GuzzleHttp\Promise\Promise getUsagePlansAsync(array $args = [])
* @method \Aws\Result importApiKeys(array $args = [])
* @method \GuzzleHttp\Promise\Promise importApiKeysAsync(array $args = [])
* @method \Aws\Result importRestApi(array $args = [])
* @method \GuzzleHttp\Promise\Promise importRestApiAsync(array $args = [])
* @method \Aws\Result putIntegration(array $args = [])
Expand Down Expand Up @@ -162,6 +182,10 @@
* @method \GuzzleHttp\Promise\Promise updateRestApiAsync(array $args = [])
* @method \Aws\Result updateStage(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateStageAsync(array $args = [])
* @method \Aws\Result updateUsage(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateUsageAsync(array $args = [])
* @method \Aws\Result updateUsagePlan(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateUsagePlanAsync(array $args = [])
*/
class ApiGatewayClient extends AwsClient
{
Expand Down
6 changes: 6 additions & 0 deletions vendor/Aws/AutoScaling/AutoScalingClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*
* @method \Aws\Result attachInstances(array $args = [])
* @method \GuzzleHttp\Promise\Promise attachInstancesAsync(array $args = [])
* @method \Aws\Result attachLoadBalancerTargetGroups(array $args = [])
* @method \GuzzleHttp\Promise\Promise attachLoadBalancerTargetGroupsAsync(array $args = [])
* @method \Aws\Result attachLoadBalancers(array $args = [])
* @method \GuzzleHttp\Promise\Promise attachLoadBalancersAsync(array $args = [])
* @method \Aws\Result completeLifecycleAction(array $args = [])
Expand Down Expand Up @@ -48,6 +50,8 @@
* @method \GuzzleHttp\Promise\Promise describeLifecycleHookTypesAsync(array $args = [])
* @method \Aws\Result describeLifecycleHooks(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeLifecycleHooksAsync(array $args = [])
* @method \Aws\Result describeLoadBalancerTargetGroups(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeLoadBalancerTargetGroupsAsync(array $args = [])
* @method \Aws\Result describeLoadBalancers(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeLoadBalancersAsync(array $args = [])
* @method \Aws\Result describeMetricCollectionTypes(array $args = [])
Expand All @@ -68,6 +72,8 @@
* @method \GuzzleHttp\Promise\Promise describeTerminationPolicyTypesAsync(array $args = [])
* @method \Aws\Result detachInstances(array $args = [])
* @method \GuzzleHttp\Promise\Promise detachInstancesAsync(array $args = [])
* @method \Aws\Result detachLoadBalancerTargetGroups(array $args = [])
* @method \GuzzleHttp\Promise\Promise detachLoadBalancerTargetGroupsAsync(array $args = [])
* @method \Aws\Result detachLoadBalancers(array $args = [])
* @method \GuzzleHttp\Promise\Promise detachLoadBalancersAsync(array $args = [])
* @method \Aws\Result disableMetricsCollection(array $args = [])
Expand Down
10 changes: 10 additions & 0 deletions vendor/Aws/CloudFront/CloudFrontClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@
* @method \GuzzleHttp\Promise\Promise updateDistributionAsync(array $args = [])
* @method \Aws\Result updateStreamingDistribution(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateStreamingDistributionAsync(array $args = [])
* @method \Aws\Result createDistributionWithTags(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \GuzzleHttp\Promise\Promise createDistributionWithTagsAsync(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \Aws\Result createStreamingDistributionWithTags(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \GuzzleHttp\Promise\Promise createStreamingDistributionWithTagsAsync(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \Aws\Result listTagsForResource(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \Aws\Result tagResource(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \Aws\Result untagResource(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = []) (supported in versions 2016-08-01, 2016-08-20, 2016-09-07)
*/
class CloudFrontClient extends AwsClient
{
Expand Down
53 changes: 53 additions & 0 deletions vendor/Aws/CloudSearchDomain/CloudSearchDomainClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
namespace Aws\CloudSearchDomain;

use Aws\AwsClient;
use Aws\CommandInterface;
use GuzzleHttp\Psr7\Uri;
use Psr\Http\Message\RequestInterface;
use GuzzleHttp\Psr7;

/**
* This client is used to search and upload documents to an **Amazon CloudSearch** Domain.
Expand All @@ -16,6 +19,13 @@
*/
class CloudSearchDomainClient extends AwsClient
{
public function __construct(array $args)
{
parent::__construct($args);
$list = $this->getHandlerList();
$list->appendBuild($this->searchByPost(), 'cloudsearchdomain.search_by_POST');
}

public static function getArguments()
{
$args = parent::getArguments();
Expand All @@ -28,4 +38,47 @@ public static function getArguments()

return $args;
}

/**
* Use POST for search command
*
* Useful when query string is too long
*/
private function searchByPost()
{
return static function (callable $handler) {
return function (
CommandInterface $c,
RequestInterface $r = null
) use ($handler) {
if ($c->getName() !== 'Search') {
return $handler($c, $r);
}
return $handler($c, self::convertGetToPost($r));
};
};
}

/**
* Converts default GET request to a POST request
*
* Avoiding length restriction in query
*
* @param RequestInterface $r GET request to be converted
* @return RequestInterface $req converted POST request
*/
public static function convertGetToPost(RequestInterface $r)
{
if ($r->getMethod() === 'POST') {
return $r;
}

$query = $r->getUri()->getQuery();
$req = $r->withMethod('POST')
->withBody(Psr7\stream_for($query))
->withHeader('Content-Length', strlen($query))
->withHeader('Content-Type', 'application/x-www-form-urlencoded')
->withUri($r->getUri()->withQuery(''));
return $req;
}
}
6 changes: 6 additions & 0 deletions vendor/Aws/CodePipeline/CodePipelineClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* @method \GuzzleHttp\Promise\Promise getJobDetailsAsync(array $args = [])
* @method \Aws\Result getPipeline(array $args = [])
* @method \GuzzleHttp\Promise\Promise getPipelineAsync(array $args = [])
* @method \Aws\Result getPipelineExecution(array $args = [])
* @method \GuzzleHttp\Promise\Promise getPipelineExecutionAsync(array $args = [])
* @method \Aws\Result getPipelineState(array $args = [])
* @method \GuzzleHttp\Promise\Promise getPipelineStateAsync(array $args = [])
* @method \Aws\Result getThirdPartyJobDetails(array $args = [])
Expand All @@ -40,6 +42,8 @@
* @method \GuzzleHttp\Promise\Promise pollForThirdPartyJobsAsync(array $args = [])
* @method \Aws\Result putActionRevision(array $args = [])
* @method \GuzzleHttp\Promise\Promise putActionRevisionAsync(array $args = [])
* @method \Aws\Result putApprovalResult(array $args = [])
* @method \GuzzleHttp\Promise\Promise putApprovalResultAsync(array $args = [])
* @method \Aws\Result putJobFailureResult(array $args = [])
* @method \GuzzleHttp\Promise\Promise putJobFailureResultAsync(array $args = [])
* @method \Aws\Result putJobSuccessResult(array $args = [])
Expand All @@ -48,6 +52,8 @@
* @method \GuzzleHttp\Promise\Promise putThirdPartyJobFailureResultAsync(array $args = [])
* @method \Aws\Result putThirdPartyJobSuccessResult(array $args = [])
* @method \GuzzleHttp\Promise\Promise putThirdPartyJobSuccessResultAsync(array $args = [])
* @method \Aws\Result retryStageExecution(array $args = [])
* @method \GuzzleHttp\Promise\Promise retryStageExecutionAsync(array $args = [])
* @method \Aws\Result startPipelineExecution(array $args = [])
* @method \GuzzleHttp\Promise\Promise startPipelineExecutionAsync(array $args = [])
* @method \Aws\Result updatePipeline(array $args = [])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* @method \GuzzleHttp\Promise\Promise addCustomAttributesAsync(array $args = [])
* @method \Aws\Result adminConfirmSignUp(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminConfirmSignUpAsync(array $args = [])
* @method \Aws\Result adminCreateUser(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminCreateUserAsync(array $args = [])
* @method \Aws\Result adminDeleteUser(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminDeleteUserAsync(array $args = [])
* @method \Aws\Result adminDeleteUserAttributes(array $args = [])
Expand All @@ -18,20 +20,38 @@
* @method \GuzzleHttp\Promise\Promise adminDisableUserAsync(array $args = [])
* @method \Aws\Result adminEnableUser(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminEnableUserAsync(array $args = [])
* @method \Aws\Result adminForgetDevice(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminForgetDeviceAsync(array $args = [])
* @method \Aws\Result adminGetDevice(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminGetDeviceAsync(array $args = [])
* @method \Aws\Result adminGetUser(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminGetUserAsync(array $args = [])
* @method \Aws\Result adminInitiateAuth(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminInitiateAuthAsync(array $args = [])
* @method \Aws\Result adminListDevices(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminListDevicesAsync(array $args = [])
* @method \Aws\Result adminResetUserPassword(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminResetUserPasswordAsync(array $args = [])
* @method \Aws\Result adminRespondToAuthChallenge(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminRespondToAuthChallengeAsync(array $args = [])
* @method \Aws\Result adminSetUserSettings(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminSetUserSettingsAsync(array $args = [])
* @method \Aws\Result adminUpdateDeviceStatus(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminUpdateDeviceStatusAsync(array $args = [])
* @method \Aws\Result adminUpdateUserAttributes(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminUpdateUserAttributesAsync(array $args = [])
* @method \Aws\Result adminUserGlobalSignOut(array $args = [])
* @method \GuzzleHttp\Promise\Promise adminUserGlobalSignOutAsync(array $args = [])
* @method \Aws\Result changePassword(array $args = [])
* @method \GuzzleHttp\Promise\Promise changePasswordAsync(array $args = [])
* @method \Aws\Result confirmDevice(array $args = [])
* @method \GuzzleHttp\Promise\Promise confirmDeviceAsync(array $args = [])
* @method \Aws\Result confirmForgotPassword(array $args = [])
* @method \GuzzleHttp\Promise\Promise confirmForgotPasswordAsync(array $args = [])
* @method \Aws\Result confirmSignUp(array $args = [])
* @method \GuzzleHttp\Promise\Promise confirmSignUpAsync(array $args = [])
* @method \Aws\Result createUserImportJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise createUserImportJobAsync(array $args = [])
* @method \Aws\Result createUserPool(array $args = [])
* @method \GuzzleHttp\Promise\Promise createUserPoolAsync(array $args = [])
* @method \Aws\Result createUserPoolClient(array $args = [])
Expand All @@ -44,16 +64,32 @@
* @method \GuzzleHttp\Promise\Promise deleteUserPoolAsync(array $args = [])
* @method \Aws\Result deleteUserPoolClient(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteUserPoolClientAsync(array $args = [])
* @method \Aws\Result describeUserImportJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeUserImportJobAsync(array $args = [])
* @method \Aws\Result describeUserPool(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeUserPoolAsync(array $args = [])
* @method \Aws\Result describeUserPoolClient(array $args = [])
* @method \GuzzleHttp\Promise\Promise describeUserPoolClientAsync(array $args = [])
* @method \Aws\Result forgetDevice(array $args = [])
* @method \GuzzleHttp\Promise\Promise forgetDeviceAsync(array $args = [])
* @method \Aws\Result forgotPassword(array $args = [])
* @method \GuzzleHttp\Promise\Promise forgotPasswordAsync(array $args = [])
* @method \Aws\Result getCSVHeader(array $args = [])
* @method \GuzzleHttp\Promise\Promise getCSVHeaderAsync(array $args = [])
* @method \Aws\Result getDevice(array $args = [])
* @method \GuzzleHttp\Promise\Promise getDeviceAsync(array $args = [])
* @method \Aws\Result getUser(array $args = [])
* @method \GuzzleHttp\Promise\Promise getUserAsync(array $args = [])
* @method \Aws\Result getUserAttributeVerificationCode(array $args = [])
* @method \GuzzleHttp\Promise\Promise getUserAttributeVerificationCodeAsync(array $args = [])
* @method \Aws\Result globalSignOut(array $args = [])
* @method \GuzzleHttp\Promise\Promise globalSignOutAsync(array $args = [])
* @method \Aws\Result initiateAuth(array $args = [])
* @method \GuzzleHttp\Promise\Promise initiateAuthAsync(array $args = [])
* @method \Aws\Result listDevices(array $args = [])
* @method \GuzzleHttp\Promise\Promise listDevicesAsync(array $args = [])
* @method \Aws\Result listUserImportJobs(array $args = [])
* @method \GuzzleHttp\Promise\Promise listUserImportJobsAsync(array $args = [])
* @method \Aws\Result listUserPoolClients(array $args = [])
* @method \GuzzleHttp\Promise\Promise listUserPoolClientsAsync(array $args = [])
* @method \Aws\Result listUserPools(array $args = [])
Expand All @@ -62,10 +98,18 @@
* @method \GuzzleHttp\Promise\Promise listUsersAsync(array $args = [])
* @method \Aws\Result resendConfirmationCode(array $args = [])
* @method \GuzzleHttp\Promise\Promise resendConfirmationCodeAsync(array $args = [])
* @method \Aws\Result respondToAuthChallenge(array $args = [])
* @method \GuzzleHttp\Promise\Promise respondToAuthChallengeAsync(array $args = [])
* @method \Aws\Result setUserSettings(array $args = [])
* @method \GuzzleHttp\Promise\Promise setUserSettingsAsync(array $args = [])
* @method \Aws\Result signUp(array $args = [])
* @method \GuzzleHttp\Promise\Promise signUpAsync(array $args = [])
* @method \Aws\Result startUserImportJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise startUserImportJobAsync(array $args = [])
* @method \Aws\Result stopUserImportJob(array $args = [])
* @method \GuzzleHttp\Promise\Promise stopUserImportJobAsync(array $args = [])
* @method \Aws\Result updateDeviceStatus(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateDeviceStatusAsync(array $args = [])
* @method \Aws\Result updateUserAttributes(array $args = [])
* @method \GuzzleHttp\Promise\Promise updateUserAttributesAsync(array $args = [])
* @method \Aws\Result updateUserPool(array $args = [])
Expand Down
6 changes: 6 additions & 0 deletions vendor/Aws/ConfigService/ConfigServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
*
* @method \Aws\Result deleteConfigRule(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteConfigRuleAsync(array $args = [])
* @method \Aws\Result deleteConfigurationRecorder(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteConfigurationRecorderAsync(array $args = [])
* @method \Aws\Result deleteDeliveryChannel(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteDeliveryChannelAsync(array $args = [])
* @method \Aws\Result deleteEvaluationResults(array $args = [])
* @method \GuzzleHttp\Promise\Promise deleteEvaluationResultsAsync(array $args = [])
* @method \Aws\Result deliverConfigSnapshot(array $args = [])
* @method \GuzzleHttp\Promise\Promise deliverConfigSnapshotAsync(array $args = [])
* @method \Aws\Result describeComplianceByConfigRule(array $args = [])
Expand Down Expand Up @@ -48,6 +52,8 @@
* @method \GuzzleHttp\Promise\Promise putDeliveryChannelAsync(array $args = [])
* @method \Aws\Result putEvaluations(array $args = [])
* @method \GuzzleHttp\Promise\Promise putEvaluationsAsync(array $args = [])
* @method \Aws\Result startConfigRulesEvaluation(array $args = [])
* @method \GuzzleHttp\Promise\Promise startConfigRulesEvaluationAsync(array $args = [])
* @method \Aws\Result startConfigurationRecorder(array $args = [])
* @method \GuzzleHttp\Promise\Promise startConfigurationRecorderAsync(array $args = [])
* @method \Aws\Result stopConfigurationRecorder(array $args = [])
Expand Down
Loading

0 comments on commit c87d283

Please sign in to comment.