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 |
Creates a contact list.
Synopsis
- data CreateContactList = CreateContactList' {}
- newCreateContactList :: Text -> CreateContactList
- createContactList_topics :: Lens' CreateContactList (Maybe [Topic])
- createContactList_description :: Lens' CreateContactList (Maybe Text)
- createContactList_tags :: Lens' CreateContactList (Maybe [Tag])
- createContactList_contactListName :: Lens' CreateContactList Text
- data CreateContactListResponse = CreateContactListResponse' {
- httpStatus :: Int
- newCreateContactListResponse :: Int -> CreateContactListResponse
- createContactListResponse_httpStatus :: Lens' CreateContactListResponse Int
Creating a Request
data CreateContactList Source #
See: newCreateContactList
smart constructor.
Instances
Create a value of CreateContactList
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:CreateContactList'
, createContactList_topics
- An interest group, theme, or label within a list. A contact list can
have multiple topics.
$sel:description:CreateContactList'
, createContactList_description
- A description of what the contact list is about.
$sel:tags:CreateContactList'
, createContactList_tags
- The tags associated with a contact list.
$sel:contactListName:CreateContactList'
, createContactList_contactListName
- The name of the contact list.
Request Lenses
createContactList_topics :: Lens' CreateContactList (Maybe [Topic]) Source #
An interest group, theme, or label within a list. A contact list can have multiple topics.
createContactList_description :: Lens' CreateContactList (Maybe Text) Source #
A description of what the contact list is about.
createContactList_tags :: Lens' CreateContactList (Maybe [Tag]) Source #
The tags associated with a contact list.
createContactList_contactListName :: Lens' CreateContactList Text Source #
The name of the contact list.
Destructuring the Response
data CreateContactListResponse Source #
See: newCreateContactListResponse
smart constructor.
CreateContactListResponse' | |
|
Instances
newCreateContactListResponse Source #
Create a value of CreateContactListResponse
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:httpStatus:CreateContactListResponse'
, createContactListResponse_httpStatus
- The response's http status code.
Response Lenses
createContactListResponse_httpStatus :: Lens' CreateContactListResponse Int Source #
The response's http status code.