Skip to main content

aws_sdk_ssooidc/operation/
start_device_authorization.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// Orchestration and serialization glue logic for `StartDeviceAuthorization`.
3#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct StartDeviceAuthorization;
6impl StartDeviceAuthorization {
7    /// Creates a new `StartDeviceAuthorization`
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::start_device_authorization::StartDeviceAuthorizationInput,
14    ) -> ::std::result::Result<
15        crate::operation::start_device_authorization::StartDeviceAuthorizationOutput,
16        ::aws_smithy_runtime_api::client::result::SdkError<
17            crate::operation::start_device_authorization::StartDeviceAuthorizationError,
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::start_device_authorization::StartDeviceAuthorizationError>()
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::start_device_authorization::StartDeviceAuthorizationOutput>()
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::start_device_authorization::StartDeviceAuthorizationInput,
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("SSO OIDC", "StartDeviceAuthorization", input, runtime_plugins, stop_point)
55            // Create a parent span for the entire operation. Includes a random, internal-only,
56            // seven-digit ID for the operation orchestration so that it can be correlated in the logs.
57            .instrument(::tracing::debug_span!(
58                "SSO OIDC.StartDeviceAuthorization",
59                "rpc.service" = "SSO OIDC",
60                "rpc.method" = "StartDeviceAuthorization",
61                "sdk_invocation_id" = ::fastrand::u32(1_000_000..10_000_000),
62                "rpc.system" = "aws-api",
63            ))
64            .await
65    }
66
67    pub(crate) fn operation_runtime_plugins(
68        client_runtime_plugins: ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
69        client_config: &crate::config::Config,
70        config_override: ::std::option::Option<crate::config::Builder>,
71    ) -> ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins {
72        let mut runtime_plugins = client_runtime_plugins.with_operation_plugin(Self::new());
73
74        if let ::std::option::Option::Some(config_override) = config_override {
75            for plugin in config_override.runtime_plugins.iter().cloned() {
76                runtime_plugins = runtime_plugins.with_operation_plugin(plugin);
77            }
78            runtime_plugins = runtime_plugins.with_operation_plugin(crate::config::ConfigOverrideRuntimePlugin::new(
79                config_override,
80                client_config.config.clone(),
81                &client_config.runtime_components,
82            ));
83        }
84        runtime_plugins
85    }
86}
87impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for StartDeviceAuthorization {
88    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
89        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("StartDeviceAuthorization");
90
91        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
92            StartDeviceAuthorizationRequestSerializer,
93        ));
94        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
95            StartDeviceAuthorizationResponseDeserializer,
96        ));
97
98        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
99            crate::config::auth::Params::builder()
100                .operation_name("StartDeviceAuthorization")
101                .build()
102                .expect("required fields set"),
103        ));
104
105        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
106            "StartDeviceAuthorization",
107            "SSO OIDC",
108        ));
109
110        ::std::option::Option::Some(cfg.freeze())
111    }
112
113    fn runtime_components(
114        &self,
115        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
116    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
117        #[allow(unused_mut)]
118        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("StartDeviceAuthorization")
119            .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
120                StartDeviceAuthorizationTelemetryInputCaptureInterceptor,
121            ))
122            .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
123                ::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default(),
124            ))
125            .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
126                StartDeviceAuthorizationEndpointParamsInterceptor,
127            ))
128            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
129                crate::operation::start_device_authorization::StartDeviceAuthorizationError,
130            >::new())
131            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
132                crate::operation::start_device_authorization::StartDeviceAuthorizationError,
133            >::new())
134            .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
135                crate::operation::start_device_authorization::StartDeviceAuthorizationError,
136            >::new())
137            .with_retry_classifier(::aws_runtime::service_clock_skew::ServiceClockSkewClassifier::<
138                crate::operation::start_device_authorization::StartDeviceAuthorizationError,
139            >::new());
140
141        ::std::borrow::Cow::Owned(rcb)
142    }
143}
144
145#[derive(Debug)]
146struct StartDeviceAuthorizationTelemetryInputCaptureInterceptor;
147
148#[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
149impl ::aws_smithy_runtime_api::client::interceptors::Intercept for StartDeviceAuthorizationTelemetryInputCaptureInterceptor {
150    fn name(&self) -> &'static str {
151        "StartDeviceAuthorizationTelemetryInputCaptureInterceptor"
152    }
153
154    fn read_before_execution(
155        &self,
156        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
157            '_,
158            ::aws_smithy_runtime_api::client::interceptors::context::Input,
159            ::aws_smithy_runtime_api::client::interceptors::context::Output,
160            ::aws_smithy_runtime_api::client::interceptors::context::Error,
161        >,
162        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
163    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
164        // Nothing to do unless the customer opted in by naming members to record.
165        let ::std::option::Option::Some(requested) = cfg
166            .load::<::aws_smithy_types::telemetry::RequestedTelemetryAttributes>()
167            .filter(|r| !r.is_empty())
168        else {
169            return ::std::result::Result::Ok(());
170        };
171
172        let ::std::option::Option::Some(input) = context.input().downcast_ref::<StartDeviceAuthorizationInput>() else {
173            // A mismatched input is not this interceptor's concern; skip quietly.
174            return ::std::result::Result::Ok(());
175        };
176
177        let mut captured = ::aws_smithy_types::telemetry::CapturedTelemetryAttributes::default();
178        if requested.should_capture("clientId") {
179            if let ::std::option::Option::Some(value) = input.client_id.as_deref() {
180                captured.insert("clientId", value);
181            }
182        }
183        if requested.should_capture("startUrl") {
184            if let ::std::option::Option::Some(value) = input.start_url.as_deref() {
185                captured.insert("startUrl", value);
186            }
187        }
188
189        cfg.interceptor_state().store_put(captured);
190        ::std::result::Result::Ok(())
191    }
192}
193#[derive(Debug)]
194struct StartDeviceAuthorizationResponseDeserializer;
195impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for StartDeviceAuthorizationResponseDeserializer {
196    fn deserialize_nonstreaming_with_config(
197        &self,
198        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
199        _cfg: &::aws_smithy_types::config_bag::ConfigBag,
200    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
201        let (success, status) = (response.status().is_success(), response.status().as_u16());
202        let headers = response.headers();
203        let body = response.body().bytes().expect("body loaded");
204        #[allow(unused_mut)]
205        let mut force_error = false;
206        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
207        let parse_result = if !success && status != 200 || force_error {
208            crate::protocol_serde::shape_start_device_authorization::de_start_device_authorization_http_error(status, headers, body, _cfg)
209        } else {
210            crate::protocol_serde::shape_start_device_authorization::de_start_device_authorization_http_response(status, headers, body, _cfg)
211        };
212        crate::protocol_serde::type_erase_result(parse_result)
213    }
214}
215#[derive(Debug)]
216struct StartDeviceAuthorizationRequestSerializer;
217impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for StartDeviceAuthorizationRequestSerializer {
218    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
219    fn serialize_input(
220        &self,
221        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
222        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
223    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
224        let input = input
225            .downcast::<crate::operation::start_device_authorization::StartDeviceAuthorizationInput>()
226            .expect("correct type");
227        let _header_serialization_settings = _cfg
228            .load::<crate::serialization_settings::HeaderSerializationSettings>()
229            .cloned()
230            .unwrap_or_default();
231        let mut request_builder = {
232            #[allow(clippy::uninlined_format_args)]
233            fn uri_base(
234                _input: &crate::operation::start_device_authorization::StartDeviceAuthorizationInput,
235                output: &mut ::std::string::String,
236            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
237                use ::std::fmt::Write as _;
238                ::std::write!(output, "/device_authorization").expect("formatting should succeed");
239                ::std::result::Result::Ok(())
240            }
241            #[allow(clippy::unnecessary_wraps)]
242            fn update_http_builder(
243                input: &crate::operation::start_device_authorization::StartDeviceAuthorizationInput,
244                builder: ::http_1x::request::Builder,
245            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
246                let mut uri = ::std::string::String::new();
247                uri_base(input, &mut uri)?;
248                ::std::result::Result::Ok(builder.method("POST").uri(uri))
249            }
250            let mut builder = update_http_builder(&input, ::http_1x::request::Builder::new())?;
251            builder = _header_serialization_settings.set_default_header(builder, ::http_1x::header::CONTENT_TYPE, "application/json");
252            builder
253        };
254        let body = ::aws_smithy_types::body::SdkBody::from(
255            crate::protocol_serde::shape_start_device_authorization::ser_start_device_authorization_input(&input)?,
256        );
257        if let Some(content_length) = body.content_length() {
258            let content_length = content_length.to_string();
259            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http_1x::header::CONTENT_LENGTH, &content_length);
260        }
261        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
262    }
263}
264#[derive(Debug)]
265struct StartDeviceAuthorizationEndpointParamsInterceptor;
266
267#[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
268impl ::aws_smithy_runtime_api::client::interceptors::Intercept for StartDeviceAuthorizationEndpointParamsInterceptor {
269    fn name(&self) -> &'static str {
270        "StartDeviceAuthorizationEndpointParamsInterceptor"
271    }
272
273    fn read_before_execution(
274        &self,
275        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
276            '_,
277            ::aws_smithy_runtime_api::client::interceptors::context::Input,
278            ::aws_smithy_runtime_api::client::interceptors::context::Output,
279            ::aws_smithy_runtime_api::client::interceptors::context::Error,
280        >,
281        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
282    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
283        let _input = context
284            .input()
285            .downcast_ref::<StartDeviceAuthorizationInput>()
286            .ok_or("failed to downcast to StartDeviceAuthorizationInput")?;
287
288        let params = crate::config::endpoint::Params::builder()
289            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
290            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
291            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
292            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
293            .build()
294            .map_err(|err| {
295                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
296            })?;
297        cfg.interceptor_state()
298            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
299        ::std::result::Result::Ok(())
300    }
301}
302
303// The get_* functions below are generated from JMESPath expressions in the
304// operationContextParams trait. They target the operation's input shape.
305
306/// Error type for the `StartDeviceAuthorizationError` operation.
307#[non_exhaustive]
308#[derive(::std::fmt::Debug)]
309pub enum StartDeviceAuthorizationError {
310    /// <p>Indicates that an error from the service occurred while trying to process a request.</p>
311    InternalServerException(crate::types::error::InternalServerException),
312    /// <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or an expired <code>clientSecret</code>.</p>
313    InvalidClientException(crate::types::error::InvalidClientException),
314    /// <p>Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.</p>
315    InvalidRequestException(crate::types::error::InvalidRequestException),
316    /// <p>Indicates that the client is making the request too frequently and is more than the service can handle.</p>
317    SlowDownException(crate::types::error::SlowDownException),
318    /// <p>Indicates that the client is not currently authorized to make the request. This can happen when a <code>clientId</code> is not issued for a public client.</p>
319    UnauthorizedClientException(crate::types::error::UnauthorizedClientException),
320    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
321    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
322    variable wildcard pattern and check `.code()`:
323     \
324    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
325     \
326    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-StartDeviceAuthorizationError) for what information is available for the error.")]
327    Unhandled(crate::error::sealed_unhandled::Unhandled),
328}
329impl StartDeviceAuthorizationError {
330    /// Creates the `StartDeviceAuthorizationError::Unhandled` variant from any error type.
331    pub fn unhandled(
332        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
333    ) -> Self {
334        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
335            source: err.into(),
336            meta: ::std::default::Default::default(),
337        })
338    }
339
340    /// Creates the `StartDeviceAuthorizationError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
341    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
342        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
343            source: err.clone().into(),
344            meta: err,
345        })
346    }
347    ///
348    /// Returns error metadata, which includes the error code, message,
349    /// request ID, and potentially additional information.
350    ///
351    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
352        match self {
353            Self::InternalServerException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
354            Self::InvalidClientException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
355            Self::InvalidRequestException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
356            Self::SlowDownException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
357            Self::UnauthorizedClientException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
358            Self::Unhandled(e) => &e.meta,
359        }
360    }
361    /// Returns `true` if the error kind is `StartDeviceAuthorizationError::InternalServerException`.
362    pub fn is_internal_server_exception(&self) -> bool {
363        matches!(self, Self::InternalServerException(_))
364    }
365    /// Returns `true` if the error kind is `StartDeviceAuthorizationError::InvalidClientException`.
366    pub fn is_invalid_client_exception(&self) -> bool {
367        matches!(self, Self::InvalidClientException(_))
368    }
369    /// Returns `true` if the error kind is `StartDeviceAuthorizationError::InvalidRequestException`.
370    pub fn is_invalid_request_exception(&self) -> bool {
371        matches!(self, Self::InvalidRequestException(_))
372    }
373    /// Returns `true` if the error kind is `StartDeviceAuthorizationError::SlowDownException`.
374    pub fn is_slow_down_exception(&self) -> bool {
375        matches!(self, Self::SlowDownException(_))
376    }
377    /// Returns `true` if the error kind is `StartDeviceAuthorizationError::UnauthorizedClientException`.
378    pub fn is_unauthorized_client_exception(&self) -> bool {
379        matches!(self, Self::UnauthorizedClientException(_))
380    }
381}
382impl ::std::error::Error for StartDeviceAuthorizationError {
383    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
384        match self {
385            Self::InternalServerException(_inner) => ::std::option::Option::Some(_inner),
386            Self::InvalidClientException(_inner) => ::std::option::Option::Some(_inner),
387            Self::InvalidRequestException(_inner) => ::std::option::Option::Some(_inner),
388            Self::SlowDownException(_inner) => ::std::option::Option::Some(_inner),
389            Self::UnauthorizedClientException(_inner) => ::std::option::Option::Some(_inner),
390            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
391        }
392    }
393}
394impl ::std::fmt::Display for StartDeviceAuthorizationError {
395    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
396        match self {
397            Self::InternalServerException(_inner) => _inner.fmt(f),
398            Self::InvalidClientException(_inner) => _inner.fmt(f),
399            Self::InvalidRequestException(_inner) => _inner.fmt(f),
400            Self::SlowDownException(_inner) => _inner.fmt(f),
401            Self::UnauthorizedClientException(_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 StartDeviceAuthorizationError {
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 StartDeviceAuthorizationError {
421    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
422        match self {
423            Self::InternalServerException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
424            Self::InvalidClientException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
425            Self::InvalidRequestException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
426            Self::SlowDownException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
427            Self::UnauthorizedClientException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
428            Self::Unhandled(_inner) => &_inner.meta,
429        }
430    }
431}
432impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for StartDeviceAuthorizationError {
433    fn create_unhandled_error(
434        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
435        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
436    ) -> Self {
437        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
438            source,
439            meta: meta.unwrap_or_default(),
440        })
441    }
442}
443impl ::aws_types::request_id::RequestId for crate::operation::start_device_authorization::StartDeviceAuthorizationError {
444    fn request_id(&self) -> Option<&str> {
445        self.meta().request_id()
446    }
447}
448
449pub use crate::operation::start_device_authorization::_start_device_authorization_input::StartDeviceAuthorizationInput;
450
451pub use crate::operation::start_device_authorization::_start_device_authorization_output::StartDeviceAuthorizationOutput;
452
453mod _start_device_authorization_input;
454
455mod _start_device_authorization_output;
456
457/// Builders
458pub mod builders;