aws-sdk-iotdeviceadvisor 1.14.0 → 1.16.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: 604f05ab1cb1a4ea91944cf48259dbbc7f134709cff89903e55d91b7a1fc6660
4
- data.tar.gz: 760b2fed81a7f37a276d2a5235e205b6584ec10a452842c89b2e83a50f3c53bf
3
+ metadata.gz: b6702cb11c371792f0c218cf902672cbbd66432d16dc4a7b013dacfa5dcad8e8
4
+ data.tar.gz: 0d574927fd0d787a2c65328b2218ae2d2520064ceff5037c27c03b0becb830b1
5
5
  SHA512:
6
- metadata.gz: 0553fa95bd303a896d8af14458d9e23aa840be64024c01db3c052622afc41dfd7c595d87f0a4d990fc78ca168009dab5563d024e870f71e868964482fbb36e79
7
- data.tar.gz: 691680890ad3c9f63a6a8ed45334c04f802deb0df1c40390deae73ace687fd9931526834076b63c0bb1b11bf9ed841ac7c5905a39d878f447ef1d1c0f9f0f2f4
6
+ metadata.gz: 8d0761341b835cc6931609550e12576fdbac7983850c01f239a3406173c5dc35f450e7a8164ecfa11a38be31b1c4e12958aed574c8353a03e004dd812e091577
7
+ data.tar.gz: 65b02caae8ec7e37d41508f70d534844896e9c64bf9e751ec68f9a7a2d1cf761074d2474a4687bc4e94ba821148f57c2574b4759e0358cd00006251a87873b7e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.16.0 (2022-10-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.15.0 (2022-07-22)
10
+ ------------------
11
+
12
+ * Feature - Added new service feature (Early access only) - Long Duration Test, where customers can test the IoT device to observe how it behaves when the device is in operation for longer period.
13
+
4
14
  1.14.0 (2022-02-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.16.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:iotdeviceadvisor)
@@ -79,8 +79,9 @@ module Aws::IoTDeviceAdvisor
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
84
+ add_plugin(Aws::IoTDeviceAdvisor::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::IoTDeviceAdvisor
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::IoTDeviceAdvisor
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::IoTDeviceAdvisor::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::IoTDeviceAdvisor::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -385,8 +402,10 @@ module Aws::IoTDeviceAdvisor
385
402
  # },
386
403
  # ],
387
404
  # intended_for_qualification: false,
405
+ # is_long_duration_test: false,
388
406
  # root_group: "RootGroup",
389
407
  # device_permission_role_arn: "AmazonResourceName",
408
+ # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
390
409
  # },
391
410
  # tags: {
392
411
  # "String128" => "String256",
@@ -506,8 +525,10 @@ module Aws::IoTDeviceAdvisor
506
525
  # resp.suite_definition_configuration.devices[0].thing_arn #=> String
507
526
  # resp.suite_definition_configuration.devices[0].certificate_arn #=> String
508
527
  # resp.suite_definition_configuration.intended_for_qualification #=> Boolean
528
+ # resp.suite_definition_configuration.is_long_duration_test #=> Boolean
509
529
  # resp.suite_definition_configuration.root_group #=> String
510
530
  # resp.suite_definition_configuration.device_permission_role_arn #=> String
531
+ # resp.suite_definition_configuration.protocol #=> String, one of "MqttV3_1_1", "MqttV5"
511
532
  # resp.created_at #=> Time
512
533
  # resp.last_modified_at #=> Time
513
534
  # resp.tags #=> Hash
@@ -579,6 +600,12 @@ module Aws::IoTDeviceAdvisor
579
600
  # resp.test_result.groups[0].tests[0].log_url #=> String
580
601
  # resp.test_result.groups[0].tests[0].warnings #=> String
581
602
  # resp.test_result.groups[0].tests[0].failure #=> String
603
+ # resp.test_result.groups[0].tests[0].test_scenarios #=> Array
604
+ # resp.test_result.groups[0].tests[0].test_scenarios[0].test_case_scenario_id #=> String
605
+ # resp.test_result.groups[0].tests[0].test_scenarios[0].test_case_scenario_type #=> String, one of "Advanced", "Basic"
606
+ # resp.test_result.groups[0].tests[0].test_scenarios[0].status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR"
607
+ # resp.test_result.groups[0].tests[0].test_scenarios[0].failure #=> String
608
+ # resp.test_result.groups[0].tests[0].test_scenarios[0].system_message #=> String
582
609
  # resp.start_time #=> Time
583
610
  # resp.end_time #=> Time
584
611
  # resp.status #=> String, one of "PASS", "FAIL", "CANCELED", "PENDING", "RUNNING", "STOPPING", "STOPPED", "PASS_WITH_WARNINGS", "ERROR"
@@ -667,6 +694,8 @@ module Aws::IoTDeviceAdvisor
667
694
  # resp.suite_definition_information_list[0].default_devices[0].thing_arn #=> String
668
695
  # resp.suite_definition_information_list[0].default_devices[0].certificate_arn #=> String
669
696
  # resp.suite_definition_information_list[0].intended_for_qualification #=> Boolean
697
+ # 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"
670
699
  # resp.suite_definition_information_list[0].created_at #=> Time
671
700
  # resp.next_token #=> String
672
701
  #
@@ -958,8 +987,10 @@ module Aws::IoTDeviceAdvisor
958
987
  # },
959
988
  # ],
960
989
  # intended_for_qualification: false,
990
+ # is_long_duration_test: false,
961
991
  # root_group: "RootGroup",
962
992
  # device_permission_role_arn: "AmazonResourceName",
993
+ # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
963
994
  # },
964
995
  # })
965
996
  #
@@ -992,7 +1023,7 @@ module Aws::IoTDeviceAdvisor
992
1023
  params: params,
993
1024
  config: config)
994
1025
  context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
995
- context[:gem_version] = '1.14.0'
1026
+ context[:gem_version] = '1.16.0'
996
1027
  Seahorse::Client::Request.new(handlers, context)
997
1028
  end
998
1029
 
@@ -37,6 +37,7 @@ module Aws::IoTDeviceAdvisor
37
37
  GroupResultList = Shapes::ListShape.new(name: 'GroupResultList')
38
38
  IntendedForQualificationBoolean = Shapes::BooleanShape.new(name: 'IntendedForQualificationBoolean')
39
39
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
40
+ IsLongDurationTestBoolean = Shapes::BooleanShape.new(name: 'IsLongDurationTestBoolean')
40
41
  ListSuiteDefinitionsRequest = Shapes::StructureShape.new(name: 'ListSuiteDefinitionsRequest')
41
42
  ListSuiteDefinitionsResponse = Shapes::StructureShape.new(name: 'ListSuiteDefinitionsResponse')
42
43
  ListSuiteRunsRequest = Shapes::StructureShape.new(name: 'ListSuiteRunsRequest')
@@ -47,6 +48,7 @@ module Aws::IoTDeviceAdvisor
47
48
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
48
49
  Message = Shapes::StringShape.new(name: 'Message')
49
50
  ParallelRun = Shapes::BooleanShape.new(name: 'ParallelRun')
51
+ Protocol = Shapes::StringShape.new(name: 'Protocol')
50
52
  QualificationReportDownloadUrl = Shapes::StringShape.new(name: 'QualificationReportDownloadUrl')
51
53
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
52
54
  RootGroup = Shapes::StringShape.new(name: 'RootGroup')
@@ -68,6 +70,7 @@ module Aws::IoTDeviceAdvisor
68
70
  SuiteRunResultCount = Shapes::IntegerShape.new(name: 'SuiteRunResultCount')
69
71
  SuiteRunStatus = Shapes::StringShape.new(name: 'SuiteRunStatus')
70
72
  SuiteRunsList = Shapes::ListShape.new(name: 'SuiteRunsList')
73
+ SystemMessage = Shapes::StringShape.new(name: 'SystemMessage')
71
74
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
72
75
  TagMap = Shapes::MapShape.new(name: 'TagMap')
73
76
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
@@ -75,6 +78,11 @@ module Aws::IoTDeviceAdvisor
75
78
  TestCaseDefinitionName = Shapes::StringShape.new(name: 'TestCaseDefinitionName')
76
79
  TestCaseRun = Shapes::StructureShape.new(name: 'TestCaseRun')
77
80
  TestCaseRuns = Shapes::ListShape.new(name: 'TestCaseRuns')
81
+ TestCaseScenario = Shapes::StructureShape.new(name: 'TestCaseScenario')
82
+ TestCaseScenarioId = Shapes::StringShape.new(name: 'TestCaseScenarioId')
83
+ TestCaseScenarioStatus = Shapes::StringShape.new(name: 'TestCaseScenarioStatus')
84
+ TestCaseScenarioType = Shapes::StringShape.new(name: 'TestCaseScenarioType')
85
+ TestCaseScenariosList = Shapes::ListShape.new(name: 'TestCaseScenariosList')
78
86
  TestResult = Shapes::StructureShape.new(name: 'TestResult')
79
87
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
80
88
  Token = Shapes::StringShape.new(name: 'Token')
@@ -214,14 +222,18 @@ module Aws::IoTDeviceAdvisor
214
222
  SuiteDefinitionConfiguration.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
215
223
  SuiteDefinitionConfiguration.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceUnderTestList, location_name: "devices"))
