1 + | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 + | /// Orchestration and serialization glue logic for `AssociateOpsItemRelatedItem`.
|
3 + | #[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
|
4 + | #[non_exhaustive]
|
5 + | pub struct AssociateOpsItemRelatedItem;
|
6 + | impl AssociateOpsItemRelatedItem {
|
7 + | /// Creates a new `AssociateOpsItemRelatedItem`
|
8 + | pub fn new() -> Self {
|
9 + | Self
|
10 + | }
|
11 + | /// The schema for this operation's input shape.
|
12 + | pub const INPUT_SCHEMA: &'static ::aws_smithy_schema::Schema<'static> =
|
13 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemInput::SCHEMA;
|
14 + | /// The schema for this operation's output shape.
|
15 + | pub const OUTPUT_SCHEMA: &'static ::aws_smithy_schema::Schema<'static> =
|
16 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemOutput::SCHEMA;
|
17 + | pub(crate) async fn orchestrate(
|
18 + | runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
|
19 + | input: crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemInput,
|
20 + | ) -> ::std::result::Result<
|
21 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemOutput,
|
22 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
23 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError,
|
24 + | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
25 + | >,
|
26 + | > {
|
27 + | let map_err = |err: ::aws_smithy_runtime_api::client::result::SdkError<
|
28 + | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
29 + | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
30 + | >| {
|
31 + | err.map_service_error(|err| {
|
32 + | err.downcast::<crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError>()
|
33 + | .expect("correct error type")
|
34 + | })
|
35 + | };
|
36 + | let context = Self::orchestrate_with_stop_point(runtime_plugins, input, ::aws_smithy_runtime::client::orchestrator::StopPoint::None)
|
37 + | .await
|
38 + | .map_err(map_err)?;
|
39 + | let output = context.finalize().map_err(map_err)?;
|
40 + | ::std::result::Result::Ok(
|
41 + | output
|
42 + | .downcast::<crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemOutput>()
|
43 + | .expect("correct output type"),
|
44 + | )
|
45 + | }
|
46 + |
|
47 + | pub(crate) async fn orchestrate_with_stop_point(
|
48 + | runtime_plugins: &::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins,
|
49 + | input: crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemInput,
|
50 + | stop_point: ::aws_smithy_runtime::client::orchestrator::StopPoint,
|
51 + | ) -> ::std::result::Result<
|
52 + | ::aws_smithy_runtime_api::client::interceptors::context::InterceptorContext,
|
53 + | ::aws_smithy_runtime_api::client::result::SdkError<
|
54 + | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
55 + | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
56 + | >,
|
57 + | > {
|
58 + | let input = ::aws_smithy_runtime_api::client::interceptors::context::Input::erase(input);
|
59 + | use ::tracing::Instrument;
|
60 + | ::aws_smithy_runtime::client::orchestrator::invoke_with_stop_point("SSM", "AssociateOpsItemRelatedItem", input, runtime_plugins, stop_point)
|
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 + | "SSM.AssociateOpsItemRelatedItem",
|
65 + | "rpc.service" = "SSM",
|
66 + | "rpc.method" = "AssociateOpsItemRelatedItem",
|
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 + | }
|
93 + | /// Per-operation error registry. Contains an entry for every modeled
|
94 + | /// error this operation can throw.
|
95 + | ///
|
96 + | /// Used by the schema-serde error path as the operation-scoped lookup
|
97 + | /// for registry-backed error reification: an error code that does not
|
98 + | /// match one of the operation's modeled errors directly is resolved
|
99 + | /// against this registry first, then widened to the service-wide error
|
100 + | /// registry.
|
101 + | pub(crate) mod error_registry {
|
102 + | pub(crate) static REGISTRY: ::std::sync::LazyLock<::aws_smithy_schema::registry::TypeRegistry> = ::std::sync::LazyLock::new(|| {
|
103 + | ::aws_smithy_schema::registry::TypeRegistry::builder()
|
104 + | .insert_error_shape(
|
105 + | crate::types::error::InternalServerError::SCHEMA,
|
106 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::aws_smithy_types::type_erasure::TypeErasedBox, ::aws_smithy_schema::serde::SerdeError> {
|
107 + | ::std::result::Result::Ok(::aws_smithy_types::type_erasure::TypeErasedBox::new(crate::types::error::InternalServerError::deserialize(d)?))
|
108 + | },
|
109 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync>, ::aws_smithy_schema::serde::SerdeError> {
|
110 + | ::std::result::Result::Ok(::std::boxed::Box::new(crate::types::error::InternalServerError::deserialize(d)?))
|
111 + | },
|
112 + | )
|
113 + | .insert_error_shape(
|
114 + | crate::types::error::OpsItemConflictException::SCHEMA,
|
115 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::aws_smithy_types::type_erasure::TypeErasedBox, ::aws_smithy_schema::serde::SerdeError> {
|
116 + | ::std::result::Result::Ok(::aws_smithy_types::type_erasure::TypeErasedBox::new(crate::types::error::OpsItemConflictException::deserialize(d)?))
|
117 + | },
|
118 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync>, ::aws_smithy_schema::serde::SerdeError> {
|
119 + | ::std::result::Result::Ok(::std::boxed::Box::new(crate::types::error::OpsItemConflictException::deserialize(d)?))
|
120 + | },
|
121 + | )
|
122 + | .insert_error_shape(
|
123 + | crate::types::error::OpsItemInvalidParameterException::SCHEMA,
|
124 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::aws_smithy_types::type_erasure::TypeErasedBox, ::aws_smithy_schema::serde::SerdeError> {
|
125 + | ::std::result::Result::Ok(::aws_smithy_types::type_erasure::TypeErasedBox::new(crate::types::error::OpsItemInvalidParameterException::deserialize(d)?))
|
126 + | },
|
127 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync>, ::aws_smithy_schema::serde::SerdeError> {
|
128 + | ::std::result::Result::Ok(::std::boxed::Box::new(crate::types::error::OpsItemInvalidParameterException::deserialize(d)?))
|
129 + | },
|
130 + | )
|
131 + | .insert_error_shape(
|
132 + | crate::types::error::OpsItemLimitExceededException::SCHEMA,
|
133 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::aws_smithy_types::type_erasure::TypeErasedBox, ::aws_smithy_schema::serde::SerdeError> {
|
134 + | ::std::result::Result::Ok(::aws_smithy_types::type_erasure::TypeErasedBox::new(crate::types::error::OpsItemLimitExceededException::deserialize(d)?))
|
135 + | },
|
136 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync>, ::aws_smithy_schema::serde::SerdeError> {
|
137 + | ::std::result::Result::Ok(::std::boxed::Box::new(crate::types::error::OpsItemLimitExceededException::deserialize(d)?))
|
138 + | },
|
139 + | )
|
140 + | .insert_error_shape(
|
141 + | crate::types::error::OpsItemNotFoundException::SCHEMA,
|
142 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::aws_smithy_types::type_erasure::TypeErasedBox, ::aws_smithy_schema::serde::SerdeError> {
|
143 + | ::std::result::Result::Ok(::aws_smithy_types::type_erasure::TypeErasedBox::new(crate::types::error::OpsItemNotFoundException::deserialize(d)?))
|
144 + | },
|
145 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync>, ::aws_smithy_schema::serde::SerdeError> {
|
146 + | ::std::result::Result::Ok(::std::boxed::Box::new(crate::types::error::OpsItemNotFoundException::deserialize(d)?))
|
147 + | },
|
148 + | )
|
149 + | .insert_error_shape(
|
150 + | crate::types::error::OpsItemRelatedItemAlreadyExistsException::SCHEMA,
|
151 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::aws_smithy_types::type_erasure::TypeErasedBox, ::aws_smithy_schema::serde::SerdeError> {
|
152 + | ::std::result::Result::Ok(::aws_smithy_types::type_erasure::TypeErasedBox::new(crate::types::error::OpsItemRelatedItemAlreadyExistsException::deserialize(d)?))
|
153 + | },
|
154 + | |d: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer| -> ::std::result::Result<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync>, ::aws_smithy_schema::serde::SerdeError> {
|
155 + | ::std::result::Result::Ok(::std::boxed::Box::new(crate::types::error::OpsItemRelatedItemAlreadyExistsException::deserialize(d)?))
|
156 + | },
|
157 + | )
|
158 + | .build()
|
159 + | });
|
160 + | }
|
161 + | impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for AssociateOpsItemRelatedItem {
|
162 + | fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
|
163 + | let mut cfg = ::aws_smithy_types::config_bag::Layer::new("AssociateOpsItemRelatedItem");
|
164 + |
|
165 + | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
|
166 + | AssociateOpsItemRelatedItemRequestSerializer,
|
167 + | ));
|
168 + | cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
|
169 + | AssociateOpsItemRelatedItemResponseDeserializer,
|
170 + | ));
|
171 + |
|
172 + | cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
|
173 + | crate::config::auth::Params::builder()
|
174 + | .operation_name("AssociateOpsItemRelatedItem")
|
175 + | .build()
|
176 + | .expect("required fields set"),
|
177 + | ));
|
178 + |
|
179 + | cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new(
|
180 + | "AssociateOpsItemRelatedItem",
|
181 + | "SSM",
|
182 + | ));
|
183 + | let mut signing_options = ::aws_runtime::auth::SigningOptions::default();
|
184 + | signing_options.double_uri_encode = true;
|
185 + | signing_options.content_sha256_header = false;
|
186 + | signing_options.normalize_uri_path = true;
|
187 + | signing_options.payload_override = None;
|
188 + |
|
189 + | cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig {
|
190 + | signing_options,
|
191 + | ..::std::default::Default::default()
|
192 + | });
|
193 + |
|
194 + | ::std::option::Option::Some(cfg.freeze())
|
195 + | }
|
196 + |
|
197 + | fn runtime_components(
|
198 + | &self,
|
199 + | _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
|
200 + | ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
|
201 + | #[allow(unused_mut)]
|
202 + | let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("AssociateOpsItemRelatedItem")
|
203 + | .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
|
204 + | AssociateOpsItemRelatedItemTelemetryInputCaptureInterceptor,
|
205 + | ))
|
206 + | .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
|
207 + | ::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default(),
|
208 + | ))
|
209 + | .with_interceptor(::aws_smithy_runtime_api::client::interceptors::SharedInterceptor::permanent(
|
210 + | AssociateOpsItemRelatedItemEndpointParamsInterceptor,
|
211 + | ))
|
212 + | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
|
213 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError,
|
214 + | >::new())
|
215 + | .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
|
216 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError,
|
217 + | >::new())
|
218 + | .with_retry_classifier(::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<
|
219 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError,
|
220 + | >::new())
|
221 + | .with_retry_classifier(::aws_runtime::service_clock_skew::ServiceClockSkewClassifier::<
|
222 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError,
|
223 + | >::new());
|
224 + |
|
225 + | ::std::borrow::Cow::Owned(rcb)
|
226 + | }
|
227 + | }
|
228 + |
|
229 + | #[derive(Debug)]
|
230 + | struct AssociateOpsItemRelatedItemTelemetryInputCaptureInterceptor;
|
231 + |
|
232 + | #[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
|
233 + | impl ::aws_smithy_runtime_api::client::interceptors::Intercept for AssociateOpsItemRelatedItemTelemetryInputCaptureInterceptor {
|
234 + | fn name(&self) -> &'static str {
|
235 + | "AssociateOpsItemRelatedItemTelemetryInputCaptureInterceptor"
|
236 + | }
|
237 + |
|
238 + | fn read_before_execution(
|
239 + | &self,
|
240 + | context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
|
241 + | '_,
|
242 + | ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
243 + | ::aws_smithy_runtime_api::client::interceptors::context::Output,
|
244 + | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
245 + | >,
|
246 + | cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
247 + | ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
|
248 + | // Nothing to do unless the customer opted in by naming members to record.
|
249 + | let ::std::option::Option::Some(requested) = cfg
|
250 + | .load::<::aws_smithy_types::telemetry::RequestedTelemetryAttributes>()
|
251 + | .filter(|r| !r.is_empty())
|
252 + | else {
|
253 + | return ::std::result::Result::Ok(());
|
254 + | };
|
255 + |
|
256 + | let ::std::option::Option::Some(input) = context.input().downcast_ref::<AssociateOpsItemRelatedItemInput>() else {
|
257 + | // A mismatched input is not this interceptor's concern; skip quietly.
|
258 + | return ::std::result::Result::Ok(());
|
259 + | };
|
260 + |
|
261 + | let mut captured = ::aws_smithy_types::telemetry::CapturedTelemetryAttributes::default();
|
262 + | if requested.should_capture("OpsItemId") {
|
263 + | if let ::std::option::Option::Some(value) = input.ops_item_id.as_deref() {
|
264 + | captured.insert("OpsItemId", value);
|
265 + | }
|
266 + | }
|
267 + | if requested.should_capture("AssociationType") {
|
268 + | if let ::std::option::Option::Some(value) = input.association_type.as_deref() {
|
269 + | captured.insert("AssociationType", value);
|
270 + | }
|
271 + | }
|
272 + | if requested.should_capture("ResourceType") {
|
273 + | if let ::std::option::Option::Some(value) = input.resource_type.as_deref() {
|
274 + | captured.insert("ResourceType", value);
|
275 + | }
|
276 + | }
|
277 + | if requested.should_capture("ResourceUri") {
|
278 + | if let ::std::option::Option::Some(value) = input.resource_uri.as_deref() {
|
279 + | captured.insert("ResourceUri", value);
|
280 + | }
|
281 + | }
|
282 + |
|
283 + | cfg.interceptor_state().store_put(captured);
|
284 + | ::std::result::Result::Ok(())
|
285 + | }
|
286 + | }
|
287 + | #[derive(Debug)]
|
288 + | struct AssociateOpsItemRelatedItemResponseDeserializer;
|
289 + | impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for AssociateOpsItemRelatedItemResponseDeserializer {
|
290 + | fn deserialize_nonstreaming_with_config(
|
291 + | &self,
|
292 + | response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
293 + | _cfg: &::aws_smithy_types::config_bag::ConfigBag,
|
294 + | ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
|
295 + | let (success, status) = (response.status().is_success(), response.status().as_u16());
|
296 + | // Load body and headers BEFORE BeforeParseResponse so customizations
|
297 + | // (e.g., S3's `body_is_error` check that detects errors returned with
|
298 + | // HTTP 200) can inspect them. The legacy non-streaming path also
|
299 + | // loads `body` before firing this hook.
|
300 + | let body = response.body().bytes().expect("body loaded");
|
301 + | let headers = response.headers();
|
302 + | #[allow(unused_mut)]
|
303 + | let mut force_error = false;
|
304 + | ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
|
305 + | if !success && status != 200 || force_error {
|
306 + | let protocol = _cfg
|
307 + | .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
|
308 + | .expect("a SharedClientProtocol is required");
|
309 + | #[allow(unused_mut)]
|
310 + | let mut generic_builder = protocol.parse_error_metadata(response, _cfg).map_err(|e| {
|
311 + | ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
|
312 + | })?;
|
313 + | generic_builder = ::aws_types::request_id::apply_request_id(generic_builder, headers);
|
314 + | let generic = generic_builder.build();
|
315 + | let error_code = match generic.code() {
|
316 + | ::std::option::Option::Some(code) => code,
|
317 + | ::std::option::Option::None => {
|
318 + | return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
|
319 + | ::aws_smithy_runtime_api::box_error::BoxError::from(
|
320 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::unhandled(generic),
|
321 + | ),
|
322 + | ))
|
323 + | }
|
324 + | };
|
325 + | let _error_message = generic.message().map(|msg| msg.to_owned());
|
326 + | let err = match error_code {
|
327 + | "InternalServerError" => crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::InternalServerError({
|
328 + | let mut tmp = match protocol.deserialize_error_response(response, _cfg).and_then(|mut deser| {
|
329 + | crate::types::error::InternalServerError::deserialize_with_response(
|
330 + | &mut *deser,
|
331 + | response.headers(),
|
332 + | response.status().into(),
|
333 + | body,
|
334 + | )
|
335 + | }) {
|
336 + | ::std::result::Result::Ok(val) => val,
|
337 + | ::std::result::Result::Err(e) => {
|
338 + | return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
|
339 + | ::aws_smithy_runtime_api::box_error::BoxError::from(e),
|
340 + | ))
|
341 + | }
|
342 + | };
|
343 + | tmp.meta = generic;
|
344 + | if tmp.message.is_none() {
|
345 + | tmp.message = _error_message;
|
346 + | }
|
347 + | tmp
|
348 + | }),
|
349 + | "OpsItemConflictException" => {
|
350 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemConflictException({
|
351 + | let mut tmp = match protocol.deserialize_error_response(response, _cfg).and_then(|mut deser| {
|
352 + | crate::types::error::OpsItemConflictException::deserialize_with_response(
|
353 + | &mut *deser,
|
354 + | response.headers(),
|
355 + | response.status().into(),
|
356 + | body,
|
357 + | )
|
358 + | }) {
|
359 + | ::std::result::Result::Ok(val) => val,
|
360 + | ::std::result::Result::Err(e) => {
|
361 + | return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
|
362 + | ::aws_smithy_runtime_api::box_error::BoxError::from(e),
|
363 + | ))
|
364 + | }
|
365 + | };
|
366 + | tmp.meta = generic;
|
367 + | if tmp.message.is_none() {
|
368 + | tmp.message = _error_message;
|
369 + | }
|
370 + | tmp
|
371 + | })
|
372 + | }
|
373 + | "OpsItemInvalidParameterException" => {
|
374 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemInvalidParameterException({
|
375 + | let mut tmp = match protocol.deserialize_error_response(response, _cfg).and_then(|mut deser| {
|
376 + | crate::types::error::OpsItemInvalidParameterException::deserialize_with_response(
|
377 + | &mut *deser,
|
378 + | response.headers(),
|
379 + | response.status().into(),
|
380 + | body,
|
381 + | )
|
382 + | }) {
|
383 + | ::std::result::Result::Ok(val) => val,
|
384 + | ::std::result::Result::Err(e) => {
|
385 + | return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
|
386 + | ::aws_smithy_runtime_api::box_error::BoxError::from(e),
|
387 + | ))
|
388 + | }
|
389 + | };
|
390 + | tmp.meta = generic;
|
391 + | if tmp.message.is_none() {
|
392 + | tmp.message = _error_message;
|
393 + | }
|
394 + | tmp
|
395 + | })
|
396 + | }
|
397 + | "OpsItemLimitExceededException" => {
|
398 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemLimitExceededException({
|
399 + | let mut tmp = match protocol.deserialize_error_response(response, _cfg).and_then(|mut deser| {
|
400 + | crate::types::error::OpsItemLimitExceededException::deserialize_with_response(
|
401 + | &mut *deser,
|
402 + | response.headers(),
|
403 + | response.status().into(),
|
404 + | body,
|
405 + | )
|
406 + | }) {
|
407 + | ::std::result::Result::Ok(val) => val,
|
408 + | ::std::result::Result::Err(e) => {
|
409 + | return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
|
410 + | ::aws_smithy_runtime_api::box_error::BoxError::from(e),
|
411 + | ))
|
412 + | }
|
413 + | };
|
414 + | tmp.meta = generic;
|
415 + | if tmp.message.is_none() {
|
416 + | tmp.message = _error_message;
|
417 + | }
|
418 + | tmp
|
419 + | })
|
420 + | }
|
421 + | "OpsItemNotFoundException" => {
|
422 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemNotFoundException({
|
423 + | let mut tmp = match protocol.deserialize_error_response(response, _cfg).and_then(|mut deser| {
|
424 + | crate::types::error::OpsItemNotFoundException::deserialize_with_response(
|
425 + | &mut *deser,
|
426 + | response.headers(),
|
427 + | response.status().into(),
|
428 + | body,
|
429 + | )
|
430 + | }) {
|
431 + | ::std::result::Result::Ok(val) => val,
|
432 + | ::std::result::Result::Err(e) => {
|
433 + | return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
|
434 + | ::aws_smithy_runtime_api::box_error::BoxError::from(e),
|
435 + | ))
|
436 + | }
|
437 + | };
|
438 + | tmp.meta = generic;
|
439 + | if tmp.message.is_none() {
|
440 + | tmp.message = _error_message;
|
441 + | }
|
442 + | tmp
|
443 + | })
|
444 + | }
|
445 + | "OpsItemRelatedItemAlreadyExistsException" => {
|
446 + | crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::OpsItemRelatedItemAlreadyExistsException({
|
447 + | let mut tmp = match protocol.deserialize_error_response(response, _cfg).and_then(|mut deser| {
|
448 + | crate::types::error::OpsItemRelatedItemAlreadyExistsException::deserialize_with_response(
|
449 + | &mut *deser,
|
450 + | response.headers(),
|
451 + | response.status().into(),
|
452 + | body,
|
453 + | )
|
454 + | }) {
|
455 + | ::std::result::Result::Ok(val) => val,
|
456 + | ::std::result::Result::Err(e) => {
|
457 + | return ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(
|
458 + | ::aws_smithy_runtime_api::box_error::BoxError::from(e),
|
459 + | ))
|
460 + | }
|
461 + | };
|
462 + | tmp.meta = generic;
|
463 + | if tmp.message.is_none() {
|
464 + | tmp.message = _error_message;
|
465 + | }
|
466 + | tmp
|
467 + | })
|
468 + | }
|
469 + | _ => {
|
470 + | // Registry-backed, operation-scoped reification of an error whose
|
471 + | // code this operation does not model directly: the operation's own
|
472 + | // error registry is consulted first, then the lookup widens to the
|
473 + | // service-wide error registry. On a hit, the reified error is attached
|
474 + | // as the source of the returned unhandled error while its metadata
|
475 + | // (code, message, request id) is preserved; on a miss the generic
|
476 + | // error is returned unchanged.
|
477 + | match protocol
|
478 + | .deserialize_error_response(response, _cfg)
|
479 + | .ok()
|
480 + | .and_then(|mut deser| {
|
481 + | ::aws_smithy_schema::registry::reify_error(
|
482 + | crate::operation::associate_ops_item_related_item::error_registry::REGISTRY
|
483 + | .or(&crate::error_type_registry::REGISTRY),
|
484 + | error_code,
|
485 + | &mut *deser,
|
486 + | )
|
487 + | }) {
|
488 + | ::std::option::Option::Some(source) => <crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError as ::aws_smithy_runtime_api::client::result::CreateUnhandledError>::create_unhandled_error(source, ::std::option::Option::Some(generic)),
|
489 + | ::std::option::Option::None => crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError::generic(generic),
|
490 + | }
|
491 + | }
|
492 + | };
|
493 + | ::std::result::Result::Err(::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::operation(
|
494 + | ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(err),
|
495 + | ))
|
496 + | } else {
|
497 + | let protocol = _cfg
|
498 + | .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
|
499 + | .expect("a SharedClientProtocol is required");
|
500 + | let mut deser = protocol
|
501 + | .deserialize_response(response, AssociateOpsItemRelatedItem::OUTPUT_SCHEMA, _cfg)
|
502 + | .map_err(|e| {
|
503 + | ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
|
504 + | })?;
|
505 + | // body and headers are already in scope from the top of the function;
|
506 + | // alias `headers` as `_response_headers` so MutateOutput
|
507 + | // customizations have a stable name to read from.
|
508 + | let _response_headers = headers;
|
509 + | #[allow(unused_mut)]
|
510 + | let mut output = crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemOutput::deserialize_with_response(
|
511 + | &mut *deser,
|
512 + | _response_headers,
|
513 + | response.status().into(),
|
514 + | body,
|
515 + | )
|
516 + | .map_err(|e| {
|
517 + | ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError::other(::aws_smithy_runtime_api::box_error::BoxError::from(e))
|
518 + | })?;
|
519 + | output._set_request_id(::aws_types::request_id::RequestId::request_id(_response_headers).map(str::to_string));
|
520 + | ::std::result::Result::Ok(::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
|
521 + | }
|
522 + | }
|
523 + | }
|
524 + | #[derive(Debug)]
|
525 + | struct AssociateOpsItemRelatedItemRequestSerializer;
|
526 + | impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for AssociateOpsItemRelatedItemRequestSerializer {
|
527 + | #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
|
528 + | fn serialize_input(
|
529 + | &self,
|
530 + | input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
531 + | _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
532 + | ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
|
533 + | let input = input
|
534 + | .downcast::<crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemInput>()
|
535 + | .expect("correct type");
|
536 + |
|
537 + | let protocol = _cfg
|
538 + | .load::<::aws_smithy_schema::protocol::SharedClientProtocol>()
|
539 + | .expect("a SharedClientProtocol is required");
|
540 + | let mut request = protocol
|
541 + | .serialize_request(&input, AssociateOpsItemRelatedItem::INPUT_SCHEMA, "/", _cfg)
|
542 + | .map_err(::aws_smithy_runtime_api::box_error::BoxError::from)?;
|
543 + |
|
544 + | return ::std::result::Result::Ok(request);
|
545 + | }
|
546 + | }
|
547 + | #[derive(Debug)]
|
548 + | struct AssociateOpsItemRelatedItemEndpointParamsInterceptor;
|
549 + |
|
550 + | #[::aws_smithy_runtime_api::client::interceptors::dyn_dispatch_hint]
|
551 + | impl ::aws_smithy_runtime_api::client::interceptors::Intercept for AssociateOpsItemRelatedItemEndpointParamsInterceptor {
|
552 + | fn name(&self) -> &'static str {
|
553 + | "AssociateOpsItemRelatedItemEndpointParamsInterceptor"
|
554 + | }
|
555 + |
|
556 + | fn read_before_execution(
|
557 + | &self,
|
558 + | context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
|
559 + | '_,
|
560 + | ::aws_smithy_runtime_api::client::interceptors::context::Input,
|
561 + | ::aws_smithy_runtime_api::client::interceptors::context::Output,
|
562 + | ::aws_smithy_runtime_api::client::interceptors::context::Error,
|
563 + | >,
|
564 + | cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
|
565 + | ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
|
566 + | let _input = context
|
567 + | .input()
|
568 + | .downcast_ref::<AssociateOpsItemRelatedItemInput>()
|
569 + | .ok_or("failed to downcast to AssociateOpsItemRelatedItemInput")?;
|
570 + |
|
571 + | let params = crate::config::endpoint::Params::builder()
|
572 + | .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
|
573 + | .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
|
574 + | .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
|
575 + | .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
|
576 + | .build()
|
577 + | .map_err(|err| {
|
578 + | ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
|
579 + | })?;
|
580 + | cfg.interceptor_state()
|
581 + | .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
|
582 + | ::std::result::Result::Ok(())
|
583 + | }
|
584 + | }
|
585 + |
|
586 + | // The get_* functions below are generated from JMESPath expressions in the
|
587 + | // operationContextParams trait. They target the operation's input shape.
|
588 + |
|
589 + | /// Error type for the `AssociateOpsItemRelatedItemError` operation.
|
590 + | #[non_exhaustive]
|
591 + | #[derive(::std::fmt::Debug)]
|
592 + | pub enum AssociateOpsItemRelatedItemError {
|
593 + | /// <p>An error occurred on the server side.</p>
|
594 + | InternalServerError(crate::types::error::InternalServerError),
|
595 + | /// <p>The specified OpsItem is in the process of being deleted.</p>
|
596 + | OpsItemConflictException(crate::types::error::OpsItemConflictException),
|
597 + | /// <p>A specified parameter argument isn't valid. Verify the available arguments and try again.</p>
|
598 + | OpsItemInvalidParameterException(crate::types::error::OpsItemInvalidParameterException),
|
599 + | /// <p>The request caused OpsItems to exceed one or more quotas.</p>
|
600 + | OpsItemLimitExceededException(crate::types::error::OpsItemLimitExceededException),
|
601 + | /// <p>The specified OpsItem ID doesn't exist. Verify the ID and try again.</p>
|
602 + | OpsItemNotFoundException(crate::types::error::OpsItemNotFoundException),
|
603 + | /// <p>The Amazon Resource Name (ARN) is already associated with the OpsItem.</p>
|
604 + | OpsItemRelatedItemAlreadyExistsException(crate::types::error::OpsItemRelatedItemAlreadyExistsException),
|
605 + | /// An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
|
606 + | #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
|
607 + | variable wildcard pattern and check `.code()`:
|
608 + | \
|
609 + | `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
|
610 + | \
|
611 + | See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-AssociateOpsItemRelatedItemError) for what information is available for the error.")]
|
612 + | Unhandled(crate::error::sealed_unhandled::Unhandled),
|
613 + | }
|
614 + | impl AssociateOpsItemRelatedItemError {
|
615 + | /// Creates the `AssociateOpsItemRelatedItemError::Unhandled` variant from any error type.
|
616 + | pub fn unhandled(
|
617 + | err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
|
618 + | ) -> Self {
|
619 + | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
620 + | source: err.into(),
|
621 + | meta: ::std::default::Default::default(),
|
622 + | })
|
623 + | }
|
624 + |
|
625 + | /// Creates the `AssociateOpsItemRelatedItemError::Unhandled` variant from an [`ErrorMetadata`](::aws_smithy_types::error::ErrorMetadata).
|
626 + | pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
|
627 + | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
628 + | source: err.clone().into(),
|
629 + | meta: err,
|
630 + | })
|
631 + | }
|
632 + | ///
|
633 + | /// Returns error metadata, which includes the error code, message,
|
634 + | /// request ID, and potentially additional information.
|
635 + | ///
|
636 + | pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
637 + | match self {
|
638 + | Self::InternalServerError(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
639 + | Self::OpsItemConflictException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
640 + | Self::OpsItemInvalidParameterException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
641 + | Self::OpsItemLimitExceededException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
642 + | Self::OpsItemNotFoundException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
643 + | Self::OpsItemRelatedItemAlreadyExistsException(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
|
644 + | Self::Unhandled(e) => &e.meta,
|
645 + | }
|
646 + | }
|
647 + | /// Returns `true` if the error kind is `AssociateOpsItemRelatedItemError::InternalServerError`.
|
648 + | pub fn is_internal_server_error(&self) -> bool {
|
649 + | matches!(self, Self::InternalServerError(_))
|
650 + | }
|
651 + | /// Returns `true` if the error kind is `AssociateOpsItemRelatedItemError::OpsItemConflictException`.
|
652 + | pub fn is_ops_item_conflict_exception(&self) -> bool {
|
653 + | matches!(self, Self::OpsItemConflictException(_))
|
654 + | }
|
655 + | /// Returns `true` if the error kind is `AssociateOpsItemRelatedItemError::OpsItemInvalidParameterException`.
|
656 + | pub fn is_ops_item_invalid_parameter_exception(&self) -> bool {
|
657 + | matches!(self, Self::OpsItemInvalidParameterException(_))
|
658 + | }
|
659 + | /// Returns `true` if the error kind is `AssociateOpsItemRelatedItemError::OpsItemLimitExceededException`.
|
660 + | pub fn is_ops_item_limit_exceeded_exception(&self) -> bool {
|
661 + | matches!(self, Self::OpsItemLimitExceededException(_))
|
662 + | }
|
663 + | /// Returns `true` if the error kind is `AssociateOpsItemRelatedItemError::OpsItemNotFoundException`.
|
664 + | pub fn is_ops_item_not_found_exception(&self) -> bool {
|
665 + | matches!(self, Self::OpsItemNotFoundException(_))
|
666 + | }
|
667 + | /// Returns `true` if the error kind is `AssociateOpsItemRelatedItemError::OpsItemRelatedItemAlreadyExistsException`.
|
668 + | pub fn is_ops_item_related_item_already_exists_exception(&self) -> bool {
|
669 + | matches!(self, Self::OpsItemRelatedItemAlreadyExistsException(_))
|
670 + | }
|
671 + | }
|
672 + | impl ::std::error::Error for AssociateOpsItemRelatedItemError {
|
673 + | fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
|
674 + | match self {
|
675 + | Self::InternalServerError(_inner) => ::std::option::Option::Some(_inner),
|
676 + | Self::OpsItemConflictException(_inner) => ::std::option::Option::Some(_inner),
|
677 + | Self::OpsItemInvalidParameterException(_inner) => ::std::option::Option::Some(_inner),
|
678 + | Self::OpsItemLimitExceededException(_inner) => ::std::option::Option::Some(_inner),
|
679 + | Self::OpsItemNotFoundException(_inner) => ::std::option::Option::Some(_inner),
|
680 + | Self::OpsItemRelatedItemAlreadyExistsException(_inner) => ::std::option::Option::Some(_inner),
|
681 + | Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
|
682 + | }
|
683 + | }
|
684 + | }
|
685 + | impl ::std::fmt::Display for AssociateOpsItemRelatedItemError {
|
686 + | fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
|
687 + | match self {
|
688 + | Self::InternalServerError(_inner) => _inner.fmt(f),
|
689 + | Self::OpsItemConflictException(_inner) => _inner.fmt(f),
|
690 + | Self::OpsItemInvalidParameterException(_inner) => _inner.fmt(f),
|
691 + | Self::OpsItemLimitExceededException(_inner) => _inner.fmt(f),
|
692 + | Self::OpsItemNotFoundException(_inner) => _inner.fmt(f),
|
693 + | Self::OpsItemRelatedItemAlreadyExistsException(_inner) => _inner.fmt(f),
|
694 + | Self::Unhandled(_inner) => {
|
695 + | if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
|
696 + | write!(f, "unhandled error ({code})")
|
697 + | } else {
|
698 + | f.write_str("unhandled error")
|
699 + | }
|
700 + | }
|
701 + | }
|
702 + | }
|
703 + | }
|
704 + | impl ::aws_smithy_types::retry::ProvideErrorKind for AssociateOpsItemRelatedItemError {
|
705 + | fn code(&self) -> ::std::option::Option<&str> {
|
706 + | ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
|
707 + | }
|
708 + | fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
|
709 + | ::std::option::Option::None
|
710 + | }
|
711 + | }
|
712 + | impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for AssociateOpsItemRelatedItemError {
|
713 + | fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
|
714 + | match self {
|
715 + | Self::InternalServerError(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
716 + | Self::OpsItemConflictException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
717 + | Self::OpsItemInvalidParameterException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
718 + | Self::OpsItemLimitExceededException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
719 + | Self::OpsItemNotFoundException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
720 + | Self::OpsItemRelatedItemAlreadyExistsException(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
|
721 + | Self::Unhandled(_inner) => &_inner.meta,
|
722 + | }
|
723 + | }
|
724 + | }
|
725 + | impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for AssociateOpsItemRelatedItemError {
|
726 + | fn create_unhandled_error(
|
727 + | source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
|
728 + | meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
|
729 + | ) -> Self {
|
730 + | Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
|
731 + | source,
|
732 + | meta: meta.unwrap_or_default(),
|
733 + | })
|
734 + | }
|
735 + | }
|
736 + | impl ::aws_types::request_id::RequestId for crate::operation::associate_ops_item_related_item::AssociateOpsItemRelatedItemError {
|
737 + | fn request_id(&self) -> Option<&str> {
|
738 + | self.meta().request_id()
|
739 + | }
|
740 + | }
|
741 + |
|
742 + | pub use crate::operation::associate_ops_item_related_item::_associate_ops_item_related_item_input::AssociateOpsItemRelatedItemInput;
|
743 + |
|
744 + | pub use crate::operation::associate_ops_item_related_item::_associate_ops_item_related_item_output::AssociateOpsItemRelatedItemOutput;
|
745 + |
|
746 + | mod _associate_ops_item_related_item_input;
|
747 + |
|
748 + | mod _associate_ops_item_related_item_output;
|
749 + |
|
750 + | /// Builders
|
751 + | pub mod builders;
|