We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daec4a0 commit 40d5edcCopy full SHA for 40d5edc
aws_lambda_powertools/utilities/data_classes/api_gateway_authorizer_event.py
@@ -371,7 +371,7 @@ def __init__(
371
stage: str,
372
context: Optional[Dict] = None,
373
usage_identifier_key: Optional[str] = None,
374
- partition: str = "aws"
+ partition: str = "aws",
375
):
376
"""
377
Parameters
@@ -405,8 +405,8 @@ def __init__(
405
must return one of the usage plan's API keys as the usageIdentifierKey property value.
406
> **Note:** This only applies for REST APIs.
407
partition: str, optional
408
- Default is aws,
409
- But it is "aws-cn" in China.
+ Optional, arn partition.
+ See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html
410
411
self.principal_id = principal_id
412
self.region = region
0 commit comments