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 |
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.