aws-sdk-iotdeviceadvisor 1.0.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -14,8 +14,6 @@ module Aws::IoTDeviceAdvisor
14
14
  include Seahorse::Model
15
15
 
16
16
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
- CategoryName = Shapes::StringShape.new(name: 'CategoryName')
18
- ConfigString = Shapes::StringShape.new(name: 'ConfigString')
19
17
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
20
18
  CreateSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionRequest')
21
19
  CreateSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionResponse')
@@ -42,8 +40,6 @@ module Aws::IoTDeviceAdvisor
42
40
  ListSuiteRunsResponse = Shapes::StructureShape.new(name: 'ListSuiteRunsResponse')
43
41
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
44
42
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
45
- ListTestCasesRequest = Shapes::StructureShape.new(name: 'ListTestCasesRequest')
46
- ListTestCasesResponse = Shapes::StructureShape.new(name: 'ListTestCasesResponse')
47
43
  LogUrl = Shapes::StringShape.new(name: 'LogUrl')
48
44
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
49
45
  Message = Shapes::StringShape.new(name: 'Message')
@@ -54,6 +50,8 @@ module Aws::IoTDeviceAdvisor
54
50
  StartSuiteRunRequest = Shapes::StructureShape.new(name: 'StartSuiteRunRequest')
55
51
  StartSuiteRunResponse = Shapes::StructureShape.new(name: 'StartSuiteRunResponse')
56
52
  Status = Shapes::StringShape.new(name: 'Status')
53
+ StopSuiteRunRequest = Shapes::StructureShape.new(name: 'StopSuiteRunRequest')
54
+ StopSuiteRunResponse = Shapes::StructureShape.new(name: 'StopSuiteRunResponse')
57
55
  String128 = Shapes::StringShape.new(name: 'String128')
58
56
  String256 = Shapes::StringShape.new(name: 'String256')
59
57
  SuiteDefinitionConfiguration = Shapes::StructureShape.new(name: 'SuiteDefinitionConfiguration')
@@ -70,17 +68,9 @@ module Aws::IoTDeviceAdvisor
70
68
  TagMap = Shapes::MapShape.new(name: 'TagMap')
71
69
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
72
70
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
73
- TestCase = Shapes::StructureShape.new(name: 'TestCase')
74
- TestCaseCategory = Shapes::StructureShape.new(name: 'TestCaseCategory')
75
- TestCaseDefinition = Shapes::StructureShape.new(name: 'TestCaseDefinition')
76
71
  TestCaseDefinitionName = Shapes::StringShape.new(name: 'TestCaseDefinitionName')
77
- TestCaseList = Shapes::ListShape.new(name: 'TestCaseList')
78
- TestCaseName = Shapes::StringShape.new(name: 'TestCaseName')
79
72
  TestCaseRun = Shapes::StructureShape.new(name: 'TestCaseRun')
80
73
  TestCaseRuns = Shapes::ListShape.new(name: 'TestCaseRuns')
81
- TestCaseVersion = Shapes::StringShape.new(name: 'TestCaseVersion')
82
- TestCategory = Shapes::ListShape.new(name: 'TestCategory')
83
- TestConfiguration = Shapes::MapShape.new(name: 'TestConfiguration')
84
74
  TestResult = Shapes::StructureShape.new(name: 'TestResult')
85
75
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
86
76
  Token = Shapes::StringShape.new(name: 'Token')
@@ -188,17 +178,6 @@ module Aws::IoTDeviceAdvisor
188
178
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
189
179
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
190
180
 
191
- ListTestCasesRequest.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location: "querystring", location_name: "intendedForQualification"))
192
- ListTestCasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
193
- ListTestCasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
194
- ListTestCasesRequest.struct_class = Types::ListTestCasesRequest
195
-
196
- ListTestCasesResponse.add_member(:categories, Shapes::ShapeRef.new(shape: TestCategory, location_name: "categories"))
197
- ListTestCasesResponse.add_member(:root_group_configuration, Shapes::ShapeRef.new(shape: TestConfiguration, location_name: "rootGroupConfiguration"))
198
- ListTestCasesResponse.add_member(:group_configuration, Shapes::ShapeRef.new(shape: TestConfiguration, location_name: "groupConfiguration"))
199
- ListTestCasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
200
- ListTestCasesResponse.struct_class = Types::ListTestCasesResponse
201
-
202
181
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
203
182
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
204
183
 
