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”.



17763
17764
17765
// File 'service/s3/api.go', line 17763

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

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

SetAbortDate sets the AbortDate field's value.



17768
17769
17770
17771
// File 'service/s3/api.go', line 17768

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.



17774
17775
17776
17777
// File 'service/s3/api.go', line 17774

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.



17780
17781
17782
17783
// File 'service/s3/api.go', line 17780

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.



17793
17794
17795
17796
// File 'service/s3/api.go', line 17793

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.



17799
17800
17801
17802
// File 'service/s3/api.go', line 17799

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.



17805
17806
17807
17808
// File 'service/s3/api.go', line 17805

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.



17811
17812
17813
17814
// File 'service/s3/api.go', line 17811

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.



17817
17818
17819
17820
// File 'service/s3/api.go', line 17817

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.



17823
17824
17825
17826
// File 'service/s3/api.go', line 17823

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.



17829
17830
17831
17832
// File 'service/s3/api.go', line 17829

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.



17835
17836
17837
17838
// File 'service/s3/api.go', line 17835

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.



17841
17842
17843
17844
// File 'service/s3/api.go', line 17841

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.



17847
17848
17849
17850
// File 'service/s3/api.go', line 17847

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.



17853
17854
17855
17856
// File 'service/s3/api.go', line 17853

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”.



17754
17755
17756
// File 'service/s3/api.go', line 17754

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