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
151
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.212.0 to 3.215.0

dist-cjs/identity/AnonymousIdentity.js

1

dist-cjs/index.js

@@ -13,2 +13,3 @@ "use strict";

tslib_1.__exportStar(require("./http"), exports);
tslib_1.__exportStar(require("./identity"), exports);
tslib_1.__exportStar(require("./logger"), exports);

@@ -15,0 +16,0 @@ tslib_1.__exportStar(require("./middleware"), exports);

@@ -10,2 +10,3 @@ export * from "./abort";

export * from "./http";
export * from "./identity";
export * from "./logger";

@@ -12,0 +13,0 @@ export * from "./middleware";

25

dist-types/credentials.d.ts

@@ -0,26 +1,13 @@

import { AwsCredentialIdentity } from "./identity";
import { Provider } from "./util";
export interface AwsCredentialIdentity {
/**
* A {Date} when the identity or credential will no longer be accepted.
*/
readonly expiration?: Date;
}
/**
* An object representing temporary or permanent AWS credentials.
*
* @deprecated Use {@AwsCredentialIdentity}
*/
export interface Credentials extends AwsCredentialIdentity {
/**
* AWS access key ID
*/
readonly accessKeyId: string;
/**
* AWS secret access key
*/
readonly secretAccessKey: string;
/**
* A security or session token to use with these credentials. Usually
* present for temporary credentials.
*/
readonly sessionToken?: string;
}
/**
* @deprecated Use {@AwsCredentialIdentityProvider}
*/
export declare type CredentialProvider = Provider<Credentials>;

@@ -10,2 +10,3 @@ export * from "./abort";

export * from "./http";
export * from "./identity";
export * from "./logger";

@@ -12,0 +13,0 @@ export * from "./middleware";

@@ -0,16 +1,13 @@

import { TokenIdentity } from "./identity";
import { Provider } from "./util";
/**
* An object representing temporary or permanent AWS token.
*
* @deprecated Use {@TokenIdentity}
*/
export interface Token {
/**
*The literal token string
*/
readonly token: string;
/**
* A {Date} when these token will no longer be accepted.
* When expiration is not defined, the token is assumed to be permanent.
*/
readonly expiration?: Date;
export interface Token extends TokenIdentity {
}
/**
* @deprecated Use {@TokenIdentityProvider}
*/
export declare type TokenProvider = Provider<Token>;

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

import { AwsCredentialIdentity } from "./identity";
import { Provider } from "./util";
export interface AwsCredentialIdentity {
readonly expiration?: Date;
}
export interface Credentials extends AwsCredentialIdentity {
readonly accessKeyId: string;
readonly secretAccessKey: string;
readonly sessionToken?: string;
}
export interface Credentials extends AwsCredentialIdentity {}
export declare type CredentialProvider = Provider<Credentials>;

@@ -10,2 +10,3 @@ export * from "./abort";

export * from "./http";
export * from "./identity";
export * from "./logger";

@@ -12,0 +13,0 @@ export * from "./middleware";

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

import { TokenIdentity } from "./identity";
import { Provider } from "./util";
export interface Token {
readonly token: string;
readonly expiration?: Date;
}
export interface Token extends TokenIdentity {}
export declare type TokenProvider = Provider<Token>;
{
"name": "@aws-sdk/types",
"version": "3.212.0",
"version": "3.215.0",
"main": "./dist-cjs/index.js",

@@ -5,0 +5,0 @@ "module": "./dist-es/index.js",

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