Enum aws_sdk_wafregional::Error

source ·
#[non_exhaustive]
pub enum Error {
Show 21 variants WafBadRequestException(WafBadRequestException), WafDisallowedNameException(WafDisallowedNameException), WafEntityMigrationException(WafEntityMigrationException), WafInternalErrorException(WafInternalErrorException), WafInvalidAccountException(WafInvalidAccountException), WafInvalidOperationException(WafInvalidOperationException), WafInvalidParameterException(WafInvalidParameterException), WafInvalidPermissionPolicyException(WafInvalidPermissionPolicyException), WafInvalidRegexPatternException(WafInvalidRegexPatternException), WafLimitsExceededException(WafLimitsExceededException), WafNonEmptyEntityException(WafNonEmptyEntityException), WafNonexistentContainerException(WafNonexistentContainerException), WafNonexistentItemException(WafNonexistentItemException), WafReferencedItemException(WafReferencedItemException), WafServiceLinkedRoleErrorException(WafServiceLinkedRoleErrorException), WafStaleDataException(WafStaleDataException), WafSubscriptionNotFoundException(WafSubscriptionNotFoundException), WafTagOperationException(WafTagOperationException), WafTagOperationInternalErrorException(WafTagOperationInternalErrorException), WafUnavailableEntityException(WafUnavailableEntityException), Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

WafBadRequestException(WafBadRequestException)

§

WafDisallowedNameException(WafDisallowedNameException)

The name specified is invalid.

§

WafEntityMigrationException(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 the IgnoreUnsupportedType is not set to true.

  • ENTITY_NOT_FOUND - The web ACL doesn't exist.

  • S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject action to the specified Amazon S3 bucket.

  • S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to perform the PutObject action 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.

§

WafInternalErrorException(WafInternalErrorException)

The operation failed because of a system problem, even though the request was valid. Retry your request.

§

WafInvalidAccountException(WafInvalidAccountException)

The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.

§

WafInvalidOperationException(WafInvalidOperationException)

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.

§

WafInvalidParameterException(WafInvalidParameterException)

The operation failed because AWS WAF didn't recognize a parameter in the request. For example:

  • You specified an invalid parameter name.

  • You specified an invalid value.

  • You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) using an action other than INSERT or DELETE.

  • You tried to create a WebACL with a DefaultAction Type other than ALLOW, BLOCK, or COUNT.

  • You tried to create a RateBasedRule with a RateKey value other than IP.

  • You tried to update a WebACL with a WafAction Type other than ALLOW, BLOCK, or COUNT.

  • You tried to update a ByteMatchSet with a FieldToMatch Type other than HEADER, METHOD, QUERY_STRING, URI, or BODY.

  • You tried to update a ByteMatchSet with a Field of HEADER but no value for Data.

  • Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.

§

WafInvalidPermissionPolicyException(WafInvalidPermissionPolicyException)

The operation failed because the specified policy is not in the proper format.

The policy is subject to the following restrictions:

  • You can attach only one policy with each PutPermissionPolicy request.

  • The policy must include an Effect, Action and Principal.

  • Effect must specify Allow.

  • The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard actions in the policy will be rejected.

  • The policy cannot include a Resource parameter.

  • The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.

  • The user making the request must be the owner of the RuleGroup.

  • Your policy must be composed using IAM Policy version 2012-10-17.

§

WafInvalidRegexPatternException(WafInvalidRegexPatternException)

The regular expression (regex) you specified in RegexPatternString is invalid.

§

WafLimitsExceededException(WafLimitsExceededException)

The operation exceeds a resource limit, for example, the maximum number of WebACL objects that you can create for an AWS account. For more information, see Limits in the AWS WAF Developer Guide.

§

WafNonEmptyEntityException(WafNonEmptyEntityException)

The operation failed because you tried to delete an object that isn't empty. For example:

  • You tried to delete a WebACL that still contains one or more Rule objects.

  • You tried to delete a Rule that still contains one or more ByteMatchSet objects or other predicates.

  • You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple objects.

  • You tried to delete an IPSet that references one or more IP addresses.

§

WafNonexistentContainerException(WafNonexistentContainerException)

The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:

  • You tried to add a Rule to or delete a Rule from a WebACL that doesn't exist.

