Difference between revisions of "Boto3.client"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
    
 
    
 
   my_rds_client.[[describe_db_snapshots]]
 
   my_rds_client.[[describe_db_snapshots]]
 +
 +
 +
== Unauthenticated for [[public buckets]] ==
 +
#Ref: https://stackoverflow.com/q/34865927
 +
import boto3
 +
from [[botocore]] import UNSIGNED
 +
from botocore.client import Config
 +
 +
s3 = boto3.client('s3', config=Config(signature_version=UNSIGNED))
  
 
== Related ==
 
== Related ==
* [[Boto3: <code>aws s3 ls</code>]]
+
* [[Boto3: aws s3 ls]]
  
 
== See also ==
 
== See also ==

Latest revision as of 09:53, 3 April 2024

Advertising: