@aws-sdk/client-codeconnections 3.721.0 → 3.726.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.
@@ -17,6 +17,7 @@ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
17
17
  const runtimeConfig_1 = require("./runtimeConfig");
18
18
  const runtimeExtensions_1 = require("./runtimeExtensions");
19
19
  class CodeConnectionsClient extends smithy_client_1.Client {
20
+ config;
20
21
  constructor(...[configuration]) {
21
22
  const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
22
23
  const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
@@ -3,14 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SyncBlockerDoesNotExistException = exports.RetryLatestCommitFailedException = exports.UpdateOutOfSyncException = exports.ConditionalCheckFailedException = exports.UnsupportedOperationException = exports.ConflictException = exports.ResourceSyncStatus = exports.RepositorySyncStatus = exports.ConnectionStatus = exports.UnsupportedProviderTypeException = exports.SyncConfigurationStillExistsException = exports.TriggerResourceUpdateOn = exports.SyncConfigurationType = exports.PullRequestComment = exports.PublishDeploymentStatus = exports.ThrottlingException = exports.ResourceAlreadyExistsException = exports.InvalidInputException = exports.InternalServerException = exports.ConcurrentModificationException = exports.ResourceUnavailableException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.ProviderType = exports.BlockerType = exports.BlockerStatus = exports.AccessDeniedException = void 0;
4
4
  const CodeConnectionsServiceException_1 = require("./CodeConnectionsServiceException");
5
5
  class AccessDeniedException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
6
9
  constructor(opts) {
7
10
  super({
8
11
  name: "AccessDeniedException",
9
12
  $fault: "client",
10
13
  ...opts,
11
14
  });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
15
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
16
  this.Message = opts.Message;
16
17
  }
@@ -31,112 +32,120 @@ exports.ProviderType = {
31
32
  GITLAB_SELF_MANAGED: "GitLabSelfManaged",
32
33
  };
33
34
  class LimitExceededException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
35
+ name = "LimitExceededException";
36
+ $fault = "client";
37
+ Message;
34
38
  constructor(opts) {
35
39
  super({
36
40
  name: "LimitExceededException",
37
41
  $fault: "client",
38
42
  ...opts,
39
43
  });
40
- this.name = "LimitExceededException";
41
- this.$fault = "client";
42
44
  Object.setPrototypeOf(this, LimitExceededException.prototype);
43
45
  this.Message = opts.Message;
44
46
  }
45
47
  }
46
48
  exports.LimitExceededException = LimitExceededException;
47
49
  class ResourceNotFoundException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
50
+ name = "ResourceNotFoundException";
51
+ $fault = "client";
52
+ Message;
48
53
  constructor(opts) {
49
54
  super({
50
55
  name: "ResourceNotFoundException",
51
56
  $fault: "client",
52
57
  ...opts,
53
58
  });
54
- this.name = "ResourceNotFoundException";
55
- this.$fault = "client";
56
59
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
57
60
  this.Message = opts.Message;
58
61
  }
59
62
  }
60
63
  exports.ResourceNotFoundException = ResourceNotFoundException;
61
64
  class ResourceUnavailableException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
65
+ name = "ResourceUnavailableException";
66
+ $fault = "client";
67
+ Message;
62
68
  constructor(opts) {
63
69
  super({
64
70
  name: "ResourceUnavailableException",
65
71
  $fault: "client",
66
72
  ...opts,
67
73
  });
68
- this.name = "ResourceUnavailableException";
69
- this.$fault = "client";
70
74
  Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
71
75
  this.Message = opts.Message;
72
76
  }
73
77
  }
74
78
  exports.ResourceUnavailableException = ResourceUnavailableException;
75
79
  class ConcurrentModificationException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
80
+ name = "ConcurrentModificationException";
81
+ $fault = "client";
82
+ Message;
76
83
  constructor(opts) {
77
84
  super({
78
85
  name: "ConcurrentModificationException",
79
86
  $fault: "client",
80
87
  ...opts,
81
88
  });
82
- this.name = "ConcurrentModificationException";
83
- this.$fault = "client";
84
89
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
85
90
  this.Message = opts.Message;
86
91
  }
87
92
  }
88
93
  exports.ConcurrentModificationException = ConcurrentModificationException;
89
94
  class InternalServerException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
