You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
### Added
6
6
7
7
- AWS api-change: Converging and fixing existing documentation gaps in Lambda SDK
8
+
- AWS api-change: Lambda now supports self-managed S3 buckets for Lambda code storage giving you the option for Lambda to reference a copy of your source code from your own S3 buckets. This allows you to maintain a single copy of your source code and manage your own code storage limits.
@@ -78,6 +89,14 @@ public function getS3Key(): ?string
78
89
return$this->s3Key;
79
90
}
80
91
92
+
/**
93
+
* @return S3ObjectStorageMode::*|null
94
+
*/
95
+
publicfunctiongetS3ObjectStorageMode(): ?string
96
+
{
97
+
return$this->s3ObjectStorageMode;
98
+
}
99
+
81
100
publicfunctiongetS3ObjectVersion(): ?string
82
101
{
83
102
return$this->s3ObjectVersion;
@@ -103,6 +122,13 @@ public function requestBody(): array
103
122
if (null !== $v = $this->s3ObjectVersion) {
104
123
$payload['S3ObjectVersion'] = $v;
105
124
}
125
+
if (null !== $v = $this->s3ObjectStorageMode) {
126
+
if (!S3ObjectStorageMode::exists($v)) {
127
+
/** @psalm-suppress NoValue */
128
+
thrownewInvalidArgument(\sprintf('Invalid parameter "S3ObjectStorageMode" for "%s". The value "%s" is not a valid "S3ObjectStorageMode".', __CLASS__, $v));
0 commit comments