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”.
7424 7425 7426 |
// File 'service/s3/api.go', line 7424
|
func (s *AccessControlPolicy) SetGrants(v []*Grant) *AccessControlPolicy
SetGrants sets the Grants field’s value.
7449 7450 7451 7452 |
// File 'service/s3/api.go', line 7449
|
func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy
SetOwner sets the Owner field’s value.
7455 7456 7457 7458 |
// File 'service/s3/api.go', line 7455
|
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”.
7415 7416 7417 |
// File 'service/s3/api.go', line 7415
|
func (s *AccessControlPolicy) Validate() error
Validate inspects the fields of the type to determine if they are valid.
7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 |
// File 'service/s3/api.go', line 7429
|