@@ -215,6 +194,12 @@ module Aws::IoTDeviceAdvisor
215
194
  StartSuiteRunResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
216
195
  StartSuiteRunResponse.struct_class = Types::StartSuiteRunResponse
217
196
 
197
+ StopSuiteRunRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
198
+ StopSuiteRunRequest.add_member(:suite_run_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteRunId"))
199
+ StopSuiteRunRequest.struct_class = Types::StopSuiteRunRequest
200
+
201
+ StopSuiteRunResponse.struct_class = Types::StopSuiteRunResponse
202
+
218
203
  SuiteDefinitionConfiguration.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
219
204
  SuiteDefinitionConfiguration.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceUnderTestList, location_name: "devices"))
220
205
  SuiteDefinitionConfiguration.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location_name: "intendedForQualification"))
@@ -232,7 +217,6 @@ module Aws::IoTDeviceAdvisor
232
217
  SuiteDefinitionInformationList.member = Shapes::ShapeRef.new(shape: SuiteDefinitionInformation)
233
218
 
234
219
  SuiteRunConfiguration.add_member(:primary_device, Shapes::ShapeRef.new(shape: DeviceUnderTest, location_name: "primaryDevice"))
235
- SuiteRunConfiguration.add_member(:secondary_device, Shapes::ShapeRef.new(shape: DeviceUnderTest, location_name: "secondaryDevice"))
236
220
  SuiteRunConfiguration.add_member(:selected_test_list, Shapes::ShapeRef.new(shape: SelectedTestList, location_name: "selectedTestList"))
237
221
  SuiteRunConfiguration.struct_class = Types::SuiteRunConfiguration
238
222
 
@@ -261,21 +245,6 @@ module Aws::IoTDeviceAdvisor
261
245
 
262
246
  TagResourceResponse.struct_class = Types::TagResourceResponse
263
247
 
264
- TestCase.add_member(:name, Shapes::ShapeRef.new(shape: TestCaseName, location_name: "name"))
265
- TestCase.add_member(:configuration, Shapes::ShapeRef.new(shape: TestConfiguration, location_name: "configuration"))
266
- TestCase.add_member(:test, Shapes::ShapeRef.new(shape: TestCaseDefinition, location_name: "test"))
267
- TestCase.struct_class = Types::TestCase
268
-
269
- TestCaseCategory.add_member(:name, Shapes::ShapeRef.new(shape: CategoryName, location_name: "name"))
270
- TestCaseCategory.add_member(:tests, Shapes::ShapeRef.new(shape: TestCaseList, location_name: "tests"))
271
- TestCaseCategory.struct_class = Types::TestCaseCategory
272
-
273
- TestCaseDefinition.add_member(:id, Shapes::ShapeRef.new(shape: TestCaseName, location_name: "id"))
274
- TestCaseDefinition.add_member(:test_case_version, Shapes::ShapeRef.new(shape: TestCaseVersion, location_name: "testCaseVersion"))
275
- TestCaseDefinition.struct_class = Types::TestCaseDefinition
276
-
277
- TestCaseList.member = Shapes::ShapeRef.new(shape: TestCase)
278
-
279
248
  TestCaseRun.add_member(:test_case_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "testCaseRunId"))
280
249
  TestCaseRun.add_member(:test_case_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "testCaseDefinitionId"))
281
250
  TestCaseRun.add_member(:test_case_definition_name, Shapes::ShapeRef.new(shape: TestCaseDefinitionName, location_name: "testCaseDefinitionName"))
@@ -289,11 +258,6 @@ module Aws::IoTDeviceAdvisor
289
258
 
290
259
  TestCaseRuns.member = Shapes::ShapeRef.new(shape: TestCaseRun)
291
260
 
292
- TestCategory.member = Shapes::ShapeRef.new(shape: TestCaseCategory)
293
-
294
- TestConfiguration.key = Shapes::ShapeRef.new(shape: ConfigString)
295
- TestConfiguration.value = Shapes::ShapeRef.new(shape: ConfigString)
296
-
297
261
  TestResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupResultList, location_name: "groups"))
298
262
  TestResult.struct_class = Types::TestResult
299
263
 
@@ -433,21 +397,6 @@ module Aws::IoTDeviceAdvisor
433
397
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
434
398
  end)
435
399
 
