Skip to content

Commit

Permalink
chore: schema update (#3680)
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinZZ authored Nov 12, 2024
1 parent ca4ddcb commit a80f1a0
Show file tree
Hide file tree
Showing 6 changed files with 280 additions and 228 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 a80f1a0

Please sign in to comment.