Skip to content

Commit 513c576

Browse files
authored
Shortname docblock (#742)
* Use short class name in docbloc * Regenerate services
1 parent 517bf0d commit 513c576

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

src/Input/InvocationRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ final class InvocationRequest extends Input
5858
/**
5959
* @param array{
6060
* FunctionName?: string,
61-
* InvocationType?: \AsyncAws\Lambda\Enum\InvocationType::*,
62-
* LogType?: \AsyncAws\Lambda\Enum\LogType::*,
61+
* InvocationType?: InvocationType::*,
62+
* LogType?: LogType::*,
6363
* ClientContext?: string,
6464
* Payload?: string,
6565
* Qualifier?: string,

src/Input/ListLayerVersionsRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class ListLayerVersionsRequest extends Input
4242

4343
/**
4444
* @param array{
45-
* CompatibleRuntime?: \AsyncAws\Lambda\Enum\Runtime::*,
45+
* CompatibleRuntime?: Runtime::*,
4646
* LayerName?: string,
4747
* Marker?: string,
4848
* MaxItems?: int,

src/Input/PublishLayerVersionRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ final class PublishLayerVersionRequest extends Input
5656
* @param array{
5757
* LayerName?: string,
5858
* Description?: string,
59-
* Content?: \AsyncAws\Lambda\ValueObject\LayerVersionContentInput|array,
60-
* CompatibleRuntimes?: list<\AsyncAws\Lambda\Enum\Runtime::*>,
59+
* Content?: LayerVersionContentInput|array,
60+
* CompatibleRuntimes?: list<Runtime::*>,
6161
* LicenseInfo?: string,
6262
* @region?: string,
6363
* } $input

src/LambdaClient.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
use AsyncAws\Core\Configuration;
77
use AsyncAws\Core\Exception\UnsupportedRegion;
88
use AsyncAws\Core\RequestContext;
9+
use AsyncAws\Lambda\Enum\InvocationType;
10+
use AsyncAws\Lambda\Enum\LogType;
11+
use AsyncAws\Lambda\Enum\Runtime;
912
use AsyncAws\Lambda\Input\AddLayerVersionPermissionRequest;
1013
use AsyncAws\Lambda\Input\InvocationRequest;
1114
use AsyncAws\Lambda\Input\ListLayerVersionsRequest;
@@ -14,6 +17,7 @@
1417
use AsyncAws\Lambda\Result\InvocationResponse;
1518
use AsyncAws\Lambda\Result\ListLayerVersionsResponse;
1619
use AsyncAws\Lambda\Result\PublishLayerVersionResponse;
20+
use AsyncAws\Lambda\ValueObject\LayerVersionContentInput;
1721

1822
class LambdaClient extends AbstractApi
1923
{
@@ -52,8 +56,8 @@ public function addLayerVersionPermission($input): AddLayerVersionPermissionResp
5256
*
5357
* @param array{
5458
* FunctionName: string,
55-
* InvocationType?: \AsyncAws\Lambda\Enum\InvocationType::*,
56-
* LogType?: \AsyncAws\Lambda\Enum\LogType::*,
59+
* InvocationType?: InvocationType::*,
60+
* LogType?: LogType::*,
5761
* ClientContext?: string,
5862
* Payload?: string,
5963
* Qualifier?: string,
@@ -77,7 +81,7 @@ public function invoke($input): InvocationResponse
7781
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-lambda-2015-03-31.html#listlayerversions
7882
*
7983
* @param array{
80-
* CompatibleRuntime?: \AsyncAws\Lambda\Enum\Runtime::*,
84+
* CompatibleRuntime?: Runtime::*,
8185
* LayerName: string,
8286
* Marker?: string,
8387
* MaxItems?: int,
@@ -102,8 +106,8 @@ public function listLayerVersions($input): ListLayerVersionsResponse
102106
* @param array{
103107
* LayerName: string,
104108
* Description?: string,
105-
* Content: \AsyncAws\Lambda\ValueObject\LayerVersionContentInput|array,
106-
* CompatibleRuntimes?: list<\AsyncAws\Lambda\Enum\Runtime::*>,
109+
* Content: LayerVersionContentInput|array,
110+
* CompatibleRuntimes?: list<Runtime::*>,
107111
* LicenseInfo?: string,
108112
* @region?: string,
109113
* }|PublishLayerVersionRequest $input

src/ValueObject/LayerVersionsListItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ final class LayerVersionsListItem
4242
* Version?: null|string,
4343
* Description?: null|string,
4444
* CreatedDate?: null|string,
45-
* CompatibleRuntimes?: null|list<\AsyncAws\Lambda\Enum\Runtime::*>,
45+
* CompatibleRuntimes?: null|list<Runtime::*>,
4646
* LicenseInfo?: null|string,
4747
* } $input
4848
*/

0 commit comments

Comments
 (0)