Skip to content

Commit 593f039

Browse files
authored
better links to events docs (#67)
motivation: link to developer guide instead of golang impl changes: add/change event doc links to https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html
1 parent 2324074 commit 593f039

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

Sources/AWSLambdaEvents/APIGateway.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import class Foundation.JSONEncoder
1616

17+
// https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html
1718
// https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html
1819

1920
public enum APIGateway {

Sources/AWSLambdaEvents/Cloudwatch.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public enum Cloudwatch {
3131
/// CloudWatch.Event is the outer structure of an event sent via CloudWatch Events.
3232
///
3333
/// **NOTE**: For examples of events that come via CloudWatch Events, see
34+
/// https://docs.aws.amazon.com/lambda/latest/dg/services-cloudwatchevents.html
3435
/// https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html
3536
/// https://docs.aws.amazon.com/eventbridge/latest/userguide/event-types.html
3637
public struct Event<Detail: CloudwatchDetail>: Decodable {

Sources/AWSLambdaEvents/S3.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
import struct Foundation.Date
1616

17-
// https://github.com/aws/aws-lambda-go/blob/master/events/s3.go
17+
// https://docs.aws.amazon.com/lambda/latest/dg/with-s3.html
18+
1819
public enum S3 {
1920
public struct Event: Decodable {
2021
public struct Record: Decodable {

Sources/AWSLambdaEvents/SNS.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
import struct Foundation.Date
1616

17-
/// https://github.com/aws/aws-lambda-go/blob/master/events/sns.go
17+
// https://docs.aws.amazon.com/lambda/latest/dg/with-sns.html
18+
1819
public enum SNS {
1920
public struct Event: Decodable {
2021
public struct Record: Decodable {

Sources/AWSLambdaEvents/SQS.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
/// https://github.com/aws/aws-lambda-go/blob/master/events/sqs.go
15+
// https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html
16+
1617
public enum SQS {
1718
public struct Event: Decodable {
1819
public let records: [Message]

0 commit comments

Comments
 (0)