aws-sdk-iotdeviceadvisor 1.8.0 → 1.12.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 +140 -19
- 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: 72d9a6cc833e7d77172bc727c255575dacce344df214d29fd2174a232a74302b
|
4
|
+
data.tar.gz: 021137f9586008a42d431425b10234e44a4a3aadd6de19c8a22b9c99a788afd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a20dd28be5ba24bad9e56c009bf3492569a8958e11026976e6626aba57d2e42dc77b6e230d4327222a6c0eb5f09efc4a250f24064d94d04dd6bdd85a62d75aed
|
7
|
+
data.tar.gz: 67371aa13fe78c9f4e8af84c7fa37b21522c631a74d6d2bbeeada99754b26d96eeba4ed08b36930c51c2d15dd59dde04e9561020e38063c0deba7ddfcb1b70c9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.11.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.10.0 (2021-11-26)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation update for Device Advisor GetEndpoint API
|
18
|
+
|
19
|
+
1.9.0 (2021-11-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
4
24
|
1.8.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::IoTDeviceAdvisor
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::IoTDeviceAdvisor
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::IoTDeviceAdvisor
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::IoTDeviceAdvisor
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::IoTDeviceAdvisor
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -338,6 +349,12 @@ module Aws::IoTDeviceAdvisor
|
|
338
349
|
|
339
350
|
# Creates a Device Advisor test suite.
|
340
351
|
#
|
352
|
+
# Requires permission to access the [CreateSuiteDefinition][1] action.
|
353
|
+
#
|
354
|
+
#
|
355
|
+
#
|
356
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
357
|
+
#
|
341
358
|
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
342
359
|
# Creates a Device Advisor test suite with suite definition
|
343
360
|
# configuration.
|
@@ -388,8 +405,14 @@ module Aws::IoTDeviceAdvisor
|
|
388
405
|
|
389
406
|
# Deletes a Device Advisor test suite.
|
390
407
|
#
|
408
|
+
# Requires permission to access the [DeleteSuiteDefinition][1] action.
|
409
|
+
#
|
410
|
+
#
|
411
|
+
#
|
412
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
413
|
+
#
|
391
414
|
# @option params [required, String] :suite_definition_id
|
392
|
-
# Suite definition
|
415
|
+
# Suite definition ID of the test suite to be deleted.
|
393
416
|
#
|
394
417
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
395
418
|
#
|
@@ -406,10 +429,46 @@ module Aws::IoTDeviceAdvisor
|
|
406
429
|
req.send_request(options)
|
407
430
|
end
|
408
431
|
|
432
|
+
# Gets information about an Device Advisor endpoint.
|
433
|
+
#
|
434
|
+
# @option params [String] :thing_arn
|
435
|
+
# The thing ARN of the device. This is an optional parameter.
|
436
|
+
#
|
437
|
+
# @option params [String] :certificate_arn
|
438
|
+
# The certificate ARN of the device. This is an optional parameter.
|
439
|
+
#
|
440
|
+
# @return [Types::GetEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
441
|
+
#
|
442
|
+
# * {Types::GetEndpointResponse#endpoint #endpoint} => String
|
443
|
+
#
|
444
|
+
# @example Request syntax with placeholder values
|
445
|
+
#
|
446
|
+
# resp = client.get_endpoint({
|
447
|
+
# thing_arn: "AmazonResourceName",
|
448
|
+
# certificate_arn: "AmazonResourceName",
|
449
|
+
# })
|
450
|
+
#
|
451
|
+
# @example Response structure
|
452
|
+
#
|
453
|
+
# resp.endpoint #=> String
|
454
|
+
#
|
455
|
+
# @overload get_endpoint(params = {})
|
456
|
+
# @param [Hash] params ({})
|
457
|
+
def get_endpoint(params = {}, options = {})
|
458
|
+
req = build_request(:get_endpoint, params)
|
459
|
+
req.send_request(options)
|
460
|
+
end
|
461
|
+
|
409
462
|
# Gets information about a Device Advisor test suite.
|
410
463
|
#
|
464
|
+
# Requires permission to access the [GetSuiteDefinition][1] action.
|
465
|
+
#
|
466
|
+
#
|
467
|
+
#
|
468
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
469
|
+
#
|
411
470
|
# @option params [required, String] :suite_definition_id
|
412
|
-
# Suite definition
|
471
|
+
# Suite definition ID of the test suite to get.
|
413
472
|
#
|
414
473
|
# @option params [String] :suite_definition_version
|
415
474
|
# Suite definition version of the test suite to get.
|
@@ -459,11 +518,17 @@ module Aws::IoTDeviceAdvisor
|
|
459
518
|
|
460
519
|
# Gets information about a Device Advisor test suite run.
|
461
520
|
#
|
521
|
+
# Requires permission to access the [GetSuiteRun][1] action.
|
522
|
+
#
|
523
|
+
#
|
524
|
+
#
|
525
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
526
|
+
#
|
462
527
|
# @option params [required, String] :suite_definition_id
|
463
|
-
# Suite definition
|
528
|
+
# Suite definition ID for the test suite run.
|
464
529
|
#
|
465
530
|
# @option params [required, String] :suite_run_id
|
466
|
-
# Suite run
|
531
|
+
# Suite run ID for the test suite run.
|
467
532
|
#
|
468
533
|
# @return [Types::GetSuiteRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
469
534
|
#
|
@@ -496,6 +561,7 @@ module Aws::IoTDeviceAdvisor
|
|
496
561
|
# resp.suite_run_configuration.primary_device.certificate_arn #=> String
|
497
562
|
# resp.suite_run_configuration.selected_test_list #=> Array
|
498
563
|
# resp.suite_run_configuration.selected_test_list[0] #=> String
|
564
|
+
# resp.suite_run_configuration.parallel_run #=> Boolean
|
499
565
|
# resp.test_result.groups #=> Array
|
500
566
|
# resp.test_result.groups[0].group_id #=> String
|
501
567
|
# resp.test_result.groups[0].group_name #=> String
|
@@ -526,11 +592,17 @@ module Aws::IoTDeviceAdvisor
|
|
526
592
|
# Gets a report download link for a successful Device Advisor qualifying
|
527
593
|
# test suite run.
|
528
594
|
#
|
595
|
+
# Requires permission to access the [GetSuiteRunReport][1] action.
|
596
|
+
#
|
597
|
+
#
|
598
|
+
#
|
599
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
600
|
+
#
|
529
601
|
# @option params [required, String] :suite_definition_id
|
530
|
-
# Suite definition
|
602
|
+
# Suite definition ID of the test suite.
|
531
603
|
#
|
532
604
|
# @option params [required, String] :suite_run_id
|
533
|
-
# Suite run
|
605
|
+
# Suite run ID of the test suite run.
|
534
606
|
#
|
535
607
|
# @return [Types::GetSuiteRunReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
536
608
|
#
|
@@ -556,6 +628,12 @@ module Aws::IoTDeviceAdvisor
|
|
556
628
|
|
557
629
|
# Lists the Device Advisor test suites you have created.
|
558
630
|
#
|
631
|
+
# Requires permission to access the [ListSuiteDefinitions][1] action.
|
632
|
+
#
|
633
|
+
#
|
634
|
+
#
|
635
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
636
|
+
#
|
559
637
|
# @option params [Integer] :max_results
|
560
638
|
# The maximum number of results to return at once.
|
561
639
|
#
|
@@ -595,17 +673,23 @@ module Aws::IoTDeviceAdvisor
|
|
595
673
|
req.send_request(options)
|
596
674
|
end
|
597
675
|
|
598
|
-
# Lists
|
599
|
-
#
|
600
|
-
#
|
676
|
+
# Lists runs of the specified Device Advisor test suite. You can list
|
677
|
+
# all runs of the test suite, or the runs of a specific version of the
|
678
|
+
# test suite.
|
679
|
+
#
|
680
|
+
# Requires permission to access the [ListSuiteRuns][1] action.
|
681
|
+
#
|
682
|
+
#
|
683
|
+
#
|
684
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
601
685
|
#
|
602
686
|
# @option params [String] :suite_definition_id
|
603
687
|
# Lists the test suite runs of the specified test suite based on suite
|
604
|
-
# definition
|
688
|
+
# definition ID.
|
605
689
|
#
|
606
690
|
# @option params [String] :suite_definition_version
|
607
|
-
# Must be passed along with suiteDefinitionId
|
608
|
-
# of the specified test suite based on suite definition version.
|
691
|
+
# Must be passed along with `suiteDefinitionId`. Lists the test suite
|
692
|
+
# runs of the specified test suite based on suite definition version.
|
609
693
|
#
|
610
694
|
# @option params [Integer] :max_results
|
611
695
|
# The maximum number of results to return at once.
|
@@ -653,6 +737,12 @@ module Aws::IoTDeviceAdvisor
|
|
653
737
|
|
654
738
|
# Lists the tags attached to an IoT Device Advisor resource.
|
655
739
|
#
|
740
|
+
# Requires permission to access the [ListTagsForResource][1] action.
|
741
|
+
#
|
742
|
+
#
|
743
|
+
#
|
744
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
745
|
+
#
|
656
746
|
# @option params [required, String] :resource_arn
|
657
747
|
# The ARN of the IoT Device Advisor resource.
|
658
748
|
#
|
@@ -680,8 +770,14 @@ module Aws::IoTDeviceAdvisor
|
|
680
770
|
|
681
771
|
# Starts a Device Advisor test suite run.
|
682
772
|
#
|
773
|
+
# Requires permission to access the [StartSuiteRun][1] action.
|
774
|
+
#
|
775
|
+
#
|
776
|
+
#
|
777
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
778
|
+
#
|
683
779
|
# @option params [required, String] :suite_definition_id
|
684
|
-
# Suite definition
|
780
|
+
# Suite definition ID of the test suite.
|
685
781
|
#
|
686
782
|
# @option params [String] :suite_definition_version
|
687
783
|
# Suite definition version of the test suite.
|
@@ -709,6 +805,7 @@ module Aws::IoTDeviceAdvisor
|
|
709
805
|
# certificate_arn: "AmazonResourceName",
|
710
806
|
# },
|
711
807
|
# selected_test_list: ["UUID"],
|
808
|
+
# parallel_run: false,
|
712
809
|
# },
|
713
810
|
# tags: {
|
714
811
|
# "String128" => "String256",
|
@@ -730,11 +827,17 @@ module Aws::IoTDeviceAdvisor
|
|
730
827
|
|
731
828
|
# Stops a Device Advisor test suite run that is currently running.
|
732
829
|
#
|
830
|
+
# Requires permission to access the [StopSuiteRun][1] action.
|
831
|
+
#
|
832
|
+
#
|
833
|
+
#
|
834
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
835
|
+
#
|
733
836
|
# @option params [required, String] :suite_definition_id
|
734
|
-
# Suite definition
|
837
|
+
# Suite definition ID of the test suite run to be stopped.
|
735
838
|
#
|
736
839
|
# @option params [required, String] :suite_run_id
|
737
|
-
# Suite run
|
840
|
+
# Suite run ID of the test suite run to be stopped.
|
738
841
|
#
|
739
842
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
740
843
|
#
|
@@ -754,6 +857,12 @@ module Aws::IoTDeviceAdvisor
|
|
754
857
|
|
755
858
|
# Adds to and modifies existing tags of an IoT Device Advisor resource.
|
756
859
|
#
|
860
|
+
# Requires permission to access the [TagResource][1] action.
|
861
|
+
#
|
862
|
+
#
|
863
|
+
#
|
864
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
865
|
+
#
|
757
866
|
# @option params [required, String] :resource_arn
|
758
867
|
# The resource ARN of an IoT Device Advisor resource.
|
759
868
|
#
|
@@ -780,6 +889,12 @@ module Aws::IoTDeviceAdvisor
|
|
780
889
|
|
781
890
|
# Removes tags from an IoT Device Advisor resource.
|
782
891
|
#
|
892
|
+
# Requires permission to access the [UntagResource][1] action.
|
893
|
+
#
|
894
|
+
#
|
895
|
+
#
|
896
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
897
|
+
#
|
783
898
|
# @option params [required, String] :resource_arn
|
784
899
|
# The resource ARN of an IoT Device Advisor resource.
|
785
900
|
#
|
@@ -804,8 +919,14 @@ module Aws::IoTDeviceAdvisor
|
|
804
919
|
|
805
920
|
# Updates a Device Advisor test suite.
|
806
921
|
#
|
922
|
+
# Requires permission to access the [UpdateSuiteDefinition][1] action.
|
923
|
+
#
|
924
|
+
#
|
925
|
+
#
|
926
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
927
|
+
#
|
807
928
|
# @option params [required, String] :suite_definition_id
|
808
|
-
# Suite definition
|
929
|
+
# Suite definition ID of the test suite to be updated.
|
809
930
|
#
|
810
931
|
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
811
932
|
# Updates a Device Advisor test suite with suite definition
|
@@ -867,7 +988,7 @@ module Aws::IoTDeviceAdvisor
|
|
867
988
|
params: params,
|
868
989
|
config: config)
|
869
990
|
context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
|
870
|
-
context[:gem_version] = '1.
|
991
|
+
context[:gem_version] = '1.12.0'
|
871
992
|
Seahorse::Client::Request.new(handlers, context)
|
872
993
|
end
|
873
994
|
|
@@ -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.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|