40 40 | pub(crate) mod shape_document_type_as_payload;
|
41 41 |
|
42 42 | pub fn serialize_document(input: &::aws_smithy_types::Document) -> ::std::vec::Vec<u8> {
|
43 43 | let mut out = String::new();
|
44 44 | ::aws_smithy_json::serialize::JsonValueWriter::new(&mut out).document(input);
|
45 45 | out.into_bytes()
|
46 46 | }
|
47 47 |
|
48 48 | pub(crate) mod shape_document_type_as_payload_input;
|
49 49 |
|
50 + | pub(crate) mod shape_duplex_stream;
|
51 + |
|
52 + | pub(crate) mod shape_duplex_stream_with_distinct_streams;
|
53 + |
|
54 + | pub(crate) mod shape_duplex_stream_with_initial_messages;
|
55 + |
|
50 56 | pub(crate) mod shape_empty_input_and_empty_output;
|
51 57 |
|
52 58 | pub(crate) mod shape_endpoint_operation;
|
53 59 |
|
54 60 | pub(crate) mod shape_endpoint_with_host_label_operation;
|
55 61 |
|
56 62 | pub(crate) mod shape_fractional_seconds;
|
57 63 |
|
58 64 | pub(crate) mod shape_greeting_with_errors;
|
59 65 |
|
60 66 | pub(crate) mod shape_host_with_path_operation;
|
61 67 |
|
62 68 | pub(crate) mod shape_http_checksum_required;
|
63 69 |
|
64 70 | pub(crate) mod shape_http_empty_prefix_headers;
|
65 71 |
|
66 72 | pub(crate) mod shape_http_enum_payload;
|
67 73 |
|
68 74 | pub(crate) mod shape_http_enum_payload_input;
|
69 75 |
|
70 76 | pub(crate) mod shape_http_payload_traits;
|
71 77 |
|
72 78 | pub(crate) mod shape_http_payload_traits_input;
|
73 79 |
|
74 80 | pub(crate) mod shape_http_payload_traits_with_media_type;
|
75 81 |
|
76 82 | pub(crate) mod shape_http_payload_traits_with_media_type_input;
|
77 83 |
|
78 84 | pub(crate) mod shape_http_payload_with_structure;
|
79 85 |
|
80 86 | pub fn rest_json_unset_struct_payload() -> ::std::vec::Vec<u8> {
|
81 87 | b"{}"[..].into()
|
82 88 | }
|
83 89 |
|
84 90 | pub(crate) mod shape_http_payload_with_structure_input;
|
85 91 |
|
86 92 | pub(crate) mod shape_http_payload_with_union;
|
87 93 |
|
88 94 | pub fn rest_json_unset_union_payload() -> ::std::vec::Vec<u8> {
|
89 95 | ::std::vec::Vec::new()
|
90 96 | }
|
91 97 |
|
92 98 | pub(crate) mod shape_http_payload_with_union_input;
|
93 99 |
|
94 100 | pub(crate) mod shape_http_prefix_headers;
|
95 101 |
|
96 102 | pub(crate) mod shape_http_prefix_headers_in_response;
|
97 103 |
|
104 + | pub(crate) mod shape_http_query_params_only_operation;
|
105 + |
|
98 106 | pub(crate) mod shape_http_request_with_float_labels;
|
99 107 |
|
100 108 | pub(crate) mod shape_http_request_with_greedy_label_in_path;
|
101 109 |
|
102 110 | pub(crate) mod shape_http_request_with_labels;
|
103 111 |
|
104 112 | pub(crate) mod shape_http_request_with_labels_and_timestamp_format;
|
105 113 |
|
106 114 | pub(crate) mod shape_http_request_with_regex_literal;
|
107 115 |
|
108 116 | pub(crate) mod shape_http_response_code;
|
109 117 |
|
110 118 | pub(crate) mod shape_http_string_payload;
|
111 119 |
|
112 120 | pub(crate) mod shape_http_string_payload_input;
|
113 121 |
|
114 122 | pub(crate) mod shape_ignore_query_params_in_response;
|
115 123 |
|
116 124 | pub(crate) mod shape_input_and_output_with_headers;
|
117 125 |
|
126 + | pub(crate) mod shape_input_stream;
|
127 + |
|
128 + | pub(crate) mod shape_input_stream_with_initial_request;
|
129 + |
|
118 130 | pub(crate) mod shape_json_blobs;
|
119 131 |
|
120 132 | pub(crate) mod shape_json_enums;
|
121 133 |
|
122 134 | pub(crate) mod shape_json_int_enums;
|
123 135 |
|
124 136 | pub(crate) mod shape_json_lists;
|
125 137 |
|
126 138 | pub(crate) mod shape_json_maps;
|
127 139 |
|
286 302 | pub(crate) mod shape_complex_error;
|
287 303 |
|
288 304 | pub(crate) mod shape_content_type_parameters_input;
|
289 305 |
|
290 306 | pub(crate) mod shape_document_type_as_map_value_input;
|
291 307 |
|
292 308 | pub(crate) mod shape_document_type_as_payload_output;
|
293 309 |
|
294 310 | pub(crate) mod shape_document_type_input;
|
295 311 |
|
312 + | pub(crate) mod shape_duplex_stream_output;
|
313 + |
|
314 + | pub(crate) mod shape_duplex_stream_with_distinct_streams_output;
|
315 + |
|
316 + | pub(crate) mod shape_duplex_stream_with_initial_messages_output;
|
317 + |
|
296 318 | pub(crate) mod shape_endpoint_with_host_label_operation_input;
|
297 319 |
|
320 + | pub(crate) mod shape_error_event;
|
321 + |
|
298 322 | pub(crate) mod shape_foo_error;
|
299 323 |
|
300 324 | pub(crate) mod shape_greeting_with_errors_output;
|
301 325 |
|
326 + | pub(crate) mod shape_headers_and_explicit_payload_event;
|
327 + |
|
302 328 | pub(crate) mod shape_http_checksum_required_input;
|
303 329 |
|
304 330 | pub(crate) mod shape_http_empty_prefix_headers_output;
|
305 331 |
|
306 332 | pub(crate) mod shape_http_enum_payload_output;
|
307 333 |
|
308 334 | pub(crate) mod shape_http_payload_traits_output;
|
309 335 |
|
310 336 | pub(crate) mod shape_http_payload_traits_with_media_type_output;
|
311 337 |
|
376 402 | pub(crate) mod shape_media_type_header_output;
|
377 403 |
|
378 404 | pub(crate) mod shape_null_and_empty_headers_client_output;
|
379 405 |
|
380 406 | pub(crate) mod shape_null_and_empty_headers_server_output;
|
381 407 |
|
382 408 | pub(crate) mod shape_operation_with_defaults_input;
|
383 409 |
|
384 410 | pub(crate) mod shape_operation_with_nested_structure_input;
|
385 411 |
|
412 + | pub(crate) mod shape_output_stream_output;
|
413 + |
|
414 + | pub(crate) mod shape_output_stream_with_initial_response_output;
|
415 + |
|
386 416 | pub(crate) mod shape_post_player_action_input;
|
387 417 |
|
388 418 | pub(crate) mod shape_post_union_with_json_name_input;
|
389 419 |
|
390 420 | pub(crate) mod shape_put_with_content_encoding_input;
|
391 421 |
|
392 422 | pub(crate) mod shape_recursive_shapes_input;
|
393 423 |
|
424 + | pub(crate) mod shape_service_unavailable_error;
|
425 + |
|
394 426 | pub(crate) mod shape_simple_scalar_properties_input;
|
395 427 |
|
396 428 | pub(crate) mod shape_simple_scalar_properties_output;
|
397 429 |
|
398 430 | pub(crate) mod shape_sparse_json_lists_input;
|
399 431 |
|
400 432 | pub(crate) mod shape_sparse_json_maps_input;
|
401 433 |
|
402 434 | pub(crate) mod shape_streaming_traits_output;
|
403 435 |
|
404 436 | pub(crate) mod shape_streaming_traits_with_media_type_output;
|
405 437 |
|
438 + | pub(crate) mod shape_structure_payload_event;
|
439 + |
|
406 440 | pub(crate) mod shape_test_body_structure_input;
|
407 441 |
|
408 442 | pub(crate) mod shape_test_body_structure_output;
|
409 443 |
|
410 444 | pub(crate) mod shape_test_get_no_input_no_payload_output;
|
411 445 |
|
412 446 | pub(crate) mod shape_test_get_no_payload_output;
|
413 447 |
|
414 448 | pub(crate) mod shape_test_payload_blob_output;
|
415 449 |
|
416 450 | pub(crate) mod shape_test_payload_structure_output;
|
417 451 |
|
418 452 | pub(crate) mod shape_test_post_no_input_no_payload_output;
|
419 453 |
|
420 454 | pub(crate) mod shape_test_post_no_payload_output;
|
421 455 |
|
422 456 | pub(crate) mod shape_timestamp_format_headers_output;
|
423 457 |
|
458 + | pub(crate) mod shape_union_payload_event;
|
459 + |
|
460 + | pub fn parse_event_stream_error_metadata(
|
461 + | payload: &::bytes::Bytes,
|
462 + | ) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
|
463 + | crate::json_errors::parse_error_metadata(payload, &::aws_smithy_runtime_api::http::Headers::new())
|
464 + | }
|
465 + |
|
424 466 | pub(crate) mod shape_boolean_list;
|
425 467 |
|
426 468 | pub(crate) mod shape_client_optional_defaults;
|
427 469 |
|
428 470 | pub(crate) mod shape_complex_nested_error_data;
|
429 471 |
|
430 472 | pub(crate) mod shape_defaults;
|
431 473 |
|
432 474 | pub(crate) mod shape_dense_boolean_map;
|
433 475 |
|
434 476 | pub(crate) mod shape_dense_number_map;
|
435 477 |
|
436 478 | pub(crate) mod shape_dense_set_map;
|
437 479 |
|
438 480 | pub(crate) mod shape_dense_string_map;
|
439 481 |
|
440 482 | pub(crate) mod shape_dense_struct_map;
|
441 483 |
|
442 484 | pub(crate) mod shape_dialog;
|
443 485 |
|
444 486 | pub(crate) mod shape_dialog_list;
|
445 487 |
|
446 488 | pub(crate) mod shape_dialog_map;
|
447 489 |
|
448 490 | pub(crate) mod shape_document;
|
449 491 |
|
450 492 | pub(crate) mod shape_document_valued_map;
|
451 493 |
|
452 494 | pub(crate) mod shape_foo_enum_list;
|
453 495 |
|
454 496 | pub(crate) mod shape_foo_enum_map;
|
455 497 |
|
456 498 | pub(crate) mod shape_foo_enum_set;
|
457 499 |
|
458 500 | pub(crate) mod shape_greeting_struct;
|
459 501 |
|
460 502 | pub(crate) mod shape_integer_enum_list;
|
461 503 |
|
462 504 | pub(crate) mod shape_integer_enum_map;
|
463 505 |
|
464 506 | pub(crate) mod shape_integer_enum_set;
|
465 507 |
|
466 508 | pub(crate) mod shape_integer_list;
|
467 509 |
|
468 510 | pub(crate) mod shape_my_union;
|
469 511 |
|
470 512 | pub(crate) mod shape_nested_payload;
|
471 513 |
|
472 514 | pub(crate) mod shape_nested_string_list;
|
473 515 |
|
474 516 | pub(crate) mod shape_payload_config;
|
475 517 |
|
518 + | pub(crate) mod shape_payload_structure;
|
519 + |
|
520 + | pub(crate) mod shape_payload_union;
|
521 + |
|
476 522 | pub(crate) mod shape_player_action;
|
477 523 |
|
478 524 | pub(crate) mod shape_recursive_shapes_input_output_nested1;
|
479 525 |
|
480 526 | pub(crate) mod shape_simple_union;
|
481 527 |
|
528 + | pub(crate) mod shape_singleton_event_stream;
|
529 + |
|
482 530 | pub(crate) mod shape_sparse_boolean_map;
|
483 531 |
|
484 532 | pub(crate) mod shape_sparse_number_map;
|
485 533 |
|
486 534 | pub(crate) mod shape_sparse_set_map;
|
487 535 |
|
488 536 | pub(crate) mod shape_sparse_short_list;
|
489 537 |
|
490 538 | pub(crate) mod shape_sparse_string_list;
|
491 539 |
|
492 540 | pub(crate) mod shape_sparse_string_map;
|
493 541 |
|
494 542 | pub(crate) mod shape_sparse_struct_map;
|
495 543 |
|
496 544 | pub(crate) mod shape_string_list;
|
497 545 |
|
498 546 | pub(crate) mod shape_string_set;
|
499 547 |
|
500 548 | pub(crate) mod shape_structure_list;
|
501 549 |
|
502 550 | pub(crate) mod shape_structure_list_member;
|
503 551 |
|
504 552 | pub(crate) mod shape_test_config;
|
505 553 |
|
506 554 | pub(crate) mod shape_test_string_list;
|
507 555 |
|
508 556 | pub(crate) mod shape_test_string_map;
|
509 557 |
|
510 558 | pub(crate) mod shape_timestamp_list;
|
511 559 |
|
512 560 | pub(crate) mod shape_top_level;
|
513 561 |
|
514 562 | pub(crate) mod shape_union_payload;
|
515 563 |
|
516 564 | pub(crate) mod shape_union_with_json_name;
|
517 565 |
|
518 566 | pub(crate) mod shape_farewell;
|
519 567 |
|
568 + | pub(crate) mod shape_headers_and_implicit_payload_event;
|
569 + |
|
520 570 | pub(crate) mod shape_recursive_shapes_input_output_nested2;
|
521 571 |
|
522 572 | pub(crate) mod shape_renamed_greeting;
|
523 573 |
|
524 574 | pub(crate) mod shape_string_map;
|
575 + |
|
576 + | pub(crate) mod shape_singleton_event;
|