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 |
Returns information about the specified flow definition.
Synopsis
- data DescribeFlowDefinition = DescribeFlowDefinition' {}
- newDescribeFlowDefinition :: Text -> DescribeFlowDefinition
- describeFlowDefinition_flowDefinitionName :: Lens' DescribeFlowDefinition Text
- data DescribeFlowDefinitionResponse = DescribeFlowDefinitionResponse' {
- failureReason :: Maybe Text
- humanLoopRequestSource :: Maybe HumanLoopRequestSource
- humanLoopActivationConfig :: Maybe HumanLoopActivationConfig
- httpStatus :: Int
- flowDefinitionArn :: Text
- flowDefinitionName :: Text
- flowDefinitionStatus :: FlowDefinitionStatus
- creationTime :: POSIX
- humanLoopConfig :: HumanLoopConfig
- outputConfig :: FlowDefinitionOutputConfig
- roleArn :: Text
- newDescribeFlowDefinitionResponse :: Int -> Text -> Text -> FlowDefinitionStatus -> UTCTime -> HumanLoopConfig -> FlowDefinitionOutputConfig -> Text -> DescribeFlowDefinitionResponse
- describeFlowDefinitionResponse_failureReason :: Lens' DescribeFlowDefinitionResponse (Maybe Text)
- describeFlowDefinitionResponse_humanLoopRequestSource :: Lens' DescribeFlowDefinitionResponse (Maybe HumanLoopRequestSource)
- describeFlowDefinitionResponse_humanLoopActivationConfig :: Lens' DescribeFlowDefinitionResponse (Maybe HumanLoopActivationConfig)
- describeFlowDefinitionResponse_httpStatus :: Lens' DescribeFlowDefinitionResponse Int
- describeFlowDefinitionResponse_flowDefinitionArn :: Lens' DescribeFlowDefinitionResponse Text
- describeFlowDefinitionResponse_flowDefinitionName :: Lens' DescribeFlowDefinitionResponse Text
- describeFlowDefinitionResponse_flowDefinitionStatus :: Lens' DescribeFlowDefinitionResponse FlowDefinitionStatus
- describeFlowDefinitionResponse_creationTime :: Lens' DescribeFlowDefinitionResponse UTCTime
- describeFlowDefinitionResponse_humanLoopConfig :: Lens' DescribeFlowDefinitionResponse HumanLoopConfig
- describeFlowDefinitionResponse_outputConfig :: Lens' DescribeFlowDefinitionResponse FlowDefinitionOutputConfig
- describeFlowDefinitionResponse_roleArn :: Lens' DescribeFlowDefinitionResponse Text
Creating a Request
data DescribeFlowDefinition Source #
See: newDescribeFlowDefinition
smart constructor.
DescribeFlowDefinition' | |
|
Instances
newDescribeFlowDefinition Source #
Create a value of DescribeFlowDefinition
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:flowDefinitionName:DescribeFlowDefinition'
, describeFlowDefinition_flowDefinitionName
- The name of the flow definition.
Request Lenses
describeFlowDefinition_flowDefinitionName :: Lens' DescribeFlowDefinition Text Source #
The name of the flow definition.
Destructuring the Response
data DescribeFlowDefinitionResponse Source #
See: newDescribeFlowDefinitionResponse
smart constructor.
DescribeFlowDefinitionResponse' | |
|
Instances
newDescribeFlowDefinitionResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> FlowDefinitionStatus | |
-> UTCTime | |
-> HumanLoopConfig | |
-> FlowDefinitionOutputConfig | |
-> Text | |
-> DescribeFlowDefinitionResponse |
Create a value of DescribeFlowDefinitionResponse
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:failureReason:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_failureReason
- The reason your flow definition failed.
$sel:humanLoopRequestSource:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_humanLoopRequestSource
- Container for configuring the source of human task requests. Used to
specify if Amazon Rekognition or Amazon Textract is used as an
integration source.
$sel:humanLoopActivationConfig:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_humanLoopActivationConfig
- An object containing information about what triggers a human review
workflow.
$sel:httpStatus:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_httpStatus
- The response's http status code.
$sel:flowDefinitionArn:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow defintion.
$sel:flowDefinitionName:DescribeFlowDefinition'
, describeFlowDefinitionResponse_flowDefinitionName
- The Amazon Resource Name (ARN) of the flow definition.
$sel:flowDefinitionStatus:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_flowDefinitionStatus
- The status of the flow definition. Valid values are listed below.
$sel:creationTime:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_creationTime
- The timestamp when the flow definition was created.
$sel:humanLoopConfig:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_humanLoopConfig
- An object containing information about who works on the task, the
workforce task price, and other task details.
$sel:outputConfig:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_outputConfig
- An object containing information about the output file.
$sel:roleArn:DescribeFlowDefinitionResponse'
, describeFlowDefinitionResponse_roleArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Identity and
Access Management (IAM) execution role for the flow definition.
Response Lenses
describeFlowDefinitionResponse_failureReason :: Lens' DescribeFlowDefinitionResponse (Maybe Text) Source #
The reason your flow definition failed.
describeFlowDefinitionResponse_humanLoopRequestSource :: Lens' DescribeFlowDefinitionResponse (Maybe HumanLoopRequestSource) Source #
Container for configuring the source of human task requests. Used to specify if Amazon Rekognition or Amazon Textract is used as an integration source.
describeFlowDefinitionResponse_humanLoopActivationConfig :: Lens' DescribeFlowDefinitionResponse (Maybe HumanLoopActivationConfig) Source #
An object containing information about what triggers a human review workflow.
describeFlowDefinitionResponse_httpStatus :: Lens' DescribeFlowDefinitionResponse Int Source #
The response's http status code.
describeFlowDefinitionResponse_flowDefinitionArn :: Lens' DescribeFlowDefinitionResponse Text Source #
The Amazon Resource Name (ARN) of the flow defintion.
describeFlowDefinitionResponse_flowDefinitionName :: Lens' DescribeFlowDefinitionResponse Text Source #
The Amazon Resource Name (ARN) of the flow definition.
describeFlowDefinitionResponse_flowDefinitionStatus :: Lens' DescribeFlowDefinitionResponse FlowDefinitionStatus Source #
The status of the flow definition. Valid values are listed below.
describeFlowDefinitionResponse_creationTime :: Lens' DescribeFlowDefinitionResponse UTCTime Source #
The timestamp when the flow definition was created.
describeFlowDefinitionResponse_humanLoopConfig :: Lens' DescribeFlowDefinitionResponse HumanLoopConfig Source #
An object containing information about who works on the task, the workforce task price, and other task details.
describeFlowDefinitionResponse_outputConfig :: Lens' DescribeFlowDefinitionResponse FlowDefinitionOutputConfig Source #
An object containing information about the output file.
describeFlowDefinitionResponse_roleArn :: Lens' DescribeFlowDefinitionResponse Text Source #
The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.