libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog
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.ServiceCatalog.Types.Principal

Description

 
Synopsis

Documentation

data Principal Source #

Information about a principal.

See: newPrincipal smart constructor.

Constructors

Principal' 

Fields

Instances

Instances details
Eq Principal Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.Principal

Read Principal Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.Principal

Show Principal Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.Principal

Generic Principal Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.Principal

Associated Types

type Rep Principal :: Type -> Type #

NFData Principal Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.Principal

Methods

rnf :: Principal -> () #

Hashable Principal Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.Principal

FromJSON Principal Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.Principal

type Rep Principal Source # 
Instance details

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.

principal_principalARN :: Lens' Principal (Maybe Text) Source #

The ARN of the principal (IAM user, role, or group).