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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 638ca4061a3239a0fedb9c7f6678205eeca63c478995b6913ea019d97ee7ca7f
4
- data.tar.gz: 50d5de333b774bc6cf14c5933b7e32ddd536c397109efc67ef7174c23a8e3fe3
3
+ metadata.gz: b9687585904fb86bc0d6e8e724da26342d245074dbae7daf0e7069ce1b4e3ad5
4
+ data.tar.gz: 6a6ca5af05b23abbe3fcac5700cff8eb448c1eb2d35d665a155cb20c0b03b77f
5
5
  SHA512:
6
- metadata.gz: 9027f51207935c620dc7cfefa2630b427d51f3ba207480ec3355d6848add8f88bd5b00323df8c4f79a8abd636ddabf588959c6de842637c2fcf5992f97f37a04
7
- data.tar.gz: 56b99eae0bd62378716ec787282ee803b4d39a7722f1e1bcb58dd10c25fb8104050973a418a3d897b3fd1e0b75484b3cb618a82d6f7af003f5b61518391be8c5
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.41.0
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.41.0'
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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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.41.0'
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.41.0
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-09-23 00:00:00.000000000 Z
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