Loading lib/aws-sdk/Aws/Acm/AcmClient.php +2 −0 Original line number Diff line number Diff line Loading @@ -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 = []) Loading lib/aws-sdk/Aws/Api/ApiProvider.php +3 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading lib/aws-sdk/Aws/Api/Operation.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 { Loading lib/aws-sdk/Aws/Api/Parser/AbstractRestParser.php +6 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ use Psr\Http\Message\ResponseInterface; */ abstract class AbstractRestParser extends AbstractParser { use PayloadParserTrait; /** * Parses a payload from a response. * Loading Loading @@ -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; Loading lib/aws-sdk/Aws/Api/Serializer/JsonBody.php +4 −4 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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 Loading
lib/aws-sdk/Aws/Acm/AcmClient.php +2 −0 Original line number Diff line number Diff line Loading @@ -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 = []) Loading
lib/aws-sdk/Aws/Api/ApiProvider.php +3 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading
lib/aws-sdk/Aws/Api/Operation.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 { Loading
lib/aws-sdk/Aws/Api/Parser/AbstractRestParser.php +6 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ use Psr\Http\Message\ResponseInterface; */ abstract class AbstractRestParser extends AbstractParser { use PayloadParserTrait; /** * Parses a payload from a response. * Loading Loading @@ -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; Loading
lib/aws-sdk/Aws/Api/Serializer/JsonBody.php +4 −4 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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