216
224
  SuiteDefinitionConfiguration.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location_name: "intendedForQualification"))
225
+ SuiteDefinitionConfiguration.add_member(:is_long_duration_test, Shapes::ShapeRef.new(shape: IsLongDurationTestBoolean, location_name: "isLongDurationTest"))
217
226
  SuiteDefinitionConfiguration.add_member(:root_group, Shapes::ShapeRef.new(shape: RootGroup, location_name: "rootGroup"))
218
227
  SuiteDefinitionConfiguration.add_member(:device_permission_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "devicePermissionRoleArn"))
228
+ SuiteDefinitionConfiguration.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
219
229
  SuiteDefinitionConfiguration.struct_class = Types::SuiteDefinitionConfiguration
220
230
 
221
231
  SuiteDefinitionInformation.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
222
232
  SuiteDefinitionInformation.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
223
233
  SuiteDefinitionInformation.add_member(:default_devices, Shapes::ShapeRef.new(shape: DeviceUnderTestList, location_name: "defaultDevices"))
224
234
  SuiteDefinitionInformation.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location_name: "intendedForQualification"))
235
+ SuiteDefinitionInformation.add_member(:is_long_duration_test, Shapes::ShapeRef.new(shape: IsLongDurationTestBoolean, location_name: "isLongDurationTest"))
236
+ SuiteDefinitionInformation.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "protocol"))
225
237
  SuiteDefinitionInformation.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
