Enum rusoto_config::PutConfigRuleError
[−]
[src]
pub enum PutConfigRuleError { InsufficientPermissions(String), InvalidParameterValue(String), MaxNumberOfConfigRulesExceeded(String), NoAvailableConfigurationRecorder(String), ResourceInUse(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutConfigRule
Variants
InsufficientPermissions(String)
Indicates one of the following errors:
-
The rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action.
-
The AWS Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
InvalidParameterValue(String)
One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.
MaxNumberOfConfigRulesExceeded(String)
Failed to add the AWS Config rule because the account already contains the maximum number of 50 rules. Consider deleting any deactivated rules before adding new rules.
NoAvailableConfigurationRecorder(String)
There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.
ResourceInUse(String)
The rule is currently being deleted or the rule is deleting your evaluation results. Try your request again later.
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 PutConfigRuleError
[src]
fn from_body(body: &str) -> PutConfigRuleError
[src]
Trait Implementations
impl Debug for PutConfigRuleError
[src]
impl PartialEq for PutConfigRuleError
[src]
fn eq(&self, __arg_0: &PutConfigRuleError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PutConfigRuleError) -> bool
[src]
This method tests for !=
.
impl From<Error> for PutConfigRuleError
[src]
fn from(err: Error) -> PutConfigRuleError
[src]
Performs the conversion.
impl From<CredentialsError> for PutConfigRuleError
[src]
fn from(err: CredentialsError) -> PutConfigRuleError
[src]
Performs the conversion.
impl From<HttpDispatchError> for PutConfigRuleError
[src]
fn from(err: HttpDispatchError) -> PutConfigRuleError
[src]
Performs the conversion.
impl From<Error> for PutConfigRuleError
[src]
fn from(err: Error) -> PutConfigRuleError
[src]
Performs the conversion.
impl Display for PutConfigRuleError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more