@aws-sdk/client-braket 3.952.0 → 3.953.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 (37) hide show
  1. package/dist-cjs/index.js +303 -214
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CancelJobCommand.js +2 -2
  4. package/dist-es/commands/CancelQuantumTaskCommand.js +2 -2
  5. package/dist-es/commands/CreateJobCommand.js +2 -2
  6. package/dist-es/commands/CreateQuantumTaskCommand.js +2 -2
  7. package/dist-es/commands/CreateSpendingLimitCommand.js +2 -2
  8. package/dist-es/commands/DeleteSpendingLimitCommand.js +2 -2
  9. package/dist-es/commands/GetDeviceCommand.js +2 -2
  10. package/dist-es/commands/GetJobCommand.js +2 -2
  11. package/dist-es/commands/GetQuantumTaskCommand.js +2 -2
  12. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  13. package/dist-es/commands/SearchDevicesCommand.js +2 -2
  14. package/dist-es/commands/SearchJobsCommand.js +2 -2
  15. package/dist-es/commands/SearchQuantumTasksCommand.js +2 -2
  16. package/dist-es/commands/SearchSpendingLimitsCommand.js +2 -2
  17. package/dist-es/commands/TagResourceCommand.js +2 -2
  18. package/dist-es/commands/UntagResourceCommand.js +2 -2
  19. package/dist-es/commands/UpdateSpendingLimitCommand.js +2 -2
  20. package/dist-es/index.js +1 -0
  21. package/dist-es/runtimeConfig.shared.js +6 -1
  22. package/dist-es/schemas/schemas_0.js +179 -179
  23. package/dist-types/BraketClient.d.ts +1 -10
  24. package/dist-types/index.d.ts +1 -0
  25. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  26. package/dist-types/runtimeConfig.d.ts +6 -2
  27. package/dist-types/runtimeConfig.native.d.ts +6 -2
  28. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  29. package/dist-types/schemas/schemas_0.d.ts +90 -111
  30. package/dist-types/ts3.4/BraketClient.d.ts +0 -4
  31. package/dist-types/ts3.4/index.d.ts +1 -0
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +89 -112
  37. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.braket" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.braket",
32
+ version: "2019-09-01",
33
+ serviceTarget: "Braket",
34
+ },
30
35
  serviceId: config?.serviceId ?? "Braket",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelJob } from "../schemas/schemas_0";
4
+ import { CancelJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelJobCommand extends $Command
11
11
  })
12
12
  .s("Braket", "CancelJob", {})
13
13
  .n("BraketClient", "CancelJobCommand")
14
- .sc(CancelJob)
14
+ .sc(CancelJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelQuantumTask } from "../schemas/schemas_0";
4
+ import { CancelQuantumTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelQuantumTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelQuantumTaskCommand extends $Command
11
11
  })
12
12
  .s("Braket", "CancelQuantumTask", {})
13
13
  .n("BraketClient", "CancelQuantumTaskCommand")
14
- .sc(CancelQuantumTask)
14
+ .sc(CancelQuantumTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateJob } from "../schemas/schemas_0";
4
+ import { CreateJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateJobCommand extends $Command
11
11
  })
12
12
  .s("Braket", "CreateJob", {})
13
13
  .n("BraketClient", "CreateJobCommand")
14
- .sc(CreateJob)
14
+ .sc(CreateJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateQuantumTask } from "../schemas/schemas_0";
4
+ import { CreateQuantumTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateQuantumTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateQuantumTaskCommand extends $Command
11
11
  })
12
12
  .s("Braket", "CreateQuantumTask", {})
13
13
  .n("BraketClient", "CreateQuantumTaskCommand")
14
- .sc(CreateQuantumTask)
14
+ .sc(CreateQuantumTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateSpendingLimit } from "../schemas/schemas_0";
4
+ import { CreateSpendingLimit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateSpendingLimitCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateSpendingLimitCommand extends $Command
11
11
  })
12
12
  .s("Braket", "CreateSpendingLimit", {})
13
13
  .n("BraketClient", "CreateSpendingLimitCommand")
