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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c69cb983c92dda30955fe657da60890b9a724e33ef1a37e2cb53f0bc7043b9a
4
- data.tar.gz: 1aa3485c36550799a92c0e2ccee210a0e5d98e4bafa79c6f1a1827387e5ff67a
3
+ metadata.gz: 603dd5da94f4aa7096491fa2f137db98cd363a12de0f7998e90586801e87a8ce
4
+ data.tar.gz: 92e49ed49cca17ce8e3b321a286f7ee4fb2486a883d2c77e6b48b8866996b7c5
5
5
  SHA512:
6
- metadata.gz: 6a2062f1829583dc75a88f19f49b4a48c5c2ce28638afc1afaff0df9e05124a6a8908da18816765f2ef21a03f1e743e6047270032174f8a9957ce4a5701d1cbd
7
- data.tar.gz: 8d8619f48e78cb41c33a29890e1661621a68cab9b3311b5f7df1f46d8cc088b801f0bf0a9b019e71e606f490e31573fd790f8298470f11eb297ec29bc4134a8b
6
+ metadata.gz: 6a560a1d943b96042a82bf9188bf52b6605ef9589415d3ec8ce329c09b026bd39292c273cbcc34aa62384e96b5c9cd3c8fc9e013769c1f4425be7b2a9871df92
7
+ data.tar.gz: 25fcc19ebedd4b0d8b1dd83ef0a321ac82bdf5621662f79273df6ae8201e079a9c12ca70ceb112eff71e3267f10f718d24b31b84e4ff4dfc6599a46a36185a43
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.18.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
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.18.0'
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
@@ -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 = []
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-braket/customizations'
48
48
  # @!group service
49
49
  module Aws::Braket
50
50
 
51
- GEM_VERSION = '1.18.0'
51
+ GEM_VERSION = '1.19.0'
52
52
 
53
53
  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.18.0
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-02-24 00:00:00.000000000 Z
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