aws-sdk-iotdeviceadvisor 1.17.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa28ea254aae7575843c8448c9d0ab97e982c6ebabe0b78bc0b64bedff03ab56
4
- data.tar.gz: e8f450601b606a717c841353ae48061d34757f00f7b993379ef44ed9a106942c
3
+ metadata.gz: 8ebb486405f0e5f24cd693b913352aa576abbb42c3e01d09aa4264e89bb245bf
4
+ data.tar.gz: 697f4c7fdf9756b4e93000974e4184f0a0bc53ec6179cb09de457769a1d891cc
5
5
  SHA512:
6
- metadata.gz: dc2258dcf1a8e22ae5f1fe8e9e2d4f6937a2e4af57a3fdfd0b6439516acc51f021c0712f159576cf230c9c799981a275874d7e45591c1791c9cce4dc88cb860a
7
- data.tar.gz: 7092419b95cbbc900532018c347ae919e16e7263c9119cc2bebca3f2d4b107e554ec27fff4b0abb1b9660f8321308067170eeb16e4809e1fb9a313dff9c8cafb
6
+ metadata.gz: 605288e82ca4f97126bbb9b68cbc016b375b614dc2d2106ea86472d4fd2365b7831f356dfd806be7f88e37e69745310a9d7598bfabad75fb574e3613d8ea5b7f
7
+ data.tar.gz: bf458907de8952740c95a4dec63d873addef4670ea7cde3128d3920b7535fb58be72caf255f01696dae593a4612123b812b72e2a87bf34a40a3e9f0e865237b2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2023-04-27)
5
+ ------------------
6
+
7
+ * Feature - AWS IoT Core Device Advisor now supports MQTT over WebSocket. With this update, customers can run all three test suites of AWS IoT Core Device Advisor - qualification, custom, and long duration tests - using Signature Version 4 for MQTT over WebSocket.
8
+
9
+ 1.18.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.17.0 (2022-12-22)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.19.0
@@ -399,13 +399,14 @@ module Aws::IoTDeviceAdvisor
399
399
  # {
400
400
  # thing_arn: "AmazonResourceName",
401
401
  # certificate_arn: "AmazonResourceName",
402
+ # device_role_arn: "AmazonResourceName",
402
403
  # },
403
404
  # ],
404
405
  # intended_for_qualification: false,
405
406
  # is_long_duration_test: false,
406
407
  # root_group: "RootGroup", # required
407
408
  # device_permission_role_arn: "AmazonResourceName", # required
408
- # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
409
+ # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5, MqttV3_1_1_OverWebSocket, MqttV5_OverWebSocket
409
410
  # },
410
411
  # tags: {
411
412
  # "String128" => "String256",
@@ -460,6 +461,12 @@ module Aws::IoTDeviceAdvisor
460
461
  # @option params [String] :certificate_arn
461
462
  # The certificate ARN of the device. This is an optional parameter.
462
463
  #
464
+ # @option params [String] :device_role_arn
465
+ # The device role ARN of the device. This is an optional parameter.
466
+ #
467
+ # @option params [String] :authentication_method
468
+ # The authentication method used during the device connection.
469
+ #
463
470
  # @return [Types::GetEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
464
471
  #
465
472
  # * {Types::GetEndpointResponse#endpoint #endpoint} => String
@@ -469,6 +476,8 @@ module Aws::IoTDeviceAdvisor
469
476
  # resp = client.get_endpoint({
470
477
  # thing_arn: "AmazonResourceName",
471
478
  # certificate_arn: "AmazonResourceName",
479
+ # device_role_arn: "AmazonResourceName",
480
+ # authentication_method: "X509ClientCertificate", # accepts X509ClientCertificate, SignatureVersion4
472
481
  # })
473
482
  #
474
483
  # @example Response structure
@@ -524,11 +533,12 @@ module Aws::IoTDeviceAdvisor
524
533
  # resp.suite_definition_configuration.devices #=> Array
