@aws-sdk/client-codeconnections 3.987.0 → 3.988.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CodeConnectionsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class CodeConnectionsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, CodeConnectionsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.CodeConnectionsServiceException = CodeConnectionsServiceException;
@@ -0,0 +1,259 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SyncBlockerDoesNotExistException = exports.RetryLatestCommitFailedException = exports.UpdateOutOfSyncException = exports.ConditionalCheckFailedException = exports.UnsupportedOperationException = exports.ConflictException = exports.UnsupportedProviderTypeException = exports.SyncConfigurationStillExistsException = exports.ThrottlingException = exports.ResourceAlreadyExistsException = exports.InvalidInputException = exports.InternalServerException = exports.ConcurrentModificationException = exports.ResourceUnavailableException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.AccessDeniedException = void 0;
4
+ const CodeConnectionsServiceException_1 = require("./CodeConnectionsServiceException");
5
+ class AccessDeniedException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class LimitExceededException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
21
+ name = "LimitExceededException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "LimitExceededException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.LimitExceededException = LimitExceededException;
35
+ class ResourceNotFoundException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
36
+ name = "ResourceNotFoundException";
37
+ $fault = "client";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "ResourceNotFoundException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.ResourceNotFoundException = ResourceNotFoundException;
50
+ class ResourceUnavailableException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
51
+ name = "ResourceUnavailableException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "ResourceUnavailableException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.ResourceUnavailableException = ResourceUnavailableException;
65
+ class ConcurrentModificationException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
66
+ name = "ConcurrentModificationException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "ConcurrentModificationException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.ConcurrentModificationException = ConcurrentModificationException;
80
+ class InternalServerException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
81
+ name = "InternalServerException";
82
+ $fault = "server";
83
+ Message;
84
+ constructor(opts) {
85
+ super({
86
+ name: "InternalServerException",
87
+ $fault: "server",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, InternalServerException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.InternalServerException = InternalServerException;
95
+ class InvalidInputException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
96
+ name = "InvalidInputException";
97
+ $fault = "client";
98
+ Message;
99
+ constructor(opts) {
100
+ super({
101
+ name: "InvalidInputException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
106
+ this.Message = opts.Message;
107
+ }
108
+ }
109
+ exports.InvalidInputException = InvalidInputException;
110
+ class ResourceAlreadyExistsException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
111
+ name = "ResourceAlreadyExistsException";
112
+ $fault = "client";
113
+ Message;
114
+ constructor(opts) {
115
+ super({
116
+ name: "ResourceAlreadyExistsException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
121
+ this.Message = opts.Message;
122
+ }
123
+ }
124
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
125
+ class ThrottlingException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
126
+ name = "ThrottlingException";
127
+ $fault = "client";
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "ThrottlingException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
136
+ this.Message = opts.Message;
137
+ }
138
+ }
139
+ exports.ThrottlingException = ThrottlingException;
140
+ class SyncConfigurationStillExistsException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
141
+ name = "SyncConfigurationStillExistsException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "SyncConfigurationStillExistsException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, SyncConfigurationStillExistsException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.SyncConfigurationStillExistsException = SyncConfigurationStillExistsException;
155
+ class UnsupportedProviderTypeException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
156
+ name = "UnsupportedProviderTypeException";
157
+ $fault = "client";
158
+ Message;
159
+ constructor(opts) {
160
+ super({
161
+ name: "UnsupportedProviderTypeException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
166
+ this.Message = opts.Message;
167
+ }
168
+ }
169
+ exports.UnsupportedProviderTypeException = UnsupportedProviderTypeException;
170
+ class ConflictException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
171
+ name = "ConflictException";
172
+ $fault = "client";
173
+ Message;
174
+ constructor(opts) {
175
+ super({
176
+ name: "ConflictException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, ConflictException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ exports.ConflictException = ConflictException;
185
+ class UnsupportedOperationException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
186
+ name = "UnsupportedOperationException";
187
+ $fault = "client";
188
+ Message;
189
+ constructor(opts) {
190
+ super({
191
+ name: "UnsupportedOperationException",
192
+ $fault: "client",
193
+ ...opts,
194
+ });
195
+ Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
196
+ this.Message = opts.Message;
197
+ }
198
+ }
199
+ exports.UnsupportedOperationException = UnsupportedOperationException;
200
+ class ConditionalCheckFailedException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
201
+ name = "ConditionalCheckFailedException";
202
+ $fault = "client";
203
+ Message;
204
+ constructor(opts) {
205
+ super({
206
+ name: "ConditionalCheckFailedException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
211
+ this.Message = opts.Message;
212
+ }
213
+ }
214
+ exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
215
+ class UpdateOutOfSyncException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
216
+ name = "UpdateOutOfSyncException";
217
+ $fault = "client";
218
+ Message;
219
+ constructor(opts) {
220
+ super({
221
+ name: "UpdateOutOfSyncException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, UpdateOutOfSyncException.prototype);
226
+ this.Message = opts.Message;
227
+ }
228
+ }
229
+ exports.UpdateOutOfSyncException = UpdateOutOfSyncException;
230
+ class RetryLatestCommitFailedException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
231
+ name = "RetryLatestCommitFailedException";
232
+ $fault = "server";
233
+ Message;
234
+ constructor(opts) {
235
+ super({
236
+ name: "RetryLatestCommitFailedException",
237
+ $fault: "server",
238
+ ...opts,
239
+ });
240
+ Object.setPrototypeOf(this, RetryLatestCommitFailedException.prototype);
241
+ this.Message = opts.Message;
242
+ }
243
+ }
244
+ exports.RetryLatestCommitFailedException = RetryLatestCommitFailedException;
245
+ class SyncBlockerDoesNotExistException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
246
+ name = "SyncBlockerDoesNotExistException";
247
+ $fault = "client";
248
+ Message;
249
+ constructor(opts) {
250
+ super({
251
+ name: "SyncBlockerDoesNotExistException",
252
+ $fault: "client",
253
+ ...opts,
254
+ });
255
+ Object.setPrototypeOf(this, SyncBlockerDoesNotExistException.prototype);
256
+ this.Message = opts.Message;
257
+ }
258
+ }
259
+ exports.SyncBlockerDoesNotExistException = SyncBlockerDoesNotExistException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2023-12-01",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.codeconnections",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2023-12-01",
33
35
  serviceTarget: "CodeConnections_20231201",
34
36
  },