Struct: s3.ListPartsOutput

import "../ibm-cos-sdk-go/service/s3"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

AbortDate *time.Time `location:"header" locationName:"x-amz-abort-date" type:"timestamp"`

If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, then the response includes this header indicating when the initiated multipart upload will become eligible for abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration (docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config).

The response will also include the x-amz-abort-rule-id header that will provide the ID of the lifecycle configuration rule that defines this action.

AbortRuleId *string `location:"header" locationName:"x-amz-abort-rule-id" type:"string"`

This header is returned along with the x-amz-abort-date header. It identifies applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.

Bucket *string `type:"string"`

The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.

Initiator *Initiator `type:"structure"`

Container element that identifies who initiated the multipart upload. If the initiator is an AWS account, this element provides the same information as the Owner element. If the initiator is an IAM User, this element provides the user ARN and display name.

IsTruncated *bool `type:"boolean"`

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

Key *string `min:"1" type:"string"`

Object key for which the multipart upload was initiated.

MaxParts *int64 `type:"integer"`

Maximum number of parts that were allowed in the response.

NextPartNumberMarker *int64 `type:"integer"`

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

Owner *Owner `type:"structure"`

Container element that identifies the object owner, after the object is created. If multipart upload is initiated by an IAM user, this element provides the parent account ID and display name.

PartNumberMarker *int64 `type:"integer"`

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

Parts []*Part `locationName:"Part" type:"list" flattened:"true"`

Container for elements related to a particular part. A response can contain zero or more Part elements.

RequestCharged *string `location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`

If present, indicates that the requester was successfully charged for the request.

StorageClass *string `type:"string" enum:"StorageClass"`

Class of storage (STANDARD or REDUCED_REDUNDANCY) used to store the uploaded object.

UploadId *string `type:"string"`

Upload ID identifying the multipart upload whose parts are being listed.

_ struct{} `type:"structure"`

Method Details

func (s ListPartsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



17593
17594
17595
// File 'service/s3/api.go', line 17593

func (s ListPartsOutput) GoString() string { return s.String() }

func (s *ListPartsOutput) SetAbortDate(v time.Time) *ListPartsOutput

SetAbortDate sets the AbortDate field's value.



17598
17599
17600
17601
// File 'service/s3/api.go', line 17598

func (s *ListPartsOutput) SetAbortDate(v time.Time) *ListPartsOutput { s.AbortDate = &v return s }

func (s *ListPartsOutput) SetAbortRuleId(v string) *ListPartsOutput

SetAbortRuleId sets the AbortRuleId field's value.



17604
17605
17606
17607
// File 'service/s3/api.go', line 17604

func (s *ListPartsOutput) SetAbortRuleId(v string) *ListPartsOutput { s.AbortRuleId = &v return s }

func (s *ListPartsOutput) SetBucket(v string) *ListPartsOutput

SetBucket sets the Bucket field's value.



17610
17611
17612
17613
// File 'service/s3/api.go', line 17610

func (s *ListPartsOutput) SetBucket(v string) *ListPartsOutput { s.Bucket = &v return s }

func (s *ListPartsOutput) SetInitiator(v *Initiator) *ListPartsOutput

SetInitiator sets the Initiator field's value.



17623
17624
17625
17626
// File 'service/s3/api.go', line 17623

func (s *ListPartsOutput) SetInitiator(v *Initiator) *ListPartsOutput { s.Initiator = v return s }

func (s *ListPartsOutput) SetIsTruncated(v bool) *ListPartsOutput

SetIsTruncated sets the IsTruncated field's value.



17629
17630
17631
17632
// File 'service/s3/api.go', line 17629

func (s *ListPartsOutput) SetIsTruncated(v bool) *ListPartsOutput { s.IsTruncated = &v return s }

func (s *ListPartsOutput) SetKey(v string) *ListPartsOutput

SetKey sets the Key field's value.



17635
17636
17637
17638
// File 'service/s3/api.go', line 17635

func (s *ListPartsOutput) SetKey(v string) *ListPartsOutput { s.Key = &v return s }

func (s *ListPartsOutput) SetMaxParts(v int64) *ListPartsOutput

SetMaxParts sets the MaxParts field's value.



17641
17642
17643
17644
// File 'service/s3/api.go', line 17641

func (s *ListPartsOutput) SetMaxParts(v int64) *ListPartsOutput { s.MaxParts = &v return s }

func (s *ListPartsOutput) SetNextPartNumberMarker(v int64) *ListPartsOutput

SetNextPartNumberMarker sets the NextPartNumberMarker field's value.



17647
17648
17649
17650
// File 'service/s3/api.go', line 17647

func (s *ListPartsOutput) SetNextPartNumberMarker(v int64) *ListPartsOutput { s.NextPartNumberMarker = &v return s }

func (s *ListPartsOutput) SetOwner(v *Owner) *ListPartsOutput

SetOwner sets the Owner field's value.



17653
17654
17655
17656
// File 'service/s3/api.go', line 17653

func (s *ListPartsOutput) SetOwner(v *Owner) *ListPartsOutput { s.Owner = v return s }

func (s *ListPartsOutput) SetPartNumberMarker(v int64) *ListPartsOutput

SetPartNumberMarker sets the PartNumberMarker field's value.



17659
17660
17661
17662
// File 'service/s3/api.go', line 17659

func (s *ListPartsOutput) SetPartNumberMarker(v int64) *ListPartsOutput { s.PartNumberMarker = &v return s }

func (s *ListPartsOutput) SetParts(v []*Part) *ListPartsOutput

SetParts sets the Parts field's value.



17665
17666
17667
17668
// File 'service/s3/api.go', line 17665

func (s *ListPartsOutput) SetParts(v []*Part) *ListPartsOutput { s.Parts = v return s }

func (s *ListPartsOutput) SetRequestCharged(v string) *ListPartsOutput

SetRequestCharged sets the RequestCharged field's value.



17671
17672
17673
17674
// File 'service/s3/api.go', line 17671

func (s *ListPartsOutput) SetRequestCharged(v string) *ListPartsOutput { s.RequestCharged = &v return s }

func (s *ListPartsOutput) SetStorageClass(v string) *ListPartsOutput

SetStorageClass sets the StorageClass field's value.



17677
17678
17679
17680
// File 'service/s3/api.go', line 17677

func (s *ListPartsOutput) SetStorageClass(v string) *ListPartsOutput { s.StorageClass = &v return s }

func (s *ListPartsOutput) SetUploadId(v string) *ListPartsOutput

SetUploadId sets the UploadId field's value.



17683
17684
17685
17686
// File 'service/s3/api.go', line 17683

func (s *ListPartsOutput) SetUploadId(v string) *ListPartsOutput { s.UploadId = &v return s }

func (s ListPartsOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



17584
17585
17586
// File 'service/s3/api.go', line 17584

func (s ListPartsOutput) String() string { return awsutil.Prettify(s) }