aws-sdk-braket 1.61.0 → 1.62.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: 95f2d75322f3de3d58dfadf4c09e761454658596c5d34ae620119b31841d9edd
4
- data.tar.gz: 4dadd97d2d3ac2210279f90e0cc39e8e346a428f6c89319213bdb445b06691f4
3
+ metadata.gz: a5a3f134b0fdf7de81dcd98cf0457549cc83273053b242980125c068bee674ea
4
+ data.tar.gz: ec88edc2edfae2f425dad5f7eb5f7d47ba0918ebbf3e2dfc307263a6ecb633d1
5
5
  SHA512:
6
- metadata.gz: de7a5ac99025d50069453f239995c7119d72c801c029c85e5818649d6e48324ca80d5bb7e7742093423cfdeba150c31abd19046fadd65988f734b0acedb91a1a
7
- data.tar.gz: 951a6f803bf753e867291ad904268d7ea2f67a66037e9ffc896f957317097133b4ce7041c53ee28a50b26b3a2f22d805d7d3581382458c7946ff03feb4a42b80
6
+ metadata.gz: 35874e1c813735ee628e80ce7bf427956bb0c643e0fee038b00677b43421f28ade2f8a1b72c25342850fe31d4c5789a0a94e12b2c14a24b83360b735e0495168
7
+ data.tar.gz: b9bb5d5ff90ddfff6098b6453974c5dcb5610a483b1ae6e8c84c7a7f2a22fc68d940dcb099b61d962a2b3fcccaff226f88d9d26a1ed00906feb1f5a4b846564b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.62.0 (2025-11-10)
5
+ ------------------
6
+
7
+ * Feature - Adds ExperimentalCapabilities field to CreateQuantumTask request and GetQuantumTask response objects. Enables use of experimental software capabilities when creating quantum tasks.
8
+
4
9
  1.61.0 (2025-10-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.62.0
@@ -730,6 +730,9 @@ module Aws::Braket
730
730
  # @option params [Array<Types::Association>] :associations
731
731
  # The list of Amazon Braket resources associated with the quantum task.
732
732
  #
733
+ # @option params [Types::ExperimentalCapabilities] :experimental_capabilities
734
+ # Enable experimental capabilities for the quantum task.
735
+ #
733
736
  # @return [Types::CreateQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
734
737
  #
735
738
  # * {Types::CreateQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
@@ -754,6 +757,9 @@ module Aws::Braket
754
757
  # type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
755
758
  # },
756
759
  # ],
760
+ # experimental_capabilities: {
761
+ # enabled: "ALL", # accepts ALL, NONE
762
+ # },
757
763
  # })
758
764
  #
759
765
  # @example Response structure
@@ -943,6 +949,7 @@ module Aws::Braket
943
949
  # * {Types::GetQuantumTaskResponse#associations #associations} => Array&lt;Types::Association&gt;
944
950
  # * {Types::GetQuantumTaskResponse#num_successful_shots #num_successful_shots} => Integer
945
951
  # * {Types::GetQuantumTaskResponse#action_metadata #action_metadata} => Types::ActionMetadata
952
+ # * {Types::GetQuantumTaskResponse#experimental_capabilities #experimental_capabilities} => Types::ExperimentalCapabilities
946
953
  #
947
954
  # @example Request syntax with placeholder values
948
955
  #
@@ -977,6 +984,7 @@ module Aws::Braket
977
984
  # resp.action_metadata.action_type #=> String
978
985
  # resp.action_metadata.program_count #=> Integer
979
986
  # resp.action_metadata.executable_count #=> Integer
987
+ # resp.experimental_capabilities.enabled #=> String, one of "ALL", "NONE"
980
988
  #
981
989
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask AWS API Documentation
982
990
  #
@@ -1262,7 +1270,7 @@ module Aws::Braket
1262
1270
  tracer: tracer
1263
1271
  )
1264
1272
  context[:gem_name] = 'aws-sdk-braket'
1265
- context[:gem_version] = '1.61.0'
1273
+ context[:gem_version] = '1.62.0'
1266
1274
  Seahorse::Client::Request.new(handlers, context)
1267
1275
  end
1268
1276
 
@@ -52,6 +52,8 @@ module Aws::Braket
52
52
  DeviceSummary = Shapes::StructureShape.new(name: 'DeviceSummary')
53
53
  DeviceSummaryList = Shapes::ListShape.new(name: 'DeviceSummaryList')
54
54
  DeviceType = Shapes::StringShape.new(name: 'DeviceType')
