Skip to content

Commit a87e0cb

Browse files
author
AI Bot
committed
chore: fix minor typos and grammar in docs and comments
1 parent 92c18b0 commit a87e0cb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

aws_lambda_powertools/utilities/parameters/ssm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def get_parameters_by_name(
504504
# NOTE: We need to find out whether all parameters must be decrypted or not to know which API to use
505505
## Logic:
506506
##
507-
## GetParameters API -> When decrypt is used for all parameters in the the batch
507+
## GetParameters API -> When decrypt is used for all parameters in the batch
508508
## GetParameter API -> When decrypt is used for one or more in the batch
509509

510510
if len(decrypt_params) != len(parameters):

docs/utilities/parser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ You can use pre-built envelopes provided by the Parser to extract and parse spec
211211
| **EventBridgeEnvelope** | 1. Parses data using `EventBridgeModel`. ``2. Parses `detail` key using your model`` and returns it. | `Model` |
212212
| **SqsEnvelope** | 1. Parses data using `SqsModel`. ``2. Parses records in `body` key using your model`` and return them in a list. | `List[Model]` |
213213
| **CloudWatchLogsEnvelope** | 1. Parses data using `CloudwatchLogsModel` which will base64 decode and decompress it. ``2. Parses records in `message` key using your model`` and return them in a list. | `List[Model]` |
214-
| **KinesisDataStreamEnvelope** | 1. Parses data using `KinesisDataStreamModel` which will base64 decode it. ``2. Parses records in in `Records` key using your model`` and returns them in a list. | `List[Model]` |
215-
| **KinesisFirehoseEnvelope** | 1. Parses data using `KinesisFirehoseModel` which will base64 decode it. ``2. Parses records in in` Records` key using your model`` and returns them in a list. | `List[Model]` |
214+
| **KinesisDataStreamEnvelope** | 1. Parses data using `KinesisDataStreamModel` which will base64 decode it. ``2. Parses records in the `Records` key using your model`` and returns them in a list. | `List[Model]` |
215+
| **KinesisFirehoseEnvelope** | 1. Parses data using `KinesisFirehoseModel` which will base64 decode it. ``2. Parses records in the `Records` key using your model`` and returns them in a list. | `List[Model]` |
216216
| **SnsEnvelope** | 1. Parses data using `SnsModel`. ``2. Parses records in `body` key using your model`` and return them in a list. | `List[Model]` |
217217
| **SnsSqsEnvelope** | 1. Parses data using `SqsModel`. `` 2. Parses SNS records in `body` key using `SnsNotificationModel`. `` 3. Parses data in `Message` key using your model and return them in a list. | `List[Model]` |
218218
| **ApiGatewayV2Envelope** | 1. Parses data using `APIGatewayProxyEventV2Model`. ``2. Parses `body` key using your model`` and returns it. | `Model` |

tests/functional/event_handler/_pydantic/test_openapi_responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def handler():
232232
schema = app.get_openapi_schema()
233233
responses = schema.paths["/"].get.responses
234234

235-
# THE the schema should include a 200 successful response
235+
# The schema should include a 200 successful response
236236
# but not a 422 validation error response since validation is disabled
237237
assert 200 in responses.keys()
238238
assert responses[200].description == "Successful Response"

0 commit comments

Comments
 (0)