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

Description

Deletes a template.

Synopsis

Creating a Request

data DeleteTemplate Source #

See: newDeleteTemplate smart constructor.

Constructors

DeleteTemplate' 

Fields

  • versionNumber :: Maybe Natural

    Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.

  • awsAccountId :: Text

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

  • templateId :: Text

    An ID for the template you want to delete.

Instances

Instances details
Eq DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Read DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Show DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Generic DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Associated Types

type Rep DeleteTemplate :: Type -> Type #

NFData DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Methods

rnf :: DeleteTemplate -> () #

Hashable DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

AWSRequest DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Associated Types

type AWSResponse DeleteTemplate #

ToHeaders DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

ToPath DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

ToQuery DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

type Rep DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

type Rep DeleteTemplate = D1 ('MetaData "DeleteTemplate" "Amazonka.QuickSight.DeleteTemplate" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "versionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

newDeleteTemplate Source #

Create a value of DeleteTemplate 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:DeleteTemplate', deleteTemplate_versionNumber - Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.

$sel:awsAccountId:DeleteTemplate', deleteTemplate_awsAccountId - The ID of the Amazon Web Services account that contains the template that you're deleting.

$sel:templateId:DeleteTemplate', deleteTemplate_templateId - An ID for the template you want to delete.

Request Lenses

deleteTemplate_versionNumber :: Lens' DeleteTemplate (Maybe Natural) Source #

Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.

deleteTemplate_awsAccountId :: Lens' DeleteTemplate Text Source #

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

deleteTemplate_templateId :: Lens' DeleteTemplate Text Source #

An ID for the template you want to delete.

Destructuring the Response

data DeleteTemplateResponse Source #

See: newDeleteTemplateResponse smart constructor.

Constructors

DeleteTemplateResponse' 

Fields

Instances

Instances details
Eq DeleteTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Read DeleteTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Show DeleteTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Generic DeleteTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Associated Types

type Rep DeleteTemplateResponse :: Type -> Type #

NFData DeleteTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

Methods

rnf :: DeleteTemplateResponse -> () #

type Rep DeleteTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteTemplate

type Rep DeleteTemplateResponse = D1 ('MetaData "DeleteTemplateResponse" "Amazonka.QuickSight.DeleteTemplate" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteTemplateResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteTemplateResponse Source #

Create a value of DeleteTemplateResponse 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:DeleteTemplateResponse', deleteTemplateResponse_requestId - The Amazon Web Services request ID for this operation.

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

$sel:templateId:DeleteTemplate', deleteTemplateResponse_templateId - An ID for the template.

$sel:status:DeleteTemplateResponse', deleteTemplateResponse_status - The HTTP status of the request.

Response Lenses

deleteTemplateResponse_requestId :: Lens' DeleteTemplateResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

deleteTemplateResponse_arn :: Lens' DeleteTemplateResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource.