@aws-sdk/client-codepipeline 3.300.0 → 3.303.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 (44) hide show
  1. package/dist-cjs/models/models_0.js +98 -116
  2. package/dist-es/models/models_0.js +98 -116
  3. package/dist-types/commands/AcknowledgeJobCommand.d.ts +1 -1
  4. package/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateCustomActionTypeCommand.d.ts +7 -7
  6. package/dist-types/commands/CreatePipelineCommand.d.ts +19 -19
  7. package/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +1 -1
  8. package/dist-types/commands/DeletePipelineCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteWebhookCommand.d.ts +1 -1
  10. package/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +1 -1
  11. package/dist-types/commands/DisableStageTransitionCommand.d.ts +1 -1
  12. package/dist-types/commands/EnableStageTransitionCommand.d.ts +1 -1
  13. package/dist-types/commands/GetActionTypeCommand.d.ts +1 -1
  14. package/dist-types/commands/GetJobDetailsCommand.d.ts +1 -1
  15. package/dist-types/commands/GetPipelineCommand.d.ts +1 -1
  16. package/dist-types/commands/GetPipelineExecutionCommand.d.ts +1 -1
  17. package/dist-types/commands/GetPipelineStateCommand.d.ts +1 -1
  18. package/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListActionExecutionsCommand.d.ts +2 -2
  20. package/dist-types/commands/ListActionTypesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListPipelinesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/ListWebhooksCommand.d.ts +1 -1
  25. package/dist-types/commands/PollForJobsCommand.d.ts +3 -3
  26. package/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +2 -2
  27. package/dist-types/commands/PutActionRevisionCommand.d.ts +2 -2
  28. package/dist-types/commands/PutApprovalResultCommand.d.ts +2 -2
  29. package/dist-types/commands/PutJobFailureResultCommand.d.ts +2 -2
  30. package/dist-types/commands/PutJobSuccessResultCommand.d.ts +4 -4
  31. package/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +2 -2
  32. package/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +3 -3
  33. package/dist-types/commands/PutWebhookCommand.d.ts +7 -7
  34. package/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +1 -1
  35. package/dist-types/commands/RetryStageExecutionCommand.d.ts +1 -1
  36. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -1
  37. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +1 -1
  38. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  39. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  40. package/dist-types/commands/UpdateActionTypeCommand.d.ts +15 -15
  41. package/dist-types/commands/UpdatePipelineCommand.d.ts +17 -17
  42. package/dist-types/models/models_0.d.ts +188 -98
  43. package/dist-types/ts3.4/models/models_0.d.ts +128 -98
  44. package/package.json +34 -34
