@aws-sdk/client-codecatalyst 3.451.0 → 3.452.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 (57) hide show
  1. package/README.md +64 -1
  2. package/dist-cjs/CodeCatalyst.js +10 -0
  3. package/dist-cjs/CodeCatalystClient.js +1 -1
  4. package/dist-cjs/commands/GetWorkflowCommand.js +50 -0
  5. package/dist-cjs/commands/GetWorkflowRunCommand.js +50 -0
  6. package/dist-cjs/commands/ListWorkflowRunsCommand.js +50 -0
  7. package/dist-cjs/commands/ListWorkflowsCommand.js +50 -0
  8. package/dist-cjs/commands/StartWorkflowRunCommand.js +50 -0
  9. package/dist-cjs/commands/index.js +5 -0
  10. package/dist-cjs/models/models_0.js +25 -1
  11. package/dist-cjs/pagination/ListWorkflowRunsPaginator.js +29 -0
  12. package/dist-cjs/pagination/ListWorkflowsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +2 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +441 -5
  15. package/dist-es/CodeCatalyst.js +10 -0
  16. package/dist-es/CodeCatalystClient.js +1 -1
  17. package/dist-es/commands/GetWorkflowCommand.js +46 -0
  18. package/dist-es/commands/GetWorkflowRunCommand.js +46 -0
  19. package/dist-es/commands/ListWorkflowRunsCommand.js +46 -0
  20. package/dist-es/commands/ListWorkflowsCommand.js +46 -0
  21. package/dist-es/commands/StartWorkflowRunCommand.js +46 -0
  22. package/dist-es/commands/index.js +5 -0
  23. package/dist-es/models/models_0.js +24 -0
  24. package/dist-es/pagination/ListWorkflowRunsPaginator.js +25 -0
  25. package/dist-es/pagination/ListWorkflowsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +2 -0
  27. package/dist-es/protocols/Aws_restJson1.js +429 -3
  28. package/dist-types/CodeCatalyst.d.ts +59 -1
  29. package/dist-types/CodeCatalystClient.d.ts +31 -3
  30. package/dist-types/commands/GetWorkflowCommand.d.ts +107 -0
  31. package/dist-types/commands/GetWorkflowRunCommand.d.ts +105 -0
  32. package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListEventLogsCommand.d.ts +10 -1
  34. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +114 -0
  35. package/dist-types/commands/ListWorkflowsCommand.d.ts +114 -0
  36. package/dist-types/commands/StartWorkflowRunCommand.d.ts +99 -0
  37. package/dist-types/commands/index.d.ts +5 -0
  38. package/dist-types/index.d.ts +24 -1
  39. package/dist-types/models/models_0.d.ts +712 -222
  40. package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +2 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  44. package/dist-types/ts3.4/CodeCatalyst.d.ts +85 -0
  45. package/dist-types/ts3.4/CodeCatalystClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
  47. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +38 -0
  49. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +38 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +190 -61
  53. package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  57. package/package.json +4 -2
@@ -24,6 +24,8 @@ import { GetSourceRepositoryCommandInput, GetSourceRepositoryCommandOutput } fro
24
24
  import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
25
25
  import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
26
26
  import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
27
+ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
28
+ import { GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput } from "./commands/GetWorkflowRunCommand";
27
29
  import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "./commands/ListAccessTokensCommand";
28
30
  import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "./commands/ListDevEnvironmentsCommand";
29
31
  import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "./commands/ListDevEnvironmentSessionsCommand";
@@ -32,8 +34,11 @@ import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/
32
34
  import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "./commands/ListSourceRepositoriesCommand";
33
35
  import { ListSourceRepositoryBranchesCommandInput, ListSourceRepositoryBranchesCommandOutput } from "./commands/ListSourceRepositoryBranchesCommand";
34
36
  import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/ListSpacesCommand";
37
+ import { ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput } from "./commands/ListWorkflowRunsCommand";
38
+ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
35
39
  import { StartDevEnvironmentCommandInput, StartDevEnvironmentCommandOutput } from "./commands/StartDevEnvironmentCommand";
