Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/types

Package Overview
Dependencies
Maintainers
5
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/types - npm Package Compare versions

Comparing version 3.292.0 to 3.295.0

2

dist-types/credentials.d.ts

@@ -17,2 +17,2 @@ import { AwsCredentialIdentity } from "./identity";

*/
export declare type CredentialProvider = Provider<Credentials>;
export type CredentialProvider = Provider<Credentials>;
/**
* @public
*/
export declare type SourceData = string | ArrayBuffer | ArrayBufferView;
export type SourceData = string | ArrayBuffer | ArrayBufferView;
/**

@@ -6,0 +6,0 @@ * @public

@@ -59,3 +59,3 @@ import { AuthScheme } from "./auth";

*/
export declare type EndpointObjectProperty = string | boolean | {
export type EndpointObjectProperty = string | boolean | {
[key: string]: EndpointObjectProperty;

@@ -76,4 +76,4 @@ } | EndpointObjectProperty[];

*/
export declare type EndpointParameters = {
export type EndpointParameters = {
[name: string]: undefined | string | boolean;
};

@@ -18,3 +18,3 @@ import { HttpRequest } from "./http";

*/
export declare type MessageHeaders = Record<string, MessageHeaderValue>;
export type MessageHeaders = Record<string, MessageHeaderValue>;
/**

@@ -86,3 +86,3 @@ * @public

*/
export declare type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue;
export type MessageHeaderValue = BooleanHeaderValue | ByteHeaderValue | ShortHeaderValue | IntegerHeaderValue | LongHeaderValue | BinaryHeaderValue | StringHeaderValue | TimestampHeaderValue | UuidHeaderValue;
/**

@@ -89,0 +89,0 @@ * @public

@@ -46,3 +46,3 @@ import { AbortSignal } from "./abort";

*/
export declare type HeaderBag = Record<string, string>;
export type HeaderBag = Record<string, string>;
/**

@@ -65,3 +65,3 @@ * @public

*/
export declare type QueryParameterBag = Record<string, string | Array<string> | null>;
export type QueryParameterBag = Record<string, string | Array<string> | null>;
/**

@@ -68,0 +68,0 @@ * @public

@@ -23,2 +23,2 @@ import { Identity, IdentityProvider } from "./Identity";

*/
export declare type AwsCredentialIdentityProvider = IdentityProvider<AwsCredentialIdentity>;
export type AwsCredentialIdentityProvider = IdentityProvider<AwsCredentialIdentity>;

@@ -18,2 +18,2 @@ import { Identity, IdentityProvider } from "./Identity";

*/
export declare type LoginIdentityProvider = IdentityProvider<LoginIdentity>;
export type LoginIdentityProvider = IdentityProvider<LoginIdentity>;

@@ -14,2 +14,2 @@ import { Identity, IdentityProvider } from "./Identity";

*/
export declare type TokenIdentityProvider = IdentityProvider<TokenIdentity>;
export type TokenIdentityProvider = IdentityProvider<TokenIdentity>;

@@ -11,3 +11,3 @@ /**

*/
export declare type LogLevel = "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off";
export type LogLevel = "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off";
/**

@@ -14,0 +14,0 @@ * @public

@@ -99,3 +99,3 @@ import { AuthScheme, HttpAuthDefinition } from "./auth";

*/
export declare type Handler<Input extends object, Output extends object> = InitializeHandler<Input, Output>;
export type Handler<Input extends object, Output extends object> = InitializeHandler<Input, Output>;
/**

@@ -197,3 +197,3 @@ * @public

*/
export declare type MiddlewareType<Input extends object, Output extends object> = InitializeMiddleware<Input, Output> | SerializeMiddleware<Input, Output> | BuildMiddleware<Input, Output> | FinalizeRequestMiddleware<Input, Output> | DeserializeMiddleware<Input, Output>;
export type MiddlewareType<Input extends object, Output extends object> = InitializeMiddleware<Input, Output> | SerializeMiddleware<Input, Output> | BuildMiddleware<Input, Output> | FinalizeRequestMiddleware<Input, Output> | DeserializeMiddleware<Input, Output>;
/**

@@ -211,7 +211,7 @@ * @public

*/
export declare type Step = "initialize" | "serialize" | "build" | "finalizeRequest" | "deserialize";
export type Step = "initialize" | "serialize" | "build" | "finalizeRequest" | "deserialize";
/**
* @public
*/
export declare type Priority = "high" | "normal" | "low";
export type Priority = "high" | "normal" | "low";
/**

@@ -282,3 +282,3 @@ * @public

*/
export declare type Relation = "before" | "after";
export type Relation = "before" | "after";
/**

@@ -300,3 +300,3 @@ * @public

*/
export declare type RelativeMiddlewareOptions = RelativeLocation & Omit<HandlerOptions, "step">;
export type RelativeMiddlewareOptions = RelativeLocation & Omit<HandlerOptions, "step">;
/**

@@ -303,0 +303,0 @@ * @public

@@ -7,3 +7,3 @@ import { Client } from "./client";

*/
export declare type Paginator<T> = AsyncGenerator<T, T, unknown>;
export type Paginator<T> = AsyncGenerator<T, T, unknown>;
/**

@@ -10,0 +10,0 @@ * @public

/**
* @public
*/
export declare type IniSection = Record<string, string | undefined>;
export type IniSection = Record<string, string | undefined>;
/**

@@ -15,3 +15,3 @@ * @public

*/
export declare type ParsedIniData = Record<string, IniSection>;
export type ParsedIniData = Record<string, IniSection>;
/**

@@ -18,0 +18,0 @@ * @public

/**
* @public
*/
export declare type RetryErrorType =
export type RetryErrorType =
/**

@@ -135,3 +135,3 @@ * This is a connection level error such as a socket timeout, socket connect

*/
export declare type ExponentialBackoffJitterType = "DEFAULT" | "NONE" | "FULL" | "DECORRELATED";
export type ExponentialBackoffJitterType = "DEFAULT" | "NONE" | "FULL" | "DECORRELATED";
/**

@@ -138,0 +138,0 @@ * @public

@@ -102,3 +102,3 @@ import { Endpoint } from "./http";

*/
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
export type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
/**

@@ -111,3 +111,3 @@ * @public

*/
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
export type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
[key in keyof T]: key extends StreamKey ? SdkStream<T[StreamKey]> : T[key];

@@ -114,0 +114,0 @@ };

@@ -13,3 +13,3 @@ import { HttpResponse } from "./http";

*/
export declare type DocumentType = null | boolean | number | string | DocumentType[] | {
export type DocumentType = null | boolean | number | string | DocumentType[] | {
[prop: string]: DocumentType;

@@ -73,2 +73,2 @@ };

*/
export declare type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;
export type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;

@@ -8,3 +8,3 @@ import { HttpRequest } from "./http";

*/
export declare type DateInput = number | string | Date;
export type DateInput = number | string | Date;
/**

@@ -11,0 +11,0 @@ * @public

@@ -17,2 +17,2 @@ import { TokenIdentity } from "./identity";

*/
export declare type TokenProvider = Provider<Token>;
export type TokenProvider = Provider<Token>;
/**
* @public
*/
export declare type RequestHandlerOutput<ResponseType> = {
export type RequestHandlerOutput<ResponseType> = {
response: ResponseType;

@@ -6,0 +6,0 @@ };

import { AwsCredentialIdentity } from "./identity";
import { Provider } from "./util";
export interface Credentials extends AwsCredentialIdentity {}
export declare type CredentialProvider = Provider<Credentials>;
export type CredentialProvider = Provider<Credentials>;

@@ -1,2 +0,2 @@

export declare type SourceData = string | ArrayBuffer | ArrayBufferView;
export type SourceData = string | ArrayBuffer | ArrayBufferView;
export interface Hash {

@@ -3,0 +3,0 @@ update(toHash: SourceData, encoding?: "utf8" | "ascii" | "latin1"): void;

@@ -27,3 +27,3 @@ import { AuthScheme } from "./auth";

}
export declare type EndpointObjectProperty =
export type EndpointObjectProperty =
| string

@@ -42,4 +42,4 @@ | boolean

}
export declare type EndpointParameters = {
export type EndpointParameters = {
[name: string]: undefined | string | boolean;
};

@@ -13,3 +13,3 @@ import { HttpRequest } from "./http";

}
export declare type MessageHeaders = Record<string, MessageHeaderValue>;
export type MessageHeaders = Record<string, MessageHeaderValue>;
export interface BooleanHeaderValue {

@@ -51,3 +51,3 @@ type: "boolean";

}
export declare type MessageHeaderValue =
export type MessageHeaderValue =
| BooleanHeaderValue

@@ -54,0 +54,0 @@ | ByteHeaderValue

@@ -6,3 +6,3 @@ import { AbortSignal } from "./abort";

}
export declare type HeaderBag = Record<string, string>;
export type HeaderBag = Record<string, string>;
export interface HttpMessage {

@@ -12,6 +12,3 @@ headers: HeaderBag;

}
export declare type QueryParameterBag = Record<
string,
string | Array<string> | null
>;
export type QueryParameterBag = Record<string, string | Array<string> | null>;
export interface Endpoint {

@@ -18,0 +15,0 @@ protocol: string;

@@ -7,3 +7,3 @@ import { Identity, IdentityProvider } from "./Identity";

}
export declare type AwsCredentialIdentityProvider =
export type AwsCredentialIdentityProvider =
IdentityProvider<AwsCredentialIdentity>;

@@ -6,2 +6,2 @@ import { Identity, IdentityProvider } from "./Identity";

}
export declare type LoginIdentityProvider = IdentityProvider<LoginIdentity>;
export type LoginIdentityProvider = IdentityProvider<LoginIdentity>;

@@ -5,2 +5,2 @@ import { Identity, IdentityProvider } from "./Identity";

}
export declare type TokenIdentityProvider = IdentityProvider<TokenIdentity>;
export type TokenIdentityProvider = IdentityProvider<TokenIdentity>;

@@ -1,2 +0,2 @@

export declare type LogLevel =
export type LogLevel =
| "all"

@@ -3,0 +3,0 @@ | "trace"

@@ -42,3 +42,3 @@ import { AuthScheme, HttpAuthDefinition } from "./auth";

}
export declare type Handler<
export type Handler<
Input extends object,

@@ -110,6 +110,3 @@ Output extends object

}
export declare type MiddlewareType<
Input extends object,
Output extends object
> =
export type MiddlewareType<Input extends object, Output extends object> =
| InitializeMiddleware<Input, Output>

@@ -125,3 +122,3 @@ | SerializeMiddleware<Input, Output>

}
export declare type Step =
export type Step =
| "initialize"

@@ -132,3 +129,3 @@ | "serialize"

| "deserialize";
export declare type Priority = "high" | "normal" | "low";
export type Priority = "high" | "normal" | "low";
export interface HandlerOptions {

@@ -143,3 +140,3 @@ step?: Step;

}
export declare type Relation = "before" | "after";
export type Relation = "before" | "after";
export interface RelativeLocation {

@@ -149,3 +146,3 @@ relation: Relation;

}
export declare type RelativeMiddlewareOptions = RelativeLocation &
export type RelativeMiddlewareOptions = RelativeLocation &
Pick<HandlerOptions, Exclude<keyof HandlerOptions, "step">>;

