Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SecretListEntry = SecretListEntry' {
- arn :: Maybe Text
- createdDate :: Maybe POSIX
- deletedDate :: Maybe POSIX
- description :: Maybe Text
- kmsKeyId :: Maybe Text
- lastAccessedDate :: Maybe POSIX
- lastChangedDate :: Maybe POSIX
- lastRotatedDate :: Maybe POSIX
- name :: Maybe Text
- nextRotationDate :: Maybe POSIX
- owningService :: Maybe Text
- primaryRegion :: Maybe Text
- rotationEnabled :: Maybe Bool
- rotationLambdaARN :: Maybe Text
- rotationRules :: Maybe RotationRulesType
- secretVersionsToStages :: Maybe (HashMap Text (NonEmpty Text))
- tags :: Maybe [Tag]
- newSecretListEntry :: SecretListEntry
- secretListEntry_arn :: Lens' SecretListEntry (Maybe Text)
- secretListEntry_createdDate :: Lens' SecretListEntry (Maybe UTCTime)
- secretListEntry_deletedDate :: Lens' SecretListEntry (Maybe UTCTime)
- secretListEntry_description :: Lens' SecretListEntry (Maybe Text)
- secretListEntry_kmsKeyId :: Lens' SecretListEntry (Maybe Text)
- secretListEntry_lastAccessedDate :: Lens' SecretListEntry (Maybe UTCTime)
- secretListEntry_lastChangedDate :: Lens' SecretListEntry (Maybe UTCTime)
- secretListEntry_lastRotatedDate :: Lens' SecretListEntry (Maybe UTCTime)
- secretListEntry_name :: Lens' SecretListEntry (Maybe Text)
- secretListEntry_nextRotationDate :: Lens' SecretListEntry (Maybe UTCTime)
- secretListEntry_owningService :: Lens' SecretListEntry (Maybe Text)
- secretListEntry_primaryRegion :: Lens' SecretListEntry (Maybe Text)
- secretListEntry_rotationEnabled :: Lens' SecretListEntry (Maybe Bool)
- secretListEntry_rotationLambdaARN :: Lens' SecretListEntry (Maybe Text)
- secretListEntry_rotationRules :: Lens' SecretListEntry (Maybe RotationRulesType)
- secretListEntry_secretVersionsToStages :: Lens' SecretListEntry (Maybe (HashMap Text (NonEmpty Text)))
- secretListEntry_tags :: Lens' SecretListEntry (Maybe [Tag])
Documentation
data SecretListEntry Source #
A structure that contains the details about a secret. It does not
include the encrypted SecretString
and SecretBinary
values. To get
those values, use
GetSecretValue
.
See: newSecretListEntry
smart constructor.
SecretListEntry' | |
|
Instances
newSecretListEntry :: SecretListEntry Source #
Create a value of SecretListEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:SecretListEntry'
, secretListEntry_arn
- The Amazon Resource Name (ARN) of the secret.
$sel:createdDate:SecretListEntry'
, secretListEntry_createdDate
- The date and time when a secret was created.
$sel:deletedDate:SecretListEntry'
, secretListEntry_deletedDate
- The date and time the deletion of the secret occurred. Not present on
active secrets. The secret can be recovered until the number of days in
the recovery window has passed, as specified in the
RecoveryWindowInDays
parameter of the
DeleteSecret
operation.
$sel:description:SecretListEntry'
, secretListEntry_description
- The user-provided description of the secret.
$sel:kmsKeyId:SecretListEntry'
, secretListEntry_kmsKeyId
- The ARN of the KMS key that Secrets Manager uses to encrypt the secret
value. If the secret is encrypted with the Amazon Web Services managed
key aws/secretsmanager
, this field is omitted.
$sel:lastAccessedDate:SecretListEntry'
, secretListEntry_lastAccessedDate
- The date that the secret was last accessed in the Region. This field is
omitted if the secret has never been retrieved in the Region.
$sel:lastChangedDate:SecretListEntry'
, secretListEntry_lastChangedDate
- The last date and time that this secret was modified in any way.
$sel:lastRotatedDate:SecretListEntry'
, secretListEntry_lastRotatedDate
- The most recent date and time that the Secrets Manager rotation process
was successfully completed. This value is null if the secret hasn't
ever rotated.
$sel:name:SecretListEntry'
, secretListEntry_name
- The friendly name of the secret. You can use forward slashes in the name
to represent a path hierarchy. For example,
/prod/databases/dbserver1
could represent the secret for a server
named dbserver1
in the folder databases
in the folder prod
.
$sel:nextRotationDate:SecretListEntry'
, secretListEntry_nextRotationDate
- Undocumented member.
$sel:owningService:SecretListEntry'
, secretListEntry_owningService
- Returns the name of the service that created the secret.
$sel:primaryRegion:SecretListEntry'
, secretListEntry_primaryRegion
- The Region where Secrets Manager originated the secret.
$sel:rotationEnabled:SecretListEntry'
, secretListEntry_rotationEnabled
- Indicates whether automatic, scheduled rotation is enabled for this
secret.
$sel:rotationLambdaARN:SecretListEntry'
, secretListEntry_rotationLambdaARN
- The ARN of an Amazon Web Services Lambda function invoked by Secrets
Manager to rotate and expire the secret either automatically per the
schedule or manually by a call to
RotateSecret
.
$sel:rotationRules:SecretListEntry'
, secretListEntry_rotationRules
- A structure that defines the rotation configuration for the secret.
$sel:secretVersionsToStages:SecretListEntry'
, secretListEntry_secretVersionsToStages
- A list of all of the currently assigned SecretVersionStage
staging
labels and the SecretVersionId
attached to each one. Staging labels
are used to keep track of the different versions during the rotation
process.
A version that does not have any SecretVersionStage
is considered
deprecated and subject to deletion. Such versions are not included in
this list.
$sel:tags:SecretListEntry'
, secretListEntry_tags
- The list of user-defined tags associated with the secret. To add tags to
a secret, use
TagResource
. To remove tags, use
UntagResource
.
secretListEntry_arn :: Lens' SecretListEntry (Maybe Text) Source #
The Amazon Resource Name (ARN) of the secret.
secretListEntry_createdDate :: Lens' SecretListEntry (Maybe UTCTime) Source #
The date and time when a secret was created.
secretListEntry_deletedDate :: Lens' SecretListEntry (Maybe UTCTime) Source #
The date and time the deletion of the secret occurred. Not present on
active secrets. The secret can be recovered until the number of days in
the recovery window has passed, as specified in the
RecoveryWindowInDays
parameter of the
DeleteSecret
operation.
secretListEntry_description :: Lens' SecretListEntry (Maybe Text) Source #
The user-provided description of the secret.
secretListEntry_kmsKeyId :: Lens' SecretListEntry (Maybe Text) Source #
The ARN of the KMS key that Secrets Manager uses to encrypt the secret
value. If the secret is encrypted with the Amazon Web Services managed
key aws/secretsmanager
, this field is omitted.
secretListEntry_lastAccessedDate :: Lens' SecretListEntry (Maybe UTCTime) Source #
The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
secretListEntry_lastChangedDate :: Lens' SecretListEntry (Maybe UTCTime) Source #
The last date and time that this secret was modified in any way.
secretListEntry_lastRotatedDate :: Lens' SecretListEntry (Maybe UTCTime) Source #
The most recent date and time that the Secrets Manager rotation process was successfully completed. This value is null if the secret hasn't ever rotated.
secretListEntry_name :: Lens' SecretListEntry (Maybe Text) Source #
The friendly name of the secret. You can use forward slashes in the name
to represent a path hierarchy. For example,
/prod/databases/dbserver1
could represent the secret for a server
named dbserver1
in the folder databases
in the folder prod
.
secretListEntry_nextRotationDate :: Lens' SecretListEntry (Maybe UTCTime) Source #
Undocumented member.
secretListEntry_owningService :: Lens' SecretListEntry (Maybe Text) Source #
Returns the name of the service that created the secret.
secretListEntry_primaryRegion :: Lens' SecretListEntry (Maybe Text) Source #
The Region where Secrets Manager originated the secret.
secretListEntry_rotationEnabled :: Lens' SecretListEntry (Maybe Bool) Source #
Indicates whether automatic, scheduled rotation is enabled for this secret.
secretListEntry_rotationLambdaARN :: Lens' SecretListEntry (Maybe Text) Source #
The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the secret either automatically per the schedule or manually by a call to RotateSecret .
secretListEntry_rotationRules :: Lens' SecretListEntry (Maybe RotationRulesType) Source #
A structure that defines the rotation configuration for the secret.
secretListEntry_secretVersionsToStages :: Lens' SecretListEntry (Maybe (HashMap Text (NonEmpty Text))) Source #
A list of all of the currently assigned SecretVersionStage
staging
labels and the SecretVersionId
attached to each one. Staging labels
are used to keep track of the different versions during the rotation
process.
A version that does not have any SecretVersionStage
is considered
deprecated and subject to deletion. Such versions are not included in
this list.
secretListEntry_tags :: Lens' SecretListEntry (Maybe [Tag]) Source #
The list of user-defined tags associated with the secret. To add tags to a secret, use TagResource . To remove tags, use UntagResource .