Struct: s3.GetBucketCorsInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
The bucket name for which to get the cors configuration.
-
ExpectedBucketOwner *string
Ignored by COS.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *GetBucketCorsInput
operation
SetBucket sets the Bucket field's value.
-
SetExpectedBucketOwner(string) *GetBucketCorsInput
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"`
The bucket name for which to get the cors configuration.
To use this API operation against an access point, provide the alias of the access point in place of the bucket name.
To use this API operation against an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information about InvalidAccessPointAliasError, see List of Error Codes (docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList).
Bucket is a required field
ExpectedBucketOwner *string
`location:"header" locationName:"x-amz-expected-bucket-owner" type:"string"`
Ignored by COS.
_ struct{}
`locationName:"GetBucketCorsRequest" type:"structure"`
Method Details
func (s GetBucketCorsInput) 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”.
12079 12080 12081 |
// File 'service/s3/api.go', line 12079
|
func (s *GetBucketCorsInput) SetBucket(v string) *GetBucketCorsInput
SetBucket sets the Bucket field's value.
12100 12101 12102 12103 |
// File 'service/s3/api.go', line 12100
|
func (s *GetBucketCorsInput) SetExpectedBucketOwner(v string) *GetBucketCorsInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field's value.
12113 12114 12115 12116 |
// File 'service/s3/api.go', line 12113
|
func (s GetBucketCorsInput) 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”.
12070 12071 12072 |
// File 'service/s3/api.go', line 12070
|
func (s *GetBucketCorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 |
// File 'service/s3/api.go', line 12084
|