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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7465c303784afe13a4ba52c3dfee1cbcd298d377ac4f6d7c5a3e618f9fccafef
4
- data.tar.gz: ea6324c8793cc4906894785023554956350d6d0fc98174700c8d0ff10a83e9b4
3
+ metadata.gz: da47e66f3c1423145e6db0d0cc9e6c9df1473f61f3cdf834cb9524e43f3b189c
4
+ data.tar.gz: 0c6d0fd12cbeeab4f0eb5286222b3730c8848e6127b79bd9eeb710076e801384
5
5
  SHA512:
6
- metadata.gz: c971aaf035e5a1b1dddf3cfe47a75080c8b6bb3ae9820f8f11ab301c9ac3b4e9627a7adfa64e2b0f7ba0efdcdea43898cd74ae1a32c8fc8fa44eb05b86a3d90b
7
- data.tar.gz: 80735e7c1f0e39eb5eb5575974059d1235f0b141ab24599cc260b5fe5016cf7b68fd6db8de15f9ea8144864ac9d0eda1861be58d612419706793f768f8932e68
6
+ metadata.gz: f20b6743c50a37d2ce8fc9d3353b5a82e30335a6b5d6a2f6f657826c2af2f17b1761bc49c8f49b026f61bf0759391f986abb8065e19e05503d016fe87dacca86
7
+ data.tar.gz: 7a7f3496c50dfb2b38bb79bee23c8429d5e6505fc536dbe0e393b94ac738be7dd9be988d68457f4017db15dd64ad414798a31af08c3cbd226c10726507a3b8d3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2021-06-02)
5
+ ------------------
6
+
7
+ * Feature - Introduction of a RETIRED status for devices.
8
+
4
9
  1.7.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -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.7.0'
51
+ GEM_VERSION = '1.8.0'
52
52
 
53
53
  end
@@ -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
- # pecify the keys for the tags to remove from the resource.
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.7.0'
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
@@ -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
- # pecify the keys for the tags to remove from the resource.
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.7.0
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-03-10 00:00:00.000000000 Z
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/master/gems/aws-sdk-braket
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-braket/CHANGELOG.md
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
- rubyforge_project:
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