aws-sdk-braket 1.3.0 → 1.8.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: 517de9ab731ef300c60dc827f9596033daf543f18933e7fe6dc898ac2bd552d7
4
- data.tar.gz: 14518389eb03f6dbc9f2fdb0ce71e86e22f491d5865b10c128112639a6411557
3
+ metadata.gz: da47e66f3c1423145e6db0d0cc9e6c9df1473f61f3cdf834cb9524e43f3b189c
4
+ data.tar.gz: 0c6d0fd12cbeeab4f0eb5286222b3730c8848e6127b79bd9eeb710076e801384
5
5
  SHA512:
6
- metadata.gz: 8134ed7993b6165721c9fb102e99c972deb7ddf271cad71c4bded0c582f8c9f60ef8d7284e5ea7553c19f7295769efc623a796072773cfaa369fb4aa765b5623
7
- data.tar.gz: 9e2414fc05b9ae61c26671146bfd4061c150d50305b41339f95ecf12b824c22fc4ee36f1655fb99eb3be9fe948bdef846a2e044eb048b58fd872686aad043451
6
+ metadata.gz: f20b6743c50a37d2ce8fc9d3353b5a82e30335a6b5d6a2f6f657826c2af2f17b1761bc49c8f49b026f61bf0759391f986abb8065e19e05503d016fe87dacca86
7
+ data.tar.gz: 7a7f3496c50dfb2b38bb79bee23c8429d5e6505fc536dbe0e393b94ac738be7dd9be988d68457f4017db15dd64ad414798a31af08c3cbd226c10726507a3b8d3
data/CHANGELOG.md ADDED
@@ -0,0 +1,47 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.8.0 (2021-06-02)
5
+ ------------------
6
+
7
+ * Feature - Introduction of a RETIRED status for devices.
8
+
9
+ 1.7.0 (2021-03-10)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.6.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.5.0 (2020-10-30)
20
+ ------------------
21
+
22
+ * Feature - This release supports tagging for Amazon Braket quantum-task resources. It also supports tag-based access control for quantum-task APIs.
23
+
24
+ 1.4.0 (2020-09-30)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.3.0 (2020-09-15)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.2.0 (2020-08-25)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.1.0 (2020-08-14)
40
+ ------------------
41
+
42
+ * Feature - Fixing bug in our SDK model where device status and device type had been flipped.
43
+
44
+ 1.0.0 (2020-08-13)
45
+ ------------------
46
+
47
+ * Feature - Initial release of `aws-sdk-braket`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.8.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.3.0'
51
+ GEM_VERSION = '1.8.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -352,7 +352,7 @@ module Aws::Braket
352
352
  #
353
353
  # @example Response structure
354
354
  #
355
- # resp.cancellation_status #=> String, one of "CANCELLED", "CANCELLING"
355
+ # resp.cancellation_status #=> String, one of "CANCELLING", "CANCELLED"
356
356
  # resp.quantum_task_arn #=> String
357
357
  #
358
358
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTask AWS API Documentation
@@ -399,6 +399,9 @@ module Aws::Braket
399
399
  # @option params [required, Integer] :shots
400
400
  # The number of shots to use for the task.
401
401
  #
402
+ # @option params [Hash<String,String>] :tags
403
+ # Tags to be added to the quantum task you're creating.
404
+ #
402
405
  # @return [Types::CreateQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
403
406
  #
404
407
  # * {Types::CreateQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
@@ -409,10 +412,13 @@ module Aws::Braket
409
412
  # action: "JsonValue", # required
410
413
  # client_token: "String64", # required
411
414
  # device_arn: "DeviceArn", # required
412
- # device_parameters: "CreateQuantumTaskRequestdeviceParametersJsonValue",
413
- # output_s3_bucket: "CreateQuantumTaskRequestoutputS3BucketString", # required
414
- # output_s3_key_prefix: "CreateQuantumTaskRequestoutputS3KeyPrefixString", # required
415
+ # device_parameters: "CreateQuantumTaskRequestDeviceParametersString",
416
+ # output_s3_bucket: "CreateQuantumTaskRequestOutputS3BucketString", # required
417
+ # output_s3_key_prefix: "CreateQuantumTaskRequestOutputS3KeyPrefixString", # required
415
418
  # shots: 1, # required
419
+ # tags: {
420
+ # "String" => "String",
421
+ # },
416
422
  # })
417
423
  #
418
424
  # @example Response structure
@@ -453,7 +459,7 @@ module Aws::Braket
453
459
  # resp.device_arn #=> String
454
460
  # resp.device_capabilities #=> String
