@aws-sdk/client-braket 3.758.0 → 3.772.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +37 -37
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AssociationType: () => AssociationType,
26
26
  Braket: () => Braket,
@@ -66,7 +66,7 @@ __export(src_exports, {
66
66
  paginateSearchJobs: () => paginateSearchJobs,
67
67
  paginateSearchQuantumTasks: () => paginateSearchQuantumTasks
68
68
  });
69
- module.exports = __toCommonJS(src_exports);
69
+ module.exports = __toCommonJS(index_exports);
70
70
 
71
71
  // src/BraketClient.ts
72
72
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -193,9 +193,9 @@ var BraketClient = class extends import_smithy_client.Client {
193
193
  this.middlewareStack.use(
194
194
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
195
195
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultBraketHttpAuthSchemeParametersProvider,
196
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
196
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
197
197
  "aws.auth#sigv4": config.credentials
198
- })
198
+ }), "identityProviderConfigProvider")
199
199
  })
200
200
  );
201
201
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -560,19 +560,19 @@ var se_CreateJobCommand = /* @__PURE__ */ __name(async (input, context) => {
560
560
  let body;
561
561
  body = JSON.stringify(
562
562
  (0, import_smithy_client.take)(input, {
563
- algorithmSpecification: (_) => (0, import_smithy_client._json)(_),
564
- associations: (_) => (0, import_smithy_client._json)(_),
565
- checkpointConfig: (_) => (0, import_smithy_client._json)(_),
563
+ algorithmSpecification: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "algorithmSpecification"),
564
+ associations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "associations"),
565
+ checkpointConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "checkpointConfig"),
566
566
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
567
- deviceConfig: (_) => (0, import_smithy_client._json)(_),
568
- hyperParameters: (_) => (0, import_smithy_client._json)(_),
569
- inputDataConfig: (_) => (0, import_smithy_client._json)(_),
570
- instanceConfig: (_) => (0, import_smithy_client._json)(_),
567
+ deviceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "deviceConfig"),
568
+ hyperParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "hyperParameters"),
569
+ inputDataConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "inputDataConfig"),
570
+ instanceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "instanceConfig"),
571
571
  jobName: [],
572
- outputDataConfig: (_) => (0, import_smithy_client._json)(_),
572
+ outputDataConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputDataConfig"),
573
573
  roleArn: [],
574
- stoppingCondition: (_) => (0, import_smithy_client._json)(_),
575
- tags: (_) => (0, import_smithy_client._json)(_)
574
+ stoppingCondition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stoppingCondition"),
575
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
576
576
  })
577
577
  );
578
578
  b.m("POST").h(headers).b(body);
@@ -587,16 +587,16 @@ var se_CreateQuantumTaskCommand = /* @__PURE__ */ __name(async (input, context)
587
587
  let body;
588
588
  body = JSON.stringify(
589
589
  (0, import_smithy_client.take)(input, {
590
- action: (_) => import_smithy_client.LazyJsonString.from(_),
591
- associations: (_) => (0, import_smithy_client._json)(_),
590
+ action: /* @__PURE__ */ __name((_) => import_smithy_client.LazyJsonString.from(_), "action"),
591
+ associations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "associations"),
592
592
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
593
593
  deviceArn: [],
594
- deviceParameters: (_) => import_smithy_client.LazyJsonString.from(_),
594
+ deviceParameters: /* @__PURE__ */ __name((_) => import_smithy_client.LazyJsonString.from(_), "deviceParameters"),
595
595
  jobToken: [],
596
596
  outputS3Bucket: [],
597
597
  outputS3KeyPrefix: [],
598
598
  shots: [],
599
- tags: (_) => (0, import_smithy_client._json)(_)
599
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
600
600
  })
601
601
  );
602
602
  b.m("POST").h(headers).b(body);
