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.Types.ContentReference

Description

 
Synopsis

Documentation

data ContentReference Source #

Reference information about the content.

See: newContentReference smart constructor.

Constructors

ContentReference' 

Fields

Instances

Instances details
Eq ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

Read ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

Show ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

Generic ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

Associated Types

type Rep ContentReference :: Type -> Type #

NFData ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

Methods

rnf :: ContentReference -> () #

Hashable ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

FromJSON ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

type Rep ContentReference Source # 
Instance details

Defined in Amazonka.Wisdom.Types.ContentReference

type Rep ContentReference = D1 ('MetaData "ContentReference" "Amazonka.Wisdom.Types.ContentReference" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "ContentReference'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "contentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "knowledgeBaseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "knowledgeBaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newContentReference :: ContentReference Source #

Create a value of ContentReference 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:contentArn:ContentReference', contentReference_contentArn - The Amazon Resource Name (ARN) of the content.

$sel:contentId:ContentReference', contentReference_contentId - The identifier of the content.

$sel:knowledgeBaseArn:ContentReference', contentReference_knowledgeBaseArn - The Amazon Resource Name (ARN) of the knowledge base.

$sel:knowledgeBaseId:ContentReference', contentReference_knowledgeBaseId - The the identifier of the knowledge base.

contentReference_contentArn :: Lens' ContentReference (Maybe Text) Source #

The Amazon Resource Name (ARN) of the content.

contentReference_knowledgeBaseArn :: Lens' ContentReference (Maybe Text) Source #

The Amazon Resource Name (ARN) of the knowledge base.

contentReference_knowledgeBaseId :: Lens' ContentReference (Maybe Text) Source #

The the identifier of the knowledge base.