@aws-sdk/client-nova-act 3.1077.0 → 3.1078.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 (56) hide show
  1. package/dist-cjs/index.js +24 -163
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateActCommand.js +2 -14
  4. package/dist-es/commands/CreateSessionCommand.js +2 -14
  5. package/dist-es/commands/CreateWorkflowDefinitionCommand.js +2 -14
  6. package/dist-es/commands/CreateWorkflowRunCommand.js +2 -14
  7. package/dist-es/commands/DeleteWorkflowDefinitionCommand.js +2 -14
  8. package/dist-es/commands/DeleteWorkflowRunCommand.js +2 -14
  9. package/dist-es/commands/GetWorkflowDefinitionCommand.js +2 -14
  10. package/dist-es/commands/GetWorkflowRunCommand.js +2 -14
  11. package/dist-es/commands/InvokeActStepCommand.js +2 -14
  12. package/dist-es/commands/ListActsCommand.js +2 -14
  13. package/dist-es/commands/ListModelsCommand.js +2 -14
  14. package/dist-es/commands/ListSessionsCommand.js +2 -14
  15. package/dist-es/commands/ListWorkflowDefinitionsCommand.js +2 -14
  16. package/dist-es/commands/ListWorkflowRunsCommand.js +2 -14
  17. package/dist-es/commands/UpdateActCommand.js +2 -14
  18. package/dist-es/commands/UpdateWorkflowRunCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-types/commandBuilder.d.ts +18 -0
  21. package/dist-types/commands/CreateActCommand.d.ts +3 -8
  22. package/dist-types/commands/CreateSessionCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateWorkflowDefinitionCommand.d.ts +3 -8
  24. package/dist-types/commands/CreateWorkflowRunCommand.d.ts +3 -8
  25. package/dist-types/commands/DeleteWorkflowDefinitionCommand.d.ts +3 -8
  26. package/dist-types/commands/DeleteWorkflowRunCommand.d.ts +3 -8
  27. package/dist-types/commands/GetWorkflowDefinitionCommand.d.ts +3 -8
  28. package/dist-types/commands/GetWorkflowRunCommand.d.ts +3 -8
  29. package/dist-types/commands/InvokeActStepCommand.d.ts +3 -8
  30. package/dist-types/commands/ListActsCommand.d.ts +3 -8
  31. package/dist-types/commands/ListModelsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
  33. package/dist-types/commands/ListWorkflowDefinitionsCommand.d.ts +3 -8
  34. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +3 -8
  35. package/dist-types/commands/UpdateActCommand.d.ts +3 -8
  36. package/dist-types/commands/UpdateWorkflowRunCommand.d.ts +3 -8
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  39. package/dist-types/ts3.4/commands/CreateActCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/CreateWorkflowDefinitionCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/CreateWorkflowRunCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/DeleteWorkflowDefinitionCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/DeleteWorkflowRunCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/GetWorkflowDefinitionCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/InvokeActStepCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/ListActsCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/ListWorkflowDefinitionsCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/UpdateActCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/UpdateWorkflowRunCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -955,196 +956,56 @@ class NovaActClient extends Client {
955
956
  }
956
957
  }
957
958
 
958
- class CreateActCommand extends Command
959
- .classBuilder()
960
- .ep(commonParams)
961
- .m(function (Command, cs, config, o) {
962
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
963
- })
964
- .s("AmazonNovaAgentsDataPlane", "CreateAct", {})
965
- .n("NovaActClient", "CreateActCommand")
966
- .sc(CreateAct$)
967
- .build() {
959
+ const command = makeBuilder(commonParams, "AmazonNovaAgentsDataPlane", "NovaActClient", getEndpointPlugin);
960
+ const _ep0 = {};
961
+ const _mw0 = (Command, cs, config, o) => [];
962
+
963
+ class CreateActCommand extends command(_ep0, _mw0, "CreateAct", CreateAct$) {
968
964
  }
969
965
 
970
- class CreateSessionCommand extends Command
971
- .classBuilder()
972
- .ep(commonParams)
973
- .m(function (Command, cs, config, o) {
974
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
975
- })
976
- .s("AmazonNovaAgentsDataPlane", "CreateSession", {})
977
- .n("NovaActClient", "CreateSessionCommand")
978
- .sc(CreateSession$)
979
- .build() {
966
+ class CreateSessionCommand extends command(_ep0, _mw0, "CreateSession", CreateSession$) {
980
967
  }
981
968
 
982
- class CreateWorkflowDefinitionCommand extends Command
983
- .classBuilder()
984
- .ep(commonParams)
985
- .m(function (Command, cs, config, o) {
986
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
987
- })
988
- .s("AmazonNovaAgentsDataPlane", "CreateWorkflowDefinition", {})
989
- .n("NovaActClient", "CreateWorkflowDefinitionCommand")
990
- .sc(CreateWorkflowDefinition$)
991
- .build() {
969
+ class CreateWorkflowDefinitionCommand extends command(_ep0, _mw0, "CreateWorkflowDefinition", CreateWorkflowDefinition$) {
992
970
  }
993
971
 
994
- class CreateWorkflowRunCommand extends Command
995
- .classBuilder()
996
- .ep(commonParams)
997
- .m(function (Command, cs, config, o) {
998
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
999
- })
1000
- .s("AmazonNovaAgentsDataPlane", "CreateWorkflowRun", {})
1001
- .n("NovaActClient", "CreateWorkflowRunCommand")
1002
- .sc(CreateWorkflowRun$)
1003
- .build() {
972
+ class CreateWorkflowRunCommand extends command(_ep0, _mw0, "CreateWorkflowRun", CreateWorkflowRun$) {
1004
973
  }
1005
974
 
1006
- class DeleteWorkflowDefinitionCommand extends Command
1007
- .classBuilder()
1008
- .ep(commonParams)
1009
- .m(function (Command, cs, config, o) {
1010
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1011
- })
1012
- .s("AmazonNovaAgentsDataPlane", "DeleteWorkflowDefinition", {})
1013
- .n("NovaActClient", "DeleteWorkflowDefinitionCommand")
1014
- .sc(DeleteWorkflowDefinition$)
1015
- .build() {
975
+ class DeleteWorkflowDefinitionCommand extends command(_ep0, _mw0, "DeleteWorkflowDefinition", DeleteWorkflowDefinition$) {
1016
976
  }
1017
977
 
1018
- class DeleteWorkflowRunCommand extends Command
1019
- .classBuilder()
1020
- .ep(commonParams)
1021
- .m(function (Command, cs, config, o) {
1022
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1023
- })
1024
- .s("AmazonNovaAgentsDataPlane", "DeleteWorkflowRun", {})
1025
- .n("NovaActClient", "DeleteWorkflowRunCommand")
1026
- .sc(DeleteWorkflowRun$)
1027
- .build() {
978
+ class DeleteWorkflowRunCommand extends command(_ep0, _mw0, "DeleteWorkflowRun", DeleteWorkflowRun$) {
1028
979
  }
1029
980
 
1030
- class GetWorkflowDefinitionCommand extends Command
1031
- .classBuilder()
1032
- .ep(commonParams)
1033
- .m(function (Command, cs, config, o) {
1034
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1035
- })
1036
- .s("AmazonNovaAgentsDataPlane", "GetWorkflowDefinition", {})
1037
- .n("NovaActClient", "GetWorkflowDefinitionCommand")
1038
- .sc(GetWorkflowDefinition$)
1039
- .build() {
981
+ class GetWorkflowDefinitionCommand extends command(_ep0, _mw0, "GetWorkflowDefinition", GetWorkflowDefinition$) {
1040
982
  }
1041
983
 
1042
- class GetWorkflowRunCommand extends Command
1043
- .classBuilder()
1044
- .ep(commonParams)
1045
- .m(function (Command, cs, config, o) {
1046
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1047
- })
1048
- .s("AmazonNovaAgentsDataPlane", "GetWorkflowRun", {})
1049
- .n("NovaActClient", "GetWorkflowRunCommand")
1050
- .sc(GetWorkflowRun$)
1051
- .build() {
984
+ class GetWorkflowRunCommand extends command(_ep0, _mw0, "GetWorkflowRun", GetWorkflowRun$) {
1052
985
  }
1053
986
 
1054
- class InvokeActStepCommand extends Command
1055
- .classBuilder()
1056
- .ep(commonParams)
1057
- .m(function (Command, cs, config, o) {
1058
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1059
- })
1060
- .s("AmazonNovaAgentsDataPlane", "InvokeActStep", {})
1061
- .n("NovaActClient", "InvokeActStepCommand")
1062
- .sc(InvokeActStep$)
1063
- .build() {
987
+ class InvokeActStepCommand extends command(_ep0, _mw0, "InvokeActStep", InvokeActStep$) {
1064
988
  }
1065
989
 
1066
- class ListActsCommand extends Command
1067
- .classBuilder()
1068
- .ep(commonParams)
1069
- .m(function (Command, cs, config, o) {
1070
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1071
- })
1072
- .s("AmazonNovaAgentsDataPlane", "ListActs", {})
1073
- .n("NovaActClient", "ListActsCommand")
1074
- .sc(ListActs$)
1075
- .build() {
990
+ class ListActsCommand extends command(_ep0, _mw0, "ListActs", ListActs$) {
1076
991
  }
1077
992
 
1078
- class ListModelsCommand extends Command
1079
- .classBuilder()
1080
- .ep(commonParams)
1081
- .m(function (Command, cs, config, o) {
1082
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1083
- })
1084
- .s("AmazonNovaAgentsDataPlane", "ListModels", {})
1085
- .n("NovaActClient", "ListModelsCommand")
1086
- .sc(ListModels$)
1087
- .build() {
993
+ class ListModelsCommand extends command(_ep0, _mw0, "ListModels", ListModels$) {
1088
994
  }
1089
995
 
1090
- class ListSessionsCommand extends Command
1091
- .classBuilder()
1092
- .ep(commonParams)
1093
- .m(function (Command, cs, config, o) {
1094
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1095
- })
1096
- .s("AmazonNovaAgentsDataPlane", "ListSessions", {})
1097
- .n("NovaActClient", "ListSessionsCommand")
1098
- .sc(ListSessions$)
1099
- .build() {
996
+ class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
1100
997
  }
1101
998
 
1102
- class ListWorkflowDefinitionsCommand extends Command
1103
- .classBuilder()
1104
- .ep(commonParams)
1105
- .m(function (Command, cs, config, o) {
1106
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1107
- })
1108
- .s("AmazonNovaAgentsDataPlane", "ListWorkflowDefinitions", {})
1109
- .n("NovaActClient", "ListWorkflowDefinitionsCommand")
1110
- .sc(ListWorkflowDefinitions$)
1111
- .build() {
999
+ class ListWorkflowDefinitionsCommand extends command(_ep0, _mw0, "ListWorkflowDefinitions", ListWorkflowDefinitions$) {
1112
1000
  }
1113
1001
 
1114
- class ListWorkflowRunsCommand extends Command
1115
- .classBuilder()
1116
- .ep(commonParams)
1117
- .m(function (Command, cs, config, o) {
1118
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1119
- })
1120
- .s("AmazonNovaAgentsDataPlane", "ListWorkflowRuns", {})
1121
- .n("NovaActClient", "ListWorkflowRunsCommand")
1122
- .sc(ListWorkflowRuns$)
1123
- .build() {
1002
+ class ListWorkflowRunsCommand extends command(_ep0, _mw0, "ListWorkflowRuns", ListWorkflowRuns$) {
1124
1003
  }
1125
1004
 
1126
- class UpdateActCommand extends Command
1127
- .classBuilder()
1128
- .ep(commonParams)
1129
- .m(function (Command, cs, config, o) {
1130
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1131
- })
1132
- .s("AmazonNovaAgentsDataPlane", "UpdateAct", {})
1133
- .n("NovaActClient", "UpdateActCommand")
1134
- .sc(UpdateAct$)
1135
- .build() {
1005
+ class UpdateActCommand extends command(_ep0, _mw0, "UpdateAct", UpdateAct$) {
1136
1006
  }
1137
1007
 
1138
- class UpdateWorkflowRunCommand extends Command
1139
- .classBuilder()
1140
- .ep(commonParams)
1141
- .m(function (Command, cs, config, o) {
1142
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1143
- })
1144
- .s("AmazonNovaAgentsDataPlane", "UpdateWorkflowRun", {})
1145
- .n("NovaActClient", "UpdateWorkflowRunCommand")
1146
- .sc(UpdateWorkflowRun$)
1147
- .build() {
1008
+ class UpdateWorkflowRunCommand extends command(_ep0, _mw0, "UpdateWorkflowRun", UpdateWorkflowRun$) {
1148
1009
  }
1149
1010
 
1150
1011
  const paginateListActs = createPaginator(NovaActClient, ListActsCommand, "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, "AmazonNovaAgentsDataPlane", "NovaActClient", 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 { CreateAct$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateActCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "CreateAct", {})
13
- .n("NovaActClient", "CreateActCommand")
14
- .sc(CreateAct$)
15
- .build() {
3
+ export class CreateActCommand extends command(_ep0, _mw0, "CreateAct", CreateAct$) {
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 { CreateSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "CreateSession", {})
13
- .n("NovaActClient", "CreateSessionCommand")
14
- .sc(CreateSession$)
15
- .build() {
3
+ export class CreateSessionCommand extends command(_ep0, _mw0, "CreateSession", CreateSession$) {
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 { CreateWorkflowDefinition$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWorkflowDefinitionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "CreateWorkflowDefinition", {})
13
- .n("NovaActClient", "CreateWorkflowDefinitionCommand")
14
- .sc(CreateWorkflowDefinition$)
15
- .build() {
3
+ export class CreateWorkflowDefinitionCommand extends command(_ep0, _mw0, "CreateWorkflowDefinition", CreateWorkflowDefinition$) {
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 { CreateWorkflowRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWorkflowRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "CreateWorkflowRun", {})
13
- .n("NovaActClient", "CreateWorkflowRunCommand")
14
- .sc(CreateWorkflowRun$)
15
- .build() {
3
+ export class CreateWorkflowRunCommand extends command(_ep0, _mw0, "CreateWorkflowRun", CreateWorkflowRun$) {
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 { DeleteWorkflowDefinition$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWorkflowDefinitionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "DeleteWorkflowDefinition", {})
13
- .n("NovaActClient", "DeleteWorkflowDefinitionCommand")
14
- .sc(DeleteWorkflowDefinition$)
15
- .build() {
3
+ export class DeleteWorkflowDefinitionCommand extends command(_ep0, _mw0, "DeleteWorkflowDefinition", DeleteWorkflowDefinition$) {
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 { DeleteWorkflowRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWorkflowRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "DeleteWorkflowRun", {})
13
- .n("NovaActClient", "DeleteWorkflowRunCommand")
14
- .sc(DeleteWorkflowRun$)
15
- .build() {
3
+ export class DeleteWorkflowRunCommand extends command(_ep0, _mw0, "DeleteWorkflowRun", DeleteWorkflowRun$) {
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 { GetWorkflowDefinition$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetWorkflowDefinitionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "GetWorkflowDefinition", {})
13
- .n("NovaActClient", "GetWorkflowDefinitionCommand")
14
- .sc(GetWorkflowDefinition$)
15
- .build() {
3
+ export class GetWorkflowDefinitionCommand extends command(_ep0, _mw0, "GetWorkflowDefinition", GetWorkflowDefinition$) {
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 { GetWorkflowRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetWorkflowRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "GetWorkflowRun", {})
13
- .n("NovaActClient", "GetWorkflowRunCommand")
14
- .sc(GetWorkflowRun$)
15
- .build() {
3
+ export class GetWorkflowRunCommand extends command(_ep0, _mw0, "GetWorkflowRun", GetWorkflowRun$) {
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 { InvokeActStep$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InvokeActStepCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "InvokeActStep", {})
13
- .n("NovaActClient", "InvokeActStepCommand")
14
- .sc(InvokeActStep$)
15
- .build() {
3
+ export class InvokeActStepCommand extends command(_ep0, _mw0, "InvokeActStep", InvokeActStep$) {
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 { ListActs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListActsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "ListActs", {})
13
- .n("NovaActClient", "ListActsCommand")
14
- .sc(ListActs$)
15
- .build() {
3
+ export class ListActsCommand extends command(_ep0, _mw0, "ListActs", ListActs$) {
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 { ListModels$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListModelsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "ListModels", {})
13
- .n("NovaActClient", "ListModelsCommand")
14
- .sc(ListModels$)
15
- .build() {
3
+ export class ListModelsCommand extends command(_ep0, _mw0, "ListModels", ListModels$) {
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 { ListSessions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSessionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "ListSessions", {})
13
- .n("NovaActClient", "ListSessionsCommand")
14
- .sc(ListSessions$)
15
- .build() {
3
+ export class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
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 { ListWorkflowDefinitions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListWorkflowDefinitionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "ListWorkflowDefinitions", {})
13
- .n("NovaActClient", "ListWorkflowDefinitionsCommand")
14
- .sc(ListWorkflowDefinitions$)
15
- .build() {
3
+ export class ListWorkflowDefinitionsCommand extends command(_ep0, _mw0, "ListWorkflowDefinitions", ListWorkflowDefinitions$) {
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 { ListWorkflowRuns$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListWorkflowRunsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "ListWorkflowRuns", {})
13
- .n("NovaActClient", "ListWorkflowRunsCommand")
14
- .sc(ListWorkflowRuns$)
15
- .build() {
3
+ export class ListWorkflowRunsCommand extends command(_ep0, _mw0, "ListWorkflowRuns", ListWorkflowRuns$) {
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 { UpdateAct$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateActCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "UpdateAct", {})
13
- .n("NovaActClient", "UpdateActCommand")
14
- .sc(UpdateAct$)
15
- .build() {
3
+ export class UpdateActCommand extends command(_ep0, _mw0, "UpdateAct", UpdateAct$) {
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 { UpdateWorkflowRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateWorkflowRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmazonNovaAgentsDataPlane", "UpdateWorkflowRun", {})
13
- .n("NovaActClient", "UpdateWorkflowRunCommand")
14
- .sc(UpdateWorkflowRun$)
15
- .build() {
3
+ export class UpdateWorkflowRunCommand extends command(_ep0, _mw0, "UpdateWorkflowRun", UpdateWorkflowRun$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./NovaActClient";
2
2
  export * from "./NovaAct";
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 { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./NovaActClient";
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, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, NovaActClientResolvedConfig, 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[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateActRequest, CreateActResponse } from "../models/models_0";
4
- import type { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NovaActClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateActCommandInput extends CreateActRequest {
22
19
  export interface CreateActCommandOutput extends CreateActResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateActCommand_base: {
25
- new (input: CreateActCommandInput): import("@smithy/core/client").CommandImpl<CreateActCommandInput, CreateActCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateActCommandInput): import("@smithy/core/client").CommandImpl<CreateActCommandInput, CreateActCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateActCommandInput): import("@smithy/core/client").CommandImpl<CreateActCommandInput, CreateActCommandOutput, import("..").NovaActClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateActCommandInput): import("@smithy/core/client").CommandImpl<CreateActCommandInput, CreateActCommandOutput, import("..").NovaActClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new AI task (act) within a session that can interact with tools and perform specific actions.</p>