@aws-sdk/client-braket 3.99.0 → 3.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-braket
9
+
10
+
11
+
12
+
13
+
14
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-braket
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-braket
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class BraketClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var BraketClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -552,9 +552,7 @@ export interface CreateJobRequest {
552
552
  * the training job. The values are set with a string of JSON key:value pairs, where the key
553
553
  * is the name of the hyperparameter and the value is the value of th hyperparameter.</p>
554
554
  */
555
- hyperParameters?: {
556
- [key: string]: string;
557
- };
555
+ hyperParameters?: Record<string, string>;
558
556
  /**
559
557
  * <p>The quantum processing unit (QPU) or simulator used to create an Amazon Braket
560
558
  * job.</p>
@@ -564,9 +562,7 @@ export interface CreateJobRequest {
564
562
  * <p>A tag object that consists of a key and an optional value, used to manage metadata for
565
563
  * Amazon Braket resources.</p>
566
564
  */
567
- tags?: {
568
- [key: string]: string;
569
- };
565
+ tags?: Record<string, string>;
570
566
  }
571
567
  export declare namespace CreateJobRequest {
572
568
  /**
@@ -692,9 +688,7 @@ export interface GetJobResponse {
692
688
  * the traiing job. The values are set with a string of JSON key:value pairs, where the key is
693
689
  * the name of the hyperparameter and the value is the value of th hyperparameter.</p>
694
690
  */
695
- hyperParameters?: {
696
- [key: string]: string;
697
- };
691
+ hyperParameters?: Record<string, string>;
698
692
  /**
699
693
  * <p>A list of parameters that specify the name and type of input data and where it is
700
694
  * located.</p>
@@ -751,9 +745,7 @@ export interface GetJobResponse {
751
745
  * <p>A tag object that consists of a key and an optional value, used to manage metadata for
752
746
  * Amazon Braket resources.</p>
753
747
  */
754
- tags?: {
755
- [key: string]: string;
756
- };
748
+ tags?: Record<string, string>;
757
749
  }
758
750
  export declare namespace GetJobResponse {
759
751
  /**
@@ -851,9 +843,7 @@ export interface JobSummary {
851
843
  * <p>A tag object that consists of a key and an optional value, used to manage metadata for
852
844
  * Amazon Braket resources.</p>
853
845
  */
854
- tags?: {
855
- [key: string]: string;
856
- };
846
+ tags?: Record<string, string>;
857
847
  }
858
848
  export declare namespace JobSummary {
859
849
  /**
@@ -896,9 +886,7 @@ export interface ListTagsForResourceResponse {
896
886
  /**
897
887
  * <p>Displays the key, value pairs of tags associated with this resource.</p>
898
888
  */
899
- tags?: {
900
- [key: string]: string;
901
- };
889
+ tags?: Record<string, string>;
902
890
  }
903
891
  export declare namespace ListTagsForResourceResponse {
904
892
  /**
@@ -970,9 +958,7 @@ export interface CreateQuantumTaskRequest {
970
958
  /**
971
959
  * <p>Tags to be added to the quantum task you're creating.</p>
972
960
  */
973
- tags?: {
974
- [key: string]: string;
975
- };
961
+ tags?: Record<string, string>;
976
962
  /**
977
963
  * <p>The token for an Amazon Braket job that associates it with the quantum task.</p>
978
964
  */
@@ -1072,9 +1058,7 @@ export interface GetQuantumTaskResponse {
1072
1058
  /**
1073
1059
  * <p>The tags that belong to this task.</p>
1074
1060
  */
1075
- tags?: {
1076
- [key: string]: string;
1077
- };
1061
+ tags?: Record<string, string>;
1078
1062
  /**
1079
1063
  * <p>The ARN of the Amazon Braket job associated with the quantum task.</p>
1080
1064
  */
@@ -1177,9 +1161,7 @@ export interface QuantumTaskSummary {
1177
1161
  /**
1178
1162
  * <p>Displays the key, value pairs of tags associated with this quantum task.</p>
1179
1163
  */
1180
- tags?: {
1181
- [key: string]: string;
1182
- };
1164
+ tags?: Record<string, string>;
1183
1165
  }
1184
1166
  export declare namespace QuantumTaskSummary {
1185
1167
  /**
@@ -1215,9 +1197,7 @@ export interface TagResourceRequest {
1215
1197
  /**
1216
1198
  * <p>Specify the tags to add to the resource.</p>
1217
1199
  */
1218
- tags: {
1219
- [key: string]: string;
1220
- } | undefined;
1200
+ tags: Record<string, string> | undefined;
1221
1201
  }
1222
1202
  export declare namespace TagResourceRequest {
1223
1203
  /**
@@ -331,15 +331,11 @@ export interface CreateJobRequest {
331
331
 
332
332
  instanceConfig: InstanceConfig | undefined;
333
333
 
334
- hyperParameters?: {
335
- [key: string]: string;
336
- };
334
+ hyperParameters?: Record<string, string>;
337
335
 
338
336
  deviceConfig: DeviceConfig | undefined;
339
337
 
340
- tags?: {
341
- [key: string]: string;
342
- };
338
+ tags?: Record<string, string>;
343
339
  }
344
340
  export declare namespace CreateJobRequest {
345
341
 
@@ -421,9 +417,7 @@ export interface GetJobResponse {
421
417
 
422
418
  jobName: string | undefined;
423
419
 
424
- hyperParameters?: {
425
- [key: string]: string;
426
- };
420
+ hyperParameters?: Record<string, string>;
427
421
 
428
422
  inputDataConfig?: InputFileConfig[];
429
423
 
@@ -449,9 +443,7 @@ export interface GetJobResponse {
449
443
 
450
444
  events?: JobEventDetails[];
451
445
 
452
- tags?: {
453
- [key: string]: string;
454
- };
446
+ tags?: Record<string, string>;
455
447
  }
456
448
  export declare namespace GetJobResponse {
457
449
 
@@ -508,9 +500,7 @@ export interface JobSummary {
508
500
 
509
501
  endedAt?: Date;
510
502
 
511
- tags?: {
512
- [key: string]: string;
513
- };
503
+ tags?: Record<string, string>;
514
504
  }
515
505
  export declare namespace JobSummary {
516
506
 
@@ -536,9 +526,7 @@ export declare namespace ListTagsForResourceRequest {
536
526
  }
537
527
  export interface ListTagsForResourceResponse {
538
528
 
539
- tags?: {
540
- [key: string]: string;
541
- };
529
+ tags?: Record<string, string>;
542
530
  }
543
531
  export declare namespace ListTagsForResourceResponse {
544
532
 
@@ -580,9 +568,7 @@ export interface CreateQuantumTaskRequest {
580
568
 
581
569
  action: __LazyJsonString | string | undefined;
582
570
 
583
- tags?: {
584
- [key: string]: string;
585
- };
571
+ tags?: Record<string, string>;
586
572
 
587
573
  jobToken?: string;
588
574
  }
@@ -644,9 +630,7 @@ export interface GetQuantumTaskResponse {
644
630
 
645
631
  endedAt?: Date;
646
632
 
647
- tags?: {
648
- [key: string]: string;
649
- };
633
+ tags?: Record<string, string>;
650
634
 
651
635
  jobArn?: string;
652
636
  }
@@ -706,9 +690,7 @@ export interface QuantumTaskSummary {
706
690
 
707
691
  endedAt?: Date;
708
692
 
709
- tags?: {
710
- [key: string]: string;
711
- };
693
+ tags?: Record<string, string>;
712
694
  }
713
695
  export declare namespace QuantumTaskSummary {
714
696
 
@@ -728,9 +710,7 @@ export interface TagResourceRequest {
728
710
 
729
711
  resourceArn: string | undefined;
730
712
 
731
- tags: {
732
- [key: string]: string;
733
- } | undefined;
713
+ tags: Record<string, string> | undefined;
734
714
  }
735
715
  export declare namespace TagResourceRequest {
736
716
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-braket",
3
3
  "description": "AWS SDK for JavaScript Braket Client for Node.js, Browser and React Native",
4
- "version": "3.99.0",
4
+ "version": "3.109.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,36 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.99.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.99.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.109.0",
22
+ "@aws-sdk/config-resolver": "3.109.0",
23
+ "@aws-sdk/credential-provider-node": "3.109.0",
24
+ "@aws-sdk/fetch-http-handler": "3.109.0",
25
+ "@aws-sdk/hash-node": "3.109.0",
26
+ "@aws-sdk/invalid-dependency": "3.109.0",
27
+ "@aws-sdk/middleware-content-length": "3.109.0",
28
+ "@aws-sdk/middleware-host-header": "3.109.0",
29
+ "@aws-sdk/middleware-logger": "3.109.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.109.0",
31
+ "@aws-sdk/middleware-retry": "3.109.0",
32
+ "@aws-sdk/middleware-serde": "3.109.0",
33
+ "@aws-sdk/middleware-signing": "3.109.0",
34
+ "@aws-sdk/middleware-stack": "3.109.0",
35
+ "@aws-sdk/middleware-user-agent": "3.109.0",
36
+ "@aws-sdk/node-config-provider": "3.109.0",
37
+ "@aws-sdk/node-http-handler": "3.109.0",
38
+ "@aws-sdk/protocol-http": "3.109.0",
39
+ "@aws-sdk/smithy-client": "3.109.0",
40
+ "@aws-sdk/types": "3.109.0",
41
+ "@aws-sdk/url-parser": "3.109.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.109.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.109.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.109.0",
49
+ "@aws-sdk/util-user-agent-node": "3.109.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
51
52
  "tslib": "^2.3.1",
52
53
  "uuid": "^8.3.2"
53
54
  },