1#[derive(::std::clone::Clone, ::std::default::Default, ::std::fmt::Debug)]
4#[non_exhaustive]
5pub struct HeadObject;
6impl HeadObject {
7 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::head_object::HeadObjectInput,
14 ) -> ::std::result::Result<
15 crate::operation::head_object::HeadObjectOutput,
16 ::aws_smithy_runtime_api::client::result::SdkError<
17 crate::operation::head_object::HeadObjectError,
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::head_object::HeadObjectError>()
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::head_object::HeadObjectOutput>()
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::head_object::HeadObjectInput,
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("S3", "HeadObject", input, runtime_plugins, stop_point)
55 .instrument(::tracing::debug_span!(
58 "S3.HeadObject",
59 "rpc.service" = "S3",
60 "rpc.method" = "HeadObject",
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 HeadObject {
88 fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
89 let mut cfg = ::aws_smithy_types::config_bag::Layer::new("HeadObject");
90
91 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedRequestSerializer::new(
92 HeadObjectRequestSerializer,
93 ));
94 cfg.store_put(::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer::new(
95 HeadObjectResponseDeserializer,
96 ));
97
98 cfg.store_put(::aws_smithy_runtime_api::client::auth::AuthSchemeOptionResolverParams::new(
99 crate::config::auth::Params::builder()
100 .operation_name("HeadObject")
101 .build()
102 .expect("required fields set"),
103 ));
104
105 cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::SensitiveOutput);
106 cfg.store_put(::aws_smithy_runtime_api::client::orchestrator::Metadata::new("HeadObject", "S3"));
107 let mut signing_options = ::aws_runtime::auth::SigningOptions::default();
108 signing_options.double_uri_encode = false;
109 signing_options.content_sha256_header = true;
110 signing_options.normalize_uri_path = false;
111 signing_options.payload_override = None;
112
113 cfg.store_put(::aws_runtime::auth::SigV4OperationSigningConfig {
114 signing_options,
115 ..::std::default::Default::default()
116 });
117
118 ::std::option::Option::Some(cfg.freeze())
119 }
120
121 fn runtime_components(
122 &self,
123 _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
124 ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
125 #[allow(unused_mut)]
126 let mut rcb = ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder::new("HeadObject")
127 .with_interceptor(::aws_smithy_runtime::client::stalled_stream_protection::StalledStreamProtectionInterceptor::default())
128 .with_interceptor(HeadObjectEndpointParamsInterceptor)
129 .with_interceptor(crate::s3_expires_interceptor::S3ExpiresInterceptor)
130 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
131 crate::operation::head_object::HeadObjectError,
132 >::new())
133 .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
134 crate::operation::head_object::HeadObjectError,
135 >::new())
136 .with_retry_classifier(
137 ::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<crate::operation::head_object::HeadObjectError>::builder()
138 .transient_errors({
139 let mut transient_errors: Vec<&'static str> = ::aws_runtime::retries::classifiers::TRANSIENT_ERRORS.into();
140 transient_errors.push("InternalError");
141 ::std::borrow::Cow::Owned(transient_errors)
142 })
143 .build(),
144 );
145
146 ::std::borrow::Cow::Owned(rcb)
147 }
148}
149
150#[derive(Debug)]
151struct HeadObjectResponseDeserializer;
152impl ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse for HeadObjectResponseDeserializer {
153 fn deserialize_nonstreaming(
154 &self,
155 response: &::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
156 ) -> ::aws_smithy_runtime_api::client::interceptors::context::OutputOrError {
157 let (success, status) = (response.status().is_success(), response.status().as_u16());
158 let headers = response.headers();
159 let body = response.body().bytes().expect("body loaded");
160 #[allow(unused_mut)]
161 let mut force_error = false;
162 ::tracing::debug!(extended_request_id = ?crate::s3_request_id::RequestIdExt::extended_request_id(response));
163 if matches!(crate::rest_xml_unwrapped_errors::body_is_error(body), Ok(true)) {
164 force_error = true;
165 }
166 ::tracing::debug!(request_id = ?::aws_types::request_id::RequestId::request_id(response));
167 let parse_result = if !success && status != 200 || force_error {
168 crate::protocol_serde::shape_head_object::de_head_object_http_error(status, headers, body)
169 } else {
170 crate::protocol_serde::shape_head_object::de_head_object_http_response(status, headers, body)
171 };
172 crate::protocol_serde::type_erase_result(parse_result)
173 }
174}
175#[derive(Debug)]
176struct HeadObjectRequestSerializer;
177impl ::aws_smithy_runtime_api::client::ser_de::SerializeRequest for HeadObjectRequestSerializer {
178 #[allow(unused_mut, clippy::let_and_return, clippy::needless_borrow, clippy::useless_conversion)]
179 fn serialize_input(
180 &self,
181 input: ::aws_smithy_runtime_api::client::interceptors::context::Input,
182 _cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
183 ) -> ::std::result::Result<::aws_smithy_runtime_api::client::orchestrator::HttpRequest, ::aws_smithy_runtime_api::box_error::BoxError> {
184 let input = input.downcast::<crate::operation::head_object::HeadObjectInput>().expect("correct type");
185 let _header_serialization_settings = _cfg
186 .load::<crate::serialization_settings::HeaderSerializationSettings>()
187 .cloned()
188 .unwrap_or_default();
189 let mut request_builder = {
190 fn uri_base(
191 _input: &crate::operation::head_object::HeadObjectInput,
192 output: &mut ::std::string::String,
193 ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
194 use ::std::fmt::Write as _;
195 let input_1 = &_input.key;
196 let input_1 = input_1
197 .as_ref()
198 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "cannot be empty or unset"))?;
199 let key = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Greedy);
200 if key.is_empty() {
201 return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
202 "key",
203 "cannot be empty or unset",
204 ));
205 }
206 ::std::write!(output, "/{Key}", Key = key).expect("formatting should succeed");
207 ::std::result::Result::Ok(())
208 }
209 fn uri_query(
210 _input: &crate::operation::head_object::HeadObjectInput,
211 mut output: &mut ::std::string::String,
212 ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
213 let mut query = ::aws_smithy_http::query::Writer::new(output);
214 if let ::std::option::Option::Some(inner_2) = &_input.response_cache_control {
215 {
216 query.push_kv("response-cache-control", &::aws_smithy_http::query::fmt_string(inner_2));
217 }
218 }
219 if let ::std::option::Option::Some(inner_3) = &_input.response_content_disposition {
220 {
221 query.push_kv("response-content-disposition", &::aws_smithy_http::query::fmt_string(inner_3));
222 }
223 }
224 if let ::std::option::Option::Some(inner_4) = &_input.response_content_encoding {
225 {
226 query.push_kv("response-content-encoding", &::aws_smithy_http::query::fmt_string(inner_4));
227 }
228 }
229 if let ::std::option::Option::Some(inner_5) = &_input.response_content_language {
230 {
231 query.push_kv("response-content-language", &::aws_smithy_http::query::fmt_string(inner_5));
232 }
233 }
234 if let ::std::option::Option::Some(inner_6) = &_input.response_content_type {
235 {
236 query.push_kv("response-content-type", &::aws_smithy_http::query::fmt_string(inner_6));
237 }
238 }
239 if let ::std::option::Option::Some(inner_7) = &_input.response_expires {
240 {
241 query.push_kv(
242 "response-expires",
243 &::aws_smithy_http::query::fmt_timestamp(inner_7, ::aws_smithy_types::date_time::Format::HttpDate)?,
244 );
245 }
246 }
247 if let ::std::option::Option::Some(inner_8) = &_input.version_id {
248 {
249 query.push_kv("versionId", &::aws_smithy_http::query::fmt_string(inner_8));
250 }
251 }
252 if let ::std::option::Option::Some(inner_9) = &_input.part_number {
253 {
254 query.push_kv("partNumber", ::aws_smithy_types::primitive::Encoder::from(*inner_9).encode());
255 }
256 }
257 ::std::result::Result::Ok(())
258 }
259 #[allow(clippy::unnecessary_wraps)]
260 fn update_http_builder(
261 input: &crate::operation::head_object::HeadObjectInput,
262 builder: ::http::request::Builder,
263 ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
264 let mut uri = ::std::string::String::new();
265 uri_base(input, &mut uri)?;
266 uri_query(input, &mut uri)?;
267 let builder = crate::protocol_serde::shape_head_object::ser_head_object_headers(input, builder)?;
268 ::std::result::Result::Ok(builder.method("HEAD").uri(uri))
269 }
270 let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
271 builder
272 };
273 let body = ::aws_smithy_types::body::SdkBody::from("");
274
275 ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
276 }
277}
278#[derive(Debug)]
279struct HeadObjectEndpointParamsInterceptor;
280
281impl ::aws_smithy_runtime_api::client::interceptors::Intercept for HeadObjectEndpointParamsInterceptor {
282 fn name(&self) -> &'static str {
283 "HeadObjectEndpointParamsInterceptor"
284 }
285
286 fn read_before_execution(
287 &self,
288 context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
289 '_,
290 ::aws_smithy_runtime_api::client::interceptors::context::Input,
291 ::aws_smithy_runtime_api::client::interceptors::context::Output,
292 ::aws_smithy_runtime_api::client::interceptors::context::Error,
293 >,
294 cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
295 ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
296 let _input = context
297 .input()
298 .downcast_ref::<HeadObjectInput>()
299 .ok_or("failed to downcast to HeadObjectInput")?;
300
301 let params = crate::config::endpoint::Params::builder()
302 .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
303 .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
304 .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
305 .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
306 .set_force_path_style(cfg.load::<crate::config::ForcePathStyle>().map(|ty| ty.0))
307 .set_use_arn_region(cfg.load::<crate::config::UseArnRegion>().map(|ty| ty.0))
308 .set_disable_multi_region_access_points(cfg.load::<crate::config::DisableMultiRegionAccessPoints>().map(|ty| ty.0))
309 .set_accelerate(cfg.load::<crate::config::Accelerate>().map(|ty| ty.0))
310 .set_disable_s3_express_session_auth(cfg.load::<crate::config::DisableS3ExpressSessionAuth>().map(|ty| ty.0))
311 .set_bucket(Some(
312 _input
313 .bucket
314 .clone()
315 .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
316 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
317 ))
318 .set_key(Some(
319 _input
320 .key
321 .clone()
322 .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
323 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
324 ))
325 .build()
326 .map_err(|err| {
327 ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
328 })?;
329 cfg.interceptor_state()
330 .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
331 ::std::result::Result::Ok(())
332 }
333}
334
335#[allow(unreachable_code, unused_variables)]
339#[cfg(test)]
340mod head_object_test {
341
342 #[::tokio::test]
345 #[::tracing_test::traced_test]
346 async fn head_object_uri_encoding_request() {
347 let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
348 let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
349 let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
350 let mut config_builder = config_builder;
351 config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
352
353 let config = config_builder.http_client(http_client).build();
354 let client = crate::Client::from_conf(config);
355 let result = client
356 .head_object()
357 .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
358 .set_key(::std::option::Option::Some("<> `?🐱".to_owned()))
359 .send()
360 .await;
361 let _ = dbg!(result);
362 let http_request = request_receiver.expect_request();
363 let uri: ::http::Uri = http_request.uri().parse().expect("invalid URI sent");
364 ::pretty_assertions::assert_eq!(http_request.method(), "HEAD", "method was incorrect");
365 ::pretty_assertions::assert_eq!(uri.path(), "/%3C%3E%20%60%3F%F0%9F%90%B1", "path was incorrect");
366 }
367
368 #[::tokio::test]
371 #[::tracing_test::traced_test]
372 async fn head_object_empty_body_response() {
373 let expected_output = crate::types::error::NotFound::builder().build();
374 let mut http_response = ::aws_smithy_runtime_api::http::Response::try_from(
375 ::http::response::Builder::new()
376 .header("content-type", "application/xml")
377 .header("date", "Thu, 03 Jun 2021 04:05:52 GMT")
378 .header("server", "AmazonS3")
379 .header(
380 "x-amz-id-2",
381 "UTniwu6QmCIjVeuK2ZfeWBOnu7SqMQOS3Vac6B/K4H2ZCawYUl+nDbhGTImuyhZ5DFiojR3Kcz4=",
382 )
383 .header("x-amz-request-id", "GRZ6BZ468DF52F2E")
384 .status(404)
385 .body(::aws_smithy_types::body::SdkBody::from(""))
386 .unwrap(),
387 )
388 .unwrap();
389 use ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin;
390 use ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse;
391
392 let op = crate::operation::head_object::HeadObject::new();
393 let config = op.config().expect("the operation has config");
394 let de = config
395 .load::<::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer>()
396 .expect("the config must have a deserializer");
397
398 let parsed = de.deserialize_streaming(&mut http_response);
399 let parsed = parsed.unwrap_or_else(|| {
400 let http_response = http_response.map(|body| {
401 ::aws_smithy_types::body::SdkBody::from(::bytes::Bytes::copy_from_slice(&::aws_smithy_protocol_test::decode_body_data(
402 body.bytes().unwrap(),
403 ::aws_smithy_protocol_test::MediaType::from("application/xml"),
404 )))
405 });
406 de.deserialize_nonstreaming(&http_response)
407 });
408 let parsed = parsed.expect_err("should be error response");
409 let parsed: &crate::operation::head_object::HeadObjectError = parsed.as_operation_error().expect("operation error").downcast_ref().unwrap();
410 if let crate::operation::head_object::HeadObjectError::NotFound(parsed) = parsed {
411 ::pretty_assertions::assert_eq!(parsed.message, expected_output.message, "Unexpected value for `message`");
412 } else {
413 panic!("wrong variant: Got: {:?}. Expected: {:?}", parsed, expected_output);
414 }
415 }
416}
417
418#[non_exhaustive]
420#[derive(::std::fmt::Debug)]
421pub enum HeadObjectError {
422 NotFound(crate::types::error::NotFound),
424 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
426 variable wildcard pattern and check `.code()`:
427 \
428 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
429 \
430 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-HeadObjectError) for what information is available for the error.")]
431 Unhandled(crate::error::sealed_unhandled::Unhandled),
432}
433impl HeadObjectError {
434 pub fn unhandled(
436 err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
437 ) -> Self {
438 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
439 source: err.into(),
440 meta: ::std::default::Default::default(),
441 })
442 }
443
444 pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
446 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
447 source: err.clone().into(),
448 meta: err,
449 })
450 }
451 pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
456 match self {
457 Self::NotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
458 Self::Unhandled(e) => &e.meta,
459 }
460 }
461 pub fn is_not_found(&self) -> bool {
463 matches!(self, Self::NotFound(_))
464 }
465}
466impl ::std::error::Error for HeadObjectError {
467 fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
468 match self {
469 Self::NotFound(_inner) => ::std::option::Option::Some(_inner),
470 Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
471 }
472 }
473}
474impl ::std::fmt::Display for HeadObjectError {
475 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
476 match self {
477 Self::NotFound(_inner) => _inner.fmt(f),
478 Self::Unhandled(_inner) => {
479 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
480 write!(f, "unhandled error ({code})")
481 } else {
482 f.write_str("unhandled error")
483 }
484 }
485 }
486 }
487}
488impl ::aws_smithy_types::retry::ProvideErrorKind for HeadObjectError {
489 fn code(&self) -> ::std::option::Option<&str> {
490 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
491 }
492 fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
493 ::std::option::Option::None
494 }
495}
496impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for HeadObjectError {
497 fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
498 match self {
499 Self::NotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
500 Self::Unhandled(_inner) => &_inner.meta,
501 }
502 }
503}
504impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for HeadObjectError {
505 fn create_unhandled_error(
506 source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
507 meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
508 ) -> Self {
509 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
510 source,
511 meta: meta.unwrap_or_default(),
512 })
513 }
514}
515impl crate::s3_request_id::RequestIdExt for crate::operation::head_object::HeadObjectError {
516 fn extended_request_id(&self) -> Option<&str> {
517 self.meta().extended_request_id()
518 }
519}
520impl ::aws_types::request_id::RequestId for crate::operation::head_object::HeadObjectError {
521 fn request_id(&self) -> Option<&str> {
522 self.meta().request_id()
523 }
524}
525
526pub use crate::operation::head_object::_head_object_output::HeadObjectOutput;
527
528pub use crate::operation::head_object::_head_object_input::HeadObjectInput;
529
530mod _head_object_input;
531
532mod _head_object_output;
533
534pub mod builders;