| 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.SageMakerA2IRuntime.DescribeHumanLoop
Description
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_failureCode :: Lens' DescribeHumanLoopResponse (Maybe Text)
- describeHumanLoopResponse_failureReason :: 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.
Constructors
| DescribeHumanLoop' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeHumanLoop |
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:
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.
Constructors
| DescribeHumanLoopResponse' | |
Fields
| |
Instances
newDescribeHumanLoopResponse Source #
Arguments
| :: 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:failureCode:DescribeHumanLoopResponse', describeHumanLoopResponse_failureCode - A failure code that identifies the type of failure.
Possible values: ValidationError, Expired, InternalError
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: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.
DescribeHumanLoopResponse, describeHumanLoopResponse_creationTime - The creation time when Amazon Augmented AI created the human loop.
DescribeHumanLoopResponse, describeHumanLoopResponse_humanLoopStatus - The status of the human loop.
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.
DescribeHumanLoopResponse, describeHumanLoopResponse_flowDefinitionArn - The Amazon Resource Name (ARN) of the flow definition.
Response Lenses
describeHumanLoopResponse_failureCode :: Lens' DescribeHumanLoopResponse (Maybe Text) Source #
A failure code that identifies the type of failure.
Possible values: ValidationError, Expired, InternalError
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_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.