aws-sdk-augmentedairuntime 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed712495a3d22eba19aec88643dc0beab1766360
|
4
|
+
data.tar.gz: bcea76308507a86c4a290f3630d6626be682d3b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16ba958c7a0c8989f86ba494dd04fcdad8eaa55bd47e5ccf3f768e458f8dc0687568bd7b1f80cdcb242426a524c559767c8085856bb8d9247818b05154ceceb8
|
7
|
+
data.tar.gz: 6f25b9a40f1cb0d238f95ef1fb49ef202bcac13aa3ce3ae36e7ca3dd3cb43851af79c48268cb0a5cf28602f68bc2249e9a9178239c4047642d90842b28acc0ab
|
@@ -279,19 +279,18 @@ module Aws::AugmentedAIRuntime
|
|
279
279
|
# Returns information about the specified human loop.
|
280
280
|
#
|
281
281
|
# @option params [required, String] :human_loop_name
|
282
|
-
# The name of the human loop.
|
282
|
+
# The unique name of the human loop.
|
283
283
|
#
|
284
284
|
# @return [Types::DescribeHumanLoopResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
285
285
|
#
|
286
|
-
# * {Types::DescribeHumanLoopResponse#
|
286
|
+
# * {Types::DescribeHumanLoopResponse#creation_time #creation_time} => Time
|
287
287
|
# * {Types::DescribeHumanLoopResponse#failure_reason #failure_reason} => String
|
288
288
|
# * {Types::DescribeHumanLoopResponse#failure_code #failure_code} => String
|
289
289
|
# * {Types::DescribeHumanLoopResponse#human_loop_status #human_loop_status} => String
|
290
290
|
# * {Types::DescribeHumanLoopResponse#human_loop_name #human_loop_name} => String
|
291
291
|
# * {Types::DescribeHumanLoopResponse#human_loop_arn #human_loop_arn} => String
|
292
292
|
# * {Types::DescribeHumanLoopResponse#flow_definition_arn #flow_definition_arn} => String
|
293
|
-
# * {Types::DescribeHumanLoopResponse#
|
294
|
-
# * {Types::DescribeHumanLoopResponse#human_loop_output #human_loop_output} => Types::HumanLoopOutputContent
|
293
|
+
# * {Types::DescribeHumanLoopResponse#human_loop_output #human_loop_output} => Types::HumanLoopOutput
|
295
294
|
#
|
296
295
|
# @example Request syntax with placeholder values
|
297
296
|
#
|
@@ -301,14 +300,13 @@ module Aws::AugmentedAIRuntime
|
|
301
300
|
#
|
302
301
|
# @example Response structure
|
303
302
|
#
|
304
|
-
# resp.
|
303
|
+
# resp.creation_time #=> Time
|
305
304
|
# resp.failure_reason #=> String
|
306
305
|
# resp.failure_code #=> String
|
307
306
|
# resp.human_loop_status #=> String, one of "InProgress", "Failed", "Completed", "Stopped", "Stopping"
|
308
307
|
# resp.human_loop_name #=> String
|
309
308
|
# resp.human_loop_arn #=> String
|
310
309
|
# resp.flow_definition_arn #=> String
|
311
|
-
# resp.human_loop_input.input_content #=> String
|
312
310
|
# resp.human_loop_output.output_s3_uri #=> String
|
313
311
|
#
|
314
312
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/DescribeHumanLoop AWS API Documentation
|
@@ -321,14 +319,18 @@ module Aws::AugmentedAIRuntime
|
|
321
319
|
end
|
322
320
|
|
323
321
|
# Returns information about human loops, given the specified parameters.
|
322
|
+
# If a human loop was deleted, it will not be included.
|
324
323
|
#
|
325
324
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
326
325
|
# (Optional) The timestamp of the date when you want the human loops to
|
327
|
-
# begin. For example, `
|
326
|
+
# begin in ISO 8601 format. For example, `2020-02-24`.
|
328
327
|
#
|
329
328
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_before
|
330
329
|
# (Optional) The timestamp of the date before which you want the human
|
331
|
-
# loops to begin. For example, `
|
330
|
+
# loops to begin in ISO 8601 format. For example, `2020-02-24`.
|
331
|
+
#
|
332
|
+
# @option params [required, String] :flow_definition_arn
|
333
|
+
# The Amazon Resource Name (ARN) of a flow definition.
|
332
334
|
#
|
333
335
|
# @option params [String] :sort_order
|
334
336
|
# An optional value that specifies whether you want the results sorted
|
@@ -353,6 +355,7 @@ module Aws::AugmentedAIRuntime
|
|
353
355
|
# resp = client.list_human_loops({
|
354
356
|
# creation_time_after: Time.now,
|
355
357
|
# creation_time_before: Time.now,
|
358
|
+
# flow_definition_arn: "FlowDefinitionArn", # required
|
356
359
|
# sort_order: "Ascending", # accepts Ascending, Descending
|
357
360
|
# next_token: "NextToken",
|
358
361
|
# max_results: 1,
|
@@ -386,16 +389,15 @@ module Aws::AugmentedAIRuntime
|
|
386
389
|
# @option params [required, String] :flow_definition_arn
|
387
390
|
# The Amazon Resource Name (ARN) of the flow definition.
|
388
391
|
#
|
389
|
-
# @option params [required, Types::
|
392
|
+
# @option params [required, Types::HumanLoopInput] :human_loop_input
|
390
393
|
# An object containing information about the human loop.
|
391
394
|
#
|
392
|
-
# @option params [Types::
|
395
|
+
# @option params [Types::HumanLoopDataAttributes] :data_attributes
|
393
396
|
# Attributes of the data specified by the customer.
|
394
397
|
#
|
395
398
|
# @return [Types::StartHumanLoopResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
396
399
|
#
|
397
400
|
# * {Types::StartHumanLoopResponse#human_loop_arn #human_loop_arn} => String
|
398
|
-
# * {Types::StartHumanLoopResponse#human_loop_activation_results #human_loop_activation_results} => Types::HumanLoopActivationResults
|
399
401
|
#
|
400
402
|
# @example Request syntax with placeholder values
|
401
403
|
#
|
@@ -413,8 +415,6 @@ module Aws::AugmentedAIRuntime
|
|
413
415
|
# @example Response structure
|
414
416
|
#
|
415
417
|
# resp.human_loop_arn #=> String
|
416
|
-
# resp.human_loop_activation_results.human_loop_activation_reason.conditions_matched #=> Boolean
|
417
|
-
# resp.human_loop_activation_results.human_loop_activation_conditions_evaluation_results #=> String
|
418
418
|
#
|
419
419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/StartHumanLoop AWS API Documentation
|
420
420
|
#
|
@@ -460,7 +460,7 @@ module Aws::AugmentedAIRuntime
|
|
460
460
|
params: params,
|
461
461
|
config: config)
|
462
462
|
context[:gem_name] = 'aws-sdk-augmentedairuntime'
|
463
|
-
context[:gem_version] = '1.
|
463
|
+
context[:gem_version] = '1.1.1'
|
464
464
|
Seahorse::Client::Request.new(handlers, context)
|
465
465
|
end
|
466
466
|
|
@@ -11,7 +11,7 @@ module Aws::AugmentedAIRuntime
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
-
|
14
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
15
15
|
ContentClassifier = Shapes::StringShape.new(name: 'ContentClassifier')
|
16
16
|
ContentClassifiers = Shapes::ListShape.new(name: 'ContentClassifiers')
|
17
17
|
DeleteHumanLoopRequest = Shapes::StructureShape.new(name: 'DeleteHumanLoopRequest')
|
@@ -20,16 +20,14 @@ module Aws::AugmentedAIRuntime
|
|
20
20
|
DescribeHumanLoopResponse = Shapes::StructureShape.new(name: 'DescribeHumanLoopResponse')
|
21
21
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
22
22
|
FlowDefinitionArn = Shapes::StringShape.new(name: 'FlowDefinitionArn')
|
23
|
-
HumanLoopActivationReason = Shapes::StructureShape.new(name: 'HumanLoopActivationReason')
|
24
|
-
HumanLoopActivationResults = Shapes::StructureShape.new(name: 'HumanLoopActivationResults')
|
25
23
|
HumanLoopArn = Shapes::StringShape.new(name: 'HumanLoopArn')
|
26
|
-
|
24
|
+
HumanLoopDataAttributes = Shapes::StructureShape.new(name: 'HumanLoopDataAttributes')
|
25
|
+
HumanLoopInput = Shapes::StructureShape.new(name: 'HumanLoopInput')
|
27
26
|
HumanLoopName = Shapes::StringShape.new(name: 'HumanLoopName')
|
28
|
-
|
27
|
+
HumanLoopOutput = Shapes::StructureShape.new(name: 'HumanLoopOutput')
|
29
28
|
HumanLoopStatus = Shapes::StringShape.new(name: 'HumanLoopStatus')
|
30
29
|
HumanLoopSummaries = Shapes::ListShape.new(name: 'HumanLoopSummaries')
|
31
30
|
HumanLoopSummary = Shapes::StructureShape.new(name: 'HumanLoopSummary')
|
32
|
-
HumanReviewDataAttributes = Shapes::StructureShape.new(name: 'HumanReviewDataAttributes')
|
33
31
|
InputContent = Shapes::StringShape.new(name: 'InputContent')
|
34
32
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
35
33
|
ListHumanLoopsRequest = Shapes::StructureShape.new(name: 'ListHumanLoopsRequest')
|
@@ -48,6 +46,9 @@ module Aws::AugmentedAIRuntime
|
|
48
46
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
49
47
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
50
48
|
|
49
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: FailureReason, location_name: "Message"))
|
50
|
+
ConflictException.struct_class = Types::ConflictException
|
51
|
+
|
51
52
|
ContentClassifiers.member = Shapes::ShapeRef.new(shape: ContentClassifier)
|
52
53
|
|
53
54
|
DeleteHumanLoopRequest.add_member(:human_loop_name, Shapes::ShapeRef.new(shape: HumanLoopName, required: true, location: "uri", location_name: "HumanLoopName"))
|
@@ -58,29 +59,24 @@ module Aws::AugmentedAIRuntime
|
|
58
59
|
DescribeHumanLoopRequest.add_member(:human_loop_name, Shapes::ShapeRef.new(shape: HumanLoopName, required: true, location: "uri", location_name: "HumanLoopName"))
|
59
60
|
DescribeHumanLoopRequest.struct_class = Types::DescribeHumanLoopRequest
|
60
61
|
|
61
|
-
DescribeHumanLoopResponse.add_member(:
|
62
|
+
DescribeHumanLoopResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
62
63
|
DescribeHumanLoopResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "FailureReason"))
|
63
64
|
DescribeHumanLoopResponse.add_member(:failure_code, Shapes::ShapeRef.new(shape: String, location_name: "FailureCode"))
|
64
65
|
DescribeHumanLoopResponse.add_member(:human_loop_status, Shapes::ShapeRef.new(shape: HumanLoopStatus, required: true, location_name: "HumanLoopStatus"))
|
65
66
|
DescribeHumanLoopResponse.add_member(:human_loop_name, Shapes::ShapeRef.new(shape: HumanLoopName, required: true, location_name: "HumanLoopName"))
|
66
67
|
DescribeHumanLoopResponse.add_member(:human_loop_arn, Shapes::ShapeRef.new(shape: HumanLoopArn, required: true, location_name: "HumanLoopArn"))
|
67
68
|
DescribeHumanLoopResponse.add_member(:flow_definition_arn, Shapes::ShapeRef.new(shape: FlowDefinitionArn, required: true, location_name: "FlowDefinitionArn"))
|
68
|
-
DescribeHumanLoopResponse.add_member(:
|
69
|
-
DescribeHumanLoopResponse.add_member(:human_loop_output, Shapes::ShapeRef.new(shape: HumanLoopOutputContent, location_name: "HumanLoopOutput"))
|
69
|
+
DescribeHumanLoopResponse.add_member(:human_loop_output, Shapes::ShapeRef.new(shape: HumanLoopOutput, location_name: "HumanLoopOutput"))
|
70
70
|
DescribeHumanLoopResponse.struct_class = Types::DescribeHumanLoopResponse
|
71
71
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
HumanLoopActivationResults.add_member(:human_loop_activation_reason, Shapes::ShapeRef.new(shape: HumanLoopActivationReason, location_name: "HumanLoopActivationReason"))
|
76
|
-
HumanLoopActivationResults.add_member(:human_loop_activation_conditions_evaluation_results, Shapes::ShapeRef.new(shape: String, location_name: "HumanLoopActivationConditionsEvaluationResults"))
|
77
|
-
HumanLoopActivationResults.struct_class = Types::HumanLoopActivationResults
|
72
|
+
HumanLoopDataAttributes.add_member(:content_classifiers, Shapes::ShapeRef.new(shape: ContentClassifiers, required: true, location_name: "ContentClassifiers"))
|
73
|
+
HumanLoopDataAttributes.struct_class = Types::HumanLoopDataAttributes
|
78
74
|
|
79
|
-
|
80
|
-
|
75
|
+
HumanLoopInput.add_member(:input_content, Shapes::ShapeRef.new(shape: InputContent, required: true, location_name: "InputContent"))
|
76
|
+
HumanLoopInput.struct_class = Types::HumanLoopInput
|
81
77
|
|
82
|
-
|
83
|
-
|
78
|
+
HumanLoopOutput.add_member(:output_s3_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "OutputS3Uri"))
|
79
|
+
HumanLoopOutput.struct_class = Types::HumanLoopOutput
|
84
80
|
|
85
81
|
HumanLoopSummaries.member = Shapes::ShapeRef.new(shape: HumanLoopSummary)
|
86
82
|
|
@@ -91,14 +87,12 @@ module Aws::AugmentedAIRuntime
|
|
91
87
|
HumanLoopSummary.add_member(:flow_definition_arn, Shapes::ShapeRef.new(shape: FlowDefinitionArn, location_name: "FlowDefinitionArn"))
|
92
88
|
HumanLoopSummary.struct_class = Types::HumanLoopSummary
|
93
89
|
|
94
|
-
HumanReviewDataAttributes.add_member(:content_classifiers, Shapes::ShapeRef.new(shape: ContentClassifiers, required: true, location_name: "ContentClassifiers"))
|
95
|
-
HumanReviewDataAttributes.struct_class = Types::HumanReviewDataAttributes
|
96
|
-
|
97
90
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: FailureReason, location_name: "Message"))
|
98
91
|
InternalServerException.struct_class = Types::InternalServerException
|
99
92
|
|
100
93
|
ListHumanLoopsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "CreationTimeAfter"))
|
101
94
|
ListHumanLoopsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "CreationTimeBefore"))
|
95
|
+
ListHumanLoopsRequest.add_member(:flow_definition_arn, Shapes::ShapeRef.new(shape: FlowDefinitionArn, required: true, location: "querystring", location_name: "FlowDefinitionArn"))
|
102
96
|
ListHumanLoopsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "SortOrder"))
|
103
97
|
ListHumanLoopsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
104
98
|
ListHumanLoopsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults", metadata: {"box"=>true}))
|
@@ -116,12 +110,11 @@ module Aws::AugmentedAIRuntime
|
|
116
110
|
|
117
111
|
StartHumanLoopRequest.add_member(:human_loop_name, Shapes::ShapeRef.new(shape: HumanLoopName, required: true, location_name: "HumanLoopName"))
|
118
112
|
StartHumanLoopRequest.add_member(:flow_definition_arn, Shapes::ShapeRef.new(shape: FlowDefinitionArn, required: true, location_name: "FlowDefinitionArn"))
|
119
|
-
StartHumanLoopRequest.add_member(:human_loop_input, Shapes::ShapeRef.new(shape:
|
120
|
-
StartHumanLoopRequest.add_member(:data_attributes, Shapes::ShapeRef.new(shape:
|
113
|
+
StartHumanLoopRequest.add_member(:human_loop_input, Shapes::ShapeRef.new(shape: HumanLoopInput, required: true, location_name: "HumanLoopInput"))
|
114
|
+
StartHumanLoopRequest.add_member(:data_attributes, Shapes::ShapeRef.new(shape: HumanLoopDataAttributes, location_name: "DataAttributes"))
|
121
115
|
StartHumanLoopRequest.struct_class = Types::StartHumanLoopRequest
|
122
116
|
|
123
117
|
StartHumanLoopResponse.add_member(:human_loop_arn, Shapes::ShapeRef.new(shape: HumanLoopArn, location_name: "HumanLoopArn"))
|
124
|
-
StartHumanLoopResponse.add_member(:human_loop_activation_results, Shapes::ShapeRef.new(shape: HumanLoopActivationResults, location_name: "HumanLoopActivationResults"))
|
125
118
|
StartHumanLoopResponse.struct_class = Types::StartHumanLoopResponse
|
126
119
|
|
127
120
|
StopHumanLoopRequest.add_member(:human_loop_name, Shapes::ShapeRef.new(shape: HumanLoopName, required: true, location_name: "HumanLoopName"))
|
@@ -204,6 +197,7 @@ module Aws::AugmentedAIRuntime
|
|
204
197
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
205
198
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
206
199
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
200
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
207
201
|
end)
|
208
202
|
|
209
203
|
api.add_operation(:stop_human_loop, Seahorse::Model::Operation.new.tap do |o|
|
@@ -10,6 +10,22 @@ module Aws::AugmentedAIRuntime
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ConflictException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::AugmentedAIRuntime::Types::ConflictException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
13
29
|
class InternalServerException < ServiceError
|
14
30
|
|
15
31
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -8,6 +8,20 @@
|
|
8
8
|
module Aws::AugmentedAIRuntime
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# Your request has the same name as another active human loop but has
|
12
|
+
# different input data. You cannot start two human loops with the same
|
13
|
+
# name and different input data.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/ConflictException AWS API Documentation
|
19
|
+
#
|
20
|
+
class ConflictException < Struct.new(
|
21
|
+
:message)
|
22
|
+
include Aws::Structure
|
23
|
+
end
|
24
|
+
|
11
25
|
# @note When making an API call, you may pass DeleteHumanLoopRequest
|
12
26
|
# data as a hash:
|
13
27
|
#
|
@@ -38,7 +52,7 @@ module Aws::AugmentedAIRuntime
|
|
38
52
|
# }
|
39
53
|
#
|
40
54
|
# @!attribute [rw] human_loop_name
|
41
|
-
# The name of the human loop.
|
55
|
+
# The unique name of the human loop.
|
42
56
|
# @return [String]
|
43
57
|
#
|
44
58
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/DescribeHumanLoopRequest AWS API Documentation
|
@@ -48,8 +62,8 @@ module Aws::AugmentedAIRuntime
|
|
48
62
|
include Aws::Structure
|
49
63
|
end
|
50
64
|
|
51
|
-
# @!attribute [rw]
|
52
|
-
# The
|
65
|
+
# @!attribute [rw] creation_time
|
66
|
+
# The creation time when Amazon Augmented AI created the human loop.
|
53
67
|
# @return [Time]
|
54
68
|
#
|
55
69
|
# @!attribute [rw] failure_reason
|
@@ -77,71 +91,52 @@ module Aws::AugmentedAIRuntime
|
|
77
91
|
# The Amazon Resource Name (ARN) of the flow definition.
|
78
92
|
# @return [String]
|
79
93
|
#
|
80
|
-
# @!attribute [rw] human_loop_input
|
81
|
-
# An object containing information about the human loop input.
|
82
|
-
# @return [Types::HumanLoopInputContent]
|
83
|
-
#
|
84
94
|
# @!attribute [rw] human_loop_output
|
85
95
|
# An object containing information about the output of the human loop.
|
86
|
-
# @return [Types::
|
96
|
+
# @return [Types::HumanLoopOutput]
|
87
97
|
#
|
88
98
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/DescribeHumanLoopResponse AWS API Documentation
|
89
99
|
#
|
90
100
|
class DescribeHumanLoopResponse < Struct.new(
|
91
|
-
:
|
101
|
+
:creation_time,
|
92
102
|
:failure_reason,
|
93
103
|
:failure_code,
|
94
104
|
:human_loop_status,
|
95
105
|
:human_loop_name,
|
96
106
|
:human_loop_arn,
|
97
107
|
:flow_definition_arn,
|
98
|
-
:human_loop_input,
|
99
108
|
:human_loop_output)
|
100
109
|
include Aws::Structure
|
101
110
|
end
|
102
111
|
|
103
|
-
#
|
104
|
-
#
|
105
|
-
# activated.
|
112
|
+
# Attributes of the data specified by the customer. Use these to
|
113
|
+
# describe the data to be labeled.
|
106
114
|
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
# loop.
|
110
|
-
# @return [Boolean]
|
115
|
+
# @note When making an API call, you may pass HumanLoopDataAttributes
|
116
|
+
# data as a hash:
|
111
117
|
#
|
112
|
-
#
|
118
|
+
# {
|
119
|
+
# content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # required, accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
|
120
|
+
# }
|
113
121
|
#
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
end
|
118
|
-
|
119
|
-
# Information about the corresponding flow definition's human loop
|
120
|
-
# activation condition evaluation. Null if `StartHumanLoop` was invoked
|
121
|
-
# directly.
|
122
|
-
#
|
123
|
-
# @!attribute [rw] human_loop_activation_reason
|
124
|
-
# An object containing information about why a human loop was
|
125
|
-
# triggered.
|
126
|
-
# @return [Types::HumanLoopActivationReason]
|
127
|
-
#
|
128
|
-
# @!attribute [rw] human_loop_activation_conditions_evaluation_results
|
129
|
-
# A copy of the human loop activation conditions of the flow
|
130
|
-
# definition, augmented with the results of evaluating those
|
131
|
-
# conditions on the input provided to the `StartHumanLoop` operation.
|
132
|
-
# @return [String]
|
122
|
+
# @!attribute [rw] content_classifiers
|
123
|
+
# Declares that your content is free of personally identifiable
|
124
|
+
# information or adult content.
|
133
125
|
#
|
134
|
-
#
|
126
|
+
# Amazon SageMaker can restrict the Amazon Mechanical Turk workers who
|
127
|
+
# can view your task based on this information.
|
128
|
+
# @return [Array<String>]
|
135
129
|
#
|
136
|
-
|
137
|
-
|
138
|
-
|
130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/HumanLoopDataAttributes AWS API Documentation
|
131
|
+
#
|
132
|
+
class HumanLoopDataAttributes < Struct.new(
|
133
|
+
:content_classifiers)
|
139
134
|
include Aws::Structure
|
140
135
|
end
|
141
136
|
|
142
|
-
# An object containing the input.
|
137
|
+
# An object containing the human loop input in JSON format.
|
143
138
|
#
|
144
|
-
# @note When making an API call, you may pass
|
139
|
+
# @note When making an API call, you may pass HumanLoopInput
|
145
140
|
# data as a hash:
|
146
141
|
#
|
147
142
|
# {
|
@@ -149,12 +144,13 @@ module Aws::AugmentedAIRuntime
|
|
149
144
|
# }
|
150
145
|
#
|
151
146
|
# @!attribute [rw] input_content
|
152
|
-
# Serialized input from the human loop.
|
147
|
+
# Serialized input from the human loop. The input must be a string
|
148
|
+
# representation of a file in JSON format.
|
153
149
|
# @return [String]
|
154
150
|
#
|
155
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/
|
151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/HumanLoopInput AWS API Documentation
|
156
152
|
#
|
157
|
-
class
|
153
|
+
class HumanLoopInput < Struct.new(
|
158
154
|
:input_content)
|
159
155
|
include Aws::Structure
|
160
156
|
end
|
@@ -163,14 +159,12 @@ module Aws::AugmentedAIRuntime
|
|
163
159
|
#
|
164
160
|
# @!attribute [rw] output_s3_uri
|
165
161
|
# The location of the Amazon S3 object where Amazon Augmented AI
|
166
|
-
# stores your human loop output.
|
167
|
-
# location:
|
168
|
-
# `s3://S3OutputPath/HumanLoopName/CreationTime/output.json`.
|
162
|
+
# stores your human loop output.
|
169
163
|
# @return [String]
|
170
164
|
#
|
171
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/
|
165
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/HumanLoopOutput AWS API Documentation
|
172
166
|
#
|
173
|
-
class
|
167
|
+
class HumanLoopOutput < Struct.new(
|
174
168
|
:output_s3_uri)
|
175
169
|
include Aws::Structure
|
176
170
|
end
|
@@ -209,30 +203,6 @@ module Aws::AugmentedAIRuntime
|
|
209
203
|
include Aws::Structure
|
210
204
|
end
|
211
205
|
|
212
|
-
# Attributes of the data specified by the customer. Use these to
|
213
|
-
# describe the data to be labeled.
|
214
|
-
#
|
215
|
-
# @note When making an API call, you may pass HumanReviewDataAttributes
|
216
|
-
# data as a hash:
|
217
|
-
#
|
218
|
-
# {
|
219
|
-
# content_classifiers: ["FreeOfPersonallyIdentifiableInformation"], # required, accepts FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent
|
220
|
-
# }
|
221
|
-
#
|
222
|
-
# @!attribute [rw] content_classifiers
|
223
|
-
# Declares that your content is free of personally identifiable
|
224
|
-
# information or adult content. Amazon SageMaker may restrict the
|
225
|
-
# Amazon Mechanical Turk workers that can view your task based on this
|
226
|
-
# information.
|
227
|
-
# @return [Array<String>]
|
228
|
-
#
|
229
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/HumanReviewDataAttributes AWS API Documentation
|
230
|
-
#
|
231
|
-
class HumanReviewDataAttributes < Struct.new(
|
232
|
-
:content_classifiers)
|
233
|
-
include Aws::Structure
|
234
|
-
end
|
235
|
-
|
236
206
|
# Your request could not be processed.
|
237
207
|
#
|
238
208
|
# @!attribute [rw] message
|
@@ -251,6 +221,7 @@ module Aws::AugmentedAIRuntime
|
|
251
221
|
# {
|
252
222
|
# creation_time_after: Time.now,
|
253
223
|
# creation_time_before: Time.now,
|
224
|
+
# flow_definition_arn: "FlowDefinitionArn", # required
|
254
225
|
# sort_order: "Ascending", # accepts Ascending, Descending
|
255
226
|
# next_token: "NextToken",
|
256
227
|
# max_results: 1,
|
@@ -258,14 +229,18 @@ module Aws::AugmentedAIRuntime
|
|
258
229
|
#
|
259
230
|
# @!attribute [rw] creation_time_after
|
260
231
|
# (Optional) The timestamp of the date when you want the human loops
|
261
|
-
# to begin. For example, `
|
232
|
+
# to begin in ISO 8601 format. For example, `2020-02-24`.
|
262
233
|
# @return [Time]
|
263
234
|
#
|
264
235
|
# @!attribute [rw] creation_time_before
|
265
236
|
# (Optional) The timestamp of the date before which you want the human
|
266
|
-
# loops to begin. For example, `
|
237
|
+
# loops to begin in ISO 8601 format. For example, `2020-02-24`.
|
267
238
|
# @return [Time]
|
268
239
|
#
|
240
|
+
# @!attribute [rw] flow_definition_arn
|
241
|
+
# The Amazon Resource Name (ARN) of a flow definition.
|
242
|
+
# @return [String]
|
243
|
+
#
|
269
244
|
# @!attribute [rw] sort_order
|
270
245
|
# An optional value that specifies whether you want the results sorted
|
271
246
|
# in `Ascending` or `Descending` order.
|
@@ -287,6 +262,7 @@ module Aws::AugmentedAIRuntime
|
|
287
262
|
class ListHumanLoopsRequest < Struct.new(
|
288
263
|
:creation_time_after,
|
289
264
|
:creation_time_before,
|
265
|
+
:flow_definition_arn,
|
290
266
|
:sort_order,
|
291
267
|
:next_token,
|
292
268
|
:max_results)
|
@@ -359,11 +335,11 @@ module Aws::AugmentedAIRuntime
|
|
359
335
|
#
|
360
336
|
# @!attribute [rw] human_loop_input
|
361
337
|
# An object containing information about the human loop.
|
362
|
-
# @return [Types::
|
338
|
+
# @return [Types::HumanLoopInput]
|
363
339
|
#
|
364
340
|
# @!attribute [rw] data_attributes
|
365
341
|
# Attributes of the data specified by the customer.
|
366
|
-
# @return [Types::
|
342
|
+
# @return [Types::HumanLoopDataAttributes]
|
367
343
|
#
|
368
344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/StartHumanLoopRequest AWS API Documentation
|
369
345
|
#
|
@@ -379,15 +355,10 @@ module Aws::AugmentedAIRuntime
|
|
379
355
|
# The Amazon Resource Name (ARN) of the human loop.
|
380
356
|
# @return [String]
|
381
357
|
#
|
382
|
-
# @!attribute [rw] human_loop_activation_results
|
383
|
-
# An object containing information about the human loop activation.
|
384
|
-
# @return [Types::HumanLoopActivationResults]
|
385
|
-
#
|
386
358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/StartHumanLoopResponse AWS API Documentation
|
387
359
|
#
|
388
360
|
class StartHumanLoopResponse < Struct.new(
|
389
|
-
:human_loop_arn
|
390
|
-
:human_loop_activation_results)
|
361
|
+
:human_loop_arn)
|
391
362
|
include Aws::Structure
|
392
363
|
end
|
393
364
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-augmentedairuntime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|