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 |
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' {
- topics :: Maybe [Topic]
- contactListName :: Maybe Text
- createdTimestamp :: Maybe POSIX
- description :: Maybe Text
- tags :: Maybe [Tag]
- lastUpdatedTimestamp :: Maybe POSIX
- httpStatus :: Int
- newGetContactListResponse :: Int -> GetContactListResponse
- getContactListResponse_topics :: Lens' GetContactListResponse (Maybe [Topic])
- getContactListResponse_contactListName :: Lens' GetContactListResponse (Maybe Text)
- getContactListResponse_createdTimestamp :: Lens' GetContactListResponse (Maybe UTCTime)
- getContactListResponse_description :: Lens' GetContactListResponse (Maybe Text)
- getContactListResponse_tags :: Lens' GetContactListResponse (Maybe [Tag])
- getContactListResponse_lastUpdatedTimestamp :: Lens' GetContactListResponse (Maybe UTCTime)
- 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:
$sel:contactListName: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:
$sel:topics:GetContactListResponse'
, getContactListResponse_topics
- An interest group, theme, or label within a list. A contact list can
have multiple topics.
$sel:contactListName:GetContactList'
, getContactListResponse_contactListName
- The name of the contact list.
$sel:createdTimestamp:GetContactListResponse'
, getContactListResponse_createdTimestamp
- A timestamp noting when the contact list was created.
$sel:description:GetContactListResponse'
, getContactListResponse_description
- A description of what the contact list is about.
$sel:tags:GetContactListResponse'
, getContactListResponse_tags
- The tags associated with a contact list.
$sel:lastUpdatedTimestamp:GetContactListResponse'
, getContactListResponse_lastUpdatedTimestamp
- A timestamp noting the last time the contact list was updated.
$sel:httpStatus:GetContactListResponse'
, getContactListResponse_httpStatus
- The response's http status code.
Response Lenses
getContactListResponse_topics :: Lens' GetContactListResponse (Maybe [Topic]) Source #
An interest group, theme, or label within a list. A contact list can have multiple topics.
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_tags :: Lens' GetContactListResponse (Maybe [Tag]) Source #
The tags associated with a contact list.
getContactListResponse_lastUpdatedTimestamp :: Lens' GetContactListResponse (Maybe UTCTime) Source #
A timestamp noting the last time the contact list was updated.
getContactListResponse_httpStatus :: Lens' GetContactListResponse Int Source #
The response's http status code.