Struct: s3.DeleteBucketCorsInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
Specifies the bucket whose cors configuration is being deleted.
-
ExpectedBucketOwner *string
Ignored by COS.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *DeleteBucketCorsInput
operation
SetBucket sets the Bucket field’s value.
-
SetExpectedBucketOwner(string) *DeleteBucketCorsInput
operation
SetExpectedBucketOwner sets the ExpectedBucketOwner 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"`
Specifies the bucket whose cors configuration is being deleted.
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
_ struct{}
`locationName:"DeleteBucketCorsRequest" type:"structure"`
Method Details
func (s DeleteBucketCorsInput) 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”.
10109 10110 10111 |
// File 'service/s3/api.go', line 10109
|
func (s *DeleteBucketCorsInput) SetBucket(v string) *DeleteBucketCorsInput
SetBucket sets the Bucket field’s value.
10130 10131 10132 10133 |
// File 'service/s3/api.go', line 10130
|
func (s *DeleteBucketCorsInput) SetExpectedBucketOwner(v string) *DeleteBucketCorsInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field’s value.
10143 10144 10145 10146 |
// File 'service/s3/api.go', line 10143
|
func (s DeleteBucketCorsInput) 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”.
10100 10101 10102 |
// File 'service/s3/api.go', line 10100
|
func (s *DeleteBucketCorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 |
// File 'service/s3/api.go', line 10114
|