Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @aws-sdk/types

Index

References

Namespaces

Enumerations

Interfaces

Type aliases

References

AbortController

Re-exports AbortController

AbortHandler

Re-exports AbortHandler

AbortSignal

Re-exports AbortSignal

AbsoluteLocation

Re-exports AbsoluteLocation

AnonymousIdentity

Re-exports AnonymousIdentity

AnonymousIdentity

Re-exports AnonymousIdentity

AuthScheme

Re-exports AuthScheme

AwsCredentialIdentity

Re-exports AwsCredentialIdentity

AwsCredentialIdentity

Re-exports AwsCredentialIdentity

AwsCredentialIdentityProvider

Re-exports AwsCredentialIdentityProvider

AwsCredentialIdentityProvider

Re-exports AwsCredentialIdentityProvider

BinaryHeaderValue

Re-exports BinaryHeaderValue

BodyLengthCalculator

Re-exports BodyLengthCalculator

BooleanHeaderValue

Re-exports BooleanHeaderValue

BuildHandler

Re-exports BuildHandler

BuildHandlerArguments

Re-exports BuildHandlerArguments

BuildHandlerOptions

Re-exports BuildHandlerOptions

BuildHandlerOutput

Re-exports BuildHandlerOutput

BuildMiddleware

Re-exports BuildMiddleware

ByteHeaderValue

Re-exports ByteHeaderValue

Checksum

Re-exports Checksum

Client

Re-exports Client

Command

Re-exports Command

CredentialProvider

Re-exports CredentialProvider

Credentials

Re-exports Credentials

DateInput

Re-exports DateInput

Decoder

Re-exports Decoder

DeserializeHandler

Re-exports DeserializeHandler

DeserializeHandlerArguments

Re-exports DeserializeHandlerArguments

DeserializeHandlerOptions

Re-exports DeserializeHandlerOptions

DeserializeHandlerOutput

Re-exports DeserializeHandlerOutput

DeserializeMiddleware

Re-exports DeserializeMiddleware

DocumentType

Re-exports DocumentType

Encoder

Re-exports Encoder

Endpoint

Re-exports Endpoint

EndpointARN

Re-exports EndpointARN

EndpointBearer

Re-exports EndpointBearer

EndpointObjectProperty

Re-exports EndpointObjectProperty

EndpointParameters

Re-exports EndpointParameters

EndpointPartition

Re-exports EndpointPartition

EndpointURL

Re-exports EndpointURL

EndpointURLScheme

Re-exports EndpointURLScheme

EndpointV2

Re-exports EndpointV2

EventSigner

Re-exports EventSigner

EventSigningArguments

Re-exports EventSigningArguments

EventStreamMarshaller

Re-exports EventStreamMarshaller

EventStreamMarshallerDeserFn

Re-exports EventStreamMarshallerDeserFn

EventStreamMarshallerSerFn

Re-exports EventStreamMarshallerSerFn

EventStreamPayloadHandler

Re-exports EventStreamPayloadHandler

EventStreamPayloadHandlerProvider

Re-exports EventStreamPayloadHandlerProvider

EventStreamRequestSigner

Re-exports EventStreamRequestSigner

EventStreamSerdeContext

Re-exports EventStreamSerdeContext

EventStreamSerdeProvider

Re-exports EventStreamSerdeProvider

EventStreamSignerProvider

Re-exports EventStreamSignerProvider

ExponentialBackoffJitterType

Re-exports ExponentialBackoffJitterType

ExponentialBackoffStrategyOptions

Re-exports ExponentialBackoffStrategyOptions

FinalizeHandler

Re-exports FinalizeHandler

FinalizeHandlerArguments

Re-exports FinalizeHandlerArguments

FinalizeHandlerOutput

Re-exports FinalizeHandlerOutput

FinalizeRequestHandlerOptions

Re-exports FinalizeRequestHandlerOptions

FinalizeRequestMiddleware

Re-exports FinalizeRequestMiddleware

FormattedEvent

Re-exports FormattedEvent

GetAwsChunkedEncodingStream

Re-exports GetAwsChunkedEncodingStream

GetAwsChunkedEncodingStreamOptions

Re-exports GetAwsChunkedEncodingStreamOptions

Handler

Re-exports Handler

HandlerExecutionContext

Re-exports HandlerExecutionContext

HandlerOptions

Re-exports HandlerOptions

Hash

Re-exports Hash

HashConstructor

Re-exports HashConstructor

HeaderBag

Re-exports HeaderBag

Headers

Re-exports Headers

HttpHandlerOptions

Re-exports HttpHandlerOptions

HttpMessage

Re-exports HttpMessage

HttpRequest

Re-exports HttpRequest

HttpResponse

Re-exports HttpResponse

Identity

Re-exports Identity

Identity

Re-exports Identity

IdentityProvider

Re-exports IdentityProvider

IdentityProvider

Re-exports IdentityProvider

IniSection

Re-exports IniSection

InitializeHandler

