aws-sdk-braket 1.7.0 → 1.8.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket.rb +1 -1
- data/lib/aws-sdk-braket/client.rb +4 -4
- data/lib/aws-sdk-braket/client_api.rb +6 -0
- data/lib/aws-sdk-braket/errors.rb +16 -0
- data/lib/aws-sdk-braket/types.rb +14 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da47e66f3c1423145e6db0d0cc9e6c9df1473f61f3cdf834cb9524e43f3b189c
|
4
|
+
data.tar.gz: 0c6d0fd12cbeeab4f0eb5286222b3730c8848e6127b79bd9eeb710076e801384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f20b6743c50a37d2ce8fc9d3353b5a82e30335a6b5d6a2f6f657826c2af2f17b1761bc49c8f49b026f61bf0759391f986abb8065e19e05503d016fe87dacca86
|
7
|
+
data.tar.gz: 7a7f3496c50dfb2b38bb79bee23c8429d5e6505fc536dbe0e393b94ac738be7dd9be988d68457f4017db15dd64ad414798a31af08c3cbd226c10726507a3b8d3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
data/lib/aws-sdk-braket.rb
CHANGED
@@ -459,7 +459,7 @@ module Aws::Braket
|
|
459
459
|
# resp.device_arn #=> String
|
460
460
|
# resp.device_capabilities #=> String
|
461
461
|
# resp.device_name #=> String
|
462
|
-
# resp.device_status #=> String, one of "ONLINE", "OFFLINE"
|
462
|
+
# resp.device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
|
463
463
|
# resp.device_type #=> String, one of "QPU", "SIMULATOR"
|
464
464
|
# resp.provider_name #=> String
|
465
465
|
#
|
@@ -588,7 +588,7 @@ module Aws::Braket
|
|
588
588
|
# resp.devices #=> Array
|
589
589
|
# resp.devices[0].device_arn #=> String
|
590
590
|
# resp.devices[0].device_name #=> String
|
591
|
-
# resp.devices[0].device_status #=> String, one of "ONLINE", "OFFLINE"
|
591
|
+
# resp.devices[0].device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
|
592
592
|
# resp.devices[0].device_type #=> String, one of "QPU", "SIMULATOR"
|
593
593
|
# resp.devices[0].provider_name #=> String
|
594
594
|
# resp.next_token #=> String
|
@@ -696,7 +696,7 @@ module Aws::Braket
|
|
696
696
|
# tags.
|
697
697
|
#
|
698
698
|
# @option params [required, Array<String>] :tag_keys
|
699
|
-
#
|
699
|
+
# Specify the keys for the tags to remove from the resource.
|
700
700
|
#
|
701
701
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
702
702
|
#
|
@@ -729,7 +729,7 @@ module Aws::Braket
|
|
729
729
|
params: params,
|
730
730
|
config: config)
|
731
731
|
context[:gem_name] = 'aws-sdk-braket'
|
732
|
-
context[:gem_version] = '1.
|
732
|
+
context[:gem_version] = '1.8.0'
|
733
733
|
Seahorse::Client::Request.new(handlers, context)
|
734
734
|
end
|
735
735
|
|
@@ -26,6 +26,7 @@ module Aws::Braket
|
|
26
26
|
CreateQuantumTaskResponse = Shapes::StructureShape.new(name: 'CreateQuantumTaskResponse')
|
27
27
|
DeviceArn = Shapes::StringShape.new(name: 'DeviceArn')
|
28
28
|
DeviceOfflineException = Shapes::StructureShape.new(name: 'DeviceOfflineException')
|
29
|
+
DeviceRetiredException = Shapes::StructureShape.new(name: 'DeviceRetiredException')
|
29
30
|
DeviceStatus = Shapes::StringShape.new(name: 'DeviceStatus')
|
30
31
|
DeviceSummary = Shapes::StructureShape.new(name: 'DeviceSummary')
|
31
32
|
DeviceSummaryList = Shapes::ListShape.new(name: 'DeviceSummaryList')
|
@@ -102,6 +103,9 @@ module Aws::Braket
|
|
102
103
|
DeviceOfflineException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
103
104
|
DeviceOfflineException.struct_class = Types::DeviceOfflineException
|
104
105
|
|
106
|
+
DeviceRetiredException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
107
|
+
DeviceRetiredException.struct_class = Types::DeviceRetiredException
|
108
|
+
|
105
109
|
DeviceSummary.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
|
106
110
|
DeviceSummary.add_member(:device_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceName"))
|
107
111
|
DeviceSummary.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, required: true, location_name: "deviceStatus"))
|
@@ -279,6 +283,8 @@ module Aws::Braket
|
|
279
283
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
280
284
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
281
285
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
286
|
+
o.errors << Shapes::ShapeRef.new(shape: DeviceOfflineException)
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: DeviceRetiredException)
|
282
288
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
283
289
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
284
290
|
end)
|
@@ -30,6 +30,7 @@ module Aws::Braket
|
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
32
|
# * {DeviceOfflineException}
|
33
|
+
# * {DeviceRetiredException}
|
33
34
|
# * {InternalServiceException}
|
34
35
|
# * {ResourceNotFoundException}
|
35
36
|
# * {ServiceQuotaExceededException}
|
@@ -87,6 +88,21 @@ module Aws::Braket
|
|
87
88
|
end
|
88
89
|
end
|
89
90
|
|
91
|
+
class DeviceRetiredException < ServiceError
|
92
|
+
|
93
|
+
# @param [Seahorse::Client::RequestContext] context
|
94
|
+
# @param [String] message
|
95
|
+
# @param [Aws::Braket::Types::DeviceRetiredException] data
|
96
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
97
|
+
super(context, message, data)
|
98
|
+
end
|
99
|
+
|
100
|
+
# @return [String]
|
101
|
+
def message
|
102
|
+
@message || @data[:message]
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
90
106
|
class InternalServiceException < ServiceError
|
91
107
|
|
92
108
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-braket/types.rb
CHANGED
@@ -173,6 +173,19 @@ module Aws::Braket
|
|
173
173
|
include Aws::Structure
|
174
174
|
end
|
175
175
|
|
176
|
+
# The specified device has been retired.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] message
|
179
|
+
# @return [String]
|
180
|
+
#
|
181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/DeviceRetiredException AWS API Documentation
|
182
|
+
#
|
183
|
+
class DeviceRetiredException < Struct.new(
|
184
|
+
:message)
|
185
|
+
SENSITIVE = []
|
186
|
+
include Aws::Structure
|
187
|
+
end
|
188
|
+
|
176
189
|
# Includes information about the device.
|
177
190
|
#
|
178
191
|
# @!attribute [rw] device_arn
|
@@ -706,7 +719,7 @@ module Aws::Braket
|
|
706
719
|
# @return [String]
|
707
720
|
#
|
708
721
|
# @!attribute [rw] tag_keys
|
709
|
-
#
|
722
|
+
# Specify the keys for the tags to remove from the resource.
|
710
723
|
# @return [Array<String>]
|
711
724
|
#
|
712
725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResourceRequest AWS API Documentation
|
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.8.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: 2021-
|
11
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-braket
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-braket/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - Braket
|