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 |
Sets the 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 will be used for
every client that has no UI customization set previously. If you specify
UI customization settings for a particular client, it will no longer
fall back 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_clientId :: Lens' SetUICustomization (Maybe Text)
- setUICustomization_css :: 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.
Instances
newSetUICustomization Source #
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:
$sel:clientId:SetUICustomization'
, setUICustomization_clientId
- The client ID for the client app.
$sel:css:SetUICustomization'
, setUICustomization_css
- The CSS values in the UI customization.
$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.
$sel:userPoolId:SetUICustomization'
, setUICustomization_userPoolId
- The user pool ID for the user pool.
Request Lenses
setUICustomization_clientId :: Lens' SetUICustomization (Maybe Text) Source #
The client ID for the client app.
setUICustomization_css :: Lens' SetUICustomization (Maybe Text) Source #
The CSS values in the UI customization.
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.
SetUICustomizationResponse' | |
|
Instances
newSetUICustomizationResponse Source #
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.