Struct: s3.AccessControlPolicy
Overview
Contains the elements that set the ACL permissions for an object per grantee.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Grants []*Grant
A list of grants.
-
Owner *Owner
Container for the bucket owner's display name and ID.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetGrants([]*Grant) *AccessControlPolicy
operation
SetGrants sets the Grants field's value.
-
SetOwner(*Owner) *AccessControlPolicy
operation
SetOwner sets the Owner 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
Grants []*Grant
`locationName:"AccessControlList" locationNameList:"Grant" type:"list"`
A list of grants.
Owner *Owner
`type:"structure"`
Container for the bucket owner's display name and ID.
_ struct{}
`type:"structure"`
Method Details
func (s AccessControlPolicy) 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”.
7273 7274 7275 |
// File 'service/s3/api.go', line 7273
|
func (s *AccessControlPolicy) SetGrants(v []*Grant) *AccessControlPolicy
SetGrants sets the Grants field's value.
7298 7299 7300 7301 |
// File 'service/s3/api.go', line 7298
|
func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy
SetOwner sets the Owner field's value.
7304 7305 7306 7307 |
// File 'service/s3/api.go', line 7304
|
func (s AccessControlPolicy) 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”.
7264 7265 7266 |
// File 'service/s3/api.go', line 7264
|
func (s *AccessControlPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 |
// File 'service/s3/api.go', line 7278
|