aws-sdk 2.1552.0 → 2.1554.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.
@@ -540,6 +540,10 @@ declare namespace CodePipeline {
540
540
  * The last update time of the action execution.
541
541
  */
542
542
  lastUpdateTime?: Timestamp;
543
+ /**
544
+ * The ARN of the user who changed the pipeline execution details.
545
+ */
546
+ updatedBy?: LastUpdatedBy;
543
547
  /**
544
548
  * The status of the action execution. Status categories are InProgress, Succeeded, and Failed.
545
549
  */
@@ -559,6 +563,10 @@ declare namespace CodePipeline {
559
563
  * The pipeline execution ID used to filter action execution history.
560
564
  */
561
565
  pipelineExecutionId?: PipelineExecutionId;
566
+ /**
567
+ * The latest execution in the pipeline. Filtering on the latest execution is available for executions run on or after February 08, 2024.
568
+ */
569
+ latestInPipelineExecution?: LatestInPipelineExecutionFilter;
562
570
  }
563
571
  export type ActionExecutionId = string;
564
572
  export interface ActionExecutionInput {
@@ -615,6 +623,7 @@ declare namespace CodePipeline {
615
623
  * The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the action.
616
624
  */
617
625
  externalExecutionUrl?: Url;
626
+ errorDetails?: ErrorDetails;
618
627
  }
619
628
  export type ActionExecutionStatus = "InProgress"|"Abandoned"|"Succeeded"|"Failed"|string;
620
629
  export type ActionExecutionToken = string;
@@ -1167,6 +1176,7 @@ declare namespace CodePipeline {
1167
1176
  percentComplete?: Percentage;
1168
1177
  }
1169
1178
  export type ExecutionId = string;
1179
+ export type ExecutionMode = "QUEUED"|"SUPERSEDED"|"PARALLEL"|string;
1170
1180
  export type ExecutionSummary = string;
1171
1181
  export interface ExecutionTrigger {
1172
1182
  /**
@@ -1322,21 +1332,74 @@ declare namespace CodePipeline {
1322
1332
  */
1323
1333
  jobDetails?: ThirdPartyJobDetails;
1324
1334
  }
1335
+ export interface GitBranchFilterCriteria {
1336
+ /**
1337
+ * The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
1338
+ */
1339
+ includes?: GitBranchPatternList;
1340
+ /**
1341
+ * The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
1342
+ */
1343
+ excludes?: GitBranchPatternList;
1344
+ }
1345
+ export type GitBranchNamePattern = string;
1346
+ export type GitBranchPatternList = GitBranchNamePattern[];
1325
1347
  export interface GitConfiguration {
1326
1348
  /**
1327
1349
  * The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only. You can only specify one trigger configuration per source action.
1328
1350
  */
1329
1351
  sourceActionName: ActionName;
1330
1352
  /**
1331
- * The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details. Git tags is the only supported event type.
1353
+ * The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
1332
1354
  */
1333
1355
  push?: GitPushFilterList;
1356
+ /**
1357
+ * The field where the repository event that will start the pipeline is specified as pull requests.
1358
+ */
1359
+ pullRequest?: GitPullRequestFilterList;
1360
+ }
1361
+ export interface GitFilePathFilterCriteria {
1362
+ /**
1363
+ * 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.
1364
+ */
1365
+ includes?: GitFilePathPatternList;
1366
+ /**
1367
+ * The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.
1368
+ */
1369
+ excludes?: GitFilePathPatternList;
1334
1370
  }
1371
+ export type GitFilePathPattern = string;
1372
+ export type GitFilePathPatternList = GitFilePathPattern[];
1373
+ export type GitPullRequestEventType = "OPEN"|"UPDATED"|"CLOSED"|string;
1374
+ export type GitPullRequestEventTypeList = GitPullRequestEventType[];
1375
+ export interface GitPullRequestFilter {
1376
+ /**
1377
+ * The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
1378
+ */
1379
+ events?: GitPullRequestEventTypeList;
1380
+ /**
1381
+ * The field that specifies to filter on branches for the pull request trigger configuration.
1382
+ */
1383
+ branches?: GitBranchFilterCriteria;
1384
+ /**
1385
+ * The field that specifies to filter on file paths for the pull request trigger configuration.
1386
+ */
1387
+ filePaths?: GitFilePathFilterCriteria;
1388
+ }
1389
+ export type GitPullRequestFilterList = GitPullRequestFilter[];
1335
1390
  export interface GitPushFilter {
1336
1391
  /**
1337
1392
  * The field that contains the details for the Git tags trigger configuration.
1338
1393
  */
1339
1394
  tags?: GitTagFilterCriteria;
1395
+ /**
1396
+ * The field that specifies to filter on branches for the push trigger configuration.
1397
+ */
1398
+ branches?: GitBranchFilterCriteria;
1399
+ /**
1400
+ * The field that specifies to filter on file paths for the push trigger configuration.
1401
+ */
1402
+ filePaths?: GitFilePathFilterCriteria;
1340
1403
  }
1341
1404
  export type GitPushFilterList = GitPushFilter[];
1342
1405
  export interface GitTagFilterCriteria {
@@ -1449,6 +1512,16 @@ declare namespace CodePipeline {
1449
1512
  export type LastChangedAt = Date;
1450
1513
  export type LastChangedBy = string;
1451
1514
  export type LastUpdatedBy = string;
1515
+ export interface LatestInPipelineExecutionFilter {
1516
+ /**
1517
+ * The execution ID for the latest execution in the pipeline.
1518
+ */
1519
+ pipelineExecutionId: PipelineExecutionId;
1520
+ /**
1521
+ * The start time to filter on for the latest execution in the pipeline. Valid options: All Latest
1522
+ */
1523
+ startTimeRange: StartTimeRange;
1524
+ }
1452
1525
  export interface ListActionExecutionsInput {
1453
1526
  /**
1454
1527
  * The name of the pipeline for which you want to list action execution history.
@@ -1690,17 +1763,21 @@ declare namespace CodePipeline {
1690
1763
  */
1691
1764
  version?: PipelineVersion;
1692
1765
  /**
1693
- * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?. V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
1766
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1694
1767
  */
1695
- pipelineType?: PipelineType;
1768
+ executionMode?: ExecutionMode;
1696
1769
  /**
1697
- * The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline. When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
1770
+ * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?.
1698
1771
  */
1699
- triggers?: PipelineTriggerDeclarationList;
1772
+ pipelineType?: PipelineType;
1700
1773
  /**
1701
1774
  * A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.
1702
1775
  */
1703
1776
  variables?: PipelineVariableDeclarationList;
1777
+ /**
1778
+ * The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline. When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
1779
+ */
1780
+ triggers?: PipelineTriggerDeclarationList;
1704
1781
  }
1705
1782
  export interface PipelineExecution {
1706
1783
  /**
@@ -1727,11 +1804,15 @@ declare namespace CodePipeline {
1727
1804
  * A list of ArtifactRevision objects included in a pipeline execution.
1728
1805
  */
1729
1806
  artifactRevisions?: ArtifactRevisionList;
1730
- trigger?: ExecutionTrigger;
1731
1807
  /**
1732
1808
  * A list of pipeline variables used for the pipeline execution.
1733
1809
  */
1734
1810
  variables?: ResolvedPipelineVariableList;
1811
+ trigger?: ExecutionTrigger;
1812
+ /**
1813
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1814
+ */
1815
+ executionMode?: ExecutionMode;
1735
1816
  }
1736
1817
  export type PipelineExecutionId = string;
1737
1818
  export type PipelineExecutionStatus = "Cancelled"|"InProgress"|"Stopped"|"Stopping"|"Succeeded"|"Superseded"|"Failed"|string;
@@ -1765,6 +1846,10 @@ declare namespace CodePipeline {
1765
1846
  * The interaction that stopped a pipeline execution.
1766
1847
  */
1767
1848
  stopTrigger?: StopExecutionTrigger;
1849
+ /**
1850
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1851
+ */
1852
+ executionMode?: ExecutionMode;
1768
1853
  }
1769
1854
  export type PipelineExecutionSummaryList = PipelineExecutionSummary[];
1770
1855
  export type PipelineList = PipelineSummary[];
@@ -1798,9 +1883,13 @@ declare namespace CodePipeline {
1798
1883
  */
1799
1884
  version?: PipelineVersion;
1800
1885
  /**
1801
- * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?. V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
1886
+ * CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see Pricing. For information about which type of pipeline to choose, see What type of pipeline is right for me?.
1802
1887
  */
1803
1888
  pipelineType?: PipelineType;
1889
+ /**
1890
+ * The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
1891
+ */
1892
+ executionMode?: ExecutionMode;
1804
1893
  /**
1805
1894
  * The date and time the pipeline was created, in timestamp format.
1806
1895
  */
@@ -2177,6 +2266,7 @@ declare namespace CodePipeline {
2177
2266
  */
2178
2267
  status: StageExecutionStatus;
2179
2268
  }
2269
+ export type StageExecutionList = StageExecution[];
2180
2270
  export type StageExecutionStatus = "Cancelled"|"InProgress"|"Failed"|"Stopped"|"Stopping"|"Succeeded"|string;
2181
2271
  export type StageName = string;
2182
2272
  export type StageRetryMode = "FAILED_ACTIONS"|"ALL_ACTIONS"|string;
@@ -2186,6 +2276,10 @@ declare namespace CodePipeline {
2186
2276
  */
2187
2277
  stageName?: StageName;
2188
2278
  inboundExecution?: StageExecution;
2279
+ /**
2280
+ * The inbound executions for a stage.
2281
+ */
2282
+ inboundExecutions?: StageExecutionList;
2189
2283
  /**
2190
2284
  * The state of the inbound transition, which is either enabled or disabled.
2191
2285
  */
@@ -2225,6 +2319,7 @@ declare namespace CodePipeline {
2225
2319
  */
2226
2320
  pipelineExecutionId?: PipelineExecutionId;
2227
2321
  }
2322
+ export type StartTimeRange = "Latest"|"All"|string;
2228
2323
  export interface StopExecutionTrigger {
2229
2324
  /**
2230
2325
  * The user-specified reason the pipeline was stopped.