@aws-sdk/client-secrets-manager 3.388.0 → 3.389.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -541,6 +541,9 @@ const de_ListSecretsCommandError = async (output, context) => {
|
|
|
541
541
|
case "InvalidParameterException":
|
|
542
542
|
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
543
543
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
544
|
+
case "InvalidRequestException":
|
|
545
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
546
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
544
547
|
default:
|
|
545
548
|
const parsedBody = parsedOutput.body;
|
|
546
549
|
return throwDefaultError({
|
|
@@ -507,6 +507,9 @@ const de_ListSecretsCommandError = async (output, context) => {
|
|
|
507
507
|
case "InvalidParameterException":
|
|
508
508
|
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
509
509
|
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
510
|
+
case "InvalidRequestException":
|
|
511
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
512
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
510
513
|
default:
|
|
511
514
|
const parsedBody = parsedOutput.body;
|
|
512
515
|
return throwDefaultError({
|
|
@@ -115,6 +115,24 @@ export interface ListSecretsCommandOutput extends ListSecretsResponse, __Metadat
|
|
|
115
115
|
* @throws {@link InvalidParameterException} (client fault)
|
|
116
116
|
* <p>The parameter name or value is invalid.</p>
|
|
117
117
|
*
|
|
118
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
119
|
+
* <p>A parameter value is not valid for the current state of the
|
|
120
|
+
* resource.</p>
|
|
121
|
+
* <p>Possible causes:</p>
|
|
122
|
+
* <ul>
|
|
123
|
+
* <li>
|
|
124
|
+
* <p>The secret is scheduled for deletion.</p>
|
|
125
|
+
* </li>
|
|
126
|
+
* <li>
|
|
127
|
+
* <p>You tried to enable rotation on a secret that doesn't already have a Lambda function
|
|
128
|
+
* ARN configured and you didn't include such an ARN as a parameter in this call. </p>
|
|
129
|
+
* </li>
|
|
130
|
+
* <li>
|
|
131
|
+
* <p>The secret is managed by another service, and you must use that service to update it.
|
|
132
|
+
* For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/service-linked-secrets.html">Secrets managed by other Amazon Web Services services</a>.</p>
|
|
133
|
+
* </li>
|
|
134
|
+
* </ul>
|
|
135
|
+
*
|
|
118
136
|
* @throws {@link SecretsManagerServiceException}
|
|
119
137
|
* <p>Base exception class for all service exceptions from SecretsManager service.</p>
|
|
120
138
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-secrets-manager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.389.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|