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 AccessControlPolicy Source #
Contains the elements that set the ACL permissions for an object per grantee.
See: newAccessControlPolicy
smart constructor.
Instances
newAccessControlPolicy :: AccessControlPolicy Source #
Create a value of AccessControlPolicy
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:grants:AccessControlPolicy'
, accessControlPolicy_grants
- A list of grants.
$sel:owner:AccessControlPolicy'
, accessControlPolicy_owner
- Container for the bucket owner's display name and ID.
accessControlPolicy_grants :: Lens' AccessControlPolicy (Maybe [Grant]) Source #
A list of grants.
accessControlPolicy_owner :: Lens' AccessControlPolicy (Maybe Owner) Source #
Container for the bucket owner's display name and ID.