Class: Aws::S3::Types::CopyObjectResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Container for all response elements.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#etagString

Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata. The source and destination ETag is identical for a successfully copied object.

Returns:

  • (String)


1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 1553

class CopyObjectResult < Struct.new(
  :etag,
  :last_modified)
  SENSITIVE = []
  include Aws::Structure
end

#last_modifiedTime

Returns the date that the object was last modified.

Returns:

  • (Time)


1553
1554
1555
1556
1557
1558
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 1553

class CopyObjectResult < Struct.new(
  :etag,
  :last_modified)
  SENSITIVE = []
  include Aws::Structure
end