525
534
  # resp.suite_definition_configuration.devices[0].thing_arn #=> String
526
535
  # resp.suite_definition_configuration.devices[0].certificate_arn #=> String
536
+ # resp.suite_definition_configuration.devices[0].device_role_arn #=> String
527
537
  # resp.suite_definition_configuration.intended_for_qualification #=> Boolean
528
538
  # resp.suite_definition_configuration.is_long_duration_test #=> Boolean
529
539
  # resp.suite_definition_configuration.root_group #=> String
530
540
  # resp.suite_definition_configuration.device_permission_role_arn #=> String
531
- # resp.suite_definition_configuration.protocol #=> String, one of "MqttV3_1_1", "MqttV5"
541
+ # resp.suite_definition_configuration.protocol #=> String, one of "MqttV3_1_1", "MqttV5", "MqttV3_1_1_OverWebSocket", "MqttV5_OverWebSocket"
532
542
  # resp.created_at #=> Time
533
543
  # resp.last_modified_at #=> Time
534
544
  # resp.tags #=> Hash
@@ -584,6 +594,7 @@ module Aws::IoTDeviceAdvisor
584
594
  # resp.suite_run_arn #=> String
585
595
  # resp.suite_run_configuration.primary_device.thing_arn #=> String
586
596
  # resp.suite_run_configuration.primary_device.certificate_arn #=> String
597
+ # resp.suite_run_configuration.primary_device.device_role_arn #=> String
587
598
  # resp.suite_run_configuration.selected_test_list #=> Array
588
599
  # resp.suite_run_configuration.selected_test_list[0] #=> String
589
600
  # resp.suite_run_configuration.parallel_run #=> Boolean
@@ -693,9 +704,10 @@ module Aws::IoTDeviceAdvisor
693
704
  # resp.suite_definition_information_list[0].default_devices #=> Array
694
705
  # resp.suite_definition_information_list[0].default_devices[0].thing_arn #=> String
695
706
  # resp.suite_definition_information_list[0].default_devices[0].certificate_arn #=> String
707
+ # resp.suite_definition_information_list[0].default_devices[0].device_role_arn #=> String
696
708
  # resp.suite_definition_information_list[0].intended_for_qualification #=> Boolean
697
709
  # resp.suite_definition_information_list[0].is_long_duration_test #=> Boolean
698
- # resp.suite_definition_information_list[0].protocol #=> String, one of "MqttV3_1_1", "MqttV5"
710
+ # resp.suite_definition_information_list[0].protocol #=> String, one of "MqttV3_1_1", "MqttV5", "MqttV3_1_1_OverWebSocket", "MqttV5_OverWebSocket"
699
711
  # resp.suite_definition_information_list[0].created_at #=> Time
700
712
  # resp.next_token #=> String
701
713
  #
@@ -838,6 +850,7 @@ module Aws::IoTDeviceAdvisor
838
850
  # primary_device: { # required
839
851
  # thing_arn: "AmazonResourceName",
840
852
  # certificate_arn: "AmazonResourceName",
853
+ # device_role_arn: "AmazonResourceName",
841
854
  # },
842
855
  # selected_test_list: ["UUID"],
843
856
  # parallel_run: false,
@@ -989,13 +1002,14 @@ module Aws::IoTDeviceAdvisor
989
1002
  # {
990
1003
  # thing_arn: "AmazonResourceName",
991
1004
  # certificate_arn: "AmazonResourceName",
1005
+ # device_role_arn: "AmazonResourceName",
992
1006
  # },
993
1007
  # ],
994
1008
  # intended_for_qualification: false,
995
1009
  # is_long_duration_test: false,
996
1010
  # root_group: "RootGroup", # required
997
1011
  # device_permission_role_arn: "AmazonResourceName", # required
