File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (71 lines) | stat: -rw-r--r-- 1,788 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
	"time"
)

// Attributes of the data specified by the customer. Use these to describe the
// data to be labeled.
type HumanLoopDataAttributes struct {

	// Declares that your content is free of personally identifiable information or
	// adult content. Amazon SageMaker can restrict the Amazon Mechanical Turk workers
	// who can view your task based on this information.
	//
	// This member is required.
	ContentClassifiers []ContentClassifier

	noSmithyDocumentSerde
}

// An object containing the human loop input in JSON format.
type HumanLoopInput struct {

	// Serialized input from the human loop. The input must be a string representation
	// of a file in JSON format.
	//
	// This member is required.
	InputContent *string

	noSmithyDocumentSerde
}

// Information about where the human output will be stored.
type HumanLoopOutput struct {

	// The location of the Amazon S3 object where Amazon Augmented AI stores your
	// human loop output.
	//
	// This member is required.
	OutputS3Uri *string

	noSmithyDocumentSerde
}

// Summary information about the human loop.
type HumanLoopSummary struct {

	// When Amazon Augmented AI created the human loop.
	CreationTime *time.Time

	// The reason why the human loop failed. A failure reason is returned when the
	// status of the human loop is Failed .
	FailureReason *string

	// The Amazon Resource Name (ARN) of the flow definition used to configure the
	// human loop.
	FlowDefinitionArn *string

	// The name of the human loop.
	HumanLoopName *string

	// The status of the human loop.
	HumanLoopStatus HumanLoopStatus

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde