aws-sdk-lookoutequipment 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc182835e28c205da9454e54f9314253a030b4b5288632ad1af77c8560d85987
4
- data.tar.gz: 352422b517ecb6360b0a11ae988b153ea0dcd39ddae8fe48471c0f8d49f004cc
3
+ metadata.gz: 7d1481ad469d0d57404ef55894a9ab7439fa8531c8203d582626391f23aaf134
4
+ data.tar.gz: 0c2fc65b3c64eb7bcc2da27570f6c0da8417c5d67bf94c90843296bbaef0369f
5
5
  SHA512:
6
- metadata.gz: 6f4e339025f9906e13379a033da2c44c55d01f55c8f92c5fce378e9e6b5645be4747073d23138e9869c4fcced257947e7c2f6ff173b740ec6375c9902961e750
7
- data.tar.gz: 73c90cd03ec85c83b5a243f17de47bfb943e4d1b1fb8986db8622002e19432007977a1c4b90d3200ed4d8dfeb16f0623bd4b2f647c4fd209749ebc7e4d0f772b
6
+ metadata.gz: 1a834900eff56b50f1e0a9132c897a8f97e37fbff210e649d2a30ee0b445f97e7d7c307b795efcfde5362a7b62a526e2ef3f80e0ad909c6ae9f861c4a69d4666
7
+ data.tar.gz: 2f181af26fd4624d17954ce172461ecbb2ca8f20252bc952ec5c918fe976327a6be3f7b2e56cc6254fe45e5b944dbb0579d72a7dddf7c49a57e2f011e82dc7a3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2022-06-23)
5
+ ------------------
6
+
7
+ * Feature - This release adds visualizations to the scheduled inference results. Users will be able to see interference results, including diagnostic results from their running inference schedulers.
8
+
4
9
  1.11.0 (2022-04-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.0
@@ -1111,6 +1111,64 @@ module Aws::LookoutEquipment
1111
1111
  req.send_request(options)
1112
1112
  end
1113
1113
 
1114
+ # Lists all inference events that have been found for the specified
1115
+ # inference scheduler.
1116
+ #
1117
+ # @option params [String] :next_token
1118
+ # An opaque pagination token indicating where to continue the listing of
1119
+ # inference events.
1120
+ #
1121
+ # @option params [Integer] :max_results
1122
+ # Specifies the maximum number of inference events to list.
1123
+ #
1124
+ # @option params [required, String] :inference_scheduler_name
1125
+ # The name of the inference scheduler for the inference events listed.
1126
+ #
1127
+ # @option params [required, Time,DateTime,Date,Integer,String] :interval_start_time
1128
+ # Lookout for Equipment will return all the inference events with start
1129
+ # time equal to or greater than the start time given.
1130
+ #
1131
+ # @option params [required, Time,DateTime,Date,Integer,String] :interval_end_time
1132
+ # Lookout for Equipment will return all the inference events with end
1133
+ # time equal to or less than the end time given.
1134
+ #
1135
+ # @return [Types::ListInferenceEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1136
+ #
1137
+ # * {Types::ListInferenceEventsResponse#next_token #next_token} => String
1138
+ # * {Types::ListInferenceEventsResponse#inference_event_summaries #inference_event_summaries} => Array<Types::InferenceEventSummary>
1139
+ #
1140
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1141
+ #
1142
+ # @example Request syntax with placeholder values
1143
+ #
1144
+ # resp = client.list_inference_events({
1145
+ # next_token: "NextToken",
1146
+ # max_results: 1,
1147
+ # inference_scheduler_name: "InferenceSchedulerIdentifier", # required
1148
+ # interval_start_time: Time.now, # required
1149
+ # interval_end_time: Time.now, # required
1150
+ # })
1151
+ #
1152
+ # @example Response structure
1153
+ #
1154
+ # resp.next_token #=> String
1155
+ # resp.inference_event_summaries #=> Array
1156
+ # resp.inference_event_summaries[0].inference_scheduler_arn #=> String
1157
+ # resp.inference_event_summaries[0].inference_scheduler_name #=> String
1158
+ # resp.inference_event_summaries[0].event_start_time #=> Time
1159
+ # resp.inference_event_summaries[0].event_end_time #=> Time
1160
+ # resp.inference_event_summaries[0].diagnostics #=> String
1161
+ # resp.inference_event_summaries[0].event_duration_in_seconds #=> Integer
1162
+ #
1163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEvents AWS API Documentation
1164
+ #
1165
+ # @overload list_inference_events(params = {})
1166
+ # @param [Hash] params ({})
1167
+ def list_inference_events(params = {}, options = {})
1168
+ req = build_request(:list_inference_events, params)
1169
+ req.send_request(options)
1170
+ end
1171
+
1114
1172
  # Lists all inference executions that have been performed by the
1115
1173
  # specified inference scheduler.
1116
1174
  #
@@ -1680,7 +1738,7 @@ module Aws::LookoutEquipment
1680
1738
  params: params,
1681
1739
  config: config)
