Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Adds additional user attributes to the user pool schema.
- addCustomAttributes :: Text -> NonEmpty SchemaAttributeType -> AddCustomAttributes
- data AddCustomAttributes
- acaUserPoolId :: Lens' AddCustomAttributes Text
- acaCustomAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType)
- addCustomAttributesResponse :: Int -> AddCustomAttributesResponse
- data AddCustomAttributesResponse
- acarsResponseStatus :: Lens' AddCustomAttributesResponse Int
Creating a Request
Creates a value of AddCustomAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acaUserPoolId
- The user pool ID for the user pool where you want to add custom attributes.acaCustomAttributes
- An array of custom attributes, such as Mutable and Name.
data AddCustomAttributes Source #
Represents the request to add custom attributes.
See: addCustomAttributes
smart constructor.
Request Lenses
acaUserPoolId :: Lens' AddCustomAttributes Text Source #
The user pool ID for the user pool where you want to add custom attributes.
acaCustomAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType) Source #
An array of custom attributes, such as Mutable and Name.
Destructuring the Response
addCustomAttributesResponse Source #
Creates a value of AddCustomAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acarsResponseStatus
- -- | The response status code.
data AddCustomAttributesResponse Source #
Represents the response from the server for the request to add custom attributes.
See: addCustomAttributesResponse
smart constructor.
Response Lenses
acarsResponseStatus :: Lens' AddCustomAttributesResponse Int Source #
- - | The response status code.