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 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" : " *" ,
Original file line number Diff line number Diff line change 11import { S3Client , S3ClientConfigType } from "@aws-sdk/client-s3" ;
2+ import { AwsRestXmlProtocol } from "@aws-sdk/core/protocols" ;
23import { defaultProvider as credentialDefaultProvider , defaultProvider } from "@aws-sdk/credential-provider-node" ;
34import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint" ;
45import {
@@ -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
Original file line number Diff line number Diff 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:*"
You can’t perform that action at this time.
0 commit comments