Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data TargetGrant Source #
Container for granting information.
Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. For more information, see Permissions server access log delivery in the Amazon S3 User Guide.
See: newTargetGrant
smart constructor.
TargetGrant' | |
|
Instances
newTargetGrant :: TargetGrant Source #
Create a value of TargetGrant
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:grantee:TargetGrant'
, targetGrant_grantee
- Container for the person being granted permissions.
$sel:permission:TargetGrant'
, targetGrant_permission
- Logging permissions assigned to the grantee for the bucket.
targetGrant_grantee :: Lens' TargetGrant (Maybe Grantee) Source #
Container for the person being granted permissions.
targetGrant_permission :: Lens' TargetGrant (Maybe BucketLogsPermission) Source #
Logging permissions assigned to the grantee for the bucket.