amazonka-secretsmanager-2.0: Amazon Secrets Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SecretsManager

Description

Derived from API version 2017-10-17 of the AWS service descriptions, licensed under Apache 2.0.

Amazon Web Services Secrets Manager

Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.

This guide provides descriptions of the Secrets Manager API. For more information about using this service, see the Amazon Web Services Secrets Manager User Guide.

API Version

This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.

Support and Feedback for Amazon Web Services Secrets Manager

We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com, or post your feedback and questions in the Amazon Web Services Secrets Manager Discussion Forum. For more information about the Amazon Web Services Discussion Forums, see Forums Help.

Logging API Requests

Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information that's collected by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services CloudTrail, see Logging Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail in the Amazon Web Services Secrets Manager User Guide. To learn more about CloudTrail, including enabling it and find your log files, see the Amazon Web Services CloudTrail User Guide.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-10-17 of the Amazon Secrets Manager SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by SecretsManager.

DecryptionFailure

_DecryptionFailure :: AsError a => Fold a ServiceError Source #

Secrets Manager can't decrypt the protected secret text using the provided KMS key.

EncryptionFailure

_EncryptionFailure :: AsError a => Fold a ServiceError Source #

Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the KMS key is available, enabled, and not in an invalid state. For more information, see Key state: Effect on your KMS key.

InternalServiceError

_InternalServiceError :: AsError a => Fold a ServiceError Source #

An error occurred on the server side.

InvalidNextTokenException

_InvalidNextTokenException :: AsError a => Fold a ServiceError Source #

The NextToken value is invalid.

InvalidParameterException

_InvalidParameterException :: AsError a => Fold a ServiceError Source #

The parameter name or value is invalid.

InvalidRequestException

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

A parameter value is not valid for the current state of the resource.

Possible causes:

  • The secret is scheduled for deletion.
  • You tried to enable rotation on a secret that doesn't already have a Lambda function ARN configured and you didn't include such an ARN as a parameter in this call.
  • The secret is managed by another service, and you must use that service to update it. For more information, see Secrets managed by other Amazon Web Services services.

LimitExceededException

_LimitExceededException :: AsError a => Fold a ServiceError Source #

The request failed because it would exceed one of the Secrets Manager quotas.

MalformedPolicyDocumentException

_MalformedPolicyDocumentException :: AsError a => Fold a ServiceError Source #

The resource policy has syntax errors.

PreconditionNotMetException

_PreconditionNotMetException :: AsError a => Fold a ServiceError Source #

The request failed because you did not complete all the prerequisite steps.

PublicPolicyException

_PublicPolicyException :: AsError a => Fold a ServiceError Source #

The BlockPublicPolicy parameter is set to true, and the resource policy did not prevent broad access to the secret.

ResourceExistsException

_ResourceExistsException :: AsError a => Fold a ServiceError Source #

A resource with the ID you requested already exists.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

Secrets Manager can't find the resource that you asked for.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

CancelRotateSecret

data CancelRotateSecret Source #

See: newCancelRotateSecret smart constructor.

Instances

Instances details
ToJSON CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

ToHeaders CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

ToPath CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

ToQuery CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

AWSRequest CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Associated Types

type AWSResponse CancelRotateSecret #

Generic CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Associated Types

type Rep CancelRotateSecret :: Type -> Type #

Read CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Show CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

NFData CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Methods

rnf :: CancelRotateSecret -> () #

Eq CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Hashable CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

type AWSResponse CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

type Rep CancelRotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