1682
1740
  context[:gem_name] = 'aws-sdk-lookoutequipment'
1683
- context[:gem_version] = '1.11.0'
1741
+ context[:gem_version] = '1.12.0'
1684
1742
  Seahorse::Client::Request.new(handlers, context)
1685
1743
  end
1686
1744
 
@@ -54,10 +54,13 @@ module Aws::LookoutEquipment
54
54
  DescribeModelRequest = Shapes::StructureShape.new(name: 'DescribeModelRequest')
55
55
  DescribeModelResponse = Shapes::StructureShape.new(name: 'DescribeModelResponse')
56
56
  DuplicateTimestamps = Shapes::StructureShape.new(name: 'DuplicateTimestamps')
57
+ EventDurationInSeconds = Shapes::IntegerShape.new(name: 'EventDurationInSeconds')
57
58
  FileNameTimestampFormat = Shapes::StringShape.new(name: 'FileNameTimestampFormat')
58
59
  Float = Shapes::FloatShape.new(name: 'Float')
59
60
  IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
60
61
  IdempotenceToken = Shapes::StringShape.new(name: 'IdempotenceToken')
62
+ InferenceEventSummaries = Shapes::ListShape.new(name: 'InferenceEventSummaries')
63
+ InferenceEventSummary = Shapes::StructureShape.new(name: 'InferenceEventSummary')
61
64
  InferenceExecutionStatus = Shapes::StringShape.new(name: 'InferenceExecutionStatus')
62
65
  InferenceExecutionSummaries = Shapes::ListShape.new(name: 'InferenceExecutionSummaries')
63
66
  InferenceExecutionSummary = Shapes::StructureShape.new(name: 'InferenceExecutionSummary')
@@ -91,6 +94,8 @@ module Aws::LookoutEquipment
91
94
  ListDataIngestionJobsResponse = Shapes::StructureShape.new(name: 'ListDataIngestionJobsResponse')
92
95
  ListDatasetsRequest = Shapes::StructureShape.new(name: 'ListDatasetsRequest')
93
96
  ListDatasetsResponse = Shapes::StructureShape.new(name: 'ListDatasetsResponse')
97
+ ListInferenceEventsRequest = Shapes::StructureShape.new(name: 'ListInferenceEventsRequest')
98
+ ListInferenceEventsResponse = Shapes::StructureShape.new(name: 'ListInferenceEventsResponse')
94
99
  ListInferenceExecutionsRequest = Shapes::StructureShape.new(name: 'ListInferenceExecutionsRequest')
95
100
  ListInferenceExecutionsResponse = Shapes::StructureShape.new(name: 'ListInferenceExecutionsResponse')
96
101
  ListInferenceSchedulersRequest = Shapes::StructureShape.new(name: 'ListInferenceSchedulersRequest')
@@ -336,6 +341,16 @@ module Aws::LookoutEquipment
336
341
  DuplicateTimestamps.add_member(:total_number_of_duplicate_timestamps, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "TotalNumberOfDuplicateTimestamps"))
337
342
  DuplicateTimestamps.struct_class = Types::DuplicateTimestamps
338
343
 