55
+ ExperimentalCapabilities = Shapes::UnionShape.new(name: 'ExperimentalCapabilities')
56
+ ExperimentalCapabilitiesEnablementType = Shapes::StringShape.new(name: 'ExperimentalCapabilitiesEnablementType')
55
57
  GetDeviceRequest = Shapes::StructureShape.new(name: 'GetDeviceRequest')
56
58
  GetDeviceResponse = Shapes::StructureShape.new(name: 'GetDeviceResponse')
57
59
  GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
@@ -218,6 +220,7 @@ module Aws::Braket
218
220
  CreateQuantumTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
219
221
  CreateQuantumTaskRequest.add_member(:job_token, Shapes::ShapeRef.new(shape: JobToken, location_name: "jobToken"))
220
222
  CreateQuantumTaskRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestAssociationsList, location_name: "associations"))
223
+ CreateQuantumTaskRequest.add_member(:experimental_capabilities, Shapes::ShapeRef.new(shape: ExperimentalCapabilities, location_name: "experimentalCapabilities"))
221
224
  CreateQuantumTaskRequest.struct_class = Types::CreateQuantumTaskRequest
222
225
 
223
226
  CreateQuantumTaskRequestAssociationsList.member = Shapes::ShapeRef.new(shape: Association)
@@ -253,6 +256,12 @@ module Aws::Braket
253
256
 
254
257
  DeviceSummaryList.member = Shapes::ShapeRef.new(shape: DeviceSummary)
255
258
 
259
+ ExperimentalCapabilities.add_member(:enabled, Shapes::ShapeRef.new(shape: ExperimentalCapabilitiesEnablementType, location_name: "enabled"))
260
+ ExperimentalCapabilities.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
261
+ ExperimentalCapabilities.add_member_subclass(:enabled, Types::ExperimentalCapabilities::Enabled)
262
+ ExperimentalCapabilities.add_member_subclass(:unknown, Types::ExperimentalCapabilities::Unknown)
263
+ ExperimentalCapabilities.struct_class = Types::ExperimentalCapabilities
264
+
256
265
  GetDeviceRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location: "uri", location_name: "deviceArn"))
257
266
  GetDeviceRequest.struct_class = Types::GetDeviceRequest
258
267
 
@@ -312,6 +321,7 @@ module Aws::Braket
312
321
  GetQuantumTaskResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
313
322
  GetQuantumTaskResponse.add_member(:num_successful_shots, Shapes::ShapeRef.new(shape: Long, location_name: "numSuccessfulShots"))
314
323
  GetQuantumTaskResponse.add_member(:action_metadata, Shapes::ShapeRef.new(shape: ActionMetadata, location_name: "actionMetadata"))
324
+ GetQuantumTaskResponse.add_member(:experimental_capabilities, Shapes::ShapeRef.new(shape: ExperimentalCapabilities, location_name: "experimentalCapabilities"))
315
325
  GetQuantumTaskResponse.struct_class = Types::GetQuantumTaskResponse
316
326
 
317
327
  HybridJobAdditionalAttributeNamesList.member = Shapes::ShapeRef.new(shape: HybridJobAdditionalAttributeName)
@@ -32,12 +32,12 @@ module Aws::Braket
32
32
  #
33
33
  # @!attribute [rw] program_count
34
34
  # The number of programs in a program set. This is only available for
35
- # a Program Set.
35
+ # a program set.
36
36
  # @return [Integer]
37
37
  #
38
38
  # @!attribute [rw] executable_count
39
39
  # The number of executables in a program set. This is only available
40
- # for a Program Set.
40
+ # for a program set.
41
41
  # @return [Integer]
42
42
  #
43
43
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ActionMetadata AWS API Documentation
@@ -339,6 +339,10 @@ module Aws::Braket
339
339
  # task.
340
340
  # @return [Array<Types::Association>]
341
341
  #
342
+ # @!attribute [rw] experimental_capabilities
343
+ # Enable experimental capabilities for the quantum task.
344
+ # @return [Types::ExperimentalCapabilities]
345
+ #
342
346
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTaskRequest AWS API Documentation
343
347
  #
344
348
  class CreateQuantumTaskRequest < Struct.new(
@@ -351,7 +355,8 @@ module Aws::Braket
351
355
  :action,
352
356
  :tags,
353
357
  :job_token,
354
- :associations)
358
+ :associations,
359
+ :experimental_capabilities)
355
360
  SENSITIVE = []
356
361
  include Aws::Structure
357
362
  end
@@ -486,6 +491,31 @@ module Aws::Braket
486
491
  include Aws::Structure
487
492
  end
488
493
 
