Laravel version update
Laravel version update
This commit is contained in:
36
vendor/aws/aws-sdk-php/src/Api/Service.php
vendored
36
vendor/aws/aws-sdk-php/src/Api/Service.php
vendored
@@ -43,10 +43,12 @@ class Service extends AbstractModel
|
||||
], $defaultMeta = [
|
||||
'apiVersion' => null,
|
||||
'serviceFullName' => null,
|
||||
'serviceId' => null,
|
||||
'endpointPrefix' => null,
|
||||
'signingName' => null,
|
||||
'signatureVersion' => null,
|
||||
'protocol' => null
|
||||
'protocol' => null,
|
||||
'uid' => null
|
||||
];
|
||||
|
||||
$definition += $defaults;
|
||||
@@ -86,7 +88,9 @@ class Service extends AbstractModel
|
||||
|
||||
if (isset($mapping[$proto])) {
|
||||
return new $mapping[$proto]($api, $endpoint);
|
||||
} elseif ($proto == 'ec2') {
|
||||
}
|
||||
|
||||
if ($proto == 'ec2') {
|
||||
return new QuerySerializer($api, $endpoint, new Ec2ParamBuilder());
|
||||
}
|
||||
|
||||
@@ -139,7 +143,9 @@ class Service extends AbstractModel
|
||||
$proto = $api->getProtocol();
|
||||
if (isset($mapping[$proto])) {
|
||||
return new $mapping[$proto]($api);
|
||||
} elseif ($proto == 'ec2') {
|
||||
}
|
||||
|
||||
if ($proto == 'ec2') {
|
||||
return new QueryParser($api, null, false);
|
||||
}
|
||||
|
||||
@@ -158,6 +164,16 @@ class Service extends AbstractModel
|
||||
return $this->definition['metadata']['serviceFullName'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the service id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getServiceId()
|
||||
{
|
||||
return $this->definition['metadata']['serviceId'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the API version of the service
|
||||
*
|
||||
@@ -221,6 +237,16 @@ class Service extends AbstractModel
|
||||
return $this->definition['metadata']['protocol'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the uid string used by the service
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getUid()
|
||||
{
|
||||
return $this->definition['metadata']['uid'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the description has a specific operation by name.
|
||||
*
|
||||
@@ -282,7 +308,9 @@ class Service extends AbstractModel
|
||||
{
|
||||
if (!$key) {
|
||||
return $this['metadata'];
|
||||
} elseif (isset($this->definition['metadata'][$key])) {
|
||||
}
|
||||
|
||||
if (isset($this->definition['metadata'][$key])) {
|
||||
return $this->definition['metadata'][$key];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user