Skip to content

Commit 5d56517

Browse files
update generated code (#876)
1 parent 07fb25c commit 5d56517

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: This release includes support for new feature: Code Signing for AWS Lambda. This adds new resources and APIs to configure Lambda functions to accept and verify signed code artifacts at deployment.
8+
59
## 1.1.1
610

711
### Fixed

src/Result/PublishLayerVersionResponse.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ protected function populateResult(Response $response): void
118118
'Location' => isset($data['Content']['Location']) ? (string) $data['Content']['Location'] : null,
119119
'CodeSha256' => isset($data['Content']['CodeSha256']) ? (string) $data['Content']['CodeSha256'] : null,
120120
'CodeSize' => isset($data['Content']['CodeSize']) ? (string) $data['Content']['CodeSize'] : null,
121+
'SigningProfileVersionArn' => isset($data['Content']['SigningProfileVersionArn']) ? (string) $data['Content']['SigningProfileVersionArn'] : null,
122+
'SigningJobArn' => isset($data['Content']['SigningJobArn']) ? (string) $data['Content']['SigningJobArn'] : null,
121123
]);
122124
$this->LayerArn = isset($data['LayerArn']) ? (string) $data['LayerArn'] : null;
123125
$this->LayerVersionArn = isset($data['LayerVersionArn']) ? (string) $data['LayerVersionArn'] : null;

src/ValueObject/LayerVersionContentOutput.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,32 @@ final class LayerVersionContentOutput
1919
*/
2020
private $CodeSize;
2121

22+
/**
23+
* The Amazon Resource Name (ARN) for a signing profile version.
24+
*/
25+
private $SigningProfileVersionArn;
26+
27+
/**
28+
* The Amazon Resource Name (ARN) of a signing job.
29+
*/
30+
private $SigningJobArn;
31+
2232
/**
2333
* @param array{
2434
* Location?: null|string,
2535
* CodeSha256?: null|string,
2636
* CodeSize?: null|string,
37+
* SigningProfileVersionArn?: null|string,
38+
* SigningJobArn?: null|string,
2739
* } $input
2840
*/
2941
public function __construct(array $input)
3042
{
3143
$this->Location = $input['Location'] ?? null;
3244
$this->CodeSha256 = $input['CodeSha256'] ?? null;
3345
$this->CodeSize = $input['CodeSize'] ?? null;
46+
$this->SigningProfileVersionArn = $input['SigningProfileVersionArn'] ?? null;
47+
$this->SigningJobArn = $input['SigningJobArn'] ?? null;
3448
}
3549

3650
public static function create($input): self
@@ -52,4 +66,14 @@ public function getLocation(): ?string
5266
{
5367
return $this->Location;
5468
}
69+
70+
public function getSigningJobArn(): ?string
71+
{
72+
return $this->SigningJobArn;
73+
}
74+
75+
public function getSigningProfileVersionArn(): ?string
76+
{
77+
return $this->SigningProfileVersionArn;
78+
}
5579
}

0 commit comments

Comments
 (0)