aws-sdk-iotdeviceadvisor 1.41.0 → 1.43.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iotdeviceadvisor/client.rb +10 -3
- data/lib/aws-sdk-iotdeviceadvisor/client_api.rb +2 -0
- data/lib/aws-sdk-iotdeviceadvisor/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-iotdeviceadvisor/types.rb +11 -1
- data/lib/aws-sdk-iotdeviceadvisor.rb +3 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +1 -0
- 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: b9687585904fb86bc0d6e8e724da26342d245074dbae7daf0e7069ce1b4e3ad5
|
4
|
+
data.tar.gz: 6a6ca5af05b23abbe3fcac5700cff8eb448c1eb2d35d665a155cb20c0b03b77f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67b70fcaf82d649661702954b37f5e9c39daebe5fa2de2499f2e75bacd4dba28a3e24fc2cee5c6257d1959cd40b3d3cb4c1ce48adabb7956593b498f50bc4fc4
|
7
|
+
data.tar.gz: 6a4c254529985943a34400568a082db6b57aa4f77f023f9e55eb50b0e417ac9490a125cac2abbd028b2825b7c021eae181378bdb8d00c50f5ac2016a507e3209
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2024-10-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add clientToken attribute and implement idempotency for CreateSuiteDefinition.
|
8
|
+
|
9
|
+
1.42.0 (2024-09-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.41.0 (2024-09-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:iotdeviceadvisor)
|
40
|
-
|
41
39
|
module Aws::IoTDeviceAdvisor
|
42
40
|
# An API client for IoTDeviceAdvisor. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -464,6 +462,14 @@ module Aws::IoTDeviceAdvisor
|
|
464
462
|
# @option params [Hash<String,String>] :tags
|
465
463
|
# The tags to be attached to the suite definition.
|
466
464
|
#
|
465
|
+
# @option params [String] :client_token
|
466
|
+
# The client token for the test suite definition creation. This token is
|
467
|
+
# used for tracking test suite definition creation using retries and
|
468
|
+
# obtaining its status. This parameter is optional.
|
469
|
+
#
|
470
|
+
# **A suitable default value is auto-generated.** You should normally
|
471
|
+
# not need to pass this option.**
|
472
|
+
#
|
467
473
|
# @return [Types::CreateSuiteDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
468
474
|
#
|
469
475
|
# * {Types::CreateSuiteDefinitionResponse#suite_definition_id #suite_definition_id} => String
|
@@ -492,6 +498,7 @@ module Aws::IoTDeviceAdvisor
|
|
492
498
|
# tags: {
|
493
499
|
# "String128" => "String256",
|
494
500
|
# },
|
501
|
+
# client_token: "ClientToken",
|
495
502
|
# })
|
496
503
|
#
|
497
504
|
# @example Response structure
|
@@ -1128,7 +1135,7 @@ module Aws::IoTDeviceAdvisor
|
|
1128
1135
|
tracer: tracer
|
1129
1136
|
)
|
1130
1137
|
context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
|
1131
|
-
context[:gem_version] = '1.
|
1138
|
+
context[:gem_version] = '1.43.0'
|
1132
1139
|
Seahorse::Client::Request.new(handlers, context)
|
1133
1140
|
end
|
1134
1141
|
|
@@ -16,6 +16,7 @@ module Aws::IoTDeviceAdvisor
|
|
16
16
|
|
17
17
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
18
18
|
AuthenticationMethod = Shapes::StringShape.new(name: 'AuthenticationMethod')
|
19
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
19
20
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
20
21
|
CreateSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionRequest')
|
21
22
|
CreateSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionResponse')
|
@@ -101,6 +102,7 @@ module Aws::IoTDeviceAdvisor
|
|
101
102
|
|
102
103
|
CreateSuiteDefinitionRequest.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, required: true, location_name: "suiteDefinitionConfiguration"))
|
103
104
|
CreateSuiteDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
105
|
+
CreateSuiteDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
104
106
|
CreateSuiteDefinitionRequest.struct_class = Types::CreateSuiteDefinitionRequest
|
105
107
|
|
106
108
|
CreateSuiteDefinitionResponse.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
|
@@ -32,7 +32,7 @@ module Aws::IoTDeviceAdvisor
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://api.iotdeviceadvisor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -31,9 +31,19 @@ module Aws::IoTDeviceAdvisor
|
|
31
31
|
# The tags to be attached to the suite definition.
|
32
32
|
# @return [Hash<String,String>]
|
33
33
|
#
|
34
|
+
# @!attribute [rw] client_token
|
35
|
+
# The client token for the test suite definition creation. This token
|
36
|
+
# is used for tracking test suite definition creation using retries
|
37
|
+
# and obtaining its status. This parameter is optional.
|
38
|
+
#
|
39
|
+
# **A suitable default value is auto-generated.** You should normally
|
40
|
+
# not need to pass this option.
|
41
|
+
# @return [String]
|
42
|
+
#
|
34
43
|
class CreateSuiteDefinitionRequest < Struct.new(
|
35
44
|
:suite_definition_configuration,
|
36
|
-
:tags
|
45
|
+
:tags,
|
46
|
+
:client_token)
|
37
47
|
SENSITIVE = []
|
38
48
|
include Aws::Structure
|
39
49
|
end
|
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:iotdeviceadvisor)
|
15
|
+
|
14
16
|
# This module provides support for AWS IoT Core Device Advisor. This module is available in the
|
15
17
|
# `aws-sdk-iotdeviceadvisor` gem.
|
16
18
|
#
|
@@ -52,7 +54,7 @@ module Aws::IoTDeviceAdvisor
|
|
52
54
|
autoload :EndpointProvider, 'aws-sdk-iotdeviceadvisor/endpoint_provider'
|
53
55
|
autoload :Endpoints, 'aws-sdk-iotdeviceadvisor/endpoints'
|
54
56
|
|
55
|
-
GEM_VERSION = '1.
|
57
|
+
GEM_VERSION = '1.43.0'
|
56
58
|
|
57
59
|
end
|
58
60
|
|
data/sig/client.rbs
CHANGED
@@ -99,7 +99,8 @@ module Aws
|
|
99
99
|
device_permission_role_arn: ::String,
|
100
100
|
protocol: ("MqttV3_1_1" | "MqttV5" | "MqttV3_1_1_OverWebSocket" | "MqttV5_OverWebSocket")?
|
101
101
|
},
|
102
|
-
?tags: Hash[::String, ::String]
|
102
|
+
?tags: Hash[::String, ::String],
|
103
|
+
?client_token: ::String
|
103
104
|
) -> _CreateSuiteDefinitionResponseSuccess
|
104
105
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSuiteDefinitionResponseSuccess
|
105
106
|
|
data/sig/types.rbs
CHANGED
@@ -16,6 +16,7 @@ module Aws::IoTDeviceAdvisor
|
|
16
16
|
class CreateSuiteDefinitionRequest
|
17
17
|
attr_accessor suite_definition_configuration: Types::SuiteDefinitionConfiguration
|
18
18
|
attr_accessor tags: ::Hash[::String, ::String]
|
19
|
+
attr_accessor client_token: ::String
|
19
20
|
SENSITIVE: []
|
20
21
|
end
|
21
22
|
|
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.43.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: 2024-
|
11
|
+
date: 2024-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|