344
+ InferenceEventSummaries.member = Shapes::ShapeRef.new(shape: InferenceEventSummary)
345
+
346
+ InferenceEventSummary.add_member(:inference_scheduler_arn, Shapes::ShapeRef.new(shape: InferenceSchedulerArn, location_name: "InferenceSchedulerArn"))
347
+ InferenceEventSummary.add_member(:inference_scheduler_name, Shapes::ShapeRef.new(shape: InferenceSchedulerName, location_name: "InferenceSchedulerName"))
348
+ InferenceEventSummary.add_member(:event_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventStartTime"))
349
+ InferenceEventSummary.add_member(:event_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventEndTime"))
350
+ InferenceEventSummary.add_member(:diagnostics, Shapes::ShapeRef.new(shape: ModelMetrics, location_name: "Diagnostics"))
351
+ InferenceEventSummary.add_member(:event_duration_in_seconds, Shapes::ShapeRef.new(shape: EventDurationInSeconds, location_name: "EventDurationInSeconds"))
352
+ InferenceEventSummary.struct_class = Types::InferenceEventSummary
353
+
339
354
  InferenceExecutionSummaries.member = Shapes::ShapeRef.new(shape: InferenceExecutionSummary)
340
355
 
341
356
  InferenceExecutionSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
@@ -439,6 +454,17 @@ module Aws::LookoutEquipment
439
454
  ListDatasetsResponse.add_member(:dataset_summaries, Shapes::ShapeRef.new(shape: DatasetSummaries, location_name: "DatasetSummaries"))
440
455
  ListDatasetsResponse.struct_class = Types::ListDatasetsResponse
441
456
 
457
+ ListInferenceEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
458
+ ListInferenceEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
459
+ ListInferenceEventsRequest.add_member(:inference_scheduler_name, Shapes::ShapeRef.new(shape: InferenceSchedulerIdentifier, required: true, location_name: "InferenceSchedulerName"))
460
+ ListInferenceEventsRequest.add_member(:interval_start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "IntervalStartTime"))
461
+ ListInferenceEventsRequest.add_member(:interval_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "IntervalEndTime"))
462
+ ListInferenceEventsRequest.struct_class = Types::ListInferenceEventsRequest
463
+
464
+ ListInferenceEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
465
+ ListInferenceEventsResponse.add_member(:inference_event_summaries, Shapes::ShapeRef.new(shape: InferenceEventSummaries, location_name: "InferenceEventSummaries"))
466
+ ListInferenceEventsResponse.struct_class = Types::ListInferenceEventsResponse
467
+
442
468
  ListInferenceExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
443
469
  ListInferenceExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
444
470
  ListInferenceExecutionsRequest.add_member(:inference_scheduler_name, Shapes::ShapeRef.new(shape: InferenceSchedulerIdentifier, required: true, location_name: "InferenceSchedulerName"))
@@ -802,6 +828,25 @@ module Aws::LookoutEquipment
802
828
  )
803
829
  end)
804
830
 
