libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.CodeCommit.Types.UserInfo

Description

 
Synopsis

Documentation

data UserInfo Source #

Information about the user who made a specified commit.

See: newUserInfo smart constructor.

Constructors

UserInfo' 

Fields

  • email :: Maybe Text

    The email address associated with the user who made the commit, if any.

  • date :: Maybe Text

    The date when the specified commit was commited, in timestamp format with GMT offset.

  • name :: Maybe Text

    The name of the user who made the specified commit.

Instances

Instances details
Eq UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

Read UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

Show UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

Generic UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

Associated Types

type Rep UserInfo :: Type -> Type #

Methods

from :: UserInfo -> Rep UserInfo x #

to :: Rep UserInfo x -> UserInfo #

NFData UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

Methods

rnf :: UserInfo -> () #

Hashable UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

Methods

hashWithSalt :: Int -> UserInfo -> Int #

hash :: UserInfo -> Int #

FromJSON UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

type Rep UserInfo Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.UserInfo

type Rep UserInfo = D1 ('MetaData "UserInfo" "Amazonka.CodeCommit.Types.UserInfo" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "UserInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUserInfo :: UserInfo Source #

Create a value of UserInfo 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:UserInfo', userInfo_email - The email address associated with the user who made the commit, if any.

$sel:date:UserInfo', userInfo_date - The date when the specified commit was commited, in timestamp format with GMT offset.

$sel:name:UserInfo', userInfo_name - The name of the user who made the specified commit.

userInfo_email :: Lens' UserInfo (Maybe Text) Source #

The email address associated with the user who made the commit, if any.

userInfo_date :: Lens' UserInfo (Maybe Text) Source #

The date when the specified commit was commited, in timestamp format with GMT offset.

userInfo_name :: Lens' UserInfo (Maybe Text) Source #

The name of the user who made the specified commit.