From faca3624041cecc00b2cb6e58af9e00b748b4b7f Mon Sep 17 00:00:00 2001 From: Alex Woods Date: Mon, 15 Jul 2024 11:48:46 -0700 Subject: [PATCH] key -> value --- .../lib/aws-sdk-code-generator/views/types_module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/types_module.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/types_module.rb index 981665c9cfa..492c9e76faa 100644 --- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/types_module.rb +++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/types_module.rb @@ -92,7 +92,7 @@ def struct_members(shape) case member_target["type"] when 'map' key_shape = @api['shapes'][member_target['key']['shape']] - value_shape = @api['shapes'][member_target['key']['shape']] + value_shape = @api['shapes'][member_target['value']['shape']] sensitive ||= !!(key_shape['sensitive'] || value_shape['sensitive']) when 'list' list_member = @api['shapes'][member_target['member']['shape']]