Struct: s3.GetBucketAclInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Bucket *string
Specifies the S3 bucket whose ACL is being requested.
-
ExpectedBucketOwner *string
Ignored by COS.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetBucket(string) *GetBucketAclInput
operation
SetBucket sets the Bucket field’s value.
-
SetExpectedBucketOwner(string) *GetBucketAclInput
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 S3 bucket whose ACL is being requested.
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:"GetBucketAclRequest" type:"structure"`
Method Details
func (s GetBucketAclInput) 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”.
12116 12117 12118 |
// File 'service/s3/api.go', line 12116
|
func (s *GetBucketAclInput) SetBucket(v string) *GetBucketAclInput
SetBucket sets the Bucket field’s value.
12137 12138 12139 12140 |
// File 'service/s3/api.go', line 12137
|
func (s *GetBucketAclInput) SetExpectedBucketOwner(v string) *GetBucketAclInput
SetExpectedBucketOwner sets the ExpectedBucketOwner field’s value.
12150 12151 12152 12153 |
// File 'service/s3/api.go', line 12150
|
func (s GetBucketAclInput) 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”.
12107 12108 12109 |
// File 'service/s3/api.go', line 12107
|
func (s *GetBucketAclInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 |
// File 'service/s3/api.go', line 12121
|