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 human loop. If the human loop
was deleted, this operation will return a ResourceNotFoundException
error.
Synopsis
- data DescribeHumanLoop = DescribeHumanLoop' {}
- newDescribeHumanLoop :: Text -> DescribeHumanLoop
- describeHumanLoop_humanLoopName :: Lens' DescribeHumanLoop Text
- data DescribeHumanLoopResponse = DescribeHumanLoopResponse' {}
- newDescribeHumanLoopResponse :: Int -> UTCTime -> HumanLoopStatus -> Text -> Text -> Text -> DescribeHumanLoopResponse
- describeHumanLoopResponse_failureReason :: Lens' DescribeHumanLoopResponse (Maybe Text)
- describeHumanLoopResponse_failureCode :: Lens' DescribeHumanLoopResponse (Maybe Text)
- describeHumanLoopResponse_humanLoopOutput :: Lens' DescribeHumanLoopResponse (Maybe HumanLoopOutput)
- describeHumanLoopResponse_httpStatus :: Lens' DescribeHumanLoopResponse Int
- describeHumanLoopResponse_creationTime :: Lens' DescribeHumanLoopResponse UTCTime
- describeHumanLoopResponse_humanLoopStatus :: Lens' DescribeHumanLoopResponse HumanLoopStatus
- describeHumanLoopResponse_humanLoopName :: Lens' DescribeHumanLoopResponse Text
- describeHumanLoopResponse_humanLoopArn :: Lens' DescribeHumanLoopResponse Text
- describeHumanLoopResponse_flowDefinitionArn :: Lens' DescribeHumanLoopResponse Text
Creating a Request
data DescribeHumanLoop Source #
See: newDescribeHumanLoop
smart constructor.
DescribeHumanLoop' | |
|
Instances
Create a value of DescribeHumanLoop
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:humanLoopName:DescribeHumanLoop'
, describeHumanLoop_humanLoopName
- The name of the human loop that you want information about.
Request Lenses
describeHumanLoop_humanLoopName :: Lens' DescribeHumanLoop Text Source #
The name of the human loop that you want information about.
Destructuring the Response
data DescribeHumanLoopResponse Source #
See: newDescribeHumanLoopResponse
smart constructor.
DescribeHumanLoopResponse' | |
|
Instances
newDescribeHumanLoopResponse Source #
:: Int | |
-> UTCTime | |
-> HumanLoopStatus | |
-> Text | |
-> Text | |
-> Text | |
-> DescribeHumanLoopResponse |
Create a value of DescribeHumanLoopResponse
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:DescribeHumanLoopResponse'
, describeHumanLoopResponse_failureReason
- The reason why a human loop failed. The failure reason is returned when
the status of the human loop is Failed
.
$sel:failureCode:DescribeHumanLoopResponse'
, describeHumanLoopResponse_failureCode
- A failure code that identifies the type of failure.
Possible values: ValidationError
, Expired
, InternalError
$sel:humanLoopOutput:DescribeHumanLoopResponse'
, describeHumanLoopResponse_humanLoopOutput
- An object that contains information about the output of the human loop.
$sel:httpStatus:DescribeHumanLoopResponse'
, describeHumanLoopResponse_httpStatus
- The response's http status code.
$sel:creationTime:DescribeHumanLoopResponse'
, describeHumanLoopResponse_creationTime
- The creation time when Amazon Augmented AI created the human loop.
$sel:humanLoopStatus:DescribeHumanLoopResponse'
, describeHumanLoopResponse_humanLoopStatus
- The status of the human loop.
$sel:humanLoopName:DescribeHumanLoop'
, describeHumanLoopResponse_humanLoopName
- The name of the human loop. The name must be lowercase, unique within
the Region in your account, and can have up to 63 characters. Valid
characters: a-z, 0-9, and - (hyphen).
$sel:humanLoopArn:DescribeHumanLoopResponse'
, describeHumanLoopResponse_humanLoopArn
- The Amazon Resource Name (ARN) of the human loop.
$sel:flowDefinitionArn:DescribeHumanLoopResponse'
, describeHumanLoopResponse_flowDefinitionArn
- The Amazon Resource Name (ARN) of the flow definition.
Response Lenses
describeHumanLoopResponse_failureReason :: Lens' DescribeHumanLoopResponse (Maybe Text) Source #
The reason why a human loop failed. The failure reason is returned when
the status of the human loop is Failed
.
describeHumanLoopResponse_failureCode :: Lens' DescribeHumanLoopResponse (Maybe Text) Source #
A failure code that identifies the type of failure.
Possible values: ValidationError
, Expired
, InternalError
describeHumanLoopResponse_humanLoopOutput :: Lens' DescribeHumanLoopResponse (Maybe HumanLoopOutput) Source #
An object that contains information about the output of the human loop.
describeHumanLoopResponse_httpStatus :: Lens' DescribeHumanLoopResponse Int Source #
The response's http status code.
describeHumanLoopResponse_creationTime :: Lens' DescribeHumanLoopResponse UTCTime Source #
The creation time when Amazon Augmented AI created the human loop.
describeHumanLoopResponse_humanLoopStatus :: Lens' DescribeHumanLoopResponse HumanLoopStatus Source #
The status of the human loop.
describeHumanLoopResponse_humanLoopName :: Lens' DescribeHumanLoopResponse Text Source #
The name of the human loop. The name must be lowercase, unique within the Region in your account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen).
describeHumanLoopResponse_humanLoopArn :: Lens' DescribeHumanLoopResponse Text Source #
The Amazon Resource Name (ARN) of the human loop.
describeHumanLoopResponse_flowDefinitionArn :: Lens' DescribeHumanLoopResponse Text Source #
The Amazon Resource Name (ARN) of the flow definition.