Class: Aws::S3::Types::GetObjectAttributesOutput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#checksumTypes::Checksum

The checksum or digest of the object.

Returns:



7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#delete_markerBoolean

Specifies whether the object retrieved was (‘true`) or was not (`false`) a delete marker. If `false`, this response header does not appear in the response. To learn more about delete markers, see [Working with delete markers].

<note markdown=“1”> This functionality is not supported for directory buckets.

</note>

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/DeleteMarker.html

Returns:

  • (Boolean)


7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#etagString

An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.

Returns:

  • (String)


7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#last_modifiedTime

Date and time when the object was last modified.

Returns:

  • (Time)


7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#object_partsTypes::GetObjectAttributesParts

A collection of parts associated with a multipart upload.



7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#object_sizeInteger

The size of the object in bytes.

Returns:

  • (Integer)


7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#request_chargedString

If present, indicates that the requester was successfully charged for the request. For more information, see [Using Requester Pays buckets for storage transfers and usage] in the *Amazon Simple Storage Service user guide*.

<note markdown=“1”> This functionality is not supported for directory buckets.

</note>

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html

Returns:

  • (String)


7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#storage_classString

Provides the storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

For more information, see [Storage Classes].

<note markdown=“1”> **Directory buckets** - Directory buckets only support ‘EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.

</note>

[1]: docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html

Returns:

  • (String)


7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end

#version_idString

The version ID of the object.

<note markdown=“1”> This functionality is not supported for directory buckets.

</note>

Returns:

  • (String)


7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aws-sdk-s3/types.rb', line 7556

class GetObjectAttributesOutput < Struct.new(
  :delete_marker,
  :last_modified,
  :version_id,
  :request_charged,
  :etag,
  :checksum,
  :object_parts,
  :storage_class,
  :object_size)
  SENSITIVE = []
  include Aws::Structure
end