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 |
Adds additional user attributes to the user pool schema.
Synopsis
- data AddCustomAttributes = AddCustomAttributes' {}
- newAddCustomAttributes :: Text -> NonEmpty SchemaAttributeType -> AddCustomAttributes
- addCustomAttributes_userPoolId :: Lens' AddCustomAttributes Text
- addCustomAttributes_customAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType)
- data AddCustomAttributesResponse = AddCustomAttributesResponse' {
- httpStatus :: Int
- newAddCustomAttributesResponse :: Int -> AddCustomAttributesResponse
- addCustomAttributesResponse_httpStatus :: Lens' AddCustomAttributesResponse Int
Creating a Request
data AddCustomAttributes Source #
Represents the request to add custom attributes.
See: newAddCustomAttributes
smart constructor.
AddCustomAttributes' | |
|
Instances
newAddCustomAttributes Source #
Create a value of AddCustomAttributes
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:userPoolId:AddCustomAttributes'
, addCustomAttributes_userPoolId
- The user pool ID for the user pool where you want to add custom
attributes.
$sel:customAttributes:AddCustomAttributes'
, addCustomAttributes_customAttributes
- An array of custom attributes, such as Mutable and Name.
Request Lenses
addCustomAttributes_userPoolId :: Lens' AddCustomAttributes Text Source #
The user pool ID for the user pool where you want to add custom attributes.
addCustomAttributes_customAttributes :: Lens' AddCustomAttributes (NonEmpty SchemaAttributeType) Source #
An array of custom attributes, such as Mutable and Name.
Destructuring the Response
data AddCustomAttributesResponse Source #
Represents the response from the server for the request to add custom attributes.
See: newAddCustomAttributesResponse
smart constructor.
AddCustomAttributesResponse' | |
|
Instances
newAddCustomAttributesResponse Source #
Create a value of AddCustomAttributesResponse
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:AddCustomAttributesResponse'
, addCustomAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
addCustomAttributesResponse_httpStatus :: Lens' AddCustomAttributesResponse Int Source #
The response's http status code.