  • You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule that doesn't exist.

  • You tried to add an IP address to or delete an IP address from an IPSet that doesn't exist.

  • You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from a ByteMatchSet that doesn't exist.

§

WafNonexistentItemException(WafNonexistentItemException)

The operation failed because the referenced object doesn't exist.

§

WafReferencedItemException(WafReferencedItemException)

The operation failed because you tried to delete an object that is still in use. For example:

  • You tried to delete a ByteMatchSet that is still referenced by a Rule.

  • You tried to delete a Rule that is still referenced by a WebACL.

§

WafServiceLinkedRoleErrorException(WafServiceLinkedRoleErrorException)

AWS WAF is not able to access the service linked role. This can be caused by a previous PutLoggingConfiguration request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous DeleteServiceLinkedRole request, which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.

§

WafStaleDataException(WafStaleDataException)

The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.

§

WafSubscriptionNotFoundException(WafSubscriptionNotFoundException)

The specified subscription does not exist.

§

WafTagOperationException(WafTagOperationException)

§

WafTagOperationInternalErrorException(WafTagOperationInternalErrorException)

§

WafUnavailableEntityException(WafUnavailableEntityException)

The operation failed because the entity referenced is temporarily unavailable. Retry your request.

§

Unhandled(Unhandled)

👎Deprecated: Matching Unhandled directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code():    err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ } See ProvideErrorMetadata for what information is available for the error.

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AssociateWebACLError> for Error

source§

fn from(err: AssociateWebACLError) -> Self

Converts to this type from the input type.
source§

impl From<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<CreateByteMatchSetError> for Error

source§

