Skip to content

Commit dee6352

Browse files
sebstoSebastien Stormacq
andauthored
change references from /swift-server to /awslabs (#591)
Change Examples, README, and doc to refer to https://github.org/awslabs instead of https://github.org/swift-server --------- Co-authored-by: Sebastien Stormacq <stormacq@amazon.lu>
1 parent 8116ba3 commit dee6352

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+114
-114
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ We require that your commit messages match our template. The easiest way to do t
6565

6666
## How to contribute your work
6767

68-
Please open a pull request at https://github.com/swift-server/swift-aws-lambda-runtime. Make sure the CI passes, and then wait for code review.
68+
Please open a pull request at https://github.com/awslabs/swift-aws-lambda-runtime. Make sure the CI passes, and then wait for code review.

Examples/APIGatewayV1/Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ let package = Package(
1313
],
1414
dependencies: [
1515
// during CI, the dependency on local version of swift-aws-lambda-runtime is added dynamically below
16-
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "2.0.0"),
17-
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", from: "1.0.0"),
16+
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.0.0"),
17+
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.0.0"),
1818
],
1919
targets: [
2020
.executableTarget(
@@ -37,7 +37,7 @@ if let localDepsPath = Context.environment["LAMBDA_USE_LOCAL_DEPS"],
3737
let indexToRemove = package.dependencies.firstIndex { dependency in
3838
if case .sourceControl(
3939
name: _,
40-
location: "https://github.com/swift-server/swift-aws-lambda-runtime.git",
40+
location: "https://github.com/awslabs/swift-aws-lambda-runtime.git",
4141
requirement: _
4242
) = dependency.kind {
4343
return true

Examples/APIGatewayV1/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This is a simple example of an AWS Lambda function invoked through an Amazon API Gateway V1.
44

55
> [!NOTE]
6-
> This example uses the API Gateway V1 `Rest Api` endpoint type, whereas the [API Gateway V2](https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/APIGateway) example uses the `HttpApi` endpoint type. For more information, see [Choose between REST APIs and HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html).
6+
> This example uses the API Gateway V1 `Rest Api` endpoint type, whereas the [API Gateway V2](https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/APIGateway) example uses the `HttpApi` endpoint type. For more information, see [Choose between REST APIs and HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html).
77
88
## Code
99

@@ -17,7 +17,7 @@ The handler is `(event: APIGatewayRequest, context: LambdaContext) -> APIGateway
1717

1818
The function must return a `APIGatewayResponse`.
1919

20-
`APIGatewayRequest` and `APIGatewayResponse` are defined in the [Swift AWS Lambda Events](https://github.com/swift-server/swift-aws-lambda-events) library.
20+
`APIGatewayRequest` and `APIGatewayResponse` are defined in the [Swift AWS Lambda Events](https://github.com/awslabs/swift-aws-lambda-events) library.
2121

2222
## Build & Package
2323

@@ -149,4 +149,4 @@ These are example applications for demonstration purposes. When deploying such i
149149
- Ensure that AWS Lambda function is configured for function-level concurrent execution limit ([concurrency documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-concurrency.html), [configuration guide](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html))
150150
- Check encryption settings for Lambda environment variables ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars-encryption.html))
151151
- Ensure that AWS Lambda function is configured for a Dead Letter Queue (DLQ) ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq))
152-
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))
152+
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))

Examples/APIGatewayV1/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Description: SAM Template for APIGateway Lambda Example
1616
# See: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq
1717
# - Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources
1818
# See: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
19-
# Code Example: https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
19+
# Code Example: https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
2020

2121
Resources:
2222
# Lambda function

Examples/APIGatewayV2+LambdaAuthorizer/Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ let package = Package(
1414
],
1515
dependencies: [
1616
// during CI, the dependency on local version of swift-aws-lambda-runtime is added dynamically below
17-
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "2.0.0"),
18-
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", from: "1.0.0"),
17+
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.0.0"),
18+
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.0.0"),
1919
],
2020
targets: [
2121
.executableTarget(
@@ -44,7 +44,7 @@ if let localDepsPath = Context.environment["LAMBDA_USE_LOCAL_DEPS"],
4444
let indexToRemove = package.dependencies.firstIndex { dependency in
4545
if case .sourceControl(
4646
name: _,
47-
location: "https://github.com/swift-server/swift-aws-lambda-runtime.git",
47+
location: "https://github.com/awslabs/swift-aws-lambda-runtime.git",
4848
requirement: _
4949
) = dependency.kind {
5050
return true

Examples/APIGatewayV2+LambdaAuthorizer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ These are example applications for demonstration purposes. When deploying such i
119119
- Ensure that AWS Lambda function is configured for function-level concurrent execution limit ([concurrency documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-concurrency.html), [configuration guide](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html))
120120
- Check encryption settings for Lambda environment variables ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars-encryption.html))
121121
- Ensure that AWS Lambda function is configured for a Dead Letter Queue (DLQ) ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq))
122-
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))
122+
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))

Examples/APIGatewayV2+LambdaAuthorizer/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Description: SAM Template for APIGateway Lambda Example
1616
# See: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq
1717
# - Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources
1818
# See: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
19-
# Code Example: https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
19+
# Code Example: https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
2020

2121
Resources:
2222
# The API Gateway

Examples/APIGatewayV2/Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ let package = Package(
1313
],
1414
dependencies: [
1515
// during CI, the dependency on local version of swift-aws-lambda-runtime is added dynamically below
16-
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "2.0.0"),
17-
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", from: "1.0.0"),
16+
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.0.0"),
17+
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.0.0"),
1818
],
1919
targets: [
2020
.executableTarget(
@@ -37,7 +37,7 @@ if let localDepsPath = Context.environment["LAMBDA_USE_LOCAL_DEPS"],
3737
let indexToRemove = package.dependencies.firstIndex { dependency in
3838
if case .sourceControl(
3939
name: _,
40-
location: "https://github.com/swift-server/swift-aws-lambda-runtime.git",
40+
location: "https://github.com/awslabs/swift-aws-lambda-runtime.git",
4141
requirement: _
4242
) = dependency.kind {
4343
return true

Examples/APIGatewayV2/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This is a simple example of an AWS Lambda function invoked through an Amazon HTTPS API Gateway.
44

55
> [!NOTE]
6-
> This example uses the API Gateway V2 `Http Api` endpoint type, whereas the [API Gateway V1](https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/APIGatewayV1) example uses the `Rest Api` endpoint type. For more information, see [Choose between REST APIs and HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html).
6+
> This example uses the API Gateway V2 `Http Api` endpoint type, whereas the [API Gateway V1](https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/APIGatewayV1) example uses the `Rest Api` endpoint type. For more information, see [Choose between REST APIs and HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html).
77
88
## Code
99

@@ -17,7 +17,7 @@ The handler is `(event: APIGatewayV2Request, context: LambdaContext) -> APIGatew
1717

1818
The function must return a `APIGatewayV2Response`.
1919

20-
`APIGatewayV2Request` and `APIGatewayV2Response` are defined in the [Swift AWS Lambda Events](https://github.com/swift-server/swift-aws-lambda-events) library.
20+
`APIGatewayV2Request` and `APIGatewayV2Response` are defined in the [Swift AWS Lambda Events](https://github.com/awslabs/swift-aws-lambda-events) library.
2121

2222
## Build & Package
2323

@@ -134,4 +134,4 @@ These are example applications for demonstration purposes. When deploying such i
134134
- Ensure that AWS Lambda function is configured for function-level concurrent execution limit ([concurrency documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-concurrency.html), [configuration guide](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html))
135135
- Check encryption settings for Lambda environment variables ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars-encryption.html))
136136
- Ensure that AWS Lambda function is configured for a Dead Letter Queue (DLQ) ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq))
137-
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))
137+
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))

Examples/APIGatewayV2/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Description: SAM Template for APIGateway Lambda Example
1616
# See: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq
1717
# - Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources
1818
# See: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
19-
# Code Example: https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
19+
# Code Example: https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
2020

2121
Resources:
2222
# Lambda function

0 commit comments

Comments
 (0)