455
461
  # resp.device_name #=> String
456
- # resp.device_status #=> String, one of "OFFLINE", "ONLINE"
462
+ # resp.device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
457
463
  # resp.device_type #=> String, one of "QPU", "SIMULATOR"
458
464
  # resp.provider_name #=> String
459
465
  #
@@ -483,6 +489,7 @@ module Aws::Braket
483
489
  # * {Types::GetQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
484
490
  # * {Types::GetQuantumTaskResponse#shots #shots} => Integer
485
491
  # * {Types::GetQuantumTaskResponse#status #status} => String
492
+ # * {Types::GetQuantumTaskResponse#tags #tags} => Hash&lt;String,String&gt;
486
493
  #
487
494
  # @example Request syntax with placeholder values
488
495
  #
@@ -501,7 +508,9 @@ module Aws::Braket
501
508
  # resp.output_s3_directory #=> String
502
509
  # resp.quantum_task_arn #=> String
503
510
  # resp.shots #=> Integer
504
- # resp.status #=> String, one of "CANCELLED", "CANCELLING", "COMPLETED", "CREATED", "FAILED", "QUEUED", "RUNNING"
511
+ # resp.status #=> String, one of "CREATED", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
512
+ # resp.tags #=> Hash
513
+ # resp.tags["String"] #=> String
505
514
  #
506
515
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask AWS API Documentation
507
516
  #
@@ -512,6 +521,35 @@ module Aws::Braket
512
521
  req.send_request(options)
513
522
  end
514
523
 
524
+ # Shows the tags associated with this resource.
525
+ #
526
+ # @option params [required, String] :resource_arn
527
+ # Specify the `resourceArn` for the resource whose tags to display.
528
+ #
529
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
530
+ #
531
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
532
+ #
533
+ # @example Request syntax with placeholder values
534
+ #
535
+ # resp = client.list_tags_for_resource({
536
+ # resource_arn: "String", # required
537
+ # })
538
+ #
539
+ # @example Response structure
540
+ #
541
+ # resp.tags #=> Hash
542
+ # resp.tags["String"] #=> String
543
+ #
544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ListTagsForResource AWS API Documentation
545
+ #
546
+ # @overload list_tags_for_resource(params = {})
547
+ # @param [Hash] params ({})
548
+ def list_tags_for_resource(params = {}, options = {})
549
+ req = build_request(:list_tags_for_resource, params)
550
+ req.send_request(options)
551
+ end
552
+
515
553
  # Searches for devices using the specified filters.
516
554
  #
517
555
  # @option params [required, Array<Types::SearchDevicesFilter>] :filters
@@ -537,7 +575,7 @@ module Aws::Braket
537
575
  # resp = client.search_devices({
538
576
  # filters: [ # required
539
577
  # {
540
- # name: "SearchDevicesFilternameString", # required
578
+ # name: "SearchDevicesFilterNameString", # required
541
579
  # values: ["String256"], # required
542
580
  # },
543
581
  # ],
@@ -550,7 +588,7 @@ module Aws::Braket
550
588
  # resp.devices #=> Array
551
589
  # resp.devices[0].device_arn #=> String
552
590
  # resp.devices[0].device_name #=> String
553
- # resp.devices[0].device_status #=> String, one of "OFFLINE", "ONLINE"
591
+ # resp.devices[0].device_status #=> String, one of "ONLINE", "OFFLINE", "RETIRED"
554
592
  # resp.devices[0].device_type #=> String, one of "QPU", "SIMULATOR"
555
593
  # resp.devices[0].provider_name #=> String
556
594
  # resp.next_token #=> String
@@ -590,7 +628,7 @@ module Aws::Braket
590
628
  # filters: [ # required
591
629
  # {
592
630
  # name: "String64", # required
593
- # operator: "BETWEEN", # required, accepts BETWEEN, EQUAL, GT, GTE, LT, LTE
631
+ # operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
594
632
  # values: ["String256"], # required
595
633
  # },
596
634
  # ],
@@ -609,7 +647,9 @@ module Aws::Braket
609
647
  # resp.quantum_tasks[0].output_s3_directory #=> String
610
648
  # resp.quantum_tasks[0].quantum_task_arn #=> String
611
649
  # resp.quantum_tasks[0].shots #=> Integer
612
- # resp.quantum_tasks[0].status #=> String, one of "CANCELLED", "CANCELLING", "COMPLETED", "CREATED", "FAILED", "QUEUED", "RUNNING"
650
+ # resp.quantum_tasks[0].status #=> String, one of "CREATED", "QUEUED", "RUNNING", "COMPLETED", "FAILED", "CANCELLING", "CANCELLED"
651
+ # resp.quantum_tasks[0].tags #=> Hash
652
+ # resp.quantum_tasks[0].tags["String"] #=> String
613
653
  #
