Module aws_sdk_kafka::client::customize  
source · Expand description
Operation customization and supporting types.
The underlying HTTP requests made during an operation can be customized
by calling the customize() method on the builder returned from a client
operation call. For example, this can be used to add an additional HTTP header:
ⓘ
use http::header::{HeaderName, HeaderValue};
let result = client.batch_associate_scram_secret()
    .customize()
    .await?
    .mutate_request(|req| {
        // Add `x-example-header` with value
        req.headers_mut()
            .insert(
                HeaderName::from_static("x-example-header"),
                HeaderValue::from_static("1"),
            );
    })
    .send()
    .await;Structs
- AnOperationis a request paired with a response handler, retry classifier, and metadata that identifies the API being called.
- Operation request type that associates a property bag with an underlying HTTP request. This type represents the request in the TowerServicein middleware so that middleware can share information with each other via the properties.
- Operation response type that associates a property bag with an underlying HTTP response. This type represents the response in the TowerServicein middleware so that middleware can share information with each other via the properties.
Enums
- RetryKinddescribes how a request MAY be retried for a given response
Traits
- Classifies what kind of retry is needed for a givenresponse.