fn from(err: CreateByteMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateGeoMatchSetError> for Error

source§

fn from(err: CreateGeoMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateIPSetError> for Error

source§

fn from(err: CreateIPSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRateBasedRuleError> for Error

source§

fn from(err: CreateRateBasedRuleError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRegexMatchSetError> for Error

source§

fn from(err: CreateRegexMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRegexPatternSetError> for Error

source§

fn from(err: CreateRegexPatternSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRuleError> for Error

source§

fn from(err: CreateRuleError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRuleGroupError> for Error

source§

fn from(err: CreateRuleGroupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSizeConstraintSetError> for Error

source§

fn from(err: CreateSizeConstraintSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSqlInjectionMatchSetError> for Error

source§

fn from(err: CreateSqlInjectionMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateWebACLError> for Error

source§

fn from(err: CreateWebACLError) -> Self

Converts to this type from the input type.
source§

impl From<CreateWebACLMigrationStackError> for Error

source§

fn from(err: CreateWebACLMigrationStackError) -> Self

Converts to this type from the input type.
source§

impl From<CreateXssMatchSetError> for Error

source§

fn from(err: CreateXssMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteByteMatchSetError> for Error

source§

fn from(err: DeleteByteMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteGeoMatchSetError> for Error

source§

fn from(err: DeleteGeoMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteIPSetError> for Error

source§

fn from(err: DeleteIPSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLoggingConfigurationError> for Error

source§

fn from(err: DeleteLoggingConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeletePermissionPolicyError> for Error

source§

fn from(err: DeletePermissionPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRateBasedRuleError> for Error

source§

fn from(err: DeleteRateBasedRuleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRegexMatchSetError> for Error

source§

fn from(err: DeleteRegexMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRegexPatternSetError> for Error

source§

fn from(err: DeleteRegexPatternSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRuleError> for Error

source§

fn from(err: DeleteRuleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRuleGroupError> for Error

source§

fn from(err: DeleteRuleGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSizeConstraintSetError> for Error

source§

fn from(err: DeleteSizeConstraintSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSqlInjectionMatchSetError> for Error

source§

fn from(err: DeleteSqlInjectionMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteWebACLError> for Error

source§

fn from(err: DeleteWebACLError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteXssMatchSetError> for Error

source§

fn from(err: DeleteXssMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateWebACLError> for Error

source§

fn from(err: DisassociateWebACLError) -> Self

Converts to this type from the input type.
source§

impl From<GetByteMatchSetError> for Error

source§

fn from(err: GetByteMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetChangeTokenError> for Error

source§

fn from(err: GetChangeTokenError) -> Self

Converts to this type from the input type.
source§

impl From<GetChangeTokenStatusError> for Error

source§

fn from(err: GetChangeTokenStatusError) -> Self

Converts to this type from the input type.
source§

impl From<GetGeoMatchSetError> for Error

source§

fn from(err: GetGeoMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetIPSetError> for Error

source§

fn from(err: GetIPSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetLoggingConfigurationError> for Error

source§

fn from(err: GetLoggingConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetPermissionPolicyError> for Error

source§

fn from(err: GetPermissionPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetRateBasedRuleError> for Error

source§

fn from(err: GetRateBasedRuleError) -> Self

Converts to this type from the input type.
source§

impl From<GetRateBasedRuleManagedKeysError> for Error

source§

fn from(err: GetRateBasedRuleManagedKeysError) -> Self

Converts to this type from the input type.
source§

impl From<GetRegexMatchSetError> for Error

source§

fn from(err: GetRegexMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetRegexPatternSetError> for Error

source§

fn from(err: GetRegexPatternSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetRuleError> for Error

source§

fn from(err: GetRuleError) -> Self

Converts to this type from the input type.
source§

impl From<GetRuleGroupError> for Error

source§

fn from(err: GetRuleGroupError) -> Self

Converts to this type from the input type.
source§

impl From<GetSampledRequestsError> for Error

source§

fn from(err: GetSampledRequestsError) -> Self

Converts to this type from the input type.
source§

impl From<GetSizeConstraintSetError> for Error

source§

fn from(err: GetSizeConstraintSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetSqlInjectionMatchSetError> for Error

source§

fn from(err: GetSqlInjectionMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<GetWebACLError> for Error

source§

fn from(err: GetWebACLError) -> Self

Converts to this type from the input type.
source§

impl From<GetWebACLForResourceError> for Error

source§

fn from(err: GetWebACLForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<GetXssMatchSetError> for Error

source§

fn from(err: GetXssMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<ListActivatedRulesInRuleGroupError> for Error

source§

fn from(err: ListActivatedRulesInRuleGroupError) -> Self

Converts to this type from the input type.
source§

impl From<ListByteMatchSetsError> for Error

source§

fn from(err: ListByteMatchSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListGeoMatchSetsError> for Error

source§

fn from(err: ListGeoMatchSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListIPSetsError> for Error

source§

fn from(err: ListIPSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLoggingConfigurationsError> for Error

source§

fn from(err: ListLoggingConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListRateBasedRulesError> for Error

source§

fn from(err: ListRateBasedRulesError) -> Self

Converts to this type from the input type.
source§

impl From<ListRegexMatchSetsError> for Error

source§

fn from(err: ListRegexMatchSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListRegexPatternSetsError> for Error

source§

fn from(err: ListRegexPatternSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListResourcesForWebACLError> for Error

source§

fn from(err: ListResourcesForWebACLError) -> Self

Converts to this type from the input type.
source§

impl From<ListRuleGroupsError> for Error

source§

fn from(err: ListRuleGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListRulesError> for Error

source§

fn from(err: ListRulesError) -> Self

Converts to this type from the input type.
source§

impl From<ListSizeConstraintSetsError> for Error

source§

fn from(err: ListSizeConstraintSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSqlInjectionMatchSetsError> for Error

source§

fn from(err: ListSqlInjectionMatchSetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSubscribedRuleGroupsError> for Error

source§

fn from(err: ListSubscribedRuleGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForResourceError> for Error

source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListWebACLsError> for Error

source§

fn from(err: ListWebACLsError) -> Self

Converts to this type from the input type.
source§

impl From<ListXssMatchSetsError> for Error

source§

fn from(err: ListXssMatchSetsError) -> Self

Converts to this type from the input type.
source§

impl From<PutLoggingConfigurationError> for Error

source§

fn from(err: PutLoggingConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutPermissionPolicyError> for Error

source§

fn from(err: PutPermissionPolicyError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociateWebACLError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AssociateWebACLError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateByteMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateByteMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateGeoMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateGeoMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateIPSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateIPSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRateBasedRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateRateBasedRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRegexMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateRegexMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRegexPatternSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateRegexPatternSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRuleGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateRuleGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateSizeConstraintSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateSizeConstraintSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateSqlInjectionMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateSqlInjectionMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateWebACLError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateWebACLError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateWebACLMigrationStackError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateWebACLMigrationStackError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateXssMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateXssMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteByteMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteByteMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteGeoMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteGeoMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteIPSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteIPSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteLoggingConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteLoggingConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeletePermissionPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeletePermissionPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRateBasedRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteRateBasedRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRegexMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteRegexMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRegexPatternSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteRegexPatternSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRuleGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteRuleGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteSizeConstraintSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteSizeConstraintSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteSqlInjectionMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteSqlInjectionMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteWebACLError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteWebACLError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteXssMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteXssMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DisassociateWebACLError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DisassociateWebACLError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetByteMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetByteMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetChangeTokenError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetChangeTokenError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetChangeTokenStatusError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetChangeTokenStatusError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetGeoMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetGeoMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetIPSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetIPSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetLoggingConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetLoggingConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetPermissionPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetPermissionPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRateBasedRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRateBasedRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRateBasedRuleManagedKeysError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRateBasedRuleManagedKeysError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRegexMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRegexMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRegexPatternSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRegexPatternSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRuleGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRuleGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetSampledRequestsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetSampledRequestsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetSizeConstraintSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetSizeConstraintSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetSqlInjectionMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetSqlInjectionMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetWebACLError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetWebACLError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetWebACLForResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetWebACLForResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetXssMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetXssMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListActivatedRulesInRuleGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListActivatedRulesInRuleGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListByteMatchSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListByteMatchSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListGeoMatchSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListGeoMatchSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListIPSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListIPSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListLoggingConfigurationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListLoggingConfigurationsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRateBasedRulesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListRateBasedRulesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRegexMatchSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListRegexMatchSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRegexPatternSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListRegexPatternSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListResourcesForWebACLError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListResourcesForWebACLError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRuleGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListRuleGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRulesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListRulesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSizeConstraintSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListSizeConstraintSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSqlInjectionMatchSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListSqlInjectionMatchSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSubscribedRuleGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListSubscribedRuleGroupsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListTagsForResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListWebACLsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListWebACLsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListXssMatchSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListXssMatchSetsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutLoggingConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutLoggingConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutPermissionPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutPermissionPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UntagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UntagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateByteMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateByteMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateGeoMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateGeoMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateIPSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateIPSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRateBasedRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateRateBasedRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRegexMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateRegexMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRegexPatternSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateRegexPatternSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRuleError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateRuleError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRuleGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateRuleGroupError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateSizeConstraintSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateSizeConstraintSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateSqlInjectionMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateSqlInjectionMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateWebACLError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateWebACLError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateXssMatchSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateXssMatchSetError, R>) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateByteMatchSetError> for Error

source§

fn from(err: UpdateByteMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateGeoMatchSetError> for Error

source§

fn from(err: UpdateGeoMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateIPSetError> for Error

source§

fn from(err: UpdateIPSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRateBasedRuleError> for Error

source§

fn from(err: UpdateRateBasedRuleError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRegexMatchSetError> for Error

source§

fn from(err: UpdateRegexMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRegexPatternSetError> for Error

source§

fn from(err: UpdateRegexPatternSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRuleError> for Error

source§

fn from(err: UpdateRuleError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRuleGroupError> for Error

source§

fn from(err: UpdateRuleGroupError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSizeConstraintSetError> for Error

source§

fn from(err: UpdateSizeConstraintSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSqlInjectionMatchSetError> for Error

source§

fn from(err: UpdateSqlInjectionMatchSetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateWebACLError> for Error

source§

fn from(err: UpdateWebACLError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateXssMatchSetError> for Error

source§

fn from(err: UpdateXssMatchSetError) -> Self

Converts to this type from the input type.
source§

impl ProvideErrorMetadata for Error

source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
source§

fn code(&self) -> Option<&str>

Returns the error code if it’s available.
source§

fn message(&self) -> Option<&str>

Returns the error message, if there is one.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more