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

Description

Retrieves summary information about the content.

Synopsis

Creating a Request

data GetContentSummary Source #

See: newGetContentSummary smart constructor.

Constructors

GetContentSummary' 

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

Defined in Amazonka.Wisdom.GetContentSummary

Read GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Show GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Generic GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Associated Types

type Rep GetContentSummary :: Type -> Type #

NFData GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Methods

rnf :: GetContentSummary -> () #

Hashable GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

AWSRequest GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Associated Types

type AWSResponse GetContentSummary #

ToHeaders GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

ToPath GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

ToQuery GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

type Rep GetContentSummary Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

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

Defined in Amazonka.Wisdom.GetContentSummary

newGetContentSummary Source #

Create a value of GetContentSummary 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:GetContentSummary', getContentSummary_contentId - The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

$sel:knowledgeBaseId:GetContentSummary', getContentSummary_knowledgeBaseId - The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

Request Lenses

getContentSummary_contentId :: Lens' GetContentSummary Text Source #

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

getContentSummary_knowledgeBaseId :: Lens' GetContentSummary 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 GetContentSummaryResponse Source #

See: newGetContentSummaryResponse smart constructor.

Constructors

GetContentSummaryResponse' 

Fields

Instances

Instances details
Eq GetContentSummaryResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Read GetContentSummaryResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Show GetContentSummaryResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Generic GetContentSummaryResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

Associated Types

type Rep GetContentSummaryResponse :: Type -> Type #

NFData GetContentSummaryResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

type Rep GetContentSummaryResponse Source # 
Instance details

Defined in Amazonka.Wisdom.GetContentSummary

type Rep GetContentSummaryResponse = D1 ('MetaData "GetContentSummaryResponse" "Amazonka.Wisdom.GetContentSummary" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "GetContentSummaryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contentSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentSummary)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetContentSummaryResponse Source #

Create a value of GetContentSummaryResponse 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:contentSummary:GetContentSummaryResponse', getContentSummaryResponse_contentSummary - The content summary.

$sel:httpStatus:GetContentSummaryResponse', getContentSummaryResponse_httpStatus - The response's http status code.

Response Lenses