amazonka-quicksight-2.0: Amazon QuickSight 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.QuickSight.CreateTheme

Description

Creates a theme.

A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.

Synopsis

Creating a Request

data CreateTheme Source #

See: newCreateTheme smart constructor.

Constructors

CreateTheme' 

Fields

  • permissions :: Maybe (NonEmpty ResourcePermission)

    A valid grouping of resource permissions to apply to the new theme.

  • tags :: Maybe (NonEmpty Tag)

    A map of the key-value pairs for the resource tag or tags that you want to add to the resource.

  • versionDescription :: Maybe Text

    A description of the first version of the theme that you're creating. Every time UpdateTheme is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription field.

  • awsAccountId :: Text

    The ID of the Amazon Web Services account where you want to store the new theme.

  • themeId :: Text

    An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.

  • name :: Text

    A display name for the theme.

  • baseThemeId :: Text

    The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within an analysis.

  • configuration :: ThemeConfiguration

    The theme configuration, which contains the theme display properties.

Instances

Instances details
ToJSON CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

ToHeaders CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Methods

toHeaders :: CreateTheme -> [Header] #

ToPath CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

ToQuery CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

AWSRequest CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Associated Types

type AWSResponse CreateTheme #

Generic CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Associated Types

type Rep CreateTheme :: Type -> Type #

Read CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Show CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

NFData CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Methods

rnf :: CreateTheme -> () #

Eq CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Hashable CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

type AWSResponse CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

type Rep CreateTheme Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

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:

CreateTheme, createTheme_permissions - A valid grouping of resource permissions to apply to the new theme.

CreateTheme, createTheme_tags - A map of the key-value pairs for the resource tag or tags that you want to add to the resource.

$sel:versionDescription:CreateTheme', createTheme_versionDescription - A description of the first version of the theme that you're creating. Every time UpdateTheme is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription field.

CreateTheme, createTheme_awsAccountId - The ID of the Amazon Web Services account where you want to store the new theme.

CreateTheme, createTheme_themeId - An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.

CreateTheme, createTheme_name - A display name for the theme.

CreateTheme, createTheme_baseThemeId - The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within an analysis.

CreateTheme, createTheme_configuration - The theme configuration, which contains the theme display properties.

Request Lenses

createTheme_permissions :: Lens' CreateTheme (Maybe (NonEmpty ResourcePermission)) Source #

A valid grouping of resource permissions to apply to the new theme.

createTheme_tags :: Lens' CreateTheme (Maybe (NonEmpty Tag)) Source #

A map of the key-value pairs for the resource tag or tags that you want to add to the resource.

createTheme_versionDescription :: Lens' CreateTheme (Maybe Text) Source #

A description of the first version of the theme that you're creating. Every time UpdateTheme is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription field.

createTheme_awsAccountId :: Lens' CreateTheme Text Source #

The ID of the Amazon Web Services account where you want to store the new theme.

createTheme_themeId :: Lens' CreateTheme Text Source #

An ID for the theme that you want to create. The theme ID is unique per Amazon Web Services Region in each Amazon Web Services account.

createTheme_name :: Lens' CreateTheme Text Source #

A display name for the theme.

createTheme_baseThemeId :: Lens' CreateTheme Text Source #

The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within an analysis.

createTheme_configuration :: Lens' CreateTheme ThemeConfiguration Source #

The theme configuration, which contains the theme display properties.

Destructuring the Response

data CreateThemeResponse Source #

See: newCreateThemeResponse smart constructor.

Constructors

CreateThemeResponse' 

Fields

Instances

Instances details
Generic CreateThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Associated Types

type Rep CreateThemeResponse :: Type -> Type #

Read CreateThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Show CreateThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

NFData CreateThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

Methods

rnf :: CreateThemeResponse -> () #

Eq CreateThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

type Rep CreateThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateTheme

type Rep CreateThemeResponse = D1 ('MetaData "CreateThemeResponse" "Amazonka.QuickSight.CreateTheme" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "CreateThemeResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "themeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "versionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") '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:

CreateThemeResponse, createThemeResponse_arn - The Amazon Resource Name (ARN) for the theme.

CreateThemeResponse, createThemeResponse_creationStatus - The theme creation status.

$sel:requestId:CreateThemeResponse', createThemeResponse_requestId - The Amazon Web Services request ID for this operation.

CreateTheme, createThemeResponse_themeId - The ID of the theme.

$sel:versionArn:CreateThemeResponse', createThemeResponse_versionArn - The Amazon Resource Name (ARN) for the new theme.

CreateThemeResponse, createThemeResponse_status - The HTTP status of the request.

Response Lenses

createThemeResponse_arn :: Lens' CreateThemeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the theme.

createThemeResponse_requestId :: Lens' CreateThemeResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

createThemeResponse_versionArn :: Lens' CreateThemeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the new theme.