cdk-lambda-subminute 2.0.456 → 2.0.458

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 (30) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +7 -1
  5. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +33 -33
  6. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +442 -94
  7. package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.paginators.json +6 -0
  8. package/node_modules/aws-sdk/apis/elasticloadbalancing-2012-06-01.min.json +7 -1
  9. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +4 -1
  10. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +7 -1
  11. package/node_modules/aws-sdk/apis/memorydb-2021-01-01.min.json +7 -1
  12. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +374 -346
  13. package/node_modules/aws-sdk/apis/rolesanywhere-2018-05-10.min.json +16 -1
  14. package/node_modules/aws-sdk/apis/tnb-2008-10-21.min.json +90 -23
  15. package/node_modules/aws-sdk/clients/appstream.d.ts +8 -8
  16. package/node_modules/aws-sdk/clients/autoscaling.d.ts +4 -3
  17. package/node_modules/aws-sdk/clients/codepipeline.d.ts +481 -1
  18. package/node_modules/aws-sdk/clients/elasticache.d.ts +196 -196
  19. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +45 -5
  20. package/node_modules/aws-sdk/clients/memorydb.d.ts +7 -7
  21. package/node_modules/aws-sdk/clients/rolesanywhere.d.ts +12 -0
  22. package/node_modules/aws-sdk/clients/tnb.d.ts +95 -18
  23. package/node_modules/aws-sdk/clients/workspaces.d.ts +7 -7
  24. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  25. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +12 -12
  26. package/node_modules/aws-sdk/dist/aws-sdk.js +498 -132
  27. package/node_modules/aws-sdk/dist/aws-sdk.min.js +93 -92
  28. package/node_modules/aws-sdk/lib/core.js +1 -1
  29. package/node_modules/aws-sdk/package.json +1 -1
  30. package/package.json +3 -3
