@aws-sdk/client-codepipeline 3.620.1 → 3.622.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +386 -89
  3. package/dist-es/CodePipeline.js +6 -0
  4. package/dist-es/CodePipelineClient.js +12 -18
  5. package/dist-es/commands/ListRuleExecutionsCommand.js +24 -0
  6. package/dist-es/commands/ListRuleTypesCommand.js +24 -0
  7. package/dist-es/commands/OverrideStageConditionCommand.js +24 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +82 -39
  10. package/dist-es/pagination/ListRuleExecutionsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_json1_1.js +198 -14
  13. package/dist-types/CodePipeline.d.ts +22 -0
  14. package/dist-types/CodePipelineClient.d.ts +7 -6
  15. package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  16. package/dist-types/commands/CreatePipelineCommand.d.ts +172 -2
  17. package/dist-types/commands/GetPipelineCommand.d.ts +86 -1
  18. package/dist-types/commands/GetPipelineStateCommand.d.ts +123 -0
  19. package/dist-types/commands/ListRuleExecutionsCommand.d.ts +132 -0
  20. package/dist-types/commands/ListRuleTypesCommand.d.ts +98 -0
  21. package/dist-types/commands/OverrideStageConditionCommand.d.ts +85 -0
  22. package/dist-types/commands/PutActionRevisionCommand.d.ts +3 -0
  23. package/dist-types/commands/RetryStageExecutionCommand.d.ts +3 -0
  24. package/dist-types/commands/UpdatePipelineCommand.d.ts +172 -2
  25. package/dist-types/commands/index.d.ts +3 -0
  26. package/dist-types/models/models_0.d.ts +1019 -222
  27. package/dist-types/pagination/ListRuleExecutionsPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  30. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  31. package/dist-types/runtimeConfig.d.ts +2 -2
  32. package/dist-types/runtimeConfig.native.d.ts +2 -2
  33. package/dist-types/ts3.4/CodePipeline.d.ts +52 -0
  34. package/dist-types/ts3.4/CodePipelineClient.d.ts +24 -8
  35. package/dist-types/ts3.4/commands/ListRuleExecutionsCommand.d.ts +40 -0
  36. package/dist-types/ts3.4/commands/ListRuleTypesCommand.d.ts +36 -0
  37. package/dist-types/ts3.4/commands/OverrideStageConditionCommand.d.ts +35 -0
  38. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +228 -29
  40. package/dist-types/ts3.4/pagination/ListRuleExecutionsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
  46. package/package.json +11 -11
@@ -1509,6 +1509,151 @@ export interface AWSSessionCredentials {
1509
1509
  */
1510
1510
  sessionToken: string | undefined;
1511
1511
  }
1512
+ /**
1513
+ * @public
1514
+ * @enum
1515
+ */
1516
+ export declare const Result: {
1517
+ readonly FAIL: "FAIL";
1518
+ readonly ROLLBACK: "ROLLBACK";
1519
+ };
1520
+ /**
1521
+ * @public
1522
+ */
1523
+ export type Result = (typeof Result)[keyof typeof Result];
1524
+ /**
1525
+ * @public
1526
+ * @enum
1527
+ */
1528
+ export declare const RuleCategory: {
1529
+ readonly Rule: "Rule";
1530
+ };
1531
+ /**
1532
+ * @public
1533
+ */
1534
+ export type RuleCategory = (typeof RuleCategory)[keyof typeof RuleCategory];
1535
+ /**
1536
+ * @public
1537
+ * @enum
1538
+ */
1539
+ export declare const RuleOwner: {
1540
+ readonly AWS: "AWS";
1541
+ };
1542
+ /**
1543
+ * @public
1544
+ */
1545
+ export type RuleOwner = (typeof RuleOwner)[keyof typeof RuleOwner];
1546
+ /**
1547
+ * <p>The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.</p>
1548
+ * @public
1549
+ */
1550
+ export interface RuleTypeId {
1551
+ /**
1552
+ * <p>A category defines what kind of rule can be run in the stage, and constrains
1553
+ * the provider type for the rule. Valid categories are limited to one of the following
1554
+ * values. </p>
1555
+ * <ul>
1556
+ * <li>
1557
+ * <p>INVOKE</p>
1558
+ * </li>
1559
+ * <li>
1560
+ * <p>Approval</p>
1561
+ * </li>
1562
+ * <li>
1563
+ * <p>Rule</p>
1564
+ * </li>
1565
+ * </ul>
1566
+ * @public
1567
+ */
1568
+ category: RuleCategory | undefined;
1569
+ /**
1570
+ * <p>The creator of the rule being called. The valid value for the
1571
+ * <code>Owner</code> field in the rule category is <code>AWS</code>. </p>
1572
+ * @public
1573
+ */
1574
+ owner?: RuleOwner;
1575
+ /**
1576
+ * <p>The provider of the service being called by the rule. Valid providers are
1577
+ * determined by the rulecategory. For example, a managed rule in the Rule category type
1578
+ * has an owner of AWS, which would be specified as
1579
+ * <code>AWS</code>.</p>
1580
+ * @public
1581
+ */
1582
+ provider: string | undefined;
1583
+ /**
1584
+ * <p>A string that describes the rule version.</p>
1585
+ * @public
1586
+ */
1587
+ version?: string;
1588
+ }
1589
+ /**
1590
+ * <p>Represents information about the rule to be created for an associated condition. An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage.</p>
1591
+ * @public
1592
+ */
1593
+ export interface RuleDeclaration {
1594
+ /**
1595
+ * <p>The name of the rule that is created for the condition, such as CheckAllResults.</p>
1596
+ * @public
1597
+ */
1598
+ name: string | undefined;
1599
+ /**
1600
+ * <p>The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.</p>
1601
+ * @public
1602
+ */
1603
+ ruleTypeId: RuleTypeId | undefined;
1604
+ /**
1605
+ * <p>The action configuration fields for the rule.</p>
1606
+ * @public
1607
+ */
1608
+ configuration?: Record<string, string>;
1609
+ /**
1610
+ * <p>The input artifacts fields for the rule, such as specifying an input file for the rule.</p>
1611
+ * @public
1612
+ */
1613
+ inputArtifacts?: InputArtifact[];
1614
+ /**
1615
+ * <p>The pipeline role ARN associated with the rule.</p>
1616
+ * @public
1617
+ */
1618
+ roleArn?: string;
1619
+ /**
1620
+ * <p>The Region for the condition associated with the rule.</p>
1621
+ * @public
1622
+ */
1623
+ region?: string;
1624
+ /**
1625
+ * <p>The action timeout for the rule.</p>
1626
+ * @public
1627
+ */
1628
+ timeoutInMinutes?: number;
1629
+ }
1630
+ /**
1631
+ * <p>The condition for the stage. A condition is made up of the rules and the result for the condition.</p>
1632
+ * @public
1633
+ */
1634
+ export interface Condition {
1635
+ /**
1636
+ * <p>The action to be done when the condition is met. For example, rolling back an execution for a failure condition.</p>
1637
+ * @public
1638
+ */
1639
+ result?: Result;
1640
+ /**
1641
+ * <p>The rules that make up the condition.</p>
1642
+ * @public
1643
+ */
1644
+ rules?: RuleDeclaration[];
1645
+ }
1646
+ /**
1647
+ * <p>The conditions for making checks for entry to a stage. </p>
1648
+ * @public
1649
+ */
1650
+ export interface BeforeEntryConditions {
1651
+ /**
1652
+ * <p>The conditions that are configured as entry conditions.</p>
1653
+ * @public
1654
+ */
1655
+ conditions: Condition[] | undefined;
1656
+ }
1512
1657
  /**
1513
1658
  * @public
1514
1659
  * @enum
@@ -1697,17 +1842,6 @@ export declare const PipelineType: {
1697
1842
  * @public
1698
1843
  */
