Overview
This page explains how to check for the existence of an object in S3 using Python.
Method Using boto3
To check using boto3.resource
, you can use the following code:
|
|
If you’re using boto3.client
, you can check with this code:
|
|
This page explains how to check for the existence of an object in S3 using Python.
To check using boto3.resource
, you can use the following code:
|
|
If you’re using boto3.client
, you can check with this code:
|
|