Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Information about the user who made a specified commit.
See: newUserInfo
smart constructor.
Instances
Eq UserInfo Source # | |
Read UserInfo Source # | |
Show UserInfo Source # | |
Generic UserInfo Source # | |
NFData UserInfo Source # | |
Defined in Amazonka.CodeCommit.Types.UserInfo | |
Hashable UserInfo Source # | |
Defined in Amazonka.CodeCommit.Types.UserInfo | |
FromJSON UserInfo Source # | |
type Rep UserInfo Source # | |
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.