Skip to content

Commit 49a7bed

Browse files
committed
chore: update maximal config
1 parent 9a8f34a commit 49a7bed

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
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: 1 addition & 0 deletions
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:*"

0 commit comments

Comments
 (0)