494
+ # Enabled experimental capabilities for quantum hardware. Note that the
495
+ # use of these features may impact device capabilities and performance
496
+ # beyond its standard specifications.
497
+ #
498
+ # @note ExperimentalCapabilities is a union - when making an API calls you must set exactly one of the members.
499
+ #
500
+ # @note ExperimentalCapabilities is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExperimentalCapabilities corresponding to the set member.
501
+ #
502
+ # @!attribute [rw] enabled
503
+ # Enabled experimental capabilities.
504
+ # @return [String]
505
+ #
506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ExperimentalCapabilities AWS API Documentation
507
+ #
508
+ class ExperimentalCapabilities < Struct.new(
509
+ :enabled,
510
+ :unknown)
511
+ SENSITIVE = []
512
+ include Aws::Structure
513
+ include Aws::Structure::Union
514
+
515
+ class Enabled < ExperimentalCapabilities; end
516
+ class Unknown < ExperimentalCapabilities; end
517
+ end
518
+
489
519
  # @!attribute [rw] device_arn
490
520
  # The ARN of the device to retrieve.
491
521
  # @return [String]
@@ -777,6 +807,10 @@ module Aws::Braket
777
807
  # information about the type of action and program counts.
778
808
  # @return [Types::ActionMetadata]
779
809
  #
810
+ # @!attribute [rw] experimental_capabilities
811
+ # Enabled experimental capabilities for the quantum task, if any.
812
+ # @return [Types::ExperimentalCapabilities]
813
+ #
780
814
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskResponse AWS API Documentation
781
815
  #
782
816
  class GetQuantumTaskResponse < Struct.new(
@@ -795,7 +829,8 @@ module Aws::Braket
795
829
  :queue_info,
796
830
  :associations,
797
831
  :num_successful_shots,
798
- :action_metadata)
832
+ :action_metadata,
833
+ :experimental_capabilities)
799
834
  SENSITIVE = []
800
835
  include Aws::Structure
801
836
  end
@@ -54,7 +54,7 @@ module Aws::Braket
54
54
  autoload :EndpointProvider, 'aws-sdk-braket/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-braket/endpoints'
56
56
 
57
- GEM_VERSION = '1.61.0'
57
+ GEM_VERSION = '1.62.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -181,7 +181,10 @@ module Aws
181
181
  arn: ::String,
182
182
  type: ("RESERVATION_TIME_WINDOW_ARN")
183
183
  },
184
- ]
184
+ ],
185
+ ?experimental_capabilities: {
186
+ enabled: ("ALL" | "NONE")?
187
+ }
185
188
  ) -> _CreateQuantumTaskResponseSuccess
186
189
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQuantumTaskResponseSuccess
187
190
 
@@ -250,6 +253,7 @@ module Aws
250
253
  def associations: () -> ::Array[Types::Association]
251
254
  def num_successful_shots: () -> ::Integer
252
255
  def action_metadata: () -> Types::ActionMetadata
256
+ def experimental_capabilities: () -> Types::ExperimentalCapabilities
253
257
  end
254
258
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_quantum_task-instance_method
255
259
  def get_quantum_task: (
data/sig/types.rbs CHANGED
@@ -98,6 +98,7 @@ module Aws::Braket
98
98
  attr_accessor tags: ::Hash[::String, ::String]
99
99
  attr_accessor job_token: ::String
100
100
  attr_accessor associations: ::Array[Types::Association]
101
+ attr_accessor experimental_capabilities: Types::ExperimentalCapabilities
101
102
  SENSITIVE: []
102
103
  end
103
104
 
@@ -142,6 +143,17 @@ module Aws::Braket
142
143
  SENSITIVE: []
143
144
  end
144
145
 
146
+ class ExperimentalCapabilities
147
+ attr_accessor enabled: ("ALL" | "NONE")
148
+ attr_accessor unknown: untyped
149
+ SENSITIVE: []
150
+
151
+ class Enabled < ExperimentalCapabilities
152
+ end
153
+ class Unknown < ExperimentalCapabilities
154
+ end
155
+ end
156
+
145
157
  class GetDeviceRequest
146
158
  attr_accessor device_arn: ::String
147
159
  SENSITIVE: []
@@ -212,6 +224,7 @@ module Aws::Braket
212
224
  attr_accessor associations: ::Array[Types::Association]
213
225
  attr_accessor num_successful_shots: ::Integer
214
226
  attr_accessor action_metadata: Types::ActionMetadata
227
+ attr_accessor experimental_capabilities: Types::ExperimentalCapabilities
215
228
  SENSITIVE: []
216
229
  end
217
230
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-braket
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.61.0
4
+ version: 1.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services