Returns a boto3.s3.Object object matching the wildcard expression Parameters Get_wildcard_key ( self, wildcard_key, bucket_name = None, delimiter = '' ) ¶ Wildcard_key ( str) – the path to the keyĭelimiter ( str) – the delimiter marks key hierarchy check_for_wildcard_key ( self, wildcard_key, bucket_name = None, delimiter = '' ) ¶Ĭhecks that a key matching a wildcard expression exists in a bucket Parameters Retrieved subset of original data by S3 Select Return typeįor more details about S3 Select parameters: Output_serialization ( dict) – S3 Select output data serialization format Input_serialization ( dict) – S3 Select input data serialization format Select_key ( self, key, bucket_name = None, expression = 'SELECT * FROM S3Object', expression_type = 'SQL', input_serialization = None, output_serialization = None ) ¶Įxpression_type ( str) – S3 Select expression type Read_key ( self, key, bucket_name = None ) ¶ Get_key ( self, key, bucket_name = None ) ¶ Key ( str) – S3 key that will point to the fileīucket_name ( str) – Name of the bucket in which the file is stored Lists keys in a bucket under prefix and not containing delimiter ParametersĬheck_for_key ( self, key, bucket_name = None ) ¶Ĭhecks if a key exists in a bucket Parameters List_keys ( self, bucket_name, prefix = '', delimiter = '', page_size = None, max_items = None ) ¶ Max_items ( int) – maximum items to return Lists prefixes in a bucket under prefix Parameters List_prefixes ( self, bucket_name, prefix = '', delimiter = '', page_size = None, max_items = None ) ¶ Region_name ( str) – The name of the aws region in which to create the bucket.Ĭheck_for_prefix ( self, bucket_name, prefix, delimiter ) ¶Ĭhecks that a prefix exists in a bucket Parametersīucket_name ( str) – the name of the bucketĭelimiter ( str) – the delimiter marks key hierarchy. Returns a boto3.S3.Bucket object Parametersīucket_name ( str) – the name of the bucket create_bucket ( self, bucket_name, region_name = None ) ¶īucket_name ( str) – The name of the bucket get_conn ( self ) ¶ static parse_s3_url ( s3url ) ¶ check_for_bucket ( self, bucket_name ) ¶īucket_name ( str) – the name of the bucket get_bucket ( self, bucket_name ) ¶ Interact with AWS S3, using the boto3 library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |