Class WafEntityMigrationException
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WafEntityMigrationException.Builder,WafEntityMigrationException>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of the MigrationErrorReason property for this object.Returns the value of the MigrationErrorType property for this object.Returns the value of the MigrationErrorType property for this object.static Class<? extends WafEntityMigrationException.Builder> Create aAwsServiceException.Builderinitialized with the properties of thisAwsServiceException.Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionMethods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, isRetryableException, requestId, statusCodeMethods inherited from class software.amazon.awssdk.core.exception.SdkException
create, retryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFieldsMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
toBuilder
Description copied from class:AwsServiceExceptionCreate aAwsServiceException.Builderinitialized with the properties of thisAwsServiceException.- Specified by:
toBuilderin interfaceToCopyableBuilder<WafEntityMigrationException.Builder,WafEntityMigrationException> - Overrides:
toBuilderin classWafException- Returns:
- A new builder initialized with this config's properties.
-
builder
-
serializableBuilderClass
-
migrationErrorType
Returns the value of the MigrationErrorType property for this object.If the service returns an enum value that is not available in the current SDK version,
migrationErrorTypewill returnMigrationErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationErrorTypeAsString().- Returns:
- The value of the MigrationErrorType property for this object.
- See Also:
-
migrationErrorTypeAsString
Returns the value of the MigrationErrorType property for this object.If the service returns an enum value that is not available in the current SDK version,
migrationErrorTypewill returnMigrationErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationErrorTypeAsString().- Returns:
- The value of the MigrationErrorType property for this object.
- See Also:
-
migrationErrorReason
Returns the value of the MigrationErrorReason property for this object.- Returns:
- The value of the MigrationErrorReason property for this object.
-
sdkFields
-