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 |
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.
CreateHumanTaskUi' | |
|
Instances
:: 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:
$sel:tags: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.
$sel:humanTaskUiName: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.
CreateHumanTaskUiResponse' | |
|
Instances
newCreateHumanTaskUiResponse Source #
:: 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.
$sel:humanTaskUiArn: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.