@aws-sdk/client-braket 3.1044.0 → 3.1046.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 (88) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +50 -51
  5. package/dist-cjs/models/BraketServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/Braket.js +1 -1
  10. package/dist-es/BraketClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CancelJobCommand.js +2 -2
  13. package/dist-es/commands/CancelQuantumTaskCommand.js +2 -2
  14. package/dist-es/commands/CreateJobCommand.js +2 -2
  15. package/dist-es/commands/CreateQuantumTaskCommand.js +2 -2
  16. package/dist-es/commands/CreateSpendingLimitCommand.js +2 -2
  17. package/dist-es/commands/DeleteSpendingLimitCommand.js +2 -2
  18. package/dist-es/commands/GetDeviceCommand.js +2 -2
  19. package/dist-es/commands/GetJobCommand.js +2 -2
  20. package/dist-es/commands/GetQuantumTaskCommand.js +2 -2
  21. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  22. package/dist-es/commands/SearchDevicesCommand.js +2 -2
  23. package/dist-es/commands/SearchJobsCommand.js +2 -2
  24. package/dist-es/commands/SearchQuantumTasksCommand.js +2 -2
  25. package/dist-es/commands/SearchSpendingLimitsCommand.js +2 -2
  26. package/dist-es/commands/TagResourceCommand.js +2 -2
  27. package/dist-es/commands/UntagResourceCommand.js +2 -2
  28. package/dist-es/commands/UpdateSpendingLimitCommand.js +2 -2
  29. package/dist-es/endpoint/bdd.js +1 -1
  30. package/dist-es/endpoint/endpointResolver.js +1 -1
  31. package/dist-es/models/BraketServiceException.js +1 -1
  32. package/dist-es/runtimeConfig.browser.js +4 -6
  33. package/dist-es/runtimeConfig.js +4 -8
  34. package/dist-es/runtimeConfig.shared.js +3 -4
  35. package/dist-es/runtimeExtensions.js +2 -2
  36. package/dist-types/BraketClient.d.ts +5 -5
  37. package/dist-types/commands/CancelJobCommand.d.ts +6 -4
  38. package/dist-types/commands/CancelQuantumTaskCommand.d.ts +6 -4
  39. package/dist-types/commands/CreateJobCommand.d.ts +6 -4
  40. package/dist-types/commands/CreateQuantumTaskCommand.d.ts +6 -4
  41. package/dist-types/commands/CreateSpendingLimitCommand.d.ts +6 -4
  42. package/dist-types/commands/DeleteSpendingLimitCommand.d.ts +6 -4
  43. package/dist-types/commands/GetDeviceCommand.d.ts +6 -4
  44. package/dist-types/commands/GetJobCommand.d.ts +6 -4
  45. package/dist-types/commands/GetQuantumTaskCommand.d.ts +6 -4
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  47. package/dist-types/commands/SearchDevicesCommand.d.ts +6 -4
  48. package/dist-types/commands/SearchJobsCommand.d.ts +6 -4
  49. package/dist-types/commands/SearchQuantumTasksCommand.d.ts +6 -4
  50. package/dist-types/commands/SearchSpendingLimitsCommand.d.ts +6 -4
  51. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  52. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  53. package/dist-types/commands/UpdateSpendingLimitCommand.d.ts +6 -4
  54. package/dist-types/endpoint/bdd.d.ts +1 -1
  55. package/dist-types/extensionConfiguration.d.ts +1 -1
  56. package/dist-types/models/BraketServiceException.d.ts +1 -1
  57. package/dist-types/models/errors.d.ts +1 -1
  58. package/dist-types/models/models_0.d.ts +1 -1
  59. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  60. package/dist-types/runtimeConfig.d.ts +2 -2
  61. package/dist-types/runtimeConfig.native.d.ts +2 -2
  62. package/dist-types/ts3.4/BraketClient.d.ts +8 -14
  63. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +6 -8
  64. package/dist-types/ts3.4/commands/CancelQuantumTaskCommand.d.ts +6 -4
  65. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +6 -8
  66. package/dist-types/ts3.4/commands/CreateQuantumTaskCommand.d.ts +6 -4
  67. package/dist-types/ts3.4/commands/CreateSpendingLimitCommand.d.ts +6 -4
  68. package/dist-types/ts3.4/commands/DeleteSpendingLimitCommand.d.ts +6 -4
  69. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +6 -8
  70. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +6 -4
  71. package/dist-types/ts3.4/commands/GetQuantumTaskCommand.d.ts +6 -4
  72. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  73. package/dist-types/ts3.4/commands/SearchDevicesCommand.d.ts +6 -4
  74. package/dist-types/ts3.4/commands/SearchJobsCommand.d.ts +6 -4
  75. package/dist-types/ts3.4/commands/SearchQuantumTasksCommand.d.ts +6 -4
  76. package/dist-types/ts3.4/commands/SearchSpendingLimitsCommand.d.ts +6 -4
  77. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  78. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  79. package/dist-types/ts3.4/commands/UpdateSpendingLimitCommand.d.ts +6 -4
  80. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  81. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  82. package/dist-types/ts3.4/models/BraketServiceException.d.ts +1 -1
  83. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  84. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  88. package/package.json +13 -34
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BraketClientResolvedConfig,
@@ -15,7 +15,7 @@ export interface TagResourceCommandOutput
15
15
  declare const TagResourceCommand_base: {
16
16
  new (
17
17
  input: TagResourceCommandInput
18
- ): import("@smithy/smithy-client").CommandImpl<
18
+ ): import("@smithy/core/client").CommandImpl<
19
19
  TagResourceCommandInput,
