Type annotations for boto3#
Auto-generated documentation for boto3 type annotations package boto3-stubs.
Generated by mypy-boto3-builder.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Auto-discover services
and select services you use in the current project.
From PyPI with pip#
Install boto3-stubs
to add type annotations for boto3
package.
# install type annotations only for boto3
python -m pip install boto3-stubs
# install boto3 type annotations
# for ec2, s3, rds, lambda, sqs, dynamo and cloudformation
python -m pip install 'boto3-stubs[essential]'
# or install annotations for services you use
python -m pip install 'boto3-stubs[acm,apigateway]'
# or install annotations in sync with boto3 version
python -m pip install 'boto3-stubs[boto3]'
# or install all-in-one annotations for all services at once
python -m pip install 'boto3-stubs-full[boto3]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[essential]'
From conda-forge#
Add conda-forge
to your channels with:
conda config --add channels conda-forge
conda config --set channel_priority strict
Once the conda-forge
channel has been enabled, boto3-stubs
and boto3-stubs-essential
can be installed with:
conda install boto3-stubs boto3-stubs-essential
It is possible to list all of the versions of boto3-stubs
available on your platform with:
conda search boto3-stubs --channel conda-forge
How to uninstall#
# uninstall boto3-stubs
python -m pip uninstall -y boto3-stubs
Packages#
boto3-stubs
- boto3 type annotations withsession.client/resource
overloadsboto3-stubs-lite
- boto3 type annotations withoutsession.client/resource
overloads-
botocore-stubs
- botocore type annotations -
mypy-boto3-accessanalyzer for AccessAnalyzer service
-
mypy-boto3-account for Account service
-
mypy-boto3-acm for ACM service
-
mypy-boto3-acm-pca for ACMPCA service
-
mypy-boto3-amp for PrometheusService service
-
mypy-boto3-amplify for Amplify service
-
mypy-boto3-amplifybackend for AmplifyBackend service
-
mypy-boto3-amplifyuibuilder for AmplifyUIBuilder service
-
mypy-boto3-apigateway for APIGateway service
-
mypy-boto3-apigatewaymanagementapi for ApiGatewayManagementApi service
-
mypy-boto3-apigatewayv2 for ApiGatewayV2 service
-
mypy-boto3-appconfig for AppConfig service
-
mypy-boto3-appconfigdata for AppConfigData service
-
mypy-boto3-appfabric for AppFabric service
-
mypy-boto3-appflow for Appflow service
-
mypy-boto3-appintegrations for AppIntegrationsService service
-
mypy-boto3-application-autoscaling for ApplicationAutoScaling service
-
mypy-boto3-application-insights for ApplicationInsights service
-
mypy-boto3-application-signals for CloudWatchApplicationSignals service
-
mypy-boto3-applicationcostprofiler for ApplicationCostProfiler service
-
mypy-boto3-appmesh for AppMesh service
-
mypy-boto3-apprunner for AppRunner service
-
mypy-boto3-appstream for AppStream service
-
mypy-boto3-appsync for AppSync service
-
mypy-boto3-apptest for MainframeModernizationApplicationTesting service
-
mypy-boto3-arc-zonal-shift for ARCZonalShift service
-
mypy-boto3-artifact for Artifact service
-
mypy-boto3-athena for Athena service
-
mypy-boto3-auditmanager for AuditManager service
-
mypy-boto3-autoscaling for AutoScaling service
-
mypy-boto3-autoscaling-plans for AutoScalingPlans service
-
mypy-boto3-b2bi for B2BI service
-
mypy-boto3-backup for Backup service
-
mypy-boto3-backup-gateway for BackupGateway service
-
mypy-boto3-batch for Batch service
-
mypy-boto3-bcm-data-exports for BillingandCostManagementDataExports service
-
mypy-boto3-bedrock for Bedrock service
-
mypy-boto3-bedrock-agent for AgentsforBedrock service
-
mypy-boto3-bedrock-agent-runtime for AgentsforBedrockRuntime service
-
mypy-boto3-bedrock-runtime for BedrockRuntime service
-
mypy-boto3-billingconductor for BillingConductor service
-
mypy-boto3-braket for Braket service
-
mypy-boto3-budgets for Budgets service
-
mypy-boto3-ce for CostExplorer service
-
mypy-boto3-chatbot for Chatbot service
-
mypy-boto3-chime for Chime service
-
mypy-boto3-chime-sdk-identity for ChimeSDKIdentity service
-
mypy-boto3-chime-sdk-media-pipelines for ChimeSDKMediaPipelines service
-
mypy-boto3-chime-sdk-meetings for ChimeSDKMeetings service
-
mypy-boto3-chime-sdk-messaging for ChimeSDKMessaging service
-
mypy-boto3-chime-sdk-voice for ChimeSDKVoice service
-
mypy-boto3-cleanrooms for CleanRoomsService service
-
mypy-boto3-cleanroomsml for CleanRoomsML service
-
mypy-boto3-cloud9 for Cloud9 service
-
mypy-boto3-cloudcontrol for CloudControlApi service
-
mypy-boto3-clouddirectory for CloudDirectory service
-
mypy-boto3-cloudformation for CloudFormation service
-
mypy-boto3-cloudfront for CloudFront service
-
mypy-boto3-cloudfront-keyvaluestore for CloudFrontKeyValueStore service
-
mypy-boto3-cloudhsm for CloudHSM service
-
mypy-boto3-cloudhsmv2 for CloudHSMV2 service
-
mypy-boto3-cloudsearch for CloudSearch service
-
mypy-boto3-cloudsearchdomain for CloudSearchDomain service
-
mypy-boto3-cloudtrail for CloudTrail service
-
mypy-boto3-cloudtrail-data for CloudTrailDataService service
-
mypy-boto3-cloudwatch for CloudWatch service
-
mypy-boto3-codeartifact for CodeArtifact service
-
mypy-boto3-codebuild for CodeBuild service
-
mypy-boto3-codecatalyst for CodeCatalyst service
-
mypy-boto3-codecommit for CodeCommit service
-
mypy-boto3-codeconnections for CodeConnections service
-
mypy-boto3-codedeploy for CodeDeploy service
-
mypy-boto3-codeguru-reviewer for CodeGuruReviewer service
-
mypy-boto3-codeguru-security for CodeGuruSecurity service
-
mypy-boto3-codeguruprofiler for CodeGuruProfiler service
-
mypy-boto3-codepipeline for CodePipeline service
-
mypy-boto3-codestar-connections for CodeStarconnections service
-
mypy-boto3-codestar-notifications for CodeStarNotifications service
-
mypy-boto3-cognito-identity for CognitoIdentity service
-
mypy-boto3-cognito-idp for CognitoIdentityProvider service
-
mypy-boto3-cognito-sync for CognitoSync service
-
mypy-boto3-comprehend for Comprehend service
-
mypy-boto3-comprehendmedical for ComprehendMedical service
-
mypy-boto3-compute-optimizer for ComputeOptimizer service
-
mypy-boto3-config for ConfigService service
-
mypy-boto3-connect for Connect service
-
mypy-boto3-connect-contact-lens for ConnectContactLens service
-
mypy-boto3-connectcampaigns for ConnectCampaignService service
-
mypy-boto3-connectcases for ConnectCases service
-
mypy-boto3-connectparticipant for ConnectParticipant service
-
mypy-boto3-controlcatalog for ControlCatalog service
-
mypy-boto3-controltower for ControlTower service
-
mypy-boto3-cost-optimization-hub for CostOptimizationHub service
-
mypy-boto3-cur for CostandUsageReportService service
-
mypy-boto3-customer-profiles for CustomerProfiles service
-
mypy-boto3-databrew for GlueDataBrew service
-
mypy-boto3-dataexchange for DataExchange service
-
mypy-boto3-datapipeline for DataPipeline service
-
mypy-boto3-datasync for DataSync service
-
mypy-boto3-datazone for DataZone service
-
mypy-boto3-dax for DAX service
-
mypy-boto3-deadline for DeadlineCloud service
-
mypy-boto3-detective for Detective service
-
mypy-boto3-devicefarm for DeviceFarm service
-
mypy-boto3-devops-guru for DevOpsGuru service
-
mypy-boto3-directconnect for DirectConnect service
-
mypy-boto3-discovery for ApplicationDiscoveryService service
-
mypy-boto3-dlm for DLM service
-
mypy-boto3-dms for DatabaseMigrationService service
-
mypy-boto3-docdb for DocDB service
-
mypy-boto3-docdb-elastic for DocDBElastic service
-
mypy-boto3-drs for Drs service
-
mypy-boto3-ds for DirectoryService service
-
mypy-boto3-ds-data for DirectoryServiceData service
-
mypy-boto3-dynamodb for DynamoDB service
-
mypy-boto3-dynamodbstreams for DynamoDBStreams service
-
mypy-boto3-ebs for EBS service
-
mypy-boto3-ec2 for EC2 service
-
mypy-boto3-ec2-instance-connect for EC2InstanceConnect service
-
mypy-boto3-ecr for ECR service
-
mypy-boto3-ecr-public for ECRPublic service
-
mypy-boto3-ecs for ECS service
-
mypy-boto3-efs for EFS service
-
mypy-boto3-eks for EKS service
-
mypy-boto3-eks-auth for EKSAuth service
-
mypy-boto3-elastic-inference for ElasticInference service
-
mypy-boto3-elasticache for ElastiCache service
-
mypy-boto3-elasticbeanstalk for ElasticBeanstalk service
-
mypy-boto3-elastictranscoder for ElasticTranscoder service
-
mypy-boto3-elb for ElasticLoadBalancing service
-
mypy-boto3-elbv2 for ElasticLoadBalancingv2 service
-
mypy-boto3-emr for EMR service
-
mypy-boto3-emr-containers for EMRContainers service
-
mypy-boto3-emr-serverless for EMRServerless service
-
mypy-boto3-entityresolution for EntityResolution service
-
mypy-boto3-es for ElasticsearchService service
-
mypy-boto3-events for EventBridge service
-
mypy-boto3-evidently for CloudWatchEvidently service
-
mypy-boto3-finspace for Finspace service
-
mypy-boto3-finspace-data for FinSpaceData service
-
mypy-boto3-firehose for Firehose service
-
mypy-boto3-fis for FIS service
-
mypy-boto3-fms for FMS service
-
mypy-boto3-forecast for ForecastService service
-
mypy-boto3-forecastquery for ForecastQueryService service
-
mypy-boto3-frauddetector for FraudDetector service
-
mypy-boto3-freetier for FreeTier service
-
mypy-boto3-fsx for FSx service
-
mypy-boto3-gamelift for GameLift service
-
mypy-boto3-glacier for Glacier service
-
mypy-boto3-globalaccelerator for GlobalAccelerator service
-
mypy-boto3-glue for Glue service
-
mypy-boto3-grafana for ManagedGrafana service
-
mypy-boto3-greengrass for Greengrass service
-
mypy-boto3-greengrassv2 for GreengrassV2 service
-
mypy-boto3-groundstation for GroundStation service
-
mypy-boto3-guardduty for GuardDuty service
-
mypy-boto3-health for Health service
-
mypy-boto3-healthlake for HealthLake service
-
mypy-boto3-iam for IAM service
-
mypy-boto3-identitystore for IdentityStore service
-
mypy-boto3-imagebuilder for Imagebuilder service
-
mypy-boto3-importexport for ImportExport service
-
mypy-boto3-inspector for Inspector service
-
mypy-boto3-inspector-scan for Inspectorscan service
-
mypy-boto3-inspector2 for Inspector2 service
-
mypy-boto3-internetmonitor for CloudWatchInternetMonitor service
-
mypy-boto3-iot for IoT service
-
mypy-boto3-iot-data for IoTDataPlane service
-
mypy-boto3-iot-jobs-data for IoTJobsDataPlane service
-
mypy-boto3-iot1click-devices for IoT1ClickDevicesService service
-
mypy-boto3-iot1click-projects for IoT1ClickProjects service
-
mypy-boto3-iotanalytics for IoTAnalytics service
-
mypy-boto3-iotdeviceadvisor for IoTDeviceAdvisor service
-
mypy-boto3-iotevents for IoTEvents service
-
mypy-boto3-iotevents-data for IoTEventsData service
-
mypy-boto3-iotfleethub for IoTFleetHub service
-
mypy-boto3-iotfleetwise for IoTFleetWise service
-
mypy-boto3-iotsecuretunneling for IoTSecureTunneling service
-
mypy-boto3-iotsitewise for IoTSiteWise service
-
mypy-boto3-iotthingsgraph for IoTThingsGraph service
-
mypy-boto3-iottwinmaker for IoTTwinMaker service
-
mypy-boto3-iotwireless for IoTWireless service
-
mypy-boto3-ivs for IVS service
-
mypy-boto3-ivs-realtime for Ivsrealtime service
-
mypy-boto3-ivschat for Ivschat service
-
mypy-boto3-kafka for Kafka service
-
mypy-boto3-kafkaconnect for KafkaConnect service
-
mypy-boto3-kendra for Kendra service
-
mypy-boto3-kendra-ranking for KendraRanking service
-
mypy-boto3-keyspaces for Keyspaces service
-
mypy-boto3-kinesis for Kinesis service
-
mypy-boto3-kinesis-video-archived-media for KinesisVideoArchivedMedia service
-
mypy-boto3-kinesis-video-media for KinesisVideoMedia service
-
mypy-boto3-kinesis-video-signaling for KinesisVideoSignalingChannels service
-
mypy-boto3-kinesis-video-webrtc-storage for KinesisVideoWebRTCStorage service
-
mypy-boto3-kinesisanalytics for KinesisAnalytics service
-
mypy-boto3-kinesisanalyticsv2 for KinesisAnalyticsV2 service
-
mypy-boto3-kinesisvideo for KinesisVideo service
-
mypy-boto3-kms for KMS service
-
mypy-boto3-lakeformation for LakeFormation service
-
mypy-boto3-lambda for Lambda service
-
mypy-boto3-launch-wizard for LaunchWizard service
-
mypy-boto3-lex-models for LexModelBuildingService service
-
mypy-boto3-lex-runtime for LexRuntimeService service
-
mypy-boto3-lexv2-models for LexModelsV2 service
-
mypy-boto3-lexv2-runtime for LexRuntimeV2 service
-
mypy-boto3-license-manager for LicenseManager service
-
mypy-boto3-license-manager-linux-subscriptions for LicenseManagerLinuxSubscriptions service
-
mypy-boto3-license-manager-user-subscriptions for LicenseManagerUserSubscriptions service
-
mypy-boto3-lightsail for Lightsail service
-
mypy-boto3-location for LocationService service
-
mypy-boto3-logs for CloudWatchLogs service
-
mypy-boto3-lookoutequipment for LookoutEquipment service
-
mypy-boto3-lookoutmetrics for LookoutMetrics service
-
mypy-boto3-lookoutvision for LookoutforVision service
-
mypy-boto3-m2 for MainframeModernization service
-
mypy-boto3-machinelearning for MachineLearning service
-
mypy-boto3-macie2 for Macie2 service
-
mypy-boto3-mailmanager for MailManager service
-
mypy-boto3-managedblockchain for ManagedBlockchain service
-
mypy-boto3-managedblockchain-query for ManagedBlockchainQuery service
-
mypy-boto3-marketplace-agreement for AgreementService service
-
mypy-boto3-marketplace-catalog for MarketplaceCatalog service
-
mypy-boto3-marketplace-deployment for MarketplaceDeploymentService service
-
mypy-boto3-marketplace-entitlement for MarketplaceEntitlementService service
-
mypy-boto3-marketplacecommerceanalytics for MarketplaceCommerceAnalytics service
-
mypy-boto3-mediaconnect for MediaConnect service
-
mypy-boto3-mediaconvert for MediaConvert service
-
mypy-boto3-medialive for MediaLive service
-
mypy-boto3-mediapackage for MediaPackage service
-
mypy-boto3-mediapackage-vod for MediaPackageVod service
-
mypy-boto3-mediapackagev2 for Mediapackagev2 service
-
mypy-boto3-mediastore for MediaStore service
-
mypy-boto3-mediastore-data for MediaStoreData service
-
mypy-boto3-mediatailor for MediaTailor service
-
mypy-boto3-medical-imaging for HealthImaging service
-
mypy-boto3-memorydb for MemoryDB service
-
mypy-boto3-meteringmarketplace for MarketplaceMetering service
-
mypy-boto3-mgh for MigrationHub service
-
mypy-boto3-mgn for Mgn service
-
mypy-boto3-migration-hub-refactor-spaces for MigrationHubRefactorSpaces service
-
mypy-boto3-migrationhub-config for MigrationHubConfig service
-
mypy-boto3-migrationhuborchestrator for MigrationHubOrchestrator service
-
mypy-boto3-migrationhubstrategy for MigrationHubStrategyRecommendations service
-
mypy-boto3-mq for MQ service
-
mypy-boto3-mturk for MTurk service
-
mypy-boto3-mwaa for MWAA service
-
mypy-boto3-neptune for Neptune service