@aws-sdk/client-braket 3.477.0 → 3.481.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 (69) hide show
  1. package/dist-cjs/commands/CancelJobCommand.js +18 -41
  2. package/dist-cjs/commands/CancelQuantumTaskCommand.js +18 -41
  3. package/dist-cjs/commands/CreateJobCommand.js +18 -41
  4. package/dist-cjs/commands/CreateQuantumTaskCommand.js +18 -41
  5. package/dist-cjs/commands/GetDeviceCommand.js +18 -41
  6. package/dist-cjs/commands/GetJobCommand.js +18 -41
  7. package/dist-cjs/commands/GetQuantumTaskCommand.js +18 -41
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  9. package/dist-cjs/commands/SearchDevicesCommand.js +18 -41
  10. package/dist-cjs/commands/SearchJobsCommand.js +18 -41
  11. package/dist-cjs/commands/SearchQuantumTasksCommand.js +18 -41
  12. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-cjs/pagination/SearchDevicesPaginator.js +2 -24
  16. package/dist-cjs/pagination/SearchJobsPaginator.js +2 -24
  17. package/dist-cjs/pagination/SearchQuantumTasksPaginator.js +2 -24
  18. package/dist-es/commands/CancelJobCommand.js +18 -41
  19. package/dist-es/commands/CancelQuantumTaskCommand.js +18 -41
  20. package/dist-es/commands/CreateJobCommand.js +18 -41
  21. package/dist-es/commands/CreateQuantumTaskCommand.js +18 -41
  22. package/dist-es/commands/GetDeviceCommand.js +18 -41
  23. package/dist-es/commands/GetJobCommand.js +18 -41
  24. package/dist-es/commands/GetQuantumTaskCommand.js +18 -41
  25. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  26. package/dist-es/commands/SearchDevicesCommand.js +18 -41
  27. package/dist-es/commands/SearchJobsCommand.js +18 -41
  28. package/dist-es/commands/SearchQuantumTasksCommand.js +18 -41
  29. package/dist-es/commands/TagResourceCommand.js +18 -41
  30. package/dist-es/commands/UntagResourceCommand.js +18 -41
  31. package/dist-es/endpoint/EndpointParameters.js +6 -0
  32. package/dist-es/pagination/SearchDevicesPaginator.js +2 -23
  33. package/dist-es/pagination/SearchJobsPaginator.js +2 -23
  34. package/dist-es/pagination/SearchQuantumTasksPaginator.js +2 -23
  35. package/dist-types/commands/CancelJobCommand.d.ts +6 -21
  36. package/dist-types/commands/CancelQuantumTaskCommand.d.ts +6 -21
  37. package/dist-types/commands/CreateJobCommand.d.ts +6 -21
  38. package/dist-types/commands/CreateQuantumTaskCommand.d.ts +6 -21
  39. package/dist-types/commands/GetDeviceCommand.d.ts +6 -21
  40. package/dist-types/commands/GetJobCommand.d.ts +6 -21
  41. package/dist-types/commands/GetQuantumTaskCommand.d.ts +6 -21
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  43. package/dist-types/commands/SearchDevicesCommand.d.ts +6 -21
  44. package/dist-types/commands/SearchJobsCommand.d.ts +6 -21
  45. package/dist-types/commands/SearchQuantumTasksCommand.d.ts +6 -21
  46. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  47. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  48. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  49. package/dist-types/pagination/SearchDevicesPaginator.d.ts +1 -1
  50. package/dist-types/pagination/SearchJobsPaginator.d.ts +1 -1
  51. package/dist-types/pagination/SearchQuantumTasksPaginator.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/CancelQuantumTaskCommand.d.ts +14 -23
  54. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/CreateQuantumTaskCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +12 -23
  58. package/dist-types/ts3.4/commands/GetQuantumTaskCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/SearchDevicesCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/SearchJobsCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/SearchQuantumTasksCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  65. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  66. package/dist-types/ts3.4/pagination/SearchDevicesPaginator.d.ts +3 -3
  67. package/dist-types/ts3.4/pagination/SearchJobsPaginator.d.ts +3 -3
  68. package/dist-types/ts3.4/pagination/SearchQuantumTasksPaginator.d.ts +3 -3
  69. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BraketClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Braket",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Braket", "UntagResource", {})
19
+ .n("BraketClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "braket",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { BraketClient } from "../BraketClient";
2
3
  import { SearchDevicesCommand, } from "../commands/SearchDevicesCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchDevicesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchDevices(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof BraketClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Braket | BraketClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateSearchDevices = createPaginator(BraketClient, SearchDevicesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { BraketClient } from "../BraketClient";
2
3
  import { SearchJobsCommand } from "../commands/SearchJobsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchJobsCommand(input), ...args);
5
- };
6
- export async function* paginateSearchJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof BraketClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Braket | BraketClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateSearchJobs = createPaginator(BraketClient, SearchJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { BraketClient } from "../BraketClient";
2
3
  import { SearchQuantumTasksCommand, } from "../commands/SearchQuantumTasksCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchQuantumTasksCommand(input), ...args);
5
- };
6
- export async function* paginateSearchQuantumTasks(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof BraketClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Braket | BraketClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateSearchQuantumTasks = createPaginator(BraketClient, SearchQuantumTasksCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { CancelJobRequest, CancelJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelJobCommandInput extends CancelJobRequest {
21
20
  */
22
21
  export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelJobCommand_base: {
24
+ new (input: CancelJobCommandInput): import("@smithy/smithy-client").CommandImpl<CancelJobCommandInput, CancelJobCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels an Amazon Braket job.</p>
@@ -71,23 +74,5 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
71
74
  * <p>Base exception class for all service exceptions from Braket service.</p>
72
75
  *
73
76
  */
74
- export declare class CancelJobCommand extends $Command<CancelJobCommandInput, CancelJobCommandOutput, BraketClientResolvedConfig> {
75
- readonly input: CancelJobCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: CancelJobCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobCommandInput, CancelJobCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class CancelJobCommand extends CancelJobCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { CancelQuantumTaskRequest, CancelQuantumTaskResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelQuantumTaskCommandInput extends CancelQuantumTaskRequest
21
20
  */
22
21
  export interface CancelQuantumTaskCommandOutput extends CancelQuantumTaskResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelQuantumTaskCommand_base: {
24
+ new (input: CancelQuantumTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels the specified task.</p>
@@ -72,23 +75,5 @@ export interface CancelQuantumTaskCommandOutput extends CancelQuantumTaskRespons
72
75
  * <p>Base exception class for all service exceptions from Braket service.</p>
73
76
  *
74
77
  */
75
- export declare class CancelQuantumTaskCommand extends $Command<CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput, BraketClientResolvedConfig> {
76
- readonly input: CancelQuantumTaskCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: CancelQuantumTaskCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class CancelQuantumTaskCommand extends CancelQuantumTaskCommand_base {
94
79
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { CreateJobRequest, CreateJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateJobCommandInput extends CreateJobRequest {
21
20
  */
22
21
  export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateJobCommand_base: {
24
+ new (input: CreateJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateJobCommandInput, CreateJobCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an Amazon Braket job.</p>
@@ -127,23 +130,5 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
127
130
  * <p>Base exception class for all service exceptions from Braket service.</p>
128
131
  *
129
132
  */
130
- export declare class CreateJobCommand extends $Command<CreateJobCommandInput, CreateJobCommandOutput, BraketClientResolvedConfig> {
131
- readonly input: CreateJobCommandInput;
132
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
133
- /**
134
- * @public
135
- */
136
- constructor(input: CreateJobCommandInput);
137
- /**
138
- * @internal
139
- */
140
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateJobCommandInput, CreateJobCommandOutput>;
141
- /**
142
- * @internal
143
- */
144
- private serialize;
145
- /**
146
- * @internal
147
- */
148
- private deserialize;
133
+ export declare class CreateJobCommand extends CreateJobCommand_base {
149
134
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { CreateQuantumTaskRequest, CreateQuantumTaskResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateQuantumTaskCommandInput extends CreateQuantumTaskRequest
21
20
  */
22
21
  export interface CreateQuantumTaskCommandOutput extends CreateQuantumTaskResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateQuantumTaskCommand_base: {
24
+ new (input: CreateQuantumTaskCommandInput): import("@smithy/smithy-client").CommandImpl<CreateQuantumTaskCommandInput, CreateQuantumTaskCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a quantum task.</p>
@@ -89,23 +92,5 @@ export interface CreateQuantumTaskCommandOutput extends CreateQuantumTaskRespons
89
92
  * <p>Base exception class for all service exceptions from Braket service.</p>
90
93
  *
91
94
  */
92
- export declare class CreateQuantumTaskCommand extends $Command<CreateQuantumTaskCommandInput, CreateQuantumTaskCommandOutput, BraketClientResolvedConfig> {
93
- readonly input: CreateQuantumTaskCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: CreateQuantumTaskCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateQuantumTaskCommandInput, CreateQuantumTaskCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class CreateQuantumTaskCommand extends CreateQuantumTaskCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { GetDeviceRequest, GetDeviceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetDeviceCommandInput extends GetDeviceRequest {
21
20
  */
22
21
  export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetDeviceCommand_base: {
24
+ new (input: GetDeviceCommandInput): import("@smithy/smithy-client").CommandImpl<GetDeviceCommandInput, GetDeviceCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the devices available in Amazon Braket.</p>
@@ -88,23 +91,5 @@ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBea
88
91
  * <p>Base exception class for all service exceptions from Braket service.</p>
89
92
  *
90
93
  */
91
- export declare class GetDeviceCommand extends $Command<GetDeviceCommandInput, GetDeviceCommandOutput, BraketClientResolvedConfig> {
92
- readonly input: GetDeviceCommandInput;
93
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
- /**
95
- * @public
96
- */
97
- constructor(input: GetDeviceCommandInput);
98
- /**
99
- * @internal
100
- */
101
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeviceCommandInput, GetDeviceCommandOutput>;
102
- /**
103
- * @internal
104
- */
105
- private serialize;
106
- /**
107
- * @internal
108
- */
109
- private deserialize;
94
+ export declare class GetDeviceCommand extends GetDeviceCommand_base {
110
95
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { GetJobRequest, GetJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetJobCommandInput extends GetJobRequest {
21
20
  */
22
21
  export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetJobCommand_base: {
24
+ new (input: GetJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetJobCommandInput, GetJobCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the specified Amazon Braket job.</p>
@@ -142,23 +145,5 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {
142
145
  * <p>Base exception class for all service exceptions from Braket service.</p>
143
146
  *
144
147
  */
145
- export declare class GetJobCommand extends $Command<GetJobCommandInput, GetJobCommandOutput, BraketClientResolvedConfig> {
146
- readonly input: GetJobCommandInput;
147
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
148
- /**
149
- * @public
150
- */
151
- constructor(input: GetJobCommandInput);
152
- /**
153
- * @internal
154
- */
155
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetJobCommandInput, GetJobCommandOutput>;
156
- /**
157
- * @internal
158
- */
159
- private serialize;
160
- /**
161
- * @internal
162
- */
163
- private deserialize;
148
+ export declare class GetJobCommand extends GetJobCommand_base {
164
149
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { GetQuantumTaskRequest, GetQuantumTaskResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetQuantumTaskCommandInput extends GetQuantumTaskRequest {
21
20
  */
22
21
  export interface GetQuantumTaskCommandOutput extends GetQuantumTaskResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetQuantumTaskCommand_base: {
24
+ new (input: GetQuantumTaskCommandInput): import("@smithy/smithy-client").CommandImpl<GetQuantumTaskCommandInput, GetQuantumTaskCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the specified quantum task.</p>
@@ -95,23 +98,5 @@ export interface GetQuantumTaskCommandOutput extends GetQuantumTaskResponse, __M
95
98
  * <p>Base exception class for all service exceptions from Braket service.</p>
96
99
  *
97
100
  */
98
- export declare class GetQuantumTaskCommand extends $Command<GetQuantumTaskCommandInput, GetQuantumTaskCommandOutput, BraketClientResolvedConfig> {
99
- readonly input: GetQuantumTaskCommandInput;
100
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
- /**
102
- * @public
103
- */
104
- constructor(input: GetQuantumTaskCommandInput);
105
- /**
106
- * @internal
107
- */
108
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQuantumTaskCommandInput, GetQuantumTaskCommandOutput>;
109
- /**
110
- * @internal
111
- */
112
- private serialize;
113
- /**
114
- * @internal
115
- */
116
- private deserialize;
101
+ export declare class GetQuantumTaskCommand extends GetQuantumTaskCommand_base {
117
102
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Shows the tags associated with this resource.</p>
@@ -63,23 +66,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
63
66
  * <p>Base exception class for all service exceptions from Braket service.</p>
64
67
  *
65
68
  */
66
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BraketClientResolvedConfig> {
67
- readonly input: ListTagsForResourceCommandInput;
68
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
- /**
70
- * @public
71
- */
72
- constructor(input: ListTagsForResourceCommandInput);
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
77
- /**
78
- * @internal
79
- */
80
- private serialize;
81
- /**
82
- * @internal
83
- */
84
- private deserialize;
69
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
85
70
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { SearchDevicesRequest, SearchDevicesResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SearchDevicesCommandInput extends SearchDevicesRequest {
21
20
  */
22
21
  export interface SearchDevicesCommandOutput extends SearchDevicesResponse, __MetadataBearer {
23
22
  }
23
+ declare const SearchDevicesCommand_base: {
24
+ new (input: SearchDevicesCommandInput): import("@smithy/smithy-client").CommandImpl<SearchDevicesCommandInput, SearchDevicesCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Searches for devices using the specified filters.</p>
@@ -82,23 +85,5 @@ export interface SearchDevicesCommandOutput extends SearchDevicesResponse, __Met
82
85
  * <p>Base exception class for all service exceptions from Braket service.</p>
83
86
  *
84
87
  */
85
- export declare class SearchDevicesCommand extends $Command<SearchDevicesCommandInput, SearchDevicesCommandOutput, BraketClientResolvedConfig> {
86
- readonly input: SearchDevicesCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: SearchDevicesCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchDevicesCommandInput, SearchDevicesCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class SearchDevicesCommand extends SearchDevicesCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { SearchJobsRequest, SearchJobsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SearchJobsCommandInput extends SearchJobsRequest {
21
20
  */
22
21
  export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataBearer {
23
22
  }
23
+ declare const SearchJobsCommand_base: {
24
+ new (input: SearchJobsCommandInput): import("@smithy/smithy-client").CommandImpl<SearchJobsCommandInput, SearchJobsCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Searches for Amazon Braket jobs that match the specified filter values.</p>
@@ -88,23 +91,5 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB
88
91
  * <p>Base exception class for all service exceptions from Braket service.</p>
89
92
  *
90
93
  */
91
- export declare class SearchJobsCommand extends $Command<SearchJobsCommandInput, SearchJobsCommandOutput, BraketClientResolvedConfig> {
92
- readonly input: SearchJobsCommandInput;
93
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
- /**
95
- * @public
96
- */
97
- constructor(input: SearchJobsCommandInput);
98
- /**
99
- * @internal
100
- */
101
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchJobsCommandInput, SearchJobsCommandOutput>;
102
- /**
103
- * @internal
104
- */
105
- private serialize;
106
- /**
107
- * @internal
108
- */
109
- private deserialize;
94
+ export declare class SearchJobsCommand extends SearchJobsCommand_base {
110
95
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BraketClient";
5
4
  import { SearchQuantumTasksRequest, SearchQuantumTasksResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface SearchQuantumTasksCommandInput extends SearchQuantumTasksReques
21
20
  */
22
21
  export interface SearchQuantumTasksCommandOutput extends SearchQuantumTasksResponse, __MetadataBearer {
23
22
  }
23
+ declare const SearchQuantumTasksCommand_base: {
24
+ new (input: SearchQuantumTasksCommandInput): import("@smithy/smithy-client").CommandImpl<SearchQuantumTasksCommandInput, SearchQuantumTasksCommandOutput, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Searches for tasks that match the specified filter values.</p>
@@ -89,23 +92,5 @@ export interface SearchQuantumTasksCommandOutput extends SearchQuantumTasksRespo
89
92
  * <p>Base exception class for all service exceptions from Braket service.</p>
90
93
  *
91
94
  */
92
- export declare class SearchQuantumTasksCommand extends $Command<SearchQuantumTasksCommandInput, SearchQuantumTasksCommandOutput, BraketClientResolvedConfig> {
93
- readonly input: SearchQuantumTasksCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: SearchQuantumTasksCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BraketClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchQuantumTasksCommandInput, SearchQuantumTasksCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class SearchQuantumTasksCommand extends SearchQuantumTasksCommand_base {
111
96
  }