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 ResourcePermission Source #
Permission for the resource.
See: newResourcePermission
smart constructor.
ResourcePermission' | |
|
Instances
newResourcePermission Source #
:: Text | |
-> NonEmpty Text | |
-> ResourcePermission |
Create a value of ResourcePermission
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:principal:ResourcePermission'
, resourcePermission_principal
- The Amazon Resource Name (ARN) of the principal. This can be one of the
following:
- The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
- The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
- The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)
$sel:actions:ResourcePermission'
, resourcePermission_actions
- The IAM action to grant or revoke permissions on.
resourcePermission_principal :: Lens' ResourcePermission Text Source #
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
- The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)
- The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)
- The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)
resourcePermission_actions :: Lens' ResourcePermission (NonEmpty Text) Source #
The IAM action to grant or revoke permissions on.