@@ -152,0 +149,0 @@ export interface InitializeHandlerOptions extends HandlerOptions {

import { Client } from "./client";
export declare type Paginator<T> = AsyncGenerator<T, T, unknown>;
export type Paginator<T> = AsyncGenerator<T, T, unknown>;
export interface PaginationConfiguration {

@@ -4,0 +4,0 @@ client: Client<any, any, any>;

@@ -1,4 +0,4 @@

export declare type IniSection = Record<string, string | undefined>;
export type IniSection = Record<string, string | undefined>;
export interface Profile extends IniSection {}
export declare type ParsedIniData = Record<string, IniSection>;
export type ParsedIniData = Record<string, IniSection>;
export interface SharedConfigFiles {

@@ -5,0 +5,0 @@ credentialsFile: ParsedIniData;

@@ -1,2 +0,2 @@

export declare type RetryErrorType =
export type RetryErrorType =
| "TRANSIENT"

@@ -38,3 +38,3 @@ | "THROTTLING"

}
export declare type ExponentialBackoffJitterType =
export type ExponentialBackoffJitterType =
| "DEFAULT"

@@ -41,0 +41,0 @@ | "NONE"

@@ -41,4 +41,4 @@ import { Endpoint } from "./http";

}
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
export type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
export type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
[key in keyof T]: key extends StreamKey ? SdkStream<T[StreamKey]> : T[key];

@@ -45,0 +45,0 @@ };

import { HttpResponse } from "./http";
import { MetadataBearer } from "./response";
export declare type DocumentType =
export type DocumentType =
| null

@@ -22,4 +22,4 @@ | boolean

}
export declare type SdkError = Error &
export type SdkError = Error &
Partial<SmithyException> &
Partial<MetadataBearer>;
import { HttpRequest } from "./http";
export declare type DateInput = number | string | Date;
export type DateInput = number | string | Date;
export interface SigningArguments {

@@ -4,0 +4,0 @@ signingDate?: DateInput;

import { TokenIdentity } from "./identity";
import { Provider } from "./util";
export interface Token extends TokenIdentity {}
export declare type TokenProvider = Provider<Token>;
export type TokenProvider = Provider<Token>;

@@ -1,2 +0,2 @@

export declare type RequestHandlerOutput<ResponseType> = {
export type RequestHandlerOutput<ResponseType> = {
response: ResponseType;

@@ -3,0 +3,0 @@ };

@@ -49,3 +49,3 @@ import { Endpoint } from "./http";

}
export declare type UserAgentPair = [string, string];
export declare type UserAgent = UserAgentPair[];
export type UserAgentPair = [string, string];
export type UserAgent = UserAgentPair[];

@@ -148,3 +148,3 @@ import { Endpoint } from "./http";

*/
export declare type UserAgentPair = [name: string, version?: string];
export type UserAgentPair = [name: string, version?: string];
/**

@@ -156,2 +156,2 @@ * @public

*/
export declare type UserAgent = UserAgentPair[];
export type UserAgent = UserAgentPair[];
{
"name": "@aws-sdk/types",
"version": "3.292.0",
"version": "3.295.0",
"main": "./dist-cjs/index.js",

@@ -43,3 +43,3 @@ "module": "./dist-es/index.js",

"dependencies": {
"tslib": "^2.3.1"
"tslib": "^2.5.0"
},

@@ -52,3 +52,3 @@ "devDependencies": {

"typedoc": "0.23.23",
"typescript": "~4.6.2"
"typescript": "~4.9.5"
},

@@ -55,0 +55,0 @@ "typedoc": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc