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

Description

Deletes the content.

Synopsis

Creating a Request

data DeleteContent Source #

See: newDeleteContent smart constructor.

Constructors

DeleteContent' 

Fields

  • contentId :: Text

    The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • knowledgeBaseId :: Text

    The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Instances

Instances details
ToHeaders DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

ToPath DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

ToQuery DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

AWSRequest DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Associated Types

type AWSResponse DeleteContent #

Generic DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Associated Types

type Rep DeleteContent :: Type -> Type #

Read DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Show DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

NFData DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Methods

rnf :: DeleteContent -> () #

Eq DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Hashable DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

type AWSResponse DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

type Rep DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

type Rep DeleteContent = D1 ('MetaData "DeleteContent" "Amazonka.Wisdom.DeleteContent" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "DeleteContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "knowledgeBaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteContent Source #

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

DeleteContent, deleteContent_contentId - The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

DeleteContent, deleteContent_knowledgeBaseId - The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request Lenses

deleteContent_contentId :: Lens' DeleteContent Text Source #

The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

deleteContent_knowledgeBaseId :: Lens' DeleteContent Text Source #

The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Destructuring the Response

data DeleteContentResponse Source #

See: newDeleteContentResponse smart constructor.

Constructors

DeleteContentResponse' 

Fields

Instances

Instances details
Generic DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Associated Types

type Rep DeleteContentResponse :: Type -> Type #

Read DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Show DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

NFData DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Methods

rnf :: DeleteContentResponse -> () #

Eq DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

type Rep DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

type Rep DeleteContentResponse = D1 ('MetaData "DeleteContentResponse" "Amazonka.Wisdom.DeleteContent" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" 'False) (C1 ('MetaCons "DeleteContentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteContentResponse Source #

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

Response Lenses