Struct: s3.PutBucketLifecycleConfigurationInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The name of the bucket for which to set the configuration.
-
ExpectedBucketOwner *string
Ignored by COS.
-
LifecycleConfiguration *LifecycleConfiguration
Container for lifecycle rules.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *PutBucketLifecycleConfigurationInput
operation
SetBucket sets the Bucket field's value.
-
SetExpectedBucketOwner(string) *PutBucketLifecycleConfigurationInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
-
SetLifecycleConfiguration(*LifecycleConfiguration) *PutBucketLifecycleConfigurationInput
operation
SetLifecycleConfiguration sets the LifecycleConfiguration field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Bucket *string
`location:"uri" locationName:"Bucket" type:"string" required:"true"`
The name of the bucket for which to set the configuration.
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
LifecycleConfiguration *LifecycleConfiguration
`locationName:"LifecycleConfiguration" type:"structure" xmlURI:"http://s3.amazonaws.com/doc/2006-03-01/"`
Container for lifecycle rules. You can add as many as 1000 rules.
For more information see, Managing your storage lifecycle (docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) in the Amazon S3 User Guide.
_ struct{}
`locationName:"PutBucketLifecycleConfigurationRequest" type:"structure" payload:"LifecycleConfiguration"`
Method Details
func (s PutBucketLifecycleConfigurationInput) 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”.
18874 18875 18876 |
// File 'service/s3/api.go', line 18874
|
func (s *PutBucketLifecycleConfigurationInput) SetBucket(v string) *PutBucketLifecycleConfigurationInput
SetBucket sets the Bucket field's value.
18900 18901 18902 18903 |
// File 'service/s3/api.go', line 18900
|
func (s *PutBucketLifecycleConfigurationInput) SetExpectedBucketOwner(v string) *PutBucketLifecycleConfigurationInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
18913 18914 18915 18916 |
// File 'service/s3/api.go', line 18913
|
func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *LifecycleConfiguration) *PutBucketLifecycleConfigurationInput
SetLifecycleConfiguration sets the LifecycleConfiguration field's value.
18919 18920 18921 18922 |
// File 'service/s3/api.go', line 18919
|
func (s PutBucketLifecycleConfigurationInput) 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”.
18865 18866 18867 |
// File 'service/s3/api.go', line 18865
|
func (s *PutBucketLifecycleConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 |
// File 'service/s3/api.go', line 18879
|