831
+ api.add_operation(:list_inference_events, Seahorse::Model::Operation.new.tap do |o|
832
+ o.name = "ListInferenceEvents"
833
+ o.http_method = "POST"
834
+ o.http_request_uri = "/"
835
+ o.input = Shapes::ShapeRef.new(shape: ListInferenceEventsRequest)
836
+ o.output = Shapes::ShapeRef.new(shape: ListInferenceEventsResponse)
837
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
838
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
839
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
840
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
841
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
842
+ o[:pager] = Aws::Pager.new(
843
+ limit_key: "max_results",
844
+ tokens: {
845
+ "next_token" => "next_token"
846
+ }
847
+ )
848
+ end)
849
+
805
850
  api.add_operation(:list_inference_executions, Seahorse::Model::Operation.new.tap do |o|
806
851
  o.name = "ListInferenceExecutions"
807
852
  o.http_method = "POST"
@@ -807,8 +807,7 @@ module Aws::LookoutEquipment
807
807
  # @return [String]
808
808
  #
809
809
  # @!attribute [rw] created_at
810
- # Specifies the time the dataset was created in Amazon Lookout for
811
- # Equipment.
810
+ # Specifies the time the dataset was created in Lookout for Equipment.
812
811
  # @return [Time]
813
812
  #
814
813
  # @!attribute [rw] last_updated_at
@@ -1171,6 +1170,49 @@ module Aws::LookoutEquipment
1171
1170
  include Aws::Structure
1172
1171
  end
1173
1172
 
1173
+ # Contains information about the specific inference event, including
1174
+ # start and end time, diagnostics information, event duration and so on.
1175
+ #
1176
+ # @!attribute [rw] inference_scheduler_arn
1177
+ # The Amazon Resource Name (ARN) of the inference scheduler being used
1178
+ # for the inference event.
1179
+ # @return [String]
1180
+ #
1181
+ # @!attribute [rw] inference_scheduler_name
1182
+ # The name of the inference scheduler being used for the inference
1183
+ # events.
1184
+ # @return [String]
1185
+ #
1186
+ # @!attribute [rw] event_start_time
1187
+ # Indicates the starting time of an inference event.
1188
+ # @return [Time]
1189
+ #
1190
+ # @!attribute [rw] event_end_time
1191
+ # Indicates the ending time of an inference event.
1192
+ # @return [Time]
1193
+ #
1194
+ # @!attribute [rw] diagnostics
1195
+ # An array which specifies the names and values of all sensors
1196
+ # contributing to an inference event.
1197
+ # @return [String]
1198
+ #
1199
+ # @!attribute [rw] event_duration_in_seconds
1200
+ # Indicates the size of an inference event in seconds.
1201
+ # @return [Integer]
1202
+ #
1203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/InferenceEventSummary AWS API Documentation
1204
+ #
1205
+ class InferenceEventSummary < Struct.new(
1206
+ :inference_scheduler_arn,
1207
+ :inference_scheduler_name,
1208
+ :event_start_time,
1209
+ :event_end_time,
1210
+ :diagnostics,
1211
+ :event_duration_in_seconds)
1212
+ SENSITIVE = []
1213
+ include Aws::Structure
1214
+ end
1215
+
1174
1216
  # Contains information about the specific inference execution, including
1175
1217
  # input and output data configuration, inference scheduling information,
1176
1218
  # status, and so on.
@@ -1813,6 +1855,73 @@ module Aws::LookoutEquipment
1813
1855
  include Aws::Structure
1814
1856
  end
1815
1857
 
1858
+ # @note When making an API call, you may pass ListInferenceEventsRequest
1859
+ # data as a hash:
1860
+ #
1861
+ # {
1862
+ # next_token: "NextToken",
1863
+ # max_results: 1,
1864
+ # inference_scheduler_name: "InferenceSchedulerIdentifier", # required
1865
+ # interval_start_time: Time.now, # required
1866
+ # interval_end_time: Time.now, # required
1867
+ # }
1868
+ #
1869
+ # @!attribute [rw] next_token
1870
+ # An opaque pagination token indicating where to continue the listing
1871
+ # of inference events.
1872
+ # @return [String]
1873
+ #
1874
+ # @!attribute [rw] max_results
1875
+ # Specifies the maximum number of inference events to list.
1876
+ # @return [Integer]
1877
+ #
1878
+ # @!attribute [rw] inference_scheduler_name
1879
+ # The name of the inference scheduler for the inference events listed.
1880
+ # @return [String]
1881
+ #
1882
+ # @!attribute [rw] interval_start_time
1883
+ # Lookout for Equipment will return all the inference events with
1884
+ # start time equal to or greater than the start time given.
1885
+ # @return [Time]
1886
+ #
1887
+ # @!attribute [rw] interval_end_time
1888
+ # Lookout for Equipment will return all the inference events with end
1889
+ # time equal to or less than the end time given.
1890
+ # @return [Time]
1891
+ #
1892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEventsRequest AWS API Documentation
1893
+ #
1894
+ class ListInferenceEventsRequest < Struct.new(
1895
+ :next_token,
1896
+ :max_results,
1897
+ :inference_scheduler_name,
1898
+ :interval_start_time,
1899
+ :interval_end_time)
1900
+ SENSITIVE = []
1901
+ include Aws::Structure
1902
+ end
1903
+
1904
+ # @!attribute [rw] next_token
1905
+ # An opaque pagination token indicating where to continue the listing
1906
+ # of inference executions.
1907
+ # @return [String]
1908
+ #
1909
+ # @!attribute [rw] inference_event_summaries
1910
+ # Provides an array of information about the individual inference
1911
+ # events returned from the `ListInferenceEvents` operation, including
1912
+ # scheduler used, event start time, event end time, diagnostics, and
1913
+ # so on.
1914
+ # @return [Array<Types::InferenceEventSummary>]
1915
+ #
1916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceEventsResponse AWS API Documentation
1917
+ #
1918
+ class ListInferenceEventsResponse < Struct.new(
1919
+ :next_token,
1920
+ :inference_event_summaries)
1921
+ SENSITIVE = []
1922
+ include Aws::Structure
1923
+ end
1924
+
1816
1925
  # @note When making an API call, you may pass ListInferenceExecutionsRequest
1817
1926
  # data as a hash:
1818
1927
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lookoutequipment/customizations'
48
48
  # @!group service
49
49
  module Aws::LookoutEquipment
50
50
 
51
- GEM_VERSION = '1.11.0'
51
+ GEM_VERSION = '1.12.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lookoutequipment
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
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: 2022-04-27 00:00:00.000000000 Z
11
+ date: 2022-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core