226
238
  SuiteDefinitionInformation.struct_class = Types::SuiteDefinitionInformation
227
239
 
@@ -266,10 +278,20 @@ module Aws::IoTDeviceAdvisor
266
278
  TestCaseRun.add_member(:log_url, Shapes::ShapeRef.new(shape: LogUrl, location_name: "logUrl"))
267
279
  TestCaseRun.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "warnings"))
268
280
  TestCaseRun.add_member(:failure, Shapes::ShapeRef.new(shape: Failure, location_name: "failure"))
281
+ TestCaseRun.add_member(:test_scenarios, Shapes::ShapeRef.new(shape: TestCaseScenariosList, location_name: "testScenarios"))
269
282
  TestCaseRun.struct_class = Types::TestCaseRun
270
283
 
271
284
  TestCaseRuns.member = Shapes::ShapeRef.new(shape: TestCaseRun)
272
285
 
286
+ TestCaseScenario.add_member(:test_case_scenario_id, Shapes::ShapeRef.new(shape: TestCaseScenarioId, location_name: "testCaseScenarioId"))
287
+ TestCaseScenario.add_member(:test_case_scenario_type, Shapes::ShapeRef.new(shape: TestCaseScenarioType, location_name: "testCaseScenarioType"))
288
+ TestCaseScenario.add_member(:status, Shapes::ShapeRef.new(shape: TestCaseScenarioStatus, location_name: "status"))
289
+ TestCaseScenario.add_member(:failure, Shapes::ShapeRef.new(shape: Failure, location_name: "failure"))
290
+ TestCaseScenario.add_member(:system_message, Shapes::ShapeRef.new(shape: SystemMessage, location_name: "systemMessage"))
291
+ TestCaseScenario.struct_class = Types::TestCaseScenario
292
+
293
+ TestCaseScenariosList.member = Shapes::ShapeRef.new(shape: TestCaseScenario)
294
+
273
295
  TestResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupResultList, location_name: "groups"))
