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 |
Gets information about a specific export.
Synopsis
- data DescribeExport = DescribeExport' {}
- newDescribeExport :: Text -> DescribeExport
- describeExport_exportId :: Lens' DescribeExport Text
- data DescribeExportResponse = DescribeExportResponse' {}
- newDescribeExportResponse :: Int -> DescribeExportResponse
- describeExportResponse_creationDateTime :: Lens' DescribeExportResponse (Maybe UTCTime)
- describeExportResponse_downloadUrl :: Lens' DescribeExportResponse (Maybe Text)
- describeExportResponse_exportId :: Lens' DescribeExportResponse (Maybe Text)
- describeExportResponse_exportStatus :: Lens' DescribeExportResponse (Maybe ExportStatus)
- describeExportResponse_failureReasons :: Lens' DescribeExportResponse (Maybe [Text])
- describeExportResponse_fileFormat :: Lens' DescribeExportResponse (Maybe ImportExportFileFormat)
- describeExportResponse_lastUpdatedDateTime :: Lens' DescribeExportResponse (Maybe UTCTime)
- describeExportResponse_resourceSpecification :: Lens' DescribeExportResponse (Maybe ExportResourceSpecification)
- describeExportResponse_httpStatus :: Lens' DescribeExportResponse Int
Creating a Request
data DescribeExport Source #
See: newDescribeExport
smart constructor.
Instances
Create a value of DescribeExport
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:
DescribeExport
, describeExport_exportId
- The unique identifier of the export to describe.
Request Lenses
describeExport_exportId :: Lens' DescribeExport Text Source #
The unique identifier of the export to describe.
Destructuring the Response
data DescribeExportResponse Source #
See: newDescribeExportResponse
smart constructor.
DescribeExportResponse' | |
|
Instances
newDescribeExportResponse Source #
Create a value of DescribeExportResponse
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:
DescribeExportResponse
, describeExportResponse_creationDateTime
- The date and time that the export was created.
$sel:downloadUrl:DescribeExportResponse'
, describeExportResponse_downloadUrl
- A pre-signed S3 URL that points to the bot or bot locale archive. The
URL is only available for 5 minutes after calling the DescribeExport
operation.
DescribeExport
, describeExportResponse_exportId
- The unique identifier of the described export.
DescribeExportResponse
, describeExportResponse_exportStatus
- The status of the export. When the status is Complete
the export
archive file is available for download.
$sel:failureReasons:DescribeExportResponse'
, describeExportResponse_failureReasons
- If the exportStatus
is failed, contains one or more reasons why the
export could not be completed.
DescribeExportResponse
, describeExportResponse_fileFormat
- The file format used in the files that describe the resource.
DescribeExportResponse
, describeExportResponse_lastUpdatedDateTime
- The last date and time that the export was updated.
DescribeExportResponse
, describeExportResponse_resourceSpecification
- The bot, bot ID, and optional locale ID of the exported bot or bot
locale.
$sel:httpStatus:DescribeExportResponse'
, describeExportResponse_httpStatus
- The response's http status code.
Response Lenses
describeExportResponse_creationDateTime :: Lens' DescribeExportResponse (Maybe UTCTime) Source #
The date and time that the export was created.
describeExportResponse_downloadUrl :: Lens' DescribeExportResponse (Maybe Text) Source #
A pre-signed S3 URL that points to the bot or bot locale archive. The
URL is only available for 5 minutes after calling the DescribeExport
operation.
describeExportResponse_exportId :: Lens' DescribeExportResponse (Maybe Text) Source #
The unique identifier of the described export.
describeExportResponse_exportStatus :: Lens' DescribeExportResponse (Maybe ExportStatus) Source #
The status of the export. When the status is Complete
the export
archive file is available for download.
describeExportResponse_failureReasons :: Lens' DescribeExportResponse (Maybe [Text]) Source #
If the exportStatus
is failed, contains one or more reasons why the
export could not be completed.
describeExportResponse_fileFormat :: Lens' DescribeExportResponse (Maybe ImportExportFileFormat) Source #
The file format used in the files that describe the resource.
describeExportResponse_lastUpdatedDateTime :: Lens' DescribeExportResponse (Maybe UTCTime) Source #
The last date and time that the export was updated.
describeExportResponse_resourceSpecification :: Lens' DescribeExportResponse (Maybe ExportResourceSpecification) Source #
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
describeExportResponse_httpStatus :: Lens' DescribeExportResponse Int Source #
The response's http status code.