@aws-sdk/client-codecatalyst 3.450.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.
- package/README.md +64 -1
- package/dist-cjs/CodeCatalyst.js +10 -0
- package/dist-cjs/CodeCatalystClient.js +17 -4
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +39 -0
- package/dist-cjs/commands/GetWorkflowCommand.js +50 -0
- package/dist-cjs/commands/GetWorkflowRunCommand.js +50 -0
- package/dist-cjs/commands/ListWorkflowRunsCommand.js +50 -0
- package/dist-cjs/commands/ListWorkflowsCommand.js +50 -0
- package/dist-cjs/commands/StartWorkflowRunCommand.js +50 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +25 -1
- package/dist-cjs/pagination/ListWorkflowRunsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +441 -5
- package/dist-cjs/runtimeConfig.browser.js +11 -0
- package/dist-cjs/runtimeConfig.js +10 -0
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/CodeCatalyst.js +10 -0
- package/dist-es/CodeCatalystClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +33 -0
- package/dist-es/commands/GetWorkflowCommand.js +46 -0
- package/dist-es/commands/GetWorkflowRunCommand.js +46 -0
- package/dist-es/commands/ListWorkflowRunsCommand.js +46 -0
- package/dist-es/commands/ListWorkflowsCommand.js +46 -0
- package/dist-es/commands/StartWorkflowRunCommand.js +46 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/pagination/ListWorkflowRunsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +429 -3
- package/dist-es/runtimeConfig.browser.js +11 -0
- package/dist-es/runtimeConfig.js +10 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/CodeCatalyst.d.ts +59 -1
- package/dist-types/CodeCatalystClient.d.ts +36 -6
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +107 -0
- package/dist-types/commands/GetWorkflowRunCommand.d.ts +105 -0
- package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventLogsCommand.d.ts +10 -1
- package/dist-types/commands/ListWorkflowRunsCommand.d.ts +114 -0
- package/dist-types/commands/ListWorkflowsCommand.d.ts +114 -0
- package/dist-types/commands/StartWorkflowRunCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +24 -1
- package/dist-types/models/models_0.d.ts +712 -222
- package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/runtimeConfig.d.ts +3 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/CodeCatalyst.d.ts +85 -0
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +38 -6
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +190 -61
- package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +38 -34
|
@@ -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
|
+
}
|
|
@@ -15,6 +15,8 @@ export * from "./GetSourceRepositoryCommand";
|
|
|
15
15
|
export * from "./GetSpaceCommand";
|
|
16
16
|
export * from "./GetSubscriptionCommand";
|
|
17
17
|
export * from "./GetUserDetailsCommand";
|
|
18
|
+
export * from "./GetWorkflowCommand";
|
|
19
|
+
export * from "./GetWorkflowRunCommand";
|
|
18
20
|
export * from "./ListAccessTokensCommand";
|
|
19
21
|
export * from "./ListDevEnvironmentSessionsCommand";
|
|
20
22
|
export * from "./ListDevEnvironmentsCommand";
|
|
@@ -23,8 +25,11 @@ export * from "./ListProjectsCommand";
|
|
|
23
25
|
export * from "./ListSourceRepositoriesCommand";
|
|
24
26
|
export * from "./ListSourceRepositoryBranchesCommand";
|
|
25
27
|
export * from "./ListSpacesCommand";
|
|
28
|
+
export * from "./ListWorkflowRunsCommand";
|
|
29
|
+
export * from "./ListWorkflowsCommand";
|
|
26
30
|
export * from "./StartDevEnvironmentCommand";
|
|
27
31
|
export * from "./StartDevEnvironmentSessionCommand";
|
|
32
|
+
export * from "./StartWorkflowRunCommand";
|
|
28
33
|
export * from "./StopDevEnvironmentCommand";
|
|
29
34
|
export * from "./StopDevEnvironmentSessionCommand";
|
|
30
35
|
export * from "./UpdateDevEnvironmentCommand";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export interface CodeCatalystExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
export interface CodeCatalystExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
8
9
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* </li>
|
|
23
23
|
* <li>
|
|
24
24
|
* <p>
|
|
25
|
-
* <a>UpdateSpace</a>, which
|
|
25
|
+
* <a>UpdateSpace</a>, which changes one or more values for a space.</p>
|
|
26
26
|
* </li>
|
|
27
27
|
* </ul>
|
|
28
28
|
* <p>Projects, by calling the following:</p>
|
|
@@ -123,6 +123,29 @@
|
|
|
123
123
|
* <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
|
|
124
124
|
* </li>
|
|
125
125
|
* </ul>
|
|
126
|
+
* <p>Workflows, by calling the following:</p>
|
|
127
|
+
* <ul>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>
|
|
130
|
+
* <a>GetWorkflow</a>, which returns information about a workflow.</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>
|
|
134
|
+
* <a>GetWorkflowRun</a>, which returns information about a specified run of a workflow.</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>
|
|
138
|
+
* <a>ListWorkflowRuns</a>, which retrieves a list of runs of a specified workflow.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* <li>
|
|
141
|
+
* <p>
|
|
142
|
+
* <a>ListWorkflows</a>, which retrieves a list of workflows in a specified project.</p>
|
|
143
|
+
* </li>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>
|
|
146
|
+
* <a>StartWorkflowRun</a>, which starts a run of a specified workflow.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* </ul>
|
|
126
149
|
* <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
|
|
127
150
|
* <ul>
|
|
128
151
|
* <li>
|