Skip to content

Add codebuild, codedeploy, and codepipeline to the client types #12209

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
Jan 31, 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
6 changes: 6 additions & 0 deletions localstack-core/localstack/utils/aws/client_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
from mypy_boto3_cloudfront import CloudFrontClient
from mypy_boto3_cloudtrail import CloudTrailClient
from mypy_boto3_cloudwatch import CloudWatchClient
from mypy_boto3_codebuild import CodeBuildClient
from mypy_boto3_codecommit import CodeCommitClient
from mypy_boto3_codedeploy import CodeDeployClient
from mypy_boto3_codepipeline import CodePipelineClient
from mypy_boto3_cognito_identity import CognitoIdentityClient
from mypy_boto3_cognito_idp import CognitoIdentityProviderClient
from mypy_boto3_dms import DatabaseMigrationServiceClient
Expand Down Expand Up @@ -133,7 +136,10 @@ class TypedServiceClientFactory(abc.ABC):
cloudfront: Union["CloudFrontClient", "MetadataRequestInjector[CloudFrontClient]"]
cloudtrail: Union["CloudTrailClient", "MetadataRequestInjector[CloudTrailClient]"]
cloudwatch: Union["CloudWatchClient", "MetadataRequestInjector[CloudWatchClient]"]
codebuild: Union["CodeBuildClient", "MetadataRequestInjector[CodeBuildClient]"]
codecommit: Union["CodeCommitClient", "MetadataRequestInjector[CodeCommitClient]"]
codedeploy: Union["CodeDeployClient", "MetadataRequestInjector[CodeDeployClient]"]
codepipeline: Union["CodePipelineClient", "MetadataRequestInjector[CodePipelineClient]"]
cognito_identity: Union[
"CognitoIdentityClient", "MetadataRequestInjector[CognitoIdentityClient]"
]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,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,codecommit,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,codedeploy,codepipeline,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]",
]

[tool.setuptools]
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ aws-cdk-asset-kubectl-v20==2.1.3
# via aws-cdk-lib
aws-cdk-asset-node-proxy-agent-v6==2.1.0
# via aws-cdk-lib
aws-cdk-cloud-assembly-schema==39.2.7
aws-cdk-cloud-assembly-schema==39.2.9
# via aws-cdk-lib
aws-cdk-lib==2.177.0
# via localstack-core
Expand Down Expand Up @@ -85,7 +85,7 @@ cffi==1.17.1
# via cryptography
cfgv==3.4.0
# via pre-commit
cfn-lint==1.22.7
cfn-lint==1.23.0
# via moto-ext
charset-normalizer==3.4.1
# via requests
Expand Down Expand Up @@ -342,7 +342,7 @@ pydantic-core==2.27.2
# via pydantic
pygments==2.19.1
# via rich
pymongo==4.10.1
pymongo==4.11
# via localstack-core
pyopenssl==25.0.0
# via
Expand Down
4 changes: 2 additions & 2 deletions requirements-runtime.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ certifi==2024.12.14
# requests
cffi==1.17.1
# via cryptography
cfn-lint==1.22.7
cfn-lint==1.23.0
# via moto-ext
charset-normalizer==3.4.1
# via requests
Expand Down Expand Up @@ -245,7 +245,7 @@ pydantic-core==2.27.2
# via pydantic
pygments==2.19.1
# via rich
pymongo==4.10.1
pymongo==4.11
# via localstack-core (pyproject.toml)
pyopenssl==25.0.0
# via
Expand Down
6 changes: 3 additions & 3 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ aws-cdk-asset-kubectl-v20==2.1.3
# via aws-cdk-lib
aws-cdk-asset-node-proxy-agent-v6==2.1.0
# via aws-cdk-lib
aws-cdk-cloud-assembly-schema==39.2.7
aws-cdk-cloud-assembly-schema==39.2.9
# via aws-cdk-lib
aws-cdk-lib==2.177.0
# via localstack-core (pyproject.toml)
Expand Down Expand Up @@ -83,7 +83,7 @@ certifi==2024.12.14
# requests
cffi==1.17.1
# via cryptography
cfn-lint==1.22.7
cfn-lint==1.23.0
# via moto-ext
charset-normalizer==3.4.1
# via requests
Expand Down Expand Up @@ -312,7 +312,7 @@ pydantic-core==2.27.2
# via pydantic
pygments==2.19.1
# via rich
pymongo==4.10.1
pymongo==4.11
# via localstack-core
pyopenssl==25.0.0
# via
Expand Down
29 changes: 19 additions & 10 deletions requirements-typehint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ aws-cdk-asset-kubectl-v20==2.1.3
# via aws-cdk-lib
aws-cdk-asset-node-proxy-agent-v6==2.1.0
# via aws-cdk-lib
aws-cdk-cloud-assembly-schema==39.2.7
aws-cdk-cloud-assembly-schema==39.2.9
# via aws-cdk-lib
aws-cdk-lib==2.177.0
# via localstack-core
Expand All @@ -53,7 +53,7 @@ boto3==1.36.6
# aws-sam-translator
# localstack-core
# moto-ext
boto3-stubs==1.36.7
boto3-stubs==1.36.9
# via localstack-core (pyproject.toml)
botocore==1.36.6
# via
Expand All @@ -64,7 +64,7 @@ botocore==1.36.6
# localstack-snapshot
# moto-ext
# s3transfer
botocore-stubs==1.36.7
botocore-stubs==1.36.9
# via boto3-stubs
build==1.2.2.post1
# via
Expand All @@ -89,7 +89,7 @@ cffi==1.17.1
# via cryptography
cfgv==3.4.0
# via pre-commit
cfn-lint==1.22.7
cfn-lint==1.23.0
# via moto-ext
charset-normalizer==3.4.1
# via requests
Expand Down Expand Up @@ -280,7 +280,7 @@ mypy-boto3-appconfigdata==1.36.0
# via boto3-stubs
mypy-boto3-application-autoscaling==1.36.0
# via boto3-stubs
mypy-boto3-appsync==1.36.0
mypy-boto3-appsync==1.36.8
# via boto3-stubs
mypy-boto3-athena==1.36.0
# via boto3-stubs
Expand All @@ -302,8 +302,14 @@ mypy-boto3-cloudtrail==1.36.6
# via boto3-stubs
mypy-boto3-cloudwatch==1.36.0
# via boto3-stubs
mypy-boto3-codebuild==1.36.0
# via boto3-stubs
mypy-boto3-codecommit==1.36.0
# via boto3-stubs
mypy-boto3-codedeploy==1.36.0
# via boto3-stubs
mypy-boto3-codepipeline==1.36.0
# via boto3-stubs
mypy-boto3-cognito-identity==1.36.0
# via boto3-stubs
mypy-boto3-cognito-idp==1.36.3
Expand All @@ -316,9 +322,9 @@ mypy-boto3-dynamodb==1.36.0
# via boto3-stubs
mypy-boto3-dynamodbstreams==1.36.0
# via boto3-stubs
mypy-boto3-ec2==1.36.5
mypy-boto3-ec2==1.36.8
# via boto3-stubs
mypy-boto3-ecr==1.36.0
mypy-boto3-ecr==1.36.9
# via boto3-stubs
mypy-boto3-ecs==1.36.1
# via boto3-stubs
Expand All @@ -340,7 +346,7 @@ mypy-boto3-es==1.36.0
# via boto3-stubs
mypy-boto3-events==1.36.0
# via boto3-stubs
mypy-boto3-firehose==1.36.0
mypy-boto3-firehose==1.36.8
# via boto3-stubs
mypy-boto3-fis==1.36.0
# via boto3-stubs
Expand Down Expand Up @@ -418,7 +424,7 @@ mypy-boto3-route53==1.36.0
# via boto3-stubs
mypy-boto3-route53resolver==1.36.0
# via boto3-stubs
mypy-boto3-s3==1.36.0
mypy-boto3-s3==1.36.9
# via boto3-stubs
mypy-boto3-s3control==1.36.7
# via boto3-stubs
Expand Down Expand Up @@ -540,7 +546,7 @@ pydantic-core==2.27.2
# via pydantic
pygments==2.19.1
# via rich
pymongo==4.10.1
pymongo==4.11
# via localstack-core
pyopenssl==25.0.0
# via
Expand Down Expand Up @@ -692,7 +698,10 @@ typing-extensions==4.12.2
# mypy-boto3-cloudfront
# mypy-boto3-cloudtrail
# mypy-boto3-cloudwatch
# mypy-boto3-codebuild
# mypy-boto3-codecommit
# mypy-boto3-codedeploy
# mypy-boto3-codepipeline
# mypy-boto3-cognito-identity
# mypy-boto3-cognito-idp
# mypy-boto3-dms
Expand Down
Loading