Re-exports InitializeHandler

InitializeHandlerArguments

Re-exports InitializeHandlerArguments

InitializeHandlerOptions

Re-exports InitializeHandlerOptions

InitializeHandlerOutput

Re-exports InitializeHandlerOutput

InitializeMiddleware

Re-exports InitializeMiddleware

Int64

Re-exports Int64

IntegerHeaderValue

Re-exports IntegerHeaderValue

LogLevel

Re-exports LogLevel

Logger

Re-exports Logger

LoggerOptions

Re-exports LoggerOptions

LoginIdentity

Re-exports LoginIdentity

LoginIdentity

Re-exports LoginIdentity

LoginIdentityProvider

Re-exports LoginIdentityProvider

LoginIdentityProvider

Re-exports LoginIdentityProvider

LongHeaderValue

Re-exports LongHeaderValue

MemoizedProvider

Re-exports MemoizedProvider

Message

Re-exports Message

MessageHeaderValue

Re-exports MessageHeaderValue

MessageHeaders

Re-exports MessageHeaders

MetadataBearer

Re-exports MetadataBearer

MiddlewareStack

Re-exports MiddlewareStack

MiddlewareType

Re-exports MiddlewareType

PaginationConfiguration

Re-exports PaginationConfiguration

Paginator

Re-exports Paginator

ParsedIniData

Re-exports ParsedIniData

Pluggable

Re-exports Pluggable

Priority

Re-exports Priority

Profile

Re-exports Profile

Provider

Re-exports Provider

QueryParameterBag

Re-exports QueryParameterBag

RegionInfo

Re-exports RegionInfo

RegionInfoProvider

Re-exports RegionInfoProvider

RegionInfoProviderOptions

Re-exports RegionInfoProviderOptions

Relation

Re-exports Relation

RelativeLocation

Re-exports RelativeLocation

RelativeMiddlewareOptions

Re-exports RelativeMiddlewareOptions

RequestHandler

Re-exports RequestHandler

RequestHandlerMetadata

Re-exports RequestHandlerMetadata

RequestHandlerOutput

Re-exports RequestHandlerOutput

RequestPresigner

Re-exports RequestPresigner

RequestPresigningArguments

Re-exports RequestPresigningArguments

RequestSerializer

Re-exports RequestSerializer

RequestSigner

Re-exports RequestSigner

RequestSigningArguments

Re-exports RequestSigningArguments

ResolvedHttpResponse

Re-exports ResolvedHttpResponse

ResponseDeserializer

Re-exports ResponseDeserializer

ResponseMetadata

Re-exports ResponseMetadata

RetryBackoffStrategy

Re-exports RetryBackoffStrategy

RetryErrorInfo

Re-exports RetryErrorInfo

RetryErrorType

Re-exports RetryErrorType

RetryStrategy

Re-exports RetryStrategy

RetryStrategyOptions

Re-exports RetryStrategyOptions

RetryStrategyV2

Re-exports RetryStrategyV2

RetryToken

Re-exports RetryToken

RetryableTrait

Re-exports RetryableTrait

SdkError

Re-exports SdkError

SdkStream

Re-exports SdkStream

SdkStreamMixin

Re-exports SdkStreamMixin

SdkStreamMixinInjector

Re-exports SdkStreamMixinInjector

SdkStreamSerdeContext

Re-exports SdkStreamSerdeContext

SerdeContext

Re-exports SerdeContext

SerializeHandler

Re-exports SerializeHandler

SerializeHandlerArguments

Re-exports SerializeHandlerArguments

SerializeHandlerOptions

Re-exports SerializeHandlerOptions

SerializeHandlerOutput

Re-exports SerializeHandlerOutput

SerializeMiddleware

Re-exports SerializeMiddleware

SharedConfigFiles

Re-exports SharedConfigFiles

ShortHeaderValue

Re-exports ShortHeaderValue

SigningArguments

Re-exports SigningArguments

SmithyException

Re-exports SmithyException

SourceData

Re-exports SourceData

StandardRetryBackoffStrategy

Re-exports StandardRetryBackoffStrategy

StandardRetryToken

Re-exports StandardRetryToken

Step

Re-exports Step

StreamCollector

Re-exports StreamCollector

StreamHasher

Re-exports StreamHasher

StringHeaderValue

Re-exports StringHeaderValue

StringSigner

Re-exports StringSigner

Terminalware

Re-exports Terminalware

TimestampHeaderValue

Re-exports TimestampHeaderValue

Token

Re-exports Token

TokenIdentity

Re-exports TokenIdentity

TokenIdentity

Re-exports TokenIdentity

TokenIdentityProvider

Re-exports TokenIdentityProvider

TokenIdentityProvider

Re-exports TokenIdentityProvider

TokenProvider

Re-exports TokenProvider

UrlParser

Re-exports UrlParser

UserAgent

Re-exports UserAgent

UserAgentPair

Re-exports UserAgentPair

UuidHeaderValue

