ServiceResource / Sub-Resource / ObjectVersion

ObjectVersion#

S3.ServiceResource.ObjectVersion(bucket_name, object_key, id)#

Creates a ObjectVersion resource.:

object_version = s3.ObjectVersion('bucket_name','object_key','id')
Parameters:
  • bucket_name (string) – The ObjectVersion’s bucket_name identifier. This must be set.

  • object_key (string) – The ObjectVersion’s object_key identifier. This must be set.

  • id (string) – The ObjectVersion’s id identifier. This must be set.

Return type:

S3.ObjectVersion

Returns:

A ObjectVersion resource