type Rep CancelRotateSecret = D1 ('MetaData "CancelRotateSecret" "Amazonka.SecretsManager.CancelRotateSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "CancelRotateSecret'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCancelRotateSecret Source #

Create a value of CancelRotateSecret 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:secretId:CancelRotateSecret', cancelRotateSecret_secretId - The ARN or name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data CancelRotateSecretResponse Source #

See: newCancelRotateSecretResponse smart constructor.

Instances

Instances details
Generic CancelRotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Associated Types

type Rep CancelRotateSecretResponse :: Type -> Type #

Read CancelRotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Show CancelRotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

NFData CancelRotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

Eq CancelRotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

type Rep CancelRotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CancelRotateSecret

type Rep CancelRotateSecretResponse = D1 ('MetaData "CancelRotateSecretResponse" "Amazonka.SecretsManager.CancelRotateSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "CancelRotateSecretResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCancelRotateSecretResponse Source #

Create a value of CancelRotateSecretResponse 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:

CancelRotateSecretResponse, cancelRotateSecretResponse_arn - The ARN of the secret.

CancelRotateSecretResponse, cancelRotateSecretResponse_name - The name of the secret.

CancelRotateSecretResponse, cancelRotateSecretResponse_versionId - The unique identifier of the version of the secret created during the rotation. This version might not be complete, and should be evaluated for possible deletion. We recommend that you remove the VersionStage value AWSPENDING from this version so that Secrets Manager can delete it. Failing to clean up a cancelled rotation can block you from starting future rotations.

$sel:httpStatus:CancelRotateSecretResponse', cancelRotateSecretResponse_httpStatus - The response's http status code.

CreateSecret

data CreateSecret Source #

See: newCreateSecret smart constructor.

Instances

Instances details
ToJSON CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

ToHeaders CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

ToPath CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

ToQuery CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

AWSRequest CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

Associated Types

type AWSResponse CreateSecret #

Generic CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

Associated Types

type Rep CreateSecret :: Type -> Type #

Show CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

NFData CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

Methods

rnf :: CreateSecret -> () #

Eq CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

Hashable CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

type AWSResponse CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

type Rep CreateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

newCreateSecret Source #

Create a value of CreateSecret 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:addReplicaRegions:CreateSecret', createSecret_addReplicaRegions - A list of Regions and KMS keys to replicate secrets.

$sel:clientRequestToken:CreateSecret', createSecret_clientRequestToken - If you include SecretString or SecretBinary, then Secrets Manager creates an initial version for the secret, and this parameter specifies the unique identifier for the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for the new version and include the value in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during a rotation. We recommend that you generate a UUID-type value to ensure uniqueness of your versions within the specified secret.

  • If the ClientRequestToken value isn't already associated with a version of the secret then a new version of the secret is created.
  • If a version with this value already exists and the version SecretString and SecretBinary values are the same as those in the request, then the request is ignored.
  • If a version with this value already exists and that version's SecretString and SecretBinary values are different from those in the request, then the request fails because you cannot modify an existing version. Instead, use PutSecretValue to create a new version.

This value becomes the VersionId of the new version.

CreateSecret, createSecret_description - The description of the secret.

$sel:forceOverwriteReplicaSecret:CreateSecret', createSecret_forceOverwriteReplicaSecret - Specifies whether to overwrite a secret with the same name in the destination Region.

CreateSecret, createSecret_kmsKeyId - The ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt the secret value in the secret. An alias is always prefixed by alias/, for example alias/aws/secretsmanager. For more information, see About aliases.

To use a KMS key in a different account, use the key ARN or the alias ARN.

If you don't specify this value, then Secrets Manager uses the key aws/secretsmanager. If that key doesn't yet exist, then Secrets Manager creates it for you automatically the first time it encrypts the secret value.

If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key.

$sel:secretBinary:CreateSecret', createSecret_secretBinary - The binary data to encrypt and store in the new version of the secret. We recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

Either SecretString or SecretBinary must have a value, but not both.

This parameter is not available in the Secrets Manager console.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:secretString:CreateSecret', createSecret_secretString - The text data to encrypt and store in this new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value.

Either SecretString or SecretBinary must have a value, but not both.

If you create a secret by using the Secrets Manager console then Secrets Manager puts the protected secret text in only the SecretString parameter. The Secrets Manager console stores the information as a JSON structure of key/value pairs that a Lambda rotation function can parse.

CreateSecret, createSecret_tags - A list of tags to attach to the secret. Each tag is a key and value pair of strings in a JSON text string, for example:

[{"Key":"CostCenter","Value":"12345"},{"Key":"environment","Value":"production"}]

Secrets Manager tag key names are case sensitive. A tag with the key "ABC" is a different tag from one with key "abc".

If you check tags in permissions policies as part of your security strategy, then adding or removing a tag can change permissions. If the completion of this operation would result in you losing your permissions for this secret, then Secrets Manager blocks the operation and returns an Access Denied error. For more information, see Control access to secrets using tags and Limit access to identities with tags that match secrets' tags.

For information about how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters. If your command-line tool or SDK requires quotation marks around the parameter, you should use single quotes to avoid confusion with the double quotes required in the JSON text.

The following restrictions apply to tags:

  • Maximum number of tags per secret: 50
  • Maximum key length: 127 Unicode characters in UTF-8
  • Maximum value length: 255 Unicode characters in UTF-8
  • Tag keys and values are case sensitive.
  • Do not use the aws: prefix in your tag names or values because Amazon Web Services reserves it for Amazon Web Services use. You can't edit or delete tag names or values with this prefix. Tags with this prefix do not count against your tags per secret limit.
  • If you use your tagging schema across multiple services and resources, other services might have restrictions on allowed characters. Generally allowed characters: letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @.

CreateSecret, createSecret_name - The name of the new secret.

The secret name can contain ASCII letters, numbers, and the following characters: /_+=.@-

Do not end your secret name with a hyphen followed by six characters. If you do so, you risk confusion and unexpected results when searching for a secret by partial ARN. Secrets Manager automatically adds a hyphen and six random characters after the secret name at the end of the ARN.

data CreateSecretResponse Source #

See: newCreateSecretResponse smart constructor.

Instances

Instances details
Generic CreateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

Associated Types

type Rep CreateSecretResponse :: Type -> Type #

Read CreateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

Show CreateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

NFData CreateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

Methods

rnf :: CreateSecretResponse -> () #

Eq CreateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

type Rep CreateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.CreateSecret

type Rep CreateSecretResponse = D1 ('MetaData "CreateSecretResponse" "Amazonka.SecretsManager.CreateSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "CreateSecretResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "replicationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationStatusType])) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateSecretResponse Source #

Create a value of CreateSecretResponse 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:

CreateSecretResponse, createSecretResponse_arn - The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.

CreateSecret, createSecretResponse_name - The name of the new secret.

$sel:replicationStatus:CreateSecretResponse', createSecretResponse_replicationStatus - A list of the replicas of this secret and their status:

  • Failed, which indicates that the replica was not created.
  • InProgress, which indicates that Secrets Manager is in the process of creating the replica.
  • InSync, which indicates that the replica was created.

CreateSecretResponse, createSecretResponse_versionId - The unique identifier associated with the version of the new secret.

$sel:httpStatus:CreateSecretResponse', createSecretResponse_httpStatus - The response's http status code.

DeleteResourcePolicy

data DeleteResourcePolicy Source #

See: newDeleteResourcePolicy smart constructor.

Instances

Instances details
ToJSON DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

ToHeaders DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

ToPath DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

ToQuery DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

AWSRequest DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Associated Types

type AWSResponse DeleteResourcePolicy #

Generic DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Associated Types

type Rep DeleteResourcePolicy :: Type -> Type #

Read DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Show DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

NFData DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Methods

rnf :: DeleteResourcePolicy -> () #

Eq DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Hashable DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

type AWSResponse DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

type Rep DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

type Rep DeleteResourcePolicy = D1 ('MetaData "DeleteResourcePolicy" "Amazonka.SecretsManager.DeleteResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "DeleteResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteResourcePolicy Source #

Create a value of DeleteResourcePolicy 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:secretId:DeleteResourcePolicy', deleteResourcePolicy_secretId - The ARN or name of the secret to delete the attached resource-based policy for.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data DeleteResourcePolicyResponse Source #

See: newDeleteResourcePolicyResponse smart constructor.

Instances

Instances details
Generic DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Associated Types

type Rep DeleteResourcePolicyResponse :: Type -> Type #

Read DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Show DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

NFData DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

Eq DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

type Rep DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteResourcePolicy

type Rep DeleteResourcePolicyResponse = D1 ('MetaData "DeleteResourcePolicyResponse" "Amazonka.SecretsManager.DeleteResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "DeleteResourcePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteResourcePolicyResponse Source #

Create a value of DeleteResourcePolicyResponse 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:

DeleteResourcePolicyResponse, deleteResourcePolicyResponse_arn - The ARN of the secret that the resource-based policy was deleted for.

DeleteResourcePolicyResponse, deleteResourcePolicyResponse_name - The name of the secret that the resource-based policy was deleted for.

$sel:httpStatus:DeleteResourcePolicyResponse', deleteResourcePolicyResponse_httpStatus - The response's http status code.

DeleteSecret

data DeleteSecret Source #

See: newDeleteSecret smart constructor.

Instances

Instances details
ToJSON DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

ToHeaders DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

ToPath DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

ToQuery DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

AWSRequest DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Associated Types

type AWSResponse DeleteSecret #

Generic DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Associated Types

type Rep DeleteSecret :: Type -> Type #

Read DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Show DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

NFData DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Methods

rnf :: DeleteSecret -> () #

Eq DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Hashable DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

type AWSResponse DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

type Rep DeleteSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

type Rep DeleteSecret = D1 ('MetaData "DeleteSecret" "Amazonka.SecretsManager.DeleteSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "DeleteSecret'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceDeleteWithoutRecovery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "recoveryWindowInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteSecret Source #

Create a value of DeleteSecret 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:forceDeleteWithoutRecovery:DeleteSecret', deleteSecret_forceDeleteWithoutRecovery - Specifies whether to delete the secret without any recovery window. You can't use both this parameter and RecoveryWindowInDays in the same call. If you don't use either, then Secrets Manager defaults to a 30 day recovery window.

Secrets Manager performs the actual deletion with an asynchronous background process, so there might be a short delay before the secret is permanently deleted. If you delete a secret and then immediately create a secret with the same name, use appropriate back off and retry logic.

Use this parameter with caution. This parameter causes the operation to skip the normal recovery window before the permanent deletion that Secrets Manager would normally impose with the RecoveryWindowInDays parameter. If you delete a secret with the ForceDeleteWithoutRecovery parameter, then you have no opportunity to recover the secret. You lose the secret permanently.

$sel:recoveryWindowInDays:DeleteSecret', deleteSecret_recoveryWindowInDays - The number of days from 7 to 30 that Secrets Manager waits before permanently deleting the secret. You can't use both this parameter and ForceDeleteWithoutRecovery in the same call. If you don't use either, then Secrets Manager defaults to a 30 day recovery window.

$sel:secretId:DeleteSecret', deleteSecret_secretId - The ARN or name of the secret to delete.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data DeleteSecretResponse Source #

See: newDeleteSecretResponse smart constructor.

Instances

Instances details
Generic DeleteSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Associated Types

type Rep DeleteSecretResponse :: Type -> Type #

Read DeleteSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Show DeleteSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

NFData DeleteSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

Methods

rnf :: DeleteSecretResponse -> () #

Eq DeleteSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

type Rep DeleteSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DeleteSecret

type Rep DeleteSecretResponse = D1 ('MetaData "DeleteSecretResponse" "Amazonka.SecretsManager.DeleteSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "DeleteSecretResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deletionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteSecretResponse Source #

Create a value of DeleteSecretResponse 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:

DeleteSecretResponse, deleteSecretResponse_arn - The ARN of the secret.

$sel:deletionDate:DeleteSecretResponse', deleteSecretResponse_deletionDate - The date and time after which this secret Secrets Manager can permanently delete this secret, and it can no longer be restored. This value is the date and time of the delete request plus the number of days in RecoveryWindowInDays.

DeleteSecretResponse, deleteSecretResponse_name - The name of the secret.

$sel:httpStatus:DeleteSecretResponse', deleteSecretResponse_httpStatus - The response's http status code.

DescribeSecret

data DescribeSecret Source #

See: newDescribeSecret smart constructor.

Constructors

DescribeSecret' Text 

Instances

Instances details
ToJSON DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

ToHeaders DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

ToPath DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

ToQuery DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

AWSRequest DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Associated Types

type AWSResponse DescribeSecret #

Generic DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Associated Types

type Rep DescribeSecret :: Type -> Type #

Read DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Show DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

NFData DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Methods

rnf :: DescribeSecret -> () #

Eq DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Hashable DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

type AWSResponse DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

type Rep DescribeSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

type Rep DescribeSecret = D1 ('MetaData "DescribeSecret" "Amazonka.SecretsManager.DescribeSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "DescribeSecret'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeSecret Source #

Create a value of DescribeSecret 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:secretId:DescribeSecret', describeSecret_secretId - The ARN or name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data DescribeSecretResponse Source #

See: newDescribeSecretResponse smart constructor.

Instances

Instances details
Generic DescribeSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Associated Types

type Rep DescribeSecretResponse :: Type -> Type #

Read DescribeSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Show DescribeSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

NFData DescribeSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

Methods

rnf :: DescribeSecretResponse -> () #

Eq DescribeSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

type Rep DescribeSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.DescribeSecret

type Rep DescribeSecretResponse = D1 ('MetaData "DescribeSecretResponse" "Amazonka.SecretsManager.DescribeSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "DescribeSecretResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "deletedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastAccessedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "lastChangedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastRotatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "nextRotationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "owningService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "primaryRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationStatusType])) :*: S1 ('MetaSel ('Just "rotationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "rotationLambdaARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "rotationRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RotationRulesType))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "versionIdsToStages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (NonEmpty Text)))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newDescribeSecretResponse Source #

Create a value of DescribeSecretResponse 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:

DescribeSecretResponse, describeSecretResponse_arn - The ARN of the secret.

DescribeSecretResponse, describeSecretResponse_createdDate - The date the secret was created.

DescribeSecretResponse, describeSecretResponse_deletedDate - The date the secret is scheduled for deletion. If it is not scheduled for deletion, this field is omitted. When you delete a secret, Secrets Manager requires a recovery window of at least 7 days before deleting the secret. Some time after the deleted date, Secrets Manager deletes the secret, including all of its versions.

If a secret is scheduled for deletion, then its details, including the encrypted secret value, is not accessible. To cancel a scheduled deletion and restore access to the secret, use RestoreSecret.

DescribeSecretResponse, describeSecretResponse_description - The description of the secret.

DescribeSecretResponse, describeSecretResponse_kmsKeyId - The key ID or alias 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. Secrets created using the console use an KMS key ID.

DescribeSecretResponse, describeSecretResponse_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.

DescribeSecretResponse, describeSecretResponse_lastChangedDate - The last date and time that this secret was modified in any way.

DescribeSecretResponse, describeSecretResponse_lastRotatedDate - The last date and time that Secrets Manager rotated the secret. If the secret isn't configured for rotation, Secrets Manager returns null.

DescribeSecretResponse, describeSecretResponse_name - The name of the secret.

DescribeSecretResponse, describeSecretResponse_nextRotationDate - Undocumented member.

DescribeSecretResponse, describeSecretResponse_owningService - The ID of the service that created this secret. For more information, see Secrets managed by other Amazon Web Services services.

DescribeSecretResponse, describeSecretResponse_primaryRegion - The Region the secret is in. If a secret is replicated to other Regions, the replicas are listed in ReplicationStatus.

$sel:replicationStatus:DescribeSecretResponse', describeSecretResponse_replicationStatus - A list of the replicas of this secret and their status:

  • Failed, which indicates that the replica was not created.
  • InProgress, which indicates that Secrets Manager is in the process of creating the replica.
  • InSync, which indicates that the replica was created.

DescribeSecretResponse, describeSecretResponse_rotationEnabled - Specifies whether automatic rotation is turned on for this secret.

To turn on rotation, use RotateSecret. To turn off rotation, use CancelRotateSecret.

DescribeSecretResponse, describeSecretResponse_rotationLambdaARN - The ARN of the Lambda function that Secrets Manager invokes to rotate the secret.

DescribeSecretResponse, describeSecretResponse_rotationRules - The rotation schedule and Lambda function for this secret. If the secret previously had rotation turned on, but it is now turned off, this field shows the previous rotation schedule and rotation function. If the secret never had rotation turned on, this field is omitted.

DescribeSecretResponse, describeSecretResponse_tags - The list of tags attached to the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource.

$sel:versionIdsToStages:DescribeSecretResponse', describeSecretResponse_versionIdsToStages - A list of the versions of the secret that have staging labels attached. Versions that don't have staging labels are considered deprecated and Secrets Manager can delete them.

Secrets Manager uses staging labels to indicate the status of a secret version during rotation. The three staging labels for rotation are:

  • AWSCURRENT, which indicates the current version of the secret.
  • AWSPENDING, which indicates the version of the secret that contains new secret information that will become the next current version when rotation finishes.

    During rotation, Secrets Manager creates an AWSPENDING version ID before creating the new secret version. To check if a secret version exists, call GetSecretValue.

  • AWSPREVIOUS, which indicates the previous current version of the secret. You can use this as the last known good version.

For more information about rotation and staging labels, see How rotation works.

$sel:httpStatus:DescribeSecretResponse', describeSecretResponse_httpStatus - The response's http status code.

GetRandomPassword

data GetRandomPassword Source #

See: newGetRandomPassword smart constructor.

Instances

Instances details
ToJSON GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

ToHeaders GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

ToPath GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

ToQuery GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

AWSRequest GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

Associated Types

type AWSResponse GetRandomPassword #

Generic GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

Associated Types

type Rep GetRandomPassword :: Type -> Type #

Read GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

Show GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

NFData GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

Methods

rnf :: GetRandomPassword -> () #

Eq GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

Hashable GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

type AWSResponse GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

type Rep GetRandomPassword Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

type Rep GetRandomPassword = D1 ('MetaData "GetRandomPassword" "Amazonka.SecretsManager.GetRandomPassword" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "GetRandomPassword'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "excludeCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "excludeLowercase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "excludeNumbers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "excludePunctuation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "excludeUppercase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "includeSpace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "passwordLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "requireEachIncludedType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newGetRandomPassword :: GetRandomPassword Source #

Create a value of GetRandomPassword 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:excludeCharacters:GetRandomPassword', getRandomPassword_excludeCharacters - A string of the characters that you don't want in the password.

$sel:excludeLowercase:GetRandomPassword', getRandomPassword_excludeLowercase - Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.

$sel:excludeNumbers:GetRandomPassword', getRandomPassword_excludeNumbers - Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.

$sel:excludePunctuation:GetRandomPassword', getRandomPassword_excludePunctuation - Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. If you don't include this switch, the password can contain punctuation.

$sel:excludeUppercase:GetRandomPassword', getRandomPassword_excludeUppercase - Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.

$sel:includeSpace:GetRandomPassword', getRandomPassword_includeSpace - Specifies whether to include the space character. If you include this switch, the password can contain space characters.

$sel:passwordLength:GetRandomPassword', getRandomPassword_passwordLength - The length of the password. If you don't include this parameter, the default length is 32 characters.

$sel:requireEachIncludedType:GetRandomPassword', getRandomPassword_requireEachIncludedType - Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.

data GetRandomPasswordResponse Source #

See: newGetRandomPasswordResponse smart constructor.

Instances

Instances details
Generic GetRandomPasswordResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

Associated Types

type Rep GetRandomPasswordResponse :: Type -> Type #

Show GetRandomPasswordResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

NFData GetRandomPasswordResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

Eq GetRandomPasswordResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

type Rep GetRandomPasswordResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetRandomPassword

type Rep GetRandomPasswordResponse = D1 ('MetaData "GetRandomPasswordResponse" "Amazonka.SecretsManager.GetRandomPassword" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "GetRandomPasswordResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "randomPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetRandomPasswordResponse Source #

Create a value of GetRandomPasswordResponse 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:randomPassword:GetRandomPasswordResponse', getRandomPasswordResponse_randomPassword - A string with the password.

$sel:httpStatus:GetRandomPasswordResponse', getRandomPasswordResponse_httpStatus - The response's http status code.

GetResourcePolicy

data GetResourcePolicy Source #

See: newGetResourcePolicy smart constructor.

Constructors

GetResourcePolicy' Text 

Instances

Instances details
ToJSON GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

ToHeaders GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

ToPath GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

ToQuery GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

AWSRequest GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Associated Types

type AWSResponse GetResourcePolicy #

Generic GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Associated Types

type Rep GetResourcePolicy :: Type -> Type #

Read GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Show GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

NFData GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Methods

rnf :: GetResourcePolicy -> () #

Eq GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Hashable GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

type AWSResponse GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

type Rep GetResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

type Rep GetResourcePolicy = D1 ('MetaData "GetResourcePolicy" "Amazonka.SecretsManager.GetResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "GetResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetResourcePolicy Source #

Create a value of GetResourcePolicy 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:secretId:GetResourcePolicy', getResourcePolicy_secretId - The ARN or name of the secret to retrieve the attached resource-based policy for.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data GetResourcePolicyResponse Source #

See: newGetResourcePolicyResponse smart constructor.

Instances

Instances details
Generic GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Associated Types

type Rep GetResourcePolicyResponse :: Type -> Type #

Read GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Show GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

NFData GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

Eq GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

type Rep GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetResourcePolicy

type Rep GetResourcePolicyResponse = D1 ('MetaData "GetResourcePolicyResponse" "Amazonka.SecretsManager.GetResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "GetResourcePolicyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourcePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetResourcePolicyResponse Source #

Create a value of GetResourcePolicyResponse 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:

GetResourcePolicyResponse, getResourcePolicyResponse_arn - The ARN of the secret that the resource-based policy was retrieved for.

GetResourcePolicyResponse, getResourcePolicyResponse_name - The name of the secret that the resource-based policy was retrieved for.

$sel:resourcePolicy:GetResourcePolicyResponse', getResourcePolicyResponse_resourcePolicy - A JSON-formatted string that contains the permissions policy attached to the secret. For more information about permissions policies, see Authentication and access control for Secrets Manager.

$sel:httpStatus:GetResourcePolicyResponse', getResourcePolicyResponse_httpStatus - The response's http status code.

GetSecretValue

data GetSecretValue Source #

See: newGetSecretValue smart constructor.

Instances

Instances details
ToJSON GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

ToHeaders GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

ToPath GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

ToQuery GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

AWSRequest GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

Associated Types

type AWSResponse GetSecretValue #

Generic GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

Associated Types

type Rep GetSecretValue :: Type -> Type #

Read GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

Show GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

NFData GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

Methods

rnf :: GetSecretValue -> () #

Eq GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

Hashable GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

type AWSResponse GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

type Rep GetSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

type Rep GetSecretValue = D1 ('MetaData "GetSecretValue" "Amazonka.SecretsManager.GetSecretValue" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "GetSecretValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "versionStage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetSecretValue Source #

Create a value of GetSecretValue 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:

GetSecretValue, getSecretValue_versionId - The unique identifier of the version of the secret to retrieve. If you include both this parameter and VersionStage, the two parameters must refer to the same secret version. If you don't specify either a VersionStage or VersionId, then Secrets Manager returns the AWSCURRENT version.

This value is typically a UUID-type value with 32 hexadecimal digits.

$sel:versionStage:GetSecretValue', getSecretValue_versionStage - The staging label of the version of the secret to retrieve.

Secrets Manager uses staging labels to keep track of different versions during the rotation process. If you include both this parameter and VersionId, the two parameters must refer to the same secret version. If you don't specify either a VersionStage or VersionId, Secrets Manager returns the AWSCURRENT version.

$sel:secretId:GetSecretValue', getSecretValue_secretId - The ARN or name of the secret to retrieve.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data GetSecretValueResponse Source #

See: newGetSecretValueResponse smart constructor.

Instances

Instances details
Generic GetSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

Associated Types

type Rep GetSecretValueResponse :: Type -> Type #

Show GetSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

NFData GetSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

Methods

rnf :: GetSecretValueResponse -> () #

Eq GetSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

type Rep GetSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.GetSecretValue

newGetSecretValueResponse Source #

Create a value of GetSecretValueResponse 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:

GetSecretValueResponse, getSecretValueResponse_arn - The ARN of the secret.

GetSecretValueResponse, getSecretValueResponse_createdDate - The date and time that this version of the secret was created. If you don't specify which version in VersionId or VersionStage, then Secrets Manager uses the AWSCURRENT version.

GetSecretValueResponse, getSecretValueResponse_name - The friendly name of the secret.

$sel:secretBinary:GetSecretValueResponse', getSecretValueResponse_secretBinary - The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The response parameter represents the binary data as a base64-encoded string.

If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString instead.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:secretString:GetSecretValueResponse', getSecretValueResponse_secretString - The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.

If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.

GetSecretValue, getSecretValueResponse_versionId - The unique identifier of this version of the secret.

GetSecretValueResponse, getSecretValueResponse_versionStages - A list of all of the staging labels currently attached to this version of the secret.

$sel:httpStatus:GetSecretValueResponse', getSecretValueResponse_httpStatus - The response's http status code.

ListSecretVersionIds (Paginated)

data ListSecretVersionIds Source #

See: newListSecretVersionIds smart constructor.

Instances

Instances details
ToJSON ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

ToHeaders ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

ToPath ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

ToQuery ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

AWSPager ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

AWSRequest ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Associated Types

type AWSResponse ListSecretVersionIds #

Generic ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Associated Types

type Rep ListSecretVersionIds :: Type -> Type #

Read ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Show ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

NFData ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Methods

rnf :: ListSecretVersionIds -> () #

Eq ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Hashable ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

type AWSResponse ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

type Rep ListSecretVersionIds Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

type Rep ListSecretVersionIds = D1 ('MetaData "ListSecretVersionIds" "Amazonka.SecretsManager.ListSecretVersionIds" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ListSecretVersionIds'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeDeprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListSecretVersionIds Source #

Create a value of ListSecretVersionIds 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:includeDeprecated:ListSecretVersionIds', listSecretVersionIds_includeDeprecated - Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager.

$sel:maxResults:ListSecretVersionIds', listSecretVersionIds_maxResults - The number of results to include in the response.

If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListSecretVersionIds again with the value from NextToken.

ListSecretVersionIds, listSecretVersionIds_nextToken - A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call ListSecretVersionIds again with this value.

$sel:secretId:ListSecretVersionIds', listSecretVersionIds_secretId - The ARN or name of the secret whose versions you want to list.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data ListSecretVersionIdsResponse Source #

See: newListSecretVersionIdsResponse smart constructor.

Instances

Instances details
Generic ListSecretVersionIdsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Associated Types

type Rep ListSecretVersionIdsResponse :: Type -> Type #

Read ListSecretVersionIdsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Show ListSecretVersionIdsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

NFData ListSecretVersionIdsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

Eq ListSecretVersionIdsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

type Rep ListSecretVersionIdsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecretVersionIds

type Rep ListSecretVersionIdsResponse = D1 ('MetaData "ListSecretVersionIdsResponse" "Amazonka.SecretsManager.ListSecretVersionIds" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ListSecretVersionIdsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "versions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecretVersionsListEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListSecretVersionIdsResponse Source #

Create a value of ListSecretVersionIdsResponse 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:

ListSecretVersionIdsResponse, listSecretVersionIdsResponse_arn - The ARN of the secret.

ListSecretVersionIdsResponse, listSecretVersionIdsResponse_name - The name of the secret.

ListSecretVersionIds, listSecretVersionIdsResponse_nextToken - Secrets Manager includes this value if there's more output available than what is included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a long list. To get the next results, call ListSecretVersionIds again with this value.

$sel:versions:ListSecretVersionIdsResponse', listSecretVersionIdsResponse_versions - A list of the versions of the secret.

$sel:httpStatus:ListSecretVersionIdsResponse', listSecretVersionIdsResponse_httpStatus - The response's http status code.

ListSecrets (Paginated)

data ListSecrets Source #

See: newListSecrets smart constructor.

Instances

Instances details
ToJSON ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

ToHeaders ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Methods

toHeaders :: ListSecrets -> [Header] #

ToPath ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

ToQuery ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

AWSPager ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

AWSRequest ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Associated Types

type AWSResponse ListSecrets #

Generic ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Associated Types

type Rep ListSecrets :: Type -> Type #

Read ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Show ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

NFData ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Methods

rnf :: ListSecrets -> () #

Eq ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Hashable ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

type AWSResponse ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

type Rep ListSecrets Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

type Rep ListSecrets = D1 ('MetaData "ListSecrets" "Amazonka.SecretsManager.ListSecrets" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ListSecrets'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "includePlannedDeletion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrderType))))))

newListSecrets :: ListSecrets Source #

Create a value of ListSecrets 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:filters:ListSecrets', listSecrets_filters - The filters to apply to the list of secrets.

$sel:includePlannedDeletion:ListSecrets', listSecrets_includePlannedDeletion - Undocumented member.

$sel:maxResults:ListSecrets', listSecrets_maxResults - The number of results to include in the response.

If there are more results available, in the response, Secrets Manager includes NextToken. To get the next results, call ListSecrets again with the value from NextToken.

ListSecrets, listSecrets_nextToken - A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call ListSecrets again with this value.

$sel:sortOrder:ListSecrets', listSecrets_sortOrder - Secrets are listed by CreatedDate.

data ListSecretsResponse Source #

See: newListSecretsResponse smart constructor.

Instances

Instances details
Generic ListSecretsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Associated Types

type Rep ListSecretsResponse :: Type -> Type #

Read ListSecretsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Show ListSecretsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

NFData ListSecretsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

Methods

rnf :: ListSecretsResponse -> () #

Eq ListSecretsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

type Rep ListSecretsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ListSecrets

type Rep ListSecretsResponse = D1 ('MetaData "ListSecretsResponse" "Amazonka.SecretsManager.ListSecrets" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ListSecretsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "secretList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecretListEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListSecretsResponse Source #

Create a value of ListSecretsResponse 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:

ListSecrets, listSecretsResponse_nextToken - Secrets Manager includes this value if there's more output available than what is included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a long list. To get the next results, call ListSecrets again with this value.

$sel:secretList:ListSecretsResponse', listSecretsResponse_secretList - A list of the secrets in the account.

$sel:httpStatus:ListSecretsResponse', listSecretsResponse_httpStatus - The response's http status code.

PutResourcePolicy

data PutResourcePolicy Source #

See: newPutResourcePolicy smart constructor.

Instances

Instances details
ToJSON PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

ToHeaders PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

ToPath PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

ToQuery PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

AWSRequest PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Associated Types

type AWSResponse PutResourcePolicy #

Generic PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Associated Types

type Rep PutResourcePolicy :: Type -> Type #

Read PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Show PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

NFData PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Methods

rnf :: PutResourcePolicy -> () #

Eq PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Hashable PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

type AWSResponse PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

type Rep PutResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

type Rep PutResourcePolicy = D1 ('MetaData "PutResourcePolicy" "Amazonka.SecretsManager.PutResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "PutResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockPublicPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourcePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPutResourcePolicy Source #

Create a value of PutResourcePolicy 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:blockPublicPolicy:PutResourcePolicy', putResourcePolicy_blockPublicPolicy - Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal.

$sel:secretId:PutResourcePolicy', putResourcePolicy_secretId - The ARN or name of the secret to attach the resource-based policy.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

$sel:resourcePolicy:PutResourcePolicy', putResourcePolicy_resourcePolicy - A JSON-formatted string for an Amazon Web Services resource-based policy. For example policies, see Permissions policy examples.

data PutResourcePolicyResponse Source #

See: newPutResourcePolicyResponse smart constructor.

Instances

Instances details
Generic PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Associated Types

type Rep PutResourcePolicyResponse :: Type -> Type #

Read PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Show PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

NFData PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

Eq PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

type Rep PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutResourcePolicy

type Rep PutResourcePolicyResponse = D1 ('MetaData "PutResourcePolicyResponse" "Amazonka.SecretsManager.PutResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "PutResourcePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutResourcePolicyResponse Source #

Create a value of PutResourcePolicyResponse 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:

PutResourcePolicyResponse, putResourcePolicyResponse_arn - The ARN of the secret.

PutResourcePolicyResponse, putResourcePolicyResponse_name - The name of the secret.

$sel:httpStatus:PutResourcePolicyResponse', putResourcePolicyResponse_httpStatus - The response's http status code.

PutSecretValue

data PutSecretValue Source #

See: newPutSecretValue smart constructor.

Instances

Instances details
ToJSON PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

ToHeaders PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

ToPath PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

ToQuery PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

AWSRequest PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

Associated Types

type AWSResponse PutSecretValue #

Generic PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

Associated Types

type Rep PutSecretValue :: Type -> Type #

Show PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

NFData PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

Methods

rnf :: PutSecretValue -> () #

Eq PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

Hashable PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

type AWSResponse PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

type Rep PutSecretValue Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

type Rep PutSecretValue = D1 ('MetaData "PutSecretValue" "Amazonka.SecretsManager.PutSecretValue" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "PutSecretValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64)))) :*: (S1 ('MetaSel ('Just "secretString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "versionStages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newPutSecretValue Source #

Create a value of PutSecretValue 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:clientRequestToken:PutSecretValue', putSecretValue_clientRequestToken - A unique identifier for the new version of the secret.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty because they generate a random UUID for you. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for new versions and include that value in the request.

This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during the Lambda rotation function processing. We recommend that you generate a UUID-type value to ensure uniqueness within the specified secret.

  • If the ClientRequestToken value isn't already associated with a version of the secret then a new version of the secret is created.
  • If a version with this value already exists and that version's SecretString or SecretBinary values are the same as those in the request then the request is ignored. The operation is idempotent.
  • If a version with this value already exists and the version of the SecretString and SecretBinary values are different from those in the request, then the request fails because you can't modify a secret version. You can only create new versions to store new secret values.

This value becomes the VersionId of the new version.

$sel:secretBinary:PutSecretValue', putSecretValue_secretBinary - The binary data to encrypt and store in the new version of the secret. To use this parameter in the command-line tools, we recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

You must include SecretBinary or SecretString, but not both.

You can't access this value from the Secrets Manager console.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:secretString:PutSecretValue', putSecretValue_secretString - The text to encrypt and store in the new version of the secret.

You must include SecretBinary or SecretString, but not both.

We recommend you create the secret string as JSON key/value pairs, as shown in the example.

PutSecretValue, putSecretValue_versionStages - A list of staging labels to attach to this version of the secret. Secrets Manager uses staging labels to track versions of a secret through the rotation process.

If you specify a staging label that's already associated with a different version of the same secret, then Secrets Manager removes the label from the other version and attaches it to this version. If you specify AWSCURRENT, and it is already attached to another version, then Secrets Manager also moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from.

If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version.

$sel:secretId:PutSecretValue', putSecretValue_secretId - The ARN or name of the secret to add a new version to.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

If the secret doesn't already exist, use CreateSecret instead.

data PutSecretValueResponse Source #

See: newPutSecretValueResponse smart constructor.

Instances

Instances details
Generic PutSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

Associated Types

type Rep PutSecretValueResponse :: Type -> Type #

Read PutSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

Show PutSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

NFData PutSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

Methods

rnf :: PutSecretValueResponse -> () #

Eq PutSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

type Rep PutSecretValueResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.PutSecretValue

type Rep PutSecretValueResponse = D1 ('MetaData "PutSecretValueResponse" "Amazonka.SecretsManager.PutSecretValue" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "PutSecretValueResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "versionStages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newPutSecretValueResponse Source #

Create a value of PutSecretValueResponse 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:

PutSecretValueResponse, putSecretValueResponse_arn - The ARN of the secret.

PutSecretValueResponse, putSecretValueResponse_name - The name of the secret.

PutSecretValueResponse, putSecretValueResponse_versionId - The unique identifier of the version of the secret.

PutSecretValue, putSecretValueResponse_versionStages - The list of staging labels that are currently attached to this version of the secret. Secrets Manager uses staging labels to track a version as it progresses through the secret rotation process.

$sel:httpStatus:PutSecretValueResponse', putSecretValueResponse_httpStatus - The response's http status code.

RemoveRegionsFromReplication

data RemoveRegionsFromReplication Source #

See: newRemoveRegionsFromReplication smart constructor.

Instances

Instances details
ToJSON RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

ToHeaders RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

ToPath RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

ToQuery RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

AWSRequest RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Generic RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Associated Types

type Rep RemoveRegionsFromReplication :: Type -> Type #

Read RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Show RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

NFData RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Eq RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Hashable RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type AWSResponse RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplication Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplication = D1 ('MetaData "RemoveRegionsFromReplication" "Amazonka.SecretsManager.RemoveRegionsFromReplication" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RemoveRegionsFromReplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "removeReplicaRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newRemoveRegionsFromReplication Source #

Create a value of RemoveRegionsFromReplication 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:secretId:RemoveRegionsFromReplication', removeRegionsFromReplication_secretId - The ARN or name of the secret.

$sel:removeReplicaRegions:RemoveRegionsFromReplication', removeRegionsFromReplication_removeReplicaRegions - The Regions of the replicas to remove.

data RemoveRegionsFromReplicationResponse Source #

Instances

Instances details
Generic RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Read RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Show RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

NFData RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

Eq RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplicationResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RemoveRegionsFromReplication

type Rep RemoveRegionsFromReplicationResponse = D1 ('MetaData "RemoveRegionsFromReplicationResponse" "Amazonka.SecretsManager.RemoveRegionsFromReplication" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RemoveRegionsFromReplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationStatusType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRemoveRegionsFromReplicationResponse Source #

Create a value of RemoveRegionsFromReplicationResponse 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:

RemoveRegionsFromReplicationResponse, removeRegionsFromReplicationResponse_arn - The ARN of the primary secret.

$sel:replicationStatus:RemoveRegionsFromReplicationResponse', removeRegionsFromReplicationResponse_replicationStatus - The status of replicas for this secret after you remove Regions.

$sel:httpStatus:RemoveRegionsFromReplicationResponse', removeRegionsFromReplicationResponse_httpStatus - The response's http status code.

ReplicateSecretToRegions

data ReplicateSecretToRegions Source #

See: newReplicateSecretToRegions smart constructor.

Instances

Instances details
ToJSON ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

ToHeaders ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

ToPath ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

ToQuery ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

AWSRequest ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Generic ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Associated Types

type Rep ReplicateSecretToRegions :: Type -> Type #

Read ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Show ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

NFData ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Eq ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Hashable ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

type AWSResponse ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

type Rep ReplicateSecretToRegions Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

type Rep ReplicateSecretToRegions = D1 ('MetaData "ReplicateSecretToRegions" "Amazonka.SecretsManager.ReplicateSecretToRegions" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ReplicateSecretToRegions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceOverwriteReplicaSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "addReplicaRegions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty ReplicaRegionType)))))

newReplicateSecretToRegions Source #

Create a value of ReplicateSecretToRegions 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:forceOverwriteReplicaSecret:ReplicateSecretToRegions', replicateSecretToRegions_forceOverwriteReplicaSecret - Specifies whether to overwrite a secret with the same name in the destination Region.

$sel:secretId:ReplicateSecretToRegions', replicateSecretToRegions_secretId - The ARN or name of the secret to replicate.

$sel:addReplicaRegions:ReplicateSecretToRegions', replicateSecretToRegions_addReplicaRegions - A list of Regions in which to replicate the secret.

data ReplicateSecretToRegionsResponse Source #

See: newReplicateSecretToRegionsResponse smart constructor.

Instances

Instances details
Generic ReplicateSecretToRegionsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Associated Types

type Rep ReplicateSecretToRegionsResponse :: Type -> Type #

Read ReplicateSecretToRegionsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Show ReplicateSecretToRegionsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

NFData ReplicateSecretToRegionsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

Eq ReplicateSecretToRegionsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

type Rep ReplicateSecretToRegionsResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ReplicateSecretToRegions

type Rep ReplicateSecretToRegionsResponse = D1 ('MetaData "ReplicateSecretToRegionsResponse" "Amazonka.SecretsManager.ReplicateSecretToRegions" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ReplicateSecretToRegionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "replicationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationStatusType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newReplicateSecretToRegionsResponse Source #

Create a value of ReplicateSecretToRegionsResponse 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:

ReplicateSecretToRegionsResponse, replicateSecretToRegionsResponse_arn - The ARN of the primary secret.

$sel:replicationStatus:ReplicateSecretToRegionsResponse', replicateSecretToRegionsResponse_replicationStatus - The status of replication.

$sel:httpStatus:ReplicateSecretToRegionsResponse', replicateSecretToRegionsResponse_httpStatus - The response's http status code.

RestoreSecret

data RestoreSecret Source #

See: newRestoreSecret smart constructor.

Constructors

RestoreSecret' Text 

Instances

Instances details
ToJSON RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

ToHeaders RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

ToPath RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

ToQuery RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

AWSRequest RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Associated Types

type AWSResponse RestoreSecret #

Generic RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Associated Types

type Rep RestoreSecret :: Type -> Type #

Read RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Show RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

NFData RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Methods

rnf :: RestoreSecret -> () #

Eq RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Hashable RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

type AWSResponse RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

type Rep RestoreSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

type Rep RestoreSecret = D1 ('MetaData "RestoreSecret" "Amazonka.SecretsManager.RestoreSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RestoreSecret'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRestoreSecret Source #

Create a value of RestoreSecret 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:secretId:RestoreSecret', restoreSecret_secretId - The ARN or name of the secret to restore.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data RestoreSecretResponse Source #

See: newRestoreSecretResponse smart constructor.

Instances

Instances details
Generic RestoreSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Associated Types

type Rep RestoreSecretResponse :: Type -> Type #

Read RestoreSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Show RestoreSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

NFData RestoreSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

Methods

rnf :: RestoreSecretResponse -> () #

Eq RestoreSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

type Rep RestoreSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RestoreSecret

type Rep RestoreSecretResponse = D1 ('MetaData "RestoreSecretResponse" "Amazonka.SecretsManager.RestoreSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RestoreSecretResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRestoreSecretResponse Source #

Create a value of RestoreSecretResponse 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:

RestoreSecretResponse, restoreSecretResponse_arn - The ARN of the secret that was restored.

RestoreSecretResponse, restoreSecretResponse_name - The name of the secret that was restored.

$sel:httpStatus:RestoreSecretResponse', restoreSecretResponse_httpStatus - The response's http status code.

RotateSecret

data RotateSecret Source #

See: newRotateSecret smart constructor.

Instances

Instances details
ToJSON RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

ToHeaders RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

ToPath RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

ToQuery RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

AWSRequest RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Associated Types

type AWSResponse RotateSecret #

Generic RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Associated Types

type Rep RotateSecret :: Type -> Type #

Read RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Show RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

NFData RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Methods

rnf :: RotateSecret -> () #

Eq RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Hashable RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

type AWSResponse RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

type Rep RotateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

type Rep RotateSecret = D1 ('MetaData "RotateSecret" "Amazonka.SecretsManager.RotateSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RotateSecret'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "rotateImmediately") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "rotationLambdaARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "rotationRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RotationRulesType)) :*: S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newRotateSecret Source #

Create a value of RotateSecret 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:clientRequestToken:RotateSecret', rotateSecret_clientRequestToken - A unique identifier for the new version of the secret that helps ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if there are failures and retries during rotation. This value becomes the VersionId of the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDK to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes that in the request for this parameter. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for new versions and include that value in the request.

You only need to specify this value if you implement your own retry logic and you want to ensure that Secrets Manager doesn't attempt to create a secret version twice. We recommend that you generate a UUID-type value to ensure uniqueness within the specified secret.

$sel:rotateImmediately:RotateSecret', rotateSecret_rotateImmediately - Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. The rotation schedule is defined in RotateSecretRequest$RotationRules.

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.

If you don't specify this value, then by default, Secrets Manager rotates the secret immediately.

RotateSecret, rotateSecret_rotationLambdaARN - The ARN of the Lambda rotation function that can rotate the secret.

RotateSecret, rotateSecret_rotationRules - A structure that defines the rotation configuration for this secret.

$sel:secretId:RotateSecret', rotateSecret_secretId - The ARN or name of the secret to rotate.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data RotateSecretResponse Source #

See: newRotateSecretResponse smart constructor.

Instances

Instances details
Generic RotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Associated Types

type Rep RotateSecretResponse :: Type -> Type #

Read RotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Show RotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

NFData RotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

Methods

rnf :: RotateSecretResponse -> () #

Eq RotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

type Rep RotateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.RotateSecret

type Rep RotateSecretResponse = D1 ('MetaData "RotateSecretResponse" "Amazonka.SecretsManager.RotateSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RotateSecretResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRotateSecretResponse Source #

Create a value of RotateSecretResponse 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:

RotateSecretResponse, rotateSecretResponse_arn - The ARN of the secret.

RotateSecretResponse, rotateSecretResponse_name - The name of the secret.

RotateSecretResponse, rotateSecretResponse_versionId - The ID of the new version of the secret.

$sel:httpStatus:RotateSecretResponse', rotateSecretResponse_httpStatus - The response's http status code.

StopReplicationToReplica

data StopReplicationToReplica Source #

See: newStopReplicationToReplica smart constructor.

Instances

Instances details
ToJSON StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

ToHeaders StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

ToPath StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

ToQuery StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

AWSRequest StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Generic StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Associated Types

type Rep StopReplicationToReplica :: Type -> Type #

Read StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Show StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

NFData StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Eq StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Hashable StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

type AWSResponse StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

type Rep StopReplicationToReplica Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

type Rep StopReplicationToReplica = D1 ('MetaData "StopReplicationToReplica" "Amazonka.SecretsManager.StopReplicationToReplica" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "StopReplicationToReplica'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopReplicationToReplica Source #

Create a value of StopReplicationToReplica 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:secretId:StopReplicationToReplica', stopReplicationToReplica_secretId - The ARN of the primary secret.

data StopReplicationToReplicaResponse Source #

See: newStopReplicationToReplicaResponse smart constructor.

Instances

Instances details
Generic StopReplicationToReplicaResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Associated Types

type Rep StopReplicationToReplicaResponse :: Type -> Type #

Read StopReplicationToReplicaResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Show StopReplicationToReplicaResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

NFData StopReplicationToReplicaResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

Eq StopReplicationToReplicaResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

type Rep StopReplicationToReplicaResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.StopReplicationToReplica

type Rep StopReplicationToReplicaResponse = D1 ('MetaData "StopReplicationToReplicaResponse" "Amazonka.SecretsManager.StopReplicationToReplica" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "StopReplicationToReplicaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopReplicationToReplicaResponse Source #

Create a value of StopReplicationToReplicaResponse 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:

StopReplicationToReplicaResponse, stopReplicationToReplicaResponse_arn - The ARN of the promoted secret. The ARN is the same as the original primary secret except the Region is changed.

$sel:httpStatus:StopReplicationToReplicaResponse', stopReplicationToReplicaResponse_httpStatus - The response's http status code.

TagResource

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' Text [Tag] 

Instances

Instances details
ToJSON TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Associated Types

type AWSResponse TagResource #

Generic TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

Read TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

NFData TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Methods

rnf :: TagResource -> () #

Eq TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Hashable TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.SecretsManager.TagResource" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))

newTagResource Source #

Create a value of TagResource 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:secretId:TagResource', tagResource_secretId - The identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

TagResource, tagResource_tags - The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a Key and a Value.

For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Constructors

TagResourceResponse' 

Instances

Instances details
Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

Methods

rnf :: TagResourceResponse -> () #

Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.SecretsManager.TagResource" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTagResourceResponse :: TagResourceResponse Source #

Create a value of TagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UntagResource

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' Text [Text] 

Instances

Instances details
ToJSON UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.SecretsManager.UntagResource" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newUntagResource Source #

Create a value of UntagResource 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:secretId:UntagResource', untagResource_secretId - The ARN or name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

$sel:tagKeys:UntagResource', untagResource_tagKeys - A list of tag key names to remove from the secret. You don't specify the value. Both the key and its associated value are removed.

This parameter requires a JSON text string argument.

For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.SecretsManager.UntagResource" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUntagResourceResponse :: UntagResourceResponse Source #

Create a value of UntagResourceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

UpdateSecret

data UpdateSecret Source #

See: newUpdateSecret smart constructor.

Instances

Instances details
ToJSON UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

ToHeaders UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

ToPath UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

ToQuery UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

AWSRequest UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

Associated Types

type AWSResponse UpdateSecret #

Generic UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

Associated Types

type Rep UpdateSecret :: Type -> Type #

Show UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

NFData UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

Methods

rnf :: UpdateSecret -> () #

Eq UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

Hashable UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

type AWSResponse UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

type Rep UpdateSecret Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

type Rep UpdateSecret = D1 ('MetaData "UpdateSecret" "Amazonka.SecretsManager.UpdateSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "UpdateSecret'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "secretBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Base64))) :*: (S1 ('MetaSel ('Just "secretString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateSecret Source #

Create a value of UpdateSecret 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:clientRequestToken:UpdateSecret', updateSecret_clientRequestToken - If you include SecretString or SecretBinary, then Secrets Manager creates a new version for the secret, and this parameter specifies the unique identifier for the new version.

If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it as the value for this parameter in the request. If you don't use the SDK and instead generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a ClientRequestToken yourself for the new version and include the value in the request.

This value becomes the VersionId of the new version.

UpdateSecret, updateSecret_description - The description of the secret.

UpdateSecret, updateSecret_kmsKeyId - The ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt new secret versions as well as any existing versions with the staging labels AWSCURRENT, AWSPENDING, or AWSPREVIOUS. For more information about versions and staging labels, see Concepts: Version.

A key alias is always prefixed by alias/, for example alias/aws/secretsmanager. For more information, see About aliases.

If you set this to an empty string, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

You can only use the Amazon Web Services managed key aws/secretsmanager if you call this operation using credentials from the same Amazon Web Services account that owns the secret. If the secret is in a different account, then you must use a customer managed key and provide the ARN of that KMS key in this field. The user making the call must have permissions to both the secret and the KMS key in their respective accounts.

$sel:secretBinary:UpdateSecret', updateSecret_secretBinary - The binary data to encrypt and store in the new version of the secret. We recommend that you store your binary data in a file and then pass the contents of the file as a parameter.

Either SecretBinary or SecretString must have a value, but not both.

You can't access this parameter in the Secrets Manager console.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:secretString:UpdateSecret', updateSecret_secretString - The text data to encrypt and store in the new version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value.

Either SecretBinary or SecretString must have a value, but not both.

$sel:secretId:UpdateSecret', updateSecret_secretId - The ARN or name of the secret.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

data UpdateSecretResponse Source #

See: newUpdateSecretResponse smart constructor.

Instances

Instances details
Generic UpdateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

Associated Types

type Rep UpdateSecretResponse :: Type -> Type #

Read UpdateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

Show UpdateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

NFData UpdateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

Methods

rnf :: UpdateSecretResponse -> () #

Eq UpdateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

type Rep UpdateSecretResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecret

type Rep UpdateSecretResponse = D1 ('MetaData "UpdateSecretResponse" "Amazonka.SecretsManager.UpdateSecret" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "UpdateSecretResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateSecretResponse Source #

Create a value of UpdateSecretResponse 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:

UpdateSecretResponse, updateSecretResponse_arn - The ARN of the secret that was updated.

UpdateSecretResponse, updateSecretResponse_name - The name of the secret that was updated.

UpdateSecretResponse, updateSecretResponse_versionId - If Secrets Manager created a new version of the secret during this operation, then VersionId contains the unique identifier of the new version.

$sel:httpStatus:UpdateSecretResponse', updateSecretResponse_httpStatus - The response's http status code.

UpdateSecretVersionStage

data UpdateSecretVersionStage Source #

See: newUpdateSecretVersionStage smart constructor.

Instances

Instances details
ToJSON UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

ToHeaders UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

ToPath UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

ToQuery UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

AWSRequest UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Generic UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Associated Types

type Rep UpdateSecretVersionStage :: Type -> Type #

Read UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Show UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

NFData UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Eq UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Hashable UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

type AWSResponse UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

type Rep UpdateSecretVersionStage Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

type Rep UpdateSecretVersionStage = D1 ('MetaData "UpdateSecretVersionStage" "Amazonka.SecretsManager.UpdateSecretVersionStage" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "UpdateSecretVersionStage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "moveToVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "removeFromVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "versionStage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateSecretVersionStage Source #

Create a value of UpdateSecretVersionStage 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:moveToVersionId:UpdateSecretVersionStage', updateSecretVersionStage_moveToVersionId - The ID of the version to add the staging label to. To remove a label from a version, then do not specify this parameter.

If the staging label is already attached to a different version of the secret, then you must also specify the RemoveFromVersionId parameter.

$sel:removeFromVersionId:UpdateSecretVersionStage', updateSecretVersionStage_removeFromVersionId - The ID of the version that the staging label is to be removed from. If the staging label you are trying to attach to one version is already attached to a different version, then you must include this parameter and specify the version that the label is to be removed from. If the label is attached and you either do not specify this parameter, or the version ID does not match, then the operation fails.

$sel:secretId:UpdateSecretVersionStage', updateSecretVersionStage_secretId - The ARN or the name of the secret with the version and staging labelsto modify.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.

$sel:versionStage:UpdateSecretVersionStage', updateSecretVersionStage_versionStage - The staging label to add to this version.

data UpdateSecretVersionStageResponse Source #

See: newUpdateSecretVersionStageResponse smart constructor.

Instances

Instances details
Generic UpdateSecretVersionStageResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Associated Types

type Rep UpdateSecretVersionStageResponse :: Type -> Type #

Read UpdateSecretVersionStageResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Show UpdateSecretVersionStageResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

NFData UpdateSecretVersionStageResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

Eq UpdateSecretVersionStageResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

type Rep UpdateSecretVersionStageResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.UpdateSecretVersionStage

type Rep UpdateSecretVersionStageResponse = D1 ('MetaData "UpdateSecretVersionStageResponse" "Amazonka.SecretsManager.UpdateSecretVersionStage" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "UpdateSecretVersionStageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateSecretVersionStageResponse Source #

Create a value of UpdateSecretVersionStageResponse 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:

UpdateSecretVersionStageResponse, updateSecretVersionStageResponse_arn - The ARN of the secret that was updated.

UpdateSecretVersionStageResponse, updateSecretVersionStageResponse_name - The name of the secret that was updated.

$sel:httpStatus:UpdateSecretVersionStageResponse', updateSecretVersionStageResponse_httpStatus - The response's http status code.

ValidateResourcePolicy

data ValidateResourcePolicy Source #

See: newValidateResourcePolicy smart constructor.

Instances

Instances details
ToJSON ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

ToHeaders ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

ToPath ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

ToQuery ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

AWSRequest ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Associated Types

type AWSResponse ValidateResourcePolicy #

Generic ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Associated Types

type Rep ValidateResourcePolicy :: Type -> Type #

Read ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Show ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

NFData ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Methods

rnf :: ValidateResourcePolicy -> () #

Eq ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Hashable ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

type AWSResponse ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

type Rep ValidateResourcePolicy Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

type Rep ValidateResourcePolicy = D1 ('MetaData "ValidateResourcePolicy" "Amazonka.SecretsManager.ValidateResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ValidateResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourcePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newValidateResourcePolicy Source #

Create a value of ValidateResourcePolicy 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:secretId:ValidateResourcePolicy', validateResourcePolicy_secretId - This field is reserved for internal use.

$sel:resourcePolicy:ValidateResourcePolicy', validateResourcePolicy_resourcePolicy - A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples.

data ValidateResourcePolicyResponse Source #

See: newValidateResourcePolicyResponse smart constructor.

Instances

Instances details
Generic ValidateResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Associated Types

type Rep ValidateResourcePolicyResponse :: Type -> Type #

Read ValidateResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Show ValidateResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

NFData ValidateResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

Eq ValidateResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

type Rep ValidateResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SecretsManager.ValidateResourcePolicy

type Rep ValidateResourcePolicyResponse = D1 ('MetaData "ValidateResourcePolicyResponse" "Amazonka.SecretsManager.ValidateResourcePolicy" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ValidateResourcePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyValidationPassed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "validationErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ValidationErrorsEntry])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newValidateResourcePolicyResponse Source #

Create a value of ValidateResourcePolicyResponse 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:policyValidationPassed:ValidateResourcePolicyResponse', validateResourcePolicyResponse_policyValidationPassed - True if your policy passes validation, otherwise false.

$sel:validationErrors:ValidateResourcePolicyResponse', validateResourcePolicyResponse_validationErrors - Validation errors if your policy didn't pass validation.

$sel:httpStatus:ValidateResourcePolicyResponse', validateResourcePolicyResponse_httpStatus - The response's http status code.

Types

FilterNameStringType

newtype FilterNameStringType Source #

Instances

Instances details
FromJSON FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

FromJSONKey FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToJSON FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToJSONKey FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToByteString FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToHeader FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToLog FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToQuery FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

FromText FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToText FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

FromXML FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

ToXML FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

Generic FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

Associated Types

type Rep FilterNameStringType :: Type -> Type #

Read FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

Show FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

NFData FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

Methods

rnf :: FilterNameStringType -> () #

Eq FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

Ord FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

Hashable FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

type Rep FilterNameStringType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.FilterNameStringType

type Rep FilterNameStringType = D1 ('MetaData "FilterNameStringType" "Amazonka.SecretsManager.Types.FilterNameStringType" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'True) (C1 ('MetaCons "FilterNameStringType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFilterNameStringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SortOrderType

newtype SortOrderType Source #

Constructors

SortOrderType' 

Bundled Patterns

pattern SortOrderType_Asc :: SortOrderType 
pattern SortOrderType_Desc :: SortOrderType 

Instances

Instances details
FromJSON SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

FromJSONKey SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToJSON SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToJSONKey SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToByteString SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToHeader SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToLog SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToQuery SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

FromText SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToText SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

Methods

toText :: SortOrderType -> Text #

FromXML SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

ToXML SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

Methods

toXML :: SortOrderType -> XML #

Generic SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

Associated Types

type Rep SortOrderType :: Type -> Type #

Read SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

Show SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

NFData SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

Methods

rnf :: SortOrderType -> () #

Eq SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

Ord SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

Hashable SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

type Rep SortOrderType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SortOrderType

type Rep SortOrderType = D1 ('MetaData "SortOrderType" "Amazonka.SecretsManager.Types.SortOrderType" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'True) (C1 ('MetaCons "SortOrderType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSortOrderType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StatusType

newtype StatusType Source #

Constructors

StatusType' 

Fields

Bundled Patterns

pattern StatusType_Failed :: StatusType 
pattern StatusType_InProgress :: StatusType 
pattern StatusType_InSync :: StatusType 

Instances

Instances details
FromJSON StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

FromJSONKey StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToJSON StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToJSONKey StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToByteString StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToHeader StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToLog StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToQuery StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

FromText StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToText StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

Methods

toText :: StatusType -> Text #

FromXML StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

ToXML StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

Methods

toXML :: StatusType -> XML #

Generic StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

Associated Types

type Rep StatusType :: Type -> Type #

Read StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

Show StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

NFData StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

Methods

rnf :: StatusType -> () #

Eq StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

Ord StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

Hashable StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

type Rep StatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.StatusType

type Rep StatusType = D1 ('MetaData "StatusType" "Amazonka.SecretsManager.Types.StatusType" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'True) (C1 ('MetaCons "StatusType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatusType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Filter

data Filter Source #

Allows you to add filters when you use the search function in Secrets Manager. For more information, see Find secrets in Secrets Manager.

See: newFilter smart constructor.

Instances

Instances details
ToJSON Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

Generic Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

Read Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

Show Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

NFData Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

Methods

rnf :: Filter -> () #

Eq Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

Methods

(==) :: Filter -> Filter -> Bool #

(/=) :: Filter -> Filter -> Bool #

Hashable Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

type Rep Filter Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Filter

type Rep Filter = D1 ('MetaData "Filter" "Amazonka.SecretsManager.Types.Filter" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilterNameStringType)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))

newFilter :: Filter Source #

Create a value of Filter 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:key:Filter', filter_key - The following are keys you can use:

  • description: Prefix match, not case-sensitive.
  • name: Prefix match, case-sensitive.
  • tag-key: Prefix match, case-sensitive.
  • tag-value: Prefix match, case-sensitive.
  • primary-region: Prefix match, case-sensitive.
  • all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.

$sel:values:Filter', filter_values - The keyword to filter for.

You can prefix your search value with an exclamation mark (!) in order to perform negation filters.

ReplicaRegionType

data ReplicaRegionType Source #

A custom type that specifies a Region and the KmsKeyId for a replica secret.

See: newReplicaRegionType smart constructor.

Instances

Instances details
ToJSON ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Generic ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Associated Types

type Rep ReplicaRegionType :: Type -> Type #

Read ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Show ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

NFData ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Methods

rnf :: ReplicaRegionType -> () #

Eq ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

Hashable ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

type Rep ReplicaRegionType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicaRegionType

type Rep ReplicaRegionType = D1 ('MetaData "ReplicaRegionType" "Amazonka.SecretsManager.Types.ReplicaRegionType" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ReplicaRegionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newReplicaRegionType :: ReplicaRegionType Source #

Create a value of ReplicaRegionType 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:kmsKeyId:ReplicaRegionType', replicaRegionType_kmsKeyId - The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager.

$sel:region:ReplicaRegionType', replicaRegionType_region - A Region code. For a list of Region codes, see Name and code of Regions.

ReplicationStatusType

data ReplicationStatusType Source #

A replication object consisting of a RegionReplicationStatus object and includes a Region, KMSKeyId, status, and status message.

See: newReplicationStatusType smart constructor.

Instances

Instances details
FromJSON ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Generic ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Associated Types

type Rep ReplicationStatusType :: Type -> Type #

Read ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Show ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

NFData ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Methods

rnf :: ReplicationStatusType -> () #

Eq ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

Hashable ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

type Rep ReplicationStatusType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ReplicationStatusType

type Rep ReplicationStatusType = D1 ('MetaData "ReplicationStatusType" "Amazonka.SecretsManager.Types.ReplicationStatusType" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ReplicationStatusType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastAccessedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StatusType)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newReplicationStatusType :: ReplicationStatusType Source #

Create a value of ReplicationStatusType 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:kmsKeyId:ReplicationStatusType', replicationStatusType_kmsKeyId - Can be an ARN, Key ID, or Alias.

$sel:lastAccessedDate:ReplicationStatusType', replicationStatusType_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:region:ReplicationStatusType', replicationStatusType_region - The Region where replication occurs.

$sel:status:ReplicationStatusType', replicationStatusType_status - The status can be InProgress, Failed, or InSync.

$sel:statusMessage:ReplicationStatusType', replicationStatusType_statusMessage - Status message such as "/Secret with this name already exists in this region/".

RotationRulesType

data RotationRulesType Source #

A structure that defines the rotation configuration for the secret.

See: newRotationRulesType smart constructor.

Instances

Instances details
FromJSON RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

ToJSON RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Generic RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Associated Types

type Rep RotationRulesType :: Type -> Type #

Read RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Show RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

NFData RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Methods

rnf :: RotationRulesType -> () #

Eq RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

Hashable RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

type Rep RotationRulesType Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.RotationRulesType

type Rep RotationRulesType = D1 ('MetaData "RotationRulesType" "Amazonka.SecretsManager.Types.RotationRulesType" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "RotationRulesType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "automaticallyAfterDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scheduleExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRotationRulesType :: RotationRulesType Source #

Create a value of RotationRulesType 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:automaticallyAfterDays:RotationRulesType', rotationRulesType_automaticallyAfterDays - The number of days between automatic scheduled rotations of the secret. You can use this value to check that your secret meets your compliance guidelines for how often secrets must be rotated.

In DescribeSecret and ListSecrets, this value is calculated from the rotation schedule after every successful rotation. In RotateSecret, you can set the rotation schedule in RotationRules with AutomaticallyAfterDays or ScheduleExpression, but not both. To set a rotation schedule in hours, use ScheduleExpression.

$sel:duration:RotationRulesType', rotationRulesType_duration - The length of the rotation window in hours, for example 3h for a three hour window. Secrets Manager rotates your secret at any time during this window. The window must not extend into the next rotation window or the next UTC day. The window starts according to the ScheduleExpression. If you don't specify a Duration, for a ScheduleExpression in hours, the window automatically closes after one hour. For a ScheduleExpression in days, the window automatically closes at the end of the UTC day. For more information, including examples, see Schedule expressions in Secrets Manager rotation in the Secrets Manager Users Guide.

$sel:scheduleExpression:RotationRulesType', rotationRulesType_scheduleExpression - A cron() or rate() expression that defines the schedule for rotating your secret. Secrets Manager rotation schedules use UTC time zone. Secrets Manager rotates your secret any time during a rotation window.

Secrets Manager rate() expressions represent the interval in hours or days that you want to rotate your secret, for example rate(12 hours) or rate(10 days). You can rotate a secret as often as every four hours. If you use a rate() expression, the rotation window starts at midnight. For a rate in hours, the default rotation window closes after one hour. For a rate in days, the default rotation window closes at the end of the day. You can set the Duration to change the rotation window. The rotation window must not extend into the next UTC day or into the next rotation window.

You can use a cron() expression to create a rotation schedule that is more detailed than a rotation interval. For more information, including examples, see Schedule expressions in Secrets Manager rotation in the Secrets Manager Users Guide. For a cron expression that represents a schedule in hours, the default rotation window closes after one hour. For a cron expression that represents a schedule in days, the default rotation window closes at the end of the day. You can set the Duration to change the rotation window. The rotation window must not extend into the next UTC day or into the next rotation window.

SecretListEntry

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.

Instances

Instances details
FromJSON SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

Generic SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

Associated Types

type Rep SecretListEntry :: Type -> Type #

Read SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

Show SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

NFData SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

Methods

rnf :: SecretListEntry -> () #

Eq SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

Hashable SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

type Rep SecretListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretListEntry

type Rep SecretListEntry = D1 ('MetaData "SecretListEntry" "Amazonka.SecretsManager.Types.SecretListEntry" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "SecretListEntry'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "deletedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastAccessedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "lastChangedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastRotatedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: (((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextRotationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "owningService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "primaryRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "rotationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "rotationLambdaARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "rotationRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RotationRulesType)) :*: (S1 ('MetaSel ('Just "secretVersionsToStages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (NonEmpty Text)))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))))))

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 .

SecretVersionsListEntry

data SecretVersionsListEntry Source #

A structure that contains information about one version of a secret.

See: newSecretVersionsListEntry smart constructor.

Instances

Instances details
FromJSON SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

Generic SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

Associated Types

type Rep SecretVersionsListEntry :: Type -> Type #

Read SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

Show SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

NFData SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

Methods

rnf :: SecretVersionsListEntry -> () #

Eq SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

Hashable SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

type Rep SecretVersionsListEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.SecretVersionsListEntry

type Rep SecretVersionsListEntry = D1 ('MetaData "SecretVersionsListEntry" "Amazonka.SecretsManager.Types.SecretVersionsListEntry" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "SecretVersionsListEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "kmsKeyIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "lastAccessedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionStages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))))

newSecretVersionsListEntry :: SecretVersionsListEntry Source #

Create a value of SecretVersionsListEntry 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:createdDate:SecretVersionsListEntry', secretVersionsListEntry_createdDate - The date and time this version of the secret was created.

$sel:kmsKeyIds:SecretVersionsListEntry', secretVersionsListEntry_kmsKeyIds - The KMS keys used to encrypt the secret version.

$sel:lastAccessedDate:SecretVersionsListEntry', secretVersionsListEntry_lastAccessedDate - The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.

$sel:versionId:SecretVersionsListEntry', secretVersionsListEntry_versionId - The unique version identifier of this version of the secret.

$sel:versionStages:SecretVersionsListEntry', secretVersionsListEntry_versionStages - An array of staging labels that are currently associated with this version of the secret.

Tag

data Tag Source #

A structure that contains information about a tag.

See: newTag smart constructor.

Constructors

Tag' (Maybe Text) (Maybe Text) 

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.SecretsManager.Types.Tag" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTag :: Tag Source #

Create a value of Tag 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:key:Tag', tag_key - The key identifier, or name, of the tag.

$sel:value:Tag', tag_value - The string value associated with the key of the tag.

ValidationErrorsEntry

data ValidationErrorsEntry Source #

Displays errors that occurred during validation of the resource policy.

See: newValidationErrorsEntry smart constructor.

Instances

Instances details
FromJSON ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

Generic ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

Associated Types

type Rep ValidationErrorsEntry :: Type -> Type #

Read ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

Show ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

NFData ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

Methods

rnf :: ValidationErrorsEntry -> () #

Eq ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

Hashable ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

type Rep ValidationErrorsEntry Source # 
Instance details

Defined in Amazonka.SecretsManager.Types.ValidationErrorsEntry

type Rep ValidationErrorsEntry = D1 ('MetaData "ValidationErrorsEntry" "Amazonka.SecretsManager.Types.ValidationErrorsEntry" "amazonka-secretsmanager-2.0-8tljeZ4CwL92E7JavkDb0o" 'False) (C1 ('MetaCons "ValidationErrorsEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "checkName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newValidationErrorsEntry :: ValidationErrorsEntry Source #

Create a value of ValidationErrorsEntry 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:checkName:ValidationErrorsEntry', validationErrorsEntry_checkName - Checks the name of the policy.

$sel:errorMessage:ValidationErrorsEntry', validationErrorsEntry_errorMessage - Displays error messages if validation encounters problems during validation of the resource policy.