Struct: s3.TargetGrant
Overview
Container for granting information.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Grantee *Grantee
Container for the person being granted permissions.
-
Permission *string
Logging permissions assigned to the grantee for the bucket.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetGrantee(*Grantee) *TargetGrant
operation
SetGrantee sets the Grantee field's value.
-
SetPermission(string) *TargetGrant
operation
SetPermission sets the Permission 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
Grantee *Grantee
`type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"`
Container for the person being granted permissions.
Permission *string
`type:"string" enum:"BucketLogsPermission"`
Logging permissions assigned to the grantee for the bucket.
_ struct{}
`type:"structure"`
Method Details
func (s TargetGrant) 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”.
22191 22192 22193 |
// File 'service/s3/api.go', line 22191
|
func (s *TargetGrant) SetGrantee(v *Grantee) *TargetGrant
SetGrantee sets the Grantee field's value.
22211 22212 22213 22214 |
// File 'service/s3/api.go', line 22211
|
func (s *TargetGrant) SetPermission(v string) *TargetGrant
SetPermission sets the Permission field's value.
22217 22218 22219 22220 |
// File 'service/s3/api.go', line 22217
|
func (s TargetGrant) 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”.
22182 22183 22184 |
// File 'service/s3/api.go', line 22182
|
func (s *TargetGrant) Validate() error
Validate inspects the fields of the type to determine if they are valid.
22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 |
// File 'service/s3/api.go', line 22196
|