36
40
  import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionCommandOutput } from "./commands/StartDevEnvironmentSessionCommand";
41
+ import { StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput } from "./commands/StartWorkflowRunCommand";
37
42
  import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
38
43
  import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "./commands/StopDevEnvironmentSessionCommand";
39
44
  import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
@@ -46,11 +51,11 @@ export { __Client };
46
51
  /**
47
52
  * @public
48
53
  */
49
- export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | CreateSourceRepositoryCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | DeleteProjectCommandInput | DeleteSourceRepositoryCommandInput | DeleteSpaceCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSourceRepositoryCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentSessionsCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | UpdateProjectCommandInput | UpdateSpaceCommandInput | VerifySessionCommandInput;
54
+ export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | CreateSourceRepositoryCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | DeleteProjectCommandInput | DeleteSourceRepositoryCommandInput | DeleteSpaceCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSourceRepositoryCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | GetWorkflowCommandInput | GetWorkflowRunCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentSessionsCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | ListWorkflowRunsCommandInput | ListWorkflowsCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StartWorkflowRunCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | UpdateProjectCommandInput | UpdateSpaceCommandInput | VerifySessionCommandInput;
50
55
  /**
51
56
  * @public
52
57
  */
53
- export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | CreateSourceRepositoryCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | DeleteProjectCommandOutput | DeleteSourceRepositoryCommandOutput | DeleteSpaceCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSourceRepositoryCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentSessionsCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | UpdateProjectCommandOutput | UpdateSpaceCommandOutput | VerifySessionCommandOutput;
58
+ export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | CreateSourceRepositoryCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | DeleteProjectCommandOutput | DeleteSourceRepositoryCommandOutput | DeleteSpaceCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSourceRepositoryCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | GetWorkflowCommandOutput | GetWorkflowRunCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentSessionsCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | ListWorkflowRunsCommandOutput | ListWorkflowsCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StartWorkflowRunCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | UpdateProjectCommandOutput | UpdateSpaceCommandOutput | VerifySessionCommandOutput;
54
59
  /**
55
60
  * @public
56
61
  */
@@ -198,7 +203,7 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
198
203
  * </li>
199
204
  * <li>
200
205
  * <p>
201
- * <a>UpdateSpace</a>, which hanges one or more values for a space.</p>
206
+ * <a>UpdateSpace</a>, which changes one or more values for a space.</p>
202
207
  * </li>
203
208
  * </ul>
204
209
  * <p>Projects, by calling the following:</p>
@@ -299,6 +304,29 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
299
304
  * <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
300
305
  * </li>
301
306
  * </ul>
307
+ * <p>Workflows, by calling the following:</p>
308
+ * <ul>
309
+ * <li>
310
+ * <p>
311
+ * <a>GetWorkflow</a>, which returns information about a workflow.</p>
312
+ * </li>
313
+ * <li>
314
+ * <p>
315
+ * <a>GetWorkflowRun</a>, which returns information about a specified run of a workflow.</p>
316
+ * </li>
317
+ * <li>
318
+ * <p>
319
+ * <a>ListWorkflowRuns</a>, which retrieves a list of runs of a specified workflow.</p>
320
+ * </li>
321
+ * <li>
322
+ * <p>
323
+ * <a>ListWorkflows</a>, which retrieves a list of workflows in a specified project.</p>
324
+ * </li>
325
+ * <li>
326
+ * <p>
327
+ * <a>StartWorkflowRun</a>, which starts a run of a specified workflow.</p>
328
+ * </li>
329
+ * </ul>
302
330
  * <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
303
331
  * <ul>
304
332
  * <li>
