@aws-sdk/types 3.186.0 → 3.190.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.
- package/CHANGELOG.md +22 -0
- package/dist-types/auth.d.ts +11 -3
- package/dist-types/serde.d.ts +23 -0
- package/dist-types/ts3.4/auth.d.ts +4 -2
- package/dist-types/ts3.4/serde.d.ts +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **endpoint:** e2e test fixes for endpoints 2.0 all services ([#4044](https://github.com/aws/aws-sdk-js-v3/issues/4044)) ([b53f5bd](https://github.com/aws/aws-sdk-js-v3/commit/b53f5bdd2bb4f0d1bab208ef2cd8f67d56291934))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** support util functions to consume response streams ([#3977](https://github.com/aws/aws-sdk-js-v3/issues/3977)) ([ad99b66](https://github.com/aws/aws-sdk-js-v3/commit/ad99b66944b6fe1ce83082c1a33193dff033cfaf))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @aws-sdk/types
|
package/dist-types/auth.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface AuthScheme {
|
|
5
5
|
/**
|
|
6
|
-
* @example "
|
|
6
|
+
* @example "sigv4a" or "sigv4"
|
|
7
7
|
*/
|
|
8
|
-
name: string;
|
|
8
|
+
name: "sigv4" | "sigv4a" | string;
|
|
9
9
|
/**
|
|
10
10
|
* @example "s3"
|
|
11
11
|
*/
|
|
@@ -13,6 +13,14 @@ export interface AuthScheme {
|
|
|
13
13
|
/**
|
|
14
14
|
* @example "us-east-1"
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
signingRegion: string;
|
|
17
|
+
/**
|
|
18
|
+
* TODO usage?
|
|
19
|
+
*/
|
|
20
|
+
signingRegionSet?: string[];
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated this field was renamed to signingRegion.
|
|
23
|
+
*/
|
|
24
|
+
signingScope?: never;
|
|
17
25
|
properties: Record<string, unknown>;
|
|
18
26
|
}
|
package/dist-types/serde.d.ts
CHANGED
|
@@ -75,3 +75,26 @@ export interface SdkStreamMixin {
|
|
|
75
75
|
* utility functions.
|
|
76
76
|
*/
|
|
77
77
|
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
|
|
78
|
+
/**
|
|
79
|
+
* Indicates that any members of type T
|
|
80
|
+
* that were of type T[StreamKey] have been extended
|
|
81
|
+
* with the SdkStreamMixin helper methods.
|
|
82
|
+
*/
|
|
83
|
+
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
|
|
84
|
+
[key in keyof T]: T[key] extends T[StreamKey] ? SdkStream<T[StreamKey]> : T[key];
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Interface for internal function to inject stream utility functions
|
|
88
|
+
* implementation
|
|
89
|
+
*
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
export interface SdkStreamMixinInjector {
|
|
93
|
+
(stream: unknown): SdkStreamMixin;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
export interface SdkStreamSerdeContext {
|
|
99
|
+
sdkStreamMixin: SdkStreamMixinInjector;
|
|
100
|
+
}
|
|
@@ -38,3 +38,14 @@ export interface SdkStreamMixin {
|
|
|
38
38
|
transformToWebStream: () => ReadableStream;
|
|
39
39
|
}
|
|
40
40
|
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
|
|
41
|
+
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
|
|
42
|
+
[key in keyof T]: T[key] extends T[StreamKey]
|
|
43
|
+
? SdkStream<T[StreamKey]>
|
|
44
|
+
: T[key];
|
|
45
|
+
};
|
|
46
|
+
export interface SdkStreamMixinInjector {
|
|
47
|
+
(stream: unknown): SdkStreamMixin;
|
|
48
|
+
}
|
|
49
|
+
export interface SdkStreamSerdeContext {
|
|
50
|
+
sdkStreamMixin: SdkStreamMixinInjector;
|
|
51
|
+
}
|