@@ -29,19 +29,19 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
29
29
  * import { CodePipelineClient, UpdatePipelineCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
30
30
  * // const { CodePipelineClient, UpdatePipelineCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
31
31
  * const client = new CodePipelineClient(config);
32
- * const input = {
33
- * pipeline: {
32
+ * const input = { // UpdatePipelineInput
33
+ * pipeline: { // PipelineDeclaration
34
34
  * name: "STRING_VALUE", // required
35
35
  * roleArn: "STRING_VALUE", // required
36
- * artifactStore: {
36
+ * artifactStore: { // ArtifactStore
37
37
  * type: "STRING_VALUE", // required
38
38
  * location: "STRING_VALUE", // required
39
- * encryptionKey: {
39
+ * encryptionKey: { // EncryptionKey
40
40
  * id: "STRING_VALUE", // required
41
41
  * type: "STRING_VALUE", // required
42
42
  * },
43
43
  * },
44
- * artifactStores: {
44
+ * artifactStores: { // ArtifactStoreMap
45
45
  * "<keys>": {
46
46
  * type: "STRING_VALUE", // required
47
47
  * location: "STRING_VALUE", // required
@@ -51,35 +51,35 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
51
51
  * },
52
52
  * },
53
53
  * },
54
- * stages: [ // required
55
- * {
54
+ * stages: [ // PipelineStageDeclarationList // required
55
+ * { // StageDeclaration
56
56
  * name: "STRING_VALUE", // required
57
- * blockers: [
58
- * {
57
+ * blockers: [ // StageBlockerDeclarationList
58
+ * { // BlockerDeclaration
59
59
  * name: "STRING_VALUE", // required
60
60
  * type: "STRING_VALUE", // required
61
61
  * },
62
62
  * ],
63
- * actions: [ // required
64
- * {
63
+ * actions: [ // StageActionDeclarationList // required
64
+ * { // ActionDeclaration
65
65
  * name: "STRING_VALUE", // required
66
- * actionTypeId: {
66
+ * actionTypeId: { // ActionTypeId
67
67
  * category: "STRING_VALUE", // required
68
68
  * owner: "STRING_VALUE", // required
69
69
  * provider: "STRING_VALUE", // required
70
70
  * version: "STRING_VALUE", // required
71
71
  * },
72
72
  * runOrder: Number("int"),
73
- * configuration: {
73
+ * configuration: { // ActionConfigurationMap
74
74
  * "<keys>": "STRING_VALUE",
75
75
  * },
76
- * outputArtifacts: [
77
- * {
76
+ * outputArtifacts: [ // OutputArtifactList
77
+ * { // OutputArtifact
78
78
  * name: "STRING_VALUE", // required
79
79
  * },
80
80
  * ],
81
- * inputArtifacts: [
82
- * {
81
+ * inputArtifacts: [ // InputArtifactList
82
+ * { // InputArtifact
83
83
  * name: "STRING_VALUE", // required
84
84
  * },
85
85
  * ],
@@ -19,16 +19,21 @@ export interface AcknowledgeJobInput {
19
19
  }
20
20
  /**
21
21
  * @public
22
+ * @enum
22
23
  */
23
- export declare enum JobStatus {
24
- Created = "Created",
25
- Dispatched = "Dispatched",
26
- Failed = "Failed",
27
- InProgress = "InProgress",
28
- Queued = "Queued",
29
- Succeeded = "Succeeded",
30
- TimedOut = "TimedOut"
31
- }
24
+ export declare const JobStatus: {
25
+ readonly Created: "Created";
26
+ readonly Dispatched: "Dispatched";
27
+ readonly Failed: "Failed";
28
+ readonly InProgress: "InProgress";
29
+ readonly Queued: "Queued";
30
+ readonly Succeeded: "Succeeded";
31
+ readonly TimedOut: "TimedOut";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
32
37
  /**
33
38
  * @public
34
39
  * <p>Represents the output of an AcknowledgeJob action.</p>
@@ -119,15 +124,20 @@ export declare class InvalidClientTokenException extends __BaseException {
119
124
  }
120
125
  /**
121
126
  * @public
127
+ * @enum
122
128
  */
123
- export declare enum ActionCategory {
124
- Approval = "Approval",
125
- Build = "Build",
126
- Deploy = "Deploy",
127
- Invoke = "Invoke",
128
- Source = "Source",
129
- Test = "Test"
130
- }
129
+ export declare const ActionCategory: {
130
+ readonly Approval: "Approval";
131
+ readonly Build: "Build";
132
+ readonly Deploy: "Deploy";
133
+ readonly Invoke: "Invoke";
134
+ readonly Source: "Source";
135
+ readonly Test: "Test";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type ActionCategory = (typeof ActionCategory)[keyof typeof ActionCategory];
131
141
  /**
132
142
  * @public
133
143
  * <p>Represents information about an action configuration.</p>
@@ -140,12 +150,17 @@ export interface ActionConfiguration {
140
150
  }
141
151
  /**
142
152
  * @public
153
+ * @enum
143
154
  */
144
- export declare enum ActionConfigurationPropertyType {
145
- Boolean = "Boolean",
146
- Number = "Number",
147
- String = "String"
148
- }
155
+ export declare const ActionConfigurationPropertyType: {
156
+ readonly Boolean: "Boolean";
157
+ readonly Number: "Number";
158
+ readonly String: "String";
159
+ };
160
+ /**
161
+ * @public
162
+ */
163
+ export type ActionConfigurationPropertyType = (typeof ActionConfigurationPropertyType)[keyof typeof ActionConfigurationPropertyType];
149
164
  /**
150
165
  * @public
151
166
  * <p>Represents information about an action configuration property.</p>
@@ -208,12 +223,17 @@ export interface ActionContext {
208
223
  }
209
224
  /**
210
225
  * @public
226
+ * @enum
211
227
  */
212
- export declare enum ActionOwner {
213
- AWS = "AWS",
214
- Custom = "Custom",
215
- ThirdParty = "ThirdParty"
216
- }
228
+ export declare const ActionOwner: {
229
+ readonly AWS: "AWS";
230
+ readonly Custom: "Custom";
231
+ readonly ThirdParty: "ThirdParty";
232
+ };
233
+ /**
234
+ * @public
235
+ */
236
+ export type ActionOwner = (typeof ActionOwner)[keyof typeof ActionOwner];
217
237
  /**
218
238
  * @public
219
239
  * <p>Represents information about an action type.</p>
@@ -371,13 +391,18 @@ export interface ErrorDetails {
371
391
  }
372
392
  /**
373
393
  * @public
394
+ * @enum
374
395
  */
375
- export declare enum ActionExecutionStatus {
376
- Abandoned = "Abandoned",
377
- Failed = "Failed",
378
- InProgress = "InProgress",
379
- Succeeded = "Succeeded"
380
- }
396
+ export declare const ActionExecutionStatus: {
397
+ readonly Abandoned: "Abandoned";
398
+ readonly Failed: "Failed";
399
+ readonly InProgress: "InProgress";
400
+ readonly Succeeded: "Succeeded";
401
+ };
402
+ /**
403
+ * @public
404
+ */
405
+ export type ActionExecutionStatus = (typeof ActionExecutionStatus)[keyof typeof ActionExecutionStatus];
381
406
  /**
382
407
  * @public
383
408
  * <p>Represents information about the run of an action.</p>
@@ -796,11 +821,16 @@ export interface ExecutorConfiguration {
796
821
  }
797
822
  /**
798
823
  * @public
824
+ * @enum
799
825
  */
800
- export declare enum ExecutorType {
801
- JobWorker = "JobWorker",
802
- Lambda = "Lambda"
803
- }
826
+ export declare const ExecutorType: {
827
+ readonly JobWorker: "JobWorker";
828
+ readonly Lambda: "Lambda";
829
+ };
830
+ /**
831
+ * @public
832
+ */
833
+ export type ExecutorType = (typeof ExecutorType)[keyof typeof ExecutorType];
804
834
  /**
805
835
  * @public
806
836
  * <p>The action engine, or executor, for an action type created for a provider, where the
@@ -1038,11 +1068,16 @@ export declare class ApprovalAlreadyCompletedException extends __BaseException {
1038
1068
  }
1039
1069
  /**
1040
1070
  * @public
1071
+ * @enum
1041
1072
  */
1042
- export declare enum ApprovalStatus {
1043
- Approved = "Approved",
1044
- Rejected = "Rejected"
1045
- }
1073
+ export declare const ApprovalStatus: {
1074
+ readonly Approved: "Approved";
1075
+ readonly Rejected: "Rejected";
1076
+ };
1077
+ /**
1078
+ * @public
1079
+ */
1080
+ export type ApprovalStatus = (typeof ApprovalStatus)[keyof typeof ApprovalStatus];
1046
1081
  /**
1047
1082
  * @public
1048
1083
  * <p>Represents information about the result of an approval request.</p>
@@ -1075,10 +1110,15 @@ export interface S3ArtifactLocation {
1075
1110
  }
1076
1111
  /**
1077
1112
  * @public
1113
+ * @enum
1078
1114
  */
1079
- export declare enum ArtifactLocationType {
1080
- S3 = "S3"
1081
- }
1115
+ export declare const ArtifactLocationType: {
1116
+ readonly S3: "S3";
1117
+ };
1118
+ /**
1119
+ * @public
1120
+ */
1121
+ export type ArtifactLocationType = (typeof ArtifactLocationType)[keyof typeof ArtifactLocationType];
1082
1122
  /**
1083
1123
  * @public
1084
1124
  * <p>Represents information about the location of an artifact.</p>
@@ -1152,10 +1192,15 @@ export interface ArtifactRevision {
1152
1192
  }
1153
1193
  /**
1154
1194
  * @public
1195
+ * @enum
1155
1196
  */
1156
- export declare enum EncryptionKeyType {
1157
- KMS = "KMS"
1158
- }
1197
+ export declare const EncryptionKeyType: {
1198
+ readonly KMS: "KMS";
1199
+ };
1200
+ /**
1201
+ * @public
1202
+ */
1203
+ export type EncryptionKeyType = (typeof EncryptionKeyType)[keyof typeof EncryptionKeyType];
1159
1204
  /**
1160
1205
  * @public
1161
1206
  * <p>Represents information about the key used to encrypt data in the artifact store,
@@ -1180,10 +1225,15 @@ export interface EncryptionKey {
1180
1225
  }
1181
1226
  /**
1182
1227
  * @public
1228
+ * @enum
1183
1229
  */
1184
- export declare enum ArtifactStoreType {
1185
- S3 = "S3"
1186
- }
1230
+ export declare const ArtifactStoreType: {
1231
+ readonly S3: "S3";
1232
+ };
1233
+ /**
1234
+ * @public
1235
+ */
1236
+ export type ArtifactStoreType = (typeof ArtifactStoreType)[keyof typeof ArtifactStoreType];
1187
1237
  /**
1188
1238
  * @public
1189
1239
  * <p>The S3 bucket where artifacts for the pipeline are stored.</p>
@@ -1237,10 +1287,15 @@ export interface AWSSessionCredentials {
1237
1287
  }
1238
1288
  /**
1239
1289
  * @public
1290
+ * @enum
1240
1291
  */
1241
- export declare enum BlockerType {
1242
- Schedule = "Schedule"
1243
- }
1292
+ export declare const BlockerType: {
1293
+ readonly Schedule: "Schedule";
1294
+ };
1295
+ /**
1296
+ * @public
1297
+ */
1298
+ export type BlockerType = (typeof BlockerType)[keyof typeof BlockerType];
1244
1299
  /**
1245
1300
  * @public
1246
1301
  * <p>Reserved for future use.</p>
@@ -1610,11 +1665,16 @@ export declare class WebhookNotFoundException extends __BaseException {
1610
1665
  }
1611
1666
  /**
1612
1667
  * @public
1668
+ * @enum
1613
1669
  */
1614
- export declare enum StageTransitionType {
1615
- Inbound = "Inbound",
1616
- Outbound = "Outbound"
1617
- }
1670
+ export declare const StageTransitionType: {
1671
+ readonly Inbound: "Inbound";
1672
+ readonly Outbound: "Outbound";
1673
+ };
1674
+ /**
1675
+ * @public
1676
+ */
1677
+ export type StageTransitionType = (typeof StageTransitionType)[keyof typeof StageTransitionType];
1618
1678
  /**
1619
1679
  * @public
1620
1680
  * <p>Represents the input of a <code>DisableStageTransition</code> action.</p>
@@ -1970,16 +2030,21 @@ export interface GetPipelineExecutionInput {
1970
2030
  }
1971
2031
  /**
1972
2032
  * @public
2033
+ * @enum
1973
2034
  */
1974
- export declare enum PipelineExecutionStatus {
1975
- Cancelled = "Cancelled",
1976
- Failed = "Failed",
1977
- InProgress = "InProgress",
1978
- Stopped = "Stopped",
1979
- Stopping = "Stopping",
1980
- Succeeded = "Succeeded",
1981
- Superseded = "Superseded"
1982
- }
2035
+ export declare const PipelineExecutionStatus: {
2036
+ readonly Cancelled: "Cancelled";
2037
+ readonly Failed: "Failed";
2038
+ readonly InProgress: "InProgress";
2039
+ readonly Stopped: "Stopped";
2040
+ readonly Stopping: "Stopping";
2041
+ readonly Succeeded: "Succeeded";
2042
+ readonly Superseded: "Superseded";
2043
+ };
2044
+ /**
2045
+ * @public
2046
+ */
2047
+ export type PipelineExecutionStatus = (typeof PipelineExecutionStatus)[keyof typeof PipelineExecutionStatus];
1983
2048
  /**
1984
2049
  * @public
1985
2050
  * <p>Represents information about an execution of a pipeline.</p>
@@ -2075,15 +2140,20 @@ export interface GetPipelineStateInput {
2075
2140
  }
2076
2141
  /**
2077
2142
  * @public
2143
+ * @enum
2078
2144
  */
2079
- export declare enum StageExecutionStatus {
2080
- Cancelled = "Cancelled",
2081
- Failed = "Failed",
2082
- InProgress = "InProgress",
2083
- Stopped = "Stopped",
2084
- Stopping = "Stopping",
2085
- Succeeded = "Succeeded"
2086
- }
2145
+ export declare const StageExecutionStatus: {
2146
+ readonly Cancelled: "Cancelled";
2147
+ readonly Failed: "Failed";
2148
+ readonly InProgress: "InProgress";
2149
+ readonly Stopped: "Stopped";
2150
+ readonly Stopping: "Stopping";
2151
+ readonly Succeeded: "Succeeded";
2152
+ };
2153
+ /**
2154
+ * @public
2155
+ */
2156
+ export type StageExecutionStatus = (typeof StageExecutionStatus)[keyof typeof StageExecutionStatus];
2087
2157
  /**
2088
2158
  * @public
2089
2159
  * <p>Represents information about the run of a stage.</p>
@@ -2454,15 +2524,20 @@ export interface StopExecutionTrigger {
2454
2524
  }
2455
2525
  /**
2456
2526
  * @public
2527
+ * @enum
2457
2528
  */
2458
- export declare enum TriggerType {
2459
- CloudWatchEvent = "CloudWatchEvent",
2460
- CreatePipeline = "CreatePipeline",
2461
- PollForSourceChanges = "PollForSourceChanges",
2462
- PutActionRevision = "PutActionRevision",
2463
- StartPipelineExecution = "StartPipelineExecution",
2464
- Webhook = "Webhook"
2465
- }
2529
+ export declare const TriggerType: {
2530
+ readonly CloudWatchEvent: "CloudWatchEvent";
2531
+ readonly CreatePipeline: "CreatePipeline";
2532
+ readonly PollForSourceChanges: "PollForSourceChanges";
2533
+ readonly PutActionRevision: "PutActionRevision";
2534
+ readonly StartPipelineExecution: "StartPipelineExecution";
2535
+ readonly Webhook: "Webhook";
2536
+ };
2537
+ /**
2538
+ * @public
2539
+ */
2540
+ export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
2466
2541
  /**
2467
2542
  * @public
2468
2543
  * <p>The interaction or event that started a pipeline execution.</p>
@@ -2690,12 +2765,17 @@ export interface ListWebhooksInput {
2690
2765
  }
2691
2766
  /**
2692
2767
  * @public
2768
+ * @enum
2693
2769
  */
2694
- export declare enum WebhookAuthenticationType {
2695
- GITHUB_HMAC = "GITHUB_HMAC",
2696
- IP = "IP",
2697
- UNAUTHENTICATED = "UNAUTHENTICATED"
2698
- }
2770
+ export declare const WebhookAuthenticationType: {
2771
+ readonly GITHUB_HMAC: "GITHUB_HMAC";
2772
+ readonly IP: "IP";
2773
+ readonly UNAUTHENTICATED: "UNAUTHENTICATED";
2774
+ };
2775
+ /**
2776
+ * @public
2777
+ */
2778
+ export type WebhookAuthenticationType = (typeof WebhookAuthenticationType)[keyof typeof WebhookAuthenticationType];
2699
2779
  /**
2700
2780
  * @public
2701
2781
  * <p>The authentication applied to incoming webhook trigger requests.</p>
@@ -3045,15 +3125,20 @@ export declare class InvalidJobStateException extends __BaseException {
3045
3125
  }
3046
3126
  /**
3047
3127
  * @public
3128
+ * @enum
3048
3129
  */
3049
- export declare enum FailureType {
3050
- ConfigurationError = "ConfigurationError",
3051
- JobFailed = "JobFailed",
3052
- PermissionError = "PermissionError",
3053
- RevisionOutOfSync = "RevisionOutOfSync",
3054
- RevisionUnavailable = "RevisionUnavailable",
3055
- SystemUnavailable = "SystemUnavailable"
3056
- }
3130
+ export declare const FailureType: {
3131
+ readonly ConfigurationError: "ConfigurationError";
3132
+ readonly JobFailed: "JobFailed";
3133
+ readonly PermissionError: "PermissionError";
3134
+ readonly RevisionOutOfSync: "RevisionOutOfSync";
3135
+ readonly RevisionUnavailable: "RevisionUnavailable";
3136
+ readonly SystemUnavailable: "SystemUnavailable";
3137
+ };
3138
+ /**
3139
+ * @public
3140
+ */
3141
+ export type FailureType = (typeof FailureType)[keyof typeof FailureType];
3057
3142
  /**
3058
3143
  * @public
3059
3144
  * <p>Represents information about failure details.</p>
@@ -3326,10 +3411,15 @@ export declare class NotLatestPipelineExecutionException extends __BaseException
3326
3411
  }
3327
3412
  /**
3328
3413
  * @public
3414
+ * @enum
3329
3415
  */
3330
- export declare enum StageRetryMode {
3331
- FAILED_ACTIONS = "FAILED_ACTIONS"
3332
- }
3416
+ export declare const StageRetryMode: {
3417
+ readonly FAILED_ACTIONS: "FAILED_ACTIONS";
3418
+ };
3419
+ /**
3420
+ * @public
3421
+ */
3422
+ export type StageRetryMode = (typeof StageRetryMode)[keyof typeof StageRetryMode];
3333
3423
  /**
3334
3424
  * @public
3335
3425
  * <p>Represents the input of a <code>RetryStageExecution</code> action.</p>