Skip to content

Commit e03962e

Browse files
committed
chore: update maximal config
1 parent 90233de commit e03962e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

private/aws-client-api-test/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@aws-sdk/client-sqs": "*",
2929
"@aws-sdk/client-sts": "*",
3030
"@aws-sdk/client-transcribe-streaming": "*",
31+
"@aws-sdk/core": "*",
3132
"@aws-sdk/credential-provider-node": "*",
3233
"@aws-sdk/middleware-bucket-endpoint": "*",
3334
"@aws-sdk/middleware-flexible-checksums": "*",

private/aws-client-api-test/src/client-interface-tests/client-s3/impl/initializeWithMaximalConfiguration.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { S3Client, S3ClientConfigType } from "@aws-sdk/client-s3";
2+
import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols";
23
import { defaultProvider as credentialDefaultProvider, defaultProvider } from "@aws-sdk/credential-provider-node";
34
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
45
import {
@@ -84,6 +85,10 @@ export const initializeWithMaximalConfiguration = () => {
8485
tls: true,
8586
disableHostPrefix: false,
8687
signingRegion: "us-west-2",
88+
protocol: new AwsRestXmlProtocol({
89+
defaultNamespace: "com.amazonaws.s3",
90+
xmlNamespace: "http://s3.amazonaws.com/doc/2006-03-01/",
91+
}),
8792
// END user options
8893

8994
// BEGIN internal options

yarn.lock

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ __metadata:
111111
"@aws-sdk/client-sqs": "npm:*"
112112
"@aws-sdk/client-sts": "npm:*"
113113
"@aws-sdk/client-transcribe-streaming": "npm:*"
114+
"@aws-sdk/core": "npm:*"
114115
"@aws-sdk/credential-provider-node": "npm:*"
115116
"@aws-sdk/middleware-bucket-endpoint": "npm:*"
116117
"@aws-sdk/middleware-flexible-checksums": "npm:*"
@@ -1191,6 +1192,7 @@ __metadata:
11911192
"@aws-sdk/util-endpoints": "npm:*"
11921193
"@aws-sdk/util-user-agent-browser": "npm:*"
11931194
"@aws-sdk/util-user-agent-node": "npm:*"
1195+
"@aws-sdk/xml-builder": "npm:*"
11941196
"@smithy/config-resolver": "npm:^4.2.2"
11951197
"@smithy/core": "npm:^3.12.0"
11961198
"@smithy/fetch-http-handler": "npm:^5.2.1"
@@ -6772,7 +6774,6 @@ __metadata:
67726774
"@smithy/util-middleware": "npm:^4.1.1"
67736775
"@smithy/util-retry": "npm:^4.1.2"
67746776
"@smithy/util-utf8": "npm:^4.1.0"
6775-
"@smithy/uuid": "npm:^1.0.0"
67766777
"@tsconfig/node18": "npm:18.2.4"
67776778
"@types/node": "npm:^18.19.69"
67786779
concurrently: "npm:7.0.0"
@@ -19201,6 +19202,7 @@ __metadata:
1920119202
"@aws-sdk/util-endpoints": "npm:*"
1920219203
"@aws-sdk/util-user-agent-browser": "npm:*"
1920319204
"@aws-sdk/util-user-agent-node": "npm:*"
19205+
"@aws-sdk/xml-builder": "npm:*"
1920419206
"@smithy/config-resolver": "npm:^4.2.2"
1920519207
"@smithy/core": "npm:^3.12.0"
1920619208
"@smithy/fetch-http-handler": "npm:^5.2.1"
@@ -19267,6 +19269,7 @@ __metadata:
1926719269
"@aws-sdk/util-endpoints": "npm:*"
1926819270
"@aws-sdk/util-user-agent-browser": "npm:*"
1926919271
"@aws-sdk/util-user-agent-node": "npm:*"
19272+
"@aws-sdk/xml-builder": "npm:*"
1927019273
"@smithy/config-resolver": "npm:^4.2.2"
1927119274
"@smithy/core": "npm:^3.12.0"
1927219275
"@smithy/eventstream-serde-browser": "npm:^4.1.1"

0 commit comments

Comments
 (0)