Skip to content

Commit 40d5edc

Browse files
chore(docs): docstring
1 parent daec4a0 commit 40d5edc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aws_lambda_powertools/utilities/data_classes/api_gateway_authorizer_event.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def __init__(
371371
stage: str,
372372
context: Optional[Dict] = None,
373373
usage_identifier_key: Optional[str] = None,
374-
partition: str = "aws"
374+
partition: str = "aws",
375375
):
376376
"""
377377
Parameters
@@ -405,8 +405,8 @@ def __init__(
405405
must return one of the usage plan's API keys as the usageIdentifierKey property value.
406406
> **Note:** This only applies for REST APIs.
407407
partition: str, optional
408-
Default is aws,
409-
But it is "aws-cn" in China.
408+
Optional, arn partition.
409+
See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html
410410
"""
411411
self.principal_id = principal_id
412412
self.region = region

0 commit comments

Comments
 (0)