amazonka-amplifyuibuilder-2.0: Amazon Amplify UI Builder 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.AmplifyUiBuilder.CreateTheme

Description

Creates a theme to apply to the components in an Amplify app.

Synopsis

Creating a Request

data CreateTheme Source #

See: newCreateTheme smart constructor.

Constructors

CreateTheme' 

Fields

Instances

Instances details
ToJSON CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

ToHeaders CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Methods

toHeaders :: CreateTheme -> [Header] #

ToPath CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

ToQuery CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

AWSRequest CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Associated Types

type AWSResponse CreateTheme #

Generic CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Associated Types

type Rep CreateTheme :: Type -> Type #

Read CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Show CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

NFData CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Methods

rnf :: CreateTheme -> () #

Eq CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Hashable CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

type AWSResponse CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

type Rep CreateTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

type Rep CreateTheme = D1 ('MetaData "CreateTheme" "Amazonka.AmplifyUiBuilder.CreateTheme" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "CreateTheme'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "themeToCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CreateThemeData))))

newCreateTheme Source #

Create a value of CreateTheme 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:clientToken:CreateTheme', createTheme_clientToken - The unique client token.

CreateTheme, createTheme_appId - The unique ID of the Amplify app associated with the theme.

CreateTheme, createTheme_environmentName - The name of the backend environment that is a part of the Amplify app.

$sel:themeToCreate:CreateTheme', createTheme_themeToCreate - Represents the configuration of the theme to create.

Request Lenses

createTheme_appId :: Lens' CreateTheme Text Source #

The unique ID of the Amplify app associated with the theme.

createTheme_environmentName :: Lens' CreateTheme Text Source #

The name of the backend environment that is a part of the Amplify app.

createTheme_themeToCreate :: Lens' CreateTheme CreateThemeData Source #

Represents the configuration of the theme to create.

Destructuring the Response

data CreateThemeResponse Source #

See: newCreateThemeResponse smart constructor.

Constructors

CreateThemeResponse' 

Fields

Instances

Instances details
Generic CreateThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Associated Types

type Rep CreateThemeResponse :: Type -> Type #

Read CreateThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Show CreateThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

NFData CreateThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

Methods

rnf :: CreateThemeResponse -> () #

Eq CreateThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

type Rep CreateThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.CreateTheme

type Rep CreateThemeResponse = D1 ('MetaData "CreateThemeResponse" "Amazonka.AmplifyUiBuilder.CreateTheme" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "CreateThemeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Theme)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateThemeResponse Source #

Create a value of CreateThemeResponse 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:entity:CreateThemeResponse', createThemeResponse_entity - Describes the configuration of the new theme.

$sel:httpStatus:CreateThemeResponse', createThemeResponse_httpStatus - The response's http status code.

Response Lenses

createThemeResponse_entity :: Lens' CreateThemeResponse (Maybe Theme) Source #

Describes the configuration of the new theme.