aws_sdk_medialive/operation/
describe_input_device_thumbnail.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// Orchestration and serialization glue logic for `DescribeInputDeviceThumbnail`.
3#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct DescribeInputDeviceThumbnail;
6impl DescribeInputDeviceThumbnail {
7    /// Creates a new `DescribeInputDeviceThumbnail`
8    pub fn new() -> Self {
9        Self
10    }
11    pub(crate) async fn orchestrate(
12        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
13        input: crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailInput,
14    ) -> ::std::result::Result<
15        crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailOutput,
16        ::aws_smithy_runtime_api::client::result::SdkError<
17            crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailError,
18            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
19        >,
20    > {
21        let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError<
22            ::aws_smithy_runtime_api::client::interceptors::context::Error,
23            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
24        >| {
25            err.map_service_error(|err| {
26                err.downcast::<crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailError>()
27                    .expect("correct error type")
28            })
29        };
30        let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None)
31            .await
32            .map_err(map_err)?;
33        let output = context.finalize().map_err(map_err)?;
34        ::std::result::Result::Ok(
35            output
36                .downcast::<crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailOutput>()
37                .expect("correct output type"),
38        )
39    }
40
41    pub(crate) async fn orchestrate_with_stop_point(
42        runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
43        input: crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailInput,
44        stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint,
45    ) -> ::std::result::Result<
46        ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext,
47        ::aws_smithy_runtime_api::client::result::SdkError<
48            ::aws_smithy_runtime_api::client::interceptors::context::Error,
49            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
50        >,
51    > {
52        let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input);
53        use ::tracing::Instrument;
54        ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point(
55            "MediaLive",
56            "DescribeInputDeviceThumbnail",
57            input,
58            runtime_plugins,
59            stop_point,
60        )
61        // Create a parent span for the entire operation. Includes a random, internal-only,
62        // seven-digit ID for the operation orchestration so that it can be correlated in the logs.
63        .instrument(::tracing::debug_span!(
64            "MediaLive.DescribeInputDeviceThumbnail",
65            "rpc.service" = "MediaLive",
66            "rpc.method" = "DescribeInputDeviceThumbnail",
67            "sdk_invocation_id" = ::fastrand::u32(1_000_000..10_000_000),
68            "rpc.system" = "aws-api",
69        ))
70        .await
71    }
72
73    pub(crate) fn operation_runtime_plugins(
74        client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
75        client_config: &crate::config::Config,
76        config_override: ::std::option::Option<crate::config::Builder>,
77    ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins {
78        let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new());
79
80        if let ::std::option::Option::Some(config_override) = config_override {
81            for plugin in config_override.runtime_plugins.iter().cloned() {
82                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
83            }
84            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
85                config_override,
86                client_config.config.clone(),
87                &client_config.runtime_components,
88            ));
89        }
90        runtime_plugins
91    }
92}
93impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for DescribeInputDeviceThumbnail {
94    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
95        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("DescribeInputDeviceThumbnail");
96
97        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
98            DescribeInputDeviceThumbnailRequestSerializer,
99        ));
100        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
101            DescribeInputDeviceThumbnailResponseDeserializer,
102        ));
103
104        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
105            crate::config::auth::Params::builder()
106                .operation_name("DescribeInputDeviceThumbnail")
107                .build()
108                .expect("required fields set"),
109        ));
110
111        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
112            "DescribeInputDeviceThumbnail",
113            "MediaLive",
114        ));
115        let mut signing_options = ::aws_runtime::auth::SigningOptions::default();
116        signing_options.double_uri_encode = true;
117        signing_options.content_sha256_header = false;
118        signing_options.normalize_uri_path = true;
119        signing_options.payload_override = None;
120
121        cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig {
122            signing_options,
123            ..::std::default::Default::default()
124        });
125
126        ::std::option::Option::Some(cfg.freeze())
127    }
128
129    fn runtime_components(
130        &self,
131        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
132    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
133        #[allow(unused_mut)]
134        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("DescribeInputDeviceThumbnail")
135            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
136            .with_interceptor(DescribeInputDeviceThumbnailEndpointParamsInterceptor)
137            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
138                crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailError,
139            >::new())
140            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
141                crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailError,
142            >::new())
143            .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
144                crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailError,
145            >::new());
146
147        ::std::borrow::Cow::Owned(rcb)
148    }
149}
150
151#[derive(Debug)]
152struct DescribeInputDeviceThumbnailResponseDeserializer;
153impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for DescribeInputDeviceThumbnailResponseDeserializer {
154    fn deserialize_streaming(
155        &self,
156        response: &mut ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
157    ) -> ::std::option::Option<::aws_smithy_runtime_api::client::interceptors::context::OutputOrError> {
158        #[allow(unused_mut)]
159        let mut force_error = false;
160        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
161
162        // If this is an error, defer to the non-streaming parser
163        if (!response.status().is_success() && response.status().as_u16() != 200) || force_error {
164            return ::std::option::Option::None;
165        }
166        ::std::option::Option::Some(crate::protocol_serde::type_erase_result(
167            crate::protocol_serde::shape_describe_input_device_thumbnail::de_describe_input_device_thumbnail_http_response(response),
168        ))
169    }
170
171    fn deserialize_nonstreaming(
172        &self,
173        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
174    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
175        // For streaming operations, we only hit this case if its an error
176        let body = response.body().bytes().expect("body loaded");
177        crate::protocol_serde::type_erase_result(
178            crate::protocol_serde::shape_describe_input_device_thumbnail::de_describe_input_device_thumbnail_http_error(
179                response.status().as_u16(),
180                response.headers(),
181                body,
182            ),
183        )
184    }
185}
186#[derive(Debug)]
187struct DescribeInputDeviceThumbnailRequestSerializer;
188impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for DescribeInputDeviceThumbnailRequestSerializer {
189    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
190    fn serialize_input(
191        &self,
192        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
193        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
194    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
195        let input = input
196            .downcast::<crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailInput>()
197            .expect("correct type");
198        let _header_serialization_settings = _cfg
199            .load::<crate::serialization_settings::HeaderSerializationSettings>()
200            .cloned()
201            .unwrap_or_default();
202        let mut request_builder = {
203            #[allow(clippy::uninlined_format_args)]
204            fn uri_base(
205                _input: &crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailInput,
206                output: &mut ::std::string::String,
207            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
208                use ::std::fmt::Write as _;
209                let input_1 = &_input.input_device_id;
210                let input_1 = input_1
211                    .as_ref()
212                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("input_device_id", "cannot be empty or unset"))?;
213                let input_device_id = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Default);
214                if input_device_id.is_empty() {
215                    return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
216                        "input_device_id",
217                        "cannot be empty or unset",
218                    ));
219                }
220                ::std::write!(
221                    output,
222                    "/prod/inputDevices/{InputDeviceId}/thumbnailData",
223                    InputDeviceId = input_device_id
224                )
225                .expect("formatting should succeed");
226                ::std::result::Result::Ok(())
227            }
228            #[allow(clippy::unnecessary_wraps)]
229            fn update_http_builder(
230                input: &crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailInput,
231                builder: ::http::request::Builder,
232            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
233                let mut uri = ::std::string::String::new();
234                uri_base(input, &mut uri)?;
235                let builder =
236                    crate::protocol_serde::shape_describe_input_device_thumbnail::ser_describe_input_device_thumbnail_headers(input, builder)?;
237                ::std::result::Result::Ok(builder.method("GET").uri(uri))
238            }
239            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
240            builder
241        };
242        let body = ::aws_smithy_types::body::SdkBody::from("");
243
244        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
245    }
246}
247#[derive(Debug)]
248struct DescribeInputDeviceThumbnailEndpointParamsInterceptor;
249
250impl ::aws_smithy_runtime_api::client::interceptors::Intercept for DescribeInputDeviceThumbnailEndpointParamsInterceptor {
251    fn name(&self) -> &'static str {
252        "DescribeInputDeviceThumbnailEndpointParamsInterceptor"
253    }
254
255    fn read_before_execution(
256        &self,
257        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
258            '_,
259            ::aws_smithy_runtime_api::client::interceptors::context::Input,
260            ::aws_smithy_runtime_api::client::interceptors::context::Output,
261            ::aws_smithy_runtime_api::client::interceptors::context::Error,
262        >,
263        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
264    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
265        let _input = context
266            .input()
267            .downcast_ref::<DescribeInputDeviceThumbnailInput>()
268            .ok_or("failed to downcast to DescribeInputDeviceThumbnailInput")?;
269
270        let params = crate::config::endpoint::Params::builder()
271            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
272            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
273            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
274            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
275            .build()
276            .map_err(|err| {
277                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
278            })?;
279        cfg.interceptor_state()
280            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
281        ::std::result::Result::Ok(())
282    }
283}
284
285// The get_* functions below are generated from JMESPath expressions in the
286// operationContextParams trait. They target the operation's input shape.
287
288/// Error type for the `DescribeInputDeviceThumbnailError` operation.
289#[non_exhaustive]
290#[derive(::std::fmt::Debug)]
291pub enum DescribeInputDeviceThumbnailError {
292    /// Placeholder documentation for BadGatewayException
293    BadGatewayException(crate::types::error::BadGatewayException),
294    /// Placeholder documentation for BadRequestException
295    BadRequestException(crate::types::error::BadRequestException),
296    /// Placeholder documentation for ForbiddenException
297    ForbiddenException(crate::types::error::ForbiddenException),
298    /// Placeholder documentation for GatewayTimeoutException
299    GatewayTimeoutException(crate::types::error::GatewayTimeoutException),
300    /// Placeholder documentation for InternalServerErrorException
301    InternalServerErrorException(crate::types::error::InternalServerErrorException),
302    /// Placeholder documentation for NotFoundException
303    NotFoundException(crate::types::error::NotFoundException),
304    /// Placeholder documentation for TooManyRequestsException
305    TooManyRequestsException(crate::types::error::TooManyRequestsException),
306    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
307    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
308    variable wildcard pattern and check `.code()`:
309     \
310    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
311     \
312    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-DescribeInputDeviceThumbnailError) for what information is available for the error.")]
313    Unhandled(crate::error::sealed_unhandled::Unhandled),
314}
315impl DescribeInputDeviceThumbnailError {
316    /// Creates the `DescribeInputDeviceThumbnailError::Unhandled` variant from any error type.
317    pub fn unhandled(
318        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
319    ) -> Self {
320        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
321            source: err.into(),
322            meta: ::std::default::Default::default(),
323        })
324    }
325
326    /// Creates the `DescribeInputDeviceThumbnailError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
327    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
328        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
329            source: err.clone().into(),
330            meta: err,
331        })
332    }
333    ///
334    /// Returns error metadata, which includes the error code, message,
335    /// request ID, and potentially additional information.
336    ///
337    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
338        match self {
339            Self::BadGatewayException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
340            Self::BadRequestException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
341            Self::ForbiddenException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
342            Self::GatewayTimeoutException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
343            Self::InternalServerErrorException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
344            Self::NotFoundException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
345            Self::TooManyRequestsException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
346            Self::Unhandled(e) => &e.meta,
347        }
348    }
349    /// Returns `true` if the error kind is `DescribeInputDeviceThumbnailError::BadGatewayException`.
350    pub fn is_bad_gateway_exception(&self) -> bool {
351        matches!(self, Self::BadGatewayException(_))
352    }
353    /// Returns `true` if the error kind is `DescribeInputDeviceThumbnailError::BadRequestException`.
354    pub fn is_bad_request_exception(&self) -> bool {
355        matches!(self, Self::BadRequestException(_))
356    }
357    /// Returns `true` if the error kind is `DescribeInputDeviceThumbnailError::ForbiddenException`.
358    pub fn is_forbidden_exception(&self) -> bool {
359        matches!(self, Self::ForbiddenException(_))
360    }
361    /// Returns `true` if the error kind is `DescribeInputDeviceThumbnailError::GatewayTimeoutException`.
362    pub fn is_gateway_timeout_exception(&self) -> bool {
363        matches!(self, Self::GatewayTimeoutException(_))
364    }
365    /// Returns `true` if the error kind is `DescribeInputDeviceThumbnailError::InternalServerErrorException`.
366    pub fn is_internal_server_error_exception(&self) -> bool {
367        matches!(self, Self::InternalServerErrorException(_))
368    }
369    /// Returns `true` if the error kind is `DescribeInputDeviceThumbnailError::NotFoundException`.
370    pub fn is_not_found_exception(&self) -> bool {
371        matches!(self, Self::NotFoundException(_))
372    }
373    /// Returns `true` if the error kind is `DescribeInputDeviceThumbnailError::TooManyRequestsException`.
374    pub fn is_too_many_requests_exception(&self) -> bool {
375        matches!(self, Self::TooManyRequestsException(_))
376    }
377}
378impl ::std::error::Error for DescribeInputDeviceThumbnailError {
379    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
380        match self {
381            Self::BadGatewayException(_inner) => ::std::option::Option::Some(_inner),
382            Self::BadRequestException(_inner) => ::std::option::Option::Some(_inner),
383            Self::ForbiddenException(_inner) => ::std::option::Option::Some(_inner),
384            Self::GatewayTimeoutException(_inner) => ::std::option::Option::Some(_inner),
385            Self::InternalServerErrorException(_inner) => ::std::option::Option::Some(_inner),
386            Self::NotFoundException(_inner) => ::std::option::Option::Some(_inner),
387            Self::TooManyRequestsException(_inner) => ::std::option::Option::Some(_inner),
388            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
389        }
390    }
391}
392impl ::std::fmt::Display for DescribeInputDeviceThumbnailError {
393    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
394        match self {
395            Self::BadGatewayException(_inner) => _inner.fmt(f),
396            Self::BadRequestException(_inner) => _inner.fmt(f),
397            Self::ForbiddenException(_inner) => _inner.fmt(f),
398            Self::GatewayTimeoutException(_inner) => _inner.fmt(f),
399            Self::InternalServerErrorException(_inner) => _inner.fmt(f),
400            Self::NotFoundException(_inner) => _inner.fmt(f),
401            Self::TooManyRequestsException(_inner) => _inner.fmt(f),
402            Self::Unhandled(_inner) => {
403                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
404                    write!(f, "unhandled error ({code})")
405                } else {
406                    f.write_str("unhandled error")
407                }
408            }
409        }
410    }
411}
412impl ::aws_smithy_types::retry::ProvideErrorKind for DescribeInputDeviceThumbnailError {
413    fn code(&self) -> ::std::option::Option<&str> {
414        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
415    }
416    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
417        ::std::option::Option::None
418    }
419}
420impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for DescribeInputDeviceThumbnailError {
421    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
422        match self {
423            Self::BadGatewayException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
424            Self::BadRequestException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
425            Self::ForbiddenException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
426            Self::GatewayTimeoutException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
427            Self::InternalServerErrorException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
428            Self::NotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
429            Self::TooManyRequestsException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
430            Self::Unhandled(_inner) => &_inner.meta,
431        }
432    }
433}
434impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for DescribeInputDeviceThumbnailError {
435    fn create_unhandled_error(
436        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
437        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
438    ) -> Self {
439        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
440            source,
441            meta: meta.unwrap_or_default(),
442        })
443    }
444}
445impl ::aws_types::request_id::RequestId for crate::operation::describe_input_device_thumbnail::DescribeInputDeviceThumbnailError {
446    fn request_id(&self) -> Option<&str> {
447        self.meta().request_id()
448    }
449}
450
451pub use crate::operation::describe_input_device_thumbnail::_describe_input_device_thumbnail_output::DescribeInputDeviceThumbnailOutput;
452
453pub use crate::operation::describe_input_device_thumbnail::_describe_input_device_thumbnail_input::DescribeInputDeviceThumbnailInput;
454
455mod _describe_input_device_thumbnail_input;
456
457mod _describe_input_device_thumbnail_output;
458
459/// Builders
460pub mod builders;