libZSservicesZSamazonka-quicksightZSamazonka-quicksight
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.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
Eq DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Read DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Show DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Generic DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Associated Types

type Rep DeleteTheme :: Type -> Type #

NFData DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Methods

rnf :: DeleteTheme -> () #

Hashable DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

AWSRequest DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Associated Types

type AWSResponse DeleteTheme #

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

type Rep DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

type Rep DeleteTheme = D1 ('MetaData "DeleteTheme" "Amazonka.QuickSight.DeleteTheme" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" '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))))
type AWSResponse DeleteTheme Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

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:

$sel:versionNumber: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.

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

$sel:themeId: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
Eq DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Read DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Show DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Generic DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Associated Types

type Rep DeleteThemeResponse :: Type -> Type #

NFData DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

Methods

rnf :: DeleteThemeResponse -> () #

type Rep DeleteThemeResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTheme

type Rep DeleteThemeResponse = D1 ('MetaData "DeleteThemeResponse" "Amazonka.QuickSight.DeleteTheme" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteThemeResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "themeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "arn") '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:

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

$sel:themeId:DeleteTheme', deleteThemeResponse_themeId - An ID for the theme.

$sel:arn:DeleteThemeResponse', deleteThemeResponse_arn - The Amazon Resource Name (ARN) of the resource.

$sel:status:DeleteThemeResponse', deleteThemeResponse_status - The HTTP status of the request.

Response Lenses

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

The Amazon Web Services request ID for this operation.

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

The Amazon Resource Name (ARN) of the resource.