| 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.CreateFlowDefinition
Description
Creates a flow definition.
Synopsis
- data CreateFlowDefinition = CreateFlowDefinition' {}
- newCreateFlowDefinition :: Text -> HumanLoopConfig -> FlowDefinitionOutputConfig -> Text -> CreateFlowDefinition
- createFlowDefinition_humanLoopActivationConfig :: Lens' CreateFlowDefinition (Maybe HumanLoopActivationConfig)
- createFlowDefinition_humanLoopRequestSource :: Lens' CreateFlowDefinition (Maybe HumanLoopRequestSource)
- createFlowDefinition_tags :: Lens' CreateFlowDefinition (Maybe [Tag])
- createFlowDefinition_flowDefinitionName :: Lens' CreateFlowDefinition Text
- createFlowDefinition_humanLoopConfig :: Lens' CreateFlowDefinition HumanLoopConfig
- createFlowDefinition_outputConfig :: Lens' CreateFlowDefinition FlowDefinitionOutputConfig
- createFlowDefinition_roleArn :: Lens' CreateFlowDefinition Text
- data CreateFlowDefinitionResponse = CreateFlowDefinitionResponse' {}
- newCreateFlowDefinitionResponse :: Int -> Text -> CreateFlowDefinitionResponse
- createFlowDefinitionResponse_httpStatus :: Lens' CreateFlowDefinitionResponse Int
- createFlowDefinitionResponse_flowDefinitionArn :: Lens' CreateFlowDefinitionResponse Text
Creating a Request
data CreateFlowDefinition Source #
See: newCreateFlowDefinition smart constructor.
Constructors
| CreateFlowDefinition' | |
Fields
| |
Instances
newCreateFlowDefinition Source #
Arguments
| :: Text | |
| -> HumanLoopConfig | |
| -> FlowDefinitionOutputConfig | |
| -> Text | |
| -> CreateFlowDefinition |
Create a value of CreateFlowDefinition 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:humanLoopActivationConfig:CreateFlowDefinition', createFlowDefinition_humanLoopActivationConfig - An object containing information about the events that trigger a human
workflow.
$sel:humanLoopRequestSource:CreateFlowDefinition', createFlowDefinition_humanLoopRequestSource - Container for configuring the source of human task requests. Use to
specify if Amazon Rekognition or Amazon Textract is used as an
integration source.
CreateFlowDefinition, createFlowDefinition_tags - An array of key-value pairs that contain metadata to help you categorize
and organize a flow definition. Each tag consists of a key and a value,
both of which you define.
CreateFlowDefinition, createFlowDefinition_flowDefinitionName - The name of your flow definition.
$sel:humanLoopConfig:CreateFlowDefinition', createFlowDefinition_humanLoopConfig - An object containing information about the tasks the human reviewers
will perform.
CreateFlowDefinition, createFlowDefinition_outputConfig - An object containing information about where the human review results
will be uploaded.
CreateFlowDefinition, createFlowDefinition_roleArn - The Amazon Resource Name (ARN) of the role needed to call other services
on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.
Request Lenses
createFlowDefinition_humanLoopActivationConfig :: Lens' CreateFlowDefinition (Maybe HumanLoopActivationConfig) Source #
An object containing information about the events that trigger a human workflow.
createFlowDefinition_humanLoopRequestSource :: Lens' CreateFlowDefinition (Maybe HumanLoopRequestSource) Source #
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.
createFlowDefinition_tags :: Lens' CreateFlowDefinition (Maybe [Tag]) Source #
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.
createFlowDefinition_flowDefinitionName :: Lens' CreateFlowDefinition Text Source #
The name of your flow definition.
createFlowDefinition_humanLoopConfig :: Lens' CreateFlowDefinition HumanLoopConfig Source #
An object containing information about the tasks the human reviewers will perform.
createFlowDefinition_outputConfig :: Lens' CreateFlowDefinition FlowDefinitionOutputConfig Source #
An object containing information about where the human review results will be uploaded.
createFlowDefinition_roleArn :: Lens' CreateFlowDefinition Text Source #
The Amazon Resource Name (ARN) of the role needed to call other services
on your behalf. For example,
arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.
Destructuring the Response
data CreateFlowDefinitionResponse Source #
See: newCreateFlowDefinitionResponse smart constructor.
Constructors
| CreateFlowDefinitionResponse' | |
Fields
| |
Instances
newCreateFlowDefinitionResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateFlowDefinitionResponse |
Create a value of CreateFlowDefinitionResponse 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:CreateFlowDefinitionResponse', createFlowDefinitionResponse_httpStatus - The response's http status code.
CreateFlowDefinitionResponse, createFlowDefinitionResponse_flowDefinitionArn - The Amazon Resource Name (ARN) of the flow definition you create.
Response Lenses
createFlowDefinitionResponse_httpStatus :: Lens' CreateFlowDefinitionResponse Int Source #
The response's http status code.
createFlowDefinitionResponse_flowDefinitionArn :: Lens' CreateFlowDefinitionResponse Text Source #
The Amazon Resource Name (ARN) of the flow definition you create.