Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates an address book with the specified details.
- createAddressBook :: Text -> CreateAddressBook
- data CreateAddressBook
- cabClientRequestToken :: Lens' CreateAddressBook (Maybe Text)
- cabDescription :: Lens' CreateAddressBook (Maybe Text)
- cabName :: Lens' CreateAddressBook Text
- createAddressBookResponse :: Int -> CreateAddressBookResponse
- data CreateAddressBookResponse
- cabrsAddressBookARN :: Lens' CreateAddressBookResponse (Maybe Text)
- cabrsResponseStatus :: Lens' CreateAddressBookResponse Int
Creating a Request
Creates a value of CreateAddressBook
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cabClientRequestToken
- A unique, user-specified identifier for the request that ensures idempotency.cabDescription
- The description of the address book.cabName
- The name of the address book.
data CreateAddressBook Source #
See: createAddressBook
smart constructor.
Request Lenses
cabClientRequestToken :: Lens' CreateAddressBook (Maybe Text) Source #
A unique, user-specified identifier for the request that ensures idempotency.
cabDescription :: Lens' CreateAddressBook (Maybe Text) Source #
The description of the address book.
Destructuring the Response
createAddressBookResponse Source #
Creates a value of CreateAddressBookResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cabrsAddressBookARN
- The ARN of the newly created address book.cabrsResponseStatus
- -- | The response status code.
data CreateAddressBookResponse Source #
See: createAddressBookResponse
smart constructor.
Response Lenses
cabrsAddressBookARN :: Lens' CreateAddressBookResponse (Maybe Text) Source #
The ARN of the newly created address book.
cabrsResponseStatus :: Lens' CreateAddressBookResponse Int Source #
- - | The response status code.