@@ -9,6 +9,7 @@ class S3ObjectContext(DictWrapper):
9
9
@property
10
10
def input_s3_url (self ) -> str :
11
11
"""A pre-signed URL that can be used to fetch the original object from Amazon S3.
12
+
12
13
The URL is signed using the original caller’s identity, and their permissions
13
14
will apply when the URL is used. If there are signed headers in the URL, the
14
15
Lambda function must include these in the call to Amazon S3, except for the Host."""
@@ -45,6 +46,7 @@ def supporting_access_point_arn(self) -> str:
45
46
@property
46
47
def payload (self ) -> str :
47
48
"""Custom data that is applied to the S3 Object Lambda access point configuration.
49
+
48
50
S3 Object Lambda treats this as an opaque string, so it might need to be decoded
49
51
before use."""
50
52
return self ["payload" ]
@@ -138,7 +140,7 @@ def session_issuer(self) -> S3ObjectSessionIssuer:
138
140
139
141
@property
140
142
def attributes (self ) -> S3ObjectSessionAttributes :
141
- """User session attributes. """
143
+ """Session attributes."""
142
144
return S3ObjectSessionAttributes (self ["attributes" ])
143
145
144
146
@@ -176,6 +178,7 @@ def get_type(self) -> str:
176
178
@property
177
179
def account_id (self ) -> str :
178
180
"""The account that owns the entity that granted permissions for the request.
181
+
179
182
If the request was made with temporary security credentials, this is the account that owns the IAM
180
183
user or role that was used to obtain credentials."""
181
184
return self ["accountId" ]
@@ -222,7 +225,7 @@ def session_context(self) -> Optional[S3ObjectSessionContext]:
222
225
223
226
224
227
class S3ObjectLambdaEvent (DictWrapper ):
225
- """S3 object event notification
228
+ """S3 object lambda event
226
229
227
230
Documentation:
228
231
-------------
0 commit comments