@aws-sdk/client-codepipeline 3.620.0 → 3.621.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 (38) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +374 -71
  3. package/dist-es/CodePipeline.js +6 -0
  4. package/dist-es/commands/ListRuleExecutionsCommand.js +24 -0
  5. package/dist-es/commands/ListRuleTypesCommand.js +24 -0
  6. package/dist-es/commands/OverrideStageConditionCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +82 -39
  9. package/dist-es/pagination/ListRuleExecutionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_json1_1.js +198 -14
  12. package/dist-types/CodePipeline.d.ts +22 -0
  13. package/dist-types/CodePipelineClient.d.ts +5 -2
  14. package/dist-types/commands/CreatePipelineCommand.d.ts +172 -2
  15. package/dist-types/commands/GetPipelineCommand.d.ts +86 -1
  16. package/dist-types/commands/GetPipelineStateCommand.d.ts +123 -0
  17. package/dist-types/commands/ListRuleExecutionsCommand.d.ts +132 -0
  18. package/dist-types/commands/ListRuleTypesCommand.d.ts +98 -0
  19. package/dist-types/commands/OverrideStageConditionCommand.d.ts +85 -0
  20. package/dist-types/commands/PutActionRevisionCommand.d.ts +3 -0
  21. package/dist-types/commands/RetryStageExecutionCommand.d.ts +3 -0
  22. package/dist-types/commands/UpdatePipelineCommand.d.ts +172 -2
  23. package/dist-types/commands/index.d.ts +3 -0
  24. package/dist-types/models/models_0.d.ts +1019 -222
  25. package/dist-types/pagination/ListRuleExecutionsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  28. package/dist-types/ts3.4/CodePipeline.d.ts +52 -0
  29. package/dist-types/ts3.4/CodePipelineClient.d.ts +18 -0
  30. package/dist-types/ts3.4/commands/ListRuleExecutionsCommand.d.ts +40 -0
  31. package/dist-types/ts3.4/commands/ListRuleTypesCommand.d.ts +36 -0
  32. package/dist-types/ts3.4/commands/OverrideStageConditionCommand.d.ts +35 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +228 -29
  35. package/dist-types/ts3.4/pagination/ListRuleExecutionsPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  38. package/package.json +11 -11
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "../commands/ListRuleExecutionsCommand";
3
+ import { CodePipelinePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListRuleExecutions: (config: CodePipelinePaginationConfiguration, input: ListRuleExecutionsCommandInput, ...rest: any[]) => Paginator<ListRuleExecutionsCommandOutput>;
@@ -3,5 +3,6 @@ export * from "./ListActionExecutionsPaginator";
3
3
  export * from "./ListActionTypesPaginator";
4
4
  export * from "./ListPipelineExecutionsPaginator";
5
5
  export * from "./ListPipelinesPaginator";
6
+ export * from "./ListRuleExecutionsPaginator";
6
7
  export * from "./ListTagsForResourcePaginator";
7
8
  export * from "./ListWebhooksPaginator";
@@ -20,8 +20,11 @@ import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } f
20
20
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "../commands/ListActionTypesCommand";
21
21
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "../commands/ListPipelineExecutionsCommand";
22
22
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "../commands/ListPipelinesCommand";
23
+ import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "../commands/ListRuleExecutionsCommand";
24
+ import { ListRuleTypesCommandInput, ListRuleTypesCommandOutput } from "../commands/ListRuleTypesCommand";
23
25
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
24
26
  import { ListWebhooksCommandInput, ListWebhooksCommandOutput } from "../commands/ListWebhooksCommand";
27
+ import { OverrideStageConditionCommandInput, OverrideStageConditionCommandOutput } from "../commands/OverrideStageConditionCommand";
25
28
  import { PollForJobsCommandInput, PollForJobsCommandOutput } from "../commands/PollForJobsCommand";
