awswrangler.s3.list_buckets

awswrangler.s3.list_buckets(boto3_session: Optional[boto3.session.Session] = None) List[str]

List Amazon S3 buckets.

Parameters

boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session to use, default to None.

Returns

List of bucket names.

Return type

List[str]