998
- # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
1012
+ # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5, MqttV3_1_1_OverWebSocket, MqttV5_OverWebSocket
999
1013
  # },
1000
1014
  # })
1001
1015
  #
@@ -1028,7 +1042,7 @@ module Aws::IoTDeviceAdvisor
1028
1042
  params: params,
1029
1043
  config: config)
1030
1044
  context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
1031
- context[:gem_version] = '1.17.0'
1045
+ context[:gem_version] = '1.19.0'
1032
1046
  Seahorse::Client::Request.new(handlers, context)
1033
1047
  end
1034
1048
 
@@ -14,6 +14,7 @@ module Aws::IoTDeviceAdvisor
14
14
  include Seahorse::Model
15
15
 
16
16
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
+ AuthenticationMethod = Shapes::StringShape.new(name: 'AuthenticationMethod')
17
18
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
18
19
  CreateSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionRequest')
19
20
  CreateSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionResponse')
@@ -114,12 +115,15 @@ module Aws::IoTDeviceAdvisor
114
115
 
115
116
  DeviceUnderTest.add_member(:thing_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "thingArn"))
116
117
  DeviceUnderTest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "certificateArn"))
118
+ DeviceUnderTest.add_member(:device_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "deviceRoleArn"))
117
119
  DeviceUnderTest.struct_class = Types::DeviceUnderTest
118
120
 
119
121
  DeviceUnderTestList.member = Shapes::ShapeRef.new(shape: DeviceUnderTest)
120
122
 
121
123
  GetEndpointRequest.add_member(:thing_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location: "querystring", location_name: "thingArn"))
122
124
  GetEndpointRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location: "querystring", location_name: "certificateArn"))
125
+ GetEndpointRequest.add_member(:device_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location: "querystring", location_name: "deviceRoleArn"))
126
+ GetEndpointRequest.add_member(:authentication_method, Shapes::ShapeRef.new(shape: AuthenticationMethod, location: "querystring", location_name: "authenticationMethod"))
123
127
  GetEndpointRequest.struct_class = Types::GetEndpointRequest
124
128
 
125
129
  GetEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
@@ -50,9 +50,6 @@ 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
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -9,103 +9,46 @@
9
9
 
10
10
  module Aws::IoTDeviceAdvisor
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
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 Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBz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mRwb2ludCI6eyJ1cmwiOiJo
105
- dHRwczovL2FwaS5pb3RkZXZpY2VhZHZpc29yLntSZWdpb259LntQYXJ0aXRp
106
- b25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJz
107
- Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
108
-
109
- JSON
110
53
  end
111
54
  end
@@ -76,20 +76,25 @@ module Aws::IoTDeviceAdvisor
76
76
 
77
77
  class DeleteSuiteDefinitionResponse < Aws::EmptyStructure; end
78
78
 
79
- # Information of a test device. A thing ARN or a certificate ARN is
80
- # required.
79
+ # Information of a test device. A thing ARN, certificate ARN or device
80
+ # role ARN is required.
81
81
  #
82
82
  # @!attribute [rw] thing_arn
83
- # Lists devices thing ARN.
83
+ # Lists device's thing ARN.
84
84
  # @return [String]
85
85
  #
86
86
  # @!attribute [rw] certificate_arn
87
- # Lists devices certificate ARN.
87
+ # Lists device's certificate ARN.
88
+ # @return [String]
89
+ #
90
+ # @!attribute [rw] device_role_arn
91
+ # Lists device's role ARN.
88
92
  # @return [String]
89
93
  #
90
94
  class DeviceUnderTest < Struct.new(
91
95
  :thing_arn,
92
- :certificate_arn)
96
+ :certificate_arn,
97
+ :device_role_arn)
93
98
  SENSITIVE = []
94
99
  include Aws::Structure
95
100
  end
@@ -102,9 +107,19 @@ module Aws::IoTDeviceAdvisor
102
107
  # The certificate ARN of the device. This is an optional parameter.
