aws-sdk-iotdeviceadvisor 1.6.0 → 1.10.0
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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotdeviceadvisor/client.rb +136 -17
- data/lib/aws-sdk-iotdeviceadvisor/client_api.rb +23 -0
- data/lib/aws-sdk-iotdeviceadvisor/types.rb +112 -46
- data/lib/aws-sdk-iotdeviceadvisor.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d5ed19a57d9c770b99f5eff886728c1115d3b9ce2094a3fa70773e82f5e6d72
|
4
|
+
data.tar.gz: 1c0c7328e1d7228451407e2c87900124221bb73a1970d447e4945f8ddd24cfd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b88db054913a75efbb024a34d42c5e3a7017a3f417a53786f4aa04a8ececb41c3416e920382fd06311dfbe4734052bcf899f5d32d52976651d7cd0593bffddaf
|
7
|
+
data.tar.gz: f24ea309a645dcbe28968773792979b6d8dda753f9c9a8cdc81d5b8e98e30cc26efe224d6b416129cf0f1f882ba4dba571b32877fe8efebe8f938129d63cfc15
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.10.0 (2021-11-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation update for Device Advisor GetEndpoint API
|
8
|
+
|
9
|
+
1.9.0 (2021-11-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces a new feature for Device Advisor: ability to execute multiple test suites in parallel for given customer account. You can use GetEndpoint API to get the device-level test endpoint and call StartSuiteRun with "parallelRun=true" to run suites in parallel.
|
13
|
+
|
14
|
+
1.8.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.7.0 (2021-10-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.6.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
@@ -275,6 +275,15 @@ module Aws::IoTDeviceAdvisor
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -329,6 +338,12 @@ module Aws::IoTDeviceAdvisor
|
|
329
338
|
|
330
339
|
# Creates a Device Advisor test suite.
|
331
340
|
#
|
341
|
+
# Requires permission to access the [CreateSuiteDefinition][1] action.
|
342
|
+
#
|
343
|
+
#
|
344
|
+
#
|
345
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
346
|
+
#
|
332
347
|
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
333
348
|
# Creates a Device Advisor test suite with suite definition
|
334
349
|
# configuration.
|
@@ -379,8 +394,14 @@ module Aws::IoTDeviceAdvisor
|
|
379
394
|
|
380
395
|
# Deletes a Device Advisor test suite.
|
381
396
|
#
|
397
|
+
# Requires permission to access the [DeleteSuiteDefinition][1] action.
|
398
|
+
#
|
399
|
+
#
|
400
|
+
#
|
401
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
402
|
+
#
|
382
403
|
# @option params [required, String] :suite_definition_id
|
383
|
-
# Suite definition
|
404
|
+
# Suite definition ID of the test suite to be deleted.
|
384
405
|
#
|
385
406
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
386
407
|
#
|
@@ -397,10 +418,46 @@ module Aws::IoTDeviceAdvisor
|
|
397
418
|
req.send_request(options)
|
398
419
|
end
|
399
420
|
|
421
|
+
# Gets information about an Device Advisor endpoint.
|
422
|
+
#
|
423
|
+
# @option params [String] :thing_arn
|
424
|
+
# The thing ARN of the device. This is an optional parameter.
|
425
|
+
#
|
426
|
+
# @option params [String] :certificate_arn
|
427
|
+
# The certificate ARN of the device. This is an optional parameter.
|
428
|
+
#
|
429
|
+
# @return [Types::GetEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
430
|
+
#
|
431
|
+
# * {Types::GetEndpointResponse#endpoint #endpoint} => String
|
432
|
+
#
|
433
|
+
# @example Request syntax with placeholder values
|
434
|
+
#
|
435
|
+
# resp = client.get_endpoint({
|
436
|
+
# thing_arn: "AmazonResourceName",
|
437
|
+
# certificate_arn: "AmazonResourceName",
|
438
|
+
# })
|
439
|
+
#
|
440
|
+
# @example Response structure
|
441
|
+
#
|
442
|
+
# resp.endpoint #=> String
|
443
|
+
#
|
444
|
+
# @overload get_endpoint(params = {})
|
445
|
+
# @param [Hash] params ({})
|
446
|
+
def get_endpoint(params = {}, options = {})
|
447
|
+
req = build_request(:get_endpoint, params)
|
448
|
+
req.send_request(options)
|
449
|
+
end
|
450
|
+
|
400
451
|
# Gets information about a Device Advisor test suite.
|
401
452
|
#
|
453
|
+
# Requires permission to access the [GetSuiteDefinition][1] action.
|
454
|
+
#
|
455
|
+
#
|
456
|
+
#
|
457
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
458
|
+
#
|
402
459
|
# @option params [required, String] :suite_definition_id
|
403
|
-
# Suite definition
|
460
|
+
# Suite definition ID of the test suite to get.
|
404
461
|
#
|
405
462
|
# @option params [String] :suite_definition_version
|
406
463
|
# Suite definition version of the test suite to get.
|
@@ -450,11 +507,17 @@ module Aws::IoTDeviceAdvisor
|
|
450
507
|
|
451
508
|
# Gets information about a Device Advisor test suite run.
|
452
509
|
#
|
510
|
+
# Requires permission to access the [GetSuiteRun][1] action.
|
511
|
+
#
|
512
|
+
#
|
513
|
+
#
|
514
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
515
|
+
#
|
453
516
|
# @option params [required, String] :suite_definition_id
|
454
|
-
# Suite definition
|
517
|
+
# Suite definition ID for the test suite run.
|
455
518
|
#
|
456
519
|
# @option params [required, String] :suite_run_id
|
457
|
-
# Suite run
|
520
|
+
# Suite run ID for the test suite run.
|
458
521
|
#
|
459
522
|
# @return [Types::GetSuiteRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
460
523
|
#
|
@@ -487,6 +550,7 @@ module Aws::IoTDeviceAdvisor
|
|
487
550
|
# resp.suite_run_configuration.primary_device.certificate_arn #=> String
|
488
551
|
# resp.suite_run_configuration.selected_test_list #=> Array
|
489
552
|
# resp.suite_run_configuration.selected_test_list[0] #=> String
|
553
|
+
# resp.suite_run_configuration.parallel_run #=> Boolean
|
490
554
|
# resp.test_result.groups #=> Array
|
491
555
|
# resp.test_result.groups[0].group_id #=> String
|
492
556
|
# resp.test_result.groups[0].group_name #=> String
|
@@ -517,11 +581,17 @@ module Aws::IoTDeviceAdvisor
|
|
517
581
|
# Gets a report download link for a successful Device Advisor qualifying
|
518
582
|
# test suite run.
|
519
583
|
#
|
584
|
+
# Requires permission to access the [GetSuiteRunReport][1] action.
|
585
|
+
#
|
586
|
+
#
|
587
|
+
#
|
588
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
589
|
+
#
|
520
590
|
# @option params [required, String] :suite_definition_id
|
521
|
-
# Suite definition
|
591
|
+
# Suite definition ID of the test suite.
|
522
592
|
#
|
523
593
|
# @option params [required, String] :suite_run_id
|
524
|
-
# Suite run
|
594
|
+
# Suite run ID of the test suite run.
|
525
595
|
#
|
526
596
|
# @return [Types::GetSuiteRunReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
527
597
|
#
|
@@ -547,6 +617,12 @@ module Aws::IoTDeviceAdvisor
|
|
547
617
|
|
548
618
|
# Lists the Device Advisor test suites you have created.
|
549
619
|
#
|
620
|
+
# Requires permission to access the [ListSuiteDefinitions][1] action.
|
621
|
+
#
|
622
|
+
#
|
623
|
+
#
|
624
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
625
|
+
#
|
550
626
|
# @option params [Integer] :max_results
|
551
627
|
# The maximum number of results to return at once.
|
552
628
|
#
|
@@ -586,17 +662,23 @@ module Aws::IoTDeviceAdvisor
|
|
586
662
|
req.send_request(options)
|
587
663
|
end
|
588
664
|
|
589
|
-
# Lists
|
590
|
-
#
|
591
|
-
#
|
665
|
+
# Lists runs of the specified Device Advisor test suite. You can list
|
666
|
+
# all runs of the test suite, or the runs of a specific version of the
|
667
|
+
# test suite.
|
668
|
+
#
|
669
|
+
# Requires permission to access the [ListSuiteRuns][1] action.
|
670
|
+
#
|
671
|
+
#
|
672
|
+
#
|
673
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
592
674
|
#
|
593
675
|
# @option params [String] :suite_definition_id
|
594
676
|
# Lists the test suite runs of the specified test suite based on suite
|
595
|
-
# definition
|
677
|
+
# definition ID.
|
596
678
|
#
|
597
679
|
# @option params [String] :suite_definition_version
|
598
|
-
# Must be passed along with suiteDefinitionId
|
599
|
-
# of the specified test suite based on suite definition version.
|
680
|
+
# Must be passed along with `suiteDefinitionId`. Lists the test suite
|
681
|
+
# runs of the specified test suite based on suite definition version.
|
600
682
|
#
|
601
683
|
# @option params [Integer] :max_results
|
602
684
|
# The maximum number of results to return at once.
|
@@ -644,6 +726,12 @@ module Aws::IoTDeviceAdvisor
|
|
644
726
|
|
645
727
|
# Lists the tags attached to an IoT Device Advisor resource.
|
646
728
|
#
|
729
|
+
# Requires permission to access the [ListTagsForResource][1] action.
|
730
|
+
#
|
731
|
+
#
|
732
|
+
#
|
733
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
734
|
+
#
|
647
735
|
# @option params [required, String] :resource_arn
|
648
736
|
# The ARN of the IoT Device Advisor resource.
|
649
737
|
#
|
@@ -671,8 +759,14 @@ module Aws::IoTDeviceAdvisor
|
|
671
759
|
|
672
760
|
# Starts a Device Advisor test suite run.
|
673
761
|
#
|
762
|
+
# Requires permission to access the [StartSuiteRun][1] action.
|
763
|
+
#
|
764
|
+
#
|
765
|
+
#
|
766
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
767
|
+
#
|
674
768
|
# @option params [required, String] :suite_definition_id
|
675
|
-
# Suite definition
|
769
|
+
# Suite definition ID of the test suite.
|
676
770
|
#
|
677
771
|
# @option params [String] :suite_definition_version
|
678
772
|
# Suite definition version of the test suite.
|
@@ -700,6 +794,7 @@ module Aws::IoTDeviceAdvisor
|
|
700
794
|
# certificate_arn: "AmazonResourceName",
|
701
795
|
# },
|
702
796
|
# selected_test_list: ["UUID"],
|
797
|
+
# parallel_run: false,
|
703
798
|
# },
|
704
799
|
# tags: {
|
705
800
|
# "String128" => "String256",
|
@@ -721,11 +816,17 @@ module Aws::IoTDeviceAdvisor
|
|
721
816
|
|
722
817
|
# Stops a Device Advisor test suite run that is currently running.
|
723
818
|
#
|
819
|
+
# Requires permission to access the [StopSuiteRun][1] action.
|
820
|
+
#
|
821
|
+
#
|
822
|
+
#
|
823
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
824
|
+
#
|
724
825
|
# @option params [required, String] :suite_definition_id
|
725
|
-
# Suite definition
|
826
|
+
# Suite definition ID of the test suite run to be stopped.
|
726
827
|
#
|
727
828
|
# @option params [required, String] :suite_run_id
|
728
|
-
# Suite run
|
829
|
+
# Suite run ID of the test suite run to be stopped.
|
729
830
|
#
|
730
831
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
731
832
|
#
|
@@ -745,6 +846,12 @@ module Aws::IoTDeviceAdvisor
|
|
745
846
|
|
746
847
|
# Adds to and modifies existing tags of an IoT Device Advisor resource.
|
747
848
|
#
|
849
|
+
# Requires permission to access the [TagResource][1] action.
|
850
|
+
#
|
851
|
+
#
|
852
|
+
#
|
853
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
854
|
+
#
|
748
855
|
# @option params [required, String] :resource_arn
|
749
856
|
# The resource ARN of an IoT Device Advisor resource.
|
750
857
|
#
|
@@ -771,6 +878,12 @@ module Aws::IoTDeviceAdvisor
|
|
771
878
|
|
772
879
|
# Removes tags from an IoT Device Advisor resource.
|
773
880
|
#
|
881
|
+
# Requires permission to access the [UntagResource][1] action.
|
882
|
+
#
|
883
|
+
#
|
884
|
+
#
|
885
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
886
|
+
#
|
774
887
|
# @option params [required, String] :resource_arn
|
775
888
|
# The resource ARN of an IoT Device Advisor resource.
|
776
889
|
#
|
@@ -795,8 +908,14 @@ module Aws::IoTDeviceAdvisor
|
|
795
908
|
|
796
909
|
# Updates a Device Advisor test suite.
|
797
910
|
#
|
911
|
+
# Requires permission to access the [UpdateSuiteDefinition][1] action.
|
912
|
+
#
|
913
|
+
#
|
914
|
+
#
|
915
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
916
|
+
#
|
798
917
|
# @option params [required, String] :suite_definition_id
|
799
|
-
# Suite definition
|
918
|
+
# Suite definition ID of the test suite to be updated.
|
800
919
|
#
|
801
920
|
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
802
921
|
# Updates a Device Advisor test suite with suite definition
|
@@ -858,7 +977,7 @@ module Aws::IoTDeviceAdvisor
|
|
858
977
|
params: params,
|
859
978
|
config: config)
|
860
979
|
context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
|
861
|
-
context[:gem_version] = '1.
|
980
|
+
context[:gem_version] = '1.10.0'
|
862
981
|
Seahorse::Client::Request.new(handlers, context)
|
863
982
|
end
|
864
983
|
|
@@ -21,8 +21,11 @@ module Aws::IoTDeviceAdvisor
|
|
21
21
|
DeleteSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteSuiteDefinitionResponse')
|
22
22
|
DeviceUnderTest = Shapes::StructureShape.new(name: 'DeviceUnderTest')
|
23
23
|
DeviceUnderTestList = Shapes::ListShape.new(name: 'DeviceUnderTestList')
|
24
|
+
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
24
25
|
ErrorReason = Shapes::StringShape.new(name: 'ErrorReason')
|
25
26
|
Failure = Shapes::StringShape.new(name: 'Failure')
|
27
|
+
GetEndpointRequest = Shapes::StructureShape.new(name: 'GetEndpointRequest')
|
28
|
+
GetEndpointResponse = Shapes::StructureShape.new(name: 'GetEndpointResponse')
|
26
29
|
GetSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'GetSuiteDefinitionRequest')
|
27
30
|
GetSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'GetSuiteDefinitionResponse')
|
28
31
|
GetSuiteRunReportRequest = Shapes::StructureShape.new(name: 'GetSuiteRunReportRequest')
|
@@ -43,6 +46,7 @@ module Aws::IoTDeviceAdvisor
|
|
43
46
|
LogUrl = Shapes::StringShape.new(name: 'LogUrl')
|
44
47
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
45
48
|
Message = Shapes::StringShape.new(name: 'Message')
|
49
|
+
ParallelRun = Shapes::BooleanShape.new(name: 'ParallelRun')
|
46
50
|
QualificationReportDownloadUrl = Shapes::StringShape.new(name: 'QualificationReportDownloadUrl')
|
47
51
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
48
52
|
RootGroup = Shapes::StringShape.new(name: 'RootGroup')
|
@@ -106,6 +110,13 @@ module Aws::IoTDeviceAdvisor
|
|
106
110
|
|
107
111
|
DeviceUnderTestList.member = Shapes::ShapeRef.new(shape: DeviceUnderTest)
|
108
112
|
|
113
|
+
GetEndpointRequest.add_member(:thing_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location: "querystring", location_name: "thingArn"))
|
114
|
+
GetEndpointRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location: "querystring", location_name: "certificateArn"))
|
115
|
+
GetEndpointRequest.struct_class = Types::GetEndpointRequest
|
116
|
+
|
117
|
+
GetEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
|
118
|
+
GetEndpointResponse.struct_class = Types::GetEndpointResponse
|
119
|
+
|
109
120
|
GetSuiteDefinitionRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
|
110
121
|
GetSuiteDefinitionRequest.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location: "querystring", location_name: "suiteDefinitionVersion"))
|
111
122
|
GetSuiteDefinitionRequest.struct_class = Types::GetSuiteDefinitionRequest
|
@@ -218,6 +229,7 @@ module Aws::IoTDeviceAdvisor
|
|
218
229
|
|
219
230
|
SuiteRunConfiguration.add_member(:primary_device, Shapes::ShapeRef.new(shape: DeviceUnderTest, location_name: "primaryDevice"))
|
220
231
|
SuiteRunConfiguration.add_member(:selected_test_list, Shapes::ShapeRef.new(shape: SelectedTestList, location_name: "selectedTestList"))
|
232
|
+
SuiteRunConfiguration.add_member(:parallel_run, Shapes::ShapeRef.new(shape: ParallelRun, location_name: "parallelRun"))
|
221
233
|
SuiteRunConfiguration.struct_class = Types::SuiteRunConfiguration
|
222
234
|
|
223
235
|
SuiteRunInformation.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
|
@@ -321,6 +333,17 @@ module Aws::IoTDeviceAdvisor
|
|
321
333
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
322
334
|
end)
|
323
335
|
|
336
|
+
api.add_operation(:get_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
337
|
+
o.name = "GetEndpoint"
|
338
|
+
o.http_method = "GET"
|
339
|
+
o.http_request_uri = "/endpoint"
|
340
|
+
o.input = Shapes::ShapeRef.new(shape: GetEndpointRequest)
|
341
|
+
o.output = Shapes::ShapeRef.new(shape: GetEndpointResponse)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
345
|
+
end)
|
346
|
+
|
324
347
|
api.add_operation(:get_suite_definition, Seahorse::Model::Operation.new.tap do |o|
|
325
348
|
o.name = "GetSuiteDefinition"
|
326
349
|
o.http_method = "GET"
|
@@ -10,10 +10,10 @@
|
|
10
10
|
module Aws::IoTDeviceAdvisor
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Sends Conflict Exception.
|
13
|
+
# Sends a Conflict Exception.
|
14
14
|
#
|
15
15
|
# @!attribute [rw] message
|
16
|
-
# Sends Conflict Exception message.
|
16
|
+
# Sends a Conflict Exception message.
|
17
17
|
# @return [String]
|
18
18
|
#
|
19
19
|
class ConflictException < Struct.new(
|
@@ -64,7 +64,7 @@ module Aws::IoTDeviceAdvisor
|
|
64
64
|
# @return [String]
|
65
65
|
#
|
66
66
|
# @!attribute [rw] suite_definition_arn
|
67
|
-
# Creates a Device Advisor test suite with Amazon Resource
|
67
|
+
# Creates a Device Advisor test suite with Amazon Resource Name (ARN).
|
68
68
|
# @return [String]
|
69
69
|
#
|
70
70
|
# @!attribute [rw] suite_definition_name
|
@@ -93,7 +93,7 @@ module Aws::IoTDeviceAdvisor
|
|
93
93
|
# }
|
94
94
|
#
|
95
95
|
# @!attribute [rw] suite_definition_id
|
96
|
-
# Suite definition
|
96
|
+
# Suite definition ID of the test suite to be deleted.
|
97
97
|
# @return [String]
|
98
98
|
#
|
99
99
|
class DeleteSuiteDefinitionRequest < Struct.new(
|
@@ -104,7 +104,8 @@ module Aws::IoTDeviceAdvisor
|
|
104
104
|
|
105
105
|
class DeleteSuiteDefinitionResponse < Aws::EmptyStructure; end
|
106
106
|
|
107
|
-
#
|
107
|
+
# Information of a test device. A thing ARN or a certificate ARN is
|
108
|
+
# required.
|
108
109
|
#
|
109
110
|
# @note When making an API call, you may pass DeviceUnderTest
|
110
111
|
# data as a hash:
|
@@ -115,11 +116,11 @@ module Aws::IoTDeviceAdvisor
|
|
115
116
|
# }
|
116
117
|
#
|
117
118
|
# @!attribute [rw] thing_arn
|
118
|
-
# Lists devices thing
|
119
|
+
# Lists devices thing ARN.
|
119
120
|
# @return [String]
|
120
121
|
#
|
121
122
|
# @!attribute [rw] certificate_arn
|
122
|
-
# Lists devices certificate
|
123
|
+
# Lists devices certificate ARN.
|
123
124
|
# @return [String]
|
124
125
|
#
|
125
126
|
class DeviceUnderTest < Struct.new(
|
@@ -129,6 +130,39 @@ module Aws::IoTDeviceAdvisor
|
|
129
130
|
include Aws::Structure
|
130
131
|
end
|
131
132
|
|
133
|
+
# @note When making an API call, you may pass GetEndpointRequest
|
134
|
+
# data as a hash:
|
135
|
+
#
|
136
|
+
# {
|
137
|
+
# thing_arn: "AmazonResourceName",
|
138
|
+
# certificate_arn: "AmazonResourceName",
|
139
|
+
# }
|
140
|
+
#
|
141
|
+
# @!attribute [rw] thing_arn
|
142
|
+
# The thing ARN of the device. This is an optional parameter.
|
143
|
+
# @return [String]
|
144
|
+
#
|
145
|
+
# @!attribute [rw] certificate_arn
|
146
|
+
# The certificate ARN of the device. This is an optional parameter.
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
class GetEndpointRequest < Struct.new(
|
150
|
+
:thing_arn,
|
151
|
+
:certificate_arn)
|
152
|
+
SENSITIVE = []
|
153
|
+
include Aws::Structure
|
154
|
+
end
|
155
|
+
|
156
|
+
# @!attribute [rw] endpoint
|
157
|
+
# The response of an Device Advisor endpoint.
|
158
|
+
# @return [String]
|
159
|
+
#
|
160
|
+
class GetEndpointResponse < Struct.new(
|
161
|
+
:endpoint)
|
162
|
+
SENSITIVE = []
|
163
|
+
include Aws::Structure
|
164
|
+
end
|
165
|
+
|
132
166
|
# @note When making an API call, you may pass GetSuiteDefinitionRequest
|
133
167
|
# data as a hash:
|
134
168
|
#
|
@@ -138,7 +172,7 @@ module Aws::IoTDeviceAdvisor
|
|
138
172
|
# }
|
139
173
|
#
|
140
174
|
# @!attribute [rw] suite_definition_id
|
141
|
-
# Suite definition
|
175
|
+
# Suite definition ID of the test suite to get.
|
142
176
|
# @return [String]
|
143
177
|
#
|
144
178
|
# @!attribute [rw] suite_definition_version
|
@@ -153,7 +187,7 @@ module Aws::IoTDeviceAdvisor
|
|
153
187
|
end
|
154
188
|
|
155
189
|
# @!attribute [rw] suite_definition_id
|
156
|
-
# Suite definition
|
190
|
+
# Suite definition ID of the suite definition.
|
157
191
|
# @return [String]
|
158
192
|
#
|
159
193
|
# @!attribute [rw] suite_definition_arn
|
@@ -207,11 +241,11 @@ module Aws::IoTDeviceAdvisor
|
|
207
241
|
# }
|
208
242
|
#
|
209
243
|
# @!attribute [rw] suite_definition_id
|
210
|
-
# Suite definition
|
244
|
+
# Suite definition ID of the test suite.
|
211
245
|
# @return [String]
|
212
246
|
#
|
213
247
|
# @!attribute [rw] suite_run_id
|
214
|
-
# Suite run
|
248
|
+
# Suite run ID of the test suite run.
|
215
249
|
# @return [String]
|
216
250
|
#
|
217
251
|
class GetSuiteRunReportRequest < Struct.new(
|
@@ -240,11 +274,11 @@ module Aws::IoTDeviceAdvisor
|
|
240
274
|
# }
|
241
275
|
#
|
242
276
|
# @!attribute [rw] suite_definition_id
|
243
|
-
# Suite definition
|
277
|
+
# Suite definition ID for the test suite run.
|
244
278
|
# @return [String]
|
245
279
|
#
|
246
280
|
# @!attribute [rw] suite_run_id
|
247
|
-
# Suite run
|
281
|
+
# Suite run ID for the test suite run.
|
248
282
|
# @return [String]
|
249
283
|
#
|
250
284
|
class GetSuiteRunRequest < Struct.new(
|
@@ -255,7 +289,7 @@ module Aws::IoTDeviceAdvisor
|
|
255
289
|
end
|
256
290
|
|
257
291
|
# @!attribute [rw] suite_definition_id
|
258
|
-
# Suite definition
|
292
|
+
# Suite definition ID for the test suite run.
|
259
293
|
# @return [String]
|
260
294
|
#
|
261
295
|
# @!attribute [rw] suite_definition_version
|
@@ -263,7 +297,7 @@ module Aws::IoTDeviceAdvisor
|
|
263
297
|
# @return [String]
|
264
298
|
#
|
265
299
|
# @!attribute [rw] suite_run_id
|
266
|
-
# Suite run
|
300
|
+
# Suite run ID for the test suite run.
|
267
301
|
# @return [String]
|
268
302
|
#
|
269
303
|
# @!attribute [rw] suite_run_arn
|
@@ -279,7 +313,7 @@ module Aws::IoTDeviceAdvisor
|
|
279
313
|
# @return [Types::TestResult]
|
280
314
|
#
|
281
315
|
# @!attribute [rw] start_time
|
282
|
-
# Date (in Unix epoch time) when the test suite run
|
316
|
+
# Date (in Unix epoch time) when the test suite run started.
|
283
317
|
# @return [Time]
|
284
318
|
#
|
285
319
|
# @!attribute [rw] end_time
|
@@ -317,7 +351,7 @@ module Aws::IoTDeviceAdvisor
|
|
317
351
|
# Show Group Result.
|
318
352
|
#
|
319
353
|
# @!attribute [rw] group_id
|
320
|
-
# Group result
|
354
|
+
# Group result ID.
|
321
355
|
# @return [String]
|
322
356
|
#
|
323
357
|
# @!attribute [rw] group_name
|
@@ -336,10 +370,10 @@ module Aws::IoTDeviceAdvisor
|
|
336
370
|
include Aws::Structure
|
337
371
|
end
|
338
372
|
|
339
|
-
# Sends Internal Failure
|
373
|
+
# Sends an Internal Failure exception.
|
340
374
|
#
|
341
375
|
# @!attribute [rw] message
|
342
|
-
# Sends Internal Failure Exception message.
|
376
|
+
# Sends an Internal Failure Exception message.
|
343
377
|
# @return [String]
|
344
378
|
#
|
345
379
|
class InternalServerException < Struct.new(
|
@@ -399,11 +433,11 @@ module Aws::IoTDeviceAdvisor
|
|
399
433
|
#
|
400
434
|
# @!attribute [rw] suite_definition_id
|
401
435
|
# Lists the test suite runs of the specified test suite based on suite
|
402
|
-
# definition
|
436
|
+
# definition ID.
|
403
437
|
# @return [String]
|
404
438
|
#
|
405
439
|
# @!attribute [rw] suite_definition_version
|
406
|
-
# Must be passed along with suiteDefinitionId
|
440
|
+
# Must be passed along with `suiteDefinitionId`. Lists the test suite
|
407
441
|
# runs of the specified test suite based on suite definition version.
|
408
442
|
# @return [String]
|
409
443
|
#
|
@@ -467,10 +501,10 @@ module Aws::IoTDeviceAdvisor
|
|
467
501
|
include Aws::Structure
|
468
502
|
end
|
469
503
|
|
470
|
-
# Sends Resource Not Found
|
504
|
+
# Sends a Resource Not Found exception.
|
471
505
|
#
|
472
506
|
# @!attribute [rw] message
|
473
|
-
# Sends Resource Not Found Exception message.
|
507
|
+
# Sends a Resource Not Found Exception message.
|
474
508
|
# @return [String]
|
475
509
|
#
|
476
510
|
class ResourceNotFoundException < Struct.new(
|
@@ -491,6 +525,7 @@ module Aws::IoTDeviceAdvisor
|
|
491
525
|
# certificate_arn: "AmazonResourceName",
|
492
526
|
# },
|
493
527
|
# selected_test_list: ["UUID"],
|
528
|
+
# parallel_run: false,
|
494
529
|
# },
|
495
530
|
# tags: {
|
496
531
|
# "String128" => "String256",
|
@@ -498,7 +533,7 @@ module Aws::IoTDeviceAdvisor
|
|
498
533
|
# }
|
499
534
|
#
|
500
535
|
# @!attribute [rw] suite_definition_id
|
501
|
-
# Suite definition
|
536
|
+
# Suite definition ID of the test suite.
|
502
537
|
# @return [String]
|
503
538
|
#
|
504
539
|
# @!attribute [rw] suite_definition_version
|
@@ -523,15 +558,15 @@ module Aws::IoTDeviceAdvisor
|
|
523
558
|
end
|
524
559
|
|
525
560
|
# @!attribute [rw] suite_run_id
|
526
|
-
# Suite Run
|
561
|
+
# Suite Run ID of the started suite run.
|
527
562
|
# @return [String]
|
528
563
|
#
|
529
564
|
# @!attribute [rw] suite_run_arn
|
530
|
-
# Amazon
|
565
|
+
# Amazon Resource Name (ARN) of the started suite run.
|
531
566
|
# @return [String]
|
532
567
|
#
|
533
568
|
# @!attribute [rw] created_at
|
534
|
-
#
|
569
|
+
# Starts a Device Advisor test suite run based on suite create time.
|
535
570
|
# @return [Time]
|
536
571
|
#
|
537
572
|
class StartSuiteRunResponse < Struct.new(
|
@@ -551,11 +586,11 @@ module Aws::IoTDeviceAdvisor
|
|
551
586
|
# }
|
552
587
|
#
|
553
588
|
# @!attribute [rw] suite_definition_id
|
554
|
-
# Suite definition
|
589
|
+
# Suite definition ID of the test suite run to be stopped.
|
555
590
|
# @return [String]
|
556
591
|
#
|
557
592
|
# @!attribute [rw] suite_run_id
|
558
|
-
# Suite run
|
593
|
+
# Suite run ID of the test suite run to be stopped.
|
559
594
|
# @return [String]
|
560
595
|
#
|
561
596
|
class StopSuiteRunRequest < Struct.new(
|
@@ -602,7 +637,7 @@ module Aws::IoTDeviceAdvisor
|
|
602
637
|
# @return [String]
|
603
638
|
#
|
604
639
|
# @!attribute [rw] device_permission_role_arn
|
605
|
-
# Gets device permission
|
640
|
+
# Gets the device permission ARN.
|
606
641
|
# @return [String]
|
607
642
|
#
|
608
643
|
class SuiteDefinitionConfiguration < Struct.new(
|
@@ -618,7 +653,7 @@ module Aws::IoTDeviceAdvisor
|
|
618
653
|
# Information about the suite definition.
|
619
654
|
#
|
620
655
|
# @!attribute [rw] suite_definition_id
|
621
|
-
# Suite definition
|
656
|
+
# Suite definition ID of the test suite.
|
622
657
|
# @return [String]
|
623
658
|
#
|
624
659
|
# @!attribute [rw] suite_definition_name
|
@@ -626,7 +661,7 @@ module Aws::IoTDeviceAdvisor
|
|
626
661
|
# @return [String]
|
627
662
|
#
|
628
663
|
# @!attribute [rw] default_devices
|
629
|
-
# Specifies the devices under test for the test suite.
|
664
|
+
# Specifies the devices that are under test for the test suite.
|
630
665
|
# @return [Array<Types::DeviceUnderTest>]
|
631
666
|
#
|
632
667
|
# @!attribute [rw] intended_for_qualification
|
@@ -658,6 +693,7 @@ module Aws::IoTDeviceAdvisor
|
|
658
693
|
# certificate_arn: "AmazonResourceName",
|
659
694
|
# },
|
660
695
|
# selected_test_list: ["UUID"],
|
696
|
+
# parallel_run: false,
|
661
697
|
# }
|
662
698
|
#
|
663
699
|
# @!attribute [rw] primary_device
|
@@ -668,17 +704,28 @@ module Aws::IoTDeviceAdvisor
|
|
668
704
|
# Gets test case list.
|
669
705
|
# @return [Array<String>]
|
670
706
|
#
|
707
|
+
# @!attribute [rw] parallel_run
|
708
|
+
# TRUE if multiple test suites run in parallel.
|
709
|
+
# @return [Boolean]
|
710
|
+
#
|
671
711
|
class SuiteRunConfiguration < Struct.new(
|
672
712
|
:primary_device,
|
673
|
-
:selected_test_list
|
713
|
+
:selected_test_list,
|
714
|
+
:parallel_run)
|
674
715
|
SENSITIVE = []
|
675
716
|
include Aws::Structure
|
676
717
|
end
|
677
718
|
|
678
719
|
# Information about the suite run.
|
679
720
|
#
|
721
|
+
# Requires permission to access the [SuiteRunInformation][1] action.
|
722
|
+
#
|
723
|
+
#
|
724
|
+
#
|
725
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
726
|
+
#
|
680
727
|
# @!attribute [rw] suite_definition_id
|
681
|
-
# Suite definition
|
728
|
+
# Suite definition ID of the suite run.
|
682
729
|
# @return [String]
|
683
730
|
#
|
684
731
|
# @!attribute [rw] suite_definition_version
|
@@ -690,7 +737,7 @@ module Aws::IoTDeviceAdvisor
|
|
690
737
|
# @return [String]
|
691
738
|
#
|
692
739
|
# @!attribute [rw] suite_run_id
|
693
|
-
# Suite run
|
740
|
+
# Suite run ID of the suite run.
|
694
741
|
# @return [String]
|
695
742
|
#
|
696
743
|
# @!attribute [rw] created_at
|
@@ -759,22 +806,41 @@ module Aws::IoTDeviceAdvisor
|
|
759
806
|
|
760
807
|
class TagResourceResponse < Aws::EmptyStructure; end
|
761
808
|
|
762
|
-
# Provides test case run.
|
809
|
+
# Provides the test case run.
|
763
810
|
#
|
764
811
|
# @!attribute [rw] test_case_run_id
|
765
|
-
# Provides test case run
|
812
|
+
# Provides the test case run ID.
|
766
813
|
# @return [String]
|
767
814
|
#
|
768
815
|
# @!attribute [rw] test_case_definition_id
|
769
|
-
# Provides test case run definition
|
816
|
+
# Provides the test case run definition ID.
|
770
817
|
# @return [String]
|
771
818
|
#
|
772
819
|
# @!attribute [rw] test_case_definition_name
|
773
|
-
# Provides test case run definition
|
820
|
+
# Provides the test case run definition name.
|
774
821
|
# @return [String]
|
775
822
|
#
|
776
823
|
# @!attribute [rw] status
|
777
|
-
# Provides test case run status.
|
824
|
+
# Provides the test case run status. Status is one of the following:
|
825
|
+
#
|
826
|
+
# * `PASS`\: Test passed.
|
827
|
+
#
|
828
|
+
# * `FAIL`\: Test failed.
|
829
|
+
#
|
830
|
+
# * `PENDING`\: Test has not started running but is scheduled.
|
831
|
+
#
|
832
|
+
# * `RUNNING`\: Test is running.
|
833
|
+
#
|
834
|
+
# * `STOPPING`\: Test is performing cleanup steps. You will see this
|
835
|
+
# status only if you stop a suite run.
|
836
|
+
#
|
837
|
+
# * `STOPPED` Test is stopped. You will see this status only if you
|
838
|
+
# stop a suite run.
|
839
|
+
#
|
840
|
+
# * `PASS_WITH_WARNINGS`\: Test passed with warnings.
|
841
|
+
#
|
842
|
+
# * `ERORR`\: Test faced an error when running due to an internal
|
843
|
+
# issue.
|
778
844
|
# @return [String]
|
779
845
|
#
|
780
846
|
# @!attribute [rw] start_time
|
@@ -786,7 +852,7 @@ module Aws::IoTDeviceAdvisor
|
|
786
852
|
# @return [Time]
|
787
853
|
#
|
788
854
|
# @!attribute [rw] log_url
|
789
|
-
# Provides test case run log
|
855
|
+
# Provides test case run log URL.
|
790
856
|
# @return [String]
|
791
857
|
#
|
792
858
|
# @!attribute [rw] warnings
|
@@ -868,7 +934,7 @@ module Aws::IoTDeviceAdvisor
|
|
868
934
|
# }
|
869
935
|
#
|
870
936
|
# @!attribute [rw] suite_definition_id
|
871
|
-
# Suite definition
|
937
|
+
# Suite definition ID of the test suite to be updated.
|
872
938
|
# @return [String]
|
873
939
|
#
|
874
940
|
# @!attribute [rw] suite_definition_configuration
|
@@ -884,11 +950,11 @@ module Aws::IoTDeviceAdvisor
|
|
884
950
|
end
|
885
951
|
|
886
952
|
# @!attribute [rw] suite_definition_id
|
887
|
-
# Suite definition
|
953
|
+
# Suite definition ID of the updated test suite.
|
888
954
|
# @return [String]
|
889
955
|
#
|
890
956
|
# @!attribute [rw] suite_definition_arn
|
891
|
-
# Amazon Resource
|
957
|
+
# Amazon Resource Name (ARN) of the updated test suite.
|
892
958
|
# @return [String]
|
893
959
|
#
|
894
960
|
# @!attribute [rw] suite_definition_name
|
@@ -918,10 +984,10 @@ module Aws::IoTDeviceAdvisor
|
|
918
984
|
include Aws::Structure
|
919
985
|
end
|
920
986
|
|
921
|
-
# Sends
|
987
|
+
# Sends a validation exception.
|
922
988
|
#
|
923
989
|
# @!attribute [rw] message
|
924
|
-
# Sends
|
990
|
+
# Sends a Validation Exception message.
|
925
991
|
# @return [String]
|
926
992
|
#
|
927
993
|
class ValidationException < Struct.new(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotdeviceadvisor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.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: 2021-
|
11
|
+
date: 2021-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|