Enum rusoto_secretsmanager::PutSecretValueError [−][src]
pub enum PutSecretValueError { EncryptionFailure(String), InternalServiceError(String), InvalidParameter(String), InvalidRequest(String), LimitExceeded(String), ResourceExists(String), ResourceNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutSecretValue
Variants
EncryptionFailure(String)
AWS Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the customer master key (CMK) is available, enabled, and not in an invalid state. For more information, see How Key State Affects Use of a Customer Master Key.
InternalServiceError(String)
An error occurred on the server side.
InvalidParameter(String)
You provided an invalid value for a parameter.
InvalidRequest(String)
You provided a parameter value that is not valid for the current state of the resource. For example, if you try to enable rotation on a secret, you must already have a Lambda function ARN configured or included as a parameter in this call.
LimitExceeded(String)
The request failed because it would exceed one of the AWS Secrets Manager internal limits.
ResourceExists(String)
A resource with the ID you requested already exists.
ResourceNotFound(String)
We can't find the resource that you asked for.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl PutSecretValueError
[src]
impl PutSecretValueError
pub fn from_body(body: &str) -> PutSecretValueError
[src]
pub fn from_body(body: &str) -> PutSecretValueError
Trait Implementations
impl Debug for PutSecretValueError
[src]
impl Debug for PutSecretValueError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PutSecretValueError
[src]
impl PartialEq for PutSecretValueError
fn eq(&self, other: &PutSecretValueError) -> bool
[src]
fn eq(&self, other: &PutSecretValueError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutSecretValueError) -> bool
[src]
fn ne(&self, other: &PutSecretValueError) -> bool
This method tests for !=
.
impl From<Error> for PutSecretValueError
[src]
impl From<Error> for PutSecretValueError
fn from(err: Error) -> PutSecretValueError
[src]
fn from(err: Error) -> PutSecretValueError
Performs the conversion.
impl From<CredentialsError> for PutSecretValueError
[src]
impl From<CredentialsError> for PutSecretValueError
fn from(err: CredentialsError) -> PutSecretValueError
[src]
fn from(err: CredentialsError) -> PutSecretValueError
Performs the conversion.
impl From<HttpDispatchError> for PutSecretValueError
[src]
impl From<HttpDispatchError> for PutSecretValueError
fn from(err: HttpDispatchError) -> PutSecretValueError
[src]
fn from(err: HttpDispatchError) -> PutSecretValueError
Performs the conversion.
impl From<Error> for PutSecretValueError
[src]
impl From<Error> for PutSecretValueError
fn from(err: Error) -> PutSecretValueError
[src]
fn from(err: Error) -> PutSecretValueError
Performs the conversion.
impl Display for PutSecretValueError
[src]
impl Display for PutSecretValueError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for PutSecretValueError
[src]
impl Error for PutSecretValueError
Auto Trait Implementations
impl Send for PutSecretValueError
impl Send for PutSecretValueError
impl Sync for PutSecretValueError
impl Sync for PutSecretValueError