95
+ name = "InternalServerException";
96
+ $fault = "server";
97
+ Message;
90
98
  constructor(opts) {
91
99
  super({
92
100
  name: "InternalServerException",
93
101
  $fault: "server",
94
102
  ...opts,
95
103
  });
96
- this.name = "InternalServerException";
97
- this.$fault = "server";
98
104
  Object.setPrototypeOf(this, InternalServerException.prototype);
99
105
  this.Message = opts.Message;
100
106
  }
101
107
  }
102
108
  exports.InternalServerException = InternalServerException;
103
109
  class InvalidInputException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
110
+ name = "InvalidInputException";
111
+ $fault = "client";
112
+ Message;
104
113
  constructor(opts) {
105
114
  super({
106
115
  name: "InvalidInputException",
107
116
  $fault: "client",
108
117
  ...opts,
109
118
  });
110
- this.name = "InvalidInputException";
111
- this.$fault = "client";
112
119
  Object.setPrototypeOf(this, InvalidInputException.prototype);
113
120
  this.Message = opts.Message;
114
121
  }
115
122
  }
116
123
  exports.InvalidInputException = InvalidInputException;
117
124
  class ResourceAlreadyExistsException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
125
+ name = "ResourceAlreadyExistsException";
126
+ $fault = "client";
127
+ Message;
118
128
  constructor(opts) {
119
129
  super({
120
130
  name: "ResourceAlreadyExistsException",
121
131
  $fault: "client",
122
132
  ...opts,
123
133
  });
124
- this.name = "ResourceAlreadyExistsException";
125
- this.$fault = "client";
126
134
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
127
135
  this.Message = opts.Message;
128
136
  }
129
137
  }
130
138
  exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
131
139
  class ThrottlingException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
140
+ name = "ThrottlingException";
141
+ $fault = "client";
142
+ Message;
132
143
  constructor(opts) {
133
144
  super({
134
145
  name: "ThrottlingException",
135
146
  $fault: "client",
136
147
  ...opts,
137
148
  });
138
- this.name = "ThrottlingException";
139
- this.$fault = "client";
140
149
  Object.setPrototypeOf(this, ThrottlingException.prototype);
141
150
  this.Message = opts.Message;
142
151
  }
@@ -158,28 +167,30 @@ exports.TriggerResourceUpdateOn = {
158
167
  FILE_CHANGE: "FILE_CHANGE",
159
168
  };
160
169
  class SyncConfigurationStillExistsException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
170
+ name = "SyncConfigurationStillExistsException";
171
+ $fault = "client";
172
+ Message;
161
173
  constructor(opts) {
162
174
  super({
163
175
  name: "SyncConfigurationStillExistsException",
164
176
  $fault: "client",
165
177
  ...opts,
166
178
  });
167
- this.name = "SyncConfigurationStillExistsException";
168
- this.$fault = "client";
169
179
  Object.setPrototypeOf(this, SyncConfigurationStillExistsException.prototype);
170
180
  this.Message = opts.Message;
171
181
  }
172
182
  }
173
183
  exports.SyncConfigurationStillExistsException = SyncConfigurationStillExistsException;
174
184
  class UnsupportedProviderTypeException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
185
+ name = "UnsupportedProviderTypeException";
186
+ $fault = "client";
187
+ Message;
175
188
  constructor(opts) {
176
189
  super({
177
190
  name: "UnsupportedProviderTypeException",
178
191
  $fault: "client",
179
192
  ...opts,
180
193
  });
181
- this.name = "UnsupportedProviderTypeException";
182
- this.$fault = "client";
183
194
  Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
184
195
  this.Message = opts.Message;
185
196
  }
@@ -204,84 +215,90 @@ exports.ResourceSyncStatus = {
204
215
  SUCCEEDED: "SUCCEEDED",
205
216
  };
206
217
  class ConflictException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
218
+ name = "ConflictException";
219
+ $fault = "client";
220
+ Message;
207
221
  constructor(opts) {
208
222
  super({
209
223
  name: "ConflictException",
210
224
  $fault: "client",
211
225
  ...opts,
212
226
  });
213
- this.name = "ConflictException";
214
- this.$fault = "client";
215
227
  Object.setPrototypeOf(this, ConflictException.prototype);
216
228
  this.Message = opts.Message;
217
229
  }
218
230
  }
219
231
  exports.ConflictException = ConflictException;
220
232
  class UnsupportedOperationException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
