| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoIdentityProvider.AddCustomAttributes
Description
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.
Constructors
| AddCustomAttributes' | |
Fields
| |
Instances
newAddCustomAttributes Source #
Arguments
| :: Text | |
| -> NonEmpty SchemaAttributeType | |
| -> AddCustomAttributes |
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:
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.
Constructors
| AddCustomAttributesResponse' | |
Fields
| |
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.