Enum aws_sdk_config::error::PutResourceConfigErrorKind [−][src]
#[non_exhaustive]
pub enum PutResourceConfigErrorKind {
InsufficientPermissionsException(InsufficientPermissionsException),
MaxActiveResourcesExceededException(MaxActiveResourcesExceededException),
NoRunningConfigurationRecorderException(NoRunningConfigurationRecorderException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the PutResourceConfig
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InsufficientPermissionsException(InsufficientPermissionsException)
Tuple Fields
Indicates one of the following errors:
-
For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.
-
For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
-
For PutOrganizationConfigRule, organization config rule cannot be created because you do not have permissions to call IAM
GetRole
action or create a service linked role. -
For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have permissions:
-
To call IAM
GetRole
action or create a service linked role. -
To read Amazon S3 bucket.
-
MaxActiveResourcesExceededException(MaxActiveResourcesExceededException)
Tuple Fields
You have reached the limit (100,000) of active custom resource types in your account.
Delete unused resources using DeleteResourceConfig
.
NoRunningConfigurationRecorderException(NoRunningConfigurationRecorderException)
Tuple Fields
There is no configuration recorder running.
ValidationException(ValidationException)
Tuple Fields
The requested action is not valid.
For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.
For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutResourceConfigErrorKind
impl Send for PutResourceConfigErrorKind
impl Sync for PutResourceConfigErrorKind
impl Unpin for PutResourceConfigErrorKind
impl !UnwindSafe for PutResourceConfigErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more