cloudwatch_logs_url 1.0.0

generate CloudWatch Logs URL
Documentation
  • Coverage
  • 90%
    9 out of 10 items documented2 out of 3 items with examples
  • Size
  • Source code size: 17.97 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.43 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • sinofseven/cloudwatch_logs_url
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sinofseven

cloudwatch_logs_url CratesIOBadge DocsRsBadge

Generate AWS CloudWatch Logs URL


[dependencies]
cloudwatch_logs_url = "1"

Examples

create_url_log_group()

let url = cloudwatch_logs_url::create_url_log_group(
    "ap-northeast-1",
    "/aws/lambda/luciferous-devio-index-cl-FunctionCheckIndividualS-qNWf7JYCZBBM"
);

create_url_log_events()

let props = cloudwatch_logs_url::PropsCreateUrlLogEvents {
    region: "ap-northeast-1".to_string(),
    log_group_name: "/aws/lambda/luciferous-devio-index-cl-FunctionCheckIndividualS-qNWf7JYCZBBM".to_string(),
    log_stream_name: Some("2024/06/30/[39]3ca88f3a2fff4810b2de52cf027d0a40".to_string()),
    start: Some(-1800000),
    end: None,
    filter_pattern: None
};
let url = cloudwatch_logs_url::create_url_log_events(&props);

Options for URL generation are passed using Struct PropsCreateUrlLogEvents. See the Struct PropsCreateUrlLogEvents documentation for more information.

License

MIT © sinofseven