@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.
- package/LICENSE +201 -0
- package/README.md +333 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1297 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +36 -0
- package/dist-es/NovaAct.js +39 -0
- package/dist-es/NovaActClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateActCommand.js +16 -0
- package/dist-es/commands/CreateSessionCommand.js +16 -0
- package/dist-es/commands/CreateWorkflowDefinitionCommand.js +16 -0
- package/dist-es/commands/CreateWorkflowRunCommand.js +16 -0
- package/dist-es/commands/DeleteWorkflowDefinitionCommand.js +16 -0
- package/dist-es/commands/DeleteWorkflowRunCommand.js +16 -0
- package/dist-es/commands/GetWorkflowDefinitionCommand.js +16 -0
- package/dist-es/commands/GetWorkflowRunCommand.js +16 -0
- package/dist-es/commands/InvokeActStepCommand.js +16 -0
- package/dist-es/commands/ListActsCommand.js +16 -0
- package/dist-es/commands/ListModelsCommand.js +16 -0
- package/dist-es/commands/ListSessionsCommand.js +16 -0
- package/dist-es/commands/ListWorkflowDefinitionsCommand.js +16 -0
- package/dist-es/commands/ListWorkflowRunsCommand.js +16 -0
- package/dist-es/commands/UpdateActCommand.js +16 -0
- package/dist-es/commands/UpdateWorkflowRunCommand.js +16 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/NovaActServiceException.js +8 -0
- package/dist-es/models/enums.js +41 -0
- package/dist-es/models/errors.js +119 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListActsPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkflowDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/ListWorkflowRunsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +32 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +753 -0
- package/dist-types/NovaAct.d.ts +123 -0
- package/dist-types/NovaActClient.d.ts +212 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateActCommand.d.ts +109 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkflowDefinitionCommand.d.ts +98 -0
- package/dist-types/commands/CreateWorkflowRunCommand.d.ts +100 -0
- package/dist-types/commands/DeleteWorkflowDefinitionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteWorkflowRunCommand.d.ts +93 -0
- package/dist-types/commands/GetWorkflowDefinitionCommand.d.ts +97 -0
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +99 -0
- package/dist-types/commands/InvokeActStepCommand.d.ts +116 -0
- package/dist-types/commands/ListActsCommand.d.ts +111 -0
- package/dist-types/commands/ListModelsCommand.d.ts +105 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +101 -0
- package/dist-types/commands/ListWorkflowDefinitionsCommand.d.ts +96 -0
- package/dist-types/commands/ListWorkflowRunsCommand.d.ts +108 -0
- package/dist-types/commands/UpdateActCommand.d.ts +98 -0
- package/dist-types/commands/UpdateWorkflowRunCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/NovaActServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +105 -0
- package/dist-types/models/errors.d.ts +167 -0
- package/dist-types/models/models_0.d.ts +1014 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListActsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +51 -0
- package/dist-types/runtimeConfig.d.ts +51 -0
- package/dist-types/runtimeConfig.native.d.ts +50 -0
- package/dist-types/runtimeConfig.shared.d.ts +22 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +93 -0
- package/dist-types/ts3.4/NovaAct.d.ts +278 -0
- package/dist-types/ts3.4/NovaActClient.d.ts +219 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateActCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateWorkflowDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkflowRunCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowRunCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkflowDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/InvokeActStepCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListActsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListWorkflowDefinitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateActCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateWorkflowRunCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/models/NovaActServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +54 -0
- package/dist-types/ts3.4/models/errors.d.ts +73 -0
- package/dist-types/ts3.4/models/models_0.d.ts +275 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListActsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +25 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
- package/package.json +99 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateActRequest, UpdateActResponse } 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 UpdateActCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateActCommandInput extends UpdateActRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateActCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateActCommandOutput extends UpdateActResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateActCommand_base: {
|
|
25
|
+
new (input: UpdateActCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateActCommandInput, UpdateActCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateActCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateActCommandInput, UpdateActCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing act's configuration, status, or error 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, UpdateActCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
|
|
35
|
+
* // const { NovaActClient, UpdateActCommand } = 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 = { // UpdateActRequest
|
|
40
|
+
* workflowDefinitionName: "STRING_VALUE", // required
|
|
41
|
+
* workflowRunId: "STRING_VALUE", // required
|
|
42
|
+
* sessionId: "STRING_VALUE", // required
|
|
43
|
+
* actId: "STRING_VALUE", // required
|
|
44
|
+
* status: "RUNNING" || "PENDING_CLIENT_ACTION" || "PENDING_HUMAN_ACTION" || "SUCCEEDED" || "FAILED" || "TIMED_OUT", // required
|
|
45
|
+
* error: { // ActError
|
|
46
|
+
* message: "STRING_VALUE", // required
|
|
47
|
+
* type: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateActCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param UpdateActCommandInput - {@link UpdateActCommandInput}
|
|
57
|
+
* @returns {@link UpdateActCommandOutput}
|
|
58
|
+
* @see {@link UpdateActCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link UpdateActCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ConflictException} (client fault)
|
|
66
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>An internal server error occurred. Please try again later.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The requested resource was not found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request was throttled due to too many requests. Please try again later.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input parameters for the request are invalid.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link NovaActServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from NovaAct service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class UpdateActCommand extends UpdateActCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: UpdateActRequest;
|
|
91
|
+
output: {};
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: UpdateActCommandInput;
|
|
95
|
+
output: UpdateActCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateWorkflowRunRequest, UpdateWorkflowRunResponse } 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 UpdateWorkflowRunCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateWorkflowRunCommandInput extends UpdateWorkflowRunRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateWorkflowRunCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateWorkflowRunCommandOutput extends UpdateWorkflowRunResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateWorkflowRunCommand_base: {
|
|
25
|
+
new (input: UpdateWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkflowRunCommandInput, UpdateWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateWorkflowRunCommandInput, UpdateWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration or state of an active 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, UpdateWorkflowRunCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
|
|
35
|
+
* // const { NovaActClient, UpdateWorkflowRunCommand } = 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 = { // UpdateWorkflowRunRequest
|
|
40
|
+
* workflowDefinitionName: "STRING_VALUE", // required
|
|
41
|
+
* workflowRunId: "STRING_VALUE", // required
|
|
42
|
+
* status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "DELETING", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UpdateWorkflowRunCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param UpdateWorkflowRunCommandInput - {@link UpdateWorkflowRunCommandInput}
|
|
51
|
+
* @returns {@link UpdateWorkflowRunCommandOutput}
|
|
52
|
+
* @see {@link UpdateWorkflowRunCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link UpdateWorkflowRunCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>An internal server error occurred. Please try again later.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The requested resource was not found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was throttled due to too many requests. Please try again later.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The input parameters for the request are invalid.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NovaActServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from NovaAct service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class UpdateWorkflowRunCommand extends UpdateWorkflowRunCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: UpdateWorkflowRunRequest;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: UpdateWorkflowRunCommandInput;
|
|
89
|
+
output: UpdateWorkflowRunCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./CreateActCommand";
|
|
2
|
+
export * from "./CreateSessionCommand";
|
|
3
|
+
export * from "./CreateWorkflowDefinitionCommand";
|
|
4
|
+
export * from "./CreateWorkflowRunCommand";
|
|
5
|
+
export * from "./DeleteWorkflowDefinitionCommand";
|
|
6
|
+
export * from "./DeleteWorkflowRunCommand";
|
|
7
|
+
export * from "./GetWorkflowDefinitionCommand";
|
|
8
|
+
export * from "./GetWorkflowRunCommand";
|
|
9
|
+
export * from "./InvokeActStepCommand";
|
|
10
|
+
export * from "./ListActsCommand";
|
|
11
|
+
export * from "./ListModelsCommand";
|
|
12
|
+
export * from "./ListSessionsCommand";
|
|
13
|
+
export * from "./ListWorkflowDefinitionsCommand";
|
|
14
|
+
export * from "./ListWorkflowRunsCommand";
|
|
15
|
+
export * from "./UpdateActCommand";
|
|
16
|
+
export * from "./UpdateWorkflowRunCommand";
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
8
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
15
|
+
export declare const commonParams: {
|
|
16
|
+
readonly UseFIPS: {
|
|
17
|
+
readonly type: "builtInParams";
|
|
18
|
+
readonly name: "useFipsEndpoint";
|
|
19
|
+
};
|
|
20
|
+
readonly Endpoint: {
|
|
21
|
+
readonly type: "builtInParams";
|
|
22
|
+
readonly name: "endpoint";
|
|
23
|
+
};
|
|
24
|
+
readonly Region: {
|
|
25
|
+
readonly type: "builtInParams";
|
|
26
|
+
readonly name: "region";
|
|
27
|
+
};
|
|
28
|
+
readonly UseDualStack: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useDualstackEndpoint";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
34
|
+
UseDualStack?: boolean | undefined;
|
|
35
|
+
UseFIPS?: boolean | undefined;
|
|
36
|
+
Endpoint?: string | undefined;
|
|
37
|
+
Region?: string | undefined;
|
|
38
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface NovaActExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>The Nova Act service provides a REST API for managing AI-powered workflow automation. It enables users to create workflow definitions, execute workflow runs, manage sessions, and orchestrate acts (individual AI tasks) with tool integrations.</p>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./NovaActClient";
|
|
7
|
+
export * from "./NovaAct";
|
|
8
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { NovaActExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export * from "./pagination";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
16
|
+
export { NovaActServiceException } from "./models/NovaActServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from NovaAct service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class NovaActServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActStatus: {
|
|
6
|
+
readonly FAILED: "FAILED";
|
|
7
|
+
readonly PENDING_CLIENT_ACTION: "PENDING_CLIENT_ACTION";
|
|
8
|
+
readonly PENDING_HUMAN_ACTION: "PENDING_HUMAN_ACTION";
|
|
9
|
+
readonly RUNNING: "RUNNING";
|
|
10
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
11
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ActStatus = (typeof ActStatus)[keyof typeof ActStatus];
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
* @enum
|
|
20
|
+
*/
|
|
21
|
+
export declare const InternalServerExceptionReason: {
|
|
22
|
+
readonly INVALID_MODEL_GENERATION: "InvalidModelGeneration";
|
|
23
|
+
readonly TOKEN_LIMIT_EXCEEDED: "RequestTokenLimitExceeded";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type InternalServerExceptionReason = (typeof InternalServerExceptionReason)[keyof typeof InternalServerExceptionReason];
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* @enum
|
|
32
|
+
*/
|
|
33
|
+
export declare const ValidationExceptionReason: {
|
|
34
|
+
readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
|
|
35
|
+
readonly GUARDRAIL_INTERVENED: "GuardrailIntervened";
|
|
36
|
+
readonly INVALID_STATUS: "InvalidStatus";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
42
|
+
/**
|
|
43
|
+
* @public
|
|
44
|
+
* @enum
|
|
45
|
+
*/
|
|
46
|
+
export declare const SortOrder: {
|
|
47
|
+
readonly ASC: "Ascending";
|
|
48
|
+
readonly DESC: "Descending";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* @enum
|
|
57
|
+
*/
|
|
58
|
+
export declare const TraceLocationType: {
|
|
59
|
+
readonly S3: "S3";
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export type TraceLocationType = (typeof TraceLocationType)[keyof typeof TraceLocationType];
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
* @enum
|
|
68
|
+
*/
|
|
69
|
+
export declare const ModelStatus: {
|
|
70
|
+
readonly ACTIVE: "ACTIVE";
|
|
71
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
72
|
+
readonly LEGACY: "LEGACY";
|
|
73
|
+
readonly PREVIEW: "PREVIEW";
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export type ModelStatus = (typeof ModelStatus)[keyof typeof ModelStatus];
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* @enum
|
|
82
|
+
*/
|
|
83
|
+
export declare const WorkflowDefinitionStatus: {
|
|
84
|
+
readonly ACTIVE: "ACTIVE";
|
|
85
|
+
readonly DELETING: "DELETING";
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export type WorkflowDefinitionStatus = (typeof WorkflowDefinitionStatus)[keyof typeof WorkflowDefinitionStatus];
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @enum
|
|
94
|
+
*/
|
|
95
|
+
export declare const WorkflowRunStatus: {
|
|
96
|
+
readonly DELETING: "DELETING";
|
|
97
|
+
readonly FAILED: "FAILED";
|
|
98
|
+
readonly RUNNING: "RUNNING";
|
|
99
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
100
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export type WorkflowRunStatus = (typeof WorkflowRunStatus)[keyof typeof WorkflowRunStatus];
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { InternalServerExceptionReason, ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { ValidationExceptionField } from "./models_0";
|
|
4
|
+
import { NovaActServiceException as __BaseException } from "./NovaActServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* <p>You don't have sufficient permissions to perform this action.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ConflictException extends __BaseException {
|
|
22
|
+
readonly name: "ConflictException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
/**
|
|
25
|
+
* <p>The identifier of the resource that caused the conflict.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
resourceId: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The type of resource that caused the conflict.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
resourceType: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>An internal server error occurred. Please try again later.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class InternalServerException extends __BaseException {
|
|
44
|
+
readonly name: "InternalServerException";
|
|
45
|
+
readonly $fault: "server";
|
|
46
|
+
$retryable: {};
|
|
47
|
+
/**
|
|
48
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
retryAfterSeconds?: number | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>The reason for the internal server error.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
reason?: InternalServerExceptionReason | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* <p>The requested resource was not found.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
67
|
+
readonly name: "ResourceNotFoundException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
/**
|
|
70
|
+
* <p>The identifier of the resource that wasn't found.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
resourceId: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The type of resource that wasn't found.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
resourceType: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* <p>The request would exceed a service quota limit.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
89
|
+
readonly name: "ServiceQuotaExceededException";
|
|
90
|
+
readonly $fault: "client";
|
|
91
|
+
/**
|
|
92
|
+
* <p>The identifier of the resource that exceeded the quota.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
resourceId: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The type of resource that exceeded the quota.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
resourceType: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The service code for the quota that was exceeded.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
serviceCode: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* <p>The code for the specific quota that was exceeded.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
quotaCode: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>The request was throttled due to too many requests. Please try again later.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class ThrottlingException extends __BaseException {
|
|
121
|
+
readonly name: "ThrottlingException";
|
|
122
|
+
readonly $fault: "client";
|
|
123
|
+
$retryable: {
|
|
124
|
+
throttling: boolean;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* <p>The service code where throttling occurred.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
serviceCode?: string | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* <p>The quota code related to the throttling.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
quotaCode?: string | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* <p>The number of seconds to wait before retrying the throttled request.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
retryAfterSeconds?: number | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* <p>The input parameters for the request are invalid.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class ValidationException extends __BaseException {
|
|
151
|
+
readonly name: "ValidationException";
|
|
152
|
+
readonly $fault: "client";
|
|
153
|
+
/**
|
|
154
|
+
* <p>The reason for the validation failure.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
reason: ValidationExceptionReason | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>The list of fields that failed validation.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
167
|
+
}
|