@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
@@ -4,16 +4,15 @@ exports.StageRetryMode = exports.NotLatestPipelineExecutionException = exports.C
4
4
  exports.PollForJobsOutputFilterSensitiveLog = exports.JobFilterSensitiveLog = exports.GetThirdPartyJobDetailsOutputFilterSensitiveLog = exports.ThirdPartyJobDetailsFilterSensitiveLog = exports.ThirdPartyJobDataFilterSensitiveLog = exports.GetJobDetailsOutputFilterSensitiveLog = exports.JobDetailsFilterSensitiveLog = exports.JobDataFilterSensitiveLog = exports.AWSSessionCredentialsFilterSensitiveLog = exports.RequestFailedException = exports.PipelineExecutionNotStoppableException = exports.DuplicatedStopRequestException = exports.StageNotRetryableException = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const CodePipelineServiceException_1 = require("./CodePipelineServiceException");
7
- var JobStatus;
8
- (function (JobStatus) {
9
- JobStatus["Created"] = "Created";
10
- JobStatus["Dispatched"] = "Dispatched";
11
- JobStatus["Failed"] = "Failed";
12
- JobStatus["InProgress"] = "InProgress";
13
- JobStatus["Queued"] = "Queued";
14
- JobStatus["Succeeded"] = "Succeeded";
15
- JobStatus["TimedOut"] = "TimedOut";
16
- })(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
7
+ exports.JobStatus = {
8
+ Created: "Created",
9
+ Dispatched: "Dispatched",
10
+ Failed: "Failed",
11
+ InProgress: "InProgress",
12
+ Queued: "Queued",
13
+ Succeeded: "Succeeded",
14
+ TimedOut: "TimedOut",
15
+ };
17
16
  class InvalidNonceException extends CodePipelineServiceException_1.CodePipelineServiceException {
18
17
  constructor(opts) {
19
18
  super({
@@ -66,34 +65,30 @@ class InvalidClientTokenException extends CodePipelineServiceException_1.CodePip
66
65
  }
67
66
  }
68
67
  exports.InvalidClientTokenException = InvalidClientTokenException;
69
- var ActionCategory;
70
- (function (ActionCategory) {
71
- ActionCategory["Approval"] = "Approval";
72
- ActionCategory["Build"] = "Build";
73
- ActionCategory["Deploy"] = "Deploy";
74
- ActionCategory["Invoke"] = "Invoke";
75
- ActionCategory["Source"] = "Source";
76
- ActionCategory["Test"] = "Test";
77
- })(ActionCategory = exports.ActionCategory || (exports.ActionCategory = {}));
78
- var ActionConfigurationPropertyType;
79
- (function (ActionConfigurationPropertyType) {
80
- ActionConfigurationPropertyType["Boolean"] = "Boolean";
81
- ActionConfigurationPropertyType["Number"] = "Number";
82
- ActionConfigurationPropertyType["String"] = "String";
83
- })(ActionConfigurationPropertyType = exports.ActionConfigurationPropertyType || (exports.ActionConfigurationPropertyType = {}));
84
- var ActionOwner;
85
- (function (ActionOwner) {
86
- ActionOwner["AWS"] = "AWS";
87
- ActionOwner["Custom"] = "Custom";
88
- ActionOwner["ThirdParty"] = "ThirdParty";
89
- })(ActionOwner = exports.ActionOwner || (exports.ActionOwner = {}));
90
- var ActionExecutionStatus;
91
- (function (ActionExecutionStatus) {
92
- ActionExecutionStatus["Abandoned"] = "Abandoned";
93
- ActionExecutionStatus["Failed"] = "Failed";
94
- ActionExecutionStatus["InProgress"] = "InProgress";
95
- ActionExecutionStatus["Succeeded"] = "Succeeded";
96
- })(ActionExecutionStatus = exports.ActionExecutionStatus || (exports.ActionExecutionStatus = {}));
68
+ exports.ActionCategory = {
69
+ Approval: "Approval",
70
+ Build: "Build",
71
+ Deploy: "Deploy",
72
+ Invoke: "Invoke",
73
+ Source: "Source",
74
+ Test: "Test",
75
+ };
76
+ exports.ActionConfigurationPropertyType = {
77
+ Boolean: "Boolean",
78
+ Number: "Number",
79
+ String: "String",
80
+ };
81
+ exports.ActionOwner = {
82
+ AWS: "AWS",
83
+ Custom: "Custom",
84
+ ThirdParty: "ThirdParty",
85
+ };
86
+ exports.ActionExecutionStatus = {
87
+ Abandoned: "Abandoned",
88
+ Failed: "Failed",
89
+ InProgress: "InProgress",
90
+ Succeeded: "Succeeded",
91
+ };
97
92
  class ActionNotFoundException extends CodePipelineServiceException_1.CodePipelineServiceException {
98
93
  constructor(opts) {
99
94
  super({
@@ -107,11 +102,10 @@ class ActionNotFoundException extends CodePipelineServiceException_1.CodePipelin
107
102
  }
108
103
  }
109
104
  exports.ActionNotFoundException = ActionNotFoundException;
110
- var ExecutorType;
111
- (function (ExecutorType) {
112
- ExecutorType["JobWorker"] = "JobWorker";
113
- ExecutorType["Lambda"] = "Lambda";
114
- })(ExecutorType = exports.ExecutorType || (exports.ExecutorType = {}));
105
+ exports.ExecutorType = {
106
+ JobWorker: "JobWorker",
107
+ Lambda: "Lambda",
108
+ };
115
109
  class ActionTypeNotFoundException extends CodePipelineServiceException_1.CodePipelineServiceException {
116
110
  constructor(opts) {
117
111
  super({
@@ -138,27 +132,22 @@ class ApprovalAlreadyCompletedException extends CodePipelineServiceException_1.C
138
132
  }
139
133
  }
140
134
  exports.ApprovalAlreadyCompletedException = ApprovalAlreadyCompletedException;
141
- var ApprovalStatus;
142
- (function (ApprovalStatus) {
143
- ApprovalStatus["Approved"] = "Approved";
144
- ApprovalStatus["Rejected"] = "Rejected";
145
- })(ApprovalStatus = exports.ApprovalStatus || (exports.ApprovalStatus = {}));
146
- var ArtifactLocationType;
147
- (function (ArtifactLocationType) {
148
- ArtifactLocationType["S3"] = "S3";
149
- })(ArtifactLocationType = exports.ArtifactLocationType || (exports.ArtifactLocationType = {}));
150
- var EncryptionKeyType;
151
- (function (EncryptionKeyType) {
152
- EncryptionKeyType["KMS"] = "KMS";
153
- })(EncryptionKeyType = exports.EncryptionKeyType || (exports.EncryptionKeyType = {}));
154
- var ArtifactStoreType;
155
- (function (ArtifactStoreType) {
156
- ArtifactStoreType["S3"] = "S3";
157
- })(ArtifactStoreType = exports.ArtifactStoreType || (exports.ArtifactStoreType = {}));
158
- var BlockerType;
159
- (function (BlockerType) {
160
- BlockerType["Schedule"] = "Schedule";
161
- })(BlockerType = exports.BlockerType || (exports.BlockerType = {}));
135
+ exports.ApprovalStatus = {
136
+ Approved: "Approved",
137
+ Rejected: "Rejected",
138
+ };
139
+ exports.ArtifactLocationType = {
140
+ S3: "S3",
141
+ };
142
+ exports.EncryptionKeyType = {
143
+ KMS: "KMS",
144
+ };
145
+ exports.ArtifactStoreType = {
146
+ S3: "S3",
147
+ };
148
+ exports.BlockerType = {
149
+ Schedule: "Schedule",
150
+ };
162
151
  class ConcurrentModificationException extends CodePipelineServiceException_1.CodePipelineServiceException {
163
152
  constructor(opts) {
164
153
  super({
@@ -289,11 +278,10 @@ class WebhookNotFoundException extends CodePipelineServiceException_1.CodePipeli
289
278
  }
290
279
  }
291
280
  exports.WebhookNotFoundException = WebhookNotFoundException;
292
- var StageTransitionType;
293
- (function (StageTransitionType) {
294
- StageTransitionType["Inbound"] = "Inbound";
295
- StageTransitionType["Outbound"] = "Outbound";
296
- })(StageTransitionType = exports.StageTransitionType || (exports.StageTransitionType = {}));
281
+ exports.StageTransitionType = {
282
+ Inbound: "Inbound",
283
+ Outbound: "Outbound",
284
+ };
297
285
  class PipelineNotFoundException extends CodePipelineServiceException_1.CodePipelineServiceException {
298
286
  constructor(opts) {
299
287
  super({
@@ -333,16 +321,15 @@ class PipelineVersionNotFoundException extends CodePipelineServiceException_1.Co
333
321
  }
334
322
  }
335
323
  exports.PipelineVersionNotFoundException = PipelineVersionNotFoundException;
336
- var PipelineExecutionStatus;
337
- (function (PipelineExecutionStatus) {
338
- PipelineExecutionStatus["Cancelled"] = "Cancelled";
339
- PipelineExecutionStatus["Failed"] = "Failed";
340
- PipelineExecutionStatus["InProgress"] = "InProgress";
341
- PipelineExecutionStatus["Stopped"] = "Stopped";
342
- PipelineExecutionStatus["Stopping"] = "Stopping";
343
- PipelineExecutionStatus["Succeeded"] = "Succeeded";
344
- PipelineExecutionStatus["Superseded"] = "Superseded";
345
- })(PipelineExecutionStatus = exports.PipelineExecutionStatus || (exports.PipelineExecutionStatus = {}));
324
+ exports.PipelineExecutionStatus = {
325
+ Cancelled: "Cancelled",
326
+ Failed: "Failed",
327
+ InProgress: "InProgress",
328
+ Stopped: "Stopped",
329
+ Stopping: "Stopping",
330
+ Succeeded: "Succeeded",
331
+ Superseded: "Superseded",
332
+ };
346
333
  class PipelineExecutionNotFoundException extends CodePipelineServiceException_1.CodePipelineServiceException {
347
334
  constructor(opts) {
348
335
  super({
@@ -356,15 +343,14 @@ class PipelineExecutionNotFoundException extends CodePipelineServiceException_1.
356
343
  }
357
344
  }
358
345
  exports.PipelineExecutionNotFoundException = PipelineExecutionNotFoundException;
359
- var StageExecutionStatus;
360
- (function (StageExecutionStatus) {
361
- StageExecutionStatus["Cancelled"] = "Cancelled";
362
- StageExecutionStatus["Failed"] = "Failed";
363
- StageExecutionStatus["InProgress"] = "InProgress";
364
- StageExecutionStatus["Stopped"] = "Stopped";
365
- StageExecutionStatus["Stopping"] = "Stopping";
366
- StageExecutionStatus["Succeeded"] = "Succeeded";
367
- })(StageExecutionStatus = exports.StageExecutionStatus || (exports.StageExecutionStatus = {}));
346
+ exports.StageExecutionStatus = {
347
+ Cancelled: "Cancelled",
348
+ Failed: "Failed",
349
+ InProgress: "InProgress",
350
+ Stopped: "Stopped",
351
+ Stopping: "Stopping",
352
+ Succeeded: "Succeeded",
353
+ };
368
354
  class InvalidJobException extends CodePipelineServiceException_1.CodePipelineServiceException {
369
355
  constructor(opts) {
370
356
  super({
@@ -391,15 +377,14 @@ class InvalidNextTokenException extends CodePipelineServiceException_1.CodePipel
391
377
  }
392
378
  }
393
379
  exports.InvalidNextTokenException = InvalidNextTokenException;
394
- var TriggerType;
395
- (function (TriggerType) {
396
- TriggerType["CloudWatchEvent"] = "CloudWatchEvent";
397
- TriggerType["CreatePipeline"] = "CreatePipeline";
398
- TriggerType["PollForSourceChanges"] = "PollForSourceChanges";
399
- TriggerType["PutActionRevision"] = "PutActionRevision";
400
- TriggerType["StartPipelineExecution"] = "StartPipelineExecution";
401
- TriggerType["Webhook"] = "Webhook";
402
- })(TriggerType = exports.TriggerType || (exports.TriggerType = {}));
380
+ exports.TriggerType = {
381
+ CloudWatchEvent: "CloudWatchEvent",
382
+ CreatePipeline: "CreatePipeline",
383
+ PollForSourceChanges: "PollForSourceChanges",
384
+ PutActionRevision: "PutActionRevision",
385
+ StartPipelineExecution: "StartPipelineExecution",
386
+ Webhook: "Webhook",
387
+ };
403
388
  class InvalidArnException extends CodePipelineServiceException_1.CodePipelineServiceException {
404
389
  constructor(opts) {
405
390
  super({
@@ -426,12 +411,11 @@ class ResourceNotFoundException extends CodePipelineServiceException_1.CodePipel
426
411
  }
427
412
  }
428
413
  exports.ResourceNotFoundException = ResourceNotFoundException;
429
- var WebhookAuthenticationType;
430
- (function (WebhookAuthenticationType) {
431
- WebhookAuthenticationType["GITHUB_HMAC"] = "GITHUB_HMAC";
432
- WebhookAuthenticationType["IP"] = "IP";
433
- WebhookAuthenticationType["UNAUTHENTICATED"] = "UNAUTHENTICATED";
434
- })(WebhookAuthenticationType = exports.WebhookAuthenticationType || (exports.WebhookAuthenticationType = {}));
414
+ exports.WebhookAuthenticationType = {
415
+ GITHUB_HMAC: "GITHUB_HMAC",
416
+ IP: "IP",
417
+ UNAUTHENTICATED: "UNAUTHENTICATED",
418
+ };
435
419
  class InvalidApprovalTokenException extends CodePipelineServiceException_1.CodePipelineServiceException {
436
420
  constructor(opts) {
437
421
  super({
@@ -458,15 +442,14 @@ class InvalidJobStateException extends CodePipelineServiceException_1.CodePipeli
458
442
  }
459
443
  }
460
444
  exports.InvalidJobStateException = InvalidJobStateException;
461
- var FailureType;
462
- (function (FailureType) {
463
- FailureType["ConfigurationError"] = "ConfigurationError";
464
- FailureType["JobFailed"] = "JobFailed";
465
- FailureType["PermissionError"] = "PermissionError";
466
- FailureType["RevisionOutOfSync"] = "RevisionOutOfSync";
467
- FailureType["RevisionUnavailable"] = "RevisionUnavailable";
468
- FailureType["SystemUnavailable"] = "SystemUnavailable";
469
- })(FailureType = exports.FailureType || (exports.FailureType = {}));
445
+ exports.FailureType = {
446
+ ConfigurationError: "ConfigurationError",
447
+ JobFailed: "JobFailed",
448
+ PermissionError: "PermissionError",
449
+ RevisionOutOfSync: "RevisionOutOfSync",
450
+ RevisionUnavailable: "RevisionUnavailable",
451
+ SystemUnavailable: "SystemUnavailable",
452
+ };
470
453
  class OutputVariablesSizeExceededException extends CodePipelineServiceException_1.CodePipelineServiceException {
471
454
  constructor(opts) {
472
455
  super({
@@ -532,10 +515,9 @@ class NotLatestPipelineExecutionException extends CodePipelineServiceException_1
532
515
  }
533
516
  }
534
517
  exports.NotLatestPipelineExecutionException = NotLatestPipelineExecutionException;
535
- var StageRetryMode;
536
- (function (StageRetryMode) {
537
- StageRetryMode["FAILED_ACTIONS"] = "FAILED_ACTIONS";
538
- })(StageRetryMode = exports.StageRetryMode || (exports.StageRetryMode = {}));
518
+ exports.StageRetryMode = {
519
+ FAILED_ACTIONS: "FAILED_ACTIONS",
520
+ };
539
521
  class StageNotRetryableException extends CodePipelineServiceException_1.CodePipelineServiceException {
540
522
  constructor(opts) {
541
523
  super({
@@ -1,15 +1,14 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { CodePipelineServiceException as __BaseException } from "./CodePipelineServiceException";
3
- export var JobStatus;
4
- (function (JobStatus) {
5
- JobStatus["Created"] = "Created";
6
- JobStatus["Dispatched"] = "Dispatched";
7
- JobStatus["Failed"] = "Failed";
8
- JobStatus["InProgress"] = "InProgress";
9
- JobStatus["Queued"] = "Queued";
10
- JobStatus["Succeeded"] = "Succeeded";
11
- JobStatus["TimedOut"] = "TimedOut";
12
- })(JobStatus || (JobStatus = {}));
3
+ export const JobStatus = {
4
+ Created: "Created",
5
+ Dispatched: "Dispatched",
6
+ Failed: "Failed",
7
+ InProgress: "InProgress",
8
+ Queued: "Queued",
9
+ Succeeded: "Succeeded",
10
+ TimedOut: "TimedOut",
11
+ };
13
12
  export class InvalidNonceException extends __BaseException {
14
13
  constructor(opts) {
15
14
  super({
@@ -58,34 +57,30 @@ export class InvalidClientTokenException extends __BaseException {
58
57
  Object.setPrototypeOf(this, InvalidClientTokenException.prototype);
59
58
  }
60
59
  }
61
- export var ActionCategory;
62
- (function (ActionCategory) {
63
- ActionCategory["Approval"] = "Approval";
64
- ActionCategory["Build"] = "Build";
65
- ActionCategory["Deploy"] = "Deploy";
66
- ActionCategory["Invoke"] = "Invoke";
67
- ActionCategory["Source"] = "Source";
68
- ActionCategory["Test"] = "Test";
69
- })(ActionCategory || (ActionCategory = {}));
70
- export var ActionConfigurationPropertyType;
71
- (function (ActionConfigurationPropertyType) {
72
- ActionConfigurationPropertyType["Boolean"] = "Boolean";
73
- ActionConfigurationPropertyType["Number"] = "Number";
74
- ActionConfigurationPropertyType["String"] = "String";
75
- })(ActionConfigurationPropertyType || (ActionConfigurationPropertyType = {}));
76
- export var ActionOwner;
77
- (function (ActionOwner) {
78
- ActionOwner["AWS"] = "AWS";
79
- ActionOwner["Custom"] = "Custom";
80
- ActionOwner["ThirdParty"] = "ThirdParty";
81
- })(ActionOwner || (ActionOwner = {}));
82
- export var ActionExecutionStatus;
83
- (function (ActionExecutionStatus) {
84
- ActionExecutionStatus["Abandoned"] = "Abandoned";
85
- ActionExecutionStatus["Failed"] = "Failed";
86
- ActionExecutionStatus["InProgress"] = "InProgress";
87
- ActionExecutionStatus["Succeeded"] = "Succeeded";
88
- })(ActionExecutionStatus || (ActionExecutionStatus = {}));
60
+ export const ActionCategory = {
61
+ Approval: "Approval",
62
+ Build: "Build",
63
+ Deploy: "Deploy",
64
+ Invoke: "Invoke",
65
+ Source: "Source",
66
+ Test: "Test",
67
+ };
68
+ export const ActionConfigurationPropertyType = {
69
+ Boolean: "Boolean",
70
+ Number: "Number",
71
+ String: "String",
72
+ };
73
+ export const ActionOwner = {
74
+ AWS: "AWS",
75
+ Custom: "Custom",
76
+ ThirdParty: "ThirdParty",
77
+ };
78
+ export const ActionExecutionStatus = {
79
+ Abandoned: "Abandoned",
80
+ Failed: "Failed",
81
+ InProgress: "InProgress",
82
+ Succeeded: "Succeeded",
83
+ };
89
84
  export class ActionNotFoundException extends __BaseException {
90
85
  constructor(opts) {
91
86
  super({
@@ -98,11 +93,10 @@ export class ActionNotFoundException extends __BaseException {
98
93
  Object.setPrototypeOf(this, ActionNotFoundException.prototype);
99
94
  }
100
95
  }
101
- export var ExecutorType;
102
- (function (ExecutorType) {
103
- ExecutorType["JobWorker"] = "JobWorker";
104
- ExecutorType["Lambda"] = "Lambda";
105
- })(ExecutorType || (ExecutorType = {}));
96
+ export const ExecutorType = {
97
+ JobWorker: "JobWorker",
98
+ Lambda: "Lambda",
99
+ };
106
100
  export class ActionTypeNotFoundException extends __BaseException {
107
101
  constructor(opts) {
108
102
  super({
@@ -127,27 +121,22 @@ export class ApprovalAlreadyCompletedException extends __BaseException {
127
121
  Object.setPrototypeOf(this, ApprovalAlreadyCompletedException.prototype);
128
122
  }
129
123
  }
130
- export var ApprovalStatus;
131
- (function (ApprovalStatus) {
132
- ApprovalStatus["Approved"] = "Approved";
133
- ApprovalStatus["Rejected"] = "Rejected";
134
- })(ApprovalStatus || (ApprovalStatus = {}));
135
- export var ArtifactLocationType;
136
- (function (ArtifactLocationType) {
137
- ArtifactLocationType["S3"] = "S3";
138
- })(ArtifactLocationType || (ArtifactLocationType = {}));
139
- export var EncryptionKeyType;
140
- (function (EncryptionKeyType) {
141
- EncryptionKeyType["KMS"] = "KMS";
142
- })(EncryptionKeyType || (EncryptionKeyType = {}));
143
- export var ArtifactStoreType;
144
- (function (ArtifactStoreType) {
145
- ArtifactStoreType["S3"] = "S3";
146
- })(ArtifactStoreType || (ArtifactStoreType = {}));
147
- export var BlockerType;
148
- (function (BlockerType) {
149
- BlockerType["Schedule"] = "Schedule";
150
- })(BlockerType || (BlockerType = {}));
124
+ export const ApprovalStatus = {
125
+ Approved: "Approved",
126
+ Rejected: "Rejected",
127
+ };
128
+ export const ArtifactLocationType = {
129
+ S3: "S3",
130
+ };
131
+ export const EncryptionKeyType = {
132
+ KMS: "KMS",
133
+ };
134
+ export const ArtifactStoreType = {
135
+ S3: "S3",
136
+ };
137
+ export const BlockerType = {
138
+ Schedule: "Schedule",
139
+ };
151
140
  export class ConcurrentModificationException extends __BaseException {
152
141
  constructor(opts) {
153
142
  super({
@@ -268,11 +257,10 @@ export class WebhookNotFoundException extends __BaseException {
268
257
  Object.setPrototypeOf(this, WebhookNotFoundException.prototype);
269
258
  }
270
259
  }
271
- export var StageTransitionType;
272
- (function (StageTransitionType) {
273
- StageTransitionType["Inbound"] = "Inbound";
274
- StageTransitionType["Outbound"] = "Outbound";
275
- })(StageTransitionType || (StageTransitionType = {}));
260
+ export const StageTransitionType = {
261
+ Inbound: "Inbound",
262
+ Outbound: "Outbound",
263
+ };
276
264
  export class PipelineNotFoundException extends __BaseException {
277
265
  constructor(opts) {
278
266
  super({
@@ -309,16 +297,15 @@ export class PipelineVersionNotFoundException extends __BaseException {
309
297
  Object.setPrototypeOf(this, PipelineVersionNotFoundException.prototype);
310
298
  }
311
299
  }
312
- export var PipelineExecutionStatus;
313
- (function (PipelineExecutionStatus) {
314
- PipelineExecutionStatus["Cancelled"] = "Cancelled";
315
- PipelineExecutionStatus["Failed"] = "Failed";
316
- PipelineExecutionStatus["InProgress"] = "InProgress";
317
- PipelineExecutionStatus["Stopped"] = "Stopped";
318
- PipelineExecutionStatus["Stopping"] = "Stopping";
319
- PipelineExecutionStatus["Succeeded"] = "Succeeded";
320
- PipelineExecutionStatus["Superseded"] = "Superseded";
321
- })(PipelineExecutionStatus || (PipelineExecutionStatus = {}));
300
+ export const PipelineExecutionStatus = {
301
+ Cancelled: "Cancelled",
302
+ Failed: "Failed",
303
+ InProgress: "InProgress",
304
+ Stopped: "Stopped",
305
+ Stopping: "Stopping",
306
+ Succeeded: "Succeeded",
307
+ Superseded: "Superseded",
308
+ };
322
309
  export class PipelineExecutionNotFoundException extends __BaseException {
323
310
  constructor(opts) {
324
311
  super({
@@ -331,15 +318,14 @@ export class PipelineExecutionNotFoundException extends __BaseException {
331
318
  Object.setPrototypeOf(this, PipelineExecutionNotFoundException.prototype);
332
319
  }
333
320
  }
334
- export var StageExecutionStatus;
335
- (function (StageExecutionStatus) {
336
- StageExecutionStatus["Cancelled"] = "Cancelled";
337
- StageExecutionStatus["Failed"] = "Failed";
338
- StageExecutionStatus["InProgress"] = "InProgress";
339
- StageExecutionStatus["Stopped"] = "Stopped";
340
- StageExecutionStatus["Stopping"] = "Stopping";
341
- StageExecutionStatus["Succeeded"] = "Succeeded";
342
- })(StageExecutionStatus || (StageExecutionStatus = {}));
321
+ export const StageExecutionStatus = {
322
+ Cancelled: "Cancelled",
323
+ Failed: "Failed",
324
+ InProgress: "InProgress",
325
+ Stopped: "Stopped",
326
+ Stopping: "Stopping",
327
+ Succeeded: "Succeeded",
328
+ };
343
329
  export class InvalidJobException extends __BaseException {
344
330
  constructor(opts) {
345
331
  super({
@@ -364,15 +350,14 @@ export class InvalidNextTokenException extends __BaseException {
364
350
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
365
351
  }
366
352
  }
367
- export var TriggerType;
368
- (function (TriggerType) {
369
- TriggerType["CloudWatchEvent"] = "CloudWatchEvent";
370
- TriggerType["CreatePipeline"] = "CreatePipeline";
371
- TriggerType["PollForSourceChanges"] = "PollForSourceChanges";
372
- TriggerType["PutActionRevision"] = "PutActionRevision";
373
- TriggerType["StartPipelineExecution"] = "StartPipelineExecution";
374
- TriggerType["Webhook"] = "Webhook";
375
- })(TriggerType || (TriggerType = {}));
353
+ export const TriggerType = {
354
+ CloudWatchEvent: "CloudWatchEvent",
355
+ CreatePipeline: "CreatePipeline",
356
+ PollForSourceChanges: "PollForSourceChanges",
357
+ PutActionRevision: "PutActionRevision",
358
+ StartPipelineExecution: "StartPipelineExecution",
359
+ Webhook: "Webhook",
360
+ };
376
361
  export class InvalidArnException extends __BaseException {
377
362
  constructor(opts) {
378
363
  super({
@@ -397,12 +382,11 @@ export class ResourceNotFoundException extends __BaseException {
397
382
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
398
383
  }
399
384
  }
400
- export var WebhookAuthenticationType;
401
- (function (WebhookAuthenticationType) {
402
- WebhookAuthenticationType["GITHUB_HMAC"] = "GITHUB_HMAC";
403
- WebhookAuthenticationType["IP"] = "IP";
404
- WebhookAuthenticationType["UNAUTHENTICATED"] = "UNAUTHENTICATED";
405
- })(WebhookAuthenticationType || (WebhookAuthenticationType = {}));
385
+ export const WebhookAuthenticationType = {
386
+ GITHUB_HMAC: "GITHUB_HMAC",
387
+ IP: "IP",
388
+ UNAUTHENTICATED: "UNAUTHENTICATED",
389
+ };
406
390
  export class InvalidApprovalTokenException extends __BaseException {
407
391
  constructor(opts) {
408
392
  super({
@@ -427,15 +411,14 @@ export class InvalidJobStateException extends __BaseException {
427
411
  Object.setPrototypeOf(this, InvalidJobStateException.prototype);
428
412
  }
429
413
  }
430
- export var FailureType;
431
- (function (FailureType) {
432
- FailureType["ConfigurationError"] = "ConfigurationError";
433
- FailureType["JobFailed"] = "JobFailed";
434
- FailureType["PermissionError"] = "PermissionError";
435
- FailureType["RevisionOutOfSync"] = "RevisionOutOfSync";
436
- FailureType["RevisionUnavailable"] = "RevisionUnavailable";
437
- FailureType["SystemUnavailable"] = "SystemUnavailable";
438
- })(FailureType || (FailureType = {}));
414
+ export const FailureType = {
415
+ ConfigurationError: "ConfigurationError",
416
+ JobFailed: "JobFailed",
417
+ PermissionError: "PermissionError",
418
+ RevisionOutOfSync: "RevisionOutOfSync",
419
+ RevisionUnavailable: "RevisionUnavailable",
420
+ SystemUnavailable: "SystemUnavailable",
421
+ };
439
422
  export class OutputVariablesSizeExceededException extends __BaseException {
440
423
  constructor(opts) {
441
424
  super({
@@ -496,10 +479,9 @@ export class NotLatestPipelineExecutionException extends __BaseException {
496
479
  Object.setPrototypeOf(this, NotLatestPipelineExecutionException.prototype);
497
480
  }
498
481
  }
499
- export var StageRetryMode;
500
- (function (StageRetryMode) {
501
- StageRetryMode["FAILED_ACTIONS"] = "FAILED_ACTIONS";
502
- })(StageRetryMode || (StageRetryMode = {}));
482
+ export const StageRetryMode = {
483
+ FAILED_ACTIONS: "FAILED_ACTIONS",
484
+ };
503
485
  export class StageNotRetryableException extends __BaseException {
504
486
  constructor(opts) {
505
487
  super({
@@ -27,7 +27,7 @@ export interface AcknowledgeJobCommandOutput extends AcknowledgeJobOutput, __Met
27
27
  * import { CodePipelineClient, AcknowledgeJobCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
28
28
  * // const { CodePipelineClient, AcknowledgeJobCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
29
29
  * const client = new CodePipelineClient(config);
30
- * const input = {
30
+ * const input = { // AcknowledgeJobInput
31
31
  * jobId: "STRING_VALUE", // required
32
32
  * nonce: "STRING_VALUE", // required
33
33
  * };
@@ -27,7 +27,7 @@ export interface AcknowledgeThirdPartyJobCommandOutput extends AcknowledgeThirdP
27
27
  * import { CodePipelineClient, AcknowledgeThirdPartyJobCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
28
28
  * // const { CodePipelineClient, AcknowledgeThirdPartyJobCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
29
29
  * const client = new CodePipelineClient(config);
30
- * const input = {
30
+ * const input = { // AcknowledgeThirdPartyJobInput
31
31
  * jobId: "STRING_VALUE", // required
32
32
  * nonce: "STRING_VALUE", // required
33
33
  * clientToken: "STRING_VALUE", // required
@@ -27,18 +27,18 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
27
27
  * import { CodePipelineClient, CreateCustomActionTypeCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
28
28
  * // const { CodePipelineClient, CreateCustomActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
29
29
  * const client = new CodePipelineClient(config);
30
- * const input = {
30
+ * const input = { // CreateCustomActionTypeInput
31
31
  * category: "STRING_VALUE", // required
32
32
  * provider: "STRING_VALUE", // required
33
33
  * version: "STRING_VALUE", // required
34
- * settings: {
34
+ * settings: { // ActionTypeSettings
35
35
  * thirdPartyConfigurationUrl: "STRING_VALUE",
36
36
  * entityUrlTemplate: "STRING_VALUE",
37
37
  * executionUrlTemplate: "STRING_VALUE",
38
38
  * revisionUrlTemplate: "STRING_VALUE",
39
39
  * },
40
- * configurationProperties: [
41
- * {
40
+ * configurationProperties: [ // ActionConfigurationPropertyList
41
+ * { // ActionConfigurationProperty
42
42
  * name: "STRING_VALUE", // required
43
43
  * required: true || false, // required
44
44
  * key: true || false, // required
@@ -48,7 +48,7 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
48
48
  * type: "STRING_VALUE",
49
49
  * },
50
50
  * ],
51
- * inputArtifactDetails: {
51
+ * inputArtifactDetails: { // ArtifactDetails
52
52
  * minimumCount: Number("int"), // required
53
53
  * maximumCount: Number("int"), // required
54
54
  * },
@@ -56,8 +56,8 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
56
56
  * minimumCount: Number("int"), // required
57
57
  * maximumCount: Number("int"), // required
58
58
  * },
59
- * tags: [
60
- * {
59
+ * tags: [ // TagList
60
+ * { // Tag
61
61
  * key: "STRING_VALUE", // required
62
62
  * value: "STRING_VALUE", // required
63
63
  * },