aws-sdk-braket 1.31.0 → 1.33.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: d73a60df8a3e1f5a9f8892046c3a76de83c1101880b3f36a91d4a307b5784b54
4
- data.tar.gz: ada971d07efc21ec87d29fa68a9880084dec874d2a4663231baaff54959f3de2
3
+ metadata.gz: 1ceb25ecc02596abb02aec5e70900e2524e07d06421ca6f874ad59d0aa23c9b6
4
+ data.tar.gz: 31acba029b8befd0a07ce9a13337c8866d66cd8506683c07543c6a8fe762099a
5
5
  SHA512:
6
- metadata.gz: bcf9a171f6398422b87d81a9c42fb6373d0b276151ac7328dc6d8bd0c2d347dc6a612dc77a205e93a0875b4430954f8987be045d50ef7026f5fcd7726d14d77e
7
- data.tar.gz: d1df0e67898ef2158cb522ca7684cbb67f66fa61e447cd22d6d758e57b43772d21fe85a74725f70c9a9eb803d2ad74996a4a0eb68cdd24a52e0fde49fe771470
6
+ metadata.gz: a51d34eb877a786264be2836d9266e3e4342e8d230bf2872fc5e21e1198f1eff9a6b88e045cd645ee1b3efcb8c56a7ff13519d99cb2e02c2a71fb218a0c7ee03
7
+ data.tar.gz: 9f007fdc184fd7378178d67d0361c079eca98850227e26cf3687c3fa88c767ce073c4137891aa7eadaa920138dacea0cfd30275907d1535541bc622c032c02fc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.32.0 (2023-12-04)
10
+ ------------------
11
+
12
+ * Feature - This release enhances service support to create quantum tasks and hybrid jobs associated with Braket Direct Reservations.
13
+
4
14
  1.31.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -462,6 +462,9 @@ module Aws::Braket
462
462
  # container image the job uses and information about the Python scripts
463
463
  # used for entry and training.
464
464
  #
465
+ # @option params [Array<Types::Association>] :associations
466
+ # The list of Amazon Braket resources associated with the hybrid job.
467
+ #
465
468
  # @option params [Types::JobCheckpointConfig] :checkpoint_config
466
469
  # Information about the output locations for job checkpoint data.
467
470
  #
@@ -527,6 +530,12 @@ module Aws::Braket
527
530
  # s3_uri: "S3Path", # required
528
531
  # },
529
532
  # },
533
+ # associations: [
534
+ # {
535
+ # arn: "BraketResourceArn", # required
536
+ # type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
537
+ # },
538
+ # ],
530
539
  # checkpoint_config: {
531
540
  # local_path: "String4096",
532
541
  # s3_uri: "S3Path", # required
@@ -590,6 +599,9 @@ module Aws::Braket
590
599
  # when the required value (Hash, Array, etc.) is provided according to
591
600
  # the description.**
592
601
  #
602
+ # @option params [Array<Types::Association>] :associations
603
+ # The list of Amazon Braket resources associated with the quantum task.
604
+ #
593
605
  # @option params [required, String] :client_token
594
606
  # The client token associated with the request.
595
607
  #
@@ -631,6 +643,12 @@ module Aws::Braket
631
643
  #
632
644
  # resp = client.create_quantum_task({
633
645
  # action: "JsonValue", # required
646
+ # associations: [
647
+ # {
648
+ # arn: "BraketResourceArn", # required
649
+ # type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
650
+ # },
651
+ # ],
634
652
  # client_token: "String64", # required
635
653
  # device_arn: "DeviceArn", # required
636
654
  # device_parameters: "CreateQuantumTaskRequestDeviceParametersString",
@@ -722,6 +740,7 @@ module Aws::Braket
722
740
  # @return [Types::GetJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
723
741
  #
724
742
  # * {Types::GetJobResponse#algorithm_specification #algorithm_specification} => Types::AlgorithmSpecification
743
+ # * {Types::GetJobResponse#associations #associations} => Array&lt;Types::Association&gt;
725
744
  # * {Types::GetJobResponse#billable_duration #billable_duration} => Integer
726
745
  # * {Types::GetJobResponse#checkpoint_config #checkpoint_config} => Types::JobCheckpointConfig
727
746
  # * {Types::GetJobResponse#created_at #created_at} => Time
@@ -755,6 +774,9 @@ module Aws::Braket
755
774
  # resp.algorithm_specification.script_mode_config.compression_type #=> String, one of "NONE", "GZIP"
756
775
  # resp.algorithm_specification.script_mode_config.entry_point #=> String
757
776
  # resp.algorithm_specification.script_mode_config.s3_uri #=> String
777
+ # resp.associations #=> Array
778
+ # resp.associations[0].arn #=> String
779
+ # resp.associations[0].type #=> String, one of "RESERVATION_TIME_WINDOW_ARN"
758
780
  # resp.billable_duration #=> Integer
759
781
  # resp.checkpoint_config.local_path #=> String
760
782
  # resp.checkpoint_config.s3_uri #=> String
@@ -804,10 +826,11 @@ module Aws::Braket
804
826
  # A list of attributes to return information for.
805
827
  #
