@aws-sdk/client-codepipeline 3.306.0 → 3.310.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 (83) hide show
  1. package/dist-cjs/commands/AcknowledgeJobCommand.js +2 -2
  2. package/dist-cjs/commands/AcknowledgeThirdPartyJobCommand.js +2 -2
  3. package/dist-cjs/commands/CreateCustomActionTypeCommand.js +2 -2
  4. package/dist-cjs/commands/CreatePipelineCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteCustomActionTypeCommand.js +2 -2
  6. package/dist-cjs/commands/DeletePipelineCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteWebhookCommand.js +2 -2
  8. package/dist-cjs/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -2
  9. package/dist-cjs/commands/DisableStageTransitionCommand.js +2 -2
  10. package/dist-cjs/commands/EnableStageTransitionCommand.js +2 -2
  11. package/dist-cjs/commands/GetActionTypeCommand.js +2 -2
  12. package/dist-cjs/commands/GetJobDetailsCommand.js +2 -2
  13. package/dist-cjs/commands/GetPipelineCommand.js +2 -2
  14. package/dist-cjs/commands/GetPipelineExecutionCommand.js +2 -2
  15. package/dist-cjs/commands/GetPipelineStateCommand.js +2 -2
  16. package/dist-cjs/commands/GetThirdPartyJobDetailsCommand.js +2 -2
  17. package/dist-cjs/commands/ListActionExecutionsCommand.js +2 -2
  18. package/dist-cjs/commands/ListActionTypesCommand.js +2 -2
  19. package/dist-cjs/commands/ListPipelineExecutionsCommand.js +2 -2
  20. package/dist-cjs/commands/ListPipelinesCommand.js +2 -2
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  22. package/dist-cjs/commands/ListWebhooksCommand.js +2 -2
  23. package/dist-cjs/commands/PollForJobsCommand.js +2 -2
  24. package/dist-cjs/commands/PollForThirdPartyJobsCommand.js +2 -2
  25. package/dist-cjs/commands/PutActionRevisionCommand.js +2 -2
  26. package/dist-cjs/commands/PutApprovalResultCommand.js +2 -2
  27. package/dist-cjs/commands/PutJobFailureResultCommand.js +2 -2
  28. package/dist-cjs/commands/PutJobSuccessResultCommand.js +2 -2
  29. package/dist-cjs/commands/PutThirdPartyJobFailureResultCommand.js +2 -2
  30. package/dist-cjs/commands/PutThirdPartyJobSuccessResultCommand.js +2 -2
  31. package/dist-cjs/commands/PutWebhookCommand.js +2 -2
  32. package/dist-cjs/commands/RegisterWebhookWithThirdPartyCommand.js +2 -2
  33. package/dist-cjs/commands/RetryStageExecutionCommand.js +2 -2
  34. package/dist-cjs/commands/StartPipelineExecutionCommand.js +2 -2
  35. package/dist-cjs/commands/StopPipelineExecutionCommand.js +2 -2
  36. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  37. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateActionTypeCommand.js +2 -2
  39. package/dist-cjs/commands/UpdatePipelineCommand.js +2 -2
  40. package/dist-cjs/protocols/Aws_json1_1.js +945 -1045
  41. package/dist-es/commands/AcknowledgeJobCommand.js +3 -3
  42. package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +3 -3
  43. package/dist-es/commands/CreateCustomActionTypeCommand.js +3 -3
  44. package/dist-es/commands/CreatePipelineCommand.js +3 -3
  45. package/dist-es/commands/DeleteCustomActionTypeCommand.js +3 -3
  46. package/dist-es/commands/DeletePipelineCommand.js +3 -3
  47. package/dist-es/commands/DeleteWebhookCommand.js +3 -3
  48. package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +3 -3
  49. package/dist-es/commands/DisableStageTransitionCommand.js +3 -3
  50. package/dist-es/commands/EnableStageTransitionCommand.js +3 -3
  51. package/dist-es/commands/GetActionTypeCommand.js +3 -3
  52. package/dist-es/commands/GetJobDetailsCommand.js +3 -3
  53. package/dist-es/commands/GetPipelineCommand.js +3 -3
  54. package/dist-es/commands/GetPipelineExecutionCommand.js +3 -3
  55. package/dist-es/commands/GetPipelineStateCommand.js +3 -3
  56. package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +3 -3
  57. package/dist-es/commands/ListActionExecutionsCommand.js +3 -3
  58. package/dist-es/commands/ListActionTypesCommand.js +3 -3
  59. package/dist-es/commands/ListPipelineExecutionsCommand.js +3 -3
  60. package/dist-es/commands/ListPipelinesCommand.js +3 -3
  61. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  62. package/dist-es/commands/ListWebhooksCommand.js +3 -3
  63. package/dist-es/commands/PollForJobsCommand.js +3 -3
  64. package/dist-es/commands/PollForThirdPartyJobsCommand.js +3 -3
  65. package/dist-es/commands/PutActionRevisionCommand.js +3 -3
  66. package/dist-es/commands/PutApprovalResultCommand.js +3 -3
  67. package/dist-es/commands/PutJobFailureResultCommand.js +3 -3
  68. package/dist-es/commands/PutJobSuccessResultCommand.js +3 -3
  69. package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +3 -3
  70. package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +3 -3
  71. package/dist-es/commands/PutWebhookCommand.js +3 -3
  72. package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +3 -3
  73. package/dist-es/commands/RetryStageExecutionCommand.js +3 -3
  74. package/dist-es/commands/StartPipelineExecutionCommand.js +3 -3
  75. package/dist-es/commands/StopPipelineExecutionCommand.js +3 -3
  76. package/dist-es/commands/TagResourceCommand.js +3 -3
  77. package/dist-es/commands/UntagResourceCommand.js +3 -3
  78. package/dist-es/commands/UpdateActionTypeCommand.js +3 -3
  79. package/dist-es/commands/UpdatePipelineCommand.js +3 -3
  80. package/dist-es/protocols/Aws_json1_1.js +865 -965
  81. package/dist-types/protocols/Aws_json1_1.d.ts +312 -78
  82. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +78 -78
  83. package/package.json +35 -35
@@ -3,371 +3,371 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { CodePipelineServiceException as __BaseException } from "../models/CodePipelineServiceException";
5
5
  import { ActionNotFoundException, ActionTypeNotFoundException, ApprovalAlreadyCompletedException, ConcurrentModificationException, ConflictException, DuplicatedStopRequestException, InvalidActionDeclarationException, InvalidApprovalTokenException, InvalidArnException, InvalidBlockerDeclarationException, InvalidClientTokenException, InvalidJobException, InvalidJobStateException, InvalidNextTokenException, InvalidNonceException, InvalidStageDeclarationException, InvalidStructureException, InvalidTagsException, InvalidWebhookAuthenticationParametersException, InvalidWebhookFilterPatternException, JobNotFoundException, LimitExceededException, NotLatestPipelineExecutionException, OutputVariablesSizeExceededException, PipelineExecutionNotFoundException, PipelineExecutionNotStoppableException, PipelineNameInUseException, PipelineNotFoundException, PipelineVersionNotFoundException, RequestFailedException, ResourceNotFoundException, StageNotFoundException, StageNotRetryableException, TooManyTagsException, ValidationException, WebhookNotFoundException, } from "../models/models_0";
