@aws-sdk/client-proton 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2765 -3968
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ProtonClient.js +2 -0
- package/dist-es/commands/AcceptEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/CancelComponentDeploymentCommand.js +3 -10
- package/dist-es/commands/CancelEnvironmentDeploymentCommand.js +3 -10
- package/dist-es/commands/CancelServiceInstanceDeploymentCommand.js +3 -10
- package/dist-es/commands/CancelServicePipelineDeploymentCommand.js +3 -10
- package/dist-es/commands/CreateComponentCommand.js +3 -10
- package/dist-es/commands/CreateEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
- package/dist-es/commands/CreateEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/CreateEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/CreateRepositoryCommand.js +3 -9
- package/dist-es/commands/CreateServiceCommand.js +3 -10
- package/dist-es/commands/CreateServiceInstanceCommand.js +3 -10
- package/dist-es/commands/CreateServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/CreateServiceTemplateCommand.js +3 -10
- package/dist-es/commands/CreateServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/CreateTemplateSyncConfigCommand.js +3 -9
- package/dist-es/commands/DeleteComponentCommand.js +3 -10
- package/dist-es/commands/DeleteDeploymentCommand.js +3 -10
- package/dist-es/commands/DeleteEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteEnvironmentCommand.js +3 -10
- package/dist-es/commands/DeleteEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/DeleteEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
- package/dist-es/commands/DeleteServiceCommand.js +3 -10
- package/dist-es/commands/DeleteServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/DeleteServiceTemplateCommand.js +3 -10
- package/dist-es/commands/DeleteServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/DeleteTemplateSyncConfigCommand.js +3 -9
- package/dist-es/commands/GetAccountSettingsCommand.js +3 -9
- package/dist-es/commands/GetComponentCommand.js +3 -10
- package/dist-es/commands/GetDeploymentCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/GetEnvironmentCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/GetRepositoryCommand.js +3 -9
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +3 -9
- package/dist-es/commands/GetResourcesSummaryCommand.js +3 -9
- package/dist-es/commands/GetServiceCommand.js +3 -10
- package/dist-es/commands/GetServiceInstanceCommand.js +3 -10
- package/dist-es/commands/GetServiceInstanceSyncStatusCommand.js +3 -9
- package/dist-es/commands/GetServiceSyncBlockerSummaryCommand.js +3 -9
- package/dist-es/commands/GetServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/GetServiceTemplateCommand.js +3 -10
- package/dist-es/commands/GetServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/GetTemplateSyncConfigCommand.js +3 -9
- package/dist-es/commands/GetTemplateSyncStatusCommand.js +3 -9
- package/dist-es/commands/ListComponentOutputsCommand.js +3 -10
- package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListComponentsCommand.js +3 -10
- package/dist-es/commands/ListDeploymentsCommand.js +3 -9
- package/dist-es/commands/ListEnvironmentAccountConnectionsCommand.js +3 -9
- package/dist-es/commands/ListEnvironmentOutputsCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListEnvironmentTemplateVersionsCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentTemplatesCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentsCommand.js +3 -10
- package/dist-es/commands/ListRepositoriesCommand.js +3 -9
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListServiceInstanceOutputsCommand.js +3 -10
- package/dist-es/commands/ListServiceInstanceProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListServiceInstancesCommand.js +3 -10
- package/dist-es/commands/ListServicePipelineOutputsCommand.js +3 -10
- package/dist-es/commands/ListServicePipelineProvisionedResourcesCommand.js +3 -9
- package/dist-es/commands/ListServiceTemplateVersionsCommand.js +3 -10
- package/dist-es/commands/ListServiceTemplatesCommand.js +3 -10
- package/dist-es/commands/ListServicesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/NotifyResourceDeploymentStatusChangeCommand.js +3 -10
- package/dist-es/commands/RejectEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateComponentCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentAccountConnectionCommand.js +3 -9
- package/dist-es/commands/UpdateEnvironmentCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateEnvironmentTemplateVersionCommand.js +3 -10
- package/dist-es/commands/UpdateServiceCommand.js +3 -10
- package/dist-es/commands/UpdateServiceInstanceCommand.js +3 -10
- package/dist-es/commands/UpdateServicePipelineCommand.js +3 -10
- package/dist-es/commands/UpdateServiceSyncBlockerCommand.js +3 -9
- package/dist-es/commands/UpdateServiceSyncConfigCommand.js +3 -9
- package/dist-es/commands/UpdateServiceTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateServiceTemplateVersionCommand.js +3 -10
- package/dist-es/commands/UpdateTemplateSyncConfigCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -446
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2572 -0
- package/dist-types/ProtonClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -368
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +358 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -266
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +364 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -2805
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -785
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -1049
|
@@ -1,2805 +0,0 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { v4 as generateIdempotencyToken } from "@smithy/uuid";
|
|
5
|
-
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
|
-
import { ProtonServiceException as __BaseException } from "../models/ProtonServiceException";
|
|
7
|
-
export const se_AcceptEnvironmentAccountConnectionCommand = async (input, context) => {
|
|
8
|
-
const headers = sharedHeaders("AcceptEnvironmentAccountConnection");
|
|
9
|
-
let body;
|
|
10
|
-
body = JSON.stringify(_json(input));
|
|
11
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
-
};
|
|
13
|
-
export const se_CancelComponentDeploymentCommand = async (input, context) => {
|
|
14
|
-
const headers = sharedHeaders("CancelComponentDeployment");
|
|
15
|
-
let body;
|
|
16
|
-
body = JSON.stringify(_json(input));
|
|
17
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
|
-
};
|
|
19
|
-
export const se_CancelEnvironmentDeploymentCommand = async (input, context) => {
|
|
20
|
-
const headers = sharedHeaders("CancelEnvironmentDeployment");
|
|
21
|
-
let body;
|
|
22
|
-
body = JSON.stringify(_json(input));
|
|
23
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
|
-
};
|
|
25
|
-
export const se_CancelServiceInstanceDeploymentCommand = async (input, context) => {
|
|
26
|
-
const headers = sharedHeaders("CancelServiceInstanceDeployment");
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(_json(input));
|
|
29
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
-
};
|
|
31
|
-
export const se_CancelServicePipelineDeploymentCommand = async (input, context) => {
|
|
32
|
-
const headers = sharedHeaders("CancelServicePipelineDeployment");
|
|
33
|
-
let body;
|
|
34
|
-
body = JSON.stringify(_json(input));
|
|
35
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
-
};
|
|
37
|
-
export const se_CreateComponentCommand = async (input, context) => {
|
|
38
|
-
const headers = sharedHeaders("CreateComponent");
|
|
39
|
-
let body;
|
|
40
|
-
body = JSON.stringify(se_CreateComponentInput(input, context));
|
|
41
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
-
};
|
|
43
|
-
export const se_CreateEnvironmentCommand = async (input, context) => {
|
|
44
|
-
const headers = sharedHeaders("CreateEnvironment");
|
|
45
|
-
let body;
|
|
46
|
-
body = JSON.stringify(se_CreateEnvironmentInput(input, context));
|
|
47
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
|
-
};
|
|
49
|
-
export const se_CreateEnvironmentAccountConnectionCommand = async (input, context) => {
|
|
50
|
-
const headers = sharedHeaders("CreateEnvironmentAccountConnection");
|
|
51
|
-
let body;
|
|
52
|
-
body = JSON.stringify(se_CreateEnvironmentAccountConnectionInput(input, context));
|
|
53
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
|
-
};
|
|
55
|
-
export const se_CreateEnvironmentTemplateCommand = async (input, context) => {
|
|
56
|
-
const headers = sharedHeaders("CreateEnvironmentTemplate");
|
|
57
|
-
let body;
|
|
58
|
-
body = JSON.stringify(_json(input));
|
|
59
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
|
-
};
|
|
61
|
-
export const se_CreateEnvironmentTemplateVersionCommand = async (input, context) => {
|
|
62
|
-
const headers = sharedHeaders("CreateEnvironmentTemplateVersion");
|
|
63
|
-
let body;
|
|
64
|
-
body = JSON.stringify(se_CreateEnvironmentTemplateVersionInput(input, context));
|
|
65
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
|
-
};
|
|
67
|
-
export const se_CreateRepositoryCommand = async (input, context) => {
|
|
68
|
-
const headers = sharedHeaders("CreateRepository");
|
|
69
|
-
let body;
|
|
70
|
-
body = JSON.stringify(_json(input));
|
|
71
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
|
-
};
|
|
73
|
-
export const se_CreateServiceCommand = async (input, context) => {
|
|
74
|
-
const headers = sharedHeaders("CreateService");
|
|
75
|
-
let body;
|
|
76
|
-
body = JSON.stringify(se_CreateServiceInput(input, context));
|
|
77
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
|
-
};
|
|
79
|
-
export const se_CreateServiceInstanceCommand = async (input, context) => {
|
|
80
|
-
const headers = sharedHeaders("CreateServiceInstance");
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify(se_CreateServiceInstanceInput(input, context));
|
|
83
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
|
-
};
|
|
85
|
-
export const se_CreateServiceSyncConfigCommand = async (input, context) => {
|
|
86
|
-
const headers = sharedHeaders("CreateServiceSyncConfig");
|
|
87
|
-
let body;
|
|
88
|
-
body = JSON.stringify(_json(input));
|
|
89
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
|
-
};
|
|
91
|
-
export const se_CreateServiceTemplateCommand = async (input, context) => {
|
|
92
|
-
const headers = sharedHeaders("CreateServiceTemplate");
|
|
93
|
-
let body;
|
|
94
|
-
body = JSON.stringify(_json(input));
|
|
95
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
-
};
|
|
97
|
-
export const se_CreateServiceTemplateVersionCommand = async (input, context) => {
|
|
98
|
-
const headers = sharedHeaders("CreateServiceTemplateVersion");
|
|
99
|
-
let body;
|
|
100
|
-
body = JSON.stringify(se_CreateServiceTemplateVersionInput(input, context));
|
|
101
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
|
-
};
|
|
103
|
-
export const se_CreateTemplateSyncConfigCommand = async (input, context) => {
|
|
104
|
-
const headers = sharedHeaders("CreateTemplateSyncConfig");
|
|
105
|
-
let body;
|
|
106
|
-
body = JSON.stringify(_json(input));
|
|
107
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
|
-
};
|
|
109
|
-
export const se_DeleteComponentCommand = async (input, context) => {
|
|
110
|
-
const headers = sharedHeaders("DeleteComponent");
|
|
111
|
-
let body;
|
|
112
|
-
body = JSON.stringify(_json(input));
|
|
113
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
-
};
|
|
115
|
-
export const se_DeleteDeploymentCommand = async (input, context) => {
|
|
116
|
-
const headers = sharedHeaders("DeleteDeployment");
|
|
117
|
-
let body;
|
|
118
|
-
body = JSON.stringify(_json(input));
|
|
119
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
|
-
};
|
|
121
|
-
export const se_DeleteEnvironmentCommand = async (input, context) => {
|
|
122
|
-
const headers = sharedHeaders("DeleteEnvironment");
|
|
123
|
-
let body;
|
|
124
|
-
body = JSON.stringify(_json(input));
|
|
125
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
|
-
};
|
|
127
|
-
export const se_DeleteEnvironmentAccountConnectionCommand = async (input, context) => {
|
|
128
|
-
const headers = sharedHeaders("DeleteEnvironmentAccountConnection");
|
|
129
|
-
let body;
|
|
130
|
-
body = JSON.stringify(_json(input));
|
|
131
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
|
-
};
|
|
133
|
-
export const se_DeleteEnvironmentTemplateCommand = async (input, context) => {
|
|
134
|
-
const headers = sharedHeaders("DeleteEnvironmentTemplate");
|
|
135
|
-
let body;
|
|
136
|
-
body = JSON.stringify(_json(input));
|
|
137
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
|
-
};
|
|
139
|
-
export const se_DeleteEnvironmentTemplateVersionCommand = async (input, context) => {
|
|
140
|
-
const headers = sharedHeaders("DeleteEnvironmentTemplateVersion");
|
|
141
|
-
let body;
|
|
142
|
-
body = JSON.stringify(_json(input));
|
|
143
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
144
|
-
};
|
|
145
|
-
export const se_DeleteRepositoryCommand = async (input, context) => {
|
|
146
|
-
const headers = sharedHeaders("DeleteRepository");
|
|
147
|
-
let body;
|
|
148
|
-
body = JSON.stringify(_json(input));
|
|
149
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
|
-
};
|
|
151
|
-
export const se_DeleteServiceCommand = async (input, context) => {
|
|
152
|
-
const headers = sharedHeaders("DeleteService");
|
|
153
|
-
let body;
|
|
154
|
-
body = JSON.stringify(_json(input));
|
|
155
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
|
-
};
|
|
157
|
-
export const se_DeleteServiceSyncConfigCommand = async (input, context) => {
|
|
158
|
-
const headers = sharedHeaders("DeleteServiceSyncConfig");
|
|
159
|
-
let body;
|
|
160
|
-
body = JSON.stringify(_json(input));
|
|
161
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
-
};
|
|
163
|
-
export const se_DeleteServiceTemplateCommand = async (input, context) => {
|
|
164
|
-
const headers = sharedHeaders("DeleteServiceTemplate");
|
|
165
|
-
let body;
|
|
166
|
-
body = JSON.stringify(_json(input));
|
|
167
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
|
-
};
|
|
169
|
-
export const se_DeleteServiceTemplateVersionCommand = async (input, context) => {
|
|
170
|
-
const headers = sharedHeaders("DeleteServiceTemplateVersion");
|
|
171
|
-
let body;
|
|
172
|
-
body = JSON.stringify(_json(input));
|
|
173
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
|
-
};
|
|
175
|
-
export const se_DeleteTemplateSyncConfigCommand = async (input, context) => {
|
|
176
|
-
const headers = sharedHeaders("DeleteTemplateSyncConfig");
|
|
177
|
-
let body;
|
|
178
|
-
body = JSON.stringify(_json(input));
|
|
179
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
|
-
};
|
|
181
|
-
export const se_GetAccountSettingsCommand = async (input, context) => {
|
|
182
|
-
const headers = sharedHeaders("GetAccountSettings");
|
|
183
|
-
let body;
|
|
184
|
-
body = JSON.stringify(_json(input));
|
|
185
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
|
-
};
|
|
187
|
-
export const se_GetComponentCommand = async (input, context) => {
|
|
188
|
-
const headers = sharedHeaders("GetComponent");
|
|
189
|
-
let body;
|
|
190
|
-
body = JSON.stringify(_json(input));
|
|
191
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
|
-
};
|
|
193
|
-
export const se_GetDeploymentCommand = async (input, context) => {
|
|
194
|
-
const headers = sharedHeaders("GetDeployment");
|
|
195
|
-
let body;
|
|
196
|
-
body = JSON.stringify(_json(input));
|
|
197
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
|
-
};
|
|
199
|
-
export const se_GetEnvironmentCommand = async (input, context) => {
|
|
200
|
-
const headers = sharedHeaders("GetEnvironment");
|
|
201
|
-
let body;
|
|
202
|
-
body = JSON.stringify(_json(input));
|
|
203
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
-
};
|
|
205
|
-
export const se_GetEnvironmentAccountConnectionCommand = async (input, context) => {
|
|
206
|
-
const headers = sharedHeaders("GetEnvironmentAccountConnection");
|
|
207
|
-
let body;
|
|
208
|
-
body = JSON.stringify(_json(input));
|
|
209
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
-
};
|
|
211
|
-
export const se_GetEnvironmentTemplateCommand = async (input, context) => {
|
|
212
|
-
const headers = sharedHeaders("GetEnvironmentTemplate");
|
|
213
|
-
let body;
|
|
214
|
-
body = JSON.stringify(_json(input));
|
|
215
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
|
-
};
|
|
217
|
-
export const se_GetEnvironmentTemplateVersionCommand = async (input, context) => {
|
|
218
|
-
const headers = sharedHeaders("GetEnvironmentTemplateVersion");
|
|
219
|
-
let body;
|
|
220
|
-
body = JSON.stringify(_json(input));
|
|
221
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
|
-
};
|
|
223
|
-
export const se_GetRepositoryCommand = async (input, context) => {
|
|
224
|
-
const headers = sharedHeaders("GetRepository");
|
|
225
|
-
let body;
|
|
226
|
-
body = JSON.stringify(_json(input));
|
|
227
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
|
-
};
|
|
229
|
-
export const se_GetRepositorySyncStatusCommand = async (input, context) => {
|
|
230
|
-
const headers = sharedHeaders("GetRepositorySyncStatus");
|
|
231
|
-
let body;
|
|
232
|
-
body = JSON.stringify(_json(input));
|
|
233
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
-
};
|
|
235
|
-
export const se_GetResourcesSummaryCommand = async (input, context) => {
|
|
236
|
-
const headers = sharedHeaders("GetResourcesSummary");
|
|
237
|
-
let body;
|
|
238
|
-
body = JSON.stringify(_json(input));
|
|
239
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
-
};
|
|
241
|
-
export const se_GetServiceCommand = async (input, context) => {
|
|
242
|
-
const headers = sharedHeaders("GetService");
|
|
243
|
-
let body;
|
|
244
|
-
body = JSON.stringify(_json(input));
|
|
245
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
-
};
|
|
247
|
-
export const se_GetServiceInstanceCommand = async (input, context) => {
|
|
248
|
-
const headers = sharedHeaders("GetServiceInstance");
|
|
249
|
-
let body;
|
|
250
|
-
body = JSON.stringify(_json(input));
|
|
251
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
252
|
-
};
|
|
253
|
-
export const se_GetServiceInstanceSyncStatusCommand = async (input, context) => {
|
|
254
|
-
const headers = sharedHeaders("GetServiceInstanceSyncStatus");
|
|
255
|
-
let body;
|
|
256
|
-
body = JSON.stringify(_json(input));
|
|
257
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
|
-
};
|
|
259
|
-
export const se_GetServiceSyncBlockerSummaryCommand = async (input, context) => {
|
|
260
|
-
const headers = sharedHeaders("GetServiceSyncBlockerSummary");
|
|
261
|
-
let body;
|
|
262
|
-
body = JSON.stringify(_json(input));
|
|
263
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
264
|
-
};
|
|
265
|
-
export const se_GetServiceSyncConfigCommand = async (input, context) => {
|
|
266
|
-
const headers = sharedHeaders("GetServiceSyncConfig");
|
|
267
|
-
let body;
|
|
268
|
-
body = JSON.stringify(_json(input));
|
|
269
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
270
|
-
};
|
|
271
|
-
export const se_GetServiceTemplateCommand = async (input, context) => {
|
|
272
|
-
const headers = sharedHeaders("GetServiceTemplate");
|
|
273
|
-
let body;
|
|
274
|
-
body = JSON.stringify(_json(input));
|
|
275
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
276
|
-
};
|
|
277
|
-
export const se_GetServiceTemplateVersionCommand = async (input, context) => {
|
|
278
|
-
const headers = sharedHeaders("GetServiceTemplateVersion");
|
|
279
|
-
let body;
|
|
280
|
-
body = JSON.stringify(_json(input));
|
|
281
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
|
-
};
|
|
283
|
-
export const se_GetTemplateSyncConfigCommand = async (input, context) => {
|
|
284
|
-
const headers = sharedHeaders("GetTemplateSyncConfig");
|
|
285
|
-
let body;
|
|
286
|
-
body = JSON.stringify(_json(input));
|
|
287
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
|
-
};
|
|
289
|
-
export const se_GetTemplateSyncStatusCommand = async (input, context) => {
|
|
290
|
-
const headers = sharedHeaders("GetTemplateSyncStatus");
|
|
291
|
-
let body;
|
|
292
|
-
body = JSON.stringify(_json(input));
|
|
293
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
|
-
};
|
|
295
|
-
export const se_ListComponentOutputsCommand = async (input, context) => {
|
|
296
|
-
const headers = sharedHeaders("ListComponentOutputs");
|
|
297
|
-
let body;
|
|
298
|
-
body = JSON.stringify(_json(input));
|
|
299
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
300
|
-
};
|
|
301
|
-
export const se_ListComponentProvisionedResourcesCommand = async (input, context) => {
|
|
302
|
-
const headers = sharedHeaders("ListComponentProvisionedResources");
|
|
303
|
-
let body;
|
|
304
|
-
body = JSON.stringify(_json(input));
|
|
305
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
306
|
-
};
|
|
307
|
-
export const se_ListComponentsCommand = async (input, context) => {
|
|
308
|
-
const headers = sharedHeaders("ListComponents");
|
|
309
|
-
let body;
|
|
310
|
-
body = JSON.stringify(_json(input));
|
|
311
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
312
|
-
};
|
|
313
|
-
export const se_ListDeploymentsCommand = async (input, context) => {
|
|
314
|
-
const headers = sharedHeaders("ListDeployments");
|
|
315
|
-
let body;
|
|
316
|
-
body = JSON.stringify(_json(input));
|
|
317
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
318
|
-
};
|
|
319
|
-
export const se_ListEnvironmentAccountConnectionsCommand = async (input, context) => {
|
|
320
|
-
const headers = sharedHeaders("ListEnvironmentAccountConnections");
|
|
321
|
-
let body;
|
|
322
|
-
body = JSON.stringify(_json(input));
|
|
323
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
324
|
-
};
|
|
325
|
-
export const se_ListEnvironmentOutputsCommand = async (input, context) => {
|
|
326
|
-
const headers = sharedHeaders("ListEnvironmentOutputs");
|
|
327
|
-
let body;
|
|
328
|
-
body = JSON.stringify(_json(input));
|
|
329
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
|
-
};
|
|
331
|
-
export const se_ListEnvironmentProvisionedResourcesCommand = async (input, context) => {
|
|
332
|
-
const headers = sharedHeaders("ListEnvironmentProvisionedResources");
|
|
333
|
-
let body;
|
|
334
|
-
body = JSON.stringify(_json(input));
|
|
335
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
336
|
-
};
|
|
337
|
-
export const se_ListEnvironmentsCommand = async (input, context) => {
|
|
338
|
-
const headers = sharedHeaders("ListEnvironments");
|
|
339
|
-
let body;
|
|
340
|
-
body = JSON.stringify(_json(input));
|
|
341
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
342
|
-
};
|
|
343
|
-
export const se_ListEnvironmentTemplatesCommand = async (input, context) => {
|
|
344
|
-
const headers = sharedHeaders("ListEnvironmentTemplates");
|
|
345
|
-
let body;
|
|
346
|
-
body = JSON.stringify(_json(input));
|
|
347
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
348
|
-
};
|
|
349
|
-
export const se_ListEnvironmentTemplateVersionsCommand = async (input, context) => {
|
|
350
|
-
const headers = sharedHeaders("ListEnvironmentTemplateVersions");
|
|
351
|
-
let body;
|
|
352
|
-
body = JSON.stringify(_json(input));
|
|
353
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
354
|
-
};
|
|
355
|
-
export const se_ListRepositoriesCommand = async (input, context) => {
|
|
356
|
-
const headers = sharedHeaders("ListRepositories");
|
|
357
|
-
let body;
|
|
358
|
-
body = JSON.stringify(_json(input));
|
|
359
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
|
-
};
|
|
361
|
-
export const se_ListRepositorySyncDefinitionsCommand = async (input, context) => {
|
|
362
|
-
const headers = sharedHeaders("ListRepositorySyncDefinitions");
|
|
363
|
-
let body;
|
|
364
|
-
body = JSON.stringify(_json(input));
|
|
365
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
366
|
-
};
|
|
367
|
-
export const se_ListServiceInstanceOutputsCommand = async (input, context) => {
|
|
368
|
-
const headers = sharedHeaders("ListServiceInstanceOutputs");
|
|
369
|
-
let body;
|
|
370
|
-
body = JSON.stringify(_json(input));
|
|
371
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
|
-
};
|
|
373
|
-
export const se_ListServiceInstanceProvisionedResourcesCommand = async (input, context) => {
|
|
374
|
-
const headers = sharedHeaders("ListServiceInstanceProvisionedResources");
|
|
375
|
-
let body;
|
|
376
|
-
body = JSON.stringify(_json(input));
|
|
377
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
378
|
-
};
|
|
379
|
-
export const se_ListServiceInstancesCommand = async (input, context) => {
|
|
380
|
-
const headers = sharedHeaders("ListServiceInstances");
|
|
381
|
-
let body;
|
|
382
|
-
body = JSON.stringify(_json(input));
|
|
383
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
384
|
-
};
|
|
385
|
-
export const se_ListServicePipelineOutputsCommand = async (input, context) => {
|
|
386
|
-
const headers = sharedHeaders("ListServicePipelineOutputs");
|
|
387
|
-
let body;
|
|
388
|
-
body = JSON.stringify(_json(input));
|
|
389
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
390
|
-
};
|
|
391
|
-
export const se_ListServicePipelineProvisionedResourcesCommand = async (input, context) => {
|
|
392
|
-
const headers = sharedHeaders("ListServicePipelineProvisionedResources");
|
|
393
|
-
let body;
|
|
394
|
-
body = JSON.stringify(_json(input));
|
|
395
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
396
|
-
};
|
|
397
|
-
export const se_ListServicesCommand = async (input, context) => {
|
|
398
|
-
const headers = sharedHeaders("ListServices");
|
|
399
|
-
let body;
|
|
400
|
-
body = JSON.stringify(_json(input));
|
|
401
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
402
|
-
};
|
|
403
|
-
export const se_ListServiceTemplatesCommand = async (input, context) => {
|
|
404
|
-
const headers = sharedHeaders("ListServiceTemplates");
|
|
405
|
-
let body;
|
|
406
|
-
body = JSON.stringify(_json(input));
|
|
407
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
|
-
};
|
|
409
|
-
export const se_ListServiceTemplateVersionsCommand = async (input, context) => {
|
|
410
|
-
const headers = sharedHeaders("ListServiceTemplateVersions");
|
|
411
|
-
let body;
|
|
412
|
-
body = JSON.stringify(_json(input));
|
|
413
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
414
|
-
};
|
|
415
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
416
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
417
|
-
let body;
|
|
418
|
-
body = JSON.stringify(_json(input));
|
|
419
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
420
|
-
};
|
|
421
|
-
export const se_NotifyResourceDeploymentStatusChangeCommand = async (input, context) => {
|
|
422
|
-
const headers = sharedHeaders("NotifyResourceDeploymentStatusChange");
|
|
423
|
-
let body;
|
|
424
|
-
body = JSON.stringify(_json(input));
|
|
425
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
426
|
-
};
|
|
427
|
-
export const se_RejectEnvironmentAccountConnectionCommand = async (input, context) => {
|
|
428
|
-
const headers = sharedHeaders("RejectEnvironmentAccountConnection");
|
|
429
|
-
let body;
|
|
430
|
-
body = JSON.stringify(_json(input));
|
|
431
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
432
|
-
};
|
|
433
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
434
|
-
const headers = sharedHeaders("TagResource");
|
|
435
|
-
let body;
|
|
436
|
-
body = JSON.stringify(_json(input));
|
|
437
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
438
|
-
};
|
|
439
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
440
|
-
const headers = sharedHeaders("UntagResource");
|
|
441
|
-
let body;
|
|
442
|
-
body = JSON.stringify(_json(input));
|
|
443
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
444
|
-
};
|
|
445
|
-
export const se_UpdateAccountSettingsCommand = async (input, context) => {
|
|
446
|
-
const headers = sharedHeaders("UpdateAccountSettings");
|
|
447
|
-
let body;
|
|
448
|
-
body = JSON.stringify(_json(input));
|
|
449
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
450
|
-
};
|
|
451
|
-
export const se_UpdateComponentCommand = async (input, context) => {
|
|
452
|
-
const headers = sharedHeaders("UpdateComponent");
|
|
453
|
-
let body;
|
|
454
|
-
body = JSON.stringify(se_UpdateComponentInput(input, context));
|
|
455
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
456
|
-
};
|
|
457
|
-
export const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
458
|
-
const headers = sharedHeaders("UpdateEnvironment");
|
|
459
|
-
let body;
|
|
460
|
-
body = JSON.stringify(se_UpdateEnvironmentInput(input, context));
|
|
461
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
462
|
-
};
|
|
463
|
-
export const se_UpdateEnvironmentAccountConnectionCommand = async (input, context) => {
|
|
464
|
-
const headers = sharedHeaders("UpdateEnvironmentAccountConnection");
|
|
465
|
-
let body;
|
|
466
|
-
body = JSON.stringify(_json(input));
|
|
467
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
468
|
-
};
|
|
469
|
-
export const se_UpdateEnvironmentTemplateCommand = async (input, context) => {
|
|
470
|
-
const headers = sharedHeaders("UpdateEnvironmentTemplate");
|
|
471
|
-
let body;
|
|
472
|
-
body = JSON.stringify(_json(input));
|
|
473
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
474
|
-
};
|
|
475
|
-
export const se_UpdateEnvironmentTemplateVersionCommand = async (input, context) => {
|
|
476
|
-
const headers = sharedHeaders("UpdateEnvironmentTemplateVersion");
|
|
477
|
-
let body;
|
|
478
|
-
body = JSON.stringify(_json(input));
|
|
479
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
480
|
-
};
|
|
481
|
-
export const se_UpdateServiceCommand = async (input, context) => {
|
|
482
|
-
const headers = sharedHeaders("UpdateService");
|
|
483
|
-
let body;
|
|
484
|
-
body = JSON.stringify(se_UpdateServiceInput(input, context));
|
|
485
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
486
|
-
};
|
|
487
|
-
export const se_UpdateServiceInstanceCommand = async (input, context) => {
|
|
488
|
-
const headers = sharedHeaders("UpdateServiceInstance");
|
|
489
|
-
let body;
|
|
490
|
-
body = JSON.stringify(se_UpdateServiceInstanceInput(input, context));
|
|
491
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
|
-
};
|
|
493
|
-
export const se_UpdateServicePipelineCommand = async (input, context) => {
|
|
494
|
-
const headers = sharedHeaders("UpdateServicePipeline");
|
|
495
|
-
let body;
|
|
496
|
-
body = JSON.stringify(se_UpdateServicePipelineInput(input, context));
|
|
497
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
498
|
-
};
|
|
499
|
-
export const se_UpdateServiceSyncBlockerCommand = async (input, context) => {
|
|
500
|
-
const headers = sharedHeaders("UpdateServiceSyncBlocker");
|
|
501
|
-
let body;
|
|
502
|
-
body = JSON.stringify(_json(input));
|
|
503
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
504
|
-
};
|
|
505
|
-
export const se_UpdateServiceSyncConfigCommand = async (input, context) => {
|
|
506
|
-
const headers = sharedHeaders("UpdateServiceSyncConfig");
|
|
507
|
-
let body;
|
|
508
|
-
body = JSON.stringify(_json(input));
|
|
509
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
|
-
};
|
|
511
|
-
export const se_UpdateServiceTemplateCommand = async (input, context) => {
|
|
512
|
-
const headers = sharedHeaders("UpdateServiceTemplate");
|
|
513
|
-
let body;
|
|
514
|
-
body = JSON.stringify(_json(input));
|
|
515
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
516
|
-
};
|
|
517
|
-
export const se_UpdateServiceTemplateVersionCommand = async (input, context) => {
|
|
518
|
-
const headers = sharedHeaders("UpdateServiceTemplateVersion");
|
|
519
|
-
let body;
|
|
520
|
-
body = JSON.stringify(_json(input));
|
|
521
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
522
|
-
};
|
|
523
|
-
export const se_UpdateTemplateSyncConfigCommand = async (input, context) => {
|
|
524
|
-
const headers = sharedHeaders("UpdateTemplateSyncConfig");
|
|
525
|
-
let body;
|
|
526
|
-
body = JSON.stringify(_json(input));
|
|
527
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
|
-
};
|
|
529
|
-
export const de_AcceptEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
530
|
-
if (output.statusCode >= 300) {
|
|
531
|
-
return de_CommandError(output, context);
|
|
532
|
-
}
|
|
533
|
-
const data = await parseBody(output.body, context);
|
|
534
|
-
let contents = {};
|
|
535
|
-
contents = de_AcceptEnvironmentAccountConnectionOutput(data, context);
|
|
536
|
-
const response = {
|
|
537
|
-
$metadata: deserializeMetadata(output),
|
|
538
|
-
...contents,
|
|
539
|
-
};
|
|
540
|
-
return response;
|
|
541
|
-
};
|
|
542
|
-
export const de_CancelComponentDeploymentCommand = async (output, context) => {
|
|
543
|
-
if (output.statusCode >= 300) {
|
|
544
|
-
return de_CommandError(output, context);
|
|
545
|
-
}
|
|
546
|
-
const data = await parseBody(output.body, context);
|
|
547
|
-
let contents = {};
|
|
548
|
-
contents = de_CancelComponentDeploymentOutput(data, context);
|
|
549
|
-
const response = {
|
|
550
|
-
$metadata: deserializeMetadata(output),
|
|
551
|
-
...contents,
|
|
552
|
-
};
|
|
553
|
-
return response;
|
|
554
|
-
};
|
|
555
|
-
export const de_CancelEnvironmentDeploymentCommand = async (output, context) => {
|
|
556
|
-
if (output.statusCode >= 300) {
|
|
557
|
-
return de_CommandError(output, context);
|
|
558
|
-
}
|
|
559
|
-
const data = await parseBody(output.body, context);
|
|
560
|
-
let contents = {};
|
|
561
|
-
contents = de_CancelEnvironmentDeploymentOutput(data, context);
|
|
562
|
-
const response = {
|
|
563
|
-
$metadata: deserializeMetadata(output),
|
|
564
|
-
...contents,
|
|
565
|
-
};
|
|
566
|
-
return response;
|
|
567
|
-
};
|
|
568
|
-
export const de_CancelServiceInstanceDeploymentCommand = async (output, context) => {
|
|
569
|
-
if (output.statusCode >= 300) {
|
|
570
|
-
return de_CommandError(output, context);
|
|
571
|
-
}
|
|
572
|
-
const data = await parseBody(output.body, context);
|
|
573
|
-
let contents = {};
|
|
574
|
-
contents = de_CancelServiceInstanceDeploymentOutput(data, context);
|
|
575
|
-
const response = {
|
|
576
|
-
$metadata: deserializeMetadata(output),
|
|
577
|
-
...contents,
|
|
578
|
-
};
|
|
579
|
-
return response;
|
|
580
|
-
};
|
|
581
|
-
export const de_CancelServicePipelineDeploymentCommand = async (output, context) => {
|
|
582
|
-
if (output.statusCode >= 300) {
|
|
583
|
-
return de_CommandError(output, context);
|
|
584
|
-
}
|
|
585
|
-
const data = await parseBody(output.body, context);
|
|
586
|
-
let contents = {};
|
|
587
|
-
contents = de_CancelServicePipelineDeploymentOutput(data, context);
|
|
588
|
-
const response = {
|
|
589
|
-
$metadata: deserializeMetadata(output),
|
|
590
|
-
...contents,
|
|
591
|
-
};
|
|
592
|
-
return response;
|
|
593
|
-
};
|
|
594
|
-
export const de_CreateComponentCommand = async (output, context) => {
|
|
595
|
-
if (output.statusCode >= 300) {
|
|
596
|
-
return de_CommandError(output, context);
|
|
597
|
-
}
|
|
598
|
-
const data = await parseBody(output.body, context);
|
|
599
|
-
let contents = {};
|
|
600
|
-
contents = de_CreateComponentOutput(data, context);
|
|
601
|
-
const response = {
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
...contents,
|
|
604
|
-
};
|
|
605
|
-
return response;
|
|
606
|
-
};
|
|
607
|
-
export const de_CreateEnvironmentCommand = async (output, context) => {
|
|
608
|
-
if (output.statusCode >= 300) {
|
|
609
|
-
return de_CommandError(output, context);
|
|
610
|
-
}
|
|
611
|
-
const data = await parseBody(output.body, context);
|
|
612
|
-
let contents = {};
|
|
613
|
-
contents = de_CreateEnvironmentOutput(data, context);
|
|
614
|
-
const response = {
|
|
615
|
-
$metadata: deserializeMetadata(output),
|
|
616
|
-
...contents,
|
|
617
|
-
};
|
|
618
|
-
return response;
|
|
619
|
-
};
|
|
620
|
-
export const de_CreateEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
621
|
-
if (output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const data = await parseBody(output.body, context);
|
|
625
|
-
let contents = {};
|
|
626
|
-
contents = de_CreateEnvironmentAccountConnectionOutput(data, context);
|
|
627
|
-
const response = {
|
|
628
|
-
$metadata: deserializeMetadata(output),
|
|
629
|
-
...contents,
|
|
630
|
-
};
|
|
631
|
-
return response;
|
|
632
|
-
};
|
|
633
|
-
export const de_CreateEnvironmentTemplateCommand = async (output, context) => {
|
|
634
|
-
if (output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const data = await parseBody(output.body, context);
|
|
638
|
-
let contents = {};
|
|
639
|
-
contents = de_CreateEnvironmentTemplateOutput(data, context);
|
|
640
|
-
const response = {
|
|
641
|
-
$metadata: deserializeMetadata(output),
|
|
642
|
-
...contents,
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
};
|
|
646
|
-
export const de_CreateEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
const data = await parseBody(output.body, context);
|
|
651
|
-
let contents = {};
|
|
652
|
-
contents = de_CreateEnvironmentTemplateVersionOutput(data, context);
|
|
653
|
-
const response = {
|
|
654
|
-
$metadata: deserializeMetadata(output),
|
|
655
|
-
...contents,
|
|
656
|
-
};
|
|
657
|
-
return response;
|
|
658
|
-
};
|
|
659
|
-
export const de_CreateRepositoryCommand = async (output, context) => {
|
|
660
|
-
if (output.statusCode >= 300) {
|
|
661
|
-
return de_CommandError(output, context);
|
|
662
|
-
}
|
|
663
|
-
const data = await parseBody(output.body, context);
|
|
664
|
-
let contents = {};
|
|
665
|
-
contents = _json(data);
|
|
666
|
-
const response = {
|
|
667
|
-
$metadata: deserializeMetadata(output),
|
|
668
|
-
...contents,
|
|
669
|
-
};
|
|
670
|
-
return response;
|
|
671
|
-
};
|
|
672
|
-
export const de_CreateServiceCommand = async (output, context) => {
|
|
673
|
-
if (output.statusCode >= 300) {
|
|
674
|
-
return de_CommandError(output, context);
|
|
675
|
-
}
|
|
676
|
-
const data = await parseBody(output.body, context);
|
|
677
|
-
let contents = {};
|
|
678
|
-
contents = de_CreateServiceOutput(data, context);
|
|
679
|
-
const response = {
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
...contents,
|
|
682
|
-
};
|
|
683
|
-
return response;
|
|
684
|
-
};
|
|
685
|
-
export const de_CreateServiceInstanceCommand = async (output, context) => {
|
|
686
|
-
if (output.statusCode >= 300) {
|
|
687
|
-
return de_CommandError(output, context);
|
|
688
|
-
}
|
|
689
|
-
const data = await parseBody(output.body, context);
|
|
690
|
-
let contents = {};
|
|
691
|
-
contents = de_CreateServiceInstanceOutput(data, context);
|
|
692
|
-
const response = {
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
...contents,
|
|
695
|
-
};
|
|
696
|
-
return response;
|
|
697
|
-
};
|
|
698
|
-
export const de_CreateServiceSyncConfigCommand = async (output, context) => {
|
|
699
|
-
if (output.statusCode >= 300) {
|
|
700
|
-
return de_CommandError(output, context);
|
|
701
|
-
}
|
|
702
|
-
const data = await parseBody(output.body, context);
|
|
703
|
-
let contents = {};
|
|
704
|
-
contents = _json(data);
|
|
705
|
-
const response = {
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
...contents,
|
|
708
|
-
};
|
|
709
|
-
return response;
|
|
710
|
-
};
|
|
711
|
-
export const de_CreateServiceTemplateCommand = async (output, context) => {
|
|
712
|
-
if (output.statusCode >= 300) {
|
|
713
|
-
return de_CommandError(output, context);
|
|
714
|
-
}
|
|
715
|
-
const data = await parseBody(output.body, context);
|
|
716
|
-
let contents = {};
|
|
717
|
-
contents = de_CreateServiceTemplateOutput(data, context);
|
|
718
|
-
const response = {
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
...contents,
|
|
721
|
-
};
|
|
722
|
-
return response;
|
|
723
|
-
};
|
|
724
|
-
export const de_CreateServiceTemplateVersionCommand = async (output, context) => {
|
|
725
|
-
if (output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const data = await parseBody(output.body, context);
|
|
729
|
-
let contents = {};
|
|
730
|
-
contents = de_CreateServiceTemplateVersionOutput(data, context);
|
|
731
|
-
const response = {
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
...contents,
|
|
734
|
-
};
|
|
735
|
-
return response;
|
|
736
|
-
};
|
|
737
|
-
export const de_CreateTemplateSyncConfigCommand = async (output, context) => {
|
|
738
|
-
if (output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const data = await parseBody(output.body, context);
|
|
742
|
-
let contents = {};
|
|
743
|
-
contents = _json(data);
|
|
744
|
-
const response = {
|
|
745
|
-
$metadata: deserializeMetadata(output),
|
|
746
|
-
...contents,
|
|
747
|
-
};
|
|
748
|
-
return response;
|
|
749
|
-
};
|
|
750
|
-
export const de_DeleteComponentCommand = async (output, context) => {
|
|
751
|
-
if (output.statusCode >= 300) {
|
|
752
|
-
return de_CommandError(output, context);
|
|
753
|
-
}
|
|
754
|
-
const data = await parseBody(output.body, context);
|
|
755
|
-
let contents = {};
|
|
756
|
-
contents = de_DeleteComponentOutput(data, context);
|
|
757
|
-
const response = {
|
|
758
|
-
$metadata: deserializeMetadata(output),
|
|
759
|
-
...contents,
|
|
760
|
-
};
|
|
761
|
-
return response;
|
|
762
|
-
};
|
|
763
|
-
export const de_DeleteDeploymentCommand = async (output, context) => {
|
|
764
|
-
if (output.statusCode >= 300) {
|
|
765
|
-
return de_CommandError(output, context);
|
|
766
|
-
}
|
|
767
|
-
const data = await parseBody(output.body, context);
|
|
768
|
-
let contents = {};
|
|
769
|
-
contents = de_DeleteDeploymentOutput(data, context);
|
|
770
|
-
const response = {
|
|
771
|
-
$metadata: deserializeMetadata(output),
|
|
772
|
-
...contents,
|
|
773
|
-
};
|
|
774
|
-
return response;
|
|
775
|
-
};
|
|
776
|
-
export const de_DeleteEnvironmentCommand = async (output, context) => {
|
|
777
|
-
if (output.statusCode >= 300) {
|
|
778
|
-
return de_CommandError(output, context);
|
|
779
|
-
}
|
|
780
|
-
const data = await parseBody(output.body, context);
|
|
781
|
-
let contents = {};
|
|
782
|
-
contents = de_DeleteEnvironmentOutput(data, context);
|
|
783
|
-
const response = {
|
|
784
|
-
$metadata: deserializeMetadata(output),
|
|
785
|
-
...contents,
|
|
786
|
-
};
|
|
787
|
-
return response;
|
|
788
|
-
};
|
|
789
|
-
export const de_DeleteEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
790
|
-
if (output.statusCode >= 300) {
|
|
791
|
-
return de_CommandError(output, context);
|
|
792
|
-
}
|
|
793
|
-
const data = await parseBody(output.body, context);
|
|
794
|
-
let contents = {};
|
|
795
|
-
contents = de_DeleteEnvironmentAccountConnectionOutput(data, context);
|
|
796
|
-
const response = {
|
|
797
|
-
$metadata: deserializeMetadata(output),
|
|
798
|
-
...contents,
|
|
799
|
-
};
|
|
800
|
-
return response;
|
|
801
|
-
};
|
|
802
|
-
export const de_DeleteEnvironmentTemplateCommand = async (output, context) => {
|
|
803
|
-
if (output.statusCode >= 300) {
|
|
804
|
-
return de_CommandError(output, context);
|
|
805
|
-
}
|
|
806
|
-
const data = await parseBody(output.body, context);
|
|
807
|
-
let contents = {};
|
|
808
|
-
contents = de_DeleteEnvironmentTemplateOutput(data, context);
|
|
809
|
-
const response = {
|
|
810
|
-
$metadata: deserializeMetadata(output),
|
|
811
|
-
...contents,
|
|
812
|
-
};
|
|
813
|
-
return response;
|
|
814
|
-
};
|
|
815
|
-
export const de_DeleteEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
816
|
-
if (output.statusCode >= 300) {
|
|
817
|
-
return de_CommandError(output, context);
|
|
818
|
-
}
|
|
819
|
-
const data = await parseBody(output.body, context);
|
|
820
|
-
let contents = {};
|
|
821
|
-
contents = de_DeleteEnvironmentTemplateVersionOutput(data, context);
|
|
822
|
-
const response = {
|
|
823
|
-
$metadata: deserializeMetadata(output),
|
|
824
|
-
...contents,
|
|
825
|
-
};
|
|
826
|
-
return response;
|
|
827
|
-
};
|
|
828
|
-
export const de_DeleteRepositoryCommand = async (output, context) => {
|
|
829
|
-
if (output.statusCode >= 300) {
|
|
830
|
-
return de_CommandError(output, context);
|
|
831
|
-
}
|
|
832
|
-
const data = await parseBody(output.body, context);
|
|
833
|
-
let contents = {};
|
|
834
|
-
contents = _json(data);
|
|
835
|
-
const response = {
|
|
836
|
-
$metadata: deserializeMetadata(output),
|
|
837
|
-
...contents,
|
|
838
|
-
};
|
|
839
|
-
return response;
|
|
840
|
-
};
|
|
841
|
-
export const de_DeleteServiceCommand = async (output, context) => {
|
|
842
|
-
if (output.statusCode >= 300) {
|
|
843
|
-
return de_CommandError(output, context);
|
|
844
|
-
}
|
|
845
|
-
const data = await parseBody(output.body, context);
|
|
846
|
-
let contents = {};
|
|
847
|
-
contents = de_DeleteServiceOutput(data, context);
|
|
848
|
-
const response = {
|
|
849
|
-
$metadata: deserializeMetadata(output),
|
|
850
|
-
...contents,
|
|
851
|
-
};
|
|
852
|
-
return response;
|
|
853
|
-
};
|
|
854
|
-
export const de_DeleteServiceSyncConfigCommand = async (output, context) => {
|
|
855
|
-
if (output.statusCode >= 300) {
|
|
856
|
-
return de_CommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const data = await parseBody(output.body, context);
|
|
859
|
-
let contents = {};
|
|
860
|
-
contents = _json(data);
|
|
861
|
-
const response = {
|
|
862
|
-
$metadata: deserializeMetadata(output),
|
|
863
|
-
...contents,
|
|
864
|
-
};
|
|
865
|
-
return response;
|
|
866
|
-
};
|
|
867
|
-
export const de_DeleteServiceTemplateCommand = async (output, context) => {
|
|
868
|
-
if (output.statusCode >= 300) {
|
|
869
|
-
return de_CommandError(output, context);
|
|
870
|
-
}
|
|
871
|
-
const data = await parseBody(output.body, context);
|
|
872
|
-
let contents = {};
|
|
873
|
-
contents = de_DeleteServiceTemplateOutput(data, context);
|
|
874
|
-
const response = {
|
|
875
|
-
$metadata: deserializeMetadata(output),
|
|
876
|
-
...contents,
|
|
877
|
-
};
|
|
878
|
-
return response;
|
|
879
|
-
};
|
|
880
|
-
export const de_DeleteServiceTemplateVersionCommand = async (output, context) => {
|
|
881
|
-
if (output.statusCode >= 300) {
|
|
882
|
-
return de_CommandError(output, context);
|
|
883
|
-
}
|
|
884
|
-
const data = await parseBody(output.body, context);
|
|
885
|
-
let contents = {};
|
|
886
|
-
contents = de_DeleteServiceTemplateVersionOutput(data, context);
|
|
887
|
-
const response = {
|
|
888
|
-
$metadata: deserializeMetadata(output),
|
|
889
|
-
...contents,
|
|
890
|
-
};
|
|
891
|
-
return response;
|
|
892
|
-
};
|
|
893
|
-
export const de_DeleteTemplateSyncConfigCommand = async (output, context) => {
|
|
894
|
-
if (output.statusCode >= 300) {
|
|
895
|
-
return de_CommandError(output, context);
|
|
896
|
-
}
|
|
897
|
-
const data = await parseBody(output.body, context);
|
|
898
|
-
let contents = {};
|
|
899
|
-
contents = _json(data);
|
|
900
|
-
const response = {
|
|
901
|
-
$metadata: deserializeMetadata(output),
|
|
902
|
-
...contents,
|
|
903
|
-
};
|
|
904
|
-
return response;
|
|
905
|
-
};
|
|
906
|
-
export const de_GetAccountSettingsCommand = async (output, context) => {
|
|
907
|
-
if (output.statusCode >= 300) {
|
|
908
|
-
return de_CommandError(output, context);
|
|
909
|
-
}
|
|
910
|
-
const data = await parseBody(output.body, context);
|
|
911
|
-
let contents = {};
|
|
912
|
-
contents = _json(data);
|
|
913
|
-
const response = {
|
|
914
|
-
$metadata: deserializeMetadata(output),
|
|
915
|
-
...contents,
|
|
916
|
-
};
|
|
917
|
-
return response;
|
|
918
|
-
};
|
|
919
|
-
export const de_GetComponentCommand = async (output, context) => {
|
|
920
|
-
if (output.statusCode >= 300) {
|
|
921
|
-
return de_CommandError(output, context);
|
|
922
|
-
}
|
|
923
|
-
const data = await parseBody(output.body, context);
|
|
924
|
-
let contents = {};
|
|
925
|
-
contents = de_GetComponentOutput(data, context);
|
|
926
|
-
const response = {
|
|
927
|
-
$metadata: deserializeMetadata(output),
|
|
928
|
-
...contents,
|
|
929
|
-
};
|
|
930
|
-
return response;
|
|
931
|
-
};
|
|
932
|
-
export const de_GetDeploymentCommand = async (output, context) => {
|
|
933
|
-
if (output.statusCode >= 300) {
|
|
934
|
-
return de_CommandError(output, context);
|
|
935
|
-
}
|
|
936
|
-
const data = await parseBody(output.body, context);
|
|
937
|
-
let contents = {};
|
|
938
|
-
contents = de_GetDeploymentOutput(data, context);
|
|
939
|
-
const response = {
|
|
940
|
-
$metadata: deserializeMetadata(output),
|
|
941
|
-
...contents,
|
|
942
|
-
};
|
|
943
|
-
return response;
|
|
944
|
-
};
|
|
945
|
-
export const de_GetEnvironmentCommand = async (output, context) => {
|
|
946
|
-
if (output.statusCode >= 300) {
|
|
947
|
-
return de_CommandError(output, context);
|
|
948
|
-
}
|
|
949
|
-
const data = await parseBody(output.body, context);
|
|
950
|
-
let contents = {};
|
|
951
|
-
contents = de_GetEnvironmentOutput(data, context);
|
|
952
|
-
const response = {
|
|
953
|
-
$metadata: deserializeMetadata(output),
|
|
954
|
-
...contents,
|
|
955
|
-
};
|
|
956
|
-
return response;
|
|
957
|
-
};
|
|
958
|
-
export const de_GetEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
959
|
-
if (output.statusCode >= 300) {
|
|
960
|
-
return de_CommandError(output, context);
|
|
961
|
-
}
|
|
962
|
-
const data = await parseBody(output.body, context);
|
|
963
|
-
let contents = {};
|
|
964
|
-
contents = de_GetEnvironmentAccountConnectionOutput(data, context);
|
|
965
|
-
const response = {
|
|
966
|
-
$metadata: deserializeMetadata(output),
|
|
967
|
-
...contents,
|
|
968
|
-
};
|
|
969
|
-
return response;
|
|
970
|
-
};
|
|
971
|
-
export const de_GetEnvironmentTemplateCommand = async (output, context) => {
|
|
972
|
-
if (output.statusCode >= 300) {
|
|
973
|
-
return de_CommandError(output, context);
|
|
974
|
-
}
|
|
975
|
-
const data = await parseBody(output.body, context);
|
|
976
|
-
let contents = {};
|
|
977
|
-
contents = de_GetEnvironmentTemplateOutput(data, context);
|
|
978
|
-
const response = {
|
|
979
|
-
$metadata: deserializeMetadata(output),
|
|
980
|
-
...contents,
|
|
981
|
-
};
|
|
982
|
-
return response;
|
|
983
|
-
};
|
|
984
|
-
export const de_GetEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
985
|
-
if (output.statusCode >= 300) {
|
|
986
|
-
return de_CommandError(output, context);
|
|
987
|
-
}
|
|
988
|
-
const data = await parseBody(output.body, context);
|
|
989
|
-
let contents = {};
|
|
990
|
-
contents = de_GetEnvironmentTemplateVersionOutput(data, context);
|
|
991
|
-
const response = {
|
|
992
|
-
$metadata: deserializeMetadata(output),
|
|
993
|
-
...contents,
|
|
994
|
-
};
|
|
995
|
-
return response;
|
|
996
|
-
};
|
|
997
|
-
export const de_GetRepositoryCommand = async (output, context) => {
|
|
998
|
-
if (output.statusCode >= 300) {
|
|
999
|
-
return de_CommandError(output, context);
|
|
1000
|
-
}
|
|
1001
|
-
const data = await parseBody(output.body, context);
|
|
1002
|
-
let contents = {};
|
|
1003
|
-
contents = _json(data);
|
|
1004
|
-
const response = {
|
|
1005
|
-
$metadata: deserializeMetadata(output),
|
|
1006
|
-
...contents,
|
|
1007
|
-
};
|
|
1008
|
-
return response;
|
|
1009
|
-
};
|
|
1010
|
-
export const de_GetRepositorySyncStatusCommand = async (output, context) => {
|
|
1011
|
-
if (output.statusCode >= 300) {
|
|
1012
|
-
return de_CommandError(output, context);
|
|
1013
|
-
}
|
|
1014
|
-
const data = await parseBody(output.body, context);
|
|
1015
|
-
let contents = {};
|
|
1016
|
-
contents = de_GetRepositorySyncStatusOutput(data, context);
|
|
1017
|
-
const response = {
|
|
1018
|
-
$metadata: deserializeMetadata(output),
|
|
1019
|
-
...contents,
|
|
1020
|
-
};
|
|
1021
|
-
return response;
|
|
1022
|
-
};
|
|
1023
|
-
export const de_GetResourcesSummaryCommand = async (output, context) => {
|
|
1024
|
-
if (output.statusCode >= 300) {
|
|
1025
|
-
return de_CommandError(output, context);
|
|
1026
|
-
}
|
|
1027
|
-
const data = await parseBody(output.body, context);
|
|
1028
|
-
let contents = {};
|
|
1029
|
-
contents = _json(data);
|
|
1030
|
-
const response = {
|
|
1031
|
-
$metadata: deserializeMetadata(output),
|
|
1032
|
-
...contents,
|
|
1033
|
-
};
|
|
1034
|
-
return response;
|
|
1035
|
-
};
|
|
1036
|
-
export const de_GetServiceCommand = async (output, context) => {
|
|
1037
|
-
if (output.statusCode >= 300) {
|
|
1038
|
-
return de_CommandError(output, context);
|
|
1039
|
-
}
|
|
1040
|
-
const data = await parseBody(output.body, context);
|
|
1041
|
-
let contents = {};
|
|
1042
|
-
contents = de_GetServiceOutput(data, context);
|
|
1043
|
-
const response = {
|
|
1044
|
-
$metadata: deserializeMetadata(output),
|
|
1045
|
-
...contents,
|
|
1046
|
-
};
|
|
1047
|
-
return response;
|
|
1048
|
-
};
|
|
1049
|
-
export const de_GetServiceInstanceCommand = async (output, context) => {
|
|
1050
|
-
if (output.statusCode >= 300) {
|
|
1051
|
-
return de_CommandError(output, context);
|
|
1052
|
-
}
|
|
1053
|
-
const data = await parseBody(output.body, context);
|
|
1054
|
-
let contents = {};
|
|
1055
|
-
contents = de_GetServiceInstanceOutput(data, context);
|
|
1056
|
-
const response = {
|
|
1057
|
-
$metadata: deserializeMetadata(output),
|
|
1058
|
-
...contents,
|
|
1059
|
-
};
|
|
1060
|
-
return response;
|
|
1061
|
-
};
|
|
1062
|
-
export const de_GetServiceInstanceSyncStatusCommand = async (output, context) => {
|
|
1063
|
-
if (output.statusCode >= 300) {
|
|
1064
|
-
return de_CommandError(output, context);
|
|
1065
|
-
}
|
|
1066
|
-
const data = await parseBody(output.body, context);
|
|
1067
|
-
let contents = {};
|
|
1068
|
-
contents = de_GetServiceInstanceSyncStatusOutput(data, context);
|
|
1069
|
-
const response = {
|
|
1070
|
-
$metadata: deserializeMetadata(output),
|
|
1071
|
-
...contents,
|
|
1072
|
-
};
|
|
1073
|
-
return response;
|
|
1074
|
-
};
|
|
1075
|
-
export const de_GetServiceSyncBlockerSummaryCommand = async (output, context) => {
|
|
1076
|
-
if (output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
const data = await parseBody(output.body, context);
|
|
1080
|
-
let contents = {};
|
|
1081
|
-
contents = de_GetServiceSyncBlockerSummaryOutput(data, context);
|
|
1082
|
-
const response = {
|
|
1083
|
-
$metadata: deserializeMetadata(output),
|
|
1084
|
-
...contents,
|
|
1085
|
-
};
|
|
1086
|
-
return response;
|
|
1087
|
-
};
|
|
1088
|
-
export const de_GetServiceSyncConfigCommand = async (output, context) => {
|
|
1089
|
-
if (output.statusCode >= 300) {
|
|
1090
|
-
return de_CommandError(output, context);
|
|
1091
|
-
}
|
|
1092
|
-
const data = await parseBody(output.body, context);
|
|
1093
|
-
let contents = {};
|
|
1094
|
-
contents = _json(data);
|
|
1095
|
-
const response = {
|
|
1096
|
-
$metadata: deserializeMetadata(output),
|
|
1097
|
-
...contents,
|
|
1098
|
-
};
|
|
1099
|
-
return response;
|
|
1100
|
-
};
|
|
1101
|
-
export const de_GetServiceTemplateCommand = async (output, context) => {
|
|
1102
|
-
if (output.statusCode >= 300) {
|
|
1103
|
-
return de_CommandError(output, context);
|
|
1104
|
-
}
|
|
1105
|
-
const data = await parseBody(output.body, context);
|
|
1106
|
-
let contents = {};
|
|
1107
|
-
contents = de_GetServiceTemplateOutput(data, context);
|
|
1108
|
-
const response = {
|
|
1109
|
-
$metadata: deserializeMetadata(output),
|
|
1110
|
-
...contents,
|
|
1111
|
-
};
|
|
1112
|
-
return response;
|
|
1113
|
-
};
|
|
1114
|
-
export const de_GetServiceTemplateVersionCommand = async (output, context) => {
|
|
1115
|
-
if (output.statusCode >= 300) {
|
|
1116
|
-
return de_CommandError(output, context);
|
|
1117
|
-
}
|
|
1118
|
-
const data = await parseBody(output.body, context);
|
|
1119
|
-
let contents = {};
|
|
1120
|
-
contents = de_GetServiceTemplateVersionOutput(data, context);
|
|
1121
|
-
const response = {
|
|
1122
|
-
$metadata: deserializeMetadata(output),
|
|
1123
|
-
...contents,
|
|
1124
|
-
};
|
|
1125
|
-
return response;
|
|
1126
|
-
};
|
|
1127
|
-
export const de_GetTemplateSyncConfigCommand = async (output, context) => {
|
|
1128
|
-
if (output.statusCode >= 300) {
|
|
1129
|
-
return de_CommandError(output, context);
|
|
1130
|
-
}
|
|
1131
|
-
const data = await parseBody(output.body, context);
|
|
1132
|
-
let contents = {};
|
|
1133
|
-
contents = _json(data);
|
|
1134
|
-
const response = {
|
|
1135
|
-
$metadata: deserializeMetadata(output),
|
|
1136
|
-
...contents,
|
|
1137
|
-
};
|
|
1138
|
-
return response;
|
|
1139
|
-
};
|
|
1140
|
-
export const de_GetTemplateSyncStatusCommand = async (output, context) => {
|
|
1141
|
-
if (output.statusCode >= 300) {
|
|
1142
|
-
return de_CommandError(output, context);
|
|
1143
|
-
}
|
|
1144
|
-
const data = await parseBody(output.body, context);
|
|
1145
|
-
let contents = {};
|
|
1146
|
-
contents = de_GetTemplateSyncStatusOutput(data, context);
|
|
1147
|
-
const response = {
|
|
1148
|
-
$metadata: deserializeMetadata(output),
|
|
1149
|
-
...contents,
|
|
1150
|
-
};
|
|
1151
|
-
return response;
|
|
1152
|
-
};
|
|
1153
|
-
export const de_ListComponentOutputsCommand = async (output, context) => {
|
|
1154
|
-
if (output.statusCode >= 300) {
|
|
1155
|
-
return de_CommandError(output, context);
|
|
1156
|
-
}
|
|
1157
|
-
const data = await parseBody(output.body, context);
|
|
1158
|
-
let contents = {};
|
|
1159
|
-
contents = _json(data);
|
|
1160
|
-
const response = {
|
|
1161
|
-
$metadata: deserializeMetadata(output),
|
|
1162
|
-
...contents,
|
|
1163
|
-
};
|
|
1164
|
-
return response;
|
|
1165
|
-
};
|
|
1166
|
-
export const de_ListComponentProvisionedResourcesCommand = async (output, context) => {
|
|
1167
|
-
if (output.statusCode >= 300) {
|
|
1168
|
-
return de_CommandError(output, context);
|
|
1169
|
-
}
|
|
1170
|
-
const data = await parseBody(output.body, context);
|
|
1171
|
-
let contents = {};
|
|
1172
|
-
contents = _json(data);
|
|
1173
|
-
const response = {
|
|
1174
|
-
$metadata: deserializeMetadata(output),
|
|
1175
|
-
...contents,
|
|
1176
|
-
};
|
|
1177
|
-
return response;
|
|
1178
|
-
};
|
|
1179
|
-
export const de_ListComponentsCommand = async (output, context) => {
|
|
1180
|
-
if (output.statusCode >= 300) {
|
|
1181
|
-
return de_CommandError(output, context);
|
|
1182
|
-
}
|
|
1183
|
-
const data = await parseBody(output.body, context);
|
|
1184
|
-
let contents = {};
|
|
1185
|
-
contents = de_ListComponentsOutput(data, context);
|
|
1186
|
-
const response = {
|
|
1187
|
-
$metadata: deserializeMetadata(output),
|
|
1188
|
-
...contents,
|
|
1189
|
-
};
|
|
1190
|
-
return response;
|
|
1191
|
-
};
|
|
1192
|
-
export const de_ListDeploymentsCommand = async (output, context) => {
|
|
1193
|
-
if (output.statusCode >= 300) {
|
|
1194
|
-
return de_CommandError(output, context);
|
|
1195
|
-
}
|
|
1196
|
-
const data = await parseBody(output.body, context);
|
|
1197
|
-
let contents = {};
|
|
1198
|
-
contents = de_ListDeploymentsOutput(data, context);
|
|
1199
|
-
const response = {
|
|
1200
|
-
$metadata: deserializeMetadata(output),
|
|
1201
|
-
...contents,
|
|
1202
|
-
};
|
|
1203
|
-
return response;
|
|
1204
|
-
};
|
|
1205
|
-
export const de_ListEnvironmentAccountConnectionsCommand = async (output, context) => {
|
|
1206
|
-
if (output.statusCode >= 300) {
|
|
1207
|
-
return de_CommandError(output, context);
|
|
1208
|
-
}
|
|
1209
|
-
const data = await parseBody(output.body, context);
|
|
1210
|
-
let contents = {};
|
|
1211
|
-
contents = de_ListEnvironmentAccountConnectionsOutput(data, context);
|
|
1212
|
-
const response = {
|
|
1213
|
-
$metadata: deserializeMetadata(output),
|
|
1214
|
-
...contents,
|
|
1215
|
-
};
|
|
1216
|
-
return response;
|
|
1217
|
-
};
|
|
1218
|
-
export const de_ListEnvironmentOutputsCommand = async (output, context) => {
|
|
1219
|
-
if (output.statusCode >= 300) {
|
|
1220
|
-
return de_CommandError(output, context);
|
|
1221
|
-
}
|
|
1222
|
-
const data = await parseBody(output.body, context);
|
|
1223
|
-
let contents = {};
|
|
1224
|
-
contents = _json(data);
|
|
1225
|
-
const response = {
|
|
1226
|
-
$metadata: deserializeMetadata(output),
|
|
1227
|
-
...contents,
|
|
1228
|
-
};
|
|
1229
|
-
return response;
|
|
1230
|
-
};
|
|
1231
|
-
export const de_ListEnvironmentProvisionedResourcesCommand = async (output, context) => {
|
|
1232
|
-
if (output.statusCode >= 300) {
|
|
1233
|
-
return de_CommandError(output, context);
|
|
1234
|
-
}
|
|
1235
|
-
const data = await parseBody(output.body, context);
|
|
1236
|
-
let contents = {};
|
|
1237
|
-
contents = _json(data);
|
|
1238
|
-
const response = {
|
|
1239
|
-
$metadata: deserializeMetadata(output),
|
|
1240
|
-
...contents,
|
|
1241
|
-
};
|
|
1242
|
-
return response;
|
|
1243
|
-
};
|
|
1244
|
-
export const de_ListEnvironmentsCommand = async (output, context) => {
|
|
1245
|
-
if (output.statusCode >= 300) {
|
|
1246
|
-
return de_CommandError(output, context);
|
|
1247
|
-
}
|
|
1248
|
-
const data = await parseBody(output.body, context);
|
|
1249
|
-
let contents = {};
|
|
1250
|
-
contents = de_ListEnvironmentsOutput(data, context);
|
|
1251
|
-
const response = {
|
|
1252
|
-
$metadata: deserializeMetadata(output),
|
|
1253
|
-
...contents,
|
|
1254
|
-
};
|
|
1255
|
-
return response;
|
|
1256
|
-
};
|
|
1257
|
-
export const de_ListEnvironmentTemplatesCommand = async (output, context) => {
|
|
1258
|
-
if (output.statusCode >= 300) {
|
|
1259
|
-
return de_CommandError(output, context);
|
|
1260
|
-
}
|
|
1261
|
-
const data = await parseBody(output.body, context);
|
|
1262
|
-
let contents = {};
|
|
1263
|
-
contents = de_ListEnvironmentTemplatesOutput(data, context);
|
|
1264
|
-
const response = {
|
|
1265
|
-
$metadata: deserializeMetadata(output),
|
|
1266
|
-
...contents,
|
|
1267
|
-
};
|
|
1268
|
-
return response;
|
|
1269
|
-
};
|
|
1270
|
-
export const de_ListEnvironmentTemplateVersionsCommand = async (output, context) => {
|
|
1271
|
-
if (output.statusCode >= 300) {
|
|
1272
|
-
return de_CommandError(output, context);
|
|
1273
|
-
}
|
|
1274
|
-
const data = await parseBody(output.body, context);
|
|
1275
|
-
let contents = {};
|
|
1276
|
-
contents = de_ListEnvironmentTemplateVersionsOutput(data, context);
|
|
1277
|
-
const response = {
|
|
1278
|
-
$metadata: deserializeMetadata(output),
|
|
1279
|
-
...contents,
|
|
1280
|
-
};
|
|
1281
|
-
return response;
|
|
1282
|
-
};
|
|
1283
|
-
export const de_ListRepositoriesCommand = async (output, context) => {
|
|
1284
|
-
if (output.statusCode >= 300) {
|
|
1285
|
-
return de_CommandError(output, context);
|
|
1286
|
-
}
|
|
1287
|
-
const data = await parseBody(output.body, context);
|
|
1288
|
-
let contents = {};
|
|
1289
|
-
contents = _json(data);
|
|
1290
|
-
const response = {
|
|
1291
|
-
$metadata: deserializeMetadata(output),
|
|
1292
|
-
...contents,
|
|
1293
|
-
};
|
|
1294
|
-
return response;
|
|
1295
|
-
};
|
|
1296
|
-
export const de_ListRepositorySyncDefinitionsCommand = async (output, context) => {
|
|
1297
|
-
if (output.statusCode >= 300) {
|
|
1298
|
-
return de_CommandError(output, context);
|
|
1299
|
-
}
|
|
1300
|
-
const data = await parseBody(output.body, context);
|
|
1301
|
-
let contents = {};
|
|
1302
|
-
contents = _json(data);
|
|
1303
|
-
const response = {
|
|
1304
|
-
$metadata: deserializeMetadata(output),
|
|
1305
|
-
...contents,
|
|
1306
|
-
};
|
|
1307
|
-
return response;
|
|
1308
|
-
};
|
|
1309
|
-
export const de_ListServiceInstanceOutputsCommand = async (output, context) => {
|
|
1310
|
-
if (output.statusCode >= 300) {
|
|
1311
|
-
return de_CommandError(output, context);
|
|
1312
|
-
}
|
|
1313
|
-
const data = await parseBody(output.body, context);
|
|
1314
|
-
let contents = {};
|
|
1315
|
-
contents = _json(data);
|
|
1316
|
-
const response = {
|
|
1317
|
-
$metadata: deserializeMetadata(output),
|
|
1318
|
-
...contents,
|
|
1319
|
-
};
|
|
1320
|
-
return response;
|
|
1321
|
-
};
|
|
1322
|
-
export const de_ListServiceInstanceProvisionedResourcesCommand = async (output, context) => {
|
|
1323
|
-
if (output.statusCode >= 300) {
|
|
1324
|
-
return de_CommandError(output, context);
|
|
1325
|
-
}
|
|
1326
|
-
const data = await parseBody(output.body, context);
|
|
1327
|
-
let contents = {};
|
|
1328
|
-
contents = _json(data);
|
|
1329
|
-
const response = {
|
|
1330
|
-
$metadata: deserializeMetadata(output),
|
|
1331
|
-
...contents,
|
|
1332
|
-
};
|
|
1333
|
-
return response;
|
|
1334
|
-
};
|
|
1335
|
-
export const de_ListServiceInstancesCommand = async (output, context) => {
|
|
1336
|
-
if (output.statusCode >= 300) {
|
|
1337
|
-
return de_CommandError(output, context);
|
|
1338
|
-
}
|
|
1339
|
-
const data = await parseBody(output.body, context);
|
|
1340
|
-
let contents = {};
|
|
1341
|
-
contents = de_ListServiceInstancesOutput(data, context);
|
|
1342
|
-
const response = {
|
|
1343
|
-
$metadata: deserializeMetadata(output),
|
|
1344
|
-
...contents,
|
|
1345
|
-
};
|
|
1346
|
-
return response;
|
|
1347
|
-
};
|
|
1348
|
-
export const de_ListServicePipelineOutputsCommand = async (output, context) => {
|
|
1349
|
-
if (output.statusCode >= 300) {
|
|
1350
|
-
return de_CommandError(output, context);
|
|
1351
|
-
}
|
|
1352
|
-
const data = await parseBody(output.body, context);
|
|
1353
|
-
let contents = {};
|
|
1354
|
-
contents = _json(data);
|
|
1355
|
-
const response = {
|
|
1356
|
-
$metadata: deserializeMetadata(output),
|
|
1357
|
-
...contents,
|
|
1358
|
-
};
|
|
1359
|
-
return response;
|
|
1360
|
-
};
|
|
1361
|
-
export const de_ListServicePipelineProvisionedResourcesCommand = async (output, context) => {
|
|
1362
|
-
if (output.statusCode >= 300) {
|
|
1363
|
-
return de_CommandError(output, context);
|
|
1364
|
-
}
|
|
1365
|
-
const data = await parseBody(output.body, context);
|
|
1366
|
-
let contents = {};
|
|
1367
|
-
contents = _json(data);
|
|
1368
|
-
const response = {
|
|
1369
|
-
$metadata: deserializeMetadata(output),
|
|
1370
|
-
...contents,
|
|
1371
|
-
};
|
|
1372
|
-
return response;
|
|
1373
|
-
};
|
|
1374
|
-
export const de_ListServicesCommand = async (output, context) => {
|
|
1375
|
-
if (output.statusCode >= 300) {
|
|
1376
|
-
return de_CommandError(output, context);
|
|
1377
|
-
}
|
|
1378
|
-
const data = await parseBody(output.body, context);
|
|
1379
|
-
let contents = {};
|
|
1380
|
-
contents = de_ListServicesOutput(data, context);
|
|
1381
|
-
const response = {
|
|
1382
|
-
$metadata: deserializeMetadata(output),
|
|
1383
|
-
...contents,
|
|
1384
|
-
};
|
|
1385
|
-
return response;
|
|
1386
|
-
};
|
|
1387
|
-
export const de_ListServiceTemplatesCommand = async (output, context) => {
|
|
1388
|
-
if (output.statusCode >= 300) {
|
|
1389
|
-
return de_CommandError(output, context);
|
|
1390
|
-
}
|
|
1391
|
-
const data = await parseBody(output.body, context);
|
|
1392
|
-
let contents = {};
|
|
1393
|
-
contents = de_ListServiceTemplatesOutput(data, context);
|
|
1394
|
-
const response = {
|
|
1395
|
-
$metadata: deserializeMetadata(output),
|
|
1396
|
-
...contents,
|
|
1397
|
-
};
|
|
1398
|
-
return response;
|
|
1399
|
-
};
|
|
1400
|
-
export const de_ListServiceTemplateVersionsCommand = async (output, context) => {
|
|
1401
|
-
if (output.statusCode >= 300) {
|
|
1402
|
-
return de_CommandError(output, context);
|
|
1403
|
-
}
|
|
1404
|
-
const data = await parseBody(output.body, context);
|
|
1405
|
-
let contents = {};
|
|
1406
|
-
contents = de_ListServiceTemplateVersionsOutput(data, context);
|
|
1407
|
-
const response = {
|
|
1408
|
-
$metadata: deserializeMetadata(output),
|
|
1409
|
-
...contents,
|
|
1410
|
-
};
|
|
1411
|
-
return response;
|
|
1412
|
-
};
|
|
1413
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1414
|
-
if (output.statusCode >= 300) {
|
|
1415
|
-
return de_CommandError(output, context);
|
|
1416
|
-
}
|
|
1417
|
-
const data = await parseBody(output.body, context);
|
|
1418
|
-
let contents = {};
|
|
1419
|
-
contents = _json(data);
|
|
1420
|
-
const response = {
|
|
1421
|
-
$metadata: deserializeMetadata(output),
|
|
1422
|
-
...contents,
|
|
1423
|
-
};
|
|
1424
|
-
return response;
|
|
1425
|
-
};
|
|
1426
|
-
export const de_NotifyResourceDeploymentStatusChangeCommand = async (output, context) => {
|
|
1427
|
-
if (output.statusCode >= 300) {
|
|
1428
|
-
return de_CommandError(output, context);
|
|
1429
|
-
}
|
|
1430
|
-
const data = await parseBody(output.body, context);
|
|
1431
|
-
let contents = {};
|
|
1432
|
-
contents = _json(data);
|
|
1433
|
-
const response = {
|
|
1434
|
-
$metadata: deserializeMetadata(output),
|
|
1435
|
-
...contents,
|
|
1436
|
-
};
|
|
1437
|
-
return response;
|
|
1438
|
-
};
|
|
1439
|
-
export const de_RejectEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
1440
|
-
if (output.statusCode >= 300) {
|
|
1441
|
-
return de_CommandError(output, context);
|
|
1442
|
-
}
|
|
1443
|
-
const data = await parseBody(output.body, context);
|
|
1444
|
-
let contents = {};
|
|
1445
|
-
contents = de_RejectEnvironmentAccountConnectionOutput(data, context);
|
|
1446
|
-
const response = {
|
|
1447
|
-
$metadata: deserializeMetadata(output),
|
|
1448
|
-
...contents,
|
|
1449
|
-
};
|
|
1450
|
-
return response;
|
|
1451
|
-
};
|
|
1452
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1453
|
-
if (output.statusCode >= 300) {
|
|
1454
|
-
return de_CommandError(output, context);
|
|
1455
|
-
}
|
|
1456
|
-
const data = await parseBody(output.body, context);
|
|
1457
|
-
let contents = {};
|
|
1458
|
-
contents = _json(data);
|
|
1459
|
-
const response = {
|
|
1460
|
-
$metadata: deserializeMetadata(output),
|
|
1461
|
-
...contents,
|
|
1462
|
-
};
|
|
1463
|
-
return response;
|
|
1464
|
-
};
|
|
1465
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1466
|
-
if (output.statusCode >= 300) {
|
|
1467
|
-
return de_CommandError(output, context);
|
|
1468
|
-
}
|
|
1469
|
-
const data = await parseBody(output.body, context);
|
|
1470
|
-
let contents = {};
|
|
1471
|
-
contents = _json(data);
|
|
1472
|
-
const response = {
|
|
1473
|
-
$metadata: deserializeMetadata(output),
|
|
1474
|
-
...contents,
|
|
1475
|
-
};
|
|
1476
|
-
return response;
|
|
1477
|
-
};
|
|
1478
|
-
export const de_UpdateAccountSettingsCommand = async (output, context) => {
|
|
1479
|
-
if (output.statusCode >= 300) {
|
|
1480
|
-
return de_CommandError(output, context);
|
|
1481
|
-
}
|
|
1482
|
-
const data = await parseBody(output.body, context);
|
|
1483
|
-
let contents = {};
|
|
1484
|
-
contents = _json(data);
|
|
1485
|
-
const response = {
|
|
1486
|
-
$metadata: deserializeMetadata(output),
|
|
1487
|
-
...contents,
|
|
1488
|
-
};
|
|
1489
|
-
return response;
|
|
1490
|
-
};
|
|
1491
|
-
export const de_UpdateComponentCommand = async (output, context) => {
|
|
1492
|
-
if (output.statusCode >= 300) {
|
|
1493
|
-
return de_CommandError(output, context);
|
|
1494
|
-
}
|
|
1495
|
-
const data = await parseBody(output.body, context);
|
|
1496
|
-
let contents = {};
|
|
1497
|
-
contents = de_UpdateComponentOutput(data, context);
|
|
1498
|
-
const response = {
|
|
1499
|
-
$metadata: deserializeMetadata(output),
|
|
1500
|
-
...contents,
|
|
1501
|
-
};
|
|
1502
|
-
return response;
|
|
1503
|
-
};
|
|
1504
|
-
export const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
1505
|
-
if (output.statusCode >= 300) {
|
|
1506
|
-
return de_CommandError(output, context);
|
|
1507
|
-
}
|
|
1508
|
-
const data = await parseBody(output.body, context);
|
|
1509
|
-
let contents = {};
|
|
1510
|
-
contents = de_UpdateEnvironmentOutput(data, context);
|
|
1511
|
-
const response = {
|
|
1512
|
-
$metadata: deserializeMetadata(output),
|
|
1513
|
-
...contents,
|
|
1514
|
-
};
|
|
1515
|
-
return response;
|
|
1516
|
-
};
|
|
1517
|
-
export const de_UpdateEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
1518
|
-
if (output.statusCode >= 300) {
|
|
1519
|
-
return de_CommandError(output, context);
|
|
1520
|
-
}
|
|
1521
|
-
const data = await parseBody(output.body, context);
|
|
1522
|
-
let contents = {};
|
|
1523
|
-
contents = de_UpdateEnvironmentAccountConnectionOutput(data, context);
|
|
1524
|
-
const response = {
|
|
1525
|
-
$metadata: deserializeMetadata(output),
|
|
1526
|
-
...contents,
|
|
1527
|
-
};
|
|
1528
|
-
return response;
|
|
1529
|
-
};
|
|
1530
|
-
export const de_UpdateEnvironmentTemplateCommand = async (output, context) => {
|
|
1531
|
-
if (output.statusCode >= 300) {
|
|
1532
|
-
return de_CommandError(output, context);
|
|
1533
|
-
}
|
|
1534
|
-
const data = await parseBody(output.body, context);
|
|
1535
|
-
let contents = {};
|
|
1536
|
-
contents = de_UpdateEnvironmentTemplateOutput(data, context);
|
|
1537
|
-
const response = {
|
|
1538
|
-
$metadata: deserializeMetadata(output),
|
|
1539
|
-
...contents,
|
|
1540
|
-
};
|
|
1541
|
-
return response;
|
|
1542
|
-
};
|
|
1543
|
-
export const de_UpdateEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
1544
|
-
if (output.statusCode >= 300) {
|
|
1545
|
-
return de_CommandError(output, context);
|
|
1546
|
-
}
|
|
1547
|
-
const data = await parseBody(output.body, context);
|
|
1548
|
-
let contents = {};
|
|
1549
|
-
contents = de_UpdateEnvironmentTemplateVersionOutput(data, context);
|
|
1550
|
-
const response = {
|
|
1551
|
-
$metadata: deserializeMetadata(output),
|
|
1552
|
-
...contents,
|
|
1553
|
-
};
|
|
1554
|
-
return response;
|
|
1555
|
-
};
|
|
1556
|
-
export const de_UpdateServiceCommand = async (output, context) => {
|
|
1557
|
-
if (output.statusCode >= 300) {
|
|
1558
|
-
return de_CommandError(output, context);
|
|
1559
|
-
}
|
|
1560
|
-
const data = await parseBody(output.body, context);
|
|
1561
|
-
let contents = {};
|
|
1562
|
-
contents = de_UpdateServiceOutput(data, context);
|
|
1563
|
-
const response = {
|
|
1564
|
-
$metadata: deserializeMetadata(output),
|
|
1565
|
-
...contents,
|
|
1566
|
-
};
|
|
1567
|
-
return response;
|
|
1568
|
-
};
|
|
1569
|
-
export const de_UpdateServiceInstanceCommand = async (output, context) => {
|
|
1570
|
-
if (output.statusCode >= 300) {
|
|
1571
|
-
return de_CommandError(output, context);
|
|
1572
|
-
}
|
|
1573
|
-
const data = await parseBody(output.body, context);
|
|
1574
|
-
let contents = {};
|
|
1575
|
-
contents = de_UpdateServiceInstanceOutput(data, context);
|
|
1576
|
-
const response = {
|
|
1577
|
-
$metadata: deserializeMetadata(output),
|
|
1578
|
-
...contents,
|
|
1579
|
-
};
|
|
1580
|
-
return response;
|
|
1581
|
-
};
|
|
1582
|
-
export const de_UpdateServicePipelineCommand = async (output, context) => {
|
|
1583
|
-
if (output.statusCode >= 300) {
|
|
1584
|
-
return de_CommandError(output, context);
|
|
1585
|
-
}
|
|
1586
|
-
const data = await parseBody(output.body, context);
|
|
1587
|
-
let contents = {};
|
|
1588
|
-
contents = de_UpdateServicePipelineOutput(data, context);
|
|
1589
|
-
const response = {
|
|
1590
|
-
$metadata: deserializeMetadata(output),
|
|
1591
|
-
...contents,
|
|
1592
|
-
};
|
|
1593
|
-
return response;
|
|
1594
|
-
};
|
|
1595
|
-
export const de_UpdateServiceSyncBlockerCommand = async (output, context) => {
|
|
1596
|
-
if (output.statusCode >= 300) {
|
|
1597
|
-
return de_CommandError(output, context);
|
|
1598
|
-
}
|
|
1599
|
-
const data = await parseBody(output.body, context);
|
|
1600
|
-
let contents = {};
|
|
1601
|
-
contents = de_UpdateServiceSyncBlockerOutput(data, context);
|
|
1602
|
-
const response = {
|
|
1603
|
-
$metadata: deserializeMetadata(output),
|
|
1604
|
-
...contents,
|
|
1605
|
-
};
|
|
1606
|
-
return response;
|
|
1607
|
-
};
|
|
1608
|
-
export const de_UpdateServiceSyncConfigCommand = async (output, context) => {
|
|
1609
|
-
if (output.statusCode >= 300) {
|
|
1610
|
-
return de_CommandError(output, context);
|
|
1611
|
-
}
|
|
1612
|
-
const data = await parseBody(output.body, context);
|
|
1613
|
-
let contents = {};
|
|
1614
|
-
contents = _json(data);
|
|
1615
|
-
const response = {
|
|
1616
|
-
$metadata: deserializeMetadata(output),
|
|
1617
|
-
...contents,
|
|
1618
|
-
};
|
|
1619
|
-
return response;
|
|
1620
|
-
};
|
|
1621
|
-
export const de_UpdateServiceTemplateCommand = async (output, context) => {
|
|
1622
|
-
if (output.statusCode >= 300) {
|
|
1623
|
-
return de_CommandError(output, context);
|
|
1624
|
-
}
|
|
1625
|
-
const data = await parseBody(output.body, context);
|
|
1626
|
-
let contents = {};
|
|
1627
|
-
contents = de_UpdateServiceTemplateOutput(data, context);
|
|
1628
|
-
const response = {
|
|
1629
|
-
$metadata: deserializeMetadata(output),
|
|
1630
|
-
...contents,
|
|
1631
|
-
};
|
|
1632
|
-
return response;
|
|
1633
|
-
};
|
|
1634
|
-
export const de_UpdateServiceTemplateVersionCommand = async (output, context) => {
|
|
1635
|
-
if (output.statusCode >= 300) {
|
|
1636
|
-
return de_CommandError(output, context);
|
|
1637
|
-
}
|
|
1638
|
-
const data = await parseBody(output.body, context);
|
|
1639
|
-
let contents = {};
|
|
1640
|
-
contents = de_UpdateServiceTemplateVersionOutput(data, context);
|
|
1641
|
-
const response = {
|
|
1642
|
-
$metadata: deserializeMetadata(output),
|
|
1643
|
-
...contents,
|
|
1644
|
-
};
|
|
1645
|
-
return response;
|
|
1646
|
-
};
|
|
1647
|
-
export const de_UpdateTemplateSyncConfigCommand = async (output, context) => {
|
|
1648
|
-
if (output.statusCode >= 300) {
|
|
1649
|
-
return de_CommandError(output, context);
|
|
1650
|
-
}
|
|
1651
|
-
const data = await parseBody(output.body, context);
|
|
1652
|
-
let contents = {};
|
|
1653
|
-
contents = _json(data);
|
|
1654
|
-
const response = {
|
|
1655
|
-
$metadata: deserializeMetadata(output),
|
|
1656
|
-
...contents,
|
|
1657
|
-
};
|
|
1658
|
-
return response;
|
|
1659
|
-
};
|
|
1660
|
-
const de_CommandError = async (output, context) => {
|
|
1661
|
-
const parsedOutput = {
|
|
1662
|
-
...output,
|
|
1663
|
-
body: await parseErrorBody(output.body, context),
|
|
1664
|
-
};
|
|
1665
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1666
|
-
switch (errorCode) {
|
|
1667
|
-
case "AccessDeniedException":
|
|
1668
|
-
case "com.amazonaws.proton#AccessDeniedException":
|
|
1669
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1670
|
-
case "ConflictException":
|
|
1671
|
-
case "com.amazonaws.proton#ConflictException":
|
|
1672
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1673
|
-
case "InternalServerException":
|
|
1674
|
-
case "com.amazonaws.proton#InternalServerException":
|
|
1675
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1676
|
-
case "ResourceNotFoundException":
|
|
1677
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1678
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1679
|
-
case "ThrottlingException":
|
|
1680
|
-
case "com.amazonaws.proton#ThrottlingException":
|
|
1681
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1682
|
-
case "ValidationException":
|
|
1683
|
-
case "com.amazonaws.proton#ValidationException":
|
|
1684
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1685
|
-
case "ServiceQuotaExceededException":
|
|
1686
|
-
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
1687
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1688
|
-
default:
|
|
1689
|
-
const parsedBody = parsedOutput.body;
|
|
1690
|
-
return throwDefaultError({
|
|
1691
|
-
output,
|
|
1692
|
-
parsedBody,
|
|
1693
|
-
errorCode,
|
|
1694
|
-
});
|
|
1695
|
-
}
|
|
1696
|
-
};
|
|
1697
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1698
|
-
const body = parsedOutput.body;
|
|
1699
|
-
const deserialized = _json(body);
|
|
1700
|
-
const exception = new AccessDeniedException({
|
|
1701
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1702
|
-
...deserialized,
|
|
1703
|
-
});
|
|
1704
|
-
return __decorateServiceException(exception, body);
|
|
1705
|
-
};
|
|
1706
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1707
|
-
const body = parsedOutput.body;
|
|
1708
|
-
const deserialized = _json(body);
|
|
1709
|
-
const exception = new ConflictException({
|
|
1710
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1711
|
-
...deserialized,
|
|
1712
|
-
});
|
|
1713
|
-
return __decorateServiceException(exception, body);
|
|
1714
|
-
};
|
|
1715
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1716
|
-
const body = parsedOutput.body;
|
|
1717
|
-
const deserialized = _json(body);
|
|
1718
|
-
const exception = new InternalServerException({
|
|
1719
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1720
|
-
...deserialized,
|
|
1721
|
-
});
|
|
1722
|
-
return __decorateServiceException(exception, body);
|
|
1723
|
-
};
|
|
1724
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1725
|
-
const body = parsedOutput.body;
|
|
1726
|
-
const deserialized = _json(body);
|
|
1727
|
-
const exception = new ResourceNotFoundException({
|
|
1728
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1729
|
-
...deserialized,
|
|
1730
|
-
});
|
|
1731
|
-
return __decorateServiceException(exception, body);
|
|
1732
|
-
};
|
|
1733
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1734
|
-
const body = parsedOutput.body;
|
|
1735
|
-
const deserialized = _json(body);
|
|
1736
|
-
const exception = new ServiceQuotaExceededException({
|
|
1737
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1738
|
-
...deserialized,
|
|
1739
|
-
});
|
|
1740
|
-
return __decorateServiceException(exception, body);
|
|
1741
|
-
};
|
|
1742
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1743
|
-
const body = parsedOutput.body;
|
|
1744
|
-
const deserialized = _json(body);
|
|
1745
|
-
const exception = new ThrottlingException({
|
|
1746
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1747
|
-
...deserialized,
|
|
1748
|
-
});
|
|
1749
|
-
return __decorateServiceException(exception, body);
|
|
1750
|
-
};
|
|
1751
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1752
|
-
const body = parsedOutput.body;
|
|
1753
|
-
const deserialized = _json(body);
|
|
1754
|
-
const exception = new ValidationException({
|
|
1755
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1756
|
-
...deserialized,
|
|
1757
|
-
});
|
|
1758
|
-
return __decorateServiceException(exception, body);
|
|
1759
|
-
};
|
|
1760
|
-
const se_CreateComponentInput = (input, context) => {
|
|
1761
|
-
return take(input, {
|
|
1762
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1763
|
-
description: [],
|
|
1764
|
-
environmentName: [],
|
|
1765
|
-
manifest: [],
|
|
1766
|
-
name: [],
|
|
1767
|
-
serviceInstanceName: [],
|
|
1768
|
-
serviceName: [],
|
|
1769
|
-
serviceSpec: [],
|
|
1770
|
-
tags: _json,
|
|
1771
|
-
templateFile: [],
|
|
1772
|
-
});
|
|
1773
|
-
};
|
|
1774
|
-
const se_CreateEnvironmentAccountConnectionInput = (input, context) => {
|
|
1775
|
-
return take(input, {
|
|
1776
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1777
|
-
codebuildRoleArn: [],
|
|
1778
|
-
componentRoleArn: [],
|
|
1779
|
-
environmentName: [],
|
|
1780
|
-
managementAccountId: [],
|
|
1781
|
-
roleArn: [],
|
|
1782
|
-
tags: _json,
|
|
1783
|
-
});
|
|
1784
|
-
};
|
|
1785
|
-
const se_CreateEnvironmentInput = (input, context) => {
|
|
1786
|
-
return take(input, {
|
|
1787
|
-
codebuildRoleArn: [],
|
|
1788
|
-
componentRoleArn: [],
|
|
1789
|
-
description: [],
|
|
1790
|
-
environmentAccountConnectionId: [],
|
|
1791
|
-
name: [],
|
|
1792
|
-
protonServiceRoleArn: [],
|
|
1793
|
-
provisioningRepository: _json,
|
|
1794
|
-
spec: [],
|
|
1795
|
-
tags: _json,
|
|
1796
|
-
templateMajorVersion: [],
|
|
1797
|
-
templateMinorVersion: [],
|
|
1798
|
-
templateName: [],
|
|
1799
|
-
});
|
|
1800
|
-
};
|
|
1801
|
-
const se_CreateEnvironmentTemplateVersionInput = (input, context) => {
|
|
1802
|
-
return take(input, {
|
|
1803
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1804
|
-
description: [],
|
|
1805
|
-
majorVersion: [],
|
|
1806
|
-
source: _json,
|
|
1807
|
-
tags: _json,
|
|
1808
|
-
templateName: [],
|
|
1809
|
-
});
|
|
1810
|
-
};
|
|
1811
|
-
const se_CreateServiceInput = (input, context) => {
|
|
1812
|
-
return take(input, {
|
|
1813
|
-
branchName: [],
|
|
1814
|
-
description: [],
|
|
1815
|
-
name: [],
|
|
1816
|
-
repositoryConnectionArn: [],
|
|
1817
|
-
repositoryId: [],
|
|
1818
|
-
spec: [],
|
|
1819
|
-
tags: _json,
|
|
1820
|
-
templateMajorVersion: [],
|
|
1821
|
-
templateMinorVersion: [],
|
|
1822
|
-
templateName: [],
|
|
1823
|
-
});
|
|
1824
|
-
};
|
|
1825
|
-
const se_CreateServiceInstanceInput = (input, context) => {
|
|
1826
|
-
return take(input, {
|
|
1827
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1828
|
-
name: [],
|
|
1829
|
-
serviceName: [],
|
|
1830
|
-
spec: [],
|
|
1831
|
-
tags: _json,
|
|
1832
|
-
templateMajorVersion: [],
|
|
1833
|
-
templateMinorVersion: [],
|
|
1834
|
-
});
|
|
1835
|
-
};
|
|
1836
|
-
const se_CreateServiceTemplateVersionInput = (input, context) => {
|
|
1837
|
-
return take(input, {
|
|
1838
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1839
|
-
compatibleEnvironmentTemplates: _json,
|
|
1840
|
-
description: [],
|
|
1841
|
-
majorVersion: [],
|
|
1842
|
-
source: _json,
|
|
1843
|
-
supportedComponentSources: _json,
|
|
1844
|
-
tags: _json,
|
|
1845
|
-
templateName: [],
|
|
1846
|
-
});
|
|
1847
|
-
};
|
|
1848
|
-
const se_UpdateComponentInput = (input, context) => {
|
|
1849
|
-
return take(input, {
|
|
1850
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1851
|
-
deploymentType: [],
|
|
1852
|
-
description: [],
|
|
1853
|
-
name: [],
|
|
1854
|
-
serviceInstanceName: [],
|
|
1855
|
-
serviceName: [],
|
|
1856
|
-
serviceSpec: [],
|
|
1857
|
-
templateFile: [],
|
|
1858
|
-
});
|
|
1859
|
-
};
|
|
1860
|
-
const se_UpdateEnvironmentInput = (input, context) => {
|
|
1861
|
-
return take(input, {
|
|
1862
|
-
codebuildRoleArn: [],
|
|
1863
|
-
componentRoleArn: [],
|
|
1864
|
-
deploymentType: [],
|
|
1865
|
-
description: [],
|
|
1866
|
-
environmentAccountConnectionId: [],
|
|
1867
|
-
name: [],
|
|
1868
|
-
protonServiceRoleArn: [],
|
|
1869
|
-
provisioningRepository: _json,
|
|
1870
|
-
spec: [],
|
|
1871
|
-
templateMajorVersion: [],
|
|
1872
|
-
templateMinorVersion: [],
|
|
1873
|
-
});
|
|
1874
|
-
};
|
|
1875
|
-
const se_UpdateServiceInput = (input, context) => {
|
|
1876
|
-
return take(input, {
|
|
1877
|
-
description: [],
|
|
1878
|
-
name: [],
|
|
1879
|
-
spec: [],
|
|
1880
|
-
});
|
|
1881
|
-
};
|
|
1882
|
-
const se_UpdateServiceInstanceInput = (input, context) => {
|
|
1883
|
-
return take(input, {
|
|
1884
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1885
|
-
deploymentType: [],
|
|
1886
|
-
name: [],
|
|
1887
|
-
serviceName: [],
|
|
1888
|
-
spec: [],
|
|
1889
|
-
templateMajorVersion: [],
|
|
1890
|
-
templateMinorVersion: [],
|
|
1891
|
-
});
|
|
1892
|
-
};
|
|
1893
|
-
const se_UpdateServicePipelineInput = (input, context) => {
|
|
1894
|
-
return take(input, {
|
|
1895
|
-
deploymentType: [],
|
|
1896
|
-
serviceName: [],
|
|
1897
|
-
spec: [],
|
|
1898
|
-
templateMajorVersion: [],
|
|
1899
|
-
templateMinorVersion: [],
|
|
1900
|
-
});
|
|
1901
|
-
};
|
|
1902
|
-
const de_AcceptEnvironmentAccountConnectionOutput = (output, context) => {
|
|
1903
|
-
return take(output, {
|
|
1904
|
-
environmentAccountConnection: (_) => de_EnvironmentAccountConnection(_, context),
|
|
1905
|
-
});
|
|
1906
|
-
};
|
|
1907
|
-
const de_CancelComponentDeploymentOutput = (output, context) => {
|
|
1908
|
-
return take(output, {
|
|
1909
|
-
component: (_) => de_Component(_, context),
|
|
1910
|
-
});
|
|
1911
|
-
};
|
|
1912
|
-
const de_CancelEnvironmentDeploymentOutput = (output, context) => {
|
|
1913
|
-
return take(output, {
|
|
1914
|
-
environment: (_) => de_Environment(_, context),
|
|
1915
|
-
});
|
|
1916
|
-
};
|
|
1917
|
-
const de_CancelServiceInstanceDeploymentOutput = (output, context) => {
|
|
1918
|
-
return take(output, {
|
|
1919
|
-
serviceInstance: (_) => de_ServiceInstance(_, context),
|
|
1920
|
-
});
|
|
1921
|
-
};
|
|
1922
|
-
const de_CancelServicePipelineDeploymentOutput = (output, context) => {
|
|
1923
|
-
return take(output, {
|
|
1924
|
-
pipeline: (_) => de_ServicePipeline(_, context),
|
|
1925
|
-
});
|
|
1926
|
-
};
|
|
1927
|
-
const de_Component = (output, context) => {
|
|
1928
|
-
return take(output, {
|
|
1929
|
-
arn: __expectString,
|
|
1930
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1931
|
-
deploymentStatus: __expectString,
|
|
1932
|
-
deploymentStatusMessage: __expectString,
|
|
1933
|
-
description: __expectString,
|
|
1934
|
-
environmentName: __expectString,
|
|
1935
|
-
lastAttemptedDeploymentId: __expectString,
|
|
1936
|
-
lastClientRequestToken: __expectString,
|
|
1937
|
-
lastDeploymentAttemptedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1938
|
-
lastDeploymentSucceededAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1939
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1940
|
-
lastSucceededDeploymentId: __expectString,
|
|
1941
|
-
name: __expectString,
|
|
1942
|
-
serviceInstanceName: __expectString,
|
|
1943
|
-
serviceName: __expectString,
|
|
1944
|
-
serviceSpec: __expectString,
|
|
1945
|
-
});
|
|
1946
|
-
};
|
|
1947
|
-
const de_ComponentState = (output, context) => {
|
|
1948
|
-
return take(output, {
|
|
1949
|
-
serviceInstanceName: __expectString,
|
|
1950
|
-
serviceName: __expectString,
|
|
1951
|
-
serviceSpec: __expectString,
|
|
1952
|
-
templateFile: __expectString,
|
|
1953
|
-
});
|
|
1954
|
-
};
|
|
1955
|
-
const de_ComponentSummary = (output, context) => {
|
|
1956
|
-
return take(output, {
|
|
1957
|
-
arn: __expectString,
|
|
1958
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1959
|
-
deploymentStatus: __expectString,
|
|
1960
|
-
deploymentStatusMessage: __expectString,
|
|
1961
|
-
environmentName: __expectString,
|
|
1962
|
-
lastAttemptedDeploymentId: __expectString,
|
|
1963
|
-
lastDeploymentAttemptedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1964
|
-
lastDeploymentSucceededAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1965
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1966
|
-
lastSucceededDeploymentId: __expectString,
|
|
1967
|
-
name: __expectString,
|
|
1968
|
-
serviceInstanceName: __expectString,
|
|
1969
|
-
serviceName: __expectString,
|
|
1970
|
-
});
|
|
1971
|
-
};
|
|
1972
|
-
const de_ComponentSummaryList = (output, context) => {
|
|
1973
|
-
const retVal = (output || [])
|
|
1974
|
-
.filter((e) => e != null)
|
|
1975
|
-
.map((entry) => {
|
|
1976
|
-
return de_ComponentSummary(entry, context);
|
|
1977
|
-
});
|
|
1978
|
-
return retVal;
|
|
1979
|
-
};
|
|
1980
|
-
const de_CreateComponentOutput = (output, context) => {
|
|
1981
|
-
return take(output, {
|
|
1982
|
-
component: (_) => de_Component(_, context),
|
|
1983
|
-
});
|
|
1984
|
-
};
|
|
1985
|
-
const de_CreateEnvironmentAccountConnectionOutput = (output, context) => {
|
|
1986
|
-
return take(output, {
|
|
1987
|
-
environmentAccountConnection: (_) => de_EnvironmentAccountConnection(_, context),
|
|
1988
|
-
});
|
|
1989
|
-
};
|
|
1990
|
-
const de_CreateEnvironmentOutput = (output, context) => {
|
|
1991
|
-
return take(output, {
|
|
1992
|
-
environment: (_) => de_Environment(_, context),
|
|
1993
|
-
});
|
|
1994
|
-
};
|
|
1995
|
-
const de_CreateEnvironmentTemplateOutput = (output, context) => {
|
|
1996
|
-
return take(output, {
|
|
1997
|
-
environmentTemplate: (_) => de_EnvironmentTemplate(_, context),
|
|
1998
|
-
});
|
|
1999
|
-
};
|
|
2000
|
-
const de_CreateEnvironmentTemplateVersionOutput = (output, context) => {
|
|
2001
|
-
return take(output, {
|
|
2002
|
-
environmentTemplateVersion: (_) => de_EnvironmentTemplateVersion(_, context),
|
|
2003
|
-
});
|
|
2004
|
-
};
|
|
2005
|
-
const de_CreateServiceInstanceOutput = (output, context) => {
|
|
2006
|
-
return take(output, {
|
|
2007
|
-
serviceInstance: (_) => de_ServiceInstance(_, context),
|
|
2008
|
-
});
|
|
2009
|
-
};
|
|
2010
|
-
const de_CreateServiceOutput = (output, context) => {
|
|
2011
|
-
return take(output, {
|
|
2012
|
-
service: (_) => de_Service(_, context),
|
|
2013
|
-
});
|
|
2014
|
-
};
|
|
2015
|
-
const de_CreateServiceTemplateOutput = (output, context) => {
|
|
2016
|
-
return take(output, {
|
|
2017
|
-
serviceTemplate: (_) => de_ServiceTemplate(_, context),
|
|
2018
|
-
});
|
|
2019
|
-
};
|
|
2020
|
-
const de_CreateServiceTemplateVersionOutput = (output, context) => {
|
|
2021
|
-
return take(output, {
|
|
2022
|
-
serviceTemplateVersion: (_) => de_ServiceTemplateVersion(_, context),
|
|
2023
|
-
});
|
|
2024
|
-
};
|
|
2025
|
-
const de_DeleteComponentOutput = (output, context) => {
|
|
2026
|
-
return take(output, {
|
|
2027
|
-
component: (_) => de_Component(_, context),
|
|
2028
|
-
});
|
|
2029
|
-
};
|
|
2030
|
-
const de_DeleteDeploymentOutput = (output, context) => {
|
|
2031
|
-
return take(output, {
|
|
2032
|
-
deployment: (_) => de_Deployment(_, context),
|
|
2033
|
-
});
|
|
2034
|
-
};
|
|
2035
|
-
const de_DeleteEnvironmentAccountConnectionOutput = (output, context) => {
|
|
2036
|
-
return take(output, {
|
|
2037
|
-
environmentAccountConnection: (_) => de_EnvironmentAccountConnection(_, context),
|
|
2038
|
-
});
|
|
2039
|
-
};
|
|
2040
|
-
const de_DeleteEnvironmentOutput = (output, context) => {
|
|
2041
|
-
return take(output, {
|
|
2042
|
-
environment: (_) => de_Environment(_, context),
|
|
2043
|
-
});
|
|
2044
|
-
};
|
|
2045
|
-
const de_DeleteEnvironmentTemplateOutput = (output, context) => {
|
|
2046
|
-
return take(output, {
|
|
2047
|
-
environmentTemplate: (_) => de_EnvironmentTemplate(_, context),
|
|
2048
|
-
});
|
|
2049
|
-
};
|
|
2050
|
-
const de_DeleteEnvironmentTemplateVersionOutput = (output, context) => {
|
|
2051
|
-
return take(output, {
|
|
2052
|
-
environmentTemplateVersion: (_) => de_EnvironmentTemplateVersion(_, context),
|
|
2053
|
-
});
|
|
2054
|
-
};
|
|
2055
|
-
const de_DeleteServiceOutput = (output, context) => {
|
|
2056
|
-
return take(output, {
|
|
2057
|
-
service: (_) => de_Service(_, context),
|
|
2058
|
-
});
|
|
2059
|
-
};
|
|
2060
|
-
const de_DeleteServiceTemplateOutput = (output, context) => {
|
|
2061
|
-
return take(output, {
|
|
2062
|
-
serviceTemplate: (_) => de_ServiceTemplate(_, context),
|
|
2063
|
-
});
|
|
2064
|
-
};
|
|
2065
|
-
const de_DeleteServiceTemplateVersionOutput = (output, context) => {
|
|
2066
|
-
return take(output, {
|
|
2067
|
-
serviceTemplateVersion: (_) => de_ServiceTemplateVersion(_, context),
|
|
2068
|
-
});
|
|
2069
|
-
};
|
|
2070
|
-
const de_Deployment = (output, context) => {
|
|
2071
|
-
return take(output, {
|
|
2072
|
-
arn: __expectString,
|
|
2073
|
-
completedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2074
|
-
componentName: __expectString,
|
|
2075
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2076
|
-
deploymentStatus: __expectString,
|
|
2077
|
-
deploymentStatusMessage: __expectString,
|
|
2078
|
-
environmentName: __expectString,
|
|
2079
|
-
id: __expectString,
|
|
2080
|
-
initialState: (_) => de_DeploymentState(__expectUnion(_), context),
|
|
2081
|
-
lastAttemptedDeploymentId: __expectString,
|
|
2082
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2083
|
-
lastSucceededDeploymentId: __expectString,
|
|
2084
|
-
serviceInstanceName: __expectString,
|
|
2085
|
-
serviceName: __expectString,
|
|
2086
|
-
targetArn: __expectString,
|
|
2087
|
-
targetResourceCreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2088
|
-
targetResourceType: __expectString,
|
|
2089
|
-
targetState: (_) => de_DeploymentState(__expectUnion(_), context),
|
|
2090
|
-
});
|
|
2091
|
-
};
|
|
2092
|
-
const de_DeploymentState = (output, context) => {
|
|
2093
|
-
if (output.component != null) {
|
|
2094
|
-
return {
|
|
2095
|
-
component: de_ComponentState(output.component, context),
|
|
2096
|
-
};
|
|
2097
|
-
}
|
|
2098
|
-
if (output.environment != null) {
|
|
2099
|
-
return {
|
|
2100
|
-
environment: de_EnvironmentState(output.environment, context),
|
|
2101
|
-
};
|
|
2102
|
-
}
|
|
2103
|
-
if (output.serviceInstance != null) {
|
|
2104
|
-
return {
|
|
2105
|
-
serviceInstance: de_ServiceInstanceState(output.serviceInstance, context),
|
|
2106
|
-
};
|
|
2107
|
-
}
|
|
2108
|
-
if (output.servicePipeline != null) {
|
|
2109
|
-
return {
|
|
2110
|
-
servicePipeline: de_ServicePipelineState(output.servicePipeline, context),
|
|
2111
|
-
};
|
|
2112
|
-
}
|
|
2113
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2114
|
-
};
|
|
2115
|
-
const de_DeploymentSummary = (output, context) => {
|
|
2116
|
-
return take(output, {
|
|
2117
|
-
arn: __expectString,
|
|
2118
|
-
completedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2119
|
-
componentName: __expectString,
|
|
2120
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2121
|
-
deploymentStatus: __expectString,
|
|
2122
|
-
environmentName: __expectString,
|
|
2123
|
-
id: __expectString,
|
|
2124
|
-
lastAttemptedDeploymentId: __expectString,
|
|
2125
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2126
|
-
lastSucceededDeploymentId: __expectString,
|
|
2127
|
-
serviceInstanceName: __expectString,
|
|
2128
|
-
serviceName: __expectString,
|
|
2129
|
-
targetArn: __expectString,
|
|
2130
|
-
targetResourceCreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2131
|
-
targetResourceType: __expectString,
|
|
2132
|
-
});
|
|
2133
|
-
};
|
|
2134
|
-
const de_DeploymentSummaryList = (output, context) => {
|
|
2135
|
-
const retVal = (output || [])
|
|
2136
|
-
.filter((e) => e != null)
|
|
2137
|
-
.map((entry) => {
|
|
2138
|
-
return de_DeploymentSummary(entry, context);
|
|
2139
|
-
});
|
|
2140
|
-
return retVal;
|
|
2141
|
-
};
|
|
2142
|
-
const de_Environment = (output, context) => {
|
|
2143
|
-
return take(output, {
|
|
2144
|
-
arn: __expectString,
|
|
2145
|
-
codebuildRoleArn: __expectString,
|
|
2146
|
-
componentRoleArn: __expectString,
|
|
2147
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2148
|
-
deploymentStatus: __expectString,
|
|
2149
|
-
deploymentStatusMessage: __expectString,
|
|
2150
|
-
description: __expectString,
|
|
2151
|
-
environmentAccountConnectionId: __expectString,
|
|
2152
|
-
environmentAccountId: __expectString,
|
|
2153
|
-
lastAttemptedDeploymentId: __expectString,
|
|
2154
|
-
lastDeploymentAttemptedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2155
|
-
lastDeploymentSucceededAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2156
|
-
lastSucceededDeploymentId: __expectString,
|
|
2157
|
-
name: __expectString,
|
|
2158
|
-
protonServiceRoleArn: __expectString,
|
|
2159
|
-
provisioning: __expectString,
|
|
2160
|
-
provisioningRepository: _json,
|
|
2161
|
-
spec: __expectString,
|
|
2162
|
-
templateMajorVersion: __expectString,
|
|
2163
|
-
templateMinorVersion: __expectString,
|
|
2164
|
-
templateName: __expectString,
|
|
2165
|
-
});
|
|
2166
|
-
};
|
|
2167
|
-
const de_EnvironmentAccountConnection = (output, context) => {
|
|
2168
|
-
return take(output, {
|
|
2169
|
-
arn: __expectString,
|
|
2170
|
-
codebuildRoleArn: __expectString,
|
|
2171
|
-
componentRoleArn: __expectString,
|
|
2172
|
-
environmentAccountId: __expectString,
|
|
2173
|
-
environmentName: __expectString,
|
|
2174
|
-
id: __expectString,
|
|
2175
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2176
|
-
managementAccountId: __expectString,
|
|
2177
|
-
requestedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2178
|
-
roleArn: __expectString,
|
|
2179
|
-
status: __expectString,
|
|
2180
|
-
});
|
|
2181
|
-
};
|
|
2182
|
-
const de_EnvironmentAccountConnectionSummary = (output, context) => {
|
|
2183
|
-
return take(output, {
|
|
2184
|
-
arn: __expectString,
|
|
2185
|
-
componentRoleArn: __expectString,
|
|
2186
|
-
environmentAccountId: __expectString,
|
|
2187
|
-
environmentName: __expectString,
|
|
2188
|
-
id: __expectString,
|
|
2189
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2190
|
-
managementAccountId: __expectString,
|
|
2191
|
-
requestedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2192
|
-
roleArn: __expectString,
|
|
2193
|
-
status: __expectString,
|
|
2194
|
-
});
|
|
2195
|
-
};
|
|
2196
|
-
const de_EnvironmentAccountConnectionSummaryList = (output, context) => {
|
|
2197
|
-
const retVal = (output || [])
|
|
2198
|
-
.filter((e) => e != null)
|
|
2199
|
-
.map((entry) => {
|
|
2200
|
-
return de_EnvironmentAccountConnectionSummary(entry, context);
|
|
2201
|
-
});
|
|
2202
|
-
return retVal;
|
|
2203
|
-
};
|
|
2204
|
-
const de_EnvironmentState = (output, context) => {
|
|
2205
|
-
return take(output, {
|
|
2206
|
-
spec: __expectString,
|
|
2207
|
-
templateMajorVersion: __expectString,
|
|
2208
|
-
templateMinorVersion: __expectString,
|
|
2209
|
-
templateName: __expectString,
|
|
2210
|
-
});
|
|
2211
|
-
};
|
|
2212
|
-
const de_EnvironmentSummary = (output, context) => {
|
|
2213
|
-
return take(output, {
|
|
2214
|
-
arn: __expectString,
|
|
2215
|
-
componentRoleArn: __expectString,
|
|
2216
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2217
|
-
deploymentStatus: __expectString,
|
|
2218
|
-
deploymentStatusMessage: __expectString,
|
|
2219
|
-
description: __expectString,
|
|
2220
|
-
environmentAccountConnectionId: __expectString,
|
|
2221
|
-
environmentAccountId: __expectString,
|
|
2222
|
-
lastAttemptedDeploymentId: __expectString,
|
|
2223
|
-
lastDeploymentAttemptedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2224
|
-
lastDeploymentSucceededAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2225
|
-
lastSucceededDeploymentId: __expectString,
|
|
2226
|
-
name: __expectString,
|
|
2227
|
-
protonServiceRoleArn: __expectString,
|
|
2228
|
-
provisioning: __expectString,
|
|
2229
|
-
templateMajorVersion: __expectString,
|
|
2230
|
-
templateMinorVersion: __expectString,
|
|
2231
|
-
templateName: __expectString,
|
|
2232
|
-
});
|
|
2233
|
-
};
|
|
2234
|
-
const de_EnvironmentSummaryList = (output, context) => {
|
|
2235
|
-
const retVal = (output || [])
|
|
2236
|
-
.filter((e) => e != null)
|
|
2237
|
-
.map((entry) => {
|
|
2238
|
-
return de_EnvironmentSummary(entry, context);
|
|
2239
|
-
});
|
|
2240
|
-
return retVal;
|
|
2241
|
-
};
|
|
2242
|
-
const de_EnvironmentTemplate = (output, context) => {
|
|
2243
|
-
return take(output, {
|
|
2244
|
-
arn: __expectString,
|
|
2245
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2246
|
-
description: __expectString,
|
|
2247
|
-
displayName: __expectString,
|
|
2248
|
-
encryptionKey: __expectString,
|
|
2249
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2250
|
-
name: __expectString,
|
|
2251
|
-
provisioning: __expectString,
|
|
2252
|
-
recommendedVersion: __expectString,
|
|
2253
|
-
});
|
|
2254
|
-
};
|
|
2255
|
-
const de_EnvironmentTemplateSummary = (output, context) => {
|
|
2256
|
-
return take(output, {
|
|
2257
|
-
arn: __expectString,
|
|
2258
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2259
|
-
description: __expectString,
|
|
2260
|
-
displayName: __expectString,
|
|
2261
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2262
|
-
name: __expectString,
|
|
2263
|
-
provisioning: __expectString,
|
|
2264
|
-
recommendedVersion: __expectString,
|
|
2265
|
-
});
|
|
2266
|
-
};
|
|
2267
|
-
const de_EnvironmentTemplateSummaryList = (output, context) => {
|
|
2268
|
-
const retVal = (output || [])
|
|
2269
|
-
.filter((e) => e != null)
|
|
2270
|
-
.map((entry) => {
|
|
2271
|
-
return de_EnvironmentTemplateSummary(entry, context);
|
|
2272
|
-
});
|
|
2273
|
-
return retVal;
|
|
2274
|
-
};
|
|
2275
|
-
const de_EnvironmentTemplateVersion = (output, context) => {
|
|
2276
|
-
return take(output, {
|
|
2277
|
-
arn: __expectString,
|
|
2278
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2279
|
-
description: __expectString,
|
|
2280
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2281
|
-
majorVersion: __expectString,
|
|
2282
|
-
minorVersion: __expectString,
|
|
2283
|
-
recommendedMinorVersion: __expectString,
|
|
2284
|
-
schema: __expectString,
|
|
2285
|
-
status: __expectString,
|
|
2286
|
-
statusMessage: __expectString,
|
|
2287
|
-
templateName: __expectString,
|
|
2288
|
-
});
|
|
2289
|
-
};
|
|
2290
|
-
const de_EnvironmentTemplateVersionSummary = (output, context) => {
|
|
2291
|
-
return take(output, {
|
|
2292
|
-
arn: __expectString,
|
|
2293
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2294
|
-
description: __expectString,
|
|
2295
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2296
|
-
majorVersion: __expectString,
|
|
2297
|
-
minorVersion: __expectString,
|
|
2298
|
-
recommendedMinorVersion: __expectString,
|
|
2299
|
-
status: __expectString,
|
|
2300
|
-
statusMessage: __expectString,
|
|
2301
|
-
templateName: __expectString,
|
|
2302
|
-
});
|
|
2303
|
-
};
|
|
2304
|
-
const de_EnvironmentTemplateVersionSummaryList = (output, context) => {
|
|
2305
|
-
const retVal = (output || [])
|
|
2306
|
-
.filter((e) => e != null)
|
|
2307
|
-
.map((entry) => {
|
|
2308
|
-
return de_EnvironmentTemplateVersionSummary(entry, context);
|
|
2309
|
-
});
|
|
2310
|
-
return retVal;
|
|
2311
|
-
};
|
|
2312
|
-
const de_GetComponentOutput = (output, context) => {
|
|
2313
|
-
return take(output, {
|
|
2314
|
-
component: (_) => de_Component(_, context),
|
|
2315
|
-
});
|
|
2316
|
-
};
|
|
2317
|
-
const de_GetDeploymentOutput = (output, context) => {
|
|
2318
|
-
return take(output, {
|
|
2319
|
-
deployment: (_) => de_Deployment(_, context),
|
|
2320
|
-
});
|
|
2321
|
-
};
|
|
2322
|
-
const de_GetEnvironmentAccountConnectionOutput = (output, context) => {
|
|
2323
|
-
return take(output, {
|
|
2324
|
-
environmentAccountConnection: (_) => de_EnvironmentAccountConnection(_, context),
|
|
2325
|
-
});
|
|
2326
|
-
};
|
|
2327
|
-
const de_GetEnvironmentOutput = (output, context) => {
|
|
2328
|
-
return take(output, {
|
|
2329
|
-
environment: (_) => de_Environment(_, context),
|
|
2330
|
-
});
|
|
2331
|
-
};
|
|
2332
|
-
const de_GetEnvironmentTemplateOutput = (output, context) => {
|
|
2333
|
-
return take(output, {
|
|
2334
|
-
environmentTemplate: (_) => de_EnvironmentTemplate(_, context),
|
|
2335
|
-
});
|
|
2336
|
-
};
|
|
2337
|
-
const de_GetEnvironmentTemplateVersionOutput = (output, context) => {
|
|
2338
|
-
return take(output, {
|
|
2339
|
-
environmentTemplateVersion: (_) => de_EnvironmentTemplateVersion(_, context),
|
|
2340
|
-
});
|
|
2341
|
-
};
|
|
2342
|
-
const de_GetRepositorySyncStatusOutput = (output, context) => {
|
|
2343
|
-
return take(output, {
|
|
2344
|
-
latestSync: (_) => de_RepositorySyncAttempt(_, context),
|
|
2345
|
-
});
|
|
2346
|
-
};
|
|
2347
|
-
const de_GetServiceInstanceOutput = (output, context) => {
|
|
2348
|
-
return take(output, {
|
|
2349
|
-
serviceInstance: (_) => de_ServiceInstance(_, context),
|
|
2350
|
-
});
|
|
2351
|
-
};
|
|
2352
|
-
const de_GetServiceInstanceSyncStatusOutput = (output, context) => {
|
|
2353
|
-
return take(output, {
|
|
2354
|
-
desiredState: _json,
|
|
2355
|
-
latestSuccessfulSync: (_) => de_ResourceSyncAttempt(_, context),
|
|
2356
|
-
latestSync: (_) => de_ResourceSyncAttempt(_, context),
|
|
2357
|
-
});
|
|
2358
|
-
};
|
|
2359
|
-
const de_GetServiceOutput = (output, context) => {
|
|
2360
|
-
return take(output, {
|
|
2361
|
-
service: (_) => de_Service(_, context),
|
|
2362
|
-
});
|
|
2363
|
-
};
|
|
2364
|
-
const de_GetServiceSyncBlockerSummaryOutput = (output, context) => {
|
|
2365
|
-
return take(output, {
|
|
2366
|
-
serviceSyncBlockerSummary: (_) => de_ServiceSyncBlockerSummary(_, context),
|
|
2367
|
-
});
|
|
2368
|
-
};
|
|
2369
|
-
const de_GetServiceTemplateOutput = (output, context) => {
|
|
2370
|
-
return take(output, {
|
|
2371
|
-
serviceTemplate: (_) => de_ServiceTemplate(_, context),
|
|
2372
|
-
});
|
|
2373
|
-
};
|
|
2374
|
-
const de_GetServiceTemplateVersionOutput = (output, context) => {
|
|
2375
|
-
return take(output, {
|
|
2376
|
-
serviceTemplateVersion: (_) => de_ServiceTemplateVersion(_, context),
|
|
2377
|
-
});
|
|
2378
|
-
};
|
|
2379
|
-
const de_GetTemplateSyncStatusOutput = (output, context) => {
|
|
2380
|
-
return take(output, {
|
|
2381
|
-
desiredState: _json,
|
|
2382
|
-
latestSuccessfulSync: (_) => de_ResourceSyncAttempt(_, context),
|
|
2383
|
-
latestSync: (_) => de_ResourceSyncAttempt(_, context),
|
|
2384
|
-
});
|
|
2385
|
-
};
|
|
2386
|
-
const de_LatestSyncBlockers = (output, context) => {
|
|
2387
|
-
const retVal = (output || [])
|
|
2388
|
-
.filter((e) => e != null)
|
|
2389
|
-
.map((entry) => {
|
|
2390
|
-
return de_SyncBlocker(entry, context);
|
|
2391
|
-
});
|
|
2392
|
-
return retVal;
|
|
2393
|
-
};
|
|
2394
|
-
const de_ListComponentsOutput = (output, context) => {
|
|
2395
|
-
return take(output, {
|
|
2396
|
-
components: (_) => de_ComponentSummaryList(_, context),
|
|
2397
|
-
nextToken: __expectString,
|
|
2398
|
-
});
|
|
2399
|
-
};
|
|
2400
|
-
const de_ListDeploymentsOutput = (output, context) => {
|
|
2401
|
-
return take(output, {
|
|
2402
|
-
deployments: (_) => de_DeploymentSummaryList(_, context),
|
|
2403
|
-
nextToken: __expectString,
|
|
2404
|
-
});
|
|
2405
|
-
};
|
|
2406
|
-
const de_ListEnvironmentAccountConnectionsOutput = (output, context) => {
|
|
2407
|
-
return take(output, {
|
|
2408
|
-
environmentAccountConnections: (_) => de_EnvironmentAccountConnectionSummaryList(_, context),
|
|
2409
|
-
nextToken: __expectString,
|
|
2410
|
-
});
|
|
2411
|
-
};
|
|
2412
|
-
const de_ListEnvironmentsOutput = (output, context) => {
|
|
2413
|
-
return take(output, {
|
|
2414
|
-
environments: (_) => de_EnvironmentSummaryList(_, context),
|
|
2415
|
-
nextToken: __expectString,
|
|
2416
|
-
});
|
|
2417
|
-
};
|
|
2418
|
-
const de_ListEnvironmentTemplatesOutput = (output, context) => {
|
|
2419
|
-
return take(output, {
|
|
2420
|
-
nextToken: __expectString,
|
|
2421
|
-
templates: (_) => de_EnvironmentTemplateSummaryList(_, context),
|
|
2422
|
-
});
|
|
2423
|
-
};
|
|
2424
|
-
const de_ListEnvironmentTemplateVersionsOutput = (output, context) => {
|
|
2425
|
-
return take(output, {
|
|
2426
|
-
nextToken: __expectString,
|
|
2427
|
-
templateVersions: (_) => de_EnvironmentTemplateVersionSummaryList(_, context),
|
|
2428
|
-
});
|
|
2429
|
-
};
|
|
2430
|
-
const de_ListServiceInstancesOutput = (output, context) => {
|
|
2431
|
-
return take(output, {
|
|
2432
|
-
nextToken: __expectString,
|
|
2433
|
-
serviceInstances: (_) => de_ServiceInstanceSummaryList(_, context),
|
|
2434
|
-
});
|
|
2435
|
-
};
|
|
2436
|
-
const de_ListServicesOutput = (output, context) => {
|
|
2437
|
-
return take(output, {
|
|
2438
|
-
nextToken: __expectString,
|
|
2439
|
-
services: (_) => de_ServiceSummaryList(_, context),
|
|
2440
|
-
});
|
|
2441
|
-
};
|
|
2442
|
-
const de_ListServiceTemplatesOutput = (output, context) => {
|
|
2443
|
-
return take(output, {
|
|
2444
|
-
nextToken: __expectString,
|
|
2445
|
-
templates: (_) => de_ServiceTemplateSummaryList(_, context),
|
|
2446
|
-
});
|
|
2447
|
-
};
|
|
2448
|
-
const de_ListServiceTemplateVersionsOutput = (output, context) => {
|
|
2449
|
-
return take(output, {
|
|
2450
|
-
nextToken: __expectString,
|
|
2451
|
-
templateVersions: (_) => de_ServiceTemplateVersionSummaryList(_, context),
|
|
2452
|
-
});
|
|
2453
|
-
};
|
|
2454
|
-
const de_RejectEnvironmentAccountConnectionOutput = (output, context) => {
|
|
2455
|
-
return take(output, {
|
|
2456
|
-
environmentAccountConnection: (_) => de_EnvironmentAccountConnection(_, context),
|
|
2457
|
-
});
|
|
2458
|
-
};
|
|
2459
|
-
const de_RepositorySyncAttempt = (output, context) => {
|
|
2460
|
-
return take(output, {
|
|
2461
|
-
events: (_) => de_RepositorySyncEvents(_, context),
|
|
2462
|
-
startedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2463
|
-
status: __expectString,
|
|
2464
|
-
});
|
|
2465
|
-
};
|
|
2466
|
-
const de_RepositorySyncEvent = (output, context) => {
|
|
2467
|
-
return take(output, {
|
|
2468
|
-
event: __expectString,
|
|
2469
|
-
externalId: __expectString,
|
|
2470
|
-
time: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2471
|
-
type: __expectString,
|
|
2472
|
-
});
|
|
2473
|
-
};
|
|
2474
|
-
const de_RepositorySyncEvents = (output, context) => {
|
|
2475
|
-
const retVal = (output || [])
|
|
2476
|
-
.filter((e) => e != null)
|
|
2477
|
-
.map((entry) => {
|
|
2478
|
-
return de_RepositorySyncEvent(entry, context);
|
|
2479
|
-
});
|
|
2480
|
-
return retVal;
|
|
2481
|
-
};
|
|
2482
|
-
const de_ResourceSyncAttempt = (output, context) => {
|
|
2483
|
-
return take(output, {
|
|
2484
|
-
events: (_) => de_ResourceSyncEvents(_, context),
|
|
2485
|
-
initialRevision: _json,
|
|
2486
|
-
startedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2487
|
-
status: __expectString,
|
|
2488
|
-
target: __expectString,
|
|
2489
|
-
targetRevision: _json,
|
|
2490
|
-
});
|
|
2491
|
-
};
|
|
2492
|
-
const de_ResourceSyncEvent = (output, context) => {
|
|
2493
|
-
return take(output, {
|
|
2494
|
-
event: __expectString,
|
|
2495
|
-
externalId: __expectString,
|
|
2496
|
-
time: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2497
|
-
type: __expectString,
|
|
2498
|
-
});
|
|
2499
|
-
};
|
|
2500
|
-
const de_ResourceSyncEvents = (output, context) => {
|
|
2501
|
-
const retVal = (output || [])
|
|
2502
|
-
.filter((e) => e != null)
|
|
2503
|
-
.map((entry) => {
|
|
2504
|
-
return de_ResourceSyncEvent(entry, context);
|
|
2505
|
-
});
|
|
2506
|
-
return retVal;
|
|
2507
|
-
};
|
|
2508
|
-
const de_Service = (output, context) => {
|
|
2509
|
-
return take(output, {
|
|
2510
|
-
arn: __expectString,
|
|
2511
|
-
branchName: __expectString,
|
|
2512
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2513
|
-
description: __expectString,
|
|
2514
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2515
|
-
name: __expectString,
|
|
2516
|
-
pipeline: (_) => de_ServicePipeline(_, context),
|
|
2517
|
-
repositoryConnectionArn: __expectString,
|
|
2518
|
-
repositoryId: __expectString,
|
|
2519
|
-
spec: __expectString,
|
|
2520
|
-
status: __expectString,
|
|
2521
|
-
statusMessage: __expectString,
|
|
2522
|
-
templateName: __expectString,
|
|
2523
|
-
});
|
|
2524
|
-
};
|
|
2525
|
-
const de_ServiceInstance = (output, context) => {
|
|
2526
|
-
return take(output, {
|
|
2527
|
-
arn: __expectString,
|
|
2528
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2529
|
-
deploymentStatus: __expectString,
|
|
2530
|
-
deploymentStatusMessage: __expectString,
|
|
2531
|
-
environmentName: __expectString,
|
|
2532
|
-
lastAttemptedDeploymentId: __expectString,
|
|
2533
|
-
lastClientRequestToken: __expectString,
|
|
2534
|
-
lastDeploymentAttemptedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2535
|
-
lastDeploymentSucceededAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2536
|
-
lastSucceededDeploymentId: __expectString,
|
|
2537
|
-
name: __expectString,
|
|
2538
|
-
serviceName: __expectString,
|
|
2539
|
-
spec: __expectString,
|
|
2540
|
-
templateMajorVersion: __expectString,
|
|
2541
|
-
templateMinorVersion: __expectString,
|
|
2542
|
-
templateName: __expectString,
|
|
2543
|
-
});
|
|
2544
|
-
};
|
|
2545
|
-
const de_ServiceInstanceState = (output, context) => {
|
|
2546
|
-
return take(output, {
|
|
2547
|
-
lastSuccessfulComponentDeploymentIds: _json,
|
|
2548
|
-
lastSuccessfulEnvironmentDeploymentId: __expectString,
|
|
2549
|
-
lastSuccessfulServicePipelineDeploymentId: __expectString,
|
|
2550
|
-
spec: __expectString,
|
|
2551
|
-
templateMajorVersion: __expectString,
|
|
2552
|
-
templateMinorVersion: __expectString,
|
|
2553
|
-
templateName: __expectString,
|
|
2554
|
-
});
|
|
2555
|
-
};
|
|
2556
|
-
const de_ServiceInstanceSummary = (output, context) => {
|
|
2557
|
-
return take(output, {
|
|
2558
|
-
arn: __expectString,
|
|
2559
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2560
|
-
deploymentStatus: __expectString,
|
|
2561
|
-
deploymentStatusMessage: __expectString,
|
|
2562
|
-
environmentName: __expectString,
|
|
2563
|
-
lastAttemptedDeploymentId: __expectString,
|
|
2564
|
-
lastDeploymentAttemptedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2565
|
-
lastDeploymentSucceededAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2566
|
-
lastSucceededDeploymentId: __expectString,
|
|
2567
|
-
name: __expectString,
|
|
2568
|
-
serviceName: __expectString,
|
|
2569
|
-
templateMajorVersion: __expectString,
|
|
2570
|
-
templateMinorVersion: __expectString,
|
|
2571
|
-
templateName: __expectString,
|
|
2572
|
-
});
|
|
2573
|
-
};
|
|
2574
|
-
const de_ServiceInstanceSummaryList = (output, context) => {
|
|
2575
|
-
const retVal = (output || [])
|
|
2576
|
-
.filter((e) => e != null)
|
|
2577
|
-
.map((entry) => {
|
|
2578
|
-
return de_ServiceInstanceSummary(entry, context);
|
|
2579
|
-
});
|
|
2580
|
-
return retVal;
|
|
2581
|
-
};
|
|
2582
|
-
const de_ServicePipeline = (output, context) => {
|
|
2583
|
-
return take(output, {
|
|
2584
|
-
arn: __expectString,
|
|
2585
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2586
|
-
deploymentStatus: __expectString,
|
|
2587
|
-
deploymentStatusMessage: __expectString,
|
|
2588
|
-
lastAttemptedDeploymentId: __expectString,
|
|
2589
|
-
lastDeploymentAttemptedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2590
|
-
lastDeploymentSucceededAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2591
|
-
lastSucceededDeploymentId: __expectString,
|
|
2592
|
-
spec: __expectString,
|
|
2593
|
-
templateMajorVersion: __expectString,
|
|
2594
|
-
templateMinorVersion: __expectString,
|
|
2595
|
-
templateName: __expectString,
|
|
2596
|
-
});
|
|
2597
|
-
};
|
|
2598
|
-
const de_ServicePipelineState = (output, context) => {
|
|
2599
|
-
return take(output, {
|
|
2600
|
-
spec: __expectString,
|
|
2601
|
-
templateMajorVersion: __expectString,
|
|
2602
|
-
templateMinorVersion: __expectString,
|
|
2603
|
-
templateName: __expectString,
|
|
2604
|
-
});
|
|
2605
|
-
};
|
|
2606
|
-
const de_ServiceSummary = (output, context) => {
|
|
2607
|
-
return take(output, {
|
|
2608
|
-
arn: __expectString,
|
|
2609
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2610
|
-
description: __expectString,
|
|
2611
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2612
|
-
name: __expectString,
|
|
2613
|
-
status: __expectString,
|
|
2614
|
-
statusMessage: __expectString,
|
|
2615
|
-
templateName: __expectString,
|
|
2616
|
-
});
|
|
2617
|
-
};
|
|
2618
|
-
const de_ServiceSummaryList = (output, context) => {
|
|
2619
|
-
const retVal = (output || [])
|
|
2620
|
-
.filter((e) => e != null)
|
|
2621
|
-
.map((entry) => {
|
|
2622
|
-
return de_ServiceSummary(entry, context);
|
|
2623
|
-
});
|
|
2624
|
-
return retVal;
|
|
2625
|
-
};
|
|
2626
|
-
const de_ServiceSyncBlockerSummary = (output, context) => {
|
|
2627
|
-
return take(output, {
|
|
2628
|
-
latestBlockers: (_) => de_LatestSyncBlockers(_, context),
|
|
2629
|
-
serviceInstanceName: __expectString,
|
|
2630
|
-
serviceName: __expectString,
|
|
2631
|
-
});
|
|
2632
|
-
};
|
|
2633
|
-
const de_ServiceTemplate = (output, context) => {
|
|
2634
|
-
return take(output, {
|
|
2635
|
-
arn: __expectString,
|
|
2636
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2637
|
-
description: __expectString,
|
|
2638
|
-
displayName: __expectString,
|
|
2639
|
-
encryptionKey: __expectString,
|
|
2640
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2641
|
-
name: __expectString,
|
|
2642
|
-
pipelineProvisioning: __expectString,
|
|
2643
|
-
recommendedVersion: __expectString,
|
|
2644
|
-
});
|
|
2645
|
-
};
|
|
2646
|
-
const de_ServiceTemplateSummary = (output, context) => {
|
|
2647
|
-
return take(output, {
|
|
2648
|
-
arn: __expectString,
|
|
2649
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2650
|
-
description: __expectString,
|
|
2651
|
-
displayName: __expectString,
|
|
2652
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2653
|
-
name: __expectString,
|
|
2654
|
-
pipelineProvisioning: __expectString,
|
|
2655
|
-
recommendedVersion: __expectString,
|
|
2656
|
-
});
|
|
2657
|
-
};
|
|
2658
|
-
const de_ServiceTemplateSummaryList = (output, context) => {
|
|
2659
|
-
const retVal = (output || [])
|
|
2660
|
-
.filter((e) => e != null)
|
|
2661
|
-
.map((entry) => {
|
|
2662
|
-
return de_ServiceTemplateSummary(entry, context);
|
|
2663
|
-
});
|
|
2664
|
-
return retVal;
|
|
2665
|
-
};
|
|
2666
|
-
const de_ServiceTemplateVersion = (output, context) => {
|
|
2667
|
-
return take(output, {
|
|
2668
|
-
arn: __expectString,
|
|
2669
|
-
compatibleEnvironmentTemplates: _json,
|
|
2670
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2671
|
-
description: __expectString,
|
|
2672
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2673
|
-
majorVersion: __expectString,
|
|
2674
|
-
minorVersion: __expectString,
|
|
2675
|
-
recommendedMinorVersion: __expectString,
|
|
2676
|
-
schema: __expectString,
|
|
2677
|
-
status: __expectString,
|
|
2678
|
-
statusMessage: __expectString,
|
|
2679
|
-
supportedComponentSources: _json,
|
|
2680
|
-
templateName: __expectString,
|
|
2681
|
-
});
|
|
2682
|
-
};
|
|
2683
|
-
const de_ServiceTemplateVersionSummary = (output, context) => {
|
|
2684
|
-
return take(output, {
|
|
2685
|
-
arn: __expectString,
|
|
2686
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2687
|
-
description: __expectString,
|
|
2688
|
-
lastModifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2689
|
-
majorVersion: __expectString,
|
|
2690
|
-
minorVersion: __expectString,
|
|
2691
|
-
recommendedMinorVersion: __expectString,
|
|
2692
|
-
status: __expectString,
|
|
2693
|
-
statusMessage: __expectString,
|
|
2694
|
-
templateName: __expectString,
|
|
2695
|
-
});
|
|
2696
|
-
};
|
|
2697
|
-
const de_ServiceTemplateVersionSummaryList = (output, context) => {
|
|
2698
|
-
const retVal = (output || [])
|
|
2699
|
-
.filter((e) => e != null)
|
|
2700
|
-
.map((entry) => {
|
|
2701
|
-
return de_ServiceTemplateVersionSummary(entry, context);
|
|
2702
|
-
});
|
|
2703
|
-
return retVal;
|
|
2704
|
-
};
|
|
2705
|
-
const de_SyncBlocker = (output, context) => {
|
|
2706
|
-
return take(output, {
|
|
2707
|
-
contexts: _json,
|
|
2708
|
-
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2709
|
-
createdReason: __expectString,
|
|
2710
|
-
id: __expectString,
|
|
2711
|
-
resolvedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2712
|
-
resolvedReason: __expectString,
|
|
2713
|
-
status: __expectString,
|
|
2714
|
-
type: __expectString,
|
|
2715
|
-
});
|
|
2716
|
-
};
|
|
2717
|
-
const de_UpdateComponentOutput = (output, context) => {
|
|
2718
|
-
return take(output, {
|
|
2719
|
-
component: (_) => de_Component(_, context),
|
|
2720
|
-
});
|
|
2721
|
-
};
|
|
2722
|
-
const de_UpdateEnvironmentAccountConnectionOutput = (output, context) => {
|
|
2723
|
-
return take(output, {
|
|
2724
|
-
environmentAccountConnection: (_) => de_EnvironmentAccountConnection(_, context),
|
|
2725
|
-
});
|
|
2726
|
-
};
|
|
2727
|
-
const de_UpdateEnvironmentOutput = (output, context) => {
|
|
2728
|
-
return take(output, {
|
|
2729
|
-
environment: (_) => de_Environment(_, context),
|
|
2730
|
-
});
|
|
2731
|
-
};
|
|
2732
|
-
const de_UpdateEnvironmentTemplateOutput = (output, context) => {
|
|
2733
|
-
return take(output, {
|
|
2734
|
-
environmentTemplate: (_) => de_EnvironmentTemplate(_, context),
|
|
2735
|
-
});
|
|
2736
|
-
};
|
|
2737
|
-
const de_UpdateEnvironmentTemplateVersionOutput = (output, context) => {
|
|
2738
|
-
return take(output, {
|
|
2739
|
-
environmentTemplateVersion: (_) => de_EnvironmentTemplateVersion(_, context),
|
|
2740
|
-
});
|
|
2741
|
-
};
|
|
2742
|
-
const de_UpdateServiceInstanceOutput = (output, context) => {
|
|
2743
|
-
return take(output, {
|
|
2744
|
-
serviceInstance: (_) => de_ServiceInstance(_, context),
|
|
2745
|
-
});
|
|
2746
|
-
};
|
|
2747
|
-
const de_UpdateServiceOutput = (output, context) => {
|
|
2748
|
-
return take(output, {
|
|
2749
|
-
service: (_) => de_Service(_, context),
|
|
2750
|
-
});
|
|
2751
|
-
};
|
|
2752
|
-
const de_UpdateServicePipelineOutput = (output, context) => {
|
|
2753
|
-
return take(output, {
|
|
2754
|
-
pipeline: (_) => de_ServicePipeline(_, context),
|
|
2755
|
-
});
|
|
2756
|
-
};
|
|
2757
|
-
const de_UpdateServiceSyncBlockerOutput = (output, context) => {
|
|
2758
|
-
return take(output, {
|
|
2759
|
-
serviceInstanceName: __expectString,
|
|
2760
|
-
serviceName: __expectString,
|
|
2761
|
-
serviceSyncBlocker: (_) => de_SyncBlocker(_, context),
|
|
2762
|
-
});
|
|
2763
|
-
};
|
|
2764
|
-
const de_UpdateServiceTemplateOutput = (output, context) => {
|
|
2765
|
-
return take(output, {
|
|
2766
|
-
serviceTemplate: (_) => de_ServiceTemplate(_, context),
|
|
2767
|
-
});
|
|
2768
|
-
};
|
|
2769
|
-
const de_UpdateServiceTemplateVersionOutput = (output, context) => {
|
|
2770
|
-
return take(output, {
|
|
2771
|
-
serviceTemplateVersion: (_) => de_ServiceTemplateVersion(_, context),
|
|
2772
|
-
});
|
|
2773
|
-
};
|
|
2774
|
-
const deserializeMetadata = (output) => ({
|
|
2775
|
-
httpStatusCode: output.statusCode,
|
|
2776
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2777
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2778
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2779
|
-
});
|
|
2780
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2781
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2782
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2783
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2784
|
-
const contents = {
|
|
2785
|
-
protocol,
|
|
2786
|
-
hostname,
|
|
2787
|
-
port,
|
|
2788
|
-
method: "POST",
|
|
2789
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2790
|
-
headers,
|
|
2791
|
-
};
|
|
2792
|
-
if (resolvedHostname !== undefined) {
|
|
2793
|
-
contents.hostname = resolvedHostname;
|
|
2794
|
-
}
|
|
2795
|
-
if (body !== undefined) {
|
|
2796
|
-
contents.body = body;
|
|
2797
|
-
}
|
|
2798
|
-
return new __HttpRequest(contents);
|
|
2799
|
-
};
|
|
2800
|
-
function sharedHeaders(operation) {
|
|
2801
|
-
return {
|
|
2802
|
-
"content-type": "application/x-amz-json-1.0",
|
|
2803
|
-
"x-amz-target": `AwsProton20200720.${operation}`,
|
|
2804
|
-
};
|
|
2805
|
-
}
|