@aws-sdk/client-amplify 3.489.0 → 3.495.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/Amplify.js +1 -85
- package/dist-cjs/AmplifyClient.js +1 -43
- package/dist-cjs/commands/CreateAppCommand.js +1 -29
- package/dist-cjs/commands/CreateBackendEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/CreateBranchCommand.js +1 -29
- package/dist-cjs/commands/CreateDeploymentCommand.js +1 -28
- package/dist-cjs/commands/CreateDomainAssociationCommand.js +1 -28
- package/dist-cjs/commands/CreateWebhookCommand.js +1 -28
- package/dist-cjs/commands/DeleteAppCommand.js +1 -29
- package/dist-cjs/commands/DeleteBackendEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/DeleteBranchCommand.js +1 -29
- package/dist-cjs/commands/DeleteDomainAssociationCommand.js +1 -28
- package/dist-cjs/commands/DeleteJobCommand.js +1 -28
- package/dist-cjs/commands/DeleteWebhookCommand.js +1 -28
- package/dist-cjs/commands/GenerateAccessLogsCommand.js +1 -28
- package/dist-cjs/commands/GetAppCommand.js +1 -29
- package/dist-cjs/commands/GetArtifactUrlCommand.js +1 -28
- package/dist-cjs/commands/GetBackendEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/GetBranchCommand.js +1 -29
- package/dist-cjs/commands/GetDomainAssociationCommand.js +1 -28
- package/dist-cjs/commands/GetJobCommand.js +1 -28
- package/dist-cjs/commands/GetWebhookCommand.js +1 -28
- package/dist-cjs/commands/ListAppsCommand.js +1 -29
- package/dist-cjs/commands/ListArtifactsCommand.js +1 -28
- package/dist-cjs/commands/ListBackendEnvironmentsCommand.js +1 -28
- package/dist-cjs/commands/ListBranchesCommand.js +1 -29
- package/dist-cjs/commands/ListDomainAssociationsCommand.js +1 -28
- package/dist-cjs/commands/ListJobsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ListWebhooksCommand.js +1 -28
- package/dist-cjs/commands/StartDeploymentCommand.js +1 -28
- package/dist-cjs/commands/StartJobCommand.js +1 -28
- package/dist-cjs/commands/StopJobCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAppCommand.js +1 -29
- package/dist-cjs/commands/UpdateBranchCommand.js +1 -29
- package/dist-cjs/commands/UpdateDomainAssociationCommand.js +1 -28
- package/dist-cjs/commands/UpdateWebhookCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -40
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3711 -11
- package/dist-cjs/models/AmplifyServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -244
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAppsPaginator.js +1 -7
- package/dist-cjs/pagination/ListBranchesPaginator.js +1 -7
- package/dist-cjs/pagination/ListDomainAssociationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2548
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3712 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
Amplify: () => Amplify,
|
|
25
|
+
AmplifyClient: () => AmplifyClient,
|
|
26
|
+
AmplifyServiceException: () => AmplifyServiceException,
|
|
27
|
+
AppFilterSensitiveLog: () => AppFilterSensitiveLog,
|
|
28
|
+
AutoBranchCreationConfigFilterSensitiveLog: () => AutoBranchCreationConfigFilterSensitiveLog,
|
|
29
|
+
BadRequestException: () => BadRequestException,
|
|
30
|
+
BranchFilterSensitiveLog: () => BranchFilterSensitiveLog,
|
|
31
|
+
CreateAppCommand: () => CreateAppCommand,
|
|
32
|
+
CreateAppRequestFilterSensitiveLog: () => CreateAppRequestFilterSensitiveLog,
|
|
33
|
+
CreateAppResultFilterSensitiveLog: () => CreateAppResultFilterSensitiveLog,
|
|
34
|
+
CreateBackendEnvironmentCommand: () => CreateBackendEnvironmentCommand,
|
|
35
|
+
CreateBranchCommand: () => CreateBranchCommand,
|
|
36
|
+
CreateBranchRequestFilterSensitiveLog: () => CreateBranchRequestFilterSensitiveLog,
|
|
37
|
+
CreateBranchResultFilterSensitiveLog: () => CreateBranchResultFilterSensitiveLog,
|
|
38
|
+
CreateDeploymentCommand: () => CreateDeploymentCommand,
|
|
39
|
+
CreateDomainAssociationCommand: () => CreateDomainAssociationCommand,
|
|
40
|
+
CreateWebhookCommand: () => CreateWebhookCommand,
|
|
41
|
+
DeleteAppCommand: () => DeleteAppCommand,
|
|
42
|
+
DeleteAppResultFilterSensitiveLog: () => DeleteAppResultFilterSensitiveLog,
|
|
43
|
+
DeleteBackendEnvironmentCommand: () => DeleteBackendEnvironmentCommand,
|
|
44
|
+
DeleteBranchCommand: () => DeleteBranchCommand,
|
|
45
|
+
DeleteBranchResultFilterSensitiveLog: () => DeleteBranchResultFilterSensitiveLog,
|
|
46
|
+
DeleteDomainAssociationCommand: () => DeleteDomainAssociationCommand,
|
|
47
|
+
DeleteJobCommand: () => DeleteJobCommand,
|
|
48
|
+
DeleteWebhookCommand: () => DeleteWebhookCommand,
|
|
49
|
+
DependentServiceFailureException: () => DependentServiceFailureException,
|
|
50
|
+
DomainStatus: () => DomainStatus,
|
|
51
|
+
GenerateAccessLogsCommand: () => GenerateAccessLogsCommand,
|
|
52
|
+
GetAppCommand: () => GetAppCommand,
|
|
53
|
+
GetAppResultFilterSensitiveLog: () => GetAppResultFilterSensitiveLog,
|
|
54
|
+
GetArtifactUrlCommand: () => GetArtifactUrlCommand,
|
|
55
|
+
GetBackendEnvironmentCommand: () => GetBackendEnvironmentCommand,
|
|
56
|
+
GetBranchCommand: () => GetBranchCommand,
|
|
57
|
+
GetBranchResultFilterSensitiveLog: () => GetBranchResultFilterSensitiveLog,
|
|
58
|
+
GetDomainAssociationCommand: () => GetDomainAssociationCommand,
|
|
59
|
+
GetJobCommand: () => GetJobCommand,
|
|
60
|
+
GetWebhookCommand: () => GetWebhookCommand,
|
|
61
|
+
InternalFailureException: () => InternalFailureException,
|
|
62
|
+
JobStatus: () => JobStatus,
|
|
63
|
+
JobType: () => JobType,
|
|
64
|
+
LimitExceededException: () => LimitExceededException,
|
|
65
|
+
ListAppsCommand: () => ListAppsCommand,
|
|
66
|
+
ListAppsResultFilterSensitiveLog: () => ListAppsResultFilterSensitiveLog,
|
|
67
|
+
ListArtifactsCommand: () => ListArtifactsCommand,
|
|
68
|
+
ListBackendEnvironmentsCommand: () => ListBackendEnvironmentsCommand,
|
|
69
|
+
ListBranchesCommand: () => ListBranchesCommand,
|
|
70
|
+
ListBranchesResultFilterSensitiveLog: () => ListBranchesResultFilterSensitiveLog,
|
|
71
|
+
ListDomainAssociationsCommand: () => ListDomainAssociationsCommand,
|
|
72
|
+
ListJobsCommand: () => ListJobsCommand,
|
|
73
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
74
|
+
ListWebhooksCommand: () => ListWebhooksCommand,
|
|
75
|
+
NotFoundException: () => NotFoundException,
|
|
76
|
+
Platform: () => Platform,
|
|
77
|
+
RepositoryCloneMethod: () => RepositoryCloneMethod,
|
|
78
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
79
|
+
Stage: () => Stage,
|
|
80
|
+
StartDeploymentCommand: () => StartDeploymentCommand,
|
|
81
|
+
StartJobCommand: () => StartJobCommand,
|
|
82
|
+
StopJobCommand: () => StopJobCommand,
|
|
83
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
84
|
+
UnauthorizedException: () => UnauthorizedException,
|
|
85
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
86
|
+
UpdateAppCommand: () => UpdateAppCommand,
|
|
87
|
+
UpdateAppRequestFilterSensitiveLog: () => UpdateAppRequestFilterSensitiveLog,
|
|
88
|
+
UpdateAppResultFilterSensitiveLog: () => UpdateAppResultFilterSensitiveLog,
|
|
89
|
+
UpdateBranchCommand: () => UpdateBranchCommand,
|
|
90
|
+
UpdateBranchRequestFilterSensitiveLog: () => UpdateBranchRequestFilterSensitiveLog,
|
|
91
|
+
UpdateBranchResultFilterSensitiveLog: () => UpdateBranchResultFilterSensitiveLog,
|
|
92
|
+
UpdateDomainAssociationCommand: () => UpdateDomainAssociationCommand,
|
|
93
|
+
UpdateWebhookCommand: () => UpdateWebhookCommand,
|
|
94
|
+
__Client: () => import_smithy_client.Client,
|
|
95
|
+
paginateListApps: () => paginateListApps,
|
|
96
|
+
paginateListBranches: () => paginateListBranches,
|
|
97
|
+
paginateListDomainAssociations: () => paginateListDomainAssociations,
|
|
98
|
+
paginateListJobs: () => paginateListJobs
|
|
99
|
+
});
|
|
100
|
+
module.exports = __toCommonJS(src_exports);
|
|
101
|
+
|
|
102
|
+
// src/AmplifyClient.ts
|
|
103
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
104
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
105
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
106
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
107
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
108
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
109
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
110
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
111
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
// src/endpoint/EndpointParameters.ts
|
|
115
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
116
|
+
return {
|
|
117
|
+
...options,
|
|
118
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
119
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
120
|
+
defaultSigningName: "amplify"
|
|
121
|
+
};
|
|
122
|
+
}, "resolveClientEndpointParameters");
|
|
123
|
+
var commonParams = {
|
|
124
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
125
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
126
|
+
Region: { type: "builtInParams", name: "region" },
|
|
127
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
// src/AmplifyClient.ts
|
|
131
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
132
|
+
|
|
133
|
+
// src/runtimeExtensions.ts
|
|
134
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
135
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
136
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
137
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
138
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
139
|
+
const extensionConfiguration = {
|
|
140
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
141
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
142
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
143
|
+
};
|
|
144
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
145
|
+
return {
|
|
146
|
+
...runtimeConfig,
|
|
147
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
148
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
149
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
150
|
+
};
|
|
151
|
+
}, "resolveRuntimeExtensions");
|
|
152
|
+
|
|
153
|
+
// src/AmplifyClient.ts
|
|
154
|
+
var _AmplifyClient = class _AmplifyClient extends import_smithy_client.Client {
|
|
155
|
+
constructor(...[configuration]) {
|
|
156
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
157
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
158
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
159
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
160
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
161
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
162
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
163
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
164
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
165
|
+
super(_config_8);
|
|
166
|
+
this.config = _config_8;
|
|
167
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
168
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
169
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
170
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
171
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
172
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
173
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
177
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
178
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
179
|
+
*/
|
|
180
|
+
destroy() {
|
|
181
|
+
super.destroy();
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
__name(_AmplifyClient, "AmplifyClient");
|
|
185
|
+
var AmplifyClient = _AmplifyClient;
|
|
186
|
+
|
|
187
|
+
// src/Amplify.ts
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
// src/commands/CreateAppCommand.ts
|
|
191
|
+
|
|
192
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
193
|
+
|
|
194
|
+
var import_types = require("@smithy/types");
|
|
195
|
+
|
|
196
|
+
// src/models/models_0.ts
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
// src/models/AmplifyServiceException.ts
|
|
200
|
+
|
|
201
|
+
var _AmplifyServiceException = class _AmplifyServiceException extends import_smithy_client.ServiceException {
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
constructor(options) {
|
|
206
|
+
super(options);
|
|
207
|
+
Object.setPrototypeOf(this, _AmplifyServiceException.prototype);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
__name(_AmplifyServiceException, "AmplifyServiceException");
|
|
211
|
+
var AmplifyServiceException = _AmplifyServiceException;
|
|
212
|
+
|
|
213
|
+
// src/models/models_0.ts
|
|
214
|
+
var _BadRequestException = class _BadRequestException extends AmplifyServiceException {
|
|
215
|
+
/**
|
|
216
|
+
* @internal
|
|
217
|
+
*/
|
|
218
|
+
constructor(opts) {
|
|
219
|
+
super({
|
|
220
|
+
name: "BadRequestException",
|
|
221
|
+
$fault: "client",
|
|
222
|
+
...opts
|
|
223
|
+
});
|
|
224
|
+
this.name = "BadRequestException";
|
|
225
|
+
this.$fault = "client";
|
|
226
|
+
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
__name(_BadRequestException, "BadRequestException");
|
|
230
|
+
var BadRequestException = _BadRequestException;
|
|
231
|
+
var Stage = {
|
|
232
|
+
BETA: "BETA",
|
|
233
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
234
|
+
EXPERIMENTAL: "EXPERIMENTAL",
|
|
235
|
+
PRODUCTION: "PRODUCTION",
|
|
236
|
+
PULL_REQUEST: "PULL_REQUEST"
|
|
237
|
+
};
|
|
238
|
+
var Platform = {
|
|
239
|
+
WEB: "WEB",
|
|
240
|
+
WEB_COMPUTE: "WEB_COMPUTE",
|
|
241
|
+
WEB_DYNAMIC: "WEB_DYNAMIC"
|
|
242
|
+
};
|
|
243
|
+
var RepositoryCloneMethod = {
|
|
244
|
+
SIGV4: "SIGV4",
|
|
245
|
+
SSH: "SSH",
|
|
246
|
+
TOKEN: "TOKEN"
|
|
247
|
+
};
|
|
248
|
+
var _DependentServiceFailureException = class _DependentServiceFailureException extends AmplifyServiceException {
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
constructor(opts) {
|
|
253
|
+
super({
|
|
254
|
+
name: "DependentServiceFailureException",
|
|
255
|
+
$fault: "server",
|
|
256
|
+
...opts
|
|
257
|
+
});
|
|
258
|
+
this.name = "DependentServiceFailureException";
|
|
259
|
+
this.$fault = "server";
|
|
260
|
+
Object.setPrototypeOf(this, _DependentServiceFailureException.prototype);
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
__name(_DependentServiceFailureException, "DependentServiceFailureException");
|
|
264
|
+
var DependentServiceFailureException = _DependentServiceFailureException;
|
|
265
|
+
var _InternalFailureException = class _InternalFailureException extends AmplifyServiceException {
|
|
266
|
+
/**
|
|
267
|
+
* @internal
|
|
268
|
+
*/
|
|
269
|
+
constructor(opts) {
|
|
270
|
+
super({
|
|
271
|
+
name: "InternalFailureException",
|
|
272
|
+
$fault: "server",
|
|
273
|
+
...opts
|
|
274
|
+
});
|
|
275
|
+
this.name = "InternalFailureException";
|
|
276
|
+
this.$fault = "server";
|
|
277
|
+
Object.setPrototypeOf(this, _InternalFailureException.prototype);
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
__name(_InternalFailureException, "InternalFailureException");
|
|
281
|
+
var InternalFailureException = _InternalFailureException;
|
|
282
|
+
var _LimitExceededException = class _LimitExceededException extends AmplifyServiceException {
|
|
283
|
+
/**
|
|
284
|
+
* @internal
|
|
285
|
+
*/
|
|
286
|
+
constructor(opts) {
|
|
287
|
+
super({
|
|
288
|
+
name: "LimitExceededException",
|
|
289
|
+
$fault: "client",
|
|
290
|
+
...opts
|
|
291
|
+
});
|
|
292
|
+
this.name = "LimitExceededException";
|
|
293
|
+
this.$fault = "client";
|
|
294
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
298
|
+
var LimitExceededException = _LimitExceededException;
|
|
299
|
+
var _UnauthorizedException = class _UnauthorizedException extends AmplifyServiceException {
|
|
300
|
+
/**
|
|
301
|
+
* @internal
|
|
302
|
+
*/
|
|
303
|
+
constructor(opts) {
|
|
304
|
+
super({
|
|
305
|
+
name: "UnauthorizedException",
|
|
306
|
+
$fault: "client",
|
|
307
|
+
...opts
|
|
308
|
+
});
|
|
309
|
+
this.name = "UnauthorizedException";
|
|
310
|
+
this.$fault = "client";
|
|
311
|
+
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
__name(_UnauthorizedException, "UnauthorizedException");
|
|
315
|
+
var UnauthorizedException = _UnauthorizedException;
|
|
316
|
+
var _NotFoundException = class _NotFoundException extends AmplifyServiceException {
|
|
317
|
+
/**
|
|
318
|
+
* @internal
|
|
319
|
+
*/
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "NotFoundException",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts
|
|
325
|
+
});
|
|
326
|
+
this.name = "NotFoundException";
|
|
327
|
+
this.$fault = "client";
|
|
328
|
+
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
__name(_NotFoundException, "NotFoundException");
|
|
332
|
+
var NotFoundException = _NotFoundException;
|
|
333
|
+
var DomainStatus = {
|
|
334
|
+
AVAILABLE: "AVAILABLE",
|
|
335
|
+
CREATING: "CREATING",
|
|
336
|
+
FAILED: "FAILED",
|
|
337
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
338
|
+
PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT",
|
|
339
|
+
PENDING_VERIFICATION: "PENDING_VERIFICATION",
|
|
340
|
+
REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE",
|
|
341
|
+
UPDATING: "UPDATING"
|
|
342
|
+
};
|
|
343
|
+
var JobType = {
|
|
344
|
+
MANUAL: "MANUAL",
|
|
345
|
+
RELEASE: "RELEASE",
|
|
346
|
+
RETRY: "RETRY",
|
|
347
|
+
WEB_HOOK: "WEB_HOOK"
|
|
348
|
+
};
|
|
349
|
+
var JobStatus = {
|
|
350
|
+
CANCELLED: "CANCELLED",
|
|
351
|
+
CANCELLING: "CANCELLING",
|
|
352
|
+
FAILED: "FAILED",
|
|
353
|
+
PENDING: "PENDING",
|
|
354
|
+
PROVISIONING: "PROVISIONING",
|
|
355
|
+
RUNNING: "RUNNING",
|
|
356
|
+
SUCCEED: "SUCCEED"
|
|
357
|
+
};
|
|
358
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends AmplifyServiceException {
|
|
359
|
+
/**
|
|
360
|
+
* @internal
|
|
361
|
+
*/
|
|
362
|
+
constructor(opts) {
|
|
363
|
+
super({
|
|
364
|
+
name: "ResourceNotFoundException",
|
|
365
|
+
$fault: "client",
|
|
366
|
+
...opts
|
|
367
|
+
});
|
|
368
|
+
this.name = "ResourceNotFoundException";
|
|
369
|
+
this.$fault = "client";
|
|
370
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
371
|
+
this.code = opts.code;
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
375
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
376
|
+
var AutoBranchCreationConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
...obj.basicAuthCredentials && { basicAuthCredentials: import_smithy_client.SENSITIVE_STRING },
|
|
379
|
+
...obj.buildSpec && { buildSpec: import_smithy_client.SENSITIVE_STRING }
|
|
380
|
+
}), "AutoBranchCreationConfigFilterSensitiveLog");
|
|
381
|
+
var CreateAppRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
382
|
+
...obj,
|
|
383
|
+
...obj.oauthToken && { oauthToken: import_smithy_client.SENSITIVE_STRING },
|
|
384
|
+
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },
|
|
385
|
+
...obj.basicAuthCredentials && { basicAuthCredentials: import_smithy_client.SENSITIVE_STRING },
|
|
386
|
+
...obj.buildSpec && { buildSpec: import_smithy_client.SENSITIVE_STRING },
|
|
387
|
+
...obj.autoBranchCreationConfig && {
|
|
388
|
+
autoBranchCreationConfig: AutoBranchCreationConfigFilterSensitiveLog(obj.autoBranchCreationConfig)
|
|
389
|
+
}
|
|
390
|
+
}), "CreateAppRequestFilterSensitiveLog");
|
|
391
|
+
var AppFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
392
|
+
...obj,
|
|
393
|
+
...obj.basicAuthCredentials && { basicAuthCredentials: import_smithy_client.SENSITIVE_STRING },
|
|
394
|
+
...obj.buildSpec && { buildSpec: import_smithy_client.SENSITIVE_STRING },
|
|
395
|
+
...obj.autoBranchCreationConfig && {
|
|
396
|
+
autoBranchCreationConfig: AutoBranchCreationConfigFilterSensitiveLog(obj.autoBranchCreationConfig)
|
|
397
|
+
}
|
|
398
|
+
}), "AppFilterSensitiveLog");
|
|
399
|
+
var CreateAppResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
400
|
+
...obj,
|
|
401
|
+
...obj.app && { app: AppFilterSensitiveLog(obj.app) }
|
|
402
|
+
}), "CreateAppResultFilterSensitiveLog");
|
|
403
|
+
var CreateBranchRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
404
|
+
...obj,
|
|
405
|
+
...obj.basicAuthCredentials && { basicAuthCredentials: import_smithy_client.SENSITIVE_STRING },
|
|
406
|
+
...obj.buildSpec && { buildSpec: import_smithy_client.SENSITIVE_STRING }
|
|
407
|
+
}), "CreateBranchRequestFilterSensitiveLog");
|
|
408
|
+
var BranchFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
...obj.basicAuthCredentials && { basicAuthCredentials: import_smithy_client.SENSITIVE_STRING },
|
|
411
|
+
...obj.buildSpec && { buildSpec: import_smithy_client.SENSITIVE_STRING }
|
|
412
|
+
}), "BranchFilterSensitiveLog");
|
|
413
|
+
var CreateBranchResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
414
|
+
...obj,
|
|
415
|
+
...obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }
|
|
416
|
+
}), "CreateBranchResultFilterSensitiveLog");
|
|
417
|
+
var DeleteAppResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
...obj.app && { app: AppFilterSensitiveLog(obj.app) }
|
|
420
|
+
}), "DeleteAppResultFilterSensitiveLog");
|
|
421
|
+
var DeleteBranchResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
422
|
+
...obj,
|
|
423
|
+
...obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }
|
|
424
|
+
}), "DeleteBranchResultFilterSensitiveLog");
|
|
425
|
+
var GetAppResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
...obj.app && { app: AppFilterSensitiveLog(obj.app) }
|
|
428
|
+
}), "GetAppResultFilterSensitiveLog");
|
|
429
|
+
var GetBranchResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
430
|
+
...obj,
|
|
431
|
+
...obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }
|
|
432
|
+
}), "GetBranchResultFilterSensitiveLog");
|
|
433
|
+
var ListAppsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
434
|
+
...obj,
|
|
435
|
+
...obj.apps && { apps: obj.apps.map((item) => AppFilterSensitiveLog(item)) }
|
|
436
|
+
}), "ListAppsResultFilterSensitiveLog");
|
|
437
|
+
var ListBranchesResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
438
|
+
...obj,
|
|
439
|
+
...obj.branches && { branches: obj.branches.map((item) => BranchFilterSensitiveLog(item)) }
|
|
440
|
+
}), "ListBranchesResultFilterSensitiveLog");
|
|
441
|
+
var UpdateAppRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
442
|
+
...obj,
|
|
443
|
+
...obj.basicAuthCredentials && { basicAuthCredentials: import_smithy_client.SENSITIVE_STRING },
|
|
444
|
+
...obj.buildSpec && { buildSpec: import_smithy_client.SENSITIVE_STRING },
|
|
445
|
+
...obj.autoBranchCreationConfig && {
|
|
446
|
+
autoBranchCreationConfig: AutoBranchCreationConfigFilterSensitiveLog(obj.autoBranchCreationConfig)
|
|
447
|
+
},
|
|
448
|
+
...obj.oauthToken && { oauthToken: import_smithy_client.SENSITIVE_STRING },
|
|
449
|
+
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
|
|
450
|
+
}), "UpdateAppRequestFilterSensitiveLog");
|
|
451
|
+
var UpdateAppResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
...obj.app && { app: AppFilterSensitiveLog(obj.app) }
|
|
454
|
+
}), "UpdateAppResultFilterSensitiveLog");
|
|
455
|
+
var UpdateBranchRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
456
|
+
...obj,
|
|
457
|
+
...obj.basicAuthCredentials && { basicAuthCredentials: import_smithy_client.SENSITIVE_STRING },
|
|
458
|
+
...obj.buildSpec && { buildSpec: import_smithy_client.SENSITIVE_STRING }
|
|
459
|
+
}), "UpdateBranchRequestFilterSensitiveLog");
|
|
460
|
+
var UpdateBranchResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
461
|
+
...obj,
|
|
462
|
+
...obj.branch && { branch: BranchFilterSensitiveLog(obj.branch) }
|
|
463
|
+
}), "UpdateBranchResultFilterSensitiveLog");
|
|
464
|
+
|
|
465
|
+
// src/protocols/Aws_restJson1.ts
|
|
466
|
+
var import_core = require("@smithy/core");
|
|
467
|
+
|
|
468
|
+
var se_CreateAppCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
469
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
470
|
+
const headers = {
|
|
471
|
+
"content-type": "application/json"
|
|
472
|
+
};
|
|
473
|
+
b.bp("/apps");
|
|
474
|
+
let body;
|
|
475
|
+
body = JSON.stringify(
|
|
476
|
+
(0, import_smithy_client.take)(input, {
|
|
477
|
+
accessToken: [],
|
|
478
|
+
autoBranchCreationConfig: (_) => (0, import_smithy_client._json)(_),
|
|
479
|
+
autoBranchCreationPatterns: (_) => (0, import_smithy_client._json)(_),
|
|
480
|
+
basicAuthCredentials: [],
|
|
481
|
+
buildSpec: [],
|
|
482
|
+
customHeaders: [],
|
|
483
|
+
customRules: (_) => (0, import_smithy_client._json)(_),
|
|
484
|
+
description: [],
|
|
485
|
+
enableAutoBranchCreation: [],
|
|
486
|
+
enableBasicAuth: [],
|
|
487
|
+
enableBranchAutoBuild: [],
|
|
488
|
+
enableBranchAutoDeletion: [],
|
|
489
|
+
environmentVariables: (_) => (0, import_smithy_client._json)(_),
|
|
490
|
+
iamServiceRoleArn: [],
|
|
491
|
+
name: [],
|
|
492
|
+
oauthToken: [],
|
|
493
|
+
platform: [],
|
|
494
|
+
repository: [],
|
|
495
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
496
|
+
})
|
|
497
|
+
);
|
|
498
|
+
b.m("POST").h(headers).b(body);
|
|
499
|
+
return b.build();
|
|
500
|
+
}, "se_CreateAppCommand");
|
|
501
|
+
var se_CreateBackendEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
502
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
503
|
+
const headers = {
|
|
504
|
+
"content-type": "application/json"
|
|
505
|
+
};
|
|
506
|
+
b.bp("/apps/{appId}/backendenvironments");
|
|
507
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
508
|
+
let body;
|
|
509
|
+
body = JSON.stringify(
|
|
510
|
+
(0, import_smithy_client.take)(input, {
|
|
511
|
+
deploymentArtifacts: [],
|
|
512
|
+
environmentName: [],
|
|
513
|
+
stackName: []
|
|
514
|
+
})
|
|
515
|
+
);
|
|
516
|
+
b.m("POST").h(headers).b(body);
|
|
517
|
+
return b.build();
|
|
518
|
+
}, "se_CreateBackendEnvironmentCommand");
|
|
519
|
+
var se_CreateBranchCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
520
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
521
|
+
const headers = {
|
|
522
|
+
"content-type": "application/json"
|
|
523
|
+
};
|
|
524
|
+
b.bp("/apps/{appId}/branches");
|
|
525
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
526
|
+
let body;
|
|
527
|
+
body = JSON.stringify(
|
|
528
|
+
(0, import_smithy_client.take)(input, {
|
|
529
|
+
backend: (_) => (0, import_smithy_client._json)(_),
|
|
530
|
+
backendEnvironmentArn: [],
|
|
531
|
+
basicAuthCredentials: [],
|
|
532
|
+
branchName: [],
|
|
533
|
+
buildSpec: [],
|
|
534
|
+
description: [],
|
|
535
|
+
displayName: [],
|
|
536
|
+
enableAutoBuild: [],
|
|
537
|
+
enableBasicAuth: [],
|
|
538
|
+
enableNotification: [],
|
|
539
|
+
enablePerformanceMode: [],
|
|
540
|
+
enablePullRequestPreview: [],
|
|
541
|
+
environmentVariables: (_) => (0, import_smithy_client._json)(_),
|
|
542
|
+
framework: [],
|
|
543
|
+
pullRequestEnvironmentName: [],
|
|
544
|
+
stage: [],
|
|
545
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
546
|
+
ttl: []
|
|
547
|
+
})
|
|
548
|
+
);
|
|
549
|
+
b.m("POST").h(headers).b(body);
|
|
550
|
+
return b.build();
|
|
551
|
+
}, "se_CreateBranchCommand");
|
|
552
|
+
var se_CreateDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
553
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
554
|
+
const headers = {
|
|
555
|
+
"content-type": "application/json"
|
|
556
|
+
};
|
|
557
|
+
b.bp("/apps/{appId}/branches/{branchName}/deployments");
|
|
558
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
559
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
560
|
+
let body;
|
|
561
|
+
body = JSON.stringify(
|
|
562
|
+
(0, import_smithy_client.take)(input, {
|
|
563
|
+
fileMap: (_) => (0, import_smithy_client._json)(_)
|
|
564
|
+
})
|
|
565
|
+
);
|
|
566
|
+
b.m("POST").h(headers).b(body);
|
|
567
|
+
return b.build();
|
|
568
|
+
}, "se_CreateDeploymentCommand");
|
|
569
|
+
var se_CreateDomainAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
570
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
571
|
+
const headers = {
|
|
572
|
+
"content-type": "application/json"
|
|
573
|
+
};
|
|
574
|
+
b.bp("/apps/{appId}/domains");
|
|
575
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
576
|
+
let body;
|
|
577
|
+
body = JSON.stringify(
|
|
578
|
+
(0, import_smithy_client.take)(input, {
|
|
579
|
+
autoSubDomainCreationPatterns: (_) => (0, import_smithy_client._json)(_),
|
|
580
|
+
autoSubDomainIAMRole: [],
|
|
581
|
+
domainName: [],
|
|
582
|
+
enableAutoSubDomain: [],
|
|
583
|
+
subDomainSettings: (_) => (0, import_smithy_client._json)(_)
|
|
584
|
+
})
|
|
585
|
+
);
|
|
586
|
+
b.m("POST").h(headers).b(body);
|
|
587
|
+
return b.build();
|
|
588
|
+
}, "se_CreateDomainAssociationCommand");
|
|
589
|
+
var se_CreateWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
590
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
591
|
+
const headers = {
|
|
592
|
+
"content-type": "application/json"
|
|
593
|
+
};
|
|
594
|
+
b.bp("/apps/{appId}/webhooks");
|
|
595
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
596
|
+
let body;
|
|
597
|
+
body = JSON.stringify(
|
|
598
|
+
(0, import_smithy_client.take)(input, {
|
|
599
|
+
branchName: [],
|
|
600
|
+
description: []
|
|
601
|
+
})
|
|
602
|
+
);
|
|
603
|
+
b.m("POST").h(headers).b(body);
|
|
604
|
+
return b.build();
|
|
605
|
+
}, "se_CreateWebhookCommand");
|
|
606
|
+
var se_DeleteAppCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
607
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
608
|
+
const headers = {};
|
|
609
|
+
b.bp("/apps/{appId}");
|
|
610
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
611
|
+
let body;
|
|
612
|
+
b.m("DELETE").h(headers).b(body);
|
|
613
|
+
return b.build();
|
|
614
|
+
}, "se_DeleteAppCommand");
|
|
615
|
+
var se_DeleteBackendEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
616
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
617
|
+
const headers = {};
|
|
618
|
+
b.bp("/apps/{appId}/backendenvironments/{environmentName}");
|
|
619
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
620
|
+
b.p("environmentName", () => input.environmentName, "{environmentName}", false);
|
|
621
|
+
let body;
|
|
622
|
+
b.m("DELETE").h(headers).b(body);
|
|
623
|
+
return b.build();
|
|
624
|
+
}, "se_DeleteBackendEnvironmentCommand");
|
|
625
|
+
var se_DeleteBranchCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
626
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
627
|
+
const headers = {};
|
|
628
|
+
b.bp("/apps/{appId}/branches/{branchName}");
|
|
629
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
630
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
631
|
+
let body;
|
|
632
|
+
b.m("DELETE").h(headers).b(body);
|
|
633
|
+
return b.build();
|
|
634
|
+
}, "se_DeleteBranchCommand");
|
|
635
|
+
var se_DeleteDomainAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
636
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
637
|
+
const headers = {};
|
|
638
|
+
b.bp("/apps/{appId}/domains/{domainName}");
|
|
639
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
640
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
641
|
+
let body;
|
|
642
|
+
b.m("DELETE").h(headers).b(body);
|
|
643
|
+
return b.build();
|
|
644
|
+
}, "se_DeleteDomainAssociationCommand");
|
|
645
|
+
var se_DeleteJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
646
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
647
|
+
const headers = {};
|
|
648
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}");
|
|
649
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
650
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
651
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
652
|
+
let body;
|
|
653
|
+
b.m("DELETE").h(headers).b(body);
|
|
654
|
+
return b.build();
|
|
655
|
+
}, "se_DeleteJobCommand");
|
|
656
|
+
var se_DeleteWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
657
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
658
|
+
const headers = {};
|
|
659
|
+
b.bp("/webhooks/{webhookId}");
|
|
660
|
+
b.p("webhookId", () => input.webhookId, "{webhookId}", false);
|
|
661
|
+
let body;
|
|
662
|
+
b.m("DELETE").h(headers).b(body);
|
|
663
|
+
return b.build();
|
|
664
|
+
}, "se_DeleteWebhookCommand");
|
|
665
|
+
var se_GenerateAccessLogsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
666
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
667
|
+
const headers = {
|
|
668
|
+
"content-type": "application/json"
|
|
669
|
+
};
|
|
670
|
+
b.bp("/apps/{appId}/accesslogs");
|
|
671
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
672
|
+
let body;
|
|
673
|
+
body = JSON.stringify(
|
|
674
|
+
(0, import_smithy_client.take)(input, {
|
|
675
|
+
domainName: [],
|
|
676
|
+
endTime: (_) => Math.round(_.getTime() / 1e3),
|
|
677
|
+
startTime: (_) => Math.round(_.getTime() / 1e3)
|
|
678
|
+
})
|
|
679
|
+
);
|
|
680
|
+
b.m("POST").h(headers).b(body);
|
|
681
|
+
return b.build();
|
|
682
|
+
}, "se_GenerateAccessLogsCommand");
|
|
683
|
+
var se_GetAppCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
684
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
685
|
+
const headers = {};
|
|
686
|
+
b.bp("/apps/{appId}");
|
|
687
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
688
|
+
let body;
|
|
689
|
+
b.m("GET").h(headers).b(body);
|
|
690
|
+
return b.build();
|
|
691
|
+
}, "se_GetAppCommand");
|
|
692
|
+
var se_GetArtifactUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
694
|
+
const headers = {};
|
|
695
|
+
b.bp("/artifacts/{artifactId}");
|
|
696
|
+
b.p("artifactId", () => input.artifactId, "{artifactId}", false);
|
|
697
|
+
let body;
|
|
698
|
+
b.m("GET").h(headers).b(body);
|
|
699
|
+
return b.build();
|
|
700
|
+
}, "se_GetArtifactUrlCommand");
|
|
701
|
+
var se_GetBackendEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
702
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
703
|
+
const headers = {};
|
|
704
|
+
b.bp("/apps/{appId}/backendenvironments/{environmentName}");
|
|
705
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
706
|
+
b.p("environmentName", () => input.environmentName, "{environmentName}", false);
|
|
707
|
+
let body;
|
|
708
|
+
b.m("GET").h(headers).b(body);
|
|
709
|
+
return b.build();
|
|
710
|
+
}, "se_GetBackendEnvironmentCommand");
|
|
711
|
+
var se_GetBranchCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
712
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
713
|
+
const headers = {};
|
|
714
|
+
b.bp("/apps/{appId}/branches/{branchName}");
|
|
715
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
716
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
717
|
+
let body;
|
|
718
|
+
b.m("GET").h(headers).b(body);
|
|
719
|
+
return b.build();
|
|
720
|
+
}, "se_GetBranchCommand");
|
|
721
|
+
var se_GetDomainAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
722
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
723
|
+
const headers = {};
|
|
724
|
+
b.bp("/apps/{appId}/domains/{domainName}");
|
|
725
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
726
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
727
|
+
let body;
|
|
728
|
+
b.m("GET").h(headers).b(body);
|
|
729
|
+
return b.build();
|
|
730
|
+
}, "se_GetDomainAssociationCommand");
|
|
731
|
+
var se_GetJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
732
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
733
|
+
const headers = {};
|
|
734
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}");
|
|
735
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
736
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
737
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
738
|
+
let body;
|
|
739
|
+
b.m("GET").h(headers).b(body);
|
|
740
|
+
return b.build();
|
|
741
|
+
}, "se_GetJobCommand");
|
|
742
|
+
var se_GetWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
743
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
744
|
+
const headers = {};
|
|
745
|
+
b.bp("/webhooks/{webhookId}");
|
|
746
|
+
b.p("webhookId", () => input.webhookId, "{webhookId}", false);
|
|
747
|
+
let body;
|
|
748
|
+
b.m("GET").h(headers).b(body);
|
|
749
|
+
return b.build();
|
|
750
|
+
}, "se_GetWebhookCommand");
|
|
751
|
+
var se_ListAppsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
752
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
753
|
+
const headers = {};
|
|
754
|
+
b.bp("/apps");
|
|
755
|
+
const query = (0, import_smithy_client.map)({
|
|
756
|
+
[_nT]: [, input[_nT]],
|
|
757
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
758
|
+
});
|
|
759
|
+
let body;
|
|
760
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
761
|
+
return b.build();
|
|
762
|
+
}, "se_ListAppsCommand");
|
|
763
|
+
var se_ListArtifactsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
765
|
+
const headers = {};
|
|
766
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts");
|
|
767
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
768
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
769
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
770
|
+
const query = (0, import_smithy_client.map)({
|
|
771
|
+
[_nT]: [, input[_nT]],
|
|
772
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
773
|
+
});
|
|
774
|
+
let body;
|
|
775
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
776
|
+
return b.build();
|
|
777
|
+
}, "se_ListArtifactsCommand");
|
|
778
|
+
var se_ListBackendEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
779
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
780
|
+
const headers = {};
|
|
781
|
+
b.bp("/apps/{appId}/backendenvironments");
|
|
782
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
783
|
+
const query = (0, import_smithy_client.map)({
|
|
784
|
+
[_eN]: [, input[_eN]],
|
|
785
|
+
[_nT]: [, input[_nT]],
|
|
786
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
787
|
+
});
|
|
788
|
+
let body;
|
|
789
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
790
|
+
return b.build();
|
|
791
|
+
}, "se_ListBackendEnvironmentsCommand");
|
|
792
|
+
var se_ListBranchesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
793
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
794
|
+
const headers = {};
|
|
795
|
+
b.bp("/apps/{appId}/branches");
|
|
796
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
797
|
+
const query = (0, import_smithy_client.map)({
|
|
798
|
+
[_nT]: [, input[_nT]],
|
|
799
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
800
|
+
});
|
|
801
|
+
let body;
|
|
802
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
803
|
+
return b.build();
|
|
804
|
+
}, "se_ListBranchesCommand");
|
|
805
|
+
var se_ListDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
806
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
807
|
+
const headers = {};
|
|
808
|
+
b.bp("/apps/{appId}/domains");
|
|
809
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
810
|
+
const query = (0, import_smithy_client.map)({
|
|
811
|
+
[_nT]: [, input[_nT]],
|
|
812
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
813
|
+
});
|
|
814
|
+
let body;
|
|
815
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
816
|
+
return b.build();
|
|
817
|
+
}, "se_ListDomainAssociationsCommand");
|
|
818
|
+
var se_ListJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
819
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
820
|
+
const headers = {};
|
|
821
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs");
|
|
822
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
823
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
824
|
+
const query = (0, import_smithy_client.map)({
|
|
825
|
+
[_nT]: [, input[_nT]],
|
|
826
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
827
|
+
});
|
|
828
|
+
let body;
|
|
829
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
830
|
+
return b.build();
|
|
831
|
+
}, "se_ListJobsCommand");
|
|
832
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
833
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
834
|
+
const headers = {};
|
|
835
|
+
b.bp("/tags/{resourceArn}");
|
|
836
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
837
|
+
let body;
|
|
838
|
+
b.m("GET").h(headers).b(body);
|
|
839
|
+
return b.build();
|
|
840
|
+
}, "se_ListTagsForResourceCommand");
|
|
841
|
+
var se_ListWebhooksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
842
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
843
|
+
const headers = {};
|
|
844
|
+
b.bp("/apps/{appId}/webhooks");
|
|
845
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
846
|
+
const query = (0, import_smithy_client.map)({
|
|
847
|
+
[_nT]: [, input[_nT]],
|
|
848
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
849
|
+
});
|
|
850
|
+
let body;
|
|
851
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
852
|
+
return b.build();
|
|
853
|
+
}, "se_ListWebhooksCommand");
|
|
854
|
+
var se_StartDeploymentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
855
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
856
|
+
const headers = {
|
|
857
|
+
"content-type": "application/json"
|
|
858
|
+
};
|
|
859
|
+
b.bp("/apps/{appId}/branches/{branchName}/deployments/start");
|
|
860
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
861
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
862
|
+
let body;
|
|
863
|
+
body = JSON.stringify(
|
|
864
|
+
(0, import_smithy_client.take)(input, {
|
|
865
|
+
jobId: [],
|
|
866
|
+
sourceUrl: []
|
|
867
|
+
})
|
|
868
|
+
);
|
|
869
|
+
b.m("POST").h(headers).b(body);
|
|
870
|
+
return b.build();
|
|
871
|
+
}, "se_StartDeploymentCommand");
|
|
872
|
+
var se_StartJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
873
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
874
|
+
const headers = {
|
|
875
|
+
"content-type": "application/json"
|
|
876
|
+
};
|
|
877
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs");
|
|
878
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
879
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
880
|
+
let body;
|
|
881
|
+
body = JSON.stringify(
|
|
882
|
+
(0, import_smithy_client.take)(input, {
|
|
883
|
+
commitId: [],
|
|
884
|
+
commitMessage: [],
|
|
885
|
+
commitTime: (_) => Math.round(_.getTime() / 1e3),
|
|
886
|
+
jobId: [],
|
|
887
|
+
jobReason: [],
|
|
888
|
+
jobType: []
|
|
889
|
+
})
|
|
890
|
+
);
|
|
891
|
+
b.m("POST").h(headers).b(body);
|
|
892
|
+
return b.build();
|
|
893
|
+
}, "se_StartJobCommand");
|
|
894
|
+
var se_StopJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
895
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
896
|
+
const headers = {};
|
|
897
|
+
b.bp("/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop");
|
|
898
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
899
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
900
|
+
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
901
|
+
let body;
|
|
902
|
+
b.m("DELETE").h(headers).b(body);
|
|
903
|
+
return b.build();
|
|
904
|
+
}, "se_StopJobCommand");
|
|
905
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
906
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
907
|
+
const headers = {
|
|
908
|
+
"content-type": "application/json"
|
|
909
|
+
};
|
|
910
|
+
b.bp("/tags/{resourceArn}");
|
|
911
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
912
|
+
let body;
|
|
913
|
+
body = JSON.stringify(
|
|
914
|
+
(0, import_smithy_client.take)(input, {
|
|
915
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
916
|
+
})
|
|
917
|
+
);
|
|
918
|
+
b.m("POST").h(headers).b(body);
|
|
919
|
+
return b.build();
|
|
920
|
+
}, "se_TagResourceCommand");
|
|
921
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
922
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
923
|
+
const headers = {};
|
|
924
|
+
b.bp("/tags/{resourceArn}");
|
|
925
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
926
|
+
const query = (0, import_smithy_client.map)({
|
|
927
|
+
[_tK]: [
|
|
928
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
929
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
930
|
+
]
|
|
931
|
+
});
|
|
932
|
+
let body;
|
|
933
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
934
|
+
return b.build();
|
|
935
|
+
}, "se_UntagResourceCommand");
|
|
936
|
+
var se_UpdateAppCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
937
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
938
|
+
const headers = {
|
|
939
|
+
"content-type": "application/json"
|
|
940
|
+
};
|
|
941
|
+
b.bp("/apps/{appId}");
|
|
942
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
943
|
+
let body;
|
|
944
|
+
body = JSON.stringify(
|
|
945
|
+
(0, import_smithy_client.take)(input, {
|
|
946
|
+
accessToken: [],
|
|
947
|
+
autoBranchCreationConfig: (_) => (0, import_smithy_client._json)(_),
|
|
948
|
+
autoBranchCreationPatterns: (_) => (0, import_smithy_client._json)(_),
|
|
949
|
+
basicAuthCredentials: [],
|
|
950
|
+
buildSpec: [],
|
|
951
|
+
customHeaders: [],
|
|
952
|
+
customRules: (_) => (0, import_smithy_client._json)(_),
|
|
953
|
+
description: [],
|
|
954
|
+
enableAutoBranchCreation: [],
|
|
955
|
+
enableBasicAuth: [],
|
|
956
|
+
enableBranchAutoBuild: [],
|
|
957
|
+
enableBranchAutoDeletion: [],
|
|
958
|
+
environmentVariables: (_) => (0, import_smithy_client._json)(_),
|
|
959
|
+
iamServiceRoleArn: [],
|
|
960
|
+
name: [],
|
|
961
|
+
oauthToken: [],
|
|
962
|
+
platform: [],
|
|
963
|
+
repository: []
|
|
964
|
+
})
|
|
965
|
+
);
|
|
966
|
+
b.m("POST").h(headers).b(body);
|
|
967
|
+
return b.build();
|
|
968
|
+
}, "se_UpdateAppCommand");
|
|
969
|
+
var se_UpdateBranchCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
970
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
971
|
+
const headers = {
|
|
972
|
+
"content-type": "application/json"
|
|
973
|
+
};
|
|
974
|
+
b.bp("/apps/{appId}/branches/{branchName}");
|
|
975
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
976
|
+
b.p("branchName", () => input.branchName, "{branchName}", false);
|
|
977
|
+
let body;
|
|
978
|
+
body = JSON.stringify(
|
|
979
|
+
(0, import_smithy_client.take)(input, {
|
|
980
|
+
backend: (_) => (0, import_smithy_client._json)(_),
|
|
981
|
+
backendEnvironmentArn: [],
|
|
982
|
+
basicAuthCredentials: [],
|
|
983
|
+
buildSpec: [],
|
|
984
|
+
description: [],
|
|
985
|
+
displayName: [],
|
|
986
|
+
enableAutoBuild: [],
|
|
987
|
+
enableBasicAuth: [],
|
|
988
|
+
enableNotification: [],
|
|
989
|
+
enablePerformanceMode: [],
|
|
990
|
+
enablePullRequestPreview: [],
|
|
991
|
+
environmentVariables: (_) => (0, import_smithy_client._json)(_),
|
|
992
|
+
framework: [],
|
|
993
|
+
pullRequestEnvironmentName: [],
|
|
994
|
+
stage: [],
|
|
995
|
+
ttl: []
|
|
996
|
+
})
|
|
997
|
+
);
|
|
998
|
+
b.m("POST").h(headers).b(body);
|
|
999
|
+
return b.build();
|
|
1000
|
+
}, "se_UpdateBranchCommand");
|
|
1001
|
+
var se_UpdateDomainAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1002
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1003
|
+
const headers = {
|
|
1004
|
+
"content-type": "application/json"
|
|
1005
|
+
};
|
|
1006
|
+
b.bp("/apps/{appId}/domains/{domainName}");
|
|
1007
|
+
b.p("appId", () => input.appId, "{appId}", false);
|
|
1008
|
+
b.p("domainName", () => input.domainName, "{domainName}", false);
|
|
1009
|
+
let body;
|
|
1010
|
+
body = JSON.stringify(
|
|
1011
|
+
(0, import_smithy_client.take)(input, {
|
|
1012
|
+
autoSubDomainCreationPatterns: (_) => (0, import_smithy_client._json)(_),
|
|
1013
|
+
autoSubDomainIAMRole: [],
|
|
1014
|
+
enableAutoSubDomain: [],
|
|
1015
|
+
subDomainSettings: (_) => (0, import_smithy_client._json)(_)
|
|
1016
|
+
})
|
|
1017
|
+
);
|
|
1018
|
+
b.m("POST").h(headers).b(body);
|
|
1019
|
+
return b.build();
|
|
1020
|
+
}, "se_UpdateDomainAssociationCommand");
|
|
1021
|
+
var se_UpdateWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1022
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1023
|
+
const headers = {
|
|
1024
|
+
"content-type": "application/json"
|
|
1025
|
+
};
|
|
1026
|
+
b.bp("/webhooks/{webhookId}");
|
|
1027
|
+
b.p("webhookId", () => input.webhookId, "{webhookId}", false);
|
|
1028
|
+
let body;
|
|
1029
|
+
body = JSON.stringify(
|
|
1030
|
+
(0, import_smithy_client.take)(input, {
|
|
1031
|
+
branchName: [],
|
|
1032
|
+
description: []
|
|
1033
|
+
})
|
|
1034
|
+
);
|
|
1035
|
+
b.m("POST").h(headers).b(body);
|
|
1036
|
+
return b.build();
|
|
1037
|
+
}, "se_UpdateWebhookCommand");
|
|
1038
|
+
var de_CreateAppCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1039
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1040
|
+
return de_CreateAppCommandError(output, context);
|
|
1041
|
+
}
|
|
1042
|
+
const contents = (0, import_smithy_client.map)({
|
|
1043
|
+
$metadata: deserializeMetadata(output)
|
|
1044
|
+
});
|
|
1045
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1046
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1047
|
+
app: (_) => de_App(_, context)
|
|
1048
|
+
});
|
|
1049
|
+
Object.assign(contents, doc);
|
|
1050
|
+
return contents;
|
|
1051
|
+
}, "de_CreateAppCommand");
|
|
1052
|
+
var de_CreateAppCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1053
|
+
const parsedOutput = {
|
|
1054
|
+
...output,
|
|
1055
|
+
body: await parseErrorBody(output.body, context)
|
|
1056
|
+
};
|
|
1057
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1058
|
+
switch (errorCode) {
|
|
1059
|
+
case "BadRequestException":
|
|
1060
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1061
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1062
|
+
case "DependentServiceFailureException":
|
|
1063
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1064
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1065
|
+
case "InternalFailureException":
|
|
1066
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1067
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1068
|
+
case "LimitExceededException":
|
|
1069
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1070
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1071
|
+
case "UnauthorizedException":
|
|
1072
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1073
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1074
|
+
default:
|
|
1075
|
+
const parsedBody = parsedOutput.body;
|
|
1076
|
+
return throwDefaultError({
|
|
1077
|
+
output,
|
|
1078
|
+
parsedBody,
|
|
1079
|
+
errorCode
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
}, "de_CreateAppCommandError");
|
|
1083
|
+
var de_CreateBackendEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1084
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1085
|
+
return de_CreateBackendEnvironmentCommandError(output, context);
|
|
1086
|
+
}
|
|
1087
|
+
const contents = (0, import_smithy_client.map)({
|
|
1088
|
+
$metadata: deserializeMetadata(output)
|
|
1089
|
+
});
|
|
1090
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1091
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1092
|
+
backendEnvironment: (_) => de_BackendEnvironment(_, context)
|
|
1093
|
+
});
|
|
1094
|
+
Object.assign(contents, doc);
|
|
1095
|
+
return contents;
|
|
1096
|
+
}, "de_CreateBackendEnvironmentCommand");
|
|
1097
|
+
var de_CreateBackendEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1098
|
+
const parsedOutput = {
|
|
1099
|
+
...output,
|
|
1100
|
+
body: await parseErrorBody(output.body, context)
|
|
1101
|
+
};
|
|
1102
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1103
|
+
switch (errorCode) {
|
|
1104
|
+
case "BadRequestException":
|
|
1105
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1106
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1107
|
+
case "InternalFailureException":
|
|
1108
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1109
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1110
|
+
case "LimitExceededException":
|
|
1111
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1112
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1113
|
+
case "NotFoundException":
|
|
1114
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1115
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1116
|
+
case "UnauthorizedException":
|
|
1117
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1118
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1119
|
+
default:
|
|
1120
|
+
const parsedBody = parsedOutput.body;
|
|
1121
|
+
return throwDefaultError({
|
|
1122
|
+
output,
|
|
1123
|
+
parsedBody,
|
|
1124
|
+
errorCode
|
|
1125
|
+
});
|
|
1126
|
+
}
|
|
1127
|
+
}, "de_CreateBackendEnvironmentCommandError");
|
|
1128
|
+
var de_CreateBranchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1129
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
+
return de_CreateBranchCommandError(output, context);
|
|
1131
|
+
}
|
|
1132
|
+
const contents = (0, import_smithy_client.map)({
|
|
1133
|
+
$metadata: deserializeMetadata(output)
|
|
1134
|
+
});
|
|
1135
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1136
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1137
|
+
branch: (_) => de_Branch(_, context)
|
|
1138
|
+
});
|
|
1139
|
+
Object.assign(contents, doc);
|
|
1140
|
+
return contents;
|
|
1141
|
+
}, "de_CreateBranchCommand");
|
|
1142
|
+
var de_CreateBranchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1143
|
+
const parsedOutput = {
|
|
1144
|
+
...output,
|
|
1145
|
+
body: await parseErrorBody(output.body, context)
|
|
1146
|
+
};
|
|
1147
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1148
|
+
switch (errorCode) {
|
|
1149
|
+
case "BadRequestException":
|
|
1150
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1151
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1152
|
+
case "DependentServiceFailureException":
|
|
1153
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1154
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1155
|
+
case "InternalFailureException":
|
|
1156
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1157
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1158
|
+
case "LimitExceededException":
|
|
1159
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1160
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1161
|
+
case "NotFoundException":
|
|
1162
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1163
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1164
|
+
case "UnauthorizedException":
|
|
1165
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1166
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1167
|
+
default:
|
|
1168
|
+
const parsedBody = parsedOutput.body;
|
|
1169
|
+
return throwDefaultError({
|
|
1170
|
+
output,
|
|
1171
|
+
parsedBody,
|
|
1172
|
+
errorCode
|
|
1173
|
+
});
|
|
1174
|
+
}
|
|
1175
|
+
}, "de_CreateBranchCommandError");
|
|
1176
|
+
var de_CreateDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1177
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1178
|
+
return de_CreateDeploymentCommandError(output, context);
|
|
1179
|
+
}
|
|
1180
|
+
const contents = (0, import_smithy_client.map)({
|
|
1181
|
+
$metadata: deserializeMetadata(output)
|
|
1182
|
+
});
|
|
1183
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1184
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1185
|
+
fileUploadUrls: import_smithy_client._json,
|
|
1186
|
+
jobId: import_smithy_client.expectString,
|
|
1187
|
+
zipUploadUrl: import_smithy_client.expectString
|
|
1188
|
+
});
|
|
1189
|
+
Object.assign(contents, doc);
|
|
1190
|
+
return contents;
|
|
1191
|
+
}, "de_CreateDeploymentCommand");
|
|
1192
|
+
var de_CreateDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1193
|
+
const parsedOutput = {
|
|
1194
|
+
...output,
|
|
1195
|
+
body: await parseErrorBody(output.body, context)
|
|
1196
|
+
};
|
|
1197
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1198
|
+
switch (errorCode) {
|
|
1199
|
+
case "BadRequestException":
|
|
1200
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1201
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1202
|
+
case "InternalFailureException":
|
|
1203
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1204
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1205
|
+
case "LimitExceededException":
|
|
1206
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1207
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1208
|
+
case "UnauthorizedException":
|
|
1209
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1210
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1211
|
+
default:
|
|
1212
|
+
const parsedBody = parsedOutput.body;
|
|
1213
|
+
return throwDefaultError({
|
|
1214
|
+
output,
|
|
1215
|
+
parsedBody,
|
|
1216
|
+
errorCode
|
|
1217
|
+
});
|
|
1218
|
+
}
|
|
1219
|
+
}, "de_CreateDeploymentCommandError");
|
|
1220
|
+
var de_CreateDomainAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1221
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1222
|
+
return de_CreateDomainAssociationCommandError(output, context);
|
|
1223
|
+
}
|
|
1224
|
+
const contents = (0, import_smithy_client.map)({
|
|
1225
|
+
$metadata: deserializeMetadata(output)
|
|
1226
|
+
});
|
|
1227
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1228
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1229
|
+
domainAssociation: import_smithy_client._json
|
|
1230
|
+
});
|
|
1231
|
+
Object.assign(contents, doc);
|
|
1232
|
+
return contents;
|
|
1233
|
+
}, "de_CreateDomainAssociationCommand");
|
|
1234
|
+
var de_CreateDomainAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1235
|
+
const parsedOutput = {
|
|
1236
|
+
...output,
|
|
1237
|
+
body: await parseErrorBody(output.body, context)
|
|
1238
|
+
};
|
|
1239
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1240
|
+
switch (errorCode) {
|
|
1241
|
+
case "BadRequestException":
|
|
1242
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1243
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1244
|
+
case "DependentServiceFailureException":
|
|
1245
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1246
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1247
|
+
case "InternalFailureException":
|
|
1248
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1249
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1250
|
+
case "LimitExceededException":
|
|
1251
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1252
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1253
|
+
case "NotFoundException":
|
|
1254
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1255
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1256
|
+
case "UnauthorizedException":
|
|
1257
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1258
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1259
|
+
default:
|
|
1260
|
+
const parsedBody = parsedOutput.body;
|
|
1261
|
+
return throwDefaultError({
|
|
1262
|
+
output,
|
|
1263
|
+
parsedBody,
|
|
1264
|
+
errorCode
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
1267
|
+
}, "de_CreateDomainAssociationCommandError");
|
|
1268
|
+
var de_CreateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1269
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1270
|
+
return de_CreateWebhookCommandError(output, context);
|
|
1271
|
+
}
|
|
1272
|
+
const contents = (0, import_smithy_client.map)({
|
|
1273
|
+
$metadata: deserializeMetadata(output)
|
|
1274
|
+
});
|
|
1275
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1276
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1277
|
+
webhook: (_) => de_Webhook(_, context)
|
|
1278
|
+
});
|
|
1279
|
+
Object.assign(contents, doc);
|
|
1280
|
+
return contents;
|
|
1281
|
+
}, "de_CreateWebhookCommand");
|
|
1282
|
+
var de_CreateWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1283
|
+
const parsedOutput = {
|
|
1284
|
+
...output,
|
|
1285
|
+
body: await parseErrorBody(output.body, context)
|
|
1286
|
+
};
|
|
1287
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1288
|
+
switch (errorCode) {
|
|
1289
|
+
case "BadRequestException":
|
|
1290
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1291
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1292
|
+
case "DependentServiceFailureException":
|
|
1293
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1294
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1295
|
+
case "InternalFailureException":
|
|
1296
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1297
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1298
|
+
case "LimitExceededException":
|
|
1299
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1300
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1301
|
+
case "NotFoundException":
|
|
1302
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1303
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1304
|
+
case "UnauthorizedException":
|
|
1305
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1306
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1307
|
+
default:
|
|
1308
|
+
const parsedBody = parsedOutput.body;
|
|
1309
|
+
return throwDefaultError({
|
|
1310
|
+
output,
|
|
1311
|
+
parsedBody,
|
|
1312
|
+
errorCode
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
}, "de_CreateWebhookCommandError");
|
|
1316
|
+
var de_DeleteAppCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1317
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1318
|
+
return de_DeleteAppCommandError(output, context);
|
|
1319
|
+
}
|
|
1320
|
+
const contents = (0, import_smithy_client.map)({
|
|
1321
|
+
$metadata: deserializeMetadata(output)
|
|
1322
|
+
});
|
|
1323
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1324
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1325
|
+
app: (_) => de_App(_, context)
|
|
1326
|
+
});
|
|
1327
|
+
Object.assign(contents, doc);
|
|
1328
|
+
return contents;
|
|
1329
|
+
}, "de_DeleteAppCommand");
|
|
1330
|
+
var de_DeleteAppCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1331
|
+
const parsedOutput = {
|
|
1332
|
+
...output,
|
|
1333
|
+
body: await parseErrorBody(output.body, context)
|
|
1334
|
+
};
|
|
1335
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1336
|
+
switch (errorCode) {
|
|
1337
|
+
case "BadRequestException":
|
|
1338
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1339
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1340
|
+
case "DependentServiceFailureException":
|
|
1341
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1342
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1343
|
+
case "InternalFailureException":
|
|
1344
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1345
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1346
|
+
case "NotFoundException":
|
|
1347
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1348
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1349
|
+
case "UnauthorizedException":
|
|
1350
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1351
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1352
|
+
default:
|
|
1353
|
+
const parsedBody = parsedOutput.body;
|
|
1354
|
+
return throwDefaultError({
|
|
1355
|
+
output,
|
|
1356
|
+
parsedBody,
|
|
1357
|
+
errorCode
|
|
1358
|
+
});
|
|
1359
|
+
}
|
|
1360
|
+
}, "de_DeleteAppCommandError");
|
|
1361
|
+
var de_DeleteBackendEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1362
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1363
|
+
return de_DeleteBackendEnvironmentCommandError(output, context);
|
|
1364
|
+
}
|
|
1365
|
+
const contents = (0, import_smithy_client.map)({
|
|
1366
|
+
$metadata: deserializeMetadata(output)
|
|
1367
|
+
});
|
|
1368
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1369
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1370
|
+
backendEnvironment: (_) => de_BackendEnvironment(_, context)
|
|
1371
|
+
});
|
|
1372
|
+
Object.assign(contents, doc);
|
|
1373
|
+
return contents;
|
|
1374
|
+
}, "de_DeleteBackendEnvironmentCommand");
|
|
1375
|
+
var de_DeleteBackendEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1376
|
+
const parsedOutput = {
|
|
1377
|
+
...output,
|
|
1378
|
+
body: await parseErrorBody(output.body, context)
|
|
1379
|
+
};
|
|
1380
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1381
|
+
switch (errorCode) {
|
|
1382
|
+
case "BadRequestException":
|
|
1383
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1384
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1385
|
+
case "DependentServiceFailureException":
|
|
1386
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1387
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1388
|
+
case "InternalFailureException":
|
|
1389
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1390
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1391
|
+
case "NotFoundException":
|
|
1392
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1393
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1394
|
+
case "UnauthorizedException":
|
|
1395
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1396
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1397
|
+
default:
|
|
1398
|
+
const parsedBody = parsedOutput.body;
|
|
1399
|
+
return throwDefaultError({
|
|
1400
|
+
output,
|
|
1401
|
+
parsedBody,
|
|
1402
|
+
errorCode
|
|
1403
|
+
});
|
|
1404
|
+
}
|
|
1405
|
+
}, "de_DeleteBackendEnvironmentCommandError");
|
|
1406
|
+
var de_DeleteBranchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1407
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1408
|
+
return de_DeleteBranchCommandError(output, context);
|
|
1409
|
+
}
|
|
1410
|
+
const contents = (0, import_smithy_client.map)({
|
|
1411
|
+
$metadata: deserializeMetadata(output)
|
|
1412
|
+
});
|
|
1413
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1414
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1415
|
+
branch: (_) => de_Branch(_, context)
|
|
1416
|
+
});
|
|
1417
|
+
Object.assign(contents, doc);
|
|
1418
|
+
return contents;
|
|
1419
|
+
}, "de_DeleteBranchCommand");
|
|
1420
|
+
var de_DeleteBranchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1421
|
+
const parsedOutput = {
|
|
1422
|
+
...output,
|
|
1423
|
+
body: await parseErrorBody(output.body, context)
|
|
1424
|
+
};
|
|
1425
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1426
|
+
switch (errorCode) {
|
|
1427
|
+
case "BadRequestException":
|
|
1428
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1429
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1430
|
+
case "DependentServiceFailureException":
|
|
1431
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1432
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1433
|
+
case "InternalFailureException":
|
|
1434
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1435
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1436
|
+
case "NotFoundException":
|
|
1437
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1438
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1439
|
+
case "UnauthorizedException":
|
|
1440
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1441
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1442
|
+
default:
|
|
1443
|
+
const parsedBody = parsedOutput.body;
|
|
1444
|
+
return throwDefaultError({
|
|
1445
|
+
output,
|
|
1446
|
+
parsedBody,
|
|
1447
|
+
errorCode
|
|
1448
|
+
});
|
|
1449
|
+
}
|
|
1450
|
+
}, "de_DeleteBranchCommandError");
|
|
1451
|
+
var de_DeleteDomainAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1452
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1453
|
+
return de_DeleteDomainAssociationCommandError(output, context);
|
|
1454
|
+
}
|
|
1455
|
+
const contents = (0, import_smithy_client.map)({
|
|
1456
|
+
$metadata: deserializeMetadata(output)
|
|
1457
|
+
});
|
|
1458
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1459
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1460
|
+
domainAssociation: import_smithy_client._json
|
|
1461
|
+
});
|
|
1462
|
+
Object.assign(contents, doc);
|
|
1463
|
+
return contents;
|
|
1464
|
+
}, "de_DeleteDomainAssociationCommand");
|
|
1465
|
+
var de_DeleteDomainAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1466
|
+
const parsedOutput = {
|
|
1467
|
+
...output,
|
|
1468
|
+
body: await parseErrorBody(output.body, context)
|
|
1469
|
+
};
|
|
1470
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1471
|
+
switch (errorCode) {
|
|
1472
|
+
case "BadRequestException":
|
|
1473
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1474
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1475
|
+
case "DependentServiceFailureException":
|
|
1476
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
1477
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
1478
|
+
case "InternalFailureException":
|
|
1479
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1480
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1481
|
+
case "NotFoundException":
|
|
1482
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1483
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1484
|
+
case "UnauthorizedException":
|
|
1485
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1486
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1487
|
+
default:
|
|
1488
|
+
const parsedBody = parsedOutput.body;
|
|
1489
|
+
return throwDefaultError({
|
|
1490
|
+
output,
|
|
1491
|
+
parsedBody,
|
|
1492
|
+
errorCode
|
|
1493
|
+
});
|
|
1494
|
+
}
|
|
1495
|
+
}, "de_DeleteDomainAssociationCommandError");
|
|
1496
|
+
var de_DeleteJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1497
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1498
|
+
return de_DeleteJobCommandError(output, context);
|
|
1499
|
+
}
|
|
1500
|
+
const contents = (0, import_smithy_client.map)({
|
|
1501
|
+
$metadata: deserializeMetadata(output)
|
|
1502
|
+
});
|
|
1503
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1504
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1505
|
+
jobSummary: (_) => de_JobSummary(_, context)
|
|
1506
|
+
});
|
|
1507
|
+
Object.assign(contents, doc);
|
|
1508
|
+
return contents;
|
|
1509
|
+
}, "de_DeleteJobCommand");
|
|
1510
|
+
var de_DeleteJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1511
|
+
const parsedOutput = {
|
|
1512
|
+
...output,
|
|
1513
|
+
body: await parseErrorBody(output.body, context)
|
|
1514
|
+
};
|
|
1515
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1516
|
+
switch (errorCode) {
|
|
1517
|
+
case "BadRequestException":
|
|
1518
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1519
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1520
|
+
case "InternalFailureException":
|
|
1521
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1522
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1523
|
+
case "LimitExceededException":
|
|
1524
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1525
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1526
|
+
case "NotFoundException":
|
|
1527
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1528
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1529
|
+
case "UnauthorizedException":
|
|
1530
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1531
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1532
|
+
default:
|
|
1533
|
+
const parsedBody = parsedOutput.body;
|
|
1534
|
+
return throwDefaultError({
|
|
1535
|
+
output,
|
|
1536
|
+
parsedBody,
|
|
1537
|
+
errorCode
|
|
1538
|
+
});
|
|
1539
|
+
}
|
|
1540
|
+
}, "de_DeleteJobCommandError");
|
|
1541
|
+
var de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1542
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1543
|
+
return de_DeleteWebhookCommandError(output, context);
|
|
1544
|
+
}
|
|
1545
|
+
const contents = (0, import_smithy_client.map)({
|
|
1546
|
+
$metadata: deserializeMetadata(output)
|
|
1547
|
+
});
|
|
1548
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1549
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1550
|
+
webhook: (_) => de_Webhook(_, context)
|
|
1551
|
+
});
|
|
1552
|
+
Object.assign(contents, doc);
|
|
1553
|
+
return contents;
|
|
1554
|
+
}, "de_DeleteWebhookCommand");
|
|
1555
|
+
var de_DeleteWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1556
|
+
const parsedOutput = {
|
|
1557
|
+
...output,
|
|
1558
|
+
body: await parseErrorBody(output.body, context)
|
|
1559
|
+
};
|
|
1560
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1561
|
+
switch (errorCode) {
|
|
1562
|
+
case "BadRequestException":
|
|
1563
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1564
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1565
|
+
case "InternalFailureException":
|
|
1566
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1567
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1568
|
+
case "LimitExceededException":
|
|
1569
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1570
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1571
|
+
case "NotFoundException":
|
|
1572
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1573
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1574
|
+
case "UnauthorizedException":
|
|
1575
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1576
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1577
|
+
default:
|
|
1578
|
+
const parsedBody = parsedOutput.body;
|
|
1579
|
+
return throwDefaultError({
|
|
1580
|
+
output,
|
|
1581
|
+
parsedBody,
|
|
1582
|
+
errorCode
|
|
1583
|
+
});
|
|
1584
|
+
}
|
|
1585
|
+
}, "de_DeleteWebhookCommandError");
|
|
1586
|
+
var de_GenerateAccessLogsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1587
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1588
|
+
return de_GenerateAccessLogsCommandError(output, context);
|
|
1589
|
+
}
|
|
1590
|
+
const contents = (0, import_smithy_client.map)({
|
|
1591
|
+
$metadata: deserializeMetadata(output)
|
|
1592
|
+
});
|
|
1593
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1594
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1595
|
+
logUrl: import_smithy_client.expectString
|
|
1596
|
+
});
|
|
1597
|
+
Object.assign(contents, doc);
|
|
1598
|
+
return contents;
|
|
1599
|
+
}, "de_GenerateAccessLogsCommand");
|
|
1600
|
+
var de_GenerateAccessLogsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1601
|
+
const parsedOutput = {
|
|
1602
|
+
...output,
|
|
1603
|
+
body: await parseErrorBody(output.body, context)
|
|
1604
|
+
};
|
|
1605
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1606
|
+
switch (errorCode) {
|
|
1607
|
+
case "BadRequestException":
|
|
1608
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1609
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1610
|
+
case "InternalFailureException":
|
|
1611
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1612
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1613
|
+
case "NotFoundException":
|
|
1614
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1615
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1616
|
+
case "UnauthorizedException":
|
|
1617
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1618
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1619
|
+
default:
|
|
1620
|
+
const parsedBody = parsedOutput.body;
|
|
1621
|
+
return throwDefaultError({
|
|
1622
|
+
output,
|
|
1623
|
+
parsedBody,
|
|
1624
|
+
errorCode
|
|
1625
|
+
});
|
|
1626
|
+
}
|
|
1627
|
+
}, "de_GenerateAccessLogsCommandError");
|
|
1628
|
+
var de_GetAppCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1629
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1630
|
+
return de_GetAppCommandError(output, context);
|
|
1631
|
+
}
|
|
1632
|
+
const contents = (0, import_smithy_client.map)({
|
|
1633
|
+
$metadata: deserializeMetadata(output)
|
|
1634
|
+
});
|
|
1635
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1636
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1637
|
+
app: (_) => de_App(_, context)
|
|
1638
|
+
});
|
|
1639
|
+
Object.assign(contents, doc);
|
|
1640
|
+
return contents;
|
|
1641
|
+
}, "de_GetAppCommand");
|
|
1642
|
+
var de_GetAppCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1643
|
+
const parsedOutput = {
|
|
1644
|
+
...output,
|
|
1645
|
+
body: await parseErrorBody(output.body, context)
|
|
1646
|
+
};
|
|
1647
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1648
|
+
switch (errorCode) {
|
|
1649
|
+
case "BadRequestException":
|
|
1650
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1651
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1652
|
+
case "InternalFailureException":
|
|
1653
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1654
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1655
|
+
case "NotFoundException":
|
|
1656
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1657
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1658
|
+
case "UnauthorizedException":
|
|
1659
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1660
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1661
|
+
default:
|
|
1662
|
+
const parsedBody = parsedOutput.body;
|
|
1663
|
+
return throwDefaultError({
|
|
1664
|
+
output,
|
|
1665
|
+
parsedBody,
|
|
1666
|
+
errorCode
|
|
1667
|
+
});
|
|
1668
|
+
}
|
|
1669
|
+
}, "de_GetAppCommandError");
|
|
1670
|
+
var de_GetArtifactUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1671
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1672
|
+
return de_GetArtifactUrlCommandError(output, context);
|
|
1673
|
+
}
|
|
1674
|
+
const contents = (0, import_smithy_client.map)({
|
|
1675
|
+
$metadata: deserializeMetadata(output)
|
|
1676
|
+
});
|
|
1677
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1678
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1679
|
+
artifactId: import_smithy_client.expectString,
|
|
1680
|
+
artifactUrl: import_smithy_client.expectString
|
|
1681
|
+
});
|
|
1682
|
+
Object.assign(contents, doc);
|
|
1683
|
+
return contents;
|
|
1684
|
+
}, "de_GetArtifactUrlCommand");
|
|
1685
|
+
var de_GetArtifactUrlCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1686
|
+
const parsedOutput = {
|
|
1687
|
+
...output,
|
|
1688
|
+
body: await parseErrorBody(output.body, context)
|
|
1689
|
+
};
|
|
1690
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1691
|
+
switch (errorCode) {
|
|
1692
|
+
case "BadRequestException":
|
|
1693
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1694
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1695
|
+
case "InternalFailureException":
|
|
1696
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1697
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1698
|
+
case "LimitExceededException":
|
|
1699
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1700
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1701
|
+
case "NotFoundException":
|
|
1702
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1703
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1704
|
+
case "UnauthorizedException":
|
|
1705
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1706
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1707
|
+
default:
|
|
1708
|
+
const parsedBody = parsedOutput.body;
|
|
1709
|
+
return throwDefaultError({
|
|
1710
|
+
output,
|
|
1711
|
+
parsedBody,
|
|
1712
|
+
errorCode
|
|
1713
|
+
});
|
|
1714
|
+
}
|
|
1715
|
+
}, "de_GetArtifactUrlCommandError");
|
|
1716
|
+
var de_GetBackendEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1717
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1718
|
+
return de_GetBackendEnvironmentCommandError(output, context);
|
|
1719
|
+
}
|
|
1720
|
+
const contents = (0, import_smithy_client.map)({
|
|
1721
|
+
$metadata: deserializeMetadata(output)
|
|
1722
|
+
});
|
|
1723
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1724
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1725
|
+
backendEnvironment: (_) => de_BackendEnvironment(_, context)
|
|
1726
|
+
});
|
|
1727
|
+
Object.assign(contents, doc);
|
|
1728
|
+
return contents;
|
|
1729
|
+
}, "de_GetBackendEnvironmentCommand");
|
|
1730
|
+
var de_GetBackendEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1731
|
+
const parsedOutput = {
|
|
1732
|
+
...output,
|
|
1733
|
+
body: await parseErrorBody(output.body, context)
|
|
1734
|
+
};
|
|
1735
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1736
|
+
switch (errorCode) {
|
|
1737
|
+
case "BadRequestException":
|
|
1738
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1739
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1740
|
+
case "InternalFailureException":
|
|
1741
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1742
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1743
|
+
case "NotFoundException":
|
|
1744
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1745
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1746
|
+
case "UnauthorizedException":
|
|
1747
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1748
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1749
|
+
default:
|
|
1750
|
+
const parsedBody = parsedOutput.body;
|
|
1751
|
+
return throwDefaultError({
|
|
1752
|
+
output,
|
|
1753
|
+
parsedBody,
|
|
1754
|
+
errorCode
|
|
1755
|
+
});
|
|
1756
|
+
}
|
|
1757
|
+
}, "de_GetBackendEnvironmentCommandError");
|
|
1758
|
+
var de_GetBranchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1759
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1760
|
+
return de_GetBranchCommandError(output, context);
|
|
1761
|
+
}
|
|
1762
|
+
const contents = (0, import_smithy_client.map)({
|
|
1763
|
+
$metadata: deserializeMetadata(output)
|
|
1764
|
+
});
|
|
1765
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1766
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1767
|
+
branch: (_) => de_Branch(_, context)
|
|
1768
|
+
});
|
|
1769
|
+
Object.assign(contents, doc);
|
|
1770
|
+
return contents;
|
|
1771
|
+
}, "de_GetBranchCommand");
|
|
1772
|
+
var de_GetBranchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1773
|
+
const parsedOutput = {
|
|
1774
|
+
...output,
|
|
1775
|
+
body: await parseErrorBody(output.body, context)
|
|
1776
|
+
};
|
|
1777
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1778
|
+
switch (errorCode) {
|
|
1779
|
+
case "BadRequestException":
|
|
1780
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1781
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1782
|
+
case "InternalFailureException":
|
|
1783
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1784
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1785
|
+
case "NotFoundException":
|
|
1786
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1787
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1788
|
+
case "UnauthorizedException":
|
|
1789
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1790
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1791
|
+
default:
|
|
1792
|
+
const parsedBody = parsedOutput.body;
|
|
1793
|
+
return throwDefaultError({
|
|
1794
|
+
output,
|
|
1795
|
+
parsedBody,
|
|
1796
|
+
errorCode
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
}, "de_GetBranchCommandError");
|
|
1800
|
+
var de_GetDomainAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1801
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1802
|
+
return de_GetDomainAssociationCommandError(output, context);
|
|
1803
|
+
}
|
|
1804
|
+
const contents = (0, import_smithy_client.map)({
|
|
1805
|
+
$metadata: deserializeMetadata(output)
|
|
1806
|
+
});
|
|
1807
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1808
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1809
|
+
domainAssociation: import_smithy_client._json
|
|
1810
|
+
});
|
|
1811
|
+
Object.assign(contents, doc);
|
|
1812
|
+
return contents;
|
|
1813
|
+
}, "de_GetDomainAssociationCommand");
|
|
1814
|
+
var de_GetDomainAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1815
|
+
const parsedOutput = {
|
|
1816
|
+
...output,
|
|
1817
|
+
body: await parseErrorBody(output.body, context)
|
|
1818
|
+
};
|
|
1819
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1820
|
+
switch (errorCode) {
|
|
1821
|
+
case "BadRequestException":
|
|
1822
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1823
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1824
|
+
case "InternalFailureException":
|
|
1825
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1826
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1827
|
+
case "NotFoundException":
|
|
1828
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1829
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1830
|
+
case "UnauthorizedException":
|
|
1831
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1832
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1833
|
+
default:
|
|
1834
|
+
const parsedBody = parsedOutput.body;
|
|
1835
|
+
return throwDefaultError({
|
|
1836
|
+
output,
|
|
1837
|
+
parsedBody,
|
|
1838
|
+
errorCode
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
}, "de_GetDomainAssociationCommandError");
|
|
1842
|
+
var de_GetJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1843
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1844
|
+
return de_GetJobCommandError(output, context);
|
|
1845
|
+
}
|
|
1846
|
+
const contents = (0, import_smithy_client.map)({
|
|
1847
|
+
$metadata: deserializeMetadata(output)
|
|
1848
|
+
});
|
|
1849
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1850
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1851
|
+
job: (_) => de_Job(_, context)
|
|
1852
|
+
});
|
|
1853
|
+
Object.assign(contents, doc);
|
|
1854
|
+
return contents;
|
|
1855
|
+
}, "de_GetJobCommand");
|
|
1856
|
+
var de_GetJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1857
|
+
const parsedOutput = {
|
|
1858
|
+
...output,
|
|
1859
|
+
body: await parseErrorBody(output.body, context)
|
|
1860
|
+
};
|
|
1861
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1862
|
+
switch (errorCode) {
|
|
1863
|
+
case "BadRequestException":
|
|
1864
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1865
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1866
|
+
case "InternalFailureException":
|
|
1867
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1868
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1869
|
+
case "LimitExceededException":
|
|
1870
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1871
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1872
|
+
case "NotFoundException":
|
|
1873
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1874
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1875
|
+
case "UnauthorizedException":
|
|
1876
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1877
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1878
|
+
default:
|
|
1879
|
+
const parsedBody = parsedOutput.body;
|
|
1880
|
+
return throwDefaultError({
|
|
1881
|
+
output,
|
|
1882
|
+
parsedBody,
|
|
1883
|
+
errorCode
|
|
1884
|
+
});
|
|
1885
|
+
}
|
|
1886
|
+
}, "de_GetJobCommandError");
|
|
1887
|
+
var de_GetWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1888
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1889
|
+
return de_GetWebhookCommandError(output, context);
|
|
1890
|
+
}
|
|
1891
|
+
const contents = (0, import_smithy_client.map)({
|
|
1892
|
+
$metadata: deserializeMetadata(output)
|
|
1893
|
+
});
|
|
1894
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1895
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1896
|
+
webhook: (_) => de_Webhook(_, context)
|
|
1897
|
+
});
|
|
1898
|
+
Object.assign(contents, doc);
|
|
1899
|
+
return contents;
|
|
1900
|
+
}, "de_GetWebhookCommand");
|
|
1901
|
+
var de_GetWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1902
|
+
const parsedOutput = {
|
|
1903
|
+
...output,
|
|
1904
|
+
body: await parseErrorBody(output.body, context)
|
|
1905
|
+
};
|
|
1906
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1907
|
+
switch (errorCode) {
|
|
1908
|
+
case "BadRequestException":
|
|
1909
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1910
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1911
|
+
case "InternalFailureException":
|
|
1912
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1913
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1914
|
+
case "LimitExceededException":
|
|
1915
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
1916
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1917
|
+
case "NotFoundException":
|
|
1918
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
1919
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1920
|
+
case "UnauthorizedException":
|
|
1921
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1922
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1923
|
+
default:
|
|
1924
|
+
const parsedBody = parsedOutput.body;
|
|
1925
|
+
return throwDefaultError({
|
|
1926
|
+
output,
|
|
1927
|
+
parsedBody,
|
|
1928
|
+
errorCode
|
|
1929
|
+
});
|
|
1930
|
+
}
|
|
1931
|
+
}, "de_GetWebhookCommandError");
|
|
1932
|
+
var de_ListAppsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1933
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1934
|
+
return de_ListAppsCommandError(output, context);
|
|
1935
|
+
}
|
|
1936
|
+
const contents = (0, import_smithy_client.map)({
|
|
1937
|
+
$metadata: deserializeMetadata(output)
|
|
1938
|
+
});
|
|
1939
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1940
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1941
|
+
apps: (_) => de_Apps(_, context),
|
|
1942
|
+
nextToken: import_smithy_client.expectString
|
|
1943
|
+
});
|
|
1944
|
+
Object.assign(contents, doc);
|
|
1945
|
+
return contents;
|
|
1946
|
+
}, "de_ListAppsCommand");
|
|
1947
|
+
var de_ListAppsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1948
|
+
const parsedOutput = {
|
|
1949
|
+
...output,
|
|
1950
|
+
body: await parseErrorBody(output.body, context)
|
|
1951
|
+
};
|
|
1952
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1953
|
+
switch (errorCode) {
|
|
1954
|
+
case "BadRequestException":
|
|
1955
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1956
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1957
|
+
case "InternalFailureException":
|
|
1958
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1959
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
1960
|
+
case "UnauthorizedException":
|
|
1961
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
1962
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1963
|
+
default:
|
|
1964
|
+
const parsedBody = parsedOutput.body;
|
|
1965
|
+
return throwDefaultError({
|
|
1966
|
+
output,
|
|
1967
|
+
parsedBody,
|
|
1968
|
+
errorCode
|
|
1969
|
+
});
|
|
1970
|
+
}
|
|
1971
|
+
}, "de_ListAppsCommandError");
|
|
1972
|
+
var de_ListArtifactsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1973
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1974
|
+
return de_ListArtifactsCommandError(output, context);
|
|
1975
|
+
}
|
|
1976
|
+
const contents = (0, import_smithy_client.map)({
|
|
1977
|
+
$metadata: deserializeMetadata(output)
|
|
1978
|
+
});
|
|
1979
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1980
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1981
|
+
artifacts: import_smithy_client._json,
|
|
1982
|
+
nextToken: import_smithy_client.expectString
|
|
1983
|
+
});
|
|
1984
|
+
Object.assign(contents, doc);
|
|
1985
|
+
return contents;
|
|
1986
|
+
}, "de_ListArtifactsCommand");
|
|
1987
|
+
var de_ListArtifactsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1988
|
+
const parsedOutput = {
|
|
1989
|
+
...output,
|
|
1990
|
+
body: await parseErrorBody(output.body, context)
|
|
1991
|
+
};
|
|
1992
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1993
|
+
switch (errorCode) {
|
|
1994
|
+
case "BadRequestException":
|
|
1995
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
1996
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1997
|
+
case "InternalFailureException":
|
|
1998
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
1999
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2000
|
+
case "LimitExceededException":
|
|
2001
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
2002
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2003
|
+
case "UnauthorizedException":
|
|
2004
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2005
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2006
|
+
default:
|
|
2007
|
+
const parsedBody = parsedOutput.body;
|
|
2008
|
+
return throwDefaultError({
|
|
2009
|
+
output,
|
|
2010
|
+
parsedBody,
|
|
2011
|
+
errorCode
|
|
2012
|
+
});
|
|
2013
|
+
}
|
|
2014
|
+
}, "de_ListArtifactsCommandError");
|
|
2015
|
+
var de_ListBackendEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2016
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2017
|
+
return de_ListBackendEnvironmentsCommandError(output, context);
|
|
2018
|
+
}
|
|
2019
|
+
const contents = (0, import_smithy_client.map)({
|
|
2020
|
+
$metadata: deserializeMetadata(output)
|
|
2021
|
+
});
|
|
2022
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2023
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2024
|
+
backendEnvironments: (_) => de_BackendEnvironments(_, context),
|
|
2025
|
+
nextToken: import_smithy_client.expectString
|
|
2026
|
+
});
|
|
2027
|
+
Object.assign(contents, doc);
|
|
2028
|
+
return contents;
|
|
2029
|
+
}, "de_ListBackendEnvironmentsCommand");
|
|
2030
|
+
var de_ListBackendEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2031
|
+
const parsedOutput = {
|
|
2032
|
+
...output,
|
|
2033
|
+
body: await parseErrorBody(output.body, context)
|
|
2034
|
+
};
|
|
2035
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2036
|
+
switch (errorCode) {
|
|
2037
|
+
case "BadRequestException":
|
|
2038
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2039
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2040
|
+
case "InternalFailureException":
|
|
2041
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2042
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2043
|
+
case "UnauthorizedException":
|
|
2044
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2045
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2046
|
+
default:
|
|
2047
|
+
const parsedBody = parsedOutput.body;
|
|
2048
|
+
return throwDefaultError({
|
|
2049
|
+
output,
|
|
2050
|
+
parsedBody,
|
|
2051
|
+
errorCode
|
|
2052
|
+
});
|
|
2053
|
+
}
|
|
2054
|
+
}, "de_ListBackendEnvironmentsCommandError");
|
|
2055
|
+
var de_ListBranchesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2056
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2057
|
+
return de_ListBranchesCommandError(output, context);
|
|
2058
|
+
}
|
|
2059
|
+
const contents = (0, import_smithy_client.map)({
|
|
2060
|
+
$metadata: deserializeMetadata(output)
|
|
2061
|
+
});
|
|
2062
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2063
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2064
|
+
branches: (_) => de_Branches(_, context),
|
|
2065
|
+
nextToken: import_smithy_client.expectString
|
|
2066
|
+
});
|
|
2067
|
+
Object.assign(contents, doc);
|
|
2068
|
+
return contents;
|
|
2069
|
+
}, "de_ListBranchesCommand");
|
|
2070
|
+
var de_ListBranchesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2071
|
+
const parsedOutput = {
|
|
2072
|
+
...output,
|
|
2073
|
+
body: await parseErrorBody(output.body, context)
|
|
2074
|
+
};
|
|
2075
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2076
|
+
switch (errorCode) {
|
|
2077
|
+
case "BadRequestException":
|
|
2078
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2079
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2080
|
+
case "InternalFailureException":
|
|
2081
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2082
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2083
|
+
case "UnauthorizedException":
|
|
2084
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2085
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2086
|
+
default:
|
|
2087
|
+
const parsedBody = parsedOutput.body;
|
|
2088
|
+
return throwDefaultError({
|
|
2089
|
+
output,
|
|
2090
|
+
parsedBody,
|
|
2091
|
+
errorCode
|
|
2092
|
+
});
|
|
2093
|
+
}
|
|
2094
|
+
}, "de_ListBranchesCommandError");
|
|
2095
|
+
var de_ListDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2096
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2097
|
+
return de_ListDomainAssociationsCommandError(output, context);
|
|
2098
|
+
}
|
|
2099
|
+
const contents = (0, import_smithy_client.map)({
|
|
2100
|
+
$metadata: deserializeMetadata(output)
|
|
2101
|
+
});
|
|
2102
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2103
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2104
|
+
domainAssociations: import_smithy_client._json,
|
|
2105
|
+
nextToken: import_smithy_client.expectString
|
|
2106
|
+
});
|
|
2107
|
+
Object.assign(contents, doc);
|
|
2108
|
+
return contents;
|
|
2109
|
+
}, "de_ListDomainAssociationsCommand");
|
|
2110
|
+
var de_ListDomainAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2111
|
+
const parsedOutput = {
|
|
2112
|
+
...output,
|
|
2113
|
+
body: await parseErrorBody(output.body, context)
|
|
2114
|
+
};
|
|
2115
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2116
|
+
switch (errorCode) {
|
|
2117
|
+
case "BadRequestException":
|
|
2118
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2119
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2120
|
+
case "InternalFailureException":
|
|
2121
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2122
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2123
|
+
case "UnauthorizedException":
|
|
2124
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2125
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2126
|
+
default:
|
|
2127
|
+
const parsedBody = parsedOutput.body;
|
|
2128
|
+
return throwDefaultError({
|
|
2129
|
+
output,
|
|
2130
|
+
parsedBody,
|
|
2131
|
+
errorCode
|
|
2132
|
+
});
|
|
2133
|
+
}
|
|
2134
|
+
}, "de_ListDomainAssociationsCommandError");
|
|
2135
|
+
var de_ListJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2136
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2137
|
+
return de_ListJobsCommandError(output, context);
|
|
2138
|
+
}
|
|
2139
|
+
const contents = (0, import_smithy_client.map)({
|
|
2140
|
+
$metadata: deserializeMetadata(output)
|
|
2141
|
+
});
|
|
2142
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2143
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2144
|
+
jobSummaries: (_) => de_JobSummaries(_, context),
|
|
2145
|
+
nextToken: import_smithy_client.expectString
|
|
2146
|
+
});
|
|
2147
|
+
Object.assign(contents, doc);
|
|
2148
|
+
return contents;
|
|
2149
|
+
}, "de_ListJobsCommand");
|
|
2150
|
+
var de_ListJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2151
|
+
const parsedOutput = {
|
|
2152
|
+
...output,
|
|
2153
|
+
body: await parseErrorBody(output.body, context)
|
|
2154
|
+
};
|
|
2155
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2156
|
+
switch (errorCode) {
|
|
2157
|
+
case "BadRequestException":
|
|
2158
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2159
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2160
|
+
case "InternalFailureException":
|
|
2161
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2162
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2163
|
+
case "LimitExceededException":
|
|
2164
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
2165
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2166
|
+
case "UnauthorizedException":
|
|
2167
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2168
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2169
|
+
default:
|
|
2170
|
+
const parsedBody = parsedOutput.body;
|
|
2171
|
+
return throwDefaultError({
|
|
2172
|
+
output,
|
|
2173
|
+
parsedBody,
|
|
2174
|
+
errorCode
|
|
2175
|
+
});
|
|
2176
|
+
}
|
|
2177
|
+
}, "de_ListJobsCommandError");
|
|
2178
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2179
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2180
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2181
|
+
}
|
|
2182
|
+
const contents = (0, import_smithy_client.map)({
|
|
2183
|
+
$metadata: deserializeMetadata(output)
|
|
2184
|
+
});
|
|
2185
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2186
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2187
|
+
tags: import_smithy_client._json
|
|
2188
|
+
});
|
|
2189
|
+
Object.assign(contents, doc);
|
|
2190
|
+
return contents;
|
|
2191
|
+
}, "de_ListTagsForResourceCommand");
|
|
2192
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2193
|
+
const parsedOutput = {
|
|
2194
|
+
...output,
|
|
2195
|
+
body: await parseErrorBody(output.body, context)
|
|
2196
|
+
};
|
|
2197
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2198
|
+
switch (errorCode) {
|
|
2199
|
+
case "BadRequestException":
|
|
2200
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2201
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2202
|
+
case "InternalFailureException":
|
|
2203
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2204
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2205
|
+
case "ResourceNotFoundException":
|
|
2206
|
+
case "com.amazonaws.amplify#ResourceNotFoundException":
|
|
2207
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2208
|
+
default:
|
|
2209
|
+
const parsedBody = parsedOutput.body;
|
|
2210
|
+
return throwDefaultError({
|
|
2211
|
+
output,
|
|
2212
|
+
parsedBody,
|
|
2213
|
+
errorCode
|
|
2214
|
+
});
|
|
2215
|
+
}
|
|
2216
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2217
|
+
var de_ListWebhooksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2218
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2219
|
+
return de_ListWebhooksCommandError(output, context);
|
|
2220
|
+
}
|
|
2221
|
+
const contents = (0, import_smithy_client.map)({
|
|
2222
|
+
$metadata: deserializeMetadata(output)
|
|
2223
|
+
});
|
|
2224
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2225
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2226
|
+
nextToken: import_smithy_client.expectString,
|
|
2227
|
+
webhooks: (_) => de_Webhooks(_, context)
|
|
2228
|
+
});
|
|
2229
|
+
Object.assign(contents, doc);
|
|
2230
|
+
return contents;
|
|
2231
|
+
}, "de_ListWebhooksCommand");
|
|
2232
|
+
var de_ListWebhooksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2233
|
+
const parsedOutput = {
|
|
2234
|
+
...output,
|
|
2235
|
+
body: await parseErrorBody(output.body, context)
|
|
2236
|
+
};
|
|
2237
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2238
|
+
switch (errorCode) {
|
|
2239
|
+
case "BadRequestException":
|
|
2240
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2241
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2242
|
+
case "InternalFailureException":
|
|
2243
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2244
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2245
|
+
case "LimitExceededException":
|
|
2246
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
2247
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2248
|
+
case "UnauthorizedException":
|
|
2249
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2250
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2251
|
+
default:
|
|
2252
|
+
const parsedBody = parsedOutput.body;
|
|
2253
|
+
return throwDefaultError({
|
|
2254
|
+
output,
|
|
2255
|
+
parsedBody,
|
|
2256
|
+
errorCode
|
|
2257
|
+
});
|
|
2258
|
+
}
|
|
2259
|
+
}, "de_ListWebhooksCommandError");
|
|
2260
|
+
var de_StartDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2261
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2262
|
+
return de_StartDeploymentCommandError(output, context);
|
|
2263
|
+
}
|
|
2264
|
+
const contents = (0, import_smithy_client.map)({
|
|
2265
|
+
$metadata: deserializeMetadata(output)
|
|
2266
|
+
});
|
|
2267
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2268
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2269
|
+
jobSummary: (_) => de_JobSummary(_, context)
|
|
2270
|
+
});
|
|
2271
|
+
Object.assign(contents, doc);
|
|
2272
|
+
return contents;
|
|
2273
|
+
}, "de_StartDeploymentCommand");
|
|
2274
|
+
var de_StartDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2275
|
+
const parsedOutput = {
|
|
2276
|
+
...output,
|
|
2277
|
+
body: await parseErrorBody(output.body, context)
|
|
2278
|
+
};
|
|
2279
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2280
|
+
switch (errorCode) {
|
|
2281
|
+
case "BadRequestException":
|
|
2282
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2283
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2284
|
+
case "InternalFailureException":
|
|
2285
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2286
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2287
|
+
case "LimitExceededException":
|
|
2288
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
2289
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2290
|
+
case "NotFoundException":
|
|
2291
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
2292
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2293
|
+
case "UnauthorizedException":
|
|
2294
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2295
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2296
|
+
default:
|
|
2297
|
+
const parsedBody = parsedOutput.body;
|
|
2298
|
+
return throwDefaultError({
|
|
2299
|
+
output,
|
|
2300
|
+
parsedBody,
|
|
2301
|
+
errorCode
|
|
2302
|
+
});
|
|
2303
|
+
}
|
|
2304
|
+
}, "de_StartDeploymentCommandError");
|
|
2305
|
+
var de_StartJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2306
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2307
|
+
return de_StartJobCommandError(output, context);
|
|
2308
|
+
}
|
|
2309
|
+
const contents = (0, import_smithy_client.map)({
|
|
2310
|
+
$metadata: deserializeMetadata(output)
|
|
2311
|
+
});
|
|
2312
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2313
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2314
|
+
jobSummary: (_) => de_JobSummary(_, context)
|
|
2315
|
+
});
|
|
2316
|
+
Object.assign(contents, doc);
|
|
2317
|
+
return contents;
|
|
2318
|
+
}, "de_StartJobCommand");
|
|
2319
|
+
var de_StartJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2320
|
+
const parsedOutput = {
|
|
2321
|
+
...output,
|
|
2322
|
+
body: await parseErrorBody(output.body, context)
|
|
2323
|
+
};
|
|
2324
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2325
|
+
switch (errorCode) {
|
|
2326
|
+
case "BadRequestException":
|
|
2327
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2328
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2329
|
+
case "InternalFailureException":
|
|
2330
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2331
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2332
|
+
case "LimitExceededException":
|
|
2333
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
2334
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2335
|
+
case "NotFoundException":
|
|
2336
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
2337
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2338
|
+
case "UnauthorizedException":
|
|
2339
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2340
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2341
|
+
default:
|
|
2342
|
+
const parsedBody = parsedOutput.body;
|
|
2343
|
+
return throwDefaultError({
|
|
2344
|
+
output,
|
|
2345
|
+
parsedBody,
|
|
2346
|
+
errorCode
|
|
2347
|
+
});
|
|
2348
|
+
}
|
|
2349
|
+
}, "de_StartJobCommandError");
|
|
2350
|
+
var de_StopJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2351
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2352
|
+
return de_StopJobCommandError(output, context);
|
|
2353
|
+
}
|
|
2354
|
+
const contents = (0, import_smithy_client.map)({
|
|
2355
|
+
$metadata: deserializeMetadata(output)
|
|
2356
|
+
});
|
|
2357
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2358
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2359
|
+
jobSummary: (_) => de_JobSummary(_, context)
|
|
2360
|
+
});
|
|
2361
|
+
Object.assign(contents, doc);
|
|
2362
|
+
return contents;
|
|
2363
|
+
}, "de_StopJobCommand");
|
|
2364
|
+
var de_StopJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2365
|
+
const parsedOutput = {
|
|
2366
|
+
...output,
|
|
2367
|
+
body: await parseErrorBody(output.body, context)
|
|
2368
|
+
};
|
|
2369
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2370
|
+
switch (errorCode) {
|
|
2371
|
+
case "BadRequestException":
|
|
2372
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2373
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2374
|
+
case "InternalFailureException":
|
|
2375
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2376
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2377
|
+
case "LimitExceededException":
|
|
2378
|
+
case "com.amazonaws.amplify#LimitExceededException":
|
|
2379
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2380
|
+
case "NotFoundException":
|
|
2381
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
2382
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2383
|
+
case "UnauthorizedException":
|
|
2384
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2385
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2386
|
+
default:
|
|
2387
|
+
const parsedBody = parsedOutput.body;
|
|
2388
|
+
return throwDefaultError({
|
|
2389
|
+
output,
|
|
2390
|
+
parsedBody,
|
|
2391
|
+
errorCode
|
|
2392
|
+
});
|
|
2393
|
+
}
|
|
2394
|
+
}, "de_StopJobCommandError");
|
|
2395
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2396
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2397
|
+
return de_TagResourceCommandError(output, context);
|
|
2398
|
+
}
|
|
2399
|
+
const contents = (0, import_smithy_client.map)({
|
|
2400
|
+
$metadata: deserializeMetadata(output)
|
|
2401
|
+
});
|
|
2402
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2403
|
+
return contents;
|
|
2404
|
+
}, "de_TagResourceCommand");
|
|
2405
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2406
|
+
const parsedOutput = {
|
|
2407
|
+
...output,
|
|
2408
|
+
body: await parseErrorBody(output.body, context)
|
|
2409
|
+
};
|
|
2410
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2411
|
+
switch (errorCode) {
|
|
2412
|
+
case "BadRequestException":
|
|
2413
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2414
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2415
|
+
case "InternalFailureException":
|
|
2416
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2417
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2418
|
+
case "ResourceNotFoundException":
|
|
2419
|
+
case "com.amazonaws.amplify#ResourceNotFoundException":
|
|
2420
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2421
|
+
default:
|
|
2422
|
+
const parsedBody = parsedOutput.body;
|
|
2423
|
+
return throwDefaultError({
|
|
2424
|
+
output,
|
|
2425
|
+
parsedBody,
|
|
2426
|
+
errorCode
|
|
2427
|
+
});
|
|
2428
|
+
}
|
|
2429
|
+
}, "de_TagResourceCommandError");
|
|
2430
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2431
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2432
|
+
return de_UntagResourceCommandError(output, context);
|
|
2433
|
+
}
|
|
2434
|
+
const contents = (0, import_smithy_client.map)({
|
|
2435
|
+
$metadata: deserializeMetadata(output)
|
|
2436
|
+
});
|
|
2437
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2438
|
+
return contents;
|
|
2439
|
+
}, "de_UntagResourceCommand");
|
|
2440
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2441
|
+
const parsedOutput = {
|
|
2442
|
+
...output,
|
|
2443
|
+
body: await parseErrorBody(output.body, context)
|
|
2444
|
+
};
|
|
2445
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2446
|
+
switch (errorCode) {
|
|
2447
|
+
case "BadRequestException":
|
|
2448
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2449
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2450
|
+
case "InternalFailureException":
|
|
2451
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2452
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2453
|
+
case "ResourceNotFoundException":
|
|
2454
|
+
case "com.amazonaws.amplify#ResourceNotFoundException":
|
|
2455
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2456
|
+
default:
|
|
2457
|
+
const parsedBody = parsedOutput.body;
|
|
2458
|
+
return throwDefaultError({
|
|
2459
|
+
output,
|
|
2460
|
+
parsedBody,
|
|
2461
|
+
errorCode
|
|
2462
|
+
});
|
|
2463
|
+
}
|
|
2464
|
+
}, "de_UntagResourceCommandError");
|
|
2465
|
+
var de_UpdateAppCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2466
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2467
|
+
return de_UpdateAppCommandError(output, context);
|
|
2468
|
+
}
|
|
2469
|
+
const contents = (0, import_smithy_client.map)({
|
|
2470
|
+
$metadata: deserializeMetadata(output)
|
|
2471
|
+
});
|
|
2472
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2473
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2474
|
+
app: (_) => de_App(_, context)
|
|
2475
|
+
});
|
|
2476
|
+
Object.assign(contents, doc);
|
|
2477
|
+
return contents;
|
|
2478
|
+
}, "de_UpdateAppCommand");
|
|
2479
|
+
var de_UpdateAppCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2480
|
+
const parsedOutput = {
|
|
2481
|
+
...output,
|
|
2482
|
+
body: await parseErrorBody(output.body, context)
|
|
2483
|
+
};
|
|
2484
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2485
|
+
switch (errorCode) {
|
|
2486
|
+
case "BadRequestException":
|
|
2487
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2488
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2489
|
+
case "InternalFailureException":
|
|
2490
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2491
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2492
|
+
case "NotFoundException":
|
|
2493
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
2494
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2495
|
+
case "UnauthorizedException":
|
|
2496
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2497
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2498
|
+
default:
|
|
2499
|
+
const parsedBody = parsedOutput.body;
|
|
2500
|
+
return throwDefaultError({
|
|
2501
|
+
output,
|
|
2502
|
+
parsedBody,
|
|
2503
|
+
errorCode
|
|
2504
|
+
});
|
|
2505
|
+
}
|
|
2506
|
+
}, "de_UpdateAppCommandError");
|
|
2507
|
+
var de_UpdateBranchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2508
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2509
|
+
return de_UpdateBranchCommandError(output, context);
|
|
2510
|
+
}
|
|
2511
|
+
const contents = (0, import_smithy_client.map)({
|
|
2512
|
+
$metadata: deserializeMetadata(output)
|
|
2513
|
+
});
|
|
2514
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2515
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2516
|
+
branch: (_) => de_Branch(_, context)
|
|
2517
|
+
});
|
|
2518
|
+
Object.assign(contents, doc);
|
|
2519
|
+
return contents;
|
|
2520
|
+
}, "de_UpdateBranchCommand");
|
|
2521
|
+
var de_UpdateBranchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2522
|
+
const parsedOutput = {
|
|
2523
|
+
...output,
|
|
2524
|
+
body: await parseErrorBody(output.body, context)
|
|
2525
|
+
};
|
|
2526
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2527
|
+
switch (errorCode) {
|
|
2528
|
+
case "BadRequestException":
|
|
2529
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2530
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2531
|
+
case "DependentServiceFailureException":
|
|
2532
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
2533
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
2534
|
+
case "InternalFailureException":
|
|
2535
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2536
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2537
|
+
case "NotFoundException":
|
|
2538
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
2539
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2540
|
+
case "UnauthorizedException":
|
|
2541
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2542
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2543
|
+
default:
|
|
2544
|
+
const parsedBody = parsedOutput.body;
|
|
2545
|
+
return throwDefaultError({
|
|
2546
|
+
output,
|
|
2547
|
+
parsedBody,
|
|
2548
|
+
errorCode
|
|
2549
|
+
});
|
|
2550
|
+
}
|
|
2551
|
+
}, "de_UpdateBranchCommandError");
|
|
2552
|
+
var de_UpdateDomainAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2553
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2554
|
+
return de_UpdateDomainAssociationCommandError(output, context);
|
|
2555
|
+
}
|
|
2556
|
+
const contents = (0, import_smithy_client.map)({
|
|
2557
|
+
$metadata: deserializeMetadata(output)
|
|
2558
|
+
});
|
|
2559
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2560
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2561
|
+
domainAssociation: import_smithy_client._json
|
|
2562
|
+
});
|
|
2563
|
+
Object.assign(contents, doc);
|
|
2564
|
+
return contents;
|
|
2565
|
+
}, "de_UpdateDomainAssociationCommand");
|
|
2566
|
+
var de_UpdateDomainAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2567
|
+
const parsedOutput = {
|
|
2568
|
+
...output,
|
|
2569
|
+
body: await parseErrorBody(output.body, context)
|
|
2570
|
+
};
|
|
2571
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2572
|
+
switch (errorCode) {
|
|
2573
|
+
case "BadRequestException":
|
|
2574
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2575
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2576
|
+
case "DependentServiceFailureException":
|
|
2577
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
2578
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
2579
|
+
case "InternalFailureException":
|
|
2580
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2581
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2582
|
+
case "NotFoundException":
|
|
2583
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
2584
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2585
|
+
case "UnauthorizedException":
|
|
2586
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2587
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2588
|
+
default:
|
|
2589
|
+
const parsedBody = parsedOutput.body;
|
|
2590
|
+
return throwDefaultError({
|
|
2591
|
+
output,
|
|
2592
|
+
parsedBody,
|
|
2593
|
+
errorCode
|
|
2594
|
+
});
|
|
2595
|
+
}
|
|
2596
|
+
}, "de_UpdateDomainAssociationCommandError");
|
|
2597
|
+
var de_UpdateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2598
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2599
|
+
return de_UpdateWebhookCommandError(output, context);
|
|
2600
|
+
}
|
|
2601
|
+
const contents = (0, import_smithy_client.map)({
|
|
2602
|
+
$metadata: deserializeMetadata(output)
|
|
2603
|
+
});
|
|
2604
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2605
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2606
|
+
webhook: (_) => de_Webhook(_, context)
|
|
2607
|
+
});
|
|
2608
|
+
Object.assign(contents, doc);
|
|
2609
|
+
return contents;
|
|
2610
|
+
}, "de_UpdateWebhookCommand");
|
|
2611
|
+
var de_UpdateWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2612
|
+
const parsedOutput = {
|
|
2613
|
+
...output,
|
|
2614
|
+
body: await parseErrorBody(output.body, context)
|
|
2615
|
+
};
|
|
2616
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2617
|
+
switch (errorCode) {
|
|
2618
|
+
case "BadRequestException":
|
|
2619
|
+
case "com.amazonaws.amplify#BadRequestException":
|
|
2620
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2621
|
+
case "DependentServiceFailureException":
|
|
2622
|
+
case "com.amazonaws.amplify#DependentServiceFailureException":
|
|
2623
|
+
throw await de_DependentServiceFailureExceptionRes(parsedOutput, context);
|
|
2624
|
+
case "InternalFailureException":
|
|
2625
|
+
case "com.amazonaws.amplify#InternalFailureException":
|
|
2626
|
+
throw await de_InternalFailureExceptionRes(parsedOutput, context);
|
|
2627
|
+
case "NotFoundException":
|
|
2628
|
+
case "com.amazonaws.amplify#NotFoundException":
|
|
2629
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2630
|
+
case "UnauthorizedException":
|
|
2631
|
+
case "com.amazonaws.amplify#UnauthorizedException":
|
|
2632
|
+
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2633
|
+
default:
|
|
2634
|
+
const parsedBody = parsedOutput.body;
|
|
2635
|
+
return throwDefaultError({
|
|
2636
|
+
output,
|
|
2637
|
+
parsedBody,
|
|
2638
|
+
errorCode
|
|
2639
|
+
});
|
|
2640
|
+
}
|
|
2641
|
+
}, "de_UpdateWebhookCommandError");
|
|
2642
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(AmplifyServiceException);
|
|
2643
|
+
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2644
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2645
|
+
const data = parsedOutput.body;
|
|
2646
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2647
|
+
message: import_smithy_client.expectString
|
|
2648
|
+
});
|
|
2649
|
+
Object.assign(contents, doc);
|
|
2650
|
+
const exception = new BadRequestException({
|
|
2651
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2652
|
+
...contents
|
|
2653
|
+
});
|
|
2654
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2655
|
+
}, "de_BadRequestExceptionRes");
|
|
2656
|
+
var de_DependentServiceFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2657
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2658
|
+
const data = parsedOutput.body;
|
|
2659
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2660
|
+
message: import_smithy_client.expectString
|
|
2661
|
+
});
|
|
2662
|
+
Object.assign(contents, doc);
|
|
2663
|
+
const exception = new DependentServiceFailureException({
|
|
2664
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2665
|
+
...contents
|
|
2666
|
+
});
|
|
2667
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2668
|
+
}, "de_DependentServiceFailureExceptionRes");
|
|
2669
|
+
var de_InternalFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2670
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2671
|
+
const data = parsedOutput.body;
|
|
2672
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2673
|
+
message: import_smithy_client.expectString
|
|
2674
|
+
});
|
|
2675
|
+
Object.assign(contents, doc);
|
|
2676
|
+
const exception = new InternalFailureException({
|
|
2677
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2678
|
+
...contents
|
|
2679
|
+
});
|
|
2680
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2681
|
+
}, "de_InternalFailureExceptionRes");
|
|
2682
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2683
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2684
|
+
const data = parsedOutput.body;
|
|
2685
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2686
|
+
message: import_smithy_client.expectString
|
|
2687
|
+
});
|
|
2688
|
+
Object.assign(contents, doc);
|
|
2689
|
+
const exception = new LimitExceededException({
|
|
2690
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2691
|
+
...contents
|
|
2692
|
+
});
|
|
2693
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2694
|
+
}, "de_LimitExceededExceptionRes");
|
|
2695
|
+
var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2696
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2697
|
+
const data = parsedOutput.body;
|
|
2698
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2699
|
+
message: import_smithy_client.expectString
|
|
2700
|
+
});
|
|
2701
|
+
Object.assign(contents, doc);
|
|
2702
|
+
const exception = new NotFoundException({
|
|
2703
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2704
|
+
...contents
|
|
2705
|
+
});
|
|
2706
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2707
|
+
}, "de_NotFoundExceptionRes");
|
|
2708
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2709
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2710
|
+
const data = parsedOutput.body;
|
|
2711
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2712
|
+
code: import_smithy_client.expectString,
|
|
2713
|
+
message: import_smithy_client.expectString
|
|
2714
|
+
});
|
|
2715
|
+
Object.assign(contents, doc);
|
|
2716
|
+
const exception = new ResourceNotFoundException({
|
|
2717
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2718
|
+
...contents
|
|
2719
|
+
});
|
|
2720
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2721
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2722
|
+
var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2723
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2724
|
+
const data = parsedOutput.body;
|
|
2725
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2726
|
+
message: import_smithy_client.expectString
|
|
2727
|
+
});
|
|
2728
|
+
Object.assign(contents, doc);
|
|
2729
|
+
const exception = new UnauthorizedException({
|
|
2730
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2731
|
+
...contents
|
|
2732
|
+
});
|
|
2733
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2734
|
+
}, "de_UnauthorizedExceptionRes");
|
|
2735
|
+
var de_App = /* @__PURE__ */ __name((output, context) => {
|
|
2736
|
+
return (0, import_smithy_client.take)(output, {
|
|
2737
|
+
appArn: import_smithy_client.expectString,
|
|
2738
|
+
appId: import_smithy_client.expectString,
|
|
2739
|
+
autoBranchCreationConfig: import_smithy_client._json,
|
|
2740
|
+
autoBranchCreationPatterns: import_smithy_client._json,
|
|
2741
|
+
basicAuthCredentials: import_smithy_client.expectString,
|
|
2742
|
+
buildSpec: import_smithy_client.expectString,
|
|
2743
|
+
createTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2744
|
+
customHeaders: import_smithy_client.expectString,
|
|
2745
|
+
customRules: import_smithy_client._json,
|
|
2746
|
+
defaultDomain: import_smithy_client.expectString,
|
|
2747
|
+
description: import_smithy_client.expectString,
|
|
2748
|
+
enableAutoBranchCreation: import_smithy_client.expectBoolean,
|
|
2749
|
+
enableBasicAuth: import_smithy_client.expectBoolean,
|
|
2750
|
+
enableBranchAutoBuild: import_smithy_client.expectBoolean,
|
|
2751
|
+
enableBranchAutoDeletion: import_smithy_client.expectBoolean,
|
|
2752
|
+
environmentVariables: import_smithy_client._json,
|
|
2753
|
+
iamServiceRoleArn: import_smithy_client.expectString,
|
|
2754
|
+
name: import_smithy_client.expectString,
|
|
2755
|
+
platform: import_smithy_client.expectString,
|
|
2756
|
+
productionBranch: (_) => de_ProductionBranch(_, context),
|
|
2757
|
+
repository: import_smithy_client.expectString,
|
|
2758
|
+
repositoryCloneMethod: import_smithy_client.expectString,
|
|
2759
|
+
tags: import_smithy_client._json,
|
|
2760
|
+
updateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2761
|
+
});
|
|
2762
|
+
}, "de_App");
|
|
2763
|
+
var de_Apps = /* @__PURE__ */ __name((output, context) => {
|
|
2764
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2765
|
+
return de_App(entry, context);
|
|
2766
|
+
});
|
|
2767
|
+
return retVal;
|
|
2768
|
+
}, "de_Apps");
|
|
2769
|
+
var de_BackendEnvironment = /* @__PURE__ */ __name((output, context) => {
|
|
2770
|
+
return (0, import_smithy_client.take)(output, {
|
|
2771
|
+
backendEnvironmentArn: import_smithy_client.expectString,
|
|
2772
|
+
createTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2773
|
+
deploymentArtifacts: import_smithy_client.expectString,
|
|
2774
|
+
environmentName: import_smithy_client.expectString,
|
|
2775
|
+
stackName: import_smithy_client.expectString,
|
|
2776
|
+
updateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2777
|
+
});
|
|
2778
|
+
}, "de_BackendEnvironment");
|
|
2779
|
+
var de_BackendEnvironments = /* @__PURE__ */ __name((output, context) => {
|
|
2780
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2781
|
+
return de_BackendEnvironment(entry, context);
|
|
2782
|
+
});
|
|
2783
|
+
return retVal;
|
|
2784
|
+
}, "de_BackendEnvironments");
|
|
2785
|
+
var de_Branch = /* @__PURE__ */ __name((output, context) => {
|
|
2786
|
+
return (0, import_smithy_client.take)(output, {
|
|
2787
|
+
activeJobId: import_smithy_client.expectString,
|
|
2788
|
+
associatedResources: import_smithy_client._json,
|
|
2789
|
+
backend: import_smithy_client._json,
|
|
2790
|
+
backendEnvironmentArn: import_smithy_client.expectString,
|
|
2791
|
+
basicAuthCredentials: import_smithy_client.expectString,
|
|
2792
|
+
branchArn: import_smithy_client.expectString,
|
|
2793
|
+
branchName: import_smithy_client.expectString,
|
|
2794
|
+
buildSpec: import_smithy_client.expectString,
|
|
2795
|
+
createTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2796
|
+
customDomains: import_smithy_client._json,
|
|
2797
|
+
description: import_smithy_client.expectString,
|
|
2798
|
+
destinationBranch: import_smithy_client.expectString,
|
|
2799
|
+
displayName: import_smithy_client.expectString,
|
|
2800
|
+
enableAutoBuild: import_smithy_client.expectBoolean,
|
|
2801
|
+
enableBasicAuth: import_smithy_client.expectBoolean,
|
|
2802
|
+
enableNotification: import_smithy_client.expectBoolean,
|
|
2803
|
+
enablePerformanceMode: import_smithy_client.expectBoolean,
|
|
2804
|
+
enablePullRequestPreview: import_smithy_client.expectBoolean,
|
|
2805
|
+
environmentVariables: import_smithy_client._json,
|
|
2806
|
+
framework: import_smithy_client.expectString,
|
|
2807
|
+
pullRequestEnvironmentName: import_smithy_client.expectString,
|
|
2808
|
+
sourceBranch: import_smithy_client.expectString,
|
|
2809
|
+
stage: import_smithy_client.expectString,
|
|
2810
|
+
tags: import_smithy_client._json,
|
|
2811
|
+
thumbnailUrl: import_smithy_client.expectString,
|
|
2812
|
+
totalNumberOfJobs: import_smithy_client.expectString,
|
|
2813
|
+
ttl: import_smithy_client.expectString,
|
|
2814
|
+
updateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2815
|
+
});
|
|
2816
|
+
}, "de_Branch");
|
|
2817
|
+
var de_Branches = /* @__PURE__ */ __name((output, context) => {
|
|
2818
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2819
|
+
return de_Branch(entry, context);
|
|
2820
|
+
});
|
|
2821
|
+
return retVal;
|
|
2822
|
+
}, "de_Branches");
|
|
2823
|
+
var de_Job = /* @__PURE__ */ __name((output, context) => {
|
|
2824
|
+
return (0, import_smithy_client.take)(output, {
|
|
2825
|
+
steps: (_) => de_Steps(_, context),
|
|
2826
|
+
summary: (_) => de_JobSummary(_, context)
|
|
2827
|
+
});
|
|
2828
|
+
}, "de_Job");
|
|
2829
|
+
var de_JobSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
2830
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2831
|
+
return de_JobSummary(entry, context);
|
|
2832
|
+
});
|
|
2833
|
+
return retVal;
|
|
2834
|
+
}, "de_JobSummaries");
|
|
2835
|
+
var de_JobSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2836
|
+
return (0, import_smithy_client.take)(output, {
|
|
2837
|
+
commitId: import_smithy_client.expectString,
|
|
2838
|
+
commitMessage: import_smithy_client.expectString,
|
|
2839
|
+
commitTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2840
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2841
|
+
jobArn: import_smithy_client.expectString,
|
|
2842
|
+
jobId: import_smithy_client.expectString,
|
|
2843
|
+
jobType: import_smithy_client.expectString,
|
|
2844
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2845
|
+
status: import_smithy_client.expectString
|
|
2846
|
+
});
|
|
2847
|
+
}, "de_JobSummary");
|
|
2848
|
+
var de_ProductionBranch = /* @__PURE__ */ __name((output, context) => {
|
|
2849
|
+
return (0, import_smithy_client.take)(output, {
|
|
2850
|
+
branchName: import_smithy_client.expectString,
|
|
2851
|
+
lastDeployTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2852
|
+
status: import_smithy_client.expectString,
|
|
2853
|
+
thumbnailUrl: import_smithy_client.expectString
|
|
2854
|
+
});
|
|
2855
|
+
}, "de_ProductionBranch");
|
|
2856
|
+
var de_Step = /* @__PURE__ */ __name((output, context) => {
|
|
2857
|
+
return (0, import_smithy_client.take)(output, {
|
|
2858
|
+
artifactsUrl: import_smithy_client.expectString,
|
|
2859
|
+
context: import_smithy_client.expectString,
|
|
2860
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2861
|
+
logUrl: import_smithy_client.expectString,
|
|
2862
|
+
screenshots: import_smithy_client._json,
|
|
2863
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2864
|
+
status: import_smithy_client.expectString,
|
|
2865
|
+
statusReason: import_smithy_client.expectString,
|
|
2866
|
+
stepName: import_smithy_client.expectString,
|
|
2867
|
+
testArtifactsUrl: import_smithy_client.expectString,
|
|
2868
|
+
testConfigUrl: import_smithy_client.expectString
|
|
2869
|
+
});
|
|
2870
|
+
}, "de_Step");
|
|
2871
|
+
var de_Steps = /* @__PURE__ */ __name((output, context) => {
|
|
2872
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2873
|
+
return de_Step(entry, context);
|
|
2874
|
+
});
|
|
2875
|
+
return retVal;
|
|
2876
|
+
}, "de_Steps");
|
|
2877
|
+
var de_Webhook = /* @__PURE__ */ __name((output, context) => {
|
|
2878
|
+
return (0, import_smithy_client.take)(output, {
|
|
2879
|
+
branchName: import_smithy_client.expectString,
|
|
2880
|
+
createTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2881
|
+
description: import_smithy_client.expectString,
|
|
2882
|
+
updateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2883
|
+
webhookArn: import_smithy_client.expectString,
|
|
2884
|
+
webhookId: import_smithy_client.expectString,
|
|
2885
|
+
webhookUrl: import_smithy_client.expectString
|
|
2886
|
+
});
|
|
2887
|
+
}, "de_Webhook");
|
|
2888
|
+
var de_Webhooks = /* @__PURE__ */ __name((output, context) => {
|
|
2889
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2890
|
+
return de_Webhook(entry, context);
|
|
2891
|
+
});
|
|
2892
|
+
return retVal;
|
|
2893
|
+
}, "de_Webhooks");
|
|
2894
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2895
|
+
httpStatusCode: output.statusCode,
|
|
2896
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2897
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2898
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2899
|
+
}), "deserializeMetadata");
|
|
2900
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2901
|
+
var _eN = "environmentName";
|
|
2902
|
+
var _mR = "maxResults";
|
|
2903
|
+
var _nT = "nextToken";
|
|
2904
|
+
var _tK = "tagKeys";
|
|
2905
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2906
|
+
if (encoded.length) {
|
|
2907
|
+
return JSON.parse(encoded);
|
|
2908
|
+
}
|
|
2909
|
+
return {};
|
|
2910
|
+
}), "parseBody");
|
|
2911
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2912
|
+
const value = await parseBody(errorBody, context);
|
|
2913
|
+
value.message = value.message ?? value.Message;
|
|
2914
|
+
return value;
|
|
2915
|
+
}, "parseErrorBody");
|
|
2916
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2917
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2918
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2919
|
+
let cleanValue = rawValue;
|
|
2920
|
+
if (typeof cleanValue === "number") {
|
|
2921
|
+
cleanValue = cleanValue.toString();
|
|
2922
|
+
}
|
|
2923
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2924
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2925
|
+
}
|
|
2926
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2927
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2928
|
+
}
|
|
2929
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2930
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2931
|
+
}
|
|
2932
|
+
return cleanValue;
|
|
2933
|
+
}, "sanitizeErrorCode");
|
|
2934
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2935
|
+
if (headerKey !== void 0) {
|
|
2936
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2937
|
+
}
|
|
2938
|
+
if (data.code !== void 0) {
|
|
2939
|
+
return sanitizeErrorCode(data.code);
|
|
2940
|
+
}
|
|
2941
|
+
if (data["__type"] !== void 0) {
|
|
2942
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2943
|
+
}
|
|
2944
|
+
}, "loadRestJsonErrorCode");
|
|
2945
|
+
|
|
2946
|
+
// src/commands/CreateAppCommand.ts
|
|
2947
|
+
var _CreateAppCommand = class _CreateAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2948
|
+
...commonParams
|
|
2949
|
+
}).m(function(Command, cs, config, o) {
|
|
2950
|
+
return [
|
|
2951
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2952
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2953
|
+
];
|
|
2954
|
+
}).s("Amplify", "CreateApp", {}).n("AmplifyClient", "CreateAppCommand").f(CreateAppRequestFilterSensitiveLog, CreateAppResultFilterSensitiveLog).ser(se_CreateAppCommand).de(de_CreateAppCommand).build() {
|
|
2955
|
+
};
|
|
2956
|
+
__name(_CreateAppCommand, "CreateAppCommand");
|
|
2957
|
+
var CreateAppCommand = _CreateAppCommand;
|
|
2958
|
+
|
|
2959
|
+
// src/commands/CreateBackendEnvironmentCommand.ts
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
|
|
2964
|
+
var _CreateBackendEnvironmentCommand = class _CreateBackendEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2965
|
+
...commonParams
|
|
2966
|
+
}).m(function(Command, cs, config, o) {
|
|
2967
|
+
return [
|
|
2968
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2969
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2970
|
+
];
|
|
2971
|
+
}).s("Amplify", "CreateBackendEnvironment", {}).n("AmplifyClient", "CreateBackendEnvironmentCommand").f(void 0, void 0).ser(se_CreateBackendEnvironmentCommand).de(de_CreateBackendEnvironmentCommand).build() {
|
|
2972
|
+
};
|
|
2973
|
+
__name(_CreateBackendEnvironmentCommand, "CreateBackendEnvironmentCommand");
|
|
2974
|
+
var CreateBackendEnvironmentCommand = _CreateBackendEnvironmentCommand;
|
|
2975
|
+
|
|
2976
|
+
// src/commands/CreateBranchCommand.ts
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
var _CreateBranchCommand = class _CreateBranchCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2982
|
+
...commonParams
|
|
2983
|
+
}).m(function(Command, cs, config, o) {
|
|
2984
|
+
return [
|
|
2985
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2986
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2987
|
+
];
|
|
2988
|
+
}).s("Amplify", "CreateBranch", {}).n("AmplifyClient", "CreateBranchCommand").f(CreateBranchRequestFilterSensitiveLog, CreateBranchResultFilterSensitiveLog).ser(se_CreateBranchCommand).de(de_CreateBranchCommand).build() {
|
|
2989
|
+
};
|
|
2990
|
+
__name(_CreateBranchCommand, "CreateBranchCommand");
|
|
2991
|
+
var CreateBranchCommand = _CreateBranchCommand;
|
|
2992
|
+
|
|
2993
|
+
// src/commands/CreateDeploymentCommand.ts
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
|
|
2998
|
+
var _CreateDeploymentCommand = class _CreateDeploymentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2999
|
+
...commonParams
|
|
3000
|
+
}).m(function(Command, cs, config, o) {
|
|
3001
|
+
return [
|
|
3002
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3003
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3004
|
+
];
|
|
3005
|
+
}).s("Amplify", "CreateDeployment", {}).n("AmplifyClient", "CreateDeploymentCommand").f(void 0, void 0).ser(se_CreateDeploymentCommand).de(de_CreateDeploymentCommand).build() {
|
|
3006
|
+
};
|
|
3007
|
+
__name(_CreateDeploymentCommand, "CreateDeploymentCommand");
|
|
3008
|
+
var CreateDeploymentCommand = _CreateDeploymentCommand;
|
|
3009
|
+
|
|
3010
|
+
// src/commands/CreateDomainAssociationCommand.ts
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
var _CreateDomainAssociationCommand = class _CreateDomainAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3016
|
+
...commonParams
|
|
3017
|
+
}).m(function(Command, cs, config, o) {
|
|
3018
|
+
return [
|
|
3019
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3020
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3021
|
+
];
|
|
3022
|
+
}).s("Amplify", "CreateDomainAssociation", {}).n("AmplifyClient", "CreateDomainAssociationCommand").f(void 0, void 0).ser(se_CreateDomainAssociationCommand).de(de_CreateDomainAssociationCommand).build() {
|
|
3023
|
+
};
|
|
3024
|
+
__name(_CreateDomainAssociationCommand, "CreateDomainAssociationCommand");
|
|
3025
|
+
var CreateDomainAssociationCommand = _CreateDomainAssociationCommand;
|
|
3026
|
+
|
|
3027
|
+
// src/commands/CreateWebhookCommand.ts
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
var _CreateWebhookCommand = class _CreateWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3033
|
+
...commonParams
|
|
3034
|
+
}).m(function(Command, cs, config, o) {
|
|
3035
|
+
return [
|
|
3036
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3037
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3038
|
+
];
|
|
3039
|
+
}).s("Amplify", "CreateWebhook", {}).n("AmplifyClient", "CreateWebhookCommand").f(void 0, void 0).ser(se_CreateWebhookCommand).de(de_CreateWebhookCommand).build() {
|
|
3040
|
+
};
|
|
3041
|
+
__name(_CreateWebhookCommand, "CreateWebhookCommand");
|
|
3042
|
+
var CreateWebhookCommand = _CreateWebhookCommand;
|
|
3043
|
+
|
|
3044
|
+
// src/commands/DeleteAppCommand.ts
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
var _DeleteAppCommand = class _DeleteAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3050
|
+
...commonParams
|
|
3051
|
+
}).m(function(Command, cs, config, o) {
|
|
3052
|
+
return [
|
|
3053
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3054
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3055
|
+
];
|
|
3056
|
+
}).s("Amplify", "DeleteApp", {}).n("AmplifyClient", "DeleteAppCommand").f(void 0, DeleteAppResultFilterSensitiveLog).ser(se_DeleteAppCommand).de(de_DeleteAppCommand).build() {
|
|
3057
|
+
};
|
|
3058
|
+
__name(_DeleteAppCommand, "DeleteAppCommand");
|
|
3059
|
+
var DeleteAppCommand = _DeleteAppCommand;
|
|
3060
|
+
|
|
3061
|
+
// src/commands/DeleteBackendEnvironmentCommand.ts
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
|
|
3066
|
+
var _DeleteBackendEnvironmentCommand = class _DeleteBackendEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3067
|
+
...commonParams
|
|
3068
|
+
}).m(function(Command, cs, config, o) {
|
|
3069
|
+
return [
|
|
3070
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3071
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3072
|
+
];
|
|
3073
|
+
}).s("Amplify", "DeleteBackendEnvironment", {}).n("AmplifyClient", "DeleteBackendEnvironmentCommand").f(void 0, void 0).ser(se_DeleteBackendEnvironmentCommand).de(de_DeleteBackendEnvironmentCommand).build() {
|
|
3074
|
+
};
|
|
3075
|
+
__name(_DeleteBackendEnvironmentCommand, "DeleteBackendEnvironmentCommand");
|
|
3076
|
+
var DeleteBackendEnvironmentCommand = _DeleteBackendEnvironmentCommand;
|
|
3077
|
+
|
|
3078
|
+
// src/commands/DeleteBranchCommand.ts
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
|
|
3083
|
+
var _DeleteBranchCommand = class _DeleteBranchCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3084
|
+
...commonParams
|
|
3085
|
+
}).m(function(Command, cs, config, o) {
|
|
3086
|
+
return [
|
|
3087
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3088
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3089
|
+
];
|
|
3090
|
+
}).s("Amplify", "DeleteBranch", {}).n("AmplifyClient", "DeleteBranchCommand").f(void 0, DeleteBranchResultFilterSensitiveLog).ser(se_DeleteBranchCommand).de(de_DeleteBranchCommand).build() {
|
|
3091
|
+
};
|
|
3092
|
+
__name(_DeleteBranchCommand, "DeleteBranchCommand");
|
|
3093
|
+
var DeleteBranchCommand = _DeleteBranchCommand;
|
|
3094
|
+
|
|
3095
|
+
// src/commands/DeleteDomainAssociationCommand.ts
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
|
|
3099
|
+
|
|
3100
|
+
var _DeleteDomainAssociationCommand = class _DeleteDomainAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3101
|
+
...commonParams
|
|
3102
|
+
}).m(function(Command, cs, config, o) {
|
|
3103
|
+
return [
|
|
3104
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3105
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3106
|
+
];
|
|
3107
|
+
}).s("Amplify", "DeleteDomainAssociation", {}).n("AmplifyClient", "DeleteDomainAssociationCommand").f(void 0, void 0).ser(se_DeleteDomainAssociationCommand).de(de_DeleteDomainAssociationCommand).build() {
|
|
3108
|
+
};
|
|
3109
|
+
__name(_DeleteDomainAssociationCommand, "DeleteDomainAssociationCommand");
|
|
3110
|
+
var DeleteDomainAssociationCommand = _DeleteDomainAssociationCommand;
|
|
3111
|
+
|
|
3112
|
+
// src/commands/DeleteJobCommand.ts
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
|
|
3116
|
+
|
|
3117
|
+
var _DeleteJobCommand = class _DeleteJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3118
|
+
...commonParams
|
|
3119
|
+
}).m(function(Command, cs, config, o) {
|
|
3120
|
+
return [
|
|
3121
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3122
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3123
|
+
];
|
|
3124
|
+
}).s("Amplify", "DeleteJob", {}).n("AmplifyClient", "DeleteJobCommand").f(void 0, void 0).ser(se_DeleteJobCommand).de(de_DeleteJobCommand).build() {
|
|
3125
|
+
};
|
|
3126
|
+
__name(_DeleteJobCommand, "DeleteJobCommand");
|
|
3127
|
+
var DeleteJobCommand = _DeleteJobCommand;
|
|
3128
|
+
|
|
3129
|
+
// src/commands/DeleteWebhookCommand.ts
|
|
3130
|
+
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
|
|
3134
|
+
var _DeleteWebhookCommand = class _DeleteWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3135
|
+
...commonParams
|
|
3136
|
+
}).m(function(Command, cs, config, o) {
|
|
3137
|
+
return [
|
|
3138
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3139
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3140
|
+
];
|
|
3141
|
+
}).s("Amplify", "DeleteWebhook", {}).n("AmplifyClient", "DeleteWebhookCommand").f(void 0, void 0).ser(se_DeleteWebhookCommand).de(de_DeleteWebhookCommand).build() {
|
|
3142
|
+
};
|
|
3143
|
+
__name(_DeleteWebhookCommand, "DeleteWebhookCommand");
|
|
3144
|
+
var DeleteWebhookCommand = _DeleteWebhookCommand;
|
|
3145
|
+
|
|
3146
|
+
// src/commands/GenerateAccessLogsCommand.ts
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
var _GenerateAccessLogsCommand = class _GenerateAccessLogsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3152
|
+
...commonParams
|
|
3153
|
+
}).m(function(Command, cs, config, o) {
|
|
3154
|
+
return [
|
|
3155
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3156
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3157
|
+
];
|
|
3158
|
+
}).s("Amplify", "GenerateAccessLogs", {}).n("AmplifyClient", "GenerateAccessLogsCommand").f(void 0, void 0).ser(se_GenerateAccessLogsCommand).de(de_GenerateAccessLogsCommand).build() {
|
|
3159
|
+
};
|
|
3160
|
+
__name(_GenerateAccessLogsCommand, "GenerateAccessLogsCommand");
|
|
3161
|
+
var GenerateAccessLogsCommand = _GenerateAccessLogsCommand;
|
|
3162
|
+
|
|
3163
|
+
// src/commands/GetAppCommand.ts
|
|
3164
|
+
|
|
3165
|
+
|
|
3166
|
+
|
|
3167
|
+
|
|
3168
|
+
var _GetAppCommand = class _GetAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3169
|
+
...commonParams
|
|
3170
|
+
}).m(function(Command, cs, config, o) {
|
|
3171
|
+
return [
|
|
3172
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3173
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3174
|
+
];
|
|
3175
|
+
}).s("Amplify", "GetApp", {}).n("AmplifyClient", "GetAppCommand").f(void 0, GetAppResultFilterSensitiveLog).ser(se_GetAppCommand).de(de_GetAppCommand).build() {
|
|
3176
|
+
};
|
|
3177
|
+
__name(_GetAppCommand, "GetAppCommand");
|
|
3178
|
+
var GetAppCommand = _GetAppCommand;
|
|
3179
|
+
|
|
3180
|
+
// src/commands/GetArtifactUrlCommand.ts
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
|
|
3185
|
+
var _GetArtifactUrlCommand = class _GetArtifactUrlCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3186
|
+
...commonParams
|
|
3187
|
+
}).m(function(Command, cs, config, o) {
|
|
3188
|
+
return [
|
|
3189
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3190
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3191
|
+
];
|
|
3192
|
+
}).s("Amplify", "GetArtifactUrl", {}).n("AmplifyClient", "GetArtifactUrlCommand").f(void 0, void 0).ser(se_GetArtifactUrlCommand).de(de_GetArtifactUrlCommand).build() {
|
|
3193
|
+
};
|
|
3194
|
+
__name(_GetArtifactUrlCommand, "GetArtifactUrlCommand");
|
|
3195
|
+
var GetArtifactUrlCommand = _GetArtifactUrlCommand;
|
|
3196
|
+
|
|
3197
|
+
// src/commands/GetBackendEnvironmentCommand.ts
|
|
3198
|
+
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
|
|
3202
|
+
var _GetBackendEnvironmentCommand = class _GetBackendEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3203
|
+
...commonParams
|
|
3204
|
+
}).m(function(Command, cs, config, o) {
|
|
3205
|
+
return [
|
|
3206
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3207
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3208
|
+
];
|
|
3209
|
+
}).s("Amplify", "GetBackendEnvironment", {}).n("AmplifyClient", "GetBackendEnvironmentCommand").f(void 0, void 0).ser(se_GetBackendEnvironmentCommand).de(de_GetBackendEnvironmentCommand).build() {
|
|
3210
|
+
};
|
|
3211
|
+
__name(_GetBackendEnvironmentCommand, "GetBackendEnvironmentCommand");
|
|
3212
|
+
var GetBackendEnvironmentCommand = _GetBackendEnvironmentCommand;
|
|
3213
|
+
|
|
3214
|
+
// src/commands/GetBranchCommand.ts
|
|
3215
|
+
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
var _GetBranchCommand = class _GetBranchCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3220
|
+
...commonParams
|
|
3221
|
+
}).m(function(Command, cs, config, o) {
|
|
3222
|
+
return [
|
|
3223
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3224
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3225
|
+
];
|
|
3226
|
+
}).s("Amplify", "GetBranch", {}).n("AmplifyClient", "GetBranchCommand").f(void 0, GetBranchResultFilterSensitiveLog).ser(se_GetBranchCommand).de(de_GetBranchCommand).build() {
|
|
3227
|
+
};
|
|
3228
|
+
__name(_GetBranchCommand, "GetBranchCommand");
|
|
3229
|
+
var GetBranchCommand = _GetBranchCommand;
|
|
3230
|
+
|
|
3231
|
+
// src/commands/GetDomainAssociationCommand.ts
|
|
3232
|
+
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
|
|
3236
|
+
var _GetDomainAssociationCommand = class _GetDomainAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3237
|
+
...commonParams
|
|
3238
|
+
}).m(function(Command, cs, config, o) {
|
|
3239
|
+
return [
|
|
3240
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3241
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3242
|
+
];
|
|
3243
|
+
}).s("Amplify", "GetDomainAssociation", {}).n("AmplifyClient", "GetDomainAssociationCommand").f(void 0, void 0).ser(se_GetDomainAssociationCommand).de(de_GetDomainAssociationCommand).build() {
|
|
3244
|
+
};
|
|
3245
|
+
__name(_GetDomainAssociationCommand, "GetDomainAssociationCommand");
|
|
3246
|
+
var GetDomainAssociationCommand = _GetDomainAssociationCommand;
|
|
3247
|
+
|
|
3248
|
+
// src/commands/GetJobCommand.ts
|
|
3249
|
+
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
var _GetJobCommand = class _GetJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3254
|
+
...commonParams
|
|
3255
|
+
}).m(function(Command, cs, config, o) {
|
|
3256
|
+
return [
|
|
3257
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3258
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3259
|
+
];
|
|
3260
|
+
}).s("Amplify", "GetJob", {}).n("AmplifyClient", "GetJobCommand").f(void 0, void 0).ser(se_GetJobCommand).de(de_GetJobCommand).build() {
|
|
3261
|
+
};
|
|
3262
|
+
__name(_GetJobCommand, "GetJobCommand");
|
|
3263
|
+
var GetJobCommand = _GetJobCommand;
|
|
3264
|
+
|
|
3265
|
+
// src/commands/GetWebhookCommand.ts
|
|
3266
|
+
|
|
3267
|
+
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
var _GetWebhookCommand = class _GetWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3271
|
+
...commonParams
|
|
3272
|
+
}).m(function(Command, cs, config, o) {
|
|
3273
|
+
return [
|
|
3274
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3275
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3276
|
+
];
|
|
3277
|
+
}).s("Amplify", "GetWebhook", {}).n("AmplifyClient", "GetWebhookCommand").f(void 0, void 0).ser(se_GetWebhookCommand).de(de_GetWebhookCommand).build() {
|
|
3278
|
+
};
|
|
3279
|
+
__name(_GetWebhookCommand, "GetWebhookCommand");
|
|
3280
|
+
var GetWebhookCommand = _GetWebhookCommand;
|
|
3281
|
+
|
|
3282
|
+
// src/commands/ListAppsCommand.ts
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
var _ListAppsCommand = class _ListAppsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3288
|
+
...commonParams
|
|
3289
|
+
}).m(function(Command, cs, config, o) {
|
|
3290
|
+
return [
|
|
3291
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3292
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3293
|
+
];
|
|
3294
|
+
}).s("Amplify", "ListApps", {}).n("AmplifyClient", "ListAppsCommand").f(void 0, ListAppsResultFilterSensitiveLog).ser(se_ListAppsCommand).de(de_ListAppsCommand).build() {
|
|
3295
|
+
};
|
|
3296
|
+
__name(_ListAppsCommand, "ListAppsCommand");
|
|
3297
|
+
var ListAppsCommand = _ListAppsCommand;
|
|
3298
|
+
|
|
3299
|
+
// src/commands/ListArtifactsCommand.ts
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
var _ListArtifactsCommand = class _ListArtifactsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3305
|
+
...commonParams
|
|
3306
|
+
}).m(function(Command, cs, config, o) {
|
|
3307
|
+
return [
|
|
3308
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3309
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3310
|
+
];
|
|
3311
|
+
}).s("Amplify", "ListArtifacts", {}).n("AmplifyClient", "ListArtifactsCommand").f(void 0, void 0).ser(se_ListArtifactsCommand).de(de_ListArtifactsCommand).build() {
|
|
3312
|
+
};
|
|
3313
|
+
__name(_ListArtifactsCommand, "ListArtifactsCommand");
|
|
3314
|
+
var ListArtifactsCommand = _ListArtifactsCommand;
|
|
3315
|
+
|
|
3316
|
+
// src/commands/ListBackendEnvironmentsCommand.ts
|
|
3317
|
+
|
|
3318
|
+
|
|
3319
|
+
|
|
3320
|
+
|
|
3321
|
+
var _ListBackendEnvironmentsCommand = class _ListBackendEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3322
|
+
...commonParams
|
|
3323
|
+
}).m(function(Command, cs, config, o) {
|
|
3324
|
+
return [
|
|
3325
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3326
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3327
|
+
];
|
|
3328
|
+
}).s("Amplify", "ListBackendEnvironments", {}).n("AmplifyClient", "ListBackendEnvironmentsCommand").f(void 0, void 0).ser(se_ListBackendEnvironmentsCommand).de(de_ListBackendEnvironmentsCommand).build() {
|
|
3329
|
+
};
|
|
3330
|
+
__name(_ListBackendEnvironmentsCommand, "ListBackendEnvironmentsCommand");
|
|
3331
|
+
var ListBackendEnvironmentsCommand = _ListBackendEnvironmentsCommand;
|
|
3332
|
+
|
|
3333
|
+
// src/commands/ListBranchesCommand.ts
|
|
3334
|
+
|
|
3335
|
+
|
|
3336
|
+
|
|
3337
|
+
|
|
3338
|
+
var _ListBranchesCommand = class _ListBranchesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3339
|
+
...commonParams
|
|
3340
|
+
}).m(function(Command, cs, config, o) {
|
|
3341
|
+
return [
|
|
3342
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3343
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3344
|
+
];
|
|
3345
|
+
}).s("Amplify", "ListBranches", {}).n("AmplifyClient", "ListBranchesCommand").f(void 0, ListBranchesResultFilterSensitiveLog).ser(se_ListBranchesCommand).de(de_ListBranchesCommand).build() {
|
|
3346
|
+
};
|
|
3347
|
+
__name(_ListBranchesCommand, "ListBranchesCommand");
|
|
3348
|
+
var ListBranchesCommand = _ListBranchesCommand;
|
|
3349
|
+
|
|
3350
|
+
// src/commands/ListDomainAssociationsCommand.ts
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
|
|
3354
|
+
|
|
3355
|
+
var _ListDomainAssociationsCommand = class _ListDomainAssociationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3356
|
+
...commonParams
|
|
3357
|
+
}).m(function(Command, cs, config, o) {
|
|
3358
|
+
return [
|
|
3359
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3360
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3361
|
+
];
|
|
3362
|
+
}).s("Amplify", "ListDomainAssociations", {}).n("AmplifyClient", "ListDomainAssociationsCommand").f(void 0, void 0).ser(se_ListDomainAssociationsCommand).de(de_ListDomainAssociationsCommand).build() {
|
|
3363
|
+
};
|
|
3364
|
+
__name(_ListDomainAssociationsCommand, "ListDomainAssociationsCommand");
|
|
3365
|
+
var ListDomainAssociationsCommand = _ListDomainAssociationsCommand;
|
|
3366
|
+
|
|
3367
|
+
// src/commands/ListJobsCommand.ts
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
|
|
3371
|
+
|
|
3372
|
+
var _ListJobsCommand = class _ListJobsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3373
|
+
...commonParams
|
|
3374
|
+
}).m(function(Command, cs, config, o) {
|
|
3375
|
+
return [
|
|
3376
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3377
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3378
|
+
];
|
|
3379
|
+
}).s("Amplify", "ListJobs", {}).n("AmplifyClient", "ListJobsCommand").f(void 0, void 0).ser(se_ListJobsCommand).de(de_ListJobsCommand).build() {
|
|
3380
|
+
};
|
|
3381
|
+
__name(_ListJobsCommand, "ListJobsCommand");
|
|
3382
|
+
var ListJobsCommand = _ListJobsCommand;
|
|
3383
|
+
|
|
3384
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3390
|
+
...commonParams
|
|
3391
|
+
}).m(function(Command, cs, config, o) {
|
|
3392
|
+
return [
|
|
3393
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3394
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3395
|
+
];
|
|
3396
|
+
}).s("Amplify", "ListTagsForResource", {}).n("AmplifyClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3397
|
+
};
|
|
3398
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3399
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3400
|
+
|
|
3401
|
+
// src/commands/ListWebhooksCommand.ts
|
|
3402
|
+
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
|
|
3406
|
+
var _ListWebhooksCommand = class _ListWebhooksCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3407
|
+
...commonParams
|
|
3408
|
+
}).m(function(Command, cs, config, o) {
|
|
3409
|
+
return [
|
|
3410
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3411
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3412
|
+
];
|
|
3413
|
+
}).s("Amplify", "ListWebhooks", {}).n("AmplifyClient", "ListWebhooksCommand").f(void 0, void 0).ser(se_ListWebhooksCommand).de(de_ListWebhooksCommand).build() {
|
|
3414
|
+
};
|
|
3415
|
+
__name(_ListWebhooksCommand, "ListWebhooksCommand");
|
|
3416
|
+
var ListWebhooksCommand = _ListWebhooksCommand;
|
|
3417
|
+
|
|
3418
|
+
// src/commands/StartDeploymentCommand.ts
|
|
3419
|
+
|
|
3420
|
+
|
|
3421
|
+
|
|
3422
|
+
|
|
3423
|
+
var _StartDeploymentCommand = class _StartDeploymentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3424
|
+
...commonParams
|
|
3425
|
+
}).m(function(Command, cs, config, o) {
|
|
3426
|
+
return [
|
|
3427
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3428
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3429
|
+
];
|
|
3430
|
+
}).s("Amplify", "StartDeployment", {}).n("AmplifyClient", "StartDeploymentCommand").f(void 0, void 0).ser(se_StartDeploymentCommand).de(de_StartDeploymentCommand).build() {
|
|
3431
|
+
};
|
|
3432
|
+
__name(_StartDeploymentCommand, "StartDeploymentCommand");
|
|
3433
|
+
var StartDeploymentCommand = _StartDeploymentCommand;
|
|
3434
|
+
|
|
3435
|
+
// src/commands/StartJobCommand.ts
|
|
3436
|
+
|
|
3437
|
+
|
|
3438
|
+
|
|
3439
|
+
|
|
3440
|
+
var _StartJobCommand = class _StartJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3441
|
+
...commonParams
|
|
3442
|
+
}).m(function(Command, cs, config, o) {
|
|
3443
|
+
return [
|
|
3444
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3445
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3446
|
+
];
|
|
3447
|
+
}).s("Amplify", "StartJob", {}).n("AmplifyClient", "StartJobCommand").f(void 0, void 0).ser(se_StartJobCommand).de(de_StartJobCommand).build() {
|
|
3448
|
+
};
|
|
3449
|
+
__name(_StartJobCommand, "StartJobCommand");
|
|
3450
|
+
var StartJobCommand = _StartJobCommand;
|
|
3451
|
+
|
|
3452
|
+
// src/commands/StopJobCommand.ts
|
|
3453
|
+
|
|
3454
|
+
|
|
3455
|
+
|
|
3456
|
+
|
|
3457
|
+
var _StopJobCommand = class _StopJobCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3458
|
+
...commonParams
|
|
3459
|
+
}).m(function(Command, cs, config, o) {
|
|
3460
|
+
return [
|
|
3461
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3462
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3463
|
+
];
|
|
3464
|
+
}).s("Amplify", "StopJob", {}).n("AmplifyClient", "StopJobCommand").f(void 0, void 0).ser(se_StopJobCommand).de(de_StopJobCommand).build() {
|
|
3465
|
+
};
|
|
3466
|
+
__name(_StopJobCommand, "StopJobCommand");
|
|
3467
|
+
var StopJobCommand = _StopJobCommand;
|
|
3468
|
+
|
|
3469
|
+
// src/commands/TagResourceCommand.ts
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3475
|
+
...commonParams
|
|
3476
|
+
}).m(function(Command, cs, config, o) {
|
|
3477
|
+
return [
|
|
3478
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3479
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3480
|
+
];
|
|
3481
|
+
}).s("Amplify", "TagResource", {}).n("AmplifyClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3482
|
+
};
|
|
3483
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3484
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3485
|
+
|
|
3486
|
+
// src/commands/UntagResourceCommand.ts
|
|
3487
|
+
|
|
3488
|
+
|
|
3489
|
+
|
|
3490
|
+
|
|
3491
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3492
|
+
...commonParams
|
|
3493
|
+
}).m(function(Command, cs, config, o) {
|
|
3494
|
+
return [
|
|
3495
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3496
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3497
|
+
];
|
|
3498
|
+
}).s("Amplify", "UntagResource", {}).n("AmplifyClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3499
|
+
};
|
|
3500
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3501
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3502
|
+
|
|
3503
|
+
// src/commands/UpdateAppCommand.ts
|
|
3504
|
+
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
|
|
3508
|
+
var _UpdateAppCommand = class _UpdateAppCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3509
|
+
...commonParams
|
|
3510
|
+
}).m(function(Command, cs, config, o) {
|
|
3511
|
+
return [
|
|
3512
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3513
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3514
|
+
];
|
|
3515
|
+
}).s("Amplify", "UpdateApp", {}).n("AmplifyClient", "UpdateAppCommand").f(UpdateAppRequestFilterSensitiveLog, UpdateAppResultFilterSensitiveLog).ser(se_UpdateAppCommand).de(de_UpdateAppCommand).build() {
|
|
3516
|
+
};
|
|
3517
|
+
__name(_UpdateAppCommand, "UpdateAppCommand");
|
|
3518
|
+
var UpdateAppCommand = _UpdateAppCommand;
|
|
3519
|
+
|
|
3520
|
+
// src/commands/UpdateBranchCommand.ts
|
|
3521
|
+
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
|
|
3525
|
+
var _UpdateBranchCommand = class _UpdateBranchCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3526
|
+
...commonParams
|
|
3527
|
+
}).m(function(Command, cs, config, o) {
|
|
3528
|
+
return [
|
|
3529
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3530
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3531
|
+
];
|
|
3532
|
+
}).s("Amplify", "UpdateBranch", {}).n("AmplifyClient", "UpdateBranchCommand").f(UpdateBranchRequestFilterSensitiveLog, UpdateBranchResultFilterSensitiveLog).ser(se_UpdateBranchCommand).de(de_UpdateBranchCommand).build() {
|
|
3533
|
+
};
|
|
3534
|
+
__name(_UpdateBranchCommand, "UpdateBranchCommand");
|
|
3535
|
+
var UpdateBranchCommand = _UpdateBranchCommand;
|
|
3536
|
+
|
|
3537
|
+
// src/commands/UpdateDomainAssociationCommand.ts
|
|
3538
|
+
|
|
3539
|
+
|
|
3540
|
+
|
|
3541
|
+
|
|
3542
|
+
var _UpdateDomainAssociationCommand = class _UpdateDomainAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3543
|
+
...commonParams
|
|
3544
|
+
}).m(function(Command, cs, config, o) {
|
|
3545
|
+
return [
|
|
3546
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3547
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3548
|
+
];
|
|
3549
|
+
}).s("Amplify", "UpdateDomainAssociation", {}).n("AmplifyClient", "UpdateDomainAssociationCommand").f(void 0, void 0).ser(se_UpdateDomainAssociationCommand).de(de_UpdateDomainAssociationCommand).build() {
|
|
3550
|
+
};
|
|
3551
|
+
__name(_UpdateDomainAssociationCommand, "UpdateDomainAssociationCommand");
|
|
3552
|
+
var UpdateDomainAssociationCommand = _UpdateDomainAssociationCommand;
|
|
3553
|
+
|
|
3554
|
+
// src/commands/UpdateWebhookCommand.ts
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
|
|
3558
|
+
|
|
3559
|
+
var _UpdateWebhookCommand = class _UpdateWebhookCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3560
|
+
...commonParams
|
|
3561
|
+
}).m(function(Command, cs, config, o) {
|
|
3562
|
+
return [
|
|
3563
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3564
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3565
|
+
];
|
|
3566
|
+
}).s("Amplify", "UpdateWebhook", {}).n("AmplifyClient", "UpdateWebhookCommand").f(void 0, void 0).ser(se_UpdateWebhookCommand).de(de_UpdateWebhookCommand).build() {
|
|
3567
|
+
};
|
|
3568
|
+
__name(_UpdateWebhookCommand, "UpdateWebhookCommand");
|
|
3569
|
+
var UpdateWebhookCommand = _UpdateWebhookCommand;
|
|
3570
|
+
|
|
3571
|
+
// src/Amplify.ts
|
|
3572
|
+
var commands = {
|
|
3573
|
+
CreateAppCommand,
|
|
3574
|
+
CreateBackendEnvironmentCommand,
|
|
3575
|
+
CreateBranchCommand,
|
|
3576
|
+
CreateDeploymentCommand,
|
|
3577
|
+
CreateDomainAssociationCommand,
|
|
3578
|
+
CreateWebhookCommand,
|
|
3579
|
+
DeleteAppCommand,
|
|
3580
|
+
DeleteBackendEnvironmentCommand,
|
|
3581
|
+
DeleteBranchCommand,
|
|
3582
|
+
DeleteDomainAssociationCommand,
|
|
3583
|
+
DeleteJobCommand,
|
|
3584
|
+
DeleteWebhookCommand,
|
|
3585
|
+
GenerateAccessLogsCommand,
|
|
3586
|
+
GetAppCommand,
|
|
3587
|
+
GetArtifactUrlCommand,
|
|
3588
|
+
GetBackendEnvironmentCommand,
|
|
3589
|
+
GetBranchCommand,
|
|
3590
|
+
GetDomainAssociationCommand,
|
|
3591
|
+
GetJobCommand,
|
|
3592
|
+
GetWebhookCommand,
|
|
3593
|
+
ListAppsCommand,
|
|
3594
|
+
ListArtifactsCommand,
|
|
3595
|
+
ListBackendEnvironmentsCommand,
|
|
3596
|
+
ListBranchesCommand,
|
|
3597
|
+
ListDomainAssociationsCommand,
|
|
3598
|
+
ListJobsCommand,
|
|
3599
|
+
ListTagsForResourceCommand,
|
|
3600
|
+
ListWebhooksCommand,
|
|
3601
|
+
StartDeploymentCommand,
|
|
3602
|
+
StartJobCommand,
|
|
3603
|
+
StopJobCommand,
|
|
3604
|
+
TagResourceCommand,
|
|
3605
|
+
UntagResourceCommand,
|
|
3606
|
+
UpdateAppCommand,
|
|
3607
|
+
UpdateBranchCommand,
|
|
3608
|
+
UpdateDomainAssociationCommand,
|
|
3609
|
+
UpdateWebhookCommand
|
|
3610
|
+
};
|
|
3611
|
+
var _Amplify = class _Amplify extends AmplifyClient {
|
|
3612
|
+
};
|
|
3613
|
+
__name(_Amplify, "Amplify");
|
|
3614
|
+
var Amplify = _Amplify;
|
|
3615
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Amplify);
|
|
3616
|
+
|
|
3617
|
+
// src/pagination/ListAppsPaginator.ts
|
|
3618
|
+
|
|
3619
|
+
var paginateListApps = (0, import_core.createPaginator)(AmplifyClient, ListAppsCommand, "nextToken", "nextToken", "maxResults");
|
|
3620
|
+
|
|
3621
|
+
// src/pagination/ListBranchesPaginator.ts
|
|
3622
|
+
|
|
3623
|
+
var paginateListBranches = (0, import_core.createPaginator)(AmplifyClient, ListBranchesCommand, "nextToken", "nextToken", "maxResults");
|
|
3624
|
+
|
|
3625
|
+
// src/pagination/ListDomainAssociationsPaginator.ts
|
|
3626
|
+
|
|
3627
|
+
var paginateListDomainAssociations = (0, import_core.createPaginator)(AmplifyClient, ListDomainAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3628
|
+
|
|
3629
|
+
// src/pagination/ListJobsPaginator.ts
|
|
3630
|
+
|
|
3631
|
+
var paginateListJobs = (0, import_core.createPaginator)(AmplifyClient, ListJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
3632
|
+
|
|
3633
|
+
// src/index.ts
|
|
3634
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3635
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3636
|
+
0 && (module.exports = {
|
|
3637
|
+
Amplify,
|
|
3638
|
+
AmplifyClient,
|
|
3639
|
+
AmplifyServiceException,
|
|
3640
|
+
AppFilterSensitiveLog,
|
|
3641
|
+
AutoBranchCreationConfigFilterSensitiveLog,
|
|
3642
|
+
BadRequestException,
|
|
3643
|
+
BranchFilterSensitiveLog,
|
|
3644
|
+
CreateAppCommand,
|
|
3645
|
+
CreateAppRequestFilterSensitiveLog,
|
|
3646
|
+
CreateAppResultFilterSensitiveLog,
|
|
3647
|
+
CreateBackendEnvironmentCommand,
|
|
3648
|
+
CreateBranchCommand,
|
|
3649
|
+
CreateBranchRequestFilterSensitiveLog,
|
|
3650
|
+
CreateBranchResultFilterSensitiveLog,
|
|
3651
|
+
CreateDeploymentCommand,
|
|
3652
|
+
CreateDomainAssociationCommand,
|
|
3653
|
+
CreateWebhookCommand,
|
|
3654
|
+
DeleteAppCommand,
|
|
3655
|
+
DeleteAppResultFilterSensitiveLog,
|
|
3656
|
+
DeleteBackendEnvironmentCommand,
|
|
3657
|
+
DeleteBranchCommand,
|
|
3658
|
+
DeleteBranchResultFilterSensitiveLog,
|
|
3659
|
+
DeleteDomainAssociationCommand,
|
|
3660
|
+
DeleteJobCommand,
|
|
3661
|
+
DeleteWebhookCommand,
|
|
3662
|
+
DependentServiceFailureException,
|
|
3663
|
+
DomainStatus,
|
|
3664
|
+
GenerateAccessLogsCommand,
|
|
3665
|
+
GetAppCommand,
|
|
3666
|
+
GetAppResultFilterSensitiveLog,
|
|
3667
|
+
GetArtifactUrlCommand,
|
|
3668
|
+
GetBackendEnvironmentCommand,
|
|
3669
|
+
GetBranchCommand,
|
|
3670
|
+
GetBranchResultFilterSensitiveLog,
|
|
3671
|
+
GetDomainAssociationCommand,
|
|
3672
|
+
GetJobCommand,
|
|
3673
|
+
GetWebhookCommand,
|
|
3674
|
+
InternalFailureException,
|
|
3675
|
+
JobStatus,
|
|
3676
|
+
JobType,
|
|
3677
|
+
LimitExceededException,
|
|
3678
|
+
ListAppsCommand,
|
|
3679
|
+
ListAppsResultFilterSensitiveLog,
|
|
3680
|
+
ListArtifactsCommand,
|
|
3681
|
+
ListBackendEnvironmentsCommand,
|
|
3682
|
+
ListBranchesCommand,
|
|
3683
|
+
ListBranchesResultFilterSensitiveLog,
|
|
3684
|
+
ListDomainAssociationsCommand,
|
|
3685
|
+
ListJobsCommand,
|
|
3686
|
+
ListTagsForResourceCommand,
|
|
3687
|
+
ListWebhooksCommand,
|
|
3688
|
+
NotFoundException,
|
|
3689
|
+
Platform,
|
|
3690
|
+
RepositoryCloneMethod,
|
|
3691
|
+
ResourceNotFoundException,
|
|
3692
|
+
Stage,
|
|
3693
|
+
StartDeploymentCommand,
|
|
3694
|
+
StartJobCommand,
|
|
3695
|
+
StopJobCommand,
|
|
3696
|
+
TagResourceCommand,
|
|
3697
|
+
UnauthorizedException,
|
|
3698
|
+
UntagResourceCommand,
|
|
3699
|
+
UpdateAppCommand,
|
|
3700
|
+
UpdateAppRequestFilterSensitiveLog,
|
|
3701
|
+
UpdateAppResultFilterSensitiveLog,
|
|
3702
|
+
UpdateBranchCommand,
|
|
3703
|
+
UpdateBranchRequestFilterSensitiveLog,
|
|
3704
|
+
UpdateBranchResultFilterSensitiveLog,
|
|
3705
|
+
UpdateDomainAssociationCommand,
|
|
3706
|
+
UpdateWebhookCommand,
|
|
3707
|
+
__Client,
|
|
3708
|
+
paginateListApps,
|
|
3709
|
+
paginateListBranches,
|
|
3710
|
+
paginateListDomainAssociations,
|
|
3711
|
+
paginateListJobs
|
|
3712
|
+
});
|