Skip to content

Add VerifiedPermissions to the client types #12474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions localstack-core/localstack/utils/aws/client_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
from mypy_boto3_timestream_query import TimestreamQueryClient
from mypy_boto3_timestream_write import TimestreamWriteClient
from mypy_boto3_transcribe import TranscribeServiceClient
from mypy_boto3_verifiedpermissions import VerifiedPermissionsClient
from mypy_boto3_wafv2 import WAFV2Client
from mypy_boto3_xray import XRayClient

Expand Down Expand Up @@ -259,6 +260,9 @@ class TypedServiceClientFactory(abc.ABC):
"TimestreamWriteClient", "MetadataRequestInjector[TimestreamWriteClient]"
]
transcribe: Union["TranscribeServiceClient", "MetadataRequestInjector[TranscribeServiceClient]"]
verifiedpermissions: Union[
"VerifiedPermissionsClient", "MetadataRequestInjector[VerifiedPermissionsClient]"
]
wafv2: Union["WAFV2Client", "MetadataRequestInjector[WAFV2Client]"]
xray: Union["XRayClient", "MetadataRequestInjector[XRayClient]"]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ typehint = [
# typehint is an optional extension of the dev dependencies
"localstack-core[dev]",
# pinned / updated by ASF update action
"boto3-stubs[acm,acm-pca,amplify,apigateway,apigatewayv2,appconfig,appconfigdata,application-autoscaling,appsync,athena,autoscaling,backup,batch,ce,cloudcontrol,cloudformation,cloudfront,cloudtrail,cloudwatch,codebuild,codecommit,codeconnections,codedeploy,codepipeline,codestar-connections,cognito-identity,cognito-idp,dms,docdb,dynamodb,dynamodbstreams,ec2,ecr,ecs,efs,eks,elasticache,elasticbeanstalk,elbv2,emr,emr-serverless,es,events,firehose,fis,glacier,glue,iam,identitystore,iot,iot-data,iotanalytics,iotwireless,kafka,kinesis,kinesisanalytics,kinesisanalyticsv2,kms,lakeformation,lambda,logs,managedblockchain,mediaconvert,mediastore,mq,mwaa,neptune,opensearch,organizations,pi,pipes,pinpoint,qldb,qldb-session,rds,rds-data,redshift,redshift-data,resource-groups,resourcegroupstaggingapi,route53,route53resolver,s3,s3control,sagemaker,sagemaker-runtime,secretsmanager,serverlessrepo,servicediscovery,ses,sesv2,sns,sqs,ssm,sso-admin,stepfunctions,sts,timestream-query,timestream-write,transcribe,wafv2,xray]",
"boto3-stubs[acm,acm-pca,amplify,apigateway,apigatewayv2,appconfig,appconfigdata,application-autoscaling,appsync,athena,autoscaling,backup,batch,ce,cloudcontrol,cloudformation,cloudfront,cloudtrail,cloudwatch,codebuild,codecommit,codeconnections,codedeploy,codepipeline,codestar-connections,cognito-identity,cognito-idp,dms,docdb,dynamodb,dynamodbstreams,ec2,ecr,ecs,efs,eks,elasticache,elasticbeanstalk,elbv2,emr,emr-serverless,es,events,firehose,fis,glacier,glue,iam,identitystore,iot,iot-data,iotanalytics,iotwireless,kafka,kinesis,kinesisanalytics,kinesisanalyticsv2,kms,lakeformation,lambda,logs,managedblockchain,mediaconvert,mediastore,mq,mwaa,neptune,opensearch,organizations,pi,pipes,pinpoint,qldb,qldb-session,rds,rds-data,redshift,redshift-data,resource-groups,resourcegroupstaggingapi,route53,route53resolver,s3,s3control,sagemaker,sagemaker-runtime,secretsmanager,serverlessrepo,servicediscovery,ses,sesv2,sns,sqs,ssm,sso-admin,stepfunctions,sts,timestream-query,timestream-write,transcribe,verifiedpermissions,wafv2,xray]",
]

[tool.setuptools]
Expand Down
3 changes: 3 additions & 0 deletions requirements-typehint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ mypy-boto3-timestream-write==1.37.0
# via boto3-stubs
mypy-boto3-transcribe==1.37.5
# via boto3-stubs
mypy-boto3-verifiedpermissions==1.37.0
# via boto3-stubs
mypy-boto3-wafv2==1.37.21
# via boto3-stubs
mypy-boto3-xray==1.37.0
Expand Down Expand Up @@ -777,6 +779,7 @@ typing-extensions==4.13.0
# mypy-boto3-timestream-query
# mypy-boto3-timestream-write
# mypy-boto3-transcribe
# mypy-boto3-verifiedpermissions
# mypy-boto3-wafv2
# mypy-boto3-xray
# pydantic
Expand Down
Loading