amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 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.LexV2Models.Types.PathFormat

Description

 
Synopsis

Documentation

data PathFormat Source #

The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.

See: newPathFormat smart constructor.

Constructors

PathFormat' 

Fields

  • objectPrefixes :: Maybe (NonEmpty Text)

    A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.

Instances

Instances details
FromJSON PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

ToJSON PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

Generic PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

Associated Types

type Rep PathFormat :: Type -> Type #

Read PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

Show PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

NFData PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

Methods

rnf :: PathFormat -> () #

Eq PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

Hashable PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

type Rep PathFormat Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.PathFormat

type Rep PathFormat = D1 ('MetaData "PathFormat" "Amazonka.LexV2Models.Types.PathFormat" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "PathFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "objectPrefixes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))

newPathFormat :: PathFormat Source #

Create a value of PathFormat 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:objectPrefixes:PathFormat', pathFormat_objectPrefixes - A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.

pathFormat_objectPrefixes :: Lens' PathFormat (Maybe (NonEmpty Text)) Source #

A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.