@@ -27,6 +27,7 @@ const struct aws_byte_cursor g_s3_create_multipart_upload_excluded_headers[] = {
27
27
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-checksum-sha1" ),
28
28
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-checksum-sha256" ),
29
29
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("if-none-match" ),
30
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
30
31
};
31
32
32
33
const size_t g_s3_create_multipart_upload_excluded_headers_count =
@@ -62,6 +63,7 @@ const struct aws_byte_cursor g_s3_upload_part_excluded_headers[] = {
62
63
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-checksum-sha1" ),
63
64
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-checksum-sha256" ),
64
65
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("if-none-match" ),
66
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
65
67
};
66
68
67
69
const size_t g_s3_upload_part_excluded_headers_count = AWS_ARRAY_SIZE (g_s3_upload_part_excluded_headers );
@@ -96,6 +98,7 @@ const struct aws_byte_cursor g_s3_complete_multipart_upload_excluded_headers[] =
96
98
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source" ),
97
99
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source-range" ),
98
100
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-mp-object-size" ),
101
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
99
102
};
100
103
101
104
const size_t g_s3_complete_multipart_upload_excluded_headers_count =
@@ -131,6 +134,7 @@ const struct aws_byte_cursor g_s3_complete_multipart_upload_with_checksum_exclud
131
134
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source-range" ),
132
135
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-sdk-checksum-algorithm" ),
133
136
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-mp-object-size" ),
137
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
134
138
};
135
139
136
140
const struct aws_byte_cursor g_s3_list_parts_excluded_headers [] = {
@@ -162,6 +166,7 @@ const struct aws_byte_cursor g_s3_list_parts_excluded_headers[] = {
162
166
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-object-lock-legal-hold" ),
163
167
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source" ),
164
168
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source-range" ),
169
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
165
170
};
166
171
167
172
const size_t g_s3_list_parts_excluded_headers_count = AWS_ARRAY_SIZE (g_s3_list_parts_excluded_headers );
@@ -192,6 +197,7 @@ const struct aws_byte_cursor g_s3_list_parts_with_checksum_excluded_headers[] =
192
197
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-object-lock-legal-hold" ),
193
198
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source" ),
194
199
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source-range" ),
200
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
195
201
};
196
202
197
203
const size_t g_s3_list_parts_with_checksum_excluded_headers_count =
@@ -227,8 +233,19 @@ const struct aws_byte_cursor g_s3_abort_multipart_upload_excluded_headers[] = {
227
233
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source" ),
228
234
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-copy-source-range" ),
229
235
AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("if-none-match" ),
236
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
230
237
};
231
238
239
+ const struct aws_byte_cursor g_s3_create_session_allowed_headers [] = {
240
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-create-session-mode" ),
241
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-server-side-encryption" ),
242
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-server-side-encryption-aws-kms-key-id" ),
243
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-server-side-encryption-context" ),
244
+ AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-server-side-encryption-bucket-key-enabled" ),
245
+ };
246
+
247
+ const size_t g_s3_create_session_allowed_headers_count = AWS_ARRAY_SIZE (g_s3_create_session_allowed_headers );
248
+
232
249
static const struct aws_byte_cursor s_x_amz_meta_prefix = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL ("x-amz-meta-" );
233
250
234
251
static const struct aws_byte_cursor s_checksum_type_header =
0 commit comments