6
- export const serializeAws_json1_1AcknowledgeJobCommand = async (input, context) => {
6
+ export const se_AcknowledgeJobCommand = async (input, context) => {
7
7
  const headers = {
8
8
  "content-type": "application/x-amz-json-1.1",
9
9
  "x-amz-target": "CodePipeline_20150709.AcknowledgeJob",
10
10
  };
11
11
  let body;
12
- body = JSON.stringify(serializeAws_json1_1AcknowledgeJobInput(input, context));
12
+ body = JSON.stringify(se_AcknowledgeJobInput(input, context));
13
13
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
14
14
  };
15
- export const serializeAws_json1_1AcknowledgeThirdPartyJobCommand = async (input, context) => {
15
+ export const se_AcknowledgeThirdPartyJobCommand = async (input, context) => {
16
16
  const headers = {
17
17
  "content-type": "application/x-amz-json-1.1",
18
18
  "x-amz-target": "CodePipeline_20150709.AcknowledgeThirdPartyJob",
19
19
  };
20
20
  let body;
21
- body = JSON.stringify(serializeAws_json1_1AcknowledgeThirdPartyJobInput(input, context));
21
+ body = JSON.stringify(se_AcknowledgeThirdPartyJobInput(input, context));
22
22
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
23
23
  };
24
- export const serializeAws_json1_1CreateCustomActionTypeCommand = async (input, context) => {
24
+ export const se_CreateCustomActionTypeCommand = async (input, context) => {
25
25
  const headers = {
26
26
  "content-type": "application/x-amz-json-1.1",
27
27
  "x-amz-target": "CodePipeline_20150709.CreateCustomActionType",
28
28
  };
29
29
  let body;
30
- body = JSON.stringify(serializeAws_json1_1CreateCustomActionTypeInput(input, context));
30
+ body = JSON.stringify(se_CreateCustomActionTypeInput(input, context));
31
31
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
32
32
  };
33
- export const serializeAws_json1_1CreatePipelineCommand = async (input, context) => {
33
+ export const se_CreatePipelineCommand = async (input, context) => {
34
34
  const headers = {
35
35
  "content-type": "application/x-amz-json-1.1",
36
36
  "x-amz-target": "CodePipeline_20150709.CreatePipeline",
37
37
  };
38
38
  let body;
39
- body = JSON.stringify(serializeAws_json1_1CreatePipelineInput(input, context));
39
+ body = JSON.stringify(se_CreatePipelineInput(input, context));
40
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
41
  };
42
- export const serializeAws_json1_1DeleteCustomActionTypeCommand = async (input, context) => {
42
+ export const se_DeleteCustomActionTypeCommand = async (input, context) => {
43
43
  const headers = {
44
44
  "content-type": "application/x-amz-json-1.1",
45
45
  "x-amz-target": "CodePipeline_20150709.DeleteCustomActionType",
46
46
  };
47
47
  let body;
48
- body = JSON.stringify(serializeAws_json1_1DeleteCustomActionTypeInput(input, context));
48
+ body = JSON.stringify(se_DeleteCustomActionTypeInput(input, context));
49
49
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
50
50
  };
51
- export const serializeAws_json1_1DeletePipelineCommand = async (input, context) => {
51
+ export const se_DeletePipelineCommand = async (input, context) => {
52
52
  const headers = {
53
53
  "content-type": "application/x-amz-json-1.1",
54
54
  "x-amz-target": "CodePipeline_20150709.DeletePipeline",
55
55
  };
56
56
  let body;
57
- body = JSON.stringify(serializeAws_json1_1DeletePipelineInput(input, context));
57
+ body = JSON.stringify(se_DeletePipelineInput(input, context));
58
58
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
59
59
  };
60
- export const serializeAws_json1_1DeleteWebhookCommand = async (input, context) => {
60
+ export const se_DeleteWebhookCommand = async (input, context) => {
61
61
  const headers = {
62
62
  "content-type": "application/x-amz-json-1.1",
63
63
  "x-amz-target": "CodePipeline_20150709.DeleteWebhook",
64
64
  };
65
65
  let body;
66
- body = JSON.stringify(serializeAws_json1_1DeleteWebhookInput(input, context));
66
+ body = JSON.stringify(se_DeleteWebhookInput(input, context));
67
67
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
68
68
  };
69
- export const serializeAws_json1_1DeregisterWebhookWithThirdPartyCommand = async (input, context) => {
69
+ export const se_DeregisterWebhookWithThirdPartyCommand = async (input, context) => {
70
70
  const headers = {
71
71
  "content-type": "application/x-amz-json-1.1",
72
72
  "x-amz-target": "CodePipeline_20150709.DeregisterWebhookWithThirdParty",
73
73
  };
74
74
  let body;
75
- body = JSON.stringify(serializeAws_json1_1DeregisterWebhookWithThirdPartyInput(input, context));
75
+ body = JSON.stringify(se_DeregisterWebhookWithThirdPartyInput(input, context));
76
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
77
  };
78
- export const serializeAws_json1_1DisableStageTransitionCommand = async (input, context) => {
78
+ export const se_DisableStageTransitionCommand = async (input, context) => {
79
79
  const headers = {
80
80
  "content-type": "application/x-amz-json-1.1",
81
81
  "x-amz-target": "CodePipeline_20150709.DisableStageTransition",
82
82
  };
83
83
  let body;
84
- body = JSON.stringify(serializeAws_json1_1DisableStageTransitionInput(input, context));
84
+ body = JSON.stringify(se_DisableStageTransitionInput(input, context));
85
85
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
86
86
  };
87
- export const serializeAws_json1_1EnableStageTransitionCommand = async (input, context) => {
87
+ export const se_EnableStageTransitionCommand = async (input, context) => {
88
88
  const headers = {
89
89
  "content-type": "application/x-amz-json-1.1",
90
90
  "x-amz-target": "CodePipeline_20150709.EnableStageTransition",
91
91
  };
92
92
  let body;
93
- body = JSON.stringify(serializeAws_json1_1EnableStageTransitionInput(input, context));
93
+ body = JSON.stringify(se_EnableStageTransitionInput(input, context));
94
94
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
95
95
  };
96
- export const serializeAws_json1_1GetActionTypeCommand = async (input, context) => {
96
+ export const se_GetActionTypeCommand = async (input, context) => {
97
97
  const headers = {
98
98
  "content-type": "application/x-amz-json-1.1",
99
99
  "x-amz-target": "CodePipeline_20150709.GetActionType",
100
100
  };
101
101
  let body;
102
- body = JSON.stringify(serializeAws_json1_1GetActionTypeInput(input, context));
102
+ body = JSON.stringify(se_GetActionTypeInput(input, context));
103
103
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
104
104
  };
105
- export const serializeAws_json1_1GetJobDetailsCommand = async (input, context) => {
105
+ export const se_GetJobDetailsCommand = async (input, context) => {
106
106
  const headers = {
107
107
  "content-type": "application/x-amz-json-1.1",
108
108
  "x-amz-target": "CodePipeline_20150709.GetJobDetails",
109
109
  };
110
110
  let body;
111
- body = JSON.stringify(serializeAws_json1_1GetJobDetailsInput(input, context));
111
+ body = JSON.stringify(se_GetJobDetailsInput(input, context));
112
112
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
113
113
  };
114
- export const serializeAws_json1_1GetPipelineCommand = async (input, context) => {
114
+ export const se_GetPipelineCommand = async (input, context) => {
115
115
  const headers = {
116
116
  "content-type": "application/x-amz-json-1.1",
117
117
  "x-amz-target": "CodePipeline_20150709.GetPipeline",
118
118
  };
119
119
  let body;
120
- body = JSON.stringify(serializeAws_json1_1GetPipelineInput(input, context));
120
+ body = JSON.stringify(se_GetPipelineInput(input, context));
121
121
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
122
122
  };
123
- export const serializeAws_json1_1GetPipelineExecutionCommand = async (input, context) => {
123
+ export const se_GetPipelineExecutionCommand = async (input, context) => {
124
124
  const headers = {
125
125
  "content-type": "application/x-amz-json-1.1",
126
126
  "x-amz-target": "CodePipeline_20150709.GetPipelineExecution",
127
127
  };
128
128
  let body;
129
- body = JSON.stringify(serializeAws_json1_1GetPipelineExecutionInput(input, context));
129
+ body = JSON.stringify(se_GetPipelineExecutionInput(input, context));
130
130
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
131
131
  };
132
- export const serializeAws_json1_1GetPipelineStateCommand = async (input, context) => {
132
+ export const se_GetPipelineStateCommand = async (input, context) => {
133
133
  const headers = {
134
134
  "content-type": "application/x-amz-json-1.1",
135
135
  "x-amz-target": "CodePipeline_20150709.GetPipelineState",
136
136
  };
137
137
  let body;
138
- body = JSON.stringify(serializeAws_json1_1GetPipelineStateInput(input, context));
138
+ body = JSON.stringify(se_GetPipelineStateInput(input, context));
139
139
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
140
140
  };
141
- export const serializeAws_json1_1GetThirdPartyJobDetailsCommand = async (input, context) => {
141
+ export const se_GetThirdPartyJobDetailsCommand = async (input, context) => {
142
142
  const headers = {
143
143
  "content-type": "application/x-amz-json-1.1",
144
144
  "x-amz-target": "CodePipeline_20150709.GetThirdPartyJobDetails",
145
145
  };
146
146
  let body;
147
- body = JSON.stringify(serializeAws_json1_1GetThirdPartyJobDetailsInput(input, context));
147
+ body = JSON.stringify(se_GetThirdPartyJobDetailsInput(input, context));
148
148
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
149
  };
150
- export const serializeAws_json1_1ListActionExecutionsCommand = async (input, context) => {
150
+ export const se_ListActionExecutionsCommand = async (input, context) => {
151
151
  const headers = {
152
152
  "content-type": "application/x-amz-json-1.1",
153
153
  "x-amz-target": "CodePipeline_20150709.ListActionExecutions",
154
154
  };
155
155
  let body;
156
- body = JSON.stringify(serializeAws_json1_1ListActionExecutionsInput(input, context));
156
+ body = JSON.stringify(se_ListActionExecutionsInput(input, context));
157
157
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
158
158
  };
159
- export const serializeAws_json1_1ListActionTypesCommand = async (input, context) => {
159
+ export const se_ListActionTypesCommand = async (input, context) => {
160
160
  const headers = {
161
161
  "content-type": "application/x-amz-json-1.1",
162
162
  "x-amz-target": "CodePipeline_20150709.ListActionTypes",
163
163
  };
164
164
  let body;
165
- body = JSON.stringify(serializeAws_json1_1ListActionTypesInput(input, context));
165
+ body = JSON.stringify(se_ListActionTypesInput(input, context));
166
166
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
167
167
  };
168
- export const serializeAws_json1_1ListPipelineExecutionsCommand = async (input, context) => {
168
+ export const se_ListPipelineExecutionsCommand = async (input, context) => {
169
169
  const headers = {
170
170
  "content-type": "application/x-amz-json-1.1",
171
171
  "x-amz-target": "CodePipeline_20150709.ListPipelineExecutions",
172
172
  };
173
173
  let body;
174
- body = JSON.stringify(serializeAws_json1_1ListPipelineExecutionsInput(input, context));
174
+ body = JSON.stringify(se_ListPipelineExecutionsInput(input, context));
175
175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
176
176
  };
177
- export const serializeAws_json1_1ListPipelinesCommand = async (input, context) => {
177
+ export const se_ListPipelinesCommand = async (input, context) => {
178
178
  const headers = {
179
179
  "content-type": "application/x-amz-json-1.1",
180
180
  "x-amz-target": "CodePipeline_20150709.ListPipelines",
181
181
  };
182
182
  let body;
183
- body = JSON.stringify(serializeAws_json1_1ListPipelinesInput(input, context));
183
+ body = JSON.stringify(se_ListPipelinesInput(input, context));
184
184
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
185
185
  };
186
- export const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) => {
186
+ export const se_ListTagsForResourceCommand = async (input, context) => {
187
187
  const headers = {
188
188
  "content-type": "application/x-amz-json-1.1",
189
189
  "x-amz-target": "CodePipeline_20150709.ListTagsForResource",
190
190
  };
191
191
  let body;
192
- body = JSON.stringify(serializeAws_json1_1ListTagsForResourceInput(input, context));
192
+ body = JSON.stringify(se_ListTagsForResourceInput(input, context));
193
193
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
194
194
  };
195
- export const serializeAws_json1_1ListWebhooksCommand = async (input, context) => {
195
+ export const se_ListWebhooksCommand = async (input, context) => {
196
196
  const headers = {
197
197
  "content-type": "application/x-amz-json-1.1",
198
198
  "x-amz-target": "CodePipeline_20150709.ListWebhooks",
199
199
  };
200
200
  let body;
201
- body = JSON.stringify(serializeAws_json1_1ListWebhooksInput(input, context));
201
+ body = JSON.stringify(se_ListWebhooksInput(input, context));
202
202
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
203
203
  };
204
- export const serializeAws_json1_1PollForJobsCommand = async (input, context) => {
204
+ export const se_PollForJobsCommand = async (input, context) => {
205
205
  const headers = {
206
206
  "content-type": "application/x-amz-json-1.1",
207
207
  "x-amz-target": "CodePipeline_20150709.PollForJobs",
208
208
  };
209
209
  let body;
210
- body = JSON.stringify(serializeAws_json1_1PollForJobsInput(input, context));
210
+ body = JSON.stringify(se_PollForJobsInput(input, context));
211
211
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
212
212
  };
213
- export const serializeAws_json1_1PollForThirdPartyJobsCommand = async (input, context) => {
213
+ export const se_PollForThirdPartyJobsCommand = async (input, context) => {
214
214
  const headers = {
215
215
  "content-type": "application/x-amz-json-1.1",
216
216
  "x-amz-target": "CodePipeline_20150709.PollForThirdPartyJobs",
217
217
  };
218
218
  let body;
219
- body = JSON.stringify(serializeAws_json1_1PollForThirdPartyJobsInput(input, context));
219
+ body = JSON.stringify(se_PollForThirdPartyJobsInput(input, context));
220
220
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
221
221
  };
222
- export const serializeAws_json1_1PutActionRevisionCommand = async (input, context) => {
222
+ export const se_PutActionRevisionCommand = async (input, context) => {
223
223
  const headers = {
224
224
  "content-type": "application/x-amz-json-1.1",
225
225
  "x-amz-target": "CodePipeline_20150709.PutActionRevision",
226
226
  };
227
227
  let body;
228
- body = JSON.stringify(serializeAws_json1_1PutActionRevisionInput(input, context));
228
+ body = JSON.stringify(se_PutActionRevisionInput(input, context));
229
229
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
230
230
  };
231
- export const serializeAws_json1_1PutApprovalResultCommand = async (input, context) => {
231
+ export const se_PutApprovalResultCommand = async (input, context) => {
232
232
  const headers = {
233
233
  "content-type": "application/x-amz-json-1.1",
234
234
  "x-amz-target": "CodePipeline_20150709.PutApprovalResult",
235
235
  };
236
236
  let body;
237
- body = JSON.stringify(serializeAws_json1_1PutApprovalResultInput(input, context));
237
+ body = JSON.stringify(se_PutApprovalResultInput(input, context));
238
238
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
239
239
  };
240
- export const serializeAws_json1_1PutJobFailureResultCommand = async (input, context) => {
240
+ export const se_PutJobFailureResultCommand = async (input, context) => {
241
241
  const headers = {
242
242
  "content-type": "application/x-amz-json-1.1",
243
243
  "x-amz-target": "CodePipeline_20150709.PutJobFailureResult",
244
244
  };
245
245
  let body;
246
- body = JSON.stringify(serializeAws_json1_1PutJobFailureResultInput(input, context));
246
+ body = JSON.stringify(se_PutJobFailureResultInput(input, context));
247
247
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
248
248
  };
249
- export const serializeAws_json1_1PutJobSuccessResultCommand = async (input, context) => {
249
+ export const se_PutJobSuccessResultCommand = async (input, context) => {
250
250
  const headers = {
251
251
  "content-type": "application/x-amz-json-1.1",
252
252
  "x-amz-target": "CodePipeline_20150709.PutJobSuccessResult",
253
253
  };
254
254
  let body;
255
- body = JSON.stringify(serializeAws_json1_1PutJobSuccessResultInput(input, context));
255
+ body = JSON.stringify(se_PutJobSuccessResultInput(input, context));
256
256
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
257
257
  };
258
- export const serializeAws_json1_1PutThirdPartyJobFailureResultCommand = async (input, context) => {
258
+ export const se_PutThirdPartyJobFailureResultCommand = async (input, context) => {
259
259
  const headers = {
260
260
  "content-type": "application/x-amz-json-1.1",
261
261
  "x-amz-target": "CodePipeline_20150709.PutThirdPartyJobFailureResult",
262
262
  };
263
263
  let body;
264
- body = JSON.stringify(serializeAws_json1_1PutThirdPartyJobFailureResultInput(input, context));
264
+ body = JSON.stringify(se_PutThirdPartyJobFailureResultInput(input, context));
265
265
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
266
266
  };
267
- export const serializeAws_json1_1PutThirdPartyJobSuccessResultCommand = async (input, context) => {
267
+ export const se_PutThirdPartyJobSuccessResultCommand = async (input, context) => {
268
268
  const headers = {
269
269
  "content-type": "application/x-amz-json-1.1",
270
270
  "x-amz-target": "CodePipeline_20150709.PutThirdPartyJobSuccessResult",
271
271
  };
272
272
  let body;
273
- body = JSON.stringify(serializeAws_json1_1PutThirdPartyJobSuccessResultInput(input, context));
273
+ body = JSON.stringify(se_PutThirdPartyJobSuccessResultInput(input, context));
274
274
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
275
275
  };
276
- export const serializeAws_json1_1PutWebhookCommand = async (input, context) => {
276
+ export const se_PutWebhookCommand = async (input, context) => {
277
277
  const headers = {
278
278
  "content-type": "application/x-amz-json-1.1",
279
279
  "x-amz-target": "CodePipeline_20150709.PutWebhook",
280
280
  };
281
281
  let body;
282
- body = JSON.stringify(serializeAws_json1_1PutWebhookInput(input, context));
282
+ body = JSON.stringify(se_PutWebhookInput(input, context));
283
283
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
284
284
  };
285
- export const serializeAws_json1_1RegisterWebhookWithThirdPartyCommand = async (input, context) => {
285
+ export const se_RegisterWebhookWithThirdPartyCommand = async (input, context) => {
286
286
  const headers = {
287
287
  "content-type": "application/x-amz-json-1.1",
288
288
  "x-amz-target": "CodePipeline_20150709.RegisterWebhookWithThirdParty",
289
289
  };
290
290
  let body;
291
- body = JSON.stringify(serializeAws_json1_1RegisterWebhookWithThirdPartyInput(input, context));
291
+ body = JSON.stringify(se_RegisterWebhookWithThirdPartyInput(input, context));
292
292
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
293
293
  };
294
- export const serializeAws_json1_1RetryStageExecutionCommand = async (input, context) => {
294
+ export const se_RetryStageExecutionCommand = async (input, context) => {
295
295
  const headers = {
296
296
  "content-type": "application/x-amz-json-1.1",
297
297
  "x-amz-target": "CodePipeline_20150709.RetryStageExecution",
298
298
  };
299
299
  let body;
300
- body = JSON.stringify(serializeAws_json1_1RetryStageExecutionInput(input, context));
300
+ body = JSON.stringify(se_RetryStageExecutionInput(input, context));
301
301
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
302
302
  };
303
- export const serializeAws_json1_1StartPipelineExecutionCommand = async (input, context) => {
303
+ export const se_StartPipelineExecutionCommand = async (input, context) => {
304
304
  const headers = {
305
305
  "content-type": "application/x-amz-json-1.1",
306
306
  "x-amz-target": "CodePipeline_20150709.StartPipelineExecution",
307
307
  };
308
308
  let body;
309
- body = JSON.stringify(serializeAws_json1_1StartPipelineExecutionInput(input, context));
309
+ body = JSON.stringify(se_StartPipelineExecutionInput(input, context));
310
310
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
311
311
  };
312
- export const serializeAws_json1_1StopPipelineExecutionCommand = async (input, context) => {
312
+ export const se_StopPipelineExecutionCommand = async (input, context) => {
313
313
  const headers = {
314
314
  "content-type": "application/x-amz-json-1.1",
315
315
  "x-amz-target": "CodePipeline_20150709.StopPipelineExecution",
316
316
  };
317
317
  let body;
318
- body = JSON.stringify(serializeAws_json1_1StopPipelineExecutionInput(input, context));
318
+ body = JSON.stringify(se_StopPipelineExecutionInput(input, context));
319
319
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
320
320
  };
321
- export const serializeAws_json1_1TagResourceCommand = async (input, context) => {
321
+ export const se_TagResourceCommand = async (input, context) => {
322
322
  const headers = {
323
323
  "content-type": "application/x-amz-json-1.1",
324
324
  "x-amz-target": "CodePipeline_20150709.TagResource",
325
325
  };
326
326
  let body;
327
- body = JSON.stringify(serializeAws_json1_1TagResourceInput(input, context));
327
+ body = JSON.stringify(se_TagResourceInput(input, context));
328
328
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
329
329
  };
330
- export const serializeAws_json1_1UntagResourceCommand = async (input, context) => {
330
+ export const se_UntagResourceCommand = async (input, context) => {
331
331
  const headers = {
332
332
  "content-type": "application/x-amz-json-1.1",
333
333
  "x-amz-target": "CodePipeline_20150709.UntagResource",
334
334
  };
335
335
  let body;
336
- body = JSON.stringify(serializeAws_json1_1UntagResourceInput(input, context));
336
+ body = JSON.stringify(se_UntagResourceInput(input, context));
337
337
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
338
338
  };
339
- export const serializeAws_json1_1UpdateActionTypeCommand = async (input, context) => {
339
+ export const se_UpdateActionTypeCommand = async (input, context) => {
340
340
  const headers = {
341
341
  "content-type": "application/x-amz-json-1.1",
342
342
  "x-amz-target": "CodePipeline_20150709.UpdateActionType",
343
343
  };
344
344
  let body;
345
- body = JSON.stringify(serializeAws_json1_1UpdateActionTypeInput(input, context));
345
+ body = JSON.stringify(se_UpdateActionTypeInput(input, context));
346
346
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
347
347
  };
348
- export const serializeAws_json1_1UpdatePipelineCommand = async (input, context) => {
348
+ export const se_UpdatePipelineCommand = async (input, context) => {
349
349
  const headers = {
350
350
  "content-type": "application/x-amz-json-1.1",
351
351
  "x-amz-target": "CodePipeline_20150709.UpdatePipeline",
352
352
  };
353
353
  let body;
354
- body = JSON.stringify(serializeAws_json1_1UpdatePipelineInput(input, context));
354
+ body = JSON.stringify(se_UpdatePipelineInput(input, context));
355
355
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
356
356
  };
357
- export const deserializeAws_json1_1AcknowledgeJobCommand = async (output, context) => {
357
+ export const de_AcknowledgeJobCommand = async (output, context) => {
358
358
  if (output.statusCode >= 300) {
359
- return deserializeAws_json1_1AcknowledgeJobCommandError(output, context);
359
+ return de_AcknowledgeJobCommandError(output, context);
360
360
  }
361
361
  const data = await parseBody(output.body, context);
362
362
  let contents = {};
363
- contents = deserializeAws_json1_1AcknowledgeJobOutput(data, context);
363
+ contents = de_AcknowledgeJobOutput(data, context);
364
364
  const response = {
365
365
  $metadata: deserializeMetadata(output),
366
366
  ...contents,
367
367
  };
368
368
  return Promise.resolve(response);
369
369
  };
370
- const deserializeAws_json1_1AcknowledgeJobCommandError = async (output, context) => {
370
+ const de_AcknowledgeJobCommandError = async (output, context) => {
371
371
  const parsedOutput = {
372
372
  ...output,
373
373
  body: await parseErrorBody(output.body, context),
@@ -376,13 +376,13 @@ const deserializeAws_json1_1AcknowledgeJobCommandError = async (output, context)
376
376
  switch (errorCode) {
377
377
  case "InvalidNonceException":
378
378
  case "com.amazonaws.codepipeline#InvalidNonceException":
379
- throw await deserializeAws_json1_1InvalidNonceExceptionResponse(parsedOutput, context);
379
+ throw await de_InvalidNonceExceptionRes(parsedOutput, context);
380
380
  case "JobNotFoundException":
381
381
  case "com.amazonaws.codepipeline#JobNotFoundException":
382
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
382
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
383
383
  case "ValidationException":
384
384
  case "com.amazonaws.codepipeline#ValidationException":
385
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
385
+ throw await de_ValidationExceptionRes(parsedOutput, context);
386
386
  default:
387
387
  const parsedBody = parsedOutput.body;
388
388
  throwDefaultError({
@@ -393,20 +393,20 @@ const deserializeAws_json1_1AcknowledgeJobCommandError = async (output, context)
393
393
  });
394
394
  }
395
395
  };
396
- export const deserializeAws_json1_1AcknowledgeThirdPartyJobCommand = async (output, context) => {
396
+ export const de_AcknowledgeThirdPartyJobCommand = async (output, context) => {
397
397
  if (output.statusCode >= 300) {
398
- return deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError(output, context);
398
+ return de_AcknowledgeThirdPartyJobCommandError(output, context);
399
399
  }
400
400
  const data = await parseBody(output.body, context);
401
401
  let contents = {};
402
- contents = deserializeAws_json1_1AcknowledgeThirdPartyJobOutput(data, context);
402
+ contents = de_AcknowledgeThirdPartyJobOutput(data, context);
403
403
  const response = {
404
404
  $metadata: deserializeMetadata(output),
405
405
  ...contents,
406
406
  };
407
407
  return Promise.resolve(response);
408
408
  };
409
- const deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = async (output, context) => {
409
+ const de_AcknowledgeThirdPartyJobCommandError = async (output, context) => {
410
410
  const parsedOutput = {
411
411
  ...output,
412
412
  body: await parseErrorBody(output.body, context),
@@ -415,16 +415,16 @@ const deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = async (output
415
415
  switch (errorCode) {
416
416
  case "InvalidClientTokenException":
417
417
  case "com.amazonaws.codepipeline#InvalidClientTokenException":
418
- throw await deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context);
418
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
419
419
  case "InvalidNonceException":
420
420
  case "com.amazonaws.codepipeline#InvalidNonceException":
421
- throw await deserializeAws_json1_1InvalidNonceExceptionResponse(parsedOutput, context);
421
+ throw await de_InvalidNonceExceptionRes(parsedOutput, context);
422
422
  case "JobNotFoundException":
423
423
  case "com.amazonaws.codepipeline#JobNotFoundException":
424
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
424
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
425
425
  case "ValidationException":
426
426
  case "com.amazonaws.codepipeline#ValidationException":
427
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
427
+ throw await de_ValidationExceptionRes(parsedOutput, context);
428
428
  default:
429
429
  const parsedBody = parsedOutput.body;
430
430
  throwDefaultError({
@@ -435,20 +435,20 @@ const deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = async (output
435
435
  });
436
436
  }
437
437
  };
438
- export const deserializeAws_json1_1CreateCustomActionTypeCommand = async (output, context) => {
438
+ export const de_CreateCustomActionTypeCommand = async (output, context) => {
439
439
  if (output.statusCode >= 300) {
440
- return deserializeAws_json1_1CreateCustomActionTypeCommandError(output, context);
440
+ return de_CreateCustomActionTypeCommandError(output, context);
441
441
  }
442
442
  const data = await parseBody(output.body, context);
443
443
  let contents = {};
444
- contents = deserializeAws_json1_1CreateCustomActionTypeOutput(data, context);
444
+ contents = de_CreateCustomActionTypeOutput(data, context);
445
445
  const response = {
446
446
  $metadata: deserializeMetadata(output),
447
447
  ...contents,
448
448
  };
449
449
  return Promise.resolve(response);
450
450
  };
451
- const deserializeAws_json1_1CreateCustomActionTypeCommandError = async (output, context) => {
451
+ const de_CreateCustomActionTypeCommandError = async (output, context) => {
452
452
  const parsedOutput = {
453
453
  ...output,
454
454
  body: await parseErrorBody(output.body, context),
@@ -457,19 +457,19 @@ const deserializeAws_json1_1CreateCustomActionTypeCommandError = async (output,
457
457
  switch (errorCode) {
458
458
  case "ConcurrentModificationException":
459
459
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
460
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
460
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
461
461
  case "InvalidTagsException":
462
462
  case "com.amazonaws.codepipeline#InvalidTagsException":
463
- throw await deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context);
463
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
464
464
  case "LimitExceededException":
465
465
  case "com.amazonaws.codepipeline#LimitExceededException":
466
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
466
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
467
467
  case "TooManyTagsException":
468
468
  case "com.amazonaws.codepipeline#TooManyTagsException":
469
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
469
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
470
470
  case "ValidationException":
471
471
  case "com.amazonaws.codepipeline#ValidationException":
472
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
472
+ throw await de_ValidationExceptionRes(parsedOutput, context);
473
473
  default:
474
474
  const parsedBody = parsedOutput.body;
475
475
  throwDefaultError({
@@ -480,20 +480,20 @@ const deserializeAws_json1_1CreateCustomActionTypeCommandError = async (output,
480
480
  });
481
481
  }
482
482
  };
483
- export const deserializeAws_json1_1CreatePipelineCommand = async (output, context) => {
483
+ export const de_CreatePipelineCommand = async (output, context) => {
484
484
  if (output.statusCode >= 300) {
485
- return deserializeAws_json1_1CreatePipelineCommandError(output, context);
485
+ return de_CreatePipelineCommandError(output, context);
486
486
  }
487
487
  const data = await parseBody(output.body, context);
488
488
  let contents = {};
489
- contents = deserializeAws_json1_1CreatePipelineOutput(data, context);
489
+ contents = de_CreatePipelineOutput(data, context);
490
490
  const response = {
491
491
  $metadata: deserializeMetadata(output),
492
492
  ...contents,
493
493
  };
494
494
  return Promise.resolve(response);
495
495
  };
496
- const deserializeAws_json1_1CreatePipelineCommandError = async (output, context) => {
496
+ const de_CreatePipelineCommandError = async (output, context) => {
497
497
  const parsedOutput = {
498
498
  ...output,
499
499
  body: await parseErrorBody(output.body, context),
@@ -502,34 +502,34 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
502
502
  switch (errorCode) {
503
503
  case "ConcurrentModificationException":
504
504
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
505
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
505
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
506
506
  case "InvalidActionDeclarationException":
507
507
  case "com.amazonaws.codepipeline#InvalidActionDeclarationException":
508
- throw await deserializeAws_json1_1InvalidActionDeclarationExceptionResponse(parsedOutput, context);
508
+ throw await de_InvalidActionDeclarationExceptionRes(parsedOutput, context);
509
509
  case "InvalidBlockerDeclarationException":
510
510
  case "com.amazonaws.codepipeline#InvalidBlockerDeclarationException":
511
- throw await deserializeAws_json1_1InvalidBlockerDeclarationExceptionResponse(parsedOutput, context);
511
+ throw await de_InvalidBlockerDeclarationExceptionRes(parsedOutput, context);
512
512
  case "InvalidStageDeclarationException":
513
513
  case "com.amazonaws.codepipeline#InvalidStageDeclarationException":
514
- throw await deserializeAws_json1_1InvalidStageDeclarationExceptionResponse(parsedOutput, context);
514
+ throw await de_InvalidStageDeclarationExceptionRes(parsedOutput, context);
515
515
  case "InvalidStructureException":
516
516
  case "com.amazonaws.codepipeline#InvalidStructureException":
517
- throw await deserializeAws_json1_1InvalidStructureExceptionResponse(parsedOutput, context);
517
+ throw await de_InvalidStructureExceptionRes(parsedOutput, context);
518
518
  case "InvalidTagsException":
519
519
  case "com.amazonaws.codepipeline#InvalidTagsException":
520
- throw await deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context);
520
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
521
521
  case "LimitExceededException":
522
522
  case "com.amazonaws.codepipeline#LimitExceededException":
523
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
523
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
524
524
  case "PipelineNameInUseException":
525
525
  case "com.amazonaws.codepipeline#PipelineNameInUseException":
526
- throw await deserializeAws_json1_1PipelineNameInUseExceptionResponse(parsedOutput, context);
526
+ throw await de_PipelineNameInUseExceptionRes(parsedOutput, context);
527
527
  case "TooManyTagsException":
528
528
  case "com.amazonaws.codepipeline#TooManyTagsException":
529
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
529
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
530
530
  case "ValidationException":
531
531
  case "com.amazonaws.codepipeline#ValidationException":
532
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
532
+ throw await de_ValidationExceptionRes(parsedOutput, context);
533
533
  default:
534
534
  const parsedBody = parsedOutput.body;
535
535
  throwDefaultError({
@@ -540,9 +540,9 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
540
540
  });
541
541
  }
542
542
  };
543
- export const deserializeAws_json1_1DeleteCustomActionTypeCommand = async (output, context) => {
543
+ export const de_DeleteCustomActionTypeCommand = async (output, context) => {
544
544
  if (output.statusCode >= 300) {
545
- return deserializeAws_json1_1DeleteCustomActionTypeCommandError(output, context);
545
+ return de_DeleteCustomActionTypeCommandError(output, context);
546
546
  }
547
547
  await collectBody(output.body, context);
548
548
  const response = {
@@ -550,7 +550,7 @@ export const deserializeAws_json1_1DeleteCustomActionTypeCommand = async (output
550
550
  };
551
551
  return Promise.resolve(response);
552
552
  };
553
- const deserializeAws_json1_1DeleteCustomActionTypeCommandError = async (output, context) => {
553
+ const de_DeleteCustomActionTypeCommandError = async (output, context) => {
554
554
  const parsedOutput = {
555
555
  ...output,
556
556
  body: await parseErrorBody(output.body, context),
@@ -559,10 +559,10 @@ const deserializeAws_json1_1DeleteCustomActionTypeCommandError = async (output,
559
559
  switch (errorCode) {
560
560
  case "ConcurrentModificationException":
561
561
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
562
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
562
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
563
563
  case "ValidationException":
564
564
  case "com.amazonaws.codepipeline#ValidationException":
565
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
565
+ throw await de_ValidationExceptionRes(parsedOutput, context);
566
566
  default:
567
567
  const parsedBody = parsedOutput.body;
568
568
  throwDefaultError({
@@ -573,9 +573,9 @@ const deserializeAws_json1_1DeleteCustomActionTypeCommandError = async (output,
573
573
  });
574
574
  }
575
575
  };
576
- export const deserializeAws_json1_1DeletePipelineCommand = async (output, context) => {
576
+ export const de_DeletePipelineCommand = async (output, context) => {
577
577
  if (output.statusCode >= 300) {
578
- return deserializeAws_json1_1DeletePipelineCommandError(output, context);
578
+ return de_DeletePipelineCommandError(output, context);
579
579
  }
580
580
  await collectBody(output.body, context);
581
581
  const response = {
@@ -583,7 +583,7 @@ export const deserializeAws_json1_1DeletePipelineCommand = async (output, contex
583
583
  };
584
584
  return Promise.resolve(response);
585
585
  };
586
- const deserializeAws_json1_1DeletePipelineCommandError = async (output, context) => {
586
+ const de_DeletePipelineCommandError = async (output, context) => {
587
587
  const parsedOutput = {
588
588
  ...output,
589
589
  body: await parseErrorBody(output.body, context),
@@ -592,10 +592,10 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
592
592
  switch (errorCode) {
593
593
  case "ConcurrentModificationException":
594
594
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
595
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
595
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
596
596
  case "ValidationException":
597
597
  case "com.amazonaws.codepipeline#ValidationException":
598
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
598
+ throw await de_ValidationExceptionRes(parsedOutput, context);
599
599
  default:
600
600
  const parsedBody = parsedOutput.body;
601
601
  throwDefaultError({
@@ -606,20 +606,20 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
606
606
  });
607
607
  }
608
608
  };
609
- export const deserializeAws_json1_1DeleteWebhookCommand = async (output, context) => {
609
+ export const de_DeleteWebhookCommand = async (output, context) => {
610
610
  if (output.statusCode >= 300) {
611
- return deserializeAws_json1_1DeleteWebhookCommandError(output, context);
611
+ return de_DeleteWebhookCommandError(output, context);
612
612
  }
613
613
  const data = await parseBody(output.body, context);
614
614
  let contents = {};
615
- contents = deserializeAws_json1_1DeleteWebhookOutput(data, context);
615
+ contents = de_DeleteWebhookOutput(data, context);
616
616
  const response = {
617
617
  $metadata: deserializeMetadata(output),
618
618
  ...contents,
619
619
  };
620
620
  return Promise.resolve(response);
621
621
  };
622
- const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context) => {
622
+ const de_DeleteWebhookCommandError = async (output, context) => {
623
623
  const parsedOutput = {
624
624
  ...output,
625
625
  body: await parseErrorBody(output.body, context),
@@ -628,10 +628,10 @@ const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context)
628
628
  switch (errorCode) {
629
629
  case "ConcurrentModificationException":
630
630
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
631
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
631
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
632
632
  case "ValidationException":
633
633
  case "com.amazonaws.codepipeline#ValidationException":
634
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
634
+ throw await de_ValidationExceptionRes(parsedOutput, context);
635
635
  default:
636
636
  const parsedBody = parsedOutput.body;
637
637
  throwDefaultError({
@@ -642,20 +642,20 @@ const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context)
642
642
  });
643
643
  }
644
644
  };
645
- export const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand = async (output, context) => {
645
+ export const de_DeregisterWebhookWithThirdPartyCommand = async (output, context) => {
646
646
  if (output.statusCode >= 300) {
647
- return deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError(output, context);
647
+ return de_DeregisterWebhookWithThirdPartyCommandError(output, context);
648
648
  }
649
649
  const data = await parseBody(output.body, context);
650
650
  let contents = {};
651
- contents = deserializeAws_json1_1DeregisterWebhookWithThirdPartyOutput(data, context);
651
+ contents = de_DeregisterWebhookWithThirdPartyOutput(data, context);
652
652
  const response = {
653
653
  $metadata: deserializeMetadata(output),
654
654
  ...contents,
655
655
  };
656
656
  return Promise.resolve(response);
657
657
  };
658
- const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = async (output, context) => {
658
+ const de_DeregisterWebhookWithThirdPartyCommandError = async (output, context) => {
659
659
  const parsedOutput = {
660
660
  ...output,
661
661
  body: await parseErrorBody(output.body, context),
@@ -664,10 +664,10 @@ const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = async
664
664
  switch (errorCode) {
665
665
  case "ValidationException":
666
666
  case "com.amazonaws.codepipeline#ValidationException":
667
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
667
+ throw await de_ValidationExceptionRes(parsedOutput, context);
668
668
  case "WebhookNotFoundException":
669
669
  case "com.amazonaws.codepipeline#WebhookNotFoundException":
670
- throw await deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context);
670
+ throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
671
671
  default:
672
672
  const parsedBody = parsedOutput.body;
673
673
  throwDefaultError({
@@ -678,9 +678,9 @@ const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = async
678
678
  });
679
679
  }
680
680
  };
681
- export const deserializeAws_json1_1DisableStageTransitionCommand = async (output, context) => {
681
+ export const de_DisableStageTransitionCommand = async (output, context) => {
682
682
  if (output.statusCode >= 300) {
683
- return deserializeAws_json1_1DisableStageTransitionCommandError(output, context);
683
+ return de_DisableStageTransitionCommandError(output, context);
684
684
  }
685
685
  await collectBody(output.body, context);
686
686
  const response = {
@@ -688,7 +688,7 @@ export const deserializeAws_json1_1DisableStageTransitionCommand = async (output
688
688
  };
689
689
  return Promise.resolve(response);
690
690
  };
691
- const deserializeAws_json1_1DisableStageTransitionCommandError = async (output, context) => {
691
+ const de_DisableStageTransitionCommandError = async (output, context) => {
692
692
  const parsedOutput = {
693
693
  ...output,
694
694
  body: await parseErrorBody(output.body, context),
@@ -697,13 +697,13 @@ const deserializeAws_json1_1DisableStageTransitionCommandError = async (output,
697
697
  switch (errorCode) {
698
698
  case "PipelineNotFoundException":
699
699
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
700
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
700
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
701
701
  case "StageNotFoundException":
702
702
  case "com.amazonaws.codepipeline#StageNotFoundException":
703
- throw await deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context);
703
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
704
704
  case "ValidationException":
705
705
  case "com.amazonaws.codepipeline#ValidationException":
706
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
706
+ throw await de_ValidationExceptionRes(parsedOutput, context);
707
707
  default:
708
708
  const parsedBody = parsedOutput.body;
709
709
  throwDefaultError({
@@ -714,9 +714,9 @@ const deserializeAws_json1_1DisableStageTransitionCommandError = async (output,
714
714
  });
715
715
  }
716
716
  };
717
- export const deserializeAws_json1_1EnableStageTransitionCommand = async (output, context) => {
717
+ export const de_EnableStageTransitionCommand = async (output, context) => {
718
718
  if (output.statusCode >= 300) {
719
- return deserializeAws_json1_1EnableStageTransitionCommandError(output, context);
719
+ return de_EnableStageTransitionCommandError(output, context);
720
720
  }
721
721
  await collectBody(output.body, context);
722
722
  const response = {
@@ -724,7 +724,7 @@ export const deserializeAws_json1_1EnableStageTransitionCommand = async (output,
724
724
  };
725
725
  return Promise.resolve(response);
726
726
  };
727
- const deserializeAws_json1_1EnableStageTransitionCommandError = async (output, context) => {
727
+ const de_EnableStageTransitionCommandError = async (output, context) => {
728
728
  const parsedOutput = {
729
729
  ...output,
730
730
  body: await parseErrorBody(output.body, context),
@@ -733,13 +733,13 @@ const deserializeAws_json1_1EnableStageTransitionCommandError = async (output, c
733
733
  switch (errorCode) {
734
734
  case "PipelineNotFoundException":
735
735
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
736
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
736
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
737
737
  case "StageNotFoundException":
738
738
  case "com.amazonaws.codepipeline#StageNotFoundException":
739
- throw await deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context);
739
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
740
740
  case "ValidationException":
741
741
  case "com.amazonaws.codepipeline#ValidationException":
742
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
742
+ throw await de_ValidationExceptionRes(parsedOutput, context);
743
743
  default:
744
744
  const parsedBody = parsedOutput.body;
745
745
  throwDefaultError({
@@ -750,20 +750,20 @@ const deserializeAws_json1_1EnableStageTransitionCommandError = async (output, c
750
750
  });
751
751
  }
752
752
  };
753
- export const deserializeAws_json1_1GetActionTypeCommand = async (output, context) => {
753
+ export const de_GetActionTypeCommand = async (output, context) => {
754
754
  if (output.statusCode >= 300) {
755
- return deserializeAws_json1_1GetActionTypeCommandError(output, context);
755
+ return de_GetActionTypeCommandError(output, context);
756
756
  }
757
757
  const data = await parseBody(output.body, context);
758
758
  let contents = {};
759
- contents = deserializeAws_json1_1GetActionTypeOutput(data, context);
759
+ contents = de_GetActionTypeOutput(data, context);
760
760
  const response = {
761
761
  $metadata: deserializeMetadata(output),
762
762
  ...contents,
763
763
  };
764
764
  return Promise.resolve(response);
765
765
  };
766
- const deserializeAws_json1_1GetActionTypeCommandError = async (output, context) => {
766
+ const de_GetActionTypeCommandError = async (output, context) => {
767
767
  const parsedOutput = {
768
768
  ...output,
769
769
  body: await parseErrorBody(output.body, context),
@@ -772,10 +772,10 @@ const deserializeAws_json1_1GetActionTypeCommandError = async (output, context)
772
772
  switch (errorCode) {
773
773
  case "ActionTypeNotFoundException":
774
774
  case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
775
- throw await deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context);
775
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
776
776
  case "ValidationException":
777
777
  case "com.amazonaws.codepipeline#ValidationException":
778
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
778
+ throw await de_ValidationExceptionRes(parsedOutput, context);
779
779
  default:
780
780
  const parsedBody = parsedOutput.body;
781
781
  throwDefaultError({
@@ -786,20 +786,20 @@ const deserializeAws_json1_1GetActionTypeCommandError = async (output, context)
786
786
  });
787
787
  }
788
788
  };
789
- export const deserializeAws_json1_1GetJobDetailsCommand = async (output, context) => {
789
+ export const de_GetJobDetailsCommand = async (output, context) => {
790
790
  if (output.statusCode >= 300) {
791
- return deserializeAws_json1_1GetJobDetailsCommandError(output, context);
791
+ return de_GetJobDetailsCommandError(output, context);
792
792
  }
793
793
  const data = await parseBody(output.body, context);
794
794
  let contents = {};
795
- contents = deserializeAws_json1_1GetJobDetailsOutput(data, context);
795
+ contents = de_GetJobDetailsOutput(data, context);
796
796
  const response = {
797
797
  $metadata: deserializeMetadata(output),
798
798
  ...contents,
799
799
  };
800
800
  return Promise.resolve(response);
801
801
  };
802
- const deserializeAws_json1_1GetJobDetailsCommandError = async (output, context) => {
802
+ const de_GetJobDetailsCommandError = async (output, context) => {
803
803
  const parsedOutput = {
804
804
  ...output,
805
805
  body: await parseErrorBody(output.body, context),
@@ -808,10 +808,10 @@ const deserializeAws_json1_1GetJobDetailsCommandError = async (output, context)
808
808
  switch (errorCode) {
809
809
  case "JobNotFoundException":
810
810
  case "com.amazonaws.codepipeline#JobNotFoundException":
811
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
811
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
812
812
  case "ValidationException":
813
813
  case "com.amazonaws.codepipeline#ValidationException":
814
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
814
+ throw await de_ValidationExceptionRes(parsedOutput, context);
815
815
  default:
816
816
  const parsedBody = parsedOutput.body;
817
817
  throwDefaultError({
@@ -822,20 +822,20 @@ const deserializeAws_json1_1GetJobDetailsCommandError = async (output, context)
822
822
  });
823
823
  }
824
824
  };
825
- export const deserializeAws_json1_1GetPipelineCommand = async (output, context) => {
825
+ export const de_GetPipelineCommand = async (output, context) => {
826
826
  if (output.statusCode >= 300) {
827
- return deserializeAws_json1_1GetPipelineCommandError(output, context);
827
+ return de_GetPipelineCommandError(output, context);
828
828
  }
829
829
  const data = await parseBody(output.body, context);
830
830
  let contents = {};
831
- contents = deserializeAws_json1_1GetPipelineOutput(data, context);
831
+ contents = de_GetPipelineOutput(data, context);
832
832
  const response = {
833
833
  $metadata: deserializeMetadata(output),
834
834
  ...contents,
835
835
  };
836
836
  return Promise.resolve(response);
837
837
  };
838
- const deserializeAws_json1_1GetPipelineCommandError = async (output, context) => {
838
+ const de_GetPipelineCommandError = async (output, context) => {
839
839
  const parsedOutput = {
840
840
  ...output,
841
841
  body: await parseErrorBody(output.body, context),
@@ -844,13 +844,13 @@ const deserializeAws_json1_1GetPipelineCommandError = async (output, context) =>
844
844
  switch (errorCode) {
845
845
  case "PipelineNotFoundException":
846
846
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
847
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
847
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
848
848
  case "PipelineVersionNotFoundException":
849
849
  case "com.amazonaws.codepipeline#PipelineVersionNotFoundException":
850
- throw await deserializeAws_json1_1PipelineVersionNotFoundExceptionResponse(parsedOutput, context);
850
+ throw await de_PipelineVersionNotFoundExceptionRes(parsedOutput, context);
851
851
  case "ValidationException":
852
852
  case "com.amazonaws.codepipeline#ValidationException":
853
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
853
+ throw await de_ValidationExceptionRes(parsedOutput, context);
854
854
  default:
855
855
  const parsedBody = parsedOutput.body;
856
856
  throwDefaultError({
@@ -861,20 +861,20 @@ const deserializeAws_json1_1GetPipelineCommandError = async (output, context) =>
861
861
  });
862
862
  }
863
863
  };
864
- export const deserializeAws_json1_1GetPipelineExecutionCommand = async (output, context) => {
864
+ export const de_GetPipelineExecutionCommand = async (output, context) => {
865
865
  if (output.statusCode >= 300) {
866
- return deserializeAws_json1_1GetPipelineExecutionCommandError(output, context);
866
+ return de_GetPipelineExecutionCommandError(output, context);
867
867
  }
868
868
  const data = await parseBody(output.body, context);
869
869
  let contents = {};
870
- contents = deserializeAws_json1_1GetPipelineExecutionOutput(data, context);
870
+ contents = de_GetPipelineExecutionOutput(data, context);
871
871
  const response = {
872
872
  $metadata: deserializeMetadata(output),
873
873
  ...contents,
874
874
  };
875
875
  return Promise.resolve(response);
876
876
  };
877
- const deserializeAws_json1_1GetPipelineExecutionCommandError = async (output, context) => {
877
+ const de_GetPipelineExecutionCommandError = async (output, context) => {
878
878
  const parsedOutput = {
879
879
  ...output,
880
880
  body: await parseErrorBody(output.body, context),
@@ -883,13 +883,13 @@ const deserializeAws_json1_1GetPipelineExecutionCommandError = async (output, co
883
883
  switch (errorCode) {
884
884
  case "PipelineExecutionNotFoundException":
885
885
  case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
886
- throw await deserializeAws_json1_1PipelineExecutionNotFoundExceptionResponse(parsedOutput, context);
886
+ throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
887
887
  case "PipelineNotFoundException":
888
888
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
889
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
889
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
890
890
  case "ValidationException":
891
891
  case "com.amazonaws.codepipeline#ValidationException":
892
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
892
+ throw await de_ValidationExceptionRes(parsedOutput, context);
893
893
  default:
894
894
  const parsedBody = parsedOutput.body;
895
895
  throwDefaultError({
@@ -900,20 +900,20 @@ const deserializeAws_json1_1GetPipelineExecutionCommandError = async (output, co
900
900
  });
901
901
  }
902
902
  };
903
- export const deserializeAws_json1_1GetPipelineStateCommand = async (output, context) => {
903
+ export const de_GetPipelineStateCommand = async (output, context) => {
904
904
  if (output.statusCode >= 300) {
905
- return deserializeAws_json1_1GetPipelineStateCommandError(output, context);
905
+ return de_GetPipelineStateCommandError(output, context);
906
906
  }
907
907
  const data = await parseBody(output.body, context);
908
908
  let contents = {};
909
- contents = deserializeAws_json1_1GetPipelineStateOutput(data, context);
909
+ contents = de_GetPipelineStateOutput(data, context);
910
910
  const response = {
911
911
  $metadata: deserializeMetadata(output),
912
912
  ...contents,
913
913
  };
914
914
  return Promise.resolve(response);
915
915
  };
916
- const deserializeAws_json1_1GetPipelineStateCommandError = async (output, context) => {
916
+ const de_GetPipelineStateCommandError = async (output, context) => {
917
917
  const parsedOutput = {
918
918
  ...output,
919
919
  body: await parseErrorBody(output.body, context),
@@ -922,10 +922,10 @@ const deserializeAws_json1_1GetPipelineStateCommandError = async (output, contex
922
922
  switch (errorCode) {
923
923
  case "PipelineNotFoundException":
924
924
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
925
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
925
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
926
926
  case "ValidationException":
927
927
  case "com.amazonaws.codepipeline#ValidationException":
928
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
928
+ throw await de_ValidationExceptionRes(parsedOutput, context);
929
929
  default:
930
930
  const parsedBody = parsedOutput.body;
931
931
  throwDefaultError({
@@ -936,20 +936,20 @@ const deserializeAws_json1_1GetPipelineStateCommandError = async (output, contex
936
936
  });
937
937
  }
938
938
  };
939
- export const deserializeAws_json1_1GetThirdPartyJobDetailsCommand = async (output, context) => {
939
+ export const de_GetThirdPartyJobDetailsCommand = async (output, context) => {
940
940
  if (output.statusCode >= 300) {
941
- return deserializeAws_json1_1GetThirdPartyJobDetailsCommandError(output, context);
941
+ return de_GetThirdPartyJobDetailsCommandError(output, context);
942
942
  }
943
943
  const data = await parseBody(output.body, context);
944
944
  let contents = {};
945
- contents = deserializeAws_json1_1GetThirdPartyJobDetailsOutput(data, context);
945
+ contents = de_GetThirdPartyJobDetailsOutput(data, context);
946
946
  const response = {
947
947
  $metadata: deserializeMetadata(output),
948
948
  ...contents,
949
949
  };
950
950
  return Promise.resolve(response);
951
951
  };
952
- const deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = async (output, context) => {
952
+ const de_GetThirdPartyJobDetailsCommandError = async (output, context) => {
953
953
  const parsedOutput = {
954
954
  ...output,
955
955
  body: await parseErrorBody(output.body, context),
@@ -958,16 +958,16 @@ const deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = async (output,
958
958
  switch (errorCode) {
959
959
  case "InvalidClientTokenException":
960
960
  case "com.amazonaws.codepipeline#InvalidClientTokenException":
961
- throw await deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context);
961
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
962
962
  case "InvalidJobException":
963
963
  case "com.amazonaws.codepipeline#InvalidJobException":
964
- throw await deserializeAws_json1_1InvalidJobExceptionResponse(parsedOutput, context);
964
+ throw await de_InvalidJobExceptionRes(parsedOutput, context);
965
965
  case "JobNotFoundException":
966
966
  case "com.amazonaws.codepipeline#JobNotFoundException":
967
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
967
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
968
968
  case "ValidationException":
969
969
  case "com.amazonaws.codepipeline#ValidationException":
970
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
970
+ throw await de_ValidationExceptionRes(parsedOutput, context);
971
971
  default:
972
972
  const parsedBody = parsedOutput.body;
973
973
  throwDefaultError({
@@ -978,20 +978,20 @@ const deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = async (output,
978
978
  });
979
979
  }
980
980
  };
981
- export const deserializeAws_json1_1ListActionExecutionsCommand = async (output, context) => {
981
+ export const de_ListActionExecutionsCommand = async (output, context) => {
982
982
  if (output.statusCode >= 300) {
983
- return deserializeAws_json1_1ListActionExecutionsCommandError(output, context);
983
+ return de_ListActionExecutionsCommandError(output, context);
984
984
  }
985
985
  const data = await parseBody(output.body, context);
986
986
  let contents = {};
987
- contents = deserializeAws_json1_1ListActionExecutionsOutput(data, context);
987
+ contents = de_ListActionExecutionsOutput(data, context);
988
988
  const response = {
989
989
  $metadata: deserializeMetadata(output),
990
990
  ...contents,
991
991
  };
992
992
  return Promise.resolve(response);
993
993
  };
994
- const deserializeAws_json1_1ListActionExecutionsCommandError = async (output, context) => {
994
+ const de_ListActionExecutionsCommandError = async (output, context) => {
995
995
  const parsedOutput = {
996
996
  ...output,
997
997
  body: await parseErrorBody(output.body, context),
@@ -1000,16 +1000,16 @@ const deserializeAws_json1_1ListActionExecutionsCommandError = async (output, co
1000
1000
  switch (errorCode) {
1001
1001
  case "InvalidNextTokenException":
1002
1002
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
1003
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1003
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1004
1004
  case "PipelineExecutionNotFoundException":
1005
1005
  case "com.amazonaws.codepipeline#PipelineExecutionNotFoundException":
1006
- throw await deserializeAws_json1_1PipelineExecutionNotFoundExceptionResponse(parsedOutput, context);
1006
+ throw await de_PipelineExecutionNotFoundExceptionRes(parsedOutput, context);
1007
1007
  case "PipelineNotFoundException":
1008
1008
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1009
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1009
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1010
1010
  case "ValidationException":
1011
1011
  case "com.amazonaws.codepipeline#ValidationException":
1012
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1012
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1013
1013
  default:
1014
1014
  const parsedBody = parsedOutput.body;
1015
1015
  throwDefaultError({
@@ -1020,20 +1020,20 @@ const deserializeAws_json1_1ListActionExecutionsCommandError = async (output, co
1020
1020
  });
1021
1021
  }
1022
1022
  };
1023
- export const deserializeAws_json1_1ListActionTypesCommand = async (output, context) => {
1023
+ export const de_ListActionTypesCommand = async (output, context) => {
1024
1024
  if (output.statusCode >= 300) {
1025
- return deserializeAws_json1_1ListActionTypesCommandError(output, context);
1025
+ return de_ListActionTypesCommandError(output, context);
1026
1026
  }
1027
1027
  const data = await parseBody(output.body, context);
1028
1028
  let contents = {};
1029
- contents = deserializeAws_json1_1ListActionTypesOutput(data, context);
1029
+ contents = de_ListActionTypesOutput(data, context);
1030
1030
  const response = {
1031
1031
  $metadata: deserializeMetadata(output),
1032
1032
  ...contents,
1033
1033
  };
1034
1034
  return Promise.resolve(response);
1035
1035
  };
1036
- const deserializeAws_json1_1ListActionTypesCommandError = async (output, context) => {
1036
+ const de_ListActionTypesCommandError = async (output, context) => {
1037
1037
  const parsedOutput = {
1038
1038
  ...output,
1039
1039
  body: await parseErrorBody(output.body, context),
@@ -1042,10 +1042,10 @@ const deserializeAws_json1_1ListActionTypesCommandError = async (output, context
1042
1042
  switch (errorCode) {
1043
1043
  case "InvalidNextTokenException":
1044
1044
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
1045
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1045
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1046
1046
  case "ValidationException":
1047
1047
  case "com.amazonaws.codepipeline#ValidationException":
1048
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1048
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1049
1049
  default:
1050
1050
  const parsedBody = parsedOutput.body;
1051
1051
  throwDefaultError({
@@ -1056,20 +1056,20 @@ const deserializeAws_json1_1ListActionTypesCommandError = async (output, context
1056
1056
  });
1057
1057
  }
1058
1058
  };
1059
- export const deserializeAws_json1_1ListPipelineExecutionsCommand = async (output, context) => {
1059
+ export const de_ListPipelineExecutionsCommand = async (output, context) => {
1060
1060
  if (output.statusCode >= 300) {
1061
- return deserializeAws_json1_1ListPipelineExecutionsCommandError(output, context);
1061
+ return de_ListPipelineExecutionsCommandError(output, context);
1062
1062
  }
1063
1063
  const data = await parseBody(output.body, context);
1064
1064
  let contents = {};
1065
- contents = deserializeAws_json1_1ListPipelineExecutionsOutput(data, context);
1065
+ contents = de_ListPipelineExecutionsOutput(data, context);
1066
1066
  const response = {
1067
1067
  $metadata: deserializeMetadata(output),
1068
1068
  ...contents,
1069
1069
  };
1070
1070
  return Promise.resolve(response);
1071
1071
  };
1072
- const deserializeAws_json1_1ListPipelineExecutionsCommandError = async (output, context) => {
1072
+ const de_ListPipelineExecutionsCommandError = async (output, context) => {
1073
1073
  const parsedOutput = {
1074
1074
  ...output,
1075
1075
  body: await parseErrorBody(output.body, context),
@@ -1078,13 +1078,13 @@ const deserializeAws_json1_1ListPipelineExecutionsCommandError = async (output,
1078
1078
  switch (errorCode) {
1079
1079
  case "InvalidNextTokenException":
1080
1080
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
1081
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1081
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1082
1082
  case "PipelineNotFoundException":
1083
1083
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1084
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1084
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1085
1085
  case "ValidationException":
1086
1086
  case "com.amazonaws.codepipeline#ValidationException":
1087
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1087
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1088
1088
  default:
1089
1089
  const parsedBody = parsedOutput.body;
1090
1090
  throwDefaultError({
@@ -1095,20 +1095,20 @@ const deserializeAws_json1_1ListPipelineExecutionsCommandError = async (output,
1095
1095
  });
1096
1096
  }
1097
1097
  };
1098
- export const deserializeAws_json1_1ListPipelinesCommand = async (output, context) => {
1098
+ export const de_ListPipelinesCommand = async (output, context) => {
1099
1099
  if (output.statusCode >= 300) {
1100
- return deserializeAws_json1_1ListPipelinesCommandError(output, context);
1100
+ return de_ListPipelinesCommandError(output, context);
1101
1101
  }
1102
1102
  const data = await parseBody(output.body, context);
1103
1103
  let contents = {};
1104
- contents = deserializeAws_json1_1ListPipelinesOutput(data, context);
1104
+ contents = de_ListPipelinesOutput(data, context);
1105
1105
  const response = {
1106
1106
  $metadata: deserializeMetadata(output),
1107
1107
  ...contents,
1108
1108
  };
1109
1109
  return Promise.resolve(response);
1110
1110
  };
1111
- const deserializeAws_json1_1ListPipelinesCommandError = async (output, context) => {
1111
+ const de_ListPipelinesCommandError = async (output, context) => {
1112
1112
  const parsedOutput = {
1113
1113
  ...output,
1114
1114
  body: await parseErrorBody(output.body, context),
@@ -1117,10 +1117,10 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
1117
1117
  switch (errorCode) {
1118
1118
  case "InvalidNextTokenException":
1119
1119
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
1120
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1120
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1121
1121
  case "ValidationException":
1122
1122
  case "com.amazonaws.codepipeline#ValidationException":
1123
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1123
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1124
1124
  default:
1125
1125
  const parsedBody = parsedOutput.body;
1126
1126
  throwDefaultError({
@@ -1131,20 +1131,20 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
1131
1131
  });
1132
1132
  }
1133
1133
  };
1134
- export const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
1134
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1135
1135
  if (output.statusCode >= 300) {
1136
- return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
1136
+ return de_ListTagsForResourceCommandError(output, context);
1137
1137
  }
1138
1138
  const data = await parseBody(output.body, context);
1139
1139
  let contents = {};
1140
- contents = deserializeAws_json1_1ListTagsForResourceOutput(data, context);
1140
+ contents = de_ListTagsForResourceOutput(data, context);
1141
1141
  const response = {
1142
1142
  $metadata: deserializeMetadata(output),
1143
1143
  ...contents,
1144
1144
  };
1145
1145
  return Promise.resolve(response);
1146
1146
  };
1147
- const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
1147
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1148
1148
  const parsedOutput = {
1149
1149
  ...output,
1150
1150
  body: await parseErrorBody(output.body, context),
@@ -1153,16 +1153,16 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1153
1153
  switch (errorCode) {
1154
1154
  case "InvalidArnException":
1155
1155
  case "com.amazonaws.codepipeline#InvalidArnException":
1156
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1156
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1157
1157
  case "InvalidNextTokenException":
1158
1158
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
1159
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1159
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1160
1160
  case "ResourceNotFoundException":
1161
1161
  case "com.amazonaws.codepipeline#ResourceNotFoundException":
1162
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1162
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1163
1163
  case "ValidationException":
1164
1164
  case "com.amazonaws.codepipeline#ValidationException":
1165
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1165
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1166
1166
  default:
1167
1167
  const parsedBody = parsedOutput.body;
1168
1168
  throwDefaultError({
@@ -1173,20 +1173,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1173
1173
  });
1174
1174
  }
1175
1175
  };
1176
- export const deserializeAws_json1_1ListWebhooksCommand = async (output, context) => {
1176
+ export const de_ListWebhooksCommand = async (output, context) => {
1177
1177
  if (output.statusCode >= 300) {
1178
- return deserializeAws_json1_1ListWebhooksCommandError(output, context);
1178
+ return de_ListWebhooksCommandError(output, context);
1179
1179
  }
1180
1180
  const data = await parseBody(output.body, context);
1181
1181
  let contents = {};
1182
- contents = deserializeAws_json1_1ListWebhooksOutput(data, context);
1182
+ contents = de_ListWebhooksOutput(data, context);
1183
1183
  const response = {
1184
1184
  $metadata: deserializeMetadata(output),
1185
1185
  ...contents,
1186
1186
  };
1187
1187
  return Promise.resolve(response);
1188
1188
  };
1189
- const deserializeAws_json1_1ListWebhooksCommandError = async (output, context) => {
1189
+ const de_ListWebhooksCommandError = async (output, context) => {
1190
1190
  const parsedOutput = {
1191
1191
  ...output,
1192
1192
  body: await parseErrorBody(output.body, context),
@@ -1195,10 +1195,10 @@ const deserializeAws_json1_1ListWebhooksCommandError = async (output, context) =
1195
1195
  switch (errorCode) {
1196
1196
  case "InvalidNextTokenException":
1197
1197
  case "com.amazonaws.codepipeline#InvalidNextTokenException":
1198
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
1198
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
1199
1199
  case "ValidationException":
1200
1200
  case "com.amazonaws.codepipeline#ValidationException":
1201
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1201
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1202
1202
  default:
1203
1203
  const parsedBody = parsedOutput.body;
1204
1204
  throwDefaultError({
@@ -1209,20 +1209,20 @@ const deserializeAws_json1_1ListWebhooksCommandError = async (output, context) =
1209
1209
  });
1210
1210
  }
1211
1211
  };
1212
- export const deserializeAws_json1_1PollForJobsCommand = async (output, context) => {
1212
+ export const de_PollForJobsCommand = async (output, context) => {
1213
1213
  if (output.statusCode >= 300) {
1214
- return deserializeAws_json1_1PollForJobsCommandError(output, context);
1214
+ return de_PollForJobsCommandError(output, context);
1215
1215
  }
1216
1216
  const data = await parseBody(output.body, context);
1217
1217
  let contents = {};
1218
- contents = deserializeAws_json1_1PollForJobsOutput(data, context);
1218
+ contents = de_PollForJobsOutput(data, context);
1219
1219
  const response = {
1220
1220
  $metadata: deserializeMetadata(output),
1221
1221
  ...contents,
1222
1222
  };
1223
1223
  return Promise.resolve(response);
1224
1224
  };
1225
- const deserializeAws_json1_1PollForJobsCommandError = async (output, context) => {
1225
+ const de_PollForJobsCommandError = async (output, context) => {
1226
1226
  const parsedOutput = {
1227
1227
  ...output,
1228
1228
  body: await parseErrorBody(output.body, context),
@@ -1231,10 +1231,10 @@ const deserializeAws_json1_1PollForJobsCommandError = async (output, context) =>
1231
1231
  switch (errorCode) {
1232
1232
  case "ActionTypeNotFoundException":
1233
1233
  case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
1234
- throw await deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context);
1234
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
1235
1235
  case "ValidationException":
1236
1236
  case "com.amazonaws.codepipeline#ValidationException":
1237
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1237
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1238
1238
  default:
1239
1239
  const parsedBody = parsedOutput.body;
1240
1240
  throwDefaultError({
@@ -1245,20 +1245,20 @@ const deserializeAws_json1_1PollForJobsCommandError = async (output, context) =>
1245
1245
  });
1246
1246
  }
1247
1247
  };
1248
- export const deserializeAws_json1_1PollForThirdPartyJobsCommand = async (output, context) => {
1248
+ export const de_PollForThirdPartyJobsCommand = async (output, context) => {
1249
1249
  if (output.statusCode >= 300) {
1250
- return deserializeAws_json1_1PollForThirdPartyJobsCommandError(output, context);
1250
+ return de_PollForThirdPartyJobsCommandError(output, context);
1251
1251
  }
1252
1252
  const data = await parseBody(output.body, context);
1253
1253
  let contents = {};
1254
- contents = deserializeAws_json1_1PollForThirdPartyJobsOutput(data, context);
1254
+ contents = de_PollForThirdPartyJobsOutput(data, context);
1255
1255
  const response = {
1256
1256
  $metadata: deserializeMetadata(output),
1257
1257
  ...contents,
1258
1258
  };
1259
1259
  return Promise.resolve(response);
1260
1260
  };
1261
- const deserializeAws_json1_1PollForThirdPartyJobsCommandError = async (output, context) => {
1261
+ const de_PollForThirdPartyJobsCommandError = async (output, context) => {
1262
1262
  const parsedOutput = {
1263
1263
  ...output,
1264
1264
  body: await parseErrorBody(output.body, context),
@@ -1267,10 +1267,10 @@ const deserializeAws_json1_1PollForThirdPartyJobsCommandError = async (output, c
1267
1267
  switch (errorCode) {
1268
1268
  case "ActionTypeNotFoundException":
1269
1269
  case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
1270
- throw await deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context);
1270
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
1271
1271
  case "ValidationException":
1272
1272
  case "com.amazonaws.codepipeline#ValidationException":
1273
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1273
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1274
1274
  default:
1275
1275
  const parsedBody = parsedOutput.body;
1276
1276
  throwDefaultError({
@@ -1281,20 +1281,20 @@ const deserializeAws_json1_1PollForThirdPartyJobsCommandError = async (output, c
1281
1281
  });
1282
1282
  }
1283
1283
  };
1284
- export const deserializeAws_json1_1PutActionRevisionCommand = async (output, context) => {
1284
+ export const de_PutActionRevisionCommand = async (output, context) => {
1285
1285
  if (output.statusCode >= 300) {
1286
- return deserializeAws_json1_1PutActionRevisionCommandError(output, context);
1286
+ return de_PutActionRevisionCommandError(output, context);
1287
1287
  }
1288
1288
  const data = await parseBody(output.body, context);
1289
1289
  let contents = {};
1290
- contents = deserializeAws_json1_1PutActionRevisionOutput(data, context);
1290
+ contents = de_PutActionRevisionOutput(data, context);
1291
1291
  const response = {
1292
1292
  $metadata: deserializeMetadata(output),
1293
1293
  ...contents,
1294
1294
  };
1295
1295
  return Promise.resolve(response);
1296
1296
  };
1297
- const deserializeAws_json1_1PutActionRevisionCommandError = async (output, context) => {
1297
+ const de_PutActionRevisionCommandError = async (output, context) => {
1298
1298
  const parsedOutput = {
1299
1299
  ...output,
1300
1300
  body: await parseErrorBody(output.body, context),
@@ -1303,16 +1303,16 @@ const deserializeAws_json1_1PutActionRevisionCommandError = async (output, conte
1303
1303
  switch (errorCode) {
1304
1304
  case "ActionNotFoundException":
1305
1305
  case "com.amazonaws.codepipeline#ActionNotFoundException":
1306
- throw await deserializeAws_json1_1ActionNotFoundExceptionResponse(parsedOutput, context);
1306
+ throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
1307
1307
  case "PipelineNotFoundException":
1308
1308
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1309
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1309
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1310
1310
  case "StageNotFoundException":
1311
1311
  case "com.amazonaws.codepipeline#StageNotFoundException":
1312
- throw await deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context);
1312
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
1313
1313
  case "ValidationException":
1314
1314
  case "com.amazonaws.codepipeline#ValidationException":
1315
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1315
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1316
1316
  default:
1317
1317
  const parsedBody = parsedOutput.body;
1318
1318
  throwDefaultError({
@@ -1323,20 +1323,20 @@ const deserializeAws_json1_1PutActionRevisionCommandError = async (output, conte
1323
1323
  });
1324
1324
  }
1325
1325
  };
1326
- export const deserializeAws_json1_1PutApprovalResultCommand = async (output, context) => {
1326
+ export const de_PutApprovalResultCommand = async (output, context) => {
1327
1327
  if (output.statusCode >= 300) {
1328
- return deserializeAws_json1_1PutApprovalResultCommandError(output, context);
1328
+ return de_PutApprovalResultCommandError(output, context);
1329
1329
  }
1330
1330
  const data = await parseBody(output.body, context);
1331
1331
  let contents = {};
1332
- contents = deserializeAws_json1_1PutApprovalResultOutput(data, context);
1332
+ contents = de_PutApprovalResultOutput(data, context);
1333
1333
  const response = {
1334
1334
  $metadata: deserializeMetadata(output),
1335
1335
  ...contents,
1336
1336
  };
1337
1337
  return Promise.resolve(response);
1338
1338
  };
1339
- const deserializeAws_json1_1PutApprovalResultCommandError = async (output, context) => {
1339
+ const de_PutApprovalResultCommandError = async (output, context) => {
1340
1340
  const parsedOutput = {
1341
1341
  ...output,
1342
1342
  body: await parseErrorBody(output.body, context),
@@ -1345,22 +1345,22 @@ const deserializeAws_json1_1PutApprovalResultCommandError = async (output, conte
1345
1345
  switch (errorCode) {
1346
1346
  case "ActionNotFoundException":
1347
1347
  case "com.amazonaws.codepipeline#ActionNotFoundException":
1348
- throw await deserializeAws_json1_1ActionNotFoundExceptionResponse(parsedOutput, context);
1348
+ throw await de_ActionNotFoundExceptionRes(parsedOutput, context);
1349
1349
  case "ApprovalAlreadyCompletedException":
1350
1350
  case "com.amazonaws.codepipeline#ApprovalAlreadyCompletedException":
1351
- throw await deserializeAws_json1_1ApprovalAlreadyCompletedExceptionResponse(parsedOutput, context);
1351
+ throw await de_ApprovalAlreadyCompletedExceptionRes(parsedOutput, context);
1352
1352
  case "InvalidApprovalTokenException":
1353
1353
  case "com.amazonaws.codepipeline#InvalidApprovalTokenException":
1354
- throw await deserializeAws_json1_1InvalidApprovalTokenExceptionResponse(parsedOutput, context);
1354
+ throw await de_InvalidApprovalTokenExceptionRes(parsedOutput, context);
1355
1355
  case "PipelineNotFoundException":
1356
1356
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1357
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1357
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1358
1358
  case "StageNotFoundException":
1359
1359
  case "com.amazonaws.codepipeline#StageNotFoundException":
1360
- throw await deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context);
1360
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
1361
1361
  case "ValidationException":
1362
1362
  case "com.amazonaws.codepipeline#ValidationException":
1363
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1363
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1364
1364
  default:
1365
1365
  const parsedBody = parsedOutput.body;
1366
1366
  throwDefaultError({
@@ -1371,9 +1371,9 @@ const deserializeAws_json1_1PutApprovalResultCommandError = async (output, conte
1371
1371
  });
1372
1372
  }
1373
1373
  };
1374
- export const deserializeAws_json1_1PutJobFailureResultCommand = async (output, context) => {
1374
+ export const de_PutJobFailureResultCommand = async (output, context) => {
1375
1375
  if (output.statusCode >= 300) {
1376
- return deserializeAws_json1_1PutJobFailureResultCommandError(output, context);
1376
+ return de_PutJobFailureResultCommandError(output, context);
1377
1377
  }
1378
1378
  await collectBody(output.body, context);
1379
1379
  const response = {
@@ -1381,7 +1381,7 @@ export const deserializeAws_json1_1PutJobFailureResultCommand = async (output, c
1381
1381
  };
1382
1382
  return Promise.resolve(response);
1383
1383
  };
1384
- const deserializeAws_json1_1PutJobFailureResultCommandError = async (output, context) => {
1384
+ const de_PutJobFailureResultCommandError = async (output, context) => {
1385
1385
  const parsedOutput = {
1386
1386
  ...output,
1387
1387
  body: await parseErrorBody(output.body, context),
@@ -1390,13 +1390,13 @@ const deserializeAws_json1_1PutJobFailureResultCommandError = async (output, con
1390
1390
  switch (errorCode) {
1391
1391
  case "InvalidJobStateException":
1392
1392
  case "com.amazonaws.codepipeline#InvalidJobStateException":
1393
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
1393
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
1394
1394
  case "JobNotFoundException":
1395
1395
  case "com.amazonaws.codepipeline#JobNotFoundException":
1396
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
1396
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1397
1397
  case "ValidationException":
1398
1398
  case "com.amazonaws.codepipeline#ValidationException":
1399
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1399
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1400
1400
  default:
1401
1401
  const parsedBody = parsedOutput.body;
1402
1402
  throwDefaultError({
@@ -1407,9 +1407,9 @@ const deserializeAws_json1_1PutJobFailureResultCommandError = async (output, con
1407
1407
  });
1408
1408
  }
1409
1409
  };
1410
- export const deserializeAws_json1_1PutJobSuccessResultCommand = async (output, context) => {
1410
+ export const de_PutJobSuccessResultCommand = async (output, context) => {
1411
1411
  if (output.statusCode >= 300) {
1412
- return deserializeAws_json1_1PutJobSuccessResultCommandError(output, context);
1412
+ return de_PutJobSuccessResultCommandError(output, context);
1413
1413
  }
1414
1414
  await collectBody(output.body, context);
1415
1415
  const response = {
@@ -1417,7 +1417,7 @@ export const deserializeAws_json1_1PutJobSuccessResultCommand = async (output, c
1417
1417
  };
1418
1418
  return Promise.resolve(response);
1419
1419
  };
1420
- const deserializeAws_json1_1PutJobSuccessResultCommandError = async (output, context) => {
1420
+ const de_PutJobSuccessResultCommandError = async (output, context) => {
1421
1421
  const parsedOutput = {
1422
1422
  ...output,
1423
1423
  body: await parseErrorBody(output.body, context),
@@ -1426,16 +1426,16 @@ const deserializeAws_json1_1PutJobSuccessResultCommandError = async (output, con
1426
1426
  switch (errorCode) {
1427
1427
  case "InvalidJobStateException":
1428
1428
  case "com.amazonaws.codepipeline#InvalidJobStateException":
1429
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
1429
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
1430
1430
  case "JobNotFoundException":
1431
1431
  case "com.amazonaws.codepipeline#JobNotFoundException":
1432
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
1432
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1433
1433
  case "OutputVariablesSizeExceededException":
1434
1434
  case "com.amazonaws.codepipeline#OutputVariablesSizeExceededException":
1435
- throw await deserializeAws_json1_1OutputVariablesSizeExceededExceptionResponse(parsedOutput, context);
1435
+ throw await de_OutputVariablesSizeExceededExceptionRes(parsedOutput, context);
1436
1436
  case "ValidationException":
1437
1437
  case "com.amazonaws.codepipeline#ValidationException":
1438
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1438
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1439
1439
  default:
1440
1440
  const parsedBody = parsedOutput.body;
1441
1441
  throwDefaultError({
@@ -1446,9 +1446,9 @@ const deserializeAws_json1_1PutJobSuccessResultCommandError = async (output, con
1446
1446
  });
1447
1447
  }
1448
1448
  };
1449
- export const deserializeAws_json1_1PutThirdPartyJobFailureResultCommand = async (output, context) => {
1449
+ export const de_PutThirdPartyJobFailureResultCommand = async (output, context) => {
1450
1450
  if (output.statusCode >= 300) {
1451
- return deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError(output, context);
1451
+ return de_PutThirdPartyJobFailureResultCommandError(output, context);
1452
1452
  }
1453
1453
  await collectBody(output.body, context);
1454
1454
  const response = {
@@ -1456,7 +1456,7 @@ export const deserializeAws_json1_1PutThirdPartyJobFailureResultCommand = async
1456
1456
  };
1457
1457
  return Promise.resolve(response);
1458
1458
  };
1459
- const deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = async (output, context) => {
1459
+ const de_PutThirdPartyJobFailureResultCommandError = async (output, context) => {
1460
1460
  const parsedOutput = {
1461
1461
  ...output,
1462
1462
  body: await parseErrorBody(output.body, context),
@@ -1465,16 +1465,16 @@ const deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = async (o
1465
1465
  switch (errorCode) {
1466
1466
  case "InvalidClientTokenException":
1467
1467
  case "com.amazonaws.codepipeline#InvalidClientTokenException":
1468
- throw await deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context);
1468
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
1469
1469
  case "InvalidJobStateException":
1470
1470
  case "com.amazonaws.codepipeline#InvalidJobStateException":
1471
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
1471
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
1472
1472
  case "JobNotFoundException":
1473
1473
  case "com.amazonaws.codepipeline#JobNotFoundException":
1474
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
1474
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1475
1475
  case "ValidationException":
1476
1476
  case "com.amazonaws.codepipeline#ValidationException":
1477
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1477
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1478
1478
  default:
1479
1479
  const parsedBody = parsedOutput.body;
1480
1480
  throwDefaultError({
@@ -1485,9 +1485,9 @@ const deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = async (o
1485
1485
  });
1486
1486
  }
1487
1487
  };
1488
- export const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand = async (output, context) => {
1488
+ export const de_PutThirdPartyJobSuccessResultCommand = async (output, context) => {
1489
1489
  if (output.statusCode >= 300) {
1490
- return deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError(output, context);
1490
+ return de_PutThirdPartyJobSuccessResultCommandError(output, context);
1491
1491
  }
1492
1492
  await collectBody(output.body, context);
1493
1493
  const response = {
@@ -1495,7 +1495,7 @@ export const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand = async
1495
1495
  };
1496
1496
  return Promise.resolve(response);
1497
1497
  };
1498
- const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = async (output, context) => {
1498
+ const de_PutThirdPartyJobSuccessResultCommandError = async (output, context) => {
1499
1499
  const parsedOutput = {
1500
1500
  ...output,
1501
1501
  body: await parseErrorBody(output.body, context),
@@ -1504,16 +1504,16 @@ const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = async (o
1504
1504
  switch (errorCode) {
1505
1505
  case "InvalidClientTokenException":
1506
1506
  case "com.amazonaws.codepipeline#InvalidClientTokenException":
1507
- throw await deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context);
1507
+ throw await de_InvalidClientTokenExceptionRes(parsedOutput, context);
1508
1508
  case "InvalidJobStateException":
1509
1509
  case "com.amazonaws.codepipeline#InvalidJobStateException":
1510
- throw await deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context);
1510
+ throw await de_InvalidJobStateExceptionRes(parsedOutput, context);
1511
1511
  case "JobNotFoundException":
1512
1512
  case "com.amazonaws.codepipeline#JobNotFoundException":
1513
- throw await deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context);
1513
+ throw await de_JobNotFoundExceptionRes(parsedOutput, context);
1514
1514
  case "ValidationException":
1515
1515
  case "com.amazonaws.codepipeline#ValidationException":
1516
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1516
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1517
1517
  default:
1518
1518
  const parsedBody = parsedOutput.body;
1519
1519
  throwDefaultError({
@@ -1524,20 +1524,20 @@ const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = async (o
1524
1524
  });
1525
1525
  }
1526
1526
  };
1527
- export const deserializeAws_json1_1PutWebhookCommand = async (output, context) => {
1527
+ export const de_PutWebhookCommand = async (output, context) => {
1528
1528
  if (output.statusCode >= 300) {
1529
- return deserializeAws_json1_1PutWebhookCommandError(output, context);
1529
+ return de_PutWebhookCommandError(output, context);
1530
1530
  }
1531
1531
  const data = await parseBody(output.body, context);
1532
1532
  let contents = {};
1533
- contents = deserializeAws_json1_1PutWebhookOutput(data, context);
1533
+ contents = de_PutWebhookOutput(data, context);
1534
1534
  const response = {
1535
1535
  $metadata: deserializeMetadata(output),
1536
1536
  ...contents,
1537
1537
  };
1538
1538
  return Promise.resolve(response);
1539
1539
  };
1540
- const deserializeAws_json1_1PutWebhookCommandError = async (output, context) => {
1540
+ const de_PutWebhookCommandError = async (output, context) => {
1541
1541
  const parsedOutput = {
1542
1542
  ...output,
1543
1543
  body: await parseErrorBody(output.body, context),
@@ -1546,28 +1546,28 @@ const deserializeAws_json1_1PutWebhookCommandError = async (output, context) =>
1546
1546
  switch (errorCode) {
1547
1547
  case "ConcurrentModificationException":
1548
1548
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
1549
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
1549
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1550
1550
  case "InvalidTagsException":
1551
1551
  case "com.amazonaws.codepipeline#InvalidTagsException":
1552
- throw await deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context);
1552
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
1553
1553
  case "InvalidWebhookAuthenticationParametersException":
1554
1554
  case "com.amazonaws.codepipeline#InvalidWebhookAuthenticationParametersException":
1555
- throw await deserializeAws_json1_1InvalidWebhookAuthenticationParametersExceptionResponse(parsedOutput, context);
1555
+ throw await de_InvalidWebhookAuthenticationParametersExceptionRes(parsedOutput, context);
1556
1556
  case "InvalidWebhookFilterPatternException":
1557
1557
  case "com.amazonaws.codepipeline#InvalidWebhookFilterPatternException":
1558
- throw await deserializeAws_json1_1InvalidWebhookFilterPatternExceptionResponse(parsedOutput, context);
1558
+ throw await de_InvalidWebhookFilterPatternExceptionRes(parsedOutput, context);
1559
1559
  case "LimitExceededException":
1560
1560
  case "com.amazonaws.codepipeline#LimitExceededException":
1561
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
1561
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1562
1562
  case "PipelineNotFoundException":
1563
1563
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1564
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1564
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1565
1565
  case "TooManyTagsException":
1566
1566
  case "com.amazonaws.codepipeline#TooManyTagsException":
1567
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
1567
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1568
1568
  case "ValidationException":
1569
1569
  case "com.amazonaws.codepipeline#ValidationException":
1570
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1570
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1571
1571
  default:
1572
1572
  const parsedBody = parsedOutput.body;
1573
1573
  throwDefaultError({
@@ -1578,20 +1578,20 @@ const deserializeAws_json1_1PutWebhookCommandError = async (output, context) =>
1578
1578
  });
1579
1579
  }
1580
1580
  };
1581
- export const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand = async (output, context) => {
1581
+ export const de_RegisterWebhookWithThirdPartyCommand = async (output, context) => {
1582
1582
  if (output.statusCode >= 300) {
1583
- return deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError(output, context);
1583
+ return de_RegisterWebhookWithThirdPartyCommandError(output, context);
1584
1584
  }
1585
1585
  const data = await parseBody(output.body, context);
1586
1586
  let contents = {};
1587
- contents = deserializeAws_json1_1RegisterWebhookWithThirdPartyOutput(data, context);
1587
+ contents = de_RegisterWebhookWithThirdPartyOutput(data, context);
1588
1588
  const response = {
1589
1589
  $metadata: deserializeMetadata(output),
1590
1590
  ...contents,
1591
1591
  };
1592
1592
  return Promise.resolve(response);
1593
1593
  };
1594
- const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = async (output, context) => {
1594
+ const de_RegisterWebhookWithThirdPartyCommandError = async (output, context) => {
1595
1595
  const parsedOutput = {
1596
1596
  ...output,
1597
1597
  body: await parseErrorBody(output.body, context),
@@ -1600,10 +1600,10 @@ const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = async (o
1600
1600
  switch (errorCode) {
1601
1601
  case "ValidationException":
1602
1602
  case "com.amazonaws.codepipeline#ValidationException":
1603
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1603
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1604
1604
  case "WebhookNotFoundException":
1605
1605
  case "com.amazonaws.codepipeline#WebhookNotFoundException":
1606
- throw await deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context);
1606
+ throw await de_WebhookNotFoundExceptionRes(parsedOutput, context);
1607
1607
  default:
1608
1608
  const parsedBody = parsedOutput.body;
1609
1609
  throwDefaultError({
@@ -1614,20 +1614,20 @@ const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = async (o
1614
1614
  });
1615
1615
  }
1616
1616
  };
1617
- export const deserializeAws_json1_1RetryStageExecutionCommand = async (output, context) => {
1617
+ export const de_RetryStageExecutionCommand = async (output, context) => {
1618
1618
  if (output.statusCode >= 300) {
1619
- return deserializeAws_json1_1RetryStageExecutionCommandError(output, context);
1619
+ return de_RetryStageExecutionCommandError(output, context);
1620
1620
  }
1621
1621
  const data = await parseBody(output.body, context);
1622
1622
  let contents = {};
1623
- contents = deserializeAws_json1_1RetryStageExecutionOutput(data, context);
1623
+ contents = de_RetryStageExecutionOutput(data, context);
1624
1624
  const response = {
1625
1625
  $metadata: deserializeMetadata(output),
1626
1626
  ...contents,
1627
1627
  };
1628
1628
  return Promise.resolve(response);
1629
1629
  };
1630
- const deserializeAws_json1_1RetryStageExecutionCommandError = async (output, context) => {
1630
+ const de_RetryStageExecutionCommandError = async (output, context) => {
1631
1631
  const parsedOutput = {
1632
1632
  ...output,
1633
1633
  body: await parseErrorBody(output.body, context),
@@ -1636,22 +1636,22 @@ const deserializeAws_json1_1RetryStageExecutionCommandError = async (output, con
1636
1636
  switch (errorCode) {
1637
1637
  case "ConflictException":
1638
1638
  case "com.amazonaws.codepipeline#ConflictException":
1639
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1639
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1640
1640
  case "NotLatestPipelineExecutionException":
1641
1641
  case "com.amazonaws.codepipeline#NotLatestPipelineExecutionException":
1642
- throw await deserializeAws_json1_1NotLatestPipelineExecutionExceptionResponse(parsedOutput, context);
1642
+ throw await de_NotLatestPipelineExecutionExceptionRes(parsedOutput, context);
1643
1643
  case "PipelineNotFoundException":
1644
1644
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1645
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1645
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1646
1646
  case "StageNotFoundException":
1647
1647
  case "com.amazonaws.codepipeline#StageNotFoundException":
1648
- throw await deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context);
1648
+ throw await de_StageNotFoundExceptionRes(parsedOutput, context);
1649
1649
  case "StageNotRetryableException":
1650
1650
  case "com.amazonaws.codepipeline#StageNotRetryableException":
1651
- throw await deserializeAws_json1_1StageNotRetryableExceptionResponse(parsedOutput, context);
1651
+ throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
1652
1652
  case "ValidationException":
1653
1653
  case "com.amazonaws.codepipeline#ValidationException":
1654
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1654
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1655
1655
  default:
1656
1656
  const parsedBody = parsedOutput.body;
1657
1657
  throwDefaultError({
@@ -1662,20 +1662,20 @@ const deserializeAws_json1_1RetryStageExecutionCommandError = async (output, con
1662
1662
  });
1663
1663
  }
1664
1664
  };
1665
- export const deserializeAws_json1_1StartPipelineExecutionCommand = async (output, context) => {
1665
+ export const de_StartPipelineExecutionCommand = async (output, context) => {
1666
1666
  if (output.statusCode >= 300) {
1667
- return deserializeAws_json1_1StartPipelineExecutionCommandError(output, context);
1667
+ return de_StartPipelineExecutionCommandError(output, context);
1668
1668
  }
1669
1669
  const data = await parseBody(output.body, context);
1670
1670
  let contents = {};
1671
- contents = deserializeAws_json1_1StartPipelineExecutionOutput(data, context);
1671
+ contents = de_StartPipelineExecutionOutput(data, context);
1672
1672
  const response = {
1673
1673
  $metadata: deserializeMetadata(output),
1674
1674
  ...contents,
1675
1675
  };
1676
1676
  return Promise.resolve(response);
1677
1677
  };
1678
- const deserializeAws_json1_1StartPipelineExecutionCommandError = async (output, context) => {
1678
+ const de_StartPipelineExecutionCommandError = async (output, context) => {
1679
1679
  const parsedOutput = {
1680
1680
  ...output,
1681
1681
  body: await parseErrorBody(output.body, context),
@@ -1684,13 +1684,13 @@ const deserializeAws_json1_1StartPipelineExecutionCommandError = async (output,
1684
1684
  switch (errorCode) {
1685
1685
  case "ConflictException":
1686
1686
  case "com.amazonaws.codepipeline#ConflictException":
1687
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1687
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1688
1688
  case "PipelineNotFoundException":
1689
1689
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1690
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1690
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1691
1691
  case "ValidationException":
1692
1692
  case "com.amazonaws.codepipeline#ValidationException":
1693
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1693
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1694
1694
  default:
1695
1695
  const parsedBody = parsedOutput.body;
1696
1696
  throwDefaultError({
@@ -1701,20 +1701,20 @@ const deserializeAws_json1_1StartPipelineExecutionCommandError = async (output,
1701
1701
  });
1702
1702
  }
1703
1703
  };
1704
- export const deserializeAws_json1_1StopPipelineExecutionCommand = async (output, context) => {
1704
+ export const de_StopPipelineExecutionCommand = async (output, context) => {
1705
1705
  if (output.statusCode >= 300) {
1706
- return deserializeAws_json1_1StopPipelineExecutionCommandError(output, context);
1706
+ return de_StopPipelineExecutionCommandError(output, context);
1707
1707
  }
1708
1708
  const data = await parseBody(output.body, context);
1709
1709
  let contents = {};
1710
- contents = deserializeAws_json1_1StopPipelineExecutionOutput(data, context);
1710
+ contents = de_StopPipelineExecutionOutput(data, context);
1711
1711
  const response = {
1712
1712
  $metadata: deserializeMetadata(output),
1713
1713
  ...contents,
1714
1714
  };
1715
1715
  return Promise.resolve(response);
1716
1716
  };
1717
- const deserializeAws_json1_1StopPipelineExecutionCommandError = async (output, context) => {
1717
+ const de_StopPipelineExecutionCommandError = async (output, context) => {
1718
1718
  const parsedOutput = {
1719
1719
  ...output,
1720
1720
  body: await parseErrorBody(output.body, context),
@@ -1723,19 +1723,19 @@ const deserializeAws_json1_1StopPipelineExecutionCommandError = async (output, c
1723
1723
  switch (errorCode) {
1724
1724
  case "ConflictException":
1725
1725
  case "com.amazonaws.codepipeline#ConflictException":
1726
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1726
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1727
1727
  case "DuplicatedStopRequestException":
1728
1728
  case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
1729
- throw await deserializeAws_json1_1DuplicatedStopRequestExceptionResponse(parsedOutput, context);
1729
+ throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
1730
1730
  case "PipelineExecutionNotStoppableException":
1731
1731
  case "com.amazonaws.codepipeline#PipelineExecutionNotStoppableException":
1732
- throw await deserializeAws_json1_1PipelineExecutionNotStoppableExceptionResponse(parsedOutput, context);
1732
+ throw await de_PipelineExecutionNotStoppableExceptionRes(parsedOutput, context);
1733
1733
  case "PipelineNotFoundException":
1734
1734
  case "com.amazonaws.codepipeline#PipelineNotFoundException":
1735
- throw await deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context);
1735
+ throw await de_PipelineNotFoundExceptionRes(parsedOutput, context);
1736
1736
  case "ValidationException":
1737
1737
  case "com.amazonaws.codepipeline#ValidationException":
1738
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1738
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1739
1739
  default:
1740
1740
  const parsedBody = parsedOutput.body;
1741
1741
  throwDefaultError({
@@ -1746,20 +1746,20 @@ const deserializeAws_json1_1StopPipelineExecutionCommandError = async (output, c
1746
1746
  });
1747
1747
  }
1748
1748
  };
1749
- export const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
1749
+ export const de_TagResourceCommand = async (output, context) => {
1750
1750
  if (output.statusCode >= 300) {
1751
- return deserializeAws_json1_1TagResourceCommandError(output, context);
1751
+ return de_TagResourceCommandError(output, context);
1752
1752
  }
1753
1753
  const data = await parseBody(output.body, context);
1754
1754
  let contents = {};
1755
- contents = deserializeAws_json1_1TagResourceOutput(data, context);
1755
+ contents = de_TagResourceOutput(data, context);
1756
1756
  const response = {
1757
1757
  $metadata: deserializeMetadata(output),
1758
1758
  ...contents,
1759
1759
  };
1760
1760
  return Promise.resolve(response);
1761
1761
  };
1762
- const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
1762
+ const de_TagResourceCommandError = async (output, context) => {
1763
1763
  const parsedOutput = {
1764
1764
  ...output,
1765
1765
  body: await parseErrorBody(output.body, context),
@@ -1768,22 +1768,22 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1768
1768
  switch (errorCode) {
1769
1769
  case "ConcurrentModificationException":
1770
1770
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
1771
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
1771
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1772
1772
  case "InvalidArnException":
1773
1773
  case "com.amazonaws.codepipeline#InvalidArnException":
1774
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1774
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1775
1775
  case "InvalidTagsException":
1776
1776
  case "com.amazonaws.codepipeline#InvalidTagsException":
1777
- throw await deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context);
1777
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
1778
1778
  case "ResourceNotFoundException":
1779
1779
  case "com.amazonaws.codepipeline#ResourceNotFoundException":
1780
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1780
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1781
1781
  case "TooManyTagsException":
1782
1782
  case "com.amazonaws.codepipeline#TooManyTagsException":
1783
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
1783
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1784
1784
  case "ValidationException":
1785
1785
  case "com.amazonaws.codepipeline#ValidationException":
1786
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1786
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1787
1787
  default:
1788
1788
  const parsedBody = parsedOutput.body;
1789
1789
  throwDefaultError({
@@ -1794,20 +1794,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1794
1794
  });
1795
1795
  }
1796
1796
  };
1797
- export const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
1797
+ export const de_UntagResourceCommand = async (output, context) => {
1798
1798
  if (output.statusCode >= 300) {
1799
- return deserializeAws_json1_1UntagResourceCommandError(output, context);
1799
+ return de_UntagResourceCommandError(output, context);
1800
1800
  }
1801
1801
  const data = await parseBody(output.body, context);
1802
1802
  let contents = {};
1803
- contents = deserializeAws_json1_1UntagResourceOutput(data, context);
1803
+ contents = de_UntagResourceOutput(data, context);
1804
1804
  const response = {
1805
1805
  $metadata: deserializeMetadata(output),
1806
1806
  ...contents,
1807
1807
  };
1808
1808
  return Promise.resolve(response);
1809
1809
  };
1810
- const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
1810
+ const de_UntagResourceCommandError = async (output, context) => {
1811
1811
  const parsedOutput = {
1812
1812
  ...output,
1813
1813
  body: await parseErrorBody(output.body, context),
@@ -1816,19 +1816,19 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1816
1816
  switch (errorCode) {
1817
1817
  case "ConcurrentModificationException":
1818
1818
  case "com.amazonaws.codepipeline#ConcurrentModificationException":
1819
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
1819
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1820
1820
  case "InvalidArnException":
1821
1821
  case "com.amazonaws.codepipeline#InvalidArnException":
1822
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1822
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1823
1823
  case "InvalidTagsException":
1824
1824
  case "com.amazonaws.codepipeline#InvalidTagsException":
1825
- throw await deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context);
1825
+ throw await de_InvalidTagsExceptionRes(parsedOutput, context);
1826
1826
  case "ResourceNotFoundException":
1827
1827
  case "com.amazonaws.codepipeline#ResourceNotFoundException":
1828
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1828
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1829
1829
  case "ValidationException":
1830
1830
  case "com.amazonaws.codepipeline#ValidationException":
1831
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1831
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1832
1832
  default:
1833
1833
  const parsedBody = parsedOutput.body;
1834
1834
  throwDefaultError({
@@ -1839,9 +1839,9 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1839
1839
  });
1840
1840
  }
1841
1841
  };
1842
- export const deserializeAws_json1_1UpdateActionTypeCommand = async (output, context) => {
1842
+ export const de_UpdateActionTypeCommand = async (output, context) => {
1843
1843
  if (output.statusCode >= 300) {
1844
- return deserializeAws_json1_1UpdateActionTypeCommandError(output, context);
1844
+ return de_UpdateActionTypeCommandError(output, context);
1845
1845
  }
1846
1846
  await collectBody(output.body, context);
1847
1847
  const response = {
@@ -1849,7 +1849,7 @@ export const deserializeAws_json1_1UpdateActionTypeCommand = async (output, cont
1849
1849
  };
1850
1850
  return Promise.resolve(response);
1851
1851
  };
1852
- const deserializeAws_json1_1UpdateActionTypeCommandError = async (output, context) => {
1852
+ const de_UpdateActionTypeCommandError = async (output, context) => {
1853
1853
  const parsedOutput = {
1854
1854
  ...output,
1855
1855
  body: await parseErrorBody(output.body, context),
@@ -1858,13 +1858,13 @@ const deserializeAws_json1_1UpdateActionTypeCommandError = async (output, contex
1858
1858
  switch (errorCode) {
1859
1859
  case "ActionTypeNotFoundException":
1860
1860
  case "com.amazonaws.codepipeline#ActionTypeNotFoundException":
1861
- throw await deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context);
1861
+ throw await de_ActionTypeNotFoundExceptionRes(parsedOutput, context);
1862
1862
  case "RequestFailedException":
1863
1863
  case "com.amazonaws.codepipeline#RequestFailedException":
1864
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
1864
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
1865
1865
  case "ValidationException":
1866
1866
  case "com.amazonaws.codepipeline#ValidationException":
1867
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1867
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1868
1868
  default:
1869
1869
  const parsedBody = parsedOutput.body;
1870
1870
  throwDefaultError({
@@ -1875,20 +1875,20 @@ const deserializeAws_json1_1UpdateActionTypeCommandError = async (output, contex
1875
1875
  });
1876
1876
  }
1877
1877
  };
1878
- export const deserializeAws_json1_1UpdatePipelineCommand = async (output, context) => {
1878
+ export const de_UpdatePipelineCommand = async (output, context) => {
1879
1879
  if (output.statusCode >= 300) {
1880
- return deserializeAws_json1_1UpdatePipelineCommandError(output, context);
1880
+ return de_UpdatePipelineCommandError(output, context);
1881
1881
  }
1882
1882
  const data = await parseBody(output.body, context);
1883
1883
  let contents = {};
1884
- contents = deserializeAws_json1_1UpdatePipelineOutput(data, context);
1884
+ contents = de_UpdatePipelineOutput(data, context);
1885
1885
  const response = {
1886
1886
  $metadata: deserializeMetadata(output),
1887
1887
  ...contents,
1888
1888
  };
1889
1889
  return Promise.resolve(response);
1890
1890
  };
1891
- const deserializeAws_json1_1UpdatePipelineCommandError = async (output, context) => {
1891
+ const de_UpdatePipelineCommandError = async (output, context) => {
1892
1892
  const parsedOutput = {
1893
1893
  ...output,
1894
1894
  body: await parseErrorBody(output.body, context),
@@ -1897,22 +1897,22 @@ const deserializeAws_json1_1UpdatePipelineCommandError = async (output, context)
1897
1897
  switch (errorCode) {
1898
1898
  case "InvalidActionDeclarationException":
1899
1899
  case "com.amazonaws.codepipeline#InvalidActionDeclarationException":
1900
- throw await deserializeAws_json1_1InvalidActionDeclarationExceptionResponse(parsedOutput, context);
1900
+ throw await de_InvalidActionDeclarationExceptionRes(parsedOutput, context);
1901
1901
  case "InvalidBlockerDeclarationException":
1902
1902
  case "com.amazonaws.codepipeline#InvalidBlockerDeclarationException":
1903
- throw await deserializeAws_json1_1InvalidBlockerDeclarationExceptionResponse(parsedOutput, context);
1903
+ throw await de_InvalidBlockerDeclarationExceptionRes(parsedOutput, context);
1904
1904
  case "InvalidStageDeclarationException":
1905
1905
  case "com.amazonaws.codepipeline#InvalidStageDeclarationException":
1906
- throw await deserializeAws_json1_1InvalidStageDeclarationExceptionResponse(parsedOutput, context);
1906
+ throw await de_InvalidStageDeclarationExceptionRes(parsedOutput, context);
1907
1907
  case "InvalidStructureException":
1908
1908
  case "com.amazonaws.codepipeline#InvalidStructureException":
1909
- throw await deserializeAws_json1_1InvalidStructureExceptionResponse(parsedOutput, context);
1909
+ throw await de_InvalidStructureExceptionRes(parsedOutput, context);
1910
1910
  case "LimitExceededException":
1911
1911
  case "com.amazonaws.codepipeline#LimitExceededException":
1912
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
1912
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1913
1913
  case "ValidationException":
1914
1914
  case "com.amazonaws.codepipeline#ValidationException":
1915
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1915
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1916
1916
  default:
1917
1917
  const parsedBody = parsedOutput.body;
1918
1918
  throwDefaultError({
@@ -1923,344 +1923,344 @@ const deserializeAws_json1_1UpdatePipelineCommandError = async (output, context)
1923
1923
  });
1924
1924
  }
1925
1925
  };
1926
- const deserializeAws_json1_1ActionNotFoundExceptionResponse = async (parsedOutput, context) => {
1926
+ const de_ActionNotFoundExceptionRes = async (parsedOutput, context) => {
1927
1927
  const body = parsedOutput.body;
1928
- const deserialized = deserializeAws_json1_1ActionNotFoundException(body, context);
1928
+ const deserialized = de_ActionNotFoundException(body, context);
1929
1929
  const exception = new ActionNotFoundException({
1930
1930
  $metadata: deserializeMetadata(parsedOutput),
1931
1931
  ...deserialized,
1932
1932
  });
1933
1933
  return __decorateServiceException(exception, body);
1934
1934
  };
1935
- const deserializeAws_json1_1ActionTypeNotFoundExceptionResponse = async (parsedOutput, context) => {
1935
+ const de_ActionTypeNotFoundExceptionRes = async (parsedOutput, context) => {
1936
1936
  const body = parsedOutput.body;
1937
- const deserialized = deserializeAws_json1_1ActionTypeNotFoundException(body, context);
1937
+ const deserialized = de_ActionTypeNotFoundException(body, context);
1938
1938
  const exception = new ActionTypeNotFoundException({
1939
1939
  $metadata: deserializeMetadata(parsedOutput),
1940
1940
  ...deserialized,
1941
1941
  });
1942
1942
  return __decorateServiceException(exception, body);
1943
1943
  };
1944
- const deserializeAws_json1_1ApprovalAlreadyCompletedExceptionResponse = async (parsedOutput, context) => {
1944
+ const de_ApprovalAlreadyCompletedExceptionRes = async (parsedOutput, context) => {
1945
1945
  const body = parsedOutput.body;
1946
- const deserialized = deserializeAws_json1_1ApprovalAlreadyCompletedException(body, context);
1946
+ const deserialized = de_ApprovalAlreadyCompletedException(body, context);
1947
1947
  const exception = new ApprovalAlreadyCompletedException({
1948
1948
  $metadata: deserializeMetadata(parsedOutput),
1949
1949
  ...deserialized,
1950
1950
  });
1951
1951
  return __decorateServiceException(exception, body);
1952
1952
  };
1953
- const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
1953
+ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
1954
1954
  const body = parsedOutput.body;
1955
- const deserialized = deserializeAws_json1_1ConcurrentModificationException(body, context);
1955
+ const deserialized = de_ConcurrentModificationException(body, context);
1956
1956
  const exception = new ConcurrentModificationException({
1957
1957
  $metadata: deserializeMetadata(parsedOutput),
1958
1958
  ...deserialized,
1959
1959
  });
1960
1960
  return __decorateServiceException(exception, body);
1961
1961
  };
1962
- const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
1962
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1963
1963
  const body = parsedOutput.body;
1964
- const deserialized = deserializeAws_json1_1ConflictException(body, context);
1964
+ const deserialized = de_ConflictException(body, context);
1965
1965
  const exception = new ConflictException({
1966
1966
  $metadata: deserializeMetadata(parsedOutput),
1967
1967
  ...deserialized,
1968
1968
  });
1969
1969
  return __decorateServiceException(exception, body);
1970
1970
  };
1971
- const deserializeAws_json1_1DuplicatedStopRequestExceptionResponse = async (parsedOutput, context) => {
1971
+ const de_DuplicatedStopRequestExceptionRes = async (parsedOutput, context) => {
1972
1972
  const body = parsedOutput.body;
1973
- const deserialized = deserializeAws_json1_1DuplicatedStopRequestException(body, context);
1973
+ const deserialized = de_DuplicatedStopRequestException(body, context);
1974
1974
  const exception = new DuplicatedStopRequestException({
1975
1975
  $metadata: deserializeMetadata(parsedOutput),
1976
1976
  ...deserialized,
1977
1977
  });
1978
1978
  return __decorateServiceException(exception, body);
1979
1979
  };
1980
- const deserializeAws_json1_1InvalidActionDeclarationExceptionResponse = async (parsedOutput, context) => {
1980
+ const de_InvalidActionDeclarationExceptionRes = async (parsedOutput, context) => {
1981
1981
  const body = parsedOutput.body;
1982
- const deserialized = deserializeAws_json1_1InvalidActionDeclarationException(body, context);
1982
+ const deserialized = de_InvalidActionDeclarationException(body, context);
1983
1983
  const exception = new InvalidActionDeclarationException({
1984
1984
  $metadata: deserializeMetadata(parsedOutput),
1985
1985
  ...deserialized,
1986
1986
  });
1987
1987
  return __decorateServiceException(exception, body);
1988
1988
  };
1989
- const deserializeAws_json1_1InvalidApprovalTokenExceptionResponse = async (parsedOutput, context) => {
1989
+ const de_InvalidApprovalTokenExceptionRes = async (parsedOutput, context) => {
1990
1990
  const body = parsedOutput.body;
1991
- const deserialized = deserializeAws_json1_1InvalidApprovalTokenException(body, context);
1991
+ const deserialized = de_InvalidApprovalTokenException(body, context);
1992
1992
  const exception = new InvalidApprovalTokenException({
1993
1993
  $metadata: deserializeMetadata(parsedOutput),
1994
1994
  ...deserialized,
1995
1995
  });
1996
1996
  return __decorateServiceException(exception, body);
1997
1997
  };
1998
- const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, context) => {
1998
+ const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
1999
1999
  const body = parsedOutput.body;
2000
- const deserialized = deserializeAws_json1_1InvalidArnException(body, context);
2000
+ const deserialized = de_InvalidArnException(body, context);
2001
2001
  const exception = new InvalidArnException({
2002
2002
  $metadata: deserializeMetadata(parsedOutput),
2003
2003
  ...deserialized,
2004
2004
  });
2005
2005
  return __decorateServiceException(exception, body);
2006
2006
  };
2007
- const deserializeAws_json1_1InvalidBlockerDeclarationExceptionResponse = async (parsedOutput, context) => {
2007
+ const de_InvalidBlockerDeclarationExceptionRes = async (parsedOutput, context) => {
2008
2008
  const body = parsedOutput.body;
2009
- const deserialized = deserializeAws_json1_1InvalidBlockerDeclarationException(body, context);
2009
+ const deserialized = de_InvalidBlockerDeclarationException(body, context);
2010
2010
  const exception = new InvalidBlockerDeclarationException({
2011
2011
  $metadata: deserializeMetadata(parsedOutput),
2012
2012
  ...deserialized,
2013
2013
  });
2014
2014
  return __decorateServiceException(exception, body);
2015
2015
  };
2016
- const deserializeAws_json1_1InvalidClientTokenExceptionResponse = async (parsedOutput, context) => {
2016
+ const de_InvalidClientTokenExceptionRes = async (parsedOutput, context) => {
2017
2017
  const body = parsedOutput.body;
2018
- const deserialized = deserializeAws_json1_1InvalidClientTokenException(body, context);
2018
+ const deserialized = de_InvalidClientTokenException(body, context);
2019
2019
  const exception = new InvalidClientTokenException({
2020
2020
  $metadata: deserializeMetadata(parsedOutput),
2021
2021
  ...deserialized,
2022
2022
  });
2023
2023
  return __decorateServiceException(exception, body);
2024
2024
  };
2025
- const deserializeAws_json1_1InvalidJobExceptionResponse = async (parsedOutput, context) => {
2025
+ const de_InvalidJobExceptionRes = async (parsedOutput, context) => {
2026
2026
  const body = parsedOutput.body;
2027
- const deserialized = deserializeAws_json1_1InvalidJobException(body, context);
2027
+ const deserialized = de_InvalidJobException(body, context);
2028
2028
  const exception = new InvalidJobException({
2029
2029
  $metadata: deserializeMetadata(parsedOutput),
2030
2030
  ...deserialized,
2031
2031
  });
2032
2032
  return __decorateServiceException(exception, body);
2033
2033
  };
2034
- const deserializeAws_json1_1InvalidJobStateExceptionResponse = async (parsedOutput, context) => {
2034
+ const de_InvalidJobStateExceptionRes = async (parsedOutput, context) => {
2035
2035
  const body = parsedOutput.body;
2036
- const deserialized = deserializeAws_json1_1InvalidJobStateException(body, context);
2036
+ const deserialized = de_InvalidJobStateException(body, context);
2037
2037
  const exception = new InvalidJobStateException({
2038
2038
  $metadata: deserializeMetadata(parsedOutput),
2039
2039
  ...deserialized,
2040
2040
  });
2041
2041
  return __decorateServiceException(exception, body);
2042
2042
  };
2043
- const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
2043
+ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
2044
2044
  const body = parsedOutput.body;
2045
- const deserialized = deserializeAws_json1_1InvalidNextTokenException(body, context);
2045
+ const deserialized = de_InvalidNextTokenException(body, context);
2046
2046
  const exception = new InvalidNextTokenException({
2047
2047
  $metadata: deserializeMetadata(parsedOutput),
2048
2048
  ...deserialized,
2049
2049
  });
2050
2050
  return __decorateServiceException(exception, body);
2051
2051
  };
2052
- const deserializeAws_json1_1InvalidNonceExceptionResponse = async (parsedOutput, context) => {
2052
+ const de_InvalidNonceExceptionRes = async (parsedOutput, context) => {
2053
2053
  const body = parsedOutput.body;
2054
- const deserialized = deserializeAws_json1_1InvalidNonceException(body, context);
2054
+ const deserialized = de_InvalidNonceException(body, context);
2055
2055
  const exception = new InvalidNonceException({
2056
2056
  $metadata: deserializeMetadata(parsedOutput),
2057
2057
  ...deserialized,
2058
2058
  });
2059
2059
  return __decorateServiceException(exception, body);
2060
2060
  };
2061
- const deserializeAws_json1_1InvalidStageDeclarationExceptionResponse = async (parsedOutput, context) => {
2061
+ const de_InvalidStageDeclarationExceptionRes = async (parsedOutput, context) => {
2062
2062
  const body = parsedOutput.body;
2063
- const deserialized = deserializeAws_json1_1InvalidStageDeclarationException(body, context);
2063
+ const deserialized = de_InvalidStageDeclarationException(body, context);
2064
2064
  const exception = new InvalidStageDeclarationException({
2065
2065
  $metadata: deserializeMetadata(parsedOutput),
2066
2066
  ...deserialized,
2067
2067
  });
2068
2068
  return __decorateServiceException(exception, body);
2069
2069
  };
2070
- const deserializeAws_json1_1InvalidStructureExceptionResponse = async (parsedOutput, context) => {
2070
+ const de_InvalidStructureExceptionRes = async (parsedOutput, context) => {
2071
2071
  const body = parsedOutput.body;
2072
- const deserialized = deserializeAws_json1_1InvalidStructureException(body, context);
2072
+ const deserialized = de_InvalidStructureException(body, context);
2073
2073
  const exception = new InvalidStructureException({
2074
2074
  $metadata: deserializeMetadata(parsedOutput),
2075
2075
  ...deserialized,
2076
2076
  });
2077
2077
  return __decorateServiceException(exception, body);
2078
2078
  };
2079
- const deserializeAws_json1_1InvalidTagsExceptionResponse = async (parsedOutput, context) => {
2079
+ const de_InvalidTagsExceptionRes = async (parsedOutput, context) => {
2080
2080
  const body = parsedOutput.body;
2081
- const deserialized = deserializeAws_json1_1InvalidTagsException(body, context);
2081
+ const deserialized = de_InvalidTagsException(body, context);
2082
2082
  const exception = new InvalidTagsException({
2083
2083
  $metadata: deserializeMetadata(parsedOutput),
2084
2084
  ...deserialized,
2085
2085
  });
2086
2086
  return __decorateServiceException(exception, body);
2087
2087
  };
2088
- const deserializeAws_json1_1InvalidWebhookAuthenticationParametersExceptionResponse = async (parsedOutput, context) => {
2088
+ const de_InvalidWebhookAuthenticationParametersExceptionRes = async (parsedOutput, context) => {
2089
2089
  const body = parsedOutput.body;
2090
- const deserialized = deserializeAws_json1_1InvalidWebhookAuthenticationParametersException(body, context);
2090
+ const deserialized = de_InvalidWebhookAuthenticationParametersException(body, context);
2091
2091
  const exception = new InvalidWebhookAuthenticationParametersException({
2092
2092
  $metadata: deserializeMetadata(parsedOutput),
2093
2093
  ...deserialized,
2094
2094
  });
2095
2095
  return __decorateServiceException(exception, body);
2096
2096
  };
2097
- const deserializeAws_json1_1InvalidWebhookFilterPatternExceptionResponse = async (parsedOutput, context) => {
2097
+ const de_InvalidWebhookFilterPatternExceptionRes = async (parsedOutput, context) => {
2098
2098
  const body = parsedOutput.body;
2099
- const deserialized = deserializeAws_json1_1InvalidWebhookFilterPatternException(body, context);
2099
+ const deserialized = de_InvalidWebhookFilterPatternException(body, context);
2100
2100
  const exception = new InvalidWebhookFilterPatternException({
2101
2101
  $metadata: deserializeMetadata(parsedOutput),
2102
2102
  ...deserialized,
2103
2103
  });
2104
2104
  return __decorateServiceException(exception, body);
2105
2105
  };
2106
- const deserializeAws_json1_1JobNotFoundExceptionResponse = async (parsedOutput, context) => {
2106
+ const de_JobNotFoundExceptionRes = async (parsedOutput, context) => {
2107
2107
  const body = parsedOutput.body;
2108
- const deserialized = deserializeAws_json1_1JobNotFoundException(body, context);
2108
+ const deserialized = de_JobNotFoundException(body, context);
2109
2109
  const exception = new JobNotFoundException({
2110
2110
  $metadata: deserializeMetadata(parsedOutput),
2111
2111
  ...deserialized,
2112
2112
  });
2113
2113
  return __decorateServiceException(exception, body);
2114
2114
  };
2115
- const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
2115
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
2116
2116
  const body = parsedOutput.body;
2117
- const deserialized = deserializeAws_json1_1LimitExceededException(body, context);
2117
+ const deserialized = de_LimitExceededException(body, context);
2118
2118
  const exception = new LimitExceededException({
2119
2119
  $metadata: deserializeMetadata(parsedOutput),
2120
2120
  ...deserialized,
2121
2121
  });
2122
2122
  return __decorateServiceException(exception, body);
2123
2123
  };
2124
- const deserializeAws_json1_1NotLatestPipelineExecutionExceptionResponse = async (parsedOutput, context) => {
2124
+ const de_NotLatestPipelineExecutionExceptionRes = async (parsedOutput, context) => {
2125
2125
  const body = parsedOutput.body;
2126
- const deserialized = deserializeAws_json1_1NotLatestPipelineExecutionException(body, context);
2126
+ const deserialized = de_NotLatestPipelineExecutionException(body, context);
2127
2127
  const exception = new NotLatestPipelineExecutionException({
2128
2128
  $metadata: deserializeMetadata(parsedOutput),
2129
2129
  ...deserialized,
2130
2130
  });
2131
2131
  return __decorateServiceException(exception, body);
2132
2132
  };
2133
- const deserializeAws_json1_1OutputVariablesSizeExceededExceptionResponse = async (parsedOutput, context) => {
2133
+ const de_OutputVariablesSizeExceededExceptionRes = async (parsedOutput, context) => {
2134
2134
  const body = parsedOutput.body;
2135
- const deserialized = deserializeAws_json1_1OutputVariablesSizeExceededException(body, context);
2135
+ const deserialized = de_OutputVariablesSizeExceededException(body, context);
2136
2136
  const exception = new OutputVariablesSizeExceededException({
2137
2137
  $metadata: deserializeMetadata(parsedOutput),
2138
2138
  ...deserialized,
2139
2139
  });
2140
2140
  return __decorateServiceException(exception, body);
2141
2141
  };
2142
- const deserializeAws_json1_1PipelineExecutionNotFoundExceptionResponse = async (parsedOutput, context) => {
2142
+ const de_PipelineExecutionNotFoundExceptionRes = async (parsedOutput, context) => {
2143
2143
  const body = parsedOutput.body;
2144
- const deserialized = deserializeAws_json1_1PipelineExecutionNotFoundException(body, context);
2144
+ const deserialized = de_PipelineExecutionNotFoundException(body, context);
2145
2145
  const exception = new PipelineExecutionNotFoundException({
2146
2146
  $metadata: deserializeMetadata(parsedOutput),
2147
2147
  ...deserialized,
2148
2148
  });
2149
2149
  return __decorateServiceException(exception, body);
2150
2150
  };
2151
- const deserializeAws_json1_1PipelineExecutionNotStoppableExceptionResponse = async (parsedOutput, context) => {
2151
+ const de_PipelineExecutionNotStoppableExceptionRes = async (parsedOutput, context) => {
2152
2152
  const body = parsedOutput.body;
2153
- const deserialized = deserializeAws_json1_1PipelineExecutionNotStoppableException(body, context);
2153
+ const deserialized = de_PipelineExecutionNotStoppableException(body, context);
2154
2154
  const exception = new PipelineExecutionNotStoppableException({
2155
2155
  $metadata: deserializeMetadata(parsedOutput),
2156
2156
  ...deserialized,
2157
2157
  });
2158
2158
  return __decorateServiceException(exception, body);
2159
2159
  };
2160
- const deserializeAws_json1_1PipelineNameInUseExceptionResponse = async (parsedOutput, context) => {
2160
+ const de_PipelineNameInUseExceptionRes = async (parsedOutput, context) => {
2161
2161
  const body = parsedOutput.body;
2162
- const deserialized = deserializeAws_json1_1PipelineNameInUseException(body, context);
2162
+ const deserialized = de_PipelineNameInUseException(body, context);
2163
2163
  const exception = new PipelineNameInUseException({
2164
2164
  $metadata: deserializeMetadata(parsedOutput),
2165
2165
  ...deserialized,
2166
2166
  });
2167
2167
  return __decorateServiceException(exception, body);
2168
2168
  };
2169
- const deserializeAws_json1_1PipelineNotFoundExceptionResponse = async (parsedOutput, context) => {
2169
+ const de_PipelineNotFoundExceptionRes = async (parsedOutput, context) => {
2170
2170
  const body = parsedOutput.body;
2171
- const deserialized = deserializeAws_json1_1PipelineNotFoundException(body, context);
2171
+ const deserialized = de_PipelineNotFoundException(body, context);
2172
2172
  const exception = new PipelineNotFoundException({
2173
2173
  $metadata: deserializeMetadata(parsedOutput),
2174
2174
  ...deserialized,
2175
2175
  });
2176
2176
  return __decorateServiceException(exception, body);
2177
2177
  };
2178
- const deserializeAws_json1_1PipelineVersionNotFoundExceptionResponse = async (parsedOutput, context) => {
2178
+ const de_PipelineVersionNotFoundExceptionRes = async (parsedOutput, context) => {
2179
2179
  const body = parsedOutput.body;
2180
- const deserialized = deserializeAws_json1_1PipelineVersionNotFoundException(body, context);
2180
+ const deserialized = de_PipelineVersionNotFoundException(body, context);
2181
2181
  const exception = new PipelineVersionNotFoundException({
2182
2182
  $metadata: deserializeMetadata(parsedOutput),
2183
2183
  ...deserialized,
2184
2184
  });
2185
2185
  return __decorateServiceException(exception, body);
2186
2186
  };
2187
- const deserializeAws_json1_1RequestFailedExceptionResponse = async (parsedOutput, context) => {
2187
+ const de_RequestFailedExceptionRes = async (parsedOutput, context) => {
2188
2188
  const body = parsedOutput.body;
2189
- const deserialized = deserializeAws_json1_1RequestFailedException(body, context);
2189
+ const deserialized = de_RequestFailedException(body, context);
2190
2190
  const exception = new RequestFailedException({
2191
2191
  $metadata: deserializeMetadata(parsedOutput),
2192
2192
  ...deserialized,
2193
2193
  });
2194
2194
  return __decorateServiceException(exception, body);
2195
2195
  };
2196
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2196
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2197
2197
  const body = parsedOutput.body;
2198
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
2198
+ const deserialized = de_ResourceNotFoundException(body, context);
2199
2199
  const exception = new ResourceNotFoundException({
2200
2200
  $metadata: deserializeMetadata(parsedOutput),
2201
2201
  ...deserialized,
2202
2202
  });
2203
2203
  return __decorateServiceException(exception, body);
2204
2204
  };
2205
- const deserializeAws_json1_1StageNotFoundExceptionResponse = async (parsedOutput, context) => {
2205
+ const de_StageNotFoundExceptionRes = async (parsedOutput, context) => {
2206
2206
  const body = parsedOutput.body;
2207
- const deserialized = deserializeAws_json1_1StageNotFoundException(body, context);
2207
+ const deserialized = de_StageNotFoundException(body, context);
2208
2208
  const exception = new StageNotFoundException({
2209
2209
  $metadata: deserializeMetadata(parsedOutput),
2210
2210
  ...deserialized,
2211
2211
  });
2212
2212
  return __decorateServiceException(exception, body);
2213
2213
  };
2214
- const deserializeAws_json1_1StageNotRetryableExceptionResponse = async (parsedOutput, context) => {
2214
+ const de_StageNotRetryableExceptionRes = async (parsedOutput, context) => {
2215
2215
  const body = parsedOutput.body;
2216
- const deserialized = deserializeAws_json1_1StageNotRetryableException(body, context);
2216
+ const deserialized = de_StageNotRetryableException(body, context);
2217
2217
  const exception = new StageNotRetryableException({
2218
2218
  $metadata: deserializeMetadata(parsedOutput),
2219
2219
  ...deserialized,
2220
2220
  });
2221
2221
  return __decorateServiceException(exception, body);
2222
2222
  };
2223
- const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
2223
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
2224
2224
  const body = parsedOutput.body;
2225
- const deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
2225
+ const deserialized = de_TooManyTagsException(body, context);
2226
2226
  const exception = new TooManyTagsException({
2227
2227
  $metadata: deserializeMetadata(parsedOutput),
2228
2228
  ...deserialized,
2229
2229
  });
2230
2230
  return __decorateServiceException(exception, body);
2231
2231
  };
2232
- const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
2232
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2233
2233
  const body = parsedOutput.body;
2234
- const deserialized = deserializeAws_json1_1ValidationException(body, context);
2234
+ const deserialized = de_ValidationException(body, context);
2235
2235
  const exception = new ValidationException({
2236
2236
  $metadata: deserializeMetadata(parsedOutput),
2237
2237
  ...deserialized,
2238
2238
  });
2239
2239
  return __decorateServiceException(exception, body);
2240
2240
  };
2241
- const deserializeAws_json1_1WebhookNotFoundExceptionResponse = async (parsedOutput, context) => {
2241
+ const de_WebhookNotFoundExceptionRes = async (parsedOutput, context) => {
2242
2242
  const body = parsedOutput.body;
2243
- const deserialized = deserializeAws_json1_1WebhookNotFoundException(body, context);
2243
+ const deserialized = de_WebhookNotFoundException(body, context);
2244
2244
  const exception = new WebhookNotFoundException({
2245
2245
  $metadata: deserializeMetadata(parsedOutput),
2246
2246
  ...deserialized,
2247
2247
  });
2248
2248
  return __decorateServiceException(exception, body);
2249
2249
  };
2250
- const serializeAws_json1_1AcknowledgeJobInput = (input, context) => {
2250
+ const se_AcknowledgeJobInput = (input, context) => {
2251
2251
  return {
2252
2252
  ...(input.jobId != null && { jobId: input.jobId }),
2253
2253
  ...(input.nonce != null && { nonce: input.nonce }),
2254
2254
  };
2255
2255
  };
2256
- const serializeAws_json1_1AcknowledgeThirdPartyJobInput = (input, context) => {
2256
+ const se_AcknowledgeThirdPartyJobInput = (input, context) => {
2257
2257
  return {
2258
2258
  ...(input.clientToken != null && { clientToken: input.clientToken }),
2259
2259
  ...(input.jobId != null && { jobId: input.jobId }),
2260
2260
  ...(input.nonce != null && { nonce: input.nonce }),
2261
2261
  };
2262
2262
  };
2263
- const serializeAws_json1_1ActionConfigurationMap = (input, context) => {
2263
+ const se_ActionConfigurationMap = (input, context) => {
2264
2264
  return Object.entries(input).reduce((acc, [key, value]) => {
2265
2265
  if (value === null) {
2266
2266
  return acc;
@@ -2269,7 +2269,7 @@ const serializeAws_json1_1ActionConfigurationMap = (input, context) => {
2269
2269
  return acc;
2270
2270
  }, {});
2271
2271
  };
2272
- const serializeAws_json1_1ActionConfigurationProperty = (input, context) => {
2272
+ const se_ActionConfigurationProperty = (input, context) => {
2273
2273
  return {
2274
2274
  ...(input.description != null && { description: input.description }),
2275
2275
  ...(input.key != null && { key: input.key }),
@@ -2280,81 +2280,69 @@ const serializeAws_json1_1ActionConfigurationProperty = (input, context) => {
2280
2280
  ...(input.type != null && { type: input.type }),
2281
2281
  };
2282
2282
  };
2283
- const serializeAws_json1_1ActionConfigurationPropertyList = (input, context) => {
2283
+ const se_ActionConfigurationPropertyList = (input, context) => {
2284
2284
  return input
2285
2285
  .filter((e) => e != null)
2286
2286
  .map((entry) => {
2287
- return serializeAws_json1_1ActionConfigurationProperty(entry, context);
2287
+ return se_ActionConfigurationProperty(entry, context);
2288
2288
  });
2289
2289
  };
2290
- const serializeAws_json1_1ActionDeclaration = (input, context) => {
2290
+ const se_ActionDeclaration = (input, context) => {
2291
2291
  return {
2292
- ...(input.actionTypeId != null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) }),
2293
- ...(input.configuration != null && {
2294
- configuration: serializeAws_json1_1ActionConfigurationMap(input.configuration, context),
2295
- }),
2296
- ...(input.inputArtifacts != null && {
2297
- inputArtifacts: serializeAws_json1_1InputArtifactList(input.inputArtifacts, context),
2298
- }),
2292
+ ...(input.actionTypeId != null && { actionTypeId: se_ActionTypeId(input.actionTypeId, context) }),
2293
+ ...(input.configuration != null && { configuration: se_ActionConfigurationMap(input.configuration, context) }),
2294
+ ...(input.inputArtifacts != null && { inputArtifacts: se_InputArtifactList(input.inputArtifacts, context) }),
2299
2295
  ...(input.name != null && { name: input.name }),
2300
2296
  ...(input.namespace != null && { namespace: input.namespace }),
2301
- ...(input.outputArtifacts != null && {
2302
- outputArtifacts: serializeAws_json1_1OutputArtifactList(input.outputArtifacts, context),
2303
- }),
2297
+ ...(input.outputArtifacts != null && { outputArtifacts: se_OutputArtifactList(input.outputArtifacts, context) }),
2304
2298
  ...(input.region != null && { region: input.region }),
2305
2299
  ...(input.roleArn != null && { roleArn: input.roleArn }),
2306
2300
  ...(input.runOrder != null && { runOrder: input.runOrder }),
2307
2301
  };
2308
2302
  };
2309
- const serializeAws_json1_1ActionExecutionFilter = (input, context) => {
2303
+ const se_ActionExecutionFilter = (input, context) => {
2310
2304
  return {
2311
2305
  ...(input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId }),
2312
2306
  };
2313
2307
  };
2314
- const serializeAws_json1_1ActionRevision = (input, context) => {
2308
+ const se_ActionRevision = (input, context) => {
2315
2309
  return {
2316
2310
  ...(input.created != null && { created: Math.round(input.created.getTime() / 1000) }),
2317
2311
  ...(input.revisionChangeId != null && { revisionChangeId: input.revisionChangeId }),
2318
2312
  ...(input.revisionId != null && { revisionId: input.revisionId }),
2319
2313
  };
2320
2314
  };
2321
- const serializeAws_json1_1ActionTypeArtifactDetails = (input, context) => {
2315
+ const se_ActionTypeArtifactDetails = (input, context) => {
2322
2316
  return {
2323
2317
  ...(input.maximumCount != null && { maximumCount: input.maximumCount }),
2324
2318
  ...(input.minimumCount != null && { minimumCount: input.minimumCount }),
2325
2319
  };
2326
2320
  };
2327
- const serializeAws_json1_1ActionTypeDeclaration = (input, context) => {
2321
+ const se_ActionTypeDeclaration = (input, context) => {
2328
2322
  return {
2329
2323
  ...(input.description != null && { description: input.description }),
2330
- ...(input.executor != null && { executor: serializeAws_json1_1ActionTypeExecutor(input.executor, context) }),
2331
- ...(input.id != null && { id: serializeAws_json1_1ActionTypeIdentifier(input.id, context) }),
2324
+ ...(input.executor != null && { executor: se_ActionTypeExecutor(input.executor, context) }),
2325
+ ...(input.id != null && { id: se_ActionTypeIdentifier(input.id, context) }),
2332
2326
  ...(input.inputArtifactDetails != null && {
2333
- inputArtifactDetails: serializeAws_json1_1ActionTypeArtifactDetails(input.inputArtifactDetails, context),
2327
+ inputArtifactDetails: se_ActionTypeArtifactDetails(input.inputArtifactDetails, context),
2334
2328
  }),
2335
2329
  ...(input.outputArtifactDetails != null && {
2336
- outputArtifactDetails: serializeAws_json1_1ActionTypeArtifactDetails(input.outputArtifactDetails, context),
2337
- }),
2338
- ...(input.permissions != null && {
2339
- permissions: serializeAws_json1_1ActionTypePermissions(input.permissions, context),
2330
+ outputArtifactDetails: se_ActionTypeArtifactDetails(input.outputArtifactDetails, context),
2340
2331
  }),
2341
- ...(input.properties != null && {
2342
- properties: serializeAws_json1_1ActionTypeProperties(input.properties, context),
2343
- }),
2344
- ...(input.urls != null && { urls: serializeAws_json1_1ActionTypeUrls(input.urls, context) }),
2332
+ ...(input.permissions != null && { permissions: se_ActionTypePermissions(input.permissions, context) }),
2333
+ ...(input.properties != null && { properties: se_ActionTypeProperties(input.properties, context) }),
2334
+ ...(input.urls != null && { urls: se_ActionTypeUrls(input.urls, context) }),
2345
2335
  };
2346
2336
  };
2347
- const serializeAws_json1_1ActionTypeExecutor = (input, context) => {
2337
+ const se_ActionTypeExecutor = (input, context) => {
2348
2338
  return {
2349
- ...(input.configuration != null && {
2350
- configuration: serializeAws_json1_1ExecutorConfiguration(input.configuration, context),
2351
- }),
2339
+ ...(input.configuration != null && { configuration: se_ExecutorConfiguration(input.configuration, context) }),
2352
2340
  ...(input.jobTimeout != null && { jobTimeout: input.jobTimeout }),
2353
2341
  ...(input.policyStatementsTemplate != null && { policyStatementsTemplate: input.policyStatementsTemplate }),
2354
2342
  ...(input.type != null && { type: input.type }),
2355
2343
  };
2356
2344
  };
2357
- const serializeAws_json1_1ActionTypeId = (input, context) => {
2345
+ const se_ActionTypeId = (input, context) => {
2358
2346
  return {
2359
2347
  ...(input.category != null && { category: input.category }),
2360
2348
  ...(input.owner != null && { owner: input.owner }),
@@ -2362,7 +2350,7 @@ const serializeAws_json1_1ActionTypeId = (input, context) => {
2362
2350
  ...(input.version != null && { version: input.version }),
2363
2351
  };
2364
2352
  };
2365
- const serializeAws_json1_1ActionTypeIdentifier = (input, context) => {
2353
+ const se_ActionTypeIdentifier = (input, context) => {
2366
2354
  return {
2367
2355
  ...(input.category != null && { category: input.category }),
2368
2356
  ...(input.owner != null && { owner: input.owner }),
@@ -2370,21 +2358,19 @@ const serializeAws_json1_1ActionTypeIdentifier = (input, context) => {
2370
2358
  ...(input.version != null && { version: input.version }),
2371
2359
  };
2372
2360
  };
2373
- const serializeAws_json1_1ActionTypePermissions = (input, context) => {
2361
+ const se_ActionTypePermissions = (input, context) => {
2374
2362
  return {
2375
- ...(input.allowedAccounts != null && {
2376
- allowedAccounts: serializeAws_json1_1AllowedAccounts(input.allowedAccounts, context),
2377
- }),
2363
+ ...(input.allowedAccounts != null && { allowedAccounts: se_AllowedAccounts(input.allowedAccounts, context) }),
2378
2364
  };
2379
2365
  };
2380
- const serializeAws_json1_1ActionTypeProperties = (input, context) => {
2366
+ const se_ActionTypeProperties = (input, context) => {
2381
2367
  return input
2382
2368
  .filter((e) => e != null)
2383
2369
  .map((entry) => {
2384
- return serializeAws_json1_1ActionTypeProperty(entry, context);
2370
+ return se_ActionTypeProperty(entry, context);
2385
2371
  });
2386
2372
  };
2387
- const serializeAws_json1_1ActionTypeProperty = (input, context) => {
2373
+ const se_ActionTypeProperty = (input, context) => {
2388
2374
  return {
2389
2375
  ...(input.description != null && { description: input.description }),
2390
2376
  ...(input.key != null && { key: input.key }),
@@ -2394,7 +2380,7 @@ const serializeAws_json1_1ActionTypeProperty = (input, context) => {
2394
2380
  ...(input.queryable != null && { queryable: input.queryable }),
2395
2381
  };
2396
2382
  };
2397
- const serializeAws_json1_1ActionTypeSettings = (input, context) => {
2383
+ const se_ActionTypeSettings = (input, context) => {
2398
2384
  return {
2399
2385
  ...(input.entityUrlTemplate != null && { entityUrlTemplate: input.entityUrlTemplate }),
2400
2386
  ...(input.executionUrlTemplate != null && { executionUrlTemplate: input.executionUrlTemplate }),
@@ -2402,7 +2388,7 @@ const serializeAws_json1_1ActionTypeSettings = (input, context) => {
2402
2388
  ...(input.thirdPartyConfigurationUrl != null && { thirdPartyConfigurationUrl: input.thirdPartyConfigurationUrl }),
2403
2389
  };
2404
2390
  };
2405
- const serializeAws_json1_1ActionTypeUrls = (input, context) => {
2391
+ const se_ActionTypeUrls = (input, context) => {
2406
2392
  return {
2407
2393
  ...(input.configurationUrl != null && { configurationUrl: input.configurationUrl }),
2408
2394
  ...(input.entityUrlTemplate != null && { entityUrlTemplate: input.entityUrlTemplate }),
@@ -2410,74 +2396,72 @@ const serializeAws_json1_1ActionTypeUrls = (input, context) => {
2410
2396
  ...(input.revisionUrlTemplate != null && { revisionUrlTemplate: input.revisionUrlTemplate }),
2411
2397
  };
2412
2398
  };
2413
- const serializeAws_json1_1AllowedAccounts = (input, context) => {
2399
+ const se_AllowedAccounts = (input, context) => {
2414
2400
  return input
2415
2401
  .filter((e) => e != null)
2416
2402
  .map((entry) => {
2417
2403
  return entry;
2418
2404
  });
2419
2405
  };
2420
- const serializeAws_json1_1ApprovalResult = (input, context) => {
2406
+ const se_ApprovalResult = (input, context) => {
2421
2407
  return {
2422
2408
  ...(input.status != null && { status: input.status }),
2423
2409
  ...(input.summary != null && { summary: input.summary }),
2424
2410
  };
2425
2411
  };
2426
- const serializeAws_json1_1ArtifactDetails = (input, context) => {
2412
+ const se_ArtifactDetails = (input, context) => {
2427
2413
  return {
2428
2414
  ...(input.maximumCount != null && { maximumCount: input.maximumCount }),
2429
2415
  ...(input.minimumCount != null && { minimumCount: input.minimumCount }),
2430
2416
  };
2431
2417
  };
2432
- const serializeAws_json1_1ArtifactStore = (input, context) => {
2418
+ const se_ArtifactStore = (input, context) => {
2433
2419
  return {
2434
- ...(input.encryptionKey != null && {
2435
- encryptionKey: serializeAws_json1_1EncryptionKey(input.encryptionKey, context),
2436
- }),
2420
+ ...(input.encryptionKey != null && { encryptionKey: se_EncryptionKey(input.encryptionKey, context) }),
2437
2421
  ...(input.location != null && { location: input.location }),
2438
2422
  ...(input.type != null && { type: input.type }),
2439
2423
  };
2440
2424
  };
2441
- const serializeAws_json1_1ArtifactStoreMap = (input, context) => {
2425
+ const se_ArtifactStoreMap = (input, context) => {
2442
2426
  return Object.entries(input).reduce((acc, [key, value]) => {
2443
2427
  if (value === null) {
2444
2428
  return acc;
2445
2429
  }
2446
- acc[key] = serializeAws_json1_1ArtifactStore(value, context);
2430
+ acc[key] = se_ArtifactStore(value, context);
2447
2431
  return acc;
2448
2432
  }, {});
2449
2433
  };
2450
- const serializeAws_json1_1BlockerDeclaration = (input, context) => {
2434
+ const se_BlockerDeclaration = (input, context) => {
2451
2435
  return {
2452
2436
  ...(input.name != null && { name: input.name }),
2453
2437
  ...(input.type != null && { type: input.type }),
2454
2438
  };
2455
2439
  };
2456
- const serializeAws_json1_1CreateCustomActionTypeInput = (input, context) => {
2440
+ const se_CreateCustomActionTypeInput = (input, context) => {
2457
2441
  return {
2458
2442
  ...(input.category != null && { category: input.category }),
2459
2443
  ...(input.configurationProperties != null && {
2460
- configurationProperties: serializeAws_json1_1ActionConfigurationPropertyList(input.configurationProperties, context),
2444
+ configurationProperties: se_ActionConfigurationPropertyList(input.configurationProperties, context),
2461
2445
  }),
2462
2446
  ...(input.inputArtifactDetails != null && {
2463
- inputArtifactDetails: serializeAws_json1_1ArtifactDetails(input.inputArtifactDetails, context),
2447
+ inputArtifactDetails: se_ArtifactDetails(input.inputArtifactDetails, context),
2464
2448
  }),
2465
2449
  ...(input.outputArtifactDetails != null && {
2466
- outputArtifactDetails: serializeAws_json1_1ArtifactDetails(input.outputArtifactDetails, context),
2450
+ outputArtifactDetails: se_ArtifactDetails(input.outputArtifactDetails, context),
2467
2451
  }),
2468
2452
  ...(input.provider != null && { provider: input.provider }),
2469
- ...(input.settings != null && { settings: serializeAws_json1_1ActionTypeSettings(input.settings, context) }),
2470
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2453
+ ...(input.settings != null && { settings: se_ActionTypeSettings(input.settings, context) }),
2454
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2471
2455
  ...(input.version != null && { version: input.version }),
2472
2456
  };
2473
2457
  };
2474
- const serializeAws_json1_1CreatePipelineInput = (input, context) => {
2458
+ const se_CreatePipelineInput = (input, context) => {
2475
2459
  return {
2476
- ...(input.pipeline != null && { pipeline: serializeAws_json1_1PipelineDeclaration(input.pipeline, context) }),
2477
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2460
+ ...(input.pipeline != null && { pipeline: se_PipelineDeclaration(input.pipeline, context) }),
2461
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2478
2462
  };
2479
2463
  };
2480
- const serializeAws_json1_1CurrentRevision = (input, context) => {
2464
+ const se_CurrentRevision = (input, context) => {
2481
2465
  return {
2482
2466
  ...(input.changeIdentifier != null && { changeIdentifier: input.changeIdentifier }),
2483
2467
  ...(input.created != null && { created: Math.round(input.created.getTime() / 1000) }),
@@ -2485,29 +2469,29 @@ const serializeAws_json1_1CurrentRevision = (input, context) => {
2485
2469
  ...(input.revisionSummary != null && { revisionSummary: input.revisionSummary }),
2486
2470
  };
2487
2471
  };
2488
- const serializeAws_json1_1DeleteCustomActionTypeInput = (input, context) => {
2472
+ const se_DeleteCustomActionTypeInput = (input, context) => {
2489
2473
  return {
2490
2474
  ...(input.category != null && { category: input.category }),
2491
2475
  ...(input.provider != null && { provider: input.provider }),
2492
2476
  ...(input.version != null && { version: input.version }),
2493
2477
  };
2494
2478
  };
2495
- const serializeAws_json1_1DeletePipelineInput = (input, context) => {
2479
+ const se_DeletePipelineInput = (input, context) => {
2496
2480
  return {
2497
2481
  ...(input.name != null && { name: input.name }),
2498
2482
  };
2499
2483
  };
2500
- const serializeAws_json1_1DeleteWebhookInput = (input, context) => {
2484
+ const se_DeleteWebhookInput = (input, context) => {
2501
2485
  return {
2502
2486
  ...(input.name != null && { name: input.name }),
2503
2487
  };
2504
2488
  };
2505
- const serializeAws_json1_1DeregisterWebhookWithThirdPartyInput = (input, context) => {
2489
+ const se_DeregisterWebhookWithThirdPartyInput = (input, context) => {
2506
2490
  return {
2507
2491
  ...(input.webhookName != null && { webhookName: input.webhookName }),
2508
2492
  };
2509
2493
  };
2510
- const serializeAws_json1_1DisableStageTransitionInput = (input, context) => {
2494
+ const se_DisableStageTransitionInput = (input, context) => {
2511
2495
  return {
2512
2496
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
2513
2497
  ...(input.reason != null && { reason: input.reason }),
@@ -2515,44 +2499,44 @@ const serializeAws_json1_1DisableStageTransitionInput = (input, context) => {
2515
2499
  ...(input.transitionType != null && { transitionType: input.transitionType }),
2516
2500
  };
2517
2501
  };
2518
- const serializeAws_json1_1EnableStageTransitionInput = (input, context) => {
2502
+ const se_EnableStageTransitionInput = (input, context) => {
2519
2503
  return {
2520
2504
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
2521
2505
  ...(input.stageName != null && { stageName: input.stageName }),
2522
2506
  ...(input.transitionType != null && { transitionType: input.transitionType }),
2523
2507
  };
2524
2508
  };
2525
- const serializeAws_json1_1EncryptionKey = (input, context) => {
2509
+ const se_EncryptionKey = (input, context) => {
2526
2510
  return {
2527
2511
  ...(input.id != null && { id: input.id }),
2528
2512
  ...(input.type != null && { type: input.type }),
2529
2513
  };
2530
2514
  };
2531
- const serializeAws_json1_1ExecutionDetails = (input, context) => {
2515
+ const se_ExecutionDetails = (input, context) => {
2532
2516
  return {
2533
2517
  ...(input.externalExecutionId != null && { externalExecutionId: input.externalExecutionId }),
2534
2518
  ...(input.percentComplete != null && { percentComplete: input.percentComplete }),
2535
2519
  ...(input.summary != null && { summary: input.summary }),
2536
2520
  };
2537
2521
  };
2538
- const serializeAws_json1_1ExecutorConfiguration = (input, context) => {
2522
+ const se_ExecutorConfiguration = (input, context) => {
2539
2523
  return {
2540
2524
  ...(input.jobWorkerExecutorConfiguration != null && {
2541
- jobWorkerExecutorConfiguration: serializeAws_json1_1JobWorkerExecutorConfiguration(input.jobWorkerExecutorConfiguration, context),
2525
+ jobWorkerExecutorConfiguration: se_JobWorkerExecutorConfiguration(input.jobWorkerExecutorConfiguration, context),
2542
2526
  }),
2543
2527
  ...(input.lambdaExecutorConfiguration != null && {
2544
- lambdaExecutorConfiguration: serializeAws_json1_1LambdaExecutorConfiguration(input.lambdaExecutorConfiguration, context),
2528
+ lambdaExecutorConfiguration: se_LambdaExecutorConfiguration(input.lambdaExecutorConfiguration, context),
2545
2529
  }),
2546
2530
  };
2547
2531
  };
2548
- const serializeAws_json1_1FailureDetails = (input, context) => {
2532
+ const se_FailureDetails = (input, context) => {
2549
2533
  return {
2550
2534
  ...(input.externalExecutionId != null && { externalExecutionId: input.externalExecutionId }),
2551
2535
  ...(input.message != null && { message: input.message }),
2552
2536
  ...(input.type != null && { type: input.type }),
2553
2537
  };
2554
2538
  };
2555
- const serializeAws_json1_1GetActionTypeInput = (input, context) => {
2539
+ const se_GetActionTypeInput = (input, context) => {
2556
2540
  return {
2557
2541
  ...(input.category != null && { category: input.category }),
2558
2542
  ...(input.owner != null && { owner: input.owner }),
@@ -2560,115 +2544,113 @@ const serializeAws_json1_1GetActionTypeInput = (input, context) => {
2560
2544
  ...(input.version != null && { version: input.version }),
2561
2545
  };
2562
2546
  };
2563
- const serializeAws_json1_1GetJobDetailsInput = (input, context) => {
2547
+ const se_GetJobDetailsInput = (input, context) => {
2564
2548
  return {
2565
2549
  ...(input.jobId != null && { jobId: input.jobId }),
2566
2550
  };
2567
2551
  };
2568
- const serializeAws_json1_1GetPipelineExecutionInput = (input, context) => {
2552
+ const se_GetPipelineExecutionInput = (input, context) => {
2569
2553
  return {
2570
2554
  ...(input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId }),
2571
2555
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
2572
2556
  };
2573
2557
  };
2574
- const serializeAws_json1_1GetPipelineInput = (input, context) => {
2558
+ const se_GetPipelineInput = (input, context) => {
2575
2559
  return {
2576
2560
  ...(input.name != null && { name: input.name }),
2577
2561
  ...(input.version != null && { version: input.version }),
2578
2562
  };
2579
2563
  };
2580
- const serializeAws_json1_1GetPipelineStateInput = (input, context) => {
2564
+ const se_GetPipelineStateInput = (input, context) => {
2581
2565
  return {
2582
2566
  ...(input.name != null && { name: input.name }),
2583
2567
  };
2584
2568
  };
2585
- const serializeAws_json1_1GetThirdPartyJobDetailsInput = (input, context) => {
2569
+ const se_GetThirdPartyJobDetailsInput = (input, context) => {
2586
2570
  return {
2587
2571
  ...(input.clientToken != null && { clientToken: input.clientToken }),
2588
2572
  ...(input.jobId != null && { jobId: input.jobId }),
2589
2573
  };
2590
2574
  };
2591
- const serializeAws_json1_1InputArtifact = (input, context) => {
2575
+ const se_InputArtifact = (input, context) => {
2592
2576
  return {
2593
2577
  ...(input.name != null && { name: input.name }),
2594
2578
  };
2595
2579
  };
2596
- const serializeAws_json1_1InputArtifactList = (input, context) => {
2580
+ const se_InputArtifactList = (input, context) => {
2597
2581
  return input
2598
2582
  .filter((e) => e != null)
2599
2583
  .map((entry) => {
2600
- return serializeAws_json1_1InputArtifact(entry, context);
2584
+ return se_InputArtifact(entry, context);
2601
2585
  });
2602
2586
  };
2603
- const serializeAws_json1_1JobWorkerExecutorConfiguration = (input, context) => {
2587
+ const se_JobWorkerExecutorConfiguration = (input, context) => {
2604
2588
  return {
2605
- ...(input.pollingAccounts != null && {
2606
- pollingAccounts: serializeAws_json1_1PollingAccountList(input.pollingAccounts, context),
2607
- }),
2589
+ ...(input.pollingAccounts != null && { pollingAccounts: se_PollingAccountList(input.pollingAccounts, context) }),
2608
2590
  ...(input.pollingServicePrincipals != null && {
2609
- pollingServicePrincipals: serializeAws_json1_1PollingServicePrincipalList(input.pollingServicePrincipals, context),
2591
+ pollingServicePrincipals: se_PollingServicePrincipalList(input.pollingServicePrincipals, context),
2610
2592
  }),
2611
2593
  };
2612
2594
  };
2613
- const serializeAws_json1_1LambdaExecutorConfiguration = (input, context) => {
2595
+ const se_LambdaExecutorConfiguration = (input, context) => {
2614
2596
  return {
2615
2597
  ...(input.lambdaFunctionArn != null && { lambdaFunctionArn: input.lambdaFunctionArn }),
2616
2598
  };
2617
2599
  };
2618
- const serializeAws_json1_1ListActionExecutionsInput = (input, context) => {
2600
+ const se_ListActionExecutionsInput = (input, context) => {
2619
2601
  return {
2620
- ...(input.filter != null && { filter: serializeAws_json1_1ActionExecutionFilter(input.filter, context) }),
2602
+ ...(input.filter != null && { filter: se_ActionExecutionFilter(input.filter, context) }),
2621
2603
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2622
2604
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2623
2605
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
2624
2606
  };
2625
2607
  };
2626
- const serializeAws_json1_1ListActionTypesInput = (input, context) => {
2608
+ const se_ListActionTypesInput = (input, context) => {
2627
2609
  return {
2628
2610
  ...(input.actionOwnerFilter != null && { actionOwnerFilter: input.actionOwnerFilter }),
2629
2611
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2630
2612
  ...(input.regionFilter != null && { regionFilter: input.regionFilter }),
2631
2613
  };
2632
2614
  };
2633
- const serializeAws_json1_1ListPipelineExecutionsInput = (input, context) => {
2615
+ const se_ListPipelineExecutionsInput = (input, context) => {
2634
2616
  return {
2635
2617
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2636
2618
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2637
2619
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
2638
2620
  };
2639
2621
  };
2640
- const serializeAws_json1_1ListPipelinesInput = (input, context) => {
2622
+ const se_ListPipelinesInput = (input, context) => {
2641
2623
  return {
2642
2624
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2643
2625
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2644
2626
  };
2645
2627
  };
2646
- const serializeAws_json1_1ListTagsForResourceInput = (input, context) => {
2628
+ const se_ListTagsForResourceInput = (input, context) => {
2647
2629
  return {
2648
2630
  ...(input.maxResults != null && { maxResults: input.maxResults }),
2649
2631
  ...(input.nextToken != null && { nextToken: input.nextToken }),
2650
2632
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2651
2633
  };
2652
2634
  };
2653
- const serializeAws_json1_1ListWebhooksInput = (input, context) => {
2635
+ const se_ListWebhooksInput = (input, context) => {
2654
2636
  return {
2655
2637
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2656
2638
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2657
2639
  };
2658
2640
  };
2659
- const serializeAws_json1_1OutputArtifact = (input, context) => {
2641
+ const se_OutputArtifact = (input, context) => {
2660
2642
  return {
2661
2643
  ...(input.name != null && { name: input.name }),
2662
2644
  };
2663
2645
  };
2664
- const serializeAws_json1_1OutputArtifactList = (input, context) => {
2646
+ const se_OutputArtifactList = (input, context) => {
2665
2647
  return input
2666
2648
  .filter((e) => e != null)
2667
2649
  .map((entry) => {
2668
- return serializeAws_json1_1OutputArtifact(entry, context);
2650
+ return se_OutputArtifact(entry, context);
2669
2651
  });
2670
2652
  };
2671
- const serializeAws_json1_1OutputVariablesMap = (input, context) => {
2653
+ const se_OutputVariablesMap = (input, context) => {
2672
2654
  return Object.entries(input).reduce((acc, [key, value]) => {
2673
2655
  if (value === null) {
2674
2656
  return acc;
@@ -2677,125 +2659,105 @@ const serializeAws_json1_1OutputVariablesMap = (input, context) => {
2677
2659
  return acc;
2678
2660
  }, {});
2679
2661
  };
2680
- const serializeAws_json1_1PipelineDeclaration = (input, context) => {
2662
+ const se_PipelineDeclaration = (input, context) => {
2681
2663
  return {
2682
- ...(input.artifactStore != null && {
2683
- artifactStore: serializeAws_json1_1ArtifactStore(input.artifactStore, context),
2684
- }),
2685
- ...(input.artifactStores != null && {
2686
- artifactStores: serializeAws_json1_1ArtifactStoreMap(input.artifactStores, context),
2687
- }),
2664
+ ...(input.artifactStore != null && { artifactStore: se_ArtifactStore(input.artifactStore, context) }),
2665
+ ...(input.artifactStores != null && { artifactStores: se_ArtifactStoreMap(input.artifactStores, context) }),
2688
2666
  ...(input.name != null && { name: input.name }),
2689
2667
  ...(input.roleArn != null && { roleArn: input.roleArn }),
2690
- ...(input.stages != null && { stages: serializeAws_json1_1PipelineStageDeclarationList(input.stages, context) }),
2668
+ ...(input.stages != null && { stages: se_PipelineStageDeclarationList(input.stages, context) }),
2691
2669
  ...(input.version != null && { version: input.version }),
2692
2670
  };
2693
2671
  };
2694
- const serializeAws_json1_1PipelineStageDeclarationList = (input, context) => {
2672
+ const se_PipelineStageDeclarationList = (input, context) => {
2695
2673
  return input
2696
2674
  .filter((e) => e != null)
2697
2675
  .map((entry) => {
2698
- return serializeAws_json1_1StageDeclaration(entry, context);
2676
+ return se_StageDeclaration(entry, context);
2699
2677
  });
2700
2678
  };
2701
- const serializeAws_json1_1PollForJobsInput = (input, context) => {
2679
+ const se_PollForJobsInput = (input, context) => {
2702
2680
  return {
2703
- ...(input.actionTypeId != null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) }),
2681
+ ...(input.actionTypeId != null && { actionTypeId: se_ActionTypeId(input.actionTypeId, context) }),
2704
2682
  ...(input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize }),
2705
- ...(input.queryParam != null && { queryParam: serializeAws_json1_1QueryParamMap(input.queryParam, context) }),
2683
+ ...(input.queryParam != null && { queryParam: se_QueryParamMap(input.queryParam, context) }),
2706
2684
  };
2707
2685
  };
2708
- const serializeAws_json1_1PollForThirdPartyJobsInput = (input, context) => {
2686
+ const se_PollForThirdPartyJobsInput = (input, context) => {
2709
2687
  return {
2710
- ...(input.actionTypeId != null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) }),
2688
+ ...(input.actionTypeId != null && { actionTypeId: se_ActionTypeId(input.actionTypeId, context) }),
2711
2689
  ...(input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize }),
2712
2690
  };
2713
2691
  };
2714
- const serializeAws_json1_1PollingAccountList = (input, context) => {
2692
+ const se_PollingAccountList = (input, context) => {
2715
2693
  return input
2716
2694
  .filter((e) => e != null)
2717
2695
  .map((entry) => {
2718
2696
  return entry;
2719
2697
  });
2720
2698
  };
2721
- const serializeAws_json1_1PollingServicePrincipalList = (input, context) => {
2699
+ const se_PollingServicePrincipalList = (input, context) => {
2722
2700
  return input
2723
2701
  .filter((e) => e != null)
2724
2702
  .map((entry) => {
2725
2703
  return entry;
2726
2704
  });
2727
2705
  };
2728
- const serializeAws_json1_1PutActionRevisionInput = (input, context) => {
2706
+ const se_PutActionRevisionInput = (input, context) => {
2729
2707
  return {
2730
2708
  ...(input.actionName != null && { actionName: input.actionName }),
2731
- ...(input.actionRevision != null && {
2732
- actionRevision: serializeAws_json1_1ActionRevision(input.actionRevision, context),
2733
- }),
2709
+ ...(input.actionRevision != null && { actionRevision: se_ActionRevision(input.actionRevision, context) }),
2734
2710
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
2735
2711
  ...(input.stageName != null && { stageName: input.stageName }),
2736
2712
  };
2737
2713
  };
2738
- const serializeAws_json1_1PutApprovalResultInput = (input, context) => {
2714
+ const se_PutApprovalResultInput = (input, context) => {
2739
2715
  return {
2740
2716
  ...(input.actionName != null && { actionName: input.actionName }),
2741
2717
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
2742
- ...(input.result != null && { result: serializeAws_json1_1ApprovalResult(input.result, context) }),
2718
+ ...(input.result != null && { result: se_ApprovalResult(input.result, context) }),
2743
2719
  ...(input.stageName != null && { stageName: input.stageName }),
2744
2720
  ...(input.token != null && { token: input.token }),
2745
2721
  };
2746
2722
  };
2747
- const serializeAws_json1_1PutJobFailureResultInput = (input, context) => {
2723
+ const se_PutJobFailureResultInput = (input, context) => {
2748
2724
  return {
2749
- ...(input.failureDetails != null && {
2750
- failureDetails: serializeAws_json1_1FailureDetails(input.failureDetails, context),
2751
- }),
2725
+ ...(input.failureDetails != null && { failureDetails: se_FailureDetails(input.failureDetails, context) }),
2752
2726
  ...(input.jobId != null && { jobId: input.jobId }),
2753
2727
  };
2754
2728
  };
2755
- const serializeAws_json1_1PutJobSuccessResultInput = (input, context) => {
2729
+ const se_PutJobSuccessResultInput = (input, context) => {
2756
2730
  return {
2757
2731
  ...(input.continuationToken != null && { continuationToken: input.continuationToken }),
2758
- ...(input.currentRevision != null && {
2759
- currentRevision: serializeAws_json1_1CurrentRevision(input.currentRevision, context),
2760
- }),
2761
- ...(input.executionDetails != null && {
2762
- executionDetails: serializeAws_json1_1ExecutionDetails(input.executionDetails, context),
2763
- }),
2732
+ ...(input.currentRevision != null && { currentRevision: se_CurrentRevision(input.currentRevision, context) }),
2733
+ ...(input.executionDetails != null && { executionDetails: se_ExecutionDetails(input.executionDetails, context) }),
2764
2734
  ...(input.jobId != null && { jobId: input.jobId }),
2765
- ...(input.outputVariables != null && {
2766
- outputVariables: serializeAws_json1_1OutputVariablesMap(input.outputVariables, context),
2767
- }),
2735
+ ...(input.outputVariables != null && { outputVariables: se_OutputVariablesMap(input.outputVariables, context) }),
2768
2736
  };
2769
2737
  };
2770
- const serializeAws_json1_1PutThirdPartyJobFailureResultInput = (input, context) => {
2738
+ const se_PutThirdPartyJobFailureResultInput = (input, context) => {
2771
2739
  return {
2772
2740
  ...(input.clientToken != null && { clientToken: input.clientToken }),
2773
- ...(input.failureDetails != null && {
2774
- failureDetails: serializeAws_json1_1FailureDetails(input.failureDetails, context),
2775
- }),
2741
+ ...(input.failureDetails != null && { failureDetails: se_FailureDetails(input.failureDetails, context) }),
2776
2742
  ...(input.jobId != null && { jobId: input.jobId }),
2777
2743
  };
2778
2744
  };
2779
- const serializeAws_json1_1PutThirdPartyJobSuccessResultInput = (input, context) => {
2745
+ const se_PutThirdPartyJobSuccessResultInput = (input, context) => {
2780
2746
  return {
2781
2747
  ...(input.clientToken != null && { clientToken: input.clientToken }),
2782
2748
  ...(input.continuationToken != null && { continuationToken: input.continuationToken }),
2783
- ...(input.currentRevision != null && {
2784
- currentRevision: serializeAws_json1_1CurrentRevision(input.currentRevision, context),
2785
- }),
2786
- ...(input.executionDetails != null && {
2787
- executionDetails: serializeAws_json1_1ExecutionDetails(input.executionDetails, context),
2788
- }),
2749
+ ...(input.currentRevision != null && { currentRevision: se_CurrentRevision(input.currentRevision, context) }),
2750
+ ...(input.executionDetails != null && { executionDetails: se_ExecutionDetails(input.executionDetails, context) }),
2789
2751
  ...(input.jobId != null && { jobId: input.jobId }),
2790
2752
  };
2791
2753
  };
2792
- const serializeAws_json1_1PutWebhookInput = (input, context) => {
2754
+ const se_PutWebhookInput = (input, context) => {
2793
2755
  return {
2794
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2795
- ...(input.webhook != null && { webhook: serializeAws_json1_1WebhookDefinition(input.webhook, context) }),
2756
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2757
+ ...(input.webhook != null && { webhook: se_WebhookDefinition(input.webhook, context) }),
2796
2758
  };
2797
2759
  };
2798
- const serializeAws_json1_1QueryParamMap = (input, context) => {
2760
+ const se_QueryParamMap = (input, context) => {
2799
2761
  return Object.entries(input).reduce((acc, [key, value]) => {
2800
2762
  if (value === null) {
2801
2763
  return acc;
@@ -2804,12 +2766,12 @@ const serializeAws_json1_1QueryParamMap = (input, context) => {
2804
2766
  return acc;
2805
2767
  }, {});
2806
2768
  };
2807
- const serializeAws_json1_1RegisterWebhookWithThirdPartyInput = (input, context) => {
2769
+ const se_RegisterWebhookWithThirdPartyInput = (input, context) => {
2808
2770
  return {
2809
2771
  ...(input.webhookName != null && { webhookName: input.webhookName }),
2810
2772
  };
2811
2773
  };
2812
- const serializeAws_json1_1RetryStageExecutionInput = (input, context) => {
2774
+ const se_RetryStageExecutionInput = (input, context) => {
2813
2775
  return {
2814
2776
  ...(input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId }),
2815
2777
  ...(input.pipelineName != null && { pipelineName: input.pipelineName }),
@@ -2817,36 +2779,34 @@ const serializeAws_json1_1RetryStageExecutionInput = (input, context) => {
2817
2779
  ...(input.stageName != null && { stageName: input.stageName }),
2818
2780
  };
2819
2781
  };
2820
- const serializeAws_json1_1StageActionDeclarationList = (input, context) => {
2782
+ const se_StageActionDeclarationList = (input, context) => {
2821
2783
  return input
2822
2784
  .filter((e) => e != null)
2823
2785
  .map((entry) => {
2824
- return serializeAws_json1_1ActionDeclaration(entry, context);
2786
+ return se_ActionDeclaration(entry, context);
2825
2787
  });
2826
2788
  };
2827
- const serializeAws_json1_1StageBlockerDeclarationList = (input, context) => {
2789
+ const se_StageBlockerDeclarationList = (input, context) => {
2828
2790
  return input
2829
2791
  .filter((e) => e != null)
2830
2792
  .map((entry) => {
2831
- return serializeAws_json1_1BlockerDeclaration(entry, context);
2793
+ return se_BlockerDeclaration(entry, context);
2832
2794
  });
2833
2795
  };
2834
- const serializeAws_json1_1StageDeclaration = (input, context) => {
2796
+ const se_StageDeclaration = (input, context) => {
2835
2797
  return {
2836
- ...(input.actions != null && { actions: serializeAws_json1_1StageActionDeclarationList(input.actions, context) }),
2837
- ...(input.blockers != null && {
2838
- blockers: serializeAws_json1_1StageBlockerDeclarationList(input.blockers, context),
2839
- }),
2798
+ ...(input.actions != null && { actions: se_StageActionDeclarationList(input.actions, context) }),
2799
+ ...(input.blockers != null && { blockers: se_StageBlockerDeclarationList(input.blockers, context) }),
2840
2800
  ...(input.name != null && { name: input.name }),
2841
2801
  };
2842
2802
  };
2843
- const serializeAws_json1_1StartPipelineExecutionInput = (input, context) => {
2803
+ const se_StartPipelineExecutionInput = (input, context) => {
2844
2804
  return {
2845
2805
  clientRequestToken: input.clientRequestToken ?? generateIdempotencyToken(),
2846
2806
  ...(input.name != null && { name: input.name }),
2847
2807
  };
2848
2808
  };
2849
- const serializeAws_json1_1StopPipelineExecutionInput = (input, context) => {
2809
+ const se_StopPipelineExecutionInput = (input, context) => {
2850
2810
  return {
2851
2811
  ...(input.abandon != null && { abandon: input.abandon }),
2852
2812
  ...(input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId }),
@@ -2854,99 +2814,95 @@ const serializeAws_json1_1StopPipelineExecutionInput = (input, context) => {
2854
2814
  ...(input.reason != null && { reason: input.reason }),
2855
2815
  };
2856
2816
  };
2857
- const serializeAws_json1_1Tag = (input, context) => {
2817
+ const se_Tag = (input, context) => {
2858
2818
  return {
2859
2819
  ...(input.key != null && { key: input.key }),
2860
2820
  ...(input.value != null && { value: input.value }),
2861
2821
  };
2862
2822
  };
2863
- const serializeAws_json1_1TagKeyList = (input, context) => {
2823
+ const se_TagKeyList = (input, context) => {
2864
2824
  return input
2865
2825
  .filter((e) => e != null)
2866
2826
  .map((entry) => {
2867
2827
  return entry;
2868
2828
  });
2869
2829
  };
2870
- const serializeAws_json1_1TagList = (input, context) => {
2830
+ const se_TagList = (input, context) => {
2871
2831
  return input
2872
2832
  .filter((e) => e != null)
2873
2833
  .map((entry) => {
2874
- return serializeAws_json1_1Tag(entry, context);
2834
+ return se_Tag(entry, context);
2875
2835
  });
2876
2836
  };
2877
- const serializeAws_json1_1TagResourceInput = (input, context) => {
2837
+ const se_TagResourceInput = (input, context) => {
2878
2838
  return {
2879
2839
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2880
- ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
2840
+ ...(input.tags != null && { tags: se_TagList(input.tags, context) }),
2881
2841
  };
2882
2842
  };
2883
- const serializeAws_json1_1UntagResourceInput = (input, context) => {
2843
+ const se_UntagResourceInput = (input, context) => {
2884
2844
  return {
2885
2845
  ...(input.resourceArn != null && { resourceArn: input.resourceArn }),
2886
- ...(input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }),
2846
+ ...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
2887
2847
  };
2888
2848
  };
2889
- const serializeAws_json1_1UpdateActionTypeInput = (input, context) => {
2849
+ const se_UpdateActionTypeInput = (input, context) => {
2890
2850
  return {
2891
- ...(input.actionType != null && {
2892
- actionType: serializeAws_json1_1ActionTypeDeclaration(input.actionType, context),
2893
- }),
2851
+ ...(input.actionType != null && { actionType: se_ActionTypeDeclaration(input.actionType, context) }),
2894
2852
  };
2895
2853
  };
2896
- const serializeAws_json1_1UpdatePipelineInput = (input, context) => {
2854
+ const se_UpdatePipelineInput = (input, context) => {
2897
2855
  return {
2898
- ...(input.pipeline != null && { pipeline: serializeAws_json1_1PipelineDeclaration(input.pipeline, context) }),
2856
+ ...(input.pipeline != null && { pipeline: se_PipelineDeclaration(input.pipeline, context) }),
2899
2857
  };
2900
2858
  };
2901
- const serializeAws_json1_1WebhookAuthConfiguration = (input, context) => {
2859
+ const se_WebhookAuthConfiguration = (input, context) => {
2902
2860
  return {
2903
2861
  ...(input.AllowedIPRange != null && { AllowedIPRange: input.AllowedIPRange }),
2904
2862
  ...(input.SecretToken != null && { SecretToken: input.SecretToken }),
2905
2863
  };
2906
2864
  };
2907
- const serializeAws_json1_1WebhookDefinition = (input, context) => {
2865
+ const se_WebhookDefinition = (input, context) => {
2908
2866
  return {
2909
2867
  ...(input.authentication != null && { authentication: input.authentication }),
2910
2868
  ...(input.authenticationConfiguration != null && {
2911
- authenticationConfiguration: serializeAws_json1_1WebhookAuthConfiguration(input.authenticationConfiguration, context),
2869
+ authenticationConfiguration: se_WebhookAuthConfiguration(input.authenticationConfiguration, context),
2912
2870
  }),
2913
- ...(input.filters != null && { filters: serializeAws_json1_1WebhookFilters(input.filters, context) }),
2871
+ ...(input.filters != null && { filters: se_WebhookFilters(input.filters, context) }),
2914
2872
  ...(input.name != null && { name: input.name }),
2915
2873
  ...(input.targetAction != null && { targetAction: input.targetAction }),
2916
2874
  ...(input.targetPipeline != null && { targetPipeline: input.targetPipeline }),
2917
2875
  };
2918
2876
  };
2919
- const serializeAws_json1_1WebhookFilterRule = (input, context) => {
2877
+ const se_WebhookFilterRule = (input, context) => {
2920
2878
  return {
2921
2879
  ...(input.jsonPath != null && { jsonPath: input.jsonPath }),
2922
2880
  ...(input.matchEquals != null && { matchEquals: input.matchEquals }),
2923
2881
  };
2924
2882
  };
2925
- const serializeAws_json1_1WebhookFilters = (input, context) => {
2883
+ const se_WebhookFilters = (input, context) => {
2926
2884
  return input
2927
2885
  .filter((e) => e != null)
2928
2886
  .map((entry) => {
2929
- return serializeAws_json1_1WebhookFilterRule(entry, context);
2887
+ return se_WebhookFilterRule(entry, context);
2930
2888
  });
2931
2889
  };
2932
- const deserializeAws_json1_1AcknowledgeJobOutput = (output, context) => {
2890
+ const de_AcknowledgeJobOutput = (output, context) => {
2933
2891
  return {
2934
2892
  status: __expectString(output.status),
2935
2893
  };
2936
2894
  };
2937
- const deserializeAws_json1_1AcknowledgeThirdPartyJobOutput = (output, context) => {
2895
+ const de_AcknowledgeThirdPartyJobOutput = (output, context) => {
2938
2896
  return {
2939
2897
  status: __expectString(output.status),
2940
2898
  };
2941
2899
  };
2942
- const deserializeAws_json1_1ActionConfiguration = (output, context) => {
2900
+ const de_ActionConfiguration = (output, context) => {
2943
2901
  return {
2944
- configuration: output.configuration != null
2945
- ? deserializeAws_json1_1ActionConfigurationMap(output.configuration, context)
2946
- : undefined,
2902
+ configuration: output.configuration != null ? de_ActionConfigurationMap(output.configuration, context) : undefined,
2947
2903
  };
2948
2904
  };
2949
- const deserializeAws_json1_1ActionConfigurationMap = (output, context) => {
2905
+ const de_ActionConfigurationMap = (output, context) => {
2950
2906
  return Object.entries(output).reduce((acc, [key, value]) => {
2951
2907
  if (value === null) {
2952
2908
  return acc;
@@ -2955,7 +2911,7 @@ const deserializeAws_json1_1ActionConfigurationMap = (output, context) => {
2955
2911
  return acc;
2956
2912
  }, {});
2957
2913
  };
2958
- const deserializeAws_json1_1ActionConfigurationProperty = (output, context) => {
2914
+ const de_ActionConfigurationProperty = (output, context) => {
2959
2915
  return {
2960
2916
  description: __expectString(output.description),
2961
2917
  key: __expectBoolean(output.key),
@@ -2966,46 +2922,40 @@ const deserializeAws_json1_1ActionConfigurationProperty = (output, context) => {
2966
2922
  type: __expectString(output.type),
2967
2923
  };
2968
2924
  };
2969
- const deserializeAws_json1_1ActionConfigurationPropertyList = (output, context) => {
2925
+ const de_ActionConfigurationPropertyList = (output, context) => {
2970
2926
  const retVal = (output || [])
2971
2927
  .filter((e) => e != null)
2972
2928
  .map((entry) => {
2973
2929
  if (entry === null) {
2974
2930
  return null;
2975
2931
  }
2976
- return deserializeAws_json1_1ActionConfigurationProperty(entry, context);
2932
+ return de_ActionConfigurationProperty(entry, context);
2977
2933
  });
2978
2934
  return retVal;
2979
2935
  };
2980
- const deserializeAws_json1_1ActionContext = (output, context) => {
2936
+ const de_ActionContext = (output, context) => {
2981
2937
  return {
2982
2938
  actionExecutionId: __expectString(output.actionExecutionId),
2983
2939
  name: __expectString(output.name),
2984
2940
  };
2985
2941
  };
2986
- const deserializeAws_json1_1ActionDeclaration = (output, context) => {
2942
+ const de_ActionDeclaration = (output, context) => {
2987
2943
  return {
2988
- actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
2989
- configuration: output.configuration != null
2990
- ? deserializeAws_json1_1ActionConfigurationMap(output.configuration, context)
2991
- : undefined,
2992
- inputArtifacts: output.inputArtifacts != null
2993
- ? deserializeAws_json1_1InputArtifactList(output.inputArtifacts, context)
2994
- : undefined,
2944
+ actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
2945
+ configuration: output.configuration != null ? de_ActionConfigurationMap(output.configuration, context) : undefined,
2946
+ inputArtifacts: output.inputArtifacts != null ? de_InputArtifactList(output.inputArtifacts, context) : undefined,
2995
2947
  name: __expectString(output.name),
2996
2948
  namespace: __expectString(output.namespace),
2997
- outputArtifacts: output.outputArtifacts != null
2998
- ? deserializeAws_json1_1OutputArtifactList(output.outputArtifacts, context)
2999
- : undefined,
2949
+ outputArtifacts: output.outputArtifacts != null ? de_OutputArtifactList(output.outputArtifacts, context) : undefined,
3000
2950
  region: __expectString(output.region),
3001
2951
  roleArn: __expectString(output.roleArn),
3002
2952
  runOrder: __expectInt32(output.runOrder),
3003
2953
  };
3004
2954
  };
3005
- const deserializeAws_json1_1ActionExecution = (output, context) => {
2955
+ const de_ActionExecution = (output, context) => {
3006
2956
  return {
3007
2957
  actionExecutionId: __expectString(output.actionExecutionId),
3008
- errorDetails: output.errorDetails != null ? deserializeAws_json1_1ErrorDetails(output.errorDetails, context) : undefined,
2958
+ errorDetails: output.errorDetails != null ? de_ErrorDetails(output.errorDetails, context) : undefined,
3009
2959
  externalExecutionId: __expectString(output.externalExecutionId),
3010
2960
  externalExecutionUrl: __expectString(output.externalExecutionUrl),
3011
2961
  lastStatusChange: output.lastStatusChange != null
@@ -3018,15 +2968,15 @@ const deserializeAws_json1_1ActionExecution = (output, context) => {
3018
2968
  token: __expectString(output.token),
3019
2969
  };
3020
2970
  };
3021
- const deserializeAws_json1_1ActionExecutionDetail = (output, context) => {
2971
+ const de_ActionExecutionDetail = (output, context) => {
3022
2972
  return {
3023
2973
  actionExecutionId: __expectString(output.actionExecutionId),
3024
2974
  actionName: __expectString(output.actionName),
3025
- input: output.input != null ? deserializeAws_json1_1ActionExecutionInput(output.input, context) : undefined,
2975
+ input: output.input != null ? de_ActionExecutionInput(output.input, context) : undefined,
3026
2976
  lastUpdateTime: output.lastUpdateTime != null
3027
2977
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
3028
2978
  : undefined,
3029
- output: output.output != null ? deserializeAws_json1_1ActionExecutionOutput(output.output, context) : undefined,
2979
+ output: output.output != null ? de_ActionExecutionOutput(output.output, context) : undefined,
3030
2980
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
3031
2981
  pipelineVersion: __expectInt32(output.pipelineVersion),
3032
2982
  stageName: __expectString(output.stageName),
@@ -3034,138 +2984,118 @@ const deserializeAws_json1_1ActionExecutionDetail = (output, context) => {
3034
2984
  status: __expectString(output.status),
3035
2985
  };
3036
2986
  };
3037
- const deserializeAws_json1_1ActionExecutionDetailList = (output, context) => {
2987
+ const de_ActionExecutionDetailList = (output, context) => {
3038
2988
  const retVal = (output || [])
3039
2989
  .filter((e) => e != null)
3040
2990
  .map((entry) => {
3041
2991
  if (entry === null) {
3042
2992
  return null;
3043
2993
  }
3044
- return deserializeAws_json1_1ActionExecutionDetail(entry, context);
2994
+ return de_ActionExecutionDetail(entry, context);
3045
2995
  });
3046
2996
  return retVal;
3047
2997
  };
3048
- const deserializeAws_json1_1ActionExecutionInput = (output, context) => {
2998
+ const de_ActionExecutionInput = (output, context) => {
3049
2999
  return {
3050
- actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
3051
- configuration: output.configuration != null
3052
- ? deserializeAws_json1_1ActionConfigurationMap(output.configuration, context)
3053
- : undefined,
3054
- inputArtifacts: output.inputArtifacts != null
3055
- ? deserializeAws_json1_1ArtifactDetailList(output.inputArtifacts, context)
3056
- : undefined,
3000
+ actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
3001
+ configuration: output.configuration != null ? de_ActionConfigurationMap(output.configuration, context) : undefined,
3002
+ inputArtifacts: output.inputArtifacts != null ? de_ArtifactDetailList(output.inputArtifacts, context) : undefined,
3057
3003
  namespace: __expectString(output.namespace),
3058
3004
  region: __expectString(output.region),
3059
3005
  resolvedConfiguration: output.resolvedConfiguration != null
3060
- ? deserializeAws_json1_1ResolvedActionConfigurationMap(output.resolvedConfiguration, context)
3006
+ ? de_ResolvedActionConfigurationMap(output.resolvedConfiguration, context)
3061
3007
  : undefined,
3062
3008
  roleArn: __expectString(output.roleArn),
3063
3009
  };
3064
3010
  };
3065
- const deserializeAws_json1_1ActionExecutionOutput = (output, context) => {
3011
+ const de_ActionExecutionOutput = (output, context) => {
3066
3012
  return {
3067
- executionResult: output.executionResult != null
3068
- ? deserializeAws_json1_1ActionExecutionResult(output.executionResult, context)
3069
- : undefined,
3070
- outputArtifacts: output.outputArtifacts != null
3071
- ? deserializeAws_json1_1ArtifactDetailList(output.outputArtifacts, context)
3072
- : undefined,
3073
- outputVariables: output.outputVariables != null
3074
- ? deserializeAws_json1_1OutputVariablesMap(output.outputVariables, context)
3075
- : undefined,
3013
+ executionResult: output.executionResult != null ? de_ActionExecutionResult(output.executionResult, context) : undefined,
3014
+ outputArtifacts: output.outputArtifacts != null ? de_ArtifactDetailList(output.outputArtifacts, context) : undefined,
3015
+ outputVariables: output.outputVariables != null ? de_OutputVariablesMap(output.outputVariables, context) : undefined,
3076
3016
  };
3077
3017
  };
3078
- const deserializeAws_json1_1ActionExecutionResult = (output, context) => {
3018
+ const de_ActionExecutionResult = (output, context) => {
3079
3019
  return {
3080
3020
  externalExecutionId: __expectString(output.externalExecutionId),
3081
3021
  externalExecutionSummary: __expectString(output.externalExecutionSummary),
3082
3022
  externalExecutionUrl: __expectString(output.externalExecutionUrl),
3083
3023
  };
3084
3024
  };
3085
- const deserializeAws_json1_1ActionNotFoundException = (output, context) => {
3025
+ const de_ActionNotFoundException = (output, context) => {
3086
3026
  return {
3087
3027
  message: __expectString(output.message),
3088
3028
  };
3089
3029
  };
3090
- const deserializeAws_json1_1ActionRevision = (output, context) => {
3030
+ const de_ActionRevision = (output, context) => {
3091
3031
  return {
3092
3032
  created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
3093
3033
  revisionChangeId: __expectString(output.revisionChangeId),
3094
3034
  revisionId: __expectString(output.revisionId),
3095
3035
  };
3096
3036
  };
3097
- const deserializeAws_json1_1ActionState = (output, context) => {
3037
+ const de_ActionState = (output, context) => {
3098
3038
  return {
3099
3039
  actionName: __expectString(output.actionName),
3100
- currentRevision: output.currentRevision != null
3101
- ? deserializeAws_json1_1ActionRevision(output.currentRevision, context)
3102
- : undefined,
3040
+ currentRevision: output.currentRevision != null ? de_ActionRevision(output.currentRevision, context) : undefined,
3103
3041
  entityUrl: __expectString(output.entityUrl),
3104
- latestExecution: output.latestExecution != null
3105
- ? deserializeAws_json1_1ActionExecution(output.latestExecution, context)
3106
- : undefined,
3042
+ latestExecution: output.latestExecution != null ? de_ActionExecution(output.latestExecution, context) : undefined,
3107
3043
  revisionUrl: __expectString(output.revisionUrl),
3108
3044
  };
3109
3045
  };
3110
- const deserializeAws_json1_1ActionStateList = (output, context) => {
3046
+ const de_ActionStateList = (output, context) => {
3111
3047
  const retVal = (output || [])
3112
3048
  .filter((e) => e != null)
3113
3049
  .map((entry) => {
3114
3050
  if (entry === null) {
3115
3051
  return null;
3116
3052
  }
3117
- return deserializeAws_json1_1ActionState(entry, context);
3053
+ return de_ActionState(entry, context);
3118
3054
  });
3119
3055
  return retVal;
3120
3056
  };
3121
- const deserializeAws_json1_1ActionType = (output, context) => {
3057
+ const de_ActionType = (output, context) => {
3122
3058
  return {
3123
3059
  actionConfigurationProperties: output.actionConfigurationProperties != null
3124
- ? deserializeAws_json1_1ActionConfigurationPropertyList(output.actionConfigurationProperties, context)
3060
+ ? de_ActionConfigurationPropertyList(output.actionConfigurationProperties, context)
3125
3061
  : undefined,
3126
- id: output.id != null ? deserializeAws_json1_1ActionTypeId(output.id, context) : undefined,
3127
- inputArtifactDetails: output.inputArtifactDetails != null
3128
- ? deserializeAws_json1_1ArtifactDetails(output.inputArtifactDetails, context)
3129
- : undefined,
3130
- outputArtifactDetails: output.outputArtifactDetails != null
3131
- ? deserializeAws_json1_1ArtifactDetails(output.outputArtifactDetails, context)
3132
- : undefined,
3133
- settings: output.settings != null ? deserializeAws_json1_1ActionTypeSettings(output.settings, context) : undefined,
3062
+ id: output.id != null ? de_ActionTypeId(output.id, context) : undefined,
3063
+ inputArtifactDetails: output.inputArtifactDetails != null ? de_ArtifactDetails(output.inputArtifactDetails, context) : undefined,
3064
+ outputArtifactDetails: output.outputArtifactDetails != null ? de_ArtifactDetails(output.outputArtifactDetails, context) : undefined,
3065
+ settings: output.settings != null ? de_ActionTypeSettings(output.settings, context) : undefined,
3134
3066
  };
3135
3067
  };
3136
- const deserializeAws_json1_1ActionTypeArtifactDetails = (output, context) => {
3068
+ const de_ActionTypeArtifactDetails = (output, context) => {
3137
3069
  return {
3138
3070
  maximumCount: __expectInt32(output.maximumCount),
3139
3071
  minimumCount: __expectInt32(output.minimumCount),
3140
3072
  };
3141
3073
  };
3142
- const deserializeAws_json1_1ActionTypeDeclaration = (output, context) => {
3074
+ const de_ActionTypeDeclaration = (output, context) => {
3143
3075
  return {
3144
3076
  description: __expectString(output.description),
3145
- executor: output.executor != null ? deserializeAws_json1_1ActionTypeExecutor(output.executor, context) : undefined,
3146
- id: output.id != null ? deserializeAws_json1_1ActionTypeIdentifier(output.id, context) : undefined,
3077
+ executor: output.executor != null ? de_ActionTypeExecutor(output.executor, context) : undefined,
3078
+ id: output.id != null ? de_ActionTypeIdentifier(output.id, context) : undefined,
3147
3079
  inputArtifactDetails: output.inputArtifactDetails != null
3148
- ? deserializeAws_json1_1ActionTypeArtifactDetails(output.inputArtifactDetails, context)
3080
+ ? de_ActionTypeArtifactDetails(output.inputArtifactDetails, context)
3149
3081
  : undefined,
3150
3082
  outputArtifactDetails: output.outputArtifactDetails != null
3151
- ? deserializeAws_json1_1ActionTypeArtifactDetails(output.outputArtifactDetails, context)
3083
+ ? de_ActionTypeArtifactDetails(output.outputArtifactDetails, context)
3152
3084
  : undefined,
3153
- permissions: output.permissions != null ? deserializeAws_json1_1ActionTypePermissions(output.permissions, context) : undefined,
3154
- properties: output.properties != null ? deserializeAws_json1_1ActionTypeProperties(output.properties, context) : undefined,
3155
- urls: output.urls != null ? deserializeAws_json1_1ActionTypeUrls(output.urls, context) : undefined,
3085
+ permissions: output.permissions != null ? de_ActionTypePermissions(output.permissions, context) : undefined,
3086
+ properties: output.properties != null ? de_ActionTypeProperties(output.properties, context) : undefined,
3087
+ urls: output.urls != null ? de_ActionTypeUrls(output.urls, context) : undefined,
3156
3088
  };
3157
3089
  };
3158
- const deserializeAws_json1_1ActionTypeExecutor = (output, context) => {
3090
+ const de_ActionTypeExecutor = (output, context) => {
3159
3091
  return {
3160
- configuration: output.configuration != null
3161
- ? deserializeAws_json1_1ExecutorConfiguration(output.configuration, context)
3162
- : undefined,
3092
+ configuration: output.configuration != null ? de_ExecutorConfiguration(output.configuration, context) : undefined,
3163
3093
  jobTimeout: __expectInt32(output.jobTimeout),
3164
3094
  policyStatementsTemplate: __expectString(output.policyStatementsTemplate),
3165
3095
  type: __expectString(output.type),
3166
3096
  };
3167
3097
  };
3168
- const deserializeAws_json1_1ActionTypeId = (output, context) => {
3098
+ const de_ActionTypeId = (output, context) => {
3169
3099
  return {
3170
3100
  category: __expectString(output.category),
3171
3101
  owner: __expectString(output.owner),
@@ -3173,7 +3103,7 @@ const deserializeAws_json1_1ActionTypeId = (output, context) => {
3173
3103
  version: __expectString(output.version),
3174
3104
  };
3175
3105
  };
3176
- const deserializeAws_json1_1ActionTypeIdentifier = (output, context) => {
3106
+ const de_ActionTypeIdentifier = (output, context) => {
3177
3107
  return {
3178
3108
  category: __expectString(output.category),
3179
3109
  owner: __expectString(output.owner),
@@ -3181,41 +3111,39 @@ const deserializeAws_json1_1ActionTypeIdentifier = (output, context) => {
3181
3111
  version: __expectString(output.version),
3182
3112
  };
3183
3113
  };
3184
- const deserializeAws_json1_1ActionTypeList = (output, context) => {
3114
+ const de_ActionTypeList = (output, context) => {
3185
3115
  const retVal = (output || [])
3186
3116
  .filter((e) => e != null)
3187
3117
  .map((entry) => {
3188
3118
  if (entry === null) {
3189
3119
  return null;
3190
3120
  }
3191
- return deserializeAws_json1_1ActionType(entry, context);
3121
+ return de_ActionType(entry, context);
3192
3122
  });
3193
3123
  return retVal;
3194
3124
  };
3195
- const deserializeAws_json1_1ActionTypeNotFoundException = (output, context) => {
3125
+ const de_ActionTypeNotFoundException = (output, context) => {
3196
3126
  return {
3197
3127
  message: __expectString(output.message),
3198
3128
  };
3199
3129
  };
3200
- const deserializeAws_json1_1ActionTypePermissions = (output, context) => {
3130
+ const de_ActionTypePermissions = (output, context) => {
3201
3131
  return {
3202
- allowedAccounts: output.allowedAccounts != null
3203
- ? deserializeAws_json1_1AllowedAccounts(output.allowedAccounts, context)
3204
- : undefined,
3132
+ allowedAccounts: output.allowedAccounts != null ? de_AllowedAccounts(output.allowedAccounts, context) : undefined,
3205
3133
  };
3206
3134
  };
3207
- const deserializeAws_json1_1ActionTypeProperties = (output, context) => {
3135
+ const de_ActionTypeProperties = (output, context) => {
3208
3136
  const retVal = (output || [])
3209
3137
  .filter((e) => e != null)
3210
3138
  .map((entry) => {
3211
3139
  if (entry === null) {
3212
3140
  return null;
3213
3141
  }
3214
- return deserializeAws_json1_1ActionTypeProperty(entry, context);
3142
+ return de_ActionTypeProperty(entry, context);
3215
3143
  });
3216
3144
  return retVal;
3217
3145
  };
3218
- const deserializeAws_json1_1ActionTypeProperty = (output, context) => {
3146
+ const de_ActionTypeProperty = (output, context) => {
3219
3147
  return {
3220
3148
  description: __expectString(output.description),
3221
3149
  key: __expectBoolean(output.key),
@@ -3225,7 +3153,7 @@ const deserializeAws_json1_1ActionTypeProperty = (output, context) => {
3225
3153
  queryable: __expectBoolean(output.queryable),
3226
3154
  };
3227
3155
  };
3228
- const deserializeAws_json1_1ActionTypeSettings = (output, context) => {
3156
+ const de_ActionTypeSettings = (output, context) => {
3229
3157
  return {
3230
3158
  entityUrlTemplate: __expectString(output.entityUrlTemplate),
3231
3159
  executionUrlTemplate: __expectString(output.executionUrlTemplate),
@@ -3233,7 +3161,7 @@ const deserializeAws_json1_1ActionTypeSettings = (output, context) => {
3233
3161
  thirdPartyConfigurationUrl: __expectString(output.thirdPartyConfigurationUrl),
3234
3162
  };
3235
3163
  };
3236
- const deserializeAws_json1_1ActionTypeUrls = (output, context) => {
3164
+ const de_ActionTypeUrls = (output, context) => {
3237
3165
  return {
3238
3166
  configurationUrl: __expectString(output.configurationUrl),
3239
3167
  entityUrlTemplate: __expectString(output.entityUrlTemplate),
@@ -3241,7 +3169,7 @@ const deserializeAws_json1_1ActionTypeUrls = (output, context) => {
3241
3169
  revisionUrlTemplate: __expectString(output.revisionUrlTemplate),
3242
3170
  };
3243
3171
  };
3244
- const deserializeAws_json1_1AllowedAccounts = (output, context) => {
3172
+ const de_AllowedAccounts = (output, context) => {
3245
3173
  const retVal = (output || [])
3246
3174
  .filter((e) => e != null)
3247
3175
  .map((entry) => {
@@ -3252,59 +3180,59 @@ const deserializeAws_json1_1AllowedAccounts = (output, context) => {
3252
3180
  });
3253
3181
  return retVal;
3254
3182
  };
3255
- const deserializeAws_json1_1ApprovalAlreadyCompletedException = (output, context) => {
3183
+ const de_ApprovalAlreadyCompletedException = (output, context) => {
3256
3184
  return {
3257
3185
  message: __expectString(output.message),
3258
3186
  };
3259
3187
  };
3260
- const deserializeAws_json1_1Artifact = (output, context) => {
3188
+ const de_Artifact = (output, context) => {
3261
3189
  return {
3262
- location: output.location != null ? deserializeAws_json1_1ArtifactLocation(output.location, context) : undefined,
3190
+ location: output.location != null ? de_ArtifactLocation(output.location, context) : undefined,
3263
3191
  name: __expectString(output.name),
3264
3192
  revision: __expectString(output.revision),
3265
3193
  };
3266
3194
  };
3267
- const deserializeAws_json1_1ArtifactDetail = (output, context) => {
3195
+ const de_ArtifactDetail = (output, context) => {
3268
3196
  return {
3269
3197
  name: __expectString(output.name),
3270
- s3location: output.s3location != null ? deserializeAws_json1_1S3Location(output.s3location, context) : undefined,
3198
+ s3location: output.s3location != null ? de_S3Location(output.s3location, context) : undefined,
3271
3199
  };
3272
3200
  };
3273
- const deserializeAws_json1_1ArtifactDetailList = (output, context) => {
3201
+ const de_ArtifactDetailList = (output, context) => {
3274
3202
  const retVal = (output || [])
3275
3203
  .filter((e) => e != null)
3276
3204
  .map((entry) => {
3277
3205
  if (entry === null) {
3278
3206
  return null;
3279
3207
  }
3280
- return deserializeAws_json1_1ArtifactDetail(entry, context);
3208
+ return de_ArtifactDetail(entry, context);
3281
3209
  });
3282
3210
  return retVal;
3283
3211
  };
3284
- const deserializeAws_json1_1ArtifactDetails = (output, context) => {
3212
+ const de_ArtifactDetails = (output, context) => {
3285
3213
  return {
3286
3214
  maximumCount: __expectInt32(output.maximumCount),
3287
3215
  minimumCount: __expectInt32(output.minimumCount),
3288
3216
  };
3289
3217
  };
3290
- const deserializeAws_json1_1ArtifactList = (output, context) => {
3218
+ const de_ArtifactList = (output, context) => {
3291
3219
  const retVal = (output || [])
3292
3220
  .filter((e) => e != null)
3293
3221
  .map((entry) => {
3294
3222
  if (entry === null) {
3295
3223
  return null;
3296
3224
  }
3297
- return deserializeAws_json1_1Artifact(entry, context);
3225
+ return de_Artifact(entry, context);
3298
3226
  });
3299
3227
  return retVal;
3300
3228
  };
3301
- const deserializeAws_json1_1ArtifactLocation = (output, context) => {
3229
+ const de_ArtifactLocation = (output, context) => {
3302
3230
  return {
3303
- s3Location: output.s3Location != null ? deserializeAws_json1_1S3ArtifactLocation(output.s3Location, context) : undefined,
3231
+ s3Location: output.s3Location != null ? de_S3ArtifactLocation(output.s3Location, context) : undefined,
3304
3232
  type: __expectString(output.type),
3305
3233
  };
3306
3234
  };
3307
- const deserializeAws_json1_1ArtifactRevision = (output, context) => {
3235
+ const de_ArtifactRevision = (output, context) => {
3308
3236
  return {
3309
3237
  created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
3310
3238
  name: __expectString(output.name),
@@ -3314,374 +3242,364 @@ const deserializeAws_json1_1ArtifactRevision = (output, context) => {
3314
3242
  revisionUrl: __expectString(output.revisionUrl),
3315
3243
  };
3316
3244
  };
3317
- const deserializeAws_json1_1ArtifactRevisionList = (output, context) => {
3245
+ const de_ArtifactRevisionList = (output, context) => {
3318
3246
  const retVal = (output || [])
3319
3247
  .filter((e) => e != null)
3320
3248
  .map((entry) => {
3321
3249
  if (entry === null) {
3322
3250
  return null;
3323
3251
  }
3324
- return deserializeAws_json1_1ArtifactRevision(entry, context);
3252
+ return de_ArtifactRevision(entry, context);
3325
3253
  });
3326
3254
  return retVal;
3327
3255
  };
3328
- const deserializeAws_json1_1ArtifactStore = (output, context) => {
3256
+ const de_ArtifactStore = (output, context) => {
3329
3257
  return {
3330
- encryptionKey: output.encryptionKey != null ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context) : undefined,
3258
+ encryptionKey: output.encryptionKey != null ? de_EncryptionKey(output.encryptionKey, context) : undefined,
3331
3259
  location: __expectString(output.location),
3332
3260
  type: __expectString(output.type),
3333
3261
  };
3334
3262
  };
3335
- const deserializeAws_json1_1ArtifactStoreMap = (output, context) => {
3263
+ const de_ArtifactStoreMap = (output, context) => {
3336
3264
  return Object.entries(output).reduce((acc, [key, value]) => {
3337
3265
  if (value === null) {
3338
3266
  return acc;
3339
3267
  }
3340
- acc[key] = deserializeAws_json1_1ArtifactStore(value, context);
3268
+ acc[key] = de_ArtifactStore(value, context);
3341
3269
  return acc;
3342
3270
  }, {});
3343
3271
  };
3344
- const deserializeAws_json1_1AWSSessionCredentials = (output, context) => {
3272
+ const de_AWSSessionCredentials = (output, context) => {
3345
3273
  return {
3346
3274
  accessKeyId: __expectString(output.accessKeyId),
3347
3275
  secretAccessKey: __expectString(output.secretAccessKey),
3348
3276
  sessionToken: __expectString(output.sessionToken),
3349
3277
  };
3350
3278
  };
3351
- const deserializeAws_json1_1BlockerDeclaration = (output, context) => {
3279
+ const de_BlockerDeclaration = (output, context) => {
3352
3280
  return {
3353
3281
  name: __expectString(output.name),
3354
3282
  type: __expectString(output.type),
3355
3283
  };
3356
3284
  };
3357
- const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
3285
+ const de_ConcurrentModificationException = (output, context) => {
3358
3286
  return {
3359
3287
  message: __expectString(output.message),
3360
3288
  };
3361
3289
  };
3362
- const deserializeAws_json1_1ConflictException = (output, context) => {
3290
+ const de_ConflictException = (output, context) => {
3363
3291
  return {
3364
3292
  message: __expectString(output.message),
3365
3293
  };
3366
3294
  };
3367
- const deserializeAws_json1_1CreateCustomActionTypeOutput = (output, context) => {
3295
+ const de_CreateCustomActionTypeOutput = (output, context) => {
3368
3296
  return {
3369
- actionType: output.actionType != null ? deserializeAws_json1_1ActionType(output.actionType, context) : undefined,
3370
- tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
3297
+ actionType: output.actionType != null ? de_ActionType(output.actionType, context) : undefined,
3298
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
3371
3299
  };
3372
3300
  };
3373
- const deserializeAws_json1_1CreatePipelineOutput = (output, context) => {
3301
+ const de_CreatePipelineOutput = (output, context) => {
3374
3302
  return {
3375
- pipeline: output.pipeline != null ? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context) : undefined,
3376
- tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
3303
+ pipeline: output.pipeline != null ? de_PipelineDeclaration(output.pipeline, context) : undefined,
3304
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
3377
3305
  };
3378
3306
  };
3379
- const deserializeAws_json1_1DeleteWebhookOutput = (output, context) => {
3307
+ const de_DeleteWebhookOutput = (output, context) => {
3380
3308
  return {};
3381
3309
  };
3382
- const deserializeAws_json1_1DeregisterWebhookWithThirdPartyOutput = (output, context) => {
3310
+ const de_DeregisterWebhookWithThirdPartyOutput = (output, context) => {
3383
3311
  return {};
3384
3312
  };
3385
- const deserializeAws_json1_1DuplicatedStopRequestException = (output, context) => {
3313
+ const de_DuplicatedStopRequestException = (output, context) => {
3386
3314
  return {
3387
3315
  message: __expectString(output.message),
3388
3316
  };
3389
3317
  };
3390
- const deserializeAws_json1_1EncryptionKey = (output, context) => {
3318
+ const de_EncryptionKey = (output, context) => {
3391
3319
  return {
3392
3320
  id: __expectString(output.id),
3393
3321
  type: __expectString(output.type),
3394
3322
  };
3395
3323
  };
3396
- const deserializeAws_json1_1ErrorDetails = (output, context) => {
3324
+ const de_ErrorDetails = (output, context) => {
3397
3325
  return {
3398
3326
  code: __expectString(output.code),
3399
3327
  message: __expectString(output.message),
3400
3328
  };
3401
3329
  };
3402
- const deserializeAws_json1_1ExecutionTrigger = (output, context) => {
3330
+ const de_ExecutionTrigger = (output, context) => {
3403
3331
  return {
3404
3332
  triggerDetail: __expectString(output.triggerDetail),
3405
3333
  triggerType: __expectString(output.triggerType),
3406
3334
  };
3407
3335
  };
3408
- const deserializeAws_json1_1ExecutorConfiguration = (output, context) => {
3336
+ const de_ExecutorConfiguration = (output, context) => {
3409
3337
  return {
3410
3338
  jobWorkerExecutorConfiguration: output.jobWorkerExecutorConfiguration != null
3411
- ? deserializeAws_json1_1JobWorkerExecutorConfiguration(output.jobWorkerExecutorConfiguration, context)
3339
+ ? de_JobWorkerExecutorConfiguration(output.jobWorkerExecutorConfiguration, context)
3412
3340
  : undefined,
3413
3341
  lambdaExecutorConfiguration: output.lambdaExecutorConfiguration != null
3414
- ? deserializeAws_json1_1LambdaExecutorConfiguration(output.lambdaExecutorConfiguration, context)
3342
+ ? de_LambdaExecutorConfiguration(output.lambdaExecutorConfiguration, context)
3415
3343
  : undefined,
3416
3344
  };
3417
3345
  };
3418
- const deserializeAws_json1_1GetActionTypeOutput = (output, context) => {
3346
+ const de_GetActionTypeOutput = (output, context) => {
3419
3347
  return {
3420
- actionType: output.actionType != null ? deserializeAws_json1_1ActionTypeDeclaration(output.actionType, context) : undefined,
3348
+ actionType: output.actionType != null ? de_ActionTypeDeclaration(output.actionType, context) : undefined,
3421
3349
  };
3422
3350
  };
3423
- const deserializeAws_json1_1GetJobDetailsOutput = (output, context) => {
3351
+ const de_GetJobDetailsOutput = (output, context) => {
3424
3352
  return {
3425
- jobDetails: output.jobDetails != null ? deserializeAws_json1_1JobDetails(output.jobDetails, context) : undefined,
3353
+ jobDetails: output.jobDetails != null ? de_JobDetails(output.jobDetails, context) : undefined,
3426
3354
  };
3427
3355
  };
3428
- const deserializeAws_json1_1GetPipelineExecutionOutput = (output, context) => {
3356
+ const de_GetPipelineExecutionOutput = (output, context) => {
3429
3357
  return {
3430
- pipelineExecution: output.pipelineExecution != null
3431
- ? deserializeAws_json1_1PipelineExecution(output.pipelineExecution, context)
3432
- : undefined,
3358
+ pipelineExecution: output.pipelineExecution != null ? de_PipelineExecution(output.pipelineExecution, context) : undefined,
3433
3359
  };
3434
3360
  };
3435
- const deserializeAws_json1_1GetPipelineOutput = (output, context) => {
3361
+ const de_GetPipelineOutput = (output, context) => {
3436
3362
  return {
3437
- metadata: output.metadata != null ? deserializeAws_json1_1PipelineMetadata(output.metadata, context) : undefined,
3438
- pipeline: output.pipeline != null ? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context) : undefined,
3363
+ metadata: output.metadata != null ? de_PipelineMetadata(output.metadata, context) : undefined,
3364
+ pipeline: output.pipeline != null ? de_PipelineDeclaration(output.pipeline, context) : undefined,
3439
3365
  };
3440
3366
  };
3441
- const deserializeAws_json1_1GetPipelineStateOutput = (output, context) => {
3367
+ const de_GetPipelineStateOutput = (output, context) => {
3442
3368
  return {
3443
3369
  created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
3444
3370
  pipelineName: __expectString(output.pipelineName),
3445
3371
  pipelineVersion: __expectInt32(output.pipelineVersion),
3446
- stageStates: output.stageStates != null ? deserializeAws_json1_1StageStateList(output.stageStates, context) : undefined,
3372
+ stageStates: output.stageStates != null ? de_StageStateList(output.stageStates, context) : undefined,
3447
3373
  updated: output.updated != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated))) : undefined,
3448
3374
  };
3449
3375
  };
3450
- const deserializeAws_json1_1GetThirdPartyJobDetailsOutput = (output, context) => {
3376
+ const de_GetThirdPartyJobDetailsOutput = (output, context) => {
3451
3377
  return {
3452
- jobDetails: output.jobDetails != null ? deserializeAws_json1_1ThirdPartyJobDetails(output.jobDetails, context) : undefined,
3378
+ jobDetails: output.jobDetails != null ? de_ThirdPartyJobDetails(output.jobDetails, context) : undefined,
3453
3379
  };
3454
3380
  };
3455
- const deserializeAws_json1_1InputArtifact = (output, context) => {
3381
+ const de_InputArtifact = (output, context) => {
3456
3382
  return {
3457
3383
  name: __expectString(output.name),
3458
3384
  };
3459
3385
  };
3460
- const deserializeAws_json1_1InputArtifactList = (output, context) => {
3386
+ const de_InputArtifactList = (output, context) => {
3461
3387
  const retVal = (output || [])
3462
3388
  .filter((e) => e != null)
3463
3389
  .map((entry) => {
3464
3390
  if (entry === null) {
3465
3391
  return null;
3466
3392
  }
3467
- return deserializeAws_json1_1InputArtifact(entry, context);
3393
+ return de_InputArtifact(entry, context);
3468
3394
  });
3469
3395
  return retVal;
3470
3396
  };
3471
- const deserializeAws_json1_1InvalidActionDeclarationException = (output, context) => {
3397
+ const de_InvalidActionDeclarationException = (output, context) => {
3472
3398
  return {
3473
3399
  message: __expectString(output.message),
3474
3400
  };
3475
3401
  };
3476
- const deserializeAws_json1_1InvalidApprovalTokenException = (output, context) => {
3402
+ const de_InvalidApprovalTokenException = (output, context) => {
3477
3403
  return {
3478
3404
  message: __expectString(output.message),
3479
3405
  };
3480
3406
  };
3481
- const deserializeAws_json1_1InvalidArnException = (output, context) => {
3407
+ const de_InvalidArnException = (output, context) => {
3482
3408
  return {
3483
3409
  message: __expectString(output.message),
3484
3410
  };
3485
3411
  };
3486
- const deserializeAws_json1_1InvalidBlockerDeclarationException = (output, context) => {
3412
+ const de_InvalidBlockerDeclarationException = (output, context) => {
3487
3413
  return {
3488
3414
  message: __expectString(output.message),
3489
3415
  };
3490
3416
  };
3491
- const deserializeAws_json1_1InvalidClientTokenException = (output, context) => {
3417
+ const de_InvalidClientTokenException = (output, context) => {
3492
3418
  return {
3493
3419
  message: __expectString(output.message),
3494
3420
  };
3495
3421
  };
3496
- const deserializeAws_json1_1InvalidJobException = (output, context) => {
3422
+ const de_InvalidJobException = (output, context) => {
3497
3423
  return {
3498
3424
  message: __expectString(output.message),
3499
3425
  };
3500
3426
  };
3501
- const deserializeAws_json1_1InvalidJobStateException = (output, context) => {
3427
+ const de_InvalidJobStateException = (output, context) => {
3502
3428
  return {
3503
3429
  message: __expectString(output.message),
3504
3430
  };
3505
3431
  };
3506
- const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
3432
+ const de_InvalidNextTokenException = (output, context) => {
3507
3433
  return {
3508
3434
  message: __expectString(output.message),
3509
3435
  };
3510
3436
  };
3511
- const deserializeAws_json1_1InvalidNonceException = (output, context) => {
3437
+ const de_InvalidNonceException = (output, context) => {
3512
3438
  return {
3513
3439
  message: __expectString(output.message),
3514
3440
  };
3515
3441
  };
3516
- const deserializeAws_json1_1InvalidStageDeclarationException = (output, context) => {
3442
+ const de_InvalidStageDeclarationException = (output, context) => {
3517
3443
  return {
3518
3444
  message: __expectString(output.message),
3519
3445
  };
3520
3446
  };
3521
- const deserializeAws_json1_1InvalidStructureException = (output, context) => {
3447
+ const de_InvalidStructureException = (output, context) => {
3522
3448
  return {
3523
3449
  message: __expectString(output.message),
3524
3450
  };
3525
3451
  };
3526
- const deserializeAws_json1_1InvalidTagsException = (output, context) => {
3452
+ const de_InvalidTagsException = (output, context) => {
3527
3453
  return {
3528
3454
  message: __expectString(output.message),
3529
3455
  };
3530
3456
  };
3531
- const deserializeAws_json1_1InvalidWebhookAuthenticationParametersException = (output, context) => {
3457
+ const de_InvalidWebhookAuthenticationParametersException = (output, context) => {
3532
3458
  return {
3533
3459
  message: __expectString(output.message),
3534
3460
  };
3535
3461
  };
3536
- const deserializeAws_json1_1InvalidWebhookFilterPatternException = (output, context) => {
3462
+ const de_InvalidWebhookFilterPatternException = (output, context) => {
3537
3463
  return {
3538
3464
  message: __expectString(output.message),
3539
3465
  };
3540
3466
  };
3541
- const deserializeAws_json1_1Job = (output, context) => {
3467
+ const de_Job = (output, context) => {
3542
3468
  return {
3543
3469
  accountId: __expectString(output.accountId),
3544
- data: output.data != null ? deserializeAws_json1_1JobData(output.data, context) : undefined,
3470
+ data: output.data != null ? de_JobData(output.data, context) : undefined,
3545
3471
  id: __expectString(output.id),
3546
3472
  nonce: __expectString(output.nonce),
3547
3473
  };
3548
3474
  };
3549
- const deserializeAws_json1_1JobData = (output, context) => {
3475
+ const de_JobData = (output, context) => {
3550
3476
  return {
3551
- actionConfiguration: output.actionConfiguration != null
3552
- ? deserializeAws_json1_1ActionConfiguration(output.actionConfiguration, context)
3553
- : undefined,
3554
- actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
3555
- artifactCredentials: output.artifactCredentials != null
3556
- ? deserializeAws_json1_1AWSSessionCredentials(output.artifactCredentials, context)
3557
- : undefined,
3477
+ actionConfiguration: output.actionConfiguration != null ? de_ActionConfiguration(output.actionConfiguration, context) : undefined,
3478
+ actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
3479
+ artifactCredentials: output.artifactCredentials != null ? de_AWSSessionCredentials(output.artifactCredentials, context) : undefined,
3558
3480
  continuationToken: __expectString(output.continuationToken),
3559
- encryptionKey: output.encryptionKey != null ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context) : undefined,
3560
- inputArtifacts: output.inputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.inputArtifacts, context) : undefined,
3561
- outputArtifacts: output.outputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.outputArtifacts, context) : undefined,
3562
- pipelineContext: output.pipelineContext != null
3563
- ? deserializeAws_json1_1PipelineContext(output.pipelineContext, context)
3564
- : undefined,
3481
+ encryptionKey: output.encryptionKey != null ? de_EncryptionKey(output.encryptionKey, context) : undefined,
3482
+ inputArtifacts: output.inputArtifacts != null ? de_ArtifactList(output.inputArtifacts, context) : undefined,
3483
+ outputArtifacts: output.outputArtifacts != null ? de_ArtifactList(output.outputArtifacts, context) : undefined,
3484
+ pipelineContext: output.pipelineContext != null ? de_PipelineContext(output.pipelineContext, context) : undefined,
3565
3485
  };
3566
3486
  };
3567
- const deserializeAws_json1_1JobDetails = (output, context) => {
3487
+ const de_JobDetails = (output, context) => {
3568
3488
  return {
3569
3489
  accountId: __expectString(output.accountId),
3570
- data: output.data != null ? deserializeAws_json1_1JobData(output.data, context) : undefined,
3490
+ data: output.data != null ? de_JobData(output.data, context) : undefined,
3571
3491
  id: __expectString(output.id),
3572
3492
  };
3573
3493
  };
3574
- const deserializeAws_json1_1JobList = (output, context) => {
3494
+ const de_JobList = (output, context) => {
3575
3495
  const retVal = (output || [])
3576
3496
  .filter((e) => e != null)
3577
3497
  .map((entry) => {
3578
3498
  if (entry === null) {
3579
3499
  return null;
3580
3500
  }
3581
- return deserializeAws_json1_1Job(entry, context);
3501
+ return de_Job(entry, context);
3582
3502
  });
3583
3503
  return retVal;
3584
3504
  };
3585
- const deserializeAws_json1_1JobNotFoundException = (output, context) => {
3505
+ const de_JobNotFoundException = (output, context) => {
3586
3506
  return {
3587
3507
  message: __expectString(output.message),
3588
3508
  };
3589
3509
  };
3590
- const deserializeAws_json1_1JobWorkerExecutorConfiguration = (output, context) => {
3510
+ const de_JobWorkerExecutorConfiguration = (output, context) => {
3591
3511
  return {
3592
- pollingAccounts: output.pollingAccounts != null
3593
- ? deserializeAws_json1_1PollingAccountList(output.pollingAccounts, context)
3594
- : undefined,
3512
+ pollingAccounts: output.pollingAccounts != null ? de_PollingAccountList(output.pollingAccounts, context) : undefined,
3595
3513
  pollingServicePrincipals: output.pollingServicePrincipals != null
3596
- ? deserializeAws_json1_1PollingServicePrincipalList(output.pollingServicePrincipals, context)
3514
+ ? de_PollingServicePrincipalList(output.pollingServicePrincipals, context)
3597
3515
  : undefined,
3598
3516
  };
3599
3517
  };
3600
- const deserializeAws_json1_1LambdaExecutorConfiguration = (output, context) => {
3518
+ const de_LambdaExecutorConfiguration = (output, context) => {
3601
3519
  return {
3602
3520
  lambdaFunctionArn: __expectString(output.lambdaFunctionArn),
3603
3521
  };
3604
3522
  };
3605
- const deserializeAws_json1_1LimitExceededException = (output, context) => {
3523
+ const de_LimitExceededException = (output, context) => {
3606
3524
  return {
3607
3525
  message: __expectString(output.message),
3608
3526
  };
3609
3527
  };
3610
- const deserializeAws_json1_1ListActionExecutionsOutput = (output, context) => {
3528
+ const de_ListActionExecutionsOutput = (output, context) => {
3611
3529
  return {
3612
3530
  actionExecutionDetails: output.actionExecutionDetails != null
3613
- ? deserializeAws_json1_1ActionExecutionDetailList(output.actionExecutionDetails, context)
3531
+ ? de_ActionExecutionDetailList(output.actionExecutionDetails, context)
3614
3532
  : undefined,
3615
3533
  nextToken: __expectString(output.nextToken),
3616
3534
  };
3617
3535
  };
3618
- const deserializeAws_json1_1ListActionTypesOutput = (output, context) => {
3536
+ const de_ListActionTypesOutput = (output, context) => {
3619
3537
  return {
3620
- actionTypes: output.actionTypes != null ? deserializeAws_json1_1ActionTypeList(output.actionTypes, context) : undefined,
3538
+ actionTypes: output.actionTypes != null ? de_ActionTypeList(output.actionTypes, context) : undefined,
3621
3539
  nextToken: __expectString(output.nextToken),
3622
3540
  };
3623
3541
  };
3624
- const deserializeAws_json1_1ListPipelineExecutionsOutput = (output, context) => {
3542
+ const de_ListPipelineExecutionsOutput = (output, context) => {
3625
3543
  return {
3626
3544
  nextToken: __expectString(output.nextToken),
3627
3545
  pipelineExecutionSummaries: output.pipelineExecutionSummaries != null
3628
- ? deserializeAws_json1_1PipelineExecutionSummaryList(output.pipelineExecutionSummaries, context)
3546
+ ? de_PipelineExecutionSummaryList(output.pipelineExecutionSummaries, context)
3629
3547
  : undefined,
3630
3548
  };
3631
3549
  };
3632
- const deserializeAws_json1_1ListPipelinesOutput = (output, context) => {
3550
+ const de_ListPipelinesOutput = (output, context) => {
3633
3551
  return {
3634
3552
  nextToken: __expectString(output.nextToken),
3635
- pipelines: output.pipelines != null ? deserializeAws_json1_1PipelineList(output.pipelines, context) : undefined,
3553
+ pipelines: output.pipelines != null ? de_PipelineList(output.pipelines, context) : undefined,
3636
3554
  };
3637
3555
  };
3638
- const deserializeAws_json1_1ListTagsForResourceOutput = (output, context) => {
3556
+ const de_ListTagsForResourceOutput = (output, context) => {
3639
3557
  return {
3640
3558
  nextToken: __expectString(output.nextToken),
3641
- tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
3559
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
3642
3560
  };
3643
3561
  };
3644
- const deserializeAws_json1_1ListWebhookItem = (output, context) => {
3562
+ const de_ListWebhookItem = (output, context) => {
3645
3563
  return {
3646
3564
  arn: __expectString(output.arn),
3647
- definition: output.definition != null ? deserializeAws_json1_1WebhookDefinition(output.definition, context) : undefined,
3565
+ definition: output.definition != null ? de_WebhookDefinition(output.definition, context) : undefined,
3648
3566
  errorCode: __expectString(output.errorCode),
3649
3567
  errorMessage: __expectString(output.errorMessage),
3650
3568
  lastTriggered: output.lastTriggered != null
3651
3569
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastTriggered)))
3652
3570
  : undefined,
3653
- tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
3571
+ tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
3654
3572
  url: __expectString(output.url),
3655
3573
  };
3656
3574
  };
3657
- const deserializeAws_json1_1ListWebhooksOutput = (output, context) => {
3575
+ const de_ListWebhooksOutput = (output, context) => {
3658
3576
  return {
3659
3577
  NextToken: __expectString(output.NextToken),
3660
- webhooks: output.webhooks != null ? deserializeAws_json1_1WebhookList(output.webhooks, context) : undefined,
3578
+ webhooks: output.webhooks != null ? de_WebhookList(output.webhooks, context) : undefined,
3661
3579
  };
3662
3580
  };
3663
- const deserializeAws_json1_1NotLatestPipelineExecutionException = (output, context) => {
3581
+ const de_NotLatestPipelineExecutionException = (output, context) => {
3664
3582
  return {
3665
3583
  message: __expectString(output.message),
3666
3584
  };
3667
3585
  };
3668
- const deserializeAws_json1_1OutputArtifact = (output, context) => {
3586
+ const de_OutputArtifact = (output, context) => {
3669
3587
  return {
3670
3588
  name: __expectString(output.name),
3671
3589
  };
3672
3590
  };
3673
- const deserializeAws_json1_1OutputArtifactList = (output, context) => {
3591
+ const de_OutputArtifactList = (output, context) => {
3674
3592
  const retVal = (output || [])
3675
3593
  .filter((e) => e != null)
3676
3594
  .map((entry) => {
3677
3595
  if (entry === null) {
3678
3596
  return null;
3679
3597
  }
3680
- return deserializeAws_json1_1OutputArtifact(entry, context);
3598
+ return de_OutputArtifact(entry, context);
3681
3599
  });
3682
3600
  return retVal;
3683
3601
  };
3684
- const deserializeAws_json1_1OutputVariablesMap = (output, context) => {
3602
+ const de_OutputVariablesMap = (output, context) => {
3685
3603
  return Object.entries(output).reduce((acc, [key, value]) => {
3686
3604
  if (value === null) {
3687
3605
  return acc;
@@ -3690,37 +3608,33 @@ const deserializeAws_json1_1OutputVariablesMap = (output, context) => {
3690
3608
  return acc;
3691
3609
  }, {});
3692
3610
  };
3693
- const deserializeAws_json1_1OutputVariablesSizeExceededException = (output, context) => {
3611
+ const de_OutputVariablesSizeExceededException = (output, context) => {
3694
3612
  return {
3695
3613
  message: __expectString(output.message),
3696
3614
  };
3697
3615
  };
3698
- const deserializeAws_json1_1PipelineContext = (output, context) => {
3616
+ const de_PipelineContext = (output, context) => {
3699
3617
  return {
3700
- action: output.action != null ? deserializeAws_json1_1ActionContext(output.action, context) : undefined,
3618
+ action: output.action != null ? de_ActionContext(output.action, context) : undefined,
3701
3619
  pipelineArn: __expectString(output.pipelineArn),
3702
3620
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
3703
3621
  pipelineName: __expectString(output.pipelineName),
3704
- stage: output.stage != null ? deserializeAws_json1_1StageContext(output.stage, context) : undefined,
3622
+ stage: output.stage != null ? de_StageContext(output.stage, context) : undefined,
3705
3623
  };
3706
3624
  };
3707
- const deserializeAws_json1_1PipelineDeclaration = (output, context) => {
3625
+ const de_PipelineDeclaration = (output, context) => {
3708
3626
  return {
3709
- artifactStore: output.artifactStore != null ? deserializeAws_json1_1ArtifactStore(output.artifactStore, context) : undefined,
3710
- artifactStores: output.artifactStores != null
3711
- ? deserializeAws_json1_1ArtifactStoreMap(output.artifactStores, context)
3712
- : undefined,
3627
+ artifactStore: output.artifactStore != null ? de_ArtifactStore(output.artifactStore, context) : undefined,
3628
+ artifactStores: output.artifactStores != null ? de_ArtifactStoreMap(output.artifactStores, context) : undefined,
3713
3629
  name: __expectString(output.name),
3714
3630
  roleArn: __expectString(output.roleArn),
3715
- stages: output.stages != null ? deserializeAws_json1_1PipelineStageDeclarationList(output.stages, context) : undefined,
3631
+ stages: output.stages != null ? de_PipelineStageDeclarationList(output.stages, context) : undefined,
3716
3632
  version: __expectInt32(output.version),
3717
3633
  };
3718
3634
  };
3719
- const deserializeAws_json1_1PipelineExecution = (output, context) => {
3635
+ const de_PipelineExecution = (output, context) => {
3720
3636
  return {
3721
- artifactRevisions: output.artifactRevisions != null
3722
- ? deserializeAws_json1_1ArtifactRevisionList(output.artifactRevisions, context)
3723
- : undefined,
3637
+ artifactRevisions: output.artifactRevisions != null ? de_ArtifactRevisionList(output.artifactRevisions, context) : undefined,
3724
3638
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
3725
3639
  pipelineName: __expectString(output.pipelineName),
3726
3640
  pipelineVersion: __expectInt32(output.pipelineVersion),
@@ -3728,82 +3642,80 @@ const deserializeAws_json1_1PipelineExecution = (output, context) => {
3728
3642
  statusSummary: __expectString(output.statusSummary),
3729
3643
  };
3730
3644
  };
3731
- const deserializeAws_json1_1PipelineExecutionNotFoundException = (output, context) => {
3645
+ const de_PipelineExecutionNotFoundException = (output, context) => {
3732
3646
  return {
3733
3647
  message: __expectString(output.message),
3734
3648
  };
3735
3649
  };
3736
- const deserializeAws_json1_1PipelineExecutionNotStoppableException = (output, context) => {
3650
+ const de_PipelineExecutionNotStoppableException = (output, context) => {
3737
3651
  return {
3738
3652
  message: __expectString(output.message),
3739
3653
  };
3740
3654
  };
3741
- const deserializeAws_json1_1PipelineExecutionSummary = (output, context) => {
3655
+ const de_PipelineExecutionSummary = (output, context) => {
3742
3656
  return {
3743
3657
  lastUpdateTime: output.lastUpdateTime != null
3744
3658
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
3745
3659
  : undefined,
3746
3660
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
3747
- sourceRevisions: output.sourceRevisions != null
3748
- ? deserializeAws_json1_1SourceRevisionList(output.sourceRevisions, context)
3749
- : undefined,
3661
+ sourceRevisions: output.sourceRevisions != null ? de_SourceRevisionList(output.sourceRevisions, context) : undefined,
3750
3662
  startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
3751
3663
  status: __expectString(output.status),
3752
- stopTrigger: output.stopTrigger != null ? deserializeAws_json1_1StopExecutionTrigger(output.stopTrigger, context) : undefined,
3753
- trigger: output.trigger != null ? deserializeAws_json1_1ExecutionTrigger(output.trigger, context) : undefined,
3664
+ stopTrigger: output.stopTrigger != null ? de_StopExecutionTrigger(output.stopTrigger, context) : undefined,
3665
+ trigger: output.trigger != null ? de_ExecutionTrigger(output.trigger, context) : undefined,
3754
3666
  };
3755
3667
  };
3756
- const deserializeAws_json1_1PipelineExecutionSummaryList = (output, context) => {
3668
+ const de_PipelineExecutionSummaryList = (output, context) => {
3757
3669
  const retVal = (output || [])
3758
3670
  .filter((e) => e != null)
3759
3671
  .map((entry) => {
3760
3672
  if (entry === null) {
3761
3673
  return null;
3762
3674
  }
3763
- return deserializeAws_json1_1PipelineExecutionSummary(entry, context);
3675
+ return de_PipelineExecutionSummary(entry, context);
3764
3676
  });
3765
3677
  return retVal;
3766
3678
  };
3767
- const deserializeAws_json1_1PipelineList = (output, context) => {
3679
+ const de_PipelineList = (output, context) => {
3768
3680
  const retVal = (output || [])
3769
3681
  .filter((e) => e != null)
3770
3682
  .map((entry) => {
3771
3683
  if (entry === null) {
3772
3684
  return null;
3773
3685
  }
3774
- return deserializeAws_json1_1PipelineSummary(entry, context);
3686
+ return de_PipelineSummary(entry, context);
3775
3687
  });
3776
3688
  return retVal;
3777
3689
  };
3778
- const deserializeAws_json1_1PipelineMetadata = (output, context) => {
3690
+ const de_PipelineMetadata = (output, context) => {
3779
3691
  return {
3780
3692
  created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
3781
3693
  pipelineArn: __expectString(output.pipelineArn),
3782
3694
  updated: output.updated != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated))) : undefined,
3783
3695
  };
3784
3696
  };
3785
- const deserializeAws_json1_1PipelineNameInUseException = (output, context) => {
3697
+ const de_PipelineNameInUseException = (output, context) => {
3786
3698
  return {
3787
3699
  message: __expectString(output.message),
3788
3700
  };
3789
3701
  };
3790
- const deserializeAws_json1_1PipelineNotFoundException = (output, context) => {
3702
+ const de_PipelineNotFoundException = (output, context) => {
3791
3703
  return {
3792
3704
  message: __expectString(output.message),
3793
3705
  };
3794
3706
  };
3795
- const deserializeAws_json1_1PipelineStageDeclarationList = (output, context) => {
3707
+ const de_PipelineStageDeclarationList = (output, context) => {
3796
3708
  const retVal = (output || [])
3797
3709
  .filter((e) => e != null)
3798
3710
  .map((entry) => {
3799
3711
  if (entry === null) {
3800
3712
  return null;
3801
3713
  }
3802
- return deserializeAws_json1_1StageDeclaration(entry, context);
3714
+ return de_StageDeclaration(entry, context);
3803
3715
  });
3804
3716
  return retVal;
3805
3717
  };
3806
- const deserializeAws_json1_1PipelineSummary = (output, context) => {
3718
+ const de_PipelineSummary = (output, context) => {
3807
3719
  return {
3808
3720
  created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
3809
3721
  name: __expectString(output.name),
@@ -3811,22 +3723,22 @@ const deserializeAws_json1_1PipelineSummary = (output, context) => {
3811
3723
  version: __expectInt32(output.version),
3812
3724
  };
3813
3725
  };
3814
- const deserializeAws_json1_1PipelineVersionNotFoundException = (output, context) => {
3726
+ const de_PipelineVersionNotFoundException = (output, context) => {
3815
3727
  return {
3816
3728
  message: __expectString(output.message),
3817
3729
  };
3818
3730
  };
3819
- const deserializeAws_json1_1PollForJobsOutput = (output, context) => {
3731
+ const de_PollForJobsOutput = (output, context) => {
3820
3732
  return {
3821
- jobs: output.jobs != null ? deserializeAws_json1_1JobList(output.jobs, context) : undefined,
3733
+ jobs: output.jobs != null ? de_JobList(output.jobs, context) : undefined,
3822
3734
  };
3823
3735
  };
3824
- const deserializeAws_json1_1PollForThirdPartyJobsOutput = (output, context) => {
3736
+ const de_PollForThirdPartyJobsOutput = (output, context) => {
3825
3737
  return {
3826
- jobs: output.jobs != null ? deserializeAws_json1_1ThirdPartyJobList(output.jobs, context) : undefined,
3738
+ jobs: output.jobs != null ? de_ThirdPartyJobList(output.jobs, context) : undefined,
3827
3739
  };
3828
3740
  };
3829
- const deserializeAws_json1_1PollingAccountList = (output, context) => {
3741
+ const de_PollingAccountList = (output, context) => {
3830
3742
  const retVal = (output || [])
3831
3743
  .filter((e) => e != null)
3832
3744
  .map((entry) => {
@@ -3837,7 +3749,7 @@ const deserializeAws_json1_1PollingAccountList = (output, context) => {
3837
3749
  });
3838
3750
  return retVal;
3839
3751
  };
3840
- const deserializeAws_json1_1PollingServicePrincipalList = (output, context) => {
3752
+ const de_PollingServicePrincipalList = (output, context) => {
3841
3753
  const retVal = (output || [])
3842
3754
  .filter((e) => e != null)
3843
3755
  .map((entry) => {
@@ -3848,31 +3760,31 @@ const deserializeAws_json1_1PollingServicePrincipalList = (output, context) => {
3848
3760
  });
3849
3761
  return retVal;
3850
3762
  };
3851
- const deserializeAws_json1_1PutActionRevisionOutput = (output, context) => {
3763
+ const de_PutActionRevisionOutput = (output, context) => {
3852
3764
  return {
3853
3765
  newRevision: __expectBoolean(output.newRevision),
3854
3766
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
3855
3767
  };
3856
3768
  };
3857
- const deserializeAws_json1_1PutApprovalResultOutput = (output, context) => {
3769
+ const de_PutApprovalResultOutput = (output, context) => {
3858
3770
  return {
3859
3771
  approvedAt: output.approvedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.approvedAt))) : undefined,
3860
3772
  };
3861
3773
  };
3862
- const deserializeAws_json1_1PutWebhookOutput = (output, context) => {
3774
+ const de_PutWebhookOutput = (output, context) => {
3863
3775
  return {
3864
- webhook: output.webhook != null ? deserializeAws_json1_1ListWebhookItem(output.webhook, context) : undefined,
3776
+ webhook: output.webhook != null ? de_ListWebhookItem(output.webhook, context) : undefined,
3865
3777
  };
3866
3778
  };
3867
- const deserializeAws_json1_1RegisterWebhookWithThirdPartyOutput = (output, context) => {
3779
+ const de_RegisterWebhookWithThirdPartyOutput = (output, context) => {
3868
3780
  return {};
3869
3781
  };
3870
- const deserializeAws_json1_1RequestFailedException = (output, context) => {
3782
+ const de_RequestFailedException = (output, context) => {
3871
3783
  return {
3872
3784
  message: __expectString(output.message),
3873
3785
  };
3874
3786
  };
3875
- const deserializeAws_json1_1ResolvedActionConfigurationMap = (output, context) => {
3787
+ const de_ResolvedActionConfigurationMap = (output, context) => {
3876
3788
  return Object.entries(output).reduce((acc, [key, value]) => {
3877
3789
  if (value === null) {
3878
3790
  return acc;
@@ -3881,29 +3793,29 @@ const deserializeAws_json1_1ResolvedActionConfigurationMap = (output, context) =
3881
3793
  return acc;
3882
3794
  }, {});
3883
3795
  };
3884
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
3796
+ const de_ResourceNotFoundException = (output, context) => {
3885
3797
  return {
3886
3798
  message: __expectString(output.message),
3887
3799
  };
3888
3800
  };
3889
- const deserializeAws_json1_1RetryStageExecutionOutput = (output, context) => {
3801
+ const de_RetryStageExecutionOutput = (output, context) => {
3890
3802
  return {
3891
3803
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
3892
3804
  };
3893
3805
  };
3894
- const deserializeAws_json1_1S3ArtifactLocation = (output, context) => {
3806
+ const de_S3ArtifactLocation = (output, context) => {
3895
3807
  return {
3896
3808
  bucketName: __expectString(output.bucketName),
3897
3809
  objectKey: __expectString(output.objectKey),
3898
3810
  };
3899
3811
  };
3900
- const deserializeAws_json1_1S3Location = (output, context) => {
3812
+ const de_S3Location = (output, context) => {
3901
3813
  return {
3902
3814
  bucket: __expectString(output.bucket),
3903
3815
  key: __expectString(output.key),
3904
3816
  };
3905
3817
  };
3906
- const deserializeAws_json1_1SourceRevision = (output, context) => {
3818
+ const de_SourceRevision = (output, context) => {
3907
3819
  return {
3908
3820
  actionName: __expectString(output.actionName),
3909
3821
  revisionId: __expectString(output.revisionId),
@@ -3911,176 +3823,164 @@ const deserializeAws_json1_1SourceRevision = (output, context) => {
3911
3823
  revisionUrl: __expectString(output.revisionUrl),
3912
3824
  };
3913
3825
  };
3914
- const deserializeAws_json1_1SourceRevisionList = (output, context) => {
3826
+ const de_SourceRevisionList = (output, context) => {
3915
3827
  const retVal = (output || [])
3916
3828
  .filter((e) => e != null)
3917
3829
  .map((entry) => {
3918
3830
  if (entry === null) {
3919
3831
  return null;
3920
3832
  }
3921
- return deserializeAws_json1_1SourceRevision(entry, context);
3833
+ return de_SourceRevision(entry, context);
3922
3834
  });
3923
3835
  return retVal;
3924
3836
  };
3925
- const deserializeAws_json1_1StageActionDeclarationList = (output, context) => {
3837
+ const de_StageActionDeclarationList = (output, context) => {
3926
3838
  const retVal = (output || [])
3927
3839
  .filter((e) => e != null)
3928
3840
  .map((entry) => {
3929
3841
  if (entry === null) {
3930
3842
  return null;
3931
3843
  }
3932
- return deserializeAws_json1_1ActionDeclaration(entry, context);
3844
+ return de_ActionDeclaration(entry, context);
3933
3845
  });
3934
3846
  return retVal;
3935
3847
  };
3936
- const deserializeAws_json1_1StageBlockerDeclarationList = (output, context) => {
3848
+ const de_StageBlockerDeclarationList = (output, context) => {
3937
3849
  const retVal = (output || [])
3938
3850
  .filter((e) => e != null)
3939
3851
  .map((entry) => {
3940
3852
  if (entry === null) {
3941
3853
  return null;
3942
3854
  }
3943
- return deserializeAws_json1_1BlockerDeclaration(entry, context);
3855
+ return de_BlockerDeclaration(entry, context);
3944
3856
  });
3945
3857
  return retVal;
3946
3858
  };
3947
- const deserializeAws_json1_1StageContext = (output, context) => {
3859
+ const de_StageContext = (output, context) => {
3948
3860
  return {
3949
3861
  name: __expectString(output.name),
3950
3862
  };
3951
3863
  };
3952
- const deserializeAws_json1_1StageDeclaration = (output, context) => {
3864
+ const de_StageDeclaration = (output, context) => {
3953
3865
  return {
3954
- actions: output.actions != null ? deserializeAws_json1_1StageActionDeclarationList(output.actions, context) : undefined,
3955
- blockers: output.blockers != null ? deserializeAws_json1_1StageBlockerDeclarationList(output.blockers, context) : undefined,
3866
+ actions: output.actions != null ? de_StageActionDeclarationList(output.actions, context) : undefined,
3867
+ blockers: output.blockers != null ? de_StageBlockerDeclarationList(output.blockers, context) : undefined,
3956
3868
  name: __expectString(output.name),
3957
3869
  };
3958
3870
  };
3959
- const deserializeAws_json1_1StageExecution = (output, context) => {
3871
+ const de_StageExecution = (output, context) => {
3960
3872
  return {
3961
3873
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
3962
3874
  status: __expectString(output.status),
3963
3875
  };
3964
3876
  };
3965
- const deserializeAws_json1_1StageNotFoundException = (output, context) => {
3877
+ const de_StageNotFoundException = (output, context) => {
3966
3878
  return {
3967
3879
  message: __expectString(output.message),
3968
3880
  };
3969
3881
  };
3970
- const deserializeAws_json1_1StageNotRetryableException = (output, context) => {
3882
+ const de_StageNotRetryableException = (output, context) => {
3971
3883
  return {
3972
3884
  message: __expectString(output.message),
3973
3885
  };
3974
3886
  };
3975
- const deserializeAws_json1_1StageState = (output, context) => {
3887
+ const de_StageState = (output, context) => {
3976
3888
  return {
3977
- actionStates: output.actionStates != null ? deserializeAws_json1_1ActionStateList(output.actionStates, context) : undefined,
3978
- inboundExecution: output.inboundExecution != null
3979
- ? deserializeAws_json1_1StageExecution(output.inboundExecution, context)
3980
- : undefined,
3981
- inboundTransitionState: output.inboundTransitionState != null
3982
- ? deserializeAws_json1_1TransitionState(output.inboundTransitionState, context)
3983
- : undefined,
3984
- latestExecution: output.latestExecution != null
3985
- ? deserializeAws_json1_1StageExecution(output.latestExecution, context)
3986
- : undefined,
3889
+ actionStates: output.actionStates != null ? de_ActionStateList(output.actionStates, context) : undefined,
3890
+ inboundExecution: output.inboundExecution != null ? de_StageExecution(output.inboundExecution, context) : undefined,
3891
+ inboundTransitionState: output.inboundTransitionState != null ? de_TransitionState(output.inboundTransitionState, context) : undefined,
3892
+ latestExecution: output.latestExecution != null ? de_StageExecution(output.latestExecution, context) : undefined,
3987
3893
  stageName: __expectString(output.stageName),
3988
3894
  };
3989
3895
  };
3990
- const deserializeAws_json1_1StageStateList = (output, context) => {
3896
+ const de_StageStateList = (output, context) => {
3991
3897
  const retVal = (output || [])
3992
3898
  .filter((e) => e != null)
3993
3899
  .map((entry) => {
3994
3900
  if (entry === null) {
3995
3901
  return null;
3996
3902
  }
3997
- return deserializeAws_json1_1StageState(entry, context);
3903
+ return de_StageState(entry, context);
3998
3904
  });
3999
3905
  return retVal;
4000
3906
  };
4001
- const deserializeAws_json1_1StartPipelineExecutionOutput = (output, context) => {
3907
+ const de_StartPipelineExecutionOutput = (output, context) => {
4002
3908
  return {
4003
3909
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
4004
3910
  };
4005
3911
  };
4006
- const deserializeAws_json1_1StopExecutionTrigger = (output, context) => {
3912
+ const de_StopExecutionTrigger = (output, context) => {
4007
3913
  return {
4008
3914
  reason: __expectString(output.reason),
4009
3915
  };
4010
3916
  };
4011
- const deserializeAws_json1_1StopPipelineExecutionOutput = (output, context) => {
3917
+ const de_StopPipelineExecutionOutput = (output, context) => {
4012
3918
  return {
4013
3919
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
4014
3920
  };
4015
3921
  };
4016
- const deserializeAws_json1_1Tag = (output, context) => {
3922
+ const de_Tag = (output, context) => {
4017
3923
  return {
4018
3924
  key: __expectString(output.key),
4019
3925
  value: __expectString(output.value),
4020
3926
  };
4021
3927
  };
4022
- const deserializeAws_json1_1TagList = (output, context) => {
3928
+ const de_TagList = (output, context) => {
4023
3929
  const retVal = (output || [])
4024
3930
  .filter((e) => e != null)
4025
3931
  .map((entry) => {
4026
3932
  if (entry === null) {
4027
3933
  return null;
4028
3934
  }
4029
- return deserializeAws_json1_1Tag(entry, context);
3935
+ return de_Tag(entry, context);
4030
3936
  });
4031
3937
  return retVal;
4032
3938
  };
4033
- const deserializeAws_json1_1TagResourceOutput = (output, context) => {
3939
+ const de_TagResourceOutput = (output, context) => {
4034
3940
  return {};
4035
3941
  };
4036
- const deserializeAws_json1_1ThirdPartyJob = (output, context) => {
3942
+ const de_ThirdPartyJob = (output, context) => {
4037
3943
  return {
4038
3944
  clientId: __expectString(output.clientId),
4039
3945
  jobId: __expectString(output.jobId),
4040
3946
  };
4041
3947
  };
4042
- const deserializeAws_json1_1ThirdPartyJobData = (output, context) => {
3948
+ const de_ThirdPartyJobData = (output, context) => {
4043
3949
  return {
4044
- actionConfiguration: output.actionConfiguration != null
4045
- ? deserializeAws_json1_1ActionConfiguration(output.actionConfiguration, context)
4046
- : undefined,
4047
- actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
4048
- artifactCredentials: output.artifactCredentials != null
4049
- ? deserializeAws_json1_1AWSSessionCredentials(output.artifactCredentials, context)
4050
- : undefined,
3950
+ actionConfiguration: output.actionConfiguration != null ? de_ActionConfiguration(output.actionConfiguration, context) : undefined,
3951
+ actionTypeId: output.actionTypeId != null ? de_ActionTypeId(output.actionTypeId, context) : undefined,
3952
+ artifactCredentials: output.artifactCredentials != null ? de_AWSSessionCredentials(output.artifactCredentials, context) : undefined,
4051
3953
  continuationToken: __expectString(output.continuationToken),
4052
- encryptionKey: output.encryptionKey != null ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context) : undefined,
4053
- inputArtifacts: output.inputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.inputArtifacts, context) : undefined,
4054
- outputArtifacts: output.outputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.outputArtifacts, context) : undefined,
4055
- pipelineContext: output.pipelineContext != null
4056
- ? deserializeAws_json1_1PipelineContext(output.pipelineContext, context)
4057
- : undefined,
3954
+ encryptionKey: output.encryptionKey != null ? de_EncryptionKey(output.encryptionKey, context) : undefined,
3955
+ inputArtifacts: output.inputArtifacts != null ? de_ArtifactList(output.inputArtifacts, context) : undefined,
3956
+ outputArtifacts: output.outputArtifacts != null ? de_ArtifactList(output.outputArtifacts, context) : undefined,
3957
+ pipelineContext: output.pipelineContext != null ? de_PipelineContext(output.pipelineContext, context) : undefined,
4058
3958
  };
4059
3959
  };
4060
- const deserializeAws_json1_1ThirdPartyJobDetails = (output, context) => {
3960
+ const de_ThirdPartyJobDetails = (output, context) => {
4061
3961
  return {
4062
- data: output.data != null ? deserializeAws_json1_1ThirdPartyJobData(output.data, context) : undefined,
3962
+ data: output.data != null ? de_ThirdPartyJobData(output.data, context) : undefined,
4063
3963
  id: __expectString(output.id),
4064
3964
  nonce: __expectString(output.nonce),
4065
3965
  };
4066
3966
  };
4067
- const deserializeAws_json1_1ThirdPartyJobList = (output, context) => {
3967
+ const de_ThirdPartyJobList = (output, context) => {
4068
3968
  const retVal = (output || [])
4069
3969
  .filter((e) => e != null)
4070
3970
  .map((entry) => {
4071
3971
  if (entry === null) {
4072
3972
  return null;
4073
3973
  }
4074
- return deserializeAws_json1_1ThirdPartyJob(entry, context);
3974
+ return de_ThirdPartyJob(entry, context);
4075
3975
  });
4076
3976
  return retVal;
4077
3977
  };
4078
- const deserializeAws_json1_1TooManyTagsException = (output, context) => {
3978
+ const de_TooManyTagsException = (output, context) => {
4079
3979
  return {
4080
3980
  message: __expectString(output.message),
4081
3981
  };
4082
3982
  };
4083
- const deserializeAws_json1_1TransitionState = (output, context) => {
3983
+ const de_TransitionState = (output, context) => {
4084
3984
  return {
4085
3985
  disabledReason: __expectString(output.disabledReason),
4086
3986
  enabled: __expectBoolean(output.enabled),
@@ -4090,66 +3990,66 @@ const deserializeAws_json1_1TransitionState = (output, context) => {
4090
3990
  lastChangedBy: __expectString(output.lastChangedBy),
4091
3991
  };
4092
3992
  };
4093
- const deserializeAws_json1_1UntagResourceOutput = (output, context) => {
3993
+ const de_UntagResourceOutput = (output, context) => {
4094
3994
  return {};
4095
3995
  };
4096
- const deserializeAws_json1_1UpdatePipelineOutput = (output, context) => {
3996
+ const de_UpdatePipelineOutput = (output, context) => {
4097
3997
  return {
4098
- pipeline: output.pipeline != null ? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context) : undefined,
3998
+ pipeline: output.pipeline != null ? de_PipelineDeclaration(output.pipeline, context) : undefined,
4099
3999
  };
4100
4000
  };
4101
- const deserializeAws_json1_1ValidationException = (output, context) => {
4001
+ const de_ValidationException = (output, context) => {
4102
4002
  return {
4103
4003
  message: __expectString(output.message),
4104
4004
  };
4105
4005
  };
4106
- const deserializeAws_json1_1WebhookAuthConfiguration = (output, context) => {
4006
+ const de_WebhookAuthConfiguration = (output, context) => {
4107
4007
  return {
4108
4008
  AllowedIPRange: __expectString(output.AllowedIPRange),
4109
4009
  SecretToken: __expectString(output.SecretToken),
4110
4010
  };
4111
4011
  };
4112
- const deserializeAws_json1_1WebhookDefinition = (output, context) => {
4012
+ const de_WebhookDefinition = (output, context) => {
4113
4013
  return {
4114
4014
  authentication: __expectString(output.authentication),
4115
4015
  authenticationConfiguration: output.authenticationConfiguration != null
4116
- ? deserializeAws_json1_1WebhookAuthConfiguration(output.authenticationConfiguration, context)
4016
+ ? de_WebhookAuthConfiguration(output.authenticationConfiguration, context)
4117
4017
  : undefined,
4118
- filters: output.filters != null ? deserializeAws_json1_1WebhookFilters(output.filters, context) : undefined,
4018
+ filters: output.filters != null ? de_WebhookFilters(output.filters, context) : undefined,
4119
4019
  name: __expectString(output.name),
4120
4020
  targetAction: __expectString(output.targetAction),
4121
4021
  targetPipeline: __expectString(output.targetPipeline),
4122
4022
  };
4123
4023
  };
4124
- const deserializeAws_json1_1WebhookFilterRule = (output, context) => {
4024
+ const de_WebhookFilterRule = (output, context) => {
4125
4025
  return {
4126
4026
  jsonPath: __expectString(output.jsonPath),
4127
4027
  matchEquals: __expectString(output.matchEquals),
4128
4028
  };
4129
4029
  };
4130
- const deserializeAws_json1_1WebhookFilters = (output, context) => {
4030
+ const de_WebhookFilters = (output, context) => {
4131
4031
  const retVal = (output || [])
4132
4032
  .filter((e) => e != null)
4133
4033
  .map((entry) => {
4134
4034
  if (entry === null) {
4135
4035
  return null;
4136
4036
  }
4137
- return deserializeAws_json1_1WebhookFilterRule(entry, context);
4037
+ return de_WebhookFilterRule(entry, context);
4138
4038
  });
4139
4039
  return retVal;
4140
4040
  };
4141
- const deserializeAws_json1_1WebhookList = (output, context) => {
4041
+ const de_WebhookList = (output, context) => {
4142
4042
  const retVal = (output || [])
4143
4043
  .filter((e) => e != null)
4144
4044
  .map((entry) => {
4145
4045
  if (entry === null) {
4146
4046
  return null;
4147
4047
  }
4148
- return deserializeAws_json1_1ListWebhookItem(entry, context);
4048
+ return de_ListWebhookItem(entry, context);
4149
4049
  });
4150
4050
  return retVal;
4151
4051
  };
4152
- const deserializeAws_json1_1WebhookNotFoundException = (output, context) => {
4052
+ const de_WebhookNotFoundException = (output, context) => {
4153
4053
  return {};
4154
4054
  };
4155
4055
  const deserializeMetadata = (output) => ({