@aws-sdk/client-nova-act 3.943.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 (137) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +333 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1297 -0
  7. package/dist-cjs/runtimeConfig.browser.js +39 -0
  8. package/dist-cjs/runtimeConfig.js +56 -0
  9. package/dist-cjs/runtimeConfig.native.js +15 -0
  10. package/dist-cjs/runtimeConfig.shared.js +36 -0
  11. package/dist-es/NovaAct.js +39 -0
  12. package/dist-es/NovaActClient.js +50 -0
  13. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  14. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  15. package/dist-es/commands/CreateActCommand.js +16 -0
  16. package/dist-es/commands/CreateSessionCommand.js +16 -0
  17. package/dist-es/commands/CreateWorkflowDefinitionCommand.js +16 -0
  18. package/dist-es/commands/CreateWorkflowRunCommand.js +16 -0
  19. package/dist-es/commands/DeleteWorkflowDefinitionCommand.js +16 -0
  20. package/dist-es/commands/DeleteWorkflowRunCommand.js +16 -0
  21. package/dist-es/commands/GetWorkflowDefinitionCommand.js +16 -0
  22. package/dist-es/commands/GetWorkflowRunCommand.js +16 -0
  23. package/dist-es/commands/InvokeActStepCommand.js +16 -0
  24. package/dist-es/commands/ListActsCommand.js +16 -0
  25. package/dist-es/commands/ListModelsCommand.js +16 -0
  26. package/dist-es/commands/ListSessionsCommand.js +16 -0
  27. package/dist-es/commands/ListWorkflowDefinitionsCommand.js +16 -0
  28. package/dist-es/commands/ListWorkflowRunsCommand.js +16 -0
  29. package/dist-es/commands/UpdateActCommand.js +16 -0
  30. package/dist-es/commands/UpdateWorkflowRunCommand.js +16 -0
  31. package/dist-es/commands/index.js +16 -0
  32. package/dist-es/endpoint/EndpointParameters.js +13 -0
  33. package/dist-es/endpoint/endpointResolver.js +14 -0
  34. package/dist-es/endpoint/ruleset.js +4 -0
  35. package/dist-es/extensionConfiguration.js +1 -0
  36. package/dist-es/index.js +7 -0
  37. package/dist-es/models/NovaActServiceException.js +8 -0
  38. package/dist-es/models/enums.js +41 -0
  39. package/dist-es/models/errors.js +119 -0
  40. package/dist-es/models/models_0.js +1 -0
  41. package/dist-es/pagination/Interfaces.js +1 -0
  42. package/dist-es/pagination/ListActsPaginator.js +4 -0
  43. package/dist-es/pagination/ListSessionsPaginator.js +4 -0
  44. package/dist-es/pagination/ListWorkflowDefinitionsPaginator.js +4 -0
  45. package/dist-es/pagination/ListWorkflowRunsPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +5 -0
  47. package/dist-es/runtimeConfig.browser.js +34 -0
  48. package/dist-es/runtimeConfig.js +51 -0
  49. package/dist-es/runtimeConfig.native.js +11 -0
  50. package/dist-es/runtimeConfig.shared.js +32 -0
  51. package/dist-es/runtimeExtensions.js +9 -0
  52. package/dist-es/schemas/schemas_0.js +753 -0
  53. package/dist-types/NovaAct.d.ts +123 -0
  54. package/dist-types/NovaActClient.d.ts +212 -0
  55. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  56. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  57. package/dist-types/commands/CreateActCommand.d.ts +109 -0
  58. package/dist-types/commands/CreateSessionCommand.d.ts +97 -0
  59. package/dist-types/commands/CreateWorkflowDefinitionCommand.d.ts +98 -0
  60. package/dist-types/commands/CreateWorkflowRunCommand.d.ts +100 -0
  61. package/dist-types/commands/DeleteWorkflowDefinitionCommand.d.ts +92 -0
  62. package/dist-types/commands/DeleteWorkflowRunCommand.d.ts +93 -0
  63. package/dist-types/commands/GetWorkflowDefinitionCommand.d.ts +97 -0
  64. package/dist-types/commands/GetWorkflowRunCommand.d.ts +99 -0
  65. package/dist-types/commands/InvokeActStepCommand.d.ts +116 -0
  66. package/dist-types/commands/ListActsCommand.d.ts +111 -0
  67. package/dist-types/commands/ListModelsCommand.d.ts +105 -0
  68. package/dist-types/commands/ListSessionsCommand.d.ts +101 -0
  69. package/dist-types/commands/ListWorkflowDefinitionsCommand.d.ts +96 -0
  70. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +108 -0
  71. package/dist-types/commands/UpdateActCommand.d.ts +98 -0
  72. package/dist-types/commands/UpdateWorkflowRunCommand.d.ts +92 -0
  73. package/dist-types/commands/index.d.ts +16 -0
  74. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  75. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  76. package/dist-types/endpoint/ruleset.d.ts +2 -0
  77. package/dist-types/extensionConfiguration.d.ts +9 -0
  78. package/dist-types/index.d.ts +16 -0
  79. package/dist-types/models/NovaActServiceException.d.ts +14 -0
  80. package/dist-types/models/enums.d.ts +105 -0
  81. package/dist-types/models/errors.d.ts +167 -0
  82. package/dist-types/models/models_0.d.ts +1014 -0
  83. package/dist-types/pagination/Interfaces.d.ts +8 -0
  84. package/dist-types/pagination/ListActsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListWorkflowDefinitionsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
  88. package/dist-types/pagination/index.d.ts +5 -0
  89. package/dist-types/runtimeConfig.browser.d.ts +51 -0
  90. package/dist-types/runtimeConfig.d.ts +51 -0
  91. package/dist-types/runtimeConfig.native.d.ts +50 -0
  92. package/dist-types/runtimeConfig.shared.d.ts +22 -0
  93. package/dist-types/runtimeExtensions.d.ts +17 -0
  94. package/dist-types/schemas/schemas_0.d.ts +93 -0
  95. package/dist-types/ts3.4/NovaAct.d.ts +278 -0
  96. package/dist-types/ts3.4/NovaActClient.d.ts +219 -0
  97. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  98. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  99. package/dist-types/ts3.4/commands/CreateActCommand.d.ts +47 -0
  100. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +50 -0
  101. package/dist-types/ts3.4/commands/CreateWorkflowDefinitionCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/CreateWorkflowRunCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/DeleteWorkflowDefinitionCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/DeleteWorkflowRunCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/GetWorkflowDefinitionCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +50 -0
  107. package/dist-types/ts3.4/commands/InvokeActStepCommand.d.ts +50 -0
  108. package/dist-types/ts3.4/commands/ListActsCommand.d.ts +47 -0
  109. package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +47 -0
  110. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
  111. package/dist-types/ts3.4/commands/ListWorkflowDefinitionsCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +50 -0
  113. package/dist-types/ts3.4/commands/UpdateActCommand.d.ts +47 -0
  114. package/dist-types/ts3.4/commands/UpdateWorkflowRunCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  116. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  117. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  118. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  119. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  120. package/dist-types/ts3.4/index.d.ts +11 -0
  121. package/dist-types/ts3.4/models/NovaActServiceException.d.ts +9 -0
  122. package/dist-types/ts3.4/models/enums.d.ts +54 -0
  123. package/dist-types/ts3.4/models/errors.d.ts +73 -0
  124. package/dist-types/ts3.4/models/models_0.d.ts +275 -0
  125. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  126. package/dist-types/ts3.4/pagination/ListActsPaginator.d.ts +11 -0
  127. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/ListWorkflowDefinitionsPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  131. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
  132. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  133. package/dist-types/ts3.4/runtimeConfig.native.d.ts +100 -0
  134. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +25 -0
  135. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  136. package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
  137. package/package.json +99 -0
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { InvokeActStepRequest, InvokeActStepResponse } from "../models/models_0";
4
+ import { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NovaActClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link InvokeActStepCommand}.
14
+ */
15
+ export interface InvokeActStepCommandInput extends InvokeActStepRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link InvokeActStepCommand}.
21
+ */
22
+ export interface InvokeActStepCommandOutput extends InvokeActStepResponse, __MetadataBearer {
23
+ }
24
+ declare const InvokeActStepCommand_base: {
25
+ new (input: InvokeActStepCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeActStepCommandInput, InvokeActStepCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: InvokeActStepCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeActStepCommandInput, InvokeActStepCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Executes the next step of an act, processing tool call results and returning new tool calls if needed.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, InvokeActStepCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, InvokeActStepCommand } = require("@aws-sdk/client-nova-act"); // CommonJS import
36
+ * // import type { NovaActClientConfig } from "@aws-sdk/client-nova-act";
37
+ * const config = {}; // type is NovaActClientConfig
38
+ * const client = new NovaActClient(config);
39
+ * const input = { // InvokeActStepRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * workflowRunId: "STRING_VALUE", // required
42
+ * sessionId: "STRING_VALUE", // required
43
+ * actId: "STRING_VALUE", // required
44
+ * callResults: [ // CallResults // required
45
+ * { // CallResult
46
+ * callId: "STRING_VALUE",
47
+ * content: [ // CallResultContents // required
48
+ * { // CallResultContent Union: only one key present
49
+ * text: "STRING_VALUE",
50
+ * },
51
+ * ],
52
+ * },
53
+ * ],
54
+ * previousStepId: "STRING_VALUE",
55
+ * };
56
+ * const command = new InvokeActStepCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // InvokeActStepResponse
59
+ * // calls: [ // Calls // required
60
+ * // { // Call
61
+ * // callId: "STRING_VALUE", // required
62
+ * // input: "DOCUMENT_VALUE", // required
63
+ * // name: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
66
+ * // stepId: "STRING_VALUE", // required
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param InvokeActStepCommandInput - {@link InvokeActStepCommandInput}
72
+ * @returns {@link InvokeActStepCommandOutput}
73
+ * @see {@link InvokeActStepCommandInput} for command's `input` shape.
74
+ * @see {@link InvokeActStepCommandOutput} for command's `response` shape.
75
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDeniedException} (client fault)
78
+ * <p>You don't have sufficient permissions to perform this action.</p>
79
+ *
80
+ * @throws {@link ConflictException} (client fault)
81
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
82
+ *
83
+ * @throws {@link InternalServerException} (server fault)
84
+ * <p>An internal server error occurred. Please try again later.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The requested resource was not found.</p>
88
+ *
89
+ * @throws {@link ServiceQuotaExceededException} (client fault)
90
+ * <p>The request would exceed a service quota limit.</p>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>The input parameters for the request are invalid.</p>
97
+ *
98
+ * @throws {@link NovaActServiceException}
99
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
100
+ *
101
+ *
102
+ * @public
103
+ */
104
+ export declare class InvokeActStepCommand extends InvokeActStepCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: InvokeActStepRequest;
109
+ output: InvokeActStepResponse;
110
+ };
111
+ sdk: {
112
+ input: InvokeActStepCommandInput;
113
+ output: InvokeActStepCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListActsRequest, ListActsResponse } from "../models/models_0";
4
+ import { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NovaActClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListActsCommand}.
14
+ */
15
+ export interface ListActsCommandInput extends ListActsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListActsCommand}.
21
+ */
22
+ export interface ListActsCommandOutput extends ListActsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListActsCommand_base: {
25
+ new (input: ListActsCommandInput): import("@smithy/smithy-client").CommandImpl<ListActsCommandInput, ListActsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListActsCommandInput): import("@smithy/smithy-client").CommandImpl<ListActsCommandInput, ListActsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all acts within a specific session with their current status and execution details.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, ListActsCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, ListActsCommand } = require("@aws-sdk/client-nova-act"); // CommonJS import
36
+ * // import type { NovaActClientConfig } from "@aws-sdk/client-nova-act";
37
+ * const config = {}; // type is NovaActClientConfig
38
+ * const client = new NovaActClient(config);
39
+ * const input = { // ListActsRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * workflowRunId: "STRING_VALUE",
42
+ * sessionId: "STRING_VALUE",
43
+ * maxResults: Number("int"),
44
+ * nextToken: "STRING_VALUE",
45
+ * sortOrder: "Ascending" || "Descending",
46
+ * };
47
+ * const command = new ListActsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListActsResponse
50
+ * // actSummaries: [ // ActSummaries // required
51
+ * // { // ActSummary
52
+ * // workflowRunId: "STRING_VALUE", // required
53
+ * // sessionId: "STRING_VALUE", // required
54
+ * // actId: "STRING_VALUE", // required
55
+ * // status: "RUNNING" || "PENDING_CLIENT_ACTION" || "PENDING_HUMAN_ACTION" || "SUCCEEDED" || "FAILED" || "TIMED_OUT", // required
56
+ * // startedAt: new Date("TIMESTAMP"), // required
57
+ * // endedAt: new Date("TIMESTAMP"),
58
+ * // traceLocation: { // TraceLocation
59
+ * // locationType: "S3", // required
60
+ * // location: "STRING_VALUE", // required
61
+ * // },
62
+ * // },
63
+ * // ],
64
+ * // nextToken: "STRING_VALUE",
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param ListActsCommandInput - {@link ListActsCommandInput}
70
+ * @returns {@link ListActsCommandOutput}
71
+ * @see {@link ListActsCommandInput} for command's `input` shape.
72
+ * @see {@link ListActsCommandOutput} for command's `response` shape.
73
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You don't have sufficient permissions to perform this action.</p>
77
+ *
78
+ * @throws {@link ConflictException} (client fault)
79
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * <p>An internal server error occurred. Please try again later.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>The requested resource was not found.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>The input parameters for the request are invalid.</p>
92
+ *
93
+ * @throws {@link NovaActServiceException}
94
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
95
+ *
96
+ *
97
+ * @public
98
+ */
99
+ export declare class ListActsCommand extends ListActsCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: ListActsRequest;
104
+ output: ListActsResponse;
105
+ };
106
+ sdk: {
107
+ input: ListActsCommandInput;
108
+ output: ListActsCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListModelsRequest, ListModelsResponse } from "../models/models_0";
4
+ import { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NovaActClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListModelsCommand}.
14
+ */
15
+ export interface ListModelsCommandInput extends ListModelsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListModelsCommand}.
21
+ */
22
+ export interface ListModelsCommandOutput extends ListModelsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListModelsCommand_base: {
25
+ new (input: ListModelsCommandInput): import("@smithy/smithy-client").CommandImpl<ListModelsCommandInput, ListModelsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListModelsCommandInput): import("@smithy/smithy-client").CommandImpl<ListModelsCommandInput, ListModelsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all available AI models that can be used for workflow execution, including their status and compatibility information.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, ListModelsCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, ListModelsCommand } = require("@aws-sdk/client-nova-act"); // CommonJS import
36
+ * // import type { NovaActClientConfig } from "@aws-sdk/client-nova-act";
37
+ * const config = {}; // type is NovaActClientConfig
38
+ * const client = new NovaActClient(config);
39
+ * const input = { // ListModelsRequest
40
+ * clientCompatibilityVersion: Number("int"), // required
41
+ * };
42
+ * const command = new ListModelsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListModelsResponse
45
+ * // modelSummaries: [ // ModelSummaries // required
46
+ * // { // ModelSummary
47
+ * // modelId: "STRING_VALUE", // required
48
+ * // modelLifecycle: { // ModelLifecycle
49
+ * // status: "ACTIVE" || "LEGACY" || "DEPRECATED" || "PREVIEW", // required
50
+ * // },
51
+ * // minimumCompatibilityVersion: Number("int"), // required
52
+ * // },
53
+ * // ],
54
+ * // modelAliases: [ // ModelAliases // required
55
+ * // { // ModelAlias
56
+ * // aliasName: "STRING_VALUE", // required
57
+ * // latestModelId: "STRING_VALUE", // required
58
+ * // resolvedModelId: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // compatibilityInformation: { // CompatibilityInformation
62
+ * // clientCompatibilityVersion: Number("int"), // required
63
+ * // supportedModelIds: [ // ModelIdList // required
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // message: "STRING_VALUE",
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param ListModelsCommandInput - {@link ListModelsCommandInput}
73
+ * @returns {@link ListModelsCommandOutput}
74
+ * @see {@link ListModelsCommandInput} for command's `input` shape.
75
+ * @see {@link ListModelsCommandOutput} for command's `response` shape.
76
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>You don't have sufficient permissions to perform this action.</p>
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * <p>An internal server error occurred. Please try again later.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
86
+ *
87
+ * @throws {@link NovaActServiceException}
88
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class ListModelsCommand extends ListModelsCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: ListModelsRequest;
98
+ output: ListModelsResponse;
99
+ };
100
+ sdk: {
101
+ input: ListModelsCommandInput;
102
+ output: ListModelsCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
4
+ import { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NovaActClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListSessionsCommand}.
14
+ */
15
+ export interface ListSessionsCommandInput extends ListSessionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSessionsCommand}.
21
+ */
22
+ export interface ListSessionsCommandOutput extends ListSessionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListSessionsCommand_base: {
25
+ new (input: ListSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all sessions within a specific workflow run.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, ListSessionsCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, ListSessionsCommand } = require("@aws-sdk/client-nova-act"); // CommonJS import
36
+ * // import type { NovaActClientConfig } from "@aws-sdk/client-nova-act";
37
+ * const config = {}; // type is NovaActClientConfig
38
+ * const client = new NovaActClient(config);
39
+ * const input = { // ListSessionsRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * workflowRunId: "STRING_VALUE", // required
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * sortOrder: "Ascending" || "Descending",
45
+ * };
46
+ * const command = new ListSessionsCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListSessionsResponse
49
+ * // sessionSummaries: [ // SessionSummaries // required
50
+ * // { // SessionSummary
51
+ * // sessionId: "STRING_VALUE", // required
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListSessionsCommandInput - {@link ListSessionsCommandInput}
60
+ * @returns {@link ListSessionsCommandOutput}
61
+ * @see {@link ListSessionsCommandInput} for command's `input` shape.
62
+ * @see {@link ListSessionsCommandOutput} for command's `response` shape.
63
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have sufficient permissions to perform this action.</p>
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>An internal server error occurred. Please try again later.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The requested resource was not found.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input parameters for the request are invalid.</p>
82
+ *
83
+ * @throws {@link NovaActServiceException}
84
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListSessionsCommand extends ListSessionsCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListSessionsRequest;
94
+ output: ListSessionsResponse;
95
+ };
96
+ sdk: {
97
+ input: ListSessionsCommandInput;
98
+ output: ListSessionsCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListWorkflowDefinitionsRequest, ListWorkflowDefinitionsResponse } from "../models/models_0";
4
+ import { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NovaActClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListWorkflowDefinitionsCommand}.
14
+ */
15
+ export interface ListWorkflowDefinitionsCommandInput extends ListWorkflowDefinitionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWorkflowDefinitionsCommand}.
21
+ */
22
+ export interface ListWorkflowDefinitionsCommandOutput extends ListWorkflowDefinitionsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListWorkflowDefinitionsCommand_base: {
25
+ new (input: ListWorkflowDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowDefinitionsCommandInput, ListWorkflowDefinitionsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListWorkflowDefinitionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListWorkflowDefinitionsCommandInput, ListWorkflowDefinitionsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all workflow definitions in your account with optional filtering and pagination.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, ListWorkflowDefinitionsCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, ListWorkflowDefinitionsCommand } = require("@aws-sdk/client-nova-act"); // CommonJS import
36
+ * // import type { NovaActClientConfig } from "@aws-sdk/client-nova-act";
37
+ * const config = {}; // type is NovaActClientConfig
38
+ * const client = new NovaActClient(config);
39
+ * const input = { // ListWorkflowDefinitionsRequest
40
+ * maxResults: Number("int"),
41
+ * nextToken: "STRING_VALUE",
42
+ * sortOrder: "Ascending" || "Descending",
43
+ * };
44
+ * const command = new ListWorkflowDefinitionsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListWorkflowDefinitionsResponse
47
+ * // workflowDefinitionSummaries: [ // WorkflowDefinitionSummaries // required
48
+ * // { // WorkflowDefinitionSummary
49
+ * // workflowDefinitionArn: "STRING_VALUE", // required
50
+ * // workflowDefinitionName: "STRING_VALUE", // required
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // status: "ACTIVE" || "DELETING", // required
53
+ * // },
54
+ * // ],
55
+ * // nextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListWorkflowDefinitionsCommandInput - {@link ListWorkflowDefinitionsCommandInput}
61
+ * @returns {@link ListWorkflowDefinitionsCommandOutput}
62
+ * @see {@link ListWorkflowDefinitionsCommandInput} for command's `input` shape.
63
+ * @see {@link ListWorkflowDefinitionsCommandOutput} for command's `response` shape.
64
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You don't have sufficient permissions to perform this action.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An internal server error occurred. Please try again later.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input parameters for the request are invalid.</p>
77
+ *
78
+ * @throws {@link NovaActServiceException}
79
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListWorkflowDefinitionsCommand extends ListWorkflowDefinitionsCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListWorkflowDefinitionsRequest;
89
+ output: ListWorkflowDefinitionsResponse;
90
+ };
91
+ sdk: {
92
+ input: ListWorkflowDefinitionsCommandInput;
93
+ output: ListWorkflowDefinitionsCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListWorkflowRunsRequest, ListWorkflowRunsResponse } from "../models/models_0";
4
+ import { NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NovaActClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListWorkflowRunsCommand}.
14
+ */
15
+ export interface ListWorkflowRunsCommandInput extends ListWorkflowRunsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWorkflowRunsCommand}.
21
+ */
22
+ export interface ListWorkflowRunsCommandOutput extends ListWorkflowRunsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListWorkflowRunsCommand_base: {
25
+ new (input: ListWorkflowRunsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListWorkflowRunsCommandInput): import("@smithy/smithy-client").CommandImpl<ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists all workflow runs for a specific workflow definition with optional filtering and pagination.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, ListWorkflowRunsCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, ListWorkflowRunsCommand } = require("@aws-sdk/client-nova-act"); // CommonJS import
36
+ * // import type { NovaActClientConfig } from "@aws-sdk/client-nova-act";
37
+ * const config = {}; // type is NovaActClientConfig
38
+ * const client = new NovaActClient(config);
39
+ * const input = { // ListWorkflowRunsRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * maxResults: Number("int"),
42
+ * nextToken: "STRING_VALUE",
43
+ * sortOrder: "Ascending" || "Descending",
44
+ * };
45
+ * const command = new ListWorkflowRunsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListWorkflowRunsResponse
48
+ * // workflowRunSummaries: [ // WorkflowRunSummaries // required
49
+ * // { // WorkflowRunSummary
50
+ * // workflowRunArn: "STRING_VALUE", // required
51
+ * // workflowRunId: "STRING_VALUE", // required
52
+ * // status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "DELETING", // required
53
+ * // startedAt: new Date("TIMESTAMP"), // required
54
+ * // endedAt: new Date("TIMESTAMP"),
55
+ * // traceLocation: { // TraceLocation
56
+ * // locationType: "S3", // required
57
+ * // location: "STRING_VALUE", // required
58
+ * // },
59
+ * // },
60
+ * // ],
61
+ * // nextToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param ListWorkflowRunsCommandInput - {@link ListWorkflowRunsCommandInput}
67
+ * @returns {@link ListWorkflowRunsCommandOutput}
68
+ * @see {@link ListWorkflowRunsCommandInput} for command's `input` shape.
69
+ * @see {@link ListWorkflowRunsCommandOutput} for command's `response` shape.
70
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>You don't have sufficient permissions to perform this action.</p>
74
+ *
75
+ * @throws {@link ConflictException} (client fault)
76
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>An internal server error occurred. Please try again later.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The requested resource was not found.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>The input parameters for the request are invalid.</p>
89
+ *
90
+ * @throws {@link NovaActServiceException}
91
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class ListWorkflowRunsCommand extends ListWorkflowRunsCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: ListWorkflowRunsRequest;
101
+ output: ListWorkflowRunsResponse;
102
+ };
103
+ sdk: {
104
+ input: ListWorkflowRunsCommandInput;
105
+ output: ListWorkflowRunsCommandOutput;
106
+ };
107
+ };
108
+ }