274
296
  TestResult.struct_class = Types::TestResult
275
297
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IoTDeviceAdvisor
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IoTDeviceAdvisor
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
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
+ dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
+ cmV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MiOltdLCJlbmRwb2lu
100
+ dCI6eyJ1cmwiOiJodHRwczovL2FwaS5pb3RkZXZpY2VhZHZpc29yLntSZWdp
101
+ b259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInBy
102
+ b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
103
+ XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5h
104
+ YmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFs
105
+ U3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVu
106
+ ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYXBpLmlvdGRldmljZWFkdmlzb3Iu
107
+ e1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVy
108
+ dGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
109
+
110
+ JSON
111
+ end
112
+ end
@@ -0,0 +1,211 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IoTDeviceAdvisor
12
+ module Endpoints
13
+
14
+ class CreateSuiteDefinition
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class DeleteSuiteDefinition
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class GetEndpoint
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class GetSuiteDefinition
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class GetSuiteRun
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class GetSuiteRunReport
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class ListSuiteDefinitions
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class ListSuiteRuns
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class ListTagsForResource
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class StartSuiteRun
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class StopSuiteRun
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class TagResource
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class UntagResource
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class UpdateSuiteDefinition
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::IoTDeviceAdvisor::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ end
211
+ end
@@ -0,0 +1,96 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::IoTDeviceAdvisor
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::IoTDeviceAdvisor::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::IoTDeviceAdvisor::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::IoTDeviceAdvisor::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_suite_definition
60
+ Aws::IoTDeviceAdvisor::Endpoints::CreateSuiteDefinition.build(context)
61
+ when :delete_suite_definition
62
+ Aws::IoTDeviceAdvisor::Endpoints::DeleteSuiteDefinition.build(context)
63
+ when :get_endpoint
64
+ Aws::IoTDeviceAdvisor::Endpoints::GetEndpoint.build(context)
65
+ when :get_suite_definition
66
+ Aws::IoTDeviceAdvisor::Endpoints::GetSuiteDefinition.build(context)
67
+ when :get_suite_run
68
+ Aws::IoTDeviceAdvisor::Endpoints::GetSuiteRun.build(context)
69
+ when :get_suite_run_report
70
+ Aws::IoTDeviceAdvisor::Endpoints::GetSuiteRunReport.build(context)
71
+ when :list_suite_definitions
72
+ Aws::IoTDeviceAdvisor::Endpoints::ListSuiteDefinitions.build(context)
73
+ when :list_suite_runs
74
+ Aws::IoTDeviceAdvisor::Endpoints::ListSuiteRuns.build(context)
75
+ when :list_tags_for_resource
76
+ Aws::IoTDeviceAdvisor::Endpoints::ListTagsForResource.build(context)
77
+ when :start_suite_run
78
+ Aws::IoTDeviceAdvisor::Endpoints::StartSuiteRun.build(context)
79
+ when :stop_suite_run
80
+ Aws::IoTDeviceAdvisor::Endpoints::StopSuiteRun.build(context)
81
+ when :tag_resource
82
+ Aws::IoTDeviceAdvisor::Endpoints::TagResource.build(context)
83
+ when :untag_resource
84
+ Aws::IoTDeviceAdvisor::Endpoints::UntagResource.build(context)
85
+ when :update_suite_definition
86
+ Aws::IoTDeviceAdvisor::Endpoints::UpdateSuiteDefinition.build(context)
87
+ end
88
+ end
89
+ end
90
+
91
+ def add_handlers(handlers, _config)
92
+ handlers.add(Handler, step: :build, priority: 75)
93
+ end
94
+ end
95
+ end
96
+ end
@@ -35,8 +35,10 @@ module Aws::IoTDeviceAdvisor
35
35
  # },
