@aws-sdk/types
Advanced tools
Comparing version 3.212.0 to 3.215.0
@@ -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"; |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92747
119
2343