diff --git a/python/cross_service/apigateway_websocket_chat/setup.yaml b/python/cross_service/apigateway_websocket_chat/setup.yaml index 24e96ca7c13..59a039d87ec 100644 --- a/python/cross_service/apigateway_websocket_chat/setup.yaml +++ b/python/cross_service/apigateway_websocket_chat/setup.yaml @@ -70,7 +70,7 @@ Resources: table_name: Ref: docexamplewebsocketchat902A2E60 Handler: lambda_chat.lambda_handler - Runtime: python3.7 + Runtime: python3.11 DependsOn: - docexampleapigatewaywebsocketchatDefaultPolicyDC1046A1 - docexampleapigatewaywebsocketchatE8890FEB diff --git a/python/cross_service/rekognition_content_moderation/cloudformation.yaml b/python/cross_service/rekognition_content_moderation/cloudformation.yaml index 393528f0602..2db753c47fd 100644 --- a/python/cross_service/rekognition_content_moderation/cloudformation.yaml +++ b/python/cross_service/rekognition_content_moderation/cloudformation.yaml @@ -56,7 +56,7 @@ Resources: ZipFile: | import json import boto3 - import botocore.vendored.requests.packages.urllib3 as urllib3 + import urllib3 import io @@ -118,7 +118,7 @@ Resources: Timeout: 35 MemorySize: 128 Role: !GetAtt lambdaIAMRole.Arn - Runtime: python3.7 + Runtime: python3.11 lambdaApiGatewayInvoke: Type: AWS::Lambda::Permission diff --git a/python/cross_service/stepfunctions_messenger/setup.yaml b/python/cross_service/stepfunctions_messenger/setup.yaml index ad5a4b0675b..014b3b0f5e3 100644 --- a/python/cross_service/stepfunctions_messenger/setup.yaml +++ b/python/cross_service/stepfunctions_messenger/setup.yaml @@ -77,7 +77,7 @@ Resources: - docexamplestepfunctionslambdamessagesroleA963E816 - Arn Handler: index.lambda_handler - Runtime: python3.7 + Runtime: python3.11 DependsOn: - docexamplestepfunctionslambdamessagesroleDefaultPolicy2726D8C5 - docexamplestepfunctionslambdamessagesroleA963E816