@aws-sdk/client-codepipeline 3.337.0 → 3.340.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 (177) hide show
  1. package/README.md +12 -13
  2. package/dist-cjs/CodePipelineClient.js +2 -1
  3. package/dist-cjs/commands/AcknowledgeJobCommand.js +2 -1
  4. package/dist-cjs/commands/AcknowledgeThirdPartyJobCommand.js +2 -1
  5. package/dist-cjs/commands/CreateCustomActionTypeCommand.js +2 -1
  6. package/dist-cjs/commands/CreatePipelineCommand.js +2 -1
  7. package/dist-cjs/commands/DeleteCustomActionTypeCommand.js +2 -1
  8. package/dist-cjs/commands/DeletePipelineCommand.js +2 -1
  9. package/dist-cjs/commands/DeleteWebhookCommand.js +2 -1
  10. package/dist-cjs/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -1
  11. package/dist-cjs/commands/DisableStageTransitionCommand.js +2 -1
  12. package/dist-cjs/commands/EnableStageTransitionCommand.js +2 -1
  13. package/dist-cjs/commands/GetActionTypeCommand.js +2 -1
  14. package/dist-cjs/commands/GetJobDetailsCommand.js +2 -1
  15. package/dist-cjs/commands/GetPipelineCommand.js +2 -1
  16. package/dist-cjs/commands/GetPipelineExecutionCommand.js +2 -1
  17. package/dist-cjs/commands/GetPipelineStateCommand.js +2 -1
  18. package/dist-cjs/commands/GetThirdPartyJobDetailsCommand.js +2 -1
  19. package/dist-cjs/commands/ListActionExecutionsCommand.js +2 -1
  20. package/dist-cjs/commands/ListActionTypesCommand.js +2 -1
  21. package/dist-cjs/commands/ListPipelineExecutionsCommand.js +2 -1
  22. package/dist-cjs/commands/ListPipelinesCommand.js +2 -1
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  24. package/dist-cjs/commands/ListWebhooksCommand.js +2 -1
  25. package/dist-cjs/commands/PollForJobsCommand.js +2 -1
  26. package/dist-cjs/commands/PollForThirdPartyJobsCommand.js +2 -1
  27. package/dist-cjs/commands/PutActionRevisionCommand.js +2 -1
  28. package/dist-cjs/commands/PutApprovalResultCommand.js +2 -1
  29. package/dist-cjs/commands/PutJobFailureResultCommand.js +2 -1
  30. package/dist-cjs/commands/PutJobSuccessResultCommand.js +2 -1
  31. package/dist-cjs/commands/PutThirdPartyJobFailureResultCommand.js +2 -1
  32. package/dist-cjs/commands/PutThirdPartyJobSuccessResultCommand.js +2 -1
  33. package/dist-cjs/commands/PutWebhookCommand.js +2 -1
  34. package/dist-cjs/commands/RegisterWebhookWithThirdPartyCommand.js +2 -1
  35. package/dist-cjs/commands/RetryStageExecutionCommand.js +2 -1
  36. package/dist-cjs/commands/StartPipelineExecutionCommand.js +2 -1
  37. package/dist-cjs/commands/StopPipelineExecutionCommand.js +2 -1
  38. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  39. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  40. package/dist-cjs/commands/UpdateActionTypeCommand.js +2 -1
  41. package/dist-cjs/commands/UpdatePipelineCommand.js +2 -1
  42. package/dist-cjs/endpoint/ruleset.js +3 -3
  43. package/dist-cjs/index.js +2 -2
  44. package/dist-cjs/models/CodePipelineServiceException.js +2 -1
  45. package/dist-cjs/protocols/Aws_json1_1.js +1 -0
  46. package/dist-es/CodePipelineClient.js +1 -0
  47. package/dist-es/commands/AcknowledgeJobCommand.js +1 -0
  48. package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +1 -0
  49. package/dist-es/commands/CreateCustomActionTypeCommand.js +1 -0
  50. package/dist-es/commands/CreatePipelineCommand.js +1 -0
  51. package/dist-es/commands/DeleteCustomActionTypeCommand.js +1 -0
  52. package/dist-es/commands/DeletePipelineCommand.js +1 -0
  53. package/dist-es/commands/DeleteWebhookCommand.js +1 -0
  54. package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +1 -0
  55. package/dist-es/commands/DisableStageTransitionCommand.js +1 -0
  56. package/dist-es/commands/EnableStageTransitionCommand.js +1 -0
  57. package/dist-es/commands/GetActionTypeCommand.js +1 -0
  58. package/dist-es/commands/GetJobDetailsCommand.js +1 -0
  59. package/dist-es/commands/GetPipelineCommand.js +1 -0
  60. package/dist-es/commands/GetPipelineExecutionCommand.js +1 -0
  61. package/dist-es/commands/GetPipelineStateCommand.js +1 -0
  62. package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +1 -0
  63. package/dist-es/commands/ListActionExecutionsCommand.js +1 -0
  64. package/dist-es/commands/ListActionTypesCommand.js +1 -0
  65. package/dist-es/commands/ListPipelineExecutionsCommand.js +1 -0
  66. package/dist-es/commands/ListPipelinesCommand.js +1 -0
  67. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  68. package/dist-es/commands/ListWebhooksCommand.js +1 -0
  69. package/dist-es/commands/PollForJobsCommand.js +1 -0
  70. package/dist-es/commands/PollForThirdPartyJobsCommand.js +1 -0
  71. package/dist-es/commands/PutActionRevisionCommand.js +1 -0
  72. package/dist-es/commands/PutApprovalResultCommand.js +1 -0
  73. package/dist-es/commands/PutJobFailureResultCommand.js +1 -0
  74. package/dist-es/commands/PutJobSuccessResultCommand.js +1 -0
  75. package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +1 -0
  76. package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +1 -0
  77. package/dist-es/commands/PutWebhookCommand.js +1 -0
  78. package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +1 -0
  79. package/dist-es/commands/RetryStageExecutionCommand.js +1 -0
  80. package/dist-es/commands/StartPipelineExecutionCommand.js +1 -0
  81. package/dist-es/commands/StopPipelineExecutionCommand.js +1 -0
  82. package/dist-es/commands/TagResourceCommand.js +1 -0
  83. package/dist-es/commands/UntagResourceCommand.js +1 -0
  84. package/dist-es/commands/UpdateActionTypeCommand.js +1 -0
  85. package/dist-es/commands/UpdatePipelineCommand.js +1 -0
  86. package/dist-es/endpoint/ruleset.js +3 -3
  87. package/dist-es/index.js +2 -2
  88. package/dist-es/models/CodePipelineServiceException.js +1 -0
  89. package/dist-es/protocols/Aws_json1_1.js +1 -0
  90. package/dist-types/CodePipeline.d.ts +83 -84
  91. package/dist-types/CodePipelineClient.d.ts +86 -87
  92. package/dist-types/commands/AcknowledgeJobCommand.d.ts +5 -1
  93. package/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +5 -1
  94. package/dist-types/commands/CreateCustomActionTypeCommand.d.ts +12 -8
  95. package/dist-types/commands/CreatePipelineCommand.d.ts +22 -18
  96. package/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +7 -3
  97. package/dist-types/commands/DeletePipelineCommand.d.ts +4 -0
  98. package/dist-types/commands/DeleteWebhookCommand.d.ts +5 -2
  99. package/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +7 -3
  100. package/dist-types/commands/DisableStageTransitionCommand.d.ts +5 -1
  101. package/dist-types/commands/EnableStageTransitionCommand.d.ts +5 -1
  102. package/dist-types/commands/GetActionTypeCommand.d.ts +7 -3
  103. package/dist-types/commands/GetJobDetailsCommand.d.ts +15 -11
  104. package/dist-types/commands/GetPipelineCommand.d.ts +12 -7
  105. package/dist-types/commands/GetPipelineExecutionCommand.d.ts +5 -1
  106. package/dist-types/commands/GetPipelineStateCommand.d.ts +9 -5
  107. package/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +15 -11
  108. package/dist-types/commands/ListActionExecutionsCommand.d.ts +7 -3
  109. package/dist-types/commands/ListActionTypesCommand.d.ts +9 -5
  110. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +6 -2
  111. package/dist-types/commands/ListPipelinesCommand.d.ts +4 -0
  112. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  113. package/dist-types/commands/ListWebhooksCommand.d.ts +8 -4
  114. package/dist-types/commands/PollForJobsCommand.d.ts +20 -16
  115. package/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +11 -7
  116. package/dist-types/commands/PutActionRevisionCommand.d.ts +6 -1
  117. package/dist-types/commands/PutApprovalResultCommand.d.ts +6 -2
  118. package/dist-types/commands/PutJobFailureResultCommand.d.ts +5 -1
  119. package/dist-types/commands/PutJobSuccessResultCommand.d.ts +4 -0
  120. package/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +5 -1
  121. package/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +4 -0
  122. package/dist-types/commands/PutWebhookCommand.d.ts +16 -11
  123. package/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +4 -0
  124. package/dist-types/commands/RetryStageExecutionCommand.d.ts +8 -3
  125. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +4 -0
  126. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +4 -0
  127. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  128. package/dist-types/commands/UntagResourceCommand.d.ts +5 -1
  129. package/dist-types/commands/UpdateActionTypeCommand.d.ts +6 -2
  130. package/dist-types/commands/UpdatePipelineCommand.d.ts +20 -16
  131. package/dist-types/index.d.ts +200 -2
  132. package/dist-types/models/CodePipelineServiceException.d.ts +1 -0
  133. package/dist-types/models/models_0.d.ts +195 -178
  134. package/dist-types/ts3.4/CodePipelineClient.d.ts +3 -3
  135. package/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +1 -0
  136. package/dist-types/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +1 -0
  137. package/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +1 -0
  138. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +1 -0
  139. package/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +1 -0
  140. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +1 -0
  141. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +1 -0
  142. package/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +1 -0
  143. package/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +1 -0
  144. package/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +1 -0
  145. package/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +1 -0
  146. package/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +1 -0
  147. package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +1 -0
  148. package/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +1 -0
  149. package/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +1 -0
  150. package/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +1 -0
  151. package/dist-types/ts3.4/commands/ListActionExecutionsCommand.d.ts +1 -0
  152. package/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +1 -0
  153. package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +1 -0
  154. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +1 -0
  155. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  156. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +1 -0
  157. package/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +1 -0
  158. package/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +1 -0
  159. package/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +1 -0
  160. package/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +1 -0
  161. package/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +1 -0
  162. package/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +1 -0
  163. package/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +1 -0
  164. package/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +1 -0
  165. package/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +1 -0
  166. package/dist-types/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +1 -0
  167. package/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +1 -0
  168. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -0
  169. package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +1 -0
  170. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  171. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  172. package/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +1 -0
  173. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +1 -0
  174. package/dist-types/ts3.4/index.d.ts +2 -2
  175. package/dist-types/ts3.4/models/CodePipelineServiceException.d.ts +1 -0
  176. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  177. package/package.json +28 -28
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { AcknowledgeThirdPartyJobInput, AcknowledgeThirdPartyJobOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -35,7 +39,7 @@ export interface AcknowledgeThirdPartyJobCommandOutput extends AcknowledgeThirdP
35
39
  * const command = new AcknowledgeThirdPartyJobCommand(input);
36
40
  * const response = await client.send(command);
37
41
  * // { // AcknowledgeThirdPartyJobOutput
38
- * // status: "STRING_VALUE",
42
+ * // status: "Created" || "Queued" || "Dispatched" || "InProgress" || "TimedOut" || "Succeeded" || "Failed",
39
43
  * // };
40
44
  *
41
45
  * ```
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { CreateCustomActionTypeInput, CreateCustomActionTypeOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -20,7 +24,7 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
20
24
  /**
21
25
  * @public
22
26
  * <p>Creates a new custom action that can be used in all pipelines associated with the
23
- * AWS account. Only used for custom actions.</p>
27
+ * Amazon Web Services account. Only used for custom actions.</p>
24
28
  * @example
25
29
  * Use a bare-bones client and the command you need to make an API call.
26
30
  * ```javascript
@@ -28,7 +32,7 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
28
32
  * // const { CodePipelineClient, CreateCustomActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
29
33
  * const client = new CodePipelineClient(config);
30
34
  * const input = { // CreateCustomActionTypeInput
31
- * category: "STRING_VALUE", // required
35
+ * category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
32
36
  * provider: "STRING_VALUE", // required
33
37
  * version: "STRING_VALUE", // required
34
38
  * settings: { // ActionTypeSettings
@@ -45,7 +49,7 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
45
49
  * secret: true || false, // required
46
50
  * queryable: true || false,
47
51
  * description: "STRING_VALUE",
48
- * type: "STRING_VALUE",
52
+ * type: "String" || "Number" || "Boolean",
49
53
  * },
50
54
  * ],
51
55
  * inputArtifactDetails: { // ArtifactDetails
@@ -68,8 +72,8 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
68
72
  * // { // CreateCustomActionTypeOutput
69
73
  * // actionType: { // ActionType
70
74
  * // id: { // ActionTypeId
71
- * // category: "STRING_VALUE", // required
72
- * // owner: "STRING_VALUE", // required
75
+ * // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
76
+ * // owner: "AWS" || "ThirdParty" || "Custom", // required
73
77
  * // provider: "STRING_VALUE", // required
74
78
  * // version: "STRING_VALUE", // required
75
79
  * // },
@@ -87,7 +91,7 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
87
91
  * // secret: true || false, // required
88
92
  * // queryable: true || false,
89
93
  * // description: "STRING_VALUE",
90
- * // type: "STRING_VALUE",
94
+ * // type: "String" || "Number" || "Boolean",
91
95
  * // },
92
96
  * // ],
93
97
  * // inputArtifactDetails: { // ArtifactDetails
@@ -122,8 +126,8 @@ export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionT
122
126
  * <p>The specified resource tags are invalid.</p>
123
127
  *
124
128
  * @throws {@link LimitExceededException} (client fault)
125
- * <p>The number of pipelines associated with the AWS account has exceeded the limit
126
- * allowed for the account.</p>
129
+ * <p>The number of pipelines associated with the Amazon Web Services account has exceeded
130
+ * the limit allowed for the account.</p>
127
131
  *
128
132
  * @throws {@link TooManyTagsException} (client fault)
129
133
  * <p>The tags limit for a resource has been exceeded.</p>
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { CreatePipelineInput, CreatePipelineOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -20,12 +24,12 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
20
24
  /**
21
25
  * @public
22
26
  * <p>Creates a pipeline.</p>
23
- * <note>
27
+ * <note>
24
28
  * <p>In the pipeline structure, you must include either <code>artifactStore</code>
25
29
  * or <code>artifactStores</code> in your pipeline, but you cannot use both. If you
26
30
  * create a cross-region action in your pipeline, you must use
27
31
  * <code>artifactStores</code>.</p>
28
- * </note>
32
+ * </note>
29
33
  * @example
30
34
  * Use a bare-bones client and the command you need to make an API call.
31
35
  * ```javascript
@@ -37,20 +41,20 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
37
41
  * name: "STRING_VALUE", // required
38
42
  * roleArn: "STRING_VALUE", // required
39
43
  * artifactStore: { // ArtifactStore
40
- * type: "STRING_VALUE", // required
44
+ * type: "S3", // required
41
45
  * location: "STRING_VALUE", // required
42
46
  * encryptionKey: { // EncryptionKey
43
47
  * id: "STRING_VALUE", // required
44
- * type: "STRING_VALUE", // required
48
+ * type: "KMS", // required
45
49
  * },
46
50
  * },
47
51
  * artifactStores: { // ArtifactStoreMap
48
52
  * "<keys>": {
49
- * type: "STRING_VALUE", // required
53
+ * type: "S3", // required
50
54
  * location: "STRING_VALUE", // required
51
55
  * encryptionKey: {
52
56
  * id: "STRING_VALUE", // required
53
- * type: "STRING_VALUE", // required
57
+ * type: "KMS", // required
54
58
  * },
55
59
  * },
56
60
  * },
@@ -60,15 +64,15 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
60
64
  * blockers: [ // StageBlockerDeclarationList
61
65
  * { // BlockerDeclaration
62
66
  * name: "STRING_VALUE", // required
63
- * type: "STRING_VALUE", // required
67
+ * type: "Schedule", // required
64
68
  * },
65
69
  * ],
66
70
  * actions: [ // StageActionDeclarationList // required
67
71
  * { // ActionDeclaration
68
72
  * name: "STRING_VALUE", // required
69
73
  * actionTypeId: { // ActionTypeId
70
- * category: "STRING_VALUE", // required
71
- * owner: "STRING_VALUE", // required
74
+ * category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
75
+ * owner: "AWS" || "ThirdParty" || "Custom", // required
72
76
  * provider: "STRING_VALUE", // required
73
77
  * version: "STRING_VALUE", // required
74
78
  * },
@@ -109,20 +113,20 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
109
113
  * // name: "STRING_VALUE", // required
110
114
  * // roleArn: "STRING_VALUE", // required
111
115
  * // artifactStore: { // ArtifactStore
112
- * // type: "STRING_VALUE", // required
116
+ * // type: "S3", // required
113
117
  * // location: "STRING_VALUE", // required
114
118
  * // encryptionKey: { // EncryptionKey
115
119
  * // id: "STRING_VALUE", // required
116
- * // type: "STRING_VALUE", // required
120
+ * // type: "KMS", // required
117
121
  * // },
118
122
  * // },
119
123
  * // artifactStores: { // ArtifactStoreMap
120
124
  * // "<keys>": {
121
- * // type: "STRING_VALUE", // required
125
+ * // type: "S3", // required
122
126
  * // location: "STRING_VALUE", // required
123
127
  * // encryptionKey: {
124
128
  * // id: "STRING_VALUE", // required
125
- * // type: "STRING_VALUE", // required
129
+ * // type: "KMS", // required
126
130
  * // },
127
131
  * // },
128
132
  * // },
@@ -132,15 +136,15 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
132
136
  * // blockers: [ // StageBlockerDeclarationList
133
137
  * // { // BlockerDeclaration
134
138
  * // name: "STRING_VALUE", // required
135
- * // type: "STRING_VALUE", // required
139
+ * // type: "Schedule", // required
136
140
  * // },
137
141
  * // ],
138
142
  * // actions: [ // StageActionDeclarationList // required
139
143
  * // { // ActionDeclaration
140
144
  * // name: "STRING_VALUE", // required
141
145
  * // actionTypeId: { // ActionTypeId
142
- * // category: "STRING_VALUE", // required
143
- * // owner: "STRING_VALUE", // required
146
+ * // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
147
+ * // owner: "AWS" || "ThirdParty" || "Custom", // required
144
148
  * // provider: "STRING_VALUE", // required
145
149
  * // version: "STRING_VALUE", // required
146
150
  * // },
@@ -202,8 +206,8 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
202
206
  * <p>The specified resource tags are invalid.</p>
203
207
  *
204
208
  * @throws {@link LimitExceededException} (client fault)
205
- * <p>The number of pipelines associated with the AWS account has exceeded the limit
206
- * allowed for the account.</p>
209
+ * <p>The number of pipelines associated with the Amazon Web Services account has exceeded
210
+ * the limit allowed for the account.</p>
207
211
  *
208
212
  * @throws {@link PipelineNameInUseException} (client fault)
209
213
  * <p>The specified pipeline name is already in use.</p>
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { DeleteCustomActionTypeInput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -21,13 +25,13 @@ export interface DeleteCustomActionTypeCommandOutput extends __MetadataBearer {
21
25
  * @public
22
26
  * <p>Marks a custom action as deleted. <code>PollForJobs</code> for the custom action
23
27
  * fails after the action is marked for deletion. Used for custom actions only.</p>
24
- * <important>
28
+ * <important>
25
29
  * <p>To re-create a custom action after it has been deleted you must use a string in
26
30
  * the version field that has never been used before. This string can be an incremented
27
31
  * version number, for example. To restore a deleted custom action, use a JSON file
28
32
  * that is identical to the deleted action, including the original string in the
29
33
  * version field.</p>
30
- * </important>
34
+ * </important>
31
35
  * @example
32
36
  * Use a bare-bones client and the command you need to make an API call.
33
37
  * ```javascript
@@ -35,7 +39,7 @@ export interface DeleteCustomActionTypeCommandOutput extends __MetadataBearer {
35
39
  * // const { CodePipelineClient, DeleteCustomActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
36
40
  * const client = new CodePipelineClient(config);
37
41
  * const input = { // DeleteCustomActionTypeInput
38
- * category: "STRING_VALUE", // required
42
+ * category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
39
43
  * provider: "STRING_VALUE", // required
40
44
  * version: "STRING_VALUE", // required
41
45
  * };
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { DeletePipelineInput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { DeleteWebhookInput, DeleteWebhookOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -19,8 +23,7 @@ export interface DeleteWebhookCommandOutput extends DeleteWebhookOutput, __Metad
19
23
  }
20
24
  /**
21
25
  * @public
22
- * <p>Deletes a previously created webhook by name. Deleting the webhook stops AWS
23
- * CodePipeline from starting a pipeline every time an external event occurs. The API
26
+ * <p>Deletes a previously created webhook by name. Deleting the webhook stops CodePipeline from starting a pipeline every time an external event occurs. The API
24
27
  * returns successfully when trying to delete a webhook that is already deleted. If a
25
28
  * deleted webhook is re-created by calling PutWebhook with the same name, it will have a
26
29
  * different URL.</p>
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { DeregisterWebhookWithThirdPartyInput, DeregisterWebhookWithThirdPartyOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -19,9 +23,9 @@ export interface DeregisterWebhookWithThirdPartyCommandOutput extends Deregister
19
23
  }
20
24
  /**
21
25
  * @public
22
- * <p>Removes the connection between the webhook that was created by CodePipeline and the
23
- * external tool with events to be detected. Currently supported only for webhooks that
24
- * target an action type of GitHub.</p>
26
+ * <p>Removes the connection between the webhook that was created by CodePipeline
27
+ * and the external tool with events to be detected. Currently supported only for webhooks
28
+ * that target an action type of GitHub.</p>
25
29
  * @example
26
30
  * Use a bare-bones client and the command you need to make an API call.
27
31
  * ```javascript
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { DisableStageTransitionInput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -30,7 +34,7 @@ export interface DisableStageTransitionCommandOutput extends __MetadataBearer {
30
34
  * const input = { // DisableStageTransitionInput
31
35
  * pipelineName: "STRING_VALUE", // required
32
36
  * stageName: "STRING_VALUE", // required
33
- * transitionType: "STRING_VALUE", // required
37
+ * transitionType: "Inbound" || "Outbound", // required
34
38
  * reason: "STRING_VALUE", // required
35
39
  * };
36
40
  * const command = new DisableStageTransitionCommand(input);
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { EnableStageTransitionInput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -29,7 +33,7 @@ export interface EnableStageTransitionCommandOutput extends __MetadataBearer {
29
33
  * const input = { // EnableStageTransitionInput
30
34
  * pipelineName: "STRING_VALUE", // required
31
35
  * stageName: "STRING_VALUE", // required
32
- * transitionType: "STRING_VALUE", // required
36
+ * transitionType: "Inbound" || "Outbound", // required
33
37
  * };
34
38
  * const command = new EnableStageTransitionCommand(input);
35
39
  * const response = await client.send(command);
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { GetActionTypeInput, GetActionTypeOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -29,7 +33,7 @@ export interface GetActionTypeCommandOutput extends GetActionTypeOutput, __Metad
29
33
  * // const { CodePipelineClient, GetActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
30
34
  * const client = new CodePipelineClient(config);
31
35
  * const input = { // GetActionTypeInput
32
- * category: "STRING_VALUE", // required
36
+ * category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
33
37
  * owner: "STRING_VALUE", // required
34
38
  * provider: "STRING_VALUE", // required
35
39
  * version: "STRING_VALUE", // required
@@ -53,12 +57,12 @@ export interface GetActionTypeCommandOutput extends GetActionTypeOutput, __Metad
53
57
  * // ],
54
58
  * // },
55
59
  * // },
56
- * // type: "STRING_VALUE", // required
60
+ * // type: "JobWorker" || "Lambda", // required
57
61
  * // policyStatementsTemplate: "STRING_VALUE",
58
62
  * // jobTimeout: Number("int"),
59
63
  * // },
60
64
  * // id: { // ActionTypeIdentifier
61
- * // category: "STRING_VALUE", // required
65
+ * // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
62
66
  * // owner: "STRING_VALUE", // required
63
67
  * // provider: "STRING_VALUE", // required
64
68
  * // version: "STRING_VALUE", // required
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { GetJobDetailsInput, GetJobDetailsOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -20,12 +24,12 @@ export interface GetJobDetailsCommandOutput extends GetJobDetailsOutput, __Metad
20
24
  /**
21
25
  * @public
22
26
  * <p>Returns information about a job. Used for custom actions only.</p>
23
- * <important>
24
- * <p>When this API is called, AWS CodePipeline returns temporary credentials for the
25
- * S3 bucket used to store artifacts for the pipeline, if the action requires access to
26
- * that S3 bucket for input or output artifacts. This API also returns any secret
27
- * values defined for the action.</p>
28
- * </important>
27
+ * <important>
28
+ * <p>When this API is called, CodePipeline returns temporary credentials for
29
+ * the S3 bucket used to store artifacts for the pipeline, if the action requires
30
+ * access to that S3 bucket for input or output artifacts. This API also returns any
31
+ * secret values defined for the action.</p>
32
+ * </important>
29
33
  * @example
30
34
  * Use a bare-bones client and the command you need to make an API call.
31
35
  * ```javascript
@@ -42,8 +46,8 @@ export interface GetJobDetailsCommandOutput extends GetJobDetailsOutput, __Metad
42
46
  * // id: "STRING_VALUE",
43
47
  * // data: { // JobData
44
48
  * // actionTypeId: { // ActionTypeId
45
- * // category: "STRING_VALUE", // required
46
- * // owner: "STRING_VALUE", // required
49
+ * // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
50
+ * // owner: "AWS" || "ThirdParty" || "Custom", // required
47
51
  * // provider: "STRING_VALUE", // required
48
52
  * // version: "STRING_VALUE", // required
49
53
  * // },
@@ -69,7 +73,7 @@ export interface GetJobDetailsCommandOutput extends GetJobDetailsOutput, __Metad
69
73
  * // name: "STRING_VALUE",
70
74
  * // revision: "STRING_VALUE",
71
75
  * // location: { // ArtifactLocation
72
- * // type: "STRING_VALUE",
76
+ * // type: "S3",
73
77
  * // s3Location: { // S3ArtifactLocation
74
78
  * // bucketName: "STRING_VALUE", // required
75
79
  * // objectKey: "STRING_VALUE", // required
@@ -82,7 +86,7 @@ export interface GetJobDetailsCommandOutput extends GetJobDetailsOutput, __Metad
82
86
  * // name: "STRING_VALUE",
83
87
  * // revision: "STRING_VALUE",
84
88
  * // location: {
85
- * // type: "STRING_VALUE",
89
+ * // type: "S3",
86
90
  * // s3Location: {
87
91
  * // bucketName: "STRING_VALUE", // required
88
92
  * // objectKey: "STRING_VALUE", // required
@@ -98,7 +102,7 @@ export interface GetJobDetailsCommandOutput extends GetJobDetailsOutput, __Metad
98
102
  * // continuationToken: "STRING_VALUE",
99
103
  * // encryptionKey: { // EncryptionKey
100
104
  * // id: "STRING_VALUE", // required
101
- * // type: "STRING_VALUE", // required
105
+ * // type: "KMS", // required
102
106
  * // },
103
107
  * // },
104
108
  * // accountId: "STRING_VALUE",
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { GetPipelineInput, GetPipelineOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -39,20 +43,20 @@ export interface GetPipelineCommandOutput extends GetPipelineOutput, __MetadataB
39
43
  * // name: "STRING_VALUE", // required
40
44
  * // roleArn: "STRING_VALUE", // required
41
45
  * // artifactStore: { // ArtifactStore
42
- * // type: "STRING_VALUE", // required
46
+ * // type: "S3", // required
43
47
  * // location: "STRING_VALUE", // required
44
48
  * // encryptionKey: { // EncryptionKey
45
49
  * // id: "STRING_VALUE", // required
46
- * // type: "STRING_VALUE", // required
50
+ * // type: "KMS", // required
47
51
  * // },
48
52
  * // },
49
53
  * // artifactStores: { // ArtifactStoreMap
50
54
  * // "<keys>": {
51
- * // type: "STRING_VALUE", // required
55
+ * // type: "S3", // required
52
56
  * // location: "STRING_VALUE", // required
53
57
  * // encryptionKey: {
54
58
  * // id: "STRING_VALUE", // required
55
- * // type: "STRING_VALUE", // required
59
+ * // type: "KMS", // required
56
60
  * // },
57
61
  * // },
58
62
  * // },
@@ -62,15 +66,15 @@ export interface GetPipelineCommandOutput extends GetPipelineOutput, __MetadataB
62
66
  * // blockers: [ // StageBlockerDeclarationList
63
67
  * // { // BlockerDeclaration
64
68
  * // name: "STRING_VALUE", // required
65
- * // type: "STRING_VALUE", // required
69
+ * // type: "Schedule", // required
66
70
  * // },
67
71
  * // ],
68
72
  * // actions: [ // StageActionDeclarationList // required
69
73
  * // { // ActionDeclaration
70
74
  * // name: "STRING_VALUE", // required
71
75
  * // actionTypeId: { // ActionTypeId
72
- * // category: "STRING_VALUE", // required
73
- * // owner: "STRING_VALUE", // required
76
+ * // category: "Source" || "Build" || "Deploy" || "Test" || "Invoke" || "Approval", // required
77
+ * // owner: "AWS" || "ThirdParty" || "Custom", // required
74
78
  * // provider: "STRING_VALUE", // required
75
79
  * // version: "STRING_VALUE", // required
76
80
  * // },
@@ -101,6 +105,7 @@ export interface GetPipelineCommandOutput extends GetPipelineOutput, __MetadataB
101
105
  * // pipelineArn: "STRING_VALUE",
102
106
  * // created: new Date("TIMESTAMP"),
103
107
  * // updated: new Date("TIMESTAMP"),
108
+ * // pollingDisabledAt: new Date("TIMESTAMP"),
104
109
  * // },
105
110
  * // };
106
111
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { GetPipelineExecutionInput, GetPipelineExecutionOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -39,7 +43,7 @@ export interface GetPipelineExecutionCommandOutput extends GetPipelineExecutionO
39
43
  * // pipelineName: "STRING_VALUE",
40
44
  * // pipelineVersion: Number("int"),
41
45
  * // pipelineExecutionId: "STRING_VALUE",
42
- * // status: "STRING_VALUE",
46
+ * // status: "Cancelled" || "InProgress" || "Stopped" || "Stopping" || "Succeeded" || "Superseded" || "Failed",
43
47
  * // statusSummary: "STRING_VALUE",
44
48
  * // artifactRevisions: [ // ArtifactRevisionList
45
49
  * // { // ArtifactRevision
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
5
5
  import { GetPipelineStateInput, GetPipelineStateOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -21,11 +25,11 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
21
25
  * @public
22
26
  * <p>Returns information about the state of a pipeline, including the stages and
23
27
  * actions.</p>
24
- * <note>
28
+ * <note>
25
29
  * <p>Values returned in the <code>revisionId</code> and <code>revisionUrl</code>
26
30
  * fields indicate the source revision information, such as the commit ID, for the
27
31
  * current state.</p>
28
- * </note>
32
+ * </note>
29
33
  * @example
30
34
  * Use a bare-bones client and the command you need to make an API call.
31
35
  * ```javascript
@@ -45,7 +49,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
45
49
  * // stageName: "STRING_VALUE",
46
50
  * // inboundExecution: { // StageExecution
47
51
  * // pipelineExecutionId: "STRING_VALUE", // required
48
- * // status: "STRING_VALUE", // required
52
+ * // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
49
53
  * // },
50
54
  * // inboundTransitionState: { // TransitionState
51
55
  * // enabled: true || false,
@@ -63,7 +67,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
63
67
  * // },
64
68
  * // latestExecution: { // ActionExecution
65
69
  * // actionExecutionId: "STRING_VALUE",
66
- * // status: "STRING_VALUE",
70
+ * // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
67
71
  * // summary: "STRING_VALUE",
68
72
  * // lastStatusChange: new Date("TIMESTAMP"),
69
73
  * // token: "STRING_VALUE",
@@ -82,7 +86,7 @@ export interface GetPipelineStateCommandOutput extends GetPipelineStateOutput, _
82
86
  * // ],
83
87
  * // latestExecution: {
84
88
  * // pipelineExecutionId: "STRING_VALUE", // required
85
- * // status: "STRING_VALUE", // required
89
+ * // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
86
90
  * // },
87
91
  * // },
88
92
  * // ],