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 |
Returns contact list metadata. It does not return any information about the contacts present in the list.
Synopsis
- data GetContactList = GetContactList' {}
- newGetContactList :: Text -> GetContactList
- getContactList_contactListName :: Lens' GetContactList Text
- data GetContactListResponse = GetContactListResponse' {
- contactListName :: Maybe Text
- createdTimestamp :: Maybe POSIX
- description :: Maybe Text
- lastUpdatedTimestamp :: Maybe POSIX
- tags :: Maybe [Tag]
- topics :: Maybe [Topic]
- httpStatus :: Int
- newGetContactListResponse :: Int -> GetContactListResponse
- getContactListResponse_contactListName :: Lens' GetContactListResponse (Maybe Text)
- getContactListResponse_createdTimestamp :: Lens' GetContactListResponse (Maybe UTCTime)
- getContactListResponse_description :: Lens' GetContactListResponse (Maybe Text)
- getContactListResponse_lastUpdatedTimestamp :: Lens' GetContactListResponse (Maybe UTCTime)
- getContactListResponse_tags :: Lens' GetContactListResponse (Maybe [Tag])
- getContactListResponse_topics :: Lens' GetContactListResponse (Maybe [Topic])
- getContactListResponse_httpStatus :: Lens' GetContactListResponse Int
Creating a Request
data GetContactList Source #
See: newGetContactList
smart constructor.
GetContactList' | |
|
Instances
Create a value of GetContactList
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:
GetContactList
, getContactList_contactListName
- The name of the contact list.
Request Lenses
getContactList_contactListName :: Lens' GetContactList Text Source #
The name of the contact list.
Destructuring the Response
data GetContactListResponse Source #
See: newGetContactListResponse
smart constructor.
GetContactListResponse' | |
|
Instances
newGetContactListResponse Source #
Create a value of GetContactListResponse
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:
GetContactList
, getContactListResponse_contactListName
- The name of the contact list.
GetContactListResponse
, getContactListResponse_createdTimestamp
- A timestamp noting when the contact list was created.
GetContactListResponse
, getContactListResponse_description
- A description of what the contact list is about.
GetContactListResponse
, getContactListResponse_lastUpdatedTimestamp
- A timestamp noting the last time the contact list was updated.
$sel:tags:GetContactListResponse'
, getContactListResponse_tags
- The tags associated with a contact list.
$sel:topics:GetContactListResponse'
, getContactListResponse_topics
- An interest group, theme, or label within a list. A contact list can
have multiple topics.
$sel:httpStatus:GetContactListResponse'
, getContactListResponse_httpStatus
- The response's http status code.
Response Lenses
getContactListResponse_contactListName :: Lens' GetContactListResponse (Maybe Text) Source #
The name of the contact list.
getContactListResponse_createdTimestamp :: Lens' GetContactListResponse (Maybe UTCTime) Source #
A timestamp noting when the contact list was created.
getContactListResponse_description :: Lens' GetContactListResponse (Maybe Text) Source #
A description of what the contact list is about.
getContactListResponse_lastUpdatedTimestamp :: Lens' GetContactListResponse (Maybe UTCTime) Source #
A timestamp noting the last time the contact list was updated.
getContactListResponse_tags :: Lens' GetContactListResponse (Maybe [Tag]) Source #
The tags associated with a contact list.
getContactListResponse_topics :: Lens' GetContactListResponse (Maybe [Topic]) Source #
An interest group, theme, or label within a list. A contact list can have multiple topics.
getContactListResponse_httpStatus :: Lens' GetContactListResponse Int Source #
The response's http status code.