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 |
Starts a human loop, provided that at least one activation condition is met.
Synopsis
- data StartHumanLoop = StartHumanLoop' {}
- newStartHumanLoop :: Text -> Text -> HumanLoopInput -> StartHumanLoop
- startHumanLoop_dataAttributes :: Lens' StartHumanLoop (Maybe HumanLoopDataAttributes)
- startHumanLoop_humanLoopName :: Lens' StartHumanLoop Text
- startHumanLoop_flowDefinitionArn :: Lens' StartHumanLoop Text
- startHumanLoop_humanLoopInput :: Lens' StartHumanLoop HumanLoopInput
- data StartHumanLoopResponse = StartHumanLoopResponse' {
- humanLoopArn :: Maybe Text
- httpStatus :: Int
- newStartHumanLoopResponse :: Int -> StartHumanLoopResponse
- startHumanLoopResponse_humanLoopArn :: Lens' StartHumanLoopResponse (Maybe Text)
- startHumanLoopResponse_httpStatus :: Lens' StartHumanLoopResponse Int
Creating a Request
data StartHumanLoop Source #
See: newStartHumanLoop
smart constructor.
StartHumanLoop' | |
|
Instances
:: Text | |
-> Text | |
-> HumanLoopInput | |
-> StartHumanLoop |
Create a value of StartHumanLoop
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:dataAttributes:StartHumanLoop'
, startHumanLoop_dataAttributes
- Attributes of the specified data. Use DataAttributes
to specify if
your data is free of personally identifiable information and/or free of
adult content.
StartHumanLoop
, startHumanLoop_humanLoopName
- The name of the human loop.
StartHumanLoop
, startHumanLoop_flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition associated with
this human loop.
$sel:humanLoopInput:StartHumanLoop'
, startHumanLoop_humanLoopInput
- An object that contains information about the human loop.
Request Lenses
startHumanLoop_dataAttributes :: Lens' StartHumanLoop (Maybe HumanLoopDataAttributes) Source #
Attributes of the specified data. Use DataAttributes
to specify if
your data is free of personally identifiable information and/or free of
adult content.
startHumanLoop_humanLoopName :: Lens' StartHumanLoop Text Source #
The name of the human loop.
startHumanLoop_flowDefinitionArn :: Lens' StartHumanLoop Text Source #
The Amazon Resource Name (ARN) of the flow definition associated with this human loop.
startHumanLoop_humanLoopInput :: Lens' StartHumanLoop HumanLoopInput Source #
An object that contains information about the human loop.
Destructuring the Response
data StartHumanLoopResponse Source #
See: newStartHumanLoopResponse
smart constructor.
StartHumanLoopResponse' | |
|
Instances
newStartHumanLoopResponse Source #
Create a value of StartHumanLoopResponse
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:humanLoopArn:StartHumanLoopResponse'
, startHumanLoopResponse_humanLoopArn
- The Amazon Resource Name (ARN) of the human loop.
$sel:httpStatus:StartHumanLoopResponse'
, startHumanLoopResponse_httpStatus
- The response's http status code.
Response Lenses
startHumanLoopResponse_humanLoopArn :: Lens' StartHumanLoopResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the human loop.
startHumanLoopResponse_httpStatus :: Lens' StartHumanLoopResponse Int Source #
The response's http status code.