aws-sdk-braket 1.18.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +15 -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 +2 -2
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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -513,6 +513,7 @@ module Aws::Braket
|
|
513
513
|
# },
|
514
514
|
# ],
|
515
515
|
# instance_config: { # required
|
516
|
+
# instance_count: 1,
|
516
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
|
517
518
|
# volume_size_in_gb: 1, # required
|
518
519
|
# },
|
@@ -620,6 +621,18 @@ module Aws::Braket
|
|
620
621
|
|
621
622
|
# Retrieves the devices available in Amazon Braket.
|
622
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
|
+
#
|
623
636
|
# @option params [required, String] :device_arn
|
624
637
|
# The ARN of the device to retrieve.
|
625
638
|
#
|
@@ -712,6 +725,7 @@ module Aws::Braket
|
|
712
725
|
# resp.input_data_config[0].channel_name #=> String
|
713
726
|
# resp.input_data_config[0].content_type #=> String
|
714
727
|
# resp.input_data_config[0].data_source.s3_data_source.s3_uri #=> String
|
728
|
+
# resp.instance_config.instance_count #=> Integer
|
715
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"
|
716
730
|
# resp.instance_config.volume_size_in_gb #=> Integer
|
717
731
|
# resp.job_arn #=> String
|
@@ -1051,7 +1065,7 @@ module Aws::Braket
|
|
1051
1065
|
params: params,
|
1052
1066
|
config: config)
|
1053
1067
|
context[:gem_name] = 'aws-sdk-braket'
|
1054
|
-
context[:gem_version] = '1.
|
1068
|
+
context[:gem_version] = '1.19.0'
|
1055
1069
|
Seahorse::Client::Request.new(handlers, context)
|
1056
1070
|
end
|
1057
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: 2022-
|
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
|