|
663 | 663 | } |
664 | 664 | ], |
665 | 665 | "traits": { |
666 | | - "smithy.api#documentation": "<p>Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager\n only returns fields that have a value in the response. </p>\n <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>\n <p>\n <b>Required permissions: </b>\n <code>secretsmanager:DescribeSecret</code>. \n For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n and access control in Secrets Manager</a>. </p>" |
| 666 | + "smithy.api#documentation": "<p>Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager\n only returns fields that have a value in the response. </p>\n <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>\n <p>\n <b>Required permissions: </b>\n <code>secretsmanager:DescribeSecret</code>. \n For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n and access control in Secrets Manager</a>. </p>", |
| 667 | + "smithy.test#smokeTests": [ |
| 668 | + { |
| 669 | + "id": "DescribeSecretFailure", |
| 670 | + "params": { |
| 671 | + "SecretId": "fake-secret-id" |
| 672 | + }, |
| 673 | + "vendorParams": { |
| 674 | + "region": "us-west-2" |
| 675 | + }, |
| 676 | + "vendorParamsShape": "aws.test#AwsVendorParams", |
| 677 | + "expect": { |
| 678 | + "failure": {} |
| 679 | + } |
| 680 | + } |
| 681 | + ] |
667 | 682 | } |
668 | 683 | }, |
669 | 684 | "com.amazonaws.secretsmanager#DescribeSecretRequest": { |
|
712 | 727 | "target": "com.amazonaws.secretsmanager#RotationEnabledType", |
713 | 728 | "traits": { |
714 | 729 | "smithy.api#default": null, |
715 | | - "smithy.api#documentation": "<p>Specifies whether automatic rotation is turned on for this secret. If the secret has never been configured for rotation, Secrets Manager returns null.</p>\n <p>To turn on rotation, use <a>RotateSecret</a>. To turn off\n rotation, use <a>CancelRotateSecret</a>.</p>" |
| 730 | + "smithy.api#documentation": "<p>Specifies whether automatic rotation is turned on for this secret.</p>\n <p>To turn on rotation, use <a>RotateSecret</a>. To turn off\n rotation, use <a>CancelRotateSecret</a>.</p>" |
716 | 731 | } |
717 | 732 | }, |
718 | 733 | "RotationLambdaARN": { |
|
1215 | 1230 | "SecretId": { |
1216 | 1231 | "target": "com.amazonaws.secretsmanager#SecretIdType", |
1217 | 1232 | "traits": { |
1218 | | - "smithy.api#documentation": "<p>The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN.</p>\n <p>For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>", |
| 1233 | + "smithy.api#documentation": "<p>The ARN or name of the secret to retrieve.</p>\n <p>For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>", |
1219 | 1234 | "smithy.api#required": {} |
1220 | 1235 | } |
1221 | 1236 | }, |
|
1559 | 1574 | "inputToken": "NextToken", |
1560 | 1575 | "outputToken": "NextToken", |
1561 | 1576 | "pageSize": "MaxResults" |
1562 | | - } |
| 1577 | + }, |
| 1578 | + "smithy.test#smokeTests": [ |
| 1579 | + { |
| 1580 | + "id": "ListSecretsSuccess", |
| 1581 | + "params": {}, |
| 1582 | + "vendorParams": { |
| 1583 | + "region": "us-west-2" |
| 1584 | + }, |
| 1585 | + "vendorParamsShape": "aws.test#AwsVendorParams", |
| 1586 | + "expect": { |
| 1587 | + "success": {} |
| 1588 | + } |
| 1589 | + } |
| 1590 | + ] |
1563 | 1591 | } |
1564 | 1592 | }, |
1565 | 1593 | "com.amazonaws.secretsmanager#ListSecretsRequest": { |
|
2408 | 2436 | "target": "com.amazonaws.secretsmanager#BooleanType", |
2409 | 2437 | "traits": { |
2410 | 2438 | "smithy.api#default": null, |
2411 | | - "smithy.api#documentation": "<p>Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. \n The rotation schedule is defined in <a>RotateSecretRequest$RotationRules</a>.</p>\n <p>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 \n <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_lambda-functions.html#rotate-secrets_lambda-functions-code\">\n <code>testSecret</code> \n step</a> of the Lambda rotation function. The test creates an <code>AWSPENDING</code> version of the secret and then removes it.</p>\n <p>By default, Secrets Manager rotates the secret immediately.</p>" |
| 2439 | + "smithy.api#documentation": "<p>Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. \n The rotation schedule is defined in <a>RotateSecretRequest$RotationRules</a>.</p>\n <p>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 \n <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html\">\n <code>testSecret</code> \n step</a> of the Lambda rotation function. The test creates an <code>AWSPENDING</code> version of the secret and then removes it.</p>\n <p>By default, Secrets Manager rotates the secret immediately.</p>" |
2412 | 2440 | } |
2413 | 2441 | } |
2414 | 2442 | }, |
|
3420 | 3448 | "SecretId": { |
3421 | 3449 | "target": "com.amazonaws.secretsmanager#SecretIdType", |
3422 | 3450 | "traits": { |
3423 | | - "smithy.api#documentation": "<p>The ARN or name of the secret with the resource-based policy you want to validate.</p>" |
| 3451 | + "smithy.api#documentation": "<p>This field is reserved for internal use.</p>" |
3424 | 3452 | } |
3425 | 3453 | }, |
3426 | 3454 | "ResourcePolicy": { |
|
0 commit comments