@aws-sdk/client-codecatalyst 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/CodeCatalyst.js +1 -87
- package/dist-cjs/CodeCatalystClient.js +1 -56
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
- package/dist-cjs/commands/CreateAccessTokenCommand.js +1 -29
- package/dist-cjs/commands/CreateDevEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/CreateProjectCommand.js +1 -28
- package/dist-cjs/commands/CreateSourceRepositoryBranchCommand.js +1 -28
- package/dist-cjs/commands/CreateSourceRepositoryCommand.js +1 -28
- package/dist-cjs/commands/DeleteAccessTokenCommand.js +1 -28
- package/dist-cjs/commands/DeleteDevEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/DeleteProjectCommand.js +1 -28
- package/dist-cjs/commands/DeleteSourceRepositoryCommand.js +1 -28
- package/dist-cjs/commands/DeleteSpaceCommand.js +1 -28
- package/dist-cjs/commands/GetDevEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/GetProjectCommand.js +1 -28
- package/dist-cjs/commands/GetSourceRepositoryCloneUrlsCommand.js +1 -28
- package/dist-cjs/commands/GetSourceRepositoryCommand.js +1 -28
- package/dist-cjs/commands/GetSpaceCommand.js +1 -28
- package/dist-cjs/commands/GetSubscriptionCommand.js +1 -28
- package/dist-cjs/commands/GetUserDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetWorkflowCommand.js +1 -28
- package/dist-cjs/commands/GetWorkflowRunCommand.js +1 -28
- package/dist-cjs/commands/ListAccessTokensCommand.js +1 -28
- package/dist-cjs/commands/ListDevEnvironmentSessionsCommand.js +1 -28
- package/dist-cjs/commands/ListDevEnvironmentsCommand.js +1 -28
- package/dist-cjs/commands/ListEventLogsCommand.js +1 -28
- package/dist-cjs/commands/ListProjectsCommand.js +1 -28
- package/dist-cjs/commands/ListSourceRepositoriesCommand.js +1 -28
- package/dist-cjs/commands/ListSourceRepositoryBranchesCommand.js +1 -28
- package/dist-cjs/commands/ListSpacesCommand.js +1 -28
- package/dist-cjs/commands/ListWorkflowRunsCommand.js +1 -28
- package/dist-cjs/commands/ListWorkflowsCommand.js +1 -28
- package/dist-cjs/commands/StartDevEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/StartDevEnvironmentSessionCommand.js +1 -29
- package/dist-cjs/commands/StartWorkflowRunCommand.js +1 -28
- package/dist-cjs/commands/StopDevEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/StopDevEnvironmentSessionCommand.js +1 -28
- package/dist-cjs/commands/UpdateDevEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/UpdateProjectCommand.js +1 -28
- package/dist-cjs/commands/UpdateSpaceCommand.js +1 -28
- package/dist-cjs/commands/VerifySessionCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -41
- package/dist-cjs/endpoint/EndpointParameters.js +1 -16
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +4028 -11
- package/dist-cjs/models/CodeCatalystServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -163
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAccessTokensPaginator.js +1 -7
- package/dist-cjs/pagination/ListDevEnvironmentSessionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListDevEnvironmentsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEventLogsPaginator.js +1 -7
- package/dist-cjs/pagination/ListProjectsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSourceRepositoriesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSourceRepositoryBranchesPaginator.js +1 -7
- package/dist-cjs/pagination/ListSpacesPaginator.js +1 -7
- package/dist-cjs/pagination/ListWorkflowRunsPaginator.js +1 -7
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -14
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2838
- package/dist-cjs/runtimeExtensions.js +1 -25
- package/dist-es/CodeCatalystClient.js +8 -8
- package/dist-types/CodeCatalystClient.d.ts +2 -2
- package/dist-types/ts3.4/CodeCatalystClient.d.ts +2 -2
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,4029 @@
|
|
|
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
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
CodeCatalyst: () => CodeCatalyst,
|
|
26
|
+
CodeCatalystClient: () => CodeCatalystClient,
|
|
27
|
+
CodeCatalystServiceException: () => CodeCatalystServiceException,
|
|
28
|
+
ComparisonOperator: () => ComparisonOperator,
|
|
29
|
+
ConflictException: () => ConflictException,
|
|
30
|
+
CreateAccessTokenCommand: () => CreateAccessTokenCommand,
|
|
31
|
+
CreateAccessTokenResponseFilterSensitiveLog: () => CreateAccessTokenResponseFilterSensitiveLog,
|
|
32
|
+
CreateDevEnvironmentCommand: () => CreateDevEnvironmentCommand,
|
|
33
|
+
CreateProjectCommand: () => CreateProjectCommand,
|
|
34
|
+
CreateSourceRepositoryBranchCommand: () => CreateSourceRepositoryBranchCommand,
|
|
35
|
+
CreateSourceRepositoryCommand: () => CreateSourceRepositoryCommand,
|
|
36
|
+
DeleteAccessTokenCommand: () => DeleteAccessTokenCommand,
|
|
37
|
+
DeleteDevEnvironmentCommand: () => DeleteDevEnvironmentCommand,
|
|
38
|
+
DeleteProjectCommand: () => DeleteProjectCommand,
|
|
39
|
+
DeleteSourceRepositoryCommand: () => DeleteSourceRepositoryCommand,
|
|
40
|
+
DeleteSpaceCommand: () => DeleteSpaceCommand,
|
|
41
|
+
DevEnvironmentAccessDetailsFilterSensitiveLog: () => DevEnvironmentAccessDetailsFilterSensitiveLog,
|
|
42
|
+
DevEnvironmentSessionType: () => DevEnvironmentSessionType,
|
|
43
|
+
DevEnvironmentStatus: () => DevEnvironmentStatus,
|
|
44
|
+
FilterKey: () => FilterKey,
|
|
45
|
+
GetDevEnvironmentCommand: () => GetDevEnvironmentCommand,
|
|
46
|
+
GetProjectCommand: () => GetProjectCommand,
|
|
47
|
+
GetSourceRepositoryCloneUrlsCommand: () => GetSourceRepositoryCloneUrlsCommand,
|
|
48
|
+
GetSourceRepositoryCommand: () => GetSourceRepositoryCommand,
|
|
49
|
+
GetSpaceCommand: () => GetSpaceCommand,
|
|
50
|
+
GetSubscriptionCommand: () => GetSubscriptionCommand,
|
|
51
|
+
GetUserDetailsCommand: () => GetUserDetailsCommand,
|
|
52
|
+
GetWorkflowCommand: () => GetWorkflowCommand,
|
|
53
|
+
GetWorkflowRunCommand: () => GetWorkflowRunCommand,
|
|
54
|
+
ListAccessTokensCommand: () => ListAccessTokensCommand,
|
|
55
|
+
ListDevEnvironmentSessionsCommand: () => ListDevEnvironmentSessionsCommand,
|
|
56
|
+
ListDevEnvironmentsCommand: () => ListDevEnvironmentsCommand,
|
|
57
|
+
ListEventLogsCommand: () => ListEventLogsCommand,
|
|
58
|
+
ListProjectsCommand: () => ListProjectsCommand,
|
|
59
|
+
ListSourceRepositoriesCommand: () => ListSourceRepositoriesCommand,
|
|
60
|
+
ListSourceRepositoryBranchesCommand: () => ListSourceRepositoryBranchesCommand,
|
|
61
|
+
ListSpacesCommand: () => ListSpacesCommand,
|
|
62
|
+
ListWorkflowRunsCommand: () => ListWorkflowRunsCommand,
|
|
63
|
+
ListWorkflowsCommand: () => ListWorkflowsCommand,
|
|
64
|
+
OperationType: () => OperationType,
|
|
65
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
66
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
67
|
+
StartDevEnvironmentCommand: () => StartDevEnvironmentCommand,
|
|
68
|
+
StartDevEnvironmentSessionCommand: () => StartDevEnvironmentSessionCommand,
|
|
69
|
+
StartDevEnvironmentSessionResponseFilterSensitiveLog: () => StartDevEnvironmentSessionResponseFilterSensitiveLog,
|
|
70
|
+
StartWorkflowRunCommand: () => StartWorkflowRunCommand,
|
|
71
|
+
StopDevEnvironmentCommand: () => StopDevEnvironmentCommand,
|
|
72
|
+
StopDevEnvironmentSessionCommand: () => StopDevEnvironmentSessionCommand,
|
|
73
|
+
ThrottlingException: () => ThrottlingException,
|
|
74
|
+
UpdateDevEnvironmentCommand: () => UpdateDevEnvironmentCommand,
|
|
75
|
+
UpdateProjectCommand: () => UpdateProjectCommand,
|
|
76
|
+
UpdateSpaceCommand: () => UpdateSpaceCommand,
|
|
77
|
+
UserType: () => UserType,
|
|
78
|
+
ValidationException: () => ValidationException,
|
|
79
|
+
VerifySessionCommand: () => VerifySessionCommand,
|
|
80
|
+
WorkflowRunMode: () => WorkflowRunMode,
|
|
81
|
+
WorkflowRunStatus: () => WorkflowRunStatus,
|
|
82
|
+
WorkflowStatus: () => WorkflowStatus,
|
|
83
|
+
_InstanceType: () => _InstanceType,
|
|
84
|
+
__Client: () => import_smithy_client.Client,
|
|
85
|
+
paginateListAccessTokens: () => paginateListAccessTokens,
|
|
86
|
+
paginateListDevEnvironmentSessions: () => paginateListDevEnvironmentSessions,
|
|
87
|
+
paginateListDevEnvironments: () => paginateListDevEnvironments,
|
|
88
|
+
paginateListEventLogs: () => paginateListEventLogs,
|
|
89
|
+
paginateListProjects: () => paginateListProjects,
|
|
90
|
+
paginateListSourceRepositories: () => paginateListSourceRepositories,
|
|
91
|
+
paginateListSourceRepositoryBranches: () => paginateListSourceRepositoryBranches,
|
|
92
|
+
paginateListSpaces: () => paginateListSpaces,
|
|
93
|
+
paginateListWorkflowRuns: () => paginateListWorkflowRuns,
|
|
94
|
+
paginateListWorkflows: () => paginateListWorkflows
|
|
95
|
+
});
|
|
96
|
+
module.exports = __toCommonJS(src_exports);
|
|
97
|
+
|
|
98
|
+
// src/CodeCatalystClient.ts
|
|
99
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
100
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
101
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
102
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
103
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
104
|
+
var import_core = require("@smithy/core");
|
|
105
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
106
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
107
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
108
|
+
|
|
109
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
110
|
+
|
|
111
|
+
// src/endpoint/EndpointParameters.ts
|
|
112
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
113
|
+
return {
|
|
114
|
+
...options,
|
|
115
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
116
|
+
defaultSigningName: "codecatalyst"
|
|
117
|
+
};
|
|
118
|
+
}, "resolveClientEndpointParameters");
|
|
119
|
+
var commonParams = {
|
|
120
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
121
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
122
|
+
Region: { type: "builtInParams", name: "region" }
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
// src/CodeCatalystClient.ts
|
|
126
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
127
|
+
|
|
128
|
+
// src/runtimeExtensions.ts
|
|
129
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
130
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
131
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
132
|
+
|
|
133
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
134
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
135
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
136
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
137
|
+
let _token = runtimeConfig.token;
|
|
138
|
+
return {
|
|
139
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
140
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
141
|
+
if (index === -1) {
|
|
142
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
143
|
+
} else {
|
|
144
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
httpAuthSchemes() {
|
|
148
|
+
return _httpAuthSchemes;
|
|
149
|
+
},
|
|
150
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
151
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
152
|
+
},
|
|
153
|
+
httpAuthSchemeProvider() {
|
|
154
|
+
return _httpAuthSchemeProvider;
|
|
155
|
+
},
|
|
156
|
+
setToken(token) {
|
|
157
|
+
_token = token;
|
|
158
|
+
},
|
|
159
|
+
token() {
|
|
160
|
+
return _token;
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
164
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
165
|
+
return {
|
|
166
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
167
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
168
|
+
token: config.token()
|
|
169
|
+
};
|
|
170
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
171
|
+
|
|
172
|
+
// src/runtimeExtensions.ts
|
|
173
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
174
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
175
|
+
const extensionConfiguration = {
|
|
176
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
177
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
178
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
179
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
180
|
+
};
|
|
181
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
182
|
+
return {
|
|
183
|
+
...runtimeConfig,
|
|
184
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
185
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
186
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
187
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
188
|
+
};
|
|
189
|
+
}, "resolveRuntimeExtensions");
|
|
190
|
+
|
|
191
|
+
// src/CodeCatalystClient.ts
|
|
192
|
+
var _CodeCatalystClient = class _CodeCatalystClient extends import_smithy_client.Client {
|
|
193
|
+
constructor(...[configuration]) {
|
|
194
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
195
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
196
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
197
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
198
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
199
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
200
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
201
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
202
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
203
|
+
super(_config_8);
|
|
204
|
+
this.config = _config_8;
|
|
205
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
206
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
207
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
208
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
210
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
211
|
+
this.middlewareStack.use(
|
|
212
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
213
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
214
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
|
215
|
+
})
|
|
216
|
+
);
|
|
217
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
221
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
222
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
223
|
+
*/
|
|
224
|
+
destroy() {
|
|
225
|
+
super.destroy();
|
|
226
|
+
}
|
|
227
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
228
|
+
return import_httpAuthSchemeProvider.defaultCodeCatalystHttpAuthSchemeParametersProvider;
|
|
229
|
+
}
|
|
230
|
+
getIdentityProviderConfigProvider() {
|
|
231
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
232
|
+
"smithy.api#httpBearerAuth": config.token
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
__name(_CodeCatalystClient, "CodeCatalystClient");
|
|
237
|
+
var CodeCatalystClient = _CodeCatalystClient;
|
|
238
|
+
|
|
239
|
+
// src/CodeCatalyst.ts
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
// src/commands/CreateAccessTokenCommand.ts
|
|
243
|
+
|
|
244
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
245
|
+
|
|
246
|
+
var import_types = require("@smithy/types");
|
|
247
|
+
|
|
248
|
+
// src/models/models_0.ts
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
// src/models/CodeCatalystServiceException.ts
|
|
252
|
+
|
|
253
|
+
var _CodeCatalystServiceException = class _CodeCatalystServiceException extends import_smithy_client.ServiceException {
|
|
254
|
+
/**
|
|
255
|
+
* @internal
|
|
256
|
+
*/
|
|
257
|
+
constructor(options) {
|
|
258
|
+
super(options);
|
|
259
|
+
Object.setPrototypeOf(this, _CodeCatalystServiceException.prototype);
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
__name(_CodeCatalystServiceException, "CodeCatalystServiceException");
|
|
263
|
+
var CodeCatalystServiceException = _CodeCatalystServiceException;
|
|
264
|
+
|
|
265
|
+
// src/models/models_0.ts
|
|
266
|
+
var _AccessDeniedException = class _AccessDeniedException extends CodeCatalystServiceException {
|
|
267
|
+
/**
|
|
268
|
+
* @internal
|
|
269
|
+
*/
|
|
270
|
+
constructor(opts) {
|
|
271
|
+
super({
|
|
272
|
+
name: "AccessDeniedException",
|
|
273
|
+
$fault: "client",
|
|
274
|
+
...opts
|
|
275
|
+
});
|
|
276
|
+
this.name = "AccessDeniedException";
|
|
277
|
+
this.$fault = "client";
|
|
278
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
282
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
283
|
+
var _ConflictException = class _ConflictException extends CodeCatalystServiceException {
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
*/
|
|
287
|
+
constructor(opts) {
|
|
288
|
+
super({
|
|
289
|
+
name: "ConflictException",
|
|
290
|
+
$fault: "client",
|
|
291
|
+
...opts
|
|
292
|
+
});
|
|
293
|
+
this.name = "ConflictException";
|
|
294
|
+
this.$fault = "client";
|
|
295
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
296
|
+
}
|
|
297
|
+
};
|
|
298
|
+
__name(_ConflictException, "ConflictException");
|
|
299
|
+
var ConflictException = _ConflictException;
|
|
300
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends CodeCatalystServiceException {
|
|
301
|
+
/**
|
|
302
|
+
* @internal
|
|
303
|
+
*/
|
|
304
|
+
constructor(opts) {
|
|
305
|
+
super({
|
|
306
|
+
name: "ResourceNotFoundException",
|
|
307
|
+
$fault: "client",
|
|
308
|
+
...opts
|
|
309
|
+
});
|
|
310
|
+
this.name = "ResourceNotFoundException";
|
|
311
|
+
this.$fault = "client";
|
|
312
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
316
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
317
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends CodeCatalystServiceException {
|
|
318
|
+
/**
|
|
319
|
+
* @internal
|
|
320
|
+
*/
|
|
321
|
+
constructor(opts) {
|
|
322
|
+
super({
|
|
323
|
+
name: "ServiceQuotaExceededException",
|
|
324
|
+
$fault: "client",
|
|
325
|
+
...opts
|
|
326
|
+
});
|
|
327
|
+
this.name = "ServiceQuotaExceededException";
|
|
328
|
+
this.$fault = "client";
|
|
329
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
333
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
334
|
+
var _ThrottlingException = class _ThrottlingException extends CodeCatalystServiceException {
|
|
335
|
+
/**
|
|
336
|
+
* @internal
|
|
337
|
+
*/
|
|
338
|
+
constructor(opts) {
|
|
339
|
+
super({
|
|
340
|
+
name: "ThrottlingException",
|
|
341
|
+
$fault: "client",
|
|
342
|
+
...opts
|
|
343
|
+
});
|
|
344
|
+
this.name = "ThrottlingException";
|
|
345
|
+
this.$fault = "client";
|
|
346
|
+
this.$retryable = {};
|
|
347
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
351
|
+
var ThrottlingException = _ThrottlingException;
|
|
352
|
+
var _ValidationException = class _ValidationException extends CodeCatalystServiceException {
|
|
353
|
+
/**
|
|
354
|
+
* @internal
|
|
355
|
+
*/
|
|
356
|
+
constructor(opts) {
|
|
357
|
+
super({
|
|
358
|
+
name: "ValidationException",
|
|
359
|
+
$fault: "client",
|
|
360
|
+
...opts
|
|
361
|
+
});
|
|
362
|
+
this.name = "ValidationException";
|
|
363
|
+
this.$fault = "client";
|
|
364
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
__name(_ValidationException, "ValidationException");
|
|
368
|
+
var ValidationException = _ValidationException;
|
|
369
|
+
var OperationType = {
|
|
370
|
+
MUTATION: "MUTATION",
|
|
371
|
+
READONLY: "READONLY"
|
|
372
|
+
};
|
|
373
|
+
var UserType = {
|
|
374
|
+
AWS_ACCOUNT: "AWS_ACCOUNT",
|
|
375
|
+
UNKNOWN: "UNKNOWN",
|
|
376
|
+
USER: "USER"
|
|
377
|
+
};
|
|
378
|
+
var _InstanceType = {
|
|
379
|
+
DEV_STANDARD1_LARGE: "dev.standard1.large",
|
|
380
|
+
DEV_STANDARD1_MEDIUM: "dev.standard1.medium",
|
|
381
|
+
DEV_STANDARD1_SMALL: "dev.standard1.small",
|
|
382
|
+
DEV_STANDARD1_XLARGE: "dev.standard1.xlarge"
|
|
383
|
+
};
|
|
384
|
+
var DevEnvironmentStatus = {
|
|
385
|
+
DELETED: "DELETED",
|
|
386
|
+
DELETING: "DELETING",
|
|
387
|
+
FAILED: "FAILED",
|
|
388
|
+
PENDING: "PENDING",
|
|
389
|
+
RUNNING: "RUNNING",
|
|
390
|
+
STARTING: "STARTING",
|
|
391
|
+
STOPPED: "STOPPED",
|
|
392
|
+
STOPPING: "STOPPING"
|
|
393
|
+
};
|
|
394
|
+
var DevEnvironmentSessionType = {
|
|
395
|
+
SSH: "SSH",
|
|
396
|
+
SSM: "SSM"
|
|
397
|
+
};
|
|
398
|
+
var ComparisonOperator = {
|
|
399
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
400
|
+
EQUALS: "EQ",
|
|
401
|
+
GREATER_THAN: "GT",
|
|
402
|
+
GREATER_THAN_OR_EQUALS: "GE",
|
|
403
|
+
LESS_THAN: "LT",
|
|
404
|
+
LESS_THAN_OR_EQUALS: "LE"
|
|
405
|
+
};
|
|
406
|
+
var FilterKey = {
|
|
407
|
+
HAS_ACCESS_TO: "hasAccessTo",
|
|
408
|
+
NAME: "name"
|
|
409
|
+
};
|
|
410
|
+
var WorkflowRunMode = {
|
|
411
|
+
PARALLEL: "PARALLEL",
|
|
412
|
+
QUEUED: "QUEUED",
|
|
413
|
+
SUPERSEDED: "SUPERSEDED"
|
|
414
|
+
};
|
|
415
|
+
var WorkflowStatus = {
|
|
416
|
+
ACTIVE: "ACTIVE",
|
|
417
|
+
INVALID: "INVALID"
|
|
418
|
+
};
|
|
419
|
+
var WorkflowRunStatus = {
|
|
420
|
+
ABANDONED: "ABANDONED",
|
|
421
|
+
CANCELLED: "CANCELLED",
|
|
422
|
+
FAILED: "FAILED",
|
|
423
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
424
|
+
NOT_RUN: "NOT_RUN",
|
|
425
|
+
PROVISIONING: "PROVISIONING",
|
|
426
|
+
STOPPED: "STOPPED",
|
|
427
|
+
STOPPING: "STOPPING",
|
|
428
|
+
SUCCEEDED: "SUCCEEDED",
|
|
429
|
+
SUPERSEDED: "SUPERSEDED",
|
|
430
|
+
VALIDATING: "VALIDATING"
|
|
431
|
+
};
|
|
432
|
+
var CreateAccessTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
433
|
+
...obj,
|
|
434
|
+
...obj.secret && { secret: import_smithy_client.SENSITIVE_STRING }
|
|
435
|
+
}), "CreateAccessTokenResponseFilterSensitiveLog");
|
|
436
|
+
var DevEnvironmentAccessDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
...obj.streamUrl && { streamUrl: import_smithy_client.SENSITIVE_STRING },
|
|
439
|
+
...obj.tokenValue && { tokenValue: import_smithy_client.SENSITIVE_STRING }
|
|
440
|
+
}), "DevEnvironmentAccessDetailsFilterSensitiveLog");
|
|
441
|
+
var StartDevEnvironmentSessionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
442
|
+
...obj,
|
|
443
|
+
...obj.accessDetails && { accessDetails: import_smithy_client.SENSITIVE_STRING }
|
|
444
|
+
}), "StartDevEnvironmentSessionResponseFilterSensitiveLog");
|
|
445
|
+
|
|
446
|
+
// src/protocols/Aws_restJson1.ts
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
var import_uuid = require("uuid");
|
|
450
|
+
var se_CreateAccessTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
451
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
452
|
+
const headers = {
|
|
453
|
+
"content-type": "application/json"
|
|
454
|
+
};
|
|
455
|
+
b.bp("/v1/accessTokens");
|
|
456
|
+
let body;
|
|
457
|
+
body = JSON.stringify(
|
|
458
|
+
(0, import_smithy_client.take)(input, {
|
|
459
|
+
expiresTime: (_) => _.toISOString().split(".")[0] + "Z",
|
|
460
|
+
name: []
|
|
461
|
+
})
|
|
462
|
+
);
|
|
463
|
+
b.m("PUT").h(headers).b(body);
|
|
464
|
+
return b.build();
|
|
465
|
+
}, "se_CreateAccessTokenCommand");
|
|
466
|
+
var se_CreateDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
467
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
468
|
+
const headers = {
|
|
469
|
+
"content-type": "application/json"
|
|
470
|
+
};
|
|
471
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments");
|
|
472
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
473
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
474
|
+
let body;
|
|
475
|
+
body = JSON.stringify(
|
|
476
|
+
(0, import_smithy_client.take)(input, {
|
|
477
|
+
alias: [],
|
|
478
|
+
clientToken: [],
|
|
479
|
+
ides: (_) => (0, import_smithy_client._json)(_),
|
|
480
|
+
inactivityTimeoutMinutes: [],
|
|
481
|
+
instanceType: [],
|
|
482
|
+
persistentStorage: (_) => (0, import_smithy_client._json)(_),
|
|
483
|
+
repositories: (_) => (0, import_smithy_client._json)(_),
|
|
484
|
+
vpcConnectionName: []
|
|
485
|
+
})
|
|
486
|
+
);
|
|
487
|
+
b.m("PUT").h(headers).b(body);
|
|
488
|
+
return b.build();
|
|
489
|
+
}, "se_CreateDevEnvironmentCommand");
|
|
490
|
+
var se_CreateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
491
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
492
|
+
const headers = {
|
|
493
|
+
"content-type": "application/json"
|
|
494
|
+
};
|
|
495
|
+
b.bp("/v1/spaces/{spaceName}/projects");
|
|
496
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
497
|
+
let body;
|
|
498
|
+
body = JSON.stringify(
|
|
499
|
+
(0, import_smithy_client.take)(input, {
|
|
500
|
+
description: [],
|
|
501
|
+
displayName: []
|
|
502
|
+
})
|
|
503
|
+
);
|
|
504
|
+
b.m("PUT").h(headers).b(body);
|
|
505
|
+
return b.build();
|
|
506
|
+
}, "se_CreateProjectCommand");
|
|
507
|
+
var se_CreateSourceRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
508
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
509
|
+
const headers = {
|
|
510
|
+
"content-type": "application/json"
|
|
511
|
+
};
|
|
512
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}");
|
|
513
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
514
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
515
|
+
b.p("name", () => input.name, "{name}", false);
|
|
516
|
+
let body;
|
|
517
|
+
body = JSON.stringify(
|
|
518
|
+
(0, import_smithy_client.take)(input, {
|
|
519
|
+
description: []
|
|
520
|
+
})
|
|
521
|
+
);
|
|
522
|
+
b.m("PUT").h(headers).b(body);
|
|
523
|
+
return b.build();
|
|
524
|
+
}, "se_CreateSourceRepositoryCommand");
|
|
525
|
+
var se_CreateSourceRepositoryBranchCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
526
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
527
|
+
const headers = {
|
|
528
|
+
"content-type": "application/json"
|
|
529
|
+
};
|
|
530
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches/{name}");
|
|
531
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
532
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
533
|
+
b.p("sourceRepositoryName", () => input.sourceRepositoryName, "{sourceRepositoryName}", false);
|
|
534
|
+
b.p("name", () => input.name, "{name}", false);
|
|
535
|
+
let body;
|
|
536
|
+
body = JSON.stringify(
|
|
537
|
+
(0, import_smithy_client.take)(input, {
|
|
538
|
+
headCommitId: []
|
|
539
|
+
})
|
|
540
|
+
);
|
|
541
|
+
b.m("PUT").h(headers).b(body);
|
|
542
|
+
return b.build();
|
|
543
|
+
}, "se_CreateSourceRepositoryBranchCommand");
|
|
544
|
+
var se_DeleteAccessTokenCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
545
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
546
|
+
const headers = {};
|
|
547
|
+
b.bp("/v1/accessTokens/{id}");
|
|
548
|
+
b.p("id", () => input.id, "{id}", false);
|
|
549
|
+
let body;
|
|
550
|
+
b.m("DELETE").h(headers).b(body);
|
|
551
|
+
return b.build();
|
|
552
|
+
}, "se_DeleteAccessTokenCommand");
|
|
553
|
+
var se_DeleteDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
555
|
+
const headers = {};
|
|
556
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}");
|
|
557
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
558
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
559
|
+
b.p("id", () => input.id, "{id}", false);
|
|
560
|
+
let body;
|
|
561
|
+
b.m("DELETE").h(headers).b(body);
|
|
562
|
+
return b.build();
|
|
563
|
+
}, "se_DeleteDevEnvironmentCommand");
|
|
564
|
+
var se_DeleteProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
565
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
566
|
+
const headers = {};
|
|
567
|
+
b.bp("/v1/spaces/{spaceName}/projects/{name}");
|
|
568
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
569
|
+
b.p("name", () => input.name, "{name}", false);
|
|
570
|
+
let body;
|
|
571
|
+
b.m("DELETE").h(headers).b(body);
|
|
572
|
+
return b.build();
|
|
573
|
+
}, "se_DeleteProjectCommand");
|
|
574
|
+
var se_DeleteSourceRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
575
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
576
|
+
const headers = {};
|
|
577
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}");
|
|
578
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
579
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
580
|
+
b.p("name", () => input.name, "{name}", false);
|
|
581
|
+
let body;
|
|
582
|
+
b.m("DELETE").h(headers).b(body);
|
|
583
|
+
return b.build();
|
|
584
|
+
}, "se_DeleteSourceRepositoryCommand");
|
|
585
|
+
var se_DeleteSpaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
586
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
587
|
+
const headers = {};
|
|
588
|
+
b.bp("/v1/spaces/{name}");
|
|
589
|
+
b.p("name", () => input.name, "{name}", false);
|
|
590
|
+
let body;
|
|
591
|
+
b.m("DELETE").h(headers).b(body);
|
|
592
|
+
return b.build();
|
|
593
|
+
}, "se_DeleteSpaceCommand");
|
|
594
|
+
var se_GetDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
595
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
596
|
+
const headers = {};
|
|
597
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}");
|
|
598
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
599
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
600
|
+
b.p("id", () => input.id, "{id}", false);
|
|
601
|
+
let body;
|
|
602
|
+
b.m("GET").h(headers).b(body);
|
|
603
|
+
return b.build();
|
|
604
|
+
}, "se_GetDevEnvironmentCommand");
|
|
605
|
+
var se_GetProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
606
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
607
|
+
const headers = {};
|
|
608
|
+
b.bp("/v1/spaces/{spaceName}/projects/{name}");
|
|
609
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
610
|
+
b.p("name", () => input.name, "{name}", false);
|
|
611
|
+
let body;
|
|
612
|
+
b.m("GET").h(headers).b(body);
|
|
613
|
+
return b.build();
|
|
614
|
+
}, "se_GetProjectCommand");
|
|
615
|
+
var se_GetSourceRepositoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
616
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
617
|
+
const headers = {};
|
|
618
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}");
|
|
619
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
620
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
621
|
+
b.p("name", () => input.name, "{name}", false);
|
|
622
|
+
let body;
|
|
623
|
+
b.m("GET").h(headers).b(body);
|
|
624
|
+
return b.build();
|
|
625
|
+
}, "se_GetSourceRepositoryCommand");
|
|
626
|
+
var se_GetSourceRepositoryCloneUrlsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
627
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
628
|
+
const headers = {};
|
|
629
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/cloneUrls");
|
|
630
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
631
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
632
|
+
b.p("sourceRepositoryName", () => input.sourceRepositoryName, "{sourceRepositoryName}", false);
|
|
633
|
+
let body;
|
|
634
|
+
b.m("GET").h(headers).b(body);
|
|
635
|
+
return b.build();
|
|
636
|
+
}, "se_GetSourceRepositoryCloneUrlsCommand");
|
|
637
|
+
var se_GetSpaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
638
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
639
|
+
const headers = {};
|
|
640
|
+
b.bp("/v1/spaces/{name}");
|
|
641
|
+
b.p("name", () => input.name, "{name}", false);
|
|
642
|
+
let body;
|
|
643
|
+
b.m("GET").h(headers).b(body);
|
|
644
|
+
return b.build();
|
|
645
|
+
}, "se_GetSpaceCommand");
|
|
646
|
+
var se_GetSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
647
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
648
|
+
const headers = {};
|
|
649
|
+
b.bp("/v1/spaces/{spaceName}/subscription");
|
|
650
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
651
|
+
let body;
|
|
652
|
+
b.m("GET").h(headers).b(body);
|
|
653
|
+
return b.build();
|
|
654
|
+
}, "se_GetSubscriptionCommand");
|
|
655
|
+
var se_GetUserDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
656
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
657
|
+
const headers = {};
|
|
658
|
+
b.bp("/userDetails");
|
|
659
|
+
const query = (0, import_smithy_client.map)({
|
|
660
|
+
[_i]: [, input[_i]],
|
|
661
|
+
[_uN]: [, input[_uN]]
|
|
662
|
+
});
|
|
663
|
+
let body;
|
|
664
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
665
|
+
return b.build();
|
|
666
|
+
}, "se_GetUserDetailsCommand");
|
|
667
|
+
var se_GetWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
668
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
669
|
+
const headers = {};
|
|
670
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflows/{id}");
|
|
671
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
672
|
+
b.p("id", () => input.id, "{id}", false);
|
|
673
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
674
|
+
let body;
|
|
675
|
+
b.m("GET").h(headers).b(body);
|
|
676
|
+
return b.build();
|
|
677
|
+
}, "se_GetWorkflowCommand");
|
|
678
|
+
var se_GetWorkflowRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
679
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
680
|
+
const headers = {};
|
|
681
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns/{id}");
|
|
682
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
683
|
+
b.p("id", () => input.id, "{id}", false);
|
|
684
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
685
|
+
let body;
|
|
686
|
+
b.m("GET").h(headers).b(body);
|
|
687
|
+
return b.build();
|
|
688
|
+
}, "se_GetWorkflowRunCommand");
|
|
689
|
+
var se_ListAccessTokensCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
690
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
691
|
+
const headers = {
|
|
692
|
+
"content-type": "application/json"
|
|
693
|
+
};
|
|
694
|
+
b.bp("/v1/accessTokens");
|
|
695
|
+
let body;
|
|
696
|
+
body = JSON.stringify(
|
|
697
|
+
(0, import_smithy_client.take)(input, {
|
|
698
|
+
maxResults: [],
|
|
699
|
+
nextToken: []
|
|
700
|
+
})
|
|
701
|
+
);
|
|
702
|
+
b.m("POST").h(headers).b(body);
|
|
703
|
+
return b.build();
|
|
704
|
+
}, "se_ListAccessTokensCommand");
|
|
705
|
+
var se_ListDevEnvironmentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
706
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
707
|
+
const headers = {
|
|
708
|
+
"content-type": "application/json"
|
|
709
|
+
};
|
|
710
|
+
b.bp("/v1/spaces/{spaceName}/devEnvironments");
|
|
711
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
712
|
+
let body;
|
|
713
|
+
body = JSON.stringify(
|
|
714
|
+
(0, import_smithy_client.take)(input, {
|
|
715
|
+
filters: (_) => (0, import_smithy_client._json)(_),
|
|
716
|
+
maxResults: [],
|
|
717
|
+
nextToken: [],
|
|
718
|
+
projectName: []
|
|
719
|
+
})
|
|
720
|
+
);
|
|
721
|
+
b.m("POST").h(headers).b(body);
|
|
722
|
+
return b.build();
|
|
723
|
+
}, "se_ListDevEnvironmentsCommand");
|
|
724
|
+
var se_ListDevEnvironmentSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
725
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
726
|
+
const headers = {
|
|
727
|
+
"content-type": "application/json"
|
|
728
|
+
};
|
|
729
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{devEnvironmentId}/sessions");
|
|
730
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
731
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
732
|
+
b.p("devEnvironmentId", () => input.devEnvironmentId, "{devEnvironmentId}", false);
|
|
733
|
+
let body;
|
|
734
|
+
body = JSON.stringify(
|
|
735
|
+
(0, import_smithy_client.take)(input, {
|
|
736
|
+
maxResults: [],
|
|
737
|
+
nextToken: []
|
|
738
|
+
})
|
|
739
|
+
);
|
|
740
|
+
b.m("POST").h(headers).b(body);
|
|
741
|
+
return b.build();
|
|
742
|
+
}, "se_ListDevEnvironmentSessionsCommand");
|
|
743
|
+
var se_ListEventLogsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
744
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
745
|
+
const headers = {
|
|
746
|
+
"content-type": "application/json"
|
|
747
|
+
};
|
|
748
|
+
b.bp("/v1/spaces/{spaceName}/eventLogs");
|
|
749
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
750
|
+
let body;
|
|
751
|
+
body = JSON.stringify(
|
|
752
|
+
(0, import_smithy_client.take)(input, {
|
|
753
|
+
endTime: (_) => _.toISOString().split(".")[0] + "Z",
|
|
754
|
+
eventName: [],
|
|
755
|
+
maxResults: [],
|
|
756
|
+
nextToken: [],
|
|
757
|
+
startTime: (_) => _.toISOString().split(".")[0] + "Z"
|
|
758
|
+
})
|
|
759
|
+
);
|
|
760
|
+
b.m("POST").h(headers).b(body);
|
|
761
|
+
return b.build();
|
|
762
|
+
}, "se_ListEventLogsCommand");
|
|
763
|
+
var se_ListProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
765
|
+
const headers = {
|
|
766
|
+
"content-type": "application/json"
|
|
767
|
+
};
|
|
768
|
+
b.bp("/v1/spaces/{spaceName}/projects");
|
|
769
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
770
|
+
let body;
|
|
771
|
+
body = JSON.stringify(
|
|
772
|
+
(0, import_smithy_client.take)(input, {
|
|
773
|
+
filters: (_) => (0, import_smithy_client._json)(_),
|
|
774
|
+
maxResults: [],
|
|
775
|
+
nextToken: []
|
|
776
|
+
})
|
|
777
|
+
);
|
|
778
|
+
b.m("POST").h(headers).b(body);
|
|
779
|
+
return b.build();
|
|
780
|
+
}, "se_ListProjectsCommand");
|
|
781
|
+
var se_ListSourceRepositoriesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
782
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
783
|
+
const headers = {
|
|
784
|
+
"content-type": "application/json"
|
|
785
|
+
};
|
|
786
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories");
|
|
787
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
788
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
789
|
+
let body;
|
|
790
|
+
body = JSON.stringify(
|
|
791
|
+
(0, import_smithy_client.take)(input, {
|
|
792
|
+
maxResults: [],
|
|
793
|
+
nextToken: []
|
|
794
|
+
})
|
|
795
|
+
);
|
|
796
|
+
b.m("POST").h(headers).b(body);
|
|
797
|
+
return b.build();
|
|
798
|
+
}, "se_ListSourceRepositoriesCommand");
|
|
799
|
+
var se_ListSourceRepositoryBranchesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
800
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
801
|
+
const headers = {
|
|
802
|
+
"content-type": "application/json"
|
|
803
|
+
};
|
|
804
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches");
|
|
805
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
806
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
807
|
+
b.p("sourceRepositoryName", () => input.sourceRepositoryName, "{sourceRepositoryName}", false);
|
|
808
|
+
let body;
|
|
809
|
+
body = JSON.stringify(
|
|
810
|
+
(0, import_smithy_client.take)(input, {
|
|
811
|
+
maxResults: [],
|
|
812
|
+
nextToken: []
|
|
813
|
+
})
|
|
814
|
+
);
|
|
815
|
+
b.m("POST").h(headers).b(body);
|
|
816
|
+
return b.build();
|
|
817
|
+
}, "se_ListSourceRepositoryBranchesCommand");
|
|
818
|
+
var se_ListSpacesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
819
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
820
|
+
const headers = {
|
|
821
|
+
"content-type": "application/json"
|
|
822
|
+
};
|
|
823
|
+
b.bp("/v1/spaces");
|
|
824
|
+
let body;
|
|
825
|
+
body = JSON.stringify(
|
|
826
|
+
(0, import_smithy_client.take)(input, {
|
|
827
|
+
nextToken: []
|
|
828
|
+
})
|
|
829
|
+
);
|
|
830
|
+
b.m("POST").h(headers).b(body);
|
|
831
|
+
return b.build();
|
|
832
|
+
}, "se_ListSpacesCommand");
|
|
833
|
+
var se_ListWorkflowRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
834
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
835
|
+
const headers = {
|
|
836
|
+
"content-type": "application/json"
|
|
837
|
+
};
|
|
838
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns");
|
|
839
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
840
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
841
|
+
const query = (0, import_smithy_client.map)({
|
|
842
|
+
[_wI]: [, input[_wI]],
|
|
843
|
+
[_nT]: [, input[_nT]],
|
|
844
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
845
|
+
});
|
|
846
|
+
let body;
|
|
847
|
+
body = JSON.stringify(
|
|
848
|
+
(0, import_smithy_client.take)(input, {
|
|
849
|
+
sortBy: (_) => (0, import_smithy_client._json)(_)
|
|
850
|
+
})
|
|
851
|
+
);
|
|
852
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
853
|
+
return b.build();
|
|
854
|
+
}, "se_ListWorkflowRunsCommand");
|
|
855
|
+
var se_ListWorkflowsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
856
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
857
|
+
const headers = {
|
|
858
|
+
"content-type": "application/json"
|
|
859
|
+
};
|
|
860
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflows");
|
|
861
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
862
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
863
|
+
const query = (0, import_smithy_client.map)({
|
|
864
|
+
[_nT]: [, input[_nT]],
|
|
865
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
866
|
+
});
|
|
867
|
+
let body;
|
|
868
|
+
body = JSON.stringify(
|
|
869
|
+
(0, import_smithy_client.take)(input, {
|
|
870
|
+
sortBy: (_) => (0, import_smithy_client._json)(_)
|
|
871
|
+
})
|
|
872
|
+
);
|
|
873
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
874
|
+
return b.build();
|
|
875
|
+
}, "se_ListWorkflowsCommand");
|
|
876
|
+
var se_StartDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
877
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
878
|
+
const headers = {
|
|
879
|
+
"content-type": "application/json"
|
|
880
|
+
};
|
|
881
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/start");
|
|
882
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
883
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
884
|
+
b.p("id", () => input.id, "{id}", false);
|
|
885
|
+
let body;
|
|
886
|
+
body = JSON.stringify(
|
|
887
|
+
(0, import_smithy_client.take)(input, {
|
|
888
|
+
ides: (_) => (0, import_smithy_client._json)(_),
|
|
889
|
+
inactivityTimeoutMinutes: [],
|
|
890
|
+
instanceType: []
|
|
891
|
+
})
|
|
892
|
+
);
|
|
893
|
+
b.m("PUT").h(headers).b(body);
|
|
894
|
+
return b.build();
|
|
895
|
+
}, "se_StartDevEnvironmentCommand");
|
|
896
|
+
var se_StartDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
897
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
898
|
+
const headers = {
|
|
899
|
+
"content-type": "application/json"
|
|
900
|
+
};
|
|
901
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session");
|
|
902
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
903
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
904
|
+
b.p("id", () => input.id, "{id}", false);
|
|
905
|
+
let body;
|
|
906
|
+
body = JSON.stringify(
|
|
907
|
+
(0, import_smithy_client.take)(input, {
|
|
908
|
+
sessionConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
909
|
+
})
|
|
910
|
+
);
|
|
911
|
+
b.m("PUT").h(headers).b(body);
|
|
912
|
+
return b.build();
|
|
913
|
+
}, "se_StartDevEnvironmentSessionCommand");
|
|
914
|
+
var se_StartWorkflowRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
915
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
916
|
+
const headers = {
|
|
917
|
+
"content-type": "application/json"
|
|
918
|
+
};
|
|
919
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns");
|
|
920
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
921
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
922
|
+
const query = (0, import_smithy_client.map)({
|
|
923
|
+
[_wI]: [, (0, import_smithy_client.expectNonNull)(input[_wI], `workflowId`)]
|
|
924
|
+
});
|
|
925
|
+
let body;
|
|
926
|
+
body = JSON.stringify(
|
|
927
|
+
(0, import_smithy_client.take)(input, {
|
|
928
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
929
|
+
})
|
|
930
|
+
);
|
|
931
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
932
|
+
return b.build();
|
|
933
|
+
}, "se_StartWorkflowRunCommand");
|
|
934
|
+
var se_StopDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
935
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
936
|
+
const headers = {};
|
|
937
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/stop");
|
|
938
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
939
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
940
|
+
b.p("id", () => input.id, "{id}", false);
|
|
941
|
+
let body;
|
|
942
|
+
b.m("PUT").h(headers).b(body);
|
|
943
|
+
return b.build();
|
|
944
|
+
}, "se_StopDevEnvironmentCommand");
|
|
945
|
+
var se_StopDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
946
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
947
|
+
const headers = {};
|
|
948
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}");
|
|
949
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
950
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
951
|
+
b.p("id", () => input.id, "{id}", false);
|
|
952
|
+
b.p("sessionId", () => input.sessionId, "{sessionId}", false);
|
|
953
|
+
let body;
|
|
954
|
+
b.m("DELETE").h(headers).b(body);
|
|
955
|
+
return b.build();
|
|
956
|
+
}, "se_StopDevEnvironmentSessionCommand");
|
|
957
|
+
var se_UpdateDevEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
958
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
959
|
+
const headers = {
|
|
960
|
+
"content-type": "application/json"
|
|
961
|
+
};
|
|
962
|
+
b.bp("/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}");
|
|
963
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
964
|
+
b.p("projectName", () => input.projectName, "{projectName}", false);
|
|
965
|
+
b.p("id", () => input.id, "{id}", false);
|
|
966
|
+
let body;
|
|
967
|
+
body = JSON.stringify(
|
|
968
|
+
(0, import_smithy_client.take)(input, {
|
|
969
|
+
alias: [],
|
|
970
|
+
clientToken: [],
|
|
971
|
+
ides: (_) => (0, import_smithy_client._json)(_),
|
|
972
|
+
inactivityTimeoutMinutes: [],
|
|
973
|
+
instanceType: []
|
|
974
|
+
})
|
|
975
|
+
);
|
|
976
|
+
b.m("PATCH").h(headers).b(body);
|
|
977
|
+
return b.build();
|
|
978
|
+
}, "se_UpdateDevEnvironmentCommand");
|
|
979
|
+
var se_UpdateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
980
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
981
|
+
const headers = {
|
|
982
|
+
"content-type": "application/json"
|
|
983
|
+
};
|
|
984
|
+
b.bp("/v1/spaces/{spaceName}/projects/{name}");
|
|
985
|
+
b.p("spaceName", () => input.spaceName, "{spaceName}", false);
|
|
986
|
+
b.p("name", () => input.name, "{name}", false);
|
|
987
|
+
let body;
|
|
988
|
+
body = JSON.stringify(
|
|
989
|
+
(0, import_smithy_client.take)(input, {
|
|
990
|
+
description: []
|
|
991
|
+
})
|
|
992
|
+
);
|
|
993
|
+
b.m("PATCH").h(headers).b(body);
|
|
994
|
+
return b.build();
|
|
995
|
+
}, "se_UpdateProjectCommand");
|
|
996
|
+
var se_UpdateSpaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
997
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
998
|
+
const headers = {
|
|
999
|
+
"content-type": "application/json"
|
|
1000
|
+
};
|
|
1001
|
+
b.bp("/v1/spaces/{name}");
|
|
1002
|
+
b.p("name", () => input.name, "{name}", false);
|
|
1003
|
+
let body;
|
|
1004
|
+
body = JSON.stringify(
|
|
1005
|
+
(0, import_smithy_client.take)(input, {
|
|
1006
|
+
description: []
|
|
1007
|
+
})
|
|
1008
|
+
);
|
|
1009
|
+
b.m("PATCH").h(headers).b(body);
|
|
1010
|
+
return b.build();
|
|
1011
|
+
}, "se_UpdateSpaceCommand");
|
|
1012
|
+
var se_VerifySessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1013
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1014
|
+
const headers = {
|
|
1015
|
+
"content-type": "application/json"
|
|
1016
|
+
};
|
|
1017
|
+
b.bp("/session");
|
|
1018
|
+
let body;
|
|
1019
|
+
body = "";
|
|
1020
|
+
b.m("GET").h(headers).b(body);
|
|
1021
|
+
return b.build();
|
|
1022
|
+
}, "se_VerifySessionCommand");
|
|
1023
|
+
var de_CreateAccessTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1024
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1025
|
+
return de_CreateAccessTokenCommandError(output, context);
|
|
1026
|
+
}
|
|
1027
|
+
const contents = (0, import_smithy_client.map)({
|
|
1028
|
+
$metadata: deserializeMetadata(output)
|
|
1029
|
+
});
|
|
1030
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1031
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1032
|
+
accessTokenId: import_smithy_client.expectString,
|
|
1033
|
+
expiresTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1034
|
+
name: import_smithy_client.expectString,
|
|
1035
|
+
secret: import_smithy_client.expectString
|
|
1036
|
+
});
|
|
1037
|
+
Object.assign(contents, doc);
|
|
1038
|
+
return contents;
|
|
1039
|
+
}, "de_CreateAccessTokenCommand");
|
|
1040
|
+
var de_CreateAccessTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1041
|
+
const parsedOutput = {
|
|
1042
|
+
...output,
|
|
1043
|
+
body: await parseErrorBody(output.body, context)
|
|
1044
|
+
};
|
|
1045
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1046
|
+
switch (errorCode) {
|
|
1047
|
+
case "AccessDeniedException":
|
|
1048
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1049
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1050
|
+
case "ConflictException":
|
|
1051
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1052
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1053
|
+
case "ResourceNotFoundException":
|
|
1054
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1055
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1056
|
+
case "ServiceQuotaExceededException":
|
|
1057
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1058
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1059
|
+
case "ThrottlingException":
|
|
1060
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1061
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1062
|
+
case "ValidationException":
|
|
1063
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1064
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1065
|
+
default:
|
|
1066
|
+
const parsedBody = parsedOutput.body;
|
|
1067
|
+
return throwDefaultError({
|
|
1068
|
+
output,
|
|
1069
|
+
parsedBody,
|
|
1070
|
+
errorCode
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
}, "de_CreateAccessTokenCommandError");
|
|
1074
|
+
var de_CreateDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1075
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1076
|
+
return de_CreateDevEnvironmentCommandError(output, context);
|
|
1077
|
+
}
|
|
1078
|
+
const contents = (0, import_smithy_client.map)({
|
|
1079
|
+
$metadata: deserializeMetadata(output)
|
|
1080
|
+
});
|
|
1081
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1082
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1083
|
+
id: import_smithy_client.expectString,
|
|
1084
|
+
projectName: import_smithy_client.expectString,
|
|
1085
|
+
spaceName: import_smithy_client.expectString,
|
|
1086
|
+
vpcConnectionName: import_smithy_client.expectString
|
|
1087
|
+
});
|
|
1088
|
+
Object.assign(contents, doc);
|
|
1089
|
+
return contents;
|
|
1090
|
+
}, "de_CreateDevEnvironmentCommand");
|
|
1091
|
+
var de_CreateDevEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1092
|
+
const parsedOutput = {
|
|
1093
|
+
...output,
|
|
1094
|
+
body: await parseErrorBody(output.body, context)
|
|
1095
|
+
};
|
|
1096
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1097
|
+
switch (errorCode) {
|
|
1098
|
+
case "AccessDeniedException":
|
|
1099
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1100
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1101
|
+
case "ConflictException":
|
|
1102
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1103
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1104
|
+
case "ResourceNotFoundException":
|
|
1105
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1106
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1107
|
+
case "ServiceQuotaExceededException":
|
|
1108
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1109
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1110
|
+
case "ThrottlingException":
|
|
1111
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1112
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1113
|
+
case "ValidationException":
|
|
1114
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1115
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1116
|
+
default:
|
|
1117
|
+
const parsedBody = parsedOutput.body;
|
|
1118
|
+
return throwDefaultError({
|
|
1119
|
+
output,
|
|
1120
|
+
parsedBody,
|
|
1121
|
+
errorCode
|
|
1122
|
+
});
|
|
1123
|
+
}
|
|
1124
|
+
}, "de_CreateDevEnvironmentCommandError");
|
|
1125
|
+
var de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1126
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1127
|
+
return de_CreateProjectCommandError(output, context);
|
|
1128
|
+
}
|
|
1129
|
+
const contents = (0, import_smithy_client.map)({
|
|
1130
|
+
$metadata: deserializeMetadata(output)
|
|
1131
|
+
});
|
|
1132
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1133
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1134
|
+
description: import_smithy_client.expectString,
|
|
1135
|
+
displayName: import_smithy_client.expectString,
|
|
1136
|
+
name: import_smithy_client.expectString,
|
|
1137
|
+
spaceName: import_smithy_client.expectString
|
|
1138
|
+
});
|
|
1139
|
+
Object.assign(contents, doc);
|
|
1140
|
+
return contents;
|
|
1141
|
+
}, "de_CreateProjectCommand");
|
|
1142
|
+
var de_CreateProjectCommandError = /* @__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 "AccessDeniedException":
|
|
1150
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1151
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1152
|
+
case "ConflictException":
|
|
1153
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1154
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1155
|
+
case "ResourceNotFoundException":
|
|
1156
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1157
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1158
|
+
case "ServiceQuotaExceededException":
|
|
1159
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1160
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1161
|
+
case "ThrottlingException":
|
|
1162
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1163
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1164
|
+
case "ValidationException":
|
|
1165
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1166
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1167
|
+
default:
|
|
1168
|
+
const parsedBody = parsedOutput.body;
|
|
1169
|
+
return throwDefaultError({
|
|
1170
|
+
output,
|
|
1171
|
+
parsedBody,
|
|
1172
|
+
errorCode
|
|
1173
|
+
});
|
|
1174
|
+
}
|
|
1175
|
+
}, "de_CreateProjectCommandError");
|
|
1176
|
+
var de_CreateSourceRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1177
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1178
|
+
return de_CreateSourceRepositoryCommandError(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
|
+
description: import_smithy_client.expectString,
|
|
1186
|
+
name: import_smithy_client.expectString,
|
|
1187
|
+
projectName: import_smithy_client.expectString,
|
|
1188
|
+
spaceName: import_smithy_client.expectString
|
|
1189
|
+
});
|
|
1190
|
+
Object.assign(contents, doc);
|
|
1191
|
+
return contents;
|
|
1192
|
+
}, "de_CreateSourceRepositoryCommand");
|
|
1193
|
+
var de_CreateSourceRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1194
|
+
const parsedOutput = {
|
|
1195
|
+
...output,
|
|
1196
|
+
body: await parseErrorBody(output.body, context)
|
|
1197
|
+
};
|
|
1198
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1199
|
+
switch (errorCode) {
|
|
1200
|
+
case "AccessDeniedException":
|
|
1201
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1202
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1203
|
+
case "ConflictException":
|
|
1204
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1205
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1206
|
+
case "ResourceNotFoundException":
|
|
1207
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1208
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1209
|
+
case "ServiceQuotaExceededException":
|
|
1210
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1211
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1212
|
+
case "ThrottlingException":
|
|
1213
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1214
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1215
|
+
case "ValidationException":
|
|
1216
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1217
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1218
|
+
default:
|
|
1219
|
+
const parsedBody = parsedOutput.body;
|
|
1220
|
+
return throwDefaultError({
|
|
1221
|
+
output,
|
|
1222
|
+
parsedBody,
|
|
1223
|
+
errorCode
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
}, "de_CreateSourceRepositoryCommandError");
|
|
1227
|
+
var de_CreateSourceRepositoryBranchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1228
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1229
|
+
return de_CreateSourceRepositoryBranchCommandError(output, context);
|
|
1230
|
+
}
|
|
1231
|
+
const contents = (0, import_smithy_client.map)({
|
|
1232
|
+
$metadata: deserializeMetadata(output)
|
|
1233
|
+
});
|
|
1234
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1235
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1236
|
+
headCommitId: import_smithy_client.expectString,
|
|
1237
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1238
|
+
name: import_smithy_client.expectString,
|
|
1239
|
+
ref: import_smithy_client.expectString
|
|
1240
|
+
});
|
|
1241
|
+
Object.assign(contents, doc);
|
|
1242
|
+
return contents;
|
|
1243
|
+
}, "de_CreateSourceRepositoryBranchCommand");
|
|
1244
|
+
var de_CreateSourceRepositoryBranchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1245
|
+
const parsedOutput = {
|
|
1246
|
+
...output,
|
|
1247
|
+
body: await parseErrorBody(output.body, context)
|
|
1248
|
+
};
|
|
1249
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1250
|
+
switch (errorCode) {
|
|
1251
|
+
case "AccessDeniedException":
|
|
1252
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1253
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1254
|
+
case "ConflictException":
|
|
1255
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1256
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1257
|
+
case "ResourceNotFoundException":
|
|
1258
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1259
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1260
|
+
case "ServiceQuotaExceededException":
|
|
1261
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1262
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1263
|
+
case "ThrottlingException":
|
|
1264
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1265
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1266
|
+
case "ValidationException":
|
|
1267
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1268
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1269
|
+
default:
|
|
1270
|
+
const parsedBody = parsedOutput.body;
|
|
1271
|
+
return throwDefaultError({
|
|
1272
|
+
output,
|
|
1273
|
+
parsedBody,
|
|
1274
|
+
errorCode
|
|
1275
|
+
});
|
|
1276
|
+
}
|
|
1277
|
+
}, "de_CreateSourceRepositoryBranchCommandError");
|
|
1278
|
+
var de_DeleteAccessTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1279
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1280
|
+
return de_DeleteAccessTokenCommandError(output, context);
|
|
1281
|
+
}
|
|
1282
|
+
const contents = (0, import_smithy_client.map)({
|
|
1283
|
+
$metadata: deserializeMetadata(output)
|
|
1284
|
+
});
|
|
1285
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1286
|
+
return contents;
|
|
1287
|
+
}, "de_DeleteAccessTokenCommand");
|
|
1288
|
+
var de_DeleteAccessTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1289
|
+
const parsedOutput = {
|
|
1290
|
+
...output,
|
|
1291
|
+
body: await parseErrorBody(output.body, context)
|
|
1292
|
+
};
|
|
1293
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1294
|
+
switch (errorCode) {
|
|
1295
|
+
case "AccessDeniedException":
|
|
1296
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1297
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1298
|
+
case "ConflictException":
|
|
1299
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1300
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1301
|
+
case "ResourceNotFoundException":
|
|
1302
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1303
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1304
|
+
case "ServiceQuotaExceededException":
|
|
1305
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1306
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1307
|
+
case "ThrottlingException":
|
|
1308
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1309
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1310
|
+
case "ValidationException":
|
|
1311
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1312
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1313
|
+
default:
|
|
1314
|
+
const parsedBody = parsedOutput.body;
|
|
1315
|
+
return throwDefaultError({
|
|
1316
|
+
output,
|
|
1317
|
+
parsedBody,
|
|
1318
|
+
errorCode
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
}, "de_DeleteAccessTokenCommandError");
|
|
1322
|
+
var de_DeleteDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1323
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1324
|
+
return de_DeleteDevEnvironmentCommandError(output, context);
|
|
1325
|
+
}
|
|
1326
|
+
const contents = (0, import_smithy_client.map)({
|
|
1327
|
+
$metadata: deserializeMetadata(output)
|
|
1328
|
+
});
|
|
1329
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1330
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1331
|
+
id: import_smithy_client.expectString,
|
|
1332
|
+
projectName: import_smithy_client.expectString,
|
|
1333
|
+
spaceName: import_smithy_client.expectString
|
|
1334
|
+
});
|
|
1335
|
+
Object.assign(contents, doc);
|
|
1336
|
+
return contents;
|
|
1337
|
+
}, "de_DeleteDevEnvironmentCommand");
|
|
1338
|
+
var de_DeleteDevEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1339
|
+
const parsedOutput = {
|
|
1340
|
+
...output,
|
|
1341
|
+
body: await parseErrorBody(output.body, context)
|
|
1342
|
+
};
|
|
1343
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1344
|
+
switch (errorCode) {
|
|
1345
|
+
case "AccessDeniedException":
|
|
1346
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1347
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1348
|
+
case "ConflictException":
|
|
1349
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1350
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1351
|
+
case "ResourceNotFoundException":
|
|
1352
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1353
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1354
|
+
case "ServiceQuotaExceededException":
|
|
1355
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1356
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1357
|
+
case "ThrottlingException":
|
|
1358
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1359
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1360
|
+
case "ValidationException":
|
|
1361
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1362
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1363
|
+
default:
|
|
1364
|
+
const parsedBody = parsedOutput.body;
|
|
1365
|
+
return throwDefaultError({
|
|
1366
|
+
output,
|
|
1367
|
+
parsedBody,
|
|
1368
|
+
errorCode
|
|
1369
|
+
});
|
|
1370
|
+
}
|
|
1371
|
+
}, "de_DeleteDevEnvironmentCommandError");
|
|
1372
|
+
var de_DeleteProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1373
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1374
|
+
return de_DeleteProjectCommandError(output, context);
|
|
1375
|
+
}
|
|
1376
|
+
const contents = (0, import_smithy_client.map)({
|
|
1377
|
+
$metadata: deserializeMetadata(output)
|
|
1378
|
+
});
|
|
1379
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1380
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1381
|
+
displayName: import_smithy_client.expectString,
|
|
1382
|
+
name: import_smithy_client.expectString,
|
|
1383
|
+
spaceName: import_smithy_client.expectString
|
|
1384
|
+
});
|
|
1385
|
+
Object.assign(contents, doc);
|
|
1386
|
+
return contents;
|
|
1387
|
+
}, "de_DeleteProjectCommand");
|
|
1388
|
+
var de_DeleteProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1389
|
+
const parsedOutput = {
|
|
1390
|
+
...output,
|
|
1391
|
+
body: await parseErrorBody(output.body, context)
|
|
1392
|
+
};
|
|
1393
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1394
|
+
switch (errorCode) {
|
|
1395
|
+
case "AccessDeniedException":
|
|
1396
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1397
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1398
|
+
case "ConflictException":
|
|
1399
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1400
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1401
|
+
case "ResourceNotFoundException":
|
|
1402
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1403
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1404
|
+
case "ServiceQuotaExceededException":
|
|
1405
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1406
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1407
|
+
case "ThrottlingException":
|
|
1408
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1409
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1410
|
+
case "ValidationException":
|
|
1411
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1412
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1413
|
+
default:
|
|
1414
|
+
const parsedBody = parsedOutput.body;
|
|
1415
|
+
return throwDefaultError({
|
|
1416
|
+
output,
|
|
1417
|
+
parsedBody,
|
|
1418
|
+
errorCode
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
}, "de_DeleteProjectCommandError");
|
|
1422
|
+
var de_DeleteSourceRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1423
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1424
|
+
return de_DeleteSourceRepositoryCommandError(output, context);
|
|
1425
|
+
}
|
|
1426
|
+
const contents = (0, import_smithy_client.map)({
|
|
1427
|
+
$metadata: deserializeMetadata(output)
|
|
1428
|
+
});
|
|
1429
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1430
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1431
|
+
name: import_smithy_client.expectString,
|
|
1432
|
+
projectName: import_smithy_client.expectString,
|
|
1433
|
+
spaceName: import_smithy_client.expectString
|
|
1434
|
+
});
|
|
1435
|
+
Object.assign(contents, doc);
|
|
1436
|
+
return contents;
|
|
1437
|
+
}, "de_DeleteSourceRepositoryCommand");
|
|
1438
|
+
var de_DeleteSourceRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1439
|
+
const parsedOutput = {
|
|
1440
|
+
...output,
|
|
1441
|
+
body: await parseErrorBody(output.body, context)
|
|
1442
|
+
};
|
|
1443
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1444
|
+
switch (errorCode) {
|
|
1445
|
+
case "AccessDeniedException":
|
|
1446
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1447
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1448
|
+
case "ConflictException":
|
|
1449
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1450
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1451
|
+
case "ResourceNotFoundException":
|
|
1452
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1453
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1454
|
+
case "ServiceQuotaExceededException":
|
|
1455
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1456
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1457
|
+
case "ThrottlingException":
|
|
1458
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1459
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1460
|
+
case "ValidationException":
|
|
1461
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1462
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1463
|
+
default:
|
|
1464
|
+
const parsedBody = parsedOutput.body;
|
|
1465
|
+
return throwDefaultError({
|
|
1466
|
+
output,
|
|
1467
|
+
parsedBody,
|
|
1468
|
+
errorCode
|
|
1469
|
+
});
|
|
1470
|
+
}
|
|
1471
|
+
}, "de_DeleteSourceRepositoryCommandError");
|
|
1472
|
+
var de_DeleteSpaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1473
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1474
|
+
return de_DeleteSpaceCommandError(output, context);
|
|
1475
|
+
}
|
|
1476
|
+
const contents = (0, import_smithy_client.map)({
|
|
1477
|
+
$metadata: deserializeMetadata(output)
|
|
1478
|
+
});
|
|
1479
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1480
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1481
|
+
displayName: import_smithy_client.expectString,
|
|
1482
|
+
name: import_smithy_client.expectString
|
|
1483
|
+
});
|
|
1484
|
+
Object.assign(contents, doc);
|
|
1485
|
+
return contents;
|
|
1486
|
+
}, "de_DeleteSpaceCommand");
|
|
1487
|
+
var de_DeleteSpaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1488
|
+
const parsedOutput = {
|
|
1489
|
+
...output,
|
|
1490
|
+
body: await parseErrorBody(output.body, context)
|
|
1491
|
+
};
|
|
1492
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1493
|
+
switch (errorCode) {
|
|
1494
|
+
case "AccessDeniedException":
|
|
1495
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1496
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1497
|
+
case "ConflictException":
|
|
1498
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1499
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1500
|
+
case "ResourceNotFoundException":
|
|
1501
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1502
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1503
|
+
case "ServiceQuotaExceededException":
|
|
1504
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1505
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1506
|
+
case "ThrottlingException":
|
|
1507
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1508
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1509
|
+
case "ValidationException":
|
|
1510
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1511
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1512
|
+
default:
|
|
1513
|
+
const parsedBody = parsedOutput.body;
|
|
1514
|
+
return throwDefaultError({
|
|
1515
|
+
output,
|
|
1516
|
+
parsedBody,
|
|
1517
|
+
errorCode
|
|
1518
|
+
});
|
|
1519
|
+
}
|
|
1520
|
+
}, "de_DeleteSpaceCommandError");
|
|
1521
|
+
var de_GetDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1522
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1523
|
+
return de_GetDevEnvironmentCommandError(output, context);
|
|
1524
|
+
}
|
|
1525
|
+
const contents = (0, import_smithy_client.map)({
|
|
1526
|
+
$metadata: deserializeMetadata(output)
|
|
1527
|
+
});
|
|
1528
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1529
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1530
|
+
alias: import_smithy_client.expectString,
|
|
1531
|
+
creatorId: import_smithy_client.expectString,
|
|
1532
|
+
id: import_smithy_client.expectString,
|
|
1533
|
+
ides: import_smithy_client._json,
|
|
1534
|
+
inactivityTimeoutMinutes: import_smithy_client.expectInt32,
|
|
1535
|
+
instanceType: import_smithy_client.expectString,
|
|
1536
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1537
|
+
persistentStorage: import_smithy_client._json,
|
|
1538
|
+
projectName: import_smithy_client.expectString,
|
|
1539
|
+
repositories: import_smithy_client._json,
|
|
1540
|
+
spaceName: import_smithy_client.expectString,
|
|
1541
|
+
status: import_smithy_client.expectString,
|
|
1542
|
+
statusReason: import_smithy_client.expectString,
|
|
1543
|
+
vpcConnectionName: import_smithy_client.expectString
|
|
1544
|
+
});
|
|
1545
|
+
Object.assign(contents, doc);
|
|
1546
|
+
return contents;
|
|
1547
|
+
}, "de_GetDevEnvironmentCommand");
|
|
1548
|
+
var de_GetDevEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1549
|
+
const parsedOutput = {
|
|
1550
|
+
...output,
|
|
1551
|
+
body: await parseErrorBody(output.body, context)
|
|
1552
|
+
};
|
|
1553
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1554
|
+
switch (errorCode) {
|
|
1555
|
+
case "AccessDeniedException":
|
|
1556
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1557
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1558
|
+
case "ConflictException":
|
|
1559
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1560
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1561
|
+
case "ResourceNotFoundException":
|
|
1562
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1563
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1564
|
+
case "ServiceQuotaExceededException":
|
|
1565
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1566
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1567
|
+
case "ThrottlingException":
|
|
1568
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1569
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1570
|
+
case "ValidationException":
|
|
1571
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1572
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1573
|
+
default:
|
|
1574
|
+
const parsedBody = parsedOutput.body;
|
|
1575
|
+
return throwDefaultError({
|
|
1576
|
+
output,
|
|
1577
|
+
parsedBody,
|
|
1578
|
+
errorCode
|
|
1579
|
+
});
|
|
1580
|
+
}
|
|
1581
|
+
}, "de_GetDevEnvironmentCommandError");
|
|
1582
|
+
var de_GetProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1583
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1584
|
+
return de_GetProjectCommandError(output, context);
|
|
1585
|
+
}
|
|
1586
|
+
const contents = (0, import_smithy_client.map)({
|
|
1587
|
+
$metadata: deserializeMetadata(output)
|
|
1588
|
+
});
|
|
1589
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1590
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1591
|
+
description: import_smithy_client.expectString,
|
|
1592
|
+
displayName: import_smithy_client.expectString,
|
|
1593
|
+
name: import_smithy_client.expectString,
|
|
1594
|
+
spaceName: import_smithy_client.expectString
|
|
1595
|
+
});
|
|
1596
|
+
Object.assign(contents, doc);
|
|
1597
|
+
return contents;
|
|
1598
|
+
}, "de_GetProjectCommand");
|
|
1599
|
+
var de_GetProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1600
|
+
const parsedOutput = {
|
|
1601
|
+
...output,
|
|
1602
|
+
body: await parseErrorBody(output.body, context)
|
|
1603
|
+
};
|
|
1604
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1605
|
+
switch (errorCode) {
|
|
1606
|
+
case "AccessDeniedException":
|
|
1607
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1608
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1609
|
+
case "ConflictException":
|
|
1610
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1611
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1612
|
+
case "ResourceNotFoundException":
|
|
1613
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1614
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1615
|
+
case "ServiceQuotaExceededException":
|
|
1616
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1617
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1618
|
+
case "ThrottlingException":
|
|
1619
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1620
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1621
|
+
case "ValidationException":
|
|
1622
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1623
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1624
|
+
default:
|
|
1625
|
+
const parsedBody = parsedOutput.body;
|
|
1626
|
+
return throwDefaultError({
|
|
1627
|
+
output,
|
|
1628
|
+
parsedBody,
|
|
1629
|
+
errorCode
|
|
1630
|
+
});
|
|
1631
|
+
}
|
|
1632
|
+
}, "de_GetProjectCommandError");
|
|
1633
|
+
var de_GetSourceRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1634
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1635
|
+
return de_GetSourceRepositoryCommandError(output, context);
|
|
1636
|
+
}
|
|
1637
|
+
const contents = (0, import_smithy_client.map)({
|
|
1638
|
+
$metadata: deserializeMetadata(output)
|
|
1639
|
+
});
|
|
1640
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1641
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1642
|
+
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1643
|
+
description: import_smithy_client.expectString,
|
|
1644
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1645
|
+
name: import_smithy_client.expectString,
|
|
1646
|
+
projectName: import_smithy_client.expectString,
|
|
1647
|
+
spaceName: import_smithy_client.expectString
|
|
1648
|
+
});
|
|
1649
|
+
Object.assign(contents, doc);
|
|
1650
|
+
return contents;
|
|
1651
|
+
}, "de_GetSourceRepositoryCommand");
|
|
1652
|
+
var de_GetSourceRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1653
|
+
const parsedOutput = {
|
|
1654
|
+
...output,
|
|
1655
|
+
body: await parseErrorBody(output.body, context)
|
|
1656
|
+
};
|
|
1657
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1658
|
+
switch (errorCode) {
|
|
1659
|
+
case "AccessDeniedException":
|
|
1660
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1661
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1662
|
+
case "ConflictException":
|
|
1663
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1664
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1665
|
+
case "ResourceNotFoundException":
|
|
1666
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1667
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1668
|
+
case "ServiceQuotaExceededException":
|
|
1669
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1670
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1671
|
+
case "ThrottlingException":
|
|
1672
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1673
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1674
|
+
case "ValidationException":
|
|
1675
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1676
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1677
|
+
default:
|
|
1678
|
+
const parsedBody = parsedOutput.body;
|
|
1679
|
+
return throwDefaultError({
|
|
1680
|
+
output,
|
|
1681
|
+
parsedBody,
|
|
1682
|
+
errorCode
|
|
1683
|
+
});
|
|
1684
|
+
}
|
|
1685
|
+
}, "de_GetSourceRepositoryCommandError");
|
|
1686
|
+
var de_GetSourceRepositoryCloneUrlsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1687
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1688
|
+
return de_GetSourceRepositoryCloneUrlsCommandError(output, context);
|
|
1689
|
+
}
|
|
1690
|
+
const contents = (0, import_smithy_client.map)({
|
|
1691
|
+
$metadata: deserializeMetadata(output)
|
|
1692
|
+
});
|
|
1693
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1694
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1695
|
+
https: import_smithy_client.expectString
|
|
1696
|
+
});
|
|
1697
|
+
Object.assign(contents, doc);
|
|
1698
|
+
return contents;
|
|
1699
|
+
}, "de_GetSourceRepositoryCloneUrlsCommand");
|
|
1700
|
+
var de_GetSourceRepositoryCloneUrlsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1701
|
+
const parsedOutput = {
|
|
1702
|
+
...output,
|
|
1703
|
+
body: await parseErrorBody(output.body, context)
|
|
1704
|
+
};
|
|
1705
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1706
|
+
switch (errorCode) {
|
|
1707
|
+
case "AccessDeniedException":
|
|
1708
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1709
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1710
|
+
case "ConflictException":
|
|
1711
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1712
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1713
|
+
case "ResourceNotFoundException":
|
|
1714
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1715
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1716
|
+
case "ServiceQuotaExceededException":
|
|
1717
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1718
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1719
|
+
case "ThrottlingException":
|
|
1720
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1721
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1722
|
+
case "ValidationException":
|
|
1723
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1724
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1725
|
+
default:
|
|
1726
|
+
const parsedBody = parsedOutput.body;
|
|
1727
|
+
return throwDefaultError({
|
|
1728
|
+
output,
|
|
1729
|
+
parsedBody,
|
|
1730
|
+
errorCode
|
|
1731
|
+
});
|
|
1732
|
+
}
|
|
1733
|
+
}, "de_GetSourceRepositoryCloneUrlsCommandError");
|
|
1734
|
+
var de_GetSpaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1735
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1736
|
+
return de_GetSpaceCommandError(output, context);
|
|
1737
|
+
}
|
|
1738
|
+
const contents = (0, import_smithy_client.map)({
|
|
1739
|
+
$metadata: deserializeMetadata(output)
|
|
1740
|
+
});
|
|
1741
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1742
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1743
|
+
description: import_smithy_client.expectString,
|
|
1744
|
+
displayName: import_smithy_client.expectString,
|
|
1745
|
+
name: import_smithy_client.expectString,
|
|
1746
|
+
regionName: import_smithy_client.expectString
|
|
1747
|
+
});
|
|
1748
|
+
Object.assign(contents, doc);
|
|
1749
|
+
return contents;
|
|
1750
|
+
}, "de_GetSpaceCommand");
|
|
1751
|
+
var de_GetSpaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1752
|
+
const parsedOutput = {
|
|
1753
|
+
...output,
|
|
1754
|
+
body: await parseErrorBody(output.body, context)
|
|
1755
|
+
};
|
|
1756
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1757
|
+
switch (errorCode) {
|
|
1758
|
+
case "AccessDeniedException":
|
|
1759
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1760
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1761
|
+
case "ConflictException":
|
|
1762
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1763
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1764
|
+
case "ResourceNotFoundException":
|
|
1765
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1766
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1767
|
+
case "ServiceQuotaExceededException":
|
|
1768
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1769
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1770
|
+
case "ThrottlingException":
|
|
1771
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1772
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1773
|
+
case "ValidationException":
|
|
1774
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1775
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1776
|
+
default:
|
|
1777
|
+
const parsedBody = parsedOutput.body;
|
|
1778
|
+
return throwDefaultError({
|
|
1779
|
+
output,
|
|
1780
|
+
parsedBody,
|
|
1781
|
+
errorCode
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1784
|
+
}, "de_GetSpaceCommandError");
|
|
1785
|
+
var de_GetSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1786
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1787
|
+
return de_GetSubscriptionCommandError(output, context);
|
|
1788
|
+
}
|
|
1789
|
+
const contents = (0, import_smithy_client.map)({
|
|
1790
|
+
$metadata: deserializeMetadata(output)
|
|
1791
|
+
});
|
|
1792
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1793
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1794
|
+
awsAccountName: import_smithy_client.expectString,
|
|
1795
|
+
subscriptionType: import_smithy_client.expectString
|
|
1796
|
+
});
|
|
1797
|
+
Object.assign(contents, doc);
|
|
1798
|
+
return contents;
|
|
1799
|
+
}, "de_GetSubscriptionCommand");
|
|
1800
|
+
var de_GetSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1801
|
+
const parsedOutput = {
|
|
1802
|
+
...output,
|
|
1803
|
+
body: await parseErrorBody(output.body, context)
|
|
1804
|
+
};
|
|
1805
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1806
|
+
switch (errorCode) {
|
|
1807
|
+
case "AccessDeniedException":
|
|
1808
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1809
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1810
|
+
case "ConflictException":
|
|
1811
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1812
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1813
|
+
case "ResourceNotFoundException":
|
|
1814
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1815
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1816
|
+
case "ServiceQuotaExceededException":
|
|
1817
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1818
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1819
|
+
case "ThrottlingException":
|
|
1820
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1821
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1822
|
+
case "ValidationException":
|
|
1823
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1824
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1825
|
+
default:
|
|
1826
|
+
const parsedBody = parsedOutput.body;
|
|
1827
|
+
return throwDefaultError({
|
|
1828
|
+
output,
|
|
1829
|
+
parsedBody,
|
|
1830
|
+
errorCode
|
|
1831
|
+
});
|
|
1832
|
+
}
|
|
1833
|
+
}, "de_GetSubscriptionCommandError");
|
|
1834
|
+
var de_GetUserDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1835
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1836
|
+
return de_GetUserDetailsCommandError(output, context);
|
|
1837
|
+
}
|
|
1838
|
+
const contents = (0, import_smithy_client.map)({
|
|
1839
|
+
$metadata: deserializeMetadata(output)
|
|
1840
|
+
});
|
|
1841
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1842
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1843
|
+
displayName: import_smithy_client.expectString,
|
|
1844
|
+
primaryEmail: import_smithy_client._json,
|
|
1845
|
+
userId: import_smithy_client.expectString,
|
|
1846
|
+
userName: import_smithy_client.expectString,
|
|
1847
|
+
version: import_smithy_client.expectString
|
|
1848
|
+
});
|
|
1849
|
+
Object.assign(contents, doc);
|
|
1850
|
+
return contents;
|
|
1851
|
+
}, "de_GetUserDetailsCommand");
|
|
1852
|
+
var de_GetUserDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1853
|
+
const parsedOutput = {
|
|
1854
|
+
...output,
|
|
1855
|
+
body: await parseErrorBody(output.body, context)
|
|
1856
|
+
};
|
|
1857
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1858
|
+
switch (errorCode) {
|
|
1859
|
+
case "AccessDeniedException":
|
|
1860
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1861
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1862
|
+
case "ConflictException":
|
|
1863
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1864
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1865
|
+
case "ResourceNotFoundException":
|
|
1866
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1867
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1868
|
+
case "ServiceQuotaExceededException":
|
|
1869
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1870
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1871
|
+
case "ThrottlingException":
|
|
1872
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1873
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1874
|
+
case "ValidationException":
|
|
1875
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1876
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1877
|
+
default:
|
|
1878
|
+
const parsedBody = parsedOutput.body;
|
|
1879
|
+
return throwDefaultError({
|
|
1880
|
+
output,
|
|
1881
|
+
parsedBody,
|
|
1882
|
+
errorCode
|
|
1883
|
+
});
|
|
1884
|
+
}
|
|
1885
|
+
}, "de_GetUserDetailsCommandError");
|
|
1886
|
+
var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1887
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1888
|
+
return de_GetWorkflowCommandError(output, context);
|
|
1889
|
+
}
|
|
1890
|
+
const contents = (0, import_smithy_client.map)({
|
|
1891
|
+
$metadata: deserializeMetadata(output)
|
|
1892
|
+
});
|
|
1893
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1894
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1895
|
+
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1896
|
+
definition: import_smithy_client._json,
|
|
1897
|
+
id: import_smithy_client.expectString,
|
|
1898
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1899
|
+
name: import_smithy_client.expectString,
|
|
1900
|
+
projectName: import_smithy_client.expectString,
|
|
1901
|
+
runMode: import_smithy_client.expectString,
|
|
1902
|
+
sourceBranchName: import_smithy_client.expectString,
|
|
1903
|
+
sourceRepositoryName: import_smithy_client.expectString,
|
|
1904
|
+
spaceName: import_smithy_client.expectString,
|
|
1905
|
+
status: import_smithy_client.expectString
|
|
1906
|
+
});
|
|
1907
|
+
Object.assign(contents, doc);
|
|
1908
|
+
return contents;
|
|
1909
|
+
}, "de_GetWorkflowCommand");
|
|
1910
|
+
var de_GetWorkflowCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1911
|
+
const parsedOutput = {
|
|
1912
|
+
...output,
|
|
1913
|
+
body: await parseErrorBody(output.body, context)
|
|
1914
|
+
};
|
|
1915
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1916
|
+
switch (errorCode) {
|
|
1917
|
+
case "AccessDeniedException":
|
|
1918
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1919
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1920
|
+
case "ConflictException":
|
|
1921
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1922
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1923
|
+
case "ResourceNotFoundException":
|
|
1924
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1925
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1926
|
+
case "ServiceQuotaExceededException":
|
|
1927
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1928
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1929
|
+
case "ThrottlingException":
|
|
1930
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1931
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1932
|
+
case "ValidationException":
|
|
1933
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1934
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1935
|
+
default:
|
|
1936
|
+
const parsedBody = parsedOutput.body;
|
|
1937
|
+
return throwDefaultError({
|
|
1938
|
+
output,
|
|
1939
|
+
parsedBody,
|
|
1940
|
+
errorCode
|
|
1941
|
+
});
|
|
1942
|
+
}
|
|
1943
|
+
}, "de_GetWorkflowCommandError");
|
|
1944
|
+
var de_GetWorkflowRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1945
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1946
|
+
return de_GetWorkflowRunCommandError(output, context);
|
|
1947
|
+
}
|
|
1948
|
+
const contents = (0, import_smithy_client.map)({
|
|
1949
|
+
$metadata: deserializeMetadata(output)
|
|
1950
|
+
});
|
|
1951
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1952
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1953
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1954
|
+
id: import_smithy_client.expectString,
|
|
1955
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1956
|
+
projectName: import_smithy_client.expectString,
|
|
1957
|
+
spaceName: import_smithy_client.expectString,
|
|
1958
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1959
|
+
status: import_smithy_client.expectString,
|
|
1960
|
+
statusReasons: import_smithy_client._json,
|
|
1961
|
+
workflowId: import_smithy_client.expectString
|
|
1962
|
+
});
|
|
1963
|
+
Object.assign(contents, doc);
|
|
1964
|
+
return contents;
|
|
1965
|
+
}, "de_GetWorkflowRunCommand");
|
|
1966
|
+
var de_GetWorkflowRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1967
|
+
const parsedOutput = {
|
|
1968
|
+
...output,
|
|
1969
|
+
body: await parseErrorBody(output.body, context)
|
|
1970
|
+
};
|
|
1971
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1972
|
+
switch (errorCode) {
|
|
1973
|
+
case "AccessDeniedException":
|
|
1974
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
1975
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1976
|
+
case "ConflictException":
|
|
1977
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
1978
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1979
|
+
case "ResourceNotFoundException":
|
|
1980
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
1981
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1982
|
+
case "ServiceQuotaExceededException":
|
|
1983
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
1984
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1985
|
+
case "ThrottlingException":
|
|
1986
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
1987
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1988
|
+
case "ValidationException":
|
|
1989
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
1990
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1991
|
+
default:
|
|
1992
|
+
const parsedBody = parsedOutput.body;
|
|
1993
|
+
return throwDefaultError({
|
|
1994
|
+
output,
|
|
1995
|
+
parsedBody,
|
|
1996
|
+
errorCode
|
|
1997
|
+
});
|
|
1998
|
+
}
|
|
1999
|
+
}, "de_GetWorkflowRunCommandError");
|
|
2000
|
+
var de_ListAccessTokensCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2001
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2002
|
+
return de_ListAccessTokensCommandError(output, context);
|
|
2003
|
+
}
|
|
2004
|
+
const contents = (0, import_smithy_client.map)({
|
|
2005
|
+
$metadata: deserializeMetadata(output)
|
|
2006
|
+
});
|
|
2007
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2008
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2009
|
+
items: (_) => de_AccessTokenSummaries(_, context),
|
|
2010
|
+
nextToken: import_smithy_client.expectString
|
|
2011
|
+
});
|
|
2012
|
+
Object.assign(contents, doc);
|
|
2013
|
+
return contents;
|
|
2014
|
+
}, "de_ListAccessTokensCommand");
|
|
2015
|
+
var de_ListAccessTokensCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2016
|
+
const parsedOutput = {
|
|
2017
|
+
...output,
|
|
2018
|
+
body: await parseErrorBody(output.body, context)
|
|
2019
|
+
};
|
|
2020
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2021
|
+
switch (errorCode) {
|
|
2022
|
+
case "AccessDeniedException":
|
|
2023
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2024
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2025
|
+
case "ConflictException":
|
|
2026
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2027
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2028
|
+
case "ResourceNotFoundException":
|
|
2029
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2030
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2031
|
+
case "ServiceQuotaExceededException":
|
|
2032
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2033
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2034
|
+
case "ThrottlingException":
|
|
2035
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2036
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2037
|
+
case "ValidationException":
|
|
2038
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2039
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2040
|
+
default:
|
|
2041
|
+
const parsedBody = parsedOutput.body;
|
|
2042
|
+
return throwDefaultError({
|
|
2043
|
+
output,
|
|
2044
|
+
parsedBody,
|
|
2045
|
+
errorCode
|
|
2046
|
+
});
|
|
2047
|
+
}
|
|
2048
|
+
}, "de_ListAccessTokensCommandError");
|
|
2049
|
+
var de_ListDevEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2050
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2051
|
+
return de_ListDevEnvironmentsCommandError(output, context);
|
|
2052
|
+
}
|
|
2053
|
+
const contents = (0, import_smithy_client.map)({
|
|
2054
|
+
$metadata: deserializeMetadata(output)
|
|
2055
|
+
});
|
|
2056
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2057
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2058
|
+
items: (_) => de_DevEnvironmentSummaryList(_, context),
|
|
2059
|
+
nextToken: import_smithy_client.expectString
|
|
2060
|
+
});
|
|
2061
|
+
Object.assign(contents, doc);
|
|
2062
|
+
return contents;
|
|
2063
|
+
}, "de_ListDevEnvironmentsCommand");
|
|
2064
|
+
var de_ListDevEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2065
|
+
const parsedOutput = {
|
|
2066
|
+
...output,
|
|
2067
|
+
body: await parseErrorBody(output.body, context)
|
|
2068
|
+
};
|
|
2069
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2070
|
+
switch (errorCode) {
|
|
2071
|
+
case "AccessDeniedException":
|
|
2072
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2073
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2074
|
+
case "ConflictException":
|
|
2075
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2076
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2077
|
+
case "ResourceNotFoundException":
|
|
2078
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2079
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2080
|
+
case "ServiceQuotaExceededException":
|
|
2081
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2082
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2083
|
+
case "ThrottlingException":
|
|
2084
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2085
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2086
|
+
case "ValidationException":
|
|
2087
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2088
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2089
|
+
default:
|
|
2090
|
+
const parsedBody = parsedOutput.body;
|
|
2091
|
+
return throwDefaultError({
|
|
2092
|
+
output,
|
|
2093
|
+
parsedBody,
|
|
2094
|
+
errorCode
|
|
2095
|
+
});
|
|
2096
|
+
}
|
|
2097
|
+
}, "de_ListDevEnvironmentsCommandError");
|
|
2098
|
+
var de_ListDevEnvironmentSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2099
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2100
|
+
return de_ListDevEnvironmentSessionsCommandError(output, context);
|
|
2101
|
+
}
|
|
2102
|
+
const contents = (0, import_smithy_client.map)({
|
|
2103
|
+
$metadata: deserializeMetadata(output)
|
|
2104
|
+
});
|
|
2105
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2106
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2107
|
+
items: (_) => de_DevEnvironmentSessionsSummaryList(_, context),
|
|
2108
|
+
nextToken: import_smithy_client.expectString
|
|
2109
|
+
});
|
|
2110
|
+
Object.assign(contents, doc);
|
|
2111
|
+
return contents;
|
|
2112
|
+
}, "de_ListDevEnvironmentSessionsCommand");
|
|
2113
|
+
var de_ListDevEnvironmentSessionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2114
|
+
const parsedOutput = {
|
|
2115
|
+
...output,
|
|
2116
|
+
body: await parseErrorBody(output.body, context)
|
|
2117
|
+
};
|
|
2118
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2119
|
+
switch (errorCode) {
|
|
2120
|
+
case "AccessDeniedException":
|
|
2121
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2122
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2123
|
+
case "ConflictException":
|
|
2124
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2125
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2126
|
+
case "ResourceNotFoundException":
|
|
2127
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2128
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2129
|
+
case "ServiceQuotaExceededException":
|
|
2130
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2131
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2132
|
+
case "ThrottlingException":
|
|
2133
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2134
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2135
|
+
case "ValidationException":
|
|
2136
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2137
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2138
|
+
default:
|
|
2139
|
+
const parsedBody = parsedOutput.body;
|
|
2140
|
+
return throwDefaultError({
|
|
2141
|
+
output,
|
|
2142
|
+
parsedBody,
|
|
2143
|
+
errorCode
|
|
2144
|
+
});
|
|
2145
|
+
}
|
|
2146
|
+
}, "de_ListDevEnvironmentSessionsCommandError");
|
|
2147
|
+
var de_ListEventLogsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2148
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2149
|
+
return de_ListEventLogsCommandError(output, context);
|
|
2150
|
+
}
|
|
2151
|
+
const contents = (0, import_smithy_client.map)({
|
|
2152
|
+
$metadata: deserializeMetadata(output)
|
|
2153
|
+
});
|
|
2154
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2155
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2156
|
+
items: (_) => de_EventLogEntries(_, context),
|
|
2157
|
+
nextToken: import_smithy_client.expectString
|
|
2158
|
+
});
|
|
2159
|
+
Object.assign(contents, doc);
|
|
2160
|
+
return contents;
|
|
2161
|
+
}, "de_ListEventLogsCommand");
|
|
2162
|
+
var de_ListEventLogsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2163
|
+
const parsedOutput = {
|
|
2164
|
+
...output,
|
|
2165
|
+
body: await parseErrorBody(output.body, context)
|
|
2166
|
+
};
|
|
2167
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2168
|
+
switch (errorCode) {
|
|
2169
|
+
case "AccessDeniedException":
|
|
2170
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2171
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2172
|
+
case "ConflictException":
|
|
2173
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2174
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2175
|
+
case "ResourceNotFoundException":
|
|
2176
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2177
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2178
|
+
case "ServiceQuotaExceededException":
|
|
2179
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2180
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2181
|
+
case "ThrottlingException":
|
|
2182
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2183
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2184
|
+
case "ValidationException":
|
|
2185
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2186
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2187
|
+
default:
|
|
2188
|
+
const parsedBody = parsedOutput.body;
|
|
2189
|
+
return throwDefaultError({
|
|
2190
|
+
output,
|
|
2191
|
+
parsedBody,
|
|
2192
|
+
errorCode
|
|
2193
|
+
});
|
|
2194
|
+
}
|
|
2195
|
+
}, "de_ListEventLogsCommandError");
|
|
2196
|
+
var de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2197
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2198
|
+
return de_ListProjectsCommandError(output, context);
|
|
2199
|
+
}
|
|
2200
|
+
const contents = (0, import_smithy_client.map)({
|
|
2201
|
+
$metadata: deserializeMetadata(output)
|
|
2202
|
+
});
|
|
2203
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2204
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2205
|
+
items: import_smithy_client._json,
|
|
2206
|
+
nextToken: import_smithy_client.expectString
|
|
2207
|
+
});
|
|
2208
|
+
Object.assign(contents, doc);
|
|
2209
|
+
return contents;
|
|
2210
|
+
}, "de_ListProjectsCommand");
|
|
2211
|
+
var de_ListProjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2212
|
+
const parsedOutput = {
|
|
2213
|
+
...output,
|
|
2214
|
+
body: await parseErrorBody(output.body, context)
|
|
2215
|
+
};
|
|
2216
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2217
|
+
switch (errorCode) {
|
|
2218
|
+
case "AccessDeniedException":
|
|
2219
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2220
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2221
|
+
case "ConflictException":
|
|
2222
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2223
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2224
|
+
case "ResourceNotFoundException":
|
|
2225
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2226
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2227
|
+
case "ServiceQuotaExceededException":
|
|
2228
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2229
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2230
|
+
case "ThrottlingException":
|
|
2231
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2232
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2233
|
+
case "ValidationException":
|
|
2234
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2235
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2236
|
+
default:
|
|
2237
|
+
const parsedBody = parsedOutput.body;
|
|
2238
|
+
return throwDefaultError({
|
|
2239
|
+
output,
|
|
2240
|
+
parsedBody,
|
|
2241
|
+
errorCode
|
|
2242
|
+
});
|
|
2243
|
+
}
|
|
2244
|
+
}, "de_ListProjectsCommandError");
|
|
2245
|
+
var de_ListSourceRepositoriesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2246
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2247
|
+
return de_ListSourceRepositoriesCommandError(output, context);
|
|
2248
|
+
}
|
|
2249
|
+
const contents = (0, import_smithy_client.map)({
|
|
2250
|
+
$metadata: deserializeMetadata(output)
|
|
2251
|
+
});
|
|
2252
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2253
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2254
|
+
items: (_) => de_ListSourceRepositoriesItems(_, context),
|
|
2255
|
+
nextToken: import_smithy_client.expectString
|
|
2256
|
+
});
|
|
2257
|
+
Object.assign(contents, doc);
|
|
2258
|
+
return contents;
|
|
2259
|
+
}, "de_ListSourceRepositoriesCommand");
|
|
2260
|
+
var de_ListSourceRepositoriesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2261
|
+
const parsedOutput = {
|
|
2262
|
+
...output,
|
|
2263
|
+
body: await parseErrorBody(output.body, context)
|
|
2264
|
+
};
|
|
2265
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2266
|
+
switch (errorCode) {
|
|
2267
|
+
case "AccessDeniedException":
|
|
2268
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2269
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2270
|
+
case "ConflictException":
|
|
2271
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2272
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2273
|
+
case "ResourceNotFoundException":
|
|
2274
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2275
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2276
|
+
case "ServiceQuotaExceededException":
|
|
2277
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2278
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2279
|
+
case "ThrottlingException":
|
|
2280
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2281
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2282
|
+
case "ValidationException":
|
|
2283
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2284
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2285
|
+
default:
|
|
2286
|
+
const parsedBody = parsedOutput.body;
|
|
2287
|
+
return throwDefaultError({
|
|
2288
|
+
output,
|
|
2289
|
+
parsedBody,
|
|
2290
|
+
errorCode
|
|
2291
|
+
});
|
|
2292
|
+
}
|
|
2293
|
+
}, "de_ListSourceRepositoriesCommandError");
|
|
2294
|
+
var de_ListSourceRepositoryBranchesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2295
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2296
|
+
return de_ListSourceRepositoryBranchesCommandError(output, context);
|
|
2297
|
+
}
|
|
2298
|
+
const contents = (0, import_smithy_client.map)({
|
|
2299
|
+
$metadata: deserializeMetadata(output)
|
|
2300
|
+
});
|
|
2301
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2302
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2303
|
+
items: (_) => de_ListSourceRepositoryBranchesItems(_, context),
|
|
2304
|
+
nextToken: import_smithy_client.expectString
|
|
2305
|
+
});
|
|
2306
|
+
Object.assign(contents, doc);
|
|
2307
|
+
return contents;
|
|
2308
|
+
}, "de_ListSourceRepositoryBranchesCommand");
|
|
2309
|
+
var de_ListSourceRepositoryBranchesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2310
|
+
const parsedOutput = {
|
|
2311
|
+
...output,
|
|
2312
|
+
body: await parseErrorBody(output.body, context)
|
|
2313
|
+
};
|
|
2314
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2315
|
+
switch (errorCode) {
|
|
2316
|
+
case "AccessDeniedException":
|
|
2317
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2318
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2319
|
+
case "ConflictException":
|
|
2320
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2321
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2322
|
+
case "ResourceNotFoundException":
|
|
2323
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2324
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2325
|
+
case "ServiceQuotaExceededException":
|
|
2326
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2327
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2328
|
+
case "ThrottlingException":
|
|
2329
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2330
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2331
|
+
case "ValidationException":
|
|
2332
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2333
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2334
|
+
default:
|
|
2335
|
+
const parsedBody = parsedOutput.body;
|
|
2336
|
+
return throwDefaultError({
|
|
2337
|
+
output,
|
|
2338
|
+
parsedBody,
|
|
2339
|
+
errorCode
|
|
2340
|
+
});
|
|
2341
|
+
}
|
|
2342
|
+
}, "de_ListSourceRepositoryBranchesCommandError");
|
|
2343
|
+
var de_ListSpacesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2344
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2345
|
+
return de_ListSpacesCommandError(output, context);
|
|
2346
|
+
}
|
|
2347
|
+
const contents = (0, import_smithy_client.map)({
|
|
2348
|
+
$metadata: deserializeMetadata(output)
|
|
2349
|
+
});
|
|
2350
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2351
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2352
|
+
items: import_smithy_client._json,
|
|
2353
|
+
nextToken: import_smithy_client.expectString
|
|
2354
|
+
});
|
|
2355
|
+
Object.assign(contents, doc);
|
|
2356
|
+
return contents;
|
|
2357
|
+
}, "de_ListSpacesCommand");
|
|
2358
|
+
var de_ListSpacesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2359
|
+
const parsedOutput = {
|
|
2360
|
+
...output,
|
|
2361
|
+
body: await parseErrorBody(output.body, context)
|
|
2362
|
+
};
|
|
2363
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2364
|
+
switch (errorCode) {
|
|
2365
|
+
case "AccessDeniedException":
|
|
2366
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2367
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2368
|
+
case "ConflictException":
|
|
2369
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2370
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2371
|
+
case "ResourceNotFoundException":
|
|
2372
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2373
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2374
|
+
case "ServiceQuotaExceededException":
|
|
2375
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2376
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2377
|
+
case "ThrottlingException":
|
|
2378
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2379
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2380
|
+
case "ValidationException":
|
|
2381
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2382
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2383
|
+
default:
|
|
2384
|
+
const parsedBody = parsedOutput.body;
|
|
2385
|
+
return throwDefaultError({
|
|
2386
|
+
output,
|
|
2387
|
+
parsedBody,
|
|
2388
|
+
errorCode
|
|
2389
|
+
});
|
|
2390
|
+
}
|
|
2391
|
+
}, "de_ListSpacesCommandError");
|
|
2392
|
+
var de_ListWorkflowRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2393
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2394
|
+
return de_ListWorkflowRunsCommandError(output, context);
|
|
2395
|
+
}
|
|
2396
|
+
const contents = (0, import_smithy_client.map)({
|
|
2397
|
+
$metadata: deserializeMetadata(output)
|
|
2398
|
+
});
|
|
2399
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2400
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2401
|
+
items: (_) => de_WorkflowRunSummaries(_, context),
|
|
2402
|
+
nextToken: import_smithy_client.expectString
|
|
2403
|
+
});
|
|
2404
|
+
Object.assign(contents, doc);
|
|
2405
|
+
return contents;
|
|
2406
|
+
}, "de_ListWorkflowRunsCommand");
|
|
2407
|
+
var de_ListWorkflowRunsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2408
|
+
const parsedOutput = {
|
|
2409
|
+
...output,
|
|
2410
|
+
body: await parseErrorBody(output.body, context)
|
|
2411
|
+
};
|
|
2412
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2413
|
+
switch (errorCode) {
|
|
2414
|
+
case "AccessDeniedException":
|
|
2415
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2416
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2417
|
+
case "ConflictException":
|
|
2418
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2419
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2420
|
+
case "ResourceNotFoundException":
|
|
2421
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2422
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2423
|
+
case "ServiceQuotaExceededException":
|
|
2424
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2425
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2426
|
+
case "ThrottlingException":
|
|
2427
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2428
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2429
|
+
case "ValidationException":
|
|
2430
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2431
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2432
|
+
default:
|
|
2433
|
+
const parsedBody = parsedOutput.body;
|
|
2434
|
+
return throwDefaultError({
|
|
2435
|
+
output,
|
|
2436
|
+
parsedBody,
|
|
2437
|
+
errorCode
|
|
2438
|
+
});
|
|
2439
|
+
}
|
|
2440
|
+
}, "de_ListWorkflowRunsCommandError");
|
|
2441
|
+
var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2442
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2443
|
+
return de_ListWorkflowsCommandError(output, context);
|
|
2444
|
+
}
|
|
2445
|
+
const contents = (0, import_smithy_client.map)({
|
|
2446
|
+
$metadata: deserializeMetadata(output)
|
|
2447
|
+
});
|
|
2448
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2449
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2450
|
+
items: (_) => de_WorkflowSummaries(_, context),
|
|
2451
|
+
nextToken: import_smithy_client.expectString
|
|
2452
|
+
});
|
|
2453
|
+
Object.assign(contents, doc);
|
|
2454
|
+
return contents;
|
|
2455
|
+
}, "de_ListWorkflowsCommand");
|
|
2456
|
+
var de_ListWorkflowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2457
|
+
const parsedOutput = {
|
|
2458
|
+
...output,
|
|
2459
|
+
body: await parseErrorBody(output.body, context)
|
|
2460
|
+
};
|
|
2461
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2462
|
+
switch (errorCode) {
|
|
2463
|
+
case "AccessDeniedException":
|
|
2464
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2465
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2466
|
+
case "ConflictException":
|
|
2467
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2468
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2469
|
+
case "ResourceNotFoundException":
|
|
2470
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2471
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2472
|
+
case "ServiceQuotaExceededException":
|
|
2473
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2474
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2475
|
+
case "ThrottlingException":
|
|
2476
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2477
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2478
|
+
case "ValidationException":
|
|
2479
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2480
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2481
|
+
default:
|
|
2482
|
+
const parsedBody = parsedOutput.body;
|
|
2483
|
+
return throwDefaultError({
|
|
2484
|
+
output,
|
|
2485
|
+
parsedBody,
|
|
2486
|
+
errorCode
|
|
2487
|
+
});
|
|
2488
|
+
}
|
|
2489
|
+
}, "de_ListWorkflowsCommandError");
|
|
2490
|
+
var de_StartDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2491
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2492
|
+
return de_StartDevEnvironmentCommandError(output, context);
|
|
2493
|
+
}
|
|
2494
|
+
const contents = (0, import_smithy_client.map)({
|
|
2495
|
+
$metadata: deserializeMetadata(output)
|
|
2496
|
+
});
|
|
2497
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2498
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2499
|
+
id: import_smithy_client.expectString,
|
|
2500
|
+
projectName: import_smithy_client.expectString,
|
|
2501
|
+
spaceName: import_smithy_client.expectString,
|
|
2502
|
+
status: import_smithy_client.expectString
|
|
2503
|
+
});
|
|
2504
|
+
Object.assign(contents, doc);
|
|
2505
|
+
return contents;
|
|
2506
|
+
}, "de_StartDevEnvironmentCommand");
|
|
2507
|
+
var de_StartDevEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2508
|
+
const parsedOutput = {
|
|
2509
|
+
...output,
|
|
2510
|
+
body: await parseErrorBody(output.body, context)
|
|
2511
|
+
};
|
|
2512
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2513
|
+
switch (errorCode) {
|
|
2514
|
+
case "AccessDeniedException":
|
|
2515
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2516
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2517
|
+
case "ConflictException":
|
|
2518
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2519
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2520
|
+
case "ResourceNotFoundException":
|
|
2521
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2522
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2523
|
+
case "ServiceQuotaExceededException":
|
|
2524
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2525
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2526
|
+
case "ThrottlingException":
|
|
2527
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2528
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2529
|
+
case "ValidationException":
|
|
2530
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2531
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2532
|
+
default:
|
|
2533
|
+
const parsedBody = parsedOutput.body;
|
|
2534
|
+
return throwDefaultError({
|
|
2535
|
+
output,
|
|
2536
|
+
parsedBody,
|
|
2537
|
+
errorCode
|
|
2538
|
+
});
|
|
2539
|
+
}
|
|
2540
|
+
}, "de_StartDevEnvironmentCommandError");
|
|
2541
|
+
var de_StartDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2542
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2543
|
+
return de_StartDevEnvironmentSessionCommandError(output, context);
|
|
2544
|
+
}
|
|
2545
|
+
const contents = (0, import_smithy_client.map)({
|
|
2546
|
+
$metadata: deserializeMetadata(output)
|
|
2547
|
+
});
|
|
2548
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2549
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2550
|
+
accessDetails: import_smithy_client._json,
|
|
2551
|
+
id: import_smithy_client.expectString,
|
|
2552
|
+
projectName: import_smithy_client.expectString,
|
|
2553
|
+
sessionId: import_smithy_client.expectString,
|
|
2554
|
+
spaceName: import_smithy_client.expectString
|
|
2555
|
+
});
|
|
2556
|
+
Object.assign(contents, doc);
|
|
2557
|
+
return contents;
|
|
2558
|
+
}, "de_StartDevEnvironmentSessionCommand");
|
|
2559
|
+
var de_StartDevEnvironmentSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2560
|
+
const parsedOutput = {
|
|
2561
|
+
...output,
|
|
2562
|
+
body: await parseErrorBody(output.body, context)
|
|
2563
|
+
};
|
|
2564
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2565
|
+
switch (errorCode) {
|
|
2566
|
+
case "AccessDeniedException":
|
|
2567
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2568
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2569
|
+
case "ConflictException":
|
|
2570
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2571
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2572
|
+
case "ResourceNotFoundException":
|
|
2573
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2574
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2575
|
+
case "ServiceQuotaExceededException":
|
|
2576
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2577
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2578
|
+
case "ThrottlingException":
|
|
2579
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2580
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2581
|
+
case "ValidationException":
|
|
2582
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2583
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2584
|
+
default:
|
|
2585
|
+
const parsedBody = parsedOutput.body;
|
|
2586
|
+
return throwDefaultError({
|
|
2587
|
+
output,
|
|
2588
|
+
parsedBody,
|
|
2589
|
+
errorCode
|
|
2590
|
+
});
|
|
2591
|
+
}
|
|
2592
|
+
}, "de_StartDevEnvironmentSessionCommandError");
|
|
2593
|
+
var de_StartWorkflowRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2594
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2595
|
+
return de_StartWorkflowRunCommandError(output, context);
|
|
2596
|
+
}
|
|
2597
|
+
const contents = (0, import_smithy_client.map)({
|
|
2598
|
+
$metadata: deserializeMetadata(output)
|
|
2599
|
+
});
|
|
2600
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2601
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2602
|
+
id: import_smithy_client.expectString,
|
|
2603
|
+
projectName: import_smithy_client.expectString,
|
|
2604
|
+
spaceName: import_smithy_client.expectString,
|
|
2605
|
+
workflowId: import_smithy_client.expectString
|
|
2606
|
+
});
|
|
2607
|
+
Object.assign(contents, doc);
|
|
2608
|
+
return contents;
|
|
2609
|
+
}, "de_StartWorkflowRunCommand");
|
|
2610
|
+
var de_StartWorkflowRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2611
|
+
const parsedOutput = {
|
|
2612
|
+
...output,
|
|
2613
|
+
body: await parseErrorBody(output.body, context)
|
|
2614
|
+
};
|
|
2615
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2616
|
+
switch (errorCode) {
|
|
2617
|
+
case "AccessDeniedException":
|
|
2618
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2619
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2620
|
+
case "ConflictException":
|
|
2621
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2622
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2623
|
+
case "ResourceNotFoundException":
|
|
2624
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2625
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2626
|
+
case "ServiceQuotaExceededException":
|
|
2627
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2628
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2629
|
+
case "ThrottlingException":
|
|
2630
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2631
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2632
|
+
case "ValidationException":
|
|
2633
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2634
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2635
|
+
default:
|
|
2636
|
+
const parsedBody = parsedOutput.body;
|
|
2637
|
+
return throwDefaultError({
|
|
2638
|
+
output,
|
|
2639
|
+
parsedBody,
|
|
2640
|
+
errorCode
|
|
2641
|
+
});
|
|
2642
|
+
}
|
|
2643
|
+
}, "de_StartWorkflowRunCommandError");
|
|
2644
|
+
var de_StopDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2645
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2646
|
+
return de_StopDevEnvironmentCommandError(output, context);
|
|
2647
|
+
}
|
|
2648
|
+
const contents = (0, import_smithy_client.map)({
|
|
2649
|
+
$metadata: deserializeMetadata(output)
|
|
2650
|
+
});
|
|
2651
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2652
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2653
|
+
id: import_smithy_client.expectString,
|
|
2654
|
+
projectName: import_smithy_client.expectString,
|
|
2655
|
+
spaceName: import_smithy_client.expectString,
|
|
2656
|
+
status: import_smithy_client.expectString
|
|
2657
|
+
});
|
|
2658
|
+
Object.assign(contents, doc);
|
|
2659
|
+
return contents;
|
|
2660
|
+
}, "de_StopDevEnvironmentCommand");
|
|
2661
|
+
var de_StopDevEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2662
|
+
const parsedOutput = {
|
|
2663
|
+
...output,
|
|
2664
|
+
body: await parseErrorBody(output.body, context)
|
|
2665
|
+
};
|
|
2666
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2667
|
+
switch (errorCode) {
|
|
2668
|
+
case "AccessDeniedException":
|
|
2669
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2670
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2671
|
+
case "ConflictException":
|
|
2672
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2673
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2674
|
+
case "ResourceNotFoundException":
|
|
2675
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2676
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2677
|
+
case "ServiceQuotaExceededException":
|
|
2678
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2679
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2680
|
+
case "ThrottlingException":
|
|
2681
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2682
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2683
|
+
case "ValidationException":
|
|
2684
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2685
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2686
|
+
default:
|
|
2687
|
+
const parsedBody = parsedOutput.body;
|
|
2688
|
+
return throwDefaultError({
|
|
2689
|
+
output,
|
|
2690
|
+
parsedBody,
|
|
2691
|
+
errorCode
|
|
2692
|
+
});
|
|
2693
|
+
}
|
|
2694
|
+
}, "de_StopDevEnvironmentCommandError");
|
|
2695
|
+
var de_StopDevEnvironmentSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2696
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2697
|
+
return de_StopDevEnvironmentSessionCommandError(output, context);
|
|
2698
|
+
}
|
|
2699
|
+
const contents = (0, import_smithy_client.map)({
|
|
2700
|
+
$metadata: deserializeMetadata(output)
|
|
2701
|
+
});
|
|
2702
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2703
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2704
|
+
id: import_smithy_client.expectString,
|
|
2705
|
+
projectName: import_smithy_client.expectString,
|
|
2706
|
+
sessionId: import_smithy_client.expectString,
|
|
2707
|
+
spaceName: import_smithy_client.expectString
|
|
2708
|
+
});
|
|
2709
|
+
Object.assign(contents, doc);
|
|
2710
|
+
return contents;
|
|
2711
|
+
}, "de_StopDevEnvironmentSessionCommand");
|
|
2712
|
+
var de_StopDevEnvironmentSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2713
|
+
const parsedOutput = {
|
|
2714
|
+
...output,
|
|
2715
|
+
body: await parseErrorBody(output.body, context)
|
|
2716
|
+
};
|
|
2717
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2718
|
+
switch (errorCode) {
|
|
2719
|
+
case "AccessDeniedException":
|
|
2720
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2721
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2722
|
+
case "ConflictException":
|
|
2723
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2724
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2725
|
+
case "ResourceNotFoundException":
|
|
2726
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2727
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2728
|
+
case "ServiceQuotaExceededException":
|
|
2729
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2730
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2731
|
+
case "ThrottlingException":
|
|
2732
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2733
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2734
|
+
case "ValidationException":
|
|
2735
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2736
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2737
|
+
default:
|
|
2738
|
+
const parsedBody = parsedOutput.body;
|
|
2739
|
+
return throwDefaultError({
|
|
2740
|
+
output,
|
|
2741
|
+
parsedBody,
|
|
2742
|
+
errorCode
|
|
2743
|
+
});
|
|
2744
|
+
}
|
|
2745
|
+
}, "de_StopDevEnvironmentSessionCommandError");
|
|
2746
|
+
var de_UpdateDevEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2747
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2748
|
+
return de_UpdateDevEnvironmentCommandError(output, context);
|
|
2749
|
+
}
|
|
2750
|
+
const contents = (0, import_smithy_client.map)({
|
|
2751
|
+
$metadata: deserializeMetadata(output)
|
|
2752
|
+
});
|
|
2753
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2754
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2755
|
+
alias: import_smithy_client.expectString,
|
|
2756
|
+
clientToken: import_smithy_client.expectString,
|
|
2757
|
+
id: import_smithy_client.expectString,
|
|
2758
|
+
ides: import_smithy_client._json,
|
|
2759
|
+
inactivityTimeoutMinutes: import_smithy_client.expectInt32,
|
|
2760
|
+
instanceType: import_smithy_client.expectString,
|
|
2761
|
+
projectName: import_smithy_client.expectString,
|
|
2762
|
+
spaceName: import_smithy_client.expectString
|
|
2763
|
+
});
|
|
2764
|
+
Object.assign(contents, doc);
|
|
2765
|
+
return contents;
|
|
2766
|
+
}, "de_UpdateDevEnvironmentCommand");
|
|
2767
|
+
var de_UpdateDevEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2768
|
+
const parsedOutput = {
|
|
2769
|
+
...output,
|
|
2770
|
+
body: await parseErrorBody(output.body, context)
|
|
2771
|
+
};
|
|
2772
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2773
|
+
switch (errorCode) {
|
|
2774
|
+
case "AccessDeniedException":
|
|
2775
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2776
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2777
|
+
case "ConflictException":
|
|
2778
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2779
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2780
|
+
case "ResourceNotFoundException":
|
|
2781
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2782
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2783
|
+
case "ServiceQuotaExceededException":
|
|
2784
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2785
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2786
|
+
case "ThrottlingException":
|
|
2787
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2788
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2789
|
+
case "ValidationException":
|
|
2790
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2791
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2792
|
+
default:
|
|
2793
|
+
const parsedBody = parsedOutput.body;
|
|
2794
|
+
return throwDefaultError({
|
|
2795
|
+
output,
|
|
2796
|
+
parsedBody,
|
|
2797
|
+
errorCode
|
|
2798
|
+
});
|
|
2799
|
+
}
|
|
2800
|
+
}, "de_UpdateDevEnvironmentCommandError");
|
|
2801
|
+
var de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2802
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2803
|
+
return de_UpdateProjectCommandError(output, context);
|
|
2804
|
+
}
|
|
2805
|
+
const contents = (0, import_smithy_client.map)({
|
|
2806
|
+
$metadata: deserializeMetadata(output)
|
|
2807
|
+
});
|
|
2808
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2809
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2810
|
+
description: import_smithy_client.expectString,
|
|
2811
|
+
displayName: import_smithy_client.expectString,
|
|
2812
|
+
name: import_smithy_client.expectString,
|
|
2813
|
+
spaceName: import_smithy_client.expectString
|
|
2814
|
+
});
|
|
2815
|
+
Object.assign(contents, doc);
|
|
2816
|
+
return contents;
|
|
2817
|
+
}, "de_UpdateProjectCommand");
|
|
2818
|
+
var de_UpdateProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2819
|
+
const parsedOutput = {
|
|
2820
|
+
...output,
|
|
2821
|
+
body: await parseErrorBody(output.body, context)
|
|
2822
|
+
};
|
|
2823
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2824
|
+
switch (errorCode) {
|
|
2825
|
+
case "AccessDeniedException":
|
|
2826
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2827
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2828
|
+
case "ConflictException":
|
|
2829
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2830
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2831
|
+
case "ResourceNotFoundException":
|
|
2832
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2833
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2834
|
+
case "ServiceQuotaExceededException":
|
|
2835
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2836
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2837
|
+
case "ThrottlingException":
|
|
2838
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2839
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2840
|
+
case "ValidationException":
|
|
2841
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2842
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2843
|
+
default:
|
|
2844
|
+
const parsedBody = parsedOutput.body;
|
|
2845
|
+
return throwDefaultError({
|
|
2846
|
+
output,
|
|
2847
|
+
parsedBody,
|
|
2848
|
+
errorCode
|
|
2849
|
+
});
|
|
2850
|
+
}
|
|
2851
|
+
}, "de_UpdateProjectCommandError");
|
|
2852
|
+
var de_UpdateSpaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2853
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2854
|
+
return de_UpdateSpaceCommandError(output, context);
|
|
2855
|
+
}
|
|
2856
|
+
const contents = (0, import_smithy_client.map)({
|
|
2857
|
+
$metadata: deserializeMetadata(output)
|
|
2858
|
+
});
|
|
2859
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2860
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2861
|
+
description: import_smithy_client.expectString,
|
|
2862
|
+
displayName: import_smithy_client.expectString,
|
|
2863
|
+
name: import_smithy_client.expectString
|
|
2864
|
+
});
|
|
2865
|
+
Object.assign(contents, doc);
|
|
2866
|
+
return contents;
|
|
2867
|
+
}, "de_UpdateSpaceCommand");
|
|
2868
|
+
var de_UpdateSpaceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2869
|
+
const parsedOutput = {
|
|
2870
|
+
...output,
|
|
2871
|
+
body: await parseErrorBody(output.body, context)
|
|
2872
|
+
};
|
|
2873
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2874
|
+
switch (errorCode) {
|
|
2875
|
+
case "AccessDeniedException":
|
|
2876
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2877
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2878
|
+
case "ConflictException":
|
|
2879
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2880
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2881
|
+
case "ResourceNotFoundException":
|
|
2882
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2883
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2884
|
+
case "ServiceQuotaExceededException":
|
|
2885
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2886
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2887
|
+
case "ThrottlingException":
|
|
2888
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2889
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2890
|
+
case "ValidationException":
|
|
2891
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2892
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2893
|
+
default:
|
|
2894
|
+
const parsedBody = parsedOutput.body;
|
|
2895
|
+
return throwDefaultError({
|
|
2896
|
+
output,
|
|
2897
|
+
parsedBody,
|
|
2898
|
+
errorCode
|
|
2899
|
+
});
|
|
2900
|
+
}
|
|
2901
|
+
}, "de_UpdateSpaceCommandError");
|
|
2902
|
+
var de_VerifySessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2903
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2904
|
+
return de_VerifySessionCommandError(output, context);
|
|
2905
|
+
}
|
|
2906
|
+
const contents = (0, import_smithy_client.map)({
|
|
2907
|
+
$metadata: deserializeMetadata(output)
|
|
2908
|
+
});
|
|
2909
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2910
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2911
|
+
identity: import_smithy_client.expectString
|
|
2912
|
+
});
|
|
2913
|
+
Object.assign(contents, doc);
|
|
2914
|
+
return contents;
|
|
2915
|
+
}, "de_VerifySessionCommand");
|
|
2916
|
+
var de_VerifySessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2917
|
+
const parsedOutput = {
|
|
2918
|
+
...output,
|
|
2919
|
+
body: await parseErrorBody(output.body, context)
|
|
2920
|
+
};
|
|
2921
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2922
|
+
switch (errorCode) {
|
|
2923
|
+
case "AccessDeniedException":
|
|
2924
|
+
case "com.amazonaws.codecatalyst#AccessDeniedException":
|
|
2925
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2926
|
+
case "ConflictException":
|
|
2927
|
+
case "com.amazonaws.codecatalyst#ConflictException":
|
|
2928
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2929
|
+
case "ResourceNotFoundException":
|
|
2930
|
+
case "com.amazonaws.codecatalyst#ResourceNotFoundException":
|
|
2931
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2932
|
+
case "ServiceQuotaExceededException":
|
|
2933
|
+
case "com.amazonaws.codecatalyst#ServiceQuotaExceededException":
|
|
2934
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2935
|
+
case "ThrottlingException":
|
|
2936
|
+
case "com.amazonaws.codecatalyst#ThrottlingException":
|
|
2937
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2938
|
+
case "ValidationException":
|
|
2939
|
+
case "com.amazonaws.codecatalyst#ValidationException":
|
|
2940
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2941
|
+
default:
|
|
2942
|
+
const parsedBody = parsedOutput.body;
|
|
2943
|
+
return throwDefaultError({
|
|
2944
|
+
output,
|
|
2945
|
+
parsedBody,
|
|
2946
|
+
errorCode
|
|
2947
|
+
});
|
|
2948
|
+
}
|
|
2949
|
+
}, "de_VerifySessionCommandError");
|
|
2950
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(CodeCatalystServiceException);
|
|
2951
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2952
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2953
|
+
const data = parsedOutput.body;
|
|
2954
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2955
|
+
message: import_smithy_client.expectString
|
|
2956
|
+
});
|
|
2957
|
+
Object.assign(contents, doc);
|
|
2958
|
+
const exception = new AccessDeniedException({
|
|
2959
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2960
|
+
...contents
|
|
2961
|
+
});
|
|
2962
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2963
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2964
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2965
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2966
|
+
const data = parsedOutput.body;
|
|
2967
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2968
|
+
message: import_smithy_client.expectString
|
|
2969
|
+
});
|
|
2970
|
+
Object.assign(contents, doc);
|
|
2971
|
+
const exception = new ConflictException({
|
|
2972
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2973
|
+
...contents
|
|
2974
|
+
});
|
|
2975
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2976
|
+
}, "de_ConflictExceptionRes");
|
|
2977
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2978
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2979
|
+
const data = parsedOutput.body;
|
|
2980
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2981
|
+
message: import_smithy_client.expectString
|
|
2982
|
+
});
|
|
2983
|
+
Object.assign(contents, doc);
|
|
2984
|
+
const exception = new ResourceNotFoundException({
|
|
2985
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2986
|
+
...contents
|
|
2987
|
+
});
|
|
2988
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2989
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2990
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2991
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2992
|
+
const data = parsedOutput.body;
|
|
2993
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2994
|
+
message: import_smithy_client.expectString
|
|
2995
|
+
});
|
|
2996
|
+
Object.assign(contents, doc);
|
|
2997
|
+
const exception = new ServiceQuotaExceededException({
|
|
2998
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2999
|
+
...contents
|
|
3000
|
+
});
|
|
3001
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3002
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
3003
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3004
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3005
|
+
const data = parsedOutput.body;
|
|
3006
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3007
|
+
message: import_smithy_client.expectString
|
|
3008
|
+
});
|
|
3009
|
+
Object.assign(contents, doc);
|
|
3010
|
+
const exception = new ThrottlingException({
|
|
3011
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3012
|
+
...contents
|
|
3013
|
+
});
|
|
3014
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3015
|
+
}, "de_ThrottlingExceptionRes");
|
|
3016
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3017
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3018
|
+
const data = parsedOutput.body;
|
|
3019
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3020
|
+
message: import_smithy_client.expectString
|
|
3021
|
+
});
|
|
3022
|
+
Object.assign(contents, doc);
|
|
3023
|
+
const exception = new ValidationException({
|
|
3024
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3025
|
+
...contents
|
|
3026
|
+
});
|
|
3027
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3028
|
+
}, "de_ValidationExceptionRes");
|
|
3029
|
+
var de_AccessTokenSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
3030
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3031
|
+
return de_AccessTokenSummary(entry, context);
|
|
3032
|
+
});
|
|
3033
|
+
return retVal;
|
|
3034
|
+
}, "de_AccessTokenSummaries");
|
|
3035
|
+
var de_AccessTokenSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3036
|
+
return (0, import_smithy_client.take)(output, {
|
|
3037
|
+
expiresTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3038
|
+
id: import_smithy_client.expectString,
|
|
3039
|
+
name: import_smithy_client.expectString
|
|
3040
|
+
});
|
|
3041
|
+
}, "de_AccessTokenSummary");
|
|
3042
|
+
var de_DevEnvironmentSessionsSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
3043
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3044
|
+
return de_DevEnvironmentSessionSummary(entry, context);
|
|
3045
|
+
});
|
|
3046
|
+
return retVal;
|
|
3047
|
+
}, "de_DevEnvironmentSessionsSummaryList");
|
|
3048
|
+
var de_DevEnvironmentSessionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3049
|
+
return (0, import_smithy_client.take)(output, {
|
|
3050
|
+
devEnvironmentId: import_smithy_client.expectString,
|
|
3051
|
+
id: import_smithy_client.expectString,
|
|
3052
|
+
projectName: import_smithy_client.expectString,
|
|
3053
|
+
spaceName: import_smithy_client.expectString,
|
|
3054
|
+
startedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
3055
|
+
});
|
|
3056
|
+
}, "de_DevEnvironmentSessionSummary");
|
|
3057
|
+
var de_DevEnvironmentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3058
|
+
return (0, import_smithy_client.take)(output, {
|
|
3059
|
+
alias: import_smithy_client.expectString,
|
|
3060
|
+
creatorId: import_smithy_client.expectString,
|
|
3061
|
+
id: import_smithy_client.expectString,
|
|
3062
|
+
ides: import_smithy_client._json,
|
|
3063
|
+
inactivityTimeoutMinutes: import_smithy_client.expectInt32,
|
|
3064
|
+
instanceType: import_smithy_client.expectString,
|
|
3065
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3066
|
+
persistentStorage: import_smithy_client._json,
|
|
3067
|
+
projectName: import_smithy_client.expectString,
|
|
3068
|
+
repositories: import_smithy_client._json,
|
|
3069
|
+
spaceName: import_smithy_client.expectString,
|
|
3070
|
+
status: import_smithy_client.expectString,
|
|
3071
|
+
statusReason: import_smithy_client.expectString,
|
|
3072
|
+
vpcConnectionName: import_smithy_client.expectString
|
|
3073
|
+
});
|
|
3074
|
+
}, "de_DevEnvironmentSummary");
|
|
3075
|
+
var de_DevEnvironmentSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
3076
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3077
|
+
return de_DevEnvironmentSummary(entry, context);
|
|
3078
|
+
});
|
|
3079
|
+
return retVal;
|
|
3080
|
+
}, "de_DevEnvironmentSummaryList");
|
|
3081
|
+
var de_EventLogEntries = /* @__PURE__ */ __name((output, context) => {
|
|
3082
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3083
|
+
return de_EventLogEntry(entry, context);
|
|
3084
|
+
});
|
|
3085
|
+
return retVal;
|
|
3086
|
+
}, "de_EventLogEntries");
|
|
3087
|
+
var de_EventLogEntry = /* @__PURE__ */ __name((output, context) => {
|
|
3088
|
+
return (0, import_smithy_client.take)(output, {
|
|
3089
|
+
errorCode: import_smithy_client.expectString,
|
|
3090
|
+
eventCategory: import_smithy_client.expectString,
|
|
3091
|
+
eventName: import_smithy_client.expectString,
|
|
3092
|
+
eventSource: import_smithy_client.expectString,
|
|
3093
|
+
eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3094
|
+
eventType: import_smithy_client.expectString,
|
|
3095
|
+
id: import_smithy_client.expectString,
|
|
3096
|
+
operationType: import_smithy_client.expectString,
|
|
3097
|
+
projectInformation: import_smithy_client._json,
|
|
3098
|
+
requestId: import_smithy_client.expectString,
|
|
3099
|
+
requestPayload: import_smithy_client._json,
|
|
3100
|
+
responsePayload: import_smithy_client._json,
|
|
3101
|
+
sourceIpAddress: import_smithy_client.expectString,
|
|
3102
|
+
userAgent: import_smithy_client.expectString,
|
|
3103
|
+
userIdentity: import_smithy_client._json
|
|
3104
|
+
});
|
|
3105
|
+
}, "de_EventLogEntry");
|
|
3106
|
+
var de_ListSourceRepositoriesItem = /* @__PURE__ */ __name((output, context) => {
|
|
3107
|
+
return (0, import_smithy_client.take)(output, {
|
|
3108
|
+
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3109
|
+
description: import_smithy_client.expectString,
|
|
3110
|
+
id: import_smithy_client.expectString,
|
|
3111
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3112
|
+
name: import_smithy_client.expectString
|
|
3113
|
+
});
|
|
3114
|
+
}, "de_ListSourceRepositoriesItem");
|
|
3115
|
+
var de_ListSourceRepositoriesItems = /* @__PURE__ */ __name((output, context) => {
|
|
3116
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3117
|
+
return de_ListSourceRepositoriesItem(entry, context);
|
|
3118
|
+
});
|
|
3119
|
+
return retVal;
|
|
3120
|
+
}, "de_ListSourceRepositoriesItems");
|
|
3121
|
+
var de_ListSourceRepositoryBranchesItem = /* @__PURE__ */ __name((output, context) => {
|
|
3122
|
+
return (0, import_smithy_client.take)(output, {
|
|
3123
|
+
headCommitId: import_smithy_client.expectString,
|
|
3124
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3125
|
+
name: import_smithy_client.expectString,
|
|
3126
|
+
ref: import_smithy_client.expectString
|
|
3127
|
+
});
|
|
3128
|
+
}, "de_ListSourceRepositoryBranchesItem");
|
|
3129
|
+
var de_ListSourceRepositoryBranchesItems = /* @__PURE__ */ __name((output, context) => {
|
|
3130
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3131
|
+
return de_ListSourceRepositoryBranchesItem(entry, context);
|
|
3132
|
+
});
|
|
3133
|
+
return retVal;
|
|
3134
|
+
}, "de_ListSourceRepositoryBranchesItems");
|
|
3135
|
+
var de_WorkflowRunSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
3136
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3137
|
+
return de_WorkflowRunSummary(entry, context);
|
|
3138
|
+
});
|
|
3139
|
+
return retVal;
|
|
3140
|
+
}, "de_WorkflowRunSummaries");
|
|
3141
|
+
var de_WorkflowRunSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3142
|
+
return (0, import_smithy_client.take)(output, {
|
|
3143
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3144
|
+
id: import_smithy_client.expectString,
|
|
3145
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3146
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3147
|
+
status: import_smithy_client.expectString,
|
|
3148
|
+
statusReasons: import_smithy_client._json,
|
|
3149
|
+
workflowId: import_smithy_client.expectString,
|
|
3150
|
+
workflowName: import_smithy_client.expectString
|
|
3151
|
+
});
|
|
3152
|
+
}, "de_WorkflowRunSummary");
|
|
3153
|
+
var de_WorkflowSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
3154
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3155
|
+
return de_WorkflowSummary(entry, context);
|
|
3156
|
+
});
|
|
3157
|
+
return retVal;
|
|
3158
|
+
}, "de_WorkflowSummaries");
|
|
3159
|
+
var de_WorkflowSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3160
|
+
return (0, import_smithy_client.take)(output, {
|
|
3161
|
+
createdTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3162
|
+
definition: import_smithy_client._json,
|
|
3163
|
+
id: import_smithy_client.expectString,
|
|
3164
|
+
lastUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3165
|
+
name: import_smithy_client.expectString,
|
|
3166
|
+
runMode: import_smithy_client.expectString,
|
|
3167
|
+
sourceBranchName: import_smithy_client.expectString,
|
|
3168
|
+
sourceRepositoryName: import_smithy_client.expectString,
|
|
3169
|
+
status: import_smithy_client.expectString
|
|
3170
|
+
});
|
|
3171
|
+
}, "de_WorkflowSummary");
|
|
3172
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
3173
|
+
httpStatusCode: output.statusCode,
|
|
3174
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3175
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3176
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
3177
|
+
}), "deserializeMetadata");
|
|
3178
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3179
|
+
var _i = "id";
|
|
3180
|
+
var _mR = "maxResults";
|
|
3181
|
+
var _nT = "nextToken";
|
|
3182
|
+
var _uN = "userName";
|
|
3183
|
+
var _wI = "workflowId";
|
|
3184
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3185
|
+
if (encoded.length) {
|
|
3186
|
+
return JSON.parse(encoded);
|
|
3187
|
+
}
|
|
3188
|
+
return {};
|
|
3189
|
+
}), "parseBody");
|
|
3190
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3191
|
+
const value = await parseBody(errorBody, context);
|
|
3192
|
+
value.message = value.message ?? value.Message;
|
|
3193
|
+
return value;
|
|
3194
|
+
}, "parseErrorBody");
|
|
3195
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3196
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
3197
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
3198
|
+
let cleanValue = rawValue;
|
|
3199
|
+
if (typeof cleanValue === "number") {
|
|
3200
|
+
cleanValue = cleanValue.toString();
|
|
3201
|
+
}
|
|
3202
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
3203
|
+
cleanValue = cleanValue.split(",")[0];
|
|
3204
|
+
}
|
|
3205
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
3206
|
+
cleanValue = cleanValue.split(":")[0];
|
|
3207
|
+
}
|
|
3208
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
3209
|
+
cleanValue = cleanValue.split("#")[1];
|
|
3210
|
+
}
|
|
3211
|
+
return cleanValue;
|
|
3212
|
+
}, "sanitizeErrorCode");
|
|
3213
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3214
|
+
if (headerKey !== void 0) {
|
|
3215
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3216
|
+
}
|
|
3217
|
+
if (data.code !== void 0) {
|
|
3218
|
+
return sanitizeErrorCode(data.code);
|
|
3219
|
+
}
|
|
3220
|
+
if (data["__type"] !== void 0) {
|
|
3221
|
+
return sanitizeErrorCode(data["__type"]);
|
|
3222
|
+
}
|
|
3223
|
+
}, "loadRestJsonErrorCode");
|
|
3224
|
+
|
|
3225
|
+
// src/commands/CreateAccessTokenCommand.ts
|
|
3226
|
+
var _CreateAccessTokenCommand = class _CreateAccessTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3227
|
+
...commonParams
|
|
3228
|
+
}).m(function(Command, cs, config, o) {
|
|
3229
|
+
return [
|
|
3230
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3231
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3232
|
+
];
|
|
3233
|
+
}).s("CodeCatalyst", "CreateAccessToken", {}).n("CodeCatalystClient", "CreateAccessTokenCommand").f(void 0, CreateAccessTokenResponseFilterSensitiveLog).ser(se_CreateAccessTokenCommand).de(de_CreateAccessTokenCommand).build() {
|
|
3234
|
+
};
|
|
3235
|
+
__name(_CreateAccessTokenCommand, "CreateAccessTokenCommand");
|
|
3236
|
+
var CreateAccessTokenCommand = _CreateAccessTokenCommand;
|
|
3237
|
+
|
|
3238
|
+
// src/commands/CreateDevEnvironmentCommand.ts
|
|
3239
|
+
|
|
3240
|
+
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
var _CreateDevEnvironmentCommand = class _CreateDevEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3244
|
+
...commonParams
|
|
3245
|
+
}).m(function(Command, cs, config, o) {
|
|
3246
|
+
return [
|
|
3247
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3248
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3249
|
+
];
|
|
3250
|
+
}).s("CodeCatalyst", "CreateDevEnvironment", {}).n("CodeCatalystClient", "CreateDevEnvironmentCommand").f(void 0, void 0).ser(se_CreateDevEnvironmentCommand).de(de_CreateDevEnvironmentCommand).build() {
|
|
3251
|
+
};
|
|
3252
|
+
__name(_CreateDevEnvironmentCommand, "CreateDevEnvironmentCommand");
|
|
3253
|
+
var CreateDevEnvironmentCommand = _CreateDevEnvironmentCommand;
|
|
3254
|
+
|
|
3255
|
+
// src/commands/CreateProjectCommand.ts
|
|
3256
|
+
|
|
3257
|
+
|
|
3258
|
+
|
|
3259
|
+
|
|
3260
|
+
var _CreateProjectCommand = class _CreateProjectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3261
|
+
...commonParams
|
|
3262
|
+
}).m(function(Command, cs, config, o) {
|
|
3263
|
+
return [
|
|
3264
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3265
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3266
|
+
];
|
|
3267
|
+
}).s("CodeCatalyst", "CreateProject", {}).n("CodeCatalystClient", "CreateProjectCommand").f(void 0, void 0).ser(se_CreateProjectCommand).de(de_CreateProjectCommand).build() {
|
|
3268
|
+
};
|
|
3269
|
+
__name(_CreateProjectCommand, "CreateProjectCommand");
|
|
3270
|
+
var CreateProjectCommand = _CreateProjectCommand;
|
|
3271
|
+
|
|
3272
|
+
// src/commands/CreateSourceRepositoryBranchCommand.ts
|
|
3273
|
+
|
|
3274
|
+
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
var _CreateSourceRepositoryBranchCommand = class _CreateSourceRepositoryBranchCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3278
|
+
...commonParams
|
|
3279
|
+
}).m(function(Command, cs, config, o) {
|
|
3280
|
+
return [
|
|
3281
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3282
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3283
|
+
];
|
|
3284
|
+
}).s("CodeCatalyst", "CreateSourceRepositoryBranch", {}).n("CodeCatalystClient", "CreateSourceRepositoryBranchCommand").f(void 0, void 0).ser(se_CreateSourceRepositoryBranchCommand).de(de_CreateSourceRepositoryBranchCommand).build() {
|
|
3285
|
+
};
|
|
3286
|
+
__name(_CreateSourceRepositoryBranchCommand, "CreateSourceRepositoryBranchCommand");
|
|
3287
|
+
var CreateSourceRepositoryBranchCommand = _CreateSourceRepositoryBranchCommand;
|
|
3288
|
+
|
|
3289
|
+
// src/commands/CreateSourceRepositoryCommand.ts
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
var _CreateSourceRepositoryCommand = class _CreateSourceRepositoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3295
|
+
...commonParams
|
|
3296
|
+
}).m(function(Command, cs, config, o) {
|
|
3297
|
+
return [
|
|
3298
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3299
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3300
|
+
];
|
|
3301
|
+
}).s("CodeCatalyst", "CreateSourceRepository", {}).n("CodeCatalystClient", "CreateSourceRepositoryCommand").f(void 0, void 0).ser(se_CreateSourceRepositoryCommand).de(de_CreateSourceRepositoryCommand).build() {
|
|
3302
|
+
};
|
|
3303
|
+
__name(_CreateSourceRepositoryCommand, "CreateSourceRepositoryCommand");
|
|
3304
|
+
var CreateSourceRepositoryCommand = _CreateSourceRepositoryCommand;
|
|
3305
|
+
|
|
3306
|
+
// src/commands/DeleteAccessTokenCommand.ts
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
var _DeleteAccessTokenCommand = class _DeleteAccessTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3312
|
+
...commonParams
|
|
3313
|
+
}).m(function(Command, cs, config, o) {
|
|
3314
|
+
return [
|
|
3315
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3316
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3317
|
+
];
|
|
3318
|
+
}).s("CodeCatalyst", "DeleteAccessToken", {}).n("CodeCatalystClient", "DeleteAccessTokenCommand").f(void 0, void 0).ser(se_DeleteAccessTokenCommand).de(de_DeleteAccessTokenCommand).build() {
|
|
3319
|
+
};
|
|
3320
|
+
__name(_DeleteAccessTokenCommand, "DeleteAccessTokenCommand");
|
|
3321
|
+
var DeleteAccessTokenCommand = _DeleteAccessTokenCommand;
|
|
3322
|
+
|
|
3323
|
+
// src/commands/DeleteDevEnvironmentCommand.ts
|
|
3324
|
+
|
|
3325
|
+
|
|
3326
|
+
|
|
3327
|
+
|
|
3328
|
+
var _DeleteDevEnvironmentCommand = class _DeleteDevEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3329
|
+
...commonParams
|
|
3330
|
+
}).m(function(Command, cs, config, o) {
|
|
3331
|
+
return [
|
|
3332
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3333
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3334
|
+
];
|
|
3335
|
+
}).s("CodeCatalyst", "DeleteDevEnvironment", {}).n("CodeCatalystClient", "DeleteDevEnvironmentCommand").f(void 0, void 0).ser(se_DeleteDevEnvironmentCommand).de(de_DeleteDevEnvironmentCommand).build() {
|
|
3336
|
+
};
|
|
3337
|
+
__name(_DeleteDevEnvironmentCommand, "DeleteDevEnvironmentCommand");
|
|
3338
|
+
var DeleteDevEnvironmentCommand = _DeleteDevEnvironmentCommand;
|
|
3339
|
+
|
|
3340
|
+
// src/commands/DeleteProjectCommand.ts
|
|
3341
|
+
|
|
3342
|
+
|
|
3343
|
+
|
|
3344
|
+
|
|
3345
|
+
var _DeleteProjectCommand = class _DeleteProjectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3346
|
+
...commonParams
|
|
3347
|
+
}).m(function(Command, cs, config, o) {
|
|
3348
|
+
return [
|
|
3349
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3350
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3351
|
+
];
|
|
3352
|
+
}).s("CodeCatalyst", "DeleteProject", {}).n("CodeCatalystClient", "DeleteProjectCommand").f(void 0, void 0).ser(se_DeleteProjectCommand).de(de_DeleteProjectCommand).build() {
|
|
3353
|
+
};
|
|
3354
|
+
__name(_DeleteProjectCommand, "DeleteProjectCommand");
|
|
3355
|
+
var DeleteProjectCommand = _DeleteProjectCommand;
|
|
3356
|
+
|
|
3357
|
+
// src/commands/DeleteSourceRepositoryCommand.ts
|
|
3358
|
+
|
|
3359
|
+
|
|
3360
|
+
|
|
3361
|
+
|
|
3362
|
+
var _DeleteSourceRepositoryCommand = class _DeleteSourceRepositoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3363
|
+
...commonParams
|
|
3364
|
+
}).m(function(Command, cs, config, o) {
|
|
3365
|
+
return [
|
|
3366
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3367
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3368
|
+
];
|
|
3369
|
+
}).s("CodeCatalyst", "DeleteSourceRepository", {}).n("CodeCatalystClient", "DeleteSourceRepositoryCommand").f(void 0, void 0).ser(se_DeleteSourceRepositoryCommand).de(de_DeleteSourceRepositoryCommand).build() {
|
|
3370
|
+
};
|
|
3371
|
+
__name(_DeleteSourceRepositoryCommand, "DeleteSourceRepositoryCommand");
|
|
3372
|
+
var DeleteSourceRepositoryCommand = _DeleteSourceRepositoryCommand;
|
|
3373
|
+
|
|
3374
|
+
// src/commands/DeleteSpaceCommand.ts
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
|
|
3378
|
+
|
|
3379
|
+
var _DeleteSpaceCommand = class _DeleteSpaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3380
|
+
...commonParams
|
|
3381
|
+
}).m(function(Command, cs, config, o) {
|
|
3382
|
+
return [
|
|
3383
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3384
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3385
|
+
];
|
|
3386
|
+
}).s("CodeCatalyst", "DeleteSpace", {}).n("CodeCatalystClient", "DeleteSpaceCommand").f(void 0, void 0).ser(se_DeleteSpaceCommand).de(de_DeleteSpaceCommand).build() {
|
|
3387
|
+
};
|
|
3388
|
+
__name(_DeleteSpaceCommand, "DeleteSpaceCommand");
|
|
3389
|
+
var DeleteSpaceCommand = _DeleteSpaceCommand;
|
|
3390
|
+
|
|
3391
|
+
// src/commands/GetDevEnvironmentCommand.ts
|
|
3392
|
+
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
|
|
3396
|
+
var _GetDevEnvironmentCommand = class _GetDevEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3397
|
+
...commonParams
|
|
3398
|
+
}).m(function(Command, cs, config, o) {
|
|
3399
|
+
return [
|
|
3400
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3401
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3402
|
+
];
|
|
3403
|
+
}).s("CodeCatalyst", "GetDevEnvironment", {}).n("CodeCatalystClient", "GetDevEnvironmentCommand").f(void 0, void 0).ser(se_GetDevEnvironmentCommand).de(de_GetDevEnvironmentCommand).build() {
|
|
3404
|
+
};
|
|
3405
|
+
__name(_GetDevEnvironmentCommand, "GetDevEnvironmentCommand");
|
|
3406
|
+
var GetDevEnvironmentCommand = _GetDevEnvironmentCommand;
|
|
3407
|
+
|
|
3408
|
+
// src/commands/GetProjectCommand.ts
|
|
3409
|
+
|
|
3410
|
+
|
|
3411
|
+
|
|
3412
|
+
|
|
3413
|
+
var _GetProjectCommand = class _GetProjectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3414
|
+
...commonParams
|
|
3415
|
+
}).m(function(Command, cs, config, o) {
|
|
3416
|
+
return [
|
|
3417
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3418
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3419
|
+
];
|
|
3420
|
+
}).s("CodeCatalyst", "GetProject", {}).n("CodeCatalystClient", "GetProjectCommand").f(void 0, void 0).ser(se_GetProjectCommand).de(de_GetProjectCommand).build() {
|
|
3421
|
+
};
|
|
3422
|
+
__name(_GetProjectCommand, "GetProjectCommand");
|
|
3423
|
+
var GetProjectCommand = _GetProjectCommand;
|
|
3424
|
+
|
|
3425
|
+
// src/commands/GetSourceRepositoryCloneUrlsCommand.ts
|
|
3426
|
+
|
|
3427
|
+
|
|
3428
|
+
|
|
3429
|
+
|
|
3430
|
+
var _GetSourceRepositoryCloneUrlsCommand = class _GetSourceRepositoryCloneUrlsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3431
|
+
...commonParams
|
|
3432
|
+
}).m(function(Command, cs, config, o) {
|
|
3433
|
+
return [
|
|
3434
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3435
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3436
|
+
];
|
|
3437
|
+
}).s("CodeCatalyst", "GetSourceRepositoryCloneUrls", {}).n("CodeCatalystClient", "GetSourceRepositoryCloneUrlsCommand").f(void 0, void 0).ser(se_GetSourceRepositoryCloneUrlsCommand).de(de_GetSourceRepositoryCloneUrlsCommand).build() {
|
|
3438
|
+
};
|
|
3439
|
+
__name(_GetSourceRepositoryCloneUrlsCommand, "GetSourceRepositoryCloneUrlsCommand");
|
|
3440
|
+
var GetSourceRepositoryCloneUrlsCommand = _GetSourceRepositoryCloneUrlsCommand;
|
|
3441
|
+
|
|
3442
|
+
// src/commands/GetSourceRepositoryCommand.ts
|
|
3443
|
+
|
|
3444
|
+
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
var _GetSourceRepositoryCommand = class _GetSourceRepositoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3448
|
+
...commonParams
|
|
3449
|
+
}).m(function(Command, cs, config, o) {
|
|
3450
|
+
return [
|
|
3451
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3452
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3453
|
+
];
|
|
3454
|
+
}).s("CodeCatalyst", "GetSourceRepository", {}).n("CodeCatalystClient", "GetSourceRepositoryCommand").f(void 0, void 0).ser(se_GetSourceRepositoryCommand).de(de_GetSourceRepositoryCommand).build() {
|
|
3455
|
+
};
|
|
3456
|
+
__name(_GetSourceRepositoryCommand, "GetSourceRepositoryCommand");
|
|
3457
|
+
var GetSourceRepositoryCommand = _GetSourceRepositoryCommand;
|
|
3458
|
+
|
|
3459
|
+
// src/commands/GetSpaceCommand.ts
|
|
3460
|
+
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
|
|
3464
|
+
var _GetSpaceCommand = class _GetSpaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3465
|
+
...commonParams
|
|
3466
|
+
}).m(function(Command, cs, config, o) {
|
|
3467
|
+
return [
|
|
3468
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3469
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3470
|
+
];
|
|
3471
|
+
}).s("CodeCatalyst", "GetSpace", {}).n("CodeCatalystClient", "GetSpaceCommand").f(void 0, void 0).ser(se_GetSpaceCommand).de(de_GetSpaceCommand).build() {
|
|
3472
|
+
};
|
|
3473
|
+
__name(_GetSpaceCommand, "GetSpaceCommand");
|
|
3474
|
+
var GetSpaceCommand = _GetSpaceCommand;
|
|
3475
|
+
|
|
3476
|
+
// src/commands/GetSubscriptionCommand.ts
|
|
3477
|
+
|
|
3478
|
+
|
|
3479
|
+
|
|
3480
|
+
|
|
3481
|
+
var _GetSubscriptionCommand = class _GetSubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3482
|
+
...commonParams
|
|
3483
|
+
}).m(function(Command, cs, config, o) {
|
|
3484
|
+
return [
|
|
3485
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3486
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3487
|
+
];
|
|
3488
|
+
}).s("CodeCatalyst", "GetSubscription", {}).n("CodeCatalystClient", "GetSubscriptionCommand").f(void 0, void 0).ser(se_GetSubscriptionCommand).de(de_GetSubscriptionCommand).build() {
|
|
3489
|
+
};
|
|
3490
|
+
__name(_GetSubscriptionCommand, "GetSubscriptionCommand");
|
|
3491
|
+
var GetSubscriptionCommand = _GetSubscriptionCommand;
|
|
3492
|
+
|
|
3493
|
+
// src/commands/GetUserDetailsCommand.ts
|
|
3494
|
+
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
|
|
3498
|
+
var _GetUserDetailsCommand = class _GetUserDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3499
|
+
...commonParams
|
|
3500
|
+
}).m(function(Command, cs, config, o) {
|
|
3501
|
+
return [
|
|
3502
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3503
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3504
|
+
];
|
|
3505
|
+
}).s("CodeCatalyst", "GetUserDetails", {}).n("CodeCatalystClient", "GetUserDetailsCommand").f(void 0, void 0).ser(se_GetUserDetailsCommand).de(de_GetUserDetailsCommand).build() {
|
|
3506
|
+
};
|
|
3507
|
+
__name(_GetUserDetailsCommand, "GetUserDetailsCommand");
|
|
3508
|
+
var GetUserDetailsCommand = _GetUserDetailsCommand;
|
|
3509
|
+
|
|
3510
|
+
// src/commands/GetWorkflowCommand.ts
|
|
3511
|
+
|
|
3512
|
+
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
var _GetWorkflowCommand = class _GetWorkflowCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3516
|
+
...commonParams
|
|
3517
|
+
}).m(function(Command, cs, config, o) {
|
|
3518
|
+
return [
|
|
3519
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3520
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3521
|
+
];
|
|
3522
|
+
}).s("CodeCatalyst", "GetWorkflow", {}).n("CodeCatalystClient", "GetWorkflowCommand").f(void 0, void 0).ser(se_GetWorkflowCommand).de(de_GetWorkflowCommand).build() {
|
|
3523
|
+
};
|
|
3524
|
+
__name(_GetWorkflowCommand, "GetWorkflowCommand");
|
|
3525
|
+
var GetWorkflowCommand = _GetWorkflowCommand;
|
|
3526
|
+
|
|
3527
|
+
// src/commands/GetWorkflowRunCommand.ts
|
|
3528
|
+
|
|
3529
|
+
|
|
3530
|
+
|
|
3531
|
+
|
|
3532
|
+
var _GetWorkflowRunCommand = class _GetWorkflowRunCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3533
|
+
...commonParams
|
|
3534
|
+
}).m(function(Command, cs, config, o) {
|
|
3535
|
+
return [
|
|
3536
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3537
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3538
|
+
];
|
|
3539
|
+
}).s("CodeCatalyst", "GetWorkflowRun", {}).n("CodeCatalystClient", "GetWorkflowRunCommand").f(void 0, void 0).ser(se_GetWorkflowRunCommand).de(de_GetWorkflowRunCommand).build() {
|
|
3540
|
+
};
|
|
3541
|
+
__name(_GetWorkflowRunCommand, "GetWorkflowRunCommand");
|
|
3542
|
+
var GetWorkflowRunCommand = _GetWorkflowRunCommand;
|
|
3543
|
+
|
|
3544
|
+
// src/commands/ListAccessTokensCommand.ts
|
|
3545
|
+
|
|
3546
|
+
|
|
3547
|
+
|
|
3548
|
+
|
|
3549
|
+
var _ListAccessTokensCommand = class _ListAccessTokensCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3550
|
+
...commonParams
|
|
3551
|
+
}).m(function(Command, cs, config, o) {
|
|
3552
|
+
return [
|
|
3553
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3554
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3555
|
+
];
|
|
3556
|
+
}).s("CodeCatalyst", "ListAccessTokens", {}).n("CodeCatalystClient", "ListAccessTokensCommand").f(void 0, void 0).ser(se_ListAccessTokensCommand).de(de_ListAccessTokensCommand).build() {
|
|
3557
|
+
};
|
|
3558
|
+
__name(_ListAccessTokensCommand, "ListAccessTokensCommand");
|
|
3559
|
+
var ListAccessTokensCommand = _ListAccessTokensCommand;
|
|
3560
|
+
|
|
3561
|
+
// src/commands/ListDevEnvironmentsCommand.ts
|
|
3562
|
+
|
|
3563
|
+
|
|
3564
|
+
|
|
3565
|
+
|
|
3566
|
+
var _ListDevEnvironmentsCommand = class _ListDevEnvironmentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3567
|
+
...commonParams
|
|
3568
|
+
}).m(function(Command, cs, config, o) {
|
|
3569
|
+
return [
|
|
3570
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3571
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3572
|
+
];
|
|
3573
|
+
}).s("CodeCatalyst", "ListDevEnvironments", {}).n("CodeCatalystClient", "ListDevEnvironmentsCommand").f(void 0, void 0).ser(se_ListDevEnvironmentsCommand).de(de_ListDevEnvironmentsCommand).build() {
|
|
3574
|
+
};
|
|
3575
|
+
__name(_ListDevEnvironmentsCommand, "ListDevEnvironmentsCommand");
|
|
3576
|
+
var ListDevEnvironmentsCommand = _ListDevEnvironmentsCommand;
|
|
3577
|
+
|
|
3578
|
+
// src/commands/ListDevEnvironmentSessionsCommand.ts
|
|
3579
|
+
|
|
3580
|
+
|
|
3581
|
+
|
|
3582
|
+
|
|
3583
|
+
var _ListDevEnvironmentSessionsCommand = class _ListDevEnvironmentSessionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3584
|
+
...commonParams
|
|
3585
|
+
}).m(function(Command, cs, config, o) {
|
|
3586
|
+
return [
|
|
3587
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3588
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3589
|
+
];
|
|
3590
|
+
}).s("CodeCatalyst", "ListDevEnvironmentSessions", {}).n("CodeCatalystClient", "ListDevEnvironmentSessionsCommand").f(void 0, void 0).ser(se_ListDevEnvironmentSessionsCommand).de(de_ListDevEnvironmentSessionsCommand).build() {
|
|
3591
|
+
};
|
|
3592
|
+
__name(_ListDevEnvironmentSessionsCommand, "ListDevEnvironmentSessionsCommand");
|
|
3593
|
+
var ListDevEnvironmentSessionsCommand = _ListDevEnvironmentSessionsCommand;
|
|
3594
|
+
|
|
3595
|
+
// src/commands/ListEventLogsCommand.ts
|
|
3596
|
+
|
|
3597
|
+
|
|
3598
|
+
|
|
3599
|
+
|
|
3600
|
+
var _ListEventLogsCommand = class _ListEventLogsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3601
|
+
...commonParams
|
|
3602
|
+
}).m(function(Command, cs, config, o) {
|
|
3603
|
+
return [
|
|
3604
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3605
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3606
|
+
];
|
|
3607
|
+
}).s("CodeCatalyst", "ListEventLogs", {}).n("CodeCatalystClient", "ListEventLogsCommand").f(void 0, void 0).ser(se_ListEventLogsCommand).de(de_ListEventLogsCommand).build() {
|
|
3608
|
+
};
|
|
3609
|
+
__name(_ListEventLogsCommand, "ListEventLogsCommand");
|
|
3610
|
+
var ListEventLogsCommand = _ListEventLogsCommand;
|
|
3611
|
+
|
|
3612
|
+
// src/commands/ListProjectsCommand.ts
|
|
3613
|
+
|
|
3614
|
+
|
|
3615
|
+
|
|
3616
|
+
|
|
3617
|
+
var _ListProjectsCommand = class _ListProjectsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3618
|
+
...commonParams
|
|
3619
|
+
}).m(function(Command, cs, config, o) {
|
|
3620
|
+
return [
|
|
3621
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3622
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3623
|
+
];
|
|
3624
|
+
}).s("CodeCatalyst", "ListProjects", {}).n("CodeCatalystClient", "ListProjectsCommand").f(void 0, void 0).ser(se_ListProjectsCommand).de(de_ListProjectsCommand).build() {
|
|
3625
|
+
};
|
|
3626
|
+
__name(_ListProjectsCommand, "ListProjectsCommand");
|
|
3627
|
+
var ListProjectsCommand = _ListProjectsCommand;
|
|
3628
|
+
|
|
3629
|
+
// src/commands/ListSourceRepositoriesCommand.ts
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
|
|
3633
|
+
|
|
3634
|
+
var _ListSourceRepositoriesCommand = class _ListSourceRepositoriesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3635
|
+
...commonParams
|
|
3636
|
+
}).m(function(Command, cs, config, o) {
|
|
3637
|
+
return [
|
|
3638
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3639
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3640
|
+
];
|
|
3641
|
+
}).s("CodeCatalyst", "ListSourceRepositories", {}).n("CodeCatalystClient", "ListSourceRepositoriesCommand").f(void 0, void 0).ser(se_ListSourceRepositoriesCommand).de(de_ListSourceRepositoriesCommand).build() {
|
|
3642
|
+
};
|
|
3643
|
+
__name(_ListSourceRepositoriesCommand, "ListSourceRepositoriesCommand");
|
|
3644
|
+
var ListSourceRepositoriesCommand = _ListSourceRepositoriesCommand;
|
|
3645
|
+
|
|
3646
|
+
// src/commands/ListSourceRepositoryBranchesCommand.ts
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
|
|
3650
|
+
|
|
3651
|
+
var _ListSourceRepositoryBranchesCommand = class _ListSourceRepositoryBranchesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3652
|
+
...commonParams
|
|
3653
|
+
}).m(function(Command, cs, config, o) {
|
|
3654
|
+
return [
|
|
3655
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3656
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3657
|
+
];
|
|
3658
|
+
}).s("CodeCatalyst", "ListSourceRepositoryBranches", {}).n("CodeCatalystClient", "ListSourceRepositoryBranchesCommand").f(void 0, void 0).ser(se_ListSourceRepositoryBranchesCommand).de(de_ListSourceRepositoryBranchesCommand).build() {
|
|
3659
|
+
};
|
|
3660
|
+
__name(_ListSourceRepositoryBranchesCommand, "ListSourceRepositoryBranchesCommand");
|
|
3661
|
+
var ListSourceRepositoryBranchesCommand = _ListSourceRepositoryBranchesCommand;
|
|
3662
|
+
|
|
3663
|
+
// src/commands/ListSpacesCommand.ts
|
|
3664
|
+
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
|
|
3668
|
+
var _ListSpacesCommand = class _ListSpacesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3669
|
+
...commonParams
|
|
3670
|
+
}).m(function(Command, cs, config, o) {
|
|
3671
|
+
return [
|
|
3672
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3673
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3674
|
+
];
|
|
3675
|
+
}).s("CodeCatalyst", "ListSpaces", {}).n("CodeCatalystClient", "ListSpacesCommand").f(void 0, void 0).ser(se_ListSpacesCommand).de(de_ListSpacesCommand).build() {
|
|
3676
|
+
};
|
|
3677
|
+
__name(_ListSpacesCommand, "ListSpacesCommand");
|
|
3678
|
+
var ListSpacesCommand = _ListSpacesCommand;
|
|
3679
|
+
|
|
3680
|
+
// src/commands/ListWorkflowRunsCommand.ts
|
|
3681
|
+
|
|
3682
|
+
|
|
3683
|
+
|
|
3684
|
+
|
|
3685
|
+
var _ListWorkflowRunsCommand = class _ListWorkflowRunsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3686
|
+
...commonParams
|
|
3687
|
+
}).m(function(Command, cs, config, o) {
|
|
3688
|
+
return [
|
|
3689
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3690
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3691
|
+
];
|
|
3692
|
+
}).s("CodeCatalyst", "ListWorkflowRuns", {}).n("CodeCatalystClient", "ListWorkflowRunsCommand").f(void 0, void 0).ser(se_ListWorkflowRunsCommand).de(de_ListWorkflowRunsCommand).build() {
|
|
3693
|
+
};
|
|
3694
|
+
__name(_ListWorkflowRunsCommand, "ListWorkflowRunsCommand");
|
|
3695
|
+
var ListWorkflowRunsCommand = _ListWorkflowRunsCommand;
|
|
3696
|
+
|
|
3697
|
+
// src/commands/ListWorkflowsCommand.ts
|
|
3698
|
+
|
|
3699
|
+
|
|
3700
|
+
|
|
3701
|
+
|
|
3702
|
+
var _ListWorkflowsCommand = class _ListWorkflowsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3703
|
+
...commonParams
|
|
3704
|
+
}).m(function(Command, cs, config, o) {
|
|
3705
|
+
return [
|
|
3706
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3707
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3708
|
+
];
|
|
3709
|
+
}).s("CodeCatalyst", "ListWorkflows", {}).n("CodeCatalystClient", "ListWorkflowsCommand").f(void 0, void 0).ser(se_ListWorkflowsCommand).de(de_ListWorkflowsCommand).build() {
|
|
3710
|
+
};
|
|
3711
|
+
__name(_ListWorkflowsCommand, "ListWorkflowsCommand");
|
|
3712
|
+
var ListWorkflowsCommand = _ListWorkflowsCommand;
|
|
3713
|
+
|
|
3714
|
+
// src/commands/StartDevEnvironmentCommand.ts
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
|
|
3718
|
+
|
|
3719
|
+
var _StartDevEnvironmentCommand = class _StartDevEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3720
|
+
...commonParams
|
|
3721
|
+
}).m(function(Command, cs, config, o) {
|
|
3722
|
+
return [
|
|
3723
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3724
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3725
|
+
];
|
|
3726
|
+
}).s("CodeCatalyst", "StartDevEnvironment", {}).n("CodeCatalystClient", "StartDevEnvironmentCommand").f(void 0, void 0).ser(se_StartDevEnvironmentCommand).de(de_StartDevEnvironmentCommand).build() {
|
|
3727
|
+
};
|
|
3728
|
+
__name(_StartDevEnvironmentCommand, "StartDevEnvironmentCommand");
|
|
3729
|
+
var StartDevEnvironmentCommand = _StartDevEnvironmentCommand;
|
|
3730
|
+
|
|
3731
|
+
// src/commands/StartDevEnvironmentSessionCommand.ts
|
|
3732
|
+
|
|
3733
|
+
|
|
3734
|
+
|
|
3735
|
+
|
|
3736
|
+
var _StartDevEnvironmentSessionCommand = class _StartDevEnvironmentSessionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3737
|
+
...commonParams
|
|
3738
|
+
}).m(function(Command, cs, config, o) {
|
|
3739
|
+
return [
|
|
3740
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3741
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3742
|
+
];
|
|
3743
|
+
}).s("CodeCatalyst", "StartDevEnvironmentSession", {}).n("CodeCatalystClient", "StartDevEnvironmentSessionCommand").f(void 0, StartDevEnvironmentSessionResponseFilterSensitiveLog).ser(se_StartDevEnvironmentSessionCommand).de(de_StartDevEnvironmentSessionCommand).build() {
|
|
3744
|
+
};
|
|
3745
|
+
__name(_StartDevEnvironmentSessionCommand, "StartDevEnvironmentSessionCommand");
|
|
3746
|
+
var StartDevEnvironmentSessionCommand = _StartDevEnvironmentSessionCommand;
|
|
3747
|
+
|
|
3748
|
+
// src/commands/StartWorkflowRunCommand.ts
|
|
3749
|
+
|
|
3750
|
+
|
|
3751
|
+
|
|
3752
|
+
|
|
3753
|
+
var _StartWorkflowRunCommand = class _StartWorkflowRunCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3754
|
+
...commonParams
|
|
3755
|
+
}).m(function(Command, cs, config, o) {
|
|
3756
|
+
return [
|
|
3757
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3758
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3759
|
+
];
|
|
3760
|
+
}).s("CodeCatalyst", "StartWorkflowRun", {}).n("CodeCatalystClient", "StartWorkflowRunCommand").f(void 0, void 0).ser(se_StartWorkflowRunCommand).de(de_StartWorkflowRunCommand).build() {
|
|
3761
|
+
};
|
|
3762
|
+
__name(_StartWorkflowRunCommand, "StartWorkflowRunCommand");
|
|
3763
|
+
var StartWorkflowRunCommand = _StartWorkflowRunCommand;
|
|
3764
|
+
|
|
3765
|
+
// src/commands/StopDevEnvironmentCommand.ts
|
|
3766
|
+
|
|
3767
|
+
|
|
3768
|
+
|
|
3769
|
+
|
|
3770
|
+
var _StopDevEnvironmentCommand = class _StopDevEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3771
|
+
...commonParams
|
|
3772
|
+
}).m(function(Command, cs, config, o) {
|
|
3773
|
+
return [
|
|
3774
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3775
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3776
|
+
];
|
|
3777
|
+
}).s("CodeCatalyst", "StopDevEnvironment", {}).n("CodeCatalystClient", "StopDevEnvironmentCommand").f(void 0, void 0).ser(se_StopDevEnvironmentCommand).de(de_StopDevEnvironmentCommand).build() {
|
|
3778
|
+
};
|
|
3779
|
+
__name(_StopDevEnvironmentCommand, "StopDevEnvironmentCommand");
|
|
3780
|
+
var StopDevEnvironmentCommand = _StopDevEnvironmentCommand;
|
|
3781
|
+
|
|
3782
|
+
// src/commands/StopDevEnvironmentSessionCommand.ts
|
|
3783
|
+
|
|
3784
|
+
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
var _StopDevEnvironmentSessionCommand = class _StopDevEnvironmentSessionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3788
|
+
...commonParams
|
|
3789
|
+
}).m(function(Command, cs, config, o) {
|
|
3790
|
+
return [
|
|
3791
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3792
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3793
|
+
];
|
|
3794
|
+
}).s("CodeCatalyst", "StopDevEnvironmentSession", {}).n("CodeCatalystClient", "StopDevEnvironmentSessionCommand").f(void 0, void 0).ser(se_StopDevEnvironmentSessionCommand).de(de_StopDevEnvironmentSessionCommand).build() {
|
|
3795
|
+
};
|
|
3796
|
+
__name(_StopDevEnvironmentSessionCommand, "StopDevEnvironmentSessionCommand");
|
|
3797
|
+
var StopDevEnvironmentSessionCommand = _StopDevEnvironmentSessionCommand;
|
|
3798
|
+
|
|
3799
|
+
// src/commands/UpdateDevEnvironmentCommand.ts
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
|
|
3803
|
+
|
|
3804
|
+
var _UpdateDevEnvironmentCommand = class _UpdateDevEnvironmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3805
|
+
...commonParams
|
|
3806
|
+
}).m(function(Command, cs, config, o) {
|
|
3807
|
+
return [
|
|
3808
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3809
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3810
|
+
];
|
|
3811
|
+
}).s("CodeCatalyst", "UpdateDevEnvironment", {}).n("CodeCatalystClient", "UpdateDevEnvironmentCommand").f(void 0, void 0).ser(se_UpdateDevEnvironmentCommand).de(de_UpdateDevEnvironmentCommand).build() {
|
|
3812
|
+
};
|
|
3813
|
+
__name(_UpdateDevEnvironmentCommand, "UpdateDevEnvironmentCommand");
|
|
3814
|
+
var UpdateDevEnvironmentCommand = _UpdateDevEnvironmentCommand;
|
|
3815
|
+
|
|
3816
|
+
// src/commands/UpdateProjectCommand.ts
|
|
3817
|
+
|
|
3818
|
+
|
|
3819
|
+
|
|
3820
|
+
|
|
3821
|
+
var _UpdateProjectCommand = class _UpdateProjectCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3822
|
+
...commonParams
|
|
3823
|
+
}).m(function(Command, cs, config, o) {
|
|
3824
|
+
return [
|
|
3825
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3826
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3827
|
+
];
|
|
3828
|
+
}).s("CodeCatalyst", "UpdateProject", {}).n("CodeCatalystClient", "UpdateProjectCommand").f(void 0, void 0).ser(se_UpdateProjectCommand).de(de_UpdateProjectCommand).build() {
|
|
3829
|
+
};
|
|
3830
|
+
__name(_UpdateProjectCommand, "UpdateProjectCommand");
|
|
3831
|
+
var UpdateProjectCommand = _UpdateProjectCommand;
|
|
3832
|
+
|
|
3833
|
+
// src/commands/UpdateSpaceCommand.ts
|
|
3834
|
+
|
|
3835
|
+
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
var _UpdateSpaceCommand = class _UpdateSpaceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3839
|
+
...commonParams
|
|
3840
|
+
}).m(function(Command, cs, config, o) {
|
|
3841
|
+
return [
|
|
3842
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3843
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3844
|
+
];
|
|
3845
|
+
}).s("CodeCatalyst", "UpdateSpace", {}).n("CodeCatalystClient", "UpdateSpaceCommand").f(void 0, void 0).ser(se_UpdateSpaceCommand).de(de_UpdateSpaceCommand).build() {
|
|
3846
|
+
};
|
|
3847
|
+
__name(_UpdateSpaceCommand, "UpdateSpaceCommand");
|
|
3848
|
+
var UpdateSpaceCommand = _UpdateSpaceCommand;
|
|
3849
|
+
|
|
3850
|
+
// src/commands/VerifySessionCommand.ts
|
|
3851
|
+
|
|
3852
|
+
|
|
3853
|
+
|
|
3854
|
+
|
|
3855
|
+
var _VerifySessionCommand = class _VerifySessionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3856
|
+
...commonParams
|
|
3857
|
+
}).m(function(Command, cs, config, o) {
|
|
3858
|
+
return [
|
|
3859
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3860
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3861
|
+
];
|
|
3862
|
+
}).s("CodeCatalyst", "VerifySession", {}).n("CodeCatalystClient", "VerifySessionCommand").f(void 0, void 0).ser(se_VerifySessionCommand).de(de_VerifySessionCommand).build() {
|
|
3863
|
+
};
|
|
3864
|
+
__name(_VerifySessionCommand, "VerifySessionCommand");
|
|
3865
|
+
var VerifySessionCommand = _VerifySessionCommand;
|
|
3866
|
+
|
|
3867
|
+
// src/CodeCatalyst.ts
|
|
3868
|
+
var commands = {
|
|
3869
|
+
CreateAccessTokenCommand,
|
|
3870
|
+
CreateDevEnvironmentCommand,
|
|
3871
|
+
CreateProjectCommand,
|
|
3872
|
+
CreateSourceRepositoryCommand,
|
|
3873
|
+
CreateSourceRepositoryBranchCommand,
|
|
3874
|
+
DeleteAccessTokenCommand,
|
|
3875
|
+
DeleteDevEnvironmentCommand,
|
|
3876
|
+
DeleteProjectCommand,
|
|
3877
|
+
DeleteSourceRepositoryCommand,
|
|
3878
|
+
DeleteSpaceCommand,
|
|
3879
|
+
GetDevEnvironmentCommand,
|
|
3880
|
+
GetProjectCommand,
|
|
3881
|
+
GetSourceRepositoryCommand,
|
|
3882
|
+
GetSourceRepositoryCloneUrlsCommand,
|
|
3883
|
+
GetSpaceCommand,
|
|
3884
|
+
GetSubscriptionCommand,
|
|
3885
|
+
GetUserDetailsCommand,
|
|
3886
|
+
GetWorkflowCommand,
|
|
3887
|
+
GetWorkflowRunCommand,
|
|
3888
|
+
ListAccessTokensCommand,
|
|
3889
|
+
ListDevEnvironmentsCommand,
|
|
3890
|
+
ListDevEnvironmentSessionsCommand,
|
|
3891
|
+
ListEventLogsCommand,
|
|
3892
|
+
ListProjectsCommand,
|
|
3893
|
+
ListSourceRepositoriesCommand,
|
|
3894
|
+
ListSourceRepositoryBranchesCommand,
|
|
3895
|
+
ListSpacesCommand,
|
|
3896
|
+
ListWorkflowRunsCommand,
|
|
3897
|
+
ListWorkflowsCommand,
|
|
3898
|
+
StartDevEnvironmentCommand,
|
|
3899
|
+
StartDevEnvironmentSessionCommand,
|
|
3900
|
+
StartWorkflowRunCommand,
|
|
3901
|
+
StopDevEnvironmentCommand,
|
|
3902
|
+
StopDevEnvironmentSessionCommand,
|
|
3903
|
+
UpdateDevEnvironmentCommand,
|
|
3904
|
+
UpdateProjectCommand,
|
|
3905
|
+
UpdateSpaceCommand,
|
|
3906
|
+
VerifySessionCommand
|
|
3907
|
+
};
|
|
3908
|
+
var _CodeCatalyst = class _CodeCatalyst extends CodeCatalystClient {
|
|
3909
|
+
};
|
|
3910
|
+
__name(_CodeCatalyst, "CodeCatalyst");
|
|
3911
|
+
var CodeCatalyst = _CodeCatalyst;
|
|
3912
|
+
(0, import_smithy_client.createAggregatedClient)(commands, CodeCatalyst);
|
|
3913
|
+
|
|
3914
|
+
// src/pagination/ListAccessTokensPaginator.ts
|
|
3915
|
+
|
|
3916
|
+
var paginateListAccessTokens = (0, import_core.createPaginator)(CodeCatalystClient, ListAccessTokensCommand, "nextToken", "nextToken", "maxResults");
|
|
3917
|
+
|
|
3918
|
+
// src/pagination/ListDevEnvironmentSessionsPaginator.ts
|
|
3919
|
+
|
|
3920
|
+
var paginateListDevEnvironmentSessions = (0, import_core.createPaginator)(CodeCatalystClient, ListDevEnvironmentSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3921
|
+
|
|
3922
|
+
// src/pagination/ListDevEnvironmentsPaginator.ts
|
|
3923
|
+
|
|
3924
|
+
var paginateListDevEnvironments = (0, import_core.createPaginator)(CodeCatalystClient, ListDevEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
3925
|
+
|
|
3926
|
+
// src/pagination/ListEventLogsPaginator.ts
|
|
3927
|
+
|
|
3928
|
+
var paginateListEventLogs = (0, import_core.createPaginator)(CodeCatalystClient, ListEventLogsCommand, "nextToken", "nextToken", "maxResults");
|
|
3929
|
+
|
|
3930
|
+
// src/pagination/ListProjectsPaginator.ts
|
|
3931
|
+
|
|
3932
|
+
var paginateListProjects = (0, import_core.createPaginator)(CodeCatalystClient, ListProjectsCommand, "nextToken", "nextToken", "maxResults");
|
|
3933
|
+
|
|
3934
|
+
// src/pagination/ListSourceRepositoriesPaginator.ts
|
|
3935
|
+
|
|
3936
|
+
var paginateListSourceRepositories = (0, import_core.createPaginator)(CodeCatalystClient, ListSourceRepositoriesCommand, "nextToken", "nextToken", "maxResults");
|
|
3937
|
+
|
|
3938
|
+
// src/pagination/ListSourceRepositoryBranchesPaginator.ts
|
|
3939
|
+
|
|
3940
|
+
var paginateListSourceRepositoryBranches = (0, import_core.createPaginator)(CodeCatalystClient, ListSourceRepositoryBranchesCommand, "nextToken", "nextToken", "maxResults");
|
|
3941
|
+
|
|
3942
|
+
// src/pagination/ListSpacesPaginator.ts
|
|
3943
|
+
|
|
3944
|
+
var paginateListSpaces = (0, import_core.createPaginator)(CodeCatalystClient, ListSpacesCommand, "nextToken", "nextToken", "");
|
|
3945
|
+
|
|
3946
|
+
// src/pagination/ListWorkflowRunsPaginator.ts
|
|
3947
|
+
|
|
3948
|
+
var paginateListWorkflowRuns = (0, import_core.createPaginator)(CodeCatalystClient, ListWorkflowRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
3949
|
+
|
|
3950
|
+
// src/pagination/ListWorkflowsPaginator.ts
|
|
3951
|
+
|
|
3952
|
+
var paginateListWorkflows = (0, import_core.createPaginator)(CodeCatalystClient, ListWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
3953
|
+
|
|
3954
|
+
// src/index.ts
|
|
3955
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3956
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3957
|
+
0 && (module.exports = {
|
|
3958
|
+
AccessDeniedException,
|
|
3959
|
+
CodeCatalyst,
|
|
3960
|
+
CodeCatalystClient,
|
|
3961
|
+
CodeCatalystServiceException,
|
|
3962
|
+
ComparisonOperator,
|
|
3963
|
+
ConflictException,
|
|
3964
|
+
CreateAccessTokenCommand,
|
|
3965
|
+
CreateAccessTokenResponseFilterSensitiveLog,
|
|
3966
|
+
CreateDevEnvironmentCommand,
|
|
3967
|
+
CreateProjectCommand,
|
|
3968
|
+
CreateSourceRepositoryBranchCommand,
|
|
3969
|
+
CreateSourceRepositoryCommand,
|
|
3970
|
+
DeleteAccessTokenCommand,
|
|
3971
|
+
DeleteDevEnvironmentCommand,
|
|
3972
|
+
DeleteProjectCommand,
|
|
3973
|
+
DeleteSourceRepositoryCommand,
|
|
3974
|
+
DeleteSpaceCommand,
|
|
3975
|
+
DevEnvironmentAccessDetailsFilterSensitiveLog,
|
|
3976
|
+
DevEnvironmentSessionType,
|
|
3977
|
+
DevEnvironmentStatus,
|
|
3978
|
+
FilterKey,
|
|
3979
|
+
GetDevEnvironmentCommand,
|
|
3980
|
+
GetProjectCommand,
|
|
3981
|
+
GetSourceRepositoryCloneUrlsCommand,
|
|
3982
|
+
GetSourceRepositoryCommand,
|
|
3983
|
+
GetSpaceCommand,
|
|
3984
|
+
GetSubscriptionCommand,
|
|
3985
|
+
GetUserDetailsCommand,
|
|
3986
|
+
GetWorkflowCommand,
|
|
3987
|
+
GetWorkflowRunCommand,
|
|
3988
|
+
ListAccessTokensCommand,
|
|
3989
|
+
ListDevEnvironmentSessionsCommand,
|
|
3990
|
+
ListDevEnvironmentsCommand,
|
|
3991
|
+
ListEventLogsCommand,
|
|
3992
|
+
ListProjectsCommand,
|
|
3993
|
+
ListSourceRepositoriesCommand,
|
|
3994
|
+
ListSourceRepositoryBranchesCommand,
|
|
3995
|
+
ListSpacesCommand,
|
|
3996
|
+
ListWorkflowRunsCommand,
|
|
3997
|
+
ListWorkflowsCommand,
|
|
3998
|
+
OperationType,
|
|
3999
|
+
ResourceNotFoundException,
|
|
4000
|
+
ServiceQuotaExceededException,
|
|
4001
|
+
StartDevEnvironmentCommand,
|
|
4002
|
+
StartDevEnvironmentSessionCommand,
|
|
4003
|
+
StartDevEnvironmentSessionResponseFilterSensitiveLog,
|
|
4004
|
+
StartWorkflowRunCommand,
|
|
4005
|
+
StopDevEnvironmentCommand,
|
|
4006
|
+
StopDevEnvironmentSessionCommand,
|
|
4007
|
+
ThrottlingException,
|
|
4008
|
+
UpdateDevEnvironmentCommand,
|
|
4009
|
+
UpdateProjectCommand,
|
|
4010
|
+
UpdateSpaceCommand,
|
|
4011
|
+
UserType,
|
|
4012
|
+
ValidationException,
|
|
4013
|
+
VerifySessionCommand,
|
|
4014
|
+
WorkflowRunMode,
|
|
4015
|
+
WorkflowRunStatus,
|
|
4016
|
+
WorkflowStatus,
|
|
4017
|
+
_InstanceType,
|
|
4018
|
+
__Client,
|
|
4019
|
+
paginateListAccessTokens,
|
|
4020
|
+
paginateListDevEnvironmentSessions,
|
|
4021
|
+
paginateListDevEnvironments,
|
|
4022
|
+
paginateListEventLogs,
|
|
4023
|
+
paginateListProjects,
|
|
4024
|
+
paginateListSourceRepositories,
|
|
4025
|
+
paginateListSourceRepositoryBranches,
|
|
4026
|
+
paginateListSpaces,
|
|
4027
|
+
paginateListWorkflowRuns,
|
|
4028
|
+
paginateListWorkflows
|
|
4029
|
+
});
|