@aws-sdk/client-s3 3.953.0 → 3.954.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/dist-cjs/index.js CHANGED
@@ -32,6 +32,7 @@ const resolveClientEndpointParameters = (options) => {
32
32
  useGlobalEndpoint: options.useGlobalEndpoint ?? false,
33
33
  disableMultiregionAccessPoints: options.disableMultiregionAccessPoints ?? false,
34
34
  defaultSigningName: "s3",
35
+ clientContextParams: options.clientContextParams ?? {},
35
36
  });
36
37
  };
37
38
  const commonParams = {
@@ -1,3 +1,4 @@
1
+ const clientContextParamDefaults = {};
1
2
  export const resolveClientEndpointParameters = (options) => {
2
3
  return Object.assign(options, {
3
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
@@ -7,6 +8,7 @@ export const resolveClientEndpointParameters = (options) => {
7
8
  useGlobalEndpoint: options.useGlobalEndpoint ?? false,
8
9
  disableMultiregionAccessPoints: options.disableMultiregionAccessPoints ?? false,
9
10
  defaultSigningName: "s3",
11
+ clientContextParams: options.clientContextParams ?? {},
10
12
  });
11
13
  };
12
14
  export const commonParams = {
@@ -3,6 +3,9 @@ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2,
3
3
  * @public
4
4
  */
5
5
  export interface ClientInputEndpointParameters {
6
+ clientContextParams?: {
7
+ disableS3ExpressSessionAuth?: boolean | undefined | Provider<boolean | undefined>;
8
+ };
6
9
  region?: string | undefined | Provider<string | undefined>;
7
10
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
8
11
  useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
@@ -70,6 +70,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
70
70
  s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
71
71
  bucketEndpoint?: boolean;
72
72
  expectContinueHeader?: boolean | number;
73
+ clientContextParams?: {
74
+ disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
75
+ };
73
76
  useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
74
77
  disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
75
78
  };
@@ -72,5 +72,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
72
72
  s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
73
73
  bucketEndpoint?: boolean;
74
74
  expectContinueHeader?: boolean | number;
75
+ clientContextParams?: {
76
+ disableS3ExpressSessionAuth?: boolean | undefined | import("@aws-sdk/types").Provider<boolean | undefined>;
77
+ };
75
78
  useGlobalEndpoint?: boolean | undefined | import("@aws-sdk/types").Provider<boolean | undefined>;
76
79
  };
@@ -69,6 +69,9 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
69
69
  s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
70
70
  bucketEndpoint?: boolean;
71
71
  expectContinueHeader?: boolean | number;
72
+ clientContextParams?: {
73
+ disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
74
+ };
72
75
  useGlobalEndpoint?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
73
76
  disableS3ExpressSessionAuth?: boolean | undefined | import("@smithy/types").Provider<boolean | undefined>;
74
77
  };
@@ -5,6 +5,12 @@ import {
5
5
  Provider,
6
6
  } from "@smithy/types";
7
7
  export interface ClientInputEndpointParameters {
8
+ clientContextParams?: {
9
+ disableS3ExpressSessionAuth?:
10
+ | boolean
11
+ | undefined
12
+ | Provider<boolean | undefined>;
13
+ };
8
14
  region?: string | undefined | Provider<string | undefined>;
9
15
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
10
16
  useDualstackEndpoint?: boolean | undefined | Provider<boolean | undefined>;
@@ -146,6 +146,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
146
146
  s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
147
147
  bucketEndpoint?: boolean;
148
148
  expectContinueHeader?: boolean | number;
149
+ clientContextParams?: {
150
+ disableS3ExpressSessionAuth?:
151
+ | boolean
152
+ | undefined
153
+ | import("@smithy/types").Provider<boolean | undefined>;
154
+ };
149
155
  useGlobalEndpoint?:
150
156
  | boolean
151
157
  | undefined
@@ -147,6 +147,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
147
147
  s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
148
148
  bucketEndpoint?: boolean;
149
149
  expectContinueHeader?: boolean | number;
150
+ clientContextParams?: {
151
+ disableS3ExpressSessionAuth?:
152
+ | boolean
153
+ | undefined
154
+ | import("@aws-sdk/types").Provider<boolean | undefined>;
155
+ };
150
156
  useGlobalEndpoint?:
151
157
  | boolean
152
158
  | undefined
@@ -150,6 +150,12 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
150
150
  s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider;
151
151
  bucketEndpoint?: boolean;
152
152
  expectContinueHeader?: boolean | number;
153
+ clientContextParams?: {
154
+ disableS3ExpressSessionAuth?:
155
+ | boolean
156
+ | undefined
157
+ | import("@smithy/types").Provider<boolean | undefined>;
158
+ };
153
159
  useGlobalEndpoint?:
154
160
  | boolean
155
161
  | undefined
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.953.0",
4
+ "version": "3.954.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -30,24 +30,24 @@
30
30
  "@aws-crypto/sha1-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-browser": "5.2.0",
32
32
  "@aws-crypto/sha256-js": "5.2.0",
33
- "@aws-sdk/core": "3.953.0",
34
- "@aws-sdk/credential-provider-node": "3.953.0",
33
+ "@aws-sdk/core": "3.954.0",
34
+ "@aws-sdk/credential-provider-node": "3.954.0",
35
35
  "@aws-sdk/middleware-bucket-endpoint": "3.953.0",
36
36
  "@aws-sdk/middleware-expect-continue": "3.953.0",
37
- "@aws-sdk/middleware-flexible-checksums": "3.953.0",
37
+ "@aws-sdk/middleware-flexible-checksums": "3.954.0",
38
38
  "@aws-sdk/middleware-host-header": "3.953.0",
39
39
  "@aws-sdk/middleware-location-constraint": "3.953.0",
40
40
  "@aws-sdk/middleware-logger": "3.953.0",
41
41
  "@aws-sdk/middleware-recursion-detection": "3.953.0",
42
- "@aws-sdk/middleware-sdk-s3": "3.953.0",
42
+ "@aws-sdk/middleware-sdk-s3": "3.954.0",
43
43
  "@aws-sdk/middleware-ssec": "3.953.0",
44
- "@aws-sdk/middleware-user-agent": "3.953.0",
44
+ "@aws-sdk/middleware-user-agent": "3.954.0",
45
45
  "@aws-sdk/region-config-resolver": "3.953.0",
46
- "@aws-sdk/signature-v4-multi-region": "3.953.0",
46
+ "@aws-sdk/signature-v4-multi-region": "3.954.0",
47
47
  "@aws-sdk/types": "3.953.0",
48
48
  "@aws-sdk/util-endpoints": "3.953.0",
49
49
  "@aws-sdk/util-user-agent-browser": "3.953.0",
50
- "@aws-sdk/util-user-agent-node": "3.953.0",
50
+ "@aws-sdk/util-user-agent-node": "3.954.0",
51
51
  "@smithy/config-resolver": "^4.4.4",
52
52
  "@smithy/core": "^3.19.0",
53
53
  "@smithy/eventstream-serde-browser": "^4.2.6",
@@ -60,21 +60,21 @@
60
60
  "@smithy/invalid-dependency": "^4.2.6",
61
61
  "@smithy/md5-js": "^4.2.6",
62
62
  "@smithy/middleware-content-length": "^4.2.6",
63
- "@smithy/middleware-endpoint": "^4.3.15",
64
- "@smithy/middleware-retry": "^4.4.15",
63
+ "@smithy/middleware-endpoint": "^4.4.0",
64
+ "@smithy/middleware-retry": "^4.4.16",
65
65
  "@smithy/middleware-serde": "^4.2.7",
66
66
  "@smithy/middleware-stack": "^4.2.6",
67
67
  "@smithy/node-config-provider": "^4.3.6",
68
68
  "@smithy/node-http-handler": "^4.4.6",
69
69
  "@smithy/protocol-http": "^5.3.6",
70
- "@smithy/smithy-client": "^4.10.0",
70
+ "@smithy/smithy-client": "^4.10.1",
71
71
  "@smithy/types": "^4.10.0",
72
72
  "@smithy/url-parser": "^4.2.6",
73
73
  "@smithy/util-base64": "^4.3.0",
74
74
  "@smithy/util-body-length-browser": "^4.2.0",
75
75
  "@smithy/util-body-length-node": "^4.2.1",
76
- "@smithy/util-defaults-mode-browser": "^4.3.14",
77
- "@smithy/util-defaults-mode-node": "^4.2.17",
76
+ "@smithy/util-defaults-mode-browser": "^4.3.15",
77
+ "@smithy/util-defaults-mode-node": "^4.2.18",
78
78
  "@smithy/util-endpoints": "^3.2.6",
79
79
  "@smithy/util-middleware": "^4.2.6",
80
80
  "@smithy/util-retry": "^4.2.6",
@@ -84,7 +84,7 @@
84
84
  "tslib": "^2.6.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@aws-sdk/signature-v4-crt": "3.953.0",
87
+ "@aws-sdk/signature-v4-crt": "3.954.0",
88
88
  "@tsconfig/node18": "18.2.4",
89
89
  "@types/node": "^18.19.69",
90
90
  "concurrently": "7.0.0",