14
- .sc(CreateSpendingLimit)
14
+ .sc(CreateSpendingLimit$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSpendingLimit } from "../schemas/schemas_0";
4
+ import { DeleteSpendingLimit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSpendingLimitCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSpendingLimitCommand extends $Command
11
11
  })
12
12
  .s("Braket", "DeleteSpendingLimit", {})
13
13
  .n("BraketClient", "DeleteSpendingLimitCommand")
14
- .sc(DeleteSpendingLimit)
14
+ .sc(DeleteSpendingLimit$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetDevice } from "../schemas/schemas_0";
4
+ import { GetDevice$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetDeviceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetDeviceCommand extends $Command
11
11
  })
12
12
  .s("Braket", "GetDevice", {})
13
13
  .n("BraketClient", "GetDeviceCommand")
14
- .sc(GetDevice)
14
+ .sc(GetDevice$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetJob } from "../schemas/schemas_0";
4
+ import { GetJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetJobCommand extends $Command
11
11
  })
12
12
  .s("Braket", "GetJob", {})
13
13
  .n("BraketClient", "GetJobCommand")
14
- .sc(GetJob)
14
+ .sc(GetJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetQuantumTask } from "../schemas/schemas_0";
4
+ import { GetQuantumTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetQuantumTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetQuantumTaskCommand extends $Command
11
11
  })
12
12
  .s("Braket", "GetQuantumTask", {})
13
13
  .n("BraketClient", "GetQuantumTaskCommand")
14
- .sc(GetQuantumTask)
14
+ .sc(GetQuantumTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("Braket", "ListTagsForResource", {})
13
13
  .n("BraketClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SearchDevices } from "../schemas/schemas_0";
4
+ import { SearchDevices$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchDevicesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchDevicesCommand extends $Command
11
11
  })
12
12
  .s("Braket", "SearchDevices", {})
13
13
  .n("BraketClient", "SearchDevicesCommand")
14
- .sc(SearchDevices)
14
+ .sc(SearchDevices$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SearchJobs } from "../schemas/schemas_0";
4
+ import { SearchJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchJobsCommand extends $Command
11
11
  })
12
12
  .s("Braket", "SearchJobs", {})
13
13
  .n("BraketClient", "SearchJobsCommand")
14
- .sc(SearchJobs)
14
+ .sc(SearchJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SearchQuantumTasks } from "../schemas/schemas_0";
4
+ import { SearchQuantumTasks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchQuantumTasksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchQuantumTasksCommand extends $Command
11
11
  })
12
12
  .s("Braket", "SearchQuantumTasks", {})
13
13
  .n("BraketClient", "SearchQuantumTasksCommand")
14
- .sc(SearchQuantumTasks)
14
+ .sc(SearchQuantumTasks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SearchSpendingLimits } from "../schemas/schemas_0";
4
+ import { SearchSpendingLimits$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchSpendingLimitsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchSpendingLimitsCommand extends $Command
11
11
  })
12
12
  .s("Braket", "SearchSpendingLimits", {})
13
13
  .n("BraketClient", "SearchSpendingLimitsCommand")
14
- .sc(SearchSpendingLimits)
14
+ .sc(SearchSpendingLimits$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("Braket", "TagResource", {})
13
13
  .n("BraketClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("Braket", "UntagResource", {})
13
13
  .n("BraketClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateSpendingLimit } from "../schemas/schemas_0";
4
+ import { UpdateSpendingLimit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateSpendingLimitCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateSpendingLimitCommand extends $Command
11
11
  })
12
12
  .s("Braket", "UpdateSpendingLimit", {})
13
13
  .n("BraketClient", "UpdateSpendingLimitCommand")
14
- .sc(UpdateSpendingLimit)
14
+ .sc(UpdateSpendingLimit$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BraketClient";
2
2
  export * from "./Braket";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.braket" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.braket",
29
+ version: "2019-09-01",
30
+ serviceTarget: "Braket",
31
+ },
27
32
  serviceId: config?.serviceId ?? "Braket",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,