436
- api.add_operation(:list_test_cases, Seahorse::Model::Operation.new.tap do |o|
437
- o.name = "ListTestCases"
438
- o.http_method = "GET"
439
- o.http_request_uri = "/testCases"
440
- o.input = Shapes::ShapeRef.new(shape: ListTestCasesRequest)
441
- o.output = Shapes::ShapeRef.new(shape: ListTestCasesResponse)
442
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
443
- o[:pager] = Aws::Pager.new(
444
- limit_key: "max_results",
445
- tokens: {
446
- "next_token" => "next_token"
447
- }
448
- )
449
- end)
450
-
451
400
  api.add_operation(:start_suite_run, Seahorse::Model::Operation.new.tap do |o|
452
401
  o.name = "StartSuiteRun"
453
402
  o.http_method = "POST"
@@ -459,6 +408,17 @@ module Aws::IoTDeviceAdvisor
459
408
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
460
409
  end)
461
410
 
411
+ api.add_operation(:stop_suite_run, Seahorse::Model::Operation.new.tap do |o|
412
+ o.name = "StopSuiteRun"
413
+ o.http_method = "POST"
414
+ o.http_request_uri = "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/stop"
415
+ o.input = Shapes::ShapeRef.new(shape: StopSuiteRunRequest)
416
+ o.output = Shapes::ShapeRef.new(shape: StopSuiteRunResponse)
417
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
418
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
419
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
420
+ end)
421
+
462
422
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
463
423
  o.name = "TagResource"
464
424
  o.http_method = "POST"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -93,7 +93,7 @@ module Aws::IoTDeviceAdvisor
93
93
  # }
94
94
  #
95
95
  # @!attribute [rw] suite_definition_id
96
- # Deletes a Device Advisor test suite with defined suite Id.
96
+ # Suite definition Id of the test suite to be deleted.
97
97
  # @return [String]
98
98
  #
99
99
  class DeleteSuiteDefinitionRequest < Struct.new(
@@ -138,11 +138,11 @@ module Aws::IoTDeviceAdvisor
138
138
  # }
139
139
  #
140
140
  # @!attribute [rw] suite_definition_id
141
- # Requests suite definition Id with GetSuiteDefinition API call.
141
+ # Suite definition Id of the test suite to get.
142
142
  # @return [String]
143
143
  #
144
144
  # @!attribute [rw] suite_definition_version
145
- # Requests the suite definition version of a test suite.
145
+ # Suite definition version of the test suite to get.
146
146
  # @return [String]
147
147
  #
148
148
  class GetSuiteDefinitionRequest < Struct.new(
@@ -153,7 +153,7 @@ module Aws::IoTDeviceAdvisor
153
153
  end
154
154
 
155
155
  # @!attribute [rw] suite_definition_id
156
- # Gets suite definition Id with GetSuiteDefinition API call.
156
+ # Suite definition Id of the suite definition.
157
157
  # @return [String]
158
158
  #
159
159
  # @!attribute [rw] suite_definition_arn
@@ -161,26 +161,24 @@ module Aws::IoTDeviceAdvisor
161
161
  # @return [String]
162
162
  #
163
163
  # @!attribute [rw] suite_definition_version
164
- # Gets suite definition version with GetSuiteDefinition API call.
164
+ # Suite definition version of the suite definition.
165
165
  # @return [String]
166
166
  #
167
167
  # @!attribute [rw] latest_version
168
- # Gets latest suite definition version with GetSuiteDefinition API
169
- # call.
168
+ # Latest suite definition version of the suite definition.
170
169
  # @return [String]
171
170
  #
172
171
  # @!attribute [rw] suite_definition_configuration
173
- # Gets the suite configuration with GetSuiteDefinition API call.
172
+ # Suite configuration of the suite definition.
174
173
  # @return [Types::SuiteDefinitionConfiguration]
175
174
  #
176
175
  # @!attribute [rw] created_at
177
- # Gets the timestamp of the time suite was created with
178
- # GetSuiteDefinition API call.
176
+ # Date (in Unix epoch time) when the suite definition was created.
179
177
  # @return [Time]
180
178
  #
181
179
  # @!attribute [rw] last_modified_at
182
- # Gets the timestamp of the time suite was modified with
183
- # GetSuiteDefinition API call.
180
+ # Date (in Unix epoch time) when the suite definition was last
181
+ # modified.
184
182
  # @return [Time]
185
183
  #
186
184
  # @!attribute [rw] tags
@@ -209,11 +207,11 @@ module Aws::IoTDeviceAdvisor
209
207
  # }
210
208
  #
211
209
  # @!attribute [rw] suite_definition_id
212
- # Device Advisor suite definition Id.
210
+ # Suite definition Id of the test suite.
213
211
  # @return [String]
214
212
  #
215
213
  # @!attribute [rw] suite_run_id
216
- # Device Advisor suite run Id.
214
+ # Suite run Id of the test suite run.
217
215
  # @return [String]
218
216
  #
219
217
  class GetSuiteRunReportRequest < Struct.new(
@@ -224,7 +222,7 @@ module Aws::IoTDeviceAdvisor
224
222
  end
225
223
 
226
224
  # @!attribute [rw] qualification_report_download_url
227
- # Gets the download URL of the qualification report.
225
+ # Download URL of the qualification report.
228
226
  # @return [String]
229
227
  #
230
228
  class GetSuiteRunReportResponse < Struct.new(
@@ -242,13 +240,11 @@ module Aws::IoTDeviceAdvisor
242
240
  # }
243
241
  #
244
242
  # @!attribute [rw] suite_definition_id
245
- # Requests the information about Device Advisor test suite run based
246
- # on suite definition Id.
243
+ # Suite definition Id for the test suite run.
247
244
  # @return [String]
248
245
  #
249
246
  # @!attribute [rw] suite_run_id
250
- # Requests the information about Device Advisor test suite run based
251
- # on suite run Id.
247
+ # Suite run Id for the test suite run.
252
248
  # @return [String]
253
249
  #
254
250
  class GetSuiteRunRequest < Struct.new(
@@ -259,18 +255,15 @@ module Aws::IoTDeviceAdvisor
259
255
  end
260
256
 
261
257
  # @!attribute [rw] suite_definition_id
262
- # Gets the information about Device Advisor test suite run based on
263
- # suite definition Id.
258
+ # Suite definition Id for the test suite run.
264
259
  # @return [String]
265
260
  #
266
261
  # @!attribute [rw] suite_definition_version
267
- # Gets the information about Device Advisor test suite run based on
268
- # suite definition version.
262
+ # Suite definition version for the test suite run.
269
263
  # @return [String]
270
264
  #
271
265
  # @!attribute [rw] suite_run_id
272
- # Gets the information about Device Advisor test suite run based on
273
- # suite run Id.
266
+ # Suite run Id for the test suite run.
274
267
  # @return [String]
275
268
  #
276
269
  # @!attribute [rw] suite_run_arn
@@ -278,33 +271,27 @@ module Aws::IoTDeviceAdvisor
278
271
  # @return [String]
279
272
  #
280
273
  # @!attribute [rw] suite_run_configuration
281
- # Gets the information about Device Advisor test suite run based on
282
- # suite configuration.
274
+ # Suite run configuration for the test suite run.
283
275
  # @return [Types::SuiteRunConfiguration]
284
276
  #
285
277
  # @!attribute [rw] test_result
286
- # Gets the information about Device Advisor test suite run based on
287
- # test case runs.
278
+ # Test results for the test suite run.
288
279
  # @return [Types::TestResult]
289
280
  #
290
281
  # @!attribute [rw] start_time
291
- # Gets the information about Device Advisor test suite run based on
292
- # start time.
282
+ # Date (in Unix epoch time) when the test suite run was started.
293
283
  # @return [Time]
294
284
  #
295
285
  # @!attribute [rw] end_time
296
- # Gets the information about Device Advisor test suite run based on
297
- # end time.
286
+ # Date (in Unix epoch time) when the test suite run ended.
298
287
  # @return [Time]
299
288
  #
300
289
  # @!attribute [rw] status
301
- # Gets the information about Device Advisor test suite run based on
302
- # its status.
290
+ # Status for the test suite run.
303
291
  # @return [String]
304
292
  #
305
293
  # @!attribute [rw] error_reason
306
- # Gets the information about Device Advisor test suite run based on
307
- # error.
294
+ # Error reason for any test suite run failure.
308
295
  # @return [String]
309
296
  #
310
297
  # @!attribute [rw] tags
@@ -330,15 +317,15 @@ module Aws::IoTDeviceAdvisor
330
317
  # Show Group Result.
331
318
  #
332
319
  # @!attribute [rw] group_id
333
- # Show Group Result Id.
320
+ # Group result Id.
334
321
  # @return [String]
335
322
  #
336
323
  # @!attribute [rw] group_name
337
- # Show Group Result Name.
324
+ # Group Result Name.
338
325
  # @return [String]
339
326
  #
340
327
  # @!attribute [rw] tests
341
- # Show Group Result.
328
+ # Tests under Group Result.
342
329
  # @return [Array<Types::TestCaseRun>]
343
330
  #
344
331
  class GroupResult < Struct.new(
@@ -370,11 +357,11 @@ module Aws::IoTDeviceAdvisor
370
357
  # }
371
358
  #
372
359
  # @!attribute [rw] max_results
373
- # Request the list of all the Device Advisor test suites.
360
+ # The maximum number of results to return at once.
374
361
  # @return [Integer]
375
362
  #
376
363
  # @!attribute [rw] next_token
377
- # Requests the Device Advisor test suites next token.
364
+ # A token used to get the next set of results.
378
365
  # @return [String]
379
366
  #
380
367
  class ListSuiteDefinitionsRequest < Struct.new(
@@ -385,11 +372,12 @@ module Aws::IoTDeviceAdvisor
385
372
  end
386
373
 
387
374
  # @!attribute [rw] suite_definition_information_list
388
- # Lists test suite information using List suite definition.
375
+ # An array of objects that provide summaries of information about the
376
+ # suite definitions in the list.
389
377
  # @return [Array<Types::SuiteDefinitionInformation>]
390
378
  #
391
379
  # @!attribute [rw] next_token
392
- # Creates a Device Advisor test suite.
380
+ # A token used to get the next set of results.
393
381
  # @return [String]
394
382
  #
395
383
  class ListSuiteDefinitionsResponse < Struct.new(
@@ -410,21 +398,21 @@ module Aws::IoTDeviceAdvisor
410
398
  # }
411
399
  #
412
400
  # @!attribute [rw] suite_definition_id
413
- # Lists the runs of the specified Device Advisor test suite based on
414
- # suite definition Id.
401
+ # Lists the test suite runs of the specified test suite based on suite
402
+ # definition Id.
415
403
  # @return [String]
416
404
  #
417
405
  # @!attribute [rw] suite_definition_version
418
- # Lists the runs of the specified Device Advisor test suite based on
419
- # suite definition version.
406
+ # Must be passed along with suiteDefinitionId. Lists the test suite
407
+ # runs of the specified test suite based on suite definition version.
420
408
  # @return [String]
421
409
  #
422
410
  # @!attribute [rw] max_results
423
- # MaxResults for list suite run API request.
411
+ # The maximum number of results to return at once.
424
412
  # @return [Integer]
425
413
  #
426
414
  # @!attribute [rw] next_token
427
- # Next pagination token for list suite run request.
415
+ # A token to retrieve the next set of results.
428
416
  # @return [String]
429
417
  #
430
418
  class ListSuiteRunsRequest < Struct.new(
@@ -437,11 +425,12 @@ module Aws::IoTDeviceAdvisor
437
425
  end
438
426
 
439
427
  # @!attribute [rw] suite_runs_list
440
- # Lists the runs of the specified Device Advisor test suite.
428
+ # An array of objects that provide summaries of information about the
429
+ # suite runs in the list.
441
430
  # @return [Array<Types::SuiteRunInformation>]
442
431
  #
443
432
  # @!attribute [rw] next_token
444
- # Next pagination token for list suite run response.
433
+ # A token to retrieve the next set of results.
445
434
  # @return [String]
446
435
  #
447
436
  class ListSuiteRunsResponse < Struct.new(
@@ -478,60 +467,6 @@ module Aws::IoTDeviceAdvisor
478
467
  include Aws::Structure
479
468
  end
480
469
 
481
- # @note When making an API call, you may pass ListTestCasesRequest
482
- # data as a hash:
483
- #
484
- # {
485
- # intended_for_qualification: false,
486
- # max_results: 1,
487
- # next_token: "Token",
488
- # }
489
- #
490
- # @!attribute [rw] intended_for_qualification
491
- # Lists all the qualification test cases in the test suite.
492
- # @return [Boolean]
493
- #
494
- # @!attribute [rw] max_results
495
- # Requests the test cases max results.
496
- # @return [Integer]
497
- #
498
- # @!attribute [rw] next_token
499
- # Requests the test cases next token.
500
- # @return [String]
501
- #
502
- class ListTestCasesRequest < Struct.new(
503
- :intended_for_qualification,
504
- :max_results,
505
- :next_token)
506
- SENSITIVE = []
507
- include Aws::Structure
508
- end
509
-
510
- # @!attribute [rw] categories
511
- # Gets the category of test case.
512
- # @return [Array<Types::TestCaseCategory>]
513
- #
514
- # @!attribute [rw] root_group_configuration
515
- # Gets the configuration of root test group.
516
- # @return [Hash<String,String>]
517
- #
518
- # @!attribute [rw] group_configuration
519
- # Gets the configuration of test group.
520
- # @return [Hash<String,String>]
521
- #
522
- # @!attribute [rw] next_token
523
- # Test cases next token response.
524
- # @return [String]
525
- #
526
- class ListTestCasesResponse < Struct.new(
527
- :categories,
528
- :root_group_configuration,
529
- :group_configuration,
530
- :next_token)
531
- SENSITIVE = []
532
- include Aws::Structure
533
- end
534
-
535
470
  # Sends Resource Not Found Exception.
536
471
  #
537
472
  # @!attribute [rw] message
@@ -555,10 +490,6 @@ module Aws::IoTDeviceAdvisor
555
490
  # thing_arn: "AmazonResourceName",
556
491
  # certificate_arn: "AmazonResourceName",
557
492
  # },
558
- # secondary_device: {
559
- # thing_arn: "AmazonResourceName",
560
- # certificate_arn: "AmazonResourceName",
561
- # },
562
493
  # selected_test_list: ["UUID"],
563
494
  # },
564
495
  # tags: {
@@ -567,15 +498,15 @@ module Aws::IoTDeviceAdvisor
567
498
  # }
568
499
  #
569
500
  # @!attribute [rw] suite_definition_id
570
- # Request to start suite run based on suite definition Id.
501
+ # Suite definition Id of the test suite.
571
502
  # @return [String]
572
503
  #
573
504
  # @!attribute [rw] suite_definition_version
574
- # Request to start suite run based on suite definition version.
505
+ # Suite definition version of the test suite.
575
506
  # @return [String]
576
507
  #
577
508
  # @!attribute [rw] suite_run_configuration
578
- # Request to start suite run based on suite configuration.
509
+ # Suite run configuration.
579
510
  # @return [Types::SuiteRunConfiguration]
580
511
  #
581
512
  # @!attribute [rw] tags
@@ -592,15 +523,15 @@ module Aws::IoTDeviceAdvisor
592
523
  end
593
524
 
594
525
  # @!attribute [rw] suite_run_id
595
- # Starts a Device Advisor test suite run based on suite Run Id.
526
+ # Suite Run Id of the started suite run.
596
527
  # @return [String]
597
528
  #
598
529
  # @!attribute [rw] suite_run_arn
599
- # Starts a Device Advisor test suite run based on suite run arn.
530
+ # Amazon resource name of the started suite run.
600
531
  # @return [String]
601
532
  #
602
533
  # @!attribute [rw] created_at
603
- # Starts a Device Advisor test suite run based on suite create time.
534
+ # Date (in Unix epoch time) when the suite run was created.
604
535
  # @return [Time]
605
536
  #
606
537
  class StartSuiteRunResponse < Struct.new(
@@ -611,6 +542,31 @@ module Aws::IoTDeviceAdvisor
611
542
  include Aws::Structure
612
543
  end
613
544
 
545
+ # @note When making an API call, you may pass StopSuiteRunRequest
546
+ # data as a hash:
547
+ #
548
+ # {
549
+ # suite_definition_id: "UUID", # required
550
+ # suite_run_id: "UUID", # required
551
+ # }
552
+ #
553
+ # @!attribute [rw] suite_definition_id
554
+ # Suite definition Id of the test suite run to be stopped.
555
+ # @return [String]
556
+ #
557
+ # @!attribute [rw] suite_run_id
558
+ # Suite run Id of the test suite run to be stopped.
559
+ # @return [String]
560
+ #
561
+ class StopSuiteRunRequest < Struct.new(
562
+ :suite_definition_id,
563
+ :suite_run_id)
564
+ SENSITIVE = []
565
+ include Aws::Structure
566
+ end
567
+
568
+ class StopSuiteRunResponse < Aws::EmptyStructure; end
569
+
614
570
  # Gets Suite Definition Configuration.
615
571
  #
616
572
  # @note When making an API call, you may pass SuiteDefinitionConfiguration
@@ -659,26 +615,26 @@ module Aws::IoTDeviceAdvisor
659
615
  include Aws::Structure
660
616
  end
661
617
 
662
- # Get suite definition information.
618
+ # Information about the suite definition.
663
619
  #
664
620
  # @!attribute [rw] suite_definition_id
665
- # Get suite definition Id.
621
+ # Suite definition Id of the test suite.
666
622
  # @return [String]
667
623
  #
668
624
  # @!attribute [rw] suite_definition_name
669
- # Get test suite name.
625
+ # Suite name of the test suite.
670
626
  # @return [String]
671
627
  #
672
628
  # @!attribute [rw] default_devices
673
- # Specifies the devices under test.
629
+ # Specifies the devices under test for the test suite.
674
630
  # @return [Array<Types::DeviceUnderTest>]
675
631
  #
676
632
  # @!attribute [rw] intended_for_qualification
677
- # Gets the test suites which will be used for qualification.
633
+ # Specifies if the test suite is intended for qualification.
678
634
  # @return [Boolean]
679
635
  #
680
636
  # @!attribute [rw] created_at
681
- # Gets the information of when the test suite was created.
637
+ # Date (in Unix epoch time) when the test suite was created.
682
638
  # @return [Time]
683
639
  #
684
640
  class SuiteDefinitionInformation < Struct.new(
@@ -701,10 +657,6 @@ module Aws::IoTDeviceAdvisor
701
657
  # thing_arn: "AmazonResourceName",
702
658
  # certificate_arn: "AmazonResourceName",
703
659
  # },
704
- # secondary_device: {
705
- # thing_arn: "AmazonResourceName",
706
- # certificate_arn: "AmazonResourceName",
707
- # },
708
660
  # selected_test_list: ["UUID"],
709
661
  # }
710
662
  #
@@ -712,62 +664,57 @@ module Aws::IoTDeviceAdvisor
712
664
  # Gets the primary device for suite run.
713
665
  # @return [Types::DeviceUnderTest]
714
666
  #
715
- # @!attribute [rw] secondary_device
716
- # Gets the secondary device for suite run.
717
- # @return [Types::DeviceUnderTest]
718
- #
719
667
  # @!attribute [rw] selected_test_list
720
668
  # Gets test case list.
721
669
  # @return [Array<String>]
722
670
  #
723
671
  class SuiteRunConfiguration < Struct.new(
724
672
  :primary_device,
725
- :secondary_device,
726
673
  :selected_test_list)
727
674
  SENSITIVE = []
728
675
  include Aws::Structure
729
676
  end
730
677
 
731
- # Get suite run information.
678
+ # Information about the suite run.
732
679
  #
733
680
  # @!attribute [rw] suite_definition_id
734
- # Get suite run information based on suite definition Id.
681
+ # Suite definition Id of the suite run.
735
682
  # @return [String]
736
683
  #
737
684
  # @!attribute [rw] suite_definition_version
738
- # Get suite run information based on suite definition version.
685
+ # Suite definition version of the suite run.
739
686
  # @return [String]
740
687
  #
741
688
  # @!attribute [rw] suite_definition_name
742
- # Get suite run information based on suite definition name.
689
+ # Suite definition name of the suite run.
743
690
  # @return [String]
744
691
  #
745
692
  # @!attribute [rw] suite_run_id
746
- # Get suite run information based on suite run Id.
693
+ # Suite run Id of the suite run.
747
694
  # @return [String]
748
695
  #
749
696
  # @!attribute [rw] created_at
750
- # Get suite run information based on time suite was created.
697
+ # Date (in Unix epoch time) when the suite run was created.
751
698
  # @return [Time]
752
699
  #
753
700
  # @!attribute [rw] started_at
754
- # Get suite run information based on start time of the run.
701
+ # Date (in Unix epoch time) when the suite run was started.
755
702
  # @return [Time]
756
703
  #
757
704
  # @!attribute [rw] end_at
758
- # Get suite run information based on end time of the run.
705
+ # Date (in Unix epoch time) when the suite run ended.
759
706
  # @return [Time]
760
707
  #
761
708
  # @!attribute [rw] status
762
- # Get suite run information based on test run status.
709
+ # Status of the suite run.
763
710
  # @return [String]
764
711
  #
765
712
  # @!attribute [rw] passed
766
- # Get suite run information based on result of the test suite run.
713
+ # Number of test cases that passed in the suite run.
767
714
  # @return [Integer]
768
715
  #
769
716
  # @!attribute [rw] failed
770
- # Get suite run information based on result of the test suite run.
717
+ # Number of test cases that failed in the suite run.
771
718
  # @return [Integer]
772
719
  #
773
720
  class SuiteRunInformation < Struct.new(
@@ -812,62 +759,6 @@ module Aws::IoTDeviceAdvisor
812
759
 
813
760
  class TagResourceResponse < Aws::EmptyStructure; end
814
761
 
815
- # Shows tests in a test group.
816
- #
817
- # @!attribute [rw] name
818
- # Shows test case name.
819
- # @return [String]
820
- #
821
- # @!attribute [rw] configuration
822
- # Shows test case configuration.
823
- # @return [Hash<String,String>]
824
- #
825
- # @!attribute [rw] test
826
- # Specifies a test.
827
- # @return [Types::TestCaseDefinition]
828
- #
829
- class TestCase < Struct.new(
830
- :name,
831
- :configuration,
832
- :test)
833
- SENSITIVE = []
834
- include Aws::Structure
835
- end
836
-
837
- # Gets the test case category.
838
- #
839
- # @!attribute [rw] name
840
- # Lists all the tests name in the specified category.
841
- # @return [String]
842
- #
843
- # @!attribute [rw] tests
844
- # Lists all the tests in the specified category.
845
- # @return [Array<Types::TestCase>]
846
- #
847
- class TestCaseCategory < Struct.new(
848
- :name,
849
- :tests)
850
- SENSITIVE = []
851
- include Aws::Structure
852
- end
853
-
854
- # Provides test case definition.
855
- #
856
- # @!attribute [rw] id
857
- # Provides test case definition Id.
858
- # @return [String]
859
- #
860
- # @!attribute [rw] test_case_version
861
- # Provides test case definition version.
862
- # @return [String]
863
- #
864
- class TestCaseDefinition < Struct.new(
865
- :id,
866
- :test_case_version)
867
- SENSITIVE = []
868
- include Aws::Structure
869
- end
870
-
871
762
  # Provides test case run.
872
763
  #
873
764
  # @!attribute [rw] test_case_run_id
@@ -977,7 +868,7 @@ module Aws::IoTDeviceAdvisor
977
868
  # }
978
869
  #
979
870
  # @!attribute [rw] suite_definition_id
980
- # Updates a Device Advisor test suite with suite definition id.
871
+ # Suite definition Id of the test suite to be updated.
981
872
  # @return [String]
982
873
  #
983
874
  # @!attribute [rw] suite_definition_configuration
@@ -993,29 +884,27 @@ module Aws::IoTDeviceAdvisor
993
884
  end
994
885
 
995
886
  # @!attribute [rw] suite_definition_id
996
- # Updates a Device Advisor test suite with suite UUID.
887
+ # Suite definition Id of the updated test suite.
997
888
  # @return [String]
998
889
  #
999
890
  # @!attribute [rw] suite_definition_arn
1000
- # Updates a Device Advisor test suite with Amazon Resource name.
891
+ # Amazon Resource name of the updated test suite.
1001
892
  # @return [String]
1002
893
  #
1003
894
  # @!attribute [rw] suite_definition_name
1004
- # Updates a Device Advisor test suite with suite definition name.
895
+ # Suite definition name of the updated test suite.
1005
896
  # @return [String]
1006
897
  #
1007
898
  # @!attribute [rw] suite_definition_version
1008
- # Updates a Device Advisor test suite with suite definition version.
899
+ # Suite definition version of the updated test suite.
1009
900
  # @return [String]
1010
901
  #
1011
902
  # @!attribute [rw] created_at
1012
- # Updates a Device Advisor test suite with TimeStamp of when it was
1013
- # created.
903
+ # Timestamp of when the test suite was created.
1014
904
  # @return [Time]
1015
905
  #
1016
906
  # @!attribute [rw] last_updated_at
1017
- # Updates a Device Advisor test suite with TimeStamp of when it was
1018
- # updated.
907
+ # Timestamp of when the test suite was updated.
1019
908
  # @return [Time]
1020
909
  #
1021
910
  class UpdateSuiteDefinitionResponse < Struct.new(