806
828
  # @option params [required, String] :quantum_task_arn
807
- # the ARN of the task to retrieve.
829
+ # The ARN of the task to retrieve.
808
830
  #
809
831
  # @return [Types::GetQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
810
832
  #
833
+ # * {Types::GetQuantumTaskResponse#associations #associations} => Array&lt;Types::Association&gt;
811
834
  # * {Types::GetQuantumTaskResponse#created_at #created_at} => Time
812
835
  # * {Types::GetQuantumTaskResponse#device_arn #device_arn} => String
813
836
  # * {Types::GetQuantumTaskResponse#device_parameters #device_parameters} => String
@@ -831,6 +854,9 @@ module Aws::Braket
831
854
  #
832
855
  # @example Response structure
833
856
  #
857
+ # resp.associations #=> Array
858
+ # resp.associations[0].arn #=> String
859
+ # resp.associations[0].type #=> String, one of "RESERVATION_TIME_WINDOW_ARN"
834
860
  # resp.created_at #=> Time
835
861
  # resp.device_arn #=> String
836
862
  # resp.device_parameters #=> String
@@ -1124,7 +1150,7 @@ module Aws::Braket
1124
1150
  params: params,
1125
1151
  config: config)
1126
1152
  context[:gem_name] = 'aws-sdk-braket'
1127
- context[:gem_version] = '1.31.0'
1153
+ context[:gem_version] = '1.33.0'
1128
1154
  Seahorse::Client::Request.new(handlers, context)
1129
1155
  end
1130
1156
 
@@ -15,6 +15,10 @@ module Aws::Braket
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AlgorithmSpecification = Shapes::StructureShape.new(name: 'AlgorithmSpecification')
18
+ Association = Shapes::StructureShape.new(name: 'Association')
19
+ AssociationType = Shapes::StringShape.new(name: 'AssociationType')
20
+ Associations = Shapes::ListShape.new(name: 'Associations')
21
+ BraketResourceArn = Shapes::StringShape.new(name: 'BraketResourceArn')
18
22
  CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
19
23
  CancelJobResponse = Shapes::StructureShape.new(name: 'CancelJobResponse')
20
24
  CancelQuantumTaskRequest = Shapes::StructureShape.new(name: 'CancelQuantumTaskRequest')
@@ -24,10 +28,12 @@ module Aws::Braket
24
28
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
25
29
  ContainerImage = Shapes::StructureShape.new(name: 'ContainerImage')
26
30
  CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
31
+ CreateJobRequestAssociationsList = Shapes::ListShape.new(name: 'CreateJobRequestAssociationsList')
27
32
  CreateJobRequestInputDataConfigList = Shapes::ListShape.new(name: 'CreateJobRequestInputDataConfigList')
28
33
  CreateJobRequestJobNameString = Shapes::StringShape.new(name: 'CreateJobRequestJobNameString')
29
34
  CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
30
35
  CreateQuantumTaskRequest = Shapes::StructureShape.new(name: 'CreateQuantumTaskRequest')
36
+ CreateQuantumTaskRequestAssociationsList = Shapes::ListShape.new(name: 'CreateQuantumTaskRequestAssociationsList')
31
37
  CreateQuantumTaskRequestDeviceParametersString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestDeviceParametersString')
32
38
  CreateQuantumTaskRequestOutputS3BucketString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestOutputS3BucketString')
33
39
  CreateQuantumTaskRequestOutputS3KeyPrefixString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestOutputS3KeyPrefixString')
@@ -142,6 +148,12 @@ module Aws::Braket
142
148
  AlgorithmSpecification.add_member(:script_mode_config, Shapes::ShapeRef.new(shape: ScriptModeConfig, location_name: "scriptModeConfig"))
143
149
  AlgorithmSpecification.struct_class = Types::AlgorithmSpecification
144
150
 
151
+ Association.add_member(:arn, Shapes::ShapeRef.new(shape: BraketResourceArn, required: true, location_name: "arn"))
152
+ Association.add_member(:type, Shapes::ShapeRef.new(shape: AssociationType, required: true, location_name: "type"))
153
+ Association.struct_class = Types::Association
154
+
155
+ Associations.member = Shapes::ShapeRef.new(shape: Association)
156
+
145
157
  CancelJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location: "uri", location_name: "jobArn"))
146
158
  CancelJobRequest.struct_class = Types::CancelJobRequest
147
159
 
@@ -164,6 +176,7 @@ module Aws::Braket
164
176
  ContainerImage.struct_class = Types::ContainerImage
165
177
 
166
178
  CreateJobRequest.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
179
+ CreateJobRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateJobRequestAssociationsList, location_name: "associations"))
167
180
  CreateJobRequest.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
168
181
  CreateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
169
182
  CreateJobRequest.add_member(:device_config, Shapes::ShapeRef.new(shape: DeviceConfig, required: true, location_name: "deviceConfig"))
@@ -177,12 +190,15 @@ module Aws::Braket
177
190
  CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
178
191
  CreateJobRequest.struct_class = Types::CreateJobRequest
179
192
 
193
+ CreateJobRequestAssociationsList.member = Shapes::ShapeRef.new(shape: Association)
194
+
180
195
  CreateJobRequestInputDataConfigList.member = Shapes::ShapeRef.new(shape: InputFileConfig)
