File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
private/aws-client-api-test
src/client-interface-tests/client-s3/impl Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 28
28
"@aws-sdk/client-sqs" : " *" ,
29
29
"@aws-sdk/client-sts" : " *" ,
30
30
"@aws-sdk/client-transcribe-streaming" : " *" ,
31
+ "@aws-sdk/core" : " *" ,
31
32
"@aws-sdk/credential-provider-node" : " *" ,
32
33
"@aws-sdk/middleware-bucket-endpoint" : " *" ,
33
34
"@aws-sdk/middleware-flexible-checksums" : " *" ,
Original file line number Diff line number Diff line change 1
1
import { S3Client , S3ClientConfigType } from "@aws-sdk/client-s3" ;
2
+ import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols" ;
2
3
import { defaultProvider as credentialDefaultProvider , defaultProvider } from "@aws-sdk/credential-provider-node" ;
3
4
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint" ;
4
5
import {
@@ -84,6 +85,10 @@ export const initializeWithMaximalConfiguration = () => {
84
85
tls : true ,
85
86
disableHostPrefix : false ,
86
87
signingRegion : "us-west-2" ,
88
+ protocol : new AwsRestXmlProtocol ( {
89
+ defaultNamespace : "com.amazonaws.s3" ,
90
+ xmlNamespace : "http://s3.amazonaws.com/doc/2006-03-01/" ,
91
+ } ) ,
87
92
// END user options
88
93
89
94
// BEGIN internal options
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ __metadata:
111
111
"@aws-sdk/client-sqs": "npm:*"
112
112
"@aws-sdk/client-sts": "npm:*"
113
113
"@aws-sdk/client-transcribe-streaming": "npm:*"
114
+ "@aws-sdk/core": "npm:*"
114
115
"@aws-sdk/credential-provider-node": "npm:*"
115
116
"@aws-sdk/middleware-bucket-endpoint": "npm:*"
116
117
"@aws-sdk/middleware-flexible-checksums": "npm:*"
You can’t perform that action at this time.
0 commit comments