Skip to content

Commit

Permalink
Merge branch 'develop' into tmp/schema/11801084679/1
Browse files Browse the repository at this point in the history
  • Loading branch information
aaythapa authored Nov 12, 2024
2 parents 45ac175 + a80f1a0 commit db3005e
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 130 deletions.
2 changes: 0 additions & 2 deletions samtranslator/internal/schema_source/aws_serverless_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class LambdaRequestAuthorizerIdentity(BaseModel):


class LambdaTokenAuthorizer(BaseModel):
AuthorizationScopes: Optional[List[str]] = lambdatokenauthorizer("AuthorizationScopes")
FunctionArn: SamIntrinsicable[str] = lambdatokenauthorizer("FunctionArn")
FunctionInvokeRole: Optional[str] = lambdatokenauthorizer("FunctionInvokeRole")
FunctionPayloadType: Optional[Literal["TOKEN"]] = lambdatokenauthorizer("FunctionPayloadType")
Expand All @@ -86,7 +85,6 @@ class LambdaTokenAuthorizer(BaseModel):


class LambdaRequestAuthorizer(BaseModel):
AuthorizationScopes: Optional[List[str]] = lambdarequestauthorizer("AuthorizationScopes")
FunctionArn: SamIntrinsicable[str] = lambdarequestauthorizer("FunctionArn")
FunctionInvokeRole: Optional[str] = lambdarequestauthorizer("FunctionInvokeRole")
FunctionPayloadType: Optional[Literal["REQUEST"]] = lambdarequestauthorizer("FunctionPayloadType")
Expand Down
Loading

0 comments on commit db3005e

Please sign in to comment.