aws_sdk_codecatalyst/operation/
start_dev_environment_session.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// Orchestration and serialization glue logic for `StartDevEnvironmentSession`.
3#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct StartDevEnvironmentSession;
6impl StartDevEnvironmentSession {
7    /// Creates a new `StartDevEnvironmentSession`
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_dev_environment_session::StartDevEnvironmentSessionInput,
14    ) -> ::std::result::Result<
15        crate::operation::start_dev_environment_session::StartDevEnvironmentSessionOutput,
16        ::aws_smithy_runtime_api::client::result::SdkError<
17            crate::operation::start_dev_environment_session::StartDevEnvironmentSessionError,
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_dev_environment_session::StartDevEnvironmentSessionError>()
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_dev_environment_session::StartDevEnvironmentSessionOutput>()
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_dev_environment_session::StartDevEnvironmentSessionInput,
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            "CodeCatalyst",
56            "StartDevEnvironmentSession",
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            "CodeCatalyst.StartDevEnvironmentSession",
65            "rpc.service" = "CodeCatalyst",
66            "rpc.method" = "StartDevEnvironmentSession",
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 StartDevEnvironmentSession {
94    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
95        let mut cfg = ::aws_smithy_types::config_bag::Layer::new("StartDevEnvironmentSession");
96
97        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
98            StartDevEnvironmentSessionRequestSerializer,
99        ));
100        cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
101            StartDevEnvironmentSessionResponseDeserializer,
102        ));
103
104        cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
105            crate::config::auth::Params::builder()
106                .operation_name("StartDevEnvironmentSession")
107                .build()
108                .expect("required fields set"),
109        ));
110
111        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::SensitiveOutput);
112        cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
113            "StartDevEnvironmentSession",
114            "CodeCatalyst",
115        ));
116
117        ::std::option::Option::Some(cfg.freeze())
118    }
119
120    fn runtime_components(
121        &self,
122        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
123    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
124        #[allow(unused_mut)]
125        let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("StartDevEnvironmentSession")
126            .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
127            .with_interceptor(StartDevEnvironmentSessionEndpointParamsInterceptor)
128            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
129                crate::operation::start_dev_environment_session::StartDevEnvironmentSessionError,
130            >::new())
131            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
132                crate::operation::start_dev_environment_session::StartDevEnvironmentSessionError,
133            >::new())
134            .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
135                crate::operation::start_dev_environment_session::StartDevEnvironmentSessionError,
136            >::new());
137
138        ::std::borrow::Cow::Owned(rcb)
139    }
140}
141
142#[derive(Debug)]
143struct StartDevEnvironmentSessionResponseDeserializer;
144impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for StartDevEnvironmentSessionResponseDeserializer {
145    fn deserialize_nonstreaming(
146        &self,
147        response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
148    ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
149        let (success, status) = (response.status().is_success(), response.status().as_u16());
150        let headers = response.headers();
151        let body = response.body().bytes().expect("body loaded");
152        #[allow(unused_mut)]
153        let mut force_error = false;
154        ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
155        let parse_result = if !success && status != 200 || force_error {
156            crate::protocol_serde::shape_start_dev_environment_session::de_start_dev_environment_session_http_error(status, headers, body)
157        } else {
158            crate::protocol_serde::shape_start_dev_environment_session::de_start_dev_environment_session_http_response(status, headers, body)
159        };
160        crate::protocol_serde::type_erase_result(parse_result)
161    }
162}
163#[derive(Debug)]
164struct StartDevEnvironmentSessionRequestSerializer;
165impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for StartDevEnvironmentSessionRequestSerializer {
166    #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
167    fn serialize_input(
168        &self,
169        input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
170        _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
171    ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
172        let input = input
173            .downcast::<crate::operation::start_dev_environment_session::StartDevEnvironmentSessionInput>()
174            .expect("correct type");
175        let _header_serialization_settings = _cfg
176            .load::<crate::serialization_settings::HeaderSerializationSettings>()
177            .cloned()
178            .unwrap_or_default();
179        let mut request_builder = {
180            #[allow(clippy::uninlined_format_args)]
181            fn uri_base(
182                _input: &crate::operation::start_dev_environment_session::StartDevEnvironmentSessionInput,
183                output: &mut ::std::string::String,
184            ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
185                use ::std::fmt::Write as _;
186                let input_1 = &_input.space_name;
187                let input_1 = input_1
188                    .as_ref()
189                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("space_name", "cannot be empty or unset"))?;
190                let space_name = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Default);
191                if space_name.is_empty() {
192                    return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
193                        "space_name",
194                        "cannot be empty or unset",
195                    ));
196                }
197                let input_2 = &_input.project_name;
198                let input_2 = input_2
199                    .as_ref()
200                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("project_name", "cannot be empty or unset"))?;
201                let project_name = ::aws_smithy_http::label::fmt_string(input_2, ::aws_smithy_http::label::EncodingStrategy::Default);
202                if project_name.is_empty() {
203                    return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
204                        "project_name",
205                        "cannot be empty or unset",
206                    ));
207                }
208                let input_3 = &_input.id;
209                let input_3 = input_3
210                    .as_ref()
211                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("id", "cannot be empty or unset"))?;
212                let id = ::aws_smithy_http::label::fmt_string(input_3, ::aws_smithy_http::label::EncodingStrategy::Default);
213                if id.is_empty() {
214                    return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
215                        "id",
216                        "cannot be empty or unset",
217                    ));
218                }
219                ::std::write!(
220                    output,
221                    "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session",
222                    spaceName = space_name,
223                    projectName = project_name,
224                    id = id
225                )
226                .expect("formatting should succeed");
227                ::std::result::Result::Ok(())
228            }
229            #[allow(clippy::unnecessary_wraps)]
230            fn update_http_builder(
231                input: &crate::operation::start_dev_environment_session::StartDevEnvironmentSessionInput,
232                builder: ::http::request::Builder,
233            ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
234                let mut uri = ::std::string::String::new();
235                uri_base(input, &mut uri)?;
236                ::std::result::Result::Ok(builder.method("PUT").uri(uri))
237            }
238            let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
239            builder = _header_serialization_settings.set_default_header(builder, ::http::header::CONTENT_TYPE, "application/json");
240            builder
241        };
242        let body = ::aws_smithy_types::body::SdkBody::from(
243            crate::protocol_serde::shape_start_dev_environment_session::ser_start_dev_environment_session_input(&input)?,
244        );
245        if let Some(content_length) = body.content_length() {
246            let content_length = content_length.to_string();
247            request_builder = _header_serialization_settings.set_default_header(request_builder, ::http::header::CONTENT_LENGTH, &content_length);
248        }
249        ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
250    }
251}
252#[derive(Debug)]
253struct StartDevEnvironmentSessionEndpointParamsInterceptor;
254
255impl ::aws_smithy_runtime_api::client::interceptors::Intercept for StartDevEnvironmentSessionEndpointParamsInterceptor {
256    fn name(&self) -> &'static str {
257        "StartDevEnvironmentSessionEndpointParamsInterceptor"
258    }
259
260    fn read_before_execution(
261        &self,
262        context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
263            '_,
264            ::aws_smithy_runtime_api::client::interceptors::context::Input,
265            ::aws_smithy_runtime_api::client::interceptors::context::Output,
266            ::aws_smithy_runtime_api::client::interceptors::context::Error,
267        >,
268        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
269    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
270        let _input = context
271            .input()
272            .downcast_ref::<StartDevEnvironmentSessionInput>()
273            .ok_or("failed to downcast to StartDevEnvironmentSessionInput")?;
274
275        let params = crate::config::endpoint::Params::builder()
276            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
277            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
278            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
279            .build()
280            .map_err(|err| {
281                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
282            })?;
283        cfg.interceptor_state()
284            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
285        ::std::result::Result::Ok(())
286    }
287}
288
289// The get_* functions below are generated from JMESPath expressions in the
290// operationContextParams trait. They target the operation's input shape.
291
292/// Error type for the `StartDevEnvironmentSessionError` operation.
293#[non_exhaustive]
294#[derive(::std::fmt::Debug)]
295pub enum StartDevEnvironmentSessionError {
296    /// <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
297    AccessDeniedException(crate::types::error::AccessDeniedException),
298    /// <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
299    ConflictException(crate::types::error::ConflictException),
300    /// <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
301    ResourceNotFoundException(crate::types::error::ResourceNotFoundException),
302    /// <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.</p>
303    ServiceQuotaExceededException(crate::types::error::ServiceQuotaExceededException),
304    /// <p>The request was denied due to request throttling.</p>
305    ThrottlingException(crate::types::error::ThrottlingException),
306    /// <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
307    ValidationException(crate::types::error::ValidationException),
308    /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
309    #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
310    variable wildcard pattern and check `.code()`:
311     \
312    &nbsp;&nbsp;&nbsp;`err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
313     \
314    See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-StartDevEnvironmentSessionError) for what information is available for the error.")]
315    Unhandled(crate::error::sealed_unhandled::Unhandled),
316}
317impl StartDevEnvironmentSessionError {
318    /// Creates the `StartDevEnvironmentSessionError::Unhandled` variant from any error type.
319    pub fn unhandled(
320        err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
321    ) -> Self {
322        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
323            source: err.into(),
324            meta: ::std::default::Default::default(),
325        })
326    }
327
328    /// Creates the `StartDevEnvironmentSessionError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
329    pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
330        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
331            source: err.clone().into(),
332            meta: err,
333        })
334    }
335    ///
336    /// Returns error metadata, which includes the error code, message,
337    /// request ID, and potentially additional information.
338    ///
339    pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
340        match self {
341            Self::AccessDeniedException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
342            Self::ConflictException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
343            Self::ResourceNotFoundException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
344            Self::ServiceQuotaExceededException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
345            Self::ThrottlingException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
346            Self::ValidationException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
347            Self::Unhandled(e) => &e.meta,
348        }
349    }
350    /// Returns `true` if the error kind is `StartDevEnvironmentSessionError::AccessDeniedException`.
351    pub fn is_access_denied_exception(&self) -> bool {
352        matches!(self, Self::AccessDeniedException(_))
353    }
354    /// Returns `true` if the error kind is `StartDevEnvironmentSessionError::ConflictException`.
355    pub fn is_conflict_exception(&self) -> bool {
356        matches!(self, Self::ConflictException(_))
357    }
358    /// Returns `true` if the error kind is `StartDevEnvironmentSessionError::ResourceNotFoundException`.
359    pub fn is_resource_not_found_exception(&self) -> bool {
360        matches!(self, Self::ResourceNotFoundException(_))
361    }
362    /// Returns `true` if the error kind is `StartDevEnvironmentSessionError::ServiceQuotaExceededException`.
363    pub fn is_service_quota_exceeded_exception(&self) -> bool {
364        matches!(self, Self::ServiceQuotaExceededException(_))
365    }
366    /// Returns `true` if the error kind is `StartDevEnvironmentSessionError::ThrottlingException`.
367    pub fn is_throttling_exception(&self) -> bool {
368        matches!(self, Self::ThrottlingException(_))
369    }
370    /// Returns `true` if the error kind is `StartDevEnvironmentSessionError::ValidationException`.
371    pub fn is_validation_exception(&self) -> bool {
372        matches!(self, Self::ValidationException(_))
373    }
374}
375impl ::std::error::Error for StartDevEnvironmentSessionError {
376    fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
377        match self {
378            Self::AccessDeniedException(_inner) => ::std::option::Option::Some(_inner),
379            Self::ConflictException(_inner) => ::std::option::Option::Some(_inner),
380            Self::ResourceNotFoundException(_inner) => ::std::option::Option::Some(_inner),
381            Self::ServiceQuotaExceededException(_inner) => ::std::option::Option::Some(_inner),
382            Self::ThrottlingException(_inner) => ::std::option::Option::Some(_inner),
383            Self::ValidationException(_inner) => ::std::option::Option::Some(_inner),
384            Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
385        }
386    }
387}
388impl ::std::fmt::Display for StartDevEnvironmentSessionError {
389    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
390        match self {
391            Self::AccessDeniedException(_inner) => _inner.fmt(f),
392            Self::ConflictException(_inner) => _inner.fmt(f),
393            Self::ResourceNotFoundException(_inner) => _inner.fmt(f),
394            Self::ServiceQuotaExceededException(_inner) => _inner.fmt(f),
395            Self::ThrottlingException(_inner) => _inner.fmt(f),
396            Self::ValidationException(_inner) => _inner.fmt(f),
397            Self::Unhandled(_inner) => {
398                if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
399                    write!(f, "unhandled error ({code})")
400                } else {
401                    f.write_str("unhandled error")
402                }
403            }
404        }
405    }
406}
407impl ::aws_smithy_types::retry::ProvideErrorKind for StartDevEnvironmentSessionError {
408    fn code(&self) -> ::std::option::Option<&str> {
409        ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
410    }
411    fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
412        match self {
413            Self::ThrottlingException(inner) => ::std::option::Option::Some(inner.retryable_error_kind()),
414            _ => ::std::option::Option::None,
415        }
416    }
417}
418impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for StartDevEnvironmentSessionError {
419    fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
420        match self {
421            Self::AccessDeniedException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
422            Self::ConflictException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
423            Self::ResourceNotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
424            Self::ServiceQuotaExceededException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
425            Self::ThrottlingException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
426            Self::ValidationException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
427            Self::Unhandled(_inner) => &_inner.meta,
428        }
429    }
430}
431impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for StartDevEnvironmentSessionError {
432    fn create_unhandled_error(
433        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
434        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
435    ) -> Self {
436        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
437            source,
438            meta: meta.unwrap_or_default(),
439        })
440    }
441}
442impl ::aws_types::request_id::RequestId for crate::operation::start_dev_environment_session::StartDevEnvironmentSessionError {
443    fn request_id(&self) -> Option<&str> {
444        self.meta().request_id()
445    }
446}
447
448pub use crate::operation::start_dev_environment_session::_start_dev_environment_session_output::StartDevEnvironmentSessionOutput;
449
450pub use crate::operation::start_dev_environment_session::_start_dev_environment_session_input::StartDevEnvironmentSessionInput;
451
452mod _start_dev_environment_session_input;
453
454mod _start_dev_environment_session_output;
455
456/// Builders
457pub mod builders;