aws-sdk-iotdeviceadvisor 1.42.0 → 1.43.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: bed7d752093c654e75a6922556ce6a51e8efc686d1daa83619d390ae9af5f27f
4
- data.tar.gz: a8d7d58b7355ffb887c69bb90eff2612fbe3c6100e081df7f39383e78231cc4d
3
+ metadata.gz: b9687585904fb86bc0d6e8e724da26342d245074dbae7daf0e7069ce1b4e3ad5
4
+ data.tar.gz: 6a6ca5af05b23abbe3fcac5700cff8eb448c1eb2d35d665a155cb20c0b03b77f
5
5
  SHA512:
6
- metadata.gz: 12395e4f7254ee5b84105c47b7e7e605d4321671158acd05252efec6d0010ef57d2941c6e330dea4a65aaeb7e9ebca3572014512fcc9d1dcf55d438d8e4dc52c
7
- data.tar.gz: 38cc87fb20aa46cb140f69ee4223ec70243ff7d8d24f5e857b98ecc9acaa2379bfce8622f1824dde21f6362875fe4f4c2516e67fd888534372a62a51a7f9e211
6
+ metadata.gz: 67b70fcaf82d649661702954b37f5e9c39daebe5fa2de2499f2e75bacd4dba28a3e24fc2cee5c6257d1959cd40b3d3cb4c1ce48adabb7956593b498f50bc4fc4
7
+ data.tar.gz: 6a4c254529985943a34400568a082db6b57aa4f77f023f9e55eb50b0e417ac9490a125cac2abbd028b2825b7c021eae181378bdb8d00c50f5ac2016a507e3209
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.42.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.43.0
@@ -462,6 +462,14 @@ module Aws::IoTDeviceAdvisor
462
462
  # @option params [Hash<String,String>] :tags
463
463
  # The tags to be attached to the suite definition.
464
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
+ #
465
473
  # @return [Types::CreateSuiteDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
466
474
  #
467
475
  # * {Types::CreateSuiteDefinitionResponse#suite_definition_id #suite_definition_id} => String
@@ -490,6 +498,7 @@ module Aws::IoTDeviceAdvisor
490
498
  # tags: {
491
499
  # "String128" => "String256",
492
500
  # },
501
+ # client_token: "ClientToken",
493
502
  # })
494
503
  #
495
504
  # @example Response structure
@@ -1126,7 +1135,7 @@ module Aws::IoTDeviceAdvisor
1126
1135
  tracer: tracer
1127
1136
  )
1128
1137
  context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
1129
- context[:gem_version] = '1.42.0'
1138
+ context[:gem_version] = '1.43.0'
1130
1139
  Seahorse::Client::Request.new(handlers, context)
1131
1140
  end
1132
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
@@ -54,7 +54,7 @@ module Aws::IoTDeviceAdvisor
54
54
  autoload :EndpointProvider, 'aws-sdk-iotdeviceadvisor/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-iotdeviceadvisor/endpoints'
56
56
 
57
- GEM_VERSION = '1.42.0'
57
+ GEM_VERSION = '1.43.0'
58
58
 
59
59
  end
60
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.42.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-24 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