233
+ name = "UnsupportedOperationException";
234
+ $fault = "client";
235
+ Message;
221
236
  constructor(opts) {
222
237
  super({
223
238
  name: "UnsupportedOperationException",
224
239
  $fault: "client",
225
240
  ...opts,
226
241
  });
227
- this.name = "UnsupportedOperationException";
228
- this.$fault = "client";
229
242
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
230
243
  this.Message = opts.Message;
231
244
  }
232
245
  }
233
246
  exports.UnsupportedOperationException = UnsupportedOperationException;
234
247
  class ConditionalCheckFailedException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
248
+ name = "ConditionalCheckFailedException";
249
+ $fault = "client";
250
+ Message;
235
251
  constructor(opts) {
236
252
  super({
237
253
  name: "ConditionalCheckFailedException",
238
254
  $fault: "client",
239
255
  ...opts,
240
256
  });
241
- this.name = "ConditionalCheckFailedException";
242
- this.$fault = "client";
243
257
  Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
244
258
  this.Message = opts.Message;
245
259
  }
246
260
  }
247
261
  exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
248
262
  class UpdateOutOfSyncException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
263
+ name = "UpdateOutOfSyncException";
264
+ $fault = "client";
265
+ Message;
249
266
  constructor(opts) {
250
267
  super({
251
268
  name: "UpdateOutOfSyncException",
252
269
  $fault: "client",
253
270
  ...opts,
254
271
  });
255
- this.name = "UpdateOutOfSyncException";
256
- this.$fault = "client";
257
272
  Object.setPrototypeOf(this, UpdateOutOfSyncException.prototype);
258
273
  this.Message = opts.Message;
259
274
  }
260
275
  }
261
276
  exports.UpdateOutOfSyncException = UpdateOutOfSyncException;
262
277
  class RetryLatestCommitFailedException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
278
+ name = "RetryLatestCommitFailedException";
279
+ $fault = "server";
280
+ Message;
263
281
  constructor(opts) {
264
282
  super({
265
283
  name: "RetryLatestCommitFailedException",
266
284
  $fault: "server",
267
285
  ...opts,
268
286
  });
269
- this.name = "RetryLatestCommitFailedException";
270
- this.$fault = "server";
271
287
  Object.setPrototypeOf(this, RetryLatestCommitFailedException.prototype);
272
288
  this.Message = opts.Message;
273
289
  }
274
290
  }
275
291
  exports.RetryLatestCommitFailedException = RetryLatestCommitFailedException;
