Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Crate awsim_core

Crate awsim_core 

Source

Re-exports§

pub use authz::AuthzEngine;
pub use authz::GrantLookup;
pub use authz::NoopPrincipalLookup;
pub use authz::PrincipalLookup;
pub use authz::ResolvedPrincipal;
pub use authz::ResourcePolicyLookup;
pub use authz::ScpLookup;
pub use body::Body;
pub use body_store::BlobInventory;
pub use body_store::BodyStore;
pub use error::AwsError;
pub use events::EventBus;
pub use events::InternalEvent;
pub use gateway::AppState;
pub use gateway::BodyStoreHandle;
pub use pagination::Page;
pub use pagination::cap_max_results;
pub use pagination::decode_token;
pub use pagination::encode_token;
pub use pagination::paginate;
pub use persistence::PersistenceManager;
pub use protocol::Protocol;
pub use protocol::RouteDefinition;
pub use request_detail::CapturedBody;
pub use request_detail::CapturedHeader;
pub use request_detail::DEFAULT_BODY_CAP;
pub use request_detail::DEFAULT_RING_CAPACITY;
pub use request_detail::RequestDetail;
pub use request_detail::RequestDetailStore;
pub use request_detail::capture_body;
pub use request_detail::capture_headers;
pub use request_event::RequestEvent;
pub use request_event::RequestEventBus;
pub use router::RequestContext;
pub use state::AccountRegionStore;
pub use state::Snapshottable;

Modules§

auth
authz
body
body_store
error
events
gateway
pagination
Opaque-token pagination helper shared by every service’s List* operation.
persistence
protocol
request_detail
Per-request detail capture — the data that powers the UI’s “Inspect” drawer. Stored in a bounded ring buffer keyed by request id, so the UI can pull headers / bodies on demand without bloating the SSE stream.
request_event
router
state

Enums§

HandlerResult
What ServiceHandler::handle_streaming returns. Most operations produce a single JSON Value (the existing path); a small set — notably Bedrock’s ConverseStream and InvokeModelWithResponseStream — produce a continuous stream of already-encoded body bytes plus a content-type the gateway puts straight on the wire.

Traits§

ServiceHandler
Trait that every AWS service crate must implement.

Type Aliases§

HandlerByteStream
Boxed byte stream a handler may return when it wants to drive an HTTP response chunk-by-chunk (e.g. Bedrock’s event-stream APIs) instead of buffering the whole response into a single Value.