@aws-sdk/client-waf

WAFInvalidOperationException Class

The operation failed because there was nothing to do. For example:

  • You tried to remove a Rule from a WebACL, but the Rule isn't in the specified WebACL.

  • You tried to remove an IP address from an IPSet, but the IP address isn't in the specified IPSet.

  • You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple isn't in the specified WebACL.

  • You tried to add a Rule to a WebACL, but the Rule already exists in the specified WebACL.

  • You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple already exists in the specified WebACL.

Members

Name
Type
Details
$fault Required"client"
$metadata RequiredResponseMetadata
$response RequiredHttpResponse
$retryable RequiredRetryableTrait
(constructor) Requiredconstructor(options: ServiceExceptionOptions)
Constructs a new instance of the ServiceException class
[Symbol.hasInstance] Requiredstatic Symbol.hasInstance: boolean
Custom instanceof check to support the operator for ServiceException base class
isInstance Requiredstatic isInstance(value: unknown): value is ServiceException
Checks if a value is an instance of ServiceException (duck typed)
name Required"WAFInvalidOperationException"

Full Signature

export declare class WAFInvalidOperationException extends WAFServiceException