@aws-sdk/types 3.731.0 → 3.734.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.
|
@@ -1,18 +1,31 @@
|
|
|
1
|
-
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, Logger, RequestHandler } from "@smithy/types";
|
|
2
2
|
import type { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
3
3
|
export { AwsCredentialIdentity, AwsCredentialIdentityProvider, IdentityProvider } from "@smithy/types";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export interface AwsIdentityProperties {
|
|
8
|
+
/**
|
|
9
|
+
* These are resolved client config values, and may be async providers.
|
|
10
|
+
*/
|
|
8
11
|
callerClientConfig?: {
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
/**
|
|
13
|
+
* It is likely a programming error if you use
|
|
14
|
+
* the caller client config credentials in a credential provider, since
|
|
15
|
+
* it will recurse.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated do not use.
|
|
18
|
+
*/
|
|
19
|
+
credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
11
20
|
/**
|
|
12
21
|
* @internal
|
|
13
|
-
* @deprecated
|
|
22
|
+
* @deprecated minimize use.
|
|
14
23
|
*/
|
|
15
24
|
credentialDefaultProvider?: (input?: any) => AwsCredentialIdentityProvider;
|
|
25
|
+
logger?: Logger;
|
|
26
|
+
profile?: string;
|
|
27
|
+
region(): Promise<string>;
|
|
28
|
+
requestHandler?: RequestHandler<any, any>;
|
|
16
29
|
};
|
|
17
30
|
}
|
|
18
31
|
/**
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AwsCredentialIdentity,
|
|
3
3
|
AwsCredentialIdentityProvider,
|
|
4
|
+
Logger,
|
|
5
|
+
RequestHandler,
|
|
4
6
|
} from "@smithy/types";
|
|
5
7
|
import { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
6
8
|
export {
|
|
@@ -10,9 +12,12 @@ export {
|
|
|
10
12
|
} from "@smithy/types";
|
|
11
13
|
export interface AwsIdentityProperties {
|
|
12
14
|
callerClientConfig?: {
|
|
13
|
-
|
|
14
|
-
profile?: string;
|
|
15
|
+
credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
15
16
|
credentialDefaultProvider?: (input?: any) => AwsCredentialIdentityProvider;
|
|
17
|
+
logger?: Logger;
|
|
18
|
+
profile?: string;
|
|
19
|
+
region(): Promise<string>;
|
|
20
|
+
requestHandler?: RequestHandler<any, any>;
|
|
16
21
|
};
|
|
17
22
|
}
|
|
18
23
|
export type RuntimeConfigIdentityProvider<T> = (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"directory": "packages/types"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@smithy/types": "^4.
|
|
44
|
+
"@smithy/types": "^4.1.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|