614
654
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasks AWS API Documentation
615
655
  #
@@ -620,6 +660,62 @@ module Aws::Braket
620
660
  req.send_request(options)
621
661
  end
622
662
 
663
+ # Add a tag to the specified resource.
664
+ #
665
+ # @option params [required, String] :resource_arn
666
+ # Specify the `resourceArn` of the resource to which a tag will be
667
+ # added.
668
+ #
669
+ # @option params [required, Hash<String,String>] :tags
670
+ # Specify the tags to add to the resource.
671
+ #
672
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
673
+ #
674
+ # @example Request syntax with placeholder values
675
+ #
676
+ # resp = client.tag_resource({
677
+ # resource_arn: "String", # required
678
+ # tags: { # required
679
+ # "String" => "String",
680
+ # },
681
+ # })
682
+ #
683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/TagResource AWS API Documentation
684
+ #
685
+ # @overload tag_resource(params = {})
686
+ # @param [Hash] params ({})
687
+ def tag_resource(params = {}, options = {})
688
+ req = build_request(:tag_resource, params)
689
+ req.send_request(options)
690
+ end
691
+
692
+ # Remove tags from a resource.
693
+ #
694
+ # @option params [required, String] :resource_arn
695
+ # Specify the `resourceArn` for the resource from which to remove the
696
+ # tags.
697
+ #
698
+ # @option params [required, Array<String>] :tag_keys
699
+ # Specify the keys for the tags to remove from the resource.
700
+ #
701
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
702
+ #
703
+ # @example Request syntax with placeholder values
704
+ #
705
+ # resp = client.untag_resource({
706
+ # resource_arn: "String", # required
707
+ # tag_keys: ["String"], # required
708
+ # })
709
+ #
710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResource AWS API Documentation
711
+ #
712
+ # @overload untag_resource(params = {})
713
+ # @param [Hash] params ({})
714
+ def untag_resource(params = {}, options = {})
715
+ req = build_request(:untag_resource, params)
716
+ req.send_request(options)
717
+ end
718
+
623
719
  # @!endgroup
624
720
 
625
721
  # @param params ({})
@@ -633,7 +729,7 @@ module Aws::Braket
633
729
  params: params,
634
730
  config: config)
635
731
  context[:gem_name] = 'aws-sdk-braket'
636
- context[:gem_version] = '1.3.0'
732
+ context[:gem_version] = '1.8.0'
637
733
  Seahorse::Client::Request.new(handlers, context)
638
734
  end
639
735
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -19,13 +19,14 @@ module Aws::Braket
19
19
  CancellationStatus = Shapes::StringShape.new(name: 'CancellationStatus')
20
20
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
21
21
  CreateQuantumTaskRequest = Shapes::StructureShape.new(name: 'CreateQuantumTaskRequest')
22
- CreateQuantumTaskRequestdeviceParametersJsonValue = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestdeviceParametersJsonValue')
23
- CreateQuantumTaskRequestoutputS3BucketString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestoutputS3BucketString')
24
- CreateQuantumTaskRequestoutputS3KeyPrefixString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestoutputS3KeyPrefixString')
25
- CreateQuantumTaskRequestshotsLong = Shapes::IntegerShape.new(name: 'CreateQuantumTaskRequestshotsLong')
22
+ CreateQuantumTaskRequestDeviceParametersString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestDeviceParametersString')
23
+ CreateQuantumTaskRequestOutputS3BucketString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestOutputS3BucketString')
24
+ CreateQuantumTaskRequestOutputS3KeyPrefixString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestOutputS3KeyPrefixString')
25
+ CreateQuantumTaskRequestShotsLong = Shapes::IntegerShape.new(name: 'CreateQuantumTaskRequestShotsLong')
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')
@@ -36,6 +37,8 @@ module Aws::Braket
36
37
  GetQuantumTaskResponse = Shapes::StructureShape.new(name: 'GetQuantumTaskResponse')
37
38
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
38
39
  JsonValue = Shapes::StringShape.new(name: 'JsonValue')
40
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
41
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
39
42
  Long = Shapes::IntegerShape.new(name: 'Long')
40
43
  QuantumTaskArn = Shapes::StringShape.new(name: 'QuantumTaskArn')
41
44
  QuantumTaskStatus = Shapes::StringShape.new(name: 'QuantumTaskStatus')
