amazonka-ram-2.0: Amazon Resource Access Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Show Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

NFData Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Methods

rnf :: Principal -> () #

Eq Principal Source # 
Instance details

Defined in Amazonka.RAM.Types.Principal

Hashable 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" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "Principal'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") '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)) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "resourceShareArn") '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 date and time when the principal was associated with the resource share.

$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.

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

$sel:resourceShareArn:Principal', principal_resourceShareArn - The Amazon Resoure Name (ARN) of a resource share the principal is associated with.

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

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

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.

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

The date and time when the association was last updated.

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

The Amazon Resoure Name (ARN) of a resource share the principal is associated with.