| 1 | |||
| 2 | package Paws::SecretsManager::DescribeSecretResponse; | ||
| 3 | use Moose; | ||
| 4 | has ARN => (is => 'ro', isa => 'Str'); | ||
| 5 | has CreatedDate => (is => 'ro', isa => 'Str'); | ||
| 6 | has DeletedDate => (is => 'ro', isa => 'Str'); | ||
| 7 | has Description => (is => 'ro', isa => 'Str'); | ||
| 8 | has KmsKeyId => (is => 'ro', isa => 'Str'); | ||
| 9 | has LastAccessedDate => (is => 'ro', isa => 'Str'); | ||
| 10 | has LastChangedDate => (is => 'ro', isa => 'Str'); | ||
| 11 | has LastRotatedDate => (is => 'ro', isa => 'Str'); | ||
| 12 | has Name => (is => 'ro', isa => 'Str'); | ||
| 13 | has OwningService => (is => 'ro', isa => 'Str'); | ||
| 14 | has PrimaryRegion => (is => 'ro', isa => 'Str'); | ||
| 15 | has ReplicationStatus => (is => 'ro', isa => 'ArrayRef[Paws::SecretsManager::ReplicationStatusType]'); | ||
| 16 | has RotationEnabled => (is => 'ro', isa => 'Bool'); | ||
| 17 | has RotationLambdaARN => (is => 'ro', isa => 'Str'); | ||
| 18 | has RotationRules => (is => 'ro', isa => 'Paws::SecretsManager::RotationRulesType'); | ||
| 19 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SecretsManager::Tag]'); | ||
| 20 | has VersionIdsToStages => (is => 'ro', isa => 'Paws::SecretsManager::SecretVersionsToStagesMapType'); | ||
| 21 | |||
| 22 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 23 | |||
| 24 | ### main pod documentation begin ### | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Paws::SecretsManager::DescribeSecretResponse | ||
| 29 | |||
| 30 | =head1 ATTRIBUTES | ||
| 31 | |||
| 32 | |||
| 33 | =head2 ARN => Str | ||
| 34 | |||
| 35 | The ARN of the secret. | ||
| 36 | |||
| 37 | |||
| 38 | =head2 CreatedDate => Str | ||
| 39 | |||
| 40 | The date you created the secret. | ||
| 41 | |||
| 42 | |||
| 43 | =head2 DeletedDate => Str | ||
| 44 | |||
| 45 | This value exists if the secret is scheduled for deletion. Some time | ||
| 46 | after the specified date and time, Secrets Manager deletes the secret | ||
| 47 | and all of its versions. | ||
| 48 | |||
| 49 | If a secret is scheduled for deletion, then its details, including the | ||
| 50 | encrypted secret information, is not accessible. To cancel a scheduled | ||
| 51 | deletion and restore access, use RestoreSecret. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Description => Str | ||
| 55 | |||
| 56 | The user-provided description of the secret. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 KmsKeyId => Str | ||
| 60 | |||
| 61 | The ARN or alias of the AWS KMS customer master key (CMK) that's used | ||
| 62 | to encrypt the C<SecretString> or C<SecretBinary> fields in each | ||
| 63 | version of the secret. If you don't provide a key, then Secrets Manager | ||
| 64 | defaults to encrypting the secret fields with the default AWS KMS CMK | ||
| 65 | (the one named C<awssecretsmanager>) for this account. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 LastAccessedDate => Str | ||
| 69 | |||
| 70 | The last date that this secret was accessed. This value is truncated to | ||
| 71 | midnight of the date and therefore shows only the date, not the time. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 LastChangedDate => Str | ||
| 75 | |||
| 76 | The last date and time that this secret was modified in any way. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 LastRotatedDate => Str | ||
| 80 | |||
| 81 | The last date and time that the rotation process for this secret was | ||
| 82 | invoked. | ||
| 83 | |||
| 84 | The most recent date and time that the Secrets Manager rotation process | ||
| 85 | successfully completed. If the secret doesn't rotate, Secrets Manager | ||
| 86 | returns a null value. | ||
| 87 | |||
| 88 | |||
| 89 | =head2 Name => Str | ||
| 90 | |||
| 91 | The user-provided friendly name of the secret. | ||
| 92 | |||
| 93 | |||
| 94 | =head2 OwningService => Str | ||
| 95 | |||
| 96 | Returns the name of the service that created this secret. | ||
| 97 | |||
| 98 | |||
| 99 | =head2 PrimaryRegion => Str | ||
| 100 | |||
| 101 | Specifies the primary region for secret replication. | ||
| 102 | |||
| 103 | |||
| 104 | =head2 ReplicationStatus => ArrayRef[L<Paws::SecretsManager::ReplicationStatusType>] | ||
| 105 | |||
| 106 | Describes a list of replication status objects as C<InProgress>, | ||
| 107 | C<Failed> or C<InSync>.C<P> | ||
| 108 | |||
| 109 | |||
| 110 | =head2 RotationEnabled => Bool | ||
| 111 | |||
| 112 | Specifies whether automatic rotation is enabled for this secret. | ||
| 113 | |||
| 114 | To enable rotation, use RotateSecret with | ||
| 115 | C<AutomaticallyRotateAfterDays> set to a value greater than 0. To | ||
| 116 | disable rotation, use CancelRotateSecret. | ||
| 117 | |||
| 118 | |||
| 119 | =head2 RotationLambdaARN => Str | ||
| 120 | |||
| 121 | The ARN of a Lambda function that's invoked by Secrets Manager to | ||
| 122 | rotate the secret either automatically per the schedule or manually by | ||
| 123 | a call to C<RotateSecret>. | ||
| 124 | |||
| 125 | |||
| 126 | =head2 RotationRules => L<Paws::SecretsManager::RotationRulesType> | ||
| 127 | |||
| 128 | A structure with the rotation configuration for this secret. | ||
| 129 | |||
| 130 | |||
| 131 | =head2 Tags => ArrayRef[L<Paws::SecretsManager::Tag>] | ||
| 132 | |||
| 133 | The list of user-defined tags that are associated with the secret. To | ||
| 134 | add tags to a secret, use TagResource. To remove tags, use | ||
| 135 | UntagResource. | ||
| 136 | |||
| 137 | |||
| 138 | =head2 VersionIdsToStages => L<Paws::SecretsManager::SecretVersionsToStagesMapType> | ||
| 139 | |||
| 140 | A list of all of the currently assigned C<VersionStage> staging labels | ||
| 141 | and the C<VersionId> that each is attached to. Staging labels are used | ||
| 142 | to keep track of the different versions during the rotation process. | ||
| 143 | |||
| 144 | A version that does not have any staging labels attached is considered | ||
| 145 | deprecated and subject to deletion. Such versions are not included in | ||
| 146 | this list. | ||
| 147 | |||
| 148 | |||
| 149 | =head2 _request_id => Str | ||
| 150 | |||
| 151 | |||
| 152 | =cut | ||
| 153 | |||
| 154 | 1; |