@@ -43,25 +46,31 @@ module Aws::Braket
43
46
  QuantumTaskSummaryList = Shapes::ListShape.new(name: 'QuantumTaskSummaryList')
44
47
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
45
48
  SearchDevicesFilter = Shapes::StructureShape.new(name: 'SearchDevicesFilter')
46
- SearchDevicesFilternameString = Shapes::StringShape.new(name: 'SearchDevicesFilternameString')
47
- SearchDevicesFiltervaluesString256List = Shapes::ListShape.new(name: 'SearchDevicesFiltervaluesString256List')
49
+ SearchDevicesFilterNameString = Shapes::StringShape.new(name: 'SearchDevicesFilterNameString')
50
+ SearchDevicesFilterValuesList = Shapes::ListShape.new(name: 'SearchDevicesFilterValuesList')
48
51
  SearchDevicesRequest = Shapes::StructureShape.new(name: 'SearchDevicesRequest')
49
- SearchDevicesRequestfiltersSearchDevicesFilterList = Shapes::ListShape.new(name: 'SearchDevicesRequestfiltersSearchDevicesFilterList')
50
- SearchDevicesRequestmaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchDevicesRequestmaxResultsInteger')
52
+ SearchDevicesRequestFiltersList = Shapes::ListShape.new(name: 'SearchDevicesRequestFiltersList')
53
+ SearchDevicesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchDevicesRequestMaxResultsInteger')
51
54
  SearchDevicesResponse = Shapes::StructureShape.new(name: 'SearchDevicesResponse')
52
55
  SearchQuantumTasksFilter = Shapes::StructureShape.new(name: 'SearchQuantumTasksFilter')
53
56
  SearchQuantumTasksFilterOperator = Shapes::StringShape.new(name: 'SearchQuantumTasksFilterOperator')
54
- SearchQuantumTasksFiltervaluesString256List = Shapes::ListShape.new(name: 'SearchQuantumTasksFiltervaluesString256List')
57
+ SearchQuantumTasksFilterValuesList = Shapes::ListShape.new(name: 'SearchQuantumTasksFilterValuesList')
55
58
  SearchQuantumTasksRequest = Shapes::StructureShape.new(name: 'SearchQuantumTasksRequest')
56
- SearchQuantumTasksRequestfiltersSearchQuantumTasksFilterList = Shapes::ListShape.new(name: 'SearchQuantumTasksRequestfiltersSearchQuantumTasksFilterList')
57
- SearchQuantumTasksRequestmaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchQuantumTasksRequestmaxResultsInteger')
59
+ SearchQuantumTasksRequestFiltersList = Shapes::ListShape.new(name: 'SearchQuantumTasksRequestFiltersList')
60
+ SearchQuantumTasksRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchQuantumTasksRequestMaxResultsInteger')
58
61
  SearchQuantumTasksResponse = Shapes::StructureShape.new(name: 'SearchQuantumTasksResponse')
59
62
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
60
63
  String = Shapes::StringShape.new(name: 'String')
61
64
  String256 = Shapes::StringShape.new(name: 'String256')
62
65
  String64 = Shapes::StringShape.new(name: 'String64')
63
66
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
67
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
68
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
69
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
70
+ TagsMap = Shapes::MapShape.new(name: 'TagsMap')
64
71
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
72
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
73
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
65
74
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
66
75
 
67
76
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -81,10 +90,11 @@ module Aws::Braket
81
90
  CreateQuantumTaskRequest.add_member(:action, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "action", metadata: {"jsonvalue"=>true}))
82
91
  CreateQuantumTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
83
92
  CreateQuantumTaskRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
84
- CreateQuantumTaskRequest.add_member(:device_parameters, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestdeviceParametersJsonValue, location_name: "deviceParameters", metadata: {"jsonvalue"=>true}))
85
- CreateQuantumTaskRequest.add_member(:output_s3_bucket, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestoutputS3BucketString, required: true, location_name: "outputS3Bucket"))
86
- CreateQuantumTaskRequest.add_member(:output_s3_key_prefix, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestoutputS3KeyPrefixString, required: true, location_name: "outputS3KeyPrefix"))
87
- CreateQuantumTaskRequest.add_member(:shots, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestshotsLong, required: true, location_name: "shots"))
93
+ CreateQuantumTaskRequest.add_member(:device_parameters, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestDeviceParametersString, location_name: "deviceParameters", metadata: {"jsonvalue"=>true}))
94
+ CreateQuantumTaskRequest.add_member(:output_s3_bucket, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestOutputS3BucketString, required: true, location_name: "outputS3Bucket"))
95
+ CreateQuantumTaskRequest.add_member(:output_s3_key_prefix, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestOutputS3KeyPrefixString, required: true, location_name: "outputS3KeyPrefix"))
96
+ CreateQuantumTaskRequest.add_member(:shots, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestShotsLong, required: true, location_name: "shots"))
97
+ CreateQuantumTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
88
98
  CreateQuantumTaskRequest.struct_class = Types::CreateQuantumTaskRequest