181
196
 
182
197
  CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
183
198
  CreateJobResponse.struct_class = Types::CreateJobResponse
184
199
 
185
200
  CreateQuantumTaskRequest.add_member(:action, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "action", metadata: {"jsonvalue"=>true}))
201
+ CreateQuantumTaskRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestAssociationsList, location_name: "associations"))
186
202
  CreateQuantumTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
187
203
  CreateQuantumTaskRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
188
204
  CreateQuantumTaskRequest.add_member(:device_parameters, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestDeviceParametersString, location_name: "deviceParameters", metadata: {"jsonvalue"=>true}))
@@ -193,6 +209,8 @@ module Aws::Braket
193
209
  CreateQuantumTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
194
210
  CreateQuantumTaskRequest.struct_class = Types::CreateQuantumTaskRequest
195
211
 
212
+ CreateQuantumTaskRequestAssociationsList.member = Shapes::ShapeRef.new(shape: Association)
213
+
196
214
  CreateQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
197
215
  CreateQuantumTaskResponse.struct_class = Types::CreateQuantumTaskResponse
198
216
 
@@ -241,6 +259,7 @@ module Aws::Braket
241
259
  GetJobRequest.struct_class = Types::GetJobRequest
242
260
 
243
261
  GetJobResponse.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
262
+ GetJobResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
244
263
  GetJobResponse.add_member(:billable_duration, Shapes::ShapeRef.new(shape: Integer, location_name: "billableDuration"))
245
264
  GetJobResponse.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
246
265
  GetJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
@@ -266,6 +285,7 @@ module Aws::Braket
266
285
  GetQuantumTaskRequest.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location: "uri", location_name: "quantumTaskArn"))
267
286
  GetQuantumTaskRequest.struct_class = Types::GetQuantumTaskRequest
268
287
 
288
+ GetQuantumTaskResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
269
289
  GetQuantumTaskResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
270
290
  GetQuantumTaskResponse.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
271
291
  GetQuantumTaskResponse.add_member(:device_parameters, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "deviceParameters", metadata: {"jsonvalue"=>true}))
@@ -32,7 +32,7 @@ module Aws::Braket
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://braket-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -14,6 +14,7 @@ module Aws::Braket
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Braket::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -45,6 +45,25 @@ module Aws::Braket
45
45
  include Aws::Structure
46
46
  end
47
47
 
48
+ # The Amazon Braket resource and the association type.
49
+ #
50
+ # @!attribute [rw] arn
51
+ # The Amazon Braket resource arn.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] type
55
+ # The association type for the specified Amazon Braket resource arn.
56
+ # @return [String]
57
+ #
58
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/Association AWS API Documentation
59
+ #
60
+ class Association < Struct.new(
61
+ :arn,
62
+ :type)
63
+ SENSITIVE = []
64
+ include Aws::Structure
65
+ end
66
+
48
67
  # @!attribute [rw] job_arn
49
68
  # The ARN of the Amazon Braket job to cancel.
50
69
  # @return [String]
@@ -144,6 +163,10 @@ module Aws::Braket
144
163
  # scripts used for entry and training.
145
164
  # @return [Types::AlgorithmSpecification]
146
165
  #
166
+ # @!attribute [rw] associations
167
+ # The list of Amazon Braket resources associated with the hybrid job.
168
+ # @return [Array<Types::Association>]
169
+ #
147
170
  # @!attribute [rw] checkpoint_config
148
171
  # Information about the output locations for job checkpoint data.
149
172
  # @return [Types::JobCheckpointConfig]
@@ -207,6 +230,7 @@ module Aws::Braket
207
230
  #
