apache_beam.io.aws.clients.s3.fake_client module

class apache_beam.io.aws.clients.s3.fake_client.FakeFile(bucket, key, contents, etag=None)[source]

Bases: object

get_metadata()[source]
class apache_beam.io.aws.clients.s3.fake_client.FakeS3Client[source]

Bases: object

add_file(f)[source]
get_file(bucket, obj)[source]
delete_file(bucket, obj)[source]
get_object_metadata(request)[source]

Retrieves an object’s metadata.

Parameters:request – (GetRequest) input message
Returns:(Item) The response message.
list(request)[source]
get_range(request, start, end)[source]

Retrieves an object.

Parameters:request – (GetRequest) request
Returns:(bytes) The response message.
delete(request)[source]
delete_batch(request)[source]
copy(request)[source]
create_multipart_upload(request)[source]
upload_part(request)[source]
complete_multipart_upload(request)[source]