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



18036
18037
18038
// File 'service/s3/api.go', line 18036

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

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

SetAbortDate sets the AbortDate field’s value.



18041
18042
18043
18044
// File 'service/s3/api.go', line 18041

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.



18047
18048
18049
18050
// File 'service/s3/api.go', line 18047

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.



18053
18054
18055
18056
// File 'service/s3/api.go', line 18053

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.



18066
18067
18068
18069
// File 'service/s3/api.go', line 18066

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.



18072
18073
18074
18075
// File 'service/s3/api.go', line 18072

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.



18078
18079
18080
18081
// File 'service/s3/api.go', line 18078

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.



18084
18085
18086
18087
// File 'service/s3/api.go', line 18084

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.



18090
18091
18092
18093
// File 'service/s3/api.go', line 18090

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.



18096
18097
18098
18099
// File 'service/s3/api.go', line 18096

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.



18102
18103
18104
18105
// File 'service/s3/api.go', line 18102

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.



18108
18109
18110
18111
// File 'service/s3/api.go', line 18108

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.



18114
18115
18116
18117
// File 'service/s3/api.go', line 18114

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.



18120
18121
18122
18123
// File 'service/s3/api.go', line 18120

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.



18126
18127
18128
18129
// File 'service/s3/api.go', line 18126

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



18027
18028
18029
// File 'service/s3/api.go', line 18027

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