36
36
  # ],
37
37
  # intended_for_qualification: false,
38
+ # is_long_duration_test: false,
38
39
  # root_group: "RootGroup",
39
40
  # device_permission_role_arn: "AmazonResourceName",
41
+ # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
40
42
  # },
41
43
  # tags: {
42
44
  # "String128" => "String256",
@@ -616,8 +618,10 @@ module Aws::IoTDeviceAdvisor
616
618
  # },
617
619
  # ],
618
620
  # intended_for_qualification: false,
621
+ # is_long_duration_test: false,
619
622
  # root_group: "RootGroup",
620
623
  # device_permission_role_arn: "AmazonResourceName",
624
+ # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
621
625
  # }
622
626
  #
623
627
  # @!attribute [rw] suite_definition_name
@@ -632,6 +636,10 @@ module Aws::IoTDeviceAdvisor
632
636
  # Gets the tests intended for qualification in a suite.
633
637
  # @return [Boolean]
634
638
  #
639
+ # @!attribute [rw] is_long_duration_test
640
+ # Verifies if the test suite is a long duration test.
641
+ # @return [Boolean]
642
+ #
635
643
  # @!attribute [rw] root_group
636
644
  # Gets test suite root group.
637
645
  # @return [String]
@@ -640,12 +648,18 @@ module Aws::IoTDeviceAdvisor
640
648
  # Gets the device permission ARN.
641
649
  # @return [String]
642
650
  #
651
+ # @!attribute [rw] protocol
652
+ # Gets the MQTT protocol that is configured in the suite definition.
653
+ # @return [String]
654
+ #
643
655
  class SuiteDefinitionConfiguration < Struct.new(
644
656
  :suite_definition_name,
645
657
  :devices,
646
658
  :intended_for_qualification,
659
+ :is_long_duration_test,
647
660
  :root_group,
648
- :device_permission_role_arn)
661
+ :device_permission_role_arn,
662
+ :protocol)
649
663
  SENSITIVE = []
650
664
  include Aws::Structure
651
665
  end
@@ -668,6 +682,14 @@ module Aws::IoTDeviceAdvisor
668
682
  # Specifies if the test suite is intended for qualification.
669
683
  # @return [Boolean]
670
684
  #
685
+ # @!attribute [rw] is_long_duration_test
686
+ # Verifies if the test suite is a long duration test.
687
+ # @return [Boolean]
688
+ #
689
+ # @!attribute [rw] protocol
690
+ # Gets the MQTT protocol that is configured in the suite definition.
691
+ # @return [String]
692
+ #
671
693
  # @!attribute [rw] created_at
672
694
  # Date (in Unix epoch time) when the test suite was created.
673
695
  # @return [Time]
@@ -677,6 +699,8 @@ module Aws::IoTDeviceAdvisor
677
699
  :suite_definition_name,
678
700
  :default_devices,
679
701
  :intended_for_qualification,
702
+ :is_long_duration_test,
703
+ :protocol,
680
704
  :created_at)
681
705
  SENSITIVE = []
682
706
  include Aws::Structure
@@ -863,6 +887,10 @@ module Aws::IoTDeviceAdvisor
863
887
  # Provides test case run failure result.
864
888
  # @return [String]
865
889
  #
