Skip to content

S3  >  Structures  >  GetObjectAttributesParts

GetObjectAttributesParts

Structure Class

GetObjectAttributesParts dataclass

Bases: _SerdeShape

A collection of parts associated with a multipart upload.

Attributes

is_truncated class-attribute instance-attribute
is_truncated: bool | None = ...

Indicates whether the returned list of parts is truncated. A value of true indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts element.

max_parts class-attribute instance-attribute
max_parts: int | None = ...

The maximum number of parts allowed in the response.

next_part_number_marker class-attribute instance-attribute
next_part_number_marker: str | None = ...

When a list is truncated, this element specifies the last part in the list, as well as the value to use for the PartNumberMarker request parameter in a subsequent request.

part_number_marker class-attribute instance-attribute
part_number_marker: str | None = ...

The marker for the current part.

parts class-attribute instance-attribute
parts: list[ObjectPart] | None = ...

A container for elements related to a particular part. A response can contain zero or more Parts elements.

Note
  • General purpose buckets - For GetObjectAttributes, if an additional checksum (including x-amz-checksum-crc32, x-amz-checksum-crc32c, x-amz-checksum-sha1, or x-amz-checksum-sha256) isn't applied to the object specified in the request, the response doesn't return the Part element.

  • Directory buckets - For GetObjectAttributes, regardless of whether an additional checksum is applied to the object specified in the request, the response returns the Part element.

total_parts_count class-attribute instance-attribute
total_parts_count: int | None = ...

The total number of parts.