@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,15 +4,16 @@ export interface AcknowledgeJobInput {
4
4
  jobId: string | undefined;
5
5
  nonce: string | undefined;
6
6
  }
7
- export declare enum JobStatus {
8
- Created = "Created",
9
- Dispatched = "Dispatched",
10
- Failed = "Failed",
11
- InProgress = "InProgress",
12
- Queued = "Queued",
13
- Succeeded = "Succeeded",
14
- TimedOut = "TimedOut",
15
- }
7
+ export declare const JobStatus: {
8
+ readonly Created: "Created";
9
+ readonly Dispatched: "Dispatched";
10
+ readonly Failed: "Failed";
11
+ readonly InProgress: "InProgress";
12
+ readonly Queued: "Queued";
13
+ readonly Succeeded: "Succeeded";
14
+ readonly TimedOut: "TimedOut";
15
+ };
16
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
16
17
  export interface AcknowledgeJobOutput {
17
18
  status?: JobStatus | string;
18
19
  }
@@ -52,22 +53,26 @@ export declare class InvalidClientTokenException extends __BaseException {
52
53
  opts: __ExceptionOptionType<InvalidClientTokenException, __BaseException>
53
54
  );
54
55
  }
55
- export declare enum ActionCategory {
56
- Approval = "Approval",
57
- Build = "Build",
58
- Deploy = "Deploy",
59
- Invoke = "Invoke",
60
- Source = "Source",
61
- Test = "Test",
62
- }
56
+ export declare const ActionCategory: {
57
+ readonly Approval: "Approval";
58
+ readonly Build: "Build";
59
+ readonly Deploy: "Deploy";
60
+ readonly Invoke: "Invoke";
61
+ readonly Source: "Source";
62
+ readonly Test: "Test";
63
+ };
64
+ export type ActionCategory =
65
+ (typeof ActionCategory)[keyof typeof ActionCategory];
63
66
  export interface ActionConfiguration {
64
67
  configuration?: Record<string, string>;
65
68
  }
