Skip to content

Update endpoint services #56

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 4 commits into from
Apr 2, 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# LocalStack Python Client Change Log

* v2.9: Add endpoints for Account Management, Private Certificate Authority, Bedrock, CloudControl, CodeBuild, CodeCommit, CodeConnections, CodeDeploy, CodePipeline, ElasticTranscoder, MemoryDB, Shield, Textract and Verified Permissions
* v2.8: Removes support for python `3.6` and `3.7` and adds `3.12` and `3.13` for parity with boto3
* v2.7: Add endpoint config for EventBridge Pipes
* v2.6: Add endpoint config for Pinpoint
Expand Down
196 changes: 106 additions & 90 deletions localstack_client/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,117 +13,133 @@
# latest version is to access all services via a single "edge service" (port 4566 by default)
_service_ports: Dict[str, int] = {
"edge": 4566,
# Botocore services
# When adding new services below, assign them port 4566
"account": 4566,
"acm": 4619,
"acm-pca": 4566,
"amplify": 4622,
"apigateway": 4567,
"apigatewaymanagementapi": 4625,
"apigatewayv2": 4567,
"kinesis": 4568,
"appconfig": 4632,
"appconfigdata": 4632,
"appflow": 4566,
"application-autoscaling": 4623,
"appsync": 4605,
"athena": 4607,
"autoscaling": 4616,
"backup": 4638,
"batch": 4614,
"bedrock": 4566,
"bedrock-runtime": 4566,
"ce": 4633,
"cloudcontrol": 4566,
"cloudformation": 4581,
"cloudfront": 4606,
"cloudsearch": 4595,
"cloudtrail": 4612,
"cloudwatch": 4582,
"codebuild": 4566,
"codecommit": 4620,
"codeconnections": 4566,
"codedeploy": 4566,
"codepipeline": 4566,
"cognito-identity": 4591,
"cognito-idp": 4590,
"config": 4641,
"configservice": 4641,
"docdb": 4594,
"dynamodb": 4569,
"dynamodbstreams": 4570,
"ec2": 4597,
"ecr": 4610,
"ecs": 4601,
"efs": 4637,
"eks": 4602,
"elasticache": 4598,
"elasticbeanstalk": 4604,
"elasticsearch": 4571,
"s3": 4572,
"firehose": 4573,
"lambda": 4574,
"sns": 4575,
"sqs": 4576,
"redshift": 4577,
"redshift-data": 4577,
"elastictranscoder": 4566,
"elb": 4588,
"elbv2": 4628,
"emr": 4600,
"emr-serverless": 4566,
"es": 4578,
"opensearch": 4578,
"ses": 4579,
"sesv2": 4579,
"route53": 4580,
"route53resolver": 4580,
"cloudformation": 4581,
"cloudwatch": 4582,
"ssm": 4583,
"secretsmanager": 4584,
"stepfunctions": 4585,
"logs": 4586,
"events": 4587,
"elb": 4588,
"firehose": 4573,
"fis": 4643,
"glacier": 4613,
"glue": 4608,
"iam": 4593,
"iot": 4589,
"iotanalytics": 4589,
"iot-data": 4589,
"iotevents": 4589,
"iotevents-data": 4589,
"iotwireless": 4589,
"iot-data": 4589,
"iot-jobs-data": 4589,
"cognito-idp": 4590,
"cognito-identity": 4591,
"sts": 4592,
"iam": 4593,
"iotwireless": 4589,
"kafka": 4624,
"keyspaces": 4566,
"kinesis": 4568,
"kinesisanalytics": 4621,
"kinesisanalyticsv2": 4621,
"kms": 4599,
"lakeformation": 4639,
"lambda": 4574,
"logs": 4586,
"mediaconvert": 4634,
"mediastore": 4617,
"mediastore-data": 4617,
"meteringmarketplace": 4644,
"memorydb": 4566,
"mq": 4566,
"mwaa": 4642,
"neptune": 4594,
"opensearch": 4578,
"organizations": 4615,
"pinpoint": 4566,
"pipes": 4566,
"qldb": 4611,
"qldb-session": 4611,
"ram": 4566,
"rds": 4594,
"rds-data": 4594,
"cloudsearch": 4595,
"swf": 4596,
"ec2": 4597,
"elasticache": 4598,
"kms": 4599,
"emr": 4600,
"ecs": 4601,
"eks": 4602,
"xray": 4603,
"elasticbeanstalk": 4604,
"appsync": 4605,
"cloudfront": 4606,
"athena": 4607,
"glue": 4608,
"redshift": 4577,
"redshift-data": 4577,
"resource-groups": 4636,
"resourcegroupstaggingapi": 4635,
"route53": 4580,
"route53domains": 4566,
"route53resolver": 4580,
"s3": 4572,
"s3control": 4627,
"sagemaker": 4609,
"sagemaker-runtime": 4609,
"ecr": 4610,
"qldb": 4611,
"qldb-session": 4611,
"cloudtrail": 4612,
"glacier": 4613,
"batch": 4614,
"organizations": 4615,
"autoscaling": 4616,
"mediastore": 4617,
"mediastore-data": 4617,
"transfer": 4618,
"acm": 4619,
"codecommit": 4620,
"kinesisanalytics": 4621,
"kinesisanalyticsv2": 4621,
"amplify": 4622,
"application-autoscaling": 4623,
"kafka": 4624,
"apigatewaymanagementapi": 4625,
"scheduler": 4566,
"secretsmanager": 4584,
"serverlessrepo": 4631,
"servicediscovery": 4630,
"ses": 4579,
"sesv2": 4579,
"shield": 4566,
"sns": 4575,
"sqs": 4576,
"ssm": 4583,
"stepfunctions": 4585,
"sts": 4592,
"support": 4629,
"swf": 4596,
"textract": 4566,
"timestream": 4626,
"timestream-query": 4626,
"timestream-write": 4626,
"s3control": 4627,
"elbv2": 4628,
"support": 4629,
"neptune": 4594,
"docdb": 4594,
"servicediscovery": 4630,
"serverlessrepo": 4631,
"appconfig": 4632,
"appconfigdata": 4632,
"ce": 4633,
"mediaconvert": 4634,
"resourcegroupstaggingapi": 4635,
"resource-groups": 4636,
"efs": 4637,
"backup": 4638,
"lakeformation": 4639,
"transcribe": 4566,
"transfer": 4618,
"verifiedpermissions": 4566,
"waf": 4640,
"wafv2": 4640,
"config": 4641,
"configservice": 4641,
"mwaa": 4642,
"fis": 4643,
"meteringmarketplace": 4644,
"transcribe": 4566,
"mq": 4566,
"emr-serverless": 4566,
"appflow": 4566,
"route53domains": 4566,
"keyspaces": 4566,
"scheduler": 4566,
"ram": 4566,
"pinpoint": 4566,
"pipes": 4566,
"xray": 4603,
}

# TODO remove service port mapping above entirely
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = localstack-client
version = 2.8
version = 2.9
url = https://github.com/localstack/localstack-python-client
author = LocalStack Team
author_email = [email protected]
Expand Down