Difference between revisions of "Boto3.client"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
my_rds_client.[[describe_db_snapshots]] | my_rds_client.[[describe_db_snapshots]] | ||
+ | |||
+ | |||
+ | == Unauthenticated for public buckets == | ||
+ | import boto3 | ||
+ | from [[botocore]] import UNSIGNED | ||
+ | from botocore.client import Config | ||
+ | |||
+ | s3 = boto3.client('s3', config=Config(signature_version=UNSIGNED)) | ||
+ | |||
== Related == | == Related == |
Revision as of 09:52, 3 April 2024
s3 = boto3.client("s3") copy_object () https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.copy_object
my_rds_client = boto3.client("rds")
my_rds_client = boto3.client("rds", environ.get("AWS_REGION", config["region"]))
my_rds_client.describe_db_snapshots
Unauthenticated for public buckets
import boto3 from botocore import UNSIGNED from botocore.client import Config s3 = boto3.client('s3', config=Config(signature_version=UNSIGNED))
Related
See also
Advertising: