@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,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateWorkflowDefinitionRequest, CreateWorkflowDefinitionResponse } 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 CreateWorkflowDefinitionCommand}.
14
+ */
15
+ export interface CreateWorkflowDefinitionCommandInput extends CreateWorkflowDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateWorkflowDefinitionCommand}.
21
+ */
22
+ export interface CreateWorkflowDefinitionCommandOutput extends CreateWorkflowDefinitionResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateWorkflowDefinitionCommand_base: {
25
+ new (input: CreateWorkflowDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkflowDefinitionCommandInput, CreateWorkflowDefinitionCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateWorkflowDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkflowDefinitionCommandInput, CreateWorkflowDefinitionCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a new workflow definition template that can be used to execute multiple workflow runs.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, CreateWorkflowDefinitionCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, CreateWorkflowDefinitionCommand } = 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 = { // CreateWorkflowDefinitionRequest
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * exportConfig: { // WorkflowExportConfig
43
+ * s3BucketName: "STRING_VALUE", // required
44
+ * s3KeyPrefix: "STRING_VALUE",
45
+ * },
46
+ * clientToken: "STRING_VALUE",
47
+ * };
48
+ * const command = new CreateWorkflowDefinitionCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateWorkflowDefinitionResponse
51
+ * // status: "ACTIVE" || "DELETING", // required
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param CreateWorkflowDefinitionCommandInput - {@link CreateWorkflowDefinitionCommandInput}
57
+ * @returns {@link CreateWorkflowDefinitionCommandOutput}
58
+ * @see {@link CreateWorkflowDefinitionCommandInput} for command's `input` shape.
59
+ * @see {@link CreateWorkflowDefinitionCommandOutput} 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 ServiceQuotaExceededException} (client fault)
72
+ * <p>The request would exceed a service quota limit.</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 CreateWorkflowDefinitionCommand extends CreateWorkflowDefinitionCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: CreateWorkflowDefinitionRequest;
91
+ output: CreateWorkflowDefinitionResponse;
92
+ };
93
+ sdk: {
94
+ input: CreateWorkflowDefinitionCommandInput;
95
+ output: CreateWorkflowDefinitionCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,100 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateWorkflowRunRequest, CreateWorkflowRunResponse } 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 CreateWorkflowRunCommand}.
14
+ */
15
+ export interface CreateWorkflowRunCommandInput extends CreateWorkflowRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateWorkflowRunCommand}.
21
+ */
22
+ export interface CreateWorkflowRunCommandOutput extends CreateWorkflowRunResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateWorkflowRunCommand_base: {
25
+ new (input: CreateWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkflowRunCommandInput, CreateWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWorkflowRunCommandInput, CreateWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a new execution instance of a workflow definition with specified parameters.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, CreateWorkflowRunCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, CreateWorkflowRunCommand } = 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 = { // CreateWorkflowRunRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * modelId: "STRING_VALUE", // required
42
+ * clientToken: "STRING_VALUE",
43
+ * logGroupName: "STRING_VALUE",
44
+ * clientInfo: { // ClientInfo
45
+ * compatibilityVersion: Number("int"), // required
46
+ * sdkVersion: "STRING_VALUE",
47
+ * },
48
+ * };
49
+ * const command = new CreateWorkflowRunCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateWorkflowRunResponse
52
+ * // workflowRunId: "STRING_VALUE", // required
53
+ * // status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "DELETING", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CreateWorkflowRunCommandInput - {@link CreateWorkflowRunCommandInput}
59
+ * @returns {@link CreateWorkflowRunCommandOutput}
60
+ * @see {@link CreateWorkflowRunCommandInput} for command's `input` shape.
61
+ * @see {@link CreateWorkflowRunCommandOutput} for command's `response` shape.
62
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You don't have sufficient permissions to perform this action.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal server error occurred. Please try again later.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The requested resource was not found.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The input parameters for the request are invalid.</p>
81
+ *
82
+ * @throws {@link NovaActServiceException}
83
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class CreateWorkflowRunCommand extends CreateWorkflowRunCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: CreateWorkflowRunRequest;
93
+ output: CreateWorkflowRunResponse;
94
+ };
95
+ sdk: {
96
+ input: CreateWorkflowRunCommandInput;
97
+ output: CreateWorkflowRunCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -0,0 +1,92 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteWorkflowDefinitionRequest, DeleteWorkflowDefinitionResponse } 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 DeleteWorkflowDefinitionCommand}.
14
+ */
15
+ export interface DeleteWorkflowDefinitionCommandInput extends DeleteWorkflowDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteWorkflowDefinitionCommand}.
21
+ */
22
+ export interface DeleteWorkflowDefinitionCommandOutput extends DeleteWorkflowDefinitionResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteWorkflowDefinitionCommand_base: {
25
+ new (input: DeleteWorkflowDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkflowDefinitionCommandInput, DeleteWorkflowDefinitionCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteWorkflowDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkflowDefinitionCommandInput, DeleteWorkflowDefinitionCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a workflow definition and all associated resources. This operation cannot be undone.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, DeleteWorkflowDefinitionCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, DeleteWorkflowDefinitionCommand } = 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 = { // DeleteWorkflowDefinitionRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteWorkflowDefinitionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteWorkflowDefinitionResponse
45
+ * // status: "ACTIVE" || "DELETING", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteWorkflowDefinitionCommandInput - {@link DeleteWorkflowDefinitionCommandInput}
51
+ * @returns {@link DeleteWorkflowDefinitionCommandOutput}
52
+ * @see {@link DeleteWorkflowDefinitionCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteWorkflowDefinitionCommandOutput} 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 DeleteWorkflowDefinitionCommand extends DeleteWorkflowDefinitionCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: DeleteWorkflowDefinitionRequest;
85
+ output: DeleteWorkflowDefinitionResponse;
86
+ };
87
+ sdk: {
88
+ input: DeleteWorkflowDefinitionCommandInput;
89
+ output: DeleteWorkflowDefinitionCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,93 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteWorkflowRunRequest, DeleteWorkflowRunResponse } 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 DeleteWorkflowRunCommand}.
14
+ */
15
+ export interface DeleteWorkflowRunCommandInput extends DeleteWorkflowRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteWorkflowRunCommand}.
21
+ */
22
+ export interface DeleteWorkflowRunCommandOutput extends DeleteWorkflowRunResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteWorkflowRunCommand_base: {
25
+ new (input: DeleteWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkflowRunCommandInput, DeleteWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWorkflowRunCommandInput, DeleteWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Terminates and cleans up a workflow run, stopping all associated acts and sessions.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, DeleteWorkflowRunCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, DeleteWorkflowRunCommand } = 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 = { // DeleteWorkflowRunRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * workflowRunId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteWorkflowRunCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DeleteWorkflowRunResponse
46
+ * // status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "DELETING", // required
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param DeleteWorkflowRunCommandInput - {@link DeleteWorkflowRunCommandInput}
52
+ * @returns {@link DeleteWorkflowRunCommandOutput}
53
+ * @see {@link DeleteWorkflowRunCommandInput} for command's `input` shape.
54
+ * @see {@link DeleteWorkflowRunCommandOutput} for command's `response` shape.
55
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>You don't have sufficient permissions to perform this action.</p>
59
+ *
60
+ * @throws {@link ConflictException} (client fault)
61
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
62
+ *
63
+ * @throws {@link InternalServerException} (server fault)
64
+ * <p>An internal server error occurred. Please try again later.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The requested resource was not found.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input parameters for the request are invalid.</p>
74
+ *
75
+ * @throws {@link NovaActServiceException}
76
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class DeleteWorkflowRunCommand extends DeleteWorkflowRunCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: DeleteWorkflowRunRequest;
86
+ output: DeleteWorkflowRunResponse;
87
+ };
88
+ sdk: {
89
+ input: DeleteWorkflowRunCommandInput;
90
+ output: DeleteWorkflowRunCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,97 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetWorkflowDefinitionRequest, GetWorkflowDefinitionResponse } 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 GetWorkflowDefinitionCommand}.
14
+ */
15
+ export interface GetWorkflowDefinitionCommandInput extends GetWorkflowDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetWorkflowDefinitionCommand}.
21
+ */
22
+ export interface GetWorkflowDefinitionCommandOutput extends GetWorkflowDefinitionResponse, __MetadataBearer {
23
+ }
24
+ declare const GetWorkflowDefinitionCommand_base: {
25
+ new (input: GetWorkflowDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowDefinitionCommandInput, GetWorkflowDefinitionCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetWorkflowDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowDefinitionCommandInput, GetWorkflowDefinitionCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the details and configuration of a specific workflow definition.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { NovaActClient, GetWorkflowDefinitionCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, GetWorkflowDefinitionCommand } = 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 = { // GetWorkflowDefinitionRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetWorkflowDefinitionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetWorkflowDefinitionResponse
45
+ * // name: "STRING_VALUE", // required
46
+ * // arn: "STRING_VALUE", // required
47
+ * // createdAt: new Date("TIMESTAMP"), // required
48
+ * // description: "STRING_VALUE",
49
+ * // exportConfig: { // WorkflowExportConfig
50
+ * // s3BucketName: "STRING_VALUE", // required
51
+ * // s3KeyPrefix: "STRING_VALUE",
52
+ * // },
53
+ * // status: "ACTIVE" || "DELETING", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetWorkflowDefinitionCommandInput - {@link GetWorkflowDefinitionCommandInput}
59
+ * @returns {@link GetWorkflowDefinitionCommandOutput}
60
+ * @see {@link GetWorkflowDefinitionCommandInput} for command's `input` shape.
61
+ * @see {@link GetWorkflowDefinitionCommandOutput} for command's `response` shape.
62
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You don't have sufficient permissions to perform this action.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>An internal server error occurred. Please try again later.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The requested resource was not found.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The input parameters for the request are invalid.</p>
78
+ *
79
+ * @throws {@link NovaActServiceException}
80
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
81
+ *
82
+ *
83
+ * @public
84
+ */
85
+ export declare class GetWorkflowDefinitionCommand extends GetWorkflowDefinitionCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: GetWorkflowDefinitionRequest;
90
+ output: GetWorkflowDefinitionResponse;
91
+ };
92
+ sdk: {
93
+ input: GetWorkflowDefinitionCommandInput;
94
+ output: GetWorkflowDefinitionCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetWorkflowRunRequest, GetWorkflowRunResponse } 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 GetWorkflowRunCommand}.
14
+ */
15
+ export interface GetWorkflowRunCommandInput extends GetWorkflowRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetWorkflowRunCommand}.
21
+ */
22
+ export interface GetWorkflowRunCommandOutput extends GetWorkflowRunResponse, __MetadataBearer {
23
+ }
24
+ declare const GetWorkflowRunCommand_base: {
25
+ new (input: GetWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetWorkflowRunCommandInput): import("@smithy/smithy-client").CommandImpl<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput, NovaActClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the current state, configuration, and execution details of a 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, GetWorkflowRunCommand } from "@aws-sdk/client-nova-act"; // ES Modules import
35
+ * // const { NovaActClient, GetWorkflowRunCommand } = 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 = { // GetWorkflowRunRequest
40
+ * workflowDefinitionName: "STRING_VALUE", // required
41
+ * workflowRunId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetWorkflowRunCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetWorkflowRunResponse
46
+ * // workflowRunArn: "STRING_VALUE", // required
47
+ * // workflowRunId: "STRING_VALUE", // required
48
+ * // status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "DELETING", // required
49
+ * // startedAt: new Date("TIMESTAMP"), // required
50
+ * // endedAt: new Date("TIMESTAMP"),
51
+ * // modelId: "STRING_VALUE", // required
52
+ * // logGroupName: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetWorkflowRunCommandInput - {@link GetWorkflowRunCommandInput}
58
+ * @returns {@link GetWorkflowRunCommandOutput}
59
+ * @see {@link GetWorkflowRunCommandInput} for command's `input` shape.
60
+ * @see {@link GetWorkflowRunCommandOutput} for command's `response` shape.
61
+ * @see {@link NovaActClientResolvedConfig | config} for NovaActClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You don't have sufficient permissions to perform this action.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>The request could not be completed due to a conflict with the current state of the resource.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An internal server error occurred. Please try again later.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The requested resource was not found.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was throttled due to too many requests. Please try again later.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input parameters for the request are invalid.</p>
80
+ *
81
+ * @throws {@link NovaActServiceException}
82
+ * <p>Base exception class for all service exceptions from NovaAct service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetWorkflowRunCommand extends GetWorkflowRunCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetWorkflowRunRequest;
92
+ output: GetWorkflowRunResponse;
93
+ };
94
+ sdk: {
95
+ input: GetWorkflowRunCommandInput;
96
+ output: GetWorkflowRunCommandOutput;
97
+ };
98
+ };
99
+ }