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

Description

Deletes a theme.

Synopsis

Creating a Request

data DeleteTheme Source #

See: newDeleteTheme smart constructor.

Constructors

DeleteTheme' 

Fields

  • versionNumber :: Maybe Natural

    The version of the theme that you want to delete.

    Note: If you don't provide a version number, you're using this call to DeleteTheme to delete all versions of the theme.

  • awsAccountId :: Text

    The ID of the Amazon Web Services account that contains the theme that you're deleting.

  • themeId :: Text

    An ID for the theme that you want to delete.

Instances

Instances details
ToHeaders DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Methods

toHeaders :: DeleteTheme -> [Header] #

ToPath DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

ToQuery DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

AWSRequest DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Associated Types

type AWSResponse DeleteTheme #

Generic DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Associated Types

type Rep DeleteTheme :: Type -> Type #

Read DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Show DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

NFData DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Methods

rnf :: DeleteTheme -> () #

Eq DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Hashable DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

type AWSResponse DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

type Rep DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

type Rep DeleteTheme = D1 ('MetaData "DeleteTheme" "Amazonka.QuickSight.DeleteTheme" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "DeleteTheme'" 'PrefixI 'True) (S1 ('MetaSel ('Just "versionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "themeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteTheme Source #

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

DeleteTheme, deleteTheme_versionNumber - The version of the theme that you want to delete.

Note: If you don't provide a version number, you're using this call to DeleteTheme to delete all versions of the theme.

DeleteTheme, deleteTheme_awsAccountId - The ID of the Amazon Web Services account that contains the theme that you're deleting.

DeleteTheme, deleteTheme_themeId - An ID for the theme that you want to delete.

Request Lenses

deleteTheme_versionNumber :: Lens' DeleteTheme (Maybe Natural) Source #

The version of the theme that you want to delete.

Note: If you don't provide a version number, you're using this call to DeleteTheme to delete all versions of the theme.

deleteTheme_awsAccountId :: Lens' DeleteTheme Text Source #

The ID of the Amazon Web Services account that contains the theme that you're deleting.

deleteTheme_themeId :: Lens' DeleteTheme Text Source #

An ID for the theme that you want to delete.

Destructuring the Response

data DeleteThemeResponse Source #

See: newDeleteThemeResponse smart constructor.

Constructors

DeleteThemeResponse' 

Fields

Instances

Instances details
Generic DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Associated Types

type Rep DeleteThemeResponse :: Type -> Type #

Read DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Show DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

NFData DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Methods

rnf :: DeleteThemeResponse -> () #

Eq DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

type Rep DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

type Rep DeleteThemeResponse = D1 ('MetaData "DeleteThemeResponse" "Amazonka.QuickSight.DeleteTheme" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "DeleteThemeResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "themeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteThemeResponse Source #

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

DeleteThemeResponse, deleteThemeResponse_arn - The Amazon Resource Name (ARN) of the resource.

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

DeleteTheme, deleteThemeResponse_themeId - An ID for the theme.

DeleteThemeResponse, deleteThemeResponse_status - The HTTP status of the request.

Response Lenses

deleteThemeResponse_arn :: Lens' DeleteThemeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource.

deleteThemeResponse_requestId :: Lens' DeleteThemeResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.