1699
1844
  export type PipelineType = (typeof PipelineType)[keyof typeof PipelineType];
1700
- /**
1701
- * @public
1702
- * @enum
1703
- */
1704
- export declare const Result: {
1705
- readonly ROLLBACK: "ROLLBACK";
1706
- };
1707
- /**
1708
- * @public
1709
- */
1710
- export type Result = (typeof Result)[keyof typeof Result];
1711
1845
  /**
1712
1846
  * <p>The configuration that specifies the result, such as rollback, to occur upon stage
1713
1847
  * failure. </p>
@@ -1720,6 +1854,22 @@ export interface FailureConditions {
1720
1854
  * @public
1721
1855
  */
1722
1856
  result?: Result;
1857
+ /**
1858
+ * <p>The conditions that are configured as failure conditions.</p>
1859
+ * @public
1860
+ */
1861
+ conditions?: Condition[];
1862
+ }
1863
+ /**
1864
+ * <p>The conditions for making checks that, if met, succeed a stage.</p>
1865
+ * @public
1866
+ */
1867
+ export interface SuccessConditions {
1868
+ /**
1869
+ * <p>The conditions that are success conditions.</p>
1870
+ * @public
1871
+ */
1872
+ conditions: Condition[] | undefined;
1723
1873
  }
1724
1874
  /**
1725
1875
  * <p>Represents information about a stage and its definition.</p>
@@ -1748,6 +1898,17 @@ export interface StageDeclaration {
1748
1898
  * @public
1749
1899
  */
1750
1900
  onFailure?: FailureConditions;
1901
+ /**
1902
+ * <p>The method to use when a stage has succeeded. For example,
1903
+ * configuring this field for conditions will allow the stage to succeed when the conditions are met.</p>
1904
+ * @public
1905
+ */
1906
+ onSuccess?: SuccessConditions;
1907
+ /**
1908
+ * <p>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.</p>
1909
+ * @public
1910
+ */
1911
+ beforeEntry?: BeforeEntryConditions;
1751
1912
  }
1752
1913
  /**
1753
1914
  * <p>The Git repository branches specified as filter criteria to start the
@@ -2878,174 +3039,401 @@ export interface GetPipelineStateInput {
2878
3039
  * @public
2879
3040
  * @enum
2880
3041
  */
