diff --git a/clients/client-secrets-manager/src/models/models_0.ts b/clients/client-secrets-manager/src/models/models_0.ts index 4859b6bd67b5..25ece8ae3ed9 100644 --- a/clients/client-secrets-manager/src/models/models_0.ts +++ b/clients/client-secrets-manager/src/models/models_0.ts @@ -966,7 +966,7 @@ export interface DescribeSecretResponse { KmsKeyId?: string; /** - *
Specifies whether automatic rotation is turned on for this secret.
+ *Specifies whether automatic rotation is turned on for this secret. If the secret has never been configured for rotation, Secrets Manager returns null.
*To turn on rotation, use RotateSecret. To turn off * rotation, use CancelRotateSecret.
* @public @@ -1216,7 +1216,7 @@ export interface GetResourcePolicyResponse { */ export interface GetSecretValueRequest { /** - *The ARN or name of the secret to retrieve.
+ *The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN.
*For an ARN, we recommend that you specify a complete ARN rather * than a partial ARN. See Finding a secret from a partial ARN.
* @public @@ -1946,7 +1946,7 @@ export interface RotateSecretRequest { *Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. * The rotation schedule is defined in RotateSecretRequest$RotationRules.
*For secrets that use a Lambda rotation function to rotate, if you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the
- *
+ *
* testSecret
* step of the Lambda rotation function. The test creates an AWSPENDING
version of the secret and then removes it.
By default, Secrets Manager rotates the secret immediately.
@@ -2207,7 +2207,7 @@ export interface UpdateSecretVersionStageResponse { */ export interface ValidateResourcePolicyRequest { /** - *This field is reserved for internal use.
+ *The ARN or name of the secret with the resource-based policy you want to validate.
* @public */ SecretId?: string; diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.json b/codegen/sdk-codegen/aws-models/secrets-manager.json index 6ec71ecbc839..b80e973da4af 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.json @@ -712,7 +712,7 @@ "target": "com.amazonaws.secretsmanager#RotationEnabledType", "traits": { "smithy.api#default": null, - "smithy.api#documentation": "Specifies whether automatic rotation is turned on for this secret.
\nTo turn on rotation, use RotateSecret. To turn off\n rotation, use CancelRotateSecret.
" + "smithy.api#documentation": "Specifies whether automatic rotation is turned on for this secret. If the secret has never been configured for rotation, Secrets Manager returns null.
\nTo turn on rotation, use RotateSecret. To turn off\n rotation, use CancelRotateSecret.
" } }, "RotationLambdaARN": { @@ -1215,7 +1215,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "The ARN or name of the secret to retrieve.
\nFor an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN. See Finding a secret from a partial ARN.
", + "smithy.api#documentation": "The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN.
\nFor an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN. See Finding a secret from a partial ARN.
", "smithy.api#required": {} } }, @@ -2408,7 +2408,7 @@ "target": "com.amazonaws.secretsmanager#BooleanType", "traits": { "smithy.api#default": null, - "smithy.api#documentation": "Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. \n The rotation schedule is defined in RotateSecretRequest$RotationRules.
\nFor secrets that use a Lambda rotation function to rotate, if you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the \n \n testSecret
\n step of the Lambda rotation function. The test creates an AWSPENDING
version of the secret and then removes it.
By default, Secrets Manager rotates the secret immediately.
" + "smithy.api#documentation": "Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. \n The rotation schedule is defined in RotateSecretRequest$RotationRules.
\nFor secrets that use a Lambda rotation function to rotate, if you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the \n \n testSecret
\n step of the Lambda rotation function. The test creates an AWSPENDING
version of the secret and then removes it.
By default, Secrets Manager rotates the secret immediately.
" } } }, @@ -3420,7 +3420,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "This field is reserved for internal use.
" + "smithy.api#documentation": "The ARN or name of the secret with the resource-based policy you want to validate.
" } }, "ResourcePolicy": {