radarx.io.aws_data.get_s3_client#
- radarx.io.aws_data.get_s3_client(anonymous=True)[source]#
Create an S3 client.
- Parameters:
anonymous (
bool
, optional) – If True, creates an anonymous S3 client. Default is True.- Returns:
boto3.client
– Configured S3 client.
Examples
Create an anonymous client:
>>> s3 = get_s3_client()
Create an authenticated client:
>>> s3 = get_s3_client(anonymous=False)