libZSservicesZSamazonka-ramZSamazonka-ram
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.RAM.Types.Principal

Description

 
Synopsis

Documentation

data Principal Source #

Describes a principal for use with Resource Access Manager.

See: newPrincipal smart constructor.

Constructors

Principal' 

Fields

Instances

Instances details
Eq Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Read Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Show Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Generic Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Associated Types

type Rep Principal :: Type -> Type #

NFData Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Methods

rnf :: Principal -> () #

Hashable Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

FromJSON Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

type Rep Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

type Rep Principal = D1 ('MetaData "Principal" "Amazonka.RAM.Types.Principal" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "Principal'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "resourceShareArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "external") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") '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:creationTime:Principal', principal_creationTime - The time when the principal was associated with the resource share.

$sel:resourceShareArn:Principal', principal_resourceShareArn - The Amazon Resource Name (ARN) of the resource share.

$sel:lastUpdatedTime:Principal', principal_lastUpdatedTime - The time when the association was last updated.

$sel:external:Principal', principal_external - Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

$sel:id:Principal', principal_id - The ID of the principal.

principal_creationTime :: Lens' Principal (Maybe UTCTime) Source #

The time when the principal was associated with the resource share.

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

The Amazon Resource Name (ARN) of the resource share.

principal_lastUpdatedTime :: Lens' Principal (Maybe UTCTime) Source #

The time when the association was last updated.

principal_external :: Lens' Principal (Maybe Bool) Source #

Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

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

The ID of the principal.