id
stringlengths
22
133
text
stringlengths
40
40.2k
arch
stringclasses
1 value
syntax
stringclasses
1 value
kind
stringclasses
4 values
repo
stringclasses
27 values
path
stringlengths
5
116
license
stringclasses
6 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
16 values
source_url
stringlengths
85
196
line_start
int64
1
4.28k
line_end
int64
4
4.31k
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:1
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ //! Interceptors for clients. //! //! Interceptors are operation lifecycle hooks that can read/modify requests and responses. use crate::box_error::BoxError; use crate::client::interceptors::context::{ ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
1
60
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:2
Ok(()) } }; (mut $name:ident, $phase:ident, $docs:tt) => { #[doc = $docs] fn $name( &self, context: &mut $phase<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
41
100
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:3
/// /// **Available Information:** The [`InterceptorContext::input`](context::InterceptorContext::input) /// is **ALWAYS** available. Other information **WILL NOT** be available. /// /// **Error Behavior:** Errors raised by this hook will be stored /// until all interceptors have had their `before_e...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
81
140
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:4
**Return Constraints:** The input message returned by this hook MUST be the same type of input message passed into this hook. If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_serialization, BeforeSerializationInterceptorContextRef, ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
121
180
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:5
**Available Information:** The [`InterceptorContext::request`](context::InterceptorContext::request) is **ALWAYS** available. Other information **WILL NOT** be available. **Error Behavior:** If errors are raised by this hook, execution will jump to `modify_before_completion` with the raised ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
161
220
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:6
called multiple times in the event of retries. **Available Information:** The [`InterceptorContext::request`](context::InterceptorContext::request) is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes ma...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
201
260
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:7
**Return Constraints:** The transport request message returned by this hook MUST be the same type of request message passed into this hook If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_signing, BeforeTransmitInterceptorContextRef, ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
241
300
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:8
the amount of time spent signing the request. **Available Information:** The [`InterceptorContext::request`](context::InterceptorContext::request) is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes mad...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
281
340
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:9
If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_transmit, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is sent to the service. **When:** This will **ALWAYS** be called once...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
321
380
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:10
called multiple times in the event of retries. The duration between invocation of this hook and `before_transmit` is very close to the amount of time spent communicating with the service. Depending on the protocol, the duration may not include the time spent reading the response data. ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
361
420
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:11
**Return Constraints:** The transport response message returned by this hook MUST be the same type of response message passed into this hook. If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_deserialization, BeforeDeserializationInterc...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
401
460
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:12
between invocation of this hook and `before_deserialization` is very close to the amount of time spent unmarshalling the service response. Depending on the protocol and operation, the duration may include the time spent downloading the response data. **Available Information:** T...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
441
500
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:13
/// hook MUST match the operation being invoked. Any error type can be /// returned, replacing the response currently in the context. fn modify_before_attempt_completion( &self, context: &mut FinalizerInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut Co...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
481
540
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:15
/// /// **When:** This will **ALWAYS** be called once per execution. The duration /// between invocation of this hook and `before_execution` is very /// close to the full duration of the execution. /// /// **Available Information:** /// The [`InterceptorContext::input`](context::InterceptorConte...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
561
620
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:16
} } /// Bitmask indicating which interceptor hooks a [`SharedInterceptor`] actually overrides. /// /// When returned from [`Intercept::overridden_hooks`], the interceptor loop can skip /// dyn dispatch for hooks that are not in the mask. #[doc(hidden)] #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub struct Overridden...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
601
660
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:17
/// Hint for [`Intercept::read_after_signing`]. pub const READ_AFTER_SIGNING: Self = Self(1 << 8); /// Hint for [`Intercept::modify_before_transmit`]. pub const MODIFY_BEFORE_TRANSMIT: Self = Self(1 << 9); /// Hint for [`Intercept::read_before_transmit`]. pub const READ_BEFORE_TRANSMIT: Self = Self(...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
641
700
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:18
/// Interceptor wrapper that may be shared #[derive(Clone)] pub struct SharedInterceptor { interceptor: Arc<dyn Intercept>, /// When `None`, the interceptor is always enabled (permanent mode). #[allow(clippy::type_complexity)] check_enabled: Option<Arc<dyn Fn(&ConfigBag) -> bool + Send + Sync>>, ///...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
681
740
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:19
/// [`DisableInterceptor`] lookup in the config bag. /// /// Note: In debug builds, if [`disable_interceptor`] is called for an /// interceptor wrapped with `permanent`, a panic will occur to flag the /// misconfiguration. Use [`SharedInterceptor::new`] instead if the /// interceptor needs to be dis...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
721
780
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:20
self.overridden_hooks } } impl ValidateConfig for SharedInterceptor {} impl Intercept for SharedInterceptor { fn name(&self) -> &'static str { self.interceptor.name() } fn modify_before_attempt_completion( &self, context: &mut FinalizerInterceptorContextMut<'_>, runtim...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
761
820
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:21
fn modify_before_retry_loop( &self, context: &mut BeforeTransmitInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .modify_before_retry_loop(context, runtime_components, cfg) } ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
801
860
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:22
fn read_after_attempt( &self, context: &FinalizerInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_after_attempt(context, runtime_components, cfg) } fn read_after_des...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
841
900
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:23
fn read_after_signing( &self, context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_after_signing(context, runtime_components, cfg) } fn read_afte...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
881
940
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:24
fn read_before_execution( &self, context: &BeforeSerializationInterceptorContextRef<'_>, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor.read_before_execution(context, cfg) } fn read_before_serialization( &self, context: &BeforeSerialization...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
921
980
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:25
impl_shared_conversions!(convert SharedInterceptor from Intercept using SharedInterceptor::new); /// Generalized interceptor disabling interface /// /// RuntimePlugins can disable interceptors by inserting [`DisableInterceptor<T>`](DisableInterceptor) into the config bag #[must_use] #[derive(Debug)] pub struct Disable...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5e17b3723799bff475dc95cdcca40c9d54602f18
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5e17b3723799bff475dc95cdcca40c9d54602f18/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
961
987
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:2
Ok(()) } }; (mut $name:ident, $phase:ident, $docs:tt) => { #[doc = $docs] fn $name( &self, context: &mut $phase<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
41
100
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:3
/// /// **Error Behavior:** Errors raised by this hook will be stored /// until all interceptors have had their `before_execution` invoked. /// Other hooks will then be skipped and execution will jump to /// `modify_before_completion` with the raised error as the /// [`InterceptorContext::output_or_...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
81
140
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:4
If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_serialization, BeforeSerializationInterceptorContextRef, " A hook called before the input message is marshalled into a transport message. **When:** This will **A...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
121
180
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:5
**Error Behavior:** If errors are raised by this hook, execution will jump to `modify_before_completion` with the raised error as the [`InterceptorContext::output_or_error`](context::InterceptorContext::output_or_error). " ); interceptor_trait_fn!( mut modify_before_retry_loop, ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
161
220
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:6
is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes made in previous attempts (e.g. by request signers or other interceptors). **Error Behavior:** Errors raised by this hook will be stored until...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
201
260
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:7
If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_signing, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is signed. **When:** This will **ALWAYS** be called once per attempt, except w...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
241
300
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:8
Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes made in previous attempts (e.g. by request signers or other interceptors). **Error Behavior:** If errors are raised by this hook, execution will jump to `modify_before...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
281
340
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:9
interceptor_trait_fn!( read_before_transmit, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is sent to the service. **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs earlier in the r...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
321
380
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:10
Depending on the protocol, the duration may not include the time spent reading the response data. **Available Information:** The [`InterceptorContext::response`](context::InterceptorContext::response) is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries,...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
361
420
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:11
this hook. If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_deserialization, BeforeDeserializationInterceptorContextRef, " A hook called before the transport response message is unmarshalled **When:** This will **ALWAYS** be c...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
401
460
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:12
the duration may include the time spent downloading the response data. **Available Information:** The [`InterceptorContext::response`](context::InterceptorContext::response) and [`InterceptorContext::output_or_error`](context::InterceptorContext::output_or_error) are **ALWAYS** availabl...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
441
500
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:13
&self, context: &mut FinalizerInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc, _cfg) = (context, runtime_components, cfg); Ok(()) } /// A hook called when an attempt is completed. ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
481
540
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:15
/// close to the full duration of the execution. /// /// **Available Information:** /// The [`InterceptorContext::input`](context::InterceptorContext::input), /// [`InterceptorContext::request`](context::InterceptorContext::request), /// [`InterceptorContext::response`](context::InterceptorContext::...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
561
620
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:16
.finish() } } impl SharedInterceptor { /// Create a new `SharedInterceptor` from `Interceptor`. pub fn new<T: Intercept + 'static>(interceptor: T) -> Self { Self { interceptor: Arc::new(interceptor), check_enabled: Arc::new(|conf: &ConfigBag| { conf.load::<Di...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
601
660
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:17
context: &mut FinalizerInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .modify_before_completion(context, runtime_components, cfg) } fn modify_before_deserialization( &self, ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
641
700
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:18
context: &mut BeforeTransmitInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .modify_before_signing(context, runtime_components, cfg) } fn modify_before_transmit( &self, c...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
681
740
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:19
context: &FinalizerInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_after_execution(context, runtime_components, cfg) } fn read_after_serialization( &self, context: ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
721
780
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:20
context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_before_attempt(context, runtime_components, cfg) } fn read_before_deserialization( &self, co...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
761
820
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:21
cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_before_signing(context, runtime_components, cfg) } fn read_before_transmit( &self, context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
a0ddad15fca029a888f717b770fda078541546c4
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/a0ddad15fca029a888f717b770fda078541546c4/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
801
844
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:21
cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_before_signing(context, runtime_components, cfg) } fn read_before_transmit( &self, context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
5370d2af59d5b60d5683509317096554e3afbeef
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/5370d2af59d5b60d5683509317096554e3afbeef/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
801
844
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:1
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ //! Interceptors for clients. //! //! Interceptors are operation lifecycle hooks that can read/modify requests and responses. use crate::box_error::BoxError; use crate::client::interceptors::context::{ ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
1
60
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:2
Ok(()) } }; (mut $name:ident, $phase:ident, $docs:tt) => { #[doc = $docs] fn $name( &self, context: &mut $phase<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
41
100
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:15
/// /// **When:** This will **ALWAYS** be called once per execution. The duration /// between invocation of this hook and `before_execution` is very /// close to the full duration of the execution. /// /// **Available Information:** /// The [`InterceptorContext::input`](context::InterceptorConte...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
561
620
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:16
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("SharedInterceptor") .field("interceptor", &self.interceptor) .finish() } } impl SharedInterceptor { /// Create a new `SharedInterceptor` from `Interceptor`. pub fn new<T: Intercept + 'static>(intercep...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
601
660
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:17
fn modify_before_completion( &self, context: &mut FinalizerInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .modify_before_completion(context, runtime_components, cfg) } f...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
641
700
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:18
fn modify_before_signing( &self, context: &mut BeforeTransmitInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .modify_before_signing(context, runtime_components, cfg) } fn...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
681
740
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:19
fn read_after_execution( &self, context: &FinalizerInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_after_execution(context, runtime_components, cfg) } fn read_after...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
721
780
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:20
fn read_before_attempt( &self, context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_before_attempt(context, runtime_components, cfg) } fn read_be...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
761
820
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:21
&self, context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_before_signing(context, runtime_components, cfg) } fn read_before_transmit( &self, ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
b95f7d686040150eb38c68d209f7a6557a565cc3
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/b95f7d686040150eb38c68d209f7a6557a565cc3/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
801
847
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:1
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ //! Interceptors for clients. //! //! Interceptors are operation lifecycle hooks that can read/modify requests and responses. use crate::box_error::BoxError; use crate::client::interceptors::context::{ ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
1
60
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:2
} }; (mut $name:ident, $phase:ident, $docs:tt) => { #[doc = $docs] fn $name( &self, context: &mut $phase<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc, _cfg) = (cont...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
41
100
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:3
/// **Available Information:** The [`InterceptorContext::input`](context::InterceptorContext::input) /// is **ALWAYS** available. Other information **WILL NOT** be available. /// /// **Error Behavior:** Errors raised by this hook will be stored /// until all interceptors have had their `before_execution...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
81
140
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:5
**Available Information:** The [`InterceptorContext::request`](context::InterceptorContext::request) is **ALWAYS** available. Other information **WILL NOT** be available. **Error Behavior:** If errors are raised by this hook, execution will jump to `modify_before_completion` with the raised ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
161
220
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:6
**Available Information:** The [`InterceptorContext::request`](context::InterceptorContext::request) is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes made in previous attempts (e.g. by request signers...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
201
260
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:7
hook MUST be the same type of request message passed into this hook If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_signing, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is signed....
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
241
300
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:8
**Available Information:** The [`InterceptorContext::request`](context::InterceptorContext::request) is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes made in previous attempts (e.g. by request signers...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
281
340
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:9
" ); interceptor_trait_fn!( read_before_transmit, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is sent to the service. **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs ea...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
321
380
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:10
invocation of this hook and `before_transmit` is very close to the amount of time spent communicating with the service. Depending on the protocol, the duration may not include the time spent reading the response data. **Available Information:** The [`InterceptorContext::response`](conte...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
361
420
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:11
**Return Constraints:** The transport response message returned by this hook MUST be the same type of response message passed into this hook. If not, an error will immediately be raised. " ); interceptor_trait_fn!( read_before_deserialization, BeforeDeserializationInterc...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
401
460
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:12
very close to the amount of time spent unmarshalling the service response. Depending on the protocol and operation, the duration may include the time spent downloading the response data. **Available Information:** The [`InterceptorContext::response`](context::InterceptorContext::respons...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
441
500
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:13
/// returned, replacing the response currently in the context. fn modify_before_attempt_completion( &self, context: &mut FinalizerInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc, _cfg) = (c...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
481
540
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:15
/// **When:** This will **ALWAYS** be called once per execution. The duration /// between invocation of this hook and `before_execution` is very /// close to the full duration of the execution. /// /// **Available Information:** /// The [`InterceptorContext::input`](context::InterceptorContext::inpu...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
561
620
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:16
f.debug_struct("SharedInterceptor") .field("interceptor", &self.interceptor) .finish() } } impl SharedInterceptor { /// Create a new `SharedInterceptor` from `Interceptor`. pub fn new<T: Intercept + 'static>(interceptor: T) -> Self { Self { interceptor: Arc::new(...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
280e400ab518efd8db7992921dc5345d9d67dac5
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/280e400ab518efd8db7992921dc5345d9d67dac5/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
601
660
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:1
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ //! Interceptors for clients. //! //! Interceptors are operation lifecycle hooks that can read/modify requests and responses. use crate::box_error::BoxError; use crate::client::interceptors::context::{ ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
1
60
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:2
} }; (mut $name:ident, $phase:ident, $docs:tt) => { #[doc = $docs] fn $name( &self, context: &mut $phase<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc, _cfg) = (cont...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
41
100
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:3
/// **Error Behavior:** Errors raised by this hook will be stored /// until all interceptors have had their `before_execution` invoked. /// Other hooks will then be skipped and execution will jump to /// `modify_before_completion` with the raised error as the /// [`InterceptorContext::output_or_error`](...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
81
140
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:4
" ); interceptor_trait_fn!( read_before_serialization, BeforeSerializationInterceptorContextRef, " A hook called before the input message is marshalled into a transport message. **When:** This will **ALWAYS** be called once per execution, except when a ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
121
180
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:5
**Error Behavior:** If errors are raised by this hook, execution will jump to `modify_before_completion` with the raised error as the [`InterceptorContext::output_or_error`](context::InterceptorContext::output_or_error). " ); interceptor_trait_fn!( mut modify_before_retry_loop, ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
161
220
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:6
the `InterceptorContext` will not include changes made in previous attempts (e.g. by request signers or other interceptors). **Error Behavior:** Errors raised by this hook will be stored until all interceptors have had their `before_attempt` invoked. Other hooks will then be skipped and...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
201
260
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:7
" ); interceptor_trait_fn!( read_before_signing, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is signed. **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs earlier in the request p...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
241
300
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:8
the `InterceptorContext` will not include changes made in previous attempts (e.g. by request signers or other interceptors). **Error Behavior:** If errors are raised by this hook, execution will jump to `modify_before_attempt_completion` with the raised error as the [`InterceptorContext...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
281
340
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:9
interceptor_trait_fn!( read_before_transmit, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is sent to the service. **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs earlier in the r...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
321
380
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:10
spent reading the response data. **Available Information:** The [`InterceptorContext::response`](context::InterceptorContext::response) is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes made in previo...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
361
420
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:11
" ); interceptor_trait_fn!( read_before_deserialization, BeforeDeserializationInterceptorContextRef, " A hook called before the transport response message is unmarshalled **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs ear...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
401
460
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:12
the response data. **Available Information:** The [`InterceptorContext::response`](context::InterceptorContext::response) and [`InterceptorContext::output_or_error`](context::InterceptorContext::output_or_error) are **ALWAYS** available. In the event of retries, the `InterceptorContext` will no...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
441
500
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:13
context: &mut FinalizerInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc, _cfg) = (context, runtime_components, cfg); Ok(()) } /// A hook called when an attempt is completed. /// /// **W...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
481
540
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:15
/// /// **Available Information:** /// The [`InterceptorContext::input`](context::InterceptorContext::input), /// [`InterceptorContext::request`](context::InterceptorContext::request), /// [`InterceptorContext::response`](context::InterceptorContext::response), or /// [`InterceptorContext::output_or...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
561
620
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:16
} } impl SharedInterceptor { /// Create a new `SharedInterceptor` from `Interceptor`. pub fn new<T: Interceptor + 'static>(interceptor: T) -> Self { Self { interceptor: Arc::new(interceptor), check_enabled: Arc::new(|conf: &ConfigBag| { conf.load::<DisableInterce...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
601
660
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:17
) -> Result<(), BoxError> { self.interceptor .modify_before_completion(context, runtime_components, cfg) } fn modify_before_deserialization( &self, context: &mut BeforeDeserializationInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
641
700
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:18
) -> Result<(), BoxError> { self.interceptor .modify_before_signing(context, runtime_components, cfg) } fn modify_before_transmit( &self, context: &mut BeforeTransmitInterceptorContextMut<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, )...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
681
740
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:19
) -> Result<(), BoxError> { self.interceptor .read_after_execution(context, runtime_components, cfg) } fn read_after_serialization( &self, context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) ->...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
721
780
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:20
) -> Result<(), BoxError> { self.interceptor .read_before_attempt(context, runtime_components, cfg) } fn read_before_deserialization( &self, context: &BeforeDeserializationInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag,...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
761
820
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:21
.read_before_signing(context, runtime_components, cfg) } fn read_before_transmit( &self, context: &BeforeTransmitInterceptorContextRef<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { self.interceptor .read_bef...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
55aa7275a4a080ca6c3b74b77d5f86d37dbb7720
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/55aa7275a4a080ca6c3b74b77d5f86d37dbb7720/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
801
841
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:1
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ //! Interceptors for clients. //! //! Interceptors are operation lifecycle hooks that can read/modify requests and responses. use crate::box_error::BoxError; use crate::client::interceptors::context::{ ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
38f7658917b57ddcdf7161b18769fc12ad2f24ba
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/38f7658917b57ddcdf7161b18769fc12ad2f24ba/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
1
60
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:16
} } impl SharedInterceptor { /// Create a new `SharedInterceptor` from `Interceptor`. pub fn new<T: Interceptor + 'static>(interceptor: T) -> Self { Self { interceptor: Arc::new(interceptor), check_enabled: Arc::new(|conf: &ConfigBag| { conf.load::<DisableInterce...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
38f7658917b57ddcdf7161b18769fc12ad2f24ba
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/38f7658917b57ddcdf7161b18769fc12ad2f24ba/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
601
658
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:17
#[allow(unused)] cause: &'static str, } impl<T> Storable for DisableInterceptor<T> where T: fmt::Debug + Send + Sync + 'static, { type Storer = StoreReplace<Self>; } /// Disable an interceptor with a given cause pub fn disable_interceptor<T: Interceptor>(cause: &'static str) -> DisableInterceptor<T> { ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
38f7658917b57ddcdf7161b18769fc12ad2f24ba
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/38f7658917b57ddcdf7161b18769fc12ad2f24ba/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
641
658
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:2
} }; (mut $name:ident, $phase:ident, $docs:tt) => { #[doc = $docs] fn $name( &self, context: &mut $phase<'_>, runtime_components: &RuntimeComponents, cfg: &mut ConfigBag, ) -> Result<(), BoxError> { let (_ctx, _rc, _cfg) = (cont...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
41
100
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:3
/// `modify_before_completion` with the raised error as the /// [`InterceptorContext::output_or_error`](context::InterceptorContext::output_or_error). If multiple /// `before_execution` methods raise errors, the latest /// will be used and earlier ones will be logged and dropped. fn read_before_executio...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
81
140
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:4
interceptor_trait_fn!( read_before_serialization, BeforeSerializationInterceptorContextRef, " A hook called before the input message is marshalled into a transport message. **When:** This will **ALWAYS** be called once per execution, except when a failure...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
121
180
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:5
" ); interceptor_trait_fn!( mut modify_before_retry_loop, BeforeTransmitInterceptorContextMut, " A hook called before the retry loop is entered. This method has the ability to modify and return a new transport request message of the same type, except when a failu...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
161
220
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:6
**Error Behavior:** Errors raised by this hook will be stored until all interceptors have had their `before_attempt` invoked. Other hooks will then be skipped and execution will jump to `modify_before_attempt_completion` with the raised error as the [`InterceptorContext::output_or_error`...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
201
260
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:7
interceptor_trait_fn!( read_before_signing, BeforeTransmitInterceptorContextRef, " A hook called before the transport request message is signed. **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs earlier in the request pipeline. This ...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
241
300
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:8
**Error Behavior:** If errors are raised by this hook, execution will jump to `modify_before_attempt_completion` with the raised error as the [`InterceptorContext::output_or_error`](context::InterceptorContext::output_or_error). " ); interceptor_trait_fn!( mut modify_before_tran...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
281
340
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:9
" A hook called before the transport request message is sent to the service. **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs earlier in the request pipeline. This method may be called multiple times in the event of retries. The duration be...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
321
380
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:10
is **ALWAYS** available. Other information **WILL NOT** be available. In the event of retries, the `InterceptorContext` will not include changes made in previous attempts (e.g. by request signers or other interceptors). **Error Behavior:** If errors are raised by this hook, execution wi...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
361
420
awslabs/aws-sdk-rust:sdk/aws-smithy-runtime-api/src/client/interceptors.rs:11
interceptor_trait_fn!( read_before_deserialization, BeforeDeserializationInterceptorContextRef, " A hook called before the transport response message is unmarshalled **When:** This will **ALWAYS** be called once per attempt, except when a failure occurs earlier in the re...
rust
rust
macro-heavy
awslabs/aws-sdk-rust
sdk/aws-smithy-runtime-api/src/client/interceptors.rs
Apache-2.0
ce28848a2f73a8ba0c4b526135983ce8ef19255e
github
sdk
https://github.com/awslabs/aws-sdk-rust/blob/ce28848a2f73a8ba0c4b526135983ce8ef19255e/sdk/aws-smithy-runtime-api/src/client/interceptors.rs
401
460