| 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.SetUICustomization
Description
Sets the user interface (UI) customization information for a user pool's built-in app UI.
You can specify app UI customization settings for a single client (with
a specific clientId) or for all clients (by setting the clientId to
ALL). If you specify ALL, the default configuration is used for
every client that has no previously set UI customization. If you specify
UI customization settings for a particular client, it will no longer
return to the ALL configuration.
To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.
Synopsis
- data SetUICustomization = SetUICustomization' {}
- newSetUICustomization :: Text -> SetUICustomization
- setUICustomization_css :: Lens' SetUICustomization (Maybe Text)
- setUICustomization_clientId :: Lens' SetUICustomization (Maybe Text)
- setUICustomization_imageFile :: Lens' SetUICustomization (Maybe ByteString)
- setUICustomization_userPoolId :: Lens' SetUICustomization Text
- data SetUICustomizationResponse = SetUICustomizationResponse' {}
- newSetUICustomizationResponse :: Int -> UICustomizationType -> SetUICustomizationResponse
- setUICustomizationResponse_httpStatus :: Lens' SetUICustomizationResponse Int
- setUICustomizationResponse_uICustomization :: Lens' SetUICustomizationResponse UICustomizationType
Creating a Request
data SetUICustomization Source #
See: newSetUICustomization smart constructor.
Constructors
| SetUICustomization' | |
Instances
newSetUICustomization Source #
Arguments
| :: Text | |
| -> SetUICustomization |
Create a value of SetUICustomization 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:
SetUICustomization, setUICustomization_css - The CSS values in the UI customization.
SetUICustomization, setUICustomization_clientId - The client ID for the client app.
$sel:imageFile:SetUICustomization', setUICustomization_imageFile - The uploaded logo image for the UI customization.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
SetUICustomization, setUICustomization_userPoolId - The user pool ID for the user pool.
Request Lenses
setUICustomization_css :: Lens' SetUICustomization (Maybe Text) Source #
The CSS values in the UI customization.
setUICustomization_clientId :: Lens' SetUICustomization (Maybe Text) Source #
The client ID for the client app.
setUICustomization_imageFile :: Lens' SetUICustomization (Maybe ByteString) Source #
The uploaded logo image for the UI customization.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
setUICustomization_userPoolId :: Lens' SetUICustomization Text Source #
The user pool ID for the user pool.
Destructuring the Response
data SetUICustomizationResponse Source #
See: newSetUICustomizationResponse smart constructor.
Constructors
| SetUICustomizationResponse' | |
Fields
| |
Instances
newSetUICustomizationResponse Source #
Arguments
| :: Int | |
| -> UICustomizationType | |
| -> SetUICustomizationResponse |
Create a value of SetUICustomizationResponse 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:SetUICustomizationResponse', setUICustomizationResponse_httpStatus - The response's http status code.
$sel:uICustomization:SetUICustomizationResponse', setUICustomizationResponse_uICustomization - The UI customization information.
Response Lenses
setUICustomizationResponse_httpStatus :: Lens' SetUICustomizationResponse Int Source #
The response's http status code.
setUICustomizationResponse_uICustomization :: Lens' SetUICustomizationResponse UICustomizationType Source #
The UI customization information.