aws-sdk-braket 1.20.0 → 1.21.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: 8e207bd2712ff3e2e9ee283782d5041e687dbe666ba6286a8d7e9fe8f9229f14
4
- data.tar.gz: ace97ace21ed5c677dd15e274d0d3cbe7e4198e62ba824c5a60b7f715d0ffeeb
3
+ metadata.gz: 9f01c1fa47de542063296115c433e1dde612aa5324b046229dc52da5b62f1428
4
+ data.tar.gz: 6c3506446e27780014e69763e8527d7fef277966d65994d1547bcee7eb53de2b
5
5
  SHA512:
6
- metadata.gz: 8f38b6a241d2179d32fd32abb30de0bfcb0ea363db2bd336cccfc59b8460bad4b4bffd58c9d7527521014c35f8a96f34f894f2bba4dbd28fc50a3dd3fa627ef0
7
- data.tar.gz: 42f8ec9a4b5a5c8246d2358c75a9725fadd89f1853c32b03f23aad6a271940dfe2f53a29881a4624dcec519e94be8bb31158245a4a48e1b3427255ac806b8b91
6
+ metadata.gz: dacc2fa02ba153e1bb1057f597bbd93904a49f1b34043d60f7b8962a98d8049bbf52d6a55e21e91af1e559b079ce751f6b527ff0acc1a53dfab0d3993c08a5d6
7
+ data.tar.gz: 047faaa9537cff6d876152fec8e33e091d93906a5f2a60df1302c206c31521ca51e61938e84bcb61b0dd77be09937684cb269cf7772eee882bc4a74e49ecf241
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
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
+
4
11
  1.20.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -1082,7 +1082,7 @@ module Aws::Braket
1082
1082
  params: params,
1083
1083
  config: config)
1084
1084
  context[:gem_name] = 'aws-sdk-braket'
1085
- context[:gem_version] = '1.20.0'
1085
+ context[:gem_version] = '1.21.0'
1086
1086
  Seahorse::Client::Request.new(handlers, context)
1087
1087
  end
1088
1088
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::Braket
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
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: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsd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XSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMg
103
- ZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBE
104
- dWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10s
105
- ImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYnJha2V0LntSZWdpb259LntQ
106
- YXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJo
107
- ZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -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.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-braket/customizations'
52
52
  # @!group service
53
53
  module Aws::Braket
54
54
 
55
- GEM_VERSION = '1.20.0'
55
+ GEM_VERSION = '1.21.0'
56
56
 
57
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.20.0
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: 2022-10-25 00:00:00.000000000 Z
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