Class GetExportResponse

    • Method Detail

      • name

        public final String name()

        The name of the bot being exported.

        Returns:
        The name of the bot being exported.
      • version

        public final String version()

        The version of the bot being exported.

        Returns:
        The version of the bot being exported.
      • exportStatus

        public final ExportStatus exportStatus()

        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        If the service returns an enum value that is not available in the current SDK version, exportStatus will return ExportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from exportStatusAsString().

        Returns:
        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        See Also:
        ExportStatus
      • exportStatusAsString

        public final String exportStatusAsString()

        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        If the service returns an enum value that is not available in the current SDK version, exportStatus will return ExportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from exportStatusAsString().

        Returns:
        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        See Also:
        ExportStatus
      • failureReason

        public final String failureReason()

        If status is FAILED, Amazon Lex provides the reason that it failed to export the resource.

        Returns:
        If status is FAILED, Amazon Lex provides the reason that it failed to export the resource.
      • url

        public final String url()

        An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.

        Returns:
        An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object