@aws-sdk/client-codestar-connections 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/CodeStarConnections.js +1 -65
- package/dist-cjs/CodeStarConnectionsClient.js +1 -43
- package/dist-cjs/commands/CreateConnectionCommand.js +1 -28
- package/dist-cjs/commands/CreateHostCommand.js +1 -28
- package/dist-cjs/commands/CreateRepositoryLinkCommand.js +1 -28
- package/dist-cjs/commands/CreateSyncConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DeleteConnectionCommand.js +1 -28
- package/dist-cjs/commands/DeleteHostCommand.js +1 -28
- package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +1 -28
- package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetConnectionCommand.js +1 -28
- package/dist-cjs/commands/GetHostCommand.js +1 -28
- package/dist-cjs/commands/GetRepositoryLinkCommand.js +1 -28
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +1 -28
- package/dist-cjs/commands/GetResourceSyncStatusCommand.js +1 -28
- package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +1 -28
- package/dist-cjs/commands/GetSyncConfigurationCommand.js +1 -28
- package/dist-cjs/commands/ListConnectionsCommand.js +1 -28
- package/dist-cjs/commands/ListHostsCommand.js +1 -28
- package/dist-cjs/commands/ListRepositoryLinksCommand.js +1 -28
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/ListSyncConfigurationsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateHostCommand.js +1 -28
- package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +1 -28
- package/dist-cjs/commands/UpdateSyncBlockerCommand.js +1 -28
- package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -30
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2707 -11
- package/dist-cjs/models/CodeStarConnectionsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -277
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListConnectionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListHostsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +1 -7
- package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_json1_0.js +1 -1662
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2708 @@
|
|
|
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
|
+
BlockerStatus: () => BlockerStatus,
|
|
26
|
+
BlockerType: () => BlockerType,
|
|
27
|
+
CodeStarConnections: () => CodeStarConnections,
|
|
28
|
+
CodeStarConnectionsClient: () => CodeStarConnectionsClient,
|
|
29
|
+
CodeStarConnectionsServiceException: () => CodeStarConnectionsServiceException,
|
|
30
|
+
ConcurrentModificationException: () => ConcurrentModificationException,
|
|
31
|
+
ConditionalCheckFailedException: () => ConditionalCheckFailedException,
|
|
32
|
+
ConflictException: () => ConflictException,
|
|
33
|
+
ConnectionStatus: () => ConnectionStatus,
|
|
34
|
+
CreateConnectionCommand: () => CreateConnectionCommand,
|
|
35
|
+
CreateHostCommand: () => CreateHostCommand,
|
|
36
|
+
CreateRepositoryLinkCommand: () => CreateRepositoryLinkCommand,
|
|
37
|
+
CreateSyncConfigurationCommand: () => CreateSyncConfigurationCommand,
|
|
38
|
+
DeleteConnectionCommand: () => DeleteConnectionCommand,
|
|
39
|
+
DeleteHostCommand: () => DeleteHostCommand,
|
|
40
|
+
DeleteRepositoryLinkCommand: () => DeleteRepositoryLinkCommand,
|
|
41
|
+
DeleteSyncConfigurationCommand: () => DeleteSyncConfigurationCommand,
|
|
42
|
+
GetConnectionCommand: () => GetConnectionCommand,
|
|
43
|
+
GetHostCommand: () => GetHostCommand,
|
|
44
|
+
GetRepositoryLinkCommand: () => GetRepositoryLinkCommand,
|
|
45
|
+
GetRepositorySyncStatusCommand: () => GetRepositorySyncStatusCommand,
|
|
46
|
+
GetResourceSyncStatusCommand: () => GetResourceSyncStatusCommand,
|
|
47
|
+
GetSyncBlockerSummaryCommand: () => GetSyncBlockerSummaryCommand,
|
|
48
|
+
GetSyncConfigurationCommand: () => GetSyncConfigurationCommand,
|
|
49
|
+
InternalServerException: () => InternalServerException,
|
|
50
|
+
InvalidInputException: () => InvalidInputException,
|
|
51
|
+
LimitExceededException: () => LimitExceededException,
|
|
52
|
+
ListConnectionsCommand: () => ListConnectionsCommand,
|
|
53
|
+
ListHostsCommand: () => ListHostsCommand,
|
|
54
|
+
ListRepositoryLinksCommand: () => ListRepositoryLinksCommand,
|
|
55
|
+
ListRepositorySyncDefinitionsCommand: () => ListRepositorySyncDefinitionsCommand,
|
|
56
|
+
ListSyncConfigurationsCommand: () => ListSyncConfigurationsCommand,
|
|
57
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
58
|
+
ProviderType: () => ProviderType,
|
|
59
|
+
RepositorySyncStatus: () => RepositorySyncStatus,
|
|
60
|
+
ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
|
|
61
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
62
|
+
ResourceSyncStatus: () => ResourceSyncStatus,
|
|
63
|
+
ResourceUnavailableException: () => ResourceUnavailableException,
|
|
64
|
+
RetryLatestCommitFailedException: () => RetryLatestCommitFailedException,
|
|
65
|
+
SyncBlockerDoesNotExistException: () => SyncBlockerDoesNotExistException,
|
|
66
|
+
SyncConfigurationStillExistsException: () => SyncConfigurationStillExistsException,
|
|
67
|
+
SyncConfigurationType: () => SyncConfigurationType,
|
|
68
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
69
|
+
ThrottlingException: () => ThrottlingException,
|
|
70
|
+
UnsupportedOperationException: () => UnsupportedOperationException,
|
|
71
|
+
UnsupportedProviderTypeException: () => UnsupportedProviderTypeException,
|
|
72
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
73
|
+
UpdateHostCommand: () => UpdateHostCommand,
|
|
74
|
+
UpdateOutOfSyncException: () => UpdateOutOfSyncException,
|
|
75
|
+
UpdateRepositoryLinkCommand: () => UpdateRepositoryLinkCommand,
|
|
76
|
+
UpdateSyncBlockerCommand: () => UpdateSyncBlockerCommand,
|
|
77
|
+
UpdateSyncConfigurationCommand: () => UpdateSyncConfigurationCommand,
|
|
78
|
+
__Client: () => import_smithy_client.Client,
|
|
79
|
+
paginateListConnections: () => paginateListConnections,
|
|
80
|
+
paginateListHosts: () => paginateListHosts,
|
|
81
|
+
paginateListRepositoryLinks: () => paginateListRepositoryLinks,
|
|
82
|
+
paginateListSyncConfigurations: () => paginateListSyncConfigurations
|
|
83
|
+
});
|
|
84
|
+
module.exports = __toCommonJS(src_exports);
|
|
85
|
+
|
|
86
|
+
// src/CodeStarConnectionsClient.ts
|
|
87
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
88
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
89
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
90
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
91
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
92
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
93
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
94
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
95
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// src/endpoint/EndpointParameters.ts
|
|
99
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
100
|
+
return {
|
|
101
|
+
...options,
|
|
102
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
103
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
104
|
+
defaultSigningName: "codestar-connections"
|
|
105
|
+
};
|
|
106
|
+
}, "resolveClientEndpointParameters");
|
|
107
|
+
var commonParams = {
|
|
108
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
109
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
110
|
+
Region: { type: "builtInParams", name: "region" },
|
|
111
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
// src/CodeStarConnectionsClient.ts
|
|
115
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
116
|
+
|
|
117
|
+
// src/runtimeExtensions.ts
|
|
118
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
119
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
120
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
121
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
122
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
123
|
+
const extensionConfiguration = {
|
|
124
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
125
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
126
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
127
|
+
};
|
|
128
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
129
|
+
return {
|
|
130
|
+
...runtimeConfig,
|
|
131
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
132
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
133
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
134
|
+
};
|
|
135
|
+
}, "resolveRuntimeExtensions");
|
|
136
|
+
|
|
137
|
+
// src/CodeStarConnectionsClient.ts
|
|
138
|
+
var _CodeStarConnectionsClient = class _CodeStarConnectionsClient extends import_smithy_client.Client {
|
|
139
|
+
constructor(...[configuration]) {
|
|
140
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
141
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
142
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
143
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
144
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
145
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
146
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
147
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
148
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
149
|
+
super(_config_8);
|
|
150
|
+
this.config = _config_8;
|
|
151
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
152
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
153
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
154
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
155
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
156
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
157
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
161
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
162
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
163
|
+
*/
|
|
164
|
+
destroy() {
|
|
165
|
+
super.destroy();
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
__name(_CodeStarConnectionsClient, "CodeStarConnectionsClient");
|
|
169
|
+
var CodeStarConnectionsClient = _CodeStarConnectionsClient;
|
|
170
|
+
|
|
171
|
+
// src/CodeStarConnections.ts
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
// src/commands/CreateConnectionCommand.ts
|
|
175
|
+
|
|
176
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
177
|
+
|
|
178
|
+
var import_types = require("@smithy/types");
|
|
179
|
+
|
|
180
|
+
// src/protocols/Aws_json1_0.ts
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
// src/models/CodeStarConnectionsServiceException.ts
|
|
185
|
+
|
|
186
|
+
var _CodeStarConnectionsServiceException = class _CodeStarConnectionsServiceException extends import_smithy_client.ServiceException {
|
|
187
|
+
/**
|
|
188
|
+
* @internal
|
|
189
|
+
*/
|
|
190
|
+
constructor(options) {
|
|
191
|
+
super(options);
|
|
192
|
+
Object.setPrototypeOf(this, _CodeStarConnectionsServiceException.prototype);
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
__name(_CodeStarConnectionsServiceException, "CodeStarConnectionsServiceException");
|
|
196
|
+
var CodeStarConnectionsServiceException = _CodeStarConnectionsServiceException;
|
|
197
|
+
|
|
198
|
+
// src/models/models_0.ts
|
|
199
|
+
var _AccessDeniedException = class _AccessDeniedException extends CodeStarConnectionsServiceException {
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "AccessDeniedException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts
|
|
208
|
+
});
|
|
209
|
+
this.name = "AccessDeniedException";
|
|
210
|
+
this.$fault = "client";
|
|
211
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
212
|
+
this.Message = opts.Message;
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
216
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
217
|
+
var BlockerStatus = {
|
|
218
|
+
ACTIVE: "ACTIVE",
|
|
219
|
+
RESOLVED: "RESOLVED"
|
|
220
|
+
};
|
|
221
|
+
var BlockerType = {
|
|
222
|
+
AUTOMATED: "AUTOMATED"
|
|
223
|
+
};
|
|
224
|
+
var ProviderType = {
|
|
225
|
+
BITBUCKET: "Bitbucket",
|
|
226
|
+
GITHUB: "GitHub",
|
|
227
|
+
GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
|
|
228
|
+
GITLAB: "GitLab",
|
|
229
|
+
GITLAB_SELF_MANAGED: "GitLabSelfManaged"
|
|
230
|
+
};
|
|
231
|
+
var _LimitExceededException = class _LimitExceededException extends CodeStarConnectionsServiceException {
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
constructor(opts) {
|
|
236
|
+
super({
|
|
237
|
+
name: "LimitExceededException",
|
|
238
|
+
$fault: "client",
|
|
239
|
+
...opts
|
|
240
|
+
});
|
|
241
|
+
this.name = "LimitExceededException";
|
|
242
|
+
this.$fault = "client";
|
|
243
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
244
|
+
this.Message = opts.Message;
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
248
|
+
var LimitExceededException = _LimitExceededException;
|
|
249
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends CodeStarConnectionsServiceException {
|
|
250
|
+
/**
|
|
251
|
+
* @internal
|
|
252
|
+
*/
|
|
253
|
+
constructor(opts) {
|
|
254
|
+
super({
|
|
255
|
+
name: "ResourceNotFoundException",
|
|
256
|
+
$fault: "client",
|
|
257
|
+
...opts
|
|
258
|
+
});
|
|
259
|
+
this.name = "ResourceNotFoundException";
|
|
260
|
+
this.$fault = "client";
|
|
261
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
262
|
+
this.Message = opts.Message;
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
266
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
267
|
+
var _ResourceUnavailableException = class _ResourceUnavailableException extends CodeStarConnectionsServiceException {
|
|
268
|
+
/**
|
|
269
|
+
* @internal
|
|
270
|
+
*/
|
|
271
|
+
constructor(opts) {
|
|
272
|
+
super({
|
|
273
|
+
name: "ResourceUnavailableException",
|
|
274
|
+
$fault: "client",
|
|
275
|
+
...opts
|
|
276
|
+
});
|
|
277
|
+
this.name = "ResourceUnavailableException";
|
|
278
|
+
this.$fault = "client";
|
|
279
|
+
Object.setPrototypeOf(this, _ResourceUnavailableException.prototype);
|
|
280
|
+
this.Message = opts.Message;
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
__name(_ResourceUnavailableException, "ResourceUnavailableException");
|
|
284
|
+
var ResourceUnavailableException = _ResourceUnavailableException;
|
|
285
|
+
var _ConcurrentModificationException = class _ConcurrentModificationException extends CodeStarConnectionsServiceException {
|
|
286
|
+
/**
|
|
287
|
+
* @internal
|
|
288
|
+
*/
|
|
289
|
+
constructor(opts) {
|
|
290
|
+
super({
|
|
291
|
+
name: "ConcurrentModificationException",
|
|
292
|
+
$fault: "client",
|
|
293
|
+
...opts
|
|
294
|
+
});
|
|
295
|
+
this.name = "ConcurrentModificationException";
|
|
296
|
+
this.$fault = "client";
|
|
297
|
+
Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
|
|
298
|
+
this.Message = opts.Message;
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
__name(_ConcurrentModificationException, "ConcurrentModificationException");
|
|
302
|
+
var ConcurrentModificationException = _ConcurrentModificationException;
|
|
303
|
+
var _InternalServerException = class _InternalServerException extends CodeStarConnectionsServiceException {
|
|
304
|
+
/**
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "InternalServerException",
|
|
310
|
+
$fault: "server",
|
|
311
|
+
...opts
|
|
312
|
+
});
|
|
313
|
+
this.name = "InternalServerException";
|
|
314
|
+
this.$fault = "server";
|
|
315
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
316
|
+
this.Message = opts.Message;
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
__name(_InternalServerException, "InternalServerException");
|
|
320
|
+
var InternalServerException = _InternalServerException;
|
|
321
|
+
var _InvalidInputException = class _InvalidInputException extends CodeStarConnectionsServiceException {
|
|
322
|
+
/**
|
|
323
|
+
* @internal
|
|
324
|
+
*/
|
|
325
|
+
constructor(opts) {
|
|
326
|
+
super({
|
|
327
|
+
name: "InvalidInputException",
|
|
328
|
+
$fault: "client",
|
|
329
|
+
...opts
|
|
330
|
+
});
|
|
331
|
+
this.name = "InvalidInputException";
|
|
332
|
+
this.$fault = "client";
|
|
333
|
+
Object.setPrototypeOf(this, _InvalidInputException.prototype);
|
|
334
|
+
this.Message = opts.Message;
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
__name(_InvalidInputException, "InvalidInputException");
|
|
338
|
+
var InvalidInputException = _InvalidInputException;
|
|
339
|
+
var _ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends CodeStarConnectionsServiceException {
|
|
340
|
+
/**
|
|
341
|
+
* @internal
|
|
342
|
+
*/
|
|
343
|
+
constructor(opts) {
|
|
344
|
+
super({
|
|
345
|
+
name: "ResourceAlreadyExistsException",
|
|
346
|
+
$fault: "client",
|
|
347
|
+
...opts
|
|
348
|
+
});
|
|
349
|
+
this.name = "ResourceAlreadyExistsException";
|
|
350
|
+
this.$fault = "client";
|
|
351
|
+
Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
|
|
352
|
+
this.Message = opts.Message;
|
|
353
|
+
}
|
|
354
|
+
};
|
|
355
|
+
__name(_ResourceAlreadyExistsException, "ResourceAlreadyExistsException");
|
|
356
|
+
var ResourceAlreadyExistsException = _ResourceAlreadyExistsException;
|
|
357
|
+
var _ThrottlingException = class _ThrottlingException extends CodeStarConnectionsServiceException {
|
|
358
|
+
/**
|
|
359
|
+
* @internal
|
|
360
|
+
*/
|
|
361
|
+
constructor(opts) {
|
|
362
|
+
super({
|
|
363
|
+
name: "ThrottlingException",
|
|
364
|
+
$fault: "client",
|
|
365
|
+
...opts
|
|
366
|
+
});
|
|
367
|
+
this.name = "ThrottlingException";
|
|
368
|
+
this.$fault = "client";
|
|
369
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
370
|
+
this.Message = opts.Message;
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
374
|
+
var ThrottlingException = _ThrottlingException;
|
|
375
|
+
var SyncConfigurationType = {
|
|
376
|
+
CFN_STACK_SYNC: "CFN_STACK_SYNC"
|
|
377
|
+
};
|
|
378
|
+
var _SyncConfigurationStillExistsException = class _SyncConfigurationStillExistsException extends CodeStarConnectionsServiceException {
|
|
379
|
+
/**
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
constructor(opts) {
|
|
383
|
+
super({
|
|
384
|
+
name: "SyncConfigurationStillExistsException",
|
|
385
|
+
$fault: "client",
|
|
386
|
+
...opts
|
|
387
|
+
});
|
|
388
|
+
this.name = "SyncConfigurationStillExistsException";
|
|
389
|
+
this.$fault = "client";
|
|
390
|
+
Object.setPrototypeOf(this, _SyncConfigurationStillExistsException.prototype);
|
|
391
|
+
this.Message = opts.Message;
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
__name(_SyncConfigurationStillExistsException, "SyncConfigurationStillExistsException");
|
|
395
|
+
var SyncConfigurationStillExistsException = _SyncConfigurationStillExistsException;
|
|
396
|
+
var _UnsupportedProviderTypeException = class _UnsupportedProviderTypeException extends CodeStarConnectionsServiceException {
|
|
397
|
+
/**
|
|
398
|
+
* @internal
|
|
399
|
+
*/
|
|
400
|
+
constructor(opts) {
|
|
401
|
+
super({
|
|
402
|
+
name: "UnsupportedProviderTypeException",
|
|
403
|
+
$fault: "client",
|
|
404
|
+
...opts
|
|
405
|
+
});
|
|
406
|
+
this.name = "UnsupportedProviderTypeException";
|
|
407
|
+
this.$fault = "client";
|
|
408
|
+
Object.setPrototypeOf(this, _UnsupportedProviderTypeException.prototype);
|
|
409
|
+
this.Message = opts.Message;
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
__name(_UnsupportedProviderTypeException, "UnsupportedProviderTypeException");
|
|
413
|
+
var UnsupportedProviderTypeException = _UnsupportedProviderTypeException;
|
|
414
|
+
var ConnectionStatus = {
|
|
415
|
+
AVAILABLE: "AVAILABLE",
|
|
416
|
+
ERROR: "ERROR",
|
|
417
|
+
PENDING: "PENDING"
|
|
418
|
+
};
|
|
419
|
+
var RepositorySyncStatus = {
|
|
420
|
+
FAILED: "FAILED",
|
|
421
|
+
INITIATED: "INITIATED",
|
|
422
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
423
|
+
QUEUED: "QUEUED",
|
|
424
|
+
SUCCEEDED: "SUCCEEDED"
|
|
425
|
+
};
|
|
426
|
+
var ResourceSyncStatus = {
|
|
427
|
+
FAILED: "FAILED",
|
|
428
|
+
INITIATED: "INITIATED",
|
|
429
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
430
|
+
SUCCEEDED: "SUCCEEDED"
|
|
431
|
+
};
|
|
432
|
+
var _ConflictException = class _ConflictException extends CodeStarConnectionsServiceException {
|
|
433
|
+
/**
|
|
434
|
+
* @internal
|
|
435
|
+
*/
|
|
436
|
+
constructor(opts) {
|
|
437
|
+
super({
|
|
438
|
+
name: "ConflictException",
|
|
439
|
+
$fault: "client",
|
|
440
|
+
...opts
|
|
441
|
+
});
|
|
442
|
+
this.name = "ConflictException";
|
|
443
|
+
this.$fault = "client";
|
|
444
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
445
|
+
this.Message = opts.Message;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
__name(_ConflictException, "ConflictException");
|
|
449
|
+
var ConflictException = _ConflictException;
|
|
450
|
+
var _UnsupportedOperationException = class _UnsupportedOperationException extends CodeStarConnectionsServiceException {
|
|
451
|
+
/**
|
|
452
|
+
* @internal
|
|
453
|
+
*/
|
|
454
|
+
constructor(opts) {
|
|
455
|
+
super({
|
|
456
|
+
name: "UnsupportedOperationException",
|
|
457
|
+
$fault: "client",
|
|
458
|
+
...opts
|
|
459
|
+
});
|
|
460
|
+
this.name = "UnsupportedOperationException";
|
|
461
|
+
this.$fault = "client";
|
|
462
|
+
Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);
|
|
463
|
+
this.Message = opts.Message;
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
__name(_UnsupportedOperationException, "UnsupportedOperationException");
|
|
467
|
+
var UnsupportedOperationException = _UnsupportedOperationException;
|
|
468
|
+
var _ConditionalCheckFailedException = class _ConditionalCheckFailedException extends CodeStarConnectionsServiceException {
|
|
469
|
+
/**
|
|
470
|
+
* @internal
|
|
471
|
+
*/
|
|
472
|
+
constructor(opts) {
|
|
473
|
+
super({
|
|
474
|
+
name: "ConditionalCheckFailedException",
|
|
475
|
+
$fault: "client",
|
|
476
|
+
...opts
|
|
477
|
+
});
|
|
478
|
+
this.name = "ConditionalCheckFailedException";
|
|
479
|
+
this.$fault = "client";
|
|
480
|
+
Object.setPrototypeOf(this, _ConditionalCheckFailedException.prototype);
|
|
481
|
+
this.Message = opts.Message;
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
__name(_ConditionalCheckFailedException, "ConditionalCheckFailedException");
|
|
485
|
+
var ConditionalCheckFailedException = _ConditionalCheckFailedException;
|
|
486
|
+
var _UpdateOutOfSyncException = class _UpdateOutOfSyncException extends CodeStarConnectionsServiceException {
|
|
487
|
+
/**
|
|
488
|
+
* @internal
|
|
489
|
+
*/
|
|
490
|
+
constructor(opts) {
|
|
491
|
+
super({
|
|
492
|
+
name: "UpdateOutOfSyncException",
|
|
493
|
+
$fault: "client",
|
|
494
|
+
...opts
|
|
495
|
+
});
|
|
496
|
+
this.name = "UpdateOutOfSyncException";
|
|
497
|
+
this.$fault = "client";
|
|
498
|
+
Object.setPrototypeOf(this, _UpdateOutOfSyncException.prototype);
|
|
499
|
+
this.Message = opts.Message;
|
|
500
|
+
}
|
|
501
|
+
};
|
|
502
|
+
__name(_UpdateOutOfSyncException, "UpdateOutOfSyncException");
|
|
503
|
+
var UpdateOutOfSyncException = _UpdateOutOfSyncException;
|
|
504
|
+
var _RetryLatestCommitFailedException = class _RetryLatestCommitFailedException extends CodeStarConnectionsServiceException {
|
|
505
|
+
/**
|
|
506
|
+
* @internal
|
|
507
|
+
*/
|
|
508
|
+
constructor(opts) {
|
|
509
|
+
super({
|
|
510
|
+
name: "RetryLatestCommitFailedException",
|
|
511
|
+
$fault: "server",
|
|
512
|
+
...opts
|
|
513
|
+
});
|
|
514
|
+
this.name = "RetryLatestCommitFailedException";
|
|
515
|
+
this.$fault = "server";
|
|
516
|
+
Object.setPrototypeOf(this, _RetryLatestCommitFailedException.prototype);
|
|
517
|
+
this.Message = opts.Message;
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
__name(_RetryLatestCommitFailedException, "RetryLatestCommitFailedException");
|
|
521
|
+
var RetryLatestCommitFailedException = _RetryLatestCommitFailedException;
|
|
522
|
+
var _SyncBlockerDoesNotExistException = class _SyncBlockerDoesNotExistException extends CodeStarConnectionsServiceException {
|
|
523
|
+
/**
|
|
524
|
+
* @internal
|
|
525
|
+
*/
|
|
526
|
+
constructor(opts) {
|
|
527
|
+
super({
|
|
528
|
+
name: "SyncBlockerDoesNotExistException",
|
|
529
|
+
$fault: "client",
|
|
530
|
+
...opts
|
|
531
|
+
});
|
|
532
|
+
this.name = "SyncBlockerDoesNotExistException";
|
|
533
|
+
this.$fault = "client";
|
|
534
|
+
Object.setPrototypeOf(this, _SyncBlockerDoesNotExistException.prototype);
|
|
535
|
+
this.Message = opts.Message;
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
__name(_SyncBlockerDoesNotExistException, "SyncBlockerDoesNotExistException");
|
|
539
|
+
var SyncBlockerDoesNotExistException = _SyncBlockerDoesNotExistException;
|
|
540
|
+
|
|
541
|
+
// src/protocols/Aws_json1_0.ts
|
|
542
|
+
var se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
543
|
+
const headers = sharedHeaders("CreateConnection");
|
|
544
|
+
let body;
|
|
545
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
546
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
547
|
+
}, "se_CreateConnectionCommand");
|
|
548
|
+
var se_CreateHostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
549
|
+
const headers = sharedHeaders("CreateHost");
|
|
550
|
+
let body;
|
|
551
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
552
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
553
|
+
}, "se_CreateHostCommand");
|
|
554
|
+
var se_CreateRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
555
|
+
const headers = sharedHeaders("CreateRepositoryLink");
|
|
556
|
+
let body;
|
|
557
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
558
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
559
|
+
}, "se_CreateRepositoryLinkCommand");
|
|
560
|
+
var se_CreateSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
561
|
+
const headers = sharedHeaders("CreateSyncConfiguration");
|
|
562
|
+
let body;
|
|
563
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
564
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
565
|
+
}, "se_CreateSyncConfigurationCommand");
|
|
566
|
+
var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
|
+
const headers = sharedHeaders("DeleteConnection");
|
|
568
|
+
let body;
|
|
569
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
570
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
571
|
+
}, "se_DeleteConnectionCommand");
|
|
572
|
+
var se_DeleteHostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
|
+
const headers = sharedHeaders("DeleteHost");
|
|
574
|
+
let body;
|
|
575
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
576
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
577
|
+
}, "se_DeleteHostCommand");
|
|
578
|
+
var se_DeleteRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
579
|
+
const headers = sharedHeaders("DeleteRepositoryLink");
|
|
580
|
+
let body;
|
|
581
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
582
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
583
|
+
}, "se_DeleteRepositoryLinkCommand");
|
|
584
|
+
var se_DeleteSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
585
|
+
const headers = sharedHeaders("DeleteSyncConfiguration");
|
|
586
|
+
let body;
|
|
587
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
588
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
589
|
+
}, "se_DeleteSyncConfigurationCommand");
|
|
590
|
+
var se_GetConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
591
|
+
const headers = sharedHeaders("GetConnection");
|
|
592
|
+
let body;
|
|
593
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
594
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
595
|
+
}, "se_GetConnectionCommand");
|
|
596
|
+
var se_GetHostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
597
|
+
const headers = sharedHeaders("GetHost");
|
|
598
|
+
let body;
|
|
599
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
600
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
601
|
+
}, "se_GetHostCommand");
|
|
602
|
+
var se_GetRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
603
|
+
const headers = sharedHeaders("GetRepositoryLink");
|
|
604
|
+
let body;
|
|
605
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
606
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
607
|
+
}, "se_GetRepositoryLinkCommand");
|
|
608
|
+
var se_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
609
|
+
const headers = sharedHeaders("GetRepositorySyncStatus");
|
|
610
|
+
let body;
|
|
611
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
612
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
613
|
+
}, "se_GetRepositorySyncStatusCommand");
|
|
614
|
+
var se_GetResourceSyncStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
615
|
+
const headers = sharedHeaders("GetResourceSyncStatus");
|
|
616
|
+
let body;
|
|
617
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
618
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
619
|
+
}, "se_GetResourceSyncStatusCommand");
|
|
620
|
+
var se_GetSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
621
|
+
const headers = sharedHeaders("GetSyncBlockerSummary");
|
|
622
|
+
let body;
|
|
623
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
624
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
625
|
+
}, "se_GetSyncBlockerSummaryCommand");
|
|
626
|
+
var se_GetSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
627
|
+
const headers = sharedHeaders("GetSyncConfiguration");
|
|
628
|
+
let body;
|
|
629
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
630
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
631
|
+
}, "se_GetSyncConfigurationCommand");
|
|
632
|
+
var se_ListConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
633
|
+
const headers = sharedHeaders("ListConnections");
|
|
634
|
+
let body;
|
|
635
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
636
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
637
|
+
}, "se_ListConnectionsCommand");
|
|
638
|
+
var se_ListHostsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
|
+
const headers = sharedHeaders("ListHosts");
|
|
640
|
+
let body;
|
|
641
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
642
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
643
|
+
}, "se_ListHostsCommand");
|
|
644
|
+
var se_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
645
|
+
const headers = sharedHeaders("ListRepositoryLinks");
|
|
646
|
+
let body;
|
|
647
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
648
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
649
|
+
}, "se_ListRepositoryLinksCommand");
|
|
650
|
+
var se_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
651
|
+
const headers = sharedHeaders("ListRepositorySyncDefinitions");
|
|
652
|
+
let body;
|
|
653
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
654
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
655
|
+
}, "se_ListRepositorySyncDefinitionsCommand");
|
|
656
|
+
var se_ListSyncConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
657
|
+
const headers = sharedHeaders("ListSyncConfigurations");
|
|
658
|
+
let body;
|
|
659
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
660
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
661
|
+
}, "se_ListSyncConfigurationsCommand");
|
|
662
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
663
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
664
|
+
let body;
|
|
665
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
666
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
667
|
+
}, "se_ListTagsForResourceCommand");
|
|
668
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
669
|
+
const headers = sharedHeaders("TagResource");
|
|
670
|
+
let body;
|
|
671
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
672
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
673
|
+
}, "se_TagResourceCommand");
|
|
674
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
675
|
+
const headers = sharedHeaders("UntagResource");
|
|
676
|
+
let body;
|
|
677
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
678
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
679
|
+
}, "se_UntagResourceCommand");
|
|
680
|
+
var se_UpdateHostCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
681
|
+
const headers = sharedHeaders("UpdateHost");
|
|
682
|
+
let body;
|
|
683
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
684
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
685
|
+
}, "se_UpdateHostCommand");
|
|
686
|
+
var se_UpdateRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
687
|
+
const headers = sharedHeaders("UpdateRepositoryLink");
|
|
688
|
+
let body;
|
|
689
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
690
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
691
|
+
}, "se_UpdateRepositoryLinkCommand");
|
|
692
|
+
var se_UpdateSyncBlockerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
|
+
const headers = sharedHeaders("UpdateSyncBlocker");
|
|
694
|
+
let body;
|
|
695
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
696
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
697
|
+
}, "se_UpdateSyncBlockerCommand");
|
|
698
|
+
var se_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
699
|
+
const headers = sharedHeaders("UpdateSyncConfiguration");
|
|
700
|
+
let body;
|
|
701
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
702
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
703
|
+
}, "se_UpdateSyncConfigurationCommand");
|
|
704
|
+
var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
705
|
+
if (output.statusCode >= 300) {
|
|
706
|
+
return de_CreateConnectionCommandError(output, context);
|
|
707
|
+
}
|
|
708
|
+
const data = await parseBody(output.body, context);
|
|
709
|
+
let contents = {};
|
|
710
|
+
contents = (0, import_smithy_client._json)(data);
|
|
711
|
+
const response = {
|
|
712
|
+
$metadata: deserializeMetadata(output),
|
|
713
|
+
...contents
|
|
714
|
+
};
|
|
715
|
+
return response;
|
|
716
|
+
}, "de_CreateConnectionCommand");
|
|
717
|
+
var de_CreateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
718
|
+
const parsedOutput = {
|
|
719
|
+
...output,
|
|
720
|
+
body: await parseErrorBody(output.body, context)
|
|
721
|
+
};
|
|
722
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
723
|
+
switch (errorCode) {
|
|
724
|
+
case "LimitExceededException":
|
|
725
|
+
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
726
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
727
|
+
case "ResourceNotFoundException":
|
|
728
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
729
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
730
|
+
case "ResourceUnavailableException":
|
|
731
|
+
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
732
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
733
|
+
default:
|
|
734
|
+
const parsedBody = parsedOutput.body;
|
|
735
|
+
return throwDefaultError({
|
|
736
|
+
output,
|
|
737
|
+
parsedBody,
|
|
738
|
+
errorCode
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
}, "de_CreateConnectionCommandError");
|
|
742
|
+
var de_CreateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
743
|
+
if (output.statusCode >= 300) {
|
|
744
|
+
return de_CreateHostCommandError(output, context);
|
|
745
|
+
}
|
|
746
|
+
const data = await parseBody(output.body, context);
|
|
747
|
+
let contents = {};
|
|
748
|
+
contents = (0, import_smithy_client._json)(data);
|
|
749
|
+
const response = {
|
|
750
|
+
$metadata: deserializeMetadata(output),
|
|
751
|
+
...contents
|
|
752
|
+
};
|
|
753
|
+
return response;
|
|
754
|
+
}, "de_CreateHostCommand");
|
|
755
|
+
var de_CreateHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
756
|
+
const parsedOutput = {
|
|
757
|
+
...output,
|
|
758
|
+
body: await parseErrorBody(output.body, context)
|
|
759
|
+
};
|
|
760
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
761
|
+
switch (errorCode) {
|
|
762
|
+
case "LimitExceededException":
|
|
763
|
+
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
764
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
765
|
+
default:
|
|
766
|
+
const parsedBody = parsedOutput.body;
|
|
767
|
+
return throwDefaultError({
|
|
768
|
+
output,
|
|
769
|
+
parsedBody,
|
|
770
|
+
errorCode
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
}, "de_CreateHostCommandError");
|
|
774
|
+
var de_CreateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
775
|
+
if (output.statusCode >= 300) {
|
|
776
|
+
return de_CreateRepositoryLinkCommandError(output, context);
|
|
777
|
+
}
|
|
778
|
+
const data = await parseBody(output.body, context);
|
|
779
|
+
let contents = {};
|
|
780
|
+
contents = (0, import_smithy_client._json)(data);
|
|
781
|
+
const response = {
|
|
782
|
+
$metadata: deserializeMetadata(output),
|
|
783
|
+
...contents
|
|
784
|
+
};
|
|
785
|
+
return response;
|
|
786
|
+
}, "de_CreateRepositoryLinkCommand");
|
|
787
|
+
var de_CreateRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
788
|
+
const parsedOutput = {
|
|
789
|
+
...output,
|
|
790
|
+
body: await parseErrorBody(output.body, context)
|
|
791
|
+
};
|
|
792
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
793
|
+
switch (errorCode) {
|
|
794
|
+
case "AccessDeniedException":
|
|
795
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
796
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
797
|
+
case "ConcurrentModificationException":
|
|
798
|
+
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
799
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
800
|
+
case "InternalServerException":
|
|
801
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
802
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
803
|
+
case "InvalidInputException":
|
|
804
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
805
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
806
|
+
case "LimitExceededException":
|
|
807
|
+
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
808
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
809
|
+
case "ResourceAlreadyExistsException":
|
|
810
|
+
case "com.amazonaws.codestarconnections#ResourceAlreadyExistsException":
|
|
811
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
812
|
+
case "ThrottlingException":
|
|
813
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
814
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
815
|
+
default:
|
|
816
|
+
const parsedBody = parsedOutput.body;
|
|
817
|
+
return throwDefaultError({
|
|
818
|
+
output,
|
|
819
|
+
parsedBody,
|
|
820
|
+
errorCode
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
}, "de_CreateRepositoryLinkCommandError");
|
|
824
|
+
var de_CreateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
825
|
+
if (output.statusCode >= 300) {
|
|
826
|
+
return de_CreateSyncConfigurationCommandError(output, context);
|
|
827
|
+
}
|
|
828
|
+
const data = await parseBody(output.body, context);
|
|
829
|
+
let contents = {};
|
|
830
|
+
contents = (0, import_smithy_client._json)(data);
|
|
831
|
+
const response = {
|
|
832
|
+
$metadata: deserializeMetadata(output),
|
|
833
|
+
...contents
|
|
834
|
+
};
|
|
835
|
+
return response;
|
|
836
|
+
}, "de_CreateSyncConfigurationCommand");
|
|
837
|
+
var de_CreateSyncConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
838
|
+
const parsedOutput = {
|
|
839
|
+
...output,
|
|
840
|
+
body: await parseErrorBody(output.body, context)
|
|
841
|
+
};
|
|
842
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
843
|
+
switch (errorCode) {
|
|
844
|
+
case "AccessDeniedException":
|
|
845
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
846
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
847
|
+
case "ConcurrentModificationException":
|
|
848
|
+
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
849
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
850
|
+
case "InternalServerException":
|
|
851
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
852
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
853
|
+
case "InvalidInputException":
|
|
854
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
855
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
856
|
+
case "LimitExceededException":
|
|
857
|
+
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
858
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
859
|
+
case "ResourceAlreadyExistsException":
|
|
860
|
+
case "com.amazonaws.codestarconnections#ResourceAlreadyExistsException":
|
|
861
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
862
|
+
case "ThrottlingException":
|
|
863
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
864
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
865
|
+
default:
|
|
866
|
+
const parsedBody = parsedOutput.body;
|
|
867
|
+
return throwDefaultError({
|
|
868
|
+
output,
|
|
869
|
+
parsedBody,
|
|
870
|
+
errorCode
|
|
871
|
+
});
|
|
872
|
+
}
|
|
873
|
+
}, "de_CreateSyncConfigurationCommandError");
|
|
874
|
+
var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
875
|
+
if (output.statusCode >= 300) {
|
|
876
|
+
return de_DeleteConnectionCommandError(output, context);
|
|
877
|
+
}
|
|
878
|
+
const data = await parseBody(output.body, context);
|
|
879
|
+
let contents = {};
|
|
880
|
+
contents = (0, import_smithy_client._json)(data);
|
|
881
|
+
const response = {
|
|
882
|
+
$metadata: deserializeMetadata(output),
|
|
883
|
+
...contents
|
|
884
|
+
};
|
|
885
|
+
return response;
|
|
886
|
+
}, "de_DeleteConnectionCommand");
|
|
887
|
+
var de_DeleteConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
888
|
+
const parsedOutput = {
|
|
889
|
+
...output,
|
|
890
|
+
body: await parseErrorBody(output.body, context)
|
|
891
|
+
};
|
|
892
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
893
|
+
switch (errorCode) {
|
|
894
|
+
case "ResourceNotFoundException":
|
|
895
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
896
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
897
|
+
default:
|
|
898
|
+
const parsedBody = parsedOutput.body;
|
|
899
|
+
return throwDefaultError({
|
|
900
|
+
output,
|
|
901
|
+
parsedBody,
|
|
902
|
+
errorCode
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
}, "de_DeleteConnectionCommandError");
|
|
906
|
+
var de_DeleteHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
907
|
+
if (output.statusCode >= 300) {
|
|
908
|
+
return de_DeleteHostCommandError(output, context);
|
|
909
|
+
}
|
|
910
|
+
const data = await parseBody(output.body, context);
|
|
911
|
+
let contents = {};
|
|
912
|
+
contents = (0, import_smithy_client._json)(data);
|
|
913
|
+
const response = {
|
|
914
|
+
$metadata: deserializeMetadata(output),
|
|
915
|
+
...contents
|
|
916
|
+
};
|
|
917
|
+
return response;
|
|
918
|
+
}, "de_DeleteHostCommand");
|
|
919
|
+
var de_DeleteHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
920
|
+
const parsedOutput = {
|
|
921
|
+
...output,
|
|
922
|
+
body: await parseErrorBody(output.body, context)
|
|
923
|
+
};
|
|
924
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
925
|
+
switch (errorCode) {
|
|
926
|
+
case "ResourceNotFoundException":
|
|
927
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
928
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
929
|
+
case "ResourceUnavailableException":
|
|
930
|
+
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
931
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
932
|
+
default:
|
|
933
|
+
const parsedBody = parsedOutput.body;
|
|
934
|
+
return throwDefaultError({
|
|
935
|
+
output,
|
|
936
|
+
parsedBody,
|
|
937
|
+
errorCode
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
}, "de_DeleteHostCommandError");
|
|
941
|
+
var de_DeleteRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
942
|
+
if (output.statusCode >= 300) {
|
|
943
|
+
return de_DeleteRepositoryLinkCommandError(output, context);
|
|
944
|
+
}
|
|
945
|
+
const data = await parseBody(output.body, context);
|
|
946
|
+
let contents = {};
|
|
947
|
+
contents = (0, import_smithy_client._json)(data);
|
|
948
|
+
const response = {
|
|
949
|
+
$metadata: deserializeMetadata(output),
|
|
950
|
+
...contents
|
|
951
|
+
};
|
|
952
|
+
return response;
|
|
953
|
+
}, "de_DeleteRepositoryLinkCommand");
|
|
954
|
+
var de_DeleteRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
955
|
+
const parsedOutput = {
|
|
956
|
+
...output,
|
|
957
|
+
body: await parseErrorBody(output.body, context)
|
|
958
|
+
};
|
|
959
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
960
|
+
switch (errorCode) {
|
|
961
|
+
case "AccessDeniedException":
|
|
962
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
963
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
964
|
+
case "ConcurrentModificationException":
|
|
965
|
+
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
966
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
967
|
+
case "InternalServerException":
|
|
968
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
969
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
970
|
+
case "InvalidInputException":
|
|
971
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
972
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
973
|
+
case "ResourceNotFoundException":
|
|
974
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
975
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
976
|
+
case "SyncConfigurationStillExistsException":
|
|
977
|
+
case "com.amazonaws.codestarconnections#SyncConfigurationStillExistsException":
|
|
978
|
+
throw await de_SyncConfigurationStillExistsExceptionRes(parsedOutput, context);
|
|
979
|
+
case "ThrottlingException":
|
|
980
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
981
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
982
|
+
case "UnsupportedProviderTypeException":
|
|
983
|
+
case "com.amazonaws.codestarconnections#UnsupportedProviderTypeException":
|
|
984
|
+
throw await de_UnsupportedProviderTypeExceptionRes(parsedOutput, context);
|
|
985
|
+
default:
|
|
986
|
+
const parsedBody = parsedOutput.body;
|
|
987
|
+
return throwDefaultError({
|
|
988
|
+
output,
|
|
989
|
+
parsedBody,
|
|
990
|
+
errorCode
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
}, "de_DeleteRepositoryLinkCommandError");
|
|
994
|
+
var de_DeleteSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
995
|
+
if (output.statusCode >= 300) {
|
|
996
|
+
return de_DeleteSyncConfigurationCommandError(output, context);
|
|
997
|
+
}
|
|
998
|
+
const data = await parseBody(output.body, context);
|
|
999
|
+
let contents = {};
|
|
1000
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1001
|
+
const response = {
|
|
1002
|
+
$metadata: deserializeMetadata(output),
|
|
1003
|
+
...contents
|
|
1004
|
+
};
|
|
1005
|
+
return response;
|
|
1006
|
+
}, "de_DeleteSyncConfigurationCommand");
|
|
1007
|
+
var de_DeleteSyncConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1008
|
+
const parsedOutput = {
|
|
1009
|
+
...output,
|
|
1010
|
+
body: await parseErrorBody(output.body, context)
|
|
1011
|
+
};
|
|
1012
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1013
|
+
switch (errorCode) {
|
|
1014
|
+
case "AccessDeniedException":
|
|
1015
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1016
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1017
|
+
case "ConcurrentModificationException":
|
|
1018
|
+
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
1019
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1020
|
+
case "InternalServerException":
|
|
1021
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1022
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1023
|
+
case "InvalidInputException":
|
|
1024
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1025
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1026
|
+
case "LimitExceededException":
|
|
1027
|
+
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
1028
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1029
|
+
case "ThrottlingException":
|
|
1030
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1031
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1032
|
+
default:
|
|
1033
|
+
const parsedBody = parsedOutput.body;
|
|
1034
|
+
return throwDefaultError({
|
|
1035
|
+
output,
|
|
1036
|
+
parsedBody,
|
|
1037
|
+
errorCode
|
|
1038
|
+
});
|
|
1039
|
+
}
|
|
1040
|
+
}, "de_DeleteSyncConfigurationCommandError");
|
|
1041
|
+
var de_GetConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1042
|
+
if (output.statusCode >= 300) {
|
|
1043
|
+
return de_GetConnectionCommandError(output, context);
|
|
1044
|
+
}
|
|
1045
|
+
const data = await parseBody(output.body, context);
|
|
1046
|
+
let contents = {};
|
|
1047
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1048
|
+
const response = {
|
|
1049
|
+
$metadata: deserializeMetadata(output),
|
|
1050
|
+
...contents
|
|
1051
|
+
};
|
|
1052
|
+
return response;
|
|
1053
|
+
}, "de_GetConnectionCommand");
|
|
1054
|
+
var de_GetConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1055
|
+
const parsedOutput = {
|
|
1056
|
+
...output,
|
|
1057
|
+
body: await parseErrorBody(output.body, context)
|
|
1058
|
+
};
|
|
1059
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
|
+
switch (errorCode) {
|
|
1061
|
+
case "ResourceNotFoundException":
|
|
1062
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1063
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1064
|
+
case "ResourceUnavailableException":
|
|
1065
|
+
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
1066
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1067
|
+
default:
|
|
1068
|
+
const parsedBody = parsedOutput.body;
|
|
1069
|
+
return throwDefaultError({
|
|
1070
|
+
output,
|
|
1071
|
+
parsedBody,
|
|
1072
|
+
errorCode
|
|
1073
|
+
});
|
|
1074
|
+
}
|
|
1075
|
+
}, "de_GetConnectionCommandError");
|
|
1076
|
+
var de_GetHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1077
|
+
if (output.statusCode >= 300) {
|
|
1078
|
+
return de_GetHostCommandError(output, context);
|
|
1079
|
+
}
|
|
1080
|
+
const data = await parseBody(output.body, context);
|
|
1081
|
+
let contents = {};
|
|
1082
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1083
|
+
const response = {
|
|
1084
|
+
$metadata: deserializeMetadata(output),
|
|
1085
|
+
...contents
|
|
1086
|
+
};
|
|
1087
|
+
return response;
|
|
1088
|
+
}, "de_GetHostCommand");
|
|
1089
|
+
var de_GetHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1090
|
+
const parsedOutput = {
|
|
1091
|
+
...output,
|
|
1092
|
+
body: await parseErrorBody(output.body, context)
|
|
1093
|
+
};
|
|
1094
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1095
|
+
switch (errorCode) {
|
|
1096
|
+
case "ResourceNotFoundException":
|
|
1097
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1098
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "ResourceUnavailableException":
|
|
1100
|
+
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
1101
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1102
|
+
default:
|
|
1103
|
+
const parsedBody = parsedOutput.body;
|
|
1104
|
+
return throwDefaultError({
|
|
1105
|
+
output,
|
|
1106
|
+
parsedBody,
|
|
1107
|
+
errorCode
|
|
1108
|
+
});
|
|
1109
|
+
}
|
|
1110
|
+
}, "de_GetHostCommandError");
|
|
1111
|
+
var de_GetRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1112
|
+
if (output.statusCode >= 300) {
|
|
1113
|
+
return de_GetRepositoryLinkCommandError(output, context);
|
|
1114
|
+
}
|
|
1115
|
+
const data = await parseBody(output.body, context);
|
|
1116
|
+
let contents = {};
|
|
1117
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1118
|
+
const response = {
|
|
1119
|
+
$metadata: deserializeMetadata(output),
|
|
1120
|
+
...contents
|
|
1121
|
+
};
|
|
1122
|
+
return response;
|
|
1123
|
+
}, "de_GetRepositoryLinkCommand");
|
|
1124
|
+
var de_GetRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1125
|
+
const parsedOutput = {
|
|
1126
|
+
...output,
|
|
1127
|
+
body: await parseErrorBody(output.body, context)
|
|
1128
|
+
};
|
|
1129
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1130
|
+
switch (errorCode) {
|
|
1131
|
+
case "AccessDeniedException":
|
|
1132
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1133
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1134
|
+
case "ConcurrentModificationException":
|
|
1135
|
+
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
1136
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1137
|
+
case "InternalServerException":
|
|
1138
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1139
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1140
|
+
case "InvalidInputException":
|
|
1141
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1142
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1143
|
+
case "ResourceNotFoundException":
|
|
1144
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1145
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1146
|
+
case "ThrottlingException":
|
|
1147
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1148
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1149
|
+
default:
|
|
1150
|
+
const parsedBody = parsedOutput.body;
|
|
1151
|
+
return throwDefaultError({
|
|
1152
|
+
output,
|
|
1153
|
+
parsedBody,
|
|
1154
|
+
errorCode
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1157
|
+
}, "de_GetRepositoryLinkCommandError");
|
|
1158
|
+
var de_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1159
|
+
if (output.statusCode >= 300) {
|
|
1160
|
+
return de_GetRepositorySyncStatusCommandError(output, context);
|
|
1161
|
+
}
|
|
1162
|
+
const data = await parseBody(output.body, context);
|
|
1163
|
+
let contents = {};
|
|
1164
|
+
contents = de_GetRepositorySyncStatusOutput(data, context);
|
|
1165
|
+
const response = {
|
|
1166
|
+
$metadata: deserializeMetadata(output),
|
|
1167
|
+
...contents
|
|
1168
|
+
};
|
|
1169
|
+
return response;
|
|
1170
|
+
}, "de_GetRepositorySyncStatusCommand");
|
|
1171
|
+
var de_GetRepositorySyncStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1172
|
+
const parsedOutput = {
|
|
1173
|
+
...output,
|
|
1174
|
+
body: await parseErrorBody(output.body, context)
|
|
1175
|
+
};
|
|
1176
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1177
|
+
switch (errorCode) {
|
|
1178
|
+
case "AccessDeniedException":
|
|
1179
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1180
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1181
|
+
case "InternalServerException":
|
|
1182
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1183
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1184
|
+
case "InvalidInputException":
|
|
1185
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1186
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1187
|
+
case "ResourceNotFoundException":
|
|
1188
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1189
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1190
|
+
case "ThrottlingException":
|
|
1191
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1192
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1193
|
+
default:
|
|
1194
|
+
const parsedBody = parsedOutput.body;
|
|
1195
|
+
return throwDefaultError({
|
|
1196
|
+
output,
|
|
1197
|
+
parsedBody,
|
|
1198
|
+
errorCode
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
}, "de_GetRepositorySyncStatusCommandError");
|
|
1202
|
+
var de_GetResourceSyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1203
|
+
if (output.statusCode >= 300) {
|
|
1204
|
+
return de_GetResourceSyncStatusCommandError(output, context);
|
|
1205
|
+
}
|
|
1206
|
+
const data = await parseBody(output.body, context);
|
|
1207
|
+
let contents = {};
|
|
1208
|
+
contents = de_GetResourceSyncStatusOutput(data, context);
|
|
1209
|
+
const response = {
|
|
1210
|
+
$metadata: deserializeMetadata(output),
|
|
1211
|
+
...contents
|
|
1212
|
+
};
|
|
1213
|
+
return response;
|
|
1214
|
+
}, "de_GetResourceSyncStatusCommand");
|
|
1215
|
+
var de_GetResourceSyncStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1216
|
+
const parsedOutput = {
|
|
1217
|
+
...output,
|
|
1218
|
+
body: await parseErrorBody(output.body, context)
|
|
1219
|
+
};
|
|
1220
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1221
|
+
switch (errorCode) {
|
|
1222
|
+
case "AccessDeniedException":
|
|
1223
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1224
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1225
|
+
case "InternalServerException":
|
|
1226
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1227
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1228
|
+
case "InvalidInputException":
|
|
1229
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1230
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1231
|
+
case "ResourceNotFoundException":
|
|
1232
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1233
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1234
|
+
case "ThrottlingException":
|
|
1235
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1236
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1237
|
+
default:
|
|
1238
|
+
const parsedBody = parsedOutput.body;
|
|
1239
|
+
return throwDefaultError({
|
|
1240
|
+
output,
|
|
1241
|
+
parsedBody,
|
|
1242
|
+
errorCode
|
|
1243
|
+
});
|
|
1244
|
+
}
|
|
1245
|
+
}, "de_GetResourceSyncStatusCommandError");
|
|
1246
|
+
var de_GetSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1247
|
+
if (output.statusCode >= 300) {
|
|
1248
|
+
return de_GetSyncBlockerSummaryCommandError(output, context);
|
|
1249
|
+
}
|
|
1250
|
+
const data = await parseBody(output.body, context);
|
|
1251
|
+
let contents = {};
|
|
1252
|
+
contents = de_GetSyncBlockerSummaryOutput(data, context);
|
|
1253
|
+
const response = {
|
|
1254
|
+
$metadata: deserializeMetadata(output),
|
|
1255
|
+
...contents
|
|
1256
|
+
};
|
|
1257
|
+
return response;
|
|
1258
|
+
}, "de_GetSyncBlockerSummaryCommand");
|
|
1259
|
+
var de_GetSyncBlockerSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1260
|
+
const parsedOutput = {
|
|
1261
|
+
...output,
|
|
1262
|
+
body: await parseErrorBody(output.body, context)
|
|
1263
|
+
};
|
|
1264
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1265
|
+
switch (errorCode) {
|
|
1266
|
+
case "AccessDeniedException":
|
|
1267
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1268
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1269
|
+
case "InternalServerException":
|
|
1270
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1271
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1272
|
+
case "InvalidInputException":
|
|
1273
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1274
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1275
|
+
case "ResourceNotFoundException":
|
|
1276
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1277
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1278
|
+
case "ThrottlingException":
|
|
1279
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1280
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1281
|
+
default:
|
|
1282
|
+
const parsedBody = parsedOutput.body;
|
|
1283
|
+
return throwDefaultError({
|
|
1284
|
+
output,
|
|
1285
|
+
parsedBody,
|
|
1286
|
+
errorCode
|
|
1287
|
+
});
|
|
1288
|
+
}
|
|
1289
|
+
}, "de_GetSyncBlockerSummaryCommandError");
|
|
1290
|
+
var de_GetSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1291
|
+
if (output.statusCode >= 300) {
|
|
1292
|
+
return de_GetSyncConfigurationCommandError(output, context);
|
|
1293
|
+
}
|
|
1294
|
+
const data = await parseBody(output.body, context);
|
|
1295
|
+
let contents = {};
|
|
1296
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1297
|
+
const response = {
|
|
1298
|
+
$metadata: deserializeMetadata(output),
|
|
1299
|
+
...contents
|
|
1300
|
+
};
|
|
1301
|
+
return response;
|
|
1302
|
+
}, "de_GetSyncConfigurationCommand");
|
|
1303
|
+
var de_GetSyncConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1304
|
+
const parsedOutput = {
|
|
1305
|
+
...output,
|
|
1306
|
+
body: await parseErrorBody(output.body, context)
|
|
1307
|
+
};
|
|
1308
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1309
|
+
switch (errorCode) {
|
|
1310
|
+
case "AccessDeniedException":
|
|
1311
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1312
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1313
|
+
case "InternalServerException":
|
|
1314
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1315
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1316
|
+
case "InvalidInputException":
|
|
1317
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1318
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1319
|
+
case "ResourceNotFoundException":
|
|
1320
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1321
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1322
|
+
case "ThrottlingException":
|
|
1323
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1324
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1325
|
+
default:
|
|
1326
|
+
const parsedBody = parsedOutput.body;
|
|
1327
|
+
return throwDefaultError({
|
|
1328
|
+
output,
|
|
1329
|
+
parsedBody,
|
|
1330
|
+
errorCode
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
}, "de_GetSyncConfigurationCommandError");
|
|
1334
|
+
var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1335
|
+
if (output.statusCode >= 300) {
|
|
1336
|
+
return de_ListConnectionsCommandError(output, context);
|
|
1337
|
+
}
|
|
1338
|
+
const data = await parseBody(output.body, context);
|
|
1339
|
+
let contents = {};
|
|
1340
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1341
|
+
const response = {
|
|
1342
|
+
$metadata: deserializeMetadata(output),
|
|
1343
|
+
...contents
|
|
1344
|
+
};
|
|
1345
|
+
return response;
|
|
1346
|
+
}, "de_ListConnectionsCommand");
|
|
1347
|
+
var de_ListConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1348
|
+
const parsedOutput = {
|
|
1349
|
+
...output,
|
|
1350
|
+
body: await parseErrorBody(output.body, context)
|
|
1351
|
+
};
|
|
1352
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1353
|
+
switch (errorCode) {
|
|
1354
|
+
case "ResourceNotFoundException":
|
|
1355
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1356
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1357
|
+
default:
|
|
1358
|
+
const parsedBody = parsedOutput.body;
|
|
1359
|
+
return throwDefaultError({
|
|
1360
|
+
output,
|
|
1361
|
+
parsedBody,
|
|
1362
|
+
errorCode
|
|
1363
|
+
});
|
|
1364
|
+
}
|
|
1365
|
+
}, "de_ListConnectionsCommandError");
|
|
1366
|
+
var de_ListHostsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1367
|
+
if (output.statusCode >= 300) {
|
|
1368
|
+
return de_ListHostsCommandError(output, context);
|
|
1369
|
+
}
|
|
1370
|
+
const data = await parseBody(output.body, context);
|
|
1371
|
+
let contents = {};
|
|
1372
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1373
|
+
const response = {
|
|
1374
|
+
$metadata: deserializeMetadata(output),
|
|
1375
|
+
...contents
|
|
1376
|
+
};
|
|
1377
|
+
return response;
|
|
1378
|
+
}, "de_ListHostsCommand");
|
|
1379
|
+
var de_ListHostsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1380
|
+
const parsedOutput = {
|
|
1381
|
+
...output,
|
|
1382
|
+
body: await parseErrorBody(output.body, context)
|
|
1383
|
+
};
|
|
1384
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1385
|
+
const parsedBody = parsedOutput.body;
|
|
1386
|
+
return throwDefaultError({
|
|
1387
|
+
output,
|
|
1388
|
+
parsedBody,
|
|
1389
|
+
errorCode
|
|
1390
|
+
});
|
|
1391
|
+
}, "de_ListHostsCommandError");
|
|
1392
|
+
var de_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1393
|
+
if (output.statusCode >= 300) {
|
|
1394
|
+
return de_ListRepositoryLinksCommandError(output, context);
|
|
1395
|
+
}
|
|
1396
|
+
const data = await parseBody(output.body, context);
|
|
1397
|
+
let contents = {};
|
|
1398
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1399
|
+
const response = {
|
|
1400
|
+
$metadata: deserializeMetadata(output),
|
|
1401
|
+
...contents
|
|
1402
|
+
};
|
|
1403
|
+
return response;
|
|
1404
|
+
}, "de_ListRepositoryLinksCommand");
|
|
1405
|
+
var de_ListRepositoryLinksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1406
|
+
const parsedOutput = {
|
|
1407
|
+
...output,
|
|
1408
|
+
body: await parseErrorBody(output.body, context)
|
|
1409
|
+
};
|
|
1410
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1411
|
+
switch (errorCode) {
|
|
1412
|
+
case "AccessDeniedException":
|
|
1413
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1414
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1415
|
+
case "ConcurrentModificationException":
|
|
1416
|
+
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
1417
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1418
|
+
case "InternalServerException":
|
|
1419
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1420
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1421
|
+
case "InvalidInputException":
|
|
1422
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1423
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1424
|
+
case "ResourceNotFoundException":
|
|
1425
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1426
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1427
|
+
case "ThrottlingException":
|
|
1428
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1429
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1430
|
+
default:
|
|
1431
|
+
const parsedBody = parsedOutput.body;
|
|
1432
|
+
return throwDefaultError({
|
|
1433
|
+
output,
|
|
1434
|
+
parsedBody,
|
|
1435
|
+
errorCode
|
|
1436
|
+
});
|
|
1437
|
+
}
|
|
1438
|
+
}, "de_ListRepositoryLinksCommandError");
|
|
1439
|
+
var de_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1440
|
+
if (output.statusCode >= 300) {
|
|
1441
|
+
return de_ListRepositorySyncDefinitionsCommandError(output, context);
|
|
1442
|
+
}
|
|
1443
|
+
const data = await parseBody(output.body, context);
|
|
1444
|
+
let contents = {};
|
|
1445
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1446
|
+
const response = {
|
|
1447
|
+
$metadata: deserializeMetadata(output),
|
|
1448
|
+
...contents
|
|
1449
|
+
};
|
|
1450
|
+
return response;
|
|
1451
|
+
}, "de_ListRepositorySyncDefinitionsCommand");
|
|
1452
|
+
var de_ListRepositorySyncDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1453
|
+
const parsedOutput = {
|
|
1454
|
+
...output,
|
|
1455
|
+
body: await parseErrorBody(output.body, context)
|
|
1456
|
+
};
|
|
1457
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1458
|
+
switch (errorCode) {
|
|
1459
|
+
case "AccessDeniedException":
|
|
1460
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1461
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1462
|
+
case "InternalServerException":
|
|
1463
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1464
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1465
|
+
case "InvalidInputException":
|
|
1466
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1467
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1468
|
+
case "ResourceNotFoundException":
|
|
1469
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1470
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1471
|
+
case "ThrottlingException":
|
|
1472
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1473
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1474
|
+
default:
|
|
1475
|
+
const parsedBody = parsedOutput.body;
|
|
1476
|
+
return throwDefaultError({
|
|
1477
|
+
output,
|
|
1478
|
+
parsedBody,
|
|
1479
|
+
errorCode
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
}, "de_ListRepositorySyncDefinitionsCommandError");
|
|
1483
|
+
var de_ListSyncConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1484
|
+
if (output.statusCode >= 300) {
|
|
1485
|
+
return de_ListSyncConfigurationsCommandError(output, context);
|
|
1486
|
+
}
|
|
1487
|
+
const data = await parseBody(output.body, context);
|
|
1488
|
+
let contents = {};
|
|
1489
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1490
|
+
const response = {
|
|
1491
|
+
$metadata: deserializeMetadata(output),
|
|
1492
|
+
...contents
|
|
1493
|
+
};
|
|
1494
|
+
return response;
|
|
1495
|
+
}, "de_ListSyncConfigurationsCommand");
|
|
1496
|
+
var de_ListSyncConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1497
|
+
const parsedOutput = {
|
|
1498
|
+
...output,
|
|
1499
|
+
body: await parseErrorBody(output.body, context)
|
|
1500
|
+
};
|
|
1501
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1502
|
+
switch (errorCode) {
|
|
1503
|
+
case "AccessDeniedException":
|
|
1504
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1505
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1506
|
+
case "InternalServerException":
|
|
1507
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1508
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1509
|
+
case "InvalidInputException":
|
|
1510
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1511
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1512
|
+
case "ResourceNotFoundException":
|
|
1513
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1514
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1515
|
+
case "ThrottlingException":
|
|
1516
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1517
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1518
|
+
default:
|
|
1519
|
+
const parsedBody = parsedOutput.body;
|
|
1520
|
+
return throwDefaultError({
|
|
1521
|
+
output,
|
|
1522
|
+
parsedBody,
|
|
1523
|
+
errorCode
|
|
1524
|
+
});
|
|
1525
|
+
}
|
|
1526
|
+
}, "de_ListSyncConfigurationsCommandError");
|
|
1527
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1528
|
+
if (output.statusCode >= 300) {
|
|
1529
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1530
|
+
}
|
|
1531
|
+
const data = await parseBody(output.body, context);
|
|
1532
|
+
let contents = {};
|
|
1533
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1534
|
+
const response = {
|
|
1535
|
+
$metadata: deserializeMetadata(output),
|
|
1536
|
+
...contents
|
|
1537
|
+
};
|
|
1538
|
+
return response;
|
|
1539
|
+
}, "de_ListTagsForResourceCommand");
|
|
1540
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1541
|
+
const parsedOutput = {
|
|
1542
|
+
...output,
|
|
1543
|
+
body: await parseErrorBody(output.body, context)
|
|
1544
|
+
};
|
|
1545
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1546
|
+
switch (errorCode) {
|
|
1547
|
+
case "ResourceNotFoundException":
|
|
1548
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1549
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1550
|
+
default:
|
|
1551
|
+
const parsedBody = parsedOutput.body;
|
|
1552
|
+
return throwDefaultError({
|
|
1553
|
+
output,
|
|
1554
|
+
parsedBody,
|
|
1555
|
+
errorCode
|
|
1556
|
+
});
|
|
1557
|
+
}
|
|
1558
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1559
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1560
|
+
if (output.statusCode >= 300) {
|
|
1561
|
+
return de_TagResourceCommandError(output, context);
|
|
1562
|
+
}
|
|
1563
|
+
const data = await parseBody(output.body, context);
|
|
1564
|
+
let contents = {};
|
|
1565
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1566
|
+
const response = {
|
|
1567
|
+
$metadata: deserializeMetadata(output),
|
|
1568
|
+
...contents
|
|
1569
|
+
};
|
|
1570
|
+
return response;
|
|
1571
|
+
}, "de_TagResourceCommand");
|
|
1572
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1573
|
+
const parsedOutput = {
|
|
1574
|
+
...output,
|
|
1575
|
+
body: await parseErrorBody(output.body, context)
|
|
1576
|
+
};
|
|
1577
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1578
|
+
switch (errorCode) {
|
|
1579
|
+
case "LimitExceededException":
|
|
1580
|
+
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
1581
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1582
|
+
case "ResourceNotFoundException":
|
|
1583
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1584
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1585
|
+
default:
|
|
1586
|
+
const parsedBody = parsedOutput.body;
|
|
1587
|
+
return throwDefaultError({
|
|
1588
|
+
output,
|
|
1589
|
+
parsedBody,
|
|
1590
|
+
errorCode
|
|
1591
|
+
});
|
|
1592
|
+
}
|
|
1593
|
+
}, "de_TagResourceCommandError");
|
|
1594
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1595
|
+
if (output.statusCode >= 300) {
|
|
1596
|
+
return de_UntagResourceCommandError(output, context);
|
|
1597
|
+
}
|
|
1598
|
+
const data = await parseBody(output.body, context);
|
|
1599
|
+
let contents = {};
|
|
1600
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1601
|
+
const response = {
|
|
1602
|
+
$metadata: deserializeMetadata(output),
|
|
1603
|
+
...contents
|
|
1604
|
+
};
|
|
1605
|
+
return response;
|
|
1606
|
+
}, "de_UntagResourceCommand");
|
|
1607
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1608
|
+
const parsedOutput = {
|
|
1609
|
+
...output,
|
|
1610
|
+
body: await parseErrorBody(output.body, context)
|
|
1611
|
+
};
|
|
1612
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1613
|
+
switch (errorCode) {
|
|
1614
|
+
case "ResourceNotFoundException":
|
|
1615
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1616
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1617
|
+
default:
|
|
1618
|
+
const parsedBody = parsedOutput.body;
|
|
1619
|
+
return throwDefaultError({
|
|
1620
|
+
output,
|
|
1621
|
+
parsedBody,
|
|
1622
|
+
errorCode
|
|
1623
|
+
});
|
|
1624
|
+
}
|
|
1625
|
+
}, "de_UntagResourceCommandError");
|
|
1626
|
+
var de_UpdateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1627
|
+
if (output.statusCode >= 300) {
|
|
1628
|
+
return de_UpdateHostCommandError(output, context);
|
|
1629
|
+
}
|
|
1630
|
+
const data = await parseBody(output.body, context);
|
|
1631
|
+
let contents = {};
|
|
1632
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1633
|
+
const response = {
|
|
1634
|
+
$metadata: deserializeMetadata(output),
|
|
1635
|
+
...contents
|
|
1636
|
+
};
|
|
1637
|
+
return response;
|
|
1638
|
+
}, "de_UpdateHostCommand");
|
|
1639
|
+
var de_UpdateHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1640
|
+
const parsedOutput = {
|
|
1641
|
+
...output,
|
|
1642
|
+
body: await parseErrorBody(output.body, context)
|
|
1643
|
+
};
|
|
1644
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1645
|
+
switch (errorCode) {
|
|
1646
|
+
case "ConflictException":
|
|
1647
|
+
case "com.amazonaws.codestarconnections#ConflictException":
|
|
1648
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1649
|
+
case "ResourceNotFoundException":
|
|
1650
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1651
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1652
|
+
case "ResourceUnavailableException":
|
|
1653
|
+
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
1654
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1655
|
+
case "UnsupportedOperationException":
|
|
1656
|
+
case "com.amazonaws.codestarconnections#UnsupportedOperationException":
|
|
1657
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1658
|
+
default:
|
|
1659
|
+
const parsedBody = parsedOutput.body;
|
|
1660
|
+
return throwDefaultError({
|
|
1661
|
+
output,
|
|
1662
|
+
parsedBody,
|
|
1663
|
+
errorCode
|
|
1664
|
+
});
|
|
1665
|
+
}
|
|
1666
|
+
}, "de_UpdateHostCommandError");
|
|
1667
|
+
var de_UpdateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1668
|
+
if (output.statusCode >= 300) {
|
|
1669
|
+
return de_UpdateRepositoryLinkCommandError(output, context);
|
|
1670
|
+
}
|
|
1671
|
+
const data = await parseBody(output.body, context);
|
|
1672
|
+
let contents = {};
|
|
1673
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1674
|
+
const response = {
|
|
1675
|
+
$metadata: deserializeMetadata(output),
|
|
1676
|
+
...contents
|
|
1677
|
+
};
|
|
1678
|
+
return response;
|
|
1679
|
+
}, "de_UpdateRepositoryLinkCommand");
|
|
1680
|
+
var de_UpdateRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1681
|
+
const parsedOutput = {
|
|
1682
|
+
...output,
|
|
1683
|
+
body: await parseErrorBody(output.body, context)
|
|
1684
|
+
};
|
|
1685
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1686
|
+
switch (errorCode) {
|
|
1687
|
+
case "AccessDeniedException":
|
|
1688
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1689
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1690
|
+
case "ConditionalCheckFailedException":
|
|
1691
|
+
case "com.amazonaws.codestarconnections#ConditionalCheckFailedException":
|
|
1692
|
+
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
1693
|
+
case "InternalServerException":
|
|
1694
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1695
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1696
|
+
case "InvalidInputException":
|
|
1697
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1698
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1699
|
+
case "ResourceNotFoundException":
|
|
1700
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1701
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1702
|
+
case "ThrottlingException":
|
|
1703
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1704
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1705
|
+
case "UpdateOutOfSyncException":
|
|
1706
|
+
case "com.amazonaws.codestarconnections#UpdateOutOfSyncException":
|
|
1707
|
+
throw await de_UpdateOutOfSyncExceptionRes(parsedOutput, context);
|
|
1708
|
+
default:
|
|
1709
|
+
const parsedBody = parsedOutput.body;
|
|
1710
|
+
return throwDefaultError({
|
|
1711
|
+
output,
|
|
1712
|
+
parsedBody,
|
|
1713
|
+
errorCode
|
|
1714
|
+
});
|
|
1715
|
+
}
|
|
1716
|
+
}, "de_UpdateRepositoryLinkCommandError");
|
|
1717
|
+
var de_UpdateSyncBlockerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1718
|
+
if (output.statusCode >= 300) {
|
|
1719
|
+
return de_UpdateSyncBlockerCommandError(output, context);
|
|
1720
|
+
}
|
|
1721
|
+
const data = await parseBody(output.body, context);
|
|
1722
|
+
let contents = {};
|
|
1723
|
+
contents = de_UpdateSyncBlockerOutput(data, context);
|
|
1724
|
+
const response = {
|
|
1725
|
+
$metadata: deserializeMetadata(output),
|
|
1726
|
+
...contents
|
|
1727
|
+
};
|
|
1728
|
+
return response;
|
|
1729
|
+
}, "de_UpdateSyncBlockerCommand");
|
|
1730
|
+
var de_UpdateSyncBlockerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1731
|
+
const parsedOutput = {
|
|
1732
|
+
...output,
|
|
1733
|
+
body: await parseErrorBody(output.body, context)
|
|
1734
|
+
};
|
|
1735
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1736
|
+
switch (errorCode) {
|
|
1737
|
+
case "AccessDeniedException":
|
|
1738
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1739
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1740
|
+
case "InternalServerException":
|
|
1741
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1742
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1743
|
+
case "InvalidInputException":
|
|
1744
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1745
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1746
|
+
case "ResourceNotFoundException":
|
|
1747
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1748
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1749
|
+
case "RetryLatestCommitFailedException":
|
|
1750
|
+
case "com.amazonaws.codestarconnections#RetryLatestCommitFailedException":
|
|
1751
|
+
throw await de_RetryLatestCommitFailedExceptionRes(parsedOutput, context);
|
|
1752
|
+
case "SyncBlockerDoesNotExistException":
|
|
1753
|
+
case "com.amazonaws.codestarconnections#SyncBlockerDoesNotExistException":
|
|
1754
|
+
throw await de_SyncBlockerDoesNotExistExceptionRes(parsedOutput, context);
|
|
1755
|
+
case "ThrottlingException":
|
|
1756
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1757
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1758
|
+
default:
|
|
1759
|
+
const parsedBody = parsedOutput.body;
|
|
1760
|
+
return throwDefaultError({
|
|
1761
|
+
output,
|
|
1762
|
+
parsedBody,
|
|
1763
|
+
errorCode
|
|
1764
|
+
});
|
|
1765
|
+
}
|
|
1766
|
+
}, "de_UpdateSyncBlockerCommandError");
|
|
1767
|
+
var de_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1768
|
+
if (output.statusCode >= 300) {
|
|
1769
|
+
return de_UpdateSyncConfigurationCommandError(output, context);
|
|
1770
|
+
}
|
|
1771
|
+
const data = await parseBody(output.body, context);
|
|
1772
|
+
let contents = {};
|
|
1773
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1774
|
+
const response = {
|
|
1775
|
+
$metadata: deserializeMetadata(output),
|
|
1776
|
+
...contents
|
|
1777
|
+
};
|
|
1778
|
+
return response;
|
|
1779
|
+
}, "de_UpdateSyncConfigurationCommand");
|
|
1780
|
+
var de_UpdateSyncConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1781
|
+
const parsedOutput = {
|
|
1782
|
+
...output,
|
|
1783
|
+
body: await parseErrorBody(output.body, context)
|
|
1784
|
+
};
|
|
1785
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1786
|
+
switch (errorCode) {
|
|
1787
|
+
case "AccessDeniedException":
|
|
1788
|
+
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1789
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1790
|
+
case "ConcurrentModificationException":
|
|
1791
|
+
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
1792
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1793
|
+
case "InternalServerException":
|
|
1794
|
+
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1795
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1796
|
+
case "InvalidInputException":
|
|
1797
|
+
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1798
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1799
|
+
case "ResourceNotFoundException":
|
|
1800
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1801
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1802
|
+
case "ThrottlingException":
|
|
1803
|
+
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1804
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1805
|
+
case "UpdateOutOfSyncException":
|
|
1806
|
+
case "com.amazonaws.codestarconnections#UpdateOutOfSyncException":
|
|
1807
|
+
throw await de_UpdateOutOfSyncExceptionRes(parsedOutput, context);
|
|
1808
|
+
default:
|
|
1809
|
+
const parsedBody = parsedOutput.body;
|
|
1810
|
+
return throwDefaultError({
|
|
1811
|
+
output,
|
|
1812
|
+
parsedBody,
|
|
1813
|
+
errorCode
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
}, "de_UpdateSyncConfigurationCommandError");
|
|
1817
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1818
|
+
const body = parsedOutput.body;
|
|
1819
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1820
|
+
const exception = new AccessDeniedException({
|
|
1821
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1822
|
+
...deserialized
|
|
1823
|
+
});
|
|
1824
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1825
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1826
|
+
var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1827
|
+
const body = parsedOutput.body;
|
|
1828
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1829
|
+
const exception = new ConcurrentModificationException({
|
|
1830
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1831
|
+
...deserialized
|
|
1832
|
+
});
|
|
1833
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1834
|
+
}, "de_ConcurrentModificationExceptionRes");
|
|
1835
|
+
var de_ConditionalCheckFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1836
|
+
const body = parsedOutput.body;
|
|
1837
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1838
|
+
const exception = new ConditionalCheckFailedException({
|
|
1839
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1840
|
+
...deserialized
|
|
1841
|
+
});
|
|
1842
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1843
|
+
}, "de_ConditionalCheckFailedExceptionRes");
|
|
1844
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1845
|
+
const body = parsedOutput.body;
|
|
1846
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1847
|
+
const exception = new ConflictException({
|
|
1848
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1849
|
+
...deserialized
|
|
1850
|
+
});
|
|
1851
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1852
|
+
}, "de_ConflictExceptionRes");
|
|
1853
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1854
|
+
const body = parsedOutput.body;
|
|
1855
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1856
|
+
const exception = new InternalServerException({
|
|
1857
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1858
|
+
...deserialized
|
|
1859
|
+
});
|
|
1860
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1861
|
+
}, "de_InternalServerExceptionRes");
|
|
1862
|
+
var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1863
|
+
const body = parsedOutput.body;
|
|
1864
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1865
|
+
const exception = new InvalidInputException({
|
|
1866
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1867
|
+
...deserialized
|
|
1868
|
+
});
|
|
1869
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1870
|
+
}, "de_InvalidInputExceptionRes");
|
|
1871
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1872
|
+
const body = parsedOutput.body;
|
|
1873
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1874
|
+
const exception = new LimitExceededException({
|
|
1875
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1876
|
+
...deserialized
|
|
1877
|
+
});
|
|
1878
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1879
|
+
}, "de_LimitExceededExceptionRes");
|
|
1880
|
+
var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1881
|
+
const body = parsedOutput.body;
|
|
1882
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1883
|
+
const exception = new ResourceAlreadyExistsException({
|
|
1884
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1885
|
+
...deserialized
|
|
1886
|
+
});
|
|
1887
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1888
|
+
}, "de_ResourceAlreadyExistsExceptionRes");
|
|
1889
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1890
|
+
const body = parsedOutput.body;
|
|
1891
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1892
|
+
const exception = new ResourceNotFoundException({
|
|
1893
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1894
|
+
...deserialized
|
|
1895
|
+
});
|
|
1896
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1897
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1898
|
+
var de_ResourceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1899
|
+
const body = parsedOutput.body;
|
|
1900
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1901
|
+
const exception = new ResourceUnavailableException({
|
|
1902
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1903
|
+
...deserialized
|
|
1904
|
+
});
|
|
1905
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1906
|
+
}, "de_ResourceUnavailableExceptionRes");
|
|
1907
|
+
var de_RetryLatestCommitFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1908
|
+
const body = parsedOutput.body;
|
|
1909
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1910
|
+
const exception = new RetryLatestCommitFailedException({
|
|
1911
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1912
|
+
...deserialized
|
|
1913
|
+
});
|
|
1914
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1915
|
+
}, "de_RetryLatestCommitFailedExceptionRes");
|
|
1916
|
+
var de_SyncBlockerDoesNotExistExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1917
|
+
const body = parsedOutput.body;
|
|
1918
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1919
|
+
const exception = new SyncBlockerDoesNotExistException({
|
|
1920
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1921
|
+
...deserialized
|
|
1922
|
+
});
|
|
1923
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1924
|
+
}, "de_SyncBlockerDoesNotExistExceptionRes");
|
|
1925
|
+
var de_SyncConfigurationStillExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1926
|
+
const body = parsedOutput.body;
|
|
1927
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1928
|
+
const exception = new SyncConfigurationStillExistsException({
|
|
1929
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1930
|
+
...deserialized
|
|
1931
|
+
});
|
|
1932
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1933
|
+
}, "de_SyncConfigurationStillExistsExceptionRes");
|
|
1934
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1935
|
+
const body = parsedOutput.body;
|
|
1936
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1937
|
+
const exception = new ThrottlingException({
|
|
1938
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1939
|
+
...deserialized
|
|
1940
|
+
});
|
|
1941
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1942
|
+
}, "de_ThrottlingExceptionRes");
|
|
1943
|
+
var de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1944
|
+
const body = parsedOutput.body;
|
|
1945
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1946
|
+
const exception = new UnsupportedOperationException({
|
|
1947
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1948
|
+
...deserialized
|
|
1949
|
+
});
|
|
1950
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1951
|
+
}, "de_UnsupportedOperationExceptionRes");
|
|
1952
|
+
var de_UnsupportedProviderTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1953
|
+
const body = parsedOutput.body;
|
|
1954
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1955
|
+
const exception = new UnsupportedProviderTypeException({
|
|
1956
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1957
|
+
...deserialized
|
|
1958
|
+
});
|
|
1959
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1960
|
+
}, "de_UnsupportedProviderTypeExceptionRes");
|
|
1961
|
+
var de_UpdateOutOfSyncExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1962
|
+
const body = parsedOutput.body;
|
|
1963
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1964
|
+
const exception = new UpdateOutOfSyncException({
|
|
1965
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1966
|
+
...deserialized
|
|
1967
|
+
});
|
|
1968
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1969
|
+
}, "de_UpdateOutOfSyncExceptionRes");
|
|
1970
|
+
var de_GetRepositorySyncStatusOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1971
|
+
return (0, import_smithy_client.take)(output, {
|
|
1972
|
+
LatestSync: (_) => de_RepositorySyncAttempt(_, context)
|
|
1973
|
+
});
|
|
1974
|
+
}, "de_GetRepositorySyncStatusOutput");
|
|
1975
|
+
var de_GetResourceSyncStatusOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1976
|
+
return (0, import_smithy_client.take)(output, {
|
|
1977
|
+
DesiredState: import_smithy_client._json,
|
|
1978
|
+
LatestSuccessfulSync: (_) => de_ResourceSyncAttempt(_, context),
|
|
1979
|
+
LatestSync: (_) => de_ResourceSyncAttempt(_, context)
|
|
1980
|
+
});
|
|
1981
|
+
}, "de_GetResourceSyncStatusOutput");
|
|
1982
|
+
var de_GetSyncBlockerSummaryOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1983
|
+
return (0, import_smithy_client.take)(output, {
|
|
1984
|
+
SyncBlockerSummary: (_) => de_SyncBlockerSummary(_, context)
|
|
1985
|
+
});
|
|
1986
|
+
}, "de_GetSyncBlockerSummaryOutput");
|
|
1987
|
+
var de_LatestSyncBlockerList = /* @__PURE__ */ __name((output, context) => {
|
|
1988
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1989
|
+
return de_SyncBlocker(entry, context);
|
|
1990
|
+
});
|
|
1991
|
+
return retVal;
|
|
1992
|
+
}, "de_LatestSyncBlockerList");
|
|
1993
|
+
var de_RepositorySyncAttempt = /* @__PURE__ */ __name((output, context) => {
|
|
1994
|
+
return (0, import_smithy_client.take)(output, {
|
|
1995
|
+
Events: (_) => de_RepositorySyncEventList(_, context),
|
|
1996
|
+
StartedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1997
|
+
Status: import_smithy_client.expectString
|
|
1998
|
+
});
|
|
1999
|
+
}, "de_RepositorySyncAttempt");
|
|
2000
|
+
var de_RepositorySyncEvent = /* @__PURE__ */ __name((output, context) => {
|
|
2001
|
+
return (0, import_smithy_client.take)(output, {
|
|
2002
|
+
Event: import_smithy_client.expectString,
|
|
2003
|
+
ExternalId: import_smithy_client.expectString,
|
|
2004
|
+
Time: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2005
|
+
Type: import_smithy_client.expectString
|
|
2006
|
+
});
|
|
2007
|
+
}, "de_RepositorySyncEvent");
|
|
2008
|
+
var de_RepositorySyncEventList = /* @__PURE__ */ __name((output, context) => {
|
|
2009
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2010
|
+
return de_RepositorySyncEvent(entry, context);
|
|
2011
|
+
});
|
|
2012
|
+
return retVal;
|
|
2013
|
+
}, "de_RepositorySyncEventList");
|
|
2014
|
+
var de_ResourceSyncAttempt = /* @__PURE__ */ __name((output, context) => {
|
|
2015
|
+
return (0, import_smithy_client.take)(output, {
|
|
2016
|
+
Events: (_) => de_ResourceSyncEventList(_, context),
|
|
2017
|
+
InitialRevision: import_smithy_client._json,
|
|
2018
|
+
StartedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2019
|
+
Status: import_smithy_client.expectString,
|
|
2020
|
+
Target: import_smithy_client.expectString,
|
|
2021
|
+
TargetRevision: import_smithy_client._json
|
|
2022
|
+
});
|
|
2023
|
+
}, "de_ResourceSyncAttempt");
|
|
2024
|
+
var de_ResourceSyncEvent = /* @__PURE__ */ __name((output, context) => {
|
|
2025
|
+
return (0, import_smithy_client.take)(output, {
|
|
2026
|
+
Event: import_smithy_client.expectString,
|
|
2027
|
+
ExternalId: import_smithy_client.expectString,
|
|
2028
|
+
Time: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2029
|
+
Type: import_smithy_client.expectString
|
|
2030
|
+
});
|
|
2031
|
+
}, "de_ResourceSyncEvent");
|
|
2032
|
+
var de_ResourceSyncEventList = /* @__PURE__ */ __name((output, context) => {
|
|
2033
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2034
|
+
return de_ResourceSyncEvent(entry, context);
|
|
2035
|
+
});
|
|
2036
|
+
return retVal;
|
|
2037
|
+
}, "de_ResourceSyncEventList");
|
|
2038
|
+
var de_SyncBlocker = /* @__PURE__ */ __name((output, context) => {
|
|
2039
|
+
return (0, import_smithy_client.take)(output, {
|
|
2040
|
+
Contexts: import_smithy_client._json,
|
|
2041
|
+
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2042
|
+
CreatedReason: import_smithy_client.expectString,
|
|
2043
|
+
Id: import_smithy_client.expectString,
|
|
2044
|
+
ResolvedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2045
|
+
ResolvedReason: import_smithy_client.expectString,
|
|
2046
|
+
Status: import_smithy_client.expectString,
|
|
2047
|
+
Type: import_smithy_client.expectString
|
|
2048
|
+
});
|
|
2049
|
+
}, "de_SyncBlocker");
|
|
2050
|
+
var de_SyncBlockerSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2051
|
+
return (0, import_smithy_client.take)(output, {
|
|
2052
|
+
LatestBlockers: (_) => de_LatestSyncBlockerList(_, context),
|
|
2053
|
+
ParentResourceName: import_smithy_client.expectString,
|
|
2054
|
+
ResourceName: import_smithy_client.expectString
|
|
2055
|
+
});
|
|
2056
|
+
}, "de_SyncBlockerSummary");
|
|
2057
|
+
var de_UpdateSyncBlockerOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2058
|
+
return (0, import_smithy_client.take)(output, {
|
|
2059
|
+
ParentResourceName: import_smithy_client.expectString,
|
|
2060
|
+
ResourceName: import_smithy_client.expectString,
|
|
2061
|
+
SyncBlocker: (_) => de_SyncBlocker(_, context)
|
|
2062
|
+
});
|
|
2063
|
+
}, "de_UpdateSyncBlockerOutput");
|
|
2064
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2065
|
+
httpStatusCode: output.statusCode,
|
|
2066
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2067
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2068
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2069
|
+
}), "deserializeMetadata");
|
|
2070
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2071
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(CodeStarConnectionsServiceException);
|
|
2072
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2073
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2074
|
+
const contents = {
|
|
2075
|
+
protocol,
|
|
2076
|
+
hostname,
|
|
2077
|
+
port,
|
|
2078
|
+
method: "POST",
|
|
2079
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2080
|
+
headers
|
|
2081
|
+
};
|
|
2082
|
+
if (resolvedHostname !== void 0) {
|
|
2083
|
+
contents.hostname = resolvedHostname;
|
|
2084
|
+
}
|
|
2085
|
+
if (body !== void 0) {
|
|
2086
|
+
contents.body = body;
|
|
2087
|
+
}
|
|
2088
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
2089
|
+
}, "buildHttpRpcRequest");
|
|
2090
|
+
function sharedHeaders(operation) {
|
|
2091
|
+
return {
|
|
2092
|
+
"content-type": "application/x-amz-json-1.0",
|
|
2093
|
+
"x-amz-target": `CodeStar_connections_20191201.${operation}`
|
|
2094
|
+
};
|
|
2095
|
+
}
|
|
2096
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
2097
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2098
|
+
if (encoded.length) {
|
|
2099
|
+
return JSON.parse(encoded);
|
|
2100
|
+
}
|
|
2101
|
+
return {};
|
|
2102
|
+
}), "parseBody");
|
|
2103
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2104
|
+
const value = await parseBody(errorBody, context);
|
|
2105
|
+
value.message = value.message ?? value.Message;
|
|
2106
|
+
return value;
|
|
2107
|
+
}, "parseErrorBody");
|
|
2108
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2109
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2110
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2111
|
+
let cleanValue = rawValue;
|
|
2112
|
+
if (typeof cleanValue === "number") {
|
|
2113
|
+
cleanValue = cleanValue.toString();
|
|
2114
|
+
}
|
|
2115
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2116
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2117
|
+
}
|
|
2118
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2119
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2120
|
+
}
|
|
2121
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2122
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2123
|
+
}
|
|
2124
|
+
return cleanValue;
|
|
2125
|
+
}, "sanitizeErrorCode");
|
|
2126
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2127
|
+
if (headerKey !== void 0) {
|
|
2128
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2129
|
+
}
|
|
2130
|
+
if (data.code !== void 0) {
|
|
2131
|
+
return sanitizeErrorCode(data.code);
|
|
2132
|
+
}
|
|
2133
|
+
if (data["__type"] !== void 0) {
|
|
2134
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2135
|
+
}
|
|
2136
|
+
}, "loadRestJsonErrorCode");
|
|
2137
|
+
|
|
2138
|
+
// src/commands/CreateConnectionCommand.ts
|
|
2139
|
+
var _CreateConnectionCommand = class _CreateConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2140
|
+
...commonParams
|
|
2141
|
+
}).m(function(Command, cs, config, o) {
|
|
2142
|
+
return [
|
|
2143
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2144
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2145
|
+
];
|
|
2146
|
+
}).s("CodeStar_connections_20191201", "CreateConnection", {}).n("CodeStarConnectionsClient", "CreateConnectionCommand").f(void 0, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() {
|
|
2147
|
+
};
|
|
2148
|
+
__name(_CreateConnectionCommand, "CreateConnectionCommand");
|
|
2149
|
+
var CreateConnectionCommand = _CreateConnectionCommand;
|
|
2150
|
+
|
|
2151
|
+
// src/commands/CreateHostCommand.ts
|
|
2152
|
+
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
|
|
2156
|
+
var _CreateHostCommand = class _CreateHostCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2157
|
+
...commonParams
|
|
2158
|
+
}).m(function(Command, cs, config, o) {
|
|
2159
|
+
return [
|
|
2160
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2161
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2162
|
+
];
|
|
2163
|
+
}).s("CodeStar_connections_20191201", "CreateHost", {}).n("CodeStarConnectionsClient", "CreateHostCommand").f(void 0, void 0).ser(se_CreateHostCommand).de(de_CreateHostCommand).build() {
|
|
2164
|
+
};
|
|
2165
|
+
__name(_CreateHostCommand, "CreateHostCommand");
|
|
2166
|
+
var CreateHostCommand = _CreateHostCommand;
|
|
2167
|
+
|
|
2168
|
+
// src/commands/CreateRepositoryLinkCommand.ts
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
var _CreateRepositoryLinkCommand = class _CreateRepositoryLinkCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2174
|
+
...commonParams
|
|
2175
|
+
}).m(function(Command, cs, config, o) {
|
|
2176
|
+
return [
|
|
2177
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2178
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2179
|
+
];
|
|
2180
|
+
}).s("CodeStar_connections_20191201", "CreateRepositoryLink", {}).n("CodeStarConnectionsClient", "CreateRepositoryLinkCommand").f(void 0, void 0).ser(se_CreateRepositoryLinkCommand).de(de_CreateRepositoryLinkCommand).build() {
|
|
2181
|
+
};
|
|
2182
|
+
__name(_CreateRepositoryLinkCommand, "CreateRepositoryLinkCommand");
|
|
2183
|
+
var CreateRepositoryLinkCommand = _CreateRepositoryLinkCommand;
|
|
2184
|
+
|
|
2185
|
+
// src/commands/CreateSyncConfigurationCommand.ts
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
|
|
2190
|
+
var _CreateSyncConfigurationCommand = class _CreateSyncConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2191
|
+
...commonParams
|
|
2192
|
+
}).m(function(Command, cs, config, o) {
|
|
2193
|
+
return [
|
|
2194
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2195
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2196
|
+
];
|
|
2197
|
+
}).s("CodeStar_connections_20191201", "CreateSyncConfiguration", {}).n("CodeStarConnectionsClient", "CreateSyncConfigurationCommand").f(void 0, void 0).ser(se_CreateSyncConfigurationCommand).de(de_CreateSyncConfigurationCommand).build() {
|
|
2198
|
+
};
|
|
2199
|
+
__name(_CreateSyncConfigurationCommand, "CreateSyncConfigurationCommand");
|
|
2200
|
+
var CreateSyncConfigurationCommand = _CreateSyncConfigurationCommand;
|
|
2201
|
+
|
|
2202
|
+
// src/commands/DeleteConnectionCommand.ts
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
|
|
2206
|
+
|
|
2207
|
+
var _DeleteConnectionCommand = class _DeleteConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2208
|
+
...commonParams
|
|
2209
|
+
}).m(function(Command, cs, config, o) {
|
|
2210
|
+
return [
|
|
2211
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2212
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2213
|
+
];
|
|
2214
|
+
}).s("CodeStar_connections_20191201", "DeleteConnection", {}).n("CodeStarConnectionsClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() {
|
|
2215
|
+
};
|
|
2216
|
+
__name(_DeleteConnectionCommand, "DeleteConnectionCommand");
|
|
2217
|
+
var DeleteConnectionCommand = _DeleteConnectionCommand;
|
|
2218
|
+
|
|
2219
|
+
// src/commands/DeleteHostCommand.ts
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
var _DeleteHostCommand = class _DeleteHostCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2225
|
+
...commonParams
|
|
2226
|
+
}).m(function(Command, cs, config, o) {
|
|
2227
|
+
return [
|
|
2228
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2229
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2230
|
+
];
|
|
2231
|
+
}).s("CodeStar_connections_20191201", "DeleteHost", {}).n("CodeStarConnectionsClient", "DeleteHostCommand").f(void 0, void 0).ser(se_DeleteHostCommand).de(de_DeleteHostCommand).build() {
|
|
2232
|
+
};
|
|
2233
|
+
__name(_DeleteHostCommand, "DeleteHostCommand");
|
|
2234
|
+
var DeleteHostCommand = _DeleteHostCommand;
|
|
2235
|
+
|
|
2236
|
+
// src/commands/DeleteRepositoryLinkCommand.ts
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
var _DeleteRepositoryLinkCommand = class _DeleteRepositoryLinkCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2242
|
+
...commonParams
|
|
2243
|
+
}).m(function(Command, cs, config, o) {
|
|
2244
|
+
return [
|
|
2245
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2246
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2247
|
+
];
|
|
2248
|
+
}).s("CodeStar_connections_20191201", "DeleteRepositoryLink", {}).n("CodeStarConnectionsClient", "DeleteRepositoryLinkCommand").f(void 0, void 0).ser(se_DeleteRepositoryLinkCommand).de(de_DeleteRepositoryLinkCommand).build() {
|
|
2249
|
+
};
|
|
2250
|
+
__name(_DeleteRepositoryLinkCommand, "DeleteRepositoryLinkCommand");
|
|
2251
|
+
var DeleteRepositoryLinkCommand = _DeleteRepositoryLinkCommand;
|
|
2252
|
+
|
|
2253
|
+
// src/commands/DeleteSyncConfigurationCommand.ts
|
|
2254
|
+
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
var _DeleteSyncConfigurationCommand = class _DeleteSyncConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2259
|
+
...commonParams
|
|
2260
|
+
}).m(function(Command, cs, config, o) {
|
|
2261
|
+
return [
|
|
2262
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2263
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2264
|
+
];
|
|
2265
|
+
}).s("CodeStar_connections_20191201", "DeleteSyncConfiguration", {}).n("CodeStarConnectionsClient", "DeleteSyncConfigurationCommand").f(void 0, void 0).ser(se_DeleteSyncConfigurationCommand).de(de_DeleteSyncConfigurationCommand).build() {
|
|
2266
|
+
};
|
|
2267
|
+
__name(_DeleteSyncConfigurationCommand, "DeleteSyncConfigurationCommand");
|
|
2268
|
+
var DeleteSyncConfigurationCommand = _DeleteSyncConfigurationCommand;
|
|
2269
|
+
|
|
2270
|
+
// src/commands/GetConnectionCommand.ts
|
|
2271
|
+
|
|
2272
|
+
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
var _GetConnectionCommand = class _GetConnectionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2276
|
+
...commonParams
|
|
2277
|
+
}).m(function(Command, cs, config, o) {
|
|
2278
|
+
return [
|
|
2279
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2280
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2281
|
+
];
|
|
2282
|
+
}).s("CodeStar_connections_20191201", "GetConnection", {}).n("CodeStarConnectionsClient", "GetConnectionCommand").f(void 0, void 0).ser(se_GetConnectionCommand).de(de_GetConnectionCommand).build() {
|
|
2283
|
+
};
|
|
2284
|
+
__name(_GetConnectionCommand, "GetConnectionCommand");
|
|
2285
|
+
var GetConnectionCommand = _GetConnectionCommand;
|
|
2286
|
+
|
|
2287
|
+
// src/commands/GetHostCommand.ts
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
var _GetHostCommand = class _GetHostCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2293
|
+
...commonParams
|
|
2294
|
+
}).m(function(Command, cs, config, o) {
|
|
2295
|
+
return [
|
|
2296
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2297
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2298
|
+
];
|
|
2299
|
+
}).s("CodeStar_connections_20191201", "GetHost", {}).n("CodeStarConnectionsClient", "GetHostCommand").f(void 0, void 0).ser(se_GetHostCommand).de(de_GetHostCommand).build() {
|
|
2300
|
+
};
|
|
2301
|
+
__name(_GetHostCommand, "GetHostCommand");
|
|
2302
|
+
var GetHostCommand = _GetHostCommand;
|
|
2303
|
+
|
|
2304
|
+
// src/commands/GetRepositoryLinkCommand.ts
|
|
2305
|
+
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
var _GetRepositoryLinkCommand = class _GetRepositoryLinkCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2310
|
+
...commonParams
|
|
2311
|
+
}).m(function(Command, cs, config, o) {
|
|
2312
|
+
return [
|
|
2313
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2314
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2315
|
+
];
|
|
2316
|
+
}).s("CodeStar_connections_20191201", "GetRepositoryLink", {}).n("CodeStarConnectionsClient", "GetRepositoryLinkCommand").f(void 0, void 0).ser(se_GetRepositoryLinkCommand).de(de_GetRepositoryLinkCommand).build() {
|
|
2317
|
+
};
|
|
2318
|
+
__name(_GetRepositoryLinkCommand, "GetRepositoryLinkCommand");
|
|
2319
|
+
var GetRepositoryLinkCommand = _GetRepositoryLinkCommand;
|
|
2320
|
+
|
|
2321
|
+
// src/commands/GetRepositorySyncStatusCommand.ts
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
var _GetRepositorySyncStatusCommand = class _GetRepositorySyncStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2327
|
+
...commonParams
|
|
2328
|
+
}).m(function(Command, cs, config, o) {
|
|
2329
|
+
return [
|
|
2330
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2331
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2332
|
+
];
|
|
2333
|
+
}).s("CodeStar_connections_20191201", "GetRepositorySyncStatus", {}).n("CodeStarConnectionsClient", "GetRepositorySyncStatusCommand").f(void 0, void 0).ser(se_GetRepositorySyncStatusCommand).de(de_GetRepositorySyncStatusCommand).build() {
|
|
2334
|
+
};
|
|
2335
|
+
__name(_GetRepositorySyncStatusCommand, "GetRepositorySyncStatusCommand");
|
|
2336
|
+
var GetRepositorySyncStatusCommand = _GetRepositorySyncStatusCommand;
|
|
2337
|
+
|
|
2338
|
+
// src/commands/GetResourceSyncStatusCommand.ts
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
var _GetResourceSyncStatusCommand = class _GetResourceSyncStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2344
|
+
...commonParams
|
|
2345
|
+
}).m(function(Command, cs, config, o) {
|
|
2346
|
+
return [
|
|
2347
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2348
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2349
|
+
];
|
|
2350
|
+
}).s("CodeStar_connections_20191201", "GetResourceSyncStatus", {}).n("CodeStarConnectionsClient", "GetResourceSyncStatusCommand").f(void 0, void 0).ser(se_GetResourceSyncStatusCommand).de(de_GetResourceSyncStatusCommand).build() {
|
|
2351
|
+
};
|
|
2352
|
+
__name(_GetResourceSyncStatusCommand, "GetResourceSyncStatusCommand");
|
|
2353
|
+
var GetResourceSyncStatusCommand = _GetResourceSyncStatusCommand;
|
|
2354
|
+
|
|
2355
|
+
// src/commands/GetSyncBlockerSummaryCommand.ts
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
var _GetSyncBlockerSummaryCommand = class _GetSyncBlockerSummaryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2361
|
+
...commonParams
|
|
2362
|
+
}).m(function(Command, cs, config, o) {
|
|
2363
|
+
return [
|
|
2364
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2365
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2366
|
+
];
|
|
2367
|
+
}).s("CodeStar_connections_20191201", "GetSyncBlockerSummary", {}).n("CodeStarConnectionsClient", "GetSyncBlockerSummaryCommand").f(void 0, void 0).ser(se_GetSyncBlockerSummaryCommand).de(de_GetSyncBlockerSummaryCommand).build() {
|
|
2368
|
+
};
|
|
2369
|
+
__name(_GetSyncBlockerSummaryCommand, "GetSyncBlockerSummaryCommand");
|
|
2370
|
+
var GetSyncBlockerSummaryCommand = _GetSyncBlockerSummaryCommand;
|
|
2371
|
+
|
|
2372
|
+
// src/commands/GetSyncConfigurationCommand.ts
|
|
2373
|
+
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
|
|
2377
|
+
var _GetSyncConfigurationCommand = class _GetSyncConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2378
|
+
...commonParams
|
|
2379
|
+
}).m(function(Command, cs, config, o) {
|
|
2380
|
+
return [
|
|
2381
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2382
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2383
|
+
];
|
|
2384
|
+
}).s("CodeStar_connections_20191201", "GetSyncConfiguration", {}).n("CodeStarConnectionsClient", "GetSyncConfigurationCommand").f(void 0, void 0).ser(se_GetSyncConfigurationCommand).de(de_GetSyncConfigurationCommand).build() {
|
|
2385
|
+
};
|
|
2386
|
+
__name(_GetSyncConfigurationCommand, "GetSyncConfigurationCommand");
|
|
2387
|
+
var GetSyncConfigurationCommand = _GetSyncConfigurationCommand;
|
|
2388
|
+
|
|
2389
|
+
// src/commands/ListConnectionsCommand.ts
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
var _ListConnectionsCommand = class _ListConnectionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2395
|
+
...commonParams
|
|
2396
|
+
}).m(function(Command, cs, config, o) {
|
|
2397
|
+
return [
|
|
2398
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2399
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2400
|
+
];
|
|
2401
|
+
}).s("CodeStar_connections_20191201", "ListConnections", {}).n("CodeStarConnectionsClient", "ListConnectionsCommand").f(void 0, void 0).ser(se_ListConnectionsCommand).de(de_ListConnectionsCommand).build() {
|
|
2402
|
+
};
|
|
2403
|
+
__name(_ListConnectionsCommand, "ListConnectionsCommand");
|
|
2404
|
+
var ListConnectionsCommand = _ListConnectionsCommand;
|
|
2405
|
+
|
|
2406
|
+
// src/commands/ListHostsCommand.ts
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
var _ListHostsCommand = class _ListHostsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2412
|
+
...commonParams
|
|
2413
|
+
}).m(function(Command, cs, config, o) {
|
|
2414
|
+
return [
|
|
2415
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2416
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2417
|
+
];
|
|
2418
|
+
}).s("CodeStar_connections_20191201", "ListHosts", {}).n("CodeStarConnectionsClient", "ListHostsCommand").f(void 0, void 0).ser(se_ListHostsCommand).de(de_ListHostsCommand).build() {
|
|
2419
|
+
};
|
|
2420
|
+
__name(_ListHostsCommand, "ListHostsCommand");
|
|
2421
|
+
var ListHostsCommand = _ListHostsCommand;
|
|
2422
|
+
|
|
2423
|
+
// src/commands/ListRepositoryLinksCommand.ts
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
var _ListRepositoryLinksCommand = class _ListRepositoryLinksCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2429
|
+
...commonParams
|
|
2430
|
+
}).m(function(Command, cs, config, o) {
|
|
2431
|
+
return [
|
|
2432
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2433
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2434
|
+
];
|
|
2435
|
+
}).s("CodeStar_connections_20191201", "ListRepositoryLinks", {}).n("CodeStarConnectionsClient", "ListRepositoryLinksCommand").f(void 0, void 0).ser(se_ListRepositoryLinksCommand).de(de_ListRepositoryLinksCommand).build() {
|
|
2436
|
+
};
|
|
2437
|
+
__name(_ListRepositoryLinksCommand, "ListRepositoryLinksCommand");
|
|
2438
|
+
var ListRepositoryLinksCommand = _ListRepositoryLinksCommand;
|
|
2439
|
+
|
|
2440
|
+
// src/commands/ListRepositorySyncDefinitionsCommand.ts
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
var _ListRepositorySyncDefinitionsCommand = class _ListRepositorySyncDefinitionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2446
|
+
...commonParams
|
|
2447
|
+
}).m(function(Command, cs, config, o) {
|
|
2448
|
+
return [
|
|
2449
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2450
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2451
|
+
];
|
|
2452
|
+
}).s("CodeStar_connections_20191201", "ListRepositorySyncDefinitions", {}).n("CodeStarConnectionsClient", "ListRepositorySyncDefinitionsCommand").f(void 0, void 0).ser(se_ListRepositorySyncDefinitionsCommand).de(de_ListRepositorySyncDefinitionsCommand).build() {
|
|
2453
|
+
};
|
|
2454
|
+
__name(_ListRepositorySyncDefinitionsCommand, "ListRepositorySyncDefinitionsCommand");
|
|
2455
|
+
var ListRepositorySyncDefinitionsCommand = _ListRepositorySyncDefinitionsCommand;
|
|
2456
|
+
|
|
2457
|
+
// src/commands/ListSyncConfigurationsCommand.ts
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
var _ListSyncConfigurationsCommand = class _ListSyncConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2463
|
+
...commonParams
|
|
2464
|
+
}).m(function(Command, cs, config, o) {
|
|
2465
|
+
return [
|
|
2466
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2467
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2468
|
+
];
|
|
2469
|
+
}).s("CodeStar_connections_20191201", "ListSyncConfigurations", {}).n("CodeStarConnectionsClient", "ListSyncConfigurationsCommand").f(void 0, void 0).ser(se_ListSyncConfigurationsCommand).de(de_ListSyncConfigurationsCommand).build() {
|
|
2470
|
+
};
|
|
2471
|
+
__name(_ListSyncConfigurationsCommand, "ListSyncConfigurationsCommand");
|
|
2472
|
+
var ListSyncConfigurationsCommand = _ListSyncConfigurationsCommand;
|
|
2473
|
+
|
|
2474
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2480
|
+
...commonParams
|
|
2481
|
+
}).m(function(Command, cs, config, o) {
|
|
2482
|
+
return [
|
|
2483
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2484
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2485
|
+
];
|
|
2486
|
+
}).s("CodeStar_connections_20191201", "ListTagsForResource", {}).n("CodeStarConnectionsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2487
|
+
};
|
|
2488
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
2489
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
2490
|
+
|
|
2491
|
+
// src/commands/TagResourceCommand.ts
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2497
|
+
...commonParams
|
|
2498
|
+
}).m(function(Command, cs, config, o) {
|
|
2499
|
+
return [
|
|
2500
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2501
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2502
|
+
];
|
|
2503
|
+
}).s("CodeStar_connections_20191201", "TagResource", {}).n("CodeStarConnectionsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2504
|
+
};
|
|
2505
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2506
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2507
|
+
|
|
2508
|
+
// src/commands/UntagResourceCommand.ts
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2514
|
+
...commonParams
|
|
2515
|
+
}).m(function(Command, cs, config, o) {
|
|
2516
|
+
return [
|
|
2517
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2518
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2519
|
+
];
|
|
2520
|
+
}).s("CodeStar_connections_20191201", "UntagResource", {}).n("CodeStarConnectionsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2521
|
+
};
|
|
2522
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2523
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2524
|
+
|
|
2525
|
+
// src/commands/UpdateHostCommand.ts
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
var _UpdateHostCommand = class _UpdateHostCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2531
|
+
...commonParams
|
|
2532
|
+
}).m(function(Command, cs, config, o) {
|
|
2533
|
+
return [
|
|
2534
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2535
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2536
|
+
];
|
|
2537
|
+
}).s("CodeStar_connections_20191201", "UpdateHost", {}).n("CodeStarConnectionsClient", "UpdateHostCommand").f(void 0, void 0).ser(se_UpdateHostCommand).de(de_UpdateHostCommand).build() {
|
|
2538
|
+
};
|
|
2539
|
+
__name(_UpdateHostCommand, "UpdateHostCommand");
|
|
2540
|
+
var UpdateHostCommand = _UpdateHostCommand;
|
|
2541
|
+
|
|
2542
|
+
// src/commands/UpdateRepositoryLinkCommand.ts
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
var _UpdateRepositoryLinkCommand = class _UpdateRepositoryLinkCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2548
|
+
...commonParams
|
|
2549
|
+
}).m(function(Command, cs, config, o) {
|
|
2550
|
+
return [
|
|
2551
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2552
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2553
|
+
];
|
|
2554
|
+
}).s("CodeStar_connections_20191201", "UpdateRepositoryLink", {}).n("CodeStarConnectionsClient", "UpdateRepositoryLinkCommand").f(void 0, void 0).ser(se_UpdateRepositoryLinkCommand).de(de_UpdateRepositoryLinkCommand).build() {
|
|
2555
|
+
};
|
|
2556
|
+
__name(_UpdateRepositoryLinkCommand, "UpdateRepositoryLinkCommand");
|
|
2557
|
+
var UpdateRepositoryLinkCommand = _UpdateRepositoryLinkCommand;
|
|
2558
|
+
|
|
2559
|
+
// src/commands/UpdateSyncBlockerCommand.ts
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
var _UpdateSyncBlockerCommand = class _UpdateSyncBlockerCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2565
|
+
...commonParams
|
|
2566
|
+
}).m(function(Command, cs, config, o) {
|
|
2567
|
+
return [
|
|
2568
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2569
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2570
|
+
];
|
|
2571
|
+
}).s("CodeStar_connections_20191201", "UpdateSyncBlocker", {}).n("CodeStarConnectionsClient", "UpdateSyncBlockerCommand").f(void 0, void 0).ser(se_UpdateSyncBlockerCommand).de(de_UpdateSyncBlockerCommand).build() {
|
|
2572
|
+
};
|
|
2573
|
+
__name(_UpdateSyncBlockerCommand, "UpdateSyncBlockerCommand");
|
|
2574
|
+
var UpdateSyncBlockerCommand = _UpdateSyncBlockerCommand;
|
|
2575
|
+
|
|
2576
|
+
// src/commands/UpdateSyncConfigurationCommand.ts
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
var _UpdateSyncConfigurationCommand = class _UpdateSyncConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2582
|
+
...commonParams
|
|
2583
|
+
}).m(function(Command, cs, config, o) {
|
|
2584
|
+
return [
|
|
2585
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2586
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2587
|
+
];
|
|
2588
|
+
}).s("CodeStar_connections_20191201", "UpdateSyncConfiguration", {}).n("CodeStarConnectionsClient", "UpdateSyncConfigurationCommand").f(void 0, void 0).ser(se_UpdateSyncConfigurationCommand).de(de_UpdateSyncConfigurationCommand).build() {
|
|
2589
|
+
};
|
|
2590
|
+
__name(_UpdateSyncConfigurationCommand, "UpdateSyncConfigurationCommand");
|
|
2591
|
+
var UpdateSyncConfigurationCommand = _UpdateSyncConfigurationCommand;
|
|
2592
|
+
|
|
2593
|
+
// src/CodeStarConnections.ts
|
|
2594
|
+
var commands = {
|
|
2595
|
+
CreateConnectionCommand,
|
|
2596
|
+
CreateHostCommand,
|
|
2597
|
+
CreateRepositoryLinkCommand,
|
|
2598
|
+
CreateSyncConfigurationCommand,
|
|
2599
|
+
DeleteConnectionCommand,
|
|
2600
|
+
DeleteHostCommand,
|
|
2601
|
+
DeleteRepositoryLinkCommand,
|
|
2602
|
+
DeleteSyncConfigurationCommand,
|
|
2603
|
+
GetConnectionCommand,
|
|
2604
|
+
GetHostCommand,
|
|
2605
|
+
GetRepositoryLinkCommand,
|
|
2606
|
+
GetRepositorySyncStatusCommand,
|
|
2607
|
+
GetResourceSyncStatusCommand,
|
|
2608
|
+
GetSyncBlockerSummaryCommand,
|
|
2609
|
+
GetSyncConfigurationCommand,
|
|
2610
|
+
ListConnectionsCommand,
|
|
2611
|
+
ListHostsCommand,
|
|
2612
|
+
ListRepositoryLinksCommand,
|
|
2613
|
+
ListRepositorySyncDefinitionsCommand,
|
|
2614
|
+
ListSyncConfigurationsCommand,
|
|
2615
|
+
ListTagsForResourceCommand,
|
|
2616
|
+
TagResourceCommand,
|
|
2617
|
+
UntagResourceCommand,
|
|
2618
|
+
UpdateHostCommand,
|
|
2619
|
+
UpdateRepositoryLinkCommand,
|
|
2620
|
+
UpdateSyncBlockerCommand,
|
|
2621
|
+
UpdateSyncConfigurationCommand
|
|
2622
|
+
};
|
|
2623
|
+
var _CodeStarConnections = class _CodeStarConnections extends CodeStarConnectionsClient {
|
|
2624
|
+
};
|
|
2625
|
+
__name(_CodeStarConnections, "CodeStarConnections");
|
|
2626
|
+
var CodeStarConnections = _CodeStarConnections;
|
|
2627
|
+
(0, import_smithy_client.createAggregatedClient)(commands, CodeStarConnections);
|
|
2628
|
+
|
|
2629
|
+
// src/pagination/ListConnectionsPaginator.ts
|
|
2630
|
+
var import_core = require("@smithy/core");
|
|
2631
|
+
var paginateListConnections = (0, import_core.createPaginator)(CodeStarConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2632
|
+
|
|
2633
|
+
// src/pagination/ListHostsPaginator.ts
|
|
2634
|
+
|
|
2635
|
+
var paginateListHosts = (0, import_core.createPaginator)(CodeStarConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2636
|
+
|
|
2637
|
+
// src/pagination/ListRepositoryLinksPaginator.ts
|
|
2638
|
+
|
|
2639
|
+
var paginateListRepositoryLinks = (0, import_core.createPaginator)(CodeStarConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
|
|
2640
|
+
|
|
2641
|
+
// src/pagination/ListSyncConfigurationsPaginator.ts
|
|
2642
|
+
|
|
2643
|
+
var paginateListSyncConfigurations = (0, import_core.createPaginator)(CodeStarConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2644
|
+
|
|
2645
|
+
// src/index.ts
|
|
2646
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2647
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2648
|
+
0 && (module.exports = {
|
|
2649
|
+
AccessDeniedException,
|
|
2650
|
+
BlockerStatus,
|
|
2651
|
+
BlockerType,
|
|
2652
|
+
CodeStarConnections,
|
|
2653
|
+
CodeStarConnectionsClient,
|
|
2654
|
+
CodeStarConnectionsServiceException,
|
|
2655
|
+
ConcurrentModificationException,
|
|
2656
|
+
ConditionalCheckFailedException,
|
|
2657
|
+
ConflictException,
|
|
2658
|
+
ConnectionStatus,
|
|
2659
|
+
CreateConnectionCommand,
|
|
2660
|
+
CreateHostCommand,
|
|
2661
|
+
CreateRepositoryLinkCommand,
|
|
2662
|
+
CreateSyncConfigurationCommand,
|
|
2663
|
+
DeleteConnectionCommand,
|
|
2664
|
+
DeleteHostCommand,
|
|
2665
|
+
DeleteRepositoryLinkCommand,
|
|
2666
|
+
DeleteSyncConfigurationCommand,
|
|
2667
|
+
GetConnectionCommand,
|
|
2668
|
+
GetHostCommand,
|
|
2669
|
+
GetRepositoryLinkCommand,
|
|
2670
|
+
GetRepositorySyncStatusCommand,
|
|
2671
|
+
GetResourceSyncStatusCommand,
|
|
2672
|
+
GetSyncBlockerSummaryCommand,
|
|
2673
|
+
GetSyncConfigurationCommand,
|
|
2674
|
+
InternalServerException,
|
|
2675
|
+
InvalidInputException,
|
|
2676
|
+
LimitExceededException,
|
|
2677
|
+
ListConnectionsCommand,
|
|
2678
|
+
ListHostsCommand,
|
|
2679
|
+
ListRepositoryLinksCommand,
|
|
2680
|
+
ListRepositorySyncDefinitionsCommand,
|
|
2681
|
+
ListSyncConfigurationsCommand,
|
|
2682
|
+
ListTagsForResourceCommand,
|
|
2683
|
+
ProviderType,
|
|
2684
|
+
RepositorySyncStatus,
|
|
2685
|
+
ResourceAlreadyExistsException,
|
|
2686
|
+
ResourceNotFoundException,
|
|
2687
|
+
ResourceSyncStatus,
|
|
2688
|
+
ResourceUnavailableException,
|
|
2689
|
+
RetryLatestCommitFailedException,
|
|
2690
|
+
SyncBlockerDoesNotExistException,
|
|
2691
|
+
SyncConfigurationStillExistsException,
|
|
2692
|
+
SyncConfigurationType,
|
|
2693
|
+
TagResourceCommand,
|
|
2694
|
+
ThrottlingException,
|
|
2695
|
+
UnsupportedOperationException,
|
|
2696
|
+
UnsupportedProviderTypeException,
|
|
2697
|
+
UntagResourceCommand,
|
|
2698
|
+
UpdateHostCommand,
|
|
2699
|
+
UpdateOutOfSyncException,
|
|
2700
|
+
UpdateRepositoryLinkCommand,
|
|
2701
|
+
UpdateSyncBlockerCommand,
|
|
2702
|
+
UpdateSyncConfigurationCommand,
|
|
2703
|
+
__Client,
|
|
2704
|
+
paginateListConnections,
|
|
2705
|
+
paginateListHosts,
|
|
2706
|
+
paginateListRepositoryLinks,
|
|
2707
|
+
paginateListSyncConfigurations
|
|
2708
|
+
});
|