Unverified Commit dbbd1c41 authored by Joe Hoyle's avatar Joe Hoyle Committed by GitHub
Browse files

Merge pull request #203 from humanmade/update-aws-sdk

Update aws sdk to 3.38.1
parents 41169778 9d591bb5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@ use Aws\AwsClient;
 * @method \GuzzleHttp\Promise\Promise describeCertificateAsync(array $args = [])
 * @method \Aws\Result getCertificate(array $args = [])
 * @method \GuzzleHttp\Promise\Promise getCertificateAsync(array $args = [])
 * @method \Aws\Result importCertificate(array $args = [])
 * @method \GuzzleHttp\Promise\Promise importCertificateAsync(array $args = [])
 * @method \Aws\Result listCertificates(array $args = [])
 * @method \GuzzleHttp\Promise\Promise listCertificatesAsync(array $args = [])
 * @method \Aws\Result listTagsForCertificate(array $args = [])
+3 −0
Original line number Diff line number Diff line
@@ -67,6 +67,9 @@ class ApiProvider
        // Execute the provider and return the result, if there is one.
        $result = $provider($type, $service, $version);
        if (is_array($result)) {
            if (!isset($result['metadata']['serviceIdentifier'])) {
                $result['metadata']['serviceIdentifier'] = $service;
            }
            return $result;
        }

+2 −2
Original line number Diff line number Diff line
@@ -83,8 +83,8 @@ class Operation extends AbstractModel
    {
        if ($this->errors === null) {
            if ($errors = $this['errors']) {
                foreach ($errors as &$error) {
                    $error = $this->shapeFor($error);
                foreach ($errors as $key => $error) {
                    $errors[$key] = $this->shapeFor($error);
                }
                $this->errors = $errors;
            } else {
+6 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ use Psr\Http\Message\ResponseInterface;
 */
abstract class AbstractRestParser extends AbstractParser
{
    use PayloadParserTrait;
    /**
     * Parses a payload from a response.
     *
@@ -116,6 +117,11 @@ abstract class AbstractRestParser extends AbstractParser
                    // output structure.
                    return;
                }
            case 'string':
                if ($shape['jsonvalue']) {
                    $value = $this->parseJson(base64_decode($value));
                }
                break;
        }

        $result[$name] = $value;
+4 −4
Original line number Diff line number Diff line
@@ -62,8 +62,8 @@ class JsonBody

            case 'list':
                $items = $shape->getMember();
                foreach ($value as &$v) {
                    $v = $this->format($items, $v);
                foreach ($value as $k => $v) {
                    $value[$k] = $this->format($items, $v);
                }
                return $value;

@@ -72,8 +72,8 @@ class JsonBody
                    return new \stdClass;
                }
                $values = $shape->getValue();
                foreach ($value as &$v) {
                    $v = $this->format($values, $v);
                foreach ($value as $k => $v) {
                    $value[$k] = $this->format($values, $v);
                }
                return $value;

Loading