2881
- export declare const StageExecutionStatus: {
3042
+ export declare const ConditionExecutionStatus: {
3043
+ readonly Abandoned: "Abandoned";
2882
3044
  readonly Cancelled: "Cancelled";
3045
+ readonly Errored: "Errored";
2883
3046
  readonly Failed: "Failed";
2884
3047
  readonly InProgress: "InProgress";
2885
- readonly Stopped: "Stopped";
2886
- readonly Stopping: "Stopping";
3048
+ readonly Overridden: "Overridden";
2887
3049
  readonly Succeeded: "Succeeded";
2888
3050
  };
2889
3051
  /**
2890
3052
  * @public
2891
3053
  */
2892
- export type StageExecutionStatus = (typeof StageExecutionStatus)[keyof typeof StageExecutionStatus];
3054
+ export type ConditionExecutionStatus = (typeof ConditionExecutionStatus)[keyof typeof ConditionExecutionStatus];
2893
3055
  /**
2894
- * <p>Represents information about the run of a stage.</p>
3056
+ * <p>The run of a condition.</p>
2895
3057
  * @public
2896
3058
  */
2897
- export interface StageExecution {
3059
+ export interface ConditionExecution {
2898
3060
  /**
2899
- * <p>The ID of the pipeline execution associated with the stage.</p>
3061
+ * <p>The status of the run for a condition.</p>
2900
3062
  * @public
2901
3063
  */
2902
- pipelineExecutionId: string | undefined;
3064
+ status?: ConditionExecutionStatus;
2903
3065
  /**
2904
- * <p>The status of the stage, or for a completed stage, the last status of the
2905
- * stage.</p>
2906
- * <note>
2907
- * <p>A status of cancelled means that the pipeline’s definition was updated before the
2908
- * stage execution could be completed.</p>
2909
- * </note>
3066
+ * <p>The summary of information about a run for a condition.</p>
2910
3067
  * @public
2911
3068
  */
2912
- status: StageExecutionStatus | undefined;
3069
+ summary?: string;
2913
3070
  /**
2914
- * <p>The type of pipeline execution for the stage, such as a rollback pipeline
2915
- * execution.</p>
3071
+ * <p>The last status change of the condition.</p>
2916
3072
  * @public
2917
3073
  */
2918
- type?: ExecutionType;
3074
+ lastStatusChange?: Date;
2919
3075
  }
2920
3076
  /**
2921
- * <p>Represents information about the state of transitions between one stage and another
2922
- * stage.</p>
3077
+ * <p>The change to a rule that creates a revision of the rule.</p>
2923
3078
  * @public
2924
3079
  */
2925
- export interface TransitionState {
2926
- /**
2927
- * <p>Whether the transition between stages is enabled (true) or disabled
2928
- * (false).</p>
2929
- * @public
2930
- */
2931
- enabled?: boolean;
3080
+ export interface RuleRevision {
2932
3081
  /**
2933
- * <p>The ID of the user who last changed the transition state.</p>
3082
+ * <p>The system-generated unique ID that identifies the revision number of the
3083
+ * rule.</p>
2934
3084
  * @public
2935
3085
  */
2936
- lastChangedBy?: string;
3086
+ revisionId: string | undefined;
2937
3087
  /**
2938
- * <p>The timestamp when the transition state was last changed.</p>
3088
+ * <p>The unique identifier of the change that set the state to this revision (for
3089
+ * example, a deployment ID or timestamp).</p>
2939
3090
  * @public
2940
3091
  */
2941
- lastChangedAt?: Date;
3092
+ revisionChangeId: string | undefined;
2942
3093
  /**
2943
- * <p>The user-specified reason why the transition between two stages of a pipeline was
2944
- * disabled.</p>
3094
+ * <p>The date and time when the most recent version of the rule was created, in
3095
+ * timestamp format.</p>
2945
3096
  * @public
2946
3097
  */
2947
- disabledReason?: string;
3098
+ created: Date | undefined;
2948
3099
  }
2949
3100
  /**
2950
- * <p>Represents information about the state of the stage.</p>
2951
3101
  * @public
3102
+ * @enum
2952
3103
  */
2953
- export interface StageState {
3104
+ export declare const RuleExecutionStatus: {
3105
+ readonly Abandoned: "Abandoned";
3106
+ readonly Failed: "Failed";
3107
+ readonly InProgress: "InProgress";
3108
+ readonly Succeeded: "Succeeded";
3109
+ };
3110
+ /**
3111
+ * @public
3112
+ */
3113
+ export type RuleExecutionStatus = (typeof RuleExecutionStatus)[keyof typeof RuleExecutionStatus];
3114
+ /**
3115
+ * <p>Represents information about each time a rule is run as part of the pipeline execution for a pipeline configured with conditions.</p>
3116
+ * @public
3117
+ */
3118
+ export interface RuleExecution {
2954
3119
  /**
2955
- * <p>The name of the stage.</p>
3120
+ * <p>The execution ID for the run of the rule.</p>
2956
3121
  * @public
2957
3122
  */
2958
- stageName?: string;
3123
+ ruleExecutionId?: string;
2959
3124
  /**
2960
- * <p>Represents information about the run of a stage.</p>
3125
+ * <p>The status of the run of the rule, such as FAILED.</p>
2961
3126
  * @public
2962
3127
  */
2963
- inboundExecution?: StageExecution;
3128
+ status?: RuleExecutionStatus;
2964
3129
  /**
2965
- * <p>The inbound executions for a stage.</p>
3130
+ * <p>A summary of the run of the rule.</p>
2966
3131
  * @public
2967
3132
  */
2968
- inboundExecutions?: StageExecution[];
3133
+ summary?: string;
2969
3134
  /**
2970
- * <p>The state of the inbound transition, which is either enabled or disabled.</p>
3135
+ * <p>The last status change of the rule.</p>
2971
3136
  * @public
2972
3137
  */
2973
- inboundTransitionState?: TransitionState;
3138
+ lastStatusChange?: Date;
2974
3139
  /**
2975
- * <p>The state of the stage.</p>
3140
+ * <p>The system-generated token used to identify a unique request.</p>
2976
3141
  * @public
2977
3142
  */
2978
- actionStates?: ActionState[];
3143
+ token?: string;
2979
3144
  /**
2980
- * <p>Information about the latest execution in the stage, including its ID and
2981
- * status.</p>
3145
+ * <p>The ARN of the user who last changed the rule.</p>
2982
3146
  * @public
2983
3147
  */
2984
- latestExecution?: StageExecution;
3148
+ lastUpdatedBy?: string;
3149
+ /**
3150
+ * <p>The external ID of the run of the rule.</p>
3151
+ * @public
3152
+ */
3153
+ externalExecutionId?: string;
3154
+ /**
3155
+ * <p>The URL of a resource external to Amazon Web Services that is used when running the
3156
+ * rule (for example, an external repository URL).</p>
3157
+ * @public
3158
+ */
3159
+ externalExecutionUrl?: string;
3160
+ /**
3161
+ * <p>Represents information about an error in CodePipeline.</p>
3162
+ * @public
3163
+ */
3164
+ errorDetails?: ErrorDetails;
2985
3165
  }
2986
3166
  /**
2987
- * <p>Represents the output of a <code>GetPipelineState</code> action.</p>
3167
+ * <p>Returns information about the state of a rule.</p>
3168
+ * <note>
3169
+ * <p>Values returned in the <code>revisionId</code> field indicate the rule revision information, such as the commit ID, for the current state.</p>
3170
+ * </note>
2988
3171
  * @public
2989
3172
  */
2990
- export interface GetPipelineStateOutput {
3173
+ export interface RuleState {
2991
3174
  /**
2992
- * <p>The name of the pipeline for which you want to get the state.</p>
3175
+ * <p>The name of the rule.</p>
2993
3176
  * @public
2994
3177
  */
2995
- pipelineName?: string;
3178
+ ruleName?: string;
2996
3179
  /**
2997
- * <p>The version number of the pipeline.</p>
2998
- * <note>
2999
- * <p>A newly created pipeline is always assigned a version number of
3000
- * <code>1</code>.</p>
3001
- * </note>
3180
+ * <p>The ID of the current revision of the artifact successfully worked on by the
3181
+ * job.</p>
3002
3182
  * @public
3003
3183
  */
3004
- pipelineVersion?: number;
3184
+ currentRevision?: RuleRevision;
3005
3185
  /**
3006
- * <p>A list of the pipeline stage output information, including stage name, state, most
3007
- * recent run details, whether the stage is disabled, and other data.</p>
3186
+ * <p>Represents information about the latest run of an rule.</p>
3008
3187
  * @public
3009
3188
  */
3010
- stageStates?: StageState[];
3189
+ latestExecution?: RuleExecution;
3011
3190
  /**
3012
- * <p>The date and time the pipeline was created, in timestamp format.</p>
3191
+ * <p>A URL link for more information about the state of the action, such as a details page.</p>
3013
3192
  * @public
3014
3193
  */
3015
- created?: Date;
3194
+ entityUrl?: string;
3016
3195
  /**
3017
- * <p>The date and time the pipeline was last updated, in timestamp format.</p>
3196
+ * <p>A URL link for more information about the revision, such as a commit details
3197
+ * page.</p>
3018
3198
  * @public
3019
3199
  */
3020
- updated?: Date;
3200
+ revisionUrl?: string;
3021
3201
  }
3022
3202
  /**
3023
- * <p>Represents the input of a <code>GetThirdPartyJobDetails</code> action.</p>
3203
+ * <p>Information about the state of the condition.</p>
3024
3204
  * @public
3025
3205
  */
3026
- export interface GetThirdPartyJobDetailsInput {
3206
+ export interface ConditionState {
3027
3207
  /**
3028
- * <p>The unique system-generated ID used for identifying the job.</p>
3208
+ * <p>The state of the latest run of the rule.</p>
3029
3209
  * @public
3030
3210
  */
3031
- jobId: string | undefined;
3211
+ latestExecution?: ConditionExecution;
3032
3212
  /**
3033
- * <p>The clientToken portion of the clientId and clientToken pair used to verify that
3034
- * the calling entity is allowed access to the job and its details.</p>
3213
+ * <p>The state of the rules for the condition.</p>
3035
3214
  * @public
3036
3215
  */
3037
- clientToken: string | undefined;
3216
+ ruleStates?: RuleState[];
3038
3217
  }
3039
3218
  /**
3040
- * <p>Represents information about the job data for a partner action.</p>
3219
+ * <p>Represents information about the run of a condition for a stage.</p>
3041
3220
  * @public
3042
3221
  */
3043
- export interface ThirdPartyJobData {
3222
+ export interface StageConditionsExecution {
3044
3223
  /**
3045
- * <p>Represents information about an action type.</p>
3224
+ * <p>The status of a run of a condition for a stage.</p>
3046
3225
  * @public
3047
3226
  */
3048
- actionTypeId?: ActionTypeId;
3227
+ status?: ConditionExecutionStatus;
3228
+ /**
3229
+ * <p>A summary of the run of the condition for a stage.</p>
3230
+ * @public
3231
+ */
3232
+ summary?: string;
3233
+ }
3234
+ /**
3235
+ * <p>The state of a run of a condition for a stage.</p>
3236
+ * @public
3237
+ */
3238
+ export interface StageConditionState {
3239
+ /**
3240
+ * <p>Represents information about the latest run of a condition for a stage.</p>
3241
+ * @public
3242
+ */
3243
+ latestExecution?: StageConditionsExecution;
3244
+ /**
3245
+ * <p>The states of the conditions for a run of a condition for a stage.</p>
3246
+ * @public
3247
+ */
3248
+ conditionStates?: ConditionState[];
3249
+ }
3250
+ /**
3251
+ * @public
3252
+ * @enum
3253
+ */
3254
+ export declare const StageExecutionStatus: {
3255
+ readonly Cancelled: "Cancelled";
3256
+ readonly Failed: "Failed";
3257
+ readonly InProgress: "InProgress";
3258
+ readonly Stopped: "Stopped";
3259
+ readonly Stopping: "Stopping";
3260
+ readonly Succeeded: "Succeeded";
3261
+ };
3262
+ /**
3263
+ * @public
3264
+ */
3265
+ export type StageExecutionStatus = (typeof StageExecutionStatus)[keyof typeof StageExecutionStatus];
3266
+ /**
3267
+ * <p>Represents information about the run of a stage.</p>
3268
+ * @public
3269
+ */
3270
+ export interface StageExecution {
3271
+ /**
3272
+ * <p>The ID of the pipeline execution associated with the stage.</p>
3273
+ * @public
3274
+ */
3275
+ pipelineExecutionId: string | undefined;
3276
+ /**
3277
+ * <p>The status of the stage, or for a completed stage, the last status of the
3278
+ * stage.</p>
3279
+ * <note>
3280
+ * <p>A status of cancelled means that the pipeline’s definition was updated before the
3281
+ * stage execution could be completed.</p>
3282
+ * </note>
3283
+ * @public
3284
+ */
3285
+ status: StageExecutionStatus | undefined;
3286
+ /**
3287
+ * <p>The type of pipeline execution for the stage, such as a rollback pipeline
3288
+ * execution.</p>
3289
+ * @public
3290
+ */
3291
+ type?: ExecutionType;
3292
+ }
3293
+ /**
3294
+ * <p>Represents information about the state of transitions between one stage and another
3295
+ * stage.</p>
3296
+ * @public
3297
+ */
3298
+ export interface TransitionState {
3299
+ /**
3300
+ * <p>Whether the transition between stages is enabled (true) or disabled
3301
+ * (false).</p>
3302
+ * @public
3303
+ */
3304
+ enabled?: boolean;
3305
+ /**
3306
+ * <p>The ID of the user who last changed the transition state.</p>
3307
+ * @public
3308
+ */
3309
+ lastChangedBy?: string;
3310
+ /**
3311
+ * <p>The timestamp when the transition state was last changed.</p>
3312
+ * @public
3313
+ */
3314
+ lastChangedAt?: Date;
3315
+ /**
3316
+ * <p>The user-specified reason why the transition between two stages of a pipeline was
3317
+ * disabled.</p>
3318
+ * @public
3319
+ */
3320
+ disabledReason?: string;
3321
+ }
3322
+ /**
3323
+ * <p>Represents information about the state of the stage.</p>
3324
+ * @public
3325
+ */
3326
+ export interface StageState {
3327
+ /**
3328
+ * <p>The name of the stage.</p>
3329
+ * @public
3330
+ */
3331
+ stageName?: string;
3332
+ /**
3333
+ * <p>Represents information about the run of a stage.</p>
3334
+ * @public
3335
+ */
3336
+ inboundExecution?: StageExecution;
3337
+ /**
3338
+ * <p>The inbound executions for a stage.</p>
3339
+ * @public
3340
+ */
3341
+ inboundExecutions?: StageExecution[];
3342
+ /**
3343
+ * <p>The state of the inbound transition, which is either enabled or disabled.</p>
3344
+ * @public
3345
+ */
3346
+ inboundTransitionState?: TransitionState;
3347
+ /**
3348
+ * <p>The state of the stage.</p>
3349
+ * @public
3350
+ */
3351
+ actionStates?: ActionState[];
3352
+ /**
3353
+ * <p>Information about the latest execution in the stage, including its ID and
3354
+ * status.</p>
3355
+ * @public
3356
+ */
3357
+ latestExecution?: StageExecution;
3358
+ /**
3359
+ * <p>The state of the entry conditions for a stage.</p>
3360
+ * @public
3361
+ */
3362
+ beforeEntryConditionState?: StageConditionState;
3363
+ /**
3364
+ * <p>The state of the success conditions for a stage.</p>
3365
+ * @public
3366
+ */
3367
+ onSuccessConditionState?: StageConditionState;
3368
+ /**
3369
+ * <p>The state of the failure conditions for a stage.</p>
3370
+ * @public
3371
+ */
3372
+ onFailureConditionState?: StageConditionState;
3373
+ }
3374
+ /**
3375
+ * <p>Represents the output of a <code>GetPipelineState</code> action.</p>
3376
+ * @public
3377
+ */
3378
+ export interface GetPipelineStateOutput {
3379
+ /**
3380
+ * <p>The name of the pipeline for which you want to get the state.</p>
3381
+ * @public
3382
+ */
3383
+ pipelineName?: string;
3384
+ /**
3385
+ * <p>The version number of the pipeline.</p>
3386
+ * <note>
3387
+ * <p>A newly created pipeline is always assigned a version number of
3388
+ * <code>1</code>.</p>
3389
+ * </note>
3390
+ * @public
3391
+ */
3392
+ pipelineVersion?: number;
3393
+ /**
3394
+ * <p>A list of the pipeline stage output information, including stage name, state, most
3395
+ * recent run details, whether the stage is disabled, and other data.</p>
3396
+ * @public
3397
+ */
3398
+ stageStates?: StageState[];
3399
+ /**
3400
+ * <p>The date and time the pipeline was created, in timestamp format.</p>
3401
+ * @public
3402
+ */
3403
+ created?: Date;
3404
+ /**
3405
+ * <p>The date and time the pipeline was last updated, in timestamp format.</p>
3406
+ * @public
3407
+ */
3408
+ updated?: Date;
3409
+ }
3410
+ /**
3411
+ * <p>Represents the input of a <code>GetThirdPartyJobDetails</code> action.</p>
3412
+ * @public
3413
+ */
3414
+ export interface GetThirdPartyJobDetailsInput {
3415
+ /**
3416
+ * <p>The unique system-generated ID used for identifying the job.</p>
3417
+ * @public
3418
+ */
3419
+ jobId: string | undefined;
3420
+ /**
3421
+ * <p>The clientToken portion of the clientId and clientToken pair used to verify that
3422
+ * the calling entity is allowed access to the job and its details.</p>
3423
+ * @public
3424
+ */
3425
+ clientToken: string | undefined;
3426
+ }
3427
+ /**
3428
+ * <p>Represents information about the job data for a partner action.</p>
3429
+ * @public
3430
+ */
3431
+ export interface ThirdPartyJobData {
3432
+ /**
3433
+ * <p>Represents information about an action type.</p>
3434
+ * @public
3435
+ */
3436
+ actionTypeId?: ActionTypeId;
3049
3437
  /**
3050
3438
  * <p>Represents information about an action configuration.</p>
3051
3439
  * @public
@@ -3388,164 +3776,524 @@ export interface PipelineExecutionSummary {
3388
3776
  * <p>Status summary for the pipeline.</p>
3389
3777
  * @public
3390
3778
  */
3391
- statusSummary?: string;
3779
+ statusSummary?: string;
3780
+ /**
3781
+ * <p>The date and time when the pipeline execution began, in timestamp format.</p>
3782
+ * @public
3783
+ */
3784
+ startTime?: Date;
3785
+ /**
3786
+ * <p>The date and time of the last change to the pipeline execution, in timestamp
3787
+ * format.</p>
3788
+ * @public
3789
+ */
3790
+ lastUpdateTime?: Date;
3791
+ /**
3792
+ * <p>A list of the source artifact revisions that initiated a pipeline
3793
+ * execution.</p>
3794
+ * @public
3795
+ */
3796
+ sourceRevisions?: SourceRevision[];
3797
+ /**
3798
+ * <p>The interaction or event that started a pipeline execution, such as automated change
3799
+ * detection or a <code>StartPipelineExecution</code> API call.</p>
3800
+ * @public
3801
+ */
3802
+ trigger?: ExecutionTrigger;
3803
+ /**
3804
+ * <p>The interaction that stopped a pipeline execution.</p>
3805
+ * @public
3806
+ */
3807
+ stopTrigger?: StopExecutionTrigger;
3808
+ /**
3809
+ * <p>The method that the pipeline will use to handle multiple executions. The default
3810
+ * mode is SUPERSEDED.</p>
3811
+ * @public
3812
+ */
3813
+ executionMode?: ExecutionMode;
3814
+ /**
3815
+ * <p>Type of the pipeline execution.</p>
3816
+ * @public
3817
+ */
3818
+ executionType?: ExecutionType;
3819
+ /**
3820
+ * <p>The metadata for the stage execution to be rolled back.</p>
3821
+ * @public
3822
+ */
3823
+ rollbackMetadata?: PipelineRollbackMetadata;
3824
+ }
3825
+ /**
3826
+ * <p>Represents the output of a <code>ListPipelineExecutions</code> action.</p>
3827
+ * @public
3828
+ */
3829
+ export interface ListPipelineExecutionsOutput {
3830
+ /**
3831
+ * <p>A list of executions in the history of a pipeline.</p>
3832
+ * @public
3833
+ */
3834
+ pipelineExecutionSummaries?: PipelineExecutionSummary[];
3835
+ /**
3836
+ * <p>A token that can be used in the next <code>ListPipelineExecutions</code> call. To
3837
+ * view all items in the list, continue to call this operation with each subsequent token
3838
+ * until no more nextToken values are returned.</p>
3839
+ * @public
3840
+ */
3841
+ nextToken?: string;
3842
+ }
3843
+ /**
3844
+ * <p>Represents the input of a <code>ListPipelines</code> action.</p>
3845
+ * @public
3846
+ */
3847
+ export interface ListPipelinesInput {
3848
+ /**
3849
+ * <p>An identifier that was returned from the previous list pipelines call. It can be
3850
+ * used to return the next set of pipelines in the list.</p>
3851
+ * @public
3852
+ */
3853
+ nextToken?: string;
3854
+ /**
3855
+ * <p>The maximum number of pipelines to return in a single call. To retrieve the remaining
3856
+ * pipelines, make another call with the returned nextToken value. The minimum value you
3857
+ * can specify is 1. The maximum accepted value is 1000.</p>
3858
+ * @public
3859
+ */
3860
+ maxResults?: number;
3861
+ }
3862
+ /**
3863
+ * <p>Returns a summary of a pipeline.</p>
3864
+ * @public
3865
+ */
3866
+ export interface PipelineSummary {
3867
+ /**
3868
+ * <p>The name of the pipeline.</p>
3869
+ * @public
3870
+ */
3871
+ name?: string;
3872
+ /**
3873
+ * <p>The version number of the pipeline.</p>
3874
+ * @public
3875
+ */
3876
+ version?: number;
3877
+ /**
3878
+ * <p>CodePipeline provides the following pipeline types, which differ in
3879
+ * characteristics and price, so that you can tailor your pipeline features and cost to the
3880
+ * needs of your applications.</p>
3881
+ * <ul>
3882
+ * <li>
3883
+ * <p>V1 type pipelines have a JSON structure that contains standard pipeline,
3884
+ * stage, and action-level parameters.</p>
3885
+ * </li>
3886
+ * <li>
3887
+ * <p>V2 type pipelines have the same structure as a V1 type, along with additional
3888
+ * parameters for release safety and trigger configuration.</p>
3889
+ * </li>
3890
+ * </ul>
3891
+ * <important>
3892
+ * <p>Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when
3893
+ * creating or updating a pipeline will result in the pipeline having the V2 type of
3894
+ * pipeline and the associated costs.</p>
3895
+ * </important>
3896
+ * <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
3897
+ * <p> 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
3898
+ * pipeline is right for me?</a>.</p>
3899
+ * @public
3900
+ */
3901
+ pipelineType?: PipelineType;
3902
+ /**
3903
+ * <p>The method that the pipeline will use to handle multiple executions. The default
3904
+ * mode is SUPERSEDED.</p>
3905
+ * @public
3906
+ */
3907
+ executionMode?: ExecutionMode;
3908
+ /**
3909
+ * <p>The date and time the pipeline was created, in timestamp format.</p>
3910
+ * @public
3911
+ */
3912
+ created?: Date;
3913
+ /**
3914
+ * <p>The date and time of the last update to the pipeline, in timestamp
3915
+ * format.</p>
3916
+ * @public
3917
+ */
3918
+ updated?: Date;
3919
+ }
3920
+ /**
3921
+ * <p>Represents the output of a <code>ListPipelines</code> action.</p>
3922
+ * @public
3923
+ */
3924
+ export interface ListPipelinesOutput {
3925
+ /**
3926
+ * <p>The list of pipelines.</p>
3927
+ * @public
3928
+ */
3929
+ pipelines?: PipelineSummary[];
3930
+ /**
3931
+ * <p>If the amount of returned information is significantly large, an identifier is also
3932
+ * returned. It can be used in a subsequent list pipelines call to return the next set of
3933
+ * pipelines in the list.</p>
3934
+ * @public
3935
+ */
3936
+ nextToken?: string;
3937
+ }
3938
+ /**
3939
+ * <p>Filter values for the rule execution.</p>
3940
+ * @public
3941
+ */
3942
+ export interface RuleExecutionFilter {
3943
+ /**
3944
+ * <p>The pipeline execution ID used to filter rule execution history.</p>
3945
+ * @public
3946
+ */
3947
+ pipelineExecutionId?: string;
3948
+ /**
3949
+ * <p>The field that specifies to filter on the latest execution in the
3950
+ * pipeline.</p>
3951
+ * <note>
3952
+ * <p>Filtering on the latest execution is available for executions run on or after
3953
+ * February 08, 2024.</p>
3954
+ * </note>
3955
+ * @public
3956
+ */
3957
+ latestInPipelineExecution?: LatestInPipelineExecutionFilter;
3958
+ }
3959
+ /**
3960
+ * @public
3961
+ */
3962
+ export interface ListRuleExecutionsInput {
3963
+ /**
3964
+ * <p>The name of the pipeline for which you want to get execution summary
3965
+ * information.</p>
3966
+ * @public
3967
+ */
3968
+ pipelineName: string | undefined;
3969
+ /**
3970
+ * <p>Input information used to filter rule execution history.</p>
3971
+ * @public
3972
+ */
3973
+ filter?: RuleExecutionFilter;
3974
+ /**
3975
+ * <p>The maximum number of results to return in a single call. To retrieve the remaining
3976
+ * results, make another call with the returned nextToken value. Pipeline history is
3977
+ * limited to the most recent 12 months, based on pipeline execution start times. Default
3978
+ * value is 100.</p>
3979
+ * @public
3980
+ */
3981
+ maxResults?: number;
3982
+ /**
3983
+ * <p>The token that was returned from the previous <code>ListRuleExecutions</code>
3984
+ * call, which can be used to return the next set of rule executions in the
3985
+ * list.</p>
3986
+ * @public
3987
+ */
3988
+ nextToken?: string;
3989
+ }
3990
+ /**
3991
+ * <p>Input information used for a rule execution.</p>
3992
+ * @public
3993
+ */
3994
+ export interface RuleExecutionInput {
3995
+ /**
3996
+ * <p>The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.</p>
3997
+ * @public
3998
+ */
3999
+ ruleTypeId?: RuleTypeId;
4000
+ /**
4001
+ * <p>Configuration data for a rule execution, such as the resolved values for that run.</p>
4002
+ * @public
4003
+ */
4004
+ configuration?: Record<string, string>;
4005
+ /**
4006
+ * <p>Configuration data for a rule execution with all variable references replaced with
4007
+ * their real values for the execution.</p>
4008
+ * @public
4009
+ */
4010
+ resolvedConfiguration?: Record<string, string>;
4011
+ /**
4012
+ * <p>The ARN of the IAM service role that performs the declared rule. This is assumed
4013
+ * through the roleArn for the pipeline.</p>
4014
+ * @public
4015
+ */
4016
+ roleArn?: string;
4017
+ /**
4018
+ * <p>The Amazon Web Services Region for the rule, such as us-east-1.</p>
4019
+ * @public
4020
+ */
4021
+ region?: string;
4022
+ /**
4023
+ * <p>Details of input artifacts of the rule that correspond to the rule
4024
+ * execution.</p>
4025
+ * @public
4026
+ */
4027
+ inputArtifacts?: ArtifactDetail[];
4028
+ }
4029
+ /**
4030
+ * <p>Execution result information, such as the external execution ID.</p>
4031
+ * @public
4032
+ */
4033
+ export interface RuleExecutionResult {
4034
+ /**
4035
+ * <p>The external ID for the rule execution.</p>
4036
+ * @public
4037
+ */
4038
+ externalExecutionId?: string;
4039
+ /**
4040
+ * <p>The external provider summary for the rule execution.</p>
4041
+ * @public
4042
+ */
4043
+ externalExecutionSummary?: string;
4044
+ /**
4045
+ * <p>The deepest external link to the external resource (for example, a repository URL or
4046
+ * deployment endpoint) that is used when running the rule.</p>
4047
+ * @public
4048
+ */
4049
+ externalExecutionUrl?: string;
4050
+ /**
4051
+ * <p>Represents information about an error in CodePipeline.</p>
4052
+ * @public
4053
+ */
4054
+ errorDetails?: ErrorDetails;
4055
+ }
4056
+ /**
4057
+ * <p>Output details listed for a rule execution, such as the rule execution
4058
+ * result.</p>
4059
+ * @public
4060
+ */
4061
+ export interface RuleExecutionOutput {
4062
+ /**
4063
+ * <p>Execution result information listed in the output details for a rule
4064
+ * execution.</p>
4065
+ * @public
4066
+ */
4067
+ executionResult?: RuleExecutionResult;
4068
+ }
4069
+ /**
4070
+ * <p>The details of the runs for a rule and the results produced on an artifact as it passes
4071
+ * through stages in the pipeline.</p>
4072
+ * @public
4073
+ */
4074
+ export interface RuleExecutionDetail {
4075
+ /**
4076
+ * <p>The ID of the pipeline execution in the stage where the rule was run. Use the <a>GetPipelineState</a> action to retrieve the current pipelineExecutionId of
4077
+ * the stage.</p>
4078
+ * @public
4079
+ */
4080
+ pipelineExecutionId?: string;
4081
+ /**
4082
+ * <p>The ID of the run for the rule.</p>
4083
+ * @public
4084
+ */
4085
+ ruleExecutionId?: string;
4086
+ /**
4087
+ * <p>The version number of the pipeline with the stage where the rule was run.</p>
4088
+ * @public
4089
+ */
4090
+ pipelineVersion?: number;
4091
+ /**
4092
+ * <p>The name of the stage where the rule was run.</p>
4093
+ * @public
4094
+ */
4095
+ stageName?: string;
4096
+ /**
4097
+ * <p>The name of the rule that was run in the stage.</p>
4098
+ * @public
4099
+ */
4100
+ ruleName?: string;
4101
+ /**
4102
+ * <p>The start time of the rule execution.</p>
4103
+ * @public
4104
+ */
4105
+ startTime?: Date;
4106
+ /**
4107
+ * <p>The date and time of the last change to the rule execution, in timestamp
4108
+ * format.</p>
4109
+ * @public
4110
+ */
4111
+ lastUpdateTime?: Date;
4112
+ /**
4113
+ * <p>The ARN of the user who changed the rule execution details.</p>
4114
+ * @public
4115
+ */
4116
+ updatedBy?: string;
4117
+ /**
4118
+ * <p>The status of the rule execution. Status categories are <code>InProgress</code>,
4119
+ * <code>Succeeded</code>, and <code>Failed</code>.
4120
+ * </p>
4121
+ * @public
4122
+ */
4123
+ status?: RuleExecutionStatus;
4124
+ /**
4125
+ * <p>Input details for the rule execution, such as role ARN, Region, and input
4126
+ * artifacts.</p>
4127
+ * @public
4128
+ */
4129
+ input?: RuleExecutionInput;
4130
+ /**
4131
+ * <p>Output details for the rule execution, such as the rule execution result.</p>
4132
+ * @public
4133
+ */
4134
+ output?: RuleExecutionOutput;
4135
+ }
4136
+ /**
4137
+ * @public
4138
+ */
4139
+ export interface ListRuleExecutionsOutput {
4140
+ /**
4141
+ * <p>Details about the output for listing rule executions.</p>
4142
+ * @public
4143
+ */
4144
+ ruleExecutionDetails?: RuleExecutionDetail[];
4145
+ /**
4146
+ * <p>A token that can be used in the next <code>ListRuleExecutions</code> call. To
4147
+ * view all items in the list, continue to call this operation with each subsequent token
4148
+ * until no more nextToken values are returned.</p>
4149
+ * @public
4150
+ */
4151
+ nextToken?: string;
4152
+ }
4153
+ /**
4154
+ * @public
4155
+ */
4156
+ export interface ListRuleTypesInput {
4157
+ /**
4158
+ * <p>The rule owner to filter on.</p>
4159
+ * @public
4160
+ */
4161
+ ruleOwnerFilter?: RuleOwner;
3392
4162
  /**
3393
- * <p>The date and time when the pipeline execution began, in timestamp format.</p>
4163
+ * <p>The rule Region to filter on.</p>
3394
4164
  * @public
3395
4165
  */
3396
- startTime?: Date;
4166
+ regionFilter?: string;
4167
+ }
4168
+ /**
4169
+ * @public
4170
+ * @enum
4171
+ */
4172
+ export declare const RuleConfigurationPropertyType: {
4173
+ readonly Boolean: "Boolean";
4174
+ readonly Number: "Number";
4175
+ readonly String: "String";
4176
+ };
4177
+ /**
4178
+ * @public
4179
+ */
4180
+ export type RuleConfigurationPropertyType = (typeof RuleConfigurationPropertyType)[keyof typeof RuleConfigurationPropertyType];
4181
+ /**
4182
+ * <p>Represents information about a rule configuration property.</p>
4183
+ * @public
4184
+ */
4185
+ export interface RuleConfigurationProperty {
3397
4186
  /**
3398
- * <p>The date and time of the last change to the pipeline execution, in timestamp
3399
- * format.</p>
4187
+ * <p>The name of the rule configuration property.</p>
3400
4188
  * @public
3401
4189
  */
3402
- lastUpdateTime?: Date;
4190
+ name: string | undefined;
3403
4191
  /**
3404
- * <p>A list of the source artifact revisions that initiated a pipeline
3405
- * execution.</p>
4192
+ * <p>Whether the configuration property is a required value.</p>
3406
4193
  * @public
3407
4194
  */
3408
- sourceRevisions?: SourceRevision[];
4195
+ required: boolean | undefined;
3409
4196
  /**
3410
- * <p>The interaction or event that started a pipeline execution, such as automated change
3411
- * detection or a <code>StartPipelineExecution</code> API call.</p>
4197
+ * <p>Whether the configuration property is a key.</p>
3412
4198
  * @public
3413
4199
  */
3414
- trigger?: ExecutionTrigger;
4200
+ key: boolean | undefined;
3415
4201
  /**
3416
- * <p>The interaction that stopped a pipeline execution.</p>
4202
+ * <p>Whether the configuration property is secret.</p>
4203
+ * <p>When updating a pipeline, passing * * * * * without changing any other values of
4204
+ * the action preserves the previous value of the secret.</p>
3417
4205
  * @public
3418
4206
  */
3419
- stopTrigger?: StopExecutionTrigger;
4207
+ secret: boolean | undefined;
3420
4208
  /**
3421
- * <p>The method that the pipeline will use to handle multiple executions. The default
3422
- * mode is SUPERSEDED.</p>
4209
+ * <p>Indicates whether the property can be queried.</p>
4210
+ * <p>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
4211
+ * restrictions. The value must be less than or equal to twenty (20) characters. The value
4212
+ * can contain only alphanumeric characters, underscores, and hyphens.</p>
3423
4213
  * @public
3424
4214
  */
3425
- executionMode?: ExecutionMode;
4215
+ queryable?: boolean;
3426
4216
  /**
3427
- * <p>Type of the pipeline execution.</p>
4217
+ * <p>The description of the action configuration property that is displayed to
4218
+ * users.</p>
3428
4219
  * @public
3429
4220
  */
3430
- executionType?: ExecutionType;
4221
+ description?: string;
3431
4222
  /**
3432
- * <p>The metadata for the stage execution to be rolled back.</p>
4223
+ * <p>The type of the configuration property.</p>
3433
4224
  * @public
3434
4225
  */
3435
- rollbackMetadata?: PipelineRollbackMetadata;
4226
+ type?: RuleConfigurationPropertyType;
3436
4227
  }
3437
4228
  /**
3438
- * <p>Represents the output of a <code>ListPipelineExecutions</code> action.</p>
4229
+ * <p>Returns information about the settings for a rule type.</p>
3439
4230
  * @public
3440
4231
  */
3441
- export interface ListPipelineExecutionsOutput {
4232
+ export interface RuleTypeSettings {
3442
4233
  /**
3443
- * <p>A list of executions in the history of a pipeline.</p>
4234
+ * <p>The URL of a sign-up page where users can sign up for an external service and
4235
+ * perform initial configuration of the action provided by that service.</p>
3444
4236
  * @public
3445
4237
  */
3446
- pipelineExecutionSummaries?: PipelineExecutionSummary[];
4238
+ thirdPartyConfigurationUrl?: string;
3447
4239
  /**
3448
- * <p>A token that can be used in the next <code>ListPipelineExecutions</code> call. To
3449
- * view all items in the list, continue to call this operation with each subsequent token
3450
- * until no more nextToken values are returned.</p>
4240
+ * <p>The URL returned to the CodePipeline console that provides a deep link to the
4241
+ * resources of the external system, such as the configuration page for a CodeDeploy
4242
+ * deployment group. This link is provided as part of the action display in the
4243
+ * pipeline.</p>
3451
4244
  * @public
3452
4245
  */
3453
- nextToken?: string;
3454
- }
3455
- /**
3456
- * <p>Represents the input of a <code>ListPipelines</code> action.</p>
3457
- * @public
3458
- */
3459
- export interface ListPipelinesInput {
4246
+ entityUrlTemplate?: string;
3460
4247
  /**
3461
- * <p>An identifier that was returned from the previous list pipelines call. It can be
3462
- * used to return the next set of pipelines in the list.</p>
4248
+ * <p>The URL returned to the CodePipeline console that contains a link to the
4249
+ * top-level landing page for the external system, such as the console page for CodeDeploy.
4250
+ * This link is shown on the pipeline view page in the CodePipeline console and
4251
+ * provides a link to the execution entity of the external action.</p>
3463
4252
  * @public
3464
4253
  */
3465
- nextToken?: string;
4254
+ executionUrlTemplate?: string;
3466
4255
  /**
3467
- * <p>The maximum number of pipelines to return in a single call. To retrieve the remaining
3468
- * pipelines, make another call with the returned nextToken value. The minimum value you
3469
- * can specify is 1. The maximum accepted value is 1000.</p>
4256
+ * <p>The URL returned to the CodePipeline console that contains a link to the page
4257
+ * where customers can update or change the configuration of the external action.</p>
3470
4258
  * @public
3471
4259
  */
3472
- maxResults?: number;
4260
+ revisionUrlTemplate?: string;
3473
4261
  }
3474
4262
  /**
3475
- * <p>Returns a summary of a pipeline.</p>
4263
+ * <p>The rule type, which is made up of the combined values for category, owner, provider, and version.</p>
3476
4264
  * @public
3477
4265
  */
3478
- export interface PipelineSummary {
3479
- /**
3480
- * <p>The name of the pipeline.</p>
3481
- * @public
3482
- */
3483
- name?: string;
4266
+ export interface RuleType {
3484
4267
  /**
3485
- * <p>The version number of the pipeline.</p>
3486
- * @public
3487
- */
3488
- version?: number;
3489
- /**
3490
- * <p>CodePipeline provides the following pipeline types, which differ in
3491
- * characteristics and price, so that you can tailor your pipeline features and cost to the
3492
- * needs of your applications.</p>
3493
- * <ul>
3494
- * <li>
3495
- * <p>V1 type pipelines have a JSON structure that contains standard pipeline,
3496
- * stage, and action-level parameters.</p>
3497
- * </li>
3498
- * <li>
3499
- * <p>V2 type pipelines have the same structure as a V1 type, along with additional
3500
- * parameters for release safety and trigger configuration.</p>
3501
- * </li>
3502
- * </ul>
3503
- * <important>
3504
- * <p>Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when
3505
- * creating or updating a pipeline will result in the pipeline having the V2 type of
3506
- * pipeline and the associated costs.</p>
3507
- * </important>
3508
- * <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
3509
- * <p> 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
3510
- * pipeline is right for me?</a>.</p>
4268
+ * <p>Represents information about a rule type.</p>
3511
4269
  * @public
3512
4270
  */
3513
- pipelineType?: PipelineType;
4271
+ id: RuleTypeId | undefined;
3514
4272
  /**
3515
- * <p>The method that the pipeline will use to handle multiple executions. The default
3516
- * mode is SUPERSEDED.</p>
4273
+ * <p>Returns information about the settings for a rule type.</p>
3517
4274
  * @public
3518
4275
  */
3519
- executionMode?: ExecutionMode;
4276
+ settings?: RuleTypeSettings;
3520
4277
  /**
3521
- * <p>The date and time the pipeline was created, in timestamp format.</p>
4278
+ * <p>The configuration properties for the rule type.</p>
3522
4279
  * @public
3523
4280
  */
3524
- created?: Date;
4281
+ ruleConfigurationProperties?: RuleConfigurationProperty[];
3525
4282
  /**
3526
- * <p>The date and time of the last update to the pipeline, in timestamp
3527
- * format.</p>
4283
+ * <p>Returns information about the details of an artifact.</p>
3528
4284
  * @public
3529
4285
  */
3530
- updated?: Date;
4286
+ inputArtifactDetails: ArtifactDetails | undefined;
3531
4287
  }
3532
4288
  /**
3533
- * <p>Represents the output of a <code>ListPipelines</code> action.</p>
3534
4289
  * @public
3535
4290
  */
3536
- export interface ListPipelinesOutput {
3537
- /**
3538
- * <p>The list of pipelines.</p>
3539
- * @public
3540
- */
3541
- pipelines?: PipelineSummary[];
4291
+ export interface ListRuleTypesOutput {
3542
4292
  /**
3543
- * <p>If the amount of returned information is significantly large, an identifier is also
3544
- * returned. It can be used in a subsequent list pipelines call to return the next set of
3545
- * pipelines in the list.</p>
4293
+ * <p>Lists the rules that are configured for the condition.</p>
3546
4294
  * @public
3547
4295
  */
3548
- nextToken?: string;
4296
+ ruleTypes: RuleType[] | undefined;
3549
4297
  }
3550
4298
  /**
3551
4299
  * <p>The specified resource ARN is invalid.</p>
@@ -3812,6 +4560,94 @@ export interface ListWebhooksOutput {
3812
4560
  */
3813
4561
  NextToken?: string;
3814
4562
  }
4563
+ /**
4564
+ * <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
4565
+ * @public
4566
+ */
4567
+ export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
4568
+ readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
4569
+ readonly $fault: "client";
4570
+ /**
4571
+ * @internal
4572
+ */
4573
+ constructor(opts: __ExceptionOptionType<ConcurrentPipelineExecutionsLimitExceededException, __BaseException>);
4574
+ }
4575
+ /**
4576
+ * <p>Unable to override because the condition does not allow overrides.</p>
4577
+ * @public
4578
+ */
4579
+ export declare class ConditionNotOverridableException extends __BaseException {
4580
+ readonly name: "ConditionNotOverridableException";
4581
+ readonly $fault: "client";
4582
+ /**
4583
+ * @internal
4584
+ */
4585
+ constructor(opts: __ExceptionOptionType<ConditionNotOverridableException, __BaseException>);
4586
+ }
4587
+ /**
4588
+ * <p>Your request cannot be handled because the pipeline is busy handling ongoing
4589
+ * activities. Try again later.</p>
4590
+ * @public
4591
+ */
4592
+ export declare class ConflictException extends __BaseException {
4593
+ readonly name: "ConflictException";
4594
+ readonly $fault: "client";
4595
+ /**
4596
+ * @internal
4597
+ */
4598
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
4599
+ }
4600
+ /**
4601
+ * <p>The stage has failed in a later run of the pipeline and the
4602
+ * <code>pipelineExecutionId</code> associated with the request is out of
4603
+ * date.</p>
4604
+ * @public
4605
+ */
4606
+ export declare class NotLatestPipelineExecutionException extends __BaseException {
4607
+ readonly name: "NotLatestPipelineExecutionException";
4608
+ readonly $fault: "client";
4609
+ /**
4610
+ * @internal
4611
+ */
4612
+ constructor(opts: __ExceptionOptionType<NotLatestPipelineExecutionException, __BaseException>);
4613
+ }
4614
+ /**
4615
+ * @public
4616
+ * @enum
4617
+ */
4618
+ export declare const ConditionType: {
4619
+ readonly BEFORE_ENTRY: "BEFORE_ENTRY";
4620
+ readonly ON_SUCCESS: "ON_SUCCESS";
4621
+ };
4622
+ /**
4623
+ * @public
4624
+ */
4625
+ export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
4626
+ /**
4627
+ * @public
4628
+ */
4629
+ export interface OverrideStageConditionInput {
4630
+ /**
4631
+ * <p>The name of the pipeline with the stage that will override the condition.</p>
4632
+ * @public
4633
+ */
4634
+ pipelineName: string | undefined;
4635
+ /**
4636
+ * <p>The name of the stage for the override.</p>
4637
+ * @public
4638
+ */
4639
+ stageName: string | undefined;
4640
+ /**
4641
+ * <p>The ID of the pipeline execution for the override.</p>
4642
+ * @public
4643
+ */
4644
+ pipelineExecutionId: string | undefined;
4645
+ /**
4646
+ * <p>The type of condition to override for the stage, such as entry conditions, failure conditions, or success conditions.</p>
4647
+ * @public
4648
+ */
4649
+ conditionType: ConditionType | undefined;
4650
+ }
3815
4651
  /**
3816
4652
  * <p>Represents the input of a <code>PollForJobs</code> action.</p>
3817
4653
  * @public
@@ -4320,33 +5156,6 @@ export interface RegisterWebhookWithThirdPartyInput {
4320
5156
  */
4321
5157
  export interface RegisterWebhookWithThirdPartyOutput {
4322
5158
  }
4323
- /**
4324
- * <p>Your request cannot be handled because the pipeline is busy handling ongoing
4325
- * activities. Try again later.</p>
4326
- * @public
4327
- */
4328
- export declare class ConflictException extends __BaseException {
4329
- readonly name: "ConflictException";
4330
- readonly $fault: "client";
4331
- /**
4332
- * @internal
4333
- */
4334
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
4335
- }
4336
- /**
4337
- * <p>The stage has failed in a later run of the pipeline and the
4338
- * <code>pipelineExecutionId</code> associated with the request is out of
4339
- * date.</p>
4340
- * @public
4341
- */
4342
- export declare class NotLatestPipelineExecutionException extends __BaseException {
4343
- readonly name: "NotLatestPipelineExecutionException";
4344
- readonly $fault: "client";
4345
- /**
4346
- * @internal
4347
- */
4348
- constructor(opts: __ExceptionOptionType<NotLatestPipelineExecutionException, __BaseException>);
4349
- }
4350
5159
  /**
4351
5160
  * @public
4352
5161
  * @enum
@@ -4469,18 +5278,6 @@ export declare class UnableToRollbackStageException extends __BaseException {
4469
5278
  */
4470
5279
  constructor(opts: __ExceptionOptionType<UnableToRollbackStageException, __BaseException>);
4471
5280
  }
4472
- /**
4473
- * <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
4474
- * @public
4475
- */
4476
- export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
4477
- readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
4478
- readonly $fault: "client";
4479
- /**
4480
- * @internal
4481
- */
4482
- constructor(opts: __ExceptionOptionType<ConcurrentPipelineExecutionsLimitExceededException, __BaseException>);
4483
- }
4484
5281
  /**
4485
5282
  * @public
4486
5283
  * @enum