890
+ # @!attribute [rw] test_scenarios
891
+ # Provides the test scenarios for the test case run.
892
+ # @return [Array<Types::TestCaseScenario>]
893
+ #
866
894
  class TestCaseRun < Struct.new(
867
895
  :test_case_run_id,
868
896
  :test_case_definition_id,
@@ -872,7 +900,63 @@ module Aws::IoTDeviceAdvisor
872
900
  :end_time,
873
901
  :log_url,
874
902
  :warnings,
875
- :failure)
903
+ :failure,
904
+ :test_scenarios)
905
+ SENSITIVE = []
906
+ include Aws::Structure
907
+ end
908
+
909
+ # Provides test case scenario.
910
+ #
911
+ # @!attribute [rw] test_case_scenario_id
912
+ # Provides test case scenario ID.
913
+ # @return [String]
914
+ #
915
+ # @!attribute [rw] test_case_scenario_type
916
+ # Provides test case scenario type. Type is one of the following:
917
+ #
918
+ # * Advanced
919
+ #
920
+ # * Basic
921
+ # @return [String]
922
+ #
923
+ # @!attribute [rw] status
924
+ # Provides the test case scenario status. Status is one of the
925
+ # following:
926
+ #
927
+ # * `PASS`\: Test passed.
928
+ #
929
+ # * `FAIL`\: Test failed.
930
+ #
931
+ # * `PENDING`\: Test has not started running but is scheduled.
932
+ #
933
+ # * `RUNNING`\: Test is running.
934
+ #
935
+ # * `STOPPING`\: Test is performing cleanup steps. You will see this
936
+ # status only if you stop a suite run.
937
+ #
938
+ # * `STOPPED` Test is stopped. You will see this status only if you
939
+ # stop a suite run.
940
+ #
941
+ # * `PASS_WITH_WARNINGS`\: Test passed with warnings.
942
+ #
943
+ # * `ERORR`\: Test faced an error when running due to an internal
944
+ # issue.
945
+ # @return [String]
946
+ #
947
+ # @!attribute [rw] failure
948
+ # Provides test case scenario failure result.
949
+ # @return [String]
950
+ #
951
+ # @!attribute [rw] system_message
952
+ # @return [String]
953
+ #
954
+ class TestCaseScenario < Struct.new(
955
+ :test_case_scenario_id,
956
+ :test_case_scenario_type,
957
+ :status,
958
+ :failure,
959
+ :system_message)
876
960
  SENSITIVE = []
877
961
  include Aws::Structure
878
962
  end
@@ -928,8 +1012,10 @@ module Aws::IoTDeviceAdvisor
928
1012
  # },
929
1013
  # ],
930
1014
  # intended_for_qualification: false,
1015
+ # is_long_duration_test: false,
931
1016
  # root_group: "RootGroup",
932
1017
  # device_permission_role_arn: "AmazonResourceName",
1018
+ # protocol: "MqttV3_1_1", # accepts MqttV3_1_1, MqttV5
933
1019
  # },
934
1020
  # }
935
1021
  #
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-iotdeviceadvisor/types'
15
15
  require_relative 'aws-sdk-iotdeviceadvisor/client_api'
16
+ require_relative 'aws-sdk-iotdeviceadvisor/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-iotdeviceadvisor/client'
17
18
  require_relative 'aws-sdk-iotdeviceadvisor/errors'
18
19
  require_relative 'aws-sdk-iotdeviceadvisor/resource'
20
+ require_relative 'aws-sdk-iotdeviceadvisor/endpoint_parameters'
21
+ require_relative 'aws-sdk-iotdeviceadvisor/endpoint_provider'
22
+ require_relative 'aws-sdk-iotdeviceadvisor/endpoints'
19
23
  require_relative 'aws-sdk-iotdeviceadvisor/customizations'
20
24
 
21
25
  # This module provides support for AWS IoT Core Device Advisor. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-iotdeviceadvisor/customizations'
48
52
  # @!group service
49
53
  module Aws::IoTDeviceAdvisor
50
54
 
51
- GEM_VERSION = '1.14.0'
55
+ GEM_VERSION = '1.16.0'
52
56
 
53
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.14.0
4
+ version: 1.16.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-02-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-iotdeviceadvisor/client.rb
60
60
  - lib/aws-sdk-iotdeviceadvisor/client_api.rb
61
61
  - lib/aws-sdk-iotdeviceadvisor/customizations.rb
62
+ - lib/aws-sdk-iotdeviceadvisor/endpoint_parameters.rb
63
+ - lib/aws-sdk-iotdeviceadvisor/endpoint_provider.rb
64
+ - lib/aws-sdk-iotdeviceadvisor/endpoints.rb
62
65
  - lib/aws-sdk-iotdeviceadvisor/errors.rb
66
+ - lib/aws-sdk-iotdeviceadvisor/plugins/endpoints.rb
63
67
  - lib/aws-sdk-iotdeviceadvisor/resource.rb
64
68
  - lib/aws-sdk-iotdeviceadvisor/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby