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 #[allow(clippy::uninlined_format_args)]
191 fn uri_base(
192 _input: &crate::operation::head_object::HeadObjectInput,
193 output: &mut ::std::string::String,
194 ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
195 use ::std::fmt::Write as _;
196 let input_1 = &_input.key;
197 let input_1 = input_1
198 .as_ref()
199 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "cannot be empty or unset"))?;
200 let key = ::aws_smithy_http::label::fmt_string(input_1, ::aws_smithy_http::label::EncodingStrategy::Greedy);
201 if key.is_empty() {
202 return ::std::result::Result::Err(::aws_smithy_types::error::operation::BuildError::missing_field(
203 "key",
204 "cannot be empty or unset",
205 ));
206 }
207 ::std::write!(output, "/{Key}", Key = key).expect("formatting should succeed");
208 ::std::result::Result::Ok(())
209 }
210 fn uri_query(
211 _input: &crate::operation::head_object::HeadObjectInput,
212 mut output: &mut ::std::string::String,
213 ) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::BuildError> {
214 let mut query = ::aws_smithy_http::query::Writer::new(output);
215 if let ::std::option::Option::Some(inner_2) = &_input.response_cache_control {
216 {
217 query.push_kv("response-cache-control", &::aws_smithy_http::query::fmt_string(inner_2));
218 }
219 }
220 if let ::std::option::Option::Some(inner_3) = &_input.response_content_disposition {
221 {
222 query.push_kv("response-content-disposition", &::aws_smithy_http::query::fmt_string(inner_3));
223 }
224 }
225 if let ::std::option::Option::Some(inner_4) = &_input.response_content_encoding {
226 {
227 query.push_kv("response-content-encoding", &::aws_smithy_http::query::fmt_string(inner_4));
228 }
229 }
230 if let ::std::option::Option::Some(inner_5) = &_input.response_content_language {
231 {
232 query.push_kv("response-content-language", &::aws_smithy_http::query::fmt_string(inner_5));
233 }
234 }
235 if let ::std::option::Option::Some(inner_6) = &_input.response_content_type {
236 {
237 query.push_kv("response-content-type", &::aws_smithy_http::query::fmt_string(inner_6));
238 }
239 }
240 if let ::std::option::Option::Some(inner_7) = &_input.response_expires {
241 {
242 query.push_kv(
243 "response-expires",
244 &::aws_smithy_http::query::fmt_timestamp(inner_7, ::aws_smithy_types::date_time::Format::HttpDate)?,
245 );
246 }
247 }
248 if let ::std::option::Option::Some(inner_8) = &_input.version_id {
249 {
250 query.push_kv("versionId", &::aws_smithy_http::query::fmt_string(inner_8));
251 }
252 }
253 if let ::std::option::Option::Some(inner_9) = &_input.part_number {
254 {
255 query.push_kv("partNumber", ::aws_smithy_types::primitive::Encoder::from(*inner_9).encode());
256 }
257 }
258 ::std::result::Result::Ok(())
259 }
260 #[allow(clippy::unnecessary_wraps)]
261 fn update_http_builder(
262 input: &crate::operation::head_object::HeadObjectInput,
263 builder: ::http::request::Builder,
264 ) -> ::std::result::Result<::http::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
265 let mut uri = ::std::string::String::new();
266 uri_base(input, &mut uri)?;
267 uri_query(input, &mut uri)?;
268 let builder = crate::protocol_serde::shape_head_object::ser_head_object_headers(input, builder)?;
269 ::std::result::Result::Ok(builder.method("HEAD").uri(uri))
270 }
271 let mut builder = update_http_builder(&input, ::http::request::Builder::new())?;
272 builder
273 };
274 let body = ::aws_smithy_types::body::SdkBody::from("");
275
276 ::std::result::Result::Ok(request_builder.body(body).expect("valid request").try_into().unwrap())
277 }
278}
279#[derive(Debug)]
280struct HeadObjectEndpointParamsInterceptor;
281
282impl ::aws_smithy_runtime_api::client::interceptors::Intercept for HeadObjectEndpointParamsInterceptor {
283 fn name(&self) -> &'static str {
284 "HeadObjectEndpointParamsInterceptor"
285 }
286
287 fn read_before_execution(
288 &self,
289 context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<
290 '_,
291 ::aws_smithy_runtime_api::client::interceptors::context::Input,
292 ::aws_smithy_runtime_api::client::interceptors::context::Output,
293 ::aws_smithy_runtime_api::client::interceptors::context::Error,
294 >,
295 cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
296 ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
297 let _input = context
298 .input()
299 .downcast_ref::<HeadObjectInput>()
300 .ok_or("failed to downcast to HeadObjectInput")?;
301
302 let params = crate::config::endpoint::Params::builder()
303 .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
304 .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
305 .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
306 .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
307 .set_force_path_style(cfg.load::<crate::config::ForcePathStyle>().map(|ty| ty.0))
308 .set_use_arn_region(cfg.load::<crate::config::UseArnRegion>().map(|ty| ty.0))
309 .set_disable_multi_region_access_points(cfg.load::<crate::config::DisableMultiRegionAccessPoints>().map(|ty| ty.0))
310 .set_accelerate(cfg.load::<crate::config::Accelerate>().map(|ty| ty.0))
311 .set_disable_s3_express_session_auth(cfg.load::<crate::config::DisableS3ExpressSessionAuth>().map(|ty| ty.0))
312 .set_bucket(Some(
313 _input
314 .bucket
315 .clone()
316 .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
317 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
318 ))
319 .set_key(Some(
320 _input
321 .key
322 .clone()
323 .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
324 .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
325 ))
326 .build()
327 .map_err(|err| {
328 ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
329 })?;
330 cfg.interceptor_state()
331 .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
332 ::std::result::Result::Ok(())
333 }
334}
335
336#[allow(unreachable_code, unused_variables)]
340#[cfg(test)]
341mod head_object_test {
342
343 #[::tokio::test]
346 #[::tracing_test::traced_test]
347 async fn head_object_uri_encoding_request() {
348 let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
349 let config_builder = crate::config::Config::builder()
350 .with_test_defaults()
351 .allow_no_auth()
354 .endpoint_url("https://example.com");
355 let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
356 let mut config_builder = config_builder;
357 config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
358
359 let config = config_builder.http_client(http_client).build();
360 let client = crate::Client::from_conf(config);
361 let result = client
362 .head_object()
363 .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
364 .set_key(::std::option::Option::Some("<> `?🐱".to_owned()))
365 .send()
366 .await;
367 let _ = dbg!(result);
368 let http_request = request_receiver.expect_request();
369 let uri: ::http::Uri = http_request.uri().parse().expect("invalid URI sent");
370 ::pretty_assertions::assert_eq!(http_request.method(), "HEAD", "method was incorrect");
371 ::pretty_assertions::assert_eq!(uri.path(), "/%3C%3E%20%60%3F%F0%9F%90%B1", "path was incorrect");
372 }
373
374 #[::tokio::test]
377 #[::tracing_test::traced_test]
378 async fn head_object_empty_body_response() {
379 let expected_output = crate::types::error::NotFound::builder().build();
380 let mut http_response = ::aws_smithy_runtime_api::http::Response::try_from(
381 ::http::response::Builder::new()
382 .header("content-type", "application/xml")
383 .header("date", "Thu, 03 Jun 2021 04:05:52 GMT")
384 .header("server", "AmazonS3")
385 .header(
386 "x-amz-id-2",
387 "UTniwu6QmCIjVeuK2ZfeWBOnu7SqMQOS3Vac6B/K4H2ZCawYUl+nDbhGTImuyhZ5DFiojR3Kcz4=",
388 )
389 .header("x-amz-request-id", "GRZ6BZ468DF52F2E")
390 .status(404)
391 .body(::aws_smithy_types::body::SdkBody::from(""))
392 .unwrap(),
393 )
394 .unwrap();
395 use ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin;
396 use ::aws_smithy_runtime_api::client::ser_de::DeserializeResponse;
397
398 let op = crate::operation::head_object::HeadObject::new();
399 let config = op.config().expect("the operation has config");
400 let de = config
401 .load::<::aws_smithy_runtime_api::client::ser_de::SharedResponseDeserializer>()
402 .expect("the config must have a deserializer");
403
404 let parsed = de.deserialize_streaming(&mut http_response);
405 let parsed = parsed.unwrap_or_else(|| {
406 let http_response = http_response.map(|body| {
407 ::aws_smithy_types::body::SdkBody::from(::bytes::Bytes::copy_from_slice(&::aws_smithy_protocol_test::decode_body_data(
408 body.bytes().unwrap(),
409 ::aws_smithy_protocol_test::MediaType::from("application/xml"),
410 )))
411 });
412 de.deserialize_nonstreaming(&http_response)
413 });
414 let parsed = parsed.expect_err("should be error response");
415 let parsed: &crate::operation::head_object::HeadObjectError = parsed.as_operation_error().expect("operation error").downcast_ref().unwrap();
416 if let crate::operation::head_object::HeadObjectError::NotFound(parsed) = parsed {
417 ::pretty_assertions::assert_eq!(parsed.message, expected_output.message, "Unexpected value for `message`");
418 } else {
419 panic!("wrong variant: Got: {:?}. Expected: {:?}", parsed, expected_output);
420 }
421 }
422}
423
424#[non_exhaustive]
426#[derive(::std::fmt::Debug)]
427pub enum HeadObjectError {
428 NotFound(crate::types::error::NotFound),
430 #[deprecated(note = "Matching `Unhandled` directly is not forwards compatible. Instead, match using a \
432 variable wildcard pattern and check `.code()`:
433 \
434 `err if err.code() == Some(\"SpecificExceptionCode\") => { /* handle the error */ }`
435 \
436 See [`ProvideErrorMetadata`](#impl-ProvideErrorMetadata-for-HeadObjectError) for what information is available for the error.")]
437 Unhandled(crate::error::sealed_unhandled::Unhandled),
438}
439impl HeadObjectError {
440 pub fn unhandled(
442 err: impl ::std::convert::Into<::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>>,
443 ) -> Self {
444 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
445 source: err.into(),
446 meta: ::std::default::Default::default(),
447 })
448 }
449
450 pub fn generic(err: ::aws_smithy_types::error::ErrorMetadata) -> Self {
452 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
453 source: err.clone().into(),
454 meta: err,
455 })
456 }
457 pub fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
462 match self {
463 Self::NotFound(e) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(e),
464 Self::Unhandled(e) => &e.meta,
465 }
466 }
467 pub fn is_not_found(&self) -> bool {
469 matches!(self, Self::NotFound(_))
470 }
471}
472impl ::std::error::Error for HeadObjectError {
473 fn source(&self) -> ::std::option::Option<&(dyn ::std::error::Error + 'static)> {
474 match self {
475 Self::NotFound(_inner) => ::std::option::Option::Some(_inner),
476 Self::Unhandled(_inner) => ::std::option::Option::Some(&*_inner.source),
477 }
478 }
479}
480impl ::std::fmt::Display for HeadObjectError {
481 fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
482 match self {
483 Self::NotFound(_inner) => _inner.fmt(f),
484 Self::Unhandled(_inner) => {
485 if let ::std::option::Option::Some(code) = ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self) {
486 write!(f, "unhandled error ({code})")
487 } else {
488 f.write_str("unhandled error")
489 }
490 }
491 }
492 }
493}
494impl ::aws_smithy_types::retry::ProvideErrorKind for HeadObjectError {
495 fn code(&self) -> ::std::option::Option<&str> {
496 ::aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
497 }
498 fn retryable_error_kind(&self) -> ::std::option::Option<::aws_smithy_types::retry::ErrorKind> {
499 ::std::option::Option::None
500 }
501}
502impl ::aws_smithy_types::error::metadata::ProvideErrorMetadata for HeadObjectError {
503 fn meta(&self) -> &::aws_smithy_types::error::ErrorMetadata {
504 match self {
505 Self::NotFound(_inner) => ::aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner),
506 Self::Unhandled(_inner) => &_inner.meta,
507 }
508 }
509}
510impl ::aws_smithy_runtime_api::client::result::CreateUnhandledError for HeadObjectError {
511 fn create_unhandled_error(
512 source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
513 meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
514 ) -> Self {
515 Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
516 source,
517 meta: meta.unwrap_or_default(),
518 })
519 }
520}
521impl crate::s3_request_id::RequestIdExt for crate::operation::head_object::HeadObjectError {
522 fn extended_request_id(&self) -> Option<&str> {
523 self.meta().extended_request_id()
524 }
525}
526impl ::aws_types::request_id::RequestId for crate::operation::head_object::HeadObjectError {
527 fn request_id(&self) -> Option<&str> {
528 self.meta().request_id()
529 }
530}
531
532pub use crate::operation::head_object::_head_object_output::HeadObjectOutput;
533
534pub use crate::operation::head_object::_head_object_input::HeadObjectInput;
535
536mod _head_object_input;
537
538mod _head_object_output;
539
540pub mod builders;