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.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 the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Instances

Instances details
Eq DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Read DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Show DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Generic DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Associated Types

type Rep DeleteContent :: Type -> Type #

NFData DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Methods

rnf :: DeleteContent -> () #

Hashable DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

AWSRequest DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Associated Types

type AWSResponse DeleteContent #

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

type Rep DeleteContent Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

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

Defined in Amazonka.Wisdom.DeleteContent

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:

$sel:contentId:DeleteContent', deleteContent_contentId - The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

$sel:knowledgeBaseId:DeleteContent', deleteContent_knowledgeBaseId - The 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 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
Eq DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Read DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Show DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Generic DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Associated Types

type Rep DeleteContentResponse :: Type -> Type #

NFData DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

Methods

rnf :: DeleteContentResponse -> () #

type Rep DeleteContentResponse Source # 
Instance details

Defined in Amazonka.Wisdom.DeleteContent

type Rep DeleteContentResponse = D1 ('MetaData "DeleteContentResponse" "Amazonka.Wisdom.DeleteContent" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" '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