aws-sdk-iotdeviceadvisor 1.0.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-iotdeviceadvisor.rb +2 -2
- data/lib/aws-sdk-iotdeviceadvisor/client.rb +48 -83
- data/lib/aws-sdk-iotdeviceadvisor/client_api.rb +20 -60
- data/lib/aws-sdk-iotdeviceadvisor/errors.rb +1 -1
- data/lib/aws-sdk-iotdeviceadvisor/resource.rb +1 -1
- data/lib/aws-sdk-iotdeviceadvisor/types.rb +97 -208
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a944c06fc29add8197c39bec8eb4864d5af94c1c5df69c27bdd34c7229fec954
|
4
|
+
data.tar.gz: 24e1af9f17a99dae91c815211d1a0cc89da651b16b82d9e561bdd0b06fef5420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 457dc7cc6eb50730e83deb79b625cf0c04723504bc32930ece4cab9bf847ebbf46eac495b7e280b53cffde4777171a6b4663ede70f92c6709627bde1fd11e86d
|
7
|
+
data.tar.gz: b7d08e6d33aa522000a144dac82c045c5ccc8149acdd58d38a600d2d2ffbd2715d8841b60073990cc37a4bdc0694f5a3152e0ff76d9a046aecd9cee35c87518d
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.4.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.3.0 (2021-05-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS IoT Core Device Advisor is fully managed test capability for IoT devices. Device manufacturers can use Device Advisor to test their IoT devices for reliable and secure connectivity with AWS IoT.
|
13
|
+
|
14
|
+
1.2.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.1.0 (2021-02-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.0.0 (2020-12-15)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Initial release of `aws-sdk-iotdeviceadvisor`.
|
28
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.4.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iotdeviceadvisor/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::IoTDeviceAdvisor
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.4.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -380,7 +380,7 @@ module Aws::IoTDeviceAdvisor
|
|
380
380
|
# Deletes a Device Advisor test suite.
|
381
381
|
#
|
382
382
|
# @option params [required, String] :suite_definition_id
|
383
|
-
#
|
383
|
+
# Suite definition Id of the test suite to be deleted.
|
384
384
|
#
|
385
385
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
386
386
|
#
|
@@ -400,10 +400,10 @@ module Aws::IoTDeviceAdvisor
|
|
400
400
|
# Gets information about a Device Advisor test suite.
|
401
401
|
#
|
402
402
|
# @option params [required, String] :suite_definition_id
|
403
|
-
#
|
403
|
+
# Suite definition Id of the test suite to get.
|
404
404
|
#
|
405
405
|
# @option params [String] :suite_definition_version
|
406
|
-
#
|
406
|
+
# Suite definition version of the test suite to get.
|
407
407
|
#
|
408
408
|
# @return [Types::GetSuiteDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
409
409
|
#
|
@@ -451,12 +451,10 @@ module Aws::IoTDeviceAdvisor
|
|
451
451
|
# Gets information about a Device Advisor test suite run.
|
452
452
|
#
|
453
453
|
# @option params [required, String] :suite_definition_id
|
454
|
-
#
|
455
|
-
# suite definition Id.
|
454
|
+
# Suite definition Id for the test suite run.
|
456
455
|
#
|
457
456
|
# @option params [required, String] :suite_run_id
|
458
|
-
#
|
459
|
-
# suite run Id.
|
457
|
+
# Suite run Id for the test suite run.
|
460
458
|
#
|
461
459
|
# @return [Types::GetSuiteRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
462
460
|
#
|
@@ -487,8 +485,6 @@ module Aws::IoTDeviceAdvisor
|
|
487
485
|
# resp.suite_run_arn #=> String
|
488
486
|
# resp.suite_run_configuration.primary_device.thing_arn #=> String
|
489
487
|
# resp.suite_run_configuration.primary_device.certificate_arn #=> String
|
490
|
-
# resp.suite_run_configuration.secondary_device.thing_arn #=> String
|
491
|
-
# resp.suite_run_configuration.secondary_device.certificate_arn #=> String
|
492
488
|
# resp.suite_run_configuration.selected_test_list #=> Array
|
493
489
|
# resp.suite_run_configuration.selected_test_list[0] #=> String
|
494
490
|
# resp.test_result.groups #=> Array
|
@@ -498,7 +494,7 @@ module Aws::IoTDeviceAdvisor
|
|
498
494
|
# resp.test_result.groups[0].tests[0].test_case_run_id #=> String
|
499
495
|
# resp.test_result.groups[0].tests[0].test_case_definition_id #=> String
|
500
496
|
# resp.test_result.groups[0].tests[0].test_case_definition_name #=> String
|
501
|
-
# resp.test_result.groups[0].tests[0].status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "PASS_WITH_WARNINGS", "ERROR"
|
497
|
+
# resp.test_result.groups[0].tests[0].status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR"
|
502
498
|
# resp.test_result.groups[0].tests[0].start_time #=> Time
|
503
499
|
# resp.test_result.groups[0].tests[0].end_time #=> Time
|
504
500
|
# resp.test_result.groups[0].tests[0].log_url #=> String
|
@@ -506,7 +502,7 @@ module Aws::IoTDeviceAdvisor
|
|
506
502
|
# resp.test_result.groups[0].tests[0].failure #=> String
|
507
503
|
# resp.start_time #=> Time
|
508
504
|
# resp.end_time #=> Time
|
509
|
-
# resp.status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "PASS_WITH_WARNINGS", "ERROR"
|
505
|
+
# resp.status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR"
|
510
506
|
# resp.error_reason #=> String
|
511
507
|
# resp.tags #=> Hash
|
512
508
|
# resp.tags["String128"] #=> String
|
@@ -522,10 +518,10 @@ module Aws::IoTDeviceAdvisor
|
|
522
518
|
# test suite run.
|
523
519
|
#
|
524
520
|
# @option params [required, String] :suite_definition_id
|
525
|
-
#
|
521
|
+
# Suite definition Id of the test suite.
|
526
522
|
#
|
527
523
|
# @option params [required, String] :suite_run_id
|
528
|
-
#
|
524
|
+
# Suite run Id of the test suite run.
|
529
525
|
#
|
530
526
|
# @return [Types::GetSuiteRunReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
531
527
|
#
|
@@ -552,10 +548,10 @@ module Aws::IoTDeviceAdvisor
|
|
552
548
|
# Lists the Device Advisor test suites you have created.
|
553
549
|
#
|
554
550
|
# @option params [Integer] :max_results
|
555
|
-
#
|
551
|
+
# The maximum number of results to return at once.
|
556
552
|
#
|
557
553
|
# @option params [String] :next_token
|
558
|
-
#
|
554
|
+
# A token used to get the next set of results.
|
559
555
|
#
|
560
556
|
# @return [Types::ListSuiteDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
561
557
|
#
|
@@ -595,18 +591,18 @@ module Aws::IoTDeviceAdvisor
|
|
595
591
|
# the test suite.
|
596
592
|
#
|
597
593
|
# @option params [String] :suite_definition_id
|
598
|
-
# Lists the runs of the specified
|
599
|
-
#
|
594
|
+
# Lists the test suite runs of the specified test suite based on suite
|
595
|
+
# definition Id.
|
600
596
|
#
|
601
597
|
# @option params [String] :suite_definition_version
|
602
|
-
#
|
603
|
-
# suite definition version.
|
598
|
+
# Must be passed along with suiteDefinitionId. Lists the test suite runs
|
599
|
+
# of the specified test suite based on suite definition version.
|
604
600
|
#
|
605
601
|
# @option params [Integer] :max_results
|
606
|
-
#
|
602
|
+
# The maximum number of results to return at once.
|
607
603
|
#
|
608
604
|
# @option params [String] :next_token
|
609
|
-
#
|
605
|
+
# A token to retrieve the next set of results.
|
610
606
|
#
|
611
607
|
# @return [Types::ListSuiteRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
612
608
|
#
|
@@ -634,7 +630,7 @@ module Aws::IoTDeviceAdvisor
|
|
634
630
|
# resp.suite_runs_list[0].created_at #=> Time
|
635
631
|
# resp.suite_runs_list[0].started_at #=> Time
|
636
632
|
# resp.suite_runs_list[0].end_at #=> Time
|
637
|
-
# resp.suite_runs_list[0].status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "PASS_WITH_WARNINGS", "ERROR"
|
633
|
+
# resp.suite_runs_list[0].status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR"
|
638
634
|
# resp.suite_runs_list[0].passed #=> Integer
|
639
635
|
# resp.suite_runs_list[0].failed #=> Integer
|
640
636
|
# resp.next_token #=> String
|
@@ -673,67 +669,16 @@ module Aws::IoTDeviceAdvisor
|
|
673
669
|
req.send_request(options)
|
674
670
|
end
|
675
671
|
|
676
|
-
# Lists all the test cases in the test suite.
|
677
|
-
#
|
678
|
-
# @option params [Boolean] :intended_for_qualification
|
679
|
-
# Lists all the qualification test cases in the test suite.
|
680
|
-
#
|
681
|
-
# @option params [Integer] :max_results
|
682
|
-
# Requests the test cases max results.
|
683
|
-
#
|
684
|
-
# @option params [String] :next_token
|
685
|
-
# Requests the test cases next token.
|
686
|
-
#
|
687
|
-
# @return [Types::ListTestCasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
688
|
-
#
|
689
|
-
# * {Types::ListTestCasesResponse#categories #categories} => Array<Types::TestCaseCategory>
|
690
|
-
# * {Types::ListTestCasesResponse#root_group_configuration #root_group_configuration} => Hash<String,String>
|
691
|
-
# * {Types::ListTestCasesResponse#group_configuration #group_configuration} => Hash<String,String>
|
692
|
-
# * {Types::ListTestCasesResponse#next_token #next_token} => String
|
693
|
-
#
|
694
|
-
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
695
|
-
#
|
696
|
-
# @example Request syntax with placeholder values
|
697
|
-
#
|
698
|
-
# resp = client.list_test_cases({
|
699
|
-
# intended_for_qualification: false,
|
700
|
-
# max_results: 1,
|
701
|
-
# next_token: "Token",
|
702
|
-
# })
|
703
|
-
#
|
704
|
-
# @example Response structure
|
705
|
-
#
|
706
|
-
# resp.categories #=> Array
|
707
|
-
# resp.categories[0].name #=> String
|
708
|
-
# resp.categories[0].tests #=> Array
|
709
|
-
# resp.categories[0].tests[0].name #=> String
|
710
|
-
# resp.categories[0].tests[0].configuration #=> Hash
|
711
|
-
# resp.categories[0].tests[0].configuration["ConfigString"] #=> String
|
712
|
-
# resp.categories[0].tests[0].test.id #=> String
|
713
|
-
# resp.categories[0].tests[0].test.test_case_version #=> String
|
714
|
-
# resp.root_group_configuration #=> Hash
|
715
|
-
# resp.root_group_configuration["ConfigString"] #=> String
|
716
|
-
# resp.group_configuration #=> Hash
|
717
|
-
# resp.group_configuration["ConfigString"] #=> String
|
718
|
-
# resp.next_token #=> String
|
719
|
-
#
|
720
|
-
# @overload list_test_cases(params = {})
|
721
|
-
# @param [Hash] params ({})
|
722
|
-
def list_test_cases(params = {}, options = {})
|
723
|
-
req = build_request(:list_test_cases, params)
|
724
|
-
req.send_request(options)
|
725
|
-
end
|
726
|
-
|
727
672
|
# Starts a Device Advisor test suite run.
|
728
673
|
#
|
729
674
|
# @option params [required, String] :suite_definition_id
|
730
|
-
#
|
675
|
+
# Suite definition Id of the test suite.
|
731
676
|
#
|
732
677
|
# @option params [String] :suite_definition_version
|
733
|
-
#
|
678
|
+
# Suite definition version of the test suite.
|
734
679
|
#
|
735
680
|
# @option params [Types::SuiteRunConfiguration] :suite_run_configuration
|
736
|
-
#
|
681
|
+
# Suite run configuration.
|
737
682
|
#
|
738
683
|
# @option params [Hash<String,String>] :tags
|
739
684
|
# The tags to be attached to the suite run.
|
@@ -754,10 +699,6 @@ module Aws::IoTDeviceAdvisor
|
|
754
699
|
# thing_arn: "AmazonResourceName",
|
755
700
|
# certificate_arn: "AmazonResourceName",
|
756
701
|
# },
|
757
|
-
# secondary_device: {
|
758
|
-
# thing_arn: "AmazonResourceName",
|
759
|
-
# certificate_arn: "AmazonResourceName",
|
760
|
-
# },
|
761
702
|
# selected_test_list: ["UUID"],
|
762
703
|
# },
|
763
704
|
# tags: {
|
@@ -778,6 +719,30 @@ module Aws::IoTDeviceAdvisor
|
|
778
719
|
req.send_request(options)
|
779
720
|
end
|
780
721
|
|
722
|
+
# Stops a Device Advisor test suite run that is currently running.
|
723
|
+
#
|
724
|
+
# @option params [required, String] :suite_definition_id
|
725
|
+
# Suite definition Id of the test suite run to be stopped.
|
726
|
+
#
|
727
|
+
# @option params [required, String] :suite_run_id
|
728
|
+
# Suite run Id of the test suite run to be stopped.
|
729
|
+
#
|
730
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
731
|
+
#
|
732
|
+
# @example Request syntax with placeholder values
|
733
|
+
#
|
734
|
+
# resp = client.stop_suite_run({
|
735
|
+
# suite_definition_id: "UUID", # required
|
736
|
+
# suite_run_id: "UUID", # required
|
737
|
+
# })
|
738
|
+
#
|
739
|
+
# @overload stop_suite_run(params = {})
|
740
|
+
# @param [Hash] params ({})
|
741
|
+
def stop_suite_run(params = {}, options = {})
|
742
|
+
req = build_request(:stop_suite_run, params)
|
743
|
+
req.send_request(options)
|
744
|
+
end
|
745
|
+
|
781
746
|
# Adds to and modifies existing tags of an IoT Device Advisor resource.
|
782
747
|
#
|
783
748
|
# @option params [required, String] :resource_arn
|
@@ -831,7 +796,7 @@ module Aws::IoTDeviceAdvisor
|
|
831
796
|
# Updates a Device Advisor test suite.
|
832
797
|
#
|
833
798
|
# @option params [required, String] :suite_definition_id
|
834
|
-
#
|
799
|
+
# Suite definition Id of the test suite to be updated.
|
835
800
|
#
|
836
801
|
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
837
802
|
# Updates a Device Advisor test suite with suite definition
|
@@ -893,7 +858,7 @@ module Aws::IoTDeviceAdvisor
|
|
893
858
|
params: params,
|
894
859
|
config: config)
|
895
860
|
context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
|
896
|
-
context[:gem_version] = '1.
|
861
|
+
context[:gem_version] = '1.4.0'
|
897
862
|
Seahorse::Client::Request.new(handlers, context)
|
898
863
|
end
|
899
864
|
|