Ashish Anand has Published 213 Articles

How to use Boto3 library in Python to get the list of buckets present in AWS S3?

Ashish Anand

Ashish Anand

Updated on 22-Mar-2021 07:33:34

313 Views

Problem Statement − Use boto3 library in Python to get the list of all buckets present in AWS.Example − Get the name of buckets like – BUCKET_1, BUCKET2, BUCKET_3Approach/Algorithm to solve this problemStep 1 − Import boto3 and botocore exceptions to handle exceptions.Step 2 − Create an AWS session using ... Read More

How to connect different AWS services using Boto3 library in Python?

Ashish Anand

Ashish Anand

Updated on 22-Mar-2021 07:32:39

556 Views

In this article, we will see how you can use Boto3 library in Python to connect with different AWS services.ExampleConnect with AWS S3.Connect with AWS Glue JobConnect with AWS SQS and many more.Approach/Algorithm to solve this problemStep 1 − Create an AWS session using Boto3 library.Step 2 − Pass the ... Read More

How to create an AWS session using Boto3 library in Python?

Ashish Anand

Ashish Anand

Updated on 22-Mar-2021 07:32:06

4K+ Views

When a user wants to use AWS services using lambda or programming code, a session needs to set up first to access AWS services.An AWS session could be default as well as customized based on needs.Problem Statement − Use Boto3 library in Python to create an AWS session.Approach/Algorithm to solve ... Read More

Advertisements