Difference between revisions of "Boto3.client"
Jump to navigation
Jump to search
(Removed redirect to Boto3) Tag: Removed redirect |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html#boto3.session.Session.client | ||
+ | |||
+ | * [[S3]]: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html | ||
+ | s3 = boto3.client("s3") | ||
+ | |||
+ | copy_object () https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.copy_object | ||
+ | |||
+ | |||
+ | * [[RDS]] https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/rds.html#client | ||
+ | |||
+ | my_rds_client = boto3.client("rds") | ||
+ | |||
+ | my_rds_client = boto3.client("rds", [[environ.get]]("[[AWS_REGION]]", config["region"])) | ||
− | https:// | + | |
+ | 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 == | ||
+ | * [[Boto3: aws s3 ls]] | ||
== See also == | == See also == |
Latest revision as of 09:53, 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[edit]
#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[edit]
See also[edit]
Advertising: