aws-sdk-iotdeviceadvisor 1.7.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotdeviceadvisor/client.rb +139 -18
- 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: 95f86e67e9992595cec6997e868b320a08b37c0a8dbbdde771869a84bf4090b2
|
4
|
+
data.tar.gz: a33f156674ce75fff257b121fae35d077660e18a1247eceb19fe9b86349ce507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb90be607389660e6850fda4cdb0b5ee34c7af08a659abd1dca4fb663736e2daf138e42e918a24831c8efe623cf2b0bd5a8e86492a9af1596e83935f50a9465d
|
7
|
+
data.tar.gz: 88b9aef2b7df0f3654abf0faad213d538fe42dea86b624e21b8ee3f87242af00f84ae1ecc2b016a0d8c0e55ca8f501df5e70be4062f6ceaff898e8f499747998
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.10.0 (2021-11-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation update for Device Advisor GetEndpoint API
|
13
|
+
|
14
|
+
1.9.0 (2021-11-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.8.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.7.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -119,7 +119,9 @@ module Aws::IoTDeviceAdvisor
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::IoTDeviceAdvisor
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -329,6 +340,12 @@ module Aws::IoTDeviceAdvisor
|
|
329
340
|
|
330
341
|
# Creates a Device Advisor test suite.
|
331
342
|
#
|
343
|
+
# Requires permission to access the [CreateSuiteDefinition][1] action.
|
344
|
+
#
|
345
|
+
#
|
346
|
+
#
|
347
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
348
|
+
#
|
332
349
|
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
333
350
|
# Creates a Device Advisor test suite with suite definition
|
334
351
|
# configuration.
|
@@ -379,8 +396,14 @@ module Aws::IoTDeviceAdvisor
|
|
379
396
|
|
380
397
|
# Deletes a Device Advisor test suite.
|
381
398
|
#
|
399
|
+
# Requires permission to access the [DeleteSuiteDefinition][1] action.
|
400
|
+
#
|
401
|
+
#
|
402
|
+
#
|
403
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
404
|
+
#
|
382
405
|
# @option params [required, String] :suite_definition_id
|
383
|
-
# Suite definition
|
406
|
+
# Suite definition ID of the test suite to be deleted.
|
384
407
|
#
|
385
408
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
386
409
|
#
|
@@ -397,10 +420,46 @@ module Aws::IoTDeviceAdvisor
|
|
397
420
|
req.send_request(options)
|
398
421
|
end
|
399
422
|
|
423
|
+
# Gets information about an Device Advisor endpoint.
|
424
|
+
#
|
425
|
+
# @option params [String] :thing_arn
|
426
|
+
# The thing ARN of the device. This is an optional parameter.
|
427
|
+
#
|
428
|
+
# @option params [String] :certificate_arn
|
429
|
+
# The certificate ARN of the device. This is an optional parameter.
|
430
|
+
#
|
431
|
+
# @return [Types::GetEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
432
|
+
#
|
433
|
+
# * {Types::GetEndpointResponse#endpoint #endpoint} => String
|
434
|
+
#
|
435
|
+
# @example Request syntax with placeholder values
|
436
|
+
#
|
437
|
+
# resp = client.get_endpoint({
|
438
|
+
# thing_arn: "AmazonResourceName",
|
439
|
+
# certificate_arn: "AmazonResourceName",
|
440
|
+
# })
|
441
|
+
#
|
442
|
+
# @example Response structure
|
443
|
+
#
|
444
|
+
# resp.endpoint #=> String
|
445
|
+
#
|
446
|
+
# @overload get_endpoint(params = {})
|
447
|
+
# @param [Hash] params ({})
|
448
|
+
def get_endpoint(params = {}, options = {})
|
449
|
+
req = build_request(:get_endpoint, params)
|
450
|
+
req.send_request(options)
|
451
|
+
end
|
452
|
+
|
400
453
|
# Gets information about a Device Advisor test suite.
|
401
454
|
#
|
455
|
+
# Requires permission to access the [GetSuiteDefinition][1] action.
|
456
|
+
#
|
457
|
+
#
|
458
|
+
#
|
459
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
460
|
+
#
|
402
461
|
# @option params [required, String] :suite_definition_id
|
403
|
-
# Suite definition
|
462
|
+
# Suite definition ID of the test suite to get.
|
404
463
|
#
|
405
464
|
# @option params [String] :suite_definition_version
|
406
465
|
# Suite definition version of the test suite to get.
|
@@ -450,11 +509,17 @@ module Aws::IoTDeviceAdvisor
|
|
450
509
|
|
451
510
|
# Gets information about a Device Advisor test suite run.
|
452
511
|
#
|
512
|
+
# Requires permission to access the [GetSuiteRun][1] action.
|
513
|
+
#
|
514
|
+
#
|
515
|
+
#
|
516
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
517
|
+
#
|
453
518
|
# @option params [required, String] :suite_definition_id
|
454
|
-
# Suite definition
|
519
|
+
# Suite definition ID for the test suite run.
|
455
520
|
#
|
456
521
|
# @option params [required, String] :suite_run_id
|
457
|
-
# Suite run
|
522
|
+
# Suite run ID for the test suite run.
|
458
523
|
#
|
459
524
|
# @return [Types::GetSuiteRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
460
525
|
#
|
@@ -487,6 +552,7 @@ module Aws::IoTDeviceAdvisor
|
|
487
552
|
# resp.suite_run_configuration.primary_device.certificate_arn #=> String
|
488
553
|
# resp.suite_run_configuration.selected_test_list #=> Array
|
489
554
|
# resp.suite_run_configuration.selected_test_list[0] #=> String
|
555
|
+
# resp.suite_run_configuration.parallel_run #=> Boolean
|
490
556
|
# resp.test_result.groups #=> Array
|
491
557
|
# resp.test_result.groups[0].group_id #=> String
|
492
558
|
# resp.test_result.groups[0].group_name #=> String
|
@@ -517,11 +583,17 @@ module Aws::IoTDeviceAdvisor
|
|
517
583
|
# Gets a report download link for a successful Device Advisor qualifying
|
518
584
|
# test suite run.
|
519
585
|
#
|
586
|
+
# Requires permission to access the [GetSuiteRunReport][1] action.
|
587
|
+
#
|
588
|
+
#
|
589
|
+
#
|
590
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
591
|
+
#
|
520
592
|
# @option params [required, String] :suite_definition_id
|
521
|
-
# Suite definition
|
593
|
+
# Suite definition ID of the test suite.
|
522
594
|
#
|
523
595
|
# @option params [required, String] :suite_run_id
|
524
|
-
# Suite run
|
596
|
+
# Suite run ID of the test suite run.
|
525
597
|
#
|
526
598
|
# @return [Types::GetSuiteRunReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
527
599
|
#
|
@@ -547,6 +619,12 @@ module Aws::IoTDeviceAdvisor
|
|
547
619
|
|
548
620
|
# Lists the Device Advisor test suites you have created.
|
549
621
|
#
|
622
|
+
# Requires permission to access the [ListSuiteDefinitions][1] action.
|
623
|
+
#
|
624
|
+
#
|
625
|
+
#
|
626
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
627
|
+
#
|
550
628
|
# @option params [Integer] :max_results
|
551
629
|
# The maximum number of results to return at once.
|
552
630
|
#
|
@@ -586,17 +664,23 @@ module Aws::IoTDeviceAdvisor
|
|
586
664
|
req.send_request(options)
|
587
665
|
end
|
588
666
|
|
589
|
-
# Lists
|
590
|
-
#
|
591
|
-
#
|
667
|
+
# Lists runs of the specified Device Advisor test suite. You can list
|
668
|
+
# all runs of the test suite, or the runs of a specific version of the
|
669
|
+
# test suite.
|
670
|
+
#
|
671
|
+
# Requires permission to access the [ListSuiteRuns][1] action.
|
672
|
+
#
|
673
|
+
#
|
674
|
+
#
|
675
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
592
676
|
#
|
593
677
|
# @option params [String] :suite_definition_id
|
594
678
|
# Lists the test suite runs of the specified test suite based on suite
|
595
|
-
# definition
|
679
|
+
# definition ID.
|
596
680
|
#
|
597
681
|
# @option params [String] :suite_definition_version
|
598
|
-
# Must be passed along with suiteDefinitionId
|
599
|
-
# of the specified test suite based on suite definition version.
|
682
|
+
# Must be passed along with `suiteDefinitionId`. Lists the test suite
|
683
|
+
# runs of the specified test suite based on suite definition version.
|
600
684
|
#
|
601
685
|
# @option params [Integer] :max_results
|
602
686
|
# The maximum number of results to return at once.
|
@@ -644,6 +728,12 @@ module Aws::IoTDeviceAdvisor
|
|
644
728
|
|
645
729
|
# Lists the tags attached to an IoT Device Advisor resource.
|
646
730
|
#
|
731
|
+
# Requires permission to access the [ListTagsForResource][1] action.
|
732
|
+
#
|
733
|
+
#
|
734
|
+
#
|
735
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
736
|
+
#
|
647
737
|
# @option params [required, String] :resource_arn
|
648
738
|
# The ARN of the IoT Device Advisor resource.
|
649
739
|
#
|
@@ -671,8 +761,14 @@ module Aws::IoTDeviceAdvisor
|
|
671
761
|
|
672
762
|
# Starts a Device Advisor test suite run.
|
673
763
|
#
|
764
|
+
# Requires permission to access the [StartSuiteRun][1] action.
|
765
|
+
#
|
766
|
+
#
|
767
|
+
#
|
768
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
769
|
+
#
|
674
770
|
# @option params [required, String] :suite_definition_id
|
675
|
-
# Suite definition
|
771
|
+
# Suite definition ID of the test suite.
|
676
772
|
#
|
677
773
|
# @option params [String] :suite_definition_version
|
678
774
|
# Suite definition version of the test suite.
|
@@ -700,6 +796,7 @@ module Aws::IoTDeviceAdvisor
|
|
700
796
|
# certificate_arn: "AmazonResourceName",
|
701
797
|
# },
|
702
798
|
# selected_test_list: ["UUID"],
|
799
|
+
# parallel_run: false,
|
703
800
|
# },
|
704
801
|
# tags: {
|
705
802
|
# "String128" => "String256",
|
@@ -721,11 +818,17 @@ module Aws::IoTDeviceAdvisor
|
|
721
818
|
|
722
819
|
# Stops a Device Advisor test suite run that is currently running.
|
723
820
|
#
|
821
|
+
# Requires permission to access the [StopSuiteRun][1] action.
|
822
|
+
#
|
823
|
+
#
|
824
|
+
#
|
825
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
826
|
+
#
|
724
827
|
# @option params [required, String] :suite_definition_id
|
725
|
-
# Suite definition
|
828
|
+
# Suite definition ID of the test suite run to be stopped.
|
726
829
|
#
|
727
830
|
# @option params [required, String] :suite_run_id
|
728
|
-
# Suite run
|
831
|
+
# Suite run ID of the test suite run to be stopped.
|
729
832
|
#
|
730
833
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
731
834
|
#
|
@@ -745,6 +848,12 @@ module Aws::IoTDeviceAdvisor
|
|
745
848
|
|
746
849
|
# Adds to and modifies existing tags of an IoT Device Advisor resource.
|
747
850
|
#
|
851
|
+
# Requires permission to access the [TagResource][1] action.
|
852
|
+
#
|
853
|
+
#
|
854
|
+
#
|
855
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
856
|
+
#
|
748
857
|
# @option params [required, String] :resource_arn
|
749
858
|
# The resource ARN of an IoT Device Advisor resource.
|
750
859
|
#
|
@@ -771,6 +880,12 @@ module Aws::IoTDeviceAdvisor
|
|
771
880
|
|
772
881
|
# Removes tags from an IoT Device Advisor resource.
|
773
882
|
#
|
883
|
+
# Requires permission to access the [UntagResource][1] action.
|
884
|
+
#
|
885
|
+
#
|
886
|
+
#
|
887
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
888
|
+
#
|
774
889
|
# @option params [required, String] :resource_arn
|
775
890
|
# The resource ARN of an IoT Device Advisor resource.
|
776
891
|
#
|
@@ -795,8 +910,14 @@ module Aws::IoTDeviceAdvisor
|
|
795
910
|
|
796
911
|
# Updates a Device Advisor test suite.
|
797
912
|
#
|
913
|
+
# Requires permission to access the [UpdateSuiteDefinition][1] action.
|
914
|
+
#
|
915
|
+
#
|
916
|
+
#
|
917
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
918
|
+
#
|
798
919
|
# @option params [required, String] :suite_definition_id
|
799
|
-
# Suite definition
|
920
|
+
# Suite definition ID of the test suite to be updated.
|
800
921
|
#
|
801
922
|
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
802
923
|
# Updates a Device Advisor test suite with suite definition
|
@@ -858,7 +979,7 @@ module Aws::IoTDeviceAdvisor
|
|
858
979
|
params: params,
|
859
980
|
config: config)
|
860
981
|
context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
|
861
|
-
context[:gem_version] = '1.
|
982
|
+
context[:gem_version] = '1.11.0'
|
862
983
|
Seahorse::Client::Request.new(handlers, context)
|
863
984
|
end
|
864
985
|
|
@@ -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.11.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-30 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
|