libZSservicesZSamazonka-wisdomZSamazonka-wisdom
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.Wisdom.DeleteKnowledgeBase

Description

Deletes the knowledge base.

When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.

Synopsis

Creating a Request

data DeleteKnowledgeBase Source #

See: newDeleteKnowledgeBase smart constructor.

Constructors

DeleteKnowledgeBase' 

Fields

  • knowledgeBaseId :: Text

    The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.

Instances

Instances details
Eq DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Read DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Show DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Generic DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Associated Types

type Rep DeleteKnowledgeBase :: Type -> Type #

NFData DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Methods

rnf :: DeleteKnowledgeBase -> () #

Hashable DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

AWSRequest DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Associated Types

type AWSResponse DeleteKnowledgeBase #

ToHeaders DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

ToPath DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

ToQuery DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

type Rep DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

type Rep DeleteKnowledgeBase = D1 ('MetaData "DeleteKnowledgeBase" "Amazonka.Wisdom.DeleteKnowledgeBase" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "DeleteKnowledgeBase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "knowledgeBaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

newDeleteKnowledgeBase Source #

Create a value of DeleteKnowledgeBase 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:knowledgeBaseId:DeleteKnowledgeBase', deleteKnowledgeBase_knowledgeBaseId - The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request Lenses

deleteKnowledgeBase_knowledgeBaseId :: Lens' DeleteKnowledgeBase Text Source #

The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.

Destructuring the Response

data DeleteKnowledgeBaseResponse Source #

See: newDeleteKnowledgeBaseResponse smart constructor.

Constructors

DeleteKnowledgeBaseResponse' 

Fields

Instances

Instances details
Eq DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Read DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Show DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Generic DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Associated Types

type Rep DeleteKnowledgeBaseResponse :: Type -> Type #

NFData DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

type Rep DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

type Rep DeleteKnowledgeBaseResponse = D1 ('MetaData "DeleteKnowledgeBaseResponse" "Amazonka.Wisdom.DeleteKnowledgeBase" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "DeleteKnowledgeBaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteKnowledgeBaseResponse Source #

Create a value of DeleteKnowledgeBaseResponse 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:httpStatus:DeleteKnowledgeBaseResponse', deleteKnowledgeBaseResponse_httpStatus - The response's http status code.

Response Lenses