| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LexV2Models.Types.GrammarSlotTypeSource
Description
Synopsis
- data GrammarSlotTypeSource = GrammarSlotTypeSource' {
- kmsKeyArn :: Maybe Text
- s3BucketName :: Text
- s3ObjectKey :: Text
- newGrammarSlotTypeSource :: Text -> Text -> GrammarSlotTypeSource
- grammarSlotTypeSource_kmsKeyArn :: Lens' GrammarSlotTypeSource (Maybe Text)
- grammarSlotTypeSource_s3BucketName :: Lens' GrammarSlotTypeSource Text
- grammarSlotTypeSource_s3ObjectKey :: Lens' GrammarSlotTypeSource Text
Documentation
data GrammarSlotTypeSource Source #
Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.
See: newGrammarSlotTypeSource smart constructor.
Constructors
| GrammarSlotTypeSource' | |
Fields
| |
Instances
newGrammarSlotTypeSource Source #
Arguments
| :: Text | |
| -> Text | |
| -> GrammarSlotTypeSource |
Create a value of GrammarSlotTypeSource 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:kmsKeyArn:GrammarSlotTypeSource', grammarSlotTypeSource_kmsKeyArn - The Amazon KMS key required to decrypt the contents of the grammar, if
any.
$sel:s3BucketName:GrammarSlotTypeSource', grammarSlotTypeSource_s3BucketName - The name of the S3 bucket that contains the grammar source.
$sel:s3ObjectKey:GrammarSlotTypeSource', grammarSlotTypeSource_s3ObjectKey - The path to the grammar in the S3 bucket.
grammarSlotTypeSource_kmsKeyArn :: Lens' GrammarSlotTypeSource (Maybe Text) Source #
The Amazon KMS key required to decrypt the contents of the grammar, if any.
grammarSlotTypeSource_s3BucketName :: Lens' GrammarSlotTypeSource Text Source #
The name of the S3 bucket that contains the grammar source.
grammarSlotTypeSource_s3ObjectKey :: Lens' GrammarSlotTypeSource Text Source #
The path to the grammar in the S3 bucket.