ServiceResource / Sub-Resource / ObjectSummary

ObjectSummary#

S3.ServiceResource.ObjectSummary(bucket_name, key)#

Creates a ObjectSummary resource.:

object_summary = s3.ObjectSummary('bucket_name','key')
Parameters:
  • bucket_name (string) – The ObjectSummary’s bucket_name identifier. This must be set.

  • key (string) – The ObjectSummary’s key identifier. This must be set.

Return type:

S3.ObjectSummary

Returns:

A ObjectSummary resource