@aws-sdk/types 3.190.0 → 3.197.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 CHANGED
@@ -3,6 +3,29 @@
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.197.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.196.0...v3.197.0) (2022-10-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **types:** expand custom endpoint type ([#4097](https://github.com/aws/aws-sdk-js-v3/issues/4097)) ([3620ce4](https://github.com/aws/aws-sdk-js-v3/commit/3620ce4162435b9688823162281140f40365b14c))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.193.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.192.0...v3.193.0) (2022-10-20)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **endpoint:** join authScheme signingRegionSet values instead of taking first only ([#4056](https://github.com/aws/aws-sdk-js-v3/issues/4056)) ([751245a](https://github.com/aws/aws-sdk-js-v3/commit/751245afc26dbedcc477be3bc2f830e18d765e1d))
23
+ * **endpoint:** test fixes for s3-control related to endpoints 2.0 ([#4065](https://github.com/aws/aws-sdk-js-v3/issues/4065)) ([25af672](https://github.com/aws/aws-sdk-js-v3/commit/25af672e313406dcc331e154c385fc325b93a4a2))
24
+
25
+
26
+
27
+
28
+
6
29
  # [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
7
30
 
8
31
 
@@ -15,7 +15,8 @@ export interface AuthScheme {
15
15
  */
16
16
  signingRegion: string;
17
17
  /**
18
- * TODO usage?
18
+ * @example ["*"]
19
+ * @exammple ["us-west-2", "us-east-1"]
19
20
  */
20
21
  signingRegionSet?: string[];
21
22
  /**
@@ -52,6 +52,9 @@ export interface HttpMessage {
52
52
  * to null when query is not in key-value pairs shape
53
53
  */
54
54
  export declare type QueryParameterBag = Record<string, string | Array<string> | null>;
55
+ /**
56
+ * @deprecated use EndpointV2 from @aws-sdk/types.
57
+ */
55
58
  export interface Endpoint {
56
59
  protocol: string;
57
60
  hostname: string;
@@ -1,3 +1,4 @@
1
+ import { AuthScheme } from "./auth";
1
2
  import { EndpointV2 } from "./endpoint";
2
3
  import { Logger } from "./logger";
3
4
  import { UserAgent } from "./util";
@@ -338,6 +339,10 @@ export interface HandlerExecutionContext {
338
339
  * in the serialization stage.
339
340
  */
340
341
  endpointV2?: EndpointV2;
342
+ /**
343
+ * Set at the same time as endpointV2.
344
+ */
345
+ authSchemes?: AuthScheme[];
341
346
  [key: string]: any;
342
347
  }
343
348
  export interface Pluggable<Input extends object, Output extends object> {
@@ -1,3 +1,4 @@
1
+ import { AuthScheme } from "./auth";
1
2
  import { EndpointV2 } from "./endpoint";
2
3
  import { Logger } from "./logger";
3
4
  import { UserAgent } from "./util";
@@ -200,6 +201,7 @@ export interface HandlerExecutionContext {
200
201
  logger?: Logger;
201
202
  userAgent?: UserAgent;
202
203
  endpointV2?: EndpointV2;
204
+ authSchemes?: AuthScheme[];
203
205
  [key: string]: any;
204
206
  }
205
207
  export interface Pluggable<Input extends object, Output extends object> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.190.0",
3
+ "version": "3.197.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",