@@ -0,0 +1,107 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { GetWorkflowRequest, GetWorkflowResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetWorkflowCommand}.
14
+ */
15
+ export interface GetWorkflowCommandInput extends GetWorkflowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetWorkflowCommand}.
21
+ */
22
+ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information about a workflow.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, GetWorkflowCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, GetWorkflowCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // GetWorkflowRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * id: "STRING_VALUE", // required
36
+ * projectName: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetWorkflowCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetWorkflowResponse
41
+ * // spaceName: "STRING_VALUE", // required
42
+ * // projectName: "STRING_VALUE", // required
43
+ * // id: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // sourceRepositoryName: "STRING_VALUE",
46
+ * // sourceBranchName: "STRING_VALUE",
47
+ * // definition: { // WorkflowDefinition
48
+ * // path: "STRING_VALUE", // required
49
+ * // },
50
+ * // createdTime: new Date("TIMESTAMP"), // required
51
+ * // lastUpdatedTime: new Date("TIMESTAMP"), // required
52
+ * // runMode: "STRING_VALUE", // required
53
+ * // status: "STRING_VALUE", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetWorkflowCommandInput - {@link GetWorkflowCommandInput}
59
+ * @returns {@link GetWorkflowCommandOutput}
60
+ * @see {@link GetWorkflowCommandInput} for command's `input` shape.
61
+ * @see {@link GetWorkflowCommandOutput} for command's `response` shape.
62
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
69
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
73
+ *
74
+ * @throws {@link ServiceQuotaExceededException} (client fault)
75
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
76
+ * the number of resources, or change the tier if applicable.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
83
+ *
84
+ * @throws {@link CodeCatalystServiceException}
85
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
86
+ *
87
+ */
88
+ export declare class GetWorkflowCommand extends $Command<GetWorkflowCommandInput, GetWorkflowCommandOutput, CodeCatalystClientResolvedConfig> {
89
+ readonly input: GetWorkflowCommandInput;
90
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
94
+ constructor(input: GetWorkflowCommandInput);
95
+ /**
96
+ * @internal
97
+ */
98
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkflowCommandInput, GetWorkflowCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
102
+ private serialize;
103
+ /**
104
+ * @internal
105
+ */
106
+ private deserialize;
107
+ }
@@ -0,0 +1,105 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { GetWorkflowRunRequest, GetWorkflowRunResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $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
+ /**
25
+ * @public
26
+ * <p>Returns information about a specified run of a workflow.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, GetWorkflowRunCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, GetWorkflowRunCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // GetWorkflowRunRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * id: "STRING_VALUE", // required
36
+ * projectName: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetWorkflowRunCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetWorkflowRunResponse
41
+ * // spaceName: "STRING_VALUE", // required
42
+ * // projectName: "STRING_VALUE", // required
43
+ * // id: "STRING_VALUE", // required
44
+ * // workflowId: "STRING_VALUE", // required
45
+ * // status: "STRING_VALUE", // required
46
+ * // statusReasons: [ // WorkflowRunStatusReasons
47
+ * // {},
48
+ * // ],
49
+ * // startTime: new Date("TIMESTAMP"), // required
50
+ * // endTime: new Date("TIMESTAMP"),
51
+ * // lastUpdatedTime: new Date("TIMESTAMP"), // required
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetWorkflowRunCommandInput - {@link GetWorkflowRunCommandInput}
57
+ * @returns {@link GetWorkflowRunCommandOutput}
58
+ * @see {@link GetWorkflowRunCommandInput} for command's `input` shape.
59
+ * @see {@link GetWorkflowRunCommandOutput} for command's `response` shape.
60
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
64
+ *
65
+ * @throws {@link ConflictException} (client fault)
66
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
67
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
74
+ * the number of resources, or change the tier if applicable.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
81
+ *
82
+ * @throws {@link CodeCatalystServiceException}
83
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
84
+ *
85
+ */
86
+ export declare class GetWorkflowRunCommand extends $Command<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput, CodeCatalystClientResolvedConfig> {
87
+ readonly input: GetWorkflowRunCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: GetWorkflowRunCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -32,7 +32,7 @@ export interface ListDevEnvironmentsCommandOutput extends ListDevEnvironmentsRes
32
32
  * const client = new CodeCatalystClient(config);
33
33
  * const input = { // ListDevEnvironmentsRequest
34
34
  * spaceName: "STRING_VALUE", // required
35
- * projectName: "STRING_VALUE", // required
35
+ * projectName: "STRING_VALUE",
36
36
  * filters: [ // Filters
37
37
  * { // Filter
38
38
  * key: "STRING_VALUE", // required
@@ -23,7 +23,16 @@ export interface ListEventLogsCommandOutput extends ListEventLogsResponse, __Met
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space.</p>
26
+ * <p>Retrieves a list of events that occurred during a specific time in a space. You can
27
+ * use these events to audit user and system activity in a space. For more information, see
28
+ * <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/ipa-monitoring.html">Monitoring</a> in the <i>Amazon CodeCatalyst User Guide</i>.</p>
29
+ * <note>
30
+ * <p>ListEventLogs guarantees events for the last 30 days in a given space. You can also
31
+ * view and retrieve a list of management events over the last 90 days for Amazon CodeCatalyst in the
32
+ * CloudTrail console by viewing Event history, or by creating a trail to create
33
+ * and maintain a record of events that extends past 90 days. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html">Working with CloudTrail Event History</a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-getting-started.html">Working with
34
+ * CloudTrail trails</a>.</p>
35
+ * </note>
27
36
  * @example
28
37
  * Use a bare-bones client and the command you need to make an API call.
29
38
  * ```javascript
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { ListWorkflowRunsRequest, ListWorkflowRunsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $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
+ /**
25
+ * @public
26
+ * <p>Retrieves a list of workflow runs of a specified workflow.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, ListWorkflowRunsCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, ListWorkflowRunsCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // ListWorkflowRunsRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * workflowId: "STRING_VALUE",
36
+ * projectName: "STRING_VALUE", // required
37
+ * nextToken: "STRING_VALUE",
38
+ * maxResults: Number("int"),
39
+ * sortBy: [ // WorkflowRunSortCriteriaList
40
+ * {},
41
+ * ],
42
+ * };
43
+ * const command = new ListWorkflowRunsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListWorkflowRunsResponse
46
+ * // nextToken: "STRING_VALUE",
47
+ * // items: [ // WorkflowRunSummaries
48
+ * // { // WorkflowRunSummary
49
+ * // id: "STRING_VALUE", // required
50
+ * // workflowId: "STRING_VALUE", // required
51
+ * // workflowName: "STRING_VALUE", // required
52
+ * // status: "STRING_VALUE", // required
53
+ * // statusReasons: [ // WorkflowRunStatusReasons
54
+ * // {},
55
+ * // ],
56
+ * // startTime: new Date("TIMESTAMP"), // required
57
+ * // endTime: new Date("TIMESTAMP"),
58
+ * // lastUpdatedTime: new Date("TIMESTAMP"), // required
59
+ * // },
60
+ * // ],
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListWorkflowRunsCommandInput - {@link ListWorkflowRunsCommandInput}
66
+ * @returns {@link ListWorkflowRunsCommandOutput}
67
+ * @see {@link ListWorkflowRunsCommandInput} for command's `input` shape.
68
+ * @see {@link ListWorkflowRunsCommandOutput} for command's `response` shape.
69
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
73
+ *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
76
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
80
+ *
81
+ * @throws {@link ServiceQuotaExceededException} (client fault)
82
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
83
+ * the number of resources, or change the tier if applicable.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>The request was denied due to request throttling.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
90
+ *
91
+ * @throws {@link CodeCatalystServiceException}
92
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
93
+ *
94
+ */
95
+ export declare class ListWorkflowRunsCommand extends $Command<ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput, CodeCatalystClientResolvedConfig> {
96
+ readonly input: ListWorkflowRunsCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: ListWorkflowRunsCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { ListWorkflowsRequest, ListWorkflowsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListWorkflowsCommand}.
14
+ */
15
+ export interface ListWorkflowsCommandInput extends ListWorkflowsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListWorkflowsCommand}.
21
+ */
22
+ export interface ListWorkflowsCommandOutput extends ListWorkflowsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves a list of workflows in a specified project.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, ListWorkflowsCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, ListWorkflowsCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // ListWorkflowsRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * projectName: "STRING_VALUE", // required
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * sortBy: [ // WorkflowSortCriteriaList
39
+ * {},
40
+ * ],
41
+ * };
42
+ * const command = new ListWorkflowsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListWorkflowsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // items: [ // WorkflowSummaries
47
+ * // { // WorkflowSummary
48
+ * // id: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE", // required
50
+ * // sourceRepositoryName: "STRING_VALUE", // required
51
+ * // sourceBranchName: "STRING_VALUE", // required
52
+ * // definition: { // WorkflowDefinitionSummary
53
+ * // path: "STRING_VALUE", // required
54
+ * // },
55
+ * // createdTime: new Date("TIMESTAMP"), // required
56
+ * // lastUpdatedTime: new Date("TIMESTAMP"), // required
57
+ * // runMode: "STRING_VALUE", // required
58
+ * // status: "STRING_VALUE", // required
59
+ * // },
60
+ * // ],
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListWorkflowsCommandInput - {@link ListWorkflowsCommandInput}
66
+ * @returns {@link ListWorkflowsCommandOutput}
67
+ * @see {@link ListWorkflowsCommandInput} for command's `input` shape.
68
+ * @see {@link ListWorkflowsCommandOutput} for command's `response` shape.
69
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
73
+ *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
76
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
80
+ *
81
+ * @throws {@link ServiceQuotaExceededException} (client fault)
82
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
83
+ * the number of resources, or change the tier if applicable.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>The request was denied due to request throttling.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
90
+ *
91
+ * @throws {@link CodeCatalystServiceException}
92
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
93
+ *
94
+ */
95
+ export declare class ListWorkflowsCommand extends $Command<ListWorkflowsCommandInput, ListWorkflowsCommandOutput, CodeCatalystClientResolvedConfig> {
96
+ readonly input: ListWorkflowsCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: ListWorkflowsCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkflowsCommandInput, ListWorkflowsCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -0,0 +1,99 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { StartWorkflowRunRequest, StartWorkflowRunResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartWorkflowRunCommand}.
14
+ */
15
+ export interface StartWorkflowRunCommandInput extends StartWorkflowRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartWorkflowRunCommand}.
21
+ */
22
+ export interface StartWorkflowRunCommandOutput extends StartWorkflowRunResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Begins a run of a specified workflow.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, StartWorkflowRunCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, StartWorkflowRunCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // StartWorkflowRunRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * projectName: "STRING_VALUE", // required
36
+ * workflowId: "STRING_VALUE", // required
37
+ * clientToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new StartWorkflowRunCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // StartWorkflowRunResponse
42
+ * // spaceName: "STRING_VALUE", // required
43
+ * // projectName: "STRING_VALUE", // required
44
+ * // id: "STRING_VALUE", // required
45
+ * // workflowId: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param StartWorkflowRunCommandInput - {@link StartWorkflowRunCommandInput}
51
+ * @returns {@link StartWorkflowRunCommandOutput}
52
+ * @see {@link StartWorkflowRunCommandInput} for command's `input` shape.
53
+ * @see {@link StartWorkflowRunCommandOutput} for command's `response` shape.
54
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
61
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
65
+ *
66
+ * @throws {@link ServiceQuotaExceededException} (client fault)
67
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
68
+ * the number of resources, or change the tier if applicable.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The request was denied due to request throttling.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
75
+ *
76
+ * @throws {@link CodeCatalystServiceException}
77
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
78
+ *
79
+ */
80
+ export declare class StartWorkflowRunCommand extends $Command<StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput, CodeCatalystClientResolvedConfig> {
81
+ readonly input: StartWorkflowRunCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: StartWorkflowRunCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }