libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.SetUICustomization

Description

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

Creating a Request

data SetUICustomization Source #

See: newSetUICustomization smart constructor.

Constructors

SetUICustomization' 

Fields

Instances

Instances details
Eq SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Show SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Generic SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Associated Types

type Rep SetUICustomization :: Type -> Type #

NFData SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Methods

rnf :: SetUICustomization -> () #

Hashable SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

ToJSON SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

AWSRequest SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Associated Types

type AWSResponse 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

type Rep SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

type Rep SetUICustomization = D1 ('MetaData "SetUICustomization" "Amazonka.CognitoIdentityProvider.SetUICustomization" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "SetUICustomization'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "css") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "imageFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse SetUICustomization Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

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.

Constructors

SetUICustomizationResponse' 

Fields

Instances

Instances details
Eq SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Show SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Generic SetUICustomizationResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.SetUICustomization

Associated Types

type Rep SetUICustomizationResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" '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