Skip to content

Commit 083bb70

Browse files
committed
change docs URL
1 parent b322ecf commit 083bb70

23 files changed

+47
-47
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ body:
7979
id: logs
8080
attributes:
8181
label: Debugging logs
82-
description: If available, please share [debugging logs](https://awslabs.github.io/aws-lambda-powertools-python/#debug-mode)
82+
description: If available, please share [debugging logs](https://docs.powertools.aws.dev/lambda-python/#debug-mode)
8383
render: python
8484
validations:
8585
required: false

.github/ISSUE_TEMPLATE/feature_request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ body:
3636
attributes:
3737
label: Acknowledgment
3838
options:
39-
- label: This feature request meets [Powertools for AWS Lambda (Python) Tenets](https://awslabs.github.io/aws-lambda-powertools-python/latest/#tenets)
39+
- label: This feature request meets [Powertools for AWS Lambda (Python) Tenets](https://docs.powertools.aws.dev/lambda-python/latest/#tenets)
4040
required: true
4141
- label: Should this be considered in other Powertools for AWS Lambda languages? i.e. [Java](https://github.com/awslabs/aws-lambda-powertools-java/), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript/), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet/)
4242
required: false

.github/ISSUE_TEMPLATE/maintenance.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ body:
5353
attributes:
5454
label: Acknowledgment
5555
options:
56-
- label: This request meets [Powertools for AWS Lambda (Python) Tenets](https://awslabs.github.io/aws-lambda-powertools-python/latest/#tenets)
56+
- label: This request meets [Powertools for AWS Lambda (Python) Tenets](https://docs.powertools.aws.dev/lambda-python/latest/#tenets)
5757
required: true
5858
- label: Should this be considered in other Powertools for AWS Lambda languages? i.e. [Java](https://github.com/awslabs/aws-lambda-powertools-java/), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript/), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet/)
5959
required: false

.github/ISSUE_TEMPLATE/rfc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ body:
9191
attributes:
9292
label: Acknowledgment
9393
options:
94-
- label: This feature request meets [Powertools for AWS Lambda (Python) Tenets](https://awslabs.github.io/aws-lambda-powertools-python/latest/#tenets)
94+
- label: This feature request meets [Powertools for AWS Lambda (Python) Tenets](https://docs.powertools.aws.dev/lambda-python/latest/#tenets)
9595
required: true
9696
- label: Should this be considered in other Powertools for AWS Lambda languages? i.e. [Java](https://github.com/awslabs/aws-lambda-powertools-java/), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript/), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet/)
9797
required: false

.github/ISSUE_TEMPLATE/tech_debt.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ body:
5050
attributes:
5151
label: Acknowledgment
5252
options:
53-
- label: This request meets [Powertools for AWS Lambda (Python) Tenets](https://awslabs.github.io/aws-lambda-powertools-python/latest/#tenets)
53+
- label: This request meets [Powertools for AWS Lambda (Python) Tenets](https://docs.powertools.aws.dev/lambda-python/latest/#tenets)
5454
required: true
5555
- label: Should this be considered in other Powertools for AWS Lambda languages? i.e. [Java](https://github.com/awslabs/aws-lambda-powertools-java/), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript/), and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet/)
5656
required: false

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
If your change doesn't seem to apply, please leave them unchecked.
1717

18-
* [ ] [Meet tenets criteria](https://awslabs.github.io/aws-lambda-powertools-python/#tenets)
18+
* [ ] [Meet tenets criteria](https://docs.powertools.aws.dev/lambda-python/#tenets)
1919
* [ ] I have performed a self-review of this change
2020
* [ ] Changes have been tested
2121
* [ ] Changes are documented

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ You might find useful to run both the documentation website and the API referenc
7878
| **Docstring** | We use a slight variation of Numpy convention with markdown to help generate more readable API references. |
7979
| **Style guide** | We use black as well as flake8 extensions to enforce beyond good practices [PEP8](https://pep8.org/). We use type annotations and enforce static type checking at CI (mypy). |
8080
| **Core utilities** | Core utilities use a Class, always accept `service` as a constructor parameter, can work in isolation, and are also available in other languages implementation. |
81-
| **Utilities** | Utilities are not as strict as core and focus on solving a developer experience problem while following the project [Tenets](https://awslabs.github.io/aws-lambda-powertools-python/#tenets). |
81+
| **Utilities** | Utilities are not as strict as core and focus on solving a developer experience problem while following the project [Tenets](https://docs.powertools.aws.dev/lambda-python/#tenets). |
8282
| **Exceptions** | Specific exceptions live within utilities themselves and use `Error` suffix e.g. `MetricUnitError`. |
8383
| **Git commits** | We follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). We do not enforce conventional commits on contributors to lower the entry bar. Instead, we enforce a conventional PR title so our label automation and changelog are generated correctly. |
8484
| **API documentation** | API reference docs are generated from docstrings which should have Examples section to allow developers to have what they need within their own IDE. Documentation website covers the wider usage, tips, and strive to be concise. |

MAINTAINERS.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Manage [labels](#labels), review issues regularly, and create new labels as need
144144

145145
> TODO: This is an area we want to automate using the new GitHub GraphQL API.
146146
147-
Make sure issues are assigned to our [board of activities](https://github.com/orgs/awslabs/projects/51/) and have the right [status](https://awslabs.github.io/aws-lambda-powertools-python/latest/roadmap/#roadmap-status-definition).
147+
Make sure issues are assigned to our [board of activities](https://github.com/orgs/awslabs/projects/51/) and have the right [status](https://docs.powertools.aws.dev/lambda-python/latest/roadmap/#roadmap-status-definition).
148148

149149
Use our [labels](#labels) to signal good first issues to new community members, and to set expectation that this might need additional feedback from the author, other customers, experienced community members and/or maintainers.
150150

@@ -169,7 +169,7 @@ RFC is a collaborative process to help us get to the most optimal solution given
169169
Make sure you ask these questions in mind when reviewing:
170170

171171
- Does it use our [RFC template](https://github.com/aws-powertools/lambda-python/issues/new?assignees=&labels=RFC%2Ctriage&template=rfc.yml&title=RFC%3A+TITLE)?
172-
- Does the match our [Tenets](https://awslabs.github.io/aws-lambda-powertools-python/latest/#tenets)?
172+
- Does the match our [Tenets](https://docs.powertools.aws.dev/lambda-python/latest/#tenets)?
173173
- Does the proposal address the use case? If so, is the recommended usage explicit?
174174
- Does it focus on the mechanics to solve the use case over fine-grained implementation details?
175175
- Can anyone familiar with the code base implement it?
@@ -243,7 +243,7 @@ Keep the `develop` branch at production quality at all times. Backport features
243243

244244
### Manage Roadmap
245245

246-
See [Roadmap section](https://awslabs.github.io/aws-lambda-powertools-python/latest/roadmap/)
246+
See [Roadmap section](https://docs.powertools.aws.dev/lambda-python/latest/roadmap/)
247247

248248
Ensure the repo highlights features that should be elevated to the project roadmap. Be clear about the feature’s status, priority, target version, and whether or not it should be elevated to the roadmap.
249249

README.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,41 @@
55
[![codecov.io](https://codecov.io/github/aws-powertools/lambda-python/branch/develop/graphs/badge.svg)](https://app.codecov.io/gh/aws-powertools/lambda-python)
66
![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.7|%203.8|%203.9|%203.10&color=blue?style=flat-square&logo=python) ![PyPI version](https://badge.fury.io/py/aws-lambda-powertools.svg) ![PyPi monthly downloads](https://img.shields.io/pypi/dm/aws-lambda-powertools) [![Join our Discord](https://dcbadge.vercel.app/api/server/B8zZKbbyET)](https://discord.gg/B8zZKbbyET)
77

8-
Powertools for AWS Lambda (Python) is a developer toolkit to implement Serverless [best practices and increase developer velocity](https://awslabs.github.io/aws-lambda-powertools-python/latest/#features).
8+
Powertools for AWS Lambda (Python) is a developer toolkit to implement Serverless [best practices and increase developer velocity](https://docs.powertools.aws.dev/lambda-python/latest/#features).
99

1010
> Also available in [Java](https://github.com/awslabs/aws-lambda-powertools-java), [Typescript](https://github.com/awslabs/aws-lambda-powertools-typescript), and [.NET](https://awslabs.github.io/aws-lambda-powertools-dotnet/).
1111
12-
**[📜Documentation](https://awslabs.github.io/aws-lambda-powertools-python/)** | **[🐍PyPi](https://pypi.org/project/aws-lambda-powertools/)** | **[Roadmap](https://awslabs.github.io/aws-lambda-powertools-python/latest/roadmap/)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-lambda-powertools/)**
12+
**[📜Documentation](https://docs.powertools.aws.dev/lambda-python/)** | **[🐍PyPi](https://pypi.org/project/aws-lambda-powertools/)** | **[Roadmap](https://docs.powertools.aws.dev/lambda-python/latest/roadmap/)** | **[Detailed blog post](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-lambda-powertools/)**
1313

1414
> **An AWS Developer Acceleration (DevAx) initiative by Specialist Solution Architects | [email protected]**
1515
1616
![hero-image](https://user-images.githubusercontent.com/3340292/198254617-d0fdb672-86a6-4988-8a40-adf437135e0a.png)
1717

1818
## Features
1919

20-
* **[Tracing](https://awslabs.github.io/aws-lambda-powertools-python/latest/core/tracer/)** - Decorators and utilities to trace Lambda function handlers, and both synchronous and asynchronous functions
21-
* **[Logging](https://awslabs.github.io/aws-lambda-powertools-python/latest/core/logger/)** - Structured logging made easier, and decorator to enrich structured logging with key Lambda context details
22-
* **[Metrics](https://awslabs.github.io/aws-lambda-powertools-python/latest/core/metrics/)** - Custom Metrics created asynchronously via CloudWatch Embedded Metric Format (EMF)
23-
* **[Event handler: AppSync](https://awslabs.github.io/aws-lambda-powertools-python/latest/core/event_handler/appsync/)** - AWS AppSync event handler for Lambda Direct Resolver and Amplify GraphQL Transformer function
24-
* **[Event handler: API Gateway and ALB](https://awslabs.github.io/aws-lambda-powertools-python/latest/core/event_handler/api_gateway/)** - Amazon API Gateway REST/HTTP API and ALB event handler for Lambda functions invoked using Proxy integration
25-
* **[Bring your own middleware](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/middleware_factory/)** - Decorator factory to create your own middleware to run logic before, and after each Lambda invocation
26-
* **[Parameters utility](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/parameters/)** - Retrieve and cache parameter values from Parameter Store, Secrets Manager, or DynamoDB
27-
* **[Batch processing](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/batch/)** - Handle partial failures for AWS SQS batch processing
28-
* **[Typing](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/typing/)** - Static typing classes to speedup development in your IDE
29-
* **[Validation](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/validation/)** - JSON Schema validator for inbound events and responses
30-
* **[Event source data classes](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/data_classes/)** - Data classes describing the schema of common Lambda event triggers
31-
* **[Parser](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/parser/)** - Data parsing and deep validation using Pydantic
32-
* **[Idempotency](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/idempotency/)** - Convert your Lambda functions into idempotent operations which are safe to retry
33-
* **[Feature Flags](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/feature_flags/)** - A simple rule engine to evaluate when one or multiple features should be enabled depending on the input
34-
* **[Streaming](https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/streaming/)** - Streams datasets larger than the available memory as streaming data.
20+
* **[Tracing](https://docs.powertools.aws.dev/lambda-python/latest/core/tracer/)** - Decorators and utilities to trace Lambda function handlers, and both synchronous and asynchronous functions
21+
* **[Logging](https://docs.powertools.aws.dev/lambda-python/latest/core/logger/)** - Structured logging made easier, and decorator to enrich structured logging with key Lambda context details
22+
* **[Metrics](https://docs.powertools.aws.dev/lambda-python/latest/core/metrics/)** - Custom Metrics created asynchronously via CloudWatch Embedded Metric Format (EMF)
23+
* **[Event handler: AppSync](https://docs.powertools.aws.dev/lambda-python/latest/core/event_handler/appsync/)** - AWS AppSync event handler for Lambda Direct Resolver and Amplify GraphQL Transformer function
24+
* **[Event handler: API Gateway and ALB](https://docs.powertools.aws.dev/lambda-python/latest/core/event_handler/api_gateway/)** - Amazon API Gateway REST/HTTP API and ALB event handler for Lambda functions invoked using Proxy integration
25+
* **[Bring your own middleware](https://docs.powertools.aws.dev/lambda-python/latest/utilities/middleware_factory/)** - Decorator factory to create your own middleware to run logic before, and after each Lambda invocation
26+
* **[Parameters utility](https://docs.powertools.aws.dev/lambda-python/latest/utilities/parameters/)** - Retrieve and cache parameter values from Parameter Store, Secrets Manager, or DynamoDB
27+
* **[Batch processing](https://docs.powertools.aws.dev/lambda-python/latest/utilities/batch/)** - Handle partial failures for AWS SQS batch processing
28+
* **[Typing](https://docs.powertools.aws.dev/lambda-python/latest/utilities/typing/)** - Static typing classes to speedup development in your IDE
29+
* **[Validation](https://docs.powertools.aws.dev/lambda-python/latest/utilities/validation/)** - JSON Schema validator for inbound events and responses
30+
* **[Event source data classes](https://docs.powertools.aws.dev/lambda-python/latest/utilities/data_classes/)** - Data classes describing the schema of common Lambda event triggers
31+
* **[Parser](https://docs.powertools.aws.dev/lambda-python/latest/utilities/parser/)** - Data parsing and deep validation using Pydantic
32+
* **[Idempotency](https://docs.powertools.aws.dev/lambda-python/latest/utilities/idempotency/)** - Convert your Lambda functions into idempotent operations which are safe to retry
33+
* **[Feature Flags](https://docs.powertools.aws.dev/lambda-python/latest/utilities/feature_flags/)** - A simple rule engine to evaluate when one or multiple features should be enabled depending on the input
34+
* **[Streaming](https://docs.powertools.aws.dev/lambda-python/latest/utilities/streaming/)** - Streams datasets larger than the available memory as streaming data.
3535

3636
### Installation
3737

3838
With [pip](https://pip.pypa.io/en/latest/index.html) installed, run: ``pip install aws-lambda-powertools``
3939

4040
## Tutorial and Examples
4141

42-
* [Tutorial](https://awslabs.github.io/aws-lambda-powertools-python/latest/tutorial)
42+
* [Tutorial](https://docs.powertools.aws.dev/lambda-python/latest/tutorial)
4343
* [Serverless Shopping cart](https://github.com/aws-samples/aws-serverless-shopping-cart)
4444
* [Serverless Airline](https://github.com/aws-samples/aws-serverless-airline-booking)
4545
* [Serverless E-commerce platform](https://github.com/aws-samples/aws-serverless-ecommerce-platform)
@@ -65,11 +65,11 @@ The following companies, among others, use Powertools:
6565

6666
### Sharing your work
6767

68-
Share what you did with Powertools for AWS Lambda (Python) 💞💞. Blog post, workshops, presentation, sample apps and others. Check out what the community has already shared about Powertools for AWS Lambda (Python) [here](https://awslabs.github.io/aws-lambda-powertools-python/latest/we_made_this/).
68+
Share what you did with Powertools for AWS Lambda (Python) 💞💞. Blog post, workshops, presentation, sample apps and others. Check out what the community has already shared about Powertools for AWS Lambda (Python) [here](https://docs.powertools.aws.dev/lambda-python/latest/we_made_this/).
6969

7070
### Using Lambda Layer or SAR
7171

72-
This helps us understand who uses Powertools for AWS Lambda (Python) in a non-intrusive way, and helps us gain future investments for other Powertools for AWS Lambda languages. When [using Layers](https://awslabs.github.io/aws-lambda-powertools-python/latest/#lambda-layer), you can add Powertools for AWS Lambda (Python) as a dev dependency (or as part of your virtual env) to not impact the development process.
72+
This helps us understand who uses Powertools for AWS Lambda (Python) in a non-intrusive way, and helps us gain future investments for other Powertools for AWS Lambda languages. When [using Layers](https://docs.powertools.aws.dev/lambda-python/latest/#lambda-layer), you can add Powertools for AWS Lambda (Python) as a dev dependency (or as part of your virtual env) to not impact the development process.
7373

7474
## Credits
7575

aws_lambda_powertools/utilities/batch/decorators.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def handler(event, context):
173173
records: List[Dict] = event.get("Records", [])
174174
except AttributeError:
175175
event_types = ", ".join(list(EventType.__members__))
176-
docs = "https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/batch/#processing-messages-from-sqs" # noqa: E501 # long-line
176+
docs = "https://docs.powertools.aws.dev/lambda-python/latest/utilities/batch/#processing-messages-from-sqs" # noqa: E501 # long-line
177177
raise ValueError(
178178
f"Invalid event format. Please ensure batch event is a valid {processor.event_type.value} event. \n"
179179
f"See sample events in our documentation for either {event_types}: \n {docs}"
@@ -237,7 +237,7 @@ def handler(event, context):
237237
records: List[Dict] = event.get("Records", [])
238238
except AttributeError:
239239
event_types = ", ".join(list(EventType.__members__))
240-
docs = "https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/batch/#processing-messages-from-sqs" # noqa: E501 # long-line
240+
docs = "https://docs.powertools.aws.dev/lambda-python/latest/utilities/batch/#processing-messages-from-sqs" # noqa: E501 # long-line
241241
raise ValueError(
242242
f"Invalid event format. Please ensure batch event is a valid {processor.event_type.value} event. \n"
243243
f"See sample events in our documentation for either {event_types}: \n {docs}"

0 commit comments

Comments
 (0)