@aws-sdk/client-secrets-manager 3.212.0 → 3.213.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.
@@ -398,6 +398,7 @@ export declare class SecretsManager extends SecretsManagerClient {
398
398
  * version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
399
399
  * version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
400
400
  * assumes that a previous rotation request is still in progress and returns an error.</p>
401
+ * <p>When rotation is unsuccessful, the <code>AWSPENDING</code> staging label might be attached to an empty secret version. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html">Troubleshoot rotation</a> in the <i>Secrets Manager User Guide</i>.</p>
401
402
  * <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
402
403
  * <p>
403
404
  * <b>Required permissions: </b>
@@ -33,6 +33,7 @@ export interface RotateSecretCommandOutput extends RotateSecretResponse, __Metad
33
33
  * version. If the <code>AWSPENDING</code> staging label is present but not attached to the same
34
34
  * version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>
35
35
  * assumes that a previous rotation request is still in progress and returns an error.</p>
36
+ * <p>When rotation is unsuccessful, the <code>AWSPENDING</code> staging label might be attached to an empty secret version. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot_rotation.html">Troubleshoot rotation</a> in the <i>Secrets Manager User Guide</i>.</p>
36
37
  * <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
37
38
  * <p>
38
39
  * <b>Required permissions: </b>
@@ -436,7 +436,7 @@ export interface DeleteSecretRequest {
436
436
  * <p>Use this parameter with caution. This parameter causes the operation to skip the normal
437
437
  * recovery window before the permanent deletion that Secrets Manager would normally impose with the
438
438
  * <code>RecoveryWindowInDays</code> parameter. If you delete a secret with the
439
- * <code>ForceDeleteWithouRecovery</code> parameter, then you have no opportunity to recover
439
+ * <code>ForceDeleteWithoutRecovery</code> parameter, then you have no opportunity to recover
440
440
  * the secret. You lose the secret permanently.</p>
441
441
  * </important>
442
442
  */
@@ -477,35 +477,40 @@ export interface RotationRulesType {
477
477
  * <p>In <code>DescribeSecret</code> and <code>ListSecrets</code>, this value is calculated from
478
478
  * the rotation schedule after every successful rotation. In <code>RotateSecret</code>, you can
479
479
  * set the rotation schedule in <code>RotationRules</code> with <code>AutomaticallyAfterDays</code>
480
- * or <code>ScheduleExpression</code>, but not both.</p>
480
+ * or <code>ScheduleExpression</code>, but not both. To set a rotation schedule in hours, use
481
+ * <code>ScheduleExpression</code>.</p>
481
482
  */
482
483
  AutomaticallyAfterDays?: number;
483
484
  /**
484
- * <p>The length of the rotation window in hours, for example <code>3h</code> for a three hour window. Secrets Manager
485
- * rotates your secret at any time during this window. The window must not go into the next UTC
486
- * day. If you don't specify this value, the window automatically ends at the end of
487
- * the UTC day. The window begins according to the <code>ScheduleExpression</code>. For more
488
- * information, including examples, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions
489
- * in Secrets Manager rotation</a>.</p>
485
+ * <p>The length of the rotation window in hours, for example <code>3h</code> for a three
486
+ * hour window. Secrets Manager rotates your secret at any time during this window. The window must not
487
+ * extend into the next rotation window or the next UTC day. The window starts according to the <code>ScheduleExpression</code>. If you don't specify a <code>Duration</code>,
488
+ * for a <code>ScheduleExpression</code> in hours, the window automatically closes after one
489
+ * hour. For a <code>ScheduleExpression</code> in days, the window automatically closes at the
490
+ * end of the UTC day. For
491
+ * more information, including examples, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions
492
+ * in Secrets Manager rotation</a> in the <i>Secrets Manager Users Guide</i>.</p>
490
493
  */
491
494
  Duration?: string;
492
495
  /**
493
496
  * <p>A <code>cron()</code> or <code>rate()</code> expression that defines the schedule for
494
- * rotating your secret. Secrets Manager rotation schedules use UTC time zone. </p>
495
- * <p>Secrets Manager <code>rate()</code> expressions
496
- * represent the interval in days that you want to rotate your secret, for example
497
- * <code>rate(10 days)</code>. If you use a <code>rate()</code> expression, the rotation
498
- * window opens at midnight, and Secrets Manager rotates your secret any time that day after midnight.
499
- * You can set a <code>Duration</code> to shorten the rotation window.</p>
500
- * <p>You can use a <code>cron()</code> expression to create rotation schedules that are
497
+ * rotating your secret. Secrets Manager rotation schedules use UTC time zone. Secrets Manager rotates your secret any time during a rotation window.</p>
498
+ * <p>Secrets Manager <code>rate()</code> expressions represent the interval in hours or days that you
499
+ * want to rotate your secret, for example <code>rate(12 hours)</code> or
500
+ * <code>rate(10 days)</code>. You can rotate a secret as often as every four hours. If you
501
+ * use a <code>rate()</code> expression, the rotation
502
+ * window starts at midnight. For a rate in hours, the default rotation window closes after one
503
+ * hour. For a rate in days, the default rotation window closes at the end of the day. You can
504
+ * set the <code>Duration</code> to change the rotation window. The rotation window must not
505
+ * extend into the next UTC day or into the next rotation window.</p>
506
+ * <p>You can use a <code>cron()</code> expression to create a rotation schedule that is
501
507
  * more detailed than a rotation interval. For more information, including examples, see
502
- * <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions
503
- * in Secrets Manager rotation</a>. If you use a <code>cron()</code> expression, Secrets Manager rotates
504
- * your secret any time during that day after the window opens. For example,
505
- * <code>cron(0 8 1 * ? *)</code> represents a rotation window that occurs on the first
506
- * day of every month beginning at 8:00 AM UTC. Secrets Manager rotates the secret any time that day
507
- * after 8:00 AM. You can set a <code>Duration</code> to shorten
508
- * the rotation window.</p>
508
+ * <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html">Schedule expressions in
509
+ * Secrets Manager rotation</a> in the <i>Secrets Manager Users Guide</i>. For a cron expression
510
+ * that represents a schedule in hours, the default rotation window closes after one hour. For
511
+ * a cron expression that represents a schedule in days, the default rotation window closes at
512
+ * the end of the day. You can set the <code>Duration</code> to change the rotation window. The
513
+ * rotation window must not extend into the next UTC day or into the next rotation window.</p>
509
514
  */
510
515
  ScheduleExpression?: string;
511
516
  }
@@ -853,7 +858,7 @@ export interface ListSecretsRequest {
853
858
  */
854
859
  Filters?: Filter[];
855
860
  /**
856
- * <p>Lists secrets in the requested order. </p>
861
+ * <p>Secrets are listed by <code>CreatedDate</code>. </p>
857
862
  */
858
863
  SortOrder?: SortOrderType | string;
859
864
  }
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.212.0",
4
+ "version": "3.213.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",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.212.0",
22
+ "@aws-sdk/client-sts": "3.213.0",
23
23
  "@aws-sdk/config-resolver": "3.212.0",
24
24
  "@aws-sdk/credential-provider-node": "3.212.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.212.0",