amazonka-wisdom-2.0: Amazon Connect Wisdom Service 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.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
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

AWSRequest DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Associated Types

type AWSResponse DeleteKnowledgeBase #

Generic DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Associated Types

type Rep DeleteKnowledgeBase :: Type -> Type #

Read DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Show DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

NFData DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Methods

rnf :: DeleteKnowledgeBase -> () #

Eq DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Hashable DeleteKnowledgeBase Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

type AWSResponse 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" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "DeleteKnowledgeBase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "knowledgeBaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Associated Types

type Rep DeleteKnowledgeBaseResponse :: Type -> Type #

Read DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Show DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

NFData DeleteKnowledgeBaseResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteKnowledgeBase

Eq 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" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" '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