libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.Types.ResourcePermission

Description

 
Synopsis

Documentation

data ResourcePermission Source #

Permission for the resource.

See: newResourcePermission smart constructor.

Constructors

ResourcePermission' 

Fields

  • principal :: Text

    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 IAMARN rather than a Amazon QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)
  • actions :: NonEmpty Text

    The IAMaction to grant or revoke permissions on.

Instances

Instances details
Eq ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

Read ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

Show ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

Generic ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

Associated Types

type Rep ResourcePermission :: Type -> Type #

NFData ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

Methods

rnf :: ResourcePermission -> () #

Hashable ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

ToJSON ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

FromJSON ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

type Rep ResourcePermission Source # 
Instance details

Defined in Amazonka.QuickSight.Types.ResourcePermission

type Rep ResourcePermission = D1 ('MetaData "ResourcePermission" "Amazonka.QuickSight.Types.ResourcePermission" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ResourcePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newResourcePermission Source #

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 IAMARN rather than a Amazon 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 IAMaction 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 IAMARN rather than a Amazon 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 IAMaction to grant or revoke permissions on.