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 |
Synopsis
Documentation
Information about a principal.
See: newPrincipal
smart constructor.
Principal' | |
|
Instances
Eq Principal Source # | |
Read Principal Source # | |
Show Principal Source # | |
Generic Principal Source # | |
NFData Principal Source # | |
Defined in Amazonka.ServiceCatalog.Types.Principal | |
Hashable Principal Source # | |
Defined in Amazonka.ServiceCatalog.Types.Principal | |
FromJSON Principal Source # | |
type Rep Principal Source # | |
Defined in Amazonka.ServiceCatalog.Types.Principal type Rep Principal = D1 ('MetaData "Principal" "Amazonka.ServiceCatalog.Types.Principal" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "Principal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principalType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrincipalType)) :*: S1 ('MetaSel ('Just "principalARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newPrincipal :: Principal Source #
Create a value of Principal
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:principalType:Principal'
, principal_principalType
- The principal type. The supported value is IAM
.
$sel:principalARN:Principal'
, principal_principalARN
- The ARN of the principal (IAM user, role, or group).
principal_principalType :: Lens' Principal (Maybe PrincipalType) Source #
The principal type. The supported value is IAM
.