libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.Types.UserData

Description

 
Synopsis

Documentation

data UserData Source #

Information related to a user.

See: newUserData smart constructor.

Constructors

UserData' 

Fields

Instances

Instances details
Eq UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

Read UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

Show UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

Generic UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

Associated Types

type Rep UserData :: Type -> Type #

Methods

from :: UserData -> Rep UserData x #

to :: Rep UserData x -> UserData #

NFData UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

Methods

rnf :: UserData -> () #

Hashable UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

Methods

hashWithSalt :: Int -> UserData -> Int #

hash :: UserData -> Int #

FromJSON UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

type Rep UserData Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.UserData

type Rep UserData = D1 ('MetaData "UserData" "Amazonka.AlexaBusiness.Types.UserData" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "UserData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enrollmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enrollmentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnrollmentStatus))))))

newUserData :: UserData Source #

Create a value of UserData 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:email:UserData', userData_email - The email of a user.

$sel:lastName:UserData', userData_lastName - The last name of a user.

$sel:enrollmentId:UserData', userData_enrollmentId - The enrollment ARN of a user.

$sel:userArn:UserData', userData_userArn - The ARN of a user.

$sel:firstName:UserData', userData_firstName - The first name of a user.

$sel:enrollmentStatus:UserData', userData_enrollmentStatus - The enrollment status of a user.

userData_email :: Lens' UserData (Maybe Text) Source #

The email of a user.

userData_lastName :: Lens' UserData (Maybe Text) Source #

The last name of a user.

userData_enrollmentId :: Lens' UserData (Maybe Text) Source #

The enrollment ARN of a user.

userData_firstName :: Lens' UserData (Maybe Text) Source #

The first name of a user.