File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
clients/client-s3/protocols
codegen/sdk-codegen/aws-models Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6479,10 +6479,8 @@ export const deserializeAws_restXmlGetBucketPolicyCommand = async (
64796479 $metadata : deserializeMetadata ( output ) ,
64806480 Policy : undefined ,
64816481 } ;
6482- const data : any = await parseBody ( output . body , context ) ;
6483- if ( data [ "Policy" ] !== undefined ) {
6484- contents . Policy = data [ "Policy" ] ;
6485- }
6482+ const data : any = await collectBodyString ( output . body , context ) ;
6483+ contents . Policy = data ;
64866484 return Promise . resolve ( contents ) ;
64876485} ;
64886486
Original file line number Diff line number Diff line change 42334233 "Policy": {
42344234 "target": "com.amazonaws.s3#Policy",
42354235 "traits": {
4236- "smithy.api#documentation": "<p>The bucket policy as a JSON document.</p>"
4236+ "smithy.api#documentation": "<p>The bucket policy as a JSON document.</p>",
4237+ "smithy.api#httpPayload": {}
42374238 }
42384239 }
42394240 }
You can’t perform that action at this time.
0 commit comments