Benign rust 1,791 installs Download

fakecloud-bedrock-agent 0.45.0

“Bedrock Agent implementation for FakeCloud”

imports http::Methodimports http::StatusCode
SHA-25601247f9e36f910bc6a7b26f183c03171fb5629997d0ddf64212159593fa61290
MaleculeO(As)H(Db)

Evidence

Repeated Base64-alphabet Rust literals flows.rs · lines 13–16
13:16… sfies the required shape.
14 let role_arn = opt_str(&body, "executionRoleArn").unwrap_or_else(|| {
15 format!(
16 "arn:aws:iam::{}:role/service-role/AmazonBedrockExecutionRoleForFlows …
Rust materializes an iterator with .collect() flows.rs · lines 79–83
79:54… q.region, &req.account_id))
80 .collect()
81 })
82 .unwrap_or_default();
83 Ok(AwsResponse::ok_json(json!({ "flo …
imports super::* knowledge_bases.rs · lines 1–8
1:60… acted from service.rs by audit-2026-05-19.
2
3use super::*;
4
5impl BedrockAgentService {
6 pub(super) fn create_knowledge_base(
7 &self,
8 re …
JSON object type field fragment knowledge_bases.rs · lines 28–31
28:67… geBaseConfiguration")
29 .unwrap_or_else(|| json!({"type": "VECTOR"})),
30 storage_configuration: opt_json(&body, "storageConfiguration"),
31 status: "ACTIVE".to_string …
imports http::Method mod.rs · lines 1–25
1use std::collections::BTreeMap;
2use std::sync::Arc;
3
4use async_trait::async_trait;
5use chrono::{DateTime, Utc};
6use fakecloud_aws::arn::Arn;
7use http::{Method, StatusCode};
8use parking_lot::RwLock;
9use serde_json::{json, Value};
10use tokio::sync::Mutex as AsyncMutex;
11
12use fakecloud_core::service::{AwsRequest, AwsResponse, AwsService, AwsServiceError};
13use fakecloud_persistence::SnapshotStore;
14
15use crate::state::{
16 Agent, AgentActionGroup, AgentAlias, AgentCollaborator, AgentKnowledgeBase, AgentVersion,
17 BedrockAgentAccounts, BedrockAgentSnapshot, DataSource, Flow, FlowAlias, FlowVersion,
18 IngestionJob, KnowledgeBase, Prompt, PromptVersion, SharedBedrockAgentState,
19 BEDROCK_AGENT_SNAPSHOT_SCHEMA_VERSION,
20};
21
22/// Bedrock Agent read actions all start with `Get`, `List`, or `Validate`;
23/// every other action is a mutation. The inverse formulation guarantees no
24/// mutation is ever missed.
25fn is_mutating_action(action: &s …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.