Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Begins an asynchronous task to export all labeled data for a particular
transform. This task is the only label-related API call that is not part
of the typical active learning workflow. You typically use
StartExportLabelsTaskRun
when you want to work with all of your
existing labels at the same time, such as when you want to remove or
change labels that were previously submitted as truth. This API
operation accepts the TransformId
whose labels you want to export and
an Amazon Simple Storage Service (Amazon S3) path to export the labels
to. The operation returns a TaskRunId
. You can check on the status of
your task run by calling the GetMLTaskRun
API.
Synopsis
- data StartExportLabelsTaskRun = StartExportLabelsTaskRun' {
- transformId :: Text
- outputS3Path :: Text
- newStartExportLabelsTaskRun :: Text -> Text -> StartExportLabelsTaskRun
- startExportLabelsTaskRun_transformId :: Lens' StartExportLabelsTaskRun Text
- startExportLabelsTaskRun_outputS3Path :: Lens' StartExportLabelsTaskRun Text
- data StartExportLabelsTaskRunResponse = StartExportLabelsTaskRunResponse' {
- taskRunId :: Maybe Text
- httpStatus :: Int
- newStartExportLabelsTaskRunResponse :: Int -> StartExportLabelsTaskRunResponse
- startExportLabelsTaskRunResponse_taskRunId :: Lens' StartExportLabelsTaskRunResponse (Maybe Text)
- startExportLabelsTaskRunResponse_httpStatus :: Lens' StartExportLabelsTaskRunResponse Int
Creating a Request
data StartExportLabelsTaskRun Source #
See: newStartExportLabelsTaskRun
smart constructor.
StartExportLabelsTaskRun' | |
|
Instances
newStartExportLabelsTaskRun Source #
:: Text | |
-> Text | |
-> StartExportLabelsTaskRun |
Create a value of StartExportLabelsTaskRun
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:transformId:StartExportLabelsTaskRun'
, startExportLabelsTaskRun_transformId
- The unique identifier of the machine learning transform.
$sel:outputS3Path:StartExportLabelsTaskRun'
, startExportLabelsTaskRun_outputS3Path
- The Amazon S3 path where you export the labels.
Request Lenses
startExportLabelsTaskRun_transformId :: Lens' StartExportLabelsTaskRun Text Source #
The unique identifier of the machine learning transform.
startExportLabelsTaskRun_outputS3Path :: Lens' StartExportLabelsTaskRun Text Source #
The Amazon S3 path where you export the labels.
Destructuring the Response
data StartExportLabelsTaskRunResponse Source #
See: newStartExportLabelsTaskRunResponse
smart constructor.
StartExportLabelsTaskRunResponse' | |
|
Instances
Eq StartExportLabelsTaskRunResponse Source # | |
Read StartExportLabelsTaskRunResponse Source # | |
Show StartExportLabelsTaskRunResponse Source # | |
Defined in Amazonka.Glue.StartExportLabelsTaskRun | |
Generic StartExportLabelsTaskRunResponse Source # | |
NFData StartExportLabelsTaskRunResponse Source # | |
Defined in Amazonka.Glue.StartExportLabelsTaskRun rnf :: StartExportLabelsTaskRunResponse -> () # | |
type Rep StartExportLabelsTaskRunResponse Source # | |
Defined in Amazonka.Glue.StartExportLabelsTaskRun type Rep StartExportLabelsTaskRunResponse = D1 ('MetaData "StartExportLabelsTaskRunResponse" "Amazonka.Glue.StartExportLabelsTaskRun" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "StartExportLabelsTaskRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartExportLabelsTaskRunResponse Source #
Create a value of StartExportLabelsTaskRunResponse
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:taskRunId:StartExportLabelsTaskRunResponse'
, startExportLabelsTaskRunResponse_taskRunId
- The unique identifier for the task run.
$sel:httpStatus:StartExportLabelsTaskRunResponse'
, startExportLabelsTaskRunResponse_httpStatus
- The response's http status code.
Response Lenses
startExportLabelsTaskRunResponse_taskRunId :: Lens' StartExportLabelsTaskRunResponse (Maybe Text) Source #
The unique identifier for the task run.
startExportLabelsTaskRunResponse_httpStatus :: Lens' StartExportLabelsTaskRunResponse Int Source #
The response's http status code.