Struct aws_sdk_waf::error::WafEntityMigrationException
source · [−]#[non_exhaustive]pub struct WafEntityMigrationException {
pub message: Option<String>,
pub migration_error_type: Option<MigrationErrorType>,
pub migration_error_reason: Option<String>,
}Expand description
The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the MigrationErrorType:
-
ENTITY_NOT_SUPPORTED- The web ACL has an unsupported entity but theIgnoreUnsupportedTypeis not set to true. -
ENTITY_NOT_FOUND- The web ACL doesn't exist. -
S3_BUCKET_NO_PERMISSION- You don't have permission to perform thePutObjectaction to the specified Amazon S3 bucket. -
S3_BUCKET_NOT_ACCESSIBLE- The bucket policy doesn't allow AWS WAF to perform thePutObjectaction in the bucket. -
S3_BUCKET_NOT_FOUND- The S3 bucket doesn't exist. -
S3_BUCKET_INVALID_REGION- The S3 bucket is not in the same Region as the web ACL. -
S3_INTERNAL_ERROR- AWS WAF failed to create the template in the S3 bucket for another reason.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.message: Option<String>migration_error_type: Option<MigrationErrorType>migration_error_reason: Option<String>Implementations
Creates a new builder-style object to manufacture WafEntityMigrationException
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for WafEntityMigrationException
impl Send for WafEntityMigrationException
impl Sync for WafEntityMigrationException
impl Unpin for WafEntityMigrationException
impl UnwindSafe for WafEntityMigrationException
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