@aws-sdk/types 3.496.0 → 3.511.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
CHANGED
|
@@ -290,177 +290,9 @@ var HostAddressType = /* @__PURE__ */ ((HostAddressType2) => {
|
|
|
290
290
|
// Annotate the CommonJS export names for ESM import in node:
|
|
291
291
|
|
|
292
292
|
0 && (module.exports = {
|
|
293
|
-
AbortController,
|
|
294
|
-
AbortHandler,
|
|
295
|
-
AbortSignal,
|
|
296
|
-
AbsoluteLocation,
|
|
297
|
-
AuthScheme,
|
|
298
|
-
AvailableMessage,
|
|
299
|
-
AvailableMessages,
|
|
300
|
-
AwsCredentialIdentity,
|
|
301
|
-
AwsCredentialIdentityProvider,
|
|
302
|
-
BinaryHeaderValue,
|
|
303
|
-
BlobTypes,
|
|
304
|
-
BodyLengthCalculator,
|
|
305
|
-
BooleanHeaderValue,
|
|
306
|
-
BuildHandler,
|
|
307
|
-
BuildHandlerArguments,
|
|
308
|
-
BuildHandlerOptions,
|
|
309
|
-
BuildHandlerOutput,
|
|
310
|
-
BuildMiddleware,
|
|
311
|
-
ByteHeaderValue,
|
|
312
|
-
Checksum,
|
|
313
|
-
ChecksumConstructor,
|
|
314
|
-
Client,
|
|
315
|
-
Command,
|
|
316
|
-
ConnectConfiguration,
|
|
317
|
-
ConnectionManager,
|
|
318
|
-
ConnectionManagerConfiguration,
|
|
319
|
-
ConnectionPool,
|
|
320
|
-
DateInput,
|
|
321
|
-
Decoder,
|
|
322
|
-
DeserializeHandler,
|
|
323
|
-
DeserializeHandlerArguments,
|
|
324
|
-
DeserializeHandlerOptions,
|
|
325
|
-
DeserializeHandlerOutput,
|
|
326
|
-
DeserializeMiddleware,
|
|
327
|
-
DocumentType,
|
|
328
|
-
Encoder,
|
|
329
|
-
Endpoint,
|
|
330
|
-
EndpointARN,
|
|
331
|
-
EndpointBearer,
|
|
332
|
-
EndpointObjectProperty,
|
|
333
|
-
EndpointParameters,
|
|
334
|
-
EndpointPartition,
|
|
335
|
-
EndpointURL,
|
|
336
|
-
EndpointURLScheme,
|
|
337
|
-
EndpointV2,
|
|
338
|
-
EventSigner,
|
|
339
|
-
EventSigningArguments,
|
|
340
|
-
EventStreamMarshaller,
|
|
341
|
-
EventStreamMarshallerDeserFn,
|
|
342
|
-
EventStreamMarshallerSerFn,
|
|
343
|
-
EventStreamPayloadHandler,
|
|
344
|
-
EventStreamPayloadHandlerProvider,
|
|
345
|
-
EventStreamRequestSigner,
|
|
346
|
-
EventStreamSerdeContext,
|
|
347
|
-
EventStreamSerdeProvider,
|
|
348
|
-
EventStreamSignerProvider,
|
|
349
|
-
ExponentialBackoffJitterType,
|
|
350
|
-
ExponentialBackoffStrategyOptions,
|
|
351
|
-
FinalizeHandler,
|
|
352
|
-
FinalizeHandlerArguments,
|
|
353
|
-
FinalizeHandlerOutput,
|
|
354
|
-
FinalizeRequestHandlerOptions,
|
|
355
|
-
FinalizeRequestMiddleware,
|
|
356
|
-
FormattedEvent,
|
|
357
|
-
GetAwsChunkedEncodingStream,
|
|
358
|
-
GetAwsChunkedEncodingStreamOptions,
|
|
359
|
-
Handler,
|
|
360
|
-
HandlerExecutionContext,
|
|
361
|
-
HandlerOptions,
|
|
362
|
-
Hash,
|
|
363
|
-
HashConstructor,
|
|
364
|
-
HeaderBag,
|
|
365
|
-
HostAddressType,
|
|
366
|
-
HttpAuthDefinition,
|
|
367
293
|
HttpAuthLocation,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
HttpResponse,
|
|
372
|
-
Identity,
|
|
373
|
-
IdentityProvider,
|
|
374
|
-
IniSection,
|
|
375
|
-
InitializeHandler,
|
|
376
|
-
InitializeHandlerArguments,
|
|
377
|
-
InitializeHandlerOptions,
|
|
378
|
-
InitializeHandlerOutput,
|
|
379
|
-
InitializeMiddleware,
|
|
380
|
-
Int64,
|
|
381
|
-
IntegerHeaderValue,
|
|
382
|
-
Logger,
|
|
383
|
-
LongHeaderValue,
|
|
384
|
-
MemoizedProvider,
|
|
385
|
-
Message,
|
|
386
|
-
MessageDecoder,
|
|
387
|
-
MessageEncoder,
|
|
388
|
-
MessageHeaderValue,
|
|
389
|
-
MessageHeaders,
|
|
390
|
-
MessageSigner,
|
|
391
|
-
MetadataBearer,
|
|
392
|
-
MiddlewareStack,
|
|
393
|
-
MiddlewareType,
|
|
394
|
-
PaginationConfiguration,
|
|
395
|
-
Paginator,
|
|
396
|
-
ParsedIniData,
|
|
397
|
-
Pluggable,
|
|
398
|
-
Priority,
|
|
399
|
-
Profile,
|
|
400
|
-
Provider,
|
|
401
|
-
QueryParameterBag,
|
|
402
|
-
RegionInfo,
|
|
403
|
-
RegionInfoProvider,
|
|
404
|
-
RegionInfoProviderOptions,
|
|
405
|
-
Relation,
|
|
406
|
-
RelativeLocation,
|
|
407
|
-
RelativeMiddlewareOptions,
|
|
408
|
-
RequestContext,
|
|
409
|
-
RequestHandler,
|
|
410
|
-
RequestHandlerMetadata,
|
|
411
|
-
RequestHandlerOutput,
|
|
412
|
-
RequestHandlerProtocol,
|
|
413
|
-
RequestPresigner,
|
|
414
|
-
RequestPresigningArguments,
|
|
415
|
-
RequestSerializer,
|
|
416
|
-
RequestSigner,
|
|
417
|
-
RequestSigningArguments,
|
|
418
|
-
ResponseDeserializer,
|
|
419
|
-
ResponseMetadata,
|
|
420
|
-
RetryBackoffStrategy,
|
|
421
|
-
RetryErrorInfo,
|
|
422
|
-
RetryErrorType,
|
|
423
|
-
RetryStrategy,
|
|
424
|
-
RetryStrategyOptions,
|
|
425
|
-
RetryStrategyV2,
|
|
426
|
-
RetryToken,
|
|
427
|
-
RetryableTrait,
|
|
428
|
-
SdkError,
|
|
429
|
-
SdkStream,
|
|
430
|
-
SdkStreamMixin,
|
|
431
|
-
SdkStreamMixinInjector,
|
|
432
|
-
SdkStreamSerdeContext,
|
|
433
|
-
SerdeContext,
|
|
434
|
-
SerializeHandler,
|
|
435
|
-
SerializeHandlerArguments,
|
|
436
|
-
SerializeHandlerOptions,
|
|
437
|
-
SerializeHandlerOutput,
|
|
438
|
-
SerializeMiddleware,
|
|
439
|
-
SharedConfigFiles,
|
|
440
|
-
ShortHeaderValue,
|
|
441
|
-
SignableMessage,
|
|
442
|
-
SignedMessage,
|
|
443
|
-
SigningArguments,
|
|
444
|
-
SmithyException,
|
|
445
|
-
SourceData,
|
|
446
|
-
StandardRetryBackoffStrategy,
|
|
447
|
-
StandardRetryToken,
|
|
448
|
-
Step,
|
|
449
|
-
StreamCollector,
|
|
450
|
-
StreamHasher,
|
|
451
|
-
StringHeaderValue,
|
|
452
|
-
StringSigner,
|
|
453
|
-
Terminalware,
|
|
454
|
-
TimestampHeaderValue,
|
|
455
|
-
TokenIdentity,
|
|
456
|
-
TokenIdentityProvider,
|
|
457
|
-
URI,
|
|
458
|
-
UrlParser,
|
|
459
|
-
UserAgent,
|
|
460
|
-
UserAgentPair,
|
|
461
|
-
UuidHeaderValue,
|
|
462
|
-
WaiterConfiguration,
|
|
463
|
-
WithSdkStreamMixin,
|
|
464
|
-
randomValues
|
|
294
|
+
HostAddressType,
|
|
295
|
+
EndpointURLScheme,
|
|
296
|
+
RequestHandlerProtocol
|
|
465
297
|
});
|
|
466
298
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Logger } from "@smithy/types";
|
|
1
2
|
import { AwsCredentialIdentity } from "./identity";
|
|
2
3
|
import { Provider } from "./util";
|
|
3
4
|
/**
|
|
@@ -15,3 +16,33 @@ export interface Credentials extends AwsCredentialIdentity {
|
|
|
15
16
|
* @deprecated Use {@link AwsCredentialIdentityProvider}
|
|
16
17
|
*/
|
|
17
18
|
export type CredentialProvider = Provider<Credentials>;
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*
|
|
22
|
+
* Common options for credential providers.
|
|
23
|
+
*/
|
|
24
|
+
export type CredentialProviderOptions = {
|
|
25
|
+
/**
|
|
26
|
+
* This logger is only used to provide information
|
|
27
|
+
* on what credential providers were used during resolution.
|
|
28
|
+
*
|
|
29
|
+
* It does not log credentials.
|
|
30
|
+
*/
|
|
31
|
+
logger?: Logger;
|
|
32
|
+
/**
|
|
33
|
+
* Present if the credential provider was created by calling
|
|
34
|
+
* the defaultCredentialProvider in a client's middleware, having
|
|
35
|
+
* access to the client's config.
|
|
36
|
+
*
|
|
37
|
+
* The region of that parent or outer client is important because
|
|
38
|
+
* an inner client used by the credential provider may need
|
|
39
|
+
* to match its default partition or region with that of
|
|
40
|
+
* the outer client.
|
|
41
|
+
*
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated - not truly deprecated, marked as a warning to not use this.
|
|
44
|
+
*/
|
|
45
|
+
parentClientConfig?: {
|
|
46
|
+
region?: string | Provider<string>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import { Logger } from "@smithy/types";
|
|
1
2
|
import { AwsCredentialIdentity } from "./identity";
|
|
2
3
|
import { Provider } from "./util";
|
|
3
4
|
export interface Credentials extends AwsCredentialIdentity {}
|
|
4
5
|
export type CredentialProvider = Provider<Credentials>;
|
|
6
|
+
export type CredentialProviderOptions = {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
parentClientConfig?: {
|
|
9
|
+
region?: string | Provider<string>;
|
|
10
|
+
};
|
|
11
|
+
};
|