Skip to content

Commit 521d0e1

Browse files
committed
.
1 parent 411e34c commit 521d0e1

File tree

25 files changed

+32
-33
lines changed

25 files changed

+32
-33
lines changed

.github/workflows/check-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
env:
3737
RUSTFLAGS: --cfg docsrs
3838
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
39-
run: cargo doc --document-private-items --all-features
39+
run: cargo doc --no-deps --document-private-items --all-features

examples/advanced-sqs-partial-batch-failures/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async fn main() -> Result<(), Error> {
4444
/// Important note: your lambda sqs trigger *needs* to be configured with partial batch response support
4545
/// with the ` ReportBatchItemFailures` flag set to true, otherwise failed message will be dropped,
4646
/// for more details see:
47-
/// https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting
47+
/// <https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting>
4848
///
4949
///
5050
/// Note that if you are looking for parallel processing (multithread) instead of concurrent processing,

examples/http-basic-lambda/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use lambda_http::{run, service_fn, tracing, Body, Error, Request, Response};
33
/// This is the main body for the function.
44
/// Write your code inside it.
55
/// There are some code examples in the Runtime repository:
6-
/// - https://github.com/awslabs/aws-lambda-rust-runtime/tree/main/examples
6+
/// - <https://github.com/awslabs/aws-lambda-rust-runtime/tree/main/examples>
77
async fn function_handler(_event: Request) -> Result<Response<Body>, Error> {
88
// Extract some useful information from the request
99

examples/http-dynamodb/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct Item {
1515
/// This is the main body for the function.
1616
/// Write your code inside it.
1717
/// You can see more examples in Runtime's repository:
18-
/// - https://github.com/awslabs/aws-lambda-rust-runtime/tree/main/examples
18+
/// - <https://github.com/awslabs/aws-lambda-rust-runtime/tree/main/examples>
1919
async fn handle_request(db_client: &Client, event: Request) -> Result<Response<Body>, Error> {
2020
// Extract some useful information from the request
2121
let body = event.body();

examples/http-query-parameters/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use lambda_http::{run, service_fn, tracing, Error, IntoResponse, Request, Reques
33
/// This is the main body for the function.
44
/// Write your code inside it.
55
/// You can see more examples in Runtime's repository:
6-
/// - https://github.com/awslabs/aws-lambda-rust-runtime/tree/main/examples
6+
/// - <https://github.com/awslabs/aws-lambda-rust-runtime/tree/main/examples>
77
async fn function_handler(event: Request) -> Result<impl IntoResponse, Error> {
88
// Extract some useful information from the request
99
Ok(

lambda-events/src/custom_serde/float_unix_epoch.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ where
5757
struct SecondsFloatTimestampVisitor;
5858

5959
/// Serialize a UTC datetime into an float number of seconds since the epoch
60-
/// ```
6160
pub fn serialize<S>(dt: &DateTime<Utc>, serializer: S) -> Result<S::Ok, S::Error>
6261
where
6362
S: ser::Serializer,

lambda-events/src/custom_serde/headers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use serde::{
55
};
66
use std::{borrow::Cow, fmt};
77

8-
/// Serialize a http::HeaderMap into a serde str => Vec<str> map
8+
/// Serialize a http::HeaderMap into a serde str => `Vec<str>` map
99
pub(crate) fn serialize_multi_value_headers<S>(headers: &HeaderMap, serializer: S) -> Result<S::Ok, S::Error>
1010
where
1111
S: Serializer,

lambda-events/src/event/appsync/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::collections::HashMap;
44

55
use crate::custom_serde::deserialize_lambda_map;
66

7-
/// Deprecated: `AppSyncResolverTemplate` does not represent resolver events sent by AppSync. Instead directly model your input schema, or use map[string]string, json.RawMessage, interface{}, etc..
7+
/// Deprecated: `AppSyncResolverTemplate` does not represent resolver events sent by AppSync. Instead directly model your input schema, or use `map[string]string`, `json.RawMessage`,` interface{}`, etc..
88
#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize)]
99
#[serde(rename_all = "camelCase")]
1010
pub struct AppSyncResolverTemplate<T1 = Value>

lambda-events/src/event/cloudwatch_events/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub mod tag;
2020
pub mod trustedadvisor;
2121

2222
/// `CloudWatchEvent` is the outer structure of an event sent via CloudWatch Events.
23-
/// For examples of events that come via CloudWatch Events, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html
23+
/// For examples of events that come via CloudWatch Events, see <https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html>
2424
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
2525
#[serde(rename_all = "camelCase")]
2626
pub struct CloudWatchEvent<T1 = Value>

lambda-events/src/event/codebuild/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub type CodeBuildPhaseStatus = String;
1111
pub type CodeBuildPhaseType = String;
1212

1313
/// `CodeBuildEvent` is documented at:
14-
/// https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html#sample-build-notifications-ref
14+
/// <https://docs.aws.amazon.com/codebuild/latest/userguide/sample-build-notifications.html#sample-build-notifications-ref>
1515
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
1616
#[serde(rename_all = "camelCase")]
1717
pub struct CodeBuildEvent {

0 commit comments

Comments
 (0)