@@ -171,6 +171,22 @@ declare class CodePipeline extends Service {
171
171
  * Gets a summary of all of the pipelines associated with your account.
172
172
  */
173
173
  listPipelines(callback?: (err: AWSError, data: CodePipeline.Types.ListPipelinesOutput) => void): Request<CodePipeline.Types.ListPipelinesOutput, AWSError>;
174
+ /**
175
+ * Lists the rule executions that have occurred in a pipeline configured for conditions with rules.
176
+ */
177
+ listRuleExecutions(params: CodePipeline.Types.ListRuleExecutionsInput, callback?: (err: AWSError, data: CodePipeline.Types.ListRuleExecutionsOutput) => void): Request<CodePipeline.Types.ListRuleExecutionsOutput, AWSError>;
178
+ /**
179
+ * Lists the rule executions that have occurred in a pipeline configured for conditions with rules.
180
+ */
181
+ listRuleExecutions(callback?: (err: AWSError, data: CodePipeline.Types.ListRuleExecutionsOutput) => void): Request<CodePipeline.Types.ListRuleExecutionsOutput, AWSError>;
182
+ /**
183
+ * Lists the rules for the condition.
184
+ */
185
+ listRuleTypes(params: CodePipeline.Types.ListRuleTypesInput, callback?: (err: AWSError, data: CodePipeline.Types.ListRuleTypesOutput) => void): Request<CodePipeline.Types.ListRuleTypesOutput, AWSError>;
186
+ /**
187
+ * Lists the rules for the condition.
188
+ */
189
+ listRuleTypes(callback?: (err: AWSError, data: CodePipeline.Types.ListRuleTypesOutput) => void): Request<CodePipeline.Types.ListRuleTypesOutput, AWSError>;
174
190
  /**
175
191
  * Gets the set of key-value pairs (metadata) that are used to manage the resource.
176
192
  */
@@ -187,6 +203,14 @@ declare class CodePipeline extends Service {
187
203
  * Gets a listing of all the webhooks in this Amazon Web Services Region for this account. The output lists all webhooks and includes the webhook URL and ARN and the configuration for each webhook.
188
204
  */
189
205
  listWebhooks(callback?: (err: AWSError, data: CodePipeline.Types.ListWebhooksOutput) => void): Request<CodePipeline.Types.ListWebhooksOutput, AWSError>;
206
+ /**
207
+ * Used to override a stage condition.
208
+ */
209
+ overrideStageCondition(params: CodePipeline.Types.OverrideStageConditionInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
210
+ /**
211
+ * Used to override a stage condition.
212
+ */
213
+ overrideStageCondition(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
190
214
  /**
191
215
  * Returns information about any jobs for CodePipeline to act on. PollForJobs is valid only for action types with "Custom" in the owner field. If the action type contains AWS or ThirdParty in the owner field, the PollForJobs action returns an error. When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.
192
216
  */
@@ -981,6 +1005,12 @@ declare namespace CodePipeline {
981
1005
  export type ArtifactStoreLocation = string;
982
1006
  export type ArtifactStoreMap = {[key: string]: ArtifactStore};
983
1007
  export type ArtifactStoreType = "S3"|string;
1008
+ export interface BeforeEntryConditions {
1009
+ /**
1010
+ * The conditions that are configured as entry conditions.
1011
+ */
1012
+ conditions: ConditionList;
1013
+ }
984
1014
  export interface BlockerDeclaration {
985
1015
  /**
986
1016
  * Reserved for future use.
@@ -998,6 +1028,44 @@ declare namespace CodePipeline {
998
1028
  export type ClientRequestToken = string;
999
1029
  export type ClientToken = string;
1000
1030
  export type Code = string;
1031
+ export interface Condition {
1032
+ /**
1033
+ * The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
1034
+ */
1035
+ result?: Result;
1036
+ /**
1037
+ * The rules that make up the condition.
1038
+ */
1039
+ rules?: RuleDeclarationList;
1040
+ }
1041
+ export interface ConditionExecution {
1042
+ /**
1043
+ * The status of the run for a condition.
1044
+ */
1045
+ status?: ConditionExecutionStatus;
1046
+ /**
1047
+ * The summary of information about a run for a condition.
1048
+ */
1049
+ summary?: ExecutionSummary;
1050
+ /**
1051
+ * The last status change of the condition.
1052
+ */
1053
+ lastStatusChange?: Timestamp;
1054
+ }
1055
+ export type ConditionExecutionStatus = "InProgress"|"Failed"|"Errored"|"Succeeded"|"Cancelled"|"Abandoned"|"Overridden"|string;
1056
+ export type ConditionList = Condition[];
1057
+ export interface ConditionState {
1058
+ /**
1059
+ * The state of the latest run of the rule.
1060
+ */
1061
+ latestExecution?: ConditionExecution;
1062
+ /**
1063
+ * The state of the rules for the condition.
1064
+ */
1065
+ ruleStates?: RuleStateList;
1066
+ }
1067
+ export type ConditionStateList = ConditionState[];
1068
+ export type ConditionType = "BEFORE_ENTRY"|"ON_SUCCESS"|string;
1001
1069
  export type ContinuationToken = string;
1002
1070
  export interface CreateCustomActionTypeInput {
1003
1071
  /**
@@ -1220,6 +1288,10 @@ declare namespace CodePipeline {
1220
1288
  * The specified result for when the failure conditions are met, such as rolling back the stage.
1221
1289
  */
1222
1290
  result?: Result;
1291
+ /**
1292
+ * The conditions that are configured as failure conditions.
1293
+ */
1294
+ conditions?: ConditionList;
1223
1295
  }
1224
1296
  export interface FailureDetails {
1225
1297
  /**
@@ -1642,6 +1714,50 @@ declare namespace CodePipeline {
1642
1714
  */
1643
1715
  nextToken?: NextToken;
1644
1716
  }
1717
+ export interface ListRuleExecutionsInput {
1718
+ /**
1719
+ * The name of the pipeline for which you want to get execution summary information.
1720
+ */
1721
+ pipelineName: PipelineName;
1722
+ /**
1723
+ * Input information used to filter rule execution history.
1724
+ */
1725
+ filter?: RuleExecutionFilter;
1726
+ /**
1727
+ * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.
1728
+ */
1729
+ maxResults?: MaxResults;
1730
+ /**
1731
+ * The token that was returned from the previous ListRuleExecutions call, which can be used to return the next set of rule executions in the list.
1732
+ */
1733
+ nextToken?: NextToken;
1734
+ }
1735
+ export interface ListRuleExecutionsOutput {
1736
+ /**
1737
+ * Details about the output for listing rule executions.
1738
+ */
1739
+ ruleExecutionDetails?: RuleExecutionDetailList;
1740
+ /**
1741
+ * A token that can be used in the next ListRuleExecutions call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.
1742
+ */
1743
+ nextToken?: NextToken;
1744
+ }
1745
+ export interface ListRuleTypesInput {
1746
+ /**
1747
+ * The rule owner to filter on.
1748
+ */
1749
+ ruleOwnerFilter?: RuleOwner;
1750
+ /**
1751
+ * The rule Region to filter on.
1752
+ */
1753
+ regionFilter?: AWSRegionName;
1754
+ }
1755
+ export interface ListRuleTypesOutput {
1756
+ /**
1757
+ * Lists the rules that are configured for the condition.
1758
+ */
1759
+ ruleTypes: RuleTypeList;
1760
+ }
1645
1761
  export interface ListTagsForResourceInput {
1646
1762
  /**
1647
1763
  * The Amazon Resource Name (ARN) of the resource to get tags for.
@@ -1737,6 +1853,24 @@ declare namespace CodePipeline {
1737
1853
  export type OutputVariablesKey = string;
1738
1854
  export type OutputVariablesMap = {[key: string]: OutputVariablesValue};
1739
1855
  export type OutputVariablesValue = string;
1856
+ export interface OverrideStageConditionInput {
1857
+ /**
1858
+ * The name of the pipeline with the stage that will override the condition.
1859
+ */
1860
+ pipelineName: PipelineName;
1861
+ /**
1862
+ * The name of the stage for the override.
1863
+ */
1864
+ stageName: StageName;
1865
+ /**
1866
+ * The ID of the pipeline execution for the override.
1867
+ */
1868
+ pipelineExecutionId: PipelineExecutionId;
1869
+ /**
1870
+ * The type of condition to override for the stage, such as entry conditions, failure conditions, or success conditions.
1871
+ */
1872
+ conditionType: ConditionType;
1873
+ }
1740
1874
  export type Percentage = number;
1741
1875
  export type PipelineArn = string;
1742
1876
  export interface PipelineContext {
@@ -2199,8 +2333,9 @@ declare namespace CodePipeline {
2199
2333
  resolvedValue?: String;
2200
2334
  }
2201
2335
  export type ResolvedPipelineVariableList = ResolvedPipelineVariable[];
2336
+ export type ResolvedRuleConfigurationMap = {[key: string]: String};
2202
2337
  export type ResourceArn = string;
2203
- export type Result = "ROLLBACK"|string;
2338
+ export type Result = "ROLLBACK"|"FAIL"|string;
2204
2339
  export interface RetryStageExecutionInput {
2205
2340
  /**
2206
2341
  * The name of the pipeline that contains the failed stage.
@@ -2249,6 +2384,305 @@ declare namespace CodePipeline {
2249
2384
  */
2250
2385
  pipelineExecutionId: PipelineExecutionId;
2251
2386
  }
2387
+ export type RuleCategory = "Rule"|string;
2388
+ export type RuleConfigurationKey = string;
2389
+ export type RuleConfigurationMap = {[key: string]: RuleConfigurationValue};
2390
+ export interface RuleConfigurationProperty {
2391
+ /**
2392
+ * The name of the rule configuration property.
2393
+ */
2394
+ name: RuleConfigurationKey;
2395
+ /**
2396
+ * Whether the configuration property is a required value.
2397
+ */
2398
+ required: Boolean;
2399
+ /**
2400
+ * Whether the configuration property is a key.
2401
+ */
2402
+ key: Boolean;
2403
+ /**
2404
+ * Whether the configuration property is secret. When updating a pipeline, passing * * * * * without changing any other values of the action preserves the previous value of the secret.
2405
+ */
2406
+ secret: Boolean;
2407
+ /**
2408
+ * Indicates whether the property can be queried. If you create a pipeline with a condition and rule, and that rule contains a queryable property, the value for that configuration property is subject to other restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens.
2409
+ */
2410
+ queryable?: Boolean;
2411
+ /**
2412
+ * The description of the action configuration property that is displayed to users.
2413
+ */
2414
+ description?: Description;
2415
+ /**
2416
+ * The type of the configuration property.
2417
+ */
2418
+ type?: RuleConfigurationPropertyType;
2419
+ }
2420
+ export type RuleConfigurationPropertyList = RuleConfigurationProperty[];
2421
+ export type RuleConfigurationPropertyType = "String"|"Number"|"Boolean"|string;
2422
+ export type RuleConfigurationValue = string;
2423
+ export interface RuleDeclaration {
2424
+ /**
2425
+ * The name of the rule that is created for the condition, such as CheckAllResults.
2426
+ */
2427
+ name: RuleName;
2428
+ /**
2429
+ * The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
2430
+ */
2431
+ ruleTypeId: RuleTypeId;
2432
+ /**
2433
+ * The action configuration fields for the rule.
2434
+ */
2435
+ configuration?: RuleConfigurationMap;
2436
+ /**
2437
+ * The input artifacts fields for the rule, such as specifying an input file for the rule.
2438
+ */
2439
+ inputArtifacts?: InputArtifactList;
2440
+ /**
2441
+ * The pipeline role ARN associated with the rule.
2442
+ */
2443
+ roleArn?: RoleArn;
2444
+ /**
2445
+ * The Region for the condition associated with the rule.
2446
+ */
2447
+ region?: AWSRegionName;
2448
+ /**
2449
+ * The action timeout for the rule.
2450
+ */
2451
+ timeoutInMinutes?: RuleTimeout;
2452
+ }
2453
+ export type RuleDeclarationList = RuleDeclaration[];
2454
+ export interface RuleExecution {
2455
+ /**
2456
+ * The execution ID for the run of the rule.
2457
+ */
2458
+ ruleExecutionId?: RuleExecutionId;
2459
+ /**
2460
+ * The status of the run of the rule, such as FAILED.
2461
+ */
2462
+ status?: RuleExecutionStatus;
2463
+ /**
2464
+ * A summary of the run of the rule.
2465
+ */
2466
+ summary?: ExecutionSummary;
2467
+ /**
2468
+ * The last status change of the rule.
2469
+ */
2470
+ lastStatusChange?: Timestamp;
2471
+ /**
2472
+ * The system-generated token used to identify a unique request.
2473
+ */
2474
+ token?: RuleExecutionToken;
2475
+ /**
2476
+ * The ARN of the user who last changed the rule.
2477
+ */
2478
+ lastUpdatedBy?: LastUpdatedBy;
2479
+ /**
2480
+ * The external ID of the run of the rule.
2481
+ */
2482
+ externalExecutionId?: ExecutionId;
2483
+ /**
2484
+ * The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
2485
+ */
2486
+ externalExecutionUrl?: Url;
2487
+ errorDetails?: ErrorDetails;
2488
+ }
2489
+ export interface RuleExecutionDetail {
2490
+ /**
2491
+ * The ID of the pipeline execution in the stage where the rule was run. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the stage.
2492
+ */
2493
+ pipelineExecutionId?: PipelineExecutionId;
2494
+ /**
2495
+ * The ID of the run for the rule.
2496
+ */
2497
+ ruleExecutionId?: RuleExecutionId;
2498
+ /**
2499
+ * The version number of the pipeline with the stage where the rule was run.
2500
+ */
2501
+ pipelineVersion?: PipelineVersion;
2502
+ /**
2503
+ * The name of the stage where the rule was run.
2504
+ */
2505
+ stageName?: StageName;
2506
+ /**
2507
+ * The name of the rule that was run in the stage.
2508
+ */
2509
+ ruleName?: RuleName;
2510
+ /**
2511
+ * The start time of the rule execution.
2512
+ */
2513
+ startTime?: Timestamp;
2514
+ /**
2515
+ * The date and time of the last change to the rule execution, in timestamp format.
2516
+ */
2517
+ lastUpdateTime?: Timestamp;
2518
+ /**
2519
+ * The ARN of the user who changed the rule execution details.
2520
+ */
2521
+ updatedBy?: LastUpdatedBy;
2522
+ /**
2523
+ * The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.
2524
+ */
2525
+ status?: RuleExecutionStatus;
2526
+ /**
2527
+ * Input details for the rule execution, such as role ARN, Region, and input artifacts.
2528
+ */
2529
+ input?: RuleExecutionInput;
2530
+ /**
2531
+ * Output details for the rule execution, such as the rule execution result.
2532
+ */
2533
+ output?: RuleExecutionOutput;
2534
+ }
2535
+ export type RuleExecutionDetailList = RuleExecutionDetail[];
2536
+ export interface RuleExecutionFilter {
2537
+ /**
2538
+ * The pipeline execution ID used to filter rule execution history.
2539
+ */
2540
+ pipelineExecutionId?: PipelineExecutionId;
2541
+ latestInPipelineExecution?: LatestInPipelineExecutionFilter;
2542
+ }
2543
+ export type RuleExecutionId = string;
2544
+ export interface RuleExecutionInput {
2545
+ /**
2546
+ * The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
2547
+ */
2548
+ ruleTypeId?: RuleTypeId;
2549
+ /**
2550
+ * Configuration data for a rule execution, such as the resolved values for that run.
2551
+ */
2552
+ configuration?: RuleConfigurationMap;
2553
+ /**
2554
+ * Configuration data for a rule execution with all variable references replaced with their real values for the execution.
2555
+ */
2556
+ resolvedConfiguration?: ResolvedRuleConfigurationMap;
2557
+ /**
2558
+ * The ARN of the IAM service role that performs the declared rule. This is assumed through the roleArn for the pipeline.
2559
+ */
2560
+ roleArn?: RoleArn;
2561
+ /**
2562
+ * The Amazon Web Services Region for the rule, such as us-east-1.
2563
+ */
2564
+ region?: AWSRegionName;
2565
+ /**
2566
+ * Details of input artifacts of the rule that correspond to the rule execution.
2567
+ */
2568
+ inputArtifacts?: ArtifactDetailList;
2569
+ }
2570
+ export interface RuleExecutionOutput {
2571
+ /**
2572
+ * Execution result information listed in the output details for a rule execution.
2573
+ */
2574
+ executionResult?: RuleExecutionResult;
2575
+ }
2576
+ export interface RuleExecutionResult {
2577
+ /**
2578
+ * The external ID for the rule execution.
2579
+ */
2580
+ externalExecutionId?: ExternalExecutionId;
2581
+ /**
2582
+ * The external provider summary for the rule execution.
2583
+ */
2584
+ externalExecutionSummary?: ExternalExecutionSummary;
2585
+ /**
2586
+ * The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the rule.
2587
+ */
2588
+ externalExecutionUrl?: Url;
2589
+ errorDetails?: ErrorDetails;
2590
+ }
2591
+ export type RuleExecutionStatus = "InProgress"|"Abandoned"|"Succeeded"|"Failed"|string;
2592
+ export type RuleExecutionToken = string;
2593
+ export type RuleName = string;
2594
+ export type RuleOwner = "AWS"|string;
2595
+ export type RuleProvider = string;
2596
+ export interface RuleRevision {
2597
+ /**
2598
+ * The system-generated unique ID that identifies the revision number of the rule.
2599
+ */
2600
+ revisionId: Revision;
2601
+ /**
2602
+ * The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).
2603
+ */
2604
+ revisionChangeId: RevisionChangeIdentifier;
2605
+ /**
2606
+ * The date and time when the most recent version of the rule was created, in timestamp format.
2607
+ */
2608
+ created: Timestamp;
2609
+ }
2610
+ export interface RuleState {
2611
+ /**
2612
+ * The name of the rule.
2613
+ */
2614
+ ruleName?: RuleName;
2615
+ /**
2616
+ * The ID of the current revision of the artifact successfully worked on by the job.
2617
+ */
2618
+ currentRevision?: RuleRevision;
2619
+ /**
2620
+ * Represents information about the latest run of an rule.
2621
+ */
2622
+ latestExecution?: RuleExecution;
2623
+ /**
2624
+ * A URL link for more information about the state of the action, such as a details page.
2625
+ */
2626
+ entityUrl?: Url;
2627
+ /**
2628
+ * A URL link for more information about the revision, such as a commit details page.
2629
+ */
2630
+ revisionUrl?: Url;
2631
+ }
2632
+ export type RuleStateList = RuleState[];
2633
+ export type RuleTimeout = number;
2634
+ export interface RuleType {
2635
+ /**
2636
+ * Represents information about a rule type.
2637
+ */
2638
+ id: RuleTypeId;
2639
+ /**
2640
+ * Returns information about the settings for a rule type.
2641
+ */
2642
+ settings?: RuleTypeSettings;
2643
+ /**
2644
+ * The configuration properties for the rule type.
2645
+ */
2646
+ ruleConfigurationProperties?: RuleConfigurationPropertyList;
2647
+ inputArtifactDetails: ArtifactDetails;
2648
+ }
2649
+ export interface RuleTypeId {
2650
+ /**
2651
+ * A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values. INVOKE Approval Rule
2652
+ */
2653
+ category: RuleCategory;
2654
+ /**
2655
+ * The creator of the rule being called. The valid value for the Owner field in the rule category is AWS.
2656
+ */
2657
+ owner?: RuleOwner;
2658
+ /**
2659
+ * The provider of the service being called by the rule. Valid providers are determined by the rulecategory. For example, a managed rule in the Rule category type has an owner of AWS, which would be specified as AWS.
2660
+ */
2661
+ provider: RuleProvider;
2662
+ /**
2663
+ * A string that describes the rule version.
2664
+ */
2665
+ version?: Version;
2666
+ }
2667
+ export type RuleTypeList = RuleType[];
2668
+ export interface RuleTypeSettings {
2669
+ /**
2670
+ * The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.
2671
+ */
2672
+ thirdPartyConfigurationUrl?: Url;
2673
+ /**
2674
+ * The URL returned to the CodePipeline console that provides a deep link to the resources of the external system, such as the configuration page for a CodeDeploy deployment group. This link is provided as part of the action display in the pipeline.
2675
+ */
2676
+ entityUrlTemplate?: UrlTemplate;
2677
+ /**
2678
+ * The URL returned to the CodePipeline console that contains a link to the top-level landing page for the external system, such as the console page for CodeDeploy. This link is shown on the pipeline view page in the CodePipeline console and provides a link to the execution entity of the external action.
2679
+ */
2680
+ executionUrlTemplate?: UrlTemplate;
2681
+ /**
2682
+ * The URL returned to the CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.
2683
+ */
2684
+ revisionUrlTemplate?: UrlTemplate;
2685
+ }
2252
2686
  export interface S3ArtifactLocation {
2253
2687
  /**
2254
2688
  * The name of the S3 bucket.
@@ -2313,6 +2747,26 @@ declare namespace CodePipeline {
2313
2747
  export type SourceRevisionType = "COMMIT_ID"|"IMAGE_DIGEST"|"S3_OBJECT_VERSION_ID"|"S3_OBJECT_KEY"|string;
2314
2748
  export type StageActionDeclarationList = ActionDeclaration[];
2315
2749
  export type StageBlockerDeclarationList = BlockerDeclaration[];
2750
+ export interface StageConditionState {
2751
+ /**
2752
+ * Represents information about the latest run of a condition for a stage.
2753
+ */
2754
+ latestExecution?: StageConditionsExecution;
2755
+ /**
2756
+ * The states of the conditions for a run of a condition for a stage.
2757
+ */
2758
+ conditionStates?: ConditionStateList;
2759
+ }
2760
+ export interface StageConditionsExecution {
2761
+ /**
2762
+ * The status of a run of a condition for a stage.
2763
+ */
2764
+ status?: ConditionExecutionStatus;
2765
+ /**
2766
+ * A summary of the run of the condition for a stage.
2767
+ */
2768
+ summary?: ExecutionSummary;
2769
+ }
2316
2770
  export interface StageContext {
2317
2771
  /**
2318
2772
  * The name of the stage.
@@ -2336,6 +2790,14 @@ declare namespace CodePipeline {
2336
2790
  * The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
2337
2791
  */
2338
2792
  onFailure?: FailureConditions;
2793
+ /**
2794
+ * The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
2795
+ */
2796
+ onSuccess?: SuccessConditions;
2797
+ /**
2798
+ * The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
2799
+ */
2800
+ beforeEntry?: BeforeEntryConditions;
2339
2801
  }
2340
2802
  export interface StageExecution {
2341
2803
  /**
@@ -2377,6 +2839,18 @@ declare namespace CodePipeline {
2377
2839
  * Information about the latest execution in the stage, including its ID and status.
2378
2840
  */
2379
2841
  latestExecution?: StageExecution;
2842
+ /**
2843
+ * The state of the entry conditions for a stage.
2844
+ */
2845
+ beforeEntryConditionState?: StageConditionState;
2846
+ /**
2847
+ * The state of the success conditions for a stage.
2848
+ */
2849
+ onSuccessConditionState?: StageConditionState;
2850
+ /**
2851
+ * The state of the failure conditions for a stage.
2852
+ */
2853
+ onFailureConditionState?: StageConditionState;
2380
2854
  }
2381
2855
  export type StageStateList = StageState[];
2382
2856
  export type StageTransitionType = "Inbound"|"Outbound"|string;
@@ -2443,6 +2917,12 @@ declare namespace CodePipeline {
2443
2917
  */
2444
2918
  stageName?: StageName;
2445
2919
  }
2920
+ export interface SuccessConditions {
2921
+ /**
2922
+ * The conditions that are success conditions.
2923
+ */
2924
+ conditions: ConditionList;
2925
+ }
2446
2926
  export interface Tag {
2447
2927
  /**
2448
2928
  * The tag's key.