amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data SetUICustomization Source #

See: newSetUICustomization smart constructor.

Constructors

SetUICustomization' 

Fields

Instances

Instances details
ToJSON SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

ToHeaders SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

ToPath SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

ToQuery SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

AWSRequest SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Associated Types

type AWSResponse SetUICustomization #

Generic SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Associated Types

type Rep SetUICustomization :: Type -> Type #

Show SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

NFData SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Methods

rnf :: SetUICustomization -> () #

Eq SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Hashable SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

type AWSResponse SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

type Rep SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

type Rep SetUICustomization = D1 ('MetaData "SetUICustomization" "Amazonka.CognitoIdentityProvider.SetUICustomization" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "SetUICustomization'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "css") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "imageFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

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

Instances details
Generic SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Associated Types

type Rep SetUICustomizationResponse :: Type -> Type #

Show SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

NFData SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Eq SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

type Rep SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

type Rep SetUICustomizationResponse = D1 ('MetaData "SetUICustomizationResponse" "Amazonka.CognitoIdentityProvider.SetUICustomization" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "SetUICustomizationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "uICustomization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UICustomizationType)))

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