@aws-sdk/types 3.502.0 → 3.511.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.
|
@@ -29,4 +29,20 @@ export type CredentialProviderOptions = {
|
|
|
29
29
|
* It does not log credentials.
|
|
30
30
|
*/
|
|
31
31
|
logger?: Logger;
|
|
32
|
+
/**
|
|
33
|
+
* Present if the credential provider was created by calling
|
|
34
|
+
* the defaultCredentialProvider in a client's middleware, having
|
|
35
|
+
* access to the client's config.
|
|
36
|
+
*
|
|
37
|
+
* The region of that parent or outer client is important because
|
|
38
|
+
* an inner client used by the credential provider may need
|
|
39
|
+
* to match its default partition or region with that of
|
|
40
|
+
* the outer client.
|
|
41
|
+
*
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated - not truly deprecated, marked as a warning to not use this.
|
|
44
|
+
*/
|
|
45
|
+
parentClientConfig?: {
|
|
46
|
+
region?: string | Provider<string>;
|
|
47
|
+
};
|
|
32
48
|
};
|