aws-sdk-braket 1.19.0 → 1.21.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +20 -3
- data/lib/aws-sdk-braket/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-braket/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-braket/endpoints.rb +197 -0
- data/lib/aws-sdk-braket/plugins/endpoints.rb +94 -0
- data/lib/aws-sdk-braket/types.rb +0 -301
- data/lib/aws-sdk-braket.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f01c1fa47de542063296115c433e1dde612aa5324b046229dc52da5b62f1428
|
4
|
+
data.tar.gz: 6c3506446e27780014e69763e8527d7fef277966d65994d1547bcee7eb53de2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dacc2fa02ba153e1bb1057f597bbd93904a49f1b34043d60f7b8962a98d8049bbf52d6a55e21e91af1e559b079ce751f6b527ff0acc1a53dfab0d3993c08a5d6
|
7
|
+
data.tar.gz: 047faaa9537cff6d876152fec8e33e091d93906a5f2a60df1302c206c31521ca51e61938e84bcb61b0dd77be09937684cb269cf7772eee882bc4a74e49ecf241
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.20.0 (2022-10-25)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
15
|
+
|
4
16
|
1.19.0 (2022-04-28)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:braket)
|
@@ -79,8 +79,9 @@ module Aws::Braket
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::Braket::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::Braket
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::Braket
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::Braket::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Braket::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -1065,7 +1082,7 @@ module Aws::Braket
|
|
1065
1082
|
params: params,
|
1066
1083
|
config: config)
|
1067
1084
|
context[:gem_name] = 'aws-sdk-braket'
|
1068
|
-
context[:gem_version] = '1.
|
1085
|
+
context[:gem_version] = '1.21.0'
|
1069
1086
|
Seahorse::Client::Request.new(handlers, context)
|
1070
1087
|
end
|
1071
1088
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Braket
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Braket
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://braket-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://braket-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://braket.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://braket.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,197 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Braket
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CancelJob
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::Braket::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class CancelQuantumTask
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::Braket::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateJob
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::Braket::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreateQuantumTask
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::Braket::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class GetDevice
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::Braket::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class GetJob
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::Braket::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class GetQuantumTask
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::Braket::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class ListTagsForResource
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::Braket::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class SearchDevices
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::Braket::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class SearchJobs
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::Braket::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class SearchQuantumTasks
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::Braket::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class TagResource
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::Braket::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class UntagResource
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::Braket::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
end
|
197
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Braket
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::Braket::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::Braket::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::Braket::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :cancel_job
|
60
|
+
Aws::Braket::Endpoints::CancelJob.build(context)
|
61
|
+
when :cancel_quantum_task
|
62
|
+
Aws::Braket::Endpoints::CancelQuantumTask.build(context)
|
63
|
+
when :create_job
|
64
|
+
Aws::Braket::Endpoints::CreateJob.build(context)
|
65
|
+
when :create_quantum_task
|
66
|
+
Aws::Braket::Endpoints::CreateQuantumTask.build(context)
|
67
|
+
when :get_device
|
68
|
+
Aws::Braket::Endpoints::GetDevice.build(context)
|
69
|
+
when :get_job
|
70
|
+
Aws::Braket::Endpoints::GetJob.build(context)
|
71
|
+
when :get_quantum_task
|
72
|
+
Aws::Braket::Endpoints::GetQuantumTask.build(context)
|
73
|
+
when :list_tags_for_resource
|
74
|
+
Aws::Braket::Endpoints::ListTagsForResource.build(context)
|
75
|
+
when :search_devices
|
76
|
+
Aws::Braket::Endpoints::SearchDevices.build(context)
|
77
|
+
when :search_jobs
|
78
|
+
Aws::Braket::Endpoints::SearchJobs.build(context)
|
79
|
+
when :search_quantum_tasks
|
80
|
+
Aws::Braket::Endpoints::SearchQuantumTasks.build(context)
|
81
|
+
when :tag_resource
|
82
|
+
Aws::Braket::Endpoints::TagResource.build(context)
|
83
|
+
when :untag_resource
|
84
|
+
Aws::Braket::Endpoints::UntagResource.build(context)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
def add_handlers(handlers, _config)
|
90
|
+
handlers.add(Handler, step: :build, priority: 75)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
data/lib/aws-sdk-braket/types.rb
CHANGED
@@ -27,20 +27,6 @@ module Aws::Braket
|
|
27
27
|
# image the job uses and the paths to the Python scripts used for entry
|
28
28
|
# and training.
|
29
29
|
#
|
30
|
-
# @note When making an API call, you may pass AlgorithmSpecification
|
31
|
-
# data as a hash:
|
32
|
-
#
|
33
|
-
# {
|
34
|
-
# container_image: {
|
35
|
-
# uri: "Uri", # required
|
36
|
-
# },
|
37
|
-
# script_mode_config: {
|
38
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
39
|
-
# entry_point: "String", # required
|
40
|
-
# s3_uri: "S3Path", # required
|
41
|
-
# },
|
42
|
-
# }
|
43
|
-
#
|
44
30
|
# @!attribute [rw] container_image
|
45
31
|
# The container image used to create an Amazon Braket job.
|
46
32
|
# @return [Types::ContainerImage]
|
@@ -59,13 +45,6 @@ module Aws::Braket
|
|
59
45
|
include Aws::Structure
|
60
46
|
end
|
61
47
|
|
62
|
-
# @note When making an API call, you may pass CancelJobRequest
|
63
|
-
# data as a hash:
|
64
|
-
#
|
65
|
-
# {
|
66
|
-
# job_arn: "JobArn", # required
|
67
|
-
# }
|
68
|
-
#
|
69
48
|
# @!attribute [rw] job_arn
|
70
49
|
# The ARN of the Amazon Braket job to cancel.
|
71
50
|
# @return [String]
|
@@ -95,14 +74,6 @@ module Aws::Braket
|
|
95
74
|
include Aws::Structure
|
96
75
|
end
|
97
76
|
|
98
|
-
# @note When making an API call, you may pass CancelQuantumTaskRequest
|
99
|
-
# data as a hash:
|
100
|
-
#
|
101
|
-
# {
|
102
|
-
# client_token: "String64", # required
|
103
|
-
# quantum_task_arn: "QuantumTaskArn", # required
|
104
|
-
# }
|
105
|
-
#
|
106
77
|
# @!attribute [rw] client_token
|
107
78
|
# The client token associated with the request.
|
108
79
|
#
|
@@ -155,13 +126,6 @@ module Aws::Braket
|
|
155
126
|
|
156
127
|
# The container image used to create an Amazon Braket job.
|
157
128
|
#
|
158
|
-
# @note When making an API call, you may pass ContainerImage
|
159
|
-
# data as a hash:
|
160
|
-
#
|
161
|
-
# {
|
162
|
-
# uri: "Uri", # required
|
163
|
-
# }
|
164
|
-
#
|
165
129
|
# @!attribute [rw] uri
|
166
130
|
# The URI locating the container image.
|
167
131
|
# @return [String]
|
@@ -174,61 +138,6 @@ module Aws::Braket
|
|
174
138
|
include Aws::Structure
|
175
139
|
end
|
176
140
|
|
177
|
-
# @note When making an API call, you may pass CreateJobRequest
|
178
|
-
# data as a hash:
|
179
|
-
#
|
180
|
-
# {
|
181
|
-
# algorithm_specification: { # required
|
182
|
-
# container_image: {
|
183
|
-
# uri: "Uri", # required
|
184
|
-
# },
|
185
|
-
# script_mode_config: {
|
186
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
187
|
-
# entry_point: "String", # required
|
188
|
-
# s3_uri: "S3Path", # required
|
189
|
-
# },
|
190
|
-
# },
|
191
|
-
# checkpoint_config: {
|
192
|
-
# local_path: "String4096",
|
193
|
-
# s3_uri: "S3Path", # required
|
194
|
-
# },
|
195
|
-
# client_token: "String64", # required
|
196
|
-
# device_config: { # required
|
197
|
-
# device: "String256", # required
|
198
|
-
# },
|
199
|
-
# hyper_parameters: {
|
200
|
-
# "String256" => "HyperParametersValueString",
|
201
|
-
# },
|
202
|
-
# input_data_config: [
|
203
|
-
# {
|
204
|
-
# channel_name: "InputFileConfigChannelNameString", # required
|
205
|
-
# content_type: "String256",
|
206
|
-
# data_source: { # required
|
207
|
-
# s3_data_source: { # required
|
208
|
-
# s3_uri: "S3Path", # required
|
209
|
-
# },
|
210
|
-
# },
|
211
|
-
# },
|
212
|
-
# ],
|
213
|
-
# instance_config: { # required
|
214
|
-
# instance_count: 1,
|
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
|
216
|
-
# volume_size_in_gb: 1, # required
|
217
|
-
# },
|
218
|
-
# job_name: "CreateJobRequestJobNameString", # required
|
219
|
-
# output_data_config: { # required
|
220
|
-
# kms_key_id: "String2048",
|
221
|
-
# s3_path: "S3Path", # required
|
222
|
-
# },
|
223
|
-
# role_arn: "RoleArn", # required
|
224
|
-
# stopping_condition: {
|
225
|
-
# max_runtime_in_seconds: 1,
|
226
|
-
# },
|
227
|
-
# tags: {
|
228
|
-
# "String" => "String",
|
229
|
-
# },
|
230
|
-
# }
|
231
|
-
#
|
232
141
|
# @!attribute [rw] algorithm_specification
|
233
142
|
# Definition of the Amazon Braket job to be created. Specifies the
|
234
143
|
# container image the job uses and information about the Python
|
@@ -325,23 +234,6 @@ module Aws::Braket
|
|
325
234
|
include Aws::Structure
|
326
235
|
end
|
327
236
|
|
328
|
-
# @note When making an API call, you may pass CreateQuantumTaskRequest
|
329
|
-
# data as a hash:
|
330
|
-
#
|
331
|
-
# {
|
332
|
-
# action: "JsonValue", # required
|
333
|
-
# client_token: "String64", # required
|
334
|
-
# device_arn: "DeviceArn", # required
|
335
|
-
# device_parameters: "CreateQuantumTaskRequestDeviceParametersString",
|
336
|
-
# job_token: "JobToken",
|
337
|
-
# output_s3_bucket: "CreateQuantumTaskRequestOutputS3BucketString", # required
|
338
|
-
# output_s3_key_prefix: "CreateQuantumTaskRequestOutputS3KeyPrefixString", # required
|
339
|
-
# shots: 1, # required
|
340
|
-
# tags: {
|
341
|
-
# "String" => "String",
|
342
|
-
# },
|
343
|
-
# }
|
344
|
-
#
|
345
237
|
# @!attribute [rw] action
|
346
238
|
# The action associated with the task.
|
347
239
|
# @return [String]
|
@@ -414,15 +306,6 @@ module Aws::Braket
|
|
414
306
|
# Information about the source of the data used by the Amazon Braket
|
415
307
|
# job.
|
416
308
|
#
|
417
|
-
# @note When making an API call, you may pass DataSource
|
418
|
-
# data as a hash:
|
419
|
-
#
|
420
|
-
# {
|
421
|
-
# s3_data_source: { # required
|
422
|
-
# s3_uri: "S3Path", # required
|
423
|
-
# },
|
424
|
-
# }
|
425
|
-
#
|
426
309
|
# @!attribute [rw] s3_data_source
|
427
310
|
# Information about the data stored in Amazon S3 used by the Amazon
|
428
311
|
# Braket job.
|
@@ -439,13 +322,6 @@ module Aws::Braket
|
|
439
322
|
# Configures the quantum processing units (QPUs) or simulator used to
|
440
323
|
# create and run an Amazon Braket job.
|
441
324
|
#
|
442
|
-
# @note When making an API call, you may pass DeviceConfig
|
443
|
-
# data as a hash:
|
444
|
-
#
|
445
|
-
# {
|
446
|
-
# device: "String256", # required
|
447
|
-
# }
|
448
|
-
#
|
449
325
|
# @!attribute [rw] device
|
450
326
|
# The primary quantum processing unit (QPU) or simulator used to
|
451
327
|
# create and run an Amazon Braket job.
|
@@ -519,13 +395,6 @@ module Aws::Braket
|
|
519
395
|
include Aws::Structure
|
520
396
|
end
|
521
397
|
|
522
|
-
# @note When making an API call, you may pass GetDeviceRequest
|
523
|
-
# data as a hash:
|
524
|
-
#
|
525
|
-
# {
|
526
|
-
# device_arn: "DeviceArn", # required
|
527
|
-
# }
|
528
|
-
#
|
529
398
|
# @!attribute [rw] device_arn
|
530
399
|
# The ARN of the device to retrieve.
|
531
400
|
# @return [String]
|
@@ -575,13 +444,6 @@ module Aws::Braket
|
|
575
444
|
include Aws::Structure
|
576
445
|
end
|
577
446
|
|
578
|
-
# @note When making an API call, you may pass GetJobRequest
|
579
|
-
# data as a hash:
|
580
|
-
#
|
581
|
-
# {
|
582
|
-
# job_arn: "JobArn", # required
|
583
|
-
# }
|
584
|
-
#
|
585
447
|
# @!attribute [rw] job_arn
|
586
448
|
# The ARN of the job to retrieve.
|
587
449
|
# @return [String]
|
@@ -712,13 +574,6 @@ module Aws::Braket
|
|
712
574
|
include Aws::Structure
|
713
575
|
end
|
714
576
|
|
715
|
-
# @note When making an API call, you may pass GetQuantumTaskRequest
|
716
|
-
# data as a hash:
|
717
|
-
#
|
718
|
-
# {
|
719
|
-
# quantum_task_arn: "QuantumTaskArn", # required
|
720
|
-
# }
|
721
|
-
#
|
722
577
|
# @!attribute [rw] quantum_task_arn
|
723
578
|
# the ARN of the task to retrieve.
|
724
579
|
# @return [String]
|
@@ -801,19 +656,6 @@ module Aws::Braket
|
|
801
656
|
# A list of parameters that specify the input channels, type of input
|
802
657
|
# data, and where it is located.
|
803
658
|
#
|
804
|
-
# @note When making an API call, you may pass InputFileConfig
|
805
|
-
# data as a hash:
|
806
|
-
#
|
807
|
-
# {
|
808
|
-
# channel_name: "InputFileConfigChannelNameString", # required
|
809
|
-
# content_type: "String256",
|
810
|
-
# data_source: { # required
|
811
|
-
# s3_data_source: { # required
|
812
|
-
# s3_uri: "S3Path", # required
|
813
|
-
# },
|
814
|
-
# },
|
815
|
-
# }
|
816
|
-
#
|
817
659
|
# @!attribute [rw] channel_name
|
818
660
|
# A named input source that an Amazon Braket job can consume.
|
819
661
|
# @return [String]
|
@@ -839,15 +681,6 @@ module Aws::Braket
|
|
839
681
|
# Configures the resource instances to use while running the Amazon
|
840
682
|
# Braket hybrid job on Amazon Braket.
|
841
683
|
#
|
842
|
-
# @note When making an API call, you may pass InstanceConfig
|
843
|
-
# data as a hash:
|
844
|
-
#
|
845
|
-
# {
|
846
|
-
# instance_count: 1,
|
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
|
848
|
-
# volume_size_in_gb: 1, # required
|
849
|
-
# }
|
850
|
-
#
|
851
684
|
# @!attribute [rw] instance_count
|
852
685
|
# Configures the number of resource instances to use while running an
|
853
686
|
# Amazon Braket job on Amazon Braket. The default value is 1.
|
@@ -889,14 +722,6 @@ module Aws::Braket
|
|
889
722
|
# Contains information about the output locations for job checkpoint
|
890
723
|
# data.
|
891
724
|
#
|
892
|
-
# @note When making an API call, you may pass JobCheckpointConfig
|
893
|
-
# data as a hash:
|
894
|
-
#
|
895
|
-
# {
|
896
|
-
# local_path: "String4096",
|
897
|
-
# s3_uri: "S3Path", # required
|
898
|
-
# }
|
899
|
-
#
|
900
725
|
# @!attribute [rw] local_path
|
901
726
|
# (Optional) The local directory where checkpoints are written. The
|
902
727
|
# default directory is `/opt/braket/checkpoints/`.
|
@@ -945,14 +770,6 @@ module Aws::Braket
|
|
945
770
|
# Specifies the path to the S3 location where you want to store job
|
946
771
|
# artifacts and the encryption key used to store them.
|
947
772
|
#
|
948
|
-
# @note When making an API call, you may pass JobOutputDataConfig
|
949
|
-
# data as a hash:
|
950
|
-
#
|
951
|
-
# {
|
952
|
-
# kms_key_id: "String2048",
|
953
|
-
# s3_path: "S3Path", # required
|
954
|
-
# }
|
955
|
-
#
|
956
773
|
# @!attribute [rw] kms_key_id
|
957
774
|
# The AWS Key Management Service (AWS KMS) key that Amazon Braket uses
|
958
775
|
# to encrypt the job training artifacts at rest using Amazon S3
|
@@ -975,13 +792,6 @@ module Aws::Braket
|
|
975
792
|
|
976
793
|
# Specifies limits for how long an Amazon Braket job can run.
|
977
794
|
#
|
978
|
-
# @note When making an API call, you may pass JobStoppingCondition
|
979
|
-
# data as a hash:
|
980
|
-
#
|
981
|
-
# {
|
982
|
-
# max_runtime_in_seconds: 1,
|
983
|
-
# }
|
984
|
-
#
|
985
795
|
# @!attribute [rw] max_runtime_in_seconds
|
986
796
|
# The maximum length of time, in seconds, that an Amazon Braket job
|
987
797
|
# can run.
|
@@ -1046,13 +856,6 @@ module Aws::Braket
|
|
1046
856
|
include Aws::Structure
|
1047
857
|
end
|
1048
858
|
|
1049
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1050
|
-
# data as a hash:
|
1051
|
-
#
|
1052
|
-
# {
|
1053
|
-
# resource_arn: "String", # required
|
1054
|
-
# }
|
1055
|
-
#
|
1056
859
|
# @!attribute [rw] resource_arn
|
1057
860
|
# Specify the `resourceArn` for the resource whose tags to display.
|
1058
861
|
# @return [String]
|
@@ -1148,13 +951,6 @@ module Aws::Braket
|
|
1148
951
|
# Information about the data stored in Amazon S3 used by the Amazon
|
1149
952
|
# Braket job.
|
1150
953
|
#
|
1151
|
-
# @note When making an API call, you may pass S3DataSource
|
1152
|
-
# data as a hash:
|
1153
|
-
#
|
1154
|
-
# {
|
1155
|
-
# s3_uri: "S3Path", # required
|
1156
|
-
# }
|
1157
|
-
#
|
1158
954
|
# @!attribute [rw] s3_uri
|
1159
955
|
# Depending on the value specified for the `S3DataType`, identifies
|
1160
956
|
# either a key name prefix or a manifest that locates the S3 data
|
@@ -1172,15 +968,6 @@ module Aws::Braket
|
|
1172
968
|
# Contains information about the Python scripts used for entry and by an
|
1173
969
|
# Amazon Braket job.
|
1174
970
|
#
|
1175
|
-
# @note When making an API call, you may pass ScriptModeConfig
|
1176
|
-
# data as a hash:
|
1177
|
-
#
|
1178
|
-
# {
|
1179
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
1180
|
-
# entry_point: "String", # required
|
1181
|
-
# s3_uri: "S3Path", # required
|
1182
|
-
# }
|
1183
|
-
#
|
1184
971
|
# @!attribute [rw] compression_type
|
1185
972
|
# The type of compression used by the Python scripts for an Amazon
|
1186
973
|
# Braket job.
|
@@ -1208,14 +995,6 @@ module Aws::Braket
|
|
1208
995
|
|
1209
996
|
# The filter to use for searching devices.
|
1210
997
|
#
|
1211
|
-
# @note When making an API call, you may pass SearchDevicesFilter
|
1212
|
-
# data as a hash:
|
1213
|
-
#
|
1214
|
-
# {
|
1215
|
-
# name: "SearchDevicesFilterNameString", # required
|
1216
|
-
# values: ["String256"], # required
|
1217
|
-
# }
|
1218
|
-
#
|
1219
998
|
# @!attribute [rw] name
|
1220
999
|
# The name to use to filter results.
|
1221
1000
|
# @return [String]
|
@@ -1233,20 +1012,6 @@ module Aws::Braket
|
|
1233
1012
|
include Aws::Structure
|
1234
1013
|
end
|
1235
1014
|
|
1236
|
-
# @note When making an API call, you may pass SearchDevicesRequest
|
1237
|
-
# data as a hash:
|
1238
|
-
#
|
1239
|
-
# {
|
1240
|
-
# filters: [ # required
|
1241
|
-
# {
|
1242
|
-
# name: "SearchDevicesFilterNameString", # required
|
1243
|
-
# values: ["String256"], # required
|
1244
|
-
# },
|
1245
|
-
# ],
|
1246
|
-
# max_results: 1,
|
1247
|
-
# next_token: "String",
|
1248
|
-
# }
|
1249
|
-
#
|
1250
1015
|
# @!attribute [rw] filters
|
1251
1016
|
# The filter values to use to search for a device.
|
1252
1017
|
# @return [Array<Types::SearchDevicesFilter>]
|
@@ -1293,15 +1058,6 @@ module Aws::Braket
|
|
1293
1058
|
|
1294
1059
|
# A filter used to search for Amazon Braket jobs.
|
1295
1060
|
#
|
1296
|
-
# @note When making an API call, you may pass SearchJobsFilter
|
1297
|
-
# data as a hash:
|
1298
|
-
#
|
1299
|
-
# {
|
1300
|
-
# name: "String64", # required
|
1301
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
|
1302
|
-
# values: ["String256"], # required
|
1303
|
-
# }
|
1304
|
-
#
|
1305
1061
|
# @!attribute [rw] name
|
1306
1062
|
# The name to use for the jobs filter.
|
1307
1063
|
# @return [String]
|
@@ -1324,21 +1080,6 @@ module Aws::Braket
|
|
1324
1080
|
include Aws::Structure
|
1325
1081
|
end
|
1326
1082
|
|
1327
|
-
# @note When making an API call, you may pass SearchJobsRequest
|
1328
|
-
# data as a hash:
|
1329
|
-
#
|
1330
|
-
# {
|
1331
|
-
# filters: [ # required
|
1332
|
-
# {
|
1333
|
-
# name: "String64", # required
|
1334
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN, CONTAINS
|
1335
|
-
# values: ["String256"], # required
|
1336
|
-
# },
|
1337
|
-
# ],
|
1338
|
-
# max_results: 1,
|
1339
|
-
# next_token: "String",
|
1340
|
-
# }
|
1341
|
-
#
|
1342
1083
|
# @!attribute [rw] filters
|
1343
1084
|
# The filter values to use when searching for a job.
|
1344
1085
|
# @return [Array<Types::SearchJobsFilter>]
|
@@ -1385,15 +1126,6 @@ module Aws::Braket
|
|
1385
1126
|
|
1386
1127
|
# A filter to use to search for tasks.
|
1387
1128
|
#
|
1388
|
-
# @note When making an API call, you may pass SearchQuantumTasksFilter
|
1389
|
-
# data as a hash:
|
1390
|
-
#
|
1391
|
-
# {
|
1392
|
-
# name: "String64", # required
|
1393
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
|
1394
|
-
# values: ["String256"], # required
|
1395
|
-
# }
|
1396
|
-
#
|
1397
1129
|
# @!attribute [rw] name
|
1398
1130
|
# The name of the device used for the task.
|
1399
1131
|
# @return [String]
|
@@ -1416,21 +1148,6 @@ module Aws::Braket
|
|
1416
1148
|
include Aws::Structure
|
1417
1149
|
end
|
1418
1150
|
|
1419
|
-
# @note When making an API call, you may pass SearchQuantumTasksRequest
|
1420
|
-
# data as a hash:
|
1421
|
-
#
|
1422
|
-
# {
|
1423
|
-
# filters: [ # required
|
1424
|
-
# {
|
1425
|
-
# name: "String64", # required
|
1426
|
-
# operator: "LT", # required, accepts LT, LTE, EQUAL, GT, GTE, BETWEEN
|
1427
|
-
# values: ["String256"], # required
|
1428
|
-
# },
|
1429
|
-
# ],
|
1430
|
-
# max_results: 1,
|
1431
|
-
# next_token: "String",
|
1432
|
-
# }
|
1433
|
-
#
|
1434
1151
|
# @!attribute [rw] filters
|
1435
1152
|
# Array of `SearchQuantumTasksFilter` objects.
|
1436
1153
|
# @return [Array<Types::SearchQuantumTasksFilter>]
|
@@ -1488,16 +1205,6 @@ module Aws::Braket
|
|
1488
1205
|
include Aws::Structure
|
1489
1206
|
end
|
1490
1207
|
|
1491
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1492
|
-
# data as a hash:
|
1493
|
-
#
|
1494
|
-
# {
|
1495
|
-
# resource_arn: "String", # required
|
1496
|
-
# tags: { # required
|
1497
|
-
# "String" => "String",
|
1498
|
-
# },
|
1499
|
-
# }
|
1500
|
-
#
|
1501
1208
|
# @!attribute [rw] resource_arn
|
1502
1209
|
# Specify the `resourceArn` of the resource to which a tag will be
|
1503
1210
|
# added.
|
@@ -1533,14 +1240,6 @@ module Aws::Braket
|
|
1533
1240
|
include Aws::Structure
|
1534
1241
|
end
|
1535
1242
|
|
1536
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1537
|
-
# data as a hash:
|
1538
|
-
#
|
1539
|
-
# {
|
1540
|
-
# resource_arn: "String", # required
|
1541
|
-
# tag_keys: ["String"], # required
|
1542
|
-
# }
|
1543
|
-
#
|
1544
1243
|
# @!attribute [rw] resource_arn
|
1545
1244
|
# Specify the `resourceArn` for the resource from which to remove the
|
1546
1245
|
# tags.
|
data/lib/aws-sdk-braket.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-braket/types'
|
15
15
|
require_relative 'aws-sdk-braket/client_api'
|
16
|
+
require_relative 'aws-sdk-braket/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-braket/client'
|
17
18
|
require_relative 'aws-sdk-braket/errors'
|
18
19
|
require_relative 'aws-sdk-braket/resource'
|
20
|
+
require_relative 'aws-sdk-braket/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-braket/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-braket/endpoints'
|
19
23
|
require_relative 'aws-sdk-braket/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Braket. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-braket/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::Braket
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.21.0'
|
52
56
|
|
53
57
|
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.
|
4
|
+
version: 1.21.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:
|
11
|
+
date: 2023-01-18 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.
|
22
|
+
version: 3.165.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.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-braket/client.rb
|
60
60
|
- lib/aws-sdk-braket/client_api.rb
|
61
61
|
- lib/aws-sdk-braket/customizations.rb
|
62
|
+
- lib/aws-sdk-braket/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-braket/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-braket/endpoints.rb
|
62
65
|
- lib/aws-sdk-braket/errors.rb
|
66
|
+
- lib/aws-sdk-braket/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-braket/resource.rb
|
64
68
|
- lib/aws-sdk-braket/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|