stedi_sdk_client_guides/
operation.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// Operation shape for `ChangeGuideVisibility`.
3///
4/// This is usually constructed for you using the the fluent builder returned by
5/// [`change_guide_visibility`](crate::client::Client::change_guide_visibility).
6///
7/// See [`crate::client::fluent_builders::ChangeGuideVisibility`] for more details about the operation.
8#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
9pub struct ChangeGuideVisibility {
10    _private: (),
11}
12impl ChangeGuideVisibility {
13    /// Creates a new builder-style object to manufacture [`ChangeGuideVisibilityInput`](crate::input::ChangeGuideVisibilityInput).
14    pub fn builder() -> crate::input::change_guide_visibility_input::Builder {
15        crate::input::change_guide_visibility_input::Builder::default()
16    }
17    /// Creates a new `ChangeGuideVisibility` operation.
18    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/// Operation shape for `CreateGuide`.
37///
38/// This is usually constructed for you using the the fluent builder returned by
39/// [`create_guide`](crate::client::Client::create_guide).
40///
41/// See [`crate::client::fluent_builders::CreateGuide`] for more details about the operation.
42#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
43pub struct CreateGuide {
44    _private: (),
45}
46impl CreateGuide {
47    /// Creates a new builder-style object to manufacture [`CreateGuideInput`](crate::input::CreateGuideInput).
48    pub fn builder() -> crate::input::create_guide_input::Builder {
49        crate::input::create_guide_input::Builder::default()
50    }
51    /// Creates a new `CreateGuide` operation.
52    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/// Operation shape for `CreateGuideAttachment`.
69///
70/// This is usually constructed for you using the the fluent builder returned by
71/// [`create_guide_attachment`](crate::client::Client::create_guide_attachment).
72///
73/// See [`crate::client::fluent_builders::CreateGuideAttachment`] for more details about the operation.
74#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
75pub struct CreateGuideAttachment {
76    _private: (),
77}
78impl CreateGuideAttachment {
79    /// Creates a new builder-style object to manufacture [`CreateGuideAttachmentInput`](crate::input::CreateGuideAttachmentInput).
80    pub fn builder() -> crate::input::create_guide_attachment_input::Builder {
81        crate::input::create_guide_attachment_input::Builder::default()
82    }
83    /// Creates a new `CreateGuideAttachment` operation.
84    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/// Operation shape for `CreateGuideSample`.
103///
104/// This is usually constructed for you using the the fluent builder returned by
105/// [`create_guide_sample`](crate::client::Client::create_guide_sample).
106///
107/// See [`crate::client::fluent_builders::CreateGuideSample`] for more details about the operation.
108#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
109pub struct CreateGuideSample {
110    _private: (),
111}
112impl CreateGuideSample {
113    /// Creates a new builder-style object to manufacture [`CreateGuideSampleInput`](crate::input::CreateGuideSampleInput).
114    pub fn builder() -> crate::input::create_guide_sample_input::Builder {
115        crate::input::create_guide_sample_input::Builder::default()
116    }
117    /// Creates a new `CreateGuideSample` operation.
118    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/// Operation shape for `DeleteGuide`.
137///
138/// This is usually constructed for you using the the fluent builder returned by
139/// [`delete_guide`](crate::client::Client::delete_guide).
140///
141/// See [`crate::client::fluent_builders::DeleteGuide`] for more details about the operation.
142#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
143pub struct DeleteGuide {
144    _private: (),
145}
146impl DeleteGuide {
147    /// Creates a new builder-style object to manufacture [`DeleteGuideInput`](crate::input::DeleteGuideInput).
148    pub fn builder() -> crate::input::delete_guide_input::Builder {
149        crate::input::delete_guide_input::Builder::default()
150    }
151    /// Creates a new `DeleteGuide` operation.
152    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/// Operation shape for `DeleteGuideAttachment`.
169///
170/// This is usually constructed for you using the the fluent builder returned by
171/// [`delete_guide_attachment`](crate::client::Client::delete_guide_attachment).
172///
173/// See [`crate::client::fluent_builders::DeleteGuideAttachment`] for more details about the operation.
174#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
175pub struct DeleteGuideAttachment {
176    _private: (),
177}
178impl DeleteGuideAttachment {
179    /// Creates a new builder-style object to manufacture [`DeleteGuideAttachmentInput`](crate::input::DeleteGuideAttachmentInput).
180    pub fn builder() -> crate::input::delete_guide_attachment_input::Builder {
181        crate::input::delete_guide_attachment_input::Builder::default()
182    }
183    /// Creates a new `DeleteGuideAttachment` operation.
184    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/// Operation shape for `DeleteGuideSample`.
203///
204/// This is usually constructed for you using the the fluent builder returned by
205/// [`delete_guide_sample`](crate::client::Client::delete_guide_sample).
206///
207/// See [`crate::client::fluent_builders::DeleteGuideSample`] for more details about the operation.
208#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
209pub struct DeleteGuideSample {
210    _private: (),
211}
212impl DeleteGuideSample {
213    /// Creates a new builder-style object to manufacture [`DeleteGuideSampleInput`](crate::input::DeleteGuideSampleInput).
214    pub fn builder() -> crate::input::delete_guide_sample_input::Builder {
215        crate::input::delete_guide_sample_input::Builder::default()
216    }
217    /// Creates a new `DeleteGuideSample` operation.
218    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/// Operation shape for `GetAccountConfig`.
237///
238/// This is usually constructed for you using the the fluent builder returned by
239/// [`get_account_config`](crate::client::Client::get_account_config).
240///
241/// See [`crate::client::fluent_builders::GetAccountConfig`] for more details about the operation.
242#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
243pub struct GetAccountConfig {
244    _private: (),
245}
246impl GetAccountConfig {
247    /// Creates a new builder-style object to manufacture [`GetAccountConfigInput`](crate::input::GetAccountConfigInput).
248    pub fn builder() -> crate::input::get_account_config_input::Builder {
249        crate::input::get_account_config_input::Builder::default()
250    }
251    /// Creates a new `GetAccountConfig` operation.
252    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/// Operation shape for `GetGuide`.
271///
272/// This is usually constructed for you using the the fluent builder returned by
273/// [`get_guide`](crate::client::Client::get_guide).
274///
275/// See [`crate::client::fluent_builders::GetGuide`] for more details about the operation.
276#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
277pub struct GetGuide {
278    _private: (),
279}
280impl GetGuide {
281    /// Creates a new builder-style object to manufacture [`GetGuideInput`](crate::input::GetGuideInput).
282    pub fn builder() -> crate::input::get_guide_input::Builder {
283        crate::input::get_guide_input::Builder::default()
284    }
285    /// Creates a new `GetGuide` operation.
286    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/// Operation shape for `GetGuidesNetwork`.
302///
303/// This is usually constructed for you using the the fluent builder returned by
304/// [`get_guides_network`](crate::client::Client::get_guides_network).
305///
306/// See [`crate::client::fluent_builders::GetGuidesNetwork`] for more details about the operation.
307#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
308pub struct GetGuidesNetwork {
309    _private: (),
310}
311impl GetGuidesNetwork {
312    /// Creates a new builder-style object to manufacture [`GetGuidesNetworkInput`](crate::input::GetGuidesNetworkInput).
313    pub fn builder() -> crate::input::get_guides_network_input::Builder {
314        crate::input::get_guides_network_input::Builder::default()
315    }
316    /// Creates a new `GetGuidesNetwork` operation.
317    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/// Operation shape for `GetPublicAccountConfig`.
336///
337/// This is usually constructed for you using the the fluent builder returned by
338/// [`get_public_account_config`](crate::client::Client::get_public_account_config).
339///
340/// See [`crate::client::fluent_builders::GetPublicAccountConfig`] for more details about the operation.
341#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
342pub struct GetPublicAccountConfig {
343    _private: (),
344}
345impl GetPublicAccountConfig {
346    /// Creates a new builder-style object to manufacture [`GetPublicAccountConfigInput`](crate::input::GetPublicAccountConfigInput).
347    pub fn builder() -> crate::input::get_public_account_config_input::Builder {
348        crate::input::get_public_account_config_input::Builder::default()
349    }
350    /// Creates a new `GetPublicAccountConfig` operation.
351    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/// Operation shape for `GetPublicGuide`.
370///
371/// This is usually constructed for you using the the fluent builder returned by
372/// [`get_public_guide`](crate::client::Client::get_public_guide).
373///
374/// See [`crate::client::fluent_builders::GetPublicGuide`] for more details about the operation.
375#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
376pub struct GetPublicGuide {
377    _private: (),
378}
379impl GetPublicGuide {
380    /// Creates a new builder-style object to manufacture [`GetPublicGuideInput`](crate::input::GetPublicGuideInput).
381    pub fn builder() -> crate::input::get_public_guide_input::Builder {
382        crate::input::get_public_guide_input::Builder::default()
383    }
384    /// Creates a new `GetPublicGuide` operation.
385    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/// Operation shape for `GetPublicSharedGuide`.
402///
403/// This is usually constructed for you using the the fluent builder returned by
404/// [`get_public_shared_guide`](crate::client::Client::get_public_shared_guide).
405///
406/// See [`crate::client::fluent_builders::GetPublicSharedGuide`] for more details about the operation.
407#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
408pub struct GetPublicSharedGuide {
409    _private: (),
410}
411impl GetPublicSharedGuide {
412    /// Creates a new builder-style object to manufacture [`GetPublicSharedGuideInput`](crate::input::GetPublicSharedGuideInput).
413    pub fn builder() -> crate::input::get_public_shared_guide_input::Builder {
414        crate::input::get_public_shared_guide_input::Builder::default()
415    }
416    /// Creates a new `GetPublicSharedGuide` operation.
417    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/// Operation shape for `GetX12TransactionSetMetadata`.
436///
437/// This is usually constructed for you using the the fluent builder returned by
438/// [`get_x12_transaction_set_metadata`](crate::client::Client::get_x12_transaction_set_metadata).
439///
440/// See [`crate::client::fluent_builders::GetX12TransactionSetMetadata`] for more details about the operation.
441#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
442pub struct GetX12TransactionSetMetadata {
443    _private: (),
444}
445impl GetX12TransactionSetMetadata {
446    /// Creates a new builder-style object to manufacture [`GetX12TransactionSetMetadataInput`](crate::input::GetX12TransactionSetMetadataInput).
447    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    /// Creates a new `GetX12TransactionSetMetadata` operation.
451    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/// Operation shape for `ListAllPublicGuides`.
470///
471/// This is usually constructed for you using the the fluent builder returned by
472/// [`list_all_public_guides`](crate::client::Client::list_all_public_guides).
473///
474/// See [`crate::client::fluent_builders::ListAllPublicGuides`] for more details about the operation.
475#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
476pub struct ListAllPublicGuides {
477    _private: (),
478}
479impl ListAllPublicGuides {
480    /// Creates a new builder-style object to manufacture [`ListAllPublicGuidesInput`](crate::input::ListAllPublicGuidesInput).
481    pub fn builder() -> crate::input::list_all_public_guides_input::Builder {
482        crate::input::list_all_public_guides_input::Builder::default()
483    }
484    /// Creates a new `ListAllPublicGuides` operation.
485    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/// Operation shape for `ListGuideAttachments`.
504///
505/// This is usually constructed for you using the the fluent builder returned by
506/// [`list_guide_attachments`](crate::client::Client::list_guide_attachments).
507///
508/// See [`crate::client::fluent_builders::ListGuideAttachments`] for more details about the operation.
509#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
510pub struct ListGuideAttachments {
511    _private: (),
512}
513impl ListGuideAttachments {
514    /// Creates a new builder-style object to manufacture [`ListGuideAttachmentsInput`](crate::input::ListGuideAttachmentsInput).
515    pub fn builder() -> crate::input::list_guide_attachments_input::Builder {
516        crate::input::list_guide_attachments_input::Builder::default()
517    }
518    /// Creates a new `ListGuideAttachments` operation.
519    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/// Operation shape for `ListGuides`.
538///
539/// This is usually constructed for you using the the fluent builder returned by
540/// [`list_guides`](crate::client::Client::list_guides).
541///
542/// See [`crate::client::fluent_builders::ListGuides`] for more details about the operation.
543#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
544pub struct ListGuides {
545    _private: (),
546}
547impl ListGuides {
548    /// Creates a new builder-style object to manufacture [`ListGuidesInput`](crate::input::ListGuidesInput).
549    pub fn builder() -> crate::input::list_guides_input::Builder {
550        crate::input::list_guides_input::Builder::default()
551    }
552    /// Creates a new `ListGuides` operation.
553    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/// Operation shape for `ListGuideSamples`.
570///
571/// This is usually constructed for you using the the fluent builder returned by
572/// [`list_guide_samples`](crate::client::Client::list_guide_samples).
573///
574/// See [`crate::client::fluent_builders::ListGuideSamples`] for more details about the operation.
575#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
576pub struct ListGuideSamples {
577    _private: (),
578}
579impl ListGuideSamples {
580    /// Creates a new builder-style object to manufacture [`ListGuideSamplesInput`](crate::input::ListGuideSamplesInput).
581    pub fn builder() -> crate::input::list_guide_samples_input::Builder {
582        crate::input::list_guide_samples_input::Builder::default()
583    }
584    /// Creates a new `ListGuideSamples` operation.
585    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/// Operation shape for `ListPublicGuideAttachments`.
604///
605/// This is usually constructed for you using the the fluent builder returned by
606/// [`list_public_guide_attachments`](crate::client::Client::list_public_guide_attachments).
607///
608/// See [`crate::client::fluent_builders::ListPublicGuideAttachments`] for more details about the operation.
609#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
610pub struct ListPublicGuideAttachments {
611    _private: (),
612}
613impl ListPublicGuideAttachments {
614    /// Creates a new builder-style object to manufacture [`ListPublicGuideAttachmentsInput`](crate::input::ListPublicGuideAttachmentsInput).
615    pub fn builder() -> crate::input::list_public_guide_attachments_input::Builder {
616        crate::input::list_public_guide_attachments_input::Builder::default()
617    }
618    /// Creates a new `ListPublicGuideAttachments` operation.
619    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/// Operation shape for `ListPublicGuides`.
638///
639/// This is usually constructed for you using the the fluent builder returned by
640/// [`list_public_guides`](crate::client::Client::list_public_guides).
641///
642/// See [`crate::client::fluent_builders::ListPublicGuides`] for more details about the operation.
643#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
644pub struct ListPublicGuides {
645    _private: (),
646}
647impl ListPublicGuides {
648    /// Creates a new builder-style object to manufacture [`ListPublicGuidesInput`](crate::input::ListPublicGuidesInput).
649    pub fn builder() -> crate::input::list_public_guides_input::Builder {
650        crate::input::list_public_guides_input::Builder::default()
651    }
652    /// Creates a new `ListPublicGuides` operation.
653    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/// Operation shape for `ListPublicGuideSamples`.
672///
673/// This is usually constructed for you using the the fluent builder returned by
674/// [`list_public_guide_samples`](crate::client::Client::list_public_guide_samples).
675///
676/// See [`crate::client::fluent_builders::ListPublicGuideSamples`] for more details about the operation.
677#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
678pub struct ListPublicGuideSamples {
679    _private: (),
680}
681impl ListPublicGuideSamples {
682    /// Creates a new builder-style object to manufacture [`ListPublicGuideSamplesInput`](crate::input::ListPublicGuideSamplesInput).
683    pub fn builder() -> crate::input::list_public_guide_samples_input::Builder {
684        crate::input::list_public_guide_samples_input::Builder::default()
685    }
686    /// Creates a new `ListPublicGuideSamples` operation.
687    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/// Operation shape for `ListPublicSharedGuideAttachments`.
706///
707/// This is usually constructed for you using the the fluent builder returned by
708/// [`list_public_shared_guide_attachments`](crate::client::Client::list_public_shared_guide_attachments).
709///
710/// See [`crate::client::fluent_builders::ListPublicSharedGuideAttachments`] for more details about the operation.
711#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
712pub struct ListPublicSharedGuideAttachments {
713    _private: (),
714}
715impl ListPublicSharedGuideAttachments {
716    /// Creates a new builder-style object to manufacture [`ListPublicSharedGuideAttachmentsInput`](crate::input::ListPublicSharedGuideAttachmentsInput).
717    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    /// Creates a new `ListPublicSharedGuideAttachments` operation.
721    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/// Operation shape for `ListPublicSharedGuideSamples`.
740///
741/// This is usually constructed for you using the the fluent builder returned by
742/// [`list_public_shared_guide_samples`](crate::client::Client::list_public_shared_guide_samples).
743///
744/// See [`crate::client::fluent_builders::ListPublicSharedGuideSamples`] for more details about the operation.
745#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
746pub struct ListPublicSharedGuideSamples {
747    _private: (),
748}
749impl ListPublicSharedGuideSamples {
750    /// Creates a new builder-style object to manufacture [`ListPublicSharedGuideSamplesInput`](crate::input::ListPublicSharedGuideSamplesInput).
751    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    /// Creates a new `ListPublicSharedGuideSamples` operation.
755    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/// Operation shape for `ListX12TransactionSets`.
774///
775/// This is usually constructed for you using the the fluent builder returned by
776/// [`list_x12_transaction_sets`](crate::client::Client::list_x12_transaction_sets).
777///
778/// See [`crate::client::fluent_builders::ListX12TransactionSets`] for more details about the operation.
779#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
780pub struct ListX12TransactionSets {
781    _private: (),
782}
783impl ListX12TransactionSets {
784    /// Creates a new builder-style object to manufacture [`ListX12TransactionSetsInput`](crate::input::ListX12TransactionSetsInput).
785    pub fn builder() -> crate::input::list_x12_transaction_sets_input::Builder {
786        crate::input::list_x12_transaction_sets_input::Builder::default()
787    }
788    /// Creates a new `ListX12TransactionSets` operation.
789    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/// Operation shape for `PublishGuide`.
808///
809/// This is usually constructed for you using the the fluent builder returned by
810/// [`publish_guide`](crate::client::Client::publish_guide).
811///
812/// See [`crate::client::fluent_builders::PublishGuide`] for more details about the operation.
813#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
814pub struct PublishGuide {
815    _private: (),
816}
817impl PublishGuide {
818    /// Creates a new builder-style object to manufacture [`PublishGuideInput`](crate::input::PublishGuideInput).
819    pub fn builder() -> crate::input::publish_guide_input::Builder {
820        crate::input::publish_guide_input::Builder::default()
821    }
822    /// Creates a new `PublishGuide` operation.
823    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/// Operation shape for `RevertGuide`.
840///
841/// This is usually constructed for you using the the fluent builder returned by
842/// [`revert_guide`](crate::client::Client::revert_guide).
843///
844/// See [`crate::client::fluent_builders::RevertGuide`] for more details about the operation.
845#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
846pub struct RevertGuide {
847    _private: (),
848}
849impl RevertGuide {
850    /// Creates a new builder-style object to manufacture [`RevertGuideInput`](crate::input::RevertGuideInput).
851    pub fn builder() -> crate::input::revert_guide_input::Builder {
852        crate::input::revert_guide_input::Builder::default()
853    }
854    /// Creates a new `RevertGuide` operation.
855    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/// Operation shape for `UpdateAccountConfig`.
872///
873/// This is usually constructed for you using the the fluent builder returned by
874/// [`update_account_config`](crate::client::Client::update_account_config).
875///
876/// See [`crate::client::fluent_builders::UpdateAccountConfig`] for more details about the operation.
877#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
878pub struct UpdateAccountConfig {
879    _private: (),
880}
881impl UpdateAccountConfig {
882    /// Creates a new builder-style object to manufacture [`UpdateAccountConfigInput`](crate::input::UpdateAccountConfigInput).
883    pub fn builder() -> crate::input::update_account_config_input::Builder {
884        crate::input::update_account_config_input::Builder::default()
885    }
886    /// Creates a new `UpdateAccountConfig` operation.
887    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/// Operation shape for `UpdateGuide`.
906///
907/// This is usually constructed for you using the the fluent builder returned by
908/// [`update_guide`](crate::client::Client::update_guide).
909///
910/// See [`crate::client::fluent_builders::UpdateGuide`] for more details about the operation.
911#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
912pub struct UpdateGuide {
913    _private: (),
914}
915impl UpdateGuide {
916    /// Creates a new builder-style object to manufacture [`UpdateGuideInput`](crate::input::UpdateGuideInput).
917    pub fn builder() -> crate::input::update_guide_input::Builder {
918        crate::input::update_guide_input::Builder::default()
919    }
920    /// Creates a new `UpdateGuide` operation.
921    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/// Operation shape for `UpdateGuideAttachment`.
938///
939/// This is usually constructed for you using the the fluent builder returned by
940/// [`update_guide_attachment`](crate::client::Client::update_guide_attachment).
941///
942/// See [`crate::client::fluent_builders::UpdateGuideAttachment`] for more details about the operation.
943#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
944pub struct UpdateGuideAttachment {
945    _private: (),
946}
947impl UpdateGuideAttachment {
948    /// Creates a new builder-style object to manufacture [`UpdateGuideAttachmentInput`](crate::input::UpdateGuideAttachmentInput).
949    pub fn builder() -> crate::input::update_guide_attachment_input::Builder {
950        crate::input::update_guide_attachment_input::Builder::default()
951    }
952    /// Creates a new `UpdateGuideAttachment` operation.
953    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/// Operation shape for `UpdateGuideSample`.
972///
973/// This is usually constructed for you using the the fluent builder returned by
974/// [`update_guide_sample`](crate::client::Client::update_guide_sample).
975///
976/// See [`crate::client::fluent_builders::UpdateGuideSample`] for more details about the operation.
977#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
978pub struct UpdateGuideSample {
979    _private: (),
980}
981impl UpdateGuideSample {
982    /// Creates a new builder-style object to manufacture [`UpdateGuideSampleInput`](crate::input::UpdateGuideSampleInput).
983    pub fn builder() -> crate::input::update_guide_sample_input::Builder {
984        crate::input::update_guide_sample_input::Builder::default()
985    }
986    /// Creates a new `UpdateGuideSample` operation.
987    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/// Operation shape for `UpdateShareConfig`.
1006///
1007/// This is usually constructed for you using the the fluent builder returned by
1008/// [`update_share_config`](crate::client::Client::update_share_config).
1009///
1010/// See [`crate::client::fluent_builders::UpdateShareConfig`] for more details about the operation.
1011#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
1012pub struct UpdateShareConfig {
1013    _private: (),
1014}
1015impl UpdateShareConfig {
1016    /// Creates a new builder-style object to manufacture [`UpdateShareConfigInput`](crate::input::UpdateShareConfigInput).
1017    pub fn builder() -> crate::input::update_share_config_input::Builder {
1018        crate::input::update_share_config_input::Builder::default()
1019    }
1020    /// Creates a new `UpdateShareConfig` operation.
1021    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
1039/// Operation customization and supporting types
1040pub mod customize;