| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.S3.Types.TargetGrant
Description
Documentation
data TargetGrant Source #
Container for granting information.
See: newTargetGrant smart constructor.
Constructors
| TargetGrant' | |
Fields
| |
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:permission:TargetGrant', targetGrant_permission - Logging permissions assigned to the grantee for the bucket.
$sel:grantee:TargetGrant', targetGrant_grantee - Container for the person being granted permissions.
targetGrant_permission :: Lens' TargetGrant (Maybe BucketLogsPermission) Source #
Logging permissions assigned to the grantee for the bucket.
targetGrant_grantee :: Lens' TargetGrant (Maybe Grantee) Source #
Container for the person being granted permissions.