amazonka-kendra-2.0: Amazon KendraFrontendService 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.Kendra.Types.S3Path

Description

 
Synopsis

Documentation

data S3Path Source #

Information required to find a specific file in an Amazon S3 bucket.

See: newS3Path smart constructor.

Constructors

S3Path' 

Fields

  • bucket :: Text

    The name of the S3 bucket that contains the file.

  • key :: Text

    The name of the file.

Instances

Instances details
FromJSON S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

ToJSON S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

Generic S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

Associated Types

type Rep S3Path :: Type -> Type #

Methods

from :: S3Path -> Rep S3Path x #

to :: Rep S3Path x -> S3Path #

Read S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

Show S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

NFData S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

Methods

rnf :: S3Path -> () #

Eq S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

Methods

(==) :: S3Path -> S3Path -> Bool #

(/=) :: S3Path -> S3Path -> Bool #

Hashable S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

Methods

hashWithSalt :: Int -> S3Path -> Int #

hash :: S3Path -> Int #

type Rep S3Path Source # 
Instance details

Defined in Amazonka.Kendra.Types.S3Path

type Rep S3Path = D1 ('MetaData "S3Path" "Amazonka.Kendra.Types.S3Path" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "S3Path'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3Path Source #

Create a value of S3Path 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:bucket:S3Path', s3Path_bucket - The name of the S3 bucket that contains the file.

$sel:key:S3Path', s3Path_key - The name of the file.

s3Path_bucket :: Lens' S3Path Text Source #

The name of the S3 bucket that contains the file.

s3Path_key :: Lens' S3Path Text Source #

The name of the file.