103
108
  # @return [String]
104
109
  #
110
+ # @!attribute [rw] device_role_arn
111
+ # The device role ARN of the device. This is an optional parameter.
112
+ # @return [String]
113
+ #
114
+ # @!attribute [rw] authentication_method
115
+ # The authentication method used during the device connection.
116
+ # @return [String]
117
+ #
105
118
  class GetEndpointRequest < Struct.new(
106
119
  :thing_arn,
107
- :certificate_arn)
120
+ :certificate_arn,
121
+ :device_role_arn,
122
+ :authentication_method)
108
123
  SENSITIVE = []
109
124
  include Aws::Structure
110
125
  end
@@ -693,23 +708,23 @@ module Aws::IoTDeviceAdvisor
693
708
  # @!attribute [rw] status
694
709
  # Provides the test case run status. Status is one of the following:
695
710
  #
696
- # * `PASS`\: Test passed.
711
+ # * `PASS`: Test passed.
697
712
  #
698
- # * `FAIL`\: Test failed.
713
+ # * `FAIL`: Test failed.
699
714
  #
700
- # * `PENDING`\: Test has not started running but is scheduled.
715
+ # * `PENDING`: Test has not started running but is scheduled.
701
716
  #
702
- # * `RUNNING`\: Test is running.
717
+ # * `RUNNING`: Test is running.
703
718
  #
704
- # * `STOPPING`\: Test is performing cleanup steps. You will see this
719
+ # * `STOPPING`: Test is performing cleanup steps. You will see this
705
720
  # status only if you stop a suite run.
706
721
  #
707
722
  # * `STOPPED` Test is stopped. You will see this status only if you
708
723
  # stop a suite run.
709
724
  #
710
- # * `PASS_WITH_WARNINGS`\: Test passed with warnings.
725
+ # * `PASS_WITH_WARNINGS`: Test passed with warnings.
711
726
  #
712
- # * `ERORR`\: Test faced an error when running due to an internal
727
+ # * `ERORR`: Test faced an error when running due to an internal
713
728
  # issue.
714
729
  # @return [String]
715
730
  #
@@ -770,23 +785,23 @@ module Aws::IoTDeviceAdvisor
770
785
  # Provides the test case scenario status. Status is one of the
771
786
  # following:
772
787
  #
773
- # * `PASS`\: Test passed.
788
+ # * `PASS`: Test passed.
774
789
  #
775
- # * `FAIL`\: Test failed.
790
+ # * `FAIL`: Test failed.
776
791
  #
777
- # * `PENDING`\: Test has not started running but is scheduled.
792
+ # * `PENDING`: Test has not started running but is scheduled.
778
793
  #
779
- # * `RUNNING`\: Test is running.
794
+ # * `RUNNING`: Test is running.
780
795
  #
781
- # * `STOPPING`\: Test is performing cleanup steps. You will see this
796
+ # * `STOPPING`: Test is performing cleanup steps. You will see this
782
797
  # status only if you stop a suite run.
783
798
  #
784
799
  # * `STOPPED` Test is stopped. You will see this status only if you
785
800
  # stop a suite run.
786
801
  #
787
- # * `PASS_WITH_WARNINGS`\: Test passed with warnings.
802
+ # * `PASS_WITH_WARNINGS`: Test passed with warnings.
788
803
  #
789
- # * `ERORR`\: Test faced an error when running due to an internal
804
+ # * `ERORR`: Test faced an error when running due to an internal
790
805
  # issue.
791
806
  # @return [String]
792
807
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iotdeviceadvisor/customizations'
52
52
  # @!group service
53
53
  module Aws::IoTDeviceAdvisor
54
54
 
55
- GEM_VERSION = '1.17.0'
55
+ GEM_VERSION = '1.19.0'
56
56
 
57
57
  end
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.17.0
4
+ version: 1.19.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: 2022-12-22 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core