aws-sdk-braket 1.16.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +19 -1
- data/lib/aws-sdk-braket/client_api.rb +2 -0
- data/lib/aws-sdk-braket/types.rb +8 -0
- data/lib/aws-sdk-braket.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 603dd5da94f4aa7096491fa2f137db98cd363a12de0f7998e90586801e87a8ce
|
4
|
+
data.tar.gz: 92e49ed49cca17ce8e3b321a286f7ee4fb2486a883d2c77e6b48b8866996b7c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a560a1d943b96042a82bf9188bf52b6605ef9589415d3ec8ce329c09b026bd39292c273cbcc34aa62384e96b5c9cd3c8fc9e013769c1f4425be7b2a9871df92
|
7
|
+
data.tar.gz: 25fcc19ebedd4b0d8b1dd83ef0a321ac82bdf5621662f79273df6ae8201e079a9c12ca70ceb112eff71e3267f10f718d24b31b84e4ff4dfc6599a46a36185a43
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2022-04-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables Braket Hybrid Jobs with Embedded Simulators to have multiple instances.
|
8
|
+
|
9
|
+
1.18.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.17.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.16.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::Braket
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -509,6 +513,7 @@ module Aws::Braket
|
|
509
513
|
# },
|
510
514
|
# ],
|
511
515
|
# instance_config: { # required
|
516
|
+
# instance_count: 1,
|
512
517
|
# instance_type: "ml.m4.xlarge", # required, accepts 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
|
513
518
|
# volume_size_in_gb: 1, # required
|
514
519
|
# },
|
@@ -616,6 +621,18 @@ module Aws::Braket
|
|
616
621
|
|
617
622
|
# Retrieves the devices available in Amazon Braket.
|
618
623
|
#
|
624
|
+
# <note markdown="1"> For backwards compatibility with older versions of BraketSchemas,
|
625
|
+
# OpenQASM information is omitted from GetDevice API calls. To get this
|
626
|
+
# information the user-agent needs to present a recent version of the
|
627
|
+
# BraketSchemas (1.8.0 or later). The Braket SDK automatically reports
|
628
|
+
# this for you. If you do not see OpenQASM results in the GetDevice
|
629
|
+
# response when using a Braket SDK, you may need to set
|
630
|
+
# AWS\_EXECUTION\_ENV environment variable to configure user-agent. See
|
631
|
+
# the code examples provided below for how to do this for the AWS CLI,
|
632
|
+
# Boto3, and the Go, Java, and JavaScript/TypeScript SDKs.
|
633
|
+
#
|
634
|
+
# </note>
|
635
|
+
#
|
619
636
|
# @option params [required, String] :device_arn
|
620
637
|
# The ARN of the device to retrieve.
|
621
638
|
#
|
@@ -708,6 +725,7 @@ module Aws::Braket
|
|
708
725
|
# resp.input_data_config[0].channel_name #=> String
|
709
726
|
# resp.input_data_config[0].content_type #=> String
|
710
727
|
# resp.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
|
728
|
+
# resp.instance_config.instance_count #=> Integer
|
711
729
|
# resp.instance_config.instance_type #=> String, one of "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"
|
712
730
|
# resp.instance_config.volume_size_in_gb #=> Integer
|
713
731
|
# resp.job_arn #=> String
|
@@ -1047,7 +1065,7 @@ module Aws::Braket
|
|
1047
1065
|
params: params,
|
1048
1066
|
config: config)
|
1049
1067
|
context[:gem_name] = 'aws-sdk-braket'
|
1050
|
-
context[:gem_version] = '1.
|
1068
|
+
context[:gem_version] = '1.19.0'
|
1051
1069
|
Seahorse::Client::Request.new(handlers, context)
|
1052
1070
|
end
|
1053
1071
|
|
@@ -55,6 +55,7 @@ module Aws::Braket
|
|
55
55
|
InputFileConfig = Shapes::StructureShape.new(name: 'InputFileConfig')
|
56
56
|
InputFileConfigChannelNameString = Shapes::StringShape.new(name: 'InputFileConfigChannelNameString')
|
57
57
|
InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
|
58
|
+
InstanceConfigInstanceCountInteger = Shapes::IntegerShape.new(name: 'InstanceConfigInstanceCountInteger')
|
58
59
|
InstanceConfigVolumeSizeInGbInteger = Shapes::IntegerShape.new(name: 'InstanceConfigVolumeSizeInGbInteger')
|
59
60
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
60
61
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
@@ -268,6 +269,7 @@ module Aws::Braket
|
|
268
269
|
InputFileConfig.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
|
269
270
|
InputFileConfig.struct_class = Types::InputFileConfig
|
270
271
|
|
272
|
+
InstanceConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceConfigInstanceCountInteger, location_name: "instanceCount"))
|
271
273
|
InstanceConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
|
272
274
|
InstanceConfig.add_member(:volume_size_in_gb, Shapes::ShapeRef.new(shape: InstanceConfigVolumeSizeInGbInteger, required: true, location_name: "volumeSizeInGb"))
|
273
275
|
InstanceConfig.struct_class = Types::InstanceConfig
|
data/lib/aws-sdk-braket/types.rb
CHANGED
@@ -211,6 +211,7 @@ module Aws::Braket
|
|
211
211
|
# },
|
212
212
|
# ],
|
213
213
|
# instance_config: { # required
|
214
|
+
# instance_count: 1,
|
214
215
|
# instance_type: "ml.m4.xlarge", # required, accepts 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
|
215
216
|
# volume_size_in_gb: 1, # required
|
216
217
|
# },
|
@@ -842,10 +843,16 @@ module Aws::Braket
|
|
842
843
|
# data as a hash:
|
843
844
|
#
|
844
845
|
# {
|
846
|
+
# instance_count: 1,
|
845
847
|
# instance_type: "ml.m4.xlarge", # required, accepts 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
|
846
848
|
# volume_size_in_gb: 1, # required
|
847
849
|
# }
|
848
850
|
#
|
851
|
+
# @!attribute [rw] instance_count
|
852
|
+
# Configures the number of resource instances to use while running an
|
853
|
+
# Amazon Braket job on Amazon Braket. The default value is 1.
|
854
|
+
# @return [Integer]
|
855
|
+
#
|
849
856
|
# @!attribute [rw] instance_type
|
850
857
|
# Configures the type resource instances to use while running an
|
851
858
|
# Amazon Braket hybrid job.
|
@@ -858,6 +865,7 @@ module Aws::Braket
|
|
858
865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/InstanceConfig AWS API Documentation
|
859
866
|
#
|
860
867
|
class InstanceConfig < Struct.new(
|
868
|
+
:instance_count,
|
861
869
|
:instance_type,
|
862
870
|
:volume_size_in_gb)
|
863
871
|
SENSITIVE = []
|
data/lib/aws-sdk-braket.rb
CHANGED
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.
|
4
|
+
version: 1.19.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:
|
11
|
+
date: 2022-04-28 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.
|
22
|
+
version: 3.127.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.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|