@aws-sdk/client-braket 3.1077.0 → 3.1079.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 (59) hide show
  1. package/dist-cjs/index.js +25 -173
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelJobCommand.js +2 -14
  4. package/dist-es/commands/CancelQuantumTaskCommand.js +2 -14
  5. package/dist-es/commands/CreateJobCommand.js +2 -14
  6. package/dist-es/commands/CreateQuantumTaskCommand.js +2 -14
  7. package/dist-es/commands/CreateSpendingLimitCommand.js +2 -14
  8. package/dist-es/commands/DeleteSpendingLimitCommand.js +2 -14
  9. package/dist-es/commands/GetDeviceCommand.js +2 -14
  10. package/dist-es/commands/GetJobCommand.js +2 -14
  11. package/dist-es/commands/GetQuantumTaskCommand.js +2 -14
  12. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  13. package/dist-es/commands/SearchDevicesCommand.js +2 -14
  14. package/dist-es/commands/SearchJobsCommand.js +2 -14
  15. package/dist-es/commands/SearchQuantumTasksCommand.js +2 -14
  16. package/dist-es/commands/SearchSpendingLimitsCommand.js +2 -14
  17. package/dist-es/commands/TagResourceCommand.js +2 -14
  18. package/dist-es/commands/UntagResourceCommand.js +2 -14
  19. package/dist-es/commands/UpdateSpendingLimitCommand.js +2 -14
  20. package/dist-es/index.js +1 -0
  21. package/dist-types/commandBuilder.d.ts +18 -0
  22. package/dist-types/commands/CancelJobCommand.d.ts +3 -8
  23. package/dist-types/commands/CancelQuantumTaskCommand.d.ts +3 -8
  24. package/dist-types/commands/CreateJobCommand.d.ts +3 -8
  25. package/dist-types/commands/CreateQuantumTaskCommand.d.ts +3 -8
  26. package/dist-types/commands/CreateSpendingLimitCommand.d.ts +3 -8
  27. package/dist-types/commands/DeleteSpendingLimitCommand.d.ts +3 -8
  28. package/dist-types/commands/GetDeviceCommand.d.ts +3 -8
  29. package/dist-types/commands/GetJobCommand.d.ts +3 -8
  30. package/dist-types/commands/GetQuantumTaskCommand.d.ts +3 -8
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  32. package/dist-types/commands/SearchDevicesCommand.d.ts +3 -8
  33. package/dist-types/commands/SearchJobsCommand.d.ts +3 -8
  34. package/dist-types/commands/SearchQuantumTasksCommand.d.ts +3 -8
  35. package/dist-types/commands/SearchSpendingLimitsCommand.d.ts +3 -8
  36. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  37. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  38. package/dist-types/commands/UpdateSpendingLimitCommand.d.ts +3 -8
  39. package/dist-types/index.d.ts +1 -0
  40. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  41. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/CancelQuantumTaskCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/CreateQuantumTaskCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/CreateSpendingLimitCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/DeleteSpendingLimitCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/GetQuantumTaskCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/SearchDevicesCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/SearchJobsCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/SearchQuantumTasksCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/SearchSpendingLimitsCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/UpdateSpendingLimitCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/index.d.ts +1 -0
  59. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1070,208 +1071,59 @@ class BraketClient extends Client {
1070
1071
  }
1071
1072
  }
1072
1073
 
1073
- class CancelJobCommand extends Command
1074
- .classBuilder()
1075
- .ep(commonParams)
1076
- .m(function (Command, cs, config, o) {
1077
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1078
- })
1079
- .s("Braket", "CancelJob", {})
1080
- .n("BraketClient", "CancelJobCommand")
1081
- .sc(CancelJob$)
1082
- .build() {
1074
+ const command = makeBuilder(commonParams, "Braket", "BraketClient", getEndpointPlugin);
1075
+ const _ep0 = {};
1076
+ const _mw0 = (Command, cs, config, o) => [];
1077
+
1078
+ class CancelJobCommand extends command(_ep0, _mw0, "CancelJob", CancelJob$) {
1083
1079
  }
1084
1080
 
1085
- class CancelQuantumTaskCommand extends Command
1086
- .classBuilder()
1087
- .ep(commonParams)
1088
- .m(function (Command, cs, config, o) {
1089
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1090
- })
1091
- .s("Braket", "CancelQuantumTask", {})
1092
- .n("BraketClient", "CancelQuantumTaskCommand")
1093
- .sc(CancelQuantumTask$)
1094
- .build() {
1081
+ class CancelQuantumTaskCommand extends command(_ep0, _mw0, "CancelQuantumTask", CancelQuantumTask$) {
1095
1082
  }
1096
1083
 
1097
- class CreateJobCommand extends Command
1098
- .classBuilder()
1099
- .ep(commonParams)
1100
- .m(function (Command, cs, config, o) {
1101
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1102
- })
1103
- .s("Braket", "CreateJob", {})
1104
- .n("BraketClient", "CreateJobCommand")
1105
- .sc(CreateJob$)
1106
- .build() {
1084
+ class CreateJobCommand extends command(_ep0, _mw0, "CreateJob", CreateJob$) {
1107
1085
  }
1108
1086
 
1109
- class CreateQuantumTaskCommand extends Command
1110
- .classBuilder()
1111
- .ep(commonParams)
1112
- .m(function (Command, cs, config, o) {
1113
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1114
- })
1115
- .s("Braket", "CreateQuantumTask", {})
1116
- .n("BraketClient", "CreateQuantumTaskCommand")
1117
- .sc(CreateQuantumTask$)
1118
- .build() {
1087
+ class CreateQuantumTaskCommand extends command(_ep0, _mw0, "CreateQuantumTask", CreateQuantumTask$) {
1119
1088
  }
1120
1089
 
1121
- class CreateSpendingLimitCommand extends Command
1122
- .classBuilder()
1123
- .ep(commonParams)
1124
- .m(function (Command, cs, config, o) {
1125
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1126
- })
1127
- .s("Braket", "CreateSpendingLimit", {})
1128
- .n("BraketClient", "CreateSpendingLimitCommand")
1129
- .sc(CreateSpendingLimit$)
1130
- .build() {
1090
+ class CreateSpendingLimitCommand extends command(_ep0, _mw0, "CreateSpendingLimit", CreateSpendingLimit$) {
1131
1091
  }
1132
1092
 
1133
- class DeleteSpendingLimitCommand extends Command
1134
- .classBuilder()
1135
- .ep(commonParams)
1136
- .m(function (Command, cs, config, o) {
1137
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1138
- })
1139
- .s("Braket", "DeleteSpendingLimit", {})
1140
- .n("BraketClient", "DeleteSpendingLimitCommand")
1141
- .sc(DeleteSpendingLimit$)
1142
- .build() {
1093
+ class DeleteSpendingLimitCommand extends command(_ep0, _mw0, "DeleteSpendingLimit", DeleteSpendingLimit$) {
1143
1094
  }
1144
1095
 
1145
- class GetDeviceCommand extends Command
1146
- .classBuilder()
1147
- .ep(commonParams)
1148
- .m(function (Command, cs, config, o) {
1149
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1150
- })
1151
- .s("Braket", "GetDevice", {})
1152
- .n("BraketClient", "GetDeviceCommand")
1153
- .sc(GetDevice$)
1154
- .build() {
1096
+ class GetDeviceCommand extends command(_ep0, _mw0, "GetDevice", GetDevice$) {
1155
1097
  }
1156
1098
 
1157
- class GetJobCommand extends Command
1158
- .classBuilder()
1159
- .ep(commonParams)
1160
- .m(function (Command, cs, config, o) {
1161
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1162
- })
1163
- .s("Braket", "GetJob", {})
1164
- .n("BraketClient", "GetJobCommand")
1165
- .sc(GetJob$)
1166
- .build() {
1099
+ class GetJobCommand extends command(_ep0, _mw0, "GetJob", GetJob$) {
1167
1100
  }
1168
1101
 
1169
- class GetQuantumTaskCommand extends Command
1170
- .classBuilder()
1171
- .ep(commonParams)
1172
- .m(function (Command, cs, config, o) {
1173
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1174
- })
1175
- .s("Braket", "GetQuantumTask", {})
1176
- .n("BraketClient", "GetQuantumTaskCommand")
1177
- .sc(GetQuantumTask$)
1178
- .build() {
1102
+ class GetQuantumTaskCommand extends command(_ep0, _mw0, "GetQuantumTask", GetQuantumTask$) {
1179
1103
  }
1180
1104
 
1181
- class ListTagsForResourceCommand extends Command
1182
- .classBuilder()
1183
- .ep(commonParams)
1184
- .m(function (Command, cs, config, o) {
1185
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1186
- })
1187
- .s("Braket", "ListTagsForResource", {})
1188
- .n("BraketClient", "ListTagsForResourceCommand")
1189
- .sc(ListTagsForResource$)
1190
- .build() {
1105
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1191
1106
  }
1192
1107
 
1193
- class SearchDevicesCommand extends Command
1194
- .classBuilder()
1195
- .ep(commonParams)
1196
- .m(function (Command, cs, config, o) {
1197
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1198
- })
1199
- .s("Braket", "SearchDevices", {})
1200
- .n("BraketClient", "SearchDevicesCommand")
1201
- .sc(SearchDevices$)
1202
- .build() {
1108
+ class SearchDevicesCommand extends command(_ep0, _mw0, "SearchDevices", SearchDevices$) {
1203
1109
  }
1204
1110
 
1205
- class SearchJobsCommand extends Command
1206
- .classBuilder()
1207
- .ep(commonParams)
1208
- .m(function (Command, cs, config, o) {
1209
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1210
- })
1211
- .s("Braket", "SearchJobs", {})
1212
- .n("BraketClient", "SearchJobsCommand")
1213
- .sc(SearchJobs$)
1214
- .build() {
1111
+ class SearchJobsCommand extends command(_ep0, _mw0, "SearchJobs", SearchJobs$) {
1215
1112
  }
1216
1113
 
1217
- class SearchQuantumTasksCommand extends Command
1218
- .classBuilder()
1219
- .ep(commonParams)
1220
- .m(function (Command, cs, config, o) {
1221
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1222
- })
1223
- .s("Braket", "SearchQuantumTasks", {})
1224
- .n("BraketClient", "SearchQuantumTasksCommand")
1225
- .sc(SearchQuantumTasks$)
1226
- .build() {
1114
+ class SearchQuantumTasksCommand extends command(_ep0, _mw0, "SearchQuantumTasks", SearchQuantumTasks$) {
1227
1115
  }
1228
1116
 
1229
- class SearchSpendingLimitsCommand extends Command
1230
- .classBuilder()
1231
- .ep(commonParams)
1232
- .m(function (Command, cs, config, o) {
1233
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1234
- })
1235
- .s("Braket", "SearchSpendingLimits", {})
1236
- .n("BraketClient", "SearchSpendingLimitsCommand")
1237
- .sc(SearchSpendingLimits$)
1238
- .build() {
1117
+ class SearchSpendingLimitsCommand extends command(_ep0, _mw0, "SearchSpendingLimits", SearchSpendingLimits$) {
1239
1118
  }
1240
1119
 
1241
- class TagResourceCommand extends Command
1242
- .classBuilder()
1243
- .ep(commonParams)
1244
- .m(function (Command, cs, config, o) {
1245
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1246
- })
1247
- .s("Braket", "TagResource", {})
1248
- .n("BraketClient", "TagResourceCommand")
1249
- .sc(TagResource$)
1250
- .build() {
1120
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1251
1121
  }
1252
1122
 
1253
- class UntagResourceCommand extends Command
1254
- .classBuilder()
1255
- .ep(commonParams)
1256
- .m(function (Command, cs, config, o) {
1257
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1258
- })
1259
- .s("Braket", "UntagResource", {})
1260
- .n("BraketClient", "UntagResourceCommand")
1261
- .sc(UntagResource$)
1262
- .build() {
1123
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1263
1124
  }
1264
1125
 
1265
- class UpdateSpendingLimitCommand extends Command
1266
- .classBuilder()
1267
- .ep(commonParams)
1268
- .m(function (Command, cs, config, o) {
1269
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1270
- })
1271
- .s("Braket", "UpdateSpendingLimit", {})
1272
- .n("BraketClient", "UpdateSpendingLimitCommand")
1273
- .sc(UpdateSpendingLimit$)
1274
- .build() {
1126
+ class UpdateSpendingLimitCommand extends command(_ep0, _mw0, "UpdateSpendingLimit", UpdateSpendingLimit$) {
1275
1127
  }
1276
1128
 
1277
1129
  const paginateSearchDevices = createPaginator(BraketClient, SearchDevicesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "Braket", "BraketClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "CancelJob", {})
13
- .n("BraketClient", "CancelJobCommand")
14
- .sc(CancelJob$)
15
- .build() {
3
+ export class CancelJobCommand extends command(_ep0, _mw0, "CancelJob", CancelJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelQuantumTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelQuantumTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "CancelQuantumTask", {})
13
- .n("BraketClient", "CancelQuantumTaskCommand")
14
- .sc(CancelQuantumTask$)
15
- .build() {
3
+ export class CancelQuantumTaskCommand extends command(_ep0, _mw0, "CancelQuantumTask", CancelQuantumTask$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "CreateJob", {})
13
- .n("BraketClient", "CreateJobCommand")
14
- .sc(CreateJob$)
15
- .build() {
3
+ export class CreateJobCommand extends command(_ep0, _mw0, "CreateJob", CreateJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateQuantumTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateQuantumTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "CreateQuantumTask", {})
13
- .n("BraketClient", "CreateQuantumTaskCommand")
14
- .sc(CreateQuantumTask$)
15
- .build() {
3
+ export class CreateQuantumTaskCommand extends command(_ep0, _mw0, "CreateQuantumTask", CreateQuantumTask$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateSpendingLimit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSpendingLimitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "CreateSpendingLimit", {})
13
- .n("BraketClient", "CreateSpendingLimitCommand")
14
- .sc(CreateSpendingLimit$)
15
- .build() {
3
+ export class CreateSpendingLimitCommand extends command(_ep0, _mw0, "CreateSpendingLimit", CreateSpendingLimit$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSpendingLimit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSpendingLimitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "DeleteSpendingLimit", {})
13
- .n("BraketClient", "DeleteSpendingLimitCommand")
14
- .sc(DeleteSpendingLimit$)
15
- .build() {
3
+ export class DeleteSpendingLimitCommand extends command(_ep0, _mw0, "DeleteSpendingLimit", DeleteSpendingLimit$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "GetDevice", {})
13
- .n("BraketClient", "GetDeviceCommand")
14
- .sc(GetDevice$)
15
- .build() {
3
+ export class GetDeviceCommand extends command(_ep0, _mw0, "GetDevice", GetDevice$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "GetJob", {})
13
- .n("BraketClient", "GetJobCommand")
14
- .sc(GetJob$)
15
- .build() {
3
+ export class GetJobCommand extends command(_ep0, _mw0, "GetJob", GetJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetQuantumTask$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetQuantumTaskCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "GetQuantumTask", {})
13
- .n("BraketClient", "GetQuantumTaskCommand")
14
- .sc(GetQuantumTask$)
15
- .build() {
3
+ export class GetQuantumTaskCommand extends command(_ep0, _mw0, "GetQuantumTask", GetQuantumTask$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "ListTagsForResource", {})
13
- .n("BraketClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchDevices$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchDevicesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "SearchDevices", {})
13
- .n("BraketClient", "SearchDevicesCommand")
14
- .sc(SearchDevices$)
15
- .build() {
3
+ export class SearchDevicesCommand extends command(_ep0, _mw0, "SearchDevices", SearchDevices$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "SearchJobs", {})
13
- .n("BraketClient", "SearchJobsCommand")
14
- .sc(SearchJobs$)
15
- .build() {
3
+ export class SearchJobsCommand extends command(_ep0, _mw0, "SearchJobs", SearchJobs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchQuantumTasks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchQuantumTasksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "SearchQuantumTasks", {})
13
- .n("BraketClient", "SearchQuantumTasksCommand")
14
- .sc(SearchQuantumTasks$)
15
- .build() {
3
+ export class SearchQuantumTasksCommand extends command(_ep0, _mw0, "SearchQuantumTasks", SearchQuantumTasks$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SearchSpendingLimits$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SearchSpendingLimitsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "SearchSpendingLimits", {})
13
- .n("BraketClient", "SearchSpendingLimitsCommand")
14
- .sc(SearchSpendingLimits$)
15
- .build() {
3
+ export class SearchSpendingLimitsCommand extends command(_ep0, _mw0, "SearchSpendingLimits", SearchSpendingLimits$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "TagResource", {})
13
- .n("BraketClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "UntagResource", {})
13
- .n("BraketClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateSpendingLimit$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSpendingLimitCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Braket", "UpdateSpendingLimit", {})
13
- .n("BraketClient", "UpdateSpendingLimitCommand")
14
- .sc(UpdateSpendingLimit$)
15
- .build() {
3
+ export class UpdateSpendingLimitCommand extends command(_ep0, _mw0, "UpdateSpendingLimit", UpdateSpendingLimit$) {
16
4
  }
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 { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BraketClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BraketClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];