1#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
9pub struct ChangeGuideVisibility {
10 _private: (),
11}
12impl ChangeGuideVisibility {
13 pub fn builder() -> crate::input::change_guide_visibility_input::Builder {
15 crate::input::change_guide_visibility_input::Builder::default()
16 }
17 pub fn new() -> Self {
19 Self { _private: () }
20 }
21}
22impl aws_smithy_http::response::ParseStrictResponse for ChangeGuideVisibility {
23 type Output = std::result::Result<
24 crate::output::ChangeGuideVisibilityOutput,
25 crate::error::ChangeGuideVisibilityError,
26 >;
27 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
28 if !response.status().is_success() && response.status().as_u16() != 200 {
29 crate::operation_deser::parse_change_guide_visibility_error(response)
30 } else {
31 crate::operation_deser::parse_change_guide_visibility_response(response)
32 }
33 }
34}
35
36#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
43pub struct CreateGuide {
44 _private: (),
45}
46impl CreateGuide {
47 pub fn builder() -> crate::input::create_guide_input::Builder {
49 crate::input::create_guide_input::Builder::default()
50 }
51 pub fn new() -> Self {
53 Self { _private: () }
54 }
55}
56impl aws_smithy_http::response::ParseStrictResponse for CreateGuide {
57 type Output =
58 std::result::Result<crate::output::CreateGuideOutput, crate::error::CreateGuideError>;
59 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
60 if !response.status().is_success() && response.status().as_u16() != 201 {
61 crate::operation_deser::parse_create_guide_error(response)
62 } else {
63 crate::operation_deser::parse_create_guide_response(response)
64 }
65 }
66}
67
68#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
75pub struct CreateGuideAttachment {
76 _private: (),
77}
78impl CreateGuideAttachment {
79 pub fn builder() -> crate::input::create_guide_attachment_input::Builder {
81 crate::input::create_guide_attachment_input::Builder::default()
82 }
83 pub fn new() -> Self {
85 Self { _private: () }
86 }
87}
88impl aws_smithy_http::response::ParseStrictResponse for CreateGuideAttachment {
89 type Output = std::result::Result<
90 crate::output::CreateGuideAttachmentOutput,
91 crate::error::CreateGuideAttachmentError,
92 >;
93 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
94 if !response.status().is_success() && response.status().as_u16() != 201 {
95 crate::operation_deser::parse_create_guide_attachment_error(response)
96 } else {
97 crate::operation_deser::parse_create_guide_attachment_response(response)
98 }
99 }
100}
101
102#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
109pub struct CreateGuideSample {
110 _private: (),
111}
112impl CreateGuideSample {
113 pub fn builder() -> crate::input::create_guide_sample_input::Builder {
115 crate::input::create_guide_sample_input::Builder::default()
116 }
117 pub fn new() -> Self {
119 Self { _private: () }
120 }
121}
122impl aws_smithy_http::response::ParseStrictResponse for CreateGuideSample {
123 type Output = std::result::Result<
124 crate::output::CreateGuideSampleOutput,
125 crate::error::CreateGuideSampleError,
126 >;
127 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
128 if !response.status().is_success() && response.status().as_u16() != 201 {
129 crate::operation_deser::parse_create_guide_sample_error(response)
130 } else {
131 crate::operation_deser::parse_create_guide_sample_response(response)
132 }
133 }
134}
135
136#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
143pub struct DeleteGuide {
144 _private: (),
145}
146impl DeleteGuide {
147 pub fn builder() -> crate::input::delete_guide_input::Builder {
149 crate::input::delete_guide_input::Builder::default()
150 }
151 pub fn new() -> Self {
153 Self { _private: () }
154 }
155}
156impl aws_smithy_http::response::ParseStrictResponse for DeleteGuide {
157 type Output =
158 std::result::Result<crate::output::DeleteGuideOutput, crate::error::DeleteGuideError>;
159 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
160 if !response.status().is_success() && response.status().as_u16() != 200 {
161 crate::operation_deser::parse_delete_guide_error(response)
162 } else {
163 crate::operation_deser::parse_delete_guide_response(response)
164 }
165 }
166}
167
168#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
175pub struct DeleteGuideAttachment {
176 _private: (),
177}
178impl DeleteGuideAttachment {
179 pub fn builder() -> crate::input::delete_guide_attachment_input::Builder {
181 crate::input::delete_guide_attachment_input::Builder::default()
182 }
183 pub fn new() -> Self {
185 Self { _private: () }
186 }
187}
188impl aws_smithy_http::response::ParseStrictResponse for DeleteGuideAttachment {
189 type Output = std::result::Result<
190 crate::output::DeleteGuideAttachmentOutput,
191 crate::error::DeleteGuideAttachmentError,
192 >;
193 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
194 if !response.status().is_success() && response.status().as_u16() != 202 {
195 crate::operation_deser::parse_delete_guide_attachment_error(response)
196 } else {
197 crate::operation_deser::parse_delete_guide_attachment_response(response)
198 }
199 }
200}
201
202#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
209pub struct DeleteGuideSample {
210 _private: (),
211}
212impl DeleteGuideSample {
213 pub fn builder() -> crate::input::delete_guide_sample_input::Builder {
215 crate::input::delete_guide_sample_input::Builder::default()
216 }
217 pub fn new() -> Self {
219 Self { _private: () }
220 }
221}
222impl aws_smithy_http::response::ParseStrictResponse for DeleteGuideSample {
223 type Output = std::result::Result<
224 crate::output::DeleteGuideSampleOutput,
225 crate::error::DeleteGuideSampleError,
226 >;
227 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
228 if !response.status().is_success() && response.status().as_u16() != 202 {
229 crate::operation_deser::parse_delete_guide_sample_error(response)
230 } else {
231 crate::operation_deser::parse_delete_guide_sample_response(response)
232 }
233 }
234}
235
236#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
243pub struct GetAccountConfig {
244 _private: (),
245}
246impl GetAccountConfig {
247 pub fn builder() -> crate::input::get_account_config_input::Builder {
249 crate::input::get_account_config_input::Builder::default()
250 }
251 pub fn new() -> Self {
253 Self { _private: () }
254 }
255}
256impl aws_smithy_http::response::ParseStrictResponse for GetAccountConfig {
257 type Output = std::result::Result<
258 crate::output::GetAccountConfigOutput,
259 crate::error::GetAccountConfigError,
260 >;
261 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
262 if !response.status().is_success() && response.status().as_u16() != 200 {
263 crate::operation_deser::parse_get_account_config_error(response)
264 } else {
265 crate::operation_deser::parse_get_account_config_response(response)
266 }
267 }
268}
269
270#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
277pub struct GetGuide {
278 _private: (),
279}
280impl GetGuide {
281 pub fn builder() -> crate::input::get_guide_input::Builder {
283 crate::input::get_guide_input::Builder::default()
284 }
285 pub fn new() -> Self {
287 Self { _private: () }
288 }
289}
290impl aws_smithy_http::response::ParseStrictResponse for GetGuide {
291 type Output = std::result::Result<crate::output::GetGuideOutput, crate::error::GetGuideError>;
292 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
293 if !response.status().is_success() && response.status().as_u16() != 200 {
294 crate::operation_deser::parse_get_guide_error(response)
295 } else {
296 crate::operation_deser::parse_get_guide_response(response)
297 }
298 }
299}
300
301#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
308pub struct GetGuidesNetwork {
309 _private: (),
310}
311impl GetGuidesNetwork {
312 pub fn builder() -> crate::input::get_guides_network_input::Builder {
314 crate::input::get_guides_network_input::Builder::default()
315 }
316 pub fn new() -> Self {
318 Self { _private: () }
319 }
320}
321impl aws_smithy_http::response::ParseStrictResponse for GetGuidesNetwork {
322 type Output = std::result::Result<
323 crate::output::GetGuidesNetworkOutput,
324 crate::error::GetGuidesNetworkError,
325 >;
326 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
327 if !response.status().is_success() && response.status().as_u16() != 200 {
328 crate::operation_deser::parse_get_guides_network_error(response)
329 } else {
330 crate::operation_deser::parse_get_guides_network_response(response)
331 }
332 }
333}
334
335#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
342pub struct GetPublicAccountConfig {
343 _private: (),
344}
345impl GetPublicAccountConfig {
346 pub fn builder() -> crate::input::get_public_account_config_input::Builder {
348 crate::input::get_public_account_config_input::Builder::default()
349 }
350 pub fn new() -> Self {
352 Self { _private: () }
353 }
354}
355impl aws_smithy_http::response::ParseStrictResponse for GetPublicAccountConfig {
356 type Output = std::result::Result<
357 crate::output::GetPublicAccountConfigOutput,
358 crate::error::GetPublicAccountConfigError,
359 >;
360 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
361 if !response.status().is_success() && response.status().as_u16() != 200 {
362 crate::operation_deser::parse_get_public_account_config_error(response)
363 } else {
364 crate::operation_deser::parse_get_public_account_config_response(response)
365 }
366 }
367}
368
369#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
376pub struct GetPublicGuide {
377 _private: (),
378}
379impl GetPublicGuide {
380 pub fn builder() -> crate::input::get_public_guide_input::Builder {
382 crate::input::get_public_guide_input::Builder::default()
383 }
384 pub fn new() -> Self {
386 Self { _private: () }
387 }
388}
389impl aws_smithy_http::response::ParseStrictResponse for GetPublicGuide {
390 type Output =
391 std::result::Result<crate::output::GetPublicGuideOutput, crate::error::GetPublicGuideError>;
392 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
393 if !response.status().is_success() && response.status().as_u16() != 200 {
394 crate::operation_deser::parse_get_public_guide_error(response)
395 } else {
396 crate::operation_deser::parse_get_public_guide_response(response)
397 }
398 }
399}
400
401#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
408pub struct GetPublicSharedGuide {
409 _private: (),
410}
411impl GetPublicSharedGuide {
412 pub fn builder() -> crate::input::get_public_shared_guide_input::Builder {
414 crate::input::get_public_shared_guide_input::Builder::default()
415 }
416 pub fn new() -> Self {
418 Self { _private: () }
419 }
420}
421impl aws_smithy_http::response::ParseStrictResponse for GetPublicSharedGuide {
422 type Output = std::result::Result<
423 crate::output::GetPublicSharedGuideOutput,
424 crate::error::GetPublicSharedGuideError,
425 >;
426 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
427 if !response.status().is_success() && response.status().as_u16() != 200 {
428 crate::operation_deser::parse_get_public_shared_guide_error(response)
429 } else {
430 crate::operation_deser::parse_get_public_shared_guide_response(response)
431 }
432 }
433}
434
435#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
442pub struct GetX12TransactionSetMetadata {
443 _private: (),
444}
445impl GetX12TransactionSetMetadata {
446 pub fn builder() -> crate::input::get_x12_transaction_set_metadata_input::Builder {
448 crate::input::get_x12_transaction_set_metadata_input::Builder::default()
449 }
450 pub fn new() -> Self {
452 Self { _private: () }
453 }
454}
455impl aws_smithy_http::response::ParseStrictResponse for GetX12TransactionSetMetadata {
456 type Output = std::result::Result<
457 crate::output::GetX12TransactionSetMetadataOutput,
458 crate::error::GetX12TransactionSetMetadataError,
459 >;
460 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
461 if !response.status().is_success() && response.status().as_u16() != 200 {
462 crate::operation_deser::parse_get_x12_transaction_set_metadata_error(response)
463 } else {
464 crate::operation_deser::parse_get_x12_transaction_set_metadata_response(response)
465 }
466 }
467}
468
469#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
476pub struct ListAllPublicGuides {
477 _private: (),
478}
479impl ListAllPublicGuides {
480 pub fn builder() -> crate::input::list_all_public_guides_input::Builder {
482 crate::input::list_all_public_guides_input::Builder::default()
483 }
484 pub fn new() -> Self {
486 Self { _private: () }
487 }
488}
489impl aws_smithy_http::response::ParseStrictResponse for ListAllPublicGuides {
490 type Output = std::result::Result<
491 crate::output::ListAllPublicGuidesOutput,
492 crate::error::ListAllPublicGuidesError,
493 >;
494 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
495 if !response.status().is_success() && response.status().as_u16() != 200 {
496 crate::operation_deser::parse_list_all_public_guides_error(response)
497 } else {
498 crate::operation_deser::parse_list_all_public_guides_response(response)
499 }
500 }
501}
502
503#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
510pub struct ListGuideAttachments {
511 _private: (),
512}
513impl ListGuideAttachments {
514 pub fn builder() -> crate::input::list_guide_attachments_input::Builder {
516 crate::input::list_guide_attachments_input::Builder::default()
517 }
518 pub fn new() -> Self {
520 Self { _private: () }
521 }
522}
523impl aws_smithy_http::response::ParseStrictResponse for ListGuideAttachments {
524 type Output = std::result::Result<
525 crate::output::ListGuideAttachmentsOutput,
526 crate::error::ListGuideAttachmentsError,
527 >;
528 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
529 if !response.status().is_success() && response.status().as_u16() != 200 {
530 crate::operation_deser::parse_list_guide_attachments_error(response)
531 } else {
532 crate::operation_deser::parse_list_guide_attachments_response(response)
533 }
534 }
535}
536
537#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
544pub struct ListGuides {
545 _private: (),
546}
547impl ListGuides {
548 pub fn builder() -> crate::input::list_guides_input::Builder {
550 crate::input::list_guides_input::Builder::default()
551 }
552 pub fn new() -> Self {
554 Self { _private: () }
555 }
556}
557impl aws_smithy_http::response::ParseStrictResponse for ListGuides {
558 type Output =
559 std::result::Result<crate::output::ListGuidesOutput, crate::error::ListGuidesError>;
560 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
561 if !response.status().is_success() && response.status().as_u16() != 200 {
562 crate::operation_deser::parse_list_guides_error(response)
563 } else {
564 crate::operation_deser::parse_list_guides_response(response)
565 }
566 }
567}
568
569#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
576pub struct ListGuideSamples {
577 _private: (),
578}
579impl ListGuideSamples {
580 pub fn builder() -> crate::input::list_guide_samples_input::Builder {
582 crate::input::list_guide_samples_input::Builder::default()
583 }
584 pub fn new() -> Self {
586 Self { _private: () }
587 }
588}
589impl aws_smithy_http::response::ParseStrictResponse for ListGuideSamples {
590 type Output = std::result::Result<
591 crate::output::ListGuideSamplesOutput,
592 crate::error::ListGuideSamplesError,
593 >;
594 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
595 if !response.status().is_success() && response.status().as_u16() != 200 {
596 crate::operation_deser::parse_list_guide_samples_error(response)
597 } else {
598 crate::operation_deser::parse_list_guide_samples_response(response)
599 }
600 }
601}
602
603#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
610pub struct ListPublicGuideAttachments {
611 _private: (),
612}
613impl ListPublicGuideAttachments {
614 pub fn builder() -> crate::input::list_public_guide_attachments_input::Builder {
616 crate::input::list_public_guide_attachments_input::Builder::default()
617 }
618 pub fn new() -> Self {
620 Self { _private: () }
621 }
622}
623impl aws_smithy_http::response::ParseStrictResponse for ListPublicGuideAttachments {
624 type Output = std::result::Result<
625 crate::output::ListPublicGuideAttachmentsOutput,
626 crate::error::ListPublicGuideAttachmentsError,
627 >;
628 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
629 if !response.status().is_success() && response.status().as_u16() != 200 {
630 crate::operation_deser::parse_list_public_guide_attachments_error(response)
631 } else {
632 crate::operation_deser::parse_list_public_guide_attachments_response(response)
633 }
634 }
635}
636
637#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
644pub struct ListPublicGuides {
645 _private: (),
646}
647impl ListPublicGuides {
648 pub fn builder() -> crate::input::list_public_guides_input::Builder {
650 crate::input::list_public_guides_input::Builder::default()
651 }
652 pub fn new() -> Self {
654 Self { _private: () }
655 }
656}
657impl aws_smithy_http::response::ParseStrictResponse for ListPublicGuides {
658 type Output = std::result::Result<
659 crate::output::ListPublicGuidesOutput,
660 crate::error::ListPublicGuidesError,
661 >;
662 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
663 if !response.status().is_success() && response.status().as_u16() != 200 {
664 crate::operation_deser::parse_list_public_guides_error(response)
665 } else {
666 crate::operation_deser::parse_list_public_guides_response(response)
667 }
668 }
669}
670
671#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
678pub struct ListPublicGuideSamples {
679 _private: (),
680}
681impl ListPublicGuideSamples {
682 pub fn builder() -> crate::input::list_public_guide_samples_input::Builder {
684 crate::input::list_public_guide_samples_input::Builder::default()
685 }
686 pub fn new() -> Self {
688 Self { _private: () }
689 }
690}
691impl aws_smithy_http::response::ParseStrictResponse for ListPublicGuideSamples {
692 type Output = std::result::Result<
693 crate::output::ListPublicGuideSamplesOutput,
694 crate::error::ListPublicGuideSamplesError,
695 >;
696 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
697 if !response.status().is_success() && response.status().as_u16() != 200 {
698 crate::operation_deser::parse_list_public_guide_samples_error(response)
699 } else {
700 crate::operation_deser::parse_list_public_guide_samples_response(response)
701 }
702 }
703}
704
705#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
712pub struct ListPublicSharedGuideAttachments {
713 _private: (),
714}
715impl ListPublicSharedGuideAttachments {
716 pub fn builder() -> crate::input::list_public_shared_guide_attachments_input::Builder {
718 crate::input::list_public_shared_guide_attachments_input::Builder::default()
719 }
720 pub fn new() -> Self {
722 Self { _private: () }
723 }
724}
725impl aws_smithy_http::response::ParseStrictResponse for ListPublicSharedGuideAttachments {
726 type Output = std::result::Result<
727 crate::output::ListPublicSharedGuideAttachmentsOutput,
728 crate::error::ListPublicSharedGuideAttachmentsError,
729 >;
730 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
731 if !response.status().is_success() && response.status().as_u16() != 200 {
732 crate::operation_deser::parse_list_public_shared_guide_attachments_error(response)
733 } else {
734 crate::operation_deser::parse_list_public_shared_guide_attachments_response(response)
735 }
736 }
737}
738
739#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
746pub struct ListPublicSharedGuideSamples {
747 _private: (),
748}
749impl ListPublicSharedGuideSamples {
750 pub fn builder() -> crate::input::list_public_shared_guide_samples_input::Builder {
752 crate::input::list_public_shared_guide_samples_input::Builder::default()
753 }
754 pub fn new() -> Self {
756 Self { _private: () }
757 }
758}
759impl aws_smithy_http::response::ParseStrictResponse for ListPublicSharedGuideSamples {
760 type Output = std::result::Result<
761 crate::output::ListPublicSharedGuideSamplesOutput,
762 crate::error::ListPublicSharedGuideSamplesError,
763 >;
764 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
765 if !response.status().is_success() && response.status().as_u16() != 200 {
766 crate::operation_deser::parse_list_public_shared_guide_samples_error(response)
767 } else {
768 crate::operation_deser::parse_list_public_shared_guide_samples_response(response)
769 }
770 }
771}
772
773#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
780pub struct ListX12TransactionSets {
781 _private: (),
782}
783impl ListX12TransactionSets {
784 pub fn builder() -> crate::input::list_x12_transaction_sets_input::Builder {
786 crate::input::list_x12_transaction_sets_input::Builder::default()
787 }
788 pub fn new() -> Self {
790 Self { _private: () }
791 }
792}
793impl aws_smithy_http::response::ParseStrictResponse for ListX12TransactionSets {
794 type Output = std::result::Result<
795 crate::output::ListX12TransactionSetsOutput,
796 crate::error::ListX12TransactionSetsError,
797 >;
798 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
799 if !response.status().is_success() && response.status().as_u16() != 200 {
800 crate::operation_deser::parse_list_x12_transaction_sets_error(response)
801 } else {
802 crate::operation_deser::parse_list_x12_transaction_sets_response(response)
803 }
804 }
805}
806
807#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
814pub struct PublishGuide {
815 _private: (),
816}
817impl PublishGuide {
818 pub fn builder() -> crate::input::publish_guide_input::Builder {
820 crate::input::publish_guide_input::Builder::default()
821 }
822 pub fn new() -> Self {
824 Self { _private: () }
825 }
826}
827impl aws_smithy_http::response::ParseStrictResponse for PublishGuide {
828 type Output =
829 std::result::Result<crate::output::PublishGuideOutput, crate::error::PublishGuideError>;
830 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
831 if !response.status().is_success() && response.status().as_u16() != 200 {
832 crate::operation_deser::parse_publish_guide_error(response)
833 } else {
834 crate::operation_deser::parse_publish_guide_response(response)
835 }
836 }
837}
838
839#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
846pub struct RevertGuide {
847 _private: (),
848}
849impl RevertGuide {
850 pub fn builder() -> crate::input::revert_guide_input::Builder {
852 crate::input::revert_guide_input::Builder::default()
853 }
854 pub fn new() -> Self {
856 Self { _private: () }
857 }
858}
859impl aws_smithy_http::response::ParseStrictResponse for RevertGuide {
860 type Output =
861 std::result::Result<crate::output::RevertGuideOutput, crate::error::RevertGuideError>;
862 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
863 if !response.status().is_success() && response.status().as_u16() != 200 {
864 crate::operation_deser::parse_revert_guide_error(response)
865 } else {
866 crate::operation_deser::parse_revert_guide_response(response)
867 }
868 }
869}
870
871#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
878pub struct UpdateAccountConfig {
879 _private: (),
880}
881impl UpdateAccountConfig {
882 pub fn builder() -> crate::input::update_account_config_input::Builder {
884 crate::input::update_account_config_input::Builder::default()
885 }
886 pub fn new() -> Self {
888 Self { _private: () }
889 }
890}
891impl aws_smithy_http::response::ParseStrictResponse for UpdateAccountConfig {
892 type Output = std::result::Result<
893 crate::output::UpdateAccountConfigOutput,
894 crate::error::UpdateAccountConfigError,
895 >;
896 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
897 if !response.status().is_success() && response.status().as_u16() != 200 {
898 crate::operation_deser::parse_update_account_config_error(response)
899 } else {
900 crate::operation_deser::parse_update_account_config_response(response)
901 }
902 }
903}
904
905#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
912pub struct UpdateGuide {
913 _private: (),
914}
915impl UpdateGuide {
916 pub fn builder() -> crate::input::update_guide_input::Builder {
918 crate::input::update_guide_input::Builder::default()
919 }
920 pub fn new() -> Self {
922 Self { _private: () }
923 }
924}
925impl aws_smithy_http::response::ParseStrictResponse for UpdateGuide {
926 type Output =
927 std::result::Result<crate::output::UpdateGuideOutput, crate::error::UpdateGuideError>;
928 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
929 if !response.status().is_success() && response.status().as_u16() != 200 {
930 crate::operation_deser::parse_update_guide_error(response)
931 } else {
932 crate::operation_deser::parse_update_guide_response(response)
933 }
934 }
935}
936
937#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
944pub struct UpdateGuideAttachment {
945 _private: (),
946}
947impl UpdateGuideAttachment {
948 pub fn builder() -> crate::input::update_guide_attachment_input::Builder {
950 crate::input::update_guide_attachment_input::Builder::default()
951 }
952 pub fn new() -> Self {
954 Self { _private: () }
955 }
956}
957impl aws_smithy_http::response::ParseStrictResponse for UpdateGuideAttachment {
958 type Output = std::result::Result<
959 crate::output::UpdateGuideAttachmentOutput,
960 crate::error::UpdateGuideAttachmentError,
961 >;
962 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
963 if !response.status().is_success() && response.status().as_u16() != 200 {
964 crate::operation_deser::parse_update_guide_attachment_error(response)
965 } else {
966 crate::operation_deser::parse_update_guide_attachment_response(response)
967 }
968 }
969}
970
971#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
978pub struct UpdateGuideSample {
979 _private: (),
980}
981impl UpdateGuideSample {
982 pub fn builder() -> crate::input::update_guide_sample_input::Builder {
984 crate::input::update_guide_sample_input::Builder::default()
985 }
986 pub fn new() -> Self {
988 Self { _private: () }
989 }
990}
991impl aws_smithy_http::response::ParseStrictResponse for UpdateGuideSample {
992 type Output = std::result::Result<
993 crate::output::UpdateGuideSampleOutput,
994 crate::error::UpdateGuideSampleError,
995 >;
996 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
997 if !response.status().is_success() && response.status().as_u16() != 200 {
998 crate::operation_deser::parse_update_guide_sample_error(response)
999 } else {
1000 crate::operation_deser::parse_update_guide_sample_response(response)
1001 }
1002 }
1003}
1004
1005#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
1012pub struct UpdateShareConfig {
1013 _private: (),
1014}
1015impl UpdateShareConfig {
1016 pub fn builder() -> crate::input::update_share_config_input::Builder {
1018 crate::input::update_share_config_input::Builder::default()
1019 }
1020 pub fn new() -> Self {
1022 Self { _private: () }
1023 }
1024}
1025impl aws_smithy_http::response::ParseStrictResponse for UpdateShareConfig {
1026 type Output = std::result::Result<
1027 crate::output::UpdateShareConfigOutput,
1028 crate::error::UpdateShareConfigError,
1029 >;
1030 fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
1031 if !response.status().is_success() && response.status().as_u16() != 200 {
1032 crate::operation_deser::parse_update_share_config_error(response)
1033 } else {
1034 crate::operation_deser::parse_update_share_config_response(response)
1035 }
1036 }
1037}
1038
1039pub mod customize;