From 40d5edca5200473b8a95530094b6a363a21b293d Mon Sep 17 00:00:00 2001 From: Leandro Damascena Date: Fri, 28 Apr 2023 16:25:36 +0100 Subject: [PATCH] chore(docs): docstring --- .../utilities/data_classes/api_gateway_authorizer_event.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aws_lambda_powertools/utilities/data_classes/api_gateway_authorizer_event.py b/aws_lambda_powertools/utilities/data_classes/api_gateway_authorizer_event.py index e93d493c34d..431d678e9b6 100644 --- a/aws_lambda_powertools/utilities/data_classes/api_gateway_authorizer_event.py +++ b/aws_lambda_powertools/utilities/data_classes/api_gateway_authorizer_event.py @@ -371,7 +371,7 @@ def __init__( stage: str, context: Optional[Dict] = None, usage_identifier_key: Optional[str] = None, - partition: str = "aws" + partition: str = "aws", ): """ Parameters @@ -405,8 +405,8 @@ def __init__( must return one of the usage plan's API keys as the usageIdentifierKey property value. > **Note:** This only applies for REST APIs. partition: str, optional - Default is aws, - But it is "aws-cn" in China. + Optional, arn partition. + See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html """ self.principal_id = principal_id self.region = region