pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description

Client for AWS WAF

Client for invoking operations on AWS WAF. Each operation on AWS WAF is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_waf::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::RetryConfig;
    let shared_config = aws_config::load_from_env().await;
    let config = aws_sdk_waf::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_waf::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the CreateByteMatchSet operation.

See CreateByteMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the CreateGeoMatchSet operation.

See CreateGeoMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the CreateIPSet operation.

See CreateIPSet for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRateBasedRule operation.

See CreateRateBasedRule for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRegexMatchSet operation.

See CreateRegexMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRegexPatternSet operation.

See CreateRegexPatternSet for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRule operation.

See CreateRule for more information about the operation and its arguments.

Constructs a fluent builder for the CreateRuleGroup operation.

See CreateRuleGroup for more information about the operation and its arguments.

Constructs a fluent builder for the CreateSizeConstraintSet operation.

See CreateSizeConstraintSet for more information about the operation and its arguments.

Constructs a fluent builder for the CreateSqlInjectionMatchSet operation.

See CreateSqlInjectionMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the CreateWebACL operation.

See CreateWebACL for more information about the operation and its arguments.

Constructs a fluent builder for the CreateWebACLMigrationStack operation.

See CreateWebACLMigrationStack for more information about the operation and its arguments.

Constructs a fluent builder for the CreateXssMatchSet operation.

See CreateXssMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteByteMatchSet operation.

See DeleteByteMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteGeoMatchSet operation.

See DeleteGeoMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteIPSet operation.

See DeleteIPSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteLoggingConfiguration operation.

See DeleteLoggingConfiguration for more information about the operation and its arguments.

Constructs a fluent builder for the DeletePermissionPolicy operation.

See DeletePermissionPolicy for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRateBasedRule operation.

See DeleteRateBasedRule for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRegexMatchSet operation.

See DeleteRegexMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRegexPatternSet operation.

See DeleteRegexPatternSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRule operation.

See DeleteRule for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteRuleGroup operation.

See DeleteRuleGroup for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteSizeConstraintSet operation.

See DeleteSizeConstraintSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteSqlInjectionMatchSet operation.

See DeleteSqlInjectionMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteWebACL operation.

See DeleteWebACL for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteXssMatchSet operation.

See DeleteXssMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetByteMatchSet operation.

See GetByteMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetChangeToken operation.

See GetChangeToken for more information about the operation and its arguments.

Constructs a fluent builder for the GetChangeTokenStatus operation.

See GetChangeTokenStatus for more information about the operation and its arguments.

Constructs a fluent builder for the GetGeoMatchSet operation.

See GetGeoMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetIPSet operation.

See GetIPSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetLoggingConfiguration operation.

See GetLoggingConfiguration for more information about the operation and its arguments.

Constructs a fluent builder for the GetPermissionPolicy operation.

See GetPermissionPolicy for more information about the operation and its arguments.

Constructs a fluent builder for the GetRateBasedRule operation.

See GetRateBasedRule for more information about the operation and its arguments.

Constructs a fluent builder for the GetRateBasedRuleManagedKeys operation.

See GetRateBasedRuleManagedKeys for more information about the operation and its arguments.

Constructs a fluent builder for the GetRegexMatchSet operation.

See GetRegexMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetRegexPatternSet operation.

See GetRegexPatternSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetRule operation.

See GetRule for more information about the operation and its arguments.

Constructs a fluent builder for the GetRuleGroup operation.

See GetRuleGroup for more information about the operation and its arguments.

Constructs a fluent builder for the GetSampledRequests operation.

See GetSampledRequests for more information about the operation and its arguments.

Constructs a fluent builder for the GetSizeConstraintSet operation.

See GetSizeConstraintSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetSqlInjectionMatchSet operation.

See GetSqlInjectionMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the GetWebACL operation.

See GetWebACL for more information about the operation and its arguments.

Constructs a fluent builder for the GetXssMatchSet operation.

See GetXssMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the ListActivatedRulesInRuleGroup operation.

See ListActivatedRulesInRuleGroup for more information about the operation and its arguments.

Constructs a fluent builder for the ListByteMatchSets operation.

See ListByteMatchSets for more information about the operation and its arguments.

Constructs a fluent builder for the ListGeoMatchSets operation.

See ListGeoMatchSets for more information about the operation and its arguments.

Constructs a fluent builder for the ListIPSets operation.

See ListIPSets for more information about the operation and its arguments.

Constructs a fluent builder for the ListLoggingConfigurations operation.

See ListLoggingConfigurations for more information about the operation and its arguments.

Constructs a fluent builder for the ListRateBasedRules operation.

See ListRateBasedRules for more information about the operation and its arguments.

Constructs a fluent builder for the ListRegexMatchSets operation.

See ListRegexMatchSets for more information about the operation and its arguments.

Constructs a fluent builder for the ListRegexPatternSets operation.

See ListRegexPatternSets for more information about the operation and its arguments.

Constructs a fluent builder for the ListRuleGroups operation.

See ListRuleGroups for more information about the operation and its arguments.

Constructs a fluent builder for the ListRules operation.

See ListRules for more information about the operation and its arguments.

Constructs a fluent builder for the ListSizeConstraintSets operation.

See ListSizeConstraintSets for more information about the operation and its arguments.

Constructs a fluent builder for the ListSqlInjectionMatchSets operation.

See ListSqlInjectionMatchSets for more information about the operation and its arguments.

Constructs a fluent builder for the ListSubscribedRuleGroups operation.

See ListSubscribedRuleGroups for more information about the operation and its arguments.

Constructs a fluent builder for the ListTagsForResource operation.

See ListTagsForResource for more information about the operation and its arguments.

Constructs a fluent builder for the ListWebACLs operation.

See ListWebACLs for more information about the operation and its arguments.

Constructs a fluent builder for the ListXssMatchSets operation.

See ListXssMatchSets for more information about the operation and its arguments.

Constructs a fluent builder for the PutLoggingConfiguration operation.

See PutLoggingConfiguration for more information about the operation and its arguments.

Constructs a fluent builder for the PutPermissionPolicy operation.

See PutPermissionPolicy for more information about the operation and its arguments.

Constructs a fluent builder for the TagResource operation.

See TagResource for more information about the operation and its arguments.

Constructs a fluent builder for the UntagResource operation.

See UntagResource for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateByteMatchSet operation.

See UpdateByteMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateGeoMatchSet operation.

See UpdateGeoMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateIPSet operation.

See UpdateIPSet for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRateBasedRule operation.

See UpdateRateBasedRule for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRegexMatchSet operation.

See UpdateRegexMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRegexPatternSet operation.

See UpdateRegexPatternSet for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRule operation.

See UpdateRule for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateRuleGroup operation.

See UpdateRuleGroup for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateSizeConstraintSet operation.

See UpdateSizeConstraintSet for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateSqlInjectionMatchSet operation.

See UpdateSqlInjectionMatchSet for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateWebACL operation.

See UpdateWebACL for more information about the operation and its arguments.

Constructs a fluent builder for the UpdateXssMatchSet operation.

See UpdateXssMatchSet for more information about the operation and its arguments.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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