26
29
  import { PollForThirdPartyJobsCommandInput, PollForThirdPartyJobsCommandOutput } from "../commands/PollForThirdPartyJobsCommand";
27
30
  import { PutActionRevisionCommandInput, PutActionRevisionCommandOutput } from "../commands/PutActionRevisionCommand";
@@ -120,6 +123,14 @@ export declare const se_ListPipelineExecutionsCommand: (input: ListPipelineExecu
120
123
  * serializeAws_json1_1ListPipelinesCommand
121
124
  */
122
125
  export declare const se_ListPipelinesCommand: (input: ListPipelinesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
126
+ /**
127
+ * serializeAws_json1_1ListRuleExecutionsCommand
128
+ */
129
+ export declare const se_ListRuleExecutionsCommand: (input: ListRuleExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
130
+ /**
131
+ * serializeAws_json1_1ListRuleTypesCommand
132
+ */
133
+ export declare const se_ListRuleTypesCommand: (input: ListRuleTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
123
134
  /**
124
135
  * serializeAws_json1_1ListTagsForResourceCommand
125
136
  */
@@ -128,6 +139,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
128
139
  * serializeAws_json1_1ListWebhooksCommand
129
140
  */
130
141
  export declare const se_ListWebhooksCommand: (input: ListWebhooksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
142
+ /**
143
+ * serializeAws_json1_1OverrideStageConditionCommand
144
+ */
145
+ export declare const se_OverrideStageConditionCommand: (input: OverrideStageConditionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
146
  /**
132
147
  * serializeAws_json1_1PollForJobsCommand
133
148
  */
@@ -280,6 +295,14 @@ export declare const de_ListPipelineExecutionsCommand: (output: __HttpResponse,
280
295
  * deserializeAws_json1_1ListPipelinesCommand
281
296
  */
282
297
  export declare const de_ListPipelinesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPipelinesCommandOutput>;
298
+ /**
299
+ * deserializeAws_json1_1ListRuleExecutionsCommand
300
+ */
301
+ export declare const de_ListRuleExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRuleExecutionsCommandOutput>;
302
+ /**
303
+ * deserializeAws_json1_1ListRuleTypesCommand
304
+ */
305
+ export declare const de_ListRuleTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRuleTypesCommandOutput>;
283
306
  /**
284
307
  * deserializeAws_json1_1ListTagsForResourceCommand
285
308
  */
@@ -288,6 +311,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
288
311
  * deserializeAws_json1_1ListWebhooksCommand
289
312
  */
290
313
  export declare const de_ListWebhooksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWebhooksCommandOutput>;
314
+ /**
315
+ * deserializeAws_json1_1OverrideStageConditionCommand
316
+ */
317
+ export declare const de_OverrideStageConditionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<OverrideStageConditionCommandOutput>;
291
318
  /**
292
319
  * deserializeAws_json1_1PollForJobsCommand
293
320
  */
@@ -80,6 +80,14 @@ import {
80
80
  ListPipelinesCommandInput,
81
81
  ListPipelinesCommandOutput,
82
82
  } from "./commands/ListPipelinesCommand";
83
+ import {
84
+ ListRuleExecutionsCommandInput,
85
+ ListRuleExecutionsCommandOutput,
86
+ } from "./commands/ListRuleExecutionsCommand";
87
+ import {
88
+ ListRuleTypesCommandInput,
89
+ ListRuleTypesCommandOutput,
90
+ } from "./commands/ListRuleTypesCommand";
83
91
  import {
84
92
  ListTagsForResourceCommandInput,
85
93
  ListTagsForResourceCommandOutput,
@@ -88,6 +96,10 @@ import {
88
96
  ListWebhooksCommandInput,
89
97
  ListWebhooksCommandOutput,
90
98
  } from "./commands/ListWebhooksCommand";
99
+ import {
100
+ OverrideStageConditionCommandInput,
101
+ OverrideStageConditionCommandOutput,
102
+ } from "./commands/OverrideStageConditionCommand";
91
103
  import {
92
104
  PollForJobsCommandInput,
93
105
  PollForJobsCommandOutput,
@@ -424,6 +436,33 @@ export interface CodePipeline {
424
436
  options: __HttpHandlerOptions,
425
437
  cb: (err: any, data?: ListPipelinesCommandOutput) => void
426
438
  ): void;
439
+ listRuleExecutions(
440
+ args: ListRuleExecutionsCommandInput,
441
+ options?: __HttpHandlerOptions
442
+ ): Promise<ListRuleExecutionsCommandOutput>;
443
+ listRuleExecutions(
444
+ args: ListRuleExecutionsCommandInput,
445
+ cb: (err: any, data?: ListRuleExecutionsCommandOutput) => void
446
+ ): void;
447
+ listRuleExecutions(
448
+ args: ListRuleExecutionsCommandInput,
449
+ options: __HttpHandlerOptions,
450
+ cb: (err: any, data?: ListRuleExecutionsCommandOutput) => void
451
+ ): void;
452
+ listRuleTypes(): Promise<ListRuleTypesCommandOutput>;
453
+ listRuleTypes(
454
+ args: ListRuleTypesCommandInput,
455
+ options?: __HttpHandlerOptions
456
+ ): Promise<ListRuleTypesCommandOutput>;
457
+ listRuleTypes(
458
+ args: ListRuleTypesCommandInput,
459
+ cb: (err: any, data?: ListRuleTypesCommandOutput) => void
460
+ ): void;
461
+ listRuleTypes(
462
+ args: ListRuleTypesCommandInput,
463
+ options: __HttpHandlerOptions,
464
+ cb: (err: any, data?: ListRuleTypesCommandOutput) => void
465
+ ): void;
427
466
  listTagsForResource(
428
467
  args: ListTagsForResourceCommandInput,
429
468
  options?: __HttpHandlerOptions
@@ -451,6 +490,19 @@ export interface CodePipeline {
451
490
  options: __HttpHandlerOptions,
452
491
  cb: (err: any, data?: ListWebhooksCommandOutput) => void
453
492
  ): void;
493
+ overrideStageCondition(
494
+ args: OverrideStageConditionCommandInput,
495
+ options?: __HttpHandlerOptions
496
+ ): Promise<OverrideStageConditionCommandOutput>;
497
+ overrideStageCondition(
498
+ args: OverrideStageConditionCommandInput,
499
+ cb: (err: any, data?: OverrideStageConditionCommandOutput) => void
500
+ ): void;
501
+ overrideStageCondition(
502
+ args: OverrideStageConditionCommandInput,
503
+ options: __HttpHandlerOptions,
504
+ cb: (err: any, data?: OverrideStageConditionCommandOutput) => void
505
+ ): void;
454
506
  pollForJobs(
455
507
  args: PollForJobsCommandInput,
456
508
  options?: __HttpHandlerOptions
@@ -125,6 +125,14 @@ import {
125
125
  ListPipelinesCommandInput,
126
126
  ListPipelinesCommandOutput,
127
127
  } from "./commands/ListPipelinesCommand";
128
+ import {
129
+ ListRuleExecutionsCommandInput,
130
+ ListRuleExecutionsCommandOutput,
131
+ } from "./commands/ListRuleExecutionsCommand";
132
+ import {
133
+ ListRuleTypesCommandInput,
134
+ ListRuleTypesCommandOutput,
135
+ } from "./commands/ListRuleTypesCommand";
128
136
  import {
129
137
  ListTagsForResourceCommandInput,
130
138
  ListTagsForResourceCommandOutput,
@@ -133,6 +141,10 @@ import {
133
141
  ListWebhooksCommandInput,
134
142
  ListWebhooksCommandOutput,
135
143
  } from "./commands/ListWebhooksCommand";
144
+ import {
145
+ OverrideStageConditionCommandInput,
146
+ OverrideStageConditionCommandOutput,
147
+ } from "./commands/OverrideStageConditionCommand";
136
148
  import {
137
149
  PollForJobsCommandInput,
138
150
  PollForJobsCommandOutput,
@@ -233,8 +245,11 @@ export type ServiceInputTypes =
233
245
  | ListActionTypesCommandInput
234
246
  | ListPipelineExecutionsCommandInput
235
247
  | ListPipelinesCommandInput
248
+ | ListRuleExecutionsCommandInput
249
+ | ListRuleTypesCommandInput
236
250
  | ListTagsForResourceCommandInput
237
251
  | ListWebhooksCommandInput
252
+ | OverrideStageConditionCommandInput
238
253
  | PollForJobsCommandInput
239
254
  | PollForThirdPartyJobsCommandInput
240
255
  | PutActionRevisionCommandInput
@@ -274,8 +289,11 @@ export type ServiceOutputTypes =
274
289
  | ListActionTypesCommandOutput
275
290
  | ListPipelineExecutionsCommandOutput
276
291
  | ListPipelinesCommandOutput
292
+ | ListRuleExecutionsCommandOutput
293
+ | ListRuleTypesCommandOutput
277
294
  | ListTagsForResourceCommandOutput
278
295
  | ListWebhooksCommandOutput
296
+ | OverrideStageConditionCommandOutput
279
297
  | PollForJobsCommandOutput
280
298
  | PollForThirdPartyJobsCommandOutput
281
299
  | PutActionRevisionCommandOutput
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CodePipelineClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CodePipelineClient";
8
+ import {
9
+ ListRuleExecutionsInput,
10
+ ListRuleExecutionsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListRuleExecutionsCommandInput
15
+ extends ListRuleExecutionsInput {}
16
+ export interface ListRuleExecutionsCommandOutput
17
+ extends ListRuleExecutionsOutput,
18
+ __MetadataBearer {}
19
+ declare const ListRuleExecutionsCommand_base: {
20
+ new (
21
+ input: ListRuleExecutionsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListRuleExecutionsCommandInput,
24
+ ListRuleExecutionsCommandOutput,
25
+ CodePipelineClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListRuleExecutionsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListRuleExecutionsCommandInput,
33
+ ListRuleExecutionsCommandOutput,
34
+ CodePipelineClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListRuleExecutionsCommand extends ListRuleExecutionsCommand_base {}
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CodePipelineClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CodePipelineClient";
8
+ import { ListRuleTypesInput, ListRuleTypesOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListRuleTypesCommandInput extends ListRuleTypesInput {}
12
+ export interface ListRuleTypesCommandOutput
13
+ extends ListRuleTypesOutput,
14
+ __MetadataBearer {}
15
+ declare const ListRuleTypesCommand_base: {
16
+ new (
17
+ input: ListRuleTypesCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListRuleTypesCommandInput,
20
+ ListRuleTypesCommandOutput,
21
+ CodePipelineClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ ...[input]: [] | [ListRuleTypesCommandInput]
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListRuleTypesCommandInput,
29
+ ListRuleTypesCommandOutput,
30
+ CodePipelineClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListRuleTypesCommand extends ListRuleTypesCommand_base {}
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CodePipelineClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CodePipelineClient";
8
+ import { OverrideStageConditionInput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface OverrideStageConditionCommandInput
12
+ extends OverrideStageConditionInput {}
13
+ export interface OverrideStageConditionCommandOutput extends __MetadataBearer {}
14
+ declare const OverrideStageConditionCommand_base: {
15
+ new (
16
+ input: OverrideStageConditionCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ OverrideStageConditionCommandInput,
19
+ OverrideStageConditionCommandOutput,
20
+ CodePipelineClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ __0_0: OverrideStageConditionCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ OverrideStageConditionCommandInput,
28
+ OverrideStageConditionCommandOutput,
29
+ CodePipelineClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class OverrideStageConditionCommand extends OverrideStageConditionCommand_base {}
@@ -18,8 +18,11 @@ export * from "./ListActionExecutionsCommand";
18
18
  export * from "./ListActionTypesCommand";
19
19
  export * from "./ListPipelineExecutionsCommand";
20
20
  export * from "./ListPipelinesCommand";
21
+ export * from "./ListRuleExecutionsCommand";
22
+ export * from "./ListRuleTypesCommand";
21
23
  export * from "./ListTagsForResourceCommand";
22
24
  export * from "./ListWebhooksCommand";
25
+ export * from "./OverrideStageConditionCommand";
23
26
  export * from "./PollForJobsCommand";
24
27
  export * from "./PollForThirdPartyJobsCommand";
25
28
  export * from "./PutActionRevisionCommand";
@@ -367,6 +367,41 @@ export interface AWSSessionCredentials {
367
367
  secretAccessKey: string | undefined;
368
368
  sessionToken: string | undefined;
369
369
  }
370
+ export declare const Result: {
371
+ readonly FAIL: "FAIL";
372
+ readonly ROLLBACK: "ROLLBACK";
373
+ };
374
+ export type Result = (typeof Result)[keyof typeof Result];
375
+ export declare const RuleCategory: {
376
+ readonly Rule: "Rule";
377
+ };
378
+ export type RuleCategory = (typeof RuleCategory)[keyof typeof RuleCategory];
379
+ export declare const RuleOwner: {
380
+ readonly AWS: "AWS";
381
+ };
382
+ export type RuleOwner = (typeof RuleOwner)[keyof typeof RuleOwner];
383
+ export interface RuleTypeId {
384
+ category: RuleCategory | undefined;
385
+ owner?: RuleOwner;
386
+ provider: string | undefined;
387
+ version?: string;
388
+ }
389
+ export interface RuleDeclaration {
390
+ name: string | undefined;
391
+ ruleTypeId: RuleTypeId | undefined;
392
+ configuration?: Record<string, string>;
393
+ inputArtifacts?: InputArtifact[];
394
+ roleArn?: string;
395
+ region?: string;
396
+ timeoutInMinutes?: number;
397
+ }
398
+ export interface Condition {
399
+ result?: Result;
400
+ rules?: RuleDeclaration[];
401
+ }
402
+ export interface BeforeEntryConditions {
403
+ conditions: Condition[] | undefined;
404
+ }
370
405
  export declare const BlockerType: {
371
406
  readonly Schedule: "Schedule";
372
407
  };
@@ -435,18 +470,20 @@ export declare const PipelineType: {
435
470
  readonly V2: "V2";
436
471
  };
437
472
  export type PipelineType = (typeof PipelineType)[keyof typeof PipelineType];
438
- export declare const Result: {
439
- readonly ROLLBACK: "ROLLBACK";
440
- };
441
- export type Result = (typeof Result)[keyof typeof Result];
442
473
  export interface FailureConditions {
443
474
  result?: Result;
475
+ conditions?: Condition[];
476
+ }
477
+ export interface SuccessConditions {
478
+ conditions: Condition[] | undefined;
444
479
  }
445
480
  export interface StageDeclaration {
446
481
  name: string | undefined;
447
482
  blockers?: BlockerDeclaration[];
448
483
  actions: ActionDeclaration[] | undefined;
449
484
  onFailure?: FailureConditions;
485
+ onSuccess?: SuccessConditions;
486
+ beforeEntry?: BeforeEntryConditions;
450
487
  }
451
488
  export interface GitBranchFilterCriteria {
452
489
  includes?: string[];
@@ -750,6 +787,65 @@ export declare class PipelineExecutionNotFoundException extends __BaseException
750
787
  export interface GetPipelineStateInput {
751
788
  name: string | undefined;
752
789
  }
790
+ export declare const ConditionExecutionStatus: {
791
+ readonly Abandoned: "Abandoned";
792
+ readonly Cancelled: "Cancelled";
793
+ readonly Errored: "Errored";
794
+ readonly Failed: "Failed";
795
+ readonly InProgress: "InProgress";
796
+ readonly Overridden: "Overridden";
797
+ readonly Succeeded: "Succeeded";
798
+ };
799
+ export type ConditionExecutionStatus =
800
+ (typeof ConditionExecutionStatus)[keyof typeof ConditionExecutionStatus];
801
+ export interface ConditionExecution {
802
+ status?: ConditionExecutionStatus;
803
+ summary?: string;
804
+ lastStatusChange?: Date;
805
+ }
806
+ export interface RuleRevision {
807
+ revisionId: string | undefined;
808
+ revisionChangeId: string | undefined;
809
+ created: Date | undefined;
810
+ }
811
+ export declare const RuleExecutionStatus: {
812
+ readonly Abandoned: "Abandoned";
813
+ readonly Failed: "Failed";
814
+ readonly InProgress: "InProgress";
815
+ readonly Succeeded: "Succeeded";
816
+ };
817
+ export type RuleExecutionStatus =
818
+ (typeof RuleExecutionStatus)[keyof typeof RuleExecutionStatus];
819
+ export interface RuleExecution {
820
+ ruleExecutionId?: string;
821
+ status?: RuleExecutionStatus;
822
+ summary?: string;
823
+ lastStatusChange?: Date;
824
+ token?: string;
825
+ lastUpdatedBy?: string;
826
+ externalExecutionId?: string;
827
+ externalExecutionUrl?: string;
828
+ errorDetails?: ErrorDetails;
829
+ }
830
+ export interface RuleState {
831
+ ruleName?: string;
832
+ currentRevision?: RuleRevision;
833
+ latestExecution?: RuleExecution;
834
+ entityUrl?: string;
835
+ revisionUrl?: string;
836
+ }
837
+ export interface ConditionState {
838
+ latestExecution?: ConditionExecution;
839
+ ruleStates?: RuleState[];
840
+ }
841
+ export interface StageConditionsExecution {
842
+ status?: ConditionExecutionStatus;
843
+ summary?: string;
844
+ }
845
+ export interface StageConditionState {
846
+ latestExecution?: StageConditionsExecution;
847
+ conditionStates?: ConditionState[];
848
+ }
753
849
  export declare const StageExecutionStatus: {
754
850
  readonly Cancelled: "Cancelled";
755
851
  readonly Failed: "Failed";
@@ -778,6 +874,9 @@ export interface StageState {
778
874
  inboundTransitionState?: TransitionState;
779
875
  actionStates?: ActionState[];
780
876
  latestExecution?: StageExecution;
877
+ beforeEntryConditionState?: StageConditionState;
878
+ onSuccessConditionState?: StageConditionState;
879
+ onFailureConditionState?: StageConditionState;
781
880
  }
782
881
  export interface GetPipelineStateOutput {
783
882
  pipelineName?: string;
@@ -895,6 +994,85 @@ export interface ListPipelinesOutput {
895
994
  pipelines?: PipelineSummary[];
896
995
  nextToken?: string;
897
996
  }
997
+ export interface RuleExecutionFilter {
998
+ pipelineExecutionId?: string;
999
+ latestInPipelineExecution?: LatestInPipelineExecutionFilter;
1000
+ }
1001
+ export interface ListRuleExecutionsInput {
1002
+ pipelineName: string | undefined;
1003
+ filter?: RuleExecutionFilter;
1004
+ maxResults?: number;
1005
+ nextToken?: string;
1006
+ }
1007
+ export interface RuleExecutionInput {
1008
+ ruleTypeId?: RuleTypeId;
1009
+ configuration?: Record<string, string>;
1010
+ resolvedConfiguration?: Record<string, string>;
1011
+ roleArn?: string;
1012
+ region?: string;
1013
+ inputArtifacts?: ArtifactDetail[];
1014
+ }
1015
+ export interface RuleExecutionResult {
1016
+ externalExecutionId?: string;
1017
+ externalExecutionSummary?: string;
1018
+ externalExecutionUrl?: string;
1019
+ errorDetails?: ErrorDetails;
1020
+ }
1021
+ export interface RuleExecutionOutput {
1022
+ executionResult?: RuleExecutionResult;
1023
+ }
1024
+ export interface RuleExecutionDetail {
1025
+ pipelineExecutionId?: string;
1026
+ ruleExecutionId?: string;
1027
+ pipelineVersion?: number;
1028
+ stageName?: string;
1029
+ ruleName?: string;
1030
+ startTime?: Date;
1031
+ lastUpdateTime?: Date;
1032
+ updatedBy?: string;
1033
+ status?: RuleExecutionStatus;
1034
+ input?: RuleExecutionInput;
1035
+ output?: RuleExecutionOutput;
1036
+ }
1037
+ export interface ListRuleExecutionsOutput {
1038
+ ruleExecutionDetails?: RuleExecutionDetail[];
1039
+ nextToken?: string;
1040
+ }
1041
+ export interface ListRuleTypesInput {
1042
+ ruleOwnerFilter?: RuleOwner;
1043
+ regionFilter?: string;
1044
+ }
1045
+ export declare const RuleConfigurationPropertyType: {
1046
+ readonly Boolean: "Boolean";
1047
+ readonly Number: "Number";
1048
+ readonly String: "String";
1049
+ };
1050
+ export type RuleConfigurationPropertyType =
1051
+ (typeof RuleConfigurationPropertyType)[keyof typeof RuleConfigurationPropertyType];
1052
+ export interface RuleConfigurationProperty {
1053
+ name: string | undefined;
1054
+ required: boolean | undefined;
1055
+ key: boolean | undefined;
1056
+ secret: boolean | undefined;
1057
+ queryable?: boolean;
1058
+ description?: string;
1059
+ type?: RuleConfigurationPropertyType;
1060
+ }
1061
+ export interface RuleTypeSettings {
1062
+ thirdPartyConfigurationUrl?: string;
1063
+ entityUrlTemplate?: string;
1064
+ executionUrlTemplate?: string;
1065
+ revisionUrlTemplate?: string;
1066
+ }
1067
+ export interface RuleType {
1068
+ id: RuleTypeId | undefined;
1069
+ settings?: RuleTypeSettings;
1070
+ ruleConfigurationProperties?: RuleConfigurationProperty[];
1071
+ inputArtifactDetails: ArtifactDetails | undefined;
1072
+ }
1073
+ export interface ListRuleTypesOutput {
1074
+ ruleTypes: RuleType[] | undefined;
1075
+ }
898
1076
  export declare class InvalidArnException extends __BaseException {
899
1077
  readonly name: "InvalidArnException";
900
1078
  readonly $fault: "client";
@@ -958,6 +1136,52 @@ export interface ListWebhooksOutput {
958
1136
  webhooks?: ListWebhookItem[];
959
1137
  NextToken?: string;
960
1138
  }
1139
+ export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
1140
+ readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
1141
+ readonly $fault: "client";
1142
+ constructor(
1143
+ opts: __ExceptionOptionType<
1144
+ ConcurrentPipelineExecutionsLimitExceededException,
1145
+ __BaseException
1146
+ >
1147
+ );
1148
+ }
1149
+ export declare class ConditionNotOverridableException extends __BaseException {
1150
+ readonly name: "ConditionNotOverridableException";
1151
+ readonly $fault: "client";
1152
+ constructor(
1153
+ opts: __ExceptionOptionType<
1154
+ ConditionNotOverridableException,
1155
+ __BaseException
1156
+ >
1157
+ );
1158
+ }
1159
+ export declare class ConflictException extends __BaseException {
1160
+ readonly name: "ConflictException";
1161
+ readonly $fault: "client";
1162
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1163
+ }
1164
+ export declare class NotLatestPipelineExecutionException extends __BaseException {
1165
+ readonly name: "NotLatestPipelineExecutionException";
1166
+ readonly $fault: "client";
1167
+ constructor(
1168
+ opts: __ExceptionOptionType<
1169
+ NotLatestPipelineExecutionException,
1170
+ __BaseException
1171
+ >
1172
+ );
1173
+ }
1174
+ export declare const ConditionType: {
1175
+ readonly BEFORE_ENTRY: "BEFORE_ENTRY";
1176
+ readonly ON_SUCCESS: "ON_SUCCESS";
1177
+ };
1178
+ export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
1179
+ export interface OverrideStageConditionInput {
1180
+ pipelineName: string | undefined;
1181
+ stageName: string | undefined;
1182
+ pipelineExecutionId: string | undefined;
1183
+ conditionType: ConditionType | undefined;
1184
+ }
961
1185
  export interface PollForJobsInput {
962
1186
  actionTypeId: ActionTypeId | undefined;
963
1187
  maxBatchSize?: number;
@@ -1106,21 +1330,6 @@ export interface RegisterWebhookWithThirdPartyInput {
1106
1330
  webhookName?: string;
1107
1331
  }
1108
1332
  export interface RegisterWebhookWithThirdPartyOutput {}
1109
- export declare class ConflictException extends __BaseException {
1110
- readonly name: "ConflictException";
1111
- readonly $fault: "client";
1112
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1113
- }
1114
- export declare class NotLatestPipelineExecutionException extends __BaseException {
1115
- readonly name: "NotLatestPipelineExecutionException";
1116
- readonly $fault: "client";
1117
- constructor(
1118
- opts: __ExceptionOptionType<
1119
- NotLatestPipelineExecutionException,
1120
- __BaseException
1121
- >
1122
- );
1123
- }
1124
1333
  export declare const StageRetryMode: {
1125
1334
  readonly ALL_ACTIONS: "ALL_ACTIONS";
1126
1335
  readonly FAILED_ACTIONS: "FAILED_ACTIONS";
@@ -1168,16 +1377,6 @@ export declare class UnableToRollbackStageException extends __BaseException {
1168
1377
  opts: __ExceptionOptionType<UnableToRollbackStageException, __BaseException>
1169
1378
  );
1170
1379
  }
1171
- export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
1172
- readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
1173
- readonly $fault: "client";
1174
- constructor(
1175
- opts: __ExceptionOptionType<
1176
- ConcurrentPipelineExecutionsLimitExceededException,
1177
- __BaseException
1178
- >
1179
- );
1180
- }
1181
1380
  export declare const SourceRevisionType: {
1182
1381
  readonly COMMIT_ID: "COMMIT_ID";
1183
1382
  readonly IMAGE_DIGEST: "IMAGE_DIGEST";
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListRuleExecutionsCommandInput,
4
+ ListRuleExecutionsCommandOutput,
5
+ } from "../commands/ListRuleExecutionsCommand";
6
+ import { CodePipelinePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListRuleExecutions: (
8
+ config: CodePipelinePaginationConfiguration,
9
+ input: ListRuleExecutionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListRuleExecutionsCommandOutput>;
@@ -3,5 +3,6 @@ export * from "./ListActionExecutionsPaginator";
3
3
  export * from "./ListActionTypesPaginator";
4
4
  export * from "./ListPipelineExecutionsPaginator";
5
5
  export * from "./ListPipelinesPaginator";
6
+ export * from "./ListRuleExecutionsPaginator";
6
7
  export * from "./ListTagsForResourcePaginator";
7
8
  export * from "./ListWebhooksPaginator";