20
20
  TagResourceCommandOutput,
21
21
  BraketClientResolvedConfig,
@@ -24,14 +24,16 @@ declare const TagResourceCommand_base: {
24
24
  >;
25
25
  new (
26
26
  input: TagResourceCommandInput
27
- ): import("@smithy/smithy-client").CommandImpl<
27
+ ): import("@smithy/core/client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
30
30
  BraketClientResolvedConfig,
31
31
  ServiceInputTypes,
32
32
  ServiceOutputTypes
33
33
  >;
34
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
35
37
  };
36
38
  export declare class TagResourceCommand extends TagResourceCommand_base {
37
39
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BraketClientResolvedConfig,
@@ -18,7 +18,7 @@ export interface UntagResourceCommandOutput
18
18
  declare const UntagResourceCommand_base: {
19
19
  new (
20
20
  input: UntagResourceCommandInput
21
- ): import("@smithy/smithy-client").CommandImpl<
21
+ ): import("@smithy/core/client").CommandImpl<
22
22
  UntagResourceCommandInput,
23
23
  UntagResourceCommandOutput,
24
24
  BraketClientResolvedConfig,
@@ -27,14 +27,16 @@ declare const UntagResourceCommand_base: {
27
27
  >;
28
28
  new (
29
29
  input: UntagResourceCommandInput
30
- ): import("@smithy/smithy-client").CommandImpl<
30
+ ): import("@smithy/core/client").CommandImpl<
31
31
  UntagResourceCommandInput,
32
32
  UntagResourceCommandOutput,
33
33
  BraketClientResolvedConfig,
34
34
  ServiceInputTypes,
35
35
  ServiceOutputTypes
36
36
  >;
37
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
38
40
  };
