pub struct AwsParser { /* private fields */ }Expand description
AWS SDK parser
Implementations§
Source§impl AwsParser
impl AwsParser
Sourcepub fn new(service_name: &str, sdk_version: &str) -> Self
pub fn new(service_name: &str, sdk_version: &str) -> Self
Create a new AWS parser in hardcoded mode
Sourcepub fn with_rustdoc_json(
service_name: &str,
sdk_version: &str,
rustdoc_json_path: PathBuf,
) -> Self
pub fn with_rustdoc_json( service_name: &str, sdk_version: &str, rustdoc_json_path: PathBuf, ) -> Self
Create a new AWS parser with rustdoc JSON path for automated parsing
Sourcepub fn parse(&self) -> Result<ServiceDefinition>
pub fn parse(&self) -> Result<ServiceDefinition>
Parse the AWS service into ServiceDefinition
§Modes
- If rustdoc_json_path is provided: Parse from rustdoc JSON (automated)
- Otherwise: Use hardcoded resource definitions (S3 bucket example)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AwsParser
impl RefUnwindSafe for AwsParser
impl Send for AwsParser
impl Sync for AwsParser
impl Unpin for AwsParser
impl UnwindSafe for AwsParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more