Re-exports UuidHeaderValue

WaiterConfiguration

Re-exports WaiterConfiguration

WithSdkStreamMixin

Re-exports WithSdkStreamMixin

randomValues

Re-exports randomValues

Type aliases

AwsCredentialIdentityProvider

AwsCredentialIdentityProvider: IdentityProvider<AwsCredentialIdentity>

CredentialProvider

CredentialProvider: Provider<Credentials>
deprecated

Use {@AwsCredentialIdentityProvider}

DateInput

DateInput: number | string | Date

A {Date} object, a unix (epoch) timestamp in seconds, or a string that can be understood by the JavaScript {Date} constructor.

DocumentType

DocumentType: null | boolean | number | string | DocumentType[] | {}

A document type represents an untyped JSON-like value.

Not all protocols support document types, and the serialization format of a document type is protocol specific. All JSON protocols SHOULD support document types and they SHOULD serialize document types inline as normal JSON values.

EndpointObjectProperty

EndpointObjectProperty: string | boolean | {} | EndpointObjectProperty[]

EndpointParameters

EndpointParameters: {}

Type declaration

  • [name: string]: undefined | string | boolean

ExponentialBackoffJitterType

ExponentialBackoffJitterType: "DEFAULT" | "NONE" | "FULL" | "DECORRELATED"

Handler

Handler<Input, Output>: InitializeHandler<Input, Output>

Type parameters

  • Input: object

  • Output: object

HeaderBag

HeaderBag: Record<string, string>

A mapping of header names to string values. Multiple values for the same header should be represented as a single string with values separated by , .

Keys should be considered case insensitive, even if this is not enforced by a particular implementation. For example, given the following HeaderBag, where keys differ only in case:

{ 'x-amz-date': '2000-01-01T00:00:00Z', 'X-Amz-Date': '2001-01-01T00:00:00Z' }

The SDK may at any point during processing remove one of the object properties in favor of the other. The headers may or may not be combined, and the SDK will not deterministically select which header candidate to use.

IniSection

IniSection: Record<string, string | undefined>

LogLevel

LogLevel: "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off"

A list of logger's log level. These levels are sorted in order of increasing severity. Each log level includes itself and all the levels behind itself.

example

new Logger({logLevel: 'warn'}) will print all the warn and error message.

LoginIdentityProvider

LoginIdentityProvider: IdentityProvider<LoginIdentity>

MessageHeaderValue

MessageHeaders

MessageHeaders: Record<string, MessageHeaderValue>

MiddlewareType

MiddlewareType<Input, Output>: InitializeMiddleware<Input, Output> | SerializeMiddleware<Input, Output> | BuildMiddleware<Input, Output> | FinalizeRequestMiddleware<Input, Output> | DeserializeMiddleware<Input, Output>

Type parameters

  • Input: object

  • Output: object

Paginator

Paginator<T>: AsyncGenerator<T, T, unknown>

Expected type definition of a paginator.

Type parameters

  • T

ParsedIniData

ParsedIniData: Record<string, IniSection>

Priority

Priority: "high" | "normal" | "low"

QueryParameterBag

QueryParameterBag: Record<string, string | Array<string> | null>

A mapping of query parameter names to strings or arrays of strings, with the second being used when a parameter contains a list of values. Value can be set to null when query is not in key-value pairs shape

Relation

Relation: "before" | "after"

RelativeMiddlewareOptions

RelativeMiddlewareOptions: RelativeLocation & Omit<HandlerOptions, "step">

RequestHandlerOutput

RequestHandlerOutput<ResponseType>: { response: ResponseType }

Type parameters

  • ResponseType

Type declaration

  • response: ResponseType

RetryErrorType

RetryErrorType: "TRANSIENT" | "THROTTLING" | "SERVER_ERROR" | "CLIENT_ERROR"

SdkError

SdkError: Error & Partial<SmithyException> & Partial<MetadataBearer>
deprecated

SdkStream

SdkStream<BaseStream>: BaseStream & SdkStreamMixin

The type describing a runtime-specific stream implementation with mix-in utility functions.

Type parameters

  • BaseStream

SourceData

SourceData: string | ArrayBuffer | ArrayBufferView

Step

Step: "initialize" | "serialize" | "build" | "finalizeRequest" | "deserialize"

TokenIdentityProvider

TokenIdentityProvider: IdentityProvider<TokenIdentity>

TokenProvider

TokenProvider: Provider<Token>
deprecated

Use {@TokenIdentityProvider}

UserAgent

UserAgent: UserAgentPair[]

User agent data that to be put into the request's user agent.

UserAgentPair

UserAgentPair: [name: string, version?: string]

A tuple that represents an API name and optional version of a library built using the AWS SDK.

WithSdkStreamMixin

WithSdkStreamMixin<T, StreamKey>: {}

Indicates that the member of type T with key StreamKey have been extended with the SdkStreamMixin helper methods.

Type parameters

  • T

  • StreamKey: keyof T

Type declaration