| 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.SageMaker.CreateHumanTaskUi
Description
Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.
Synopsis
- data CreateHumanTaskUi = CreateHumanTaskUi' {
- tags :: Maybe [Tag]
- humanTaskUiName :: Text
- uiTemplate :: UiTemplate
- newCreateHumanTaskUi :: Text -> UiTemplate -> CreateHumanTaskUi
- createHumanTaskUi_tags :: Lens' CreateHumanTaskUi (Maybe [Tag])
- createHumanTaskUi_humanTaskUiName :: Lens' CreateHumanTaskUi Text
- createHumanTaskUi_uiTemplate :: Lens' CreateHumanTaskUi UiTemplate
- data CreateHumanTaskUiResponse = CreateHumanTaskUiResponse' {
- httpStatus :: Int
- humanTaskUiArn :: Text
- newCreateHumanTaskUiResponse :: Int -> Text -> CreateHumanTaskUiResponse
- createHumanTaskUiResponse_httpStatus :: Lens' CreateHumanTaskUiResponse Int
- createHumanTaskUiResponse_humanTaskUiArn :: Lens' CreateHumanTaskUiResponse Text
Creating a Request
data CreateHumanTaskUi Source #
See: newCreateHumanTaskUi smart constructor.
Constructors
| CreateHumanTaskUi' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UiTemplate | |
| -> CreateHumanTaskUi |
Create a value of CreateHumanTaskUi 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:
CreateHumanTaskUi, createHumanTaskUi_tags - An array of key-value pairs that contain metadata to help you categorize
and organize a human review workflow user interface. Each tag consists
of a key and a value, both of which you define.
CreateHumanTaskUi, createHumanTaskUi_humanTaskUiName - The name of the user interface you are creating.
$sel:uiTemplate:CreateHumanTaskUi', createHumanTaskUi_uiTemplate - Undocumented member.
Request Lenses
createHumanTaskUi_tags :: Lens' CreateHumanTaskUi (Maybe [Tag]) Source #
An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.
createHumanTaskUi_humanTaskUiName :: Lens' CreateHumanTaskUi Text Source #
The name of the user interface you are creating.
createHumanTaskUi_uiTemplate :: Lens' CreateHumanTaskUi UiTemplate Source #
Undocumented member.
Destructuring the Response
data CreateHumanTaskUiResponse Source #
See: newCreateHumanTaskUiResponse smart constructor.
Constructors
| CreateHumanTaskUiResponse' | |
Fields
| |
Instances
newCreateHumanTaskUiResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateHumanTaskUiResponse |
Create a value of CreateHumanTaskUiResponse 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:httpStatus:CreateHumanTaskUiResponse', createHumanTaskUiResponse_httpStatus - The response's http status code.
CreateHumanTaskUiResponse, createHumanTaskUiResponse_humanTaskUiArn - The Amazon Resource Name (ARN) of the human review workflow user
interface you create.
Response Lenses
createHumanTaskUiResponse_httpStatus :: Lens' CreateHumanTaskUiResponse Int Source #
The response's http status code.
createHumanTaskUiResponse_humanTaskUiArn :: Lens' CreateHumanTaskUiResponse Text Source #
The Amazon Resource Name (ARN) of the human review workflow user interface you create.