@aws-sdk/types 3.188.0 → 3.193.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.193.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.192.0...v3.193.0) (2022-10-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+ * **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))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **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))
24
+
25
+
26
+
27
+
28
+
6
29
  # [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
7
30
 
8
31
 
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface AuthScheme {
5
5
  /**
6
- * @example "v4" for SigV4
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,15 @@ export interface AuthScheme {
13
13
  /**
14
14
  * @example "us-east-1"
15
15
  */
16
- signingScope: string;
16
+ signingRegion: string;
17
+ /**
18
+ * @example ["*"]
19
+ * @exammple ["us-west-2", "us-east-1"]
20
+ */
21
+ signingRegionSet?: string[];
22
+ /**
23
+ * @deprecated this field was renamed to signingRegion.
24
+ */
25
+ signingScope?: never;
17
26
  properties: Record<string, unknown>;
18
27
  }
@@ -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,6 +1,8 @@
1
1
  export interface AuthScheme {
2
- name: string;
2
+ name: "sigv4" | "sigv4a" | string;
3
3
  signingName: string;
4
- signingScope: string;
4
+ signingRegion: string;
5
+ signingRegionSet?: string[];
6
+ signingScope?: never;
5
7
  properties: Record<string, unknown>;
6
8
  }
@@ -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.188.0",
3
+ "version": "3.193.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",