@aws-sdk/client-codepipeline 3.509.0 → 3.511.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/dist-cjs/index.js +57 -1
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_json1_1.js +18 -1
- package/dist-types/commands/CreatePipelineCommand.d.ts +94 -14
- package/dist-types/commands/GetPipelineCommand.d.ts +47 -7
- package/dist-types/commands/GetPipelineExecutionCommand.d.ts +5 -4
- package/dist-types/commands/GetPipelineStateCommand.d.ts +6 -0
- package/dist-types/commands/ListActionExecutionsCommand.d.ts +9 -0
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -0
- package/dist-types/commands/ListPipelinesCommand.d.ts +1 -0
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +3 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +94 -14
- package/dist-types/models/models_0.d.ts +202 -44
- package/dist-types/ts3.4/models/models_0.d.ts +59 -2
- package/package.json +14 -14
|
@@ -98,7 +98,15 @@ declare const UpdatePipelineCommand_base: {
|
|
|
98
98
|
* },
|
|
99
99
|
* ],
|
|
100
100
|
* version: Number("int"),
|
|
101
|
+
* executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
|
|
101
102
|
* pipelineType: "V1" || "V2",
|
|
103
|
+
* variables: [ // PipelineVariableDeclarationList
|
|
104
|
+
* { // PipelineVariableDeclaration
|
|
105
|
+
* name: "STRING_VALUE", // required
|
|
106
|
+
* defaultValue: "STRING_VALUE",
|
|
107
|
+
* description: "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* ],
|
|
102
110
|
* triggers: [ // PipelineTriggerDeclarationList
|
|
103
111
|
* { // PipelineTriggerDeclaration
|
|
104
112
|
* providerType: "CodeStarSourceConnection", // required
|
|
@@ -114,18 +122,50 @@ declare const UpdatePipelineCommand_base: {
|
|
|
114
122
|
* "STRING_VALUE",
|
|
115
123
|
* ],
|
|
116
124
|
* },
|
|
125
|
+
* branches: { // GitBranchFilterCriteria
|
|
126
|
+
* includes: [ // GitBranchPatternList
|
|
127
|
+
* "STRING_VALUE",
|
|
128
|
+
* ],
|
|
129
|
+
* excludes: [
|
|
130
|
+
* "STRING_VALUE",
|
|
131
|
+
* ],
|
|
132
|
+
* },
|
|
133
|
+
* filePaths: { // GitFilePathFilterCriteria
|
|
134
|
+
* includes: [ // GitFilePathPatternList
|
|
135
|
+
* "STRING_VALUE",
|
|
136
|
+
* ],
|
|
137
|
+
* excludes: [
|
|
138
|
+
* "STRING_VALUE",
|
|
139
|
+
* ],
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* ],
|
|
143
|
+
* pullRequest: [ // GitPullRequestFilterList
|
|
144
|
+
* { // GitPullRequestFilter
|
|
145
|
+
* events: [ // GitPullRequestEventTypeList
|
|
146
|
+
* "OPEN" || "UPDATED" || "CLOSED",
|
|
147
|
+
* ],
|
|
148
|
+
* branches: {
|
|
149
|
+
* includes: [
|
|
150
|
+
* "STRING_VALUE",
|
|
151
|
+
* ],
|
|
152
|
+
* excludes: [
|
|
153
|
+
* "STRING_VALUE",
|
|
154
|
+
* ],
|
|
155
|
+
* },
|
|
156
|
+
* filePaths: {
|
|
157
|
+
* includes: [
|
|
158
|
+
* "STRING_VALUE",
|
|
159
|
+
* ],
|
|
160
|
+
* excludes: [
|
|
161
|
+
* "STRING_VALUE",
|
|
162
|
+
* ],
|
|
163
|
+
* },
|
|
117
164
|
* },
|
|
118
165
|
* ],
|
|
119
166
|
* },
|
|
120
167
|
* },
|
|
121
168
|
* ],
|
|
122
|
-
* variables: [ // PipelineVariableDeclarationList
|
|
123
|
-
* { // PipelineVariableDeclaration
|
|
124
|
-
* name: "STRING_VALUE", // required
|
|
125
|
-
* defaultValue: "STRING_VALUE",
|
|
126
|
-
* description: "STRING_VALUE",
|
|
127
|
-
* },
|
|
128
|
-
* ],
|
|
129
169
|
* },
|
|
130
170
|
* };
|
|
131
171
|
* const command = new UpdatePipelineCommand(input);
|
|
@@ -192,7 +232,15 @@ declare const UpdatePipelineCommand_base: {
|
|
|
192
232
|
* // },
|
|
193
233
|
* // ],
|
|
194
234
|
* // version: Number("int"),
|
|
235
|
+
* // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
|
|
195
236
|
* // pipelineType: "V1" || "V2",
|
|
237
|
+
* // variables: [ // PipelineVariableDeclarationList
|
|
238
|
+
* // { // PipelineVariableDeclaration
|
|
239
|
+
* // name: "STRING_VALUE", // required
|
|
240
|
+
* // defaultValue: "STRING_VALUE",
|
|
241
|
+
* // description: "STRING_VALUE",
|
|
242
|
+
* // },
|
|
243
|
+
* // ],
|
|
196
244
|
* // triggers: [ // PipelineTriggerDeclarationList
|
|
197
245
|
* // { // PipelineTriggerDeclaration
|
|
198
246
|
* // providerType: "CodeStarSourceConnection", // required
|
|
@@ -208,18 +256,50 @@ declare const UpdatePipelineCommand_base: {
|
|
|
208
256
|
* // "STRING_VALUE",
|
|
209
257
|
* // ],
|
|
210
258
|
* // },
|
|
259
|
+
* // branches: { // GitBranchFilterCriteria
|
|
260
|
+
* // includes: [ // GitBranchPatternList
|
|
261
|
+
* // "STRING_VALUE",
|
|
262
|
+
* // ],
|
|
263
|
+
* // excludes: [
|
|
264
|
+
* // "STRING_VALUE",
|
|
265
|
+
* // ],
|
|
266
|
+
* // },
|
|
267
|
+
* // filePaths: { // GitFilePathFilterCriteria
|
|
268
|
+
* // includes: [ // GitFilePathPatternList
|
|
269
|
+
* // "STRING_VALUE",
|
|
270
|
+
* // ],
|
|
271
|
+
* // excludes: [
|
|
272
|
+
* // "STRING_VALUE",
|
|
273
|
+
* // ],
|
|
274
|
+
* // },
|
|
275
|
+
* // },
|
|
276
|
+
* // ],
|
|
277
|
+
* // pullRequest: [ // GitPullRequestFilterList
|
|
278
|
+
* // { // GitPullRequestFilter
|
|
279
|
+
* // events: [ // GitPullRequestEventTypeList
|
|
280
|
+
* // "OPEN" || "UPDATED" || "CLOSED",
|
|
281
|
+
* // ],
|
|
282
|
+
* // branches: {
|
|
283
|
+
* // includes: [
|
|
284
|
+
* // "STRING_VALUE",
|
|
285
|
+
* // ],
|
|
286
|
+
* // excludes: [
|
|
287
|
+
* // "STRING_VALUE",
|
|
288
|
+
* // ],
|
|
289
|
+
* // },
|
|
290
|
+
* // filePaths: {
|
|
291
|
+
* // includes: [
|
|
292
|
+
* // "STRING_VALUE",
|
|
293
|
+
* // ],
|
|
294
|
+
* // excludes: [
|
|
295
|
+
* // "STRING_VALUE",
|
|
296
|
+
* // ],
|
|
297
|
+
* // },
|
|
211
298
|
* // },
|
|
212
299
|
* // ],
|
|
213
300
|
* // },
|
|
214
301
|
* // },
|
|
215
302
|
* // ],
|
|
216
|
-
* // variables: [ // PipelineVariableDeclarationList
|
|
217
|
-
* // { // PipelineVariableDeclaration
|
|
218
|
-
* // name: "STRING_VALUE", // required
|
|
219
|
-
* // defaultValue: "STRING_VALUE",
|
|
220
|
-
* // description: "STRING_VALUE",
|
|
221
|
-
* // },
|
|
222
|
-
* // ],
|
|
223
303
|
* // },
|
|
224
304
|
* // };
|
|
225
305
|
*
|
|
@@ -605,6 +605,11 @@ export interface ActionExecutionResult {
|
|
|
605
605
|
* deployment endpoint) that is used when running the action.</p>
|
|
606
606
|
*/
|
|
607
607
|
externalExecutionUrl?: string;
|
|
608
|
+
/**
|
|
609
|
+
* @public
|
|
610
|
+
* <p>Represents information about an error in CodePipeline.</p>
|
|
611
|
+
*/
|
|
612
|
+
errorDetails?: ErrorDetails;
|
|
608
613
|
}
|
|
609
614
|
/**
|
|
610
615
|
* @public
|
|
@@ -672,6 +677,11 @@ export interface ActionExecutionDetail {
|
|
|
672
677
|
* <p>The last update time of the action execution.</p>
|
|
673
678
|
*/
|
|
674
679
|
lastUpdateTime?: Date;
|
|
680
|
+
/**
|
|
681
|
+
* @public
|
|
682
|
+
* <p>The ARN of the user who changed the pipeline execution details.</p>
|
|
683
|
+
*/
|
|
684
|
+
updatedBy?: string;
|
|
675
685
|
/**
|
|
676
686
|
* @public
|
|
677
687
|
* <p> The status of the action execution. Status categories are <code>InProgress</code>,
|
|
@@ -690,6 +700,47 @@ export interface ActionExecutionDetail {
|
|
|
690
700
|
*/
|
|
691
701
|
output?: ActionExecutionOutput;
|
|
692
702
|
}
|
|
703
|
+
/**
|
|
704
|
+
* @public
|
|
705
|
+
* @enum
|
|
706
|
+
*/
|
|
707
|
+
export declare const StartTimeRange: {
|
|
708
|
+
readonly All: "All";
|
|
709
|
+
readonly Latest: "Latest";
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* @public
|
|
713
|
+
*/
|
|
714
|
+
export type StartTimeRange = (typeof StartTimeRange)[keyof typeof StartTimeRange];
|
|
715
|
+
/**
|
|
716
|
+
* @public
|
|
717
|
+
* <p>The field that specifies to filter on the latest execution in the pipeline.</p>
|
|
718
|
+
* <note>
|
|
719
|
+
* <p>Filtering on the latest execution is available for executions run on or after
|
|
720
|
+
* February 08, 2024.</p>
|
|
721
|
+
* </note>
|
|
722
|
+
*/
|
|
723
|
+
export interface LatestInPipelineExecutionFilter {
|
|
724
|
+
/**
|
|
725
|
+
* @public
|
|
726
|
+
* <p>The execution ID for the latest execution in the pipeline.</p>
|
|
727
|
+
*/
|
|
728
|
+
pipelineExecutionId: string | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* @public
|
|
731
|
+
* <p>The start time to filter on for the latest execution in the pipeline. Valid
|
|
732
|
+
* options:</p>
|
|
733
|
+
* <ul>
|
|
734
|
+
* <li>
|
|
735
|
+
* <p>All</p>
|
|
736
|
+
* </li>
|
|
737
|
+
* <li>
|
|
738
|
+
* <p>Latest</p>
|
|
739
|
+
* </li>
|
|
740
|
+
* </ul>
|
|
741
|
+
*/
|
|
742
|
+
startTimeRange: StartTimeRange | undefined;
|
|
743
|
+
}
|
|
693
744
|
/**
|
|
694
745
|
* @public
|
|
695
746
|
* <p>Filter values for the action execution.</p>
|
|
@@ -700,6 +751,15 @@ export interface ActionExecutionFilter {
|
|
|
700
751
|
* <p>The pipeline execution ID used to filter action execution history.</p>
|
|
701
752
|
*/
|
|
702
753
|
pipelineExecutionId?: string;
|
|
754
|
+
/**
|
|
755
|
+
* @public
|
|
756
|
+
* <p>The latest execution in the pipeline.</p>
|
|
757
|
+
* <note>
|
|
758
|
+
* <p>Filtering on the latest execution is available for executions run on or after
|
|
759
|
+
* February 08, 2024.</p>
|
|
760
|
+
* </note>
|
|
761
|
+
*/
|
|
762
|
+
latestInPipelineExecution?: LatestInPipelineExecutionFilter;
|
|
703
763
|
}
|
|
704
764
|
/**
|
|
705
765
|
* @public
|
|
@@ -1604,6 +1664,19 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
1604
1664
|
*/
|
|
1605
1665
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1606
1666
|
}
|
|
1667
|
+
/**
|
|
1668
|
+
* @public
|
|
1669
|
+
* @enum
|
|
1670
|
+
*/
|
|
1671
|
+
export declare const ExecutionMode: {
|
|
1672
|
+
readonly PARALLEL: "PARALLEL";
|
|
1673
|
+
readonly QUEUED: "QUEUED";
|
|
1674
|
+
readonly SUPERSEDED: "SUPERSEDED";
|
|
1675
|
+
};
|
|
1676
|
+
/**
|
|
1677
|
+
* @public
|
|
1678
|
+
*/
|
|
1679
|
+
export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
|
|
1607
1680
|
/**
|
|
1608
1681
|
* @public
|
|
1609
1682
|
* @enum
|
|
@@ -1637,6 +1710,72 @@ export interface StageDeclaration {
|
|
|
1637
1710
|
*/
|
|
1638
1711
|
actions: ActionDeclaration[] | undefined;
|
|
1639
1712
|
}
|
|
1713
|
+
/**
|
|
1714
|
+
* @public
|
|
1715
|
+
* <p>The Git repository branches specified as filter criteria to start the pipeline.</p>
|
|
1716
|
+
*/
|
|
1717
|
+
export interface GitBranchFilterCriteria {
|
|
1718
|
+
/**
|
|
1719
|
+
* @public
|
|
1720
|
+
* <p>The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.</p>
|
|
1721
|
+
*/
|
|
1722
|
+
includes?: string[];
|
|
1723
|
+
/**
|
|
1724
|
+
* @public
|
|
1725
|
+
* <p>The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.</p>
|
|
1726
|
+
*/
|
|
1727
|
+
excludes?: string[];
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
* @public
|
|
1731
|
+
* @enum
|
|
1732
|
+
*/
|
|
1733
|
+
export declare const GitPullRequestEventType: {
|
|
1734
|
+
readonly CLOSED: "CLOSED";
|
|
1735
|
+
readonly OPEN: "OPEN";
|
|
1736
|
+
readonly UPDATED: "UPDATED";
|
|
1737
|
+
};
|
|
1738
|
+
/**
|
|
1739
|
+
* @public
|
|
1740
|
+
*/
|
|
1741
|
+
export type GitPullRequestEventType = (typeof GitPullRequestEventType)[keyof typeof GitPullRequestEventType];
|
|
1742
|
+
/**
|
|
1743
|
+
* @public
|
|
1744
|
+
* <p>The Git repository file paths specified as filter criteria to start the pipeline.</p>
|
|
1745
|
+
*/
|
|
1746
|
+
export interface GitFilePathFilterCriteria {
|
|
1747
|
+
/**
|
|
1748
|
+
* @public
|
|
1749
|
+
* <p>The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.</p>
|
|
1750
|
+
*/
|
|
1751
|
+
includes?: string[];
|
|
1752
|
+
/**
|
|
1753
|
+
* @public
|
|
1754
|
+
* <p>The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.</p>
|
|
1755
|
+
*/
|
|
1756
|
+
excludes?: string[];
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* @public
|
|
1760
|
+
* <p>The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude.</p>
|
|
1761
|
+
*/
|
|
1762
|
+
export interface GitPullRequestFilter {
|
|
1763
|
+
/**
|
|
1764
|
+
* @public
|
|
1765
|
+
* <p>The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.</p>
|
|
1766
|
+
*/
|
|
1767
|
+
events?: GitPullRequestEventType[];
|
|
1768
|
+
/**
|
|
1769
|
+
* @public
|
|
1770
|
+
* <p>The field that specifies to filter on branches for the pull request trigger configuration.</p>
|
|
1771
|
+
*/
|
|
1772
|
+
branches?: GitBranchFilterCriteria;
|
|
1773
|
+
/**
|
|
1774
|
+
* @public
|
|
1775
|
+
* <p>The field that specifies to filter on file paths for the pull request trigger configuration.</p>
|
|
1776
|
+
*/
|
|
1777
|
+
filePaths?: GitFilePathFilterCriteria;
|
|
1778
|
+
}
|
|
1640
1779
|
/**
|
|
1641
1780
|
* @public
|
|
1642
1781
|
* <p>The Git tags specified as filter criteria for whether a Git tag repository event
|
|
@@ -1667,6 +1806,16 @@ export interface GitPushFilter {
|
|
|
1667
1806
|
* configuration.</p>
|
|
1668
1807
|
*/
|
|
1669
1808
|
tags?: GitTagFilterCriteria;
|
|
1809
|
+
/**
|
|
1810
|
+
* @public
|
|
1811
|
+
* <p>The field that specifies to filter on branches for the push trigger configuration.</p>
|
|
1812
|
+
*/
|
|
1813
|
+
branches?: GitBranchFilterCriteria;
|
|
1814
|
+
/**
|
|
1815
|
+
* @public
|
|
1816
|
+
* <p>The field that specifies to filter on file paths for the push trigger configuration.</p>
|
|
1817
|
+
*/
|
|
1818
|
+
filePaths?: GitFilePathFilterCriteria;
|
|
1670
1819
|
}
|
|
1671
1820
|
/**
|
|
1672
1821
|
* @public
|
|
@@ -1676,11 +1825,6 @@ export interface GitPushFilter {
|
|
|
1676
1825
|
* Git-based source actions that are supported by the
|
|
1677
1826
|
* <code>CodeStarSourceConnection</code> action type.</p>
|
|
1678
1827
|
* </note>
|
|
1679
|
-
* <note>
|
|
1680
|
-
* <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
|
|
1681
|
-
* are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
|
|
1682
|
-
* in the <i>CodePipeline User Guide</i>.</p>
|
|
1683
|
-
* </note>
|
|
1684
1828
|
*/
|
|
1685
1829
|
export interface GitConfiguration {
|
|
1686
1830
|
/**
|
|
@@ -1697,11 +1841,13 @@ export interface GitConfiguration {
|
|
|
1697
1841
|
* @public
|
|
1698
1842
|
* <p>The field where the repository event that will start the pipeline, such as pushing
|
|
1699
1843
|
* Git tags, is specified with details.</p>
|
|
1700
|
-
* <note>
|
|
1701
|
-
* <p>Git tags is the only supported event type.</p>
|
|
1702
|
-
* </note>
|
|
1703
1844
|
*/
|
|
1704
1845
|
push?: GitPushFilter[];
|
|
1846
|
+
/**
|
|
1847
|
+
* @public
|
|
1848
|
+
* <p>The field where the repository event that will start the pipeline is specified as pull requests.</p>
|
|
1849
|
+
*/
|
|
1850
|
+
pullRequest?: GitPullRequestFilter[];
|
|
1705
1851
|
}
|
|
1706
1852
|
/**
|
|
1707
1853
|
* @public
|
|
@@ -1726,11 +1872,6 @@ export type PipelineTriggerProviderType = (typeof PipelineTriggerProviderType)[k
|
|
|
1726
1872
|
* <p>When a trigger configuration is specified, default change detection for
|
|
1727
1873
|
* repository and branch commits is disabled.</p>
|
|
1728
1874
|
* </note>
|
|
1729
|
-
* <note>
|
|
1730
|
-
* <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
|
|
1731
|
-
* are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
|
|
1732
|
-
* in the <i>CodePipeline User Guide</i>.</p>
|
|
1733
|
-
* </note>
|
|
1734
1875
|
*/
|
|
1735
1876
|
export interface PipelineTriggerDeclaration {
|
|
1736
1877
|
/**
|
|
@@ -1749,11 +1890,6 @@ export interface PipelineTriggerDeclaration {
|
|
|
1749
1890
|
/**
|
|
1750
1891
|
* @public
|
|
1751
1892
|
* <p>A variable declared at the pipeline level.</p>
|
|
1752
|
-
* <note>
|
|
1753
|
-
* <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
|
|
1754
|
-
* are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
|
|
1755
|
-
* in the <i>CodePipeline User Guide</i>.</p>
|
|
1756
|
-
* </note>
|
|
1757
1893
|
*/
|
|
1758
1894
|
export interface PipelineVariableDeclaration {
|
|
1759
1895
|
/**
|
|
@@ -1825,6 +1961,11 @@ export interface PipelineDeclaration {
|
|
|
1825
1961
|
* 1. This number is incremented when a pipeline is updated.</p>
|
|
1826
1962
|
*/
|
|
1827
1963
|
version?: number;
|
|
1964
|
+
/**
|
|
1965
|
+
* @public
|
|
1966
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
|
|
1967
|
+
*/
|
|
1968
|
+
executionMode?: ExecutionMode;
|
|
1828
1969
|
/**
|
|
1829
1970
|
* @public
|
|
1830
1971
|
* <p>CodePipeline provides the following pipeline types, which differ in characteristics and
|
|
@@ -1845,16 +1986,18 @@ export interface PipelineDeclaration {
|
|
|
1845
1986
|
* creating or updating a pipeline will result in the pipeline having the V2 type of
|
|
1846
1987
|
* pipeline and the associated costs.</p>
|
|
1847
1988
|
* </important>
|
|
1848
|
-
* <p>For information about pricing for CodePipeline, see <a href="
|
|
1989
|
+
* <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
|
|
1849
1990
|
* <p>
|
|
1850
1991
|
* For information about which type of pipeline to choose, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html">What type of pipeline is right for me?</a>.</p>
|
|
1851
|
-
* <note>
|
|
1852
|
-
* <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
|
|
1853
|
-
* are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
|
|
1854
|
-
* in the <i>CodePipeline User Guide</i>.</p>
|
|
1855
|
-
* </note>
|
|
1856
1992
|
*/
|
|
1857
1993
|
pipelineType?: PipelineType;
|
|
1994
|
+
/**
|
|
1995
|
+
* @public
|
|
1996
|
+
* <p>A list that defines the pipeline variables for a pipeline resource. Variable names can
|
|
1997
|
+
* have alphanumeric and underscore characters, and the values must match
|
|
1998
|
+
* <code>[A-Za-z0-9@\-_]+</code>.</p>
|
|
1999
|
+
*/
|
|
2000
|
+
variables?: PipelineVariableDeclaration[];
|
|
1858
2001
|
/**
|
|
1859
2002
|
* @public
|
|
1860
2003
|
* <p>The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.</p>
|
|
@@ -1864,13 +2007,6 @@ export interface PipelineDeclaration {
|
|
|
1864
2007
|
* </note>
|
|
1865
2008
|
*/
|
|
1866
2009
|
triggers?: PipelineTriggerDeclaration[];
|
|
1867
|
-
/**
|
|
1868
|
-
* @public
|
|
1869
|
-
* <p>A list that defines the pipeline variables for a pipeline resource. Variable names can
|
|
1870
|
-
* have alphanumeric and underscore characters, and the values must match
|
|
1871
|
-
* <code>[A-Za-z0-9@\-_]+</code>.</p>
|
|
1872
|
-
*/
|
|
1873
|
-
variables?: PipelineVariableDeclaration[];
|
|
1874
2010
|
}
|
|
1875
2011
|
/**
|
|
1876
2012
|
* @public
|
|
@@ -2594,6 +2730,11 @@ export interface PipelineExecution {
|
|
|
2594
2730
|
* execution.</p>
|
|
2595
2731
|
*/
|
|
2596
2732
|
artifactRevisions?: ArtifactRevision[];
|
|
2733
|
+
/**
|
|
2734
|
+
* @public
|
|
2735
|
+
* <p>A list of pipeline variables used for the pipeline execution.</p>
|
|
2736
|
+
*/
|
|
2737
|
+
variables?: ResolvedPipelineVariable[];
|
|
2597
2738
|
/**
|
|
2598
2739
|
* @public
|
|
2599
2740
|
* <p>The interaction or event that started a pipeline execution.</p>
|
|
@@ -2601,9 +2742,9 @@ export interface PipelineExecution {
|
|
|
2601
2742
|
trigger?: ExecutionTrigger;
|
|
2602
2743
|
/**
|
|
2603
2744
|
* @public
|
|
2604
|
-
* <p>
|
|
2745
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
|
|
2605
2746
|
*/
|
|
2606
|
-
|
|
2747
|
+
executionMode?: ExecutionMode;
|
|
2607
2748
|
}
|
|
2608
2749
|
/**
|
|
2609
2750
|
* @public
|
|
@@ -2721,6 +2862,11 @@ export interface StageState {
|
|
|
2721
2862
|
* <p>Represents information about the run of a stage.</p>
|
|
2722
2863
|
*/
|
|
2723
2864
|
inboundExecution?: StageExecution;
|
|
2865
|
+
/**
|
|
2866
|
+
* @public
|
|
2867
|
+
* <p>The inbound executions for a stage.</p>
|
|
2868
|
+
*/
|
|
2869
|
+
inboundExecutions?: StageExecution[];
|
|
2724
2870
|
/**
|
|
2725
2871
|
* @public
|
|
2726
2872
|
* <p>The state of the inbound transition, which is either enabled or disabled.</p>
|
|
@@ -3141,6 +3287,11 @@ export interface PipelineExecutionSummary {
|
|
|
3141
3287
|
* <p>The interaction that stopped a pipeline execution.</p>
|
|
3142
3288
|
*/
|
|
3143
3289
|
stopTrigger?: StopExecutionTrigger;
|
|
3290
|
+
/**
|
|
3291
|
+
* @public
|
|
3292
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
|
|
3293
|
+
*/
|
|
3294
|
+
executionMode?: ExecutionMode;
|
|
3144
3295
|
}
|
|
3145
3296
|
/**
|
|
3146
3297
|
* @public
|
|
@@ -3214,16 +3365,16 @@ export interface PipelineSummary {
|
|
|
3214
3365
|
* creating or updating a pipeline will result in the pipeline having the V2 type of
|
|
3215
3366
|
* pipeline and the associated costs.</p>
|
|
3216
3367
|
* </important>
|
|
3217
|
-
* <p>For information about pricing for CodePipeline, see <a href="
|
|
3368
|
+
* <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
|
|
3218
3369
|
* <p>
|
|
3219
3370
|
* For information about which type of pipeline to choose, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html">What type of pipeline is right for me?</a>.</p>
|
|
3220
|
-
* <note>
|
|
3221
|
-
* <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
|
|
3222
|
-
* are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
|
|
3223
|
-
* in the <i>CodePipeline User Guide</i>.</p>
|
|
3224
|
-
* </note>
|
|
3225
3371
|
*/
|
|
3226
3372
|
pipelineType?: PipelineType;
|
|
3373
|
+
/**
|
|
3374
|
+
* @public
|
|
3375
|
+
* <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
|
|
3376
|
+
*/
|
|
3377
|
+
executionMode?: ExecutionMode;
|
|
3227
3378
|
/**
|
|
3228
3379
|
* @public
|
|
3229
3380
|
* <p>The date and time the pipeline was created, in timestamp format.</p>
|
|
@@ -4118,6 +4269,18 @@ export declare class StageNotRetryableException extends __BaseException {
|
|
|
4118
4269
|
*/
|
|
4119
4270
|
constructor(opts: __ExceptionOptionType<StageNotRetryableException, __BaseException>);
|
|
4120
4271
|
}
|
|
4272
|
+
/**
|
|
4273
|
+
* @public
|
|
4274
|
+
* <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
|
|
4275
|
+
*/
|
|
4276
|
+
export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
|
|
4277
|
+
readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
|
|
4278
|
+
readonly $fault: "client";
|
|
4279
|
+
/**
|
|
4280
|
+
* @internal
|
|
4281
|
+
*/
|
|
4282
|
+
constructor(opts: __ExceptionOptionType<ConcurrentPipelineExecutionsLimitExceededException, __BaseException>);
|
|
4283
|
+
}
|
|
4121
4284
|
/**
|
|
4122
4285
|
* @public
|
|
4123
4286
|
* @enum
|
|
@@ -4159,11 +4322,6 @@ export interface SourceRevisionOverride {
|
|
|
4159
4322
|
/**
|
|
4160
4323
|
* @public
|
|
4161
4324
|
* <p>A pipeline-level variable used for a pipeline execution.</p>
|
|
4162
|
-
* <note>
|
|
4163
|
-
* <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
|
|
4164
|
-
* are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
|
|
4165
|
-
* in the <i>CodePipeline User Guide</i>.</p>
|
|
4166
|
-
* </note>
|
|
4167
4325
|
*/
|
|
4168
4326
|
export interface PipelineVariable {
|
|
4169
4327
|
/**
|
|
@@ -160,6 +160,7 @@ export interface ActionExecutionResult {
|
|
|
160
160
|
externalExecutionId?: string;
|
|
161
161
|
externalExecutionSummary?: string;
|
|
162
162
|
externalExecutionUrl?: string;
|
|
163
|
+
errorDetails?: ErrorDetails;
|
|
163
164
|
}
|
|
164
165
|
export interface ActionExecutionOutput {
|
|
165
166
|
outputArtifacts?: ArtifactDetail[];
|
|
@@ -174,12 +175,24 @@ export interface ActionExecutionDetail {
|
|
|
174
175
|
actionName?: string;
|
|
175
176
|
startTime?: Date;
|
|
176
177
|
lastUpdateTime?: Date;
|
|
178
|
+
updatedBy?: string;
|
|
177
179
|
status?: ActionExecutionStatus;
|
|
178
180
|
input?: ActionExecutionInput;
|
|
179
181
|
output?: ActionExecutionOutput;
|
|
180
182
|
}
|
|
183
|
+
export declare const StartTimeRange: {
|
|
184
|
+
readonly All: "All";
|
|
185
|
+
readonly Latest: "Latest";
|
|
186
|
+
};
|
|
187
|
+
export type StartTimeRange =
|
|
188
|
+
(typeof StartTimeRange)[keyof typeof StartTimeRange];
|
|
189
|
+
export interface LatestInPipelineExecutionFilter {
|
|
190
|
+
pipelineExecutionId: string | undefined;
|
|
191
|
+
startTimeRange: StartTimeRange | undefined;
|
|
192
|
+
}
|
|
181
193
|
export interface ActionExecutionFilter {
|
|
182
194
|
pipelineExecutionId?: string;
|
|
195
|
+
latestInPipelineExecution?: LatestInPipelineExecutionFilter;
|
|
183
196
|
}
|
|
184
197
|
export declare class ActionNotFoundException extends __BaseException {
|
|
185
198
|
readonly name: "ActionNotFoundException";
|
|
@@ -410,6 +423,12 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
410
423
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
411
424
|
);
|
|
412
425
|
}
|
|
426
|
+
export declare const ExecutionMode: {
|
|
427
|
+
readonly PARALLEL: "PARALLEL";
|
|
428
|
+
readonly QUEUED: "QUEUED";
|
|
429
|
+
readonly SUPERSEDED: "SUPERSEDED";
|
|
430
|
+
};
|
|
431
|
+
export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
|
|
413
432
|
export declare const PipelineType: {
|
|
414
433
|
readonly V1: "V1";
|
|
415
434
|
readonly V2: "V2";
|
|
@@ -420,16 +439,39 @@ export interface StageDeclaration {
|
|
|
420
439
|
blockers?: BlockerDeclaration[];
|
|
421
440
|
actions: ActionDeclaration[] | undefined;
|
|
422
441
|
}
|
|
442
|
+
export interface GitBranchFilterCriteria {
|
|
443
|
+
includes?: string[];
|
|
444
|
+
excludes?: string[];
|
|
445
|
+
}
|
|
446
|
+
export declare const GitPullRequestEventType: {
|
|
447
|
+
readonly CLOSED: "CLOSED";
|
|
448
|
+
readonly OPEN: "OPEN";
|
|
449
|
+
readonly UPDATED: "UPDATED";
|
|
450
|
+
};
|
|
451
|
+
export type GitPullRequestEventType =
|
|
452
|
+
(typeof GitPullRequestEventType)[keyof typeof GitPullRequestEventType];
|
|
453
|
+
export interface GitFilePathFilterCriteria {
|
|
454
|
+
includes?: string[];
|
|
455
|
+
excludes?: string[];
|
|
456
|
+
}
|
|
457
|
+
export interface GitPullRequestFilter {
|
|
458
|
+
events?: GitPullRequestEventType[];
|
|
459
|
+
branches?: GitBranchFilterCriteria;
|
|
460
|
+
filePaths?: GitFilePathFilterCriteria;
|
|
461
|
+
}
|
|
423
462
|
export interface GitTagFilterCriteria {
|
|
424
463
|
includes?: string[];
|
|
425
464
|
excludes?: string[];
|
|
426
465
|
}
|
|
427
466
|
export interface GitPushFilter {
|
|
428
467
|
tags?: GitTagFilterCriteria;
|
|
468
|
+
branches?: GitBranchFilterCriteria;
|
|
469
|
+
filePaths?: GitFilePathFilterCriteria;
|
|
429
470
|
}
|
|
430
471
|
export interface GitConfiguration {
|
|
431
472
|
sourceActionName: string | undefined;
|
|
432
473
|
push?: GitPushFilter[];
|
|
474
|
+
pullRequest?: GitPullRequestFilter[];
|
|
433
475
|
}
|
|
434
476
|
export declare const PipelineTriggerProviderType: {
|
|
435
477
|
readonly CodeStarSourceConnection: "CodeStarSourceConnection";
|
|
@@ -452,9 +494,10 @@ export interface PipelineDeclaration {
|
|
|
452
494
|
artifactStores?: Record<string, ArtifactStore>;
|
|
453
495
|
stages: StageDeclaration[] | undefined;
|
|
454
496
|
version?: number;
|
|
497
|
+
executionMode?: ExecutionMode;
|
|
455
498
|
pipelineType?: PipelineType;
|
|
456
|
-
triggers?: PipelineTriggerDeclaration[];
|
|
457
499
|
variables?: PipelineVariableDeclaration[];
|
|
500
|
+
triggers?: PipelineTriggerDeclaration[];
|
|
458
501
|
}
|
|
459
502
|
export interface CreatePipelineInput {
|
|
460
503
|
pipeline: PipelineDeclaration | undefined;
|
|
@@ -666,8 +709,9 @@ export interface PipelineExecution {
|
|
|
666
709
|
status?: PipelineExecutionStatus;
|
|
667
710
|
statusSummary?: string;
|
|
668
711
|
artifactRevisions?: ArtifactRevision[];
|
|
669
|
-
trigger?: ExecutionTrigger;
|
|
670
712
|
variables?: ResolvedPipelineVariable[];
|
|
713
|
+
trigger?: ExecutionTrigger;
|
|
714
|
+
executionMode?: ExecutionMode;
|
|
671
715
|
}
|
|
672
716
|
export interface GetPipelineExecutionOutput {
|
|
673
717
|
pipelineExecution?: PipelineExecution;
|
|
@@ -708,6 +752,7 @@ export interface TransitionState {
|
|
|
708
752
|
export interface StageState {
|
|
709
753
|
stageName?: string;
|
|
710
754
|
inboundExecution?: StageExecution;
|
|
755
|
+
inboundExecutions?: StageExecution[];
|
|
711
756
|
inboundTransitionState?: TransitionState;
|
|
712
757
|
actionStates?: ActionState[];
|
|
713
758
|
latestExecution?: StageExecution;
|
|
@@ -796,6 +841,7 @@ export interface PipelineExecutionSummary {
|
|
|
796
841
|
sourceRevisions?: SourceRevision[];
|
|
797
842
|
trigger?: ExecutionTrigger;
|
|
798
843
|
stopTrigger?: StopExecutionTrigger;
|
|
844
|
+
executionMode?: ExecutionMode;
|
|
799
845
|
}
|
|
800
846
|
export interface ListPipelineExecutionsOutput {
|
|
801
847
|
pipelineExecutionSummaries?: PipelineExecutionSummary[];
|
|
@@ -809,6 +855,7 @@ export interface PipelineSummary {
|
|
|
809
855
|
name?: string;
|
|
810
856
|
version?: number;
|
|
811
857
|
pipelineType?: PipelineType;
|
|
858
|
+
executionMode?: ExecutionMode;
|
|
812
859
|
created?: Date;
|
|
813
860
|
updated?: Date;
|
|
814
861
|
}
|
|
@@ -1064,6 +1111,16 @@ export declare class StageNotRetryableException extends __BaseException {
|
|
|
1064
1111
|
opts: __ExceptionOptionType<StageNotRetryableException, __BaseException>
|
|
1065
1112
|
);
|
|
1066
1113
|
}
|
|
1114
|
+
export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
|
|
1115
|
+
readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
|
|
1116
|
+
readonly $fault: "client";
|
|
1117
|
+
constructor(
|
|
1118
|
+
opts: __ExceptionOptionType<
|
|
1119
|
+
ConcurrentPipelineExecutionsLimitExceededException,
|
|
1120
|
+
__BaseException
|
|
1121
|
+
>
|
|
1122
|
+
);
|
|
1123
|
+
}
|
|
1067
1124
|
export declare const SourceRevisionType: {
|
|
1068
1125
|
readonly COMMIT_ID: "COMMIT_ID";
|
|
1069
1126
|
readonly IMAGE_DIGEST: "IMAGE_DIGEST";
|