89
99
 
90
100
  CreateQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
@@ -93,6 +103,9 @@ module Aws::Braket
93
103
  DeviceOfflineException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
94
104
  DeviceOfflineException.struct_class = Types::DeviceOfflineException
95
105
 
106
+ DeviceRetiredException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
107
+ DeviceRetiredException.struct_class = Types::DeviceRetiredException
108
+
96
109
  DeviceSummary.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
97
110
  DeviceSummary.add_member(:device_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceName"))
98
111
  DeviceSummary.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, required: true, location_name: "deviceStatus"))
@@ -126,11 +139,18 @@ module Aws::Braket
126
139
  GetQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
127
140
  GetQuantumTaskResponse.add_member(:shots, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "shots"))
128
141
  GetQuantumTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: QuantumTaskStatus, required: true, location_name: "status"))
142
+ GetQuantumTaskResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
129
143
  GetQuantumTaskResponse.struct_class = Types::GetQuantumTaskResponse
130
144
 
131
145
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
132
146
  InternalServiceException.struct_class = Types::InternalServiceException
133
147
 
148
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
149
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
150
+
151
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
152
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
153
+
134
154
  QuantumTaskSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
135
155
  QuantumTaskSummary.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
136
156
  QuantumTaskSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
@@ -139,6 +159,7 @@ module Aws::Braket
139
159
  QuantumTaskSummary.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
140
160
  QuantumTaskSummary.add_member(:shots, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "shots"))
141
161
  QuantumTaskSummary.add_member(:status, Shapes::ShapeRef.new(shape: QuantumTaskStatus, required: true, location_name: "status"))
162
+ QuantumTaskSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
142
163
  QuantumTaskSummary.struct_class = Types::QuantumTaskSummary
143
164
 
144
165
  QuantumTaskSummaryList.member = Shapes::ShapeRef.new(shape: QuantumTaskSummary)
@@ -146,18 +167,18 @@ module Aws::Braket
146
167
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
147
168
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
148
169
 
149
- SearchDevicesFilter.add_member(:name, Shapes::ShapeRef.new(shape: SearchDevicesFilternameString, required: true, location_name: "name"))
150
- SearchDevicesFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchDevicesFiltervaluesString256List, required: true, location_name: "values"))
170
+ SearchDevicesFilter.add_member(:name, Shapes::ShapeRef.new(shape: SearchDevicesFilterNameString, required: true, location_name: "name"))
171
+ SearchDevicesFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchDevicesFilterValuesList, required: true, location_name: "values"))
151
172
  SearchDevicesFilter.struct_class = Types::SearchDevicesFilter
152
173
 
153
- SearchDevicesFiltervaluesString256List.member = Shapes::ShapeRef.new(shape: String256)
174
+ SearchDevicesFilterValuesList.member = Shapes::ShapeRef.new(shape: String256)
154
175
 
155
- SearchDevicesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchDevicesRequestfiltersSearchDevicesFilterList, required: true, location_name: "filters"))
156
- SearchDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchDevicesRequestmaxResultsInteger, location_name: "maxResults"))
176
+ SearchDevicesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchDevicesRequestFiltersList, required: true, location_name: "filters"))
177
+ SearchDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchDevicesRequestMaxResultsInteger, location_name: "maxResults"))
157
178
  SearchDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
158
179
  SearchDevicesRequest.struct_class = Types::SearchDevicesRequest
159
180
 
160
- SearchDevicesRequestfiltersSearchDevicesFilterList.member = Shapes::ShapeRef.new(shape: SearchDevicesFilter)
181
+ SearchDevicesRequestFiltersList.member = Shapes::ShapeRef.new(shape: SearchDevicesFilter)
161
182
 
162
183
  SearchDevicesResponse.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceSummaryList, required: true, location_name: "devices"))
163
184
  SearchDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
@@ -165,17 +186,17 @@ module Aws::Braket
165
186
 
166
187
  SearchQuantumTasksFilter.add_member(:name, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "name"))
167
188
  SearchQuantumTasksFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchQuantumTasksFilterOperator, required: true, location_name: "operator"))
168
- SearchQuantumTasksFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchQuantumTasksFiltervaluesString256List, required: true, location_name: "values"))
189
+ SearchQuantumTasksFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchQuantumTasksFilterValuesList, required: true, location_name: "values"))
169
190
  SearchQuantumTasksFilter.struct_class = Types::SearchQuantumTasksFilter
170
191
 
171
- SearchQuantumTasksFiltervaluesString256List.member = Shapes::ShapeRef.new(shape: String256)
192
+ SearchQuantumTasksFilterValuesList.member = Shapes::ShapeRef.new(shape: String256)
172
193
 
173
- SearchQuantumTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestfiltersSearchQuantumTasksFilterList, required: true, location_name: "filters"))
174
- SearchQuantumTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestmaxResultsInteger, location_name: "maxResults"))
194
+ SearchQuantumTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestFiltersList, required: true, location_name: "filters"))
195
+ SearchQuantumTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestMaxResultsInteger, location_name: "maxResults"))
175
196
  SearchQuantumTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
176
197
  SearchQuantumTasksRequest.struct_class = Types::SearchQuantumTasksRequest
177
198
 
178
- SearchQuantumTasksRequestfiltersSearchQuantumTasksFilterList.member = Shapes::ShapeRef.new(shape: SearchQuantumTasksFilter)
199
+ SearchQuantumTasksRequestFiltersList.member = Shapes::ShapeRef.new(shape: SearchQuantumTasksFilter)
179
200
 
180
201
  SearchQuantumTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
181
202
  SearchQuantumTasksResponse.add_member(:quantum_tasks, Shapes::ShapeRef.new(shape: QuantumTaskSummaryList, required: true, location_name: "quantumTasks"))
@@ -184,9 +205,26 @@ module Aws::Braket
184
205
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
185
206
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
186
207
 
208
+ TagKeys.member = Shapes::ShapeRef.new(shape: String)
209
+
210
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
211
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
212
+ TagResourceRequest.struct_class = Types::TagResourceRequest
213
+
214
+ TagResourceResponse.struct_class = Types::TagResourceResponse
215
+
216
+ TagsMap.key = Shapes::ShapeRef.new(shape: String)
217
+ TagsMap.value = Shapes::ShapeRef.new(shape: String)
218
+
187
219
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
188
220
  ThrottlingException.struct_class = Types::ThrottlingException
189
221
 
222
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
223
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
224
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
225
+
226
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
227
+
190
228
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
191
229
  ValidationException.struct_class = Types::ValidationException
192
230
 
@@ -245,6 +283,8 @@ module Aws::Braket
245
283
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
246
284
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
247
285
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
286
+ o.errors << Shapes::ShapeRef.new(shape: DeviceOfflineException)
287
+ o.errors << Shapes::ShapeRef.new(shape: DeviceRetiredException)
248
288
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
249
289
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
250
290
  end)
@@ -262,6 +302,17 @@ module Aws::Braket
262
302
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
263
303
  end)
264
304
 
305
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
306
+ o.name = "ListTagsForResource"
307
+ o.http_method = "GET"
308
+ o.http_request_uri = "/tags/{resourceArn}"
309
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
310
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
311
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
312
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
313
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
314
+ end)
315
+
265
316
  api.add_operation(:search_devices, Seahorse::Model::Operation.new.tap do |o|
266
317
  o.name = "SearchDevices"
267
318
  o.http_method = "POST"
@@ -297,6 +348,28 @@ module Aws::Braket
297
348
  }
298
349
  )
299
350
  end)
351
+
352
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
353
+ o.name = "TagResource"
354
+ o.http_method = "POST"
355
+ o.http_request_uri = "/tags/{resourceArn}"
356
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
357
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
358
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
359
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
360
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
361
+ end)
362
+
363
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
364
+ o.name = "UntagResource"
365
+ o.http_method = "DELETE"
366
+ o.http_request_uri = "/tags/{resourceArn}"
367
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
368
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
369
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
370
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
371
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
372
+ end)
300
373
  end
301
374
 
302
375
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -88,10 +88,13 @@ module Aws::Braket
88
88
  # action: "JsonValue", # required
89
89
  # client_token: "String64", # required
90
90
  # device_arn: "DeviceArn", # required
91
- # device_parameters: "CreateQuantumTaskRequestdeviceParametersJsonValue",
92
- # output_s3_bucket: "CreateQuantumTaskRequestoutputS3BucketString", # required
93
- # output_s3_key_prefix: "CreateQuantumTaskRequestoutputS3KeyPrefixString", # required
91
+ # device_parameters: "CreateQuantumTaskRequestDeviceParametersString",
92
+ # output_s3_bucket: "CreateQuantumTaskRequestOutputS3BucketString", # required
93
+ # output_s3_key_prefix: "CreateQuantumTaskRequestOutputS3KeyPrefixString", # required
94
94
  # shots: 1, # required
95
+ # tags: {
96
+ # "String" => "String",
97
+ # },
95
98
  # }
96
99
  #
97
100
  # @!attribute [rw] action
@@ -126,6 +129,10 @@ module Aws::Braket
126
129
  # The number of shots to use for the task.
127
130
  # @return [Integer]
128
131
  #
132
+ # @!attribute [rw] tags
133
+ # Tags to be added to the quantum task you're creating.
134
+ # @return [Hash<String,String>]
135
+ #
129
136
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTaskRequest AWS API Documentation
130
137
  #
131
138
  class CreateQuantumTaskRequest < Struct.new(
@@ -135,7 +142,8 @@ module Aws::Braket
135
142
  :device_parameters,
136
143
  :output_s3_bucket,
137
144
  :output_s3_key_prefix,
138
- :shots)
145
+ :shots,
146
+ :tags)
139
147
  SENSITIVE = []
140
148
  include Aws::Structure
141
149
  end
@@ -165,6 +173,19 @@ module Aws::Braket
165
173
  include Aws::Structure
166
174
  end
167
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
+
168
189
  # Includes information about the device.
169
190
  #
170
191
  # @!attribute [rw] device_arn
@@ -314,6 +335,10 @@ module Aws::Braket
314
335
  # The status of the task.
315
336
  # @return [String]
316
337
  #
338
+ # @!attribute [rw] tags
339
+ # The tags that belong to this task.
340
+ # @return [Hash<String,String>]
341
+ #
317
342
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskResponse AWS API Documentation
318
343
  #
319
344
  class GetQuantumTaskResponse < Struct.new(
@@ -326,13 +351,14 @@ module Aws::Braket
326
351
  :output_s3_directory,
327
352
  :quantum_task_arn,
328
353
  :shots,
329
- :status)
354
+ :status,
355
+ :tags)
330
356
  SENSITIVE = []
331
357
  include Aws::Structure
332
358
  end
333
359
 
334
360
  # The request processing has failed because of an unknown error,
335
- # exception or failure.
361
+ # exception, or failure.
336
362
  #
337
363
  # @!attribute [rw] message
338
364
  # @return [String]
@@ -345,6 +371,37 @@ module Aws::Braket
345
371
  include Aws::Structure
346
372
  end
347
373
 
374
+ # @note When making an API call, you may pass ListTagsForResourceRequest
375
+ # data as a hash:
376
+ #
377
+ # {
378
+ # resource_arn: "String", # required
379
+ # }
380
+ #
381
+ # @!attribute [rw] resource_arn
382
+ # Specify the `resourceArn` for the resource whose tags to display.
383
+ # @return [String]
384
+ #
385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ListTagsForResourceRequest AWS API Documentation
386
+ #
387
+ class ListTagsForResourceRequest < Struct.new(
388
+ :resource_arn)
389
+ SENSITIVE = []
390
+ include Aws::Structure
391
+ end
392
+
393
+ # @!attribute [rw] tags
394
+ # Displays the key, value pairs of tags associated with this resource.
395
+ # @return [Hash<String,String>]
396
+ #
397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ListTagsForResourceResponse AWS API Documentation
398
+ #
399
+ class ListTagsForResourceResponse < Struct.new(
400
+ :tags)
401
+ SENSITIVE = []
402
+ include Aws::Structure
403
+ end
404
+
348
405
  # Includes information about a quantum task.
349
406
  #
350
407
  # @!attribute [rw] created_at
@@ -379,6 +436,11 @@ module Aws::Braket
379
436
  # The status of the task.
380
437
  # @return [String]
381
438
  #
439
+ # @!attribute [rw] tags
440
+ # Displays the key, value pairs of tags associated with this quantum
441
+ # task.
442
+ # @return [Hash<String,String>]
443
+ #
382
444
  # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/QuantumTaskSummary AWS API Documentation
383
445
  #
384
446
  class QuantumTaskSummary < Struct.new(
@@ -389,7 +451,8 @@ module Aws::Braket
389
451
  :output_s3_directory,
390
452
  :quantum_task_arn,
391
453
  :shots,
392
- :status)
454
+ :status,
455
+ :tags)
393
456
  SENSITIVE = []
394
457
  include Aws::Structure
395
458
  end
@@ -413,7 +476,7 @@ module Aws::Braket
413
476
  # data as a hash:
414
477
  #
415
478
  # {
416
- # name: "SearchDevicesFilternameString", # required
479
+ # name: "SearchDevicesFilterNameString", # required
417
480
  # values: ["String256"], # required
418
481
  # }
419
482
  #
@@ -440,7 +503,7 @@ module Aws::Braket
440
503
  # {
441
504
  # filters: [ # required
442
505
  # {
443
- # name: "SearchDevicesFilternameString", # required
506
+ # name: "SearchDevicesFilterNameString", # required
444
507
  # values: ["String256"], # required
445
508
  # },
446
509
  # ],
@@ -499,7 +562,7 @@ module Aws::Braket
499
562
  #
500
563
  # {
501
564
  # name: "String64", # required
502
- # operator: "BETWEEN", # required, accepts BETWEEN, EQUAL, GT, GTE, LT, LTE
565
+ # operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
503
566
  # values: ["String256"], # required
504
567
  # }
505
568
  #
@@ -532,7 +595,7 @@ module Aws::Braket
532
595
  # filters: [ # required
533
596
  # {
534
597
  # name: "String64", # required
535
- # operator: "BETWEEN", # required, accepts BETWEEN, EQUAL, GT, GTE, LT, LTE
598
+ # operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
536
599
  # values: ["String256"], # required
537
600
  # },
538
601
  # ],
@@ -584,7 +647,7 @@ module Aws::Braket
584
647
  include Aws::Structure
585
648
  end
586
649
 
587
- # The request failed because a service quota is met.
650
+ # The request failed because a service quota is exceeded.
588
651
  #
589
652
  # @!attribute [rw] message
590
653
  # @return [String]
@@ -597,6 +660,38 @@ module Aws::Braket
597
660
  include Aws::Structure
598
661
  end
599
662
 
663
+ # @note When making an API call, you may pass TagResourceRequest
664
+ # data as a hash:
665
+ #
666
+ # {
667
+ # resource_arn: "String", # required
668
+ # tags: { # required
669
+ # "String" => "String",
670
+ # },
671
+ # }
672
+ #
673
+ # @!attribute [rw] resource_arn
674
+ # Specify the `resourceArn` of the resource to which a tag will be
675
+ # added.
676
+ # @return [String]
677
+ #
678
+ # @!attribute [rw] tags
679
+ # Specify the tags to add to the resource.
680
+ # @return [Hash<String,String>]
681
+ #
682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/TagResourceRequest AWS API Documentation
683
+ #
684
+ class TagResourceRequest < Struct.new(
685
+ :resource_arn,
686
+ :tags)
687
+ SENSITIVE = []
688
+ include Aws::Structure
689
+ end
690
+
691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/TagResourceResponse AWS API Documentation
692
+ #
693
+ class TagResourceResponse < Aws::EmptyStructure; end
694
+
600
695
  # The throttling rate limit is met.
601
696
  #
602
697
  # @!attribute [rw] message
@@ -610,6 +705,36 @@ module Aws::Braket
610
705
  include Aws::Structure
611
706
  end
612
707
 
708
+ # @note When making an API call, you may pass UntagResourceRequest
709
+ # data as a hash:
710
+ #
711
+ # {
712
+ # resource_arn: "String", # required
713
+ # tag_keys: ["String"], # required
714
+ # }
715
+ #
716
+ # @!attribute [rw] resource_arn
717
+ # Specify the `resourceArn` for the resource from which to remove the
718
+ # tags.
719
+ # @return [String]
720
+ #
721
+ # @!attribute [rw] tag_keys
722
+ # Specify the keys for the tags to remove from the resource.
723
+ # @return [Array<String>]
724
+ #
725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResourceRequest AWS API Documentation
726
+ #
727
+ class UntagResourceRequest < Struct.new(
728
+ :resource_arn,
729
+ :tag_keys)
730
+ SENSITIVE = []
731
+ include Aws::Structure
732
+ end
733
+
734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResourceResponse AWS API Documentation
735
+ #
736
+ class UntagResourceResponse < Aws::EmptyStructure; end
737
+
613
738
  # The input fails to satisfy the constraints specified by an AWS
614
739
  # service.
615
740
  #
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.3.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: 2020-09-15 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.112.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.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Braket. This gem is part of the AWS SDK for
48
48
  Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-braket.rb
56
59
  - lib/aws-sdk-braket/client.rb
57
60
  - lib/aws-sdk-braket/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-braket
67
- 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
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - Braket