@aws-sdk/client-s3 3.229.0 → 3.234.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.
@@ -14,6 +14,7 @@ class CreateBucketCommand extends smithy_client_1.Command {
14
14
  }
15
15
  static getEndpointParameterInstructions() {
16
16
  return {
17
+ DisableAccessPoints: { type: "staticContextParams", value: true },
17
18
  Bucket: { type: "contextParams", name: "Bucket" },
18
19
  ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
19
20
  UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WriteGetObjectResponseCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
- const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
6
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
7
  const models_1_1 = require("../models/models_1");
@@ -14,6 +13,7 @@ class WriteGetObjectResponseCommand extends smithy_client_1.Command {
14
13
  }
15
14
  static getEndpointParameterInstructions() {
16
15
  return {
16
+ UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
17
17
  ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
18
18
  UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
19
  DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
@@ -28,7 +28,6 @@ class WriteGetObjectResponseCommand extends smithy_client_1.Command {
28
28
  resolveMiddleware(clientStack, configuration, options) {
29
29
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
30
30
  this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, WriteGetObjectResponseCommand.getEndpointParameterInstructions()));
31
- this.middlewareStack.use((0, middleware_sdk_s3_1.getWriteGetObjectResponseEndpointPlugin)(configuration));
32
31
  const stack = clientStack.concat(this.middlewareStack);
33
32
  const { logger } = configuration;
34
33
  const clientName = "S3Client";
@@ -11,6 +11,7 @@ export class CreateBucketCommand extends $Command {
11
11
  }
12
12
  static getEndpointParameterInstructions() {
13
13
  return {
14
+ DisableAccessPoints: { type: "staticContextParams", value: true },
14
15
  Bucket: { type: "contextParams", name: "Bucket" },
15
16
  ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
16
17
  UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
@@ -1,5 +1,4 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getWriteGetObjectResponseEndpointPlugin } from "@aws-sdk/middleware-sdk-s3";
3
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1";
@@ -11,6 +10,7 @@ export class WriteGetObjectResponseCommand extends $Command {
11
10
  }
12
11
  static getEndpointParameterInstructions() {
13
12
  return {
13
+ UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
14
14
  ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
15
15
  UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
16
16
  DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
@@ -25,7 +25,6 @@ export class WriteGetObjectResponseCommand extends $Command {
25
25
  resolveMiddleware(clientStack, configuration, options) {
26
26
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
27
27
  this.middlewareStack.use(getEndpointPlugin(configuration, WriteGetObjectResponseCommand.getEndpointParameterInstructions()));
28
- this.middlewareStack.use(getWriteGetObjectResponseEndpointPlugin(configuration));
29
28
  const stack = clientStack.concat(this.middlewareStack);
30
29
  const { logger } = configuration;
31
30
  const clientName = "S3Client";
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.229.0",
4
+ "version": "3.234.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,9 +23,9 @@
23
23
  "@aws-crypto/sha1-browser": "2.0.0",
24
24
  "@aws-crypto/sha256-browser": "2.0.0",
25
25
  "@aws-crypto/sha256-js": "2.0.0",
26
- "@aws-sdk/client-sts": "3.229.0",
27
- "@aws-sdk/config-resolver": "3.226.0",
28
- "@aws-sdk/credential-provider-node": "3.229.0",
26
+ "@aws-sdk/client-sts": "3.234.0",
27
+ "@aws-sdk/config-resolver": "3.234.0",
28
+ "@aws-sdk/credential-provider-node": "3.234.0",
29
29
  "@aws-sdk/eventstream-serde-browser": "3.226.0",
30
30
  "@aws-sdk/eventstream-serde-config-resolver": "3.226.0",
31
31
  "@aws-sdk/eventstream-serde-node": "3.226.0",
@@ -45,7 +45,7 @@
45
45
  "@aws-sdk/middleware-logger": "3.226.0",
46
46
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
47
47
  "@aws-sdk/middleware-retry": "3.229.0",
48
- "@aws-sdk/middleware-sdk-s3": "3.226.0",
48
+ "@aws-sdk/middleware-sdk-s3": "3.231.0",
49
49
  "@aws-sdk/middleware-serde": "3.226.0",
50
50
  "@aws-sdk/middleware-signing": "3.226.0",
51
51
  "@aws-sdk/middleware-ssec": "3.226.0",
@@ -55,14 +55,14 @@
55
55
  "@aws-sdk/node-http-handler": "3.226.0",
56
56
  "@aws-sdk/protocol-http": "3.226.0",
57
57
  "@aws-sdk/signature-v4-multi-region": "3.226.0",
58
- "@aws-sdk/smithy-client": "3.226.0",
58
+ "@aws-sdk/smithy-client": "3.234.0",
59
59
  "@aws-sdk/types": "3.226.0",
60
60
  "@aws-sdk/url-parser": "3.226.0",
61
61
  "@aws-sdk/util-base64": "3.208.0",
62
62
  "@aws-sdk/util-body-length-browser": "3.188.0",
63
63
  "@aws-sdk/util-body-length-node": "3.208.0",
64
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
65
- "@aws-sdk/util-defaults-mode-node": "3.226.0",
64
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
65
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
66
66
  "@aws-sdk/util-endpoints": "3.226.0",
67
67
  "@aws-sdk/util-retry": "3.229.0",
68
68
  "@aws-sdk/util-stream-browser": "3.226.0",