Skip to content

Commit 42f2bc0

Browse files
committed
docs: fixes
1 parent 3d5ee6c commit 42f2bc0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/utilities/parameters.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export const handler = async (_event, _context): Promise<void> => {
295295
}
296296

297297
try {
298-
// This will throw a TransformParameterError error
298+
// This will throw a TransformParameterError
299299
const values = parameters.getMultiple('/param', { transform: 'json', throwOnTransformError: true });
300300
} catch (err) {
301301
//...
@@ -376,12 +376,12 @@ Here is the mapping between this utility's functions and methods and the underly
376376
377377
You can use `awsSdkV3Client` parameter via any of the available [Provider Classes](#built-in-provider-class).
378378
379-
| Provider | Client |
380-
| --------------------------------------- | ------------------------------- |
381-
| [SSMProvider](#ssmprovider) | `new boto3.client("ssm")` |
382-
| [SecretsProvider](#secretsprovider) | `new boto3.client("secrets")` |
383-
| [AppConfigProvider](#appconfigprovider) | `new boto3.client("appconfig")` |
384-
| [DynamoDBProvider](#dynamodbprovider) | `new DynamoDBClient();` |
379+
| Provider | Client |
380+
| --------------------------------------- | ----------------------------- |
381+
| [SSMProvider](#ssmprovider) | `new SSMClient();` |
382+
| [SecretsProvider](#secretsprovider) | `new SecretsManagerClient();` |
383+
| [AppConfigProvider](#appconfigprovider) | `new AppConfigDataClient();` |
384+
| [DynamoDBProvider](#dynamodbprovider) | `new DynamoDBClient();` |
385385
386386
Bringing them together in a single code snippet would look like this:
387387

0 commit comments

Comments
 (0)