@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
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CancelJobCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "CancelJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "CancelJob",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CancelJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CancelJobCommand)(output, context);
49
- }
10
+ class CancelJobCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "CancelJob", {})
22
+ .n("BraketClient", "CancelJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CancelJobCommand)
25
+ .de(Aws_restJson1_1.de_CancelJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CancelJobCommand = CancelJobCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CancelQuantumTaskCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelQuantumTaskCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "CancelQuantumTaskCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "CancelQuantumTask",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CancelQuantumTaskCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CancelQuantumTaskCommand)(output, context);
49
- }
10
+ class CancelQuantumTaskCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "CancelQuantumTask", {})
22
+ .n("BraketClient", "CancelQuantumTaskCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CancelQuantumTaskCommand)
25
+ .de(Aws_restJson1_1.de_CancelQuantumTaskCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CancelQuantumTaskCommand = CancelQuantumTaskCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateJobCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "CreateJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "CreateJob",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateJobCommand)(output, context);
49
- }
10
+ class CreateJobCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "CreateJob", {})
22
+ .n("BraketClient", "CreateJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateJobCommand)
25
+ .de(Aws_restJson1_1.de_CreateJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateJobCommand = CreateJobCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateQuantumTaskCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateQuantumTaskCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "CreateQuantumTaskCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "CreateQuantumTask",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateQuantumTaskCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateQuantumTaskCommand)(output, context);
49
- }
10
+ class CreateQuantumTaskCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "CreateQuantumTask", {})
22
+ .n("BraketClient", "CreateQuantumTaskCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateQuantumTaskCommand)
25
+ .de(Aws_restJson1_1.de_CreateQuantumTaskCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateQuantumTaskCommand = CreateQuantumTaskCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetDeviceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDeviceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "GetDeviceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "GetDevice",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetDeviceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetDeviceCommand)(output, context);
49
- }
10
+ class GetDeviceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "GetDevice", {})
22
+ .n("BraketClient", "GetDeviceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetDeviceCommand)
25
+ .de(Aws_restJson1_1.de_GetDeviceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetDeviceCommand = GetDeviceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetJobCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetJobCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "GetJobCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "GetJob",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetJobCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetJobCommand)(output, context);
49
- }
10
+ class GetJobCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "GetJob", {})
22
+ .n("BraketClient", "GetJobCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetJobCommand)
25
+ .de(Aws_restJson1_1.de_GetJobCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetJobCommand = GetJobCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class GetQuantumTaskCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetQuantumTaskCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "GetQuantumTaskCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "GetQuantumTask",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_GetQuantumTaskCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_GetQuantumTaskCommand)(output, context);
49
- }
10
+ class GetQuantumTaskCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "GetQuantumTask", {})
22
+ .n("BraketClient", "GetQuantumTaskCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_GetQuantumTaskCommand)
25
+ .de(Aws_restJson1_1.de_GetQuantumTaskCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetQuantumTaskCommand = GetQuantumTaskCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class ListTagsForResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "ListTagsForResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "ListTagsForResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_ListTagsForResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_ListTagsForResourceCommand)(output, context);
49
- }
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "ListTagsForResource", {})
22
+ .n("BraketClient", "ListTagsForResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_ListTagsForResourceCommand)
25
+ .de(Aws_restJson1_1.de_ListTagsForResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class SearchDevicesCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchDevicesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "BraketClient";
29
- const commandName = "SearchDevicesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Braket",
38
- operation: "SearchDevices",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_SearchDevicesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_SearchDevicesCommand)(output, context);
49
- }
10
+ class SearchDevicesCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Braket", "SearchDevices", {})
22
+ .n("BraketClient", "SearchDevicesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_SearchDevicesCommand)
25
+ .de(Aws_restJson1_1.de_SearchDevicesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.SearchDevicesCommand = SearchDevicesCommand;