66
- export declare enum ActionConfigurationPropertyType {
67
- Boolean = "Boolean",
68
- Number = "Number",
69
- String = "String",
70
- }
69
+ export declare const ActionConfigurationPropertyType: {
70
+ readonly Boolean: "Boolean";
71
+ readonly Number: "Number";
72
+ readonly String: "String";
73
+ };
74
+ export type ActionConfigurationPropertyType =
75
+ (typeof ActionConfigurationPropertyType)[keyof typeof ActionConfigurationPropertyType];
71
76
  export interface ActionConfigurationProperty {
72
77
  name: string | undefined;
73
78
  required: boolean | undefined;
@@ -81,11 +86,12 @@ export interface ActionContext {
81
86
  name?: string;
82
87
  actionExecutionId?: string;
83
88
  }
84
- export declare enum ActionOwner {
85
- AWS = "AWS",
86
- Custom = "Custom",
87
- ThirdParty = "ThirdParty",
88
- }
89
+ export declare const ActionOwner: {
90
+ readonly AWS: "AWS";
91
+ readonly Custom: "Custom";
92
+ readonly ThirdParty: "ThirdParty";
93
+ };
94
+ export type ActionOwner = (typeof ActionOwner)[keyof typeof ActionOwner];
89
95
  export interface ActionTypeId {
90
96
  category: ActionCategory | string | undefined;
91
97
  owner: ActionOwner | string | undefined;
@@ -113,12 +119,14 @@ export interface ErrorDetails {
113
119
  code?: string;
114
120
  message?: string;
115
121
  }
116
- export declare enum ActionExecutionStatus {
117
- Abandoned = "Abandoned",
118
- Failed = "Failed",
119
- InProgress = "InProgress",
120
- Succeeded = "Succeeded",
121
- }
122
+ export declare const ActionExecutionStatus: {
123
+ readonly Abandoned: "Abandoned";
124
+ readonly Failed: "Failed";
125
+ readonly InProgress: "InProgress";
126
+ readonly Succeeded: "Succeeded";
127
+ };
128
+ export type ActionExecutionStatus =
129
+ (typeof ActionExecutionStatus)[keyof typeof ActionExecutionStatus];
122
130
  export interface ActionExecution {
123
131
  actionExecutionId?: string;
124
132
  status?: ActionExecutionStatus | string;
@@ -224,10 +232,11 @@ export interface ExecutorConfiguration {
224
232
  lambdaExecutorConfiguration?: LambdaExecutorConfiguration;
225
233
  jobWorkerExecutorConfiguration?: JobWorkerExecutorConfiguration;
226
234
  }
227
- export declare enum ExecutorType {
228
- JobWorker = "JobWorker",
229
- Lambda = "Lambda",
230
- }
235
+ export declare const ExecutorType: {
236
+ readonly JobWorker: "JobWorker";
237
+ readonly Lambda: "Lambda";
238
+ };
239
+ export type ExecutorType = (typeof ExecutorType)[keyof typeof ExecutorType];
231
240
  export interface ActionTypeExecutor {
232
241
  configuration: ExecutorConfiguration | undefined;
233
242
  type: ExecutorType | string | undefined;
@@ -284,10 +293,12 @@ export declare class ApprovalAlreadyCompletedException extends __BaseException {
284
293
  >
285
294
  );
286
295
  }
287
- export declare enum ApprovalStatus {
288
- Approved = "Approved",
289
- Rejected = "Rejected",
290
- }
296
+ export declare const ApprovalStatus: {
297
+ readonly Approved: "Approved";
298
+ readonly Rejected: "Rejected";
299
+ };
300
+ export type ApprovalStatus =
301
+ (typeof ApprovalStatus)[keyof typeof ApprovalStatus];
291
302
  export interface ApprovalResult {
292
303
  summary: string | undefined;
293
304
  status: ApprovalStatus | string | undefined;
@@ -296,9 +307,11 @@ export interface S3ArtifactLocation {
296
307
  bucketName: string | undefined;
297
308
  objectKey: string | undefined;
298
309
  }
299
- export declare enum ArtifactLocationType {
300
- S3 = "S3",
301
- }
310
+ export declare const ArtifactLocationType: {
311
+ readonly S3: "S3";
312
+ };
313
+ export type ArtifactLocationType =
314
+ (typeof ArtifactLocationType)[keyof typeof ArtifactLocationType];
302
315
  export interface ArtifactLocation {
303
316
  type?: ArtifactLocationType | string;
304
317
  s3Location?: S3ArtifactLocation;
@@ -316,16 +329,20 @@ export interface ArtifactRevision {
316
329
  created?: Date;
317
330
  revisionUrl?: string;
318
331
  }
319
- export declare enum EncryptionKeyType {
320
- KMS = "KMS",
321
- }
332
+ export declare const EncryptionKeyType: {
333
+ readonly KMS: "KMS";
334
+ };
335
+ export type EncryptionKeyType =
336
+ (typeof EncryptionKeyType)[keyof typeof EncryptionKeyType];
322
337
  export interface EncryptionKey {
323
338
  id: string | undefined;
324
339
  type: EncryptionKeyType | string | undefined;
325
340
  }
326
- export declare enum ArtifactStoreType {
327
- S3 = "S3",
328
- }
341
+ export declare const ArtifactStoreType: {
342
+ readonly S3: "S3";
343
+ };
344
+ export type ArtifactStoreType =
345
+ (typeof ArtifactStoreType)[keyof typeof ArtifactStoreType];
329
346
  export interface ArtifactStore {
330
347
  type: ArtifactStoreType | string | undefined;
331
348
  location: string | undefined;
@@ -336,9 +353,10 @@ export interface AWSSessionCredentials {
336
353
  secretAccessKey: string | undefined;
337
354
  sessionToken: string | undefined;
338
355
  }
339
- export declare enum BlockerType {
340
- Schedule = "Schedule",
341
- }
356
+ export declare const BlockerType: {
357
+ readonly Schedule: "Schedule";
358
+ };
359
+ export type BlockerType = (typeof BlockerType)[keyof typeof BlockerType];
342
360
  export interface BlockerDeclaration {
343
361
  name: string | undefined;
344
362
  type: BlockerType | string | undefined;
@@ -480,10 +498,12 @@ export declare class WebhookNotFoundException extends __BaseException {
480
498
  opts: __ExceptionOptionType<WebhookNotFoundException, __BaseException>
481
499
  );
482
500
  }
483
- export declare enum StageTransitionType {
484
- Inbound = "Inbound",
485
- Outbound = "Outbound",
486
- }
501
+ export declare const StageTransitionType: {
502
+ readonly Inbound: "Inbound";
503
+ readonly Outbound: "Outbound";
504
+ };
505
+ export type StageTransitionType =
506
+ (typeof StageTransitionType)[keyof typeof StageTransitionType];
487
507
  export interface DisableStageTransitionInput {
488
508
  pipelineName: string | undefined;
489
509
  stageName: string | undefined;
@@ -576,15 +596,17 @@ export interface GetPipelineExecutionInput {
576
596
  pipelineName: string | undefined;
577
597
  pipelineExecutionId: string | undefined;
578
598
  }
579
- export declare enum PipelineExecutionStatus {
580
- Cancelled = "Cancelled",
581
- Failed = "Failed",
582
- InProgress = "InProgress",
583
- Stopped = "Stopped",
584
- Stopping = "Stopping",
585
- Succeeded = "Succeeded",
586
- Superseded = "Superseded",
587
- }
599
+ export declare const PipelineExecutionStatus: {
600
+ readonly Cancelled: "Cancelled";
601
+ readonly Failed: "Failed";
602
+ readonly InProgress: "InProgress";
603
+ readonly Stopped: "Stopped";
604
+ readonly Stopping: "Stopping";
605
+ readonly Succeeded: "Succeeded";
606
+ readonly Superseded: "Superseded";
607
+ };
608
+ export type PipelineExecutionStatus =
609
+ (typeof PipelineExecutionStatus)[keyof typeof PipelineExecutionStatus];
588
610
  export interface PipelineExecution {
589
611
  pipelineName?: string;
590
612
  pipelineVersion?: number;
@@ -609,14 +631,16 @@ export declare class PipelineExecutionNotFoundException extends __BaseException
609
631
  export interface GetPipelineStateInput {
610
632
  name: string | undefined;
611
633
  }
612
- export declare enum StageExecutionStatus {
613
- Cancelled = "Cancelled",
614
- Failed = "Failed",
615
- InProgress = "InProgress",
616
- Stopped = "Stopped",
617
- Stopping = "Stopping",
618
- Succeeded = "Succeeded",
619
- }
634
+ export declare const StageExecutionStatus: {
635
+ readonly Cancelled: "Cancelled";
636
+ readonly Failed: "Failed";
637
+ readonly InProgress: "InProgress";
638
+ readonly Stopped: "Stopped";
639
+ readonly Stopping: "Stopping";
640
+ readonly Succeeded: "Succeeded";
641
+ };
642
+ export type StageExecutionStatus =
643
+ (typeof StageExecutionStatus)[keyof typeof StageExecutionStatus];
620
644
  export interface StageExecution {
621
645
  pipelineExecutionId: string | undefined;
622
646
  status: StageExecutionStatus | string | undefined;
@@ -710,14 +734,15 @@ export interface SourceRevision {
710
734
  export interface StopExecutionTrigger {
711
735
  reason?: string;
712
736
  }
713
- export declare enum TriggerType {
714
- CloudWatchEvent = "CloudWatchEvent",
715
- CreatePipeline = "CreatePipeline",
716
- PollForSourceChanges = "PollForSourceChanges",
717
- PutActionRevision = "PutActionRevision",
718
- StartPipelineExecution = "StartPipelineExecution",
719
- Webhook = "Webhook",
720
- }
737
+ export declare const TriggerType: {
738
+ readonly CloudWatchEvent: "CloudWatchEvent";
739
+ readonly CreatePipeline: "CreatePipeline";
740
+ readonly PollForSourceChanges: "PollForSourceChanges";
741
+ readonly PutActionRevision: "PutActionRevision";
742
+ readonly StartPipelineExecution: "StartPipelineExecution";
743
+ readonly Webhook: "Webhook";
744
+ };
745
+ export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
721
746
  export interface ExecutionTrigger {
722
747
  triggerType?: TriggerType | string;
723
748
  triggerDetail?: string;
@@ -776,11 +801,13 @@ export interface ListWebhooksInput {
776
801
  NextToken?: string;
777
802
  MaxResults?: number;
778
803
  }
779
- export declare enum WebhookAuthenticationType {
780
- GITHUB_HMAC = "GITHUB_HMAC",
781
- IP = "IP",
782
- UNAUTHENTICATED = "UNAUTHENTICATED",
783
- }
804
+ export declare const WebhookAuthenticationType: {
805
+ readonly GITHUB_HMAC: "GITHUB_HMAC";
806
+ readonly IP: "IP";
807
+ readonly UNAUTHENTICATED: "UNAUTHENTICATED";
808
+ };
809
+ export type WebhookAuthenticationType =
810
+ (typeof WebhookAuthenticationType)[keyof typeof WebhookAuthenticationType];
784
811
  export interface WebhookAuthConfiguration {
785
812
  AllowedIPRange?: string;
786
813
  SecretToken?: string;
@@ -869,14 +896,15 @@ export declare class InvalidJobStateException extends __BaseException {
869
896
  opts: __ExceptionOptionType<InvalidJobStateException, __BaseException>
870
897
  );
871
898
  }
872
- export declare enum FailureType {
873
- ConfigurationError = "ConfigurationError",
874
- JobFailed = "JobFailed",
875
- PermissionError = "PermissionError",
876
- RevisionOutOfSync = "RevisionOutOfSync",
877
- RevisionUnavailable = "RevisionUnavailable",
878
- SystemUnavailable = "SystemUnavailable",
879
- }
899
+ export declare const FailureType: {
900
+ readonly ConfigurationError: "ConfigurationError";
901
+ readonly JobFailed: "JobFailed";
902
+ readonly PermissionError: "PermissionError";
903
+ readonly RevisionOutOfSync: "RevisionOutOfSync";
904
+ readonly RevisionUnavailable: "RevisionUnavailable";
905
+ readonly SystemUnavailable: "SystemUnavailable";
906
+ };
907
+ export type FailureType = (typeof FailureType)[keyof typeof FailureType];
880
908
  export interface FailureDetails {
881
909
  type: FailureType | string | undefined;
882
910
  message: string | undefined;
@@ -972,9 +1000,11 @@ export declare class NotLatestPipelineExecutionException extends __BaseException
972
1000
  >
973
1001
  );
974
1002
  }
975
- export declare enum StageRetryMode {
976
- FAILED_ACTIONS = "FAILED_ACTIONS",
977
- }
1003
+ export declare const StageRetryMode: {
1004
+ readonly FAILED_ACTIONS: "FAILED_ACTIONS";
1005
+ };
1006
+ export type StageRetryMode =
1007
+ (typeof StageRetryMode)[keyof typeof StageRetryMode];
978
1008
  export interface RetryStageExecutionInput {
979
1009
  pipelineName: string | undefined;
980
1010
  stageName: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codepipeline",
3
3
  "description": "AWS SDK for JavaScript Codepipeline Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",