Skip to content

Commit 6fd0a37

Browse files
committed
chore: codegen fixing incorrect x-amz-sha256
1 parent bb34353 commit 6fd0a37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clients/client-lex-runtime-service/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export const serializeAws_restJson1PostContentCommand = async (
179179
): Promise<__HttpRequest> => {
180180
const headers: any = {
181181
"Content-Type": "application/octet-stream",
182-
"x-amz-content-sha256": "UNSIGNED_PAYLOAD",
182+
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
183183
...(isSerializableHeaderValue(input.accept) && { Accept: input.accept! }),
184184
...(isSerializableHeaderValue(input.contentType) && {
185185
"Content-Type": input.contentType!

clients/client-mediastore-data/protocols/Aws_restJson1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export const serializeAws_restJson1PutObjectCommand = async (
184184
): Promise<__HttpRequest> => {
185185
const headers: any = {
186186
"Content-Type": "application/octet-stream",
187-
"x-amz-content-sha256": "UNSIGNED_PAYLOAD",
187+
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
188188
...(isSerializableHeaderValue(input.CacheControl) && {
189189
"Cache-Control": input.CacheControl!
190190
}),

0 commit comments

Comments
 (0)