Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- setUICustomization :: Text -> SetUICustomization
- data SetUICustomization
- suicClientId :: Lens' SetUICustomization (Maybe Text)
- suicCSS :: Lens' SetUICustomization (Maybe Text)
- suicImageFile :: Lens' SetUICustomization (Maybe ByteString)
- suicUserPoolId :: Lens' SetUICustomization Text
- setUICustomizationResponse :: Int -> UICustomizationType -> SetUICustomizationResponse
- data SetUICustomizationResponse
- suicrsResponseStatus :: Lens' SetUICustomizationResponse Int
- suicrsUICustomization :: Lens' SetUICustomizationResponse UICustomizationType
Creating a Request
Creates a value of SetUICustomization
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
suicClientId
- The client ID for the client app.suicCSS
- The CSS values in the UI customization.suicImageFile
- The uploaded logo image for the UI customization.-- Note: ThisLens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. ThisLens
accepts and returns only raw unencoded data.suicUserPoolId
- The user pool ID for the user pool.
data SetUICustomization Source #
See: setUICustomization
smart constructor.
Request Lenses
suicClientId :: Lens' SetUICustomization (Maybe Text) Source #
The client ID for the client app.
suicImageFile :: 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.
suicUserPoolId :: Lens' SetUICustomization Text Source #
The user pool ID for the user pool.
Destructuring the Response
setUICustomizationResponse Source #
Creates a value of SetUICustomizationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
suicrsResponseStatus
- -- | The response status code.suicrsUICustomization
- The UI customization information.
data SetUICustomizationResponse Source #
See: setUICustomizationResponse
smart constructor.
Response Lenses
suicrsResponseStatus :: Lens' SetUICustomizationResponse Int Source #
- - | The response status code.
suicrsUICustomization :: Lens' SetUICustomizationResponse UICustomizationType Source #
The UI customization information.