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.GetTheme

Description

Returns an existing theme for an Amplify app.

Synopsis

Creating a Request

data GetTheme Source #

See: newGetTheme smart constructor.

Constructors

GetTheme' 

Fields

  • appId :: Text

    The unique ID of the Amplify app.

  • environmentName :: Text

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

  • id :: Text

    The unique ID for the theme.

Instances

Instances details
ToHeaders GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Methods

toHeaders :: GetTheme -> [Header] #

ToPath GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

ToQuery GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

AWSRequest GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Associated Types

type AWSResponse GetTheme #

Generic GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Associated Types

type Rep GetTheme :: Type -> Type #

Methods

from :: GetTheme -> Rep GetTheme x #

to :: Rep GetTheme x -> GetTheme #

Read GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Show GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

NFData GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Methods

rnf :: GetTheme -> () #

Eq GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Hashable GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Methods

hashWithSalt :: Int -> GetTheme -> Int #

hash :: GetTheme -> Int #

type AWSResponse GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

type Rep GetTheme Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

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

newGetTheme Source #

Create a value of GetTheme 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:

GetTheme, getTheme_appId - The unique ID of the Amplify app.

GetTheme, getTheme_environmentName - The name of the backend environment that is part of the Amplify app.

GetTheme, getTheme_id - The unique ID for the theme.

Request Lenses

getTheme_appId :: Lens' GetTheme Text Source #

The unique ID of the Amplify app.

getTheme_environmentName :: Lens' GetTheme Text Source #

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

getTheme_id :: Lens' GetTheme Text Source #

The unique ID for the theme.

Destructuring the Response

data GetThemeResponse Source #

See: newGetThemeResponse smart constructor.

Constructors

GetThemeResponse' 

Fields

Instances

Instances details
Generic GetThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Associated Types

type Rep GetThemeResponse :: Type -> Type #

Read GetThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Show GetThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

NFData GetThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

Methods

rnf :: GetThemeResponse -> () #

Eq GetThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

type Rep GetThemeResponse Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.GetTheme

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

newGetThemeResponse Source #

Create a value of GetThemeResponse 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:theme:GetThemeResponse', getThemeResponse_theme - Represents the configuration settings for the theme.

$sel:httpStatus:GetThemeResponse', getThemeResponse_httpStatus - The response's http status code.

Response Lenses

getThemeResponse_theme :: Lens' GetThemeResponse (Maybe Theme) Source #

Represents the configuration settings for the theme.

getThemeResponse_httpStatus :: Lens' GetThemeResponse Int Source #

The response's http status code.