@@ -653,7 +653,7 @@ var se_SearchDevicesCommand = /* @__PURE__ */ __name(async (input, context) => {
653
653
  let body;
654
654
  body = JSON.stringify(
655
655
  (0, import_smithy_client.take)(input, {
656
- filters: (_) => (0, import_smithy_client._json)(_),
656
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
657
657
  maxResults: [],
658
658
  nextToken: []
659
659
  })
@@ -670,7 +670,7 @@ var se_SearchJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
670
670
  let body;
671
671
  body = JSON.stringify(
672
672
  (0, import_smithy_client.take)(input, {
673
- filters: (_) => (0, import_smithy_client._json)(_),
673
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
674
674
  maxResults: [],
675
675
  nextToken: []
676
676
  })
@@ -687,7 +687,7 @@ var se_SearchQuantumTasksCommand = /* @__PURE__ */ __name(async (input, context)
687
687
  let body;
688
688
  body = JSON.stringify(
689
689
  (0, import_smithy_client.take)(input, {
690
- filters: (_) => (0, import_smithy_client._json)(_),
690
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
691
691
  maxResults: [],
692
692
  nextToken: []
693
693
  })
@@ -705,7 +705,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
705
705
  let body;
706
706
  body = JSON.stringify(
707
707
  (0, import_smithy_client.take)(input, {
708
- tags: (_) => (0, import_smithy_client._json)(_)
708
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
709
709
  })
710
710
  );
711
711
  b.m("POST").h(headers).b(body);
@@ -814,10 +814,10 @@ var de_GetJobCommand = /* @__PURE__ */ __name(async (output, context) => {
814
814
  associations: import_smithy_client._json,
815
815
  billableDuration: import_smithy_client.expectInt32,
816
816
  checkpointConfig: import_smithy_client._json,
817
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
817
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
818
818
  deviceConfig: import_smithy_client._json,
819
- endedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
820
- events: (_) => de_JobEvents(_, context),
819
+ endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"),
820
+ events: /* @__PURE__ */ __name((_) => de_JobEvents(_, context), "events"),
821
821
  failureReason: import_smithy_client.expectString,
822
822
  hyperParameters: import_smithy_client._json,
823
823
  inputDataConfig: import_smithy_client._json,
@@ -827,7 +827,7 @@ var de_GetJobCommand = /* @__PURE__ */ __name(async (output, context) => {
827
827
  outputDataConfig: import_smithy_client._json,
828
828
  queueInfo: import_smithy_client._json,
829
829
  roleArn: import_smithy_client.expectString,
830
- startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
830
+ startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"),
831
831
  status: import_smithy_client.expectString,
832
832
  stoppingCondition: import_smithy_client._json,
833
833
  tags: import_smithy_client._json
@@ -845,10 +845,10 @@ var de_GetQuantumTaskCommand = /* @__PURE__ */ __name(async (output, context) =>
845
845
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
846
846
  const doc = (0, import_smithy_client.take)(data, {
847
847
  associations: import_smithy_client._json,
848
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
848
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
849
849
  deviceArn: import_smithy_client.expectString,
850
850
  deviceParameters: import_smithy_client.LazyJsonString.from,
851
- endedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
851
+ endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"),
852
852
  failureReason: import_smithy_client.expectString,
853
853
  jobArn: import_smithy_client.expectString,
854
854
  outputS3Bucket: import_smithy_client.expectString,
@@ -900,7 +900,7 @@ var de_SearchJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
900
900
  });
901
901
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
902
902
  const doc = (0, import_smithy_client.take)(data, {
903
- jobs: (_) => de_JobSummaryList(_, context),
903
+ jobs: /* @__PURE__ */ __name((_) => de_JobSummaryList(_, context), "jobs"),
904
904
  nextToken: import_smithy_client.expectString
905
905
  });
906
906
  Object.assign(contents, doc);
@@ -916,7 +916,7 @@ var de_SearchQuantumTasksCommand = /* @__PURE__ */ __name(async (output, context
916
916
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
917
917
  const doc = (0, import_smithy_client.take)(data, {
918
918
  nextToken: import_smithy_client.expectString,
919
- quantumTasks: (_) => de_QuantumTaskSummaryList(_, context)
919
+ quantumTasks: /* @__PURE__ */ __name((_) => de_QuantumTaskSummaryList(_, context), "quantumTasks")
920
920
  });
921
921
  Object.assign(contents, doc);
922
922
  return contents;
@@ -1106,7 +1106,7 @@ var de_JobEventDetails = /* @__PURE__ */ __name((output, context) => {
1106
1106
  return (0, import_smithy_client.take)(output, {
1107
1107
  eventType: import_smithy_client.expectString,
1108
1108
  message: import_smithy_client.expectString,
1109
- timeOfEvent: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
1109
+ timeOfEvent: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timeOfEvent")
1110
1110
  });
1111
1111
  }, "de_JobEventDetails");
1112
1112
  var de_JobEvents = /* @__PURE__ */ __name((output, context) => {
@@ -1117,12 +1117,12 @@ var de_JobEvents = /* @__PURE__ */ __name((output, context) => {
1117
1117
  }, "de_JobEvents");
1118
1118
  var de_JobSummary = /* @__PURE__ */ __name((output, context) => {
1119
1119
  return (0, import_smithy_client.take)(output, {
1120
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1120
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1121
1121
  device: import_smithy_client.expectString,
1122
- endedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1122
+ endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"),
1123
1123
  jobArn: import_smithy_client.expectString,
1124
1124
  jobName: import_smithy_client.expectString,
1125
- startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1125
+ startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"),
1126
1126
  status: import_smithy_client.expectString,
1127
1127
  tags: import_smithy_client._json
1128
1128
  });
@@ -1135,9 +1135,9 @@ var de_JobSummaryList = /* @__PURE__ */ __name((output, context) => {
1135
1135
  }, "de_JobSummaryList");
1136
1136
  var de_QuantumTaskSummary = /* @__PURE__ */ __name((output, context) => {
1137
1137
  return (0, import_smithy_client.take)(output, {
1138
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1138
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
1139
1139
  deviceArn: import_smithy_client.expectString,
1140
- endedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1140
+ endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"),
1141
1141
  outputS3Bucket: import_smithy_client.expectString,
1142
1142
  outputS3Directory: import_smithy_client.expectString,
1143
1143
  quantumTaskArn: import_smithy_client.expectString,
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.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-braket",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",