| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeCommit.Types.UserInfo
Description
Documentation
Information about the user who made a specified commit.
See: newUserInfo smart constructor.
Constructors
| UserInfo' | |
Instances
| FromJSON UserInfo Source # | |
| Generic UserInfo Source # | |
| Read UserInfo Source # | |
| Show UserInfo Source # | |
| NFData UserInfo Source # | |
Defined in Amazonka.CodeCommit.Types.UserInfo | |
| Eq UserInfo Source # | |
| Hashable UserInfo Source # | |
Defined in Amazonka.CodeCommit.Types.UserInfo | |
| type Rep UserInfo Source # | |
Defined in Amazonka.CodeCommit.Types.UserInfo type Rep UserInfo = D1 ('MetaData "UserInfo" "Amazonka.CodeCommit.Types.UserInfo" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "UserInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "email") '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:date:UserInfo', userInfo_date - The date when the specified commit was commited, in timestamp format
with GMT offset.
$sel:email:UserInfo', userInfo_email - The email address associated with the user who made the commit, if any.
$sel:name:UserInfo', userInfo_name - The name of the user who made the specified commit.
userInfo_date :: Lens' UserInfo (Maybe Text) Source #
The date when the specified commit was commited, in timestamp format with GMT offset.