208
231
  class CreateJobRequest < Struct.new(
209
232
  :algorithm_specification,
233
+ :associations,
210
234
  :checkpoint_config,
211
235
  :client_token,
212
236
  :device_config,
@@ -238,6 +262,11 @@ module Aws::Braket
238
262
  # The action associated with the task.
239
263
  # @return [String]
240
264
  #
265
+ # @!attribute [rw] associations
266
+ # The list of Amazon Braket resources associated with the quantum
267
+ # task.
268
+ # @return [Array<Types::Association>]
269
+ #
241
270
  # @!attribute [rw] client_token
242
271
  # The client token associated with the request.
243
272
  #
@@ -279,6 +308,7 @@ module Aws::Braket
279
308
  #
280
309
  class CreateQuantumTaskRequest < Struct.new(
281
310
  :action,
311
+ :associations,
282
312
  :client_token,
283
313
  :device_arn,
284
314
  :device_parameters,
@@ -498,6 +528,10 @@ module Aws::Braket
498
528
  # the job.
499
529
  # @return [Types::AlgorithmSpecification]
500
530
  #
531
+ # @!attribute [rw] associations
532
+ # The list of Amazon Braket resources associated with the hybrid job.
533
+ # @return [Array<Types::Association>]
534
+ #
501
535
  # @!attribute [rw] billable_duration
502
536
  # The billable time the Amazon Braket job used to complete.
503
537
  # @return [Integer]
@@ -593,6 +627,7 @@ module Aws::Braket
593
627
  #
594
628
  class GetJobResponse < Struct.new(
595
629
  :algorithm_specification,
630
+ :associations,
596
631
  :billable_duration,
597
632
  :checkpoint_config,
598
633
  :created_at,
@@ -621,7 +656,7 @@ module Aws::Braket
621
656
  # @return [Array<String>]
622
657
  #
623
658
  # @!attribute [rw] quantum_task_arn
624
- # the ARN of the task to retrieve.
659
+ # The ARN of the task to retrieve.
625
660
  # @return [String]
626
661
  #
627
662
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskRequest AWS API Documentation
@@ -633,6 +668,11 @@ module Aws::Braket
633
668
  include Aws::Structure
634
669
  end
635
670
 
671
+ # @!attribute [rw] associations
672
+ # The list of Amazon Braket resources associated with the quantum
673
+ # task.
674
+ # @return [Array<Types::Association>]
675
+ #
636
676
  # @!attribute [rw] created_at
637
677
  # The time at which the task was created.
638
678
  # @return [Time]
@@ -690,6 +730,7 @@ module Aws::Braket
690
730
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskResponse AWS API Documentation
691
731
  #
692
732
  class GetQuantumTaskResponse < Struct.new(
733
+ :associations,
693
734
  :created_at,
694
735
  :device_arn,
695
736
  :device_parameters,
@@ -834,7 +875,7 @@ module Aws::Braket
834
875
  # @return [String]
835
876
  #
836
877
  # @!attribute [rw] time_of_event
837
- # TThe type of event that occurred related to the Amazon Braket job.
878
+ # The type of event that occurred related to the Amazon Braket job.
838
879
  # @return [Time]
839
880
  #
840
881
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/JobEventDetails AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-braket/customizations'
52
52
  # @!group service
53
53
  module Aws::Braket
54
54
 
55
- GEM_VERSION = '1.31.0'
55
+ GEM_VERSION = '1.33.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,341 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Braket
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CancelJobResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelJobResponse]
77
+ def cancellation_status: () -> ("CANCELLING" | "CANCELLED")
78
+ def job_arn: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#cancel_job-instance_method
81
+ def cancel_job: (
82
+ job_arn: ::String
83
+ ) -> _CancelJobResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelJobResponseSuccess
85
+
86
+ interface _CancelQuantumTaskResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelQuantumTaskResponse]
88
+ def cancellation_status: () -> ("CANCELLING" | "CANCELLED")
89
+ def quantum_task_arn: () -> ::String
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#cancel_quantum_task-instance_method
92
+ def cancel_quantum_task: (
93
+ client_token: ::String,
94
+ quantum_task_arn: ::String
95
+ ) -> _CancelQuantumTaskResponseSuccess
96
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelQuantumTaskResponseSuccess
97
+
98
+ interface _CreateJobResponseSuccess
99
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateJobResponse]
100
+ def job_arn: () -> ::String
101
+ end
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#create_job-instance_method
103
+ def create_job: (
104
+ algorithm_specification: {
105
+ container_image: {
106
+ uri: ::String
107
+ }?,
108
+ script_mode_config: {
109
+ compression_type: ("NONE" | "GZIP")?,
110
+ entry_point: ::String,
111
+ s3_uri: ::String
112
+ }?
113
+ },
114
+ ?associations: Array[
115
+ {
116
+ arn: ::String,
117
+ type: ("RESERVATION_TIME_WINDOW_ARN")
118
+ },
119
+ ],
120
+ ?checkpoint_config: {
121
+ local_path: ::String?,
122
+ s3_uri: ::String
123
+ },
124
+ client_token: ::String,
125
+ device_config: {
126
+ device: ::String
127
+ },
128
+ ?hyper_parameters: Hash[::String, ::String],
129
+ ?input_data_config: Array[
130
+ {
131
+ channel_name: ::String,
132
+ content_type: ::String?,
133
+ data_source: {
134
+ s3_data_source: {
135
+ s3_uri: ::String
136
+ }
137
+ }
138
+ },
139
+ ],
140
+ instance_config: {
141
+ instance_count: ::Integer?,
142
+ instance_type: ("ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.p4d.24xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5n.xlarge" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge"),
143
+ volume_size_in_gb: ::Integer
144
+ },
145
+ job_name: ::String,
146
+ output_data_config: {
147
+ kms_key_id: ::String?,
148
+ s3_path: ::String
149
+ },
150
+ role_arn: ::String,
151
+ ?stopping_condition: {
152
+ max_runtime_in_seconds: ::Integer?
153
+ },
154
+ ?tags: Hash[::String, ::String]
155
+ ) -> _CreateJobResponseSuccess
156
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateJobResponseSuccess
157
+
158
+ interface _CreateQuantumTaskResponseSuccess
159
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateQuantumTaskResponse]
160
+ def quantum_task_arn: () -> ::String
161
+ end
162
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#create_quantum_task-instance_method
163
+ def create_quantum_task: (
164
+ action: ::String,
165
+ ?associations: Array[
166
+ {
167
+ arn: ::String,
168
+ type: ("RESERVATION_TIME_WINDOW_ARN")
169
+ },
170
+ ],
171
+ client_token: ::String,
172
+ device_arn: ::String,
173
+ ?device_parameters: ::String,
174
+ ?job_token: ::String,
175
+ output_s3_bucket: ::String,
176
+ output_s3_key_prefix: ::String,
177
+ shots: ::Integer,
178
+ ?tags: Hash[::String, ::String]
179
+ ) -> _CreateQuantumTaskResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQuantumTaskResponseSuccess
181
+
182
+ interface _GetDeviceResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDeviceResponse]
184
+ def device_arn: () -> ::String
185
+ def device_capabilities: () -> ::String
186
+ def device_name: () -> ::String
187
+ def device_queue_info: () -> ::Array[Types::DeviceQueueInfo]
188
+ def device_status: () -> ("ONLINE" | "OFFLINE" | "RETIRED")
189
+ def device_type: () -> ("QPU" | "SIMULATOR")
190
+ def provider_name: () -> ::String
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_device-instance_method
193
+ def get_device: (
194
+ device_arn: ::String
195
+ ) -> _GetDeviceResponseSuccess
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeviceResponseSuccess
197
+
198
+ interface _GetJobResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetJobResponse]
200
+ def algorithm_specification: () -> Types::AlgorithmSpecification
201
+ def associations: () -> ::Array[Types::Association]
202
+ def billable_duration: () -> ::Integer
203
+ def checkpoint_config: () -> Types::JobCheckpointConfig
204
+ def created_at: () -> ::Time
205
+ def device_config: () -> Types::DeviceConfig
206
+ def ended_at: () -> ::Time
207
+ def events: () -> ::Array[Types::JobEventDetails]
208
+ def failure_reason: () -> ::String
209
+ def hyper_parameters: () -> ::Hash[::String, ::String]
210
+ def input_data_config: () -> ::Array[Types::InputFileConfig]
211
+ def instance_config: () -> Types::InstanceConfig
212
+ def job_arn: () -> ::String
213
+ def job_name: () -> ::String
214
+ def output_data_config: () -> Types::JobOutputDataConfig
215
+ def queue_info: () -> Types::HybridJobQueueInfo
216
+ def role_arn: () -> ::String
217
+ def started_at: () -> ::Time
218
+ def status: () -> ("QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
219
+ def stopping_condition: () -> Types::JobStoppingCondition
220
+ def tags: () -> ::Hash[::String, ::String]
221
+ end
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_job-instance_method
223
+ def get_job: (
224
+ ?additional_attribute_names: Array[("QueueInfo")],
225
+ job_arn: ::String
226
+ ) -> _GetJobResponseSuccess
227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobResponseSuccess
228
+
229
+ interface _GetQuantumTaskResponseSuccess
230
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetQuantumTaskResponse]
231
+ def associations: () -> ::Array[Types::Association]
232
+ def created_at: () -> ::Time
233
+ def device_arn: () -> ::String
234
+ def device_parameters: () -> ::String
235
+ def ended_at: () -> ::Time
236
+ def failure_reason: () -> ::String
237
+ def job_arn: () -> ::String
238
+ def output_s3_bucket: () -> ::String
239
+ def output_s3_directory: () -> ::String
240
+ def quantum_task_arn: () -> ::String
241
+ def queue_info: () -> Types::QuantumTaskQueueInfo
242
+ def shots: () -> ::Integer
243
+ def status: () -> ("CREATED" | "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
244
+ def tags: () -> ::Hash[::String, ::String]
245
+ end
246
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_quantum_task-instance_method
247
+ def get_quantum_task: (
248
+ ?additional_attribute_names: Array[("QueueInfo")],
249
+ quantum_task_arn: ::String
250
+ ) -> _GetQuantumTaskResponseSuccess
251
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQuantumTaskResponseSuccess
252
+
253
+ interface _ListTagsForResourceResponseSuccess
254
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
255
+ def tags: () -> ::Hash[::String, ::String]
256
+ end
257
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#list_tags_for_resource-instance_method
258
+ def list_tags_for_resource: (
259
+ resource_arn: ::String
260
+ ) -> _ListTagsForResourceResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
262
+
263
+ interface _SearchDevicesResponseSuccess
264
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchDevicesResponse]
265
+ def devices: () -> ::Array[Types::DeviceSummary]
266
+ def next_token: () -> ::String
267
+ end
268
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#search_devices-instance_method
269
+ def search_devices: (
270
+ filters: Array[
271
+ {
272
+ name: ::String,
273
+ values: Array[::String]
274
+ },
275
+ ],
276
+ ?max_results: ::Integer,
277
+ ?next_token: ::String
278
+ ) -> _SearchDevicesResponseSuccess
279
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchDevicesResponseSuccess
280
+
281
+ interface _SearchJobsResponseSuccess
282
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchJobsResponse]
283
+ def jobs: () -> ::Array[Types::JobSummary]
284
+ def next_token: () -> ::String
285
+ end
286
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#search_jobs-instance_method
287
+ def search_jobs: (
288
+ filters: Array[
289
+ {
290
+ name: ::String,
291
+ operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN" | "CONTAINS"),
292
+ values: Array[::String]
293
+ },
294
+ ],
295
+ ?max_results: ::Integer,
296
+ ?next_token: ::String
297
+ ) -> _SearchJobsResponseSuccess
298
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchJobsResponseSuccess
299
+
300
+ interface _SearchQuantumTasksResponseSuccess
301
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchQuantumTasksResponse]
302
+ def next_token: () -> ::String
303
+ def quantum_tasks: () -> ::Array[Types::QuantumTaskSummary]
304
+ end
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#search_quantum_tasks-instance_method
306
+ def search_quantum_tasks: (
307
+ filters: Array[
308
+ {
309
+ name: ::String,
310
+ operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN"),
311
+ values: Array[::String]
312
+ },
313
+ ],
314
+ ?max_results: ::Integer,
315
+ ?next_token: ::String
316
+ ) -> _SearchQuantumTasksResponseSuccess
317
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchQuantumTasksResponseSuccess
318
+
319
+ interface _TagResourceResponseSuccess
320
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
321
+ end
322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#tag_resource-instance_method
323
+ def tag_resource: (
324
+ resource_arn: ::String,
325
+ tags: Hash[::String, ::String]
326
+ ) -> _TagResourceResponseSuccess
327
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
328
+
329
+ interface _UntagResourceResponseSuccess
330
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#untag_resource-instance_method
333
+ def untag_resource: (
334
+ resource_arn: ::String,
335
+ tag_keys: Array[::String]
336
+ ) -> _UntagResourceResponseSuccess
337
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
338
+ end
339
+ end
340
+ end
341
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,43 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Braket
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class DeviceOfflineException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class DeviceRetiredException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InternalServiceException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class ThrottlingException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ class ValidationException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
41
+ end
42
+ end
43
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Braket
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,411 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Braket
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AlgorithmSpecification
17
+ attr_accessor container_image: Types::ContainerImage
18
+ attr_accessor script_mode_config: Types::ScriptModeConfig
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class Association
23
+ attr_accessor arn: ::String
24
+ attr_accessor type: ("RESERVATION_TIME_WINDOW_ARN")
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class CancelJobRequest
29
+ attr_accessor job_arn: ::String
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class CancelJobResponse
34
+ attr_accessor cancellation_status: ("CANCELLING" | "CANCELLED")
35
+ attr_accessor job_arn: ::String
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class CancelQuantumTaskRequest
40
+ attr_accessor client_token: ::String
41
+ attr_accessor quantum_task_arn: ::String
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class CancelQuantumTaskResponse
46
+ attr_accessor cancellation_status: ("CANCELLING" | "CANCELLED")
47
+ attr_accessor quantum_task_arn: ::String
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class ConflictException
52
+ attr_accessor message: ::String
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class ContainerImage
57
+ attr_accessor uri: ::String
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class CreateJobRequest
62
+ attr_accessor algorithm_specification: Types::AlgorithmSpecification
63
+ attr_accessor associations: ::Array[Types::Association]
64
+ attr_accessor checkpoint_config: Types::JobCheckpointConfig
65
+ attr_accessor client_token: ::String
66
+ attr_accessor device_config: Types::DeviceConfig
67
+ attr_accessor hyper_parameters: ::Hash[::String, ::String]
68
+ attr_accessor input_data_config: ::Array[Types::InputFileConfig]
69
+ attr_accessor instance_config: Types::InstanceConfig
70
+ attr_accessor job_name: ::String
71
+ attr_accessor output_data_config: Types::JobOutputDataConfig
72
+ attr_accessor role_arn: ::String
73
+ attr_accessor stopping_condition: Types::JobStoppingCondition
74
+ attr_accessor tags: ::Hash[::String, ::String]
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class CreateJobResponse
79
+ attr_accessor job_arn: ::String
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class CreateQuantumTaskRequest
84
+ attr_accessor action: ::String
85
+ attr_accessor associations: ::Array[Types::Association]
86
+ attr_accessor client_token: ::String
87
+ attr_accessor device_arn: ::String
88
+ attr_accessor device_parameters: ::String
89
+ attr_accessor job_token: ::String
90
+ attr_accessor output_s3_bucket: ::String
91
+ attr_accessor output_s3_key_prefix: ::String
92
+ attr_accessor shots: ::Integer
93
+ attr_accessor tags: ::Hash[::String, ::String]
94
+ SENSITIVE: []
95
+ end
96
+
97
+ class CreateQuantumTaskResponse
98
+ attr_accessor quantum_task_arn: ::String
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class DataSource
103
+ attr_accessor s3_data_source: Types::S3DataSource
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class DeviceConfig
108
+ attr_accessor device: ::String
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class DeviceOfflineException
113
+ attr_accessor message: ::String
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class DeviceQueueInfo
118
+ attr_accessor queue: ("QUANTUM_TASKS_QUEUE" | "JOBS_QUEUE")
119
+ attr_accessor queue_priority: ("Normal" | "Priority")
120
+ attr_accessor queue_size: ::String
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class DeviceRetiredException
125
+ attr_accessor message: ::String
126
+ SENSITIVE: []
127
+ end
128
+
129
+ class DeviceSummary
130
+ attr_accessor device_arn: ::String
131
+ attr_accessor device_name: ::String
132
+ attr_accessor device_status: ("ONLINE" | "OFFLINE" | "RETIRED")
133
+ attr_accessor device_type: ("QPU" | "SIMULATOR")
134
+ attr_accessor provider_name: ::String
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class GetDeviceRequest
139
+ attr_accessor device_arn: ::String
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class GetDeviceResponse
144
+ attr_accessor device_arn: ::String
145
+ attr_accessor device_capabilities: ::String
146
+ attr_accessor device_name: ::String
147
+ attr_accessor device_queue_info: ::Array[Types::DeviceQueueInfo]
148
+ attr_accessor device_status: ("ONLINE" | "OFFLINE" | "RETIRED")
149
+ attr_accessor device_type: ("QPU" | "SIMULATOR")
150
+ attr_accessor provider_name: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class GetJobRequest
155
+ attr_accessor additional_attribute_names: ::Array[("QueueInfo")]
156
+ attr_accessor job_arn: ::String
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class GetJobResponse
161
+ attr_accessor algorithm_specification: Types::AlgorithmSpecification
162
+ attr_accessor associations: ::Array[Types::Association]
163
+ attr_accessor billable_duration: ::Integer
164
+ attr_accessor checkpoint_config: Types::JobCheckpointConfig
165
+ attr_accessor created_at: ::Time
166
+ attr_accessor device_config: Types::DeviceConfig
167
+ attr_accessor ended_at: ::Time
168
+ attr_accessor events: ::Array[Types::JobEventDetails]
169
+ attr_accessor failure_reason: ::String
170
+ attr_accessor hyper_parameters: ::Hash[::String, ::String]
171
+ attr_accessor input_data_config: ::Array[Types::InputFileConfig]
172
+ attr_accessor instance_config: Types::InstanceConfig
173
+ attr_accessor job_arn: ::String
174
+ attr_accessor job_name: ::String
175
+ attr_accessor output_data_config: Types::JobOutputDataConfig
176
+ attr_accessor queue_info: Types::HybridJobQueueInfo
177
+ attr_accessor role_arn: ::String
178
+ attr_accessor started_at: ::Time
179
+ attr_accessor status: ("QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
180
+ attr_accessor stopping_condition: Types::JobStoppingCondition
181
+ attr_accessor tags: ::Hash[::String, ::String]
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class GetQuantumTaskRequest
186
+ attr_accessor additional_attribute_names: ::Array[("QueueInfo")]
187
+ attr_accessor quantum_task_arn: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class GetQuantumTaskResponse
192
+ attr_accessor associations: ::Array[Types::Association]
193
+ attr_accessor created_at: ::Time
194
+ attr_accessor device_arn: ::String
195
+ attr_accessor device_parameters: ::String
196
+ attr_accessor ended_at: ::Time
197
+ attr_accessor failure_reason: ::String
198
+ attr_accessor job_arn: ::String
199
+ attr_accessor output_s3_bucket: ::String
200
+ attr_accessor output_s3_directory: ::String
201
+ attr_accessor quantum_task_arn: ::String
202
+ attr_accessor queue_info: Types::QuantumTaskQueueInfo
203
+ attr_accessor shots: ::Integer
204
+ attr_accessor status: ("CREATED" | "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
205
+ attr_accessor tags: ::Hash[::String, ::String]
206
+ SENSITIVE: []
207
+ end
208
+
209
+ class HybridJobQueueInfo
210
+ attr_accessor message: ::String
211
+ attr_accessor position: ::String
212
+ attr_accessor queue: ("QUANTUM_TASKS_QUEUE" | "JOBS_QUEUE")
213
+ SENSITIVE: []
214
+ end
215
+
216
+ class InputFileConfig
217
+ attr_accessor channel_name: ::String
218
+ attr_accessor content_type: ::String
219
+ attr_accessor data_source: Types::DataSource
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class InstanceConfig
224
+ attr_accessor instance_count: ::Integer
225
+ attr_accessor instance_type: ("ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.p4d.24xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5n.xlarge" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge")
226
+ attr_accessor volume_size_in_gb: ::Integer
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class InternalServiceException
231
+ attr_accessor message: ::String
232
+ SENSITIVE: []
233
+ end
234
+
235
+ class JobCheckpointConfig
236
+ attr_accessor local_path: ::String
237
+ attr_accessor s3_uri: ::String
238
+ SENSITIVE: []
239
+ end
240
+
241
+ class JobEventDetails
242
+ attr_accessor event_type: ("WAITING_FOR_PRIORITY" | "QUEUED_FOR_EXECUTION" | "STARTING_INSTANCE" | "DOWNLOADING_DATA" | "RUNNING" | "DEPRIORITIZED_DUE_TO_INACTIVITY" | "UPLOADING_RESULTS" | "COMPLETED" | "FAILED" | "MAX_RUNTIME_EXCEEDED" | "CANCELLED")
243
+ attr_accessor message: ::String
244
+ attr_accessor time_of_event: ::Time
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class JobOutputDataConfig
249
+ attr_accessor kms_key_id: ::String
250
+ attr_accessor s3_path: ::String
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class JobStoppingCondition
255
+ attr_accessor max_runtime_in_seconds: ::Integer
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class JobSummary
260
+ attr_accessor created_at: ::Time
261
+ attr_accessor device: ::String
262
+ attr_accessor ended_at: ::Time
263
+ attr_accessor job_arn: ::String
264
+ attr_accessor job_name: ::String
265
+ attr_accessor started_at: ::Time
266
+ attr_accessor status: ("QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
267
+ attr_accessor tags: ::Hash[::String, ::String]
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class ListTagsForResourceRequest
272
+ attr_accessor resource_arn: ::String
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class ListTagsForResourceResponse
277
+ attr_accessor tags: ::Hash[::String, ::String]
278
+ SENSITIVE: []
279
+ end
280
+
281
+ class QuantumTaskQueueInfo
282
+ attr_accessor message: ::String
283
+ attr_accessor position: ::String
284
+ attr_accessor queue: ("QUANTUM_TASKS_QUEUE" | "JOBS_QUEUE")
285
+ attr_accessor queue_priority: ("Normal" | "Priority")
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class QuantumTaskSummary
290
+ attr_accessor created_at: ::Time
291
+ attr_accessor device_arn: ::String
292
+ attr_accessor ended_at: ::Time
293
+ attr_accessor output_s3_bucket: ::String
294
+ attr_accessor output_s3_directory: ::String
295
+ attr_accessor quantum_task_arn: ::String
296
+ attr_accessor shots: ::Integer
297
+ attr_accessor status: ("CREATED" | "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
298
+ attr_accessor tags: ::Hash[::String, ::String]
299
+ SENSITIVE: []
300
+ end
301
+
302
+ class ResourceNotFoundException
303
+ attr_accessor message: ::String
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class S3DataSource
308
+ attr_accessor s3_uri: ::String
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class ScriptModeConfig
313
+ attr_accessor compression_type: ("NONE" | "GZIP")
314
+ attr_accessor entry_point: ::String
315
+ attr_accessor s3_uri: ::String
316
+ SENSITIVE: []
317
+ end
318
+
319
+ class SearchDevicesFilter
320
+ attr_accessor name: ::String
321
+ attr_accessor values: ::Array[::String]
322
+ SENSITIVE: []
323
+ end
324
+
325
+ class SearchDevicesRequest
326
+ attr_accessor filters: ::Array[Types::SearchDevicesFilter]
327
+ attr_accessor max_results: ::Integer
328
+ attr_accessor next_token: ::String
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class SearchDevicesResponse
333
+ attr_accessor devices: ::Array[Types::DeviceSummary]
334
+ attr_accessor next_token: ::String
335
+ SENSITIVE: []
336
+ end
337
+
338
+ class SearchJobsFilter
339
+ attr_accessor name: ::String
340
+ attr_accessor operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN" | "CONTAINS")
341
+ attr_accessor values: ::Array[::String]
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class SearchJobsRequest
346
+ attr_accessor filters: ::Array[Types::SearchJobsFilter]
347
+ attr_accessor max_results: ::Integer
348
+ attr_accessor next_token: ::String
349
+ SENSITIVE: []
350
+ end
351
+
352
+ class SearchJobsResponse
353
+ attr_accessor jobs: ::Array[Types::JobSummary]
354
+ attr_accessor next_token: ::String
355
+ SENSITIVE: []
356
+ end
357
+
358
+ class SearchQuantumTasksFilter
359
+ attr_accessor name: ::String
360
+ attr_accessor operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN")
361
+ attr_accessor values: ::Array[::String]
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class SearchQuantumTasksRequest
366
+ attr_accessor filters: ::Array[Types::SearchQuantumTasksFilter]
367
+ attr_accessor max_results: ::Integer
368
+ attr_accessor next_token: ::String
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class SearchQuantumTasksResponse
373
+ attr_accessor next_token: ::String
374
+ attr_accessor quantum_tasks: ::Array[Types::QuantumTaskSummary]
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class ServiceQuotaExceededException
379
+ attr_accessor message: ::String
380
+ SENSITIVE: []
381
+ end
382
+
383
+ class TagResourceRequest
384
+ attr_accessor resource_arn: ::String
385
+ attr_accessor tags: ::Hash[::String, ::String]
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class TagResourceResponse < Aws::EmptyStructure
390
+ end
391
+
392
+ class ThrottlingException
393
+ attr_accessor message: ::String
394
+ SENSITIVE: []
395
+ end
396
+
397
+ class UntagResourceRequest
398
+ attr_accessor resource_arn: ::String
399
+ attr_accessor tag_keys: ::Array[::String]
400
+ SENSITIVE: []
401
+ end
402
+
403
+ class UntagResourceResponse < Aws::EmptyStructure
404
+ end
405
+
406
+ class ValidationException
407
+ attr_accessor message: ::String
408
+ SENSITIVE: []
409
+ end
410
+ end
411
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Braket
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-braket
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-braket/plugins/endpoints.rb
67
67
  - lib/aws-sdk-braket/resource.rb
68
68
  - lib/aws-sdk-braket/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-braket
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-braket/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Braket
94
99
  test_files: []