@aws-sdk/client-codepipeline 3.927.0 → 3.928.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.
- package/dist-cjs/index.js +2313 -2278
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CodePipelineClient.js +2 -0
- package/dist-es/commands/AcknowledgeJobCommand.js +3 -9
- package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +3 -9
- package/dist-es/commands/CreateCustomActionTypeCommand.js +3 -9
- package/dist-es/commands/CreatePipelineCommand.js +3 -9
- package/dist-es/commands/DeleteCustomActionTypeCommand.js +3 -9
- package/dist-es/commands/DeletePipelineCommand.js +3 -9
- package/dist-es/commands/DeleteWebhookCommand.js +3 -9
- package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +3 -9
- package/dist-es/commands/DisableStageTransitionCommand.js +3 -9
- package/dist-es/commands/EnableStageTransitionCommand.js +3 -9
- package/dist-es/commands/GetActionTypeCommand.js +3 -9
- package/dist-es/commands/GetJobDetailsCommand.js +3 -10
- package/dist-es/commands/GetPipelineCommand.js +3 -9
- package/dist-es/commands/GetPipelineExecutionCommand.js +3 -9
- package/dist-es/commands/GetPipelineStateCommand.js +3 -9
- package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +3 -10
- package/dist-es/commands/ListActionExecutionsCommand.js +3 -9
- package/dist-es/commands/ListActionTypesCommand.js +3 -9
- package/dist-es/commands/ListDeployActionExecutionTargetsCommand.js +3 -9
- package/dist-es/commands/ListPipelineExecutionsCommand.js +3 -9
- package/dist-es/commands/ListPipelinesCommand.js +3 -9
- package/dist-es/commands/ListRuleExecutionsCommand.js +3 -9
- package/dist-es/commands/ListRuleTypesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWebhooksCommand.js +3 -9
- package/dist-es/commands/OverrideStageConditionCommand.js +3 -9
- package/dist-es/commands/PollForJobsCommand.js +3 -10
- package/dist-es/commands/PollForThirdPartyJobsCommand.js +3 -9
- package/dist-es/commands/PutActionRevisionCommand.js +3 -9
- package/dist-es/commands/PutApprovalResultCommand.js +3 -9
- package/dist-es/commands/PutJobFailureResultCommand.js +3 -9
- package/dist-es/commands/PutJobSuccessResultCommand.js +3 -9
- package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +3 -9
- package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +3 -9
- package/dist-es/commands/PutWebhookCommand.js +3 -9
- package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +3 -9
- package/dist-es/commands/RetryStageExecutionCommand.js +3 -9
- package/dist-es/commands/RollbackStageCommand.js +3 -9
- package/dist-es/commands/StartPipelineExecutionCommand.js +3 -9
- package/dist-es/commands/StopPipelineExecutionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateActionTypeCommand.js +3 -9
- package/dist-es/commands/UpdatePipelineCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -39
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2118 -0
- package/dist-types/CodePipelineClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -36
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +340 -0
- package/dist-types/ts3.4/CodePipelineClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -21
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +347 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -1804
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -398
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -533
|
@@ -1,1804 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { CodePipelineServiceException as __BaseException } from "../models/CodePipelineServiceException";
|
|
6
|
-
import { ActionExecutionNotFoundException, ActionNotFoundException, ActionTypeNotFoundException, ApprovalAlreadyCompletedException, ConcurrentModificationException, ConcurrentPipelineExecutionsLimitExceededException, ConditionNotOverridableException, ConflictException, DuplicatedStopRequestException, InvalidActionDeclarationException, InvalidApprovalTokenException, InvalidArnException, InvalidBlockerDeclarationException, InvalidClientTokenException, InvalidJobException, InvalidJobStateException, InvalidNextTokenException, InvalidNonceException, InvalidStageDeclarationException, InvalidStructureException, InvalidTagsException, InvalidWebhookAuthenticationParametersException, InvalidWebhookFilterPatternException, JobNotFoundException, LimitExceededException, NotLatestPipelineExecutionException, OutputVariablesSizeExceededException, PipelineExecutionNotFoundException, PipelineExecutionNotStoppableException, PipelineExecutionOutdatedException, PipelineNameInUseException, PipelineNotFoundException, PipelineVersionNotFoundException, RequestFailedException, ResourceNotFoundException, StageNotFoundException, StageNotRetryableException, TooManyTagsException, UnableToRollbackStageException, ValidationException, WebhookNotFoundException, } from "../models/models_0";
|
|
7
|
-
export const se_AcknowledgeJobCommand = async (input, context) => {
|
|
8
|
-
const headers = sharedHeaders("AcknowledgeJob");
|
|
9
|
-
let body;
|
|
10
|
-
body = JSON.stringify(_json(input));
|
|
11
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
-
};
|
|
13
|
-
export const se_AcknowledgeThirdPartyJobCommand = async (input, context) => {
|
|
14
|
-
const headers = sharedHeaders("AcknowledgeThirdPartyJob");
|
|
15
|
-
let body;
|
|
16
|
-
body = JSON.stringify(_json(input));
|
|
17
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
|
-
};
|
|
19
|
-
export const se_CreateCustomActionTypeCommand = async (input, context) => {
|
|
20
|
-
const headers = sharedHeaders("CreateCustomActionType");
|
|
21
|
-
let body;
|
|
22
|
-
body = JSON.stringify(_json(input));
|
|
23
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
|
-
};
|
|
25
|
-
export const se_CreatePipelineCommand = async (input, context) => {
|
|
26
|
-
const headers = sharedHeaders("CreatePipeline");
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(se_CreatePipelineInput(input, context));
|
|
29
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
-
};
|
|
31
|
-
export const se_DeleteCustomActionTypeCommand = async (input, context) => {
|
|
32
|
-
const headers = sharedHeaders("DeleteCustomActionType");
|
|
33
|
-
let body;
|
|
34
|
-
body = JSON.stringify(_json(input));
|
|
35
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
-
};
|
|
37
|
-
export const se_DeletePipelineCommand = async (input, context) => {
|
|
38
|
-
const headers = sharedHeaders("DeletePipeline");
|
|
39
|
-
let body;
|
|
40
|
-
body = JSON.stringify(_json(input));
|
|
41
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
-
};
|
|
43
|
-
export const se_DeleteWebhookCommand = async (input, context) => {
|
|
44
|
-
const headers = sharedHeaders("DeleteWebhook");
|
|
45
|
-
let body;
|
|
46
|
-
body = JSON.stringify(_json(input));
|
|
47
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
|
-
};
|
|
49
|
-
export const se_DeregisterWebhookWithThirdPartyCommand = async (input, context) => {
|
|
50
|
-
const headers = sharedHeaders("DeregisterWebhookWithThirdParty");
|
|
51
|
-
let body;
|
|
52
|
-
body = JSON.stringify(_json(input));
|
|
53
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
|
-
};
|
|
55
|
-
export const se_DisableStageTransitionCommand = async (input, context) => {
|
|
56
|
-
const headers = sharedHeaders("DisableStageTransition");
|
|
57
|
-
let body;
|
|
58
|
-
body = JSON.stringify(_json(input));
|
|
59
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
|
-
};
|
|
61
|
-
export const se_EnableStageTransitionCommand = async (input, context) => {
|
|
62
|
-
const headers = sharedHeaders("EnableStageTransition");
|
|
63
|
-
let body;
|
|
64
|
-
body = JSON.stringify(_json(input));
|
|
65
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
|
-
};
|
|
67
|
-
export const se_GetActionTypeCommand = async (input, context) => {
|
|
68
|
-
const headers = sharedHeaders("GetActionType");
|
|
69
|
-
let body;
|
|
70
|
-
body = JSON.stringify(_json(input));
|
|
71
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
|
-
};
|
|
73
|
-
export const se_GetJobDetailsCommand = async (input, context) => {
|
|
74
|
-
const headers = sharedHeaders("GetJobDetails");
|
|
75
|
-
let body;
|
|
76
|
-
body = JSON.stringify(_json(input));
|
|
77
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
|
-
};
|
|
79
|
-
export const se_GetPipelineCommand = async (input, context) => {
|
|
80
|
-
const headers = sharedHeaders("GetPipeline");
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify(_json(input));
|
|
83
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
|
-
};
|
|
85
|
-
export const se_GetPipelineExecutionCommand = async (input, context) => {
|
|
86
|
-
const headers = sharedHeaders("GetPipelineExecution");
|
|
87
|
-
let body;
|
|
88
|
-
body = JSON.stringify(_json(input));
|
|
89
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
|
-
};
|
|
91
|
-
export const se_GetPipelineStateCommand = async (input, context) => {
|
|
92
|
-
const headers = sharedHeaders("GetPipelineState");
|
|
93
|
-
let body;
|
|
94
|
-
body = JSON.stringify(_json(input));
|
|
95
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
-
};
|
|
97
|
-
export const se_GetThirdPartyJobDetailsCommand = async (input, context) => {
|
|
98
|
-
const headers = sharedHeaders("GetThirdPartyJobDetails");
|
|
99
|
-
let body;
|
|
100
|
-
body = JSON.stringify(_json(input));
|
|
101
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
|
-
};
|
|
103
|
-
export const se_ListActionExecutionsCommand = async (input, context) => {
|
|
104
|
-
const headers = sharedHeaders("ListActionExecutions");
|
|
105
|
-
let body;
|
|
106
|
-
body = JSON.stringify(_json(input));
|
|
107
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
|
-
};
|
|
109
|
-
export const se_ListActionTypesCommand = async (input, context) => {
|
|
110
|
-
const headers = sharedHeaders("ListActionTypes");
|
|
111
|
-
let body;
|
|
112
|
-
body = JSON.stringify(_json(input));
|
|
113
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
-
};
|
|
115
|
-
export const se_ListDeployActionExecutionTargetsCommand = async (input, context) => {
|
|
116
|
-
const headers = sharedHeaders("ListDeployActionExecutionTargets");
|
|
117
|
-
let body;
|
|
118
|
-
body = JSON.stringify(_json(input));
|
|
119
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
|
-
};
|
|
121
|
-
export const se_ListPipelineExecutionsCommand = async (input, context) => {
|
|
122
|
-
const headers = sharedHeaders("ListPipelineExecutions");
|
|
123
|
-
let body;
|
|
124
|
-
body = JSON.stringify(_json(input));
|
|
125
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
|
-
};
|
|
127
|
-
export const se_ListPipelinesCommand = async (input, context) => {
|
|
128
|
-
const headers = sharedHeaders("ListPipelines");
|
|
129
|
-
let body;
|
|
130
|
-
body = JSON.stringify(_json(input));
|
|
131
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
|
-
};
|
|
133
|
-
export const se_ListRuleExecutionsCommand = async (input, context) => {
|
|
134
|
-
const headers = sharedHeaders("ListRuleExecutions");
|
|
135
|
-
let body;
|
|
136
|
-
body = JSON.stringify(_json(input));
|
|
137
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
|
-
};
|
|
139
|
-
export const se_ListRuleTypesCommand = async (input, context) => {
|
|
140
|
-
const headers = sharedHeaders("ListRuleTypes");
|
|
141
|
-
let body;
|
|
142
|
-
body = JSON.stringify(_json(input));
|
|
143
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
144
|
-
};
|
|
145
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
146
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
147
|
-
let body;
|
|
148
|
-
body = JSON.stringify(_json(input));
|
|
149
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
|
-
};
|
|
151
|
-
export const se_ListWebhooksCommand = async (input, context) => {
|
|
152
|
-
const headers = sharedHeaders("ListWebhooks");
|
|
153
|
-
let body;
|
|
154
|
-
body = JSON.stringify(_json(input));
|
|
155
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
|
-
};
|
|
157
|
-
export const se_OverrideStageConditionCommand = async (input, context) => {
|
|
158
|
-
const headers = sharedHeaders("OverrideStageCondition");
|
|
159
|
-
let body;
|
|
160
|
-
body = JSON.stringify(_json(input));
|
|
161
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
-
};
|
|
163
|
-
export const se_PollForJobsCommand = async (input, context) => {
|
|
164
|
-
const headers = sharedHeaders("PollForJobs");
|
|
165
|
-
let body;
|
|
166
|
-
body = JSON.stringify(_json(input));
|
|
167
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
|
-
};
|
|
169
|
-
export const se_PollForThirdPartyJobsCommand = async (input, context) => {
|
|
170
|
-
const headers = sharedHeaders("PollForThirdPartyJobs");
|
|
171
|
-
let body;
|
|
172
|
-
body = JSON.stringify(_json(input));
|
|
173
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
|
-
};
|
|
175
|
-
export const se_PutActionRevisionCommand = async (input, context) => {
|
|
176
|
-
const headers = sharedHeaders("PutActionRevision");
|
|
177
|
-
let body;
|
|
178
|
-
body = JSON.stringify(se_PutActionRevisionInput(input, context));
|
|
179
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
|
-
};
|
|
181
|
-
export const se_PutApprovalResultCommand = async (input, context) => {
|
|
182
|
-
const headers = sharedHeaders("PutApprovalResult");
|
|
183
|
-
let body;
|
|
184
|
-
body = JSON.stringify(_json(input));
|
|
185
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
|
-
};
|
|
187
|
-
export const se_PutJobFailureResultCommand = async (input, context) => {
|
|
188
|
-
const headers = sharedHeaders("PutJobFailureResult");
|
|
189
|
-
let body;
|
|
190
|
-
body = JSON.stringify(_json(input));
|
|
191
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
|
-
};
|
|
193
|
-
export const se_PutJobSuccessResultCommand = async (input, context) => {
|
|
194
|
-
const headers = sharedHeaders("PutJobSuccessResult");
|
|
195
|
-
let body;
|
|
196
|
-
body = JSON.stringify(se_PutJobSuccessResultInput(input, context));
|
|
197
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
|
-
};
|
|
199
|
-
export const se_PutThirdPartyJobFailureResultCommand = async (input, context) => {
|
|
200
|
-
const headers = sharedHeaders("PutThirdPartyJobFailureResult");
|
|
201
|
-
let body;
|
|
202
|
-
body = JSON.stringify(_json(input));
|
|
203
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
-
};
|
|
205
|
-
export const se_PutThirdPartyJobSuccessResultCommand = async (input, context) => {
|
|
206
|
-
const headers = sharedHeaders("PutThirdPartyJobSuccessResult");
|
|
207
|
-
let body;
|
|
208
|
-
body = JSON.stringify(se_PutThirdPartyJobSuccessResultInput(input, context));
|
|
209
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
-
};
|
|
211
|
-
export const se_PutWebhookCommand = async (input, context) => {
|
|
212
|
-
const headers = sharedHeaders("PutWebhook");
|
|
213
|
-
let body;
|
|
214
|
-
body = JSON.stringify(_json(input));
|
|
215
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
|
-
};
|
|
217
|
-
export const se_RegisterWebhookWithThirdPartyCommand = async (input, context) => {
|
|
218
|
-
const headers = sharedHeaders("RegisterWebhookWithThirdParty");
|
|
219
|
-
let body;
|
|
220
|
-
body = JSON.stringify(_json(input));
|
|
221
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
|
-
};
|
|
223
|
-
export const se_RetryStageExecutionCommand = async (input, context) => {
|
|
224
|
-
const headers = sharedHeaders("RetryStageExecution");
|
|
225
|
-
let body;
|
|
226
|
-
body = JSON.stringify(_json(input));
|
|
227
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
|
-
};
|
|
229
|
-
export const se_RollbackStageCommand = async (input, context) => {
|
|
230
|
-
const headers = sharedHeaders("RollbackStage");
|
|
231
|
-
let body;
|
|
232
|
-
body = JSON.stringify(_json(input));
|
|
233
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
-
};
|
|
235
|
-
export const se_StartPipelineExecutionCommand = async (input, context) => {
|
|
236
|
-
const headers = sharedHeaders("StartPipelineExecution");
|
|
237
|
-
let body;
|
|
238
|
-
body = JSON.stringify(se_StartPipelineExecutionInput(input, context));
|
|
239
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
-
};
|
|
241
|
-
export const se_StopPipelineExecutionCommand = async (input, context) => {
|
|
242
|
-
const headers = sharedHeaders("StopPipelineExecution");
|
|
243
|
-
let body;
|
|
244
|
-
body = JSON.stringify(_json(input));
|
|
245
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
-
};
|
|
247
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
248
|
-
const headers = sharedHeaders("TagResource");
|
|
249
|
-
let body;
|
|
250
|
-
body = JSON.stringify(_json(input));
|
|
251
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
|
-
};
|
|
253
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
254
|
-
const headers = sharedHeaders("UntagResource");
|
|
255
|
-
let body;
|
|
256
|
-
body = JSON.stringify(_json(input));
|
|
257
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
|
-
};
|
|
259
|
-
export const se_UpdateActionTypeCommand = async (input, context) => {
|
|
260
|
-
const headers = sharedHeaders("UpdateActionType");
|
|
261
|
-
let body;
|
|
262
|
-
body = JSON.stringify(_json(input));
|
|
263
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
264
|
-
};
|
|
265
|
-
export const se_UpdatePipelineCommand = async (input, context) => {
|
|
266
|
-
const headers = sharedHeaders("UpdatePipeline");
|
|
267
|
-
let body;
|
|
268
|
-
body = JSON.stringify(se_UpdatePipelineInput(input, context));
|
|
269
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
|
-
};
|
|
271
|
-
export const de_AcknowledgeJobCommand = async (output, context) => {
|
|
272
|
-
if (output.statusCode >= 300) {
|
|
273
|
-
return de_CommandError(output, context);
|
|
274
|
-
}
|
|
275
|
-
const data = await parseBody(output.body, context);
|
|
276
|
-
let contents = {};
|
|
277
|
-
contents = _json(data);
|
|
278
|
-
const response = {
|
|
279
|
-
$metadata: deserializeMetadata(output),
|
|
280
|
-
...contents,
|
|
281
|
-
};
|
|
282
|
-
return response;
|
|
283
|
-
};
|
|
284
|
-
export const de_AcknowledgeThirdPartyJobCommand = async (output, context) => {
|
|
285
|
-
if (output.statusCode >= 300) {
|
|
286
|
-
return de_CommandError(output, context);
|
|
287
|
-
}
|
|
288
|
-
const data = await parseBody(output.body, context);
|
|
289
|
-
let contents = {};
|
|
290
|
-
contents = _json(data);
|
|
291
|
-
const response = {
|
|
292
|
-
$metadata: deserializeMetadata(output),
|
|
293
|
-
...contents,
|
|
294
|
-
};
|
|
295
|
-
return response;
|
|
296
|
-
};
|
|
297
|
-
export const de_CreateCustomActionTypeCommand = async (output, context) => {
|
|
298
|
-
if (output.statusCode >= 300) {
|
|
299
|
-
return de_CommandError(output, context);
|
|
300
|
-
}
|
|
301
|
-
const data = await parseBody(output.body, context);
|
|
302
|
-
let contents = {};
|
|
303
|
-
contents = _json(data);
|
|
304
|
-
const response = {
|
|
305
|
-
$metadata: deserializeMetadata(output),
|
|
306
|
-
...contents,
|
|
307
|
-
};
|
|
308
|
-
return response;
|
|
309
|
-
};
|
|
310
|
-
export const de_CreatePipelineCommand = async (output, context) => {
|
|
311
|
-
if (output.statusCode >= 300) {
|
|
312
|
-
return de_CommandError(output, context);
|
|
313
|
-
}
|
|
314
|
-
const data = await parseBody(output.body, context);
|
|
315
|
-
let contents = {};
|
|
316
|
-
contents = de_CreatePipelineOutput(data, context);
|
|
317
|
-
const response = {
|
|
318
|
-
$metadata: deserializeMetadata(output),
|
|
319
|
-
...contents,
|
|
320
|
-
};
|
|
321
|
-
return response;
|
|
322
|
-
};
|
|
323
|
-
export const de_DeleteCustomActionTypeCommand = async (output, context) => {
|
|
324
|
-
if (output.statusCode >= 300) {
|
|
325
|
-
return de_CommandError(output, context);
|
|
326
|
-
}
|
|
327
|
-
await collectBody(output.body, context);
|
|
328
|
-
const response = {
|
|
329
|
-
$metadata: deserializeMetadata(output),
|
|
330
|
-
};
|
|
331
|
-
return response;
|
|
332
|
-
};
|
|
333
|
-
export const de_DeletePipelineCommand = async (output, context) => {
|
|
334
|
-
if (output.statusCode >= 300) {
|
|
335
|
-
return de_CommandError(output, context);
|
|
336
|
-
}
|
|
337
|
-
await collectBody(output.body, context);
|
|
338
|
-
const response = {
|
|
339
|
-
$metadata: deserializeMetadata(output),
|
|
340
|
-
};
|
|
341
|
-
return response;
|
|
342
|
-
};
|
|
343
|
-
export const de_DeleteWebhookCommand = async (output, context) => {
|
|
344
|
-
if (output.statusCode >= 300) {
|
|
345
|
-
return de_CommandError(output, context);
|
|
346
|
-
}
|
|
347
|
-
const data = await parseBody(output.body, context);
|
|
348
|
-
let contents = {};
|
|
349
|
-
contents = _json(data);
|
|
350
|
-
const response = {
|
|
351
|
-
$metadata: deserializeMetadata(output),
|
|
352
|
-
...contents,
|
|
353
|
-
};
|
|
354
|
-
return response;
|
|
355
|
-
};
|
|
356
|
-
export const de_DeregisterWebhookWithThirdPartyCommand = async (output, context) => {
|
|
357
|
-
if (output.statusCode >= 300) {
|
|
358
|
-
return de_CommandError(output, context);
|
|
359
|
-
}
|
|
360
|
-
const data = await parseBody(output.body, context);
|
|
361
|
-
let contents = {};
|
|
362
|
-
contents = _json(data);
|
|
363
|
-
const response = {
|
|
364
|
-
$metadata: deserializeMetadata(output),
|
|
365
|
-
...contents,
|
|
366
|
-
};
|
|
367
|
-
return response;
|
|
368
|
-
};
|
|
369
|
-
export const de_DisableStageTransitionCommand = async (output, context) => {
|
|
370
|
-
if (output.statusCode >= 300) {
|
|
371
|
-
return de_CommandError(output, context);
|
|
372
|
-
}
|
|
373
|
-
await collectBody(output.body, context);
|
|
374
|
-
const response = {
|
|
375
|
-
$metadata: deserializeMetadata(output),
|
|
376
|
-
};
|
|
377
|
-
return response;
|
|
378
|
-
};
|
|
379
|
-
export const de_EnableStageTransitionCommand = async (output, context) => {
|
|
380
|
-
if (output.statusCode >= 300) {
|
|
381
|
-
return de_CommandError(output, context);
|
|
382
|
-
}
|
|
383
|
-
await collectBody(output.body, context);
|
|
384
|
-
const response = {
|
|
385
|
-
$metadata: deserializeMetadata(output),
|
|
386
|
-
};
|
|
387
|
-
return response;
|
|
388
|
-
};
|
|
389
|
-
export const de_GetActionTypeCommand = async (output, context) => {
|
|
390
|
-
if (output.statusCode >= 300) {
|
|
391
|
-
return de_CommandError(output, context);
|
|
392
|
-
}
|
|
393
|
-
const data = await parseBody(output.body, context);
|
|
394
|
-
let contents = {};
|
|
395
|
-
contents = _json(data);
|
|
396
|
-
const response = {
|
|
397
|
-
$metadata: deserializeMetadata(output),
|
|
398
|
-
...contents,
|
|
399
|
-
};
|
|
400
|
-
return response;
|
|
401
|
-
};
|
|
402
|
-
export const de_GetJobDetailsCommand = async (output, context) => {
|
|
403
|
-
if (output.statusCode >= 300) {
|
|
404
|
-
return de_CommandError(output, context);
|
|
405
|
-
}
|
|
406
|
-
const data = await parseBody(output.body, context);
|
|
407
|
-
let contents = {};
|
|
408
|
-
contents = _json(data);
|
|
409
|
-
const response = {
|
|
410
|
-
$metadata: deserializeMetadata(output),
|
|
411
|
-
...contents,
|
|
412
|
-
};
|
|
413
|
-
return response;
|
|
414
|
-
};
|
|
415
|
-
export const de_GetPipelineCommand = async (output, context) => {
|
|
416
|
-
if (output.statusCode >= 300) {
|
|
417
|
-
return de_CommandError(output, context);
|
|
418
|
-
}
|
|
419
|
-
const data = await parseBody(output.body, context);
|
|
420
|
-
let contents = {};
|
|
421
|
-
contents = de_GetPipelineOutput(data, context);
|
|
422
|
-
const response = {
|
|
423
|
-
$metadata: deserializeMetadata(output),
|
|
424
|
-
...contents,
|
|
425
|
-
};
|
|
426
|
-
return response;
|
|
427
|
-
};
|
|
428
|
-
export const de_GetPipelineExecutionCommand = async (output, context) => {
|
|
429
|
-
if (output.statusCode >= 300) {
|
|
430
|
-
return de_CommandError(output, context);
|
|
431
|
-
}
|
|
432
|
-
const data = await parseBody(output.body, context);
|
|
433
|
-
let contents = {};
|
|
434
|
-
contents = de_GetPipelineExecutionOutput(data, context);
|
|
435
|
-
const response = {
|
|
436
|
-
$metadata: deserializeMetadata(output),
|
|
437
|
-
...contents,
|
|
438
|
-
};
|
|
439
|
-
return response;
|
|
440
|
-
};
|
|
441
|
-
export const de_GetPipelineStateCommand = async (output, context) => {
|
|
442
|
-
if (output.statusCode >= 300) {
|
|
443
|
-
return de_CommandError(output, context);
|
|
444
|
-
}
|
|
445
|
-
const data = await parseBody(output.body, context);
|
|
446
|
-
let contents = {};
|
|
447
|
-
contents = de_GetPipelineStateOutput(data, context);
|
|
448
|
-
const response = {
|
|
449
|
-
$metadata: deserializeMetadata(output),
|
|
450
|
-
...contents,
|
|
451
|
-
};
|
|
452
|
-
return response;
|
|
453
|
-
};
|
|
454
|
-
export const de_GetThirdPartyJobDetailsCommand = async (output, context) => {
|
|
455
|
-
if (output.statusCode >= 300) {
|
|
456
|
-
return de_CommandError(output, context);
|
|
457
|
-
}
|
|
458
|
-
const data = await parseBody(output.body, context);
|
|
459
|
-
let contents = {};
|
|
460
|
-
contents = _json(data);
|
|
461
|
-
const response = {
|
|
462
|
-
$metadata: deserializeMetadata(output),
|
|
463
|
-
...contents,
|
|
464
|
-
};
|
|
465
|
-
return response;
|
|
466
|
-
};
|
|
467
|
-
export const de_ListActionExecutionsCommand = async (output, context) => {
|
|
468
|
-
if (output.statusCode >= 300) {
|
|
469
|
-
return de_CommandError(output, context);
|
|
470
|
-
}
|
|
471
|
-
const data = await parseBody(output.body, context);
|
|
472
|
-
let contents = {};
|
|
473
|
-
contents = de_ListActionExecutionsOutput(data, context);
|
|
474
|
-
const response = {
|
|
475
|
-
$metadata: deserializeMetadata(output),
|
|
476
|
-
...contents,
|
|
477
|
-
};
|
|
478
|
-
return response;
|
|
479
|
-
};
|
|
480
|
-
export const de_ListActionTypesCommand = async (output, context) => {
|
|
481
|
-
if (output.statusCode >= 300) {
|
|
482
|
-
return de_CommandError(output, context);
|
|
483
|
-
}
|
|
484
|
-
const data = await parseBody(output.body, context);
|
|
485
|
-
let contents = {};
|
|
486
|
-
contents = _json(data);
|
|
487
|
-
const response = {
|
|
488
|
-
$metadata: deserializeMetadata(output),
|
|
489
|
-
...contents,
|
|
490
|
-
};
|
|
491
|
-
return response;
|
|
492
|
-
};
|
|
493
|
-
export const de_ListDeployActionExecutionTargetsCommand = async (output, context) => {
|
|
494
|
-
if (output.statusCode >= 300) {
|
|
495
|
-
return de_CommandError(output, context);
|
|
496
|
-
}
|
|
497
|
-
const data = await parseBody(output.body, context);
|
|
498
|
-
let contents = {};
|
|
499
|
-
contents = de_ListDeployActionExecutionTargetsOutput(data, context);
|
|
500
|
-
const response = {
|
|
501
|
-
$metadata: deserializeMetadata(output),
|
|
502
|
-
...contents,
|
|
503
|
-
};
|
|
504
|
-
return response;
|
|
505
|
-
};
|
|
506
|
-
export const de_ListPipelineExecutionsCommand = async (output, context) => {
|
|
507
|
-
if (output.statusCode >= 300) {
|
|
508
|
-
return de_CommandError(output, context);
|
|
509
|
-
}
|
|
510
|
-
const data = await parseBody(output.body, context);
|
|
511
|
-
let contents = {};
|
|
512
|
-
contents = de_ListPipelineExecutionsOutput(data, context);
|
|
513
|
-
const response = {
|
|
514
|
-
$metadata: deserializeMetadata(output),
|
|
515
|
-
...contents,
|
|
516
|
-
};
|
|
517
|
-
return response;
|
|
518
|
-
};
|
|
519
|
-
export const de_ListPipelinesCommand = async (output, context) => {
|
|
520
|
-
if (output.statusCode >= 300) {
|
|
521
|
-
return de_CommandError(output, context);
|
|
522
|
-
}
|
|
523
|
-
const data = await parseBody(output.body, context);
|
|
524
|
-
let contents = {};
|
|
525
|
-
contents = de_ListPipelinesOutput(data, context);
|
|
526
|
-
const response = {
|
|
527
|
-
$metadata: deserializeMetadata(output),
|
|
528
|
-
...contents,
|
|
529
|
-
};
|
|
530
|
-
return response;
|
|
531
|
-
};
|
|
532
|
-
export const de_ListRuleExecutionsCommand = async (output, context) => {
|
|
533
|
-
if (output.statusCode >= 300) {
|
|
534
|
-
return de_CommandError(output, context);
|
|
535
|
-
}
|
|
536
|
-
const data = await parseBody(output.body, context);
|
|
537
|
-
let contents = {};
|
|
538
|
-
contents = de_ListRuleExecutionsOutput(data, context);
|
|
539
|
-
const response = {
|
|
540
|
-
$metadata: deserializeMetadata(output),
|
|
541
|
-
...contents,
|
|
542
|
-
};
|
|
543
|
-
return response;
|
|
544
|
-
};
|
|
545
|
-
export const de_ListRuleTypesCommand = async (output, context) => {
|
|
546
|
-
if (output.statusCode >= 300) {
|
|
547
|
-
return de_CommandError(output, context);
|
|
548
|
-
}
|
|
549
|
-
const data = await parseBody(output.body, context);
|
|
550
|
-
let contents = {};
|
|
551
|
-
contents = _json(data);
|
|
552
|
-
const response = {
|
|
553
|
-
$metadata: deserializeMetadata(output),
|
|
554
|
-
...contents,
|
|
555
|
-
};
|
|
556
|
-
return response;
|
|
557
|
-
};
|
|
558
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
559
|
-
if (output.statusCode >= 300) {
|
|
560
|
-
return de_CommandError(output, context);
|
|
561
|
-
}
|
|
562
|
-
const data = await parseBody(output.body, context);
|
|
563
|
-
let contents = {};
|
|
564
|
-
contents = _json(data);
|
|
565
|
-
const response = {
|
|
566
|
-
$metadata: deserializeMetadata(output),
|
|
567
|
-
...contents,
|
|
568
|
-
};
|
|
569
|
-
return response;
|
|
570
|
-
};
|
|
571
|
-
export const de_ListWebhooksCommand = async (output, context) => {
|
|
572
|
-
if (output.statusCode >= 300) {
|
|
573
|
-
return de_CommandError(output, context);
|
|
574
|
-
}
|
|
575
|
-
const data = await parseBody(output.body, context);
|
|
576
|
-
let contents = {};
|
|
577
|
-
contents = de_ListWebhooksOutput(data, context);
|
|
578
|
-
const response = {
|
|
579
|
-
$metadata: deserializeMetadata(output),
|
|
580
|
-
...contents,
|
|
581
|
-
};
|
|
582
|
-
return response;
|
|
583
|
-
};
|
|
584
|
-
export const de_OverrideStageConditionCommand = async (output, context) => {
|
|
585
|
-
if (output.statusCode >= 300) {
|
|
586
|
-
return de_CommandError(output, context);
|
|
587
|
-
}
|
|
588
|
-
await collectBody(output.body, context);
|
|
589
|
-
const response = {
|
|
590
|
-
$metadata: deserializeMetadata(output),
|
|
591
|
-
};
|
|
592
|
-
return response;
|
|
593
|
-
};
|
|
594
|
-
export const de_PollForJobsCommand = async (output, context) => {
|
|
595
|
-
if (output.statusCode >= 300) {
|
|
596
|
-
return de_CommandError(output, context);
|
|
597
|
-
}
|
|
598
|
-
const data = await parseBody(output.body, context);
|
|
599
|
-
let contents = {};
|
|
600
|
-
contents = _json(data);
|
|
601
|
-
const response = {
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
...contents,
|
|
604
|
-
};
|
|
605
|
-
return response;
|
|
606
|
-
};
|
|
607
|
-
export const de_PollForThirdPartyJobsCommand = async (output, context) => {
|
|
608
|
-
if (output.statusCode >= 300) {
|
|
609
|
-
return de_CommandError(output, context);
|
|
610
|
-
}
|
|
611
|
-
const data = await parseBody(output.body, context);
|
|
612
|
-
let contents = {};
|
|
613
|
-
contents = _json(data);
|
|
614
|
-
const response = {
|
|
615
|
-
$metadata: deserializeMetadata(output),
|
|
616
|
-
...contents,
|
|
617
|
-
};
|
|
618
|
-
return response;
|
|
619
|
-
};
|
|
620
|
-
export const de_PutActionRevisionCommand = async (output, context) => {
|
|
621
|
-
if (output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const data = await parseBody(output.body, context);
|
|
625
|
-
let contents = {};
|
|
626
|
-
contents = _json(data);
|
|
627
|
-
const response = {
|
|
628
|
-
$metadata: deserializeMetadata(output),
|
|
629
|
-
...contents,
|
|
630
|
-
};
|
|
631
|
-
return response;
|
|
632
|
-
};
|
|
633
|
-
export const de_PutApprovalResultCommand = async (output, context) => {
|
|
634
|
-
if (output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const data = await parseBody(output.body, context);
|
|
638
|
-
let contents = {};
|
|
639
|
-
contents = de_PutApprovalResultOutput(data, context);
|
|
640
|
-
const response = {
|
|
641
|
-
$metadata: deserializeMetadata(output),
|
|
642
|
-
...contents,
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
};
|
|
646
|
-
export const de_PutJobFailureResultCommand = async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
await collectBody(output.body, context);
|
|
651
|
-
const response = {
|
|
652
|
-
$metadata: deserializeMetadata(output),
|
|
653
|
-
};
|
|
654
|
-
return response;
|
|
655
|
-
};
|
|
656
|
-
export const de_PutJobSuccessResultCommand = async (output, context) => {
|
|
657
|
-
if (output.statusCode >= 300) {
|
|
658
|
-
return de_CommandError(output, context);
|
|
659
|
-
}
|
|
660
|
-
await collectBody(output.body, context);
|
|
661
|
-
const response = {
|
|
662
|
-
$metadata: deserializeMetadata(output),
|
|
663
|
-
};
|
|
664
|
-
return response;
|
|
665
|
-
};
|
|
666
|
-
export const de_PutThirdPartyJobFailureResultCommand = async (output, context) => {
|
|
667
|
-
if (output.statusCode >= 300) {
|
|
668
|
-
return de_CommandError(output, context);
|
|
669
|
-
}
|
|
670
|
-
await collectBody(output.body, context);
|
|
671
|
-
const response = {
|
|
672
|
-
$metadata: deserializeMetadata(output),
|
|
673
|
-
};
|
|
674
|
-
return response;
|
|
675
|
-
};
|
|
676
|
-
export const de_PutThirdPartyJobSuccessResultCommand = async (output, context) => {
|
|
677
|
-
if (output.statusCode >= 300) {
|
|
678
|
-
return de_CommandError(output, context);
|
|
679
|
-
}
|
|
680
|
-
await collectBody(output.body, context);
|
|
681
|
-
const response = {
|
|
682
|
-
$metadata: deserializeMetadata(output),
|
|
683
|
-
};
|
|
684
|
-
return response;
|
|
685
|
-
};
|
|
686
|
-
export const de_PutWebhookCommand = async (output, context) => {
|
|
687
|
-
if (output.statusCode >= 300) {
|
|
688
|
-
return de_CommandError(output, context);
|
|
689
|
-
}
|
|
690
|
-
const data = await parseBody(output.body, context);
|
|
691
|
-
let contents = {};
|
|
692
|
-
contents = de_PutWebhookOutput(data, context);
|
|
693
|
-
const response = {
|
|
694
|
-
$metadata: deserializeMetadata(output),
|
|
695
|
-
...contents,
|
|
696
|
-
};
|
|
697
|
-
return response;
|
|
698
|
-
};
|
|
699
|
-
export const de_RegisterWebhookWithThirdPartyCommand = async (output, context) => {
|
|
700
|
-
if (output.statusCode >= 300) {
|
|
701
|
-
return de_CommandError(output, context);
|
|
702
|
-
}
|
|
703
|
-
const data = await parseBody(output.body, context);
|
|
704
|
-
let contents = {};
|
|
705
|
-
contents = _json(data);
|
|
706
|
-
const response = {
|
|
707
|
-
$metadata: deserializeMetadata(output),
|
|
708
|
-
...contents,
|
|
709
|
-
};
|
|
710
|
-
return response;
|
|
711
|
-
};
|
|
712
|
-
export const de_RetryStageExecutionCommand = async (output, context) => {
|
|
713
|
-
if (output.statusCode >= 300) {
|
|
714
|
-
return de_CommandError(output, context);
|
|
715
|
-
}
|
|
716
|
-
const data = await parseBody(output.body, context);
|
|
717
|
-
let contents = {};
|
|
718
|
-
contents = _json(data);
|
|
719
|
-
const response = {
|
|
720
|
-
$metadata: deserializeMetadata(output),
|
|
721
|
-
...contents,
|
|
722
|
-
};
|
|
723
|
-
return response;
|
|
724
|
-
};
|
|
725
|
-
export const de_RollbackStageCommand = async (output, context) => {
|
|
726
|
-
if (output.statusCode >= 300) {
|
|
727
|
-
return de_CommandError(output, context);
|
|
728
|
-
}
|
|
729
|
-
const data = await parseBody(output.body, context);
|
|
730
|
-
let contents = {};
|
|
731
|
-
contents = _json(data);
|
|
732
|
-
const response = {
|
|
733
|
-
$metadata: deserializeMetadata(output),
|
|
734
|
-
...contents,
|
|
735
|
-
};
|
|
736
|
-
return response;
|
|
737
|
-
};
|
|
738
|
-
export const de_StartPipelineExecutionCommand = async (output, context) => {
|
|
739
|
-
if (output.statusCode >= 300) {
|
|
740
|
-
return de_CommandError(output, context);
|
|
741
|
-
}
|
|
742
|
-
const data = await parseBody(output.body, context);
|
|
743
|
-
let contents = {};
|
|
744
|
-
contents = _json(data);
|
|
745
|
-
const response = {
|
|
746
|
-
$metadata: deserializeMetadata(output),
|
|
747
|
-
...contents,
|
|
748
|
-
};
|
|
749
|
-
return response;
|
|
750
|
-
};
|
|
751
|
-
export const de_StopPipelineExecutionCommand = async (output, context) => {
|
|
752
|
-
if (output.statusCode >= 300) {
|
|
753
|
-
return de_CommandError(output, context);
|
|
754
|
-
}
|
|
755
|
-
const data = await parseBody(output.body, context);
|
|
756
|
-
let contents = {};
|
|
757
|
-
contents = _json(data);
|
|
758
|
-
const response = {
|
|
759
|
-
$metadata: deserializeMetadata(output),
|
|
760
|
-
...contents,
|
|
761
|
-
};
|
|
762
|
-
return response;
|
|
763
|
-
};
|
|
764
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
765
|
-
if (output.statusCode >= 300) {
|
|
766
|
-
return de_CommandError(output, context);
|
|
767
|
-
}
|
|
768
|
-
const data = await parseBody(output.body, context);
|
|
769
|
-
let contents = {};
|
|
770
|
-
contents = _json(data);
|
|
771
|
-
const response = {
|
|
772
|
-
$metadata: deserializeMetadata(output),
|
|
773
|
-
...contents,
|
|
774
|
-
};
|
|
775
|
-
return response;
|
|
776
|
-
};
|
|
777
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
778
|
-
if (output.statusCode >= 300) {
|
|
779
|
-
return de_CommandError(output, context);
|
|
780
|
-
}
|
|
781
|
-
const data = await parseBody(output.body, context);
|
|
782
|
-
let contents = {};
|
|
783
|
-
contents = _json(data);
|
|
784
|
-
const response = {
|
|
785
|
-
$metadata: deserializeMetadata(output),
|
|
786
|
-
...contents,
|
|
787
|
-
};
|
|
788
|
-
return response;
|
|
789
|
-
};
|
|
790
|
-
export const de_UpdateActionTypeCommand = async (output, context) => {
|
|
791
|
-
if (output.statusCode >= 300) {
|
|
792
|
-
return de_CommandError(output, context);
|
|
793
|
-
}
|
|
794
|
-
await collectBody(output.body, context);
|
|
795
|
-
const response = {
|
|
796
|
-
$metadata: deserializeMetadata(output),
|
|
797
|
-
};
|
|
798
|
-
return response;
|
|
799
|
-
};
|
|
800
|
-
export const de_UpdatePipelineCommand = async (output, context) => {
|
|
801
|
-
if (output.statusCode >= 300) {
|
|
802
|
-
return de_CommandError(output, context);
|
|
803
|
-
}
|
|
804
|
-
const data = await parseBody(output.body, context);
|
|
805
|
-
let contents = {};
|
|
806
|
-
contents = de_UpdatePipelineOutput(data, context);
|
|
807
|
-
const response = {
|
|
808
|
-
$metadata: deserializeMetadata(output),
|
|
809
|
-
...contents,
|
|
810
|
-
};
|
|
811
|
-
return response;
|
|
812
|
-
};
|
|
813
|
-
const de_CommandError = async (output, context) => {
|
|
814
|
-
const parsedOutput = {
|
|
815
|
-
...output,
|
|
816
|
-
body: await parseErrorBody(output.body, context),
|
|
817
|
-
};
|
|
818
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
819
|
-
switch (errorCode) {
|
|
820
|
-
case "InvalidNonceException":
|
|
821
|
-
case "com.amazonaws.codepipeline#InvalidNonceException":
|
|
822
|
-
throw await de_InvalidNonceExceptionRes(parsedOutput, context);
|
|
823
|
-
case "JobNotFoundException":
|
|
824
|
-
case "com.amazonaws.codepipeline#JobNotFoundException":
|
|
825
|
-
throw await de_JobNotFoundExceptionRes(parsedOutput, context);
|
|
826
|
-
case "ValidationException":
|
|
827
|
-
case "com.amazonaws.codepipeline#ValidationException":
|
|
828
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
829
|
-
case "InvalidClientTokenException":
|
|
830
|
-
case "com.amazonaws.codepipeline#InvalidClientTokenException":
|
|
831
|
-
throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
|
|
832
|
-
case "ConcurrentModificationException":
|
|
833
|
-
case "com.amazonaws.codepipeline#ConcurrentModificationException":
|
|
834
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
835
|
-
case "InvalidTagsException":
|
|
836
|
-
case "com.amazonaws.codepipeline#InvalidTagsException":
|
|
837
|
-
throw await de_InvalidTagsExceptionRes(parsedOutput, context);
|
|
838
|
-
case "LimitExceededException":
|
|
839
|
-
case "com.amazonaws.codepipeline#LimitExceededException":
|
|
840
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
841
|
-
case "TooManyTagsException":
|
|
842
|
-
case "com.amazonaws.codepipeline#TooManyTagsException":
|
|
843
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
844
|
-
case "InvalidActionDeclarationException":
|
|
845
|
-
case "com.amazonaws.codepipeline#InvalidActionDeclarationException":
|
|
846
|
-
throw await de_InvalidActionDeclarationExceptionRes(parsedOutput, context);
|
|
847
|
-
case "InvalidBlockerDeclarationException":
|
|
848
|
-
case "com.amazonaws.codepipeline#InvalidBlockerDeclarationException":
|
|
849
|
-
throw await de_InvalidBlockerDeclarationExceptionRes(parsedOutput, context);
|
|
850
|
-
case "InvalidStageDeclarationException":
|
|
851
|
-
case "com.amazonaws.codepipeline#InvalidStageDeclarationException":
|
|
852
|
-
throw await de_InvalidStageDeclarationExceptionRes(parsedOutput, context);
|
|
853
|
-
case "InvalidStructureException":
|
|
854
|
-
case "com.amazonaws.codepipeline#InvalidStructureException":
|
|
855
|
-
throw await de_InvalidStructureExceptionRes(parsedOutput, context);
|
|
856
|
-
case "PipelineNameInUseException":
|
|
857
|
-
case "com.amazonaws.codepipeline#PipelineNameInUseException":
|
|
858
|
-
throw await de_PipelineNameInUseExceptionRes(parsedOutput, context);
|
|
859
|
-
case "WebhookNotFoundException":
|
|
860
|
-
case "com.amazonaws.codepipeline#WebhookNotFoundException":
|
|
861
|
-
throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
|
|
862
|
-
case "PipelineNotFoundException":
|
|
863
|
-
case "com.amazonaws.codepipeline#PipelineNotFoundException":
|
|
864
|
-
throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
|
|
865
|
-
case "StageNotFoundException":
|
|
866
|
-
case "com.amazonaws.codepipeline#StageNotFoundException":
|
|
867
|
-
throw await de_StageNotFoundExceptionRes(parsedOutput, context);
|
|
868
|
-
case "ActionTypeNotFoundException":
|
|
869
|
-
case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
|
|
870
|
-
throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
|
|
871
|
-
case "PipelineVersionNotFoundException":
|
|
872
|
-
case "com.amazonaws.codepipeline#PipelineVersionNotFoundException":
|
|
873
|
-
throw await de_PipelineVersionNotFoundExceptionRes(parsedOutput, context);
|
|
874
|
-
case "PipelineExecutionNotFoundException":
|
|
875
|
-
case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
|
|
876
|
-
throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
|
|
877
|
-
case "InvalidJobException":
|
|
878
|
-
case "com.amazonaws.codepipeline#InvalidJobException":
|
|
879
|
-
throw await de_InvalidJobExceptionRes(parsedOutput, context);
|
|
880
|
-
case "InvalidNextTokenException":
|
|
881
|
-
case "com.amazonaws.codepipeline#InvalidNextTokenException":
|
|
882
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
883
|
-
case "ActionExecutionNotFoundException":
|
|
884
|
-
case "com.amazonaws.codepipeline#ActionExecutionNotFoundException":
|
|
885
|
-
throw await de_ActionExecutionNotFoundExceptionRes(parsedOutput, context);
|
|
886
|
-
case "InvalidArnException":
|
|
887
|
-
case "com.amazonaws.codepipeline#InvalidArnException":
|
|
888
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
889
|
-
case "ResourceNotFoundException":
|
|
890
|
-
case "com.amazonaws.codepipeline#ResourceNotFoundException":
|
|
891
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
892
|
-
case "ConcurrentPipelineExecutionsLimitExceededException":
|
|
893
|
-
case "com.amazonaws.codepipeline#ConcurrentPipelineExecutionsLimitExceededException":
|
|
894
|
-
throw await de_ConcurrentPipelineExecutionsLimitExceededExceptionRes(parsedOutput, context);
|
|
895
|
-
case "ConditionNotOverridableException":
|
|
896
|
-
case "com.amazonaws.codepipeline#ConditionNotOverridableException":
|
|
897
|
-
throw await de_ConditionNotOverridableExceptionRes(parsedOutput, context);
|
|
898
|
-
case "ConflictException":
|
|
899
|
-
case "com.amazonaws.codepipeline#ConflictException":
|
|
900
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
901
|
-
case "NotLatestPipelineExecutionException":
|
|
902
|
-
case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
|
|
903
|
-
throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
|
|
904
|
-
case "ActionNotFoundException":
|
|
905
|
-
case "com.amazonaws.codepipeline#ActionNotFoundException":
|
|
906
|
-
throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
|
|
907
|
-
case "ApprovalAlreadyCompletedException":
|
|
908
|
-
case "com.amazonaws.codepipeline#ApprovalAlreadyCompletedException":
|
|
909
|
-
throw await de_ApprovalAlreadyCompletedExceptionRes(parsedOutput, context);
|
|
910
|
-
case "InvalidApprovalTokenException":
|
|
911
|
-
case "com.amazonaws.codepipeline#InvalidApprovalTokenException":
|
|
912
|
-
throw await de_InvalidApprovalTokenExceptionRes(parsedOutput, context);
|
|
913
|
-
case "InvalidJobStateException":
|
|
914
|
-
case "com.amazonaws.codepipeline#InvalidJobStateException":
|
|
915
|
-
throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
|
|
916
|
-
case "OutputVariablesSizeExceededException":
|
|
917
|
-
case "com.amazonaws.codepipeline#OutputVariablesSizeExceededException":
|
|
918
|
-
throw await de_OutputVariablesSizeExceededExceptionRes(parsedOutput, context);
|
|
919
|
-
case "InvalidWebhookAuthenticationParametersException":
|
|
920
|
-
case "com.amazonaws.codepipeline#InvalidWebhookAuthenticationParametersException":
|
|
921
|
-
throw await de_InvalidWebhookAuthenticationParametersExceptionRes(parsedOutput, context);
|
|
922
|
-
case "InvalidWebhookFilterPatternException":
|
|
923
|
-
case "com.amazonaws.codepipeline#InvalidWebhookFilterPatternException":
|
|
924
|
-
throw await de_InvalidWebhookFilterPatternExceptionRes(parsedOutput, context);
|
|
925
|
-
case "StageNotRetryableException":
|
|
926
|
-
case "com.amazonaws.codepipeline#StageNotRetryableException":
|
|
927
|
-
throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
|
|
928
|
-
case "PipelineExecutionOutdatedException":
|
|
929
|
-
case "com.amazonaws.codepipeline#PipelineExecutionOutdatedException":
|
|
930
|
-
throw await de_PipelineExecutionOutdatedExceptionRes(parsedOutput, context);
|
|
931
|
-
case "UnableToRollbackStageException":
|
|
932
|
-
case "com.amazonaws.codepipeline#UnableToRollbackStageException":
|
|
933
|
-
throw await de_UnableToRollbackStageExceptionRes(parsedOutput, context);
|
|
934
|
-
case "DuplicatedStopRequestException":
|
|
935
|
-
case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
|
|
936
|
-
throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
|
|
937
|
-
case "PipelineExecutionNotStoppableException":
|
|
938
|
-
case "com.amazonaws.codepipeline#PipelineExecutionNotStoppableException":
|
|
939
|
-
throw await de_PipelineExecutionNotStoppableExceptionRes(parsedOutput, context);
|
|
940
|
-
case "RequestFailedException":
|
|
941
|
-
case "com.amazonaws.codepipeline#RequestFailedException":
|
|
942
|
-
throw await de_RequestFailedExceptionRes(parsedOutput, context);
|
|
943
|
-
default:
|
|
944
|
-
const parsedBody = parsedOutput.body;
|
|
945
|
-
return throwDefaultError({
|
|
946
|
-
output,
|
|
947
|
-
parsedBody,
|
|
948
|
-
errorCode,
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
};
|
|
952
|
-
const de_ActionExecutionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
953
|
-
const body = parsedOutput.body;
|
|
954
|
-
const deserialized = _json(body);
|
|
955
|
-
const exception = new ActionExecutionNotFoundException({
|
|
956
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
957
|
-
...deserialized,
|
|
958
|
-
});
|
|
959
|
-
return __decorateServiceException(exception, body);
|
|
960
|
-
};
|
|
961
|
-
const de_ActionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
962
|
-
const body = parsedOutput.body;
|
|
963
|
-
const deserialized = _json(body);
|
|
964
|
-
const exception = new ActionNotFoundException({
|
|
965
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
966
|
-
...deserialized,
|
|
967
|
-
});
|
|
968
|
-
return __decorateServiceException(exception, body);
|
|
969
|
-
};
|
|
970
|
-
const de_ActionTypeNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
971
|
-
const body = parsedOutput.body;
|
|
972
|
-
const deserialized = _json(body);
|
|
973
|
-
const exception = new ActionTypeNotFoundException({
|
|
974
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
975
|
-
...deserialized,
|
|
976
|
-
});
|
|
977
|
-
return __decorateServiceException(exception, body);
|
|
978
|
-
};
|
|
979
|
-
const de_ApprovalAlreadyCompletedExceptionRes = async (parsedOutput, context) => {
|
|
980
|
-
const body = parsedOutput.body;
|
|
981
|
-
const deserialized = _json(body);
|
|
982
|
-
const exception = new ApprovalAlreadyCompletedException({
|
|
983
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
984
|
-
...deserialized,
|
|
985
|
-
});
|
|
986
|
-
return __decorateServiceException(exception, body);
|
|
987
|
-
};
|
|
988
|
-
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
989
|
-
const body = parsedOutput.body;
|
|
990
|
-
const deserialized = _json(body);
|
|
991
|
-
const exception = new ConcurrentModificationException({
|
|
992
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
993
|
-
...deserialized,
|
|
994
|
-
});
|
|
995
|
-
return __decorateServiceException(exception, body);
|
|
996
|
-
};
|
|
997
|
-
const de_ConcurrentPipelineExecutionsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
998
|
-
const body = parsedOutput.body;
|
|
999
|
-
const deserialized = _json(body);
|
|
1000
|
-
const exception = new ConcurrentPipelineExecutionsLimitExceededException({
|
|
1001
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1002
|
-
...deserialized,
|
|
1003
|
-
});
|
|
1004
|
-
return __decorateServiceException(exception, body);
|
|
1005
|
-
};
|
|
1006
|
-
const de_ConditionNotOverridableExceptionRes = async (parsedOutput, context) => {
|
|
1007
|
-
const body = parsedOutput.body;
|
|
1008
|
-
const deserialized = _json(body);
|
|
1009
|
-
const exception = new ConditionNotOverridableException({
|
|
1010
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1011
|
-
...deserialized,
|
|
1012
|
-
});
|
|
1013
|
-
return __decorateServiceException(exception, body);
|
|
1014
|
-
};
|
|
1015
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1016
|
-
const body = parsedOutput.body;
|
|
1017
|
-
const deserialized = _json(body);
|
|
1018
|
-
const exception = new ConflictException({
|
|
1019
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1020
|
-
...deserialized,
|
|
1021
|
-
});
|
|
1022
|
-
return __decorateServiceException(exception, body);
|
|
1023
|
-
};
|
|
1024
|
-
const de_DuplicatedStopRequestExceptionRes = async (parsedOutput, context) => {
|
|
1025
|
-
const body = parsedOutput.body;
|
|
1026
|
-
const deserialized = _json(body);
|
|
1027
|
-
const exception = new DuplicatedStopRequestException({
|
|
1028
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1029
|
-
...deserialized,
|
|
1030
|
-
});
|
|
1031
|
-
return __decorateServiceException(exception, body);
|
|
1032
|
-
};
|
|
1033
|
-
const de_InvalidActionDeclarationExceptionRes = async (parsedOutput, context) => {
|
|
1034
|
-
const body = parsedOutput.body;
|
|
1035
|
-
const deserialized = _json(body);
|
|
1036
|
-
const exception = new InvalidActionDeclarationException({
|
|
1037
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1038
|
-
...deserialized,
|
|
1039
|
-
});
|
|
1040
|
-
return __decorateServiceException(exception, body);
|
|
1041
|
-
};
|
|
1042
|
-
const de_InvalidApprovalTokenExceptionRes = async (parsedOutput, context) => {
|
|
1043
|
-
const body = parsedOutput.body;
|
|
1044
|
-
const deserialized = _json(body);
|
|
1045
|
-
const exception = new InvalidApprovalTokenException({
|
|
1046
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1047
|
-
...deserialized,
|
|
1048
|
-
});
|
|
1049
|
-
return __decorateServiceException(exception, body);
|
|
1050
|
-
};
|
|
1051
|
-
const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
1052
|
-
const body = parsedOutput.body;
|
|
1053
|
-
const deserialized = _json(body);
|
|
1054
|
-
const exception = new InvalidArnException({
|
|
1055
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1056
|
-
...deserialized,
|
|
1057
|
-
});
|
|
1058
|
-
return __decorateServiceException(exception, body);
|
|
1059
|
-
};
|
|
1060
|
-
const de_InvalidBlockerDeclarationExceptionRes = async (parsedOutput, context) => {
|
|
1061
|
-
const body = parsedOutput.body;
|
|
1062
|
-
const deserialized = _json(body);
|
|
1063
|
-
const exception = new InvalidBlockerDeclarationException({
|
|
1064
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1065
|
-
...deserialized,
|
|
1066
|
-
});
|
|
1067
|
-
return __decorateServiceException(exception, body);
|
|
1068
|
-
};
|
|
1069
|
-
const de_InvalidClientTokenExceptionRes = async (parsedOutput, context) => {
|
|
1070
|
-
const body = parsedOutput.body;
|
|
1071
|
-
const deserialized = _json(body);
|
|
1072
|
-
const exception = new InvalidClientTokenException({
|
|
1073
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1074
|
-
...deserialized,
|
|
1075
|
-
});
|
|
1076
|
-
return __decorateServiceException(exception, body);
|
|
1077
|
-
};
|
|
1078
|
-
const de_InvalidJobExceptionRes = async (parsedOutput, context) => {
|
|
1079
|
-
const body = parsedOutput.body;
|
|
1080
|
-
const deserialized = _json(body);
|
|
1081
|
-
const exception = new InvalidJobException({
|
|
1082
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1083
|
-
...deserialized,
|
|
1084
|
-
});
|
|
1085
|
-
return __decorateServiceException(exception, body);
|
|
1086
|
-
};
|
|
1087
|
-
const de_InvalidJobStateExceptionRes = async (parsedOutput, context) => {
|
|
1088
|
-
const body = parsedOutput.body;
|
|
1089
|
-
const deserialized = _json(body);
|
|
1090
|
-
const exception = new InvalidJobStateException({
|
|
1091
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1092
|
-
...deserialized,
|
|
1093
|
-
});
|
|
1094
|
-
return __decorateServiceException(exception, body);
|
|
1095
|
-
};
|
|
1096
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
1097
|
-
const body = parsedOutput.body;
|
|
1098
|
-
const deserialized = _json(body);
|
|
1099
|
-
const exception = new InvalidNextTokenException({
|
|
1100
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1101
|
-
...deserialized,
|
|
1102
|
-
});
|
|
1103
|
-
return __decorateServiceException(exception, body);
|
|
1104
|
-
};
|
|
1105
|
-
const de_InvalidNonceExceptionRes = async (parsedOutput, context) => {
|
|
1106
|
-
const body = parsedOutput.body;
|
|
1107
|
-
const deserialized = _json(body);
|
|
1108
|
-
const exception = new InvalidNonceException({
|
|
1109
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1110
|
-
...deserialized,
|
|
1111
|
-
});
|
|
1112
|
-
return __decorateServiceException(exception, body);
|
|
1113
|
-
};
|
|
1114
|
-
const de_InvalidStageDeclarationExceptionRes = async (parsedOutput, context) => {
|
|
1115
|
-
const body = parsedOutput.body;
|
|
1116
|
-
const deserialized = _json(body);
|
|
1117
|
-
const exception = new InvalidStageDeclarationException({
|
|
1118
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1119
|
-
...deserialized,
|
|
1120
|
-
});
|
|
1121
|
-
return __decorateServiceException(exception, body);
|
|
1122
|
-
};
|
|
1123
|
-
const de_InvalidStructureExceptionRes = async (parsedOutput, context) => {
|
|
1124
|
-
const body = parsedOutput.body;
|
|
1125
|
-
const deserialized = _json(body);
|
|
1126
|
-
const exception = new InvalidStructureException({
|
|
1127
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1128
|
-
...deserialized,
|
|
1129
|
-
});
|
|
1130
|
-
return __decorateServiceException(exception, body);
|
|
1131
|
-
};
|
|
1132
|
-
const de_InvalidTagsExceptionRes = async (parsedOutput, context) => {
|
|
1133
|
-
const body = parsedOutput.body;
|
|
1134
|
-
const deserialized = _json(body);
|
|
1135
|
-
const exception = new InvalidTagsException({
|
|
1136
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1137
|
-
...deserialized,
|
|
1138
|
-
});
|
|
1139
|
-
return __decorateServiceException(exception, body);
|
|
1140
|
-
};
|
|
1141
|
-
const de_InvalidWebhookAuthenticationParametersExceptionRes = async (parsedOutput, context) => {
|
|
1142
|
-
const body = parsedOutput.body;
|
|
1143
|
-
const deserialized = _json(body);
|
|
1144
|
-
const exception = new InvalidWebhookAuthenticationParametersException({
|
|
1145
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1146
|
-
...deserialized,
|
|
1147
|
-
});
|
|
1148
|
-
return __decorateServiceException(exception, body);
|
|
1149
|
-
};
|
|
1150
|
-
const de_InvalidWebhookFilterPatternExceptionRes = async (parsedOutput, context) => {
|
|
1151
|
-
const body = parsedOutput.body;
|
|
1152
|
-
const deserialized = _json(body);
|
|
1153
|
-
const exception = new InvalidWebhookFilterPatternException({
|
|
1154
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1155
|
-
...deserialized,
|
|
1156
|
-
});
|
|
1157
|
-
return __decorateServiceException(exception, body);
|
|
1158
|
-
};
|
|
1159
|
-
const de_JobNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1160
|
-
const body = parsedOutput.body;
|
|
1161
|
-
const deserialized = _json(body);
|
|
1162
|
-
const exception = new JobNotFoundException({
|
|
1163
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1164
|
-
...deserialized,
|
|
1165
|
-
});
|
|
1166
|
-
return __decorateServiceException(exception, body);
|
|
1167
|
-
};
|
|
1168
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1169
|
-
const body = parsedOutput.body;
|
|
1170
|
-
const deserialized = _json(body);
|
|
1171
|
-
const exception = new LimitExceededException({
|
|
1172
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1173
|
-
...deserialized,
|
|
1174
|
-
});
|
|
1175
|
-
return __decorateServiceException(exception, body);
|
|
1176
|
-
};
|
|
1177
|
-
const de_NotLatestPipelineExecutionExceptionRes = async (parsedOutput, context) => {
|
|
1178
|
-
const body = parsedOutput.body;
|
|
1179
|
-
const deserialized = _json(body);
|
|
1180
|
-
const exception = new NotLatestPipelineExecutionException({
|
|
1181
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1182
|
-
...deserialized,
|
|
1183
|
-
});
|
|
1184
|
-
return __decorateServiceException(exception, body);
|
|
1185
|
-
};
|
|
1186
|
-
const de_OutputVariablesSizeExceededExceptionRes = async (parsedOutput, context) => {
|
|
1187
|
-
const body = parsedOutput.body;
|
|
1188
|
-
const deserialized = _json(body);
|
|
1189
|
-
const exception = new OutputVariablesSizeExceededException({
|
|
1190
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1191
|
-
...deserialized,
|
|
1192
|
-
});
|
|
1193
|
-
return __decorateServiceException(exception, body);
|
|
1194
|
-
};
|
|
1195
|
-
const de_PipelineExecutionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1196
|
-
const body = parsedOutput.body;
|
|
1197
|
-
const deserialized = _json(body);
|
|
1198
|
-
const exception = new PipelineExecutionNotFoundException({
|
|
1199
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1200
|
-
...deserialized,
|
|
1201
|
-
});
|
|
1202
|
-
return __decorateServiceException(exception, body);
|
|
1203
|
-
};
|
|
1204
|
-
const de_PipelineExecutionNotStoppableExceptionRes = async (parsedOutput, context) => {
|
|
1205
|
-
const body = parsedOutput.body;
|
|
1206
|
-
const deserialized = _json(body);
|
|
1207
|
-
const exception = new PipelineExecutionNotStoppableException({
|
|
1208
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1209
|
-
...deserialized,
|
|
1210
|
-
});
|
|
1211
|
-
return __decorateServiceException(exception, body);
|
|
1212
|
-
};
|
|
1213
|
-
const de_PipelineExecutionOutdatedExceptionRes = async (parsedOutput, context) => {
|
|
1214
|
-
const body = parsedOutput.body;
|
|
1215
|
-
const deserialized = _json(body);
|
|
1216
|
-
const exception = new PipelineExecutionOutdatedException({
|
|
1217
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1218
|
-
...deserialized,
|
|
1219
|
-
});
|
|
1220
|
-
return __decorateServiceException(exception, body);
|
|
1221
|
-
};
|
|
1222
|
-
const de_PipelineNameInUseExceptionRes = async (parsedOutput, context) => {
|
|
1223
|
-
const body = parsedOutput.body;
|
|
1224
|
-
const deserialized = _json(body);
|
|
1225
|
-
const exception = new PipelineNameInUseException({
|
|
1226
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1227
|
-
...deserialized,
|
|
1228
|
-
});
|
|
1229
|
-
return __decorateServiceException(exception, body);
|
|
1230
|
-
};
|
|
1231
|
-
const de_PipelineNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1232
|
-
const body = parsedOutput.body;
|
|
1233
|
-
const deserialized = _json(body);
|
|
1234
|
-
const exception = new PipelineNotFoundException({
|
|
1235
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1236
|
-
...deserialized,
|
|
1237
|
-
});
|
|
1238
|
-
return __decorateServiceException(exception, body);
|
|
1239
|
-
};
|
|
1240
|
-
const de_PipelineVersionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1241
|
-
const body = parsedOutput.body;
|
|
1242
|
-
const deserialized = _json(body);
|
|
1243
|
-
const exception = new PipelineVersionNotFoundException({
|
|
1244
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1245
|
-
...deserialized,
|
|
1246
|
-
});
|
|
1247
|
-
return __decorateServiceException(exception, body);
|
|
1248
|
-
};
|
|
1249
|
-
const de_RequestFailedExceptionRes = async (parsedOutput, context) => {
|
|
1250
|
-
const body = parsedOutput.body;
|
|
1251
|
-
const deserialized = _json(body);
|
|
1252
|
-
const exception = new RequestFailedException({
|
|
1253
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1254
|
-
...deserialized,
|
|
1255
|
-
});
|
|
1256
|
-
return __decorateServiceException(exception, body);
|
|
1257
|
-
};
|
|
1258
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1259
|
-
const body = parsedOutput.body;
|
|
1260
|
-
const deserialized = _json(body);
|
|
1261
|
-
const exception = new ResourceNotFoundException({
|
|
1262
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1263
|
-
...deserialized,
|
|
1264
|
-
});
|
|
1265
|
-
return __decorateServiceException(exception, body);
|
|
1266
|
-
};
|
|
1267
|
-
const de_StageNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1268
|
-
const body = parsedOutput.body;
|
|
1269
|
-
const deserialized = _json(body);
|
|
1270
|
-
const exception = new StageNotFoundException({
|
|
1271
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1272
|
-
...deserialized,
|
|
1273
|
-
});
|
|
1274
|
-
return __decorateServiceException(exception, body);
|
|
1275
|
-
};
|
|
1276
|
-
const de_StageNotRetryableExceptionRes = async (parsedOutput, context) => {
|
|
1277
|
-
const body = parsedOutput.body;
|
|
1278
|
-
const deserialized = _json(body);
|
|
1279
|
-
const exception = new StageNotRetryableException({
|
|
1280
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1281
|
-
...deserialized,
|
|
1282
|
-
});
|
|
1283
|
-
return __decorateServiceException(exception, body);
|
|
1284
|
-
};
|
|
1285
|
-
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1286
|
-
const body = parsedOutput.body;
|
|
1287
|
-
const deserialized = _json(body);
|
|
1288
|
-
const exception = new TooManyTagsException({
|
|
1289
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1290
|
-
...deserialized,
|
|
1291
|
-
});
|
|
1292
|
-
return __decorateServiceException(exception, body);
|
|
1293
|
-
};
|
|
1294
|
-
const de_UnableToRollbackStageExceptionRes = async (parsedOutput, context) => {
|
|
1295
|
-
const body = parsedOutput.body;
|
|
1296
|
-
const deserialized = _json(body);
|
|
1297
|
-
const exception = new UnableToRollbackStageException({
|
|
1298
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1299
|
-
...deserialized,
|
|
1300
|
-
});
|
|
1301
|
-
return __decorateServiceException(exception, body);
|
|
1302
|
-
};
|
|
1303
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1304
|
-
const body = parsedOutput.body;
|
|
1305
|
-
const deserialized = _json(body);
|
|
1306
|
-
const exception = new ValidationException({
|
|
1307
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1308
|
-
...deserialized,
|
|
1309
|
-
});
|
|
1310
|
-
return __decorateServiceException(exception, body);
|
|
1311
|
-
};
|
|
1312
|
-
const de_WebhookNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1313
|
-
const body = parsedOutput.body;
|
|
1314
|
-
const deserialized = _json(body);
|
|
1315
|
-
const exception = new WebhookNotFoundException({
|
|
1316
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1317
|
-
...deserialized,
|
|
1318
|
-
});
|
|
1319
|
-
return __decorateServiceException(exception, body);
|
|
1320
|
-
};
|
|
1321
|
-
const se_ActionRevision = (input, context) => {
|
|
1322
|
-
return take(input, {
|
|
1323
|
-
created: (_) => _.getTime() / 1_000,
|
|
1324
|
-
revisionChangeId: [],
|
|
1325
|
-
revisionId: [],
|
|
1326
|
-
});
|
|
1327
|
-
};
|
|
1328
|
-
const se_CreatePipelineInput = (input, context) => {
|
|
1329
|
-
return take(input, {
|
|
1330
|
-
pipeline: _json,
|
|
1331
|
-
tags: _json,
|
|
1332
|
-
});
|
|
1333
|
-
};
|
|
1334
|
-
const se_CurrentRevision = (input, context) => {
|
|
1335
|
-
return take(input, {
|
|
1336
|
-
changeIdentifier: [],
|
|
1337
|
-
created: (_) => _.getTime() / 1_000,
|
|
1338
|
-
revision: [],
|
|
1339
|
-
revisionSummary: [],
|
|
1340
|
-
});
|
|
1341
|
-
};
|
|
1342
|
-
const se_PutActionRevisionInput = (input, context) => {
|
|
1343
|
-
return take(input, {
|
|
1344
|
-
actionName: [],
|
|
1345
|
-
actionRevision: (_) => se_ActionRevision(_, context),
|
|
1346
|
-
pipelineName: [],
|
|
1347
|
-
stageName: [],
|
|
1348
|
-
});
|
|
1349
|
-
};
|
|
1350
|
-
const se_PutJobSuccessResultInput = (input, context) => {
|
|
1351
|
-
return take(input, {
|
|
1352
|
-
continuationToken: [],
|
|
1353
|
-
currentRevision: (_) => se_CurrentRevision(_, context),
|
|
1354
|
-
executionDetails: _json,
|
|
1355
|
-
jobId: [],
|
|
1356
|
-
outputVariables: _json,
|
|
1357
|
-
});
|
|
1358
|
-
};
|
|
1359
|
-
const se_PutThirdPartyJobSuccessResultInput = (input, context) => {
|
|
1360
|
-
return take(input, {
|
|
1361
|
-
clientToken: [],
|
|
1362
|
-
continuationToken: [],
|
|
1363
|
-
currentRevision: (_) => se_CurrentRevision(_, context),
|
|
1364
|
-
executionDetails: _json,
|
|
1365
|
-
jobId: [],
|
|
1366
|
-
});
|
|
1367
|
-
};
|
|
1368
|
-
const se_StartPipelineExecutionInput = (input, context) => {
|
|
1369
|
-
return take(input, {
|
|
1370
|
-
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1371
|
-
name: [],
|
|
1372
|
-
sourceRevisions: _json,
|
|
1373
|
-
variables: _json,
|
|
1374
|
-
});
|
|
1375
|
-
};
|
|
1376
|
-
const se_UpdatePipelineInput = (input, context) => {
|
|
1377
|
-
return take(input, {
|
|
1378
|
-
pipeline: _json,
|
|
1379
|
-
});
|
|
1380
|
-
};
|
|
1381
|
-
const de_ActionExecution = (output, context) => {
|
|
1382
|
-
return take(output, {
|
|
1383
|
-
actionExecutionId: __expectString,
|
|
1384
|
-
errorDetails: _json,
|
|
1385
|
-
externalExecutionId: __expectString,
|
|
1386
|
-
externalExecutionUrl: __expectString,
|
|
1387
|
-
lastStatusChange: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1388
|
-
lastUpdatedBy: __expectString,
|
|
1389
|
-
logStreamARN: __expectString,
|
|
1390
|
-
percentComplete: __expectInt32,
|
|
1391
|
-
status: __expectString,
|
|
1392
|
-
summary: __expectString,
|
|
1393
|
-
token: __expectString,
|
|
1394
|
-
});
|
|
1395
|
-
};
|
|
1396
|
-
const de_ActionExecutionDetail = (output, context) => {
|
|
1397
|
-
return take(output, {
|
|
1398
|
-
actionExecutionId: __expectString,
|
|
1399
|
-
actionName: __expectString,
|
|
1400
|
-
input: _json,
|
|
1401
|
-
lastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1402
|
-
output: _json,
|
|
1403
|
-
pipelineExecutionId: __expectString,
|
|
1404
|
-
pipelineVersion: __expectInt32,
|
|
1405
|
-
stageName: __expectString,
|
|
1406
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1407
|
-
status: __expectString,
|
|
1408
|
-
updatedBy: __expectString,
|
|
1409
|
-
});
|
|
1410
|
-
};
|
|
1411
|
-
const de_ActionExecutionDetailList = (output, context) => {
|
|
1412
|
-
const retVal = (output || [])
|
|
1413
|
-
.filter((e) => e != null)
|
|
1414
|
-
.map((entry) => {
|
|
1415
|
-
return de_ActionExecutionDetail(entry, context);
|
|
1416
|
-
});
|
|
1417
|
-
return retVal;
|
|
1418
|
-
};
|
|
1419
|
-
const de_ActionRevision = (output, context) => {
|
|
1420
|
-
return take(output, {
|
|
1421
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1422
|
-
revisionChangeId: __expectString,
|
|
1423
|
-
revisionId: __expectString,
|
|
1424
|
-
});
|
|
1425
|
-
};
|
|
1426
|
-
const de_ActionState = (output, context) => {
|
|
1427
|
-
return take(output, {
|
|
1428
|
-
actionName: __expectString,
|
|
1429
|
-
currentRevision: (_) => de_ActionRevision(_, context),
|
|
1430
|
-
entityUrl: __expectString,
|
|
1431
|
-
latestExecution: (_) => de_ActionExecution(_, context),
|
|
1432
|
-
revisionUrl: __expectString,
|
|
1433
|
-
});
|
|
1434
|
-
};
|
|
1435
|
-
const de_ActionStateList = (output, context) => {
|
|
1436
|
-
const retVal = (output || [])
|
|
1437
|
-
.filter((e) => e != null)
|
|
1438
|
-
.map((entry) => {
|
|
1439
|
-
return de_ActionState(entry, context);
|
|
1440
|
-
});
|
|
1441
|
-
return retVal;
|
|
1442
|
-
};
|
|
1443
|
-
const de_ArtifactRevision = (output, context) => {
|
|
1444
|
-
return take(output, {
|
|
1445
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1446
|
-
name: __expectString,
|
|
1447
|
-
revisionChangeIdentifier: __expectString,
|
|
1448
|
-
revisionId: __expectString,
|
|
1449
|
-
revisionSummary: __expectString,
|
|
1450
|
-
revisionUrl: __expectString,
|
|
1451
|
-
});
|
|
1452
|
-
};
|
|
1453
|
-
const de_ArtifactRevisionList = (output, context) => {
|
|
1454
|
-
const retVal = (output || [])
|
|
1455
|
-
.filter((e) => e != null)
|
|
1456
|
-
.map((entry) => {
|
|
1457
|
-
return de_ArtifactRevision(entry, context);
|
|
1458
|
-
});
|
|
1459
|
-
return retVal;
|
|
1460
|
-
};
|
|
1461
|
-
const de_ConditionExecution = (output, context) => {
|
|
1462
|
-
return take(output, {
|
|
1463
|
-
lastStatusChange: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1464
|
-
status: __expectString,
|
|
1465
|
-
summary: __expectString,
|
|
1466
|
-
});
|
|
1467
|
-
};
|
|
1468
|
-
const de_ConditionState = (output, context) => {
|
|
1469
|
-
return take(output, {
|
|
1470
|
-
latestExecution: (_) => de_ConditionExecution(_, context),
|
|
1471
|
-
ruleStates: (_) => de_RuleStateList(_, context),
|
|
1472
|
-
});
|
|
1473
|
-
};
|
|
1474
|
-
const de_ConditionStateList = (output, context) => {
|
|
1475
|
-
const retVal = (output || [])
|
|
1476
|
-
.filter((e) => e != null)
|
|
1477
|
-
.map((entry) => {
|
|
1478
|
-
return de_ConditionState(entry, context);
|
|
1479
|
-
});
|
|
1480
|
-
return retVal;
|
|
1481
|
-
};
|
|
1482
|
-
const de_CreatePipelineOutput = (output, context) => {
|
|
1483
|
-
return take(output, {
|
|
1484
|
-
pipeline: _json,
|
|
1485
|
-
tags: _json,
|
|
1486
|
-
});
|
|
1487
|
-
};
|
|
1488
|
-
const de_DeployActionExecutionTarget = (output, context) => {
|
|
1489
|
-
return take(output, {
|
|
1490
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1491
|
-
events: (_) => de_DeployTargetEventList(_, context),
|
|
1492
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1493
|
-
status: __expectString,
|
|
1494
|
-
targetId: __expectString,
|
|
1495
|
-
targetType: __expectString,
|
|
1496
|
-
});
|
|
1497
|
-
};
|
|
1498
|
-
const de_DeployActionExecutionTargetList = (output, context) => {
|
|
1499
|
-
const retVal = (output || [])
|
|
1500
|
-
.filter((e) => e != null)
|
|
1501
|
-
.map((entry) => {
|
|
1502
|
-
return de_DeployActionExecutionTarget(entry, context);
|
|
1503
|
-
});
|
|
1504
|
-
return retVal;
|
|
1505
|
-
};
|
|
1506
|
-
const de_DeployTargetEvent = (output, context) => {
|
|
1507
|
-
return take(output, {
|
|
1508
|
-
context: _json,
|
|
1509
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1510
|
-
name: __expectString,
|
|
1511
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1512
|
-
status: __expectString,
|
|
1513
|
-
});
|
|
1514
|
-
};
|
|
1515
|
-
const de_DeployTargetEventList = (output, context) => {
|
|
1516
|
-
const retVal = (output || [])
|
|
1517
|
-
.filter((e) => e != null)
|
|
1518
|
-
.map((entry) => {
|
|
1519
|
-
return de_DeployTargetEvent(entry, context);
|
|
1520
|
-
});
|
|
1521
|
-
return retVal;
|
|
1522
|
-
};
|
|
1523
|
-
const de_GetPipelineExecutionOutput = (output, context) => {
|
|
1524
|
-
return take(output, {
|
|
1525
|
-
pipelineExecution: (_) => de_PipelineExecution(_, context),
|
|
1526
|
-
});
|
|
1527
|
-
};
|
|
1528
|
-
const de_GetPipelineOutput = (output, context) => {
|
|
1529
|
-
return take(output, {
|
|
1530
|
-
metadata: (_) => de_PipelineMetadata(_, context),
|
|
1531
|
-
pipeline: _json,
|
|
1532
|
-
});
|
|
1533
|
-
};
|
|
1534
|
-
const de_GetPipelineStateOutput = (output, context) => {
|
|
1535
|
-
return take(output, {
|
|
1536
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1537
|
-
pipelineName: __expectString,
|
|
1538
|
-
pipelineVersion: __expectInt32,
|
|
1539
|
-
stageStates: (_) => de_StageStateList(_, context),
|
|
1540
|
-
updated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1541
|
-
});
|
|
1542
|
-
};
|
|
1543
|
-
const de_ListActionExecutionsOutput = (output, context) => {
|
|
1544
|
-
return take(output, {
|
|
1545
|
-
actionExecutionDetails: (_) => de_ActionExecutionDetailList(_, context),
|
|
1546
|
-
nextToken: __expectString,
|
|
1547
|
-
});
|
|
1548
|
-
};
|
|
1549
|
-
const de_ListDeployActionExecutionTargetsOutput = (output, context) => {
|
|
1550
|
-
return take(output, {
|
|
1551
|
-
nextToken: __expectString,
|
|
1552
|
-
targets: (_) => de_DeployActionExecutionTargetList(_, context),
|
|
1553
|
-
});
|
|
1554
|
-
};
|
|
1555
|
-
const de_ListPipelineExecutionsOutput = (output, context) => {
|
|
1556
|
-
return take(output, {
|
|
1557
|
-
nextToken: __expectString,
|
|
1558
|
-
pipelineExecutionSummaries: (_) => de_PipelineExecutionSummaryList(_, context),
|
|
1559
|
-
});
|
|
1560
|
-
};
|
|
1561
|
-
const de_ListPipelinesOutput = (output, context) => {
|
|
1562
|
-
return take(output, {
|
|
1563
|
-
nextToken: __expectString,
|
|
1564
|
-
pipelines: (_) => de_PipelineList(_, context),
|
|
1565
|
-
});
|
|
1566
|
-
};
|
|
1567
|
-
const de_ListRuleExecutionsOutput = (output, context) => {
|
|
1568
|
-
return take(output, {
|
|
1569
|
-
nextToken: __expectString,
|
|
1570
|
-
ruleExecutionDetails: (_) => de_RuleExecutionDetailList(_, context),
|
|
1571
|
-
});
|
|
1572
|
-
};
|
|
1573
|
-
const de_ListWebhookItem = (output, context) => {
|
|
1574
|
-
return take(output, {
|
|
1575
|
-
arn: __expectString,
|
|
1576
|
-
definition: _json,
|
|
1577
|
-
errorCode: __expectString,
|
|
1578
|
-
errorMessage: __expectString,
|
|
1579
|
-
lastTriggered: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1580
|
-
tags: _json,
|
|
1581
|
-
url: __expectString,
|
|
1582
|
-
});
|
|
1583
|
-
};
|
|
1584
|
-
const de_ListWebhooksOutput = (output, context) => {
|
|
1585
|
-
return take(output, {
|
|
1586
|
-
NextToken: __expectString,
|
|
1587
|
-
webhooks: (_) => de_WebhookList(_, context),
|
|
1588
|
-
});
|
|
1589
|
-
};
|
|
1590
|
-
const de_PipelineExecution = (output, context) => {
|
|
1591
|
-
return take(output, {
|
|
1592
|
-
artifactRevisions: (_) => de_ArtifactRevisionList(_, context),
|
|
1593
|
-
executionMode: __expectString,
|
|
1594
|
-
executionType: __expectString,
|
|
1595
|
-
pipelineExecutionId: __expectString,
|
|
1596
|
-
pipelineName: __expectString,
|
|
1597
|
-
pipelineVersion: __expectInt32,
|
|
1598
|
-
rollbackMetadata: _json,
|
|
1599
|
-
status: __expectString,
|
|
1600
|
-
statusSummary: __expectString,
|
|
1601
|
-
trigger: _json,
|
|
1602
|
-
variables: _json,
|
|
1603
|
-
});
|
|
1604
|
-
};
|
|
1605
|
-
const de_PipelineExecutionSummary = (output, context) => {
|
|
1606
|
-
return take(output, {
|
|
1607
|
-
executionMode: __expectString,
|
|
1608
|
-
executionType: __expectString,
|
|
1609
|
-
lastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1610
|
-
pipelineExecutionId: __expectString,
|
|
1611
|
-
rollbackMetadata: _json,
|
|
1612
|
-
sourceRevisions: _json,
|
|
1613
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1614
|
-
status: __expectString,
|
|
1615
|
-
statusSummary: __expectString,
|
|
1616
|
-
stopTrigger: _json,
|
|
1617
|
-
trigger: _json,
|
|
1618
|
-
});
|
|
1619
|
-
};
|
|
1620
|
-
const de_PipelineExecutionSummaryList = (output, context) => {
|
|
1621
|
-
const retVal = (output || [])
|
|
1622
|
-
.filter((e) => e != null)
|
|
1623
|
-
.map((entry) => {
|
|
1624
|
-
return de_PipelineExecutionSummary(entry, context);
|
|
1625
|
-
});
|
|
1626
|
-
return retVal;
|
|
1627
|
-
};
|
|
1628
|
-
const de_PipelineList = (output, context) => {
|
|
1629
|
-
const retVal = (output || [])
|
|
1630
|
-
.filter((e) => e != null)
|
|
1631
|
-
.map((entry) => {
|
|
1632
|
-
return de_PipelineSummary(entry, context);
|
|
1633
|
-
});
|
|
1634
|
-
return retVal;
|
|
1635
|
-
};
|
|
1636
|
-
const de_PipelineMetadata = (output, context) => {
|
|
1637
|
-
return take(output, {
|
|
1638
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1639
|
-
pipelineArn: __expectString,
|
|
1640
|
-
pollingDisabledAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1641
|
-
updated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1642
|
-
});
|
|
1643
|
-
};
|
|
1644
|
-
const de_PipelineSummary = (output, context) => {
|
|
1645
|
-
return take(output, {
|
|
1646
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1647
|
-
executionMode: __expectString,
|
|
1648
|
-
name: __expectString,
|
|
1649
|
-
pipelineType: __expectString,
|
|
1650
|
-
updated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1651
|
-
version: __expectInt32,
|
|
1652
|
-
});
|
|
1653
|
-
};
|
|
1654
|
-
const de_PutApprovalResultOutput = (output, context) => {
|
|
1655
|
-
return take(output, {
|
|
1656
|
-
approvedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1657
|
-
});
|
|
1658
|
-
};
|
|
1659
|
-
const de_PutWebhookOutput = (output, context) => {
|
|
1660
|
-
return take(output, {
|
|
1661
|
-
webhook: (_) => de_ListWebhookItem(_, context),
|
|
1662
|
-
});
|
|
1663
|
-
};
|
|
1664
|
-
const de_RuleExecution = (output, context) => {
|
|
1665
|
-
return take(output, {
|
|
1666
|
-
errorDetails: _json,
|
|
1667
|
-
externalExecutionId: __expectString,
|
|
1668
|
-
externalExecutionUrl: __expectString,
|
|
1669
|
-
lastStatusChange: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1670
|
-
lastUpdatedBy: __expectString,
|
|
1671
|
-
ruleExecutionId: __expectString,
|
|
1672
|
-
status: __expectString,
|
|
1673
|
-
summary: __expectString,
|
|
1674
|
-
token: __expectString,
|
|
1675
|
-
});
|
|
1676
|
-
};
|
|
1677
|
-
const de_RuleExecutionDetail = (output, context) => {
|
|
1678
|
-
return take(output, {
|
|
1679
|
-
input: _json,
|
|
1680
|
-
lastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1681
|
-
output: _json,
|
|
1682
|
-
pipelineExecutionId: __expectString,
|
|
1683
|
-
pipelineVersion: __expectInt32,
|
|
1684
|
-
ruleExecutionId: __expectString,
|
|
1685
|
-
ruleName: __expectString,
|
|
1686
|
-
stageName: __expectString,
|
|
1687
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1688
|
-
status: __expectString,
|
|
1689
|
-
updatedBy: __expectString,
|
|
1690
|
-
});
|
|
1691
|
-
};
|
|
1692
|
-
const de_RuleExecutionDetailList = (output, context) => {
|
|
1693
|
-
const retVal = (output || [])
|
|
1694
|
-
.filter((e) => e != null)
|
|
1695
|
-
.map((entry) => {
|
|
1696
|
-
return de_RuleExecutionDetail(entry, context);
|
|
1697
|
-
});
|
|
1698
|
-
return retVal;
|
|
1699
|
-
};
|
|
1700
|
-
const de_RuleRevision = (output, context) => {
|
|
1701
|
-
return take(output, {
|
|
1702
|
-
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1703
|
-
revisionChangeId: __expectString,
|
|
1704
|
-
revisionId: __expectString,
|
|
1705
|
-
});
|
|
1706
|
-
};
|
|
1707
|
-
const de_RuleState = (output, context) => {
|
|
1708
|
-
return take(output, {
|
|
1709
|
-
currentRevision: (_) => de_RuleRevision(_, context),
|
|
1710
|
-
entityUrl: __expectString,
|
|
1711
|
-
latestExecution: (_) => de_RuleExecution(_, context),
|
|
1712
|
-
revisionUrl: __expectString,
|
|
1713
|
-
ruleName: __expectString,
|
|
1714
|
-
});
|
|
1715
|
-
};
|
|
1716
|
-
const de_RuleStateList = (output, context) => {
|
|
1717
|
-
const retVal = (output || [])
|
|
1718
|
-
.filter((e) => e != null)
|
|
1719
|
-
.map((entry) => {
|
|
1720
|
-
return de_RuleState(entry, context);
|
|
1721
|
-
});
|
|
1722
|
-
return retVal;
|
|
1723
|
-
};
|
|
1724
|
-
const de_StageConditionState = (output, context) => {
|
|
1725
|
-
return take(output, {
|
|
1726
|
-
conditionStates: (_) => de_ConditionStateList(_, context),
|
|
1727
|
-
latestExecution: _json,
|
|
1728
|
-
});
|
|
1729
|
-
};
|
|
1730
|
-
const de_StageState = (output, context) => {
|
|
1731
|
-
return take(output, {
|
|
1732
|
-
actionStates: (_) => de_ActionStateList(_, context),
|
|
1733
|
-
beforeEntryConditionState: (_) => de_StageConditionState(_, context),
|
|
1734
|
-
inboundExecution: _json,
|
|
1735
|
-
inboundExecutions: _json,
|
|
1736
|
-
inboundTransitionState: (_) => de_TransitionState(_, context),
|
|
1737
|
-
latestExecution: _json,
|
|
1738
|
-
onFailureConditionState: (_) => de_StageConditionState(_, context),
|
|
1739
|
-
onSuccessConditionState: (_) => de_StageConditionState(_, context),
|
|
1740
|
-
retryStageMetadata: _json,
|
|
1741
|
-
stageName: __expectString,
|
|
1742
|
-
});
|
|
1743
|
-
};
|
|
1744
|
-
const de_StageStateList = (output, context) => {
|
|
1745
|
-
const retVal = (output || [])
|
|
1746
|
-
.filter((e) => e != null)
|
|
1747
|
-
.map((entry) => {
|
|
1748
|
-
return de_StageState(entry, context);
|
|
1749
|
-
});
|
|
1750
|
-
return retVal;
|
|
1751
|
-
};
|
|
1752
|
-
const de_TransitionState = (output, context) => {
|
|
1753
|
-
return take(output, {
|
|
1754
|
-
disabledReason: __expectString,
|
|
1755
|
-
enabled: __expectBoolean,
|
|
1756
|
-
lastChangedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1757
|
-
lastChangedBy: __expectString,
|
|
1758
|
-
});
|
|
1759
|
-
};
|
|
1760
|
-
const de_UpdatePipelineOutput = (output, context) => {
|
|
1761
|
-
return take(output, {
|
|
1762
|
-
pipeline: _json,
|
|
1763
|
-
});
|
|
1764
|
-
};
|
|
1765
|
-
const de_WebhookList = (output, context) => {
|
|
1766
|
-
const retVal = (output || [])
|
|
1767
|
-
.filter((e) => e != null)
|
|
1768
|
-
.map((entry) => {
|
|
1769
|
-
return de_ListWebhookItem(entry, context);
|
|
1770
|
-
});
|
|
1771
|
-
return retVal;
|
|
1772
|
-
};
|
|
1773
|
-
const deserializeMetadata = (output) => ({
|
|
1774
|
-
httpStatusCode: output.statusCode,
|
|
1775
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1776
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1777
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1778
|
-
});
|
|
1779
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1780
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1781
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1782
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1783
|
-
const contents = {
|
|
1784
|
-
protocol,
|
|
1785
|
-
hostname,
|
|
1786
|
-
port,
|
|
1787
|
-
method: "POST",
|
|
1788
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1789
|
-
headers,
|
|
1790
|
-
};
|
|
1791
|
-
if (resolvedHostname !== undefined) {
|
|
1792
|
-
contents.hostname = resolvedHostname;
|
|
1793
|
-
}
|
|
1794
|
-
if (body !== undefined) {
|
|
1795
|
-
contents.body = body;
|
|
1796
|
-
}
|
|
1797
|
-
return new __HttpRequest(contents);
|
|
1798
|
-
};
|
|
1799
|
-
function sharedHeaders(operation) {
|
|
1800
|
-
return {
|
|
1801
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1802
|
-
"x-amz-target": `CodePipeline_20150709.${operation}`,
|
|
1803
|
-
};
|
|
1804
|
-
}
|