| 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.DescribeImport
Description
Gets information about a specific import.
Synopsis
- data DescribeImport = DescribeImport' {}
- newDescribeImport :: Text -> DescribeImport
- describeImport_importId :: Lens' DescribeImport Text
- data DescribeImportResponse = DescribeImportResponse' {
- creationDateTime :: Maybe POSIX
- failureReasons :: Maybe [Text]
- importId :: Maybe Text
- importStatus :: Maybe ImportStatus
- importedResourceId :: Maybe Text
- importedResourceName :: Maybe Text
- lastUpdatedDateTime :: Maybe POSIX
- mergeStrategy :: Maybe MergeStrategy
- resourceSpecification :: Maybe ImportResourceSpecification
- httpStatus :: Int
- newDescribeImportResponse :: Int -> DescribeImportResponse
- describeImportResponse_creationDateTime :: Lens' DescribeImportResponse (Maybe UTCTime)
- describeImportResponse_failureReasons :: Lens' DescribeImportResponse (Maybe [Text])
- describeImportResponse_importId :: Lens' DescribeImportResponse (Maybe Text)
- describeImportResponse_importStatus :: Lens' DescribeImportResponse (Maybe ImportStatus)
- describeImportResponse_importedResourceId :: Lens' DescribeImportResponse (Maybe Text)
- describeImportResponse_importedResourceName :: Lens' DescribeImportResponse (Maybe Text)
- describeImportResponse_lastUpdatedDateTime :: Lens' DescribeImportResponse (Maybe UTCTime)
- describeImportResponse_mergeStrategy :: Lens' DescribeImportResponse (Maybe MergeStrategy)
- describeImportResponse_resourceSpecification :: Lens' DescribeImportResponse (Maybe ImportResourceSpecification)
- describeImportResponse_httpStatus :: Lens' DescribeImportResponse Int
Creating a Request
data DescribeImport Source #
See: newDescribeImport smart constructor.
Constructors
| DescribeImport' | |
Instances
Arguments
| :: Text | |
| -> DescribeImport |
Create a value of DescribeImport 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:
DescribeImport, describeImport_importId - The unique identifier of the import to describe.
Request Lenses
describeImport_importId :: Lens' DescribeImport Text Source #
The unique identifier of the import to describe.
Destructuring the Response
data DescribeImportResponse Source #
See: newDescribeImportResponse smart constructor.
Constructors
| DescribeImportResponse' | |
Fields
| |
Instances
newDescribeImportResponse Source #
Create a value of DescribeImportResponse 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:
DescribeImportResponse, describeImportResponse_creationDateTime - The date and time that the import was created.
$sel:failureReasons:DescribeImportResponse', describeImportResponse_failureReasons - If the importStatus field is Failed, this provides one or more
reasons for the failure.
DescribeImport, describeImportResponse_importId - The unique identifier of the described import.
DescribeImportResponse, describeImportResponse_importStatus - The status of the import process. When the status is Completed the
resource is imported and ready for use.
DescribeImportResponse, describeImportResponse_importedResourceId - The unique identifier that Amazon Lex assigned to the resource created
by the import.
DescribeImportResponse, describeImportResponse_importedResourceName - The name of the imported resource.
DescribeImportResponse, describeImportResponse_lastUpdatedDateTime - The date and time that the import was last updated.
DescribeImportResponse, describeImportResponse_mergeStrategy - The strategy used when there was a name conflict between the imported
resource and an existing resource. When the merge strategy is
FailOnConflict existing resources are not overwritten and the import
fails.
DescribeImportResponse, describeImportResponse_resourceSpecification - The specifications of the imported bot, bot locale, or custom
vocabulary.
$sel:httpStatus:DescribeImportResponse', describeImportResponse_httpStatus - The response's http status code.
Response Lenses
describeImportResponse_creationDateTime :: Lens' DescribeImportResponse (Maybe UTCTime) Source #
The date and time that the import was created.
describeImportResponse_failureReasons :: Lens' DescribeImportResponse (Maybe [Text]) Source #
If the importStatus field is Failed, this provides one or more
reasons for the failure.
describeImportResponse_importId :: Lens' DescribeImportResponse (Maybe Text) Source #
The unique identifier of the described import.
describeImportResponse_importStatus :: Lens' DescribeImportResponse (Maybe ImportStatus) Source #
The status of the import process. When the status is Completed the
resource is imported and ready for use.
describeImportResponse_importedResourceId :: Lens' DescribeImportResponse (Maybe Text) Source #
The unique identifier that Amazon Lex assigned to the resource created by the import.
describeImportResponse_importedResourceName :: Lens' DescribeImportResponse (Maybe Text) Source #
The name of the imported resource.
describeImportResponse_lastUpdatedDateTime :: Lens' DescribeImportResponse (Maybe UTCTime) Source #
The date and time that the import was last updated.
describeImportResponse_mergeStrategy :: Lens' DescribeImportResponse (Maybe MergeStrategy) Source #
The strategy used when there was a name conflict between the imported
resource and an existing resource. When the merge strategy is
FailOnConflict existing resources are not overwritten and the import
fails.
describeImportResponse_resourceSpecification :: Lens' DescribeImportResponse (Maybe ImportResourceSpecification) Source #
The specifications of the imported bot, bot locale, or custom vocabulary.
describeImportResponse_httpStatus :: Lens' DescribeImportResponse Int Source #
The response's http status code.