diff --git a/README.md b/README.md index 7d159c2..1caeb34 100644 --- a/README.md +++ b/README.md @@ -646,6 +646,26 @@ true if it could be an error thrown from AWS SDK v2 or v3 ___ +##### isPossibleAwsThrottlingError + +▸ **isPossibleAwsThrottlingError**(`error`): error is PossibleAwsError + +Check whether the error thrown from AWS SDK v2 or v3 is a throttling error. + +###### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `error` | `any` | AWS error | + +###### Returns + +error is PossibleAwsError + +true if it is a throttling error + +___ + ##### isPossibleAwsV2Error ▸ **isPossibleAwsV2Error**(`error`): error is PossibleAwsV2Error diff --git a/package-lock.json b/package-lock.json index db6d85c..ffb3cc2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@handy-common-utils/aws-utils", - "version": "3.1.1", + "version": "3.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@handy-common-utils/aws-utils", - "version": "3.1.1", + "version": "3.1.2", "bundleDependencies": [ "@unbounce/parse-aws-arn" ], diff --git a/package.json b/package.json index 3db6731..e1c4d0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@handy-common-utils/aws-utils", - "version": "3.1.1", + "version": "3.1.2", "description": "AWS related utilities", "scripts": { "pretest": "eslint . --ext .ts",