aws-sdk-iotdeviceadvisor 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotdeviceadvisor/client.rb +22 -17
- data/lib/aws-sdk-iotdeviceadvisor/client_api.rb +8 -7
- data/lib/aws-sdk-iotdeviceadvisor/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-iotdeviceadvisor/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-iotdeviceadvisor/types.rb +26 -208
- data/lib/aws-sdk-iotdeviceadvisor.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0b1ec128f1ee43b52f390bdd44492037334e907018926a7610f572e9aeb2fc
|
4
|
+
data.tar.gz: 24aec75de05c99967c28b617482c857b98e594ecbf0d7f128c609b9185cc5624
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 434afa054fef7ec8de2b85686b5a418835f99e56b3d1e75e13402619ee8c6fca88e6923d9f6aa01b043103074fc2cdccc7e1f47aabb6e2ab1e3463e9e4d8dad0
|
7
|
+
data.tar.gz: 9c92fc86df28617ca83a4d274310e92a1650230094bdda9d9e6a863d4e074e720f1b1c4dad10ae4c5aa82fe945059a249795715d4eeef6a3ffeeded6da76a86c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.17.0 (2022-12-22)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This release adds the following new features: 1) Documentation updates for IoT Device Advisor APIs. 2) Updated required request parameters for IoT Device Advisor APIs. 3) Added new service feature: ability to provide the test endpoint when customer executing the StartSuiteRun API.
|
15
|
+
|
4
16
|
1.16.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -376,7 +376,7 @@ module Aws::IoTDeviceAdvisor
|
|
376
376
|
#
|
377
377
|
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
378
378
|
#
|
379
|
-
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
379
|
+
# @option params [required, Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
380
380
|
# Creates a Device Advisor test suite with suite definition
|
381
381
|
# configuration.
|
382
382
|
#
|
@@ -393,8 +393,8 @@ module Aws::IoTDeviceAdvisor
|
|
393
393
|
# @example Request syntax with placeholder values
|
394
394
|
#
|
395
395
|
# resp = client.create_suite_definition({
|
396
|
-
# suite_definition_configuration: {
|
397
|
-
# suite_definition_name: "SuiteDefinitionName",
|
396
|
+
# suite_definition_configuration: { # required
|
397
|
+
# suite_definition_name: "SuiteDefinitionName", # required
|
398
398
|
# devices: [
|
399
399
|
# {
|
400
400
|
# thing_arn: "AmazonResourceName",
|
@@ -403,8 +403,8 @@ module Aws::IoTDeviceAdvisor
|
|
403
403
|
# ],
|
404
404
|
# intended_for_qualification: false,
|
405
405
|
# is_long_duration_test: false,
|
406
|
-
# root_group: "RootGroup",
|
407
|
-
# device_permission_role_arn: "AmazonResourceName",
|
406
|
+
# root_group: "RootGroup", # required
|
407
|
+
# device_permission_role_arn: "AmazonResourceName", # required
|
408
408
|
# protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
|
409
409
|
# },
|
410
410
|
# tags: {
|
@@ -777,7 +777,8 @@ module Aws::IoTDeviceAdvisor
|
|
777
777
|
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
778
778
|
#
|
779
779
|
# @option params [required, String] :resource_arn
|
780
|
-
# The ARN of the IoT Device Advisor resource.
|
780
|
+
# The resource ARN of the IoT Device Advisor resource. This can be
|
781
|
+
# SuiteDefinition ARN or SuiteRun ARN.
|
781
782
|
#
|
782
783
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
783
784
|
#
|
@@ -815,7 +816,7 @@ module Aws::IoTDeviceAdvisor
|
|
815
816
|
# @option params [String] :suite_definition_version
|
816
817
|
# Suite definition version of the test suite.
|
817
818
|
#
|
818
|
-
# @option params [Types::SuiteRunConfiguration] :suite_run_configuration
|
819
|
+
# @option params [required, Types::SuiteRunConfiguration] :suite_run_configuration
|
819
820
|
# Suite run configuration.
|
820
821
|
#
|
821
822
|
# @option params [Hash<String,String>] :tags
|
@@ -826,14 +827,15 @@ module Aws::IoTDeviceAdvisor
|
|
826
827
|
# * {Types::StartSuiteRunResponse#suite_run_id #suite_run_id} => String
|
827
828
|
# * {Types::StartSuiteRunResponse#suite_run_arn #suite_run_arn} => String
|
828
829
|
# * {Types::StartSuiteRunResponse#created_at #created_at} => Time
|
830
|
+
# * {Types::StartSuiteRunResponse#endpoint #endpoint} => String
|
829
831
|
#
|
830
832
|
# @example Request syntax with placeholder values
|
831
833
|
#
|
832
834
|
# resp = client.start_suite_run({
|
833
835
|
# suite_definition_id: "UUID", # required
|
834
836
|
# suite_definition_version: "SuiteDefinitionVersion",
|
835
|
-
# suite_run_configuration: {
|
836
|
-
# primary_device: {
|
837
|
+
# suite_run_configuration: { # required
|
838
|
+
# primary_device: { # required
|
837
839
|
# thing_arn: "AmazonResourceName",
|
838
840
|
# certificate_arn: "AmazonResourceName",
|
839
841
|
# },
|
@@ -850,6 +852,7 @@ module Aws::IoTDeviceAdvisor
|
|
850
852
|
# resp.suite_run_id #=> String
|
851
853
|
# resp.suite_run_arn #=> String
|
852
854
|
# resp.created_at #=> Time
|
855
|
+
# resp.endpoint #=> String
|
853
856
|
#
|
854
857
|
# @overload start_suite_run(params = {})
|
855
858
|
# @param [Hash] params ({})
|
@@ -897,7 +900,8 @@ module Aws::IoTDeviceAdvisor
|
|
897
900
|
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
898
901
|
#
|
899
902
|
# @option params [required, String] :resource_arn
|
900
|
-
# The resource ARN of an IoT Device Advisor resource.
|
903
|
+
# The resource ARN of an IoT Device Advisor resource. This can be
|
904
|
+
# SuiteDefinition ARN or SuiteRun ARN.
|
901
905
|
#
|
902
906
|
# @option params [required, Hash<String,String>] :tags
|
903
907
|
# The tags to be attached to the IoT Device Advisor resource.
|
@@ -929,7 +933,8 @@ module Aws::IoTDeviceAdvisor
|
|
929
933
|
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
930
934
|
#
|
931
935
|
# @option params [required, String] :resource_arn
|
932
|
-
# The resource ARN of an IoT Device Advisor resource.
|
936
|
+
# The resource ARN of an IoT Device Advisor resource. This can be
|
937
|
+
# SuiteDefinition ARN or SuiteRun ARN.
|
933
938
|
#
|
934
939
|
# @option params [required, Array<String>] :tag_keys
|
935
940
|
# List of tag keys to remove from the IoT Device Advisor resource.
|
@@ -961,7 +966,7 @@ module Aws::IoTDeviceAdvisor
|
|
961
966
|
# @option params [required, String] :suite_definition_id
|
962
967
|
# Suite definition ID of the test suite to be updated.
|
963
968
|
#
|
964
|
-
# @option params [Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
969
|
+
# @option params [required, Types::SuiteDefinitionConfiguration] :suite_definition_configuration
|
965
970
|
# Updates a Device Advisor test suite with suite definition
|
966
971
|
# configuration.
|
967
972
|
#
|
@@ -978,8 +983,8 @@ module Aws::IoTDeviceAdvisor
|
|
978
983
|
#
|
979
984
|
# resp = client.update_suite_definition({
|
980
985
|
# suite_definition_id: "UUID", # required
|
981
|
-
# suite_definition_configuration: {
|
982
|
-
# suite_definition_name: "SuiteDefinitionName",
|
986
|
+
# suite_definition_configuration: { # required
|
987
|
+
# suite_definition_name: "SuiteDefinitionName", # required
|
983
988
|
# devices: [
|
984
989
|
# {
|
985
990
|
# thing_arn: "AmazonResourceName",
|
@@ -988,8 +993,8 @@ module Aws::IoTDeviceAdvisor
|
|
988
993
|
# ],
|
989
994
|
# intended_for_qualification: false,
|
990
995
|
# is_long_duration_test: false,
|
991
|
-
# root_group: "RootGroup",
|
992
|
-
# device_permission_role_arn: "AmazonResourceName",
|
996
|
+
# root_group: "RootGroup", # required
|
997
|
+
# device_permission_role_arn: "AmazonResourceName", # required
|
993
998
|
# protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
|
994
999
|
# },
|
995
1000
|
# })
|
@@ -1023,7 +1028,7 @@ module Aws::IoTDeviceAdvisor
|
|
1023
1028
|
params: params,
|
1024
1029
|
config: config)
|
1025
1030
|
context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
|
1026
|
-
context[:gem_version] = '1.
|
1031
|
+
context[:gem_version] = '1.18.0'
|
1027
1032
|
Seahorse::Client::Request.new(handlers, context)
|
1028
1033
|
end
|
1029
1034
|
|
@@ -97,7 +97,7 @@ module Aws::IoTDeviceAdvisor
|
|
97
97
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
98
98
|
ConflictException.struct_class = Types::ConflictException
|
99
99
|
|
100
|
-
CreateSuiteDefinitionRequest.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, location_name: "suiteDefinitionConfiguration"))
|
100
|
+
CreateSuiteDefinitionRequest.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, required: true, location_name: "suiteDefinitionConfiguration"))
|
101
101
|
CreateSuiteDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
102
102
|
CreateSuiteDefinitionRequest.struct_class = Types::CreateSuiteDefinitionRequest
|
103
103
|
|
@@ -204,13 +204,14 @@ module Aws::IoTDeviceAdvisor
|
|
204
204
|
|
205
205
|
StartSuiteRunRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
|
206
206
|
StartSuiteRunRequest.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location_name: "suiteDefinitionVersion"))
|
207
|
-
StartSuiteRunRequest.add_member(:suite_run_configuration, Shapes::ShapeRef.new(shape: SuiteRunConfiguration, location_name: "suiteRunConfiguration"))
|
207
|
+
StartSuiteRunRequest.add_member(:suite_run_configuration, Shapes::ShapeRef.new(shape: SuiteRunConfiguration, required: true, location_name: "suiteRunConfiguration"))
|
208
208
|
StartSuiteRunRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
209
209
|
StartSuiteRunRequest.struct_class = Types::StartSuiteRunRequest
|
210
210
|
|
211
211
|
StartSuiteRunResponse.add_member(:suite_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteRunId"))
|
212
212
|
StartSuiteRunResponse.add_member(:suite_run_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "suiteRunArn"))
|
213
213
|
StartSuiteRunResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
214
|
+
StartSuiteRunResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
|
214
215
|
StartSuiteRunResponse.struct_class = Types::StartSuiteRunResponse
|
215
216
|
|
216
217
|
StopSuiteRunRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
|
@@ -219,12 +220,12 @@ module Aws::IoTDeviceAdvisor
|
|
219
220
|
|
220
221
|
StopSuiteRunResponse.struct_class = Types::StopSuiteRunResponse
|
221
222
|
|
222
|
-
SuiteDefinitionConfiguration.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
|
223
|
+
SuiteDefinitionConfiguration.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, required: true, location_name: "suiteDefinitionName"))
|
223
224
|
SuiteDefinitionConfiguration.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceUnderTestList, location_name: "devices"))
|
224
225
|
SuiteDefinitionConfiguration.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location_name: "intendedForQualification"))
|
225
226
|
SuiteDefinitionConfiguration.add_member(:is_long_duration_test, Shapes::ShapeRef.new(shape: IsLongDurationTestBoolean, location_name: "isLongDurationTest"))
|
226
|
-
SuiteDefinitionConfiguration.add_member(:root_group, Shapes::ShapeRef.new(shape: RootGroup, location_name: "rootGroup"))
|
227
|
-
SuiteDefinitionConfiguration.add_member(:device_permission_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "devicePermissionRoleArn"))
|
227
|
+
SuiteDefinitionConfiguration.add_member(:root_group, Shapes::ShapeRef.new(shape: RootGroup, required: true, location_name: "rootGroup"))
|
228
|
+
SuiteDefinitionConfiguration.add_member(:device_permission_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "devicePermissionRoleArn"))
|
228
229
|
SuiteDefinitionConfiguration.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
|
229
230
|
SuiteDefinitionConfiguration.struct_class = Types::SuiteDefinitionConfiguration
|
230
231
|
|
@@ -239,7 +240,7 @@ module Aws::IoTDeviceAdvisor
|
|
239
240
|
|
240
241
|
SuiteDefinitionInformationList.member = Shapes::ShapeRef.new(shape: SuiteDefinitionInformation)
|
241
242
|
|
242
|
-
SuiteRunConfiguration.add_member(:primary_device, Shapes::ShapeRef.new(shape: DeviceUnderTest, location_name: "primaryDevice"))
|
243
|
+
SuiteRunConfiguration.add_member(:primary_device, Shapes::ShapeRef.new(shape: DeviceUnderTest, required: true, location_name: "primaryDevice"))
|
243
244
|
SuiteRunConfiguration.add_member(:selected_test_list, Shapes::ShapeRef.new(shape: SelectedTestList, location_name: "selectedTestList"))
|
244
245
|
SuiteRunConfiguration.add_member(:parallel_run, Shapes::ShapeRef.new(shape: ParallelRun, location_name: "parallelRun"))
|
245
246
|
SuiteRunConfiguration.struct_class = Types::SuiteRunConfiguration
|
@@ -302,7 +303,7 @@ module Aws::IoTDeviceAdvisor
|
|
302
303
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
303
304
|
|
304
305
|
UpdateSuiteDefinitionRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
|
305
|
-
UpdateSuiteDefinitionRequest.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, location_name: "suiteDefinitionConfiguration"))
|
306
|
+
UpdateSuiteDefinitionRequest.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, required: true, location_name: "suiteDefinitionConfiguration"))
|
306
307
|
UpdateSuiteDefinitionRequest.struct_class = Types::UpdateSuiteDefinitionRequest
|
307
308
|
|
308
309
|
UpdateSuiteDefinitionResponse.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
|
@@ -50,6 +50,9 @@ module Aws::IoTDeviceAdvisor
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::IoTDeviceAdvisor
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6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HIiLCJhcmd2IjpbeyJyZWYiOiJQ
|
98
|
-
YXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5
|
99
|
-
cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
|
100
|
-
dCI6eyJ1cmwiOiJodHRwczovL2FwaS5pb3RkZXZpY2VhZHZpc29yLntSZWdp
|
101
|
-
b259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInBy
|
102
|
-
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
103
|
-
XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5h
|
104
|
-
YmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFs
|
105
|
-
U3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVu
|
106
|
-
ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYXBpLmlvdGRldmljZWFkdmlzb3Iu
|
107
|
-
e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
|
108
|
-
dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -22,29 +22,6 @@ module Aws::IoTDeviceAdvisor
|
|
22
22
|
include Aws::Structure
|
23
23
|
end
|
24
24
|
|
25
|
-
# @note When making an API call, you may pass CreateSuiteDefinitionRequest
|
26
|
-
# data as a hash:
|
27
|
-
#
|
28
|
-
# {
|
29
|
-
# suite_definition_configuration: {
|
30
|
-
# suite_definition_name: "SuiteDefinitionName",
|
31
|
-
# devices: [
|
32
|
-
# {
|
33
|
-
# thing_arn: "AmazonResourceName",
|
34
|
-
# certificate_arn: "AmazonResourceName",
|
35
|
-
# },
|
36
|
-
# ],
|
37
|
-
# intended_for_qualification: false,
|
38
|
-
# is_long_duration_test: false,
|
39
|
-
# root_group: "RootGroup",
|
40
|
-
# device_permission_role_arn: "AmazonResourceName",
|
41
|
-
# protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
|
42
|
-
# },
|
43
|
-
# tags: {
|
44
|
-
# "String128" => "String256",
|
45
|
-
# },
|
46
|
-
# }
|
47
|
-
#
|
48
25
|
# @!attribute [rw] suite_definition_configuration
|
49
26
|
# Creates a Device Advisor test suite with suite definition
|
50
27
|
# configuration.
|
@@ -62,20 +39,20 @@ module Aws::IoTDeviceAdvisor
|
|
62
39
|
end
|
63
40
|
|
64
41
|
# @!attribute [rw] suite_definition_id
|
65
|
-
#
|
42
|
+
# The UUID of the test suite created.
|
66
43
|
# @return [String]
|
67
44
|
#
|
68
45
|
# @!attribute [rw] suite_definition_arn
|
69
|
-
#
|
46
|
+
# The Amazon Resource Name (ARN) of the test suite.
|
70
47
|
# @return [String]
|
71
48
|
#
|
72
49
|
# @!attribute [rw] suite_definition_name
|
73
|
-
#
|
50
|
+
# The suite definition name of the test suite. This is a required
|
51
|
+
# parameter.
|
74
52
|
# @return [String]
|
75
53
|
#
|
76
54
|
# @!attribute [rw] created_at
|
77
|
-
#
|
78
|
-
# created.
|
55
|
+
# The timestamp of when the test suite was created.
|
79
56
|
# @return [Time]
|
80
57
|
#
|
81
58
|
class CreateSuiteDefinitionResponse < Struct.new(
|
@@ -87,13 +64,6 @@ module Aws::IoTDeviceAdvisor
|
|
87
64
|
include Aws::Structure
|
88
65
|
end
|
89
66
|
|
90
|
-
# @note When making an API call, you may pass DeleteSuiteDefinitionRequest
|
91
|
-
# data as a hash:
|
92
|
-
#
|
93
|
-
# {
|
94
|
-
# suite_definition_id: "UUID", # required
|
95
|
-
# }
|
96
|
-
#
|
97
67
|
# @!attribute [rw] suite_definition_id
|
98
68
|
# Suite definition ID of the test suite to be deleted.
|
99
69
|
# @return [String]
|
@@ -109,14 +79,6 @@ module Aws::IoTDeviceAdvisor
|
|
109
79
|
# Information of a test device. A thing ARN or a certificate ARN is
|
110
80
|
# required.
|
111
81
|
#
|
112
|
-
# @note When making an API call, you may pass DeviceUnderTest
|
113
|
-
# data as a hash:
|
114
|
-
#
|
115
|
-
# {
|
116
|
-
# thing_arn: "AmazonResourceName",
|
117
|
-
# certificate_arn: "AmazonResourceName",
|
118
|
-
# }
|
119
|
-
#
|
120
82
|
# @!attribute [rw] thing_arn
|
121
83
|
# Lists devices thing ARN.
|
122
84
|
# @return [String]
|
@@ -132,14 +94,6 @@ module Aws::IoTDeviceAdvisor
|
|
132
94
|
include Aws::Structure
|
133
95
|
end
|
134
96
|
|
135
|
-
# @note When making an API call, you may pass GetEndpointRequest
|
136
|
-
# data as a hash:
|
137
|
-
#
|
138
|
-
# {
|
139
|
-
# thing_arn: "AmazonResourceName",
|
140
|
-
# certificate_arn: "AmazonResourceName",
|
141
|
-
# }
|
142
|
-
#
|
143
97
|
# @!attribute [rw] thing_arn
|
144
98
|
# The thing ARN of the device. This is an optional parameter.
|
145
99
|
# @return [String]
|
@@ -165,14 +119,6 @@ module Aws::IoTDeviceAdvisor
|
|
165
119
|
include Aws::Structure
|
166
120
|
end
|
167
121
|
|
168
|
-
# @note When making an API call, you may pass GetSuiteDefinitionRequest
|
169
|
-
# data as a hash:
|
170
|
-
#
|
171
|
-
# {
|
172
|
-
# suite_definition_id: "UUID", # required
|
173
|
-
# suite_definition_version: "SuiteDefinitionVersion",
|
174
|
-
# }
|
175
|
-
#
|
176
122
|
# @!attribute [rw] suite_definition_id
|
177
123
|
# Suite definition ID of the test suite to get.
|
178
124
|
# @return [String]
|
@@ -234,14 +180,6 @@ module Aws::IoTDeviceAdvisor
|
|
234
180
|
include Aws::Structure
|
235
181
|
end
|
236
182
|
|
237
|
-
# @note When making an API call, you may pass GetSuiteRunReportRequest
|
238
|
-
# data as a hash:
|
239
|
-
#
|
240
|
-
# {
|
241
|
-
# suite_definition_id: "UUID", # required
|
242
|
-
# suite_run_id: "UUID", # required
|
243
|
-
# }
|
244
|
-
#
|
245
183
|
# @!attribute [rw] suite_definition_id
|
246
184
|
# Suite definition ID of the test suite.
|
247
185
|
# @return [String]
|
@@ -267,14 +205,6 @@ module Aws::IoTDeviceAdvisor
|
|
267
205
|
include Aws::Structure
|
268
206
|
end
|
269
207
|
|
270
|
-
# @note When making an API call, you may pass GetSuiteRunRequest
|
271
|
-
# data as a hash:
|
272
|
-
#
|
273
|
-
# {
|
274
|
-
# suite_definition_id: "UUID", # required
|
275
|
-
# suite_run_id: "UUID", # required
|
276
|
-
# }
|
277
|
-
#
|
278
208
|
# @!attribute [rw] suite_definition_id
|
279
209
|
# Suite definition ID for the test suite run.
|
280
210
|
# @return [String]
|
@@ -384,14 +314,6 @@ module Aws::IoTDeviceAdvisor
|
|
384
314
|
include Aws::Structure
|
385
315
|
end
|
386
316
|
|
387
|
-
# @note When making an API call, you may pass ListSuiteDefinitionsRequest
|
388
|
-
# data as a hash:
|
389
|
-
#
|
390
|
-
# {
|
391
|
-
# max_results: 1,
|
392
|
-
# next_token: "Token",
|
393
|
-
# }
|
394
|
-
#
|
395
317
|
# @!attribute [rw] max_results
|
396
318
|
# The maximum number of results to return at once.
|
397
319
|
# @return [Integer]
|
@@ -423,16 +345,6 @@ module Aws::IoTDeviceAdvisor
|
|
423
345
|
include Aws::Structure
|
424
346
|
end
|
425
347
|
|
426
|
-
# @note When making an API call, you may pass ListSuiteRunsRequest
|
427
|
-
# data as a hash:
|
428
|
-
#
|
429
|
-
# {
|
430
|
-
# suite_definition_id: "UUID",
|
431
|
-
# suite_definition_version: "SuiteDefinitionVersion",
|
432
|
-
# max_results: 1,
|
433
|
-
# next_token: "Token",
|
434
|
-
# }
|
435
|
-
#
|
436
348
|
# @!attribute [rw] suite_definition_id
|
437
349
|
# Lists the test suite runs of the specified test suite based on suite
|
438
350
|
# definition ID.
|
@@ -476,15 +388,9 @@ module Aws::IoTDeviceAdvisor
|
|
476
388
|
include Aws::Structure
|
477
389
|
end
|
478
390
|
|
479
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
480
|
-
# data as a hash:
|
481
|
-
#
|
482
|
-
# {
|
483
|
-
# resource_arn: "AmazonResourceName", # required
|
484
|
-
# }
|
485
|
-
#
|
486
391
|
# @!attribute [rw] resource_arn
|
487
|
-
# The ARN of the IoT Device Advisor resource.
|
392
|
+
# The resource ARN of the IoT Device Advisor resource. This can be
|
393
|
+
# SuiteDefinition ARN or SuiteRun ARN.
|
488
394
|
# @return [String]
|
489
395
|
#
|
490
396
|
class ListTagsForResourceRequest < Struct.new(
|
@@ -515,25 +421,6 @@ module Aws::IoTDeviceAdvisor
|
|
515
421
|
include Aws::Structure
|
516
422
|
end
|
517
423
|
|
518
|
-
# @note When making an API call, you may pass StartSuiteRunRequest
|
519
|
-
# data as a hash:
|
520
|
-
#
|
521
|
-
# {
|
522
|
-
# suite_definition_id: "UUID", # required
|
523
|
-
# suite_definition_version: "SuiteDefinitionVersion",
|
524
|
-
# suite_run_configuration: {
|
525
|
-
# primary_device: {
|
526
|
-
# thing_arn: "AmazonResourceName",
|
527
|
-
# certificate_arn: "AmazonResourceName",
|
528
|
-
# },
|
529
|
-
# selected_test_list: ["UUID"],
|
530
|
-
# parallel_run: false,
|
531
|
-
# },
|
532
|
-
# tags: {
|
533
|
-
# "String128" => "String256",
|
534
|
-
# },
|
535
|
-
# }
|
536
|
-
#
|
537
424
|
# @!attribute [rw] suite_definition_id
|
538
425
|
# Suite definition ID of the test suite.
|
539
426
|
# @return [String]
|
@@ -571,22 +458,19 @@ module Aws::IoTDeviceAdvisor
|
|
571
458
|
# Starts a Device Advisor test suite run based on suite create time.
|
572
459
|
# @return [Time]
|
573
460
|
#
|
461
|
+
# @!attribute [rw] endpoint
|
462
|
+
# The response of an Device Advisor test endpoint.
|
463
|
+
# @return [String]
|
464
|
+
#
|
574
465
|
class StartSuiteRunResponse < Struct.new(
|
575
466
|
:suite_run_id,
|
576
467
|
:suite_run_arn,
|
577
|
-
:created_at
|
468
|
+
:created_at,
|
469
|
+
:endpoint)
|
578
470
|
SENSITIVE = []
|
579
471
|
include Aws::Structure
|
580
472
|
end
|
581
473
|
|
582
|
-
# @note When making an API call, you may pass StopSuiteRunRequest
|
583
|
-
# data as a hash:
|
584
|
-
#
|
585
|
-
# {
|
586
|
-
# suite_definition_id: "UUID", # required
|
587
|
-
# suite_run_id: "UUID", # required
|
588
|
-
# }
|
589
|
-
#
|
590
474
|
# @!attribute [rw] suite_definition_id
|
591
475
|
# Suite definition ID of the test suite run to be stopped.
|
592
476
|
# @return [String]
|
@@ -604,28 +488,10 @@ module Aws::IoTDeviceAdvisor
|
|
604
488
|
|
605
489
|
class StopSuiteRunResponse < Aws::EmptyStructure; end
|
606
490
|
|
607
|
-
# Gets
|
608
|
-
#
|
609
|
-
# @note When making an API call, you may pass SuiteDefinitionConfiguration
|
610
|
-
# data as a hash:
|
611
|
-
#
|
612
|
-
# {
|
613
|
-
# suite_definition_name: "SuiteDefinitionName",
|
614
|
-
# devices: [
|
615
|
-
# {
|
616
|
-
# thing_arn: "AmazonResourceName",
|
617
|
-
# certificate_arn: "AmazonResourceName",
|
618
|
-
# },
|
619
|
-
# ],
|
620
|
-
# intended_for_qualification: false,
|
621
|
-
# is_long_duration_test: false,
|
622
|
-
# root_group: "RootGroup",
|
623
|
-
# device_permission_role_arn: "AmazonResourceName",
|
624
|
-
# protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
|
625
|
-
# }
|
491
|
+
# Gets the suite definition configuration.
|
626
492
|
#
|
627
493
|
# @!attribute [rw] suite_definition_name
|
628
|
-
# Gets
|
494
|
+
# Gets the suite definition name. This is a required parameter.
|
629
495
|
# @return [String]
|
630
496
|
#
|
631
497
|
# @!attribute [rw] devices
|
@@ -641,15 +507,15 @@ module Aws::IoTDeviceAdvisor
|
|
641
507
|
# @return [Boolean]
|
642
508
|
#
|
643
509
|
# @!attribute [rw] root_group
|
644
|
-
# Gets test suite root group.
|
510
|
+
# Gets the test suite root group. This is a required parameter.
|
645
511
|
# @return [String]
|
646
512
|
#
|
647
513
|
# @!attribute [rw] device_permission_role_arn
|
648
|
-
# Gets the device permission ARN.
|
514
|
+
# Gets the device permission ARN. This is a required parameter.
|
649
515
|
# @return [String]
|
650
516
|
#
|
651
517
|
# @!attribute [rw] protocol
|
652
|
-
#
|
518
|
+
# Sets the MQTT protocol that is configured in the suite definition.
|
653
519
|
# @return [String]
|
654
520
|
#
|
655
521
|
class SuiteDefinitionConfiguration < Struct.new(
|
@@ -708,24 +574,13 @@ module Aws::IoTDeviceAdvisor
|
|
708
574
|
|
709
575
|
# Gets suite run configuration.
|
710
576
|
#
|
711
|
-
# @note When making an API call, you may pass SuiteRunConfiguration
|
712
|
-
# data as a hash:
|
713
|
-
#
|
714
|
-
# {
|
715
|
-
# primary_device: {
|
716
|
-
# thing_arn: "AmazonResourceName",
|
717
|
-
# certificate_arn: "AmazonResourceName",
|
718
|
-
# },
|
719
|
-
# selected_test_list: ["UUID"],
|
720
|
-
# parallel_run: false,
|
721
|
-
# }
|
722
|
-
#
|
723
577
|
# @!attribute [rw] primary_device
|
724
|
-
#
|
578
|
+
# Sets the primary device for the test suite run. This requires a
|
579
|
+
# thing ARN or a certificate ARN.
|
725
580
|
# @return [Types::DeviceUnderTest]
|
726
581
|
#
|
727
582
|
# @!attribute [rw] selected_test_list
|
728
|
-
#
|
583
|
+
# Sets test case list.
|
729
584
|
# @return [Array<String>]
|
730
585
|
#
|
731
586
|
# @!attribute [rw] parallel_run
|
@@ -803,18 +658,9 @@ module Aws::IoTDeviceAdvisor
|
|
803
658
|
include Aws::Structure
|
804
659
|
end
|
805
660
|
|
806
|
-
# @note When making an API call, you may pass TagResourceRequest
|
807
|
-
# data as a hash:
|
808
|
-
#
|
809
|
-
# {
|
810
|
-
# resource_arn: "AmazonResourceName", # required
|
811
|
-
# tags: { # required
|
812
|
-
# "String128" => "String256",
|
813
|
-
# },
|
814
|
-
# }
|
815
|
-
#
|
816
661
|
# @!attribute [rw] resource_arn
|
817
|
-
# The resource ARN of an IoT Device Advisor resource.
|
662
|
+
# The resource ARN of an IoT Device Advisor resource. This can be
|
663
|
+
# SuiteDefinition ARN or SuiteRun ARN.
|
818
664
|
# @return [String]
|
819
665
|
#
|
820
666
|
# @!attribute [rw] tags
|
@@ -973,16 +819,9 @@ module Aws::IoTDeviceAdvisor
|
|
973
819
|
include Aws::Structure
|
974
820
|
end
|
975
821
|
|
976
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
977
|
-
# data as a hash:
|
978
|
-
#
|
979
|
-
# {
|
980
|
-
# resource_arn: "AmazonResourceName", # required
|
981
|
-
# tag_keys: ["String128"], # required
|
982
|
-
# }
|
983
|
-
#
|
984
822
|
# @!attribute [rw] resource_arn
|
985
|
-
# The resource ARN of an IoT Device Advisor resource.
|
823
|
+
# The resource ARN of an IoT Device Advisor resource. This can be
|
824
|
+
# SuiteDefinition ARN or SuiteRun ARN.
|
986
825
|
# @return [String]
|
987
826
|
#
|
988
827
|
# @!attribute [rw] tag_keys
|
@@ -998,27 +837,6 @@ module Aws::IoTDeviceAdvisor
|
|
998
837
|
|
999
838
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1000
839
|
|
1001
|
-
# @note When making an API call, you may pass UpdateSuiteDefinitionRequest
|
1002
|
-
# data as a hash:
|
1003
|
-
#
|
1004
|
-
# {
|
1005
|
-
# suite_definition_id: "UUID", # required
|
1006
|
-
# suite_definition_configuration: {
|
1007
|
-
# suite_definition_name: "SuiteDefinitionName",
|
1008
|
-
# devices: [
|
1009
|
-
# {
|
1010
|
-
# thing_arn: "AmazonResourceName",
|
1011
|
-
# certificate_arn: "AmazonResourceName",
|
1012
|
-
# },
|
1013
|
-
# ],
|
1014
|
-
# intended_for_qualification: false,
|
1015
|
-
# is_long_duration_test: false,
|
1016
|
-
# root_group: "RootGroup",
|
1017
|
-
# device_permission_role_arn: "AmazonResourceName",
|
1018
|
-
# protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
|
1019
|
-
# },
|
1020
|
-
# }
|
1021
|
-
#
|
1022
840
|
# @!attribute [rw] suite_definition_id
|
1023
841
|
# Suite definition ID of the test suite to be updated.
|
1024
842
|
# @return [String]
|
@@ -1044,7 +862,7 @@ module Aws::IoTDeviceAdvisor
|
|
1044
862
|
# @return [String]
|
1045
863
|
#
|
1046
864
|
# @!attribute [rw] suite_definition_name
|
1047
|
-
#
|
865
|
+
# Updates the suite definition name. This is a required parameter.
|
1048
866
|
# @return [String]
|
1049
867
|
#
|
1050
868
|
# @!attribute [rw] suite_definition_version
|
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.18.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|