Struct aws_sdk_elasticloadbalancing::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for Elastic Load Balancing
Client for invoking operations on Elastic Load Balancing. Each operation on Elastic Load Balancing 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_elasticloadbalancing::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_elasticloadbalancing::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_elasticloadbalancing::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the AddTags
operation.
See AddTags
for more information about the
operation and its arguments.
pub fn apply_security_groups_to_load_balancer(
&self
) -> ApplySecurityGroupsToLoadBalancer<C, M, R>
pub fn apply_security_groups_to_load_balancer(
&self
) -> ApplySecurityGroupsToLoadBalancer<C, M, R>
Constructs a fluent builder for the ApplySecurityGroupsToLoadBalancer
operation.
See ApplySecurityGroupsToLoadBalancer
for more information about the
operation and its arguments.
Constructs a fluent builder for the AttachLoadBalancerToSubnets
operation.
See AttachLoadBalancerToSubnets
for more information about the
operation and its arguments.
Constructs a fluent builder for the ConfigureHealthCheck
operation.
See ConfigureHealthCheck
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateAppCookieStickinessPolicy
operation.
See CreateAppCookieStickinessPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLBCookieStickinessPolicy
operation.
See CreateLBCookieStickinessPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLoadBalancer
operation.
See CreateLoadBalancer
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLoadBalancerListeners
operation.
See CreateLoadBalancerListeners
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateLoadBalancerPolicy
operation.
See CreateLoadBalancerPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteLoadBalancer
operation.
See DeleteLoadBalancer
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteLoadBalancerListeners
operation.
See DeleteLoadBalancerListeners
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteLoadBalancerPolicy
operation.
See DeleteLoadBalancerPolicy
for more information about the
operation and its arguments.
pub fn deregister_instances_from_load_balancer(
&self
) -> DeregisterInstancesFromLoadBalancer<C, M, R>
pub fn deregister_instances_from_load_balancer(
&self
) -> DeregisterInstancesFromLoadBalancer<C, M, R>
Constructs a fluent builder for the DeregisterInstancesFromLoadBalancer
operation.
See DeregisterInstancesFromLoadBalancer
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeAccountLimits
operation.
See DescribeAccountLimits
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeInstanceHealth
operation.
See DescribeInstanceHealth
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLoadBalancerAttributes
operation.
See DescribeLoadBalancerAttributes
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLoadBalancerPolicies
operation.
See DescribeLoadBalancerPolicies
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLoadBalancerPolicyTypes
operation.
See DescribeLoadBalancerPolicyTypes
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeLoadBalancers
operation.
See DescribeLoadBalancers
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeTags
operation.
See DescribeTags
for more information about the
operation and its arguments.
Constructs a fluent builder for the DetachLoadBalancerFromSubnets
operation.
See DetachLoadBalancerFromSubnets
for more information about the
operation and its arguments.
pub fn disable_availability_zones_for_load_balancer(
&self
) -> DisableAvailabilityZonesForLoadBalancer<C, M, R>
pub fn disable_availability_zones_for_load_balancer(
&self
) -> DisableAvailabilityZonesForLoadBalancer<C, M, R>
Constructs a fluent builder for the DisableAvailabilityZonesForLoadBalancer
operation.
See DisableAvailabilityZonesForLoadBalancer
for more information about the
operation and its arguments.
pub fn enable_availability_zones_for_load_balancer(
&self
) -> EnableAvailabilityZonesForLoadBalancer<C, M, R>
pub fn enable_availability_zones_for_load_balancer(
&self
) -> EnableAvailabilityZonesForLoadBalancer<C, M, R>
Constructs a fluent builder for the EnableAvailabilityZonesForLoadBalancer
operation.
See EnableAvailabilityZonesForLoadBalancer
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyLoadBalancerAttributes
operation.
See ModifyLoadBalancerAttributes
for more information about the
operation and its arguments.
pub fn register_instances_with_load_balancer(
&self
) -> RegisterInstancesWithLoadBalancer<C, M, R>
pub fn register_instances_with_load_balancer(
&self
) -> RegisterInstancesWithLoadBalancer<C, M, R>
Constructs a fluent builder for the RegisterInstancesWithLoadBalancer
operation.
See RegisterInstancesWithLoadBalancer
for more information about the
operation and its arguments.
Constructs a fluent builder for the RemoveTags
operation.
See RemoveTags
for more information about the
operation and its arguments.
pub fn set_load_balancer_listener_ssl_certificate(
&self
) -> SetLoadBalancerListenerSSLCertificate<C, M, R>
pub fn set_load_balancer_listener_ssl_certificate(
&self
) -> SetLoadBalancerListenerSSLCertificate<C, M, R>
Constructs a fluent builder for the SetLoadBalancerListenerSSLCertificate
operation.
See SetLoadBalancerListenerSSLCertificate
for more information about the
operation and its arguments.
pub fn set_load_balancer_policies_for_backend_server(
&self
) -> SetLoadBalancerPoliciesForBackendServer<C, M, R>
pub fn set_load_balancer_policies_for_backend_server(
&self
) -> SetLoadBalancerPoliciesForBackendServer<C, M, R>
Constructs a fluent builder for the SetLoadBalancerPoliciesForBackendServer
operation.
See SetLoadBalancerPoliciesForBackendServer
for more information about the
operation and its arguments.
pub fn set_load_balancer_policies_of_listener(
&self
) -> SetLoadBalancerPoliciesOfListener<C, M, R>
pub fn set_load_balancer_policies_of_listener(
&self
) -> SetLoadBalancerPoliciesOfListener<C, M, R>
Constructs a fluent builder for the SetLoadBalancerPoliciesOfListener
operation.
See SetLoadBalancerPoliciesOfListener
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
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