276
292
  class SyncBlockerDoesNotExistException extends CodeConnectionsServiceException_1.CodeConnectionsServiceException {
293
+ name = "SyncBlockerDoesNotExistException";
294
+ $fault = "client";
295
+ Message;
277
296
  constructor(opts) {
278
297
  super({
279
298
  name: "SyncBlockerDoesNotExistException",
280
299
  $fault: "client",
281
300
  ...opts,
282
301
  });
283
- this.name = "SyncBlockerDoesNotExistException";
284
- this.$fault = "client";
285
302
  Object.setPrototypeOf(this, SyncBlockerDoesNotExistException.prototype);
286
303
  this.Message = opts.Message;
287
304
  }
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class CodeConnectionsClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,13 +1,14 @@
1
1
  import { CodeConnectionsServiceException as __BaseException } from "./CodeConnectionsServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
3
6
  constructor(opts) {
4
7
  super({
5
8
  name: "AccessDeniedException",
6
9
  $fault: "client",
7
10
  ...opts,
8
11
  });
9
- this.name = "AccessDeniedException";
10
- this.$fault = "client";
11
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
13
  this.Message = opts.Message;
13
14
  }
@@ -27,105 +28,113 @@ export const ProviderType = {
27
28
  GITLAB_SELF_MANAGED: "GitLabSelfManaged",
28
29
  };
29
30
  export class LimitExceededException extends __BaseException {
31
+ name = "LimitExceededException";
32
+ $fault = "client";
33
+ Message;
30
34
  constructor(opts) {
31
35
  super({
32
36
  name: "LimitExceededException",
33
37
  $fault: "client",
34
38
  ...opts,
35
39
  });
36
- this.name = "LimitExceededException";
37
- this.$fault = "client";
38
40
  Object.setPrototypeOf(this, LimitExceededException.prototype);
39
41
  this.Message = opts.Message;
40
42
  }
41
43
  }
42
44
  export class ResourceNotFoundException extends __BaseException {
45
+ name = "ResourceNotFoundException";
46
+ $fault = "client";
47
+ Message;
43
48
  constructor(opts) {
44
49
  super({
45
50
  name: "ResourceNotFoundException",
46
51
  $fault: "client",
47
52
  ...opts,
48
53
  });
49
- this.name = "ResourceNotFoundException";
50
- this.$fault = "client";
51
54
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
52
55
  this.Message = opts.Message;
53
56
  }
54
57
  }
55
58
  export class ResourceUnavailableException extends __BaseException {
59
+ name = "ResourceUnavailableException";
60
+ $fault = "client";
61
+ Message;
56
62
  constructor(opts) {
57
63
  super({
58
64
  name: "ResourceUnavailableException",
59
65
  $fault: "client",
60
66
  ...opts,
61
67
  });
62
- this.name = "ResourceUnavailableException";
63
- this.$fault = "client";
64
68
  Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
65
69
  this.Message = opts.Message;
66
70
  }
67
71
  }
68
72
  export class ConcurrentModificationException extends __BaseException {
73
+ name = "ConcurrentModificationException";
74
+ $fault = "client";
75
+ Message;
69
76
  constructor(opts) {
70
77
  super({
71
78
  name: "ConcurrentModificationException",
72
79
  $fault: "client",
73
80
  ...opts,
74
81
  });
75
- this.name = "ConcurrentModificationException";
76
- this.$fault = "client";
77
82
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
78
83
  this.Message = opts.Message;
79
84
  }
80
85
  }
81
86
  export class InternalServerException extends __BaseException {
87
+ name = "InternalServerException";
88
+ $fault = "server";
89
+ Message;
82
90
  constructor(opts) {
83
91
  super({
84
92
  name: "InternalServerException",
85
93
  $fault: "server",
86
94
  ...opts,
87
95
  });
88
- this.name = "InternalServerException";
89
- this.$fault = "server";
90
96
  Object.setPrototypeOf(this, InternalServerException.prototype);
91
97
  this.Message = opts.Message;
92
98
  }
93
99
  }
94
100
  export class InvalidInputException extends __BaseException {
101
+ name = "InvalidInputException";
102
+ $fault = "client";
103
+ Message;
95
104
  constructor(opts) {
96
105
  super({
97
106
  name: "InvalidInputException",
98
107
  $fault: "client",
99
108
  ...opts,
100
109
  });
101
- this.name = "InvalidInputException";
102
- this.$fault = "client";
103
110
  Object.setPrototypeOf(this, InvalidInputException.prototype);
104
111
  this.Message = opts.Message;
105
112
  }
106
113
  }
107
114
  export class ResourceAlreadyExistsException extends __BaseException {
115
+ name = "ResourceAlreadyExistsException";
116
+ $fault = "client";
117
+ Message;
108
118
  constructor(opts) {
109
119
  super({
110
120
  name: "ResourceAlreadyExistsException",
111
121
  $fault: "client",
112
122
  ...opts,
113
123
  });
114
- this.name = "ResourceAlreadyExistsException";
115
- this.$fault = "client";
116
124
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
117
125
  this.Message = opts.Message;
118
126
  }
119
127
  }
120
128
  export class ThrottlingException extends __BaseException {
129
+ name = "ThrottlingException";
130
+ $fault = "client";
131
+ Message;
121
132
  constructor(opts) {
122
133
  super({
123
134
  name: "ThrottlingException",
124
135
  $fault: "client",
125
136
  ...opts,
126
137
  });
127
- this.name = "ThrottlingException";
128
- this.$fault = "client";
129
138
  Object.setPrototypeOf(this, ThrottlingException.prototype);
130
139
  this.Message = opts.Message;
131
140
  }
@@ -146,27 +155,29 @@ export const TriggerResourceUpdateOn = {
146
155
  FILE_CHANGE: "FILE_CHANGE",
147
156
  };
148
157
  export class SyncConfigurationStillExistsException extends __BaseException {
158
+ name = "SyncConfigurationStillExistsException";
159
+ $fault = "client";
160
+ Message;
149
161
  constructor(opts) {
150
162
  super({
151
163
  name: "SyncConfigurationStillExistsException",
152
164
  $fault: "client",
153
165
  ...opts,
154
166
  });
155
- this.name = "SyncConfigurationStillExistsException";
156
- this.$fault = "client";
157
167
  Object.setPrototypeOf(this, SyncConfigurationStillExistsException.prototype);
158
168
  this.Message = opts.Message;
159
169
  }
160
170
  }
161
171
  export class UnsupportedProviderTypeException extends __BaseException {
172
+ name = "UnsupportedProviderTypeException";
173
+ $fault = "client";
174
+ Message;
162
175
  constructor(opts) {
163
176
  super({
164
177
  name: "UnsupportedProviderTypeException",
165
178
  $fault: "client",
166
179
  ...opts,
167
180
  });
168
- this.name = "UnsupportedProviderTypeException";
169
- this.$fault = "client";
170
181
  Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
171
182
  this.Message = opts.Message;
172
183
  }
@@ -190,79 +201,85 @@ export const ResourceSyncStatus = {
190
201
  SUCCEEDED: "SUCCEEDED",
191
202
  };
192
203
  export class ConflictException extends __BaseException {
204
+ name = "ConflictException";
205
+ $fault = "client";
206
+ Message;
193
207
  constructor(opts) {
194
208
  super({
195
209
  name: "ConflictException",
196
210
  $fault: "client",
197
211
  ...opts,
198
212
  });
199
- this.name = "ConflictException";
200
- this.$fault = "client";
201
213
  Object.setPrototypeOf(this, ConflictException.prototype);
202
214
  this.Message = opts.Message;
203
215
  }
204
216
  }
205
217
  export class UnsupportedOperationException extends __BaseException {
218
+ name = "UnsupportedOperationException";
219
+ $fault = "client";
220
+ Message;
206
221
  constructor(opts) {
207
222
  super({
208
223
  name: "UnsupportedOperationException",
209
224
  $fault: "client",
210
225
  ...opts,
211
226
  });
212
- this.name = "UnsupportedOperationException";
213
- this.$fault = "client";
214
227
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
215
228
  this.Message = opts.Message;
216
229
  }
217
230
  }
218
231
  export class ConditionalCheckFailedException extends __BaseException {
232
+ name = "ConditionalCheckFailedException";
233
+ $fault = "client";
234
+ Message;
219
235
  constructor(opts) {
220
236
  super({
221
237
  name: "ConditionalCheckFailedException",
222
238
  $fault: "client",
223
239
  ...opts,
224
240
  });
225
- this.name = "ConditionalCheckFailedException";
226
- this.$fault = "client";
227
241
  Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
228
242
  this.Message = opts.Message;
229
243
  }
230
244
  }
231
245
  export class UpdateOutOfSyncException extends __BaseException {
246
+ name = "UpdateOutOfSyncException";
247
+ $fault = "client";
248
+ Message;
232
249
  constructor(opts) {
233
250
  super({
234
251
  name: "UpdateOutOfSyncException",
235
252
  $fault: "client",
236
253
  ...opts,
237
254
  });
238
- this.name = "UpdateOutOfSyncException";
239
- this.$fault = "client";
240
255
  Object.setPrototypeOf(this, UpdateOutOfSyncException.prototype);
241
256
  this.Message = opts.Message;
242
257
  }
243
258
  }
244
259
  export class RetryLatestCommitFailedException extends __BaseException {
260
+ name = "RetryLatestCommitFailedException";
261
+ $fault = "server";
262
+ Message;
245
263
  constructor(opts) {
246
264
  super({
247
265
  name: "RetryLatestCommitFailedException",
248
266
  $fault: "server",
249
267
  ...opts,
250
268
  });
251
- this.name = "RetryLatestCommitFailedException";
252
- this.$fault = "server";
253
269
  Object.setPrototypeOf(this, RetryLatestCommitFailedException.prototype);
254
270
  this.Message = opts.Message;
255
271
  }
256
272
  }
257
273
  export class SyncBlockerDoesNotExistException extends __BaseException {
274
+ name = "SyncBlockerDoesNotExistException";
275
+ $fault = "client";
276
+ Message;
258
277
  constructor(opts) {
259
278
  super({
260
279
  name: "SyncBlockerDoesNotExistException",
261
280
  $fault: "client",
262
281
  ...opts,
263
282
  });
264
- this.name = "SyncBlockerDoesNotExistException";
265
- this.$fault = "client";
266
283
  Object.setPrototypeOf(this, SyncBlockerDoesNotExistException.prototype);
267
284
  this.Message = opts.Message;
268
285
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CodeConnectionsClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CodeConnectionsClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CodeConnectionsClientConfig) =>
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CodeConnectionsClientConfig) =>
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeconnections",
3
3
  "description": "AWS SDK for JavaScript Codeconnections Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {