@aws-sdk/client-oam 3.716.0 → 3.723.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/index.js +161 -95
- package/dist-es/OAMClient.js +1 -0
- package/dist-es/models/models_0.js +28 -16
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -151,7 +151,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
151
151
|
}, "resolveRuntimeExtensions");
|
|
152
152
|
|
|
153
153
|
// src/OAMClient.ts
|
|
154
|
-
var
|
|
154
|
+
var OAMClient = class extends import_smithy_client.Client {
|
|
155
|
+
static {
|
|
156
|
+
__name(this, "OAMClient");
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The resolved configuration of OAMClient class. This is resolved and normalized from the {@link OAMClientConfig | constructor configuration interface}.
|
|
160
|
+
*/
|
|
161
|
+
config;
|
|
155
162
|
constructor(...[configuration]) {
|
|
156
163
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
157
164
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -161,7 +168,7 @@ var _OAMClient = class _OAMClient extends import_smithy_client.Client {
|
|
|
161
168
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
162
169
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
163
170
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
164
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
171
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
165
172
|
super(_config_8);
|
|
166
173
|
this.config = _config_8;
|
|
167
174
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -189,8 +196,6 @@ var _OAMClient = class _OAMClient extends import_smithy_client.Client {
|
|
|
189
196
|
super.destroy();
|
|
190
197
|
}
|
|
191
198
|
};
|
|
192
|
-
__name(_OAMClient, "OAMClient");
|
|
193
|
-
var OAMClient = _OAMClient;
|
|
194
199
|
|
|
195
200
|
// src/OAM.ts
|
|
196
201
|
|
|
@@ -207,7 +212,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
207
212
|
|
|
208
213
|
// src/models/OAMServiceException.ts
|
|
209
214
|
|
|
210
|
-
var
|
|
215
|
+
var OAMServiceException = class _OAMServiceException extends import_smithy_client.ServiceException {
|
|
216
|
+
static {
|
|
217
|
+
__name(this, "OAMServiceException");
|
|
218
|
+
}
|
|
211
219
|
/**
|
|
212
220
|
* @internal
|
|
213
221
|
*/
|
|
@@ -216,11 +224,20 @@ var _OAMServiceException = class _OAMServiceException extends import_smithy_clie
|
|
|
216
224
|
Object.setPrototypeOf(this, _OAMServiceException.prototype);
|
|
217
225
|
}
|
|
218
226
|
};
|
|
219
|
-
__name(_OAMServiceException, "OAMServiceException");
|
|
220
|
-
var OAMServiceException = _OAMServiceException;
|
|
221
227
|
|
|
222
228
|
// src/models/models_0.ts
|
|
223
|
-
var
|
|
229
|
+
var ConflictException = class _ConflictException extends OAMServiceException {
|
|
230
|
+
static {
|
|
231
|
+
__name(this, "ConflictException");
|
|
232
|
+
}
|
|
233
|
+
name = "ConflictException";
|
|
234
|
+
$fault = "client";
|
|
235
|
+
Message;
|
|
236
|
+
/**
|
|
237
|
+
* <p>The name of the exception.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
amznErrorType;
|
|
224
241
|
/**
|
|
225
242
|
* @internal
|
|
226
243
|
*/
|
|
@@ -230,15 +247,11 @@ var _ConflictException = class _ConflictException extends OAMServiceException {
|
|
|
230
247
|
$fault: "client",
|
|
231
248
|
...opts
|
|
232
249
|
});
|
|
233
|
-
this.name = "ConflictException";
|
|
234
|
-
this.$fault = "client";
|
|
235
250
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
236
251
|
this.Message = opts.Message;
|
|
237
252
|
this.amznErrorType = opts.amznErrorType;
|
|
238
253
|
}
|
|
239
254
|
};
|
|
240
|
-
__name(_ConflictException, "ConflictException");
|
|
241
|
-
var ConflictException = _ConflictException;
|
|
242
255
|
var ResourceType = {
|
|
243
256
|
AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
|
|
244
257
|
AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
|
|
@@ -246,7 +259,18 @@ var ResourceType = {
|
|
|
246
259
|
AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
|
|
247
260
|
AWS_XRAY_TRACE: "AWS::XRay::Trace"
|
|
248
261
|
};
|
|
249
|
-
var
|
|
262
|
+
var InternalServiceFault = class _InternalServiceFault extends OAMServiceException {
|
|
263
|
+
static {
|
|
264
|
+
__name(this, "InternalServiceFault");
|
|
265
|
+
}
|
|
266
|
+
name = "InternalServiceFault";
|
|
267
|
+
$fault = "server";
|
|
268
|
+
Message;
|
|
269
|
+
/**
|
|
270
|
+
* <p>The name of the exception.</p>
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
amznErrorType;
|
|
250
274
|
/**
|
|
251
275
|
* @internal
|
|
252
276
|
*/
|
|
@@ -256,16 +280,22 @@ var _InternalServiceFault = class _InternalServiceFault extends OAMServiceExcept
|
|
|
256
280
|
$fault: "server",
|
|
257
281
|
...opts
|
|
258
282
|
});
|
|
259
|
-
this.name = "InternalServiceFault";
|
|
260
|
-
this.$fault = "server";
|
|
261
283
|
Object.setPrototypeOf(this, _InternalServiceFault.prototype);
|
|
262
284
|
this.Message = opts.Message;
|
|
263
285
|
this.amznErrorType = opts.amznErrorType;
|
|
264
286
|
}
|
|
265
287
|
};
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
288
|
+
var InvalidParameterException = class _InvalidParameterException extends OAMServiceException {
|
|
289
|
+
static {
|
|
290
|
+
__name(this, "InvalidParameterException");
|
|
291
|
+
}
|
|
292
|
+
name = "InvalidParameterException";
|
|
293
|
+
$fault = "client";
|
|
294
|
+
/**
|
|
295
|
+
* <p>The name of the exception.</p>
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
amznErrorType;
|
|
269
299
|
/**
|
|
270
300
|
* @internal
|
|
271
301
|
*/
|
|
@@ -275,15 +305,21 @@ var _InvalidParameterException = class _InvalidParameterException extends OAMSer
|
|
|
275
305
|
$fault: "client",
|
|
276
306
|
...opts
|
|
277
307
|
});
|
|
278
|
-
this.name = "InvalidParameterException";
|
|
279
|
-
this.$fault = "client";
|
|
280
308
|
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
281
309
|
this.amznErrorType = opts.amznErrorType;
|
|
282
310
|
}
|
|
283
311
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
312
|
+
var MissingRequiredParameterException = class _MissingRequiredParameterException extends OAMServiceException {
|
|
313
|
+
static {
|
|
314
|
+
__name(this, "MissingRequiredParameterException");
|
|
315
|
+
}
|
|
316
|
+
name = "MissingRequiredParameterException";
|
|
317
|
+
$fault = "client";
|
|
318
|
+
/**
|
|
319
|
+
* <p>The name of the exception.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
amznErrorType;
|
|
287
323
|
/**
|
|
288
324
|
* @internal
|
|
289
325
|
*/
|
|
@@ -293,15 +329,22 @@ var _MissingRequiredParameterException = class _MissingRequiredParameterExceptio
|
|
|
293
329
|
$fault: "client",
|
|
294
330
|
...opts
|
|
295
331
|
});
|
|
296
|
-
this.name = "MissingRequiredParameterException";
|
|
297
|
-
this.$fault = "client";
|
|
298
332
|
Object.setPrototypeOf(this, _MissingRequiredParameterException.prototype);
|
|
299
333
|
this.amznErrorType = opts.amznErrorType;
|
|
300
334
|
}
|
|
301
335
|
};
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
336
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends OAMServiceException {
|
|
337
|
+
static {
|
|
338
|
+
__name(this, "ServiceQuotaExceededException");
|
|
339
|
+
}
|
|
340
|
+
name = "ServiceQuotaExceededException";
|
|
341
|
+
$fault = "client";
|
|
342
|
+
Message;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The name of the exception.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
amznErrorType;
|
|
305
348
|
/**
|
|
306
349
|
* @internal
|
|
307
350
|
*/
|
|
@@ -311,16 +354,23 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
311
354
|
$fault: "client",
|
|
312
355
|
...opts
|
|
313
356
|
});
|
|
314
|
-
this.name = "ServiceQuotaExceededException";
|
|
315
|
-
this.$fault = "client";
|
|
316
357
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
317
358
|
this.Message = opts.Message;
|
|
318
359
|
this.amznErrorType = opts.amznErrorType;
|
|
319
360
|
}
|
|
320
361
|
};
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
362
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends OAMServiceException {
|
|
363
|
+
static {
|
|
364
|
+
__name(this, "ResourceNotFoundException");
|
|
365
|
+
}
|
|
366
|
+
name = "ResourceNotFoundException";
|
|
367
|
+
$fault = "client";
|
|
368
|
+
Message;
|
|
369
|
+
/**
|
|
370
|
+
* <p>The name of the exception.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
amznErrorType;
|
|
324
374
|
/**
|
|
325
375
|
* @internal
|
|
326
376
|
*/
|
|
@@ -330,16 +380,18 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends OAMSer
|
|
|
330
380
|
$fault: "client",
|
|
331
381
|
...opts
|
|
332
382
|
});
|
|
333
|
-
this.name = "ResourceNotFoundException";
|
|
334
|
-
this.$fault = "client";
|
|
335
383
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
336
384
|
this.Message = opts.Message;
|
|
337
385
|
this.amznErrorType = opts.amznErrorType;
|
|
338
386
|
}
|
|
339
387
|
};
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
388
|
+
var ValidationException = class _ValidationException extends OAMServiceException {
|
|
389
|
+
static {
|
|
390
|
+
__name(this, "ValidationException");
|
|
391
|
+
}
|
|
392
|
+
name = "ValidationException";
|
|
393
|
+
$fault = "client";
|
|
394
|
+
Message;
|
|
343
395
|
/**
|
|
344
396
|
* @internal
|
|
345
397
|
*/
|
|
@@ -349,15 +401,17 @@ var _ValidationException = class _ValidationException extends OAMServiceExceptio
|
|
|
349
401
|
$fault: "client",
|
|
350
402
|
...opts
|
|
351
403
|
});
|
|
352
|
-
this.name = "ValidationException";
|
|
353
|
-
this.$fault = "client";
|
|
354
404
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
355
405
|
this.Message = opts.Message;
|
|
356
406
|
}
|
|
357
407
|
};
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
408
|
+
var TooManyTagsException = class _TooManyTagsException extends OAMServiceException {
|
|
409
|
+
static {
|
|
410
|
+
__name(this, "TooManyTagsException");
|
|
411
|
+
}
|
|
412
|
+
name = "TooManyTagsException";
|
|
413
|
+
$fault = "client";
|
|
414
|
+
Message;
|
|
361
415
|
/**
|
|
362
416
|
* @internal
|
|
363
417
|
*/
|
|
@@ -367,14 +421,10 @@ var _TooManyTagsException = class _TooManyTagsException extends OAMServiceExcept
|
|
|
367
421
|
$fault: "client",
|
|
368
422
|
...opts
|
|
369
423
|
});
|
|
370
|
-
this.name = "TooManyTagsException";
|
|
371
|
-
this.$fault = "client";
|
|
372
424
|
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
373
425
|
this.Message = opts.Message;
|
|
374
426
|
}
|
|
375
427
|
};
|
|
376
|
-
__name(_TooManyTagsException, "TooManyTagsException");
|
|
377
|
-
var TooManyTagsException = _TooManyTagsException;
|
|
378
428
|
|
|
379
429
|
// src/protocols/Aws_restJson1.ts
|
|
380
430
|
var se_CreateLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1003,211 +1053,226 @@ var _tK = "tagKeys";
|
|
|
1003
1053
|
var _xae = "x-amzn-errortype";
|
|
1004
1054
|
|
|
1005
1055
|
// src/commands/CreateLinkCommand.ts
|
|
1006
|
-
var
|
|
1056
|
+
var CreateLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1007
1057
|
return [
|
|
1008
1058
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1009
1059
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1010
1060
|
];
|
|
1011
1061
|
}).s("oamservice", "CreateLink", {}).n("OAMClient", "CreateLinkCommand").f(void 0, void 0).ser(se_CreateLinkCommand).de(de_CreateLinkCommand).build() {
|
|
1062
|
+
static {
|
|
1063
|
+
__name(this, "CreateLinkCommand");
|
|
1064
|
+
}
|
|
1012
1065
|
};
|
|
1013
|
-
__name(_CreateLinkCommand, "CreateLinkCommand");
|
|
1014
|
-
var CreateLinkCommand = _CreateLinkCommand;
|
|
1015
1066
|
|
|
1016
1067
|
// src/commands/CreateSinkCommand.ts
|
|
1017
1068
|
|
|
1018
1069
|
|
|
1019
1070
|
|
|
1020
|
-
var
|
|
1071
|
+
var CreateSinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1021
1072
|
return [
|
|
1022
1073
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1023
1074
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1024
1075
|
];
|
|
1025
1076
|
}).s("oamservice", "CreateSink", {}).n("OAMClient", "CreateSinkCommand").f(void 0, void 0).ser(se_CreateSinkCommand).de(de_CreateSinkCommand).build() {
|
|
1077
|
+
static {
|
|
1078
|
+
__name(this, "CreateSinkCommand");
|
|
1079
|
+
}
|
|
1026
1080
|
};
|
|
1027
|
-
__name(_CreateSinkCommand, "CreateSinkCommand");
|
|
1028
|
-
var CreateSinkCommand = _CreateSinkCommand;
|
|
1029
1081
|
|
|
1030
1082
|
// src/commands/DeleteLinkCommand.ts
|
|
1031
1083
|
|
|
1032
1084
|
|
|
1033
1085
|
|
|
1034
|
-
var
|
|
1086
|
+
var DeleteLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1035
1087
|
return [
|
|
1036
1088
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1037
1089
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1038
1090
|
];
|
|
1039
1091
|
}).s("oamservice", "DeleteLink", {}).n("OAMClient", "DeleteLinkCommand").f(void 0, void 0).ser(se_DeleteLinkCommand).de(de_DeleteLinkCommand).build() {
|
|
1092
|
+
static {
|
|
1093
|
+
__name(this, "DeleteLinkCommand");
|
|
1094
|
+
}
|
|
1040
1095
|
};
|
|
1041
|
-
__name(_DeleteLinkCommand, "DeleteLinkCommand");
|
|
1042
|
-
var DeleteLinkCommand = _DeleteLinkCommand;
|
|
1043
1096
|
|
|
1044
1097
|
// src/commands/DeleteSinkCommand.ts
|
|
1045
1098
|
|
|
1046
1099
|
|
|
1047
1100
|
|
|
1048
|
-
var
|
|
1101
|
+
var DeleteSinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1049
1102
|
return [
|
|
1050
1103
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1051
1104
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1052
1105
|
];
|
|
1053
1106
|
}).s("oamservice", "DeleteSink", {}).n("OAMClient", "DeleteSinkCommand").f(void 0, void 0).ser(se_DeleteSinkCommand).de(de_DeleteSinkCommand).build() {
|
|
1107
|
+
static {
|
|
1108
|
+
__name(this, "DeleteSinkCommand");
|
|
1109
|
+
}
|
|
1054
1110
|
};
|
|
1055
|
-
__name(_DeleteSinkCommand, "DeleteSinkCommand");
|
|
1056
|
-
var DeleteSinkCommand = _DeleteSinkCommand;
|
|
1057
1111
|
|
|
1058
1112
|
// src/commands/GetLinkCommand.ts
|
|
1059
1113
|
|
|
1060
1114
|
|
|
1061
1115
|
|
|
1062
|
-
var
|
|
1116
|
+
var GetLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1063
1117
|
return [
|
|
1064
1118
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1065
1119
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1066
1120
|
];
|
|
1067
1121
|
}).s("oamservice", "GetLink", {}).n("OAMClient", "GetLinkCommand").f(void 0, void 0).ser(se_GetLinkCommand).de(de_GetLinkCommand).build() {
|
|
1122
|
+
static {
|
|
1123
|
+
__name(this, "GetLinkCommand");
|
|
1124
|
+
}
|
|
1068
1125
|
};
|
|
1069
|
-
__name(_GetLinkCommand, "GetLinkCommand");
|
|
1070
|
-
var GetLinkCommand = _GetLinkCommand;
|
|
1071
1126
|
|
|
1072
1127
|
// src/commands/GetSinkCommand.ts
|
|
1073
1128
|
|
|
1074
1129
|
|
|
1075
1130
|
|
|
1076
|
-
var
|
|
1131
|
+
var GetSinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1077
1132
|
return [
|
|
1078
1133
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1079
1134
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1080
1135
|
];
|
|
1081
1136
|
}).s("oamservice", "GetSink", {}).n("OAMClient", "GetSinkCommand").f(void 0, void 0).ser(se_GetSinkCommand).de(de_GetSinkCommand).build() {
|
|
1137
|
+
static {
|
|
1138
|
+
__name(this, "GetSinkCommand");
|
|
1139
|
+
}
|
|
1082
1140
|
};
|
|
1083
|
-
__name(_GetSinkCommand, "GetSinkCommand");
|
|
1084
|
-
var GetSinkCommand = _GetSinkCommand;
|
|
1085
1141
|
|
|
1086
1142
|
// src/commands/GetSinkPolicyCommand.ts
|
|
1087
1143
|
|
|
1088
1144
|
|
|
1089
1145
|
|
|
1090
|
-
var
|
|
1146
|
+
var GetSinkPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1091
1147
|
return [
|
|
1092
1148
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1093
1149
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1094
1150
|
];
|
|
1095
1151
|
}).s("oamservice", "GetSinkPolicy", {}).n("OAMClient", "GetSinkPolicyCommand").f(void 0, void 0).ser(se_GetSinkPolicyCommand).de(de_GetSinkPolicyCommand).build() {
|
|
1152
|
+
static {
|
|
1153
|
+
__name(this, "GetSinkPolicyCommand");
|
|
1154
|
+
}
|
|
1096
1155
|
};
|
|
1097
|
-
__name(_GetSinkPolicyCommand, "GetSinkPolicyCommand");
|
|
1098
|
-
var GetSinkPolicyCommand = _GetSinkPolicyCommand;
|
|
1099
1156
|
|
|
1100
1157
|
// src/commands/ListAttachedLinksCommand.ts
|
|
1101
1158
|
|
|
1102
1159
|
|
|
1103
1160
|
|
|
1104
|
-
var
|
|
1161
|
+
var ListAttachedLinksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1105
1162
|
return [
|
|
1106
1163
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1107
1164
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1108
1165
|
];
|
|
1109
1166
|
}).s("oamservice", "ListAttachedLinks", {}).n("OAMClient", "ListAttachedLinksCommand").f(void 0, void 0).ser(se_ListAttachedLinksCommand).de(de_ListAttachedLinksCommand).build() {
|
|
1167
|
+
static {
|
|
1168
|
+
__name(this, "ListAttachedLinksCommand");
|
|
1169
|
+
}
|
|
1110
1170
|
};
|
|
1111
|
-
__name(_ListAttachedLinksCommand, "ListAttachedLinksCommand");
|
|
1112
|
-
var ListAttachedLinksCommand = _ListAttachedLinksCommand;
|
|
1113
1171
|
|
|
1114
1172
|
// src/commands/ListLinksCommand.ts
|
|
1115
1173
|
|
|
1116
1174
|
|
|
1117
1175
|
|
|
1118
|
-
var
|
|
1176
|
+
var ListLinksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1119
1177
|
return [
|
|
1120
1178
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1121
1179
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1122
1180
|
];
|
|
1123
1181
|
}).s("oamservice", "ListLinks", {}).n("OAMClient", "ListLinksCommand").f(void 0, void 0).ser(se_ListLinksCommand).de(de_ListLinksCommand).build() {
|
|
1182
|
+
static {
|
|
1183
|
+
__name(this, "ListLinksCommand");
|
|
1184
|
+
}
|
|
1124
1185
|
};
|
|
1125
|
-
__name(_ListLinksCommand, "ListLinksCommand");
|
|
1126
|
-
var ListLinksCommand = _ListLinksCommand;
|
|
1127
1186
|
|
|
1128
1187
|
// src/commands/ListSinksCommand.ts
|
|
1129
1188
|
|
|
1130
1189
|
|
|
1131
1190
|
|
|
1132
|
-
var
|
|
1191
|
+
var ListSinksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1133
1192
|
return [
|
|
1134
1193
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1135
1194
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1136
1195
|
];
|
|
1137
1196
|
}).s("oamservice", "ListSinks", {}).n("OAMClient", "ListSinksCommand").f(void 0, void 0).ser(se_ListSinksCommand).de(de_ListSinksCommand).build() {
|
|
1197
|
+
static {
|
|
1198
|
+
__name(this, "ListSinksCommand");
|
|
1199
|
+
}
|
|
1138
1200
|
};
|
|
1139
|
-
__name(_ListSinksCommand, "ListSinksCommand");
|
|
1140
|
-
var ListSinksCommand = _ListSinksCommand;
|
|
1141
1201
|
|
|
1142
1202
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1143
1203
|
|
|
1144
1204
|
|
|
1145
1205
|
|
|
1146
|
-
var
|
|
1206
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1147
1207
|
return [
|
|
1148
1208
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1149
1209
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1150
1210
|
];
|
|
1151
1211
|
}).s("oamservice", "ListTagsForResource", {}).n("OAMClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1212
|
+
static {
|
|
1213
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1214
|
+
}
|
|
1152
1215
|
};
|
|
1153
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1154
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1155
1216
|
|
|
1156
1217
|
// src/commands/PutSinkPolicyCommand.ts
|
|
1157
1218
|
|
|
1158
1219
|
|
|
1159
1220
|
|
|
1160
|
-
var
|
|
1221
|
+
var PutSinkPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1161
1222
|
return [
|
|
1162
1223
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1163
1224
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1164
1225
|
];
|
|
1165
1226
|
}).s("oamservice", "PutSinkPolicy", {}).n("OAMClient", "PutSinkPolicyCommand").f(void 0, void 0).ser(se_PutSinkPolicyCommand).de(de_PutSinkPolicyCommand).build() {
|
|
1227
|
+
static {
|
|
1228
|
+
__name(this, "PutSinkPolicyCommand");
|
|
1229
|
+
}
|
|
1166
1230
|
};
|
|
1167
|
-
__name(_PutSinkPolicyCommand, "PutSinkPolicyCommand");
|
|
1168
|
-
var PutSinkPolicyCommand = _PutSinkPolicyCommand;
|
|
1169
1231
|
|
|
1170
1232
|
// src/commands/TagResourceCommand.ts
|
|
1171
1233
|
|
|
1172
1234
|
|
|
1173
1235
|
|
|
1174
|
-
var
|
|
1236
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1175
1237
|
return [
|
|
1176
1238
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1177
1239
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1178
1240
|
];
|
|
1179
1241
|
}).s("oamservice", "TagResource", {}).n("OAMClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1242
|
+
static {
|
|
1243
|
+
__name(this, "TagResourceCommand");
|
|
1244
|
+
}
|
|
1180
1245
|
};
|
|
1181
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1182
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1183
1246
|
|
|
1184
1247
|
// src/commands/UntagResourceCommand.ts
|
|
1185
1248
|
|
|
1186
1249
|
|
|
1187
1250
|
|
|
1188
|
-
var
|
|
1251
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1189
1252
|
return [
|
|
1190
1253
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1191
1254
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1192
1255
|
];
|
|
1193
1256
|
}).s("oamservice", "UntagResource", {}).n("OAMClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1257
|
+
static {
|
|
1258
|
+
__name(this, "UntagResourceCommand");
|
|
1259
|
+
}
|
|
1194
1260
|
};
|
|
1195
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1196
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1197
1261
|
|
|
1198
1262
|
// src/commands/UpdateLinkCommand.ts
|
|
1199
1263
|
|
|
1200
1264
|
|
|
1201
1265
|
|
|
1202
|
-
var
|
|
1266
|
+
var UpdateLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1203
1267
|
return [
|
|
1204
1268
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1205
1269
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1206
1270
|
];
|
|
1207
1271
|
}).s("oamservice", "UpdateLink", {}).n("OAMClient", "UpdateLinkCommand").f(void 0, void 0).ser(se_UpdateLinkCommand).de(de_UpdateLinkCommand).build() {
|
|
1272
|
+
static {
|
|
1273
|
+
__name(this, "UpdateLinkCommand");
|
|
1274
|
+
}
|
|
1208
1275
|
};
|
|
1209
|
-
__name(_UpdateLinkCommand, "UpdateLinkCommand");
|
|
1210
|
-
var UpdateLinkCommand = _UpdateLinkCommand;
|
|
1211
1276
|
|
|
1212
1277
|
// src/OAM.ts
|
|
1213
1278
|
var commands = {
|
|
@@ -1227,10 +1292,11 @@ var commands = {
|
|
|
1227
1292
|
UntagResourceCommand,
|
|
1228
1293
|
UpdateLinkCommand
|
|
1229
1294
|
};
|
|
1230
|
-
var
|
|
1295
|
+
var OAM = class extends OAMClient {
|
|
1296
|
+
static {
|
|
1297
|
+
__name(this, "OAM");
|
|
1298
|
+
}
|
|
1231
1299
|
};
|
|
1232
|
-
__name(_OAM, "OAM");
|
|
1233
|
-
var OAM = _OAM;
|
|
1234
1300
|
(0, import_smithy_client.createAggregatedClient)(commands, OAM);
|
|
1235
1301
|
|
|
1236
1302
|
// src/pagination/ListAttachedLinksPaginator.ts
|
package/dist-es/OAMClient.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class OAMClient 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,15 @@
|
|
|
1
1
|
import { OAMServiceException as __BaseException } from "./OAMServiceException";
|
|
2
2
|
export class ConflictException extends __BaseException {
|
|
3
|
+
name = "ConflictException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
amznErrorType;
|
|
3
7
|
constructor(opts) {
|
|
4
8
|
super({
|
|
5
9
|
name: "ConflictException",
|
|
6
10
|
$fault: "client",
|
|
7
11
|
...opts,
|
|
8
12
|
});
|
|
9
|
-
this.name = "ConflictException";
|
|
10
|
-
this.$fault = "client";
|
|
11
13
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
12
14
|
this.Message = opts.Message;
|
|
13
15
|
this.amznErrorType = opts.amznErrorType;
|
|
@@ -21,95 +23,105 @@ export const ResourceType = {
|
|
|
21
23
|
AWS_XRAY_TRACE: "AWS::XRay::Trace",
|
|
22
24
|
};
|
|
23
25
|
export class InternalServiceFault extends __BaseException {
|
|
26
|
+
name = "InternalServiceFault";
|
|
27
|
+
$fault = "server";
|
|
28
|
+
Message;
|
|
29
|
+
amznErrorType;
|
|
24
30
|
constructor(opts) {
|
|
25
31
|
super({
|
|
26
32
|
name: "InternalServiceFault",
|
|
27
33
|
$fault: "server",
|
|
28
34
|
...opts,
|
|
29
35
|
});
|
|
30
|
-
this.name = "InternalServiceFault";
|
|
31
|
-
this.$fault = "server";
|
|
32
36
|
Object.setPrototypeOf(this, InternalServiceFault.prototype);
|
|
33
37
|
this.Message = opts.Message;
|
|
34
38
|
this.amznErrorType = opts.amznErrorType;
|
|
35
39
|
}
|
|
36
40
|
}
|
|
37
41
|
export class InvalidParameterException extends __BaseException {
|
|
42
|
+
name = "InvalidParameterException";
|
|
43
|
+
$fault = "client";
|
|
44
|
+
amznErrorType;
|
|
38
45
|
constructor(opts) {
|
|
39
46
|
super({
|
|
40
47
|
name: "InvalidParameterException",
|
|
41
48
|
$fault: "client",
|
|
42
49
|
...opts,
|
|
43
50
|
});
|
|
44
|
-
this.name = "InvalidParameterException";
|
|
45
|
-
this.$fault = "client";
|
|
46
51
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
47
52
|
this.amznErrorType = opts.amznErrorType;
|
|
48
53
|
}
|
|
49
54
|
}
|
|
50
55
|
export class MissingRequiredParameterException extends __BaseException {
|
|
56
|
+
name = "MissingRequiredParameterException";
|
|
57
|
+
$fault = "client";
|
|
58
|
+
amznErrorType;
|
|
51
59
|
constructor(opts) {
|
|
52
60
|
super({
|
|
53
61
|
name: "MissingRequiredParameterException",
|
|
54
62
|
$fault: "client",
|
|
55
63
|
...opts,
|
|
56
64
|
});
|
|
57
|
-
this.name = "MissingRequiredParameterException";
|
|
58
|
-
this.$fault = "client";
|
|
59
65
|
Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
|
|
60
66
|
this.amznErrorType = opts.amznErrorType;
|
|
61
67
|
}
|
|
62
68
|
}
|
|
63
69
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
70
|
+
name = "ServiceQuotaExceededException";
|
|
71
|
+
$fault = "client";
|
|
72
|
+
Message;
|
|
73
|
+
amznErrorType;
|
|
64
74
|
constructor(opts) {
|
|
65
75
|
super({
|
|
66
76
|
name: "ServiceQuotaExceededException",
|
|
67
77
|
$fault: "client",
|
|
68
78
|
...opts,
|
|
69
79
|
});
|
|
70
|
-
this.name = "ServiceQuotaExceededException";
|
|
71
|
-
this.$fault = "client";
|
|
72
80
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
73
81
|
this.Message = opts.Message;
|
|
74
82
|
this.amznErrorType = opts.amznErrorType;
|
|
75
83
|
}
|
|
76
84
|
}
|
|
77
85
|
export class ResourceNotFoundException extends __BaseException {
|
|
86
|
+
name = "ResourceNotFoundException";
|
|
87
|
+
$fault = "client";
|
|
88
|
+
Message;
|
|
89
|
+
amznErrorType;
|
|
78
90
|
constructor(opts) {
|
|
79
91
|
super({
|
|
80
92
|
name: "ResourceNotFoundException",
|
|
81
93
|
$fault: "client",
|
|
82
94
|
...opts,
|
|
83
95
|
});
|
|
84
|
-
this.name = "ResourceNotFoundException";
|
|
85
|
-
this.$fault = "client";
|
|
86
96
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
87
97
|
this.Message = opts.Message;
|
|
88
98
|
this.amznErrorType = opts.amznErrorType;
|
|
89
99
|
}
|
|
90
100
|
}
|
|
91
101
|
export class ValidationException extends __BaseException {
|
|
102
|
+
name = "ValidationException";
|
|
103
|
+
$fault = "client";
|
|
104
|
+
Message;
|
|
92
105
|
constructor(opts) {
|
|
93
106
|
super({
|
|
94
107
|
name: "ValidationException",
|
|
95
108
|
$fault: "client",
|
|
96
109
|
...opts,
|
|
97
110
|
});
|
|
98
|
-
this.name = "ValidationException";
|
|
99
|
-
this.$fault = "client";
|
|
100
111
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
101
112
|
this.Message = opts.Message;
|
|
102
113
|
}
|
|
103
114
|
}
|
|
104
115
|
export class TooManyTagsException extends __BaseException {
|
|
116
|
+
name = "TooManyTagsException";
|
|
117
|
+
$fault = "client";
|
|
118
|
+
Message;
|
|
105
119
|
constructor(opts) {
|
|
106
120
|
super({
|
|
107
121
|
name: "TooManyTagsException",
|
|
108
122
|
$fault: "client",
|
|
109
123
|
...opts,
|
|
110
124
|
});
|
|
111
|
-
this.name = "TooManyTagsException";
|
|
112
|
-
this.$fault = "client";
|
|
113
125
|
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
114
126
|
this.Message = opts.Message;
|
|
115
127
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
|
|
|
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: OAMClientConfig) => {
|
|
|
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: OAMClientConfig) => {
|
|
|
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: OAMClientConfig) => {
|
|
|
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;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: OAMClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-oam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-oam",
|
|
@@ -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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.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.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.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/
|
|
65
|
-
"@types/node": "^
|
|
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": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|