39
41
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
40
42
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  BraketClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface UpdateSpendingLimitCommandOutput
19
19
  declare const UpdateSpendingLimitCommand_base: {
20
20
  new (
21
21
  input: UpdateSpendingLimitCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  UpdateSpendingLimitCommandInput,
24
24
  UpdateSpendingLimitCommandOutput,
25
25
  BraketClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const UpdateSpendingLimitCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: UpdateSpendingLimitCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  UpdateSpendingLimitCommandInput,
33
33
  UpdateSpendingLimitCommandOutput,
34
34
  BraketClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class UpdateSpendingLimitCommand extends UpdateSpendingLimitCommand_base {
41
43
  protected static __types: {
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface BraketExtensionConfiguration
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
3
  ServiceException as __ServiceException,
4
- } from "@smithy/smithy-client";
4
+ } from "@smithy/core/client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class BraketServiceException extends __ServiceException {
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { BraketServiceException as __BaseException } from "./BraketServiceException";
3
3
  import { ValidationExceptionReason } from "./enums";
4
4
  import { ProgramSetValidationFailure } from "./models_0";
@@ -1,4 +1,4 @@
1
- import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
1
+ import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
2
  import {
3
3
  _InstanceType,
4
4
  AssociationType,
@@ -3,7 +3,7 @@ import { BraketClientConfig } from "./BraketClient";
3
3
  export declare const getRuntimeConfig: (config: BraketClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
@@ -17,7 +17,7 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
17
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
18
  region: string | import("@smithy/types").Provider<any>;
19
19
  requestHandler:
20
- | import("@smithy/protocol-http").HttpHandler<any>
20
+ | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
23
  sha256: import("@smithy/types").HashConstructor;
@@ -3,7 +3,7 @@ import { BraketClientConfig } from "./BraketClient";
3
3
  export declare const getRuntimeConfig: (config: BraketClientConfig) => {
4
4
  runtime: string;
5
5
  defaultsMode: import("@smithy/types").Provider<
6
- import("@smithy/smithy-client").ResolvedDefaultsMode
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
7
  >;
8
8
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
19
19
  region: string | import("@smithy/types").Provider<string>;
20
20
  requestHandler:
21
21
  | RequestHandler
22
- | import("@smithy/protocol-http").HttpHandler<any>;
22
+ | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
24
  sha256: import("@smithy/types").HashConstructor;
25
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
6
6
  | import("@smithy/types").NodeHttpHandlerOptions
7
7
  | import("@smithy/types").FetchHttpHandlerOptions
8
8
  | Record<string, unknown>
9
- | import("@smithy/protocol-http").HttpHandler<any>
9
+ | import("@smithy/core/protocols").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean;
12
12
  protocol:
@@ -46,9 +46,9 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
46
46
  logger: import("@smithy/types").Logger;
47
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
48
48
  defaultsMode:
49
- | import("@smithy/smithy-client").DefaultsMode
49
+ | import("@smithy/core/client").DefaultsMode
50
50
  | import("@smithy/types").Provider<
51
- import("@smithy/smithy-client").DefaultsMode
51
+ import("@smithy/core/client").DefaultsMode
52
52
  >;
53
53
  customUserAgent?: string | import("@smithy/types").UserAgent;
54
54
  userAgentAppId?:
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.1044.0",
4
+ "version": "3.1046.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-braket",
@@ -21,42 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.8",
25
- "@aws-sdk/credential-provider-node": "^3.972.39",
26
- "@aws-sdk/middleware-host-header": "^3.972.10",
24
+ "@aws-sdk/core": "^3.974.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.40",
26
+ "@aws-sdk/middleware-host-header": "^3.972.11",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.38",
30
- "@aws-sdk/region-config-resolver": "^3.972.13",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.39",
30
+ "@aws-sdk/region-config-resolver": "^3.972.14",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.8",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.24",
35
- "@smithy/config-resolver": "^4.4.17",
36
- "@smithy/core": "^3.23.17",
37
- "@smithy/fetch-http-handler": "^5.3.17",
38
- "@smithy/hash-node": "^4.2.14",
39
- "@smithy/invalid-dependency": "^4.2.14",
40
- "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.7",
43
- "@smithy/middleware-serde": "^4.2.20",
44
- "@smithy/middleware-stack": "^4.2.14",
45
- "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.6.1",
47
- "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.13",
32
+ "@aws-sdk/util-endpoints": "^3.996.9",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.11",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.25",
35
+ "@smithy/core": "^3.24.1",
36
+ "@smithy/fetch-http-handler": "^5.4.1",
37
+ "@smithy/node-http-handler": "^4.7.1",
49
38
  "@smithy/types": "^4.14.1",
50
- "@smithy/url-parser": "^4.2.14",
51
- "@smithy/util-base64": "^4.3.2",
52
- "@smithy/util-body-length-browser": "^4.2.2",
53
- "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.49",
55
- "@smithy/util-defaults-mode-node": "^4.2.54",
56
- "@smithy/util-endpoints": "^3.4.2",
57
- "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.6",
59
- "@smithy/util-utf8": "^4.2.2",
60
39
  "tslib": "^2.6.2"
61
40
  },
62
41
  "devDependencies": {