Struct aws_sdk_elasticloadbalancing::Client 
source · pub struct Client { /* private fields */ }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.
Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_elasticloadbalancing::Client::new(&config);Occasionally, SDKs may have additional service-specific that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Config struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_elasticloadbalancing::config::Builder::from(&sdk_config)
    .some_service_specific_setting("value")
    .build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
Using the Client
A client has a function for every operation that can be performed by the service.
For example, the ApplySecurityGroupsToLoadBalancer operation has
a Client::apply_security_groups_to_load_balancer, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.apply_security_groups_to_load_balancer()
    .load_balancer_name("example")
    .send()
    .await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
source§impl Client
 
impl Client
Constructs a fluent builder for the AddTags operation.
- The fluent builder is configurable:
- load_balancer_names(impl Into<String>)/- set_load_balancer_names(Option<Vec::<String>>):
 required: true- The name of the load balancer. You can specify one load balancer only. 
- tags(Tag)/- set_tags(Option<Vec::<Tag>>):
 required: true- The tags. 
 
- On success, responds with AddTagsOutput
- On failure, responds with SdkError<AddTagsError>
source§impl Client
 
impl Client
sourcepub fn apply_security_groups_to_load_balancer(
    &self
) -> ApplySecurityGroupsToLoadBalancerFluentBuilder
 
pub fn apply_security_groups_to_load_balancer( &self ) -> ApplySecurityGroupsToLoadBalancerFluentBuilder
Constructs a fluent builder for the ApplySecurityGroupsToLoadBalancer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- security_groups(impl Into<String>)/- set_security_groups(Option<Vec::<String>>):
 required: true- The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group. 
 
- On success, responds with ApplySecurityGroupsToLoadBalancerOutputwith field(s):- security_groups(Option<Vec::<String>>):- The IDs of the security groups associated with the load balancer. 
 
- On failure, responds with SdkError<ApplySecurityGroupsToLoadBalancerError>
source§impl Client
 
impl Client
sourcepub fn attach_load_balancer_to_subnets(
    &self
) -> AttachLoadBalancerToSubnetsFluentBuilder
 
pub fn attach_load_balancer_to_subnets( &self ) -> AttachLoadBalancerToSubnetsFluentBuilder
Constructs a fluent builder for the AttachLoadBalancerToSubnets operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- subnets(impl Into<String>)/- set_subnets(Option<Vec::<String>>):
 required: true- The IDs of the subnets to add. You can add only one subnet per Availability Zone. 
 
- On success, responds with AttachLoadBalancerToSubnetsOutputwith field(s):- subnets(Option<Vec::<String>>):- The IDs of the subnets attached to the load balancer. 
 
- On failure, responds with SdkError<AttachLoadBalancerToSubnetsError>
source§impl Client
 
impl Client
sourcepub fn configure_health_check(&self) -> ConfigureHealthCheckFluentBuilder
 
pub fn configure_health_check(&self) -> ConfigureHealthCheckFluentBuilder
Constructs a fluent builder for the ConfigureHealthCheck operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- health_check(HealthCheck)/- set_health_check(Option<HealthCheck>):
 required: true- The configuration information. 
 
- On success, responds with ConfigureHealthCheckOutputwith field(s):- health_check(Option<HealthCheck>):- The updated health check. 
 
- On failure, responds with SdkError<ConfigureHealthCheckError>
source§impl Client
 
impl Client
Constructs a fluent builder for the CreateAppCookieStickinessPolicy operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- policy_name(impl Into<String>)/- set_policy_name(Option<String>):
 required: true- The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer. 
- cookie_name(impl Into<String>)/- set_cookie_name(Option<String>):
 required: true- The name of the application cookie used for stickiness. 
 
- On success, responds with CreateAppCookieStickinessPolicyOutput
- On failure, responds with SdkError<CreateAppCookieStickinessPolicyError>
source§impl Client
 
impl Client
Constructs a fluent builder for the CreateLBCookieStickinessPolicy operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- policy_name(impl Into<String>)/- set_policy_name(Option<String>):
 required: true- The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer. 
- cookie_expiration_period(i64)/- set_cookie_expiration_period(Option<i64>):
 required: false- The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session. 
 
- On success, responds with CreateLbCookieStickinessPolicyOutput
- On failure, responds with SdkError<CreateLBCookieStickinessPolicyError>
source§impl Client
 
impl Client
sourcepub fn create_load_balancer(&self) -> CreateLoadBalancerFluentBuilder
 
pub fn create_load_balancer(&self) -> CreateLoadBalancerFluentBuilder
Constructs a fluent builder for the CreateLoadBalancer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. - This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen. 
- listeners(Listener)/- set_listeners(Option<Vec::<Listener>>):
 required: true- The listeners. - For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide. 
- availability_zones(impl Into<String>)/- set_availability_zones(Option<Vec::<String>>):
 required: false- One or more Availability Zones from the same region as the load balancer. - You must specify at least one Availability Zone. - You can add more Availability Zones after you create the load balancer using - EnableAvailabilityZonesForLoadBalancer.
- subnets(impl Into<String>)/- set_subnets(Option<Vec::<String>>):
 required: false- The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone specified in - AvailabilityZones.
- security_groups(impl Into<String>)/- set_security_groups(Option<Vec::<String>>):
 required: false- The IDs of the security groups to assign to the load balancer. 
- scheme(impl Into<String>)/- set_scheme(Option<String>):
 required: false- The type of a load balancer. Valid only for load balancers in a VPC. - By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide. - Specify - internalto create a load balancer with a DNS name that resolves to private IP addresses.
- tags(Tag)/- set_tags(Option<Vec::<Tag>>):
 required: false- A list of tags to assign to the load balancer. - For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide. 
 
- On success, responds with CreateLoadBalancerOutputwith field(s):- dns_name(Option<String>):- The DNS name of the load balancer. 
 
- On failure, responds with SdkError<CreateLoadBalancerError>
source§impl Client
 
impl Client
sourcepub fn create_load_balancer_listeners(
    &self
) -> CreateLoadBalancerListenersFluentBuilder
 
pub fn create_load_balancer_listeners( &self ) -> CreateLoadBalancerListenersFluentBuilder
Constructs a fluent builder for the CreateLoadBalancerListeners operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- listeners(Listener)/- set_listeners(Option<Vec::<Listener>>):
 required: true- The listeners. 
 
- On success, responds with CreateLoadBalancerListenersOutput
- On failure, responds with SdkError<CreateLoadBalancerListenersError>
source§impl Client
 
impl Client
sourcepub fn create_load_balancer_policy(
    &self
) -> CreateLoadBalancerPolicyFluentBuilder
 
pub fn create_load_balancer_policy( &self ) -> CreateLoadBalancerPolicyFluentBuilder
Constructs a fluent builder for the CreateLoadBalancerPolicy operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- policy_name(impl Into<String>)/- set_policy_name(Option<String>):
 required: true- The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer. 
- policy_type_name(impl Into<String>)/- set_policy_type_name(Option<String>):
 required: true- The name of the base policy type. To get the list of policy types, use - DescribeLoadBalancerPolicyTypes.
- policy_attributes(PolicyAttribute)/- set_policy_attributes(Option<Vec::<PolicyAttribute>>):
 required: false- The policy attributes. 
 
- On success, responds with CreateLoadBalancerPolicyOutput
- On failure, responds with SdkError<CreateLoadBalancerPolicyError>
source§impl Client
 
impl Client
sourcepub fn delete_load_balancer(&self) -> DeleteLoadBalancerFluentBuilder
 
pub fn delete_load_balancer(&self) -> DeleteLoadBalancerFluentBuilder
Constructs a fluent builder for the DeleteLoadBalancer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
 
- On success, responds with DeleteLoadBalancerOutput
- On failure, responds with SdkError<DeleteLoadBalancerError>
source§impl Client
 
impl Client
sourcepub fn delete_load_balancer_listeners(
    &self
) -> DeleteLoadBalancerListenersFluentBuilder
 
pub fn delete_load_balancer_listeners( &self ) -> DeleteLoadBalancerListenersFluentBuilder
Constructs a fluent builder for the DeleteLoadBalancerListeners operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- load_balancer_ports(i32)/- set_load_balancer_ports(Option<Vec::<i32>>):
 required: true- The client port numbers of the listeners. 
 
- On success, responds with DeleteLoadBalancerListenersOutput
- On failure, responds with SdkError<DeleteLoadBalancerListenersError>
source§impl Client
 
impl Client
sourcepub fn delete_load_balancer_policy(
    &self
) -> DeleteLoadBalancerPolicyFluentBuilder
 
pub fn delete_load_balancer_policy( &self ) -> DeleteLoadBalancerPolicyFluentBuilder
Constructs a fluent builder for the DeleteLoadBalancerPolicy operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- policy_name(impl Into<String>)/- set_policy_name(Option<String>):
 required: true- The name of the policy. 
 
- On success, responds with DeleteLoadBalancerPolicyOutput
- On failure, responds with SdkError<DeleteLoadBalancerPolicyError>
source§impl Client
 
impl Client
sourcepub fn deregister_instances_from_load_balancer(
    &self
) -> DeregisterInstancesFromLoadBalancerFluentBuilder
 
pub fn deregister_instances_from_load_balancer( &self ) -> DeregisterInstancesFromLoadBalancerFluentBuilder
Constructs a fluent builder for the DeregisterInstancesFromLoadBalancer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- instances(Instance)/- set_instances(Option<Vec::<Instance>>):
 required: true- The IDs of the instances. 
 
- On success, responds with DeregisterInstancesFromLoadBalancerOutputwith field(s):- instances(Option<Vec::<Instance>>):- The remaining instances registered with the load balancer. 
 
- On failure, responds with SdkError<DeregisterInstancesFromLoadBalancerError>
source§impl Client
 
impl Client
sourcepub fn describe_account_limits(&self) -> DescribeAccountLimitsFluentBuilder
 
pub fn describe_account_limits(&self) -> DescribeAccountLimitsFluentBuilder
Constructs a fluent builder for the DescribeAccountLimits operation.
- The fluent builder is configurable:
- marker(impl Into<String>)/- set_marker(Option<String>):
 required: false- The marker for the next set of results. (You received this marker from a previous call.) 
- page_size(i32)/- set_page_size(Option<i32>):
 required: false- The maximum number of results to return with this call. 
 
- On success, responds with DescribeAccountLimitsOutputwith field(s):- limits(Option<Vec::<Limit>>):- Information about the limits. 
- next_marker(Option<String>):- The marker to use when requesting the next set of results. If there are no additional results, the string is empty. 
 
- On failure, responds with SdkError<DescribeAccountLimitsError>
source§impl Client
 
impl Client
sourcepub fn describe_instance_health(&self) -> DescribeInstanceHealthFluentBuilder
 
pub fn describe_instance_health(&self) -> DescribeInstanceHealthFluentBuilder
Constructs a fluent builder for the DescribeInstanceHealth operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- instances(Instance)/- set_instances(Option<Vec::<Instance>>):
 required: false- The IDs of the instances. 
 
- On success, responds with DescribeInstanceHealthOutputwith field(s):- instance_states(Option<Vec::<InstanceState>>):- Information about the health of the instances. 
 
- On failure, responds with SdkError<DescribeInstanceHealthError>
source§impl Client
 
impl Client
sourcepub fn describe_load_balancer_attributes(
    &self
) -> DescribeLoadBalancerAttributesFluentBuilder
 
pub fn describe_load_balancer_attributes( &self ) -> DescribeLoadBalancerAttributesFluentBuilder
Constructs a fluent builder for the DescribeLoadBalancerAttributes operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
 
- On success, responds with DescribeLoadBalancerAttributesOutputwith field(s):- load_balancer_attributes(Option<LoadBalancerAttributes>):- Information about the load balancer attributes. 
 
- On failure, responds with SdkError<DescribeLoadBalancerAttributesError>
source§impl Client
 
impl Client
sourcepub fn describe_load_balancer_policies(
    &self
) -> DescribeLoadBalancerPoliciesFluentBuilder
 
pub fn describe_load_balancer_policies( &self ) -> DescribeLoadBalancerPoliciesFluentBuilder
Constructs a fluent builder for the DescribeLoadBalancerPolicies operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: false- The name of the load balancer. 
- policy_names(impl Into<String>)/- set_policy_names(Option<Vec::<String>>):
 required: false- The names of the policies. 
 
- On success, responds with DescribeLoadBalancerPoliciesOutputwith field(s):- policy_descriptions(Option<Vec::<PolicyDescription>>):- Information about the policies. 
 
- On failure, responds with SdkError<DescribeLoadBalancerPoliciesError>
source§impl Client
 
impl Client
sourcepub fn describe_load_balancer_policy_types(
    &self
) -> DescribeLoadBalancerPolicyTypesFluentBuilder
 
pub fn describe_load_balancer_policy_types( &self ) -> DescribeLoadBalancerPolicyTypesFluentBuilder
Constructs a fluent builder for the DescribeLoadBalancerPolicyTypes operation.
- The fluent builder is configurable:
- policy_type_names(impl Into<String>)/- set_policy_type_names(Option<Vec::<String>>):
 required: false- The names of the policy types. If no names are specified, describes all policy types defined by Elastic Load Balancing. 
 
- On success, responds with DescribeLoadBalancerPolicyTypesOutputwith field(s):- policy_type_descriptions(Option<Vec::<PolicyTypeDescription>>):- Information about the policy types. 
 
- On failure, responds with SdkError<DescribeLoadBalancerPolicyTypesError>
source§impl Client
 
impl Client
sourcepub fn describe_load_balancers(&self) -> DescribeLoadBalancersFluentBuilder
 
pub fn describe_load_balancers(&self) -> DescribeLoadBalancersFluentBuilder
Constructs a fluent builder for the DescribeLoadBalancers operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
- load_balancer_names(impl Into<String>)/- set_load_balancer_names(Option<Vec::<String>>):
 required: false- The names of the load balancers. 
- marker(impl Into<String>)/- set_marker(Option<String>):
 required: false- The marker for the next set of results. (You received this marker from a previous call.) 
- page_size(i32)/- set_page_size(Option<i32>):
 required: false- The maximum number of results to return with this call (a number from 1 to 400). The default is 400. 
 
- On success, responds with DescribeLoadBalancersOutputwith field(s):- load_balancer_descriptions(Option<Vec::<LoadBalancerDescription>>):- Information about the load balancers. 
- next_marker(Option<String>):- The marker to use when requesting the next set of results. If there are no additional results, the string is empty. 
 
- On failure, responds with SdkError<DescribeLoadBalancersError>
source§impl Client
 
impl Client
Constructs a fluent builder for the DescribeTags operation.
- The fluent builder is configurable:
- load_balancer_names(impl Into<String>)/- set_load_balancer_names(Option<Vec::<String>>):
 required: true- The names of the load balancers. 
 
- On success, responds with DescribeTagsOutputwith field(s):- tag_descriptions(Option<Vec::<TagDescription>>):- Information about the tags. 
 
- On failure, responds with SdkError<DescribeTagsError>
source§impl Client
 
impl Client
sourcepub fn detach_load_balancer_from_subnets(
    &self
) -> DetachLoadBalancerFromSubnetsFluentBuilder
 
pub fn detach_load_balancer_from_subnets( &self ) -> DetachLoadBalancerFromSubnetsFluentBuilder
Constructs a fluent builder for the DetachLoadBalancerFromSubnets operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- subnets(impl Into<String>)/- set_subnets(Option<Vec::<String>>):
 required: true- The IDs of the subnets. 
 
- On success, responds with DetachLoadBalancerFromSubnetsOutputwith field(s):- subnets(Option<Vec::<String>>):- The IDs of the remaining subnets for the load balancer. 
 
- On failure, responds with SdkError<DetachLoadBalancerFromSubnetsError>
source§impl Client
 
impl Client
sourcepub fn disable_availability_zones_for_load_balancer(
    &self
) -> DisableAvailabilityZonesForLoadBalancerFluentBuilder
 
pub fn disable_availability_zones_for_load_balancer( &self ) -> DisableAvailabilityZonesForLoadBalancerFluentBuilder
Constructs a fluent builder for the DisableAvailabilityZonesForLoadBalancer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- availability_zones(impl Into<String>)/- set_availability_zones(Option<Vec::<String>>):
 required: true- The Availability Zones. 
 
- On success, responds with DisableAvailabilityZonesForLoadBalancerOutputwith field(s):- availability_zones(Option<Vec::<String>>):- The remaining Availability Zones for the load balancer. 
 
- On failure, responds with SdkError<DisableAvailabilityZonesForLoadBalancerError>
source§impl Client
 
impl Client
sourcepub fn enable_availability_zones_for_load_balancer(
    &self
) -> EnableAvailabilityZonesForLoadBalancerFluentBuilder
 
pub fn enable_availability_zones_for_load_balancer( &self ) -> EnableAvailabilityZonesForLoadBalancerFluentBuilder
Constructs a fluent builder for the EnableAvailabilityZonesForLoadBalancer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- availability_zones(impl Into<String>)/- set_availability_zones(Option<Vec::<String>>):
 required: true- The Availability Zones. These must be in the same region as the load balancer. 
 
- On success, responds with EnableAvailabilityZonesForLoadBalancerOutputwith field(s):- availability_zones(Option<Vec::<String>>):- The updated list of Availability Zones for the load balancer. 
 
- On failure, responds with SdkError<EnableAvailabilityZonesForLoadBalancerError>
source§impl Client
 
impl Client
sourcepub fn modify_load_balancer_attributes(
    &self
) -> ModifyLoadBalancerAttributesFluentBuilder
 
pub fn modify_load_balancer_attributes( &self ) -> ModifyLoadBalancerAttributesFluentBuilder
Constructs a fluent builder for the ModifyLoadBalancerAttributes operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- load_balancer_attributes(LoadBalancerAttributes)/- set_load_balancer_attributes(Option<LoadBalancerAttributes>):
 required: true- The attributes for the load balancer. 
 
- On success, responds with ModifyLoadBalancerAttributesOutputwith field(s):- load_balancer_name(Option<String>):- The name of the load balancer. 
- load_balancer_attributes(Option<LoadBalancerAttributes>):- Information about the load balancer attributes. 
 
- On failure, responds with SdkError<ModifyLoadBalancerAttributesError>
source§impl Client
 
impl Client
sourcepub fn register_instances_with_load_balancer(
    &self
) -> RegisterInstancesWithLoadBalancerFluentBuilder
 
pub fn register_instances_with_load_balancer( &self ) -> RegisterInstancesWithLoadBalancerFluentBuilder
Constructs a fluent builder for the RegisterInstancesWithLoadBalancer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- instances(Instance)/- set_instances(Option<Vec::<Instance>>):
 required: true- The IDs of the instances. 
 
- On success, responds with RegisterInstancesWithLoadBalancerOutputwith field(s):- instances(Option<Vec::<Instance>>):- The updated list of instances for the load balancer. 
 
- On failure, responds with SdkError<RegisterInstancesWithLoadBalancerError>
source§impl Client
 
impl Client
Constructs a fluent builder for the RemoveTags operation.
- The fluent builder is configurable:
- load_balancer_names(impl Into<String>)/- set_load_balancer_names(Option<Vec::<String>>):
 required: true- The name of the load balancer. You can specify a maximum of one load balancer name. 
- tags(TagKeyOnly)/- set_tags(Option<Vec::<TagKeyOnly>>):
 required: true- The list of tag keys to remove. 
 
- On success, responds with RemoveTagsOutput
- On failure, responds with SdkError<RemoveTagsError>
source§impl Client
 
impl Client
sourcepub fn set_load_balancer_listener_ssl_certificate(
    &self
) -> SetLoadBalancerListenerSSLCertificateFluentBuilder
 
pub fn set_load_balancer_listener_ssl_certificate( &self ) -> SetLoadBalancerListenerSSLCertificateFluentBuilder
Constructs a fluent builder for the SetLoadBalancerListenerSSLCertificate operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- load_balancer_port(i32)/- set_load_balancer_port(Option<i32>):
 required: true- The port that uses the specified SSL certificate. 
- ssl_certificate_id(impl Into<String>)/- set_ssl_certificate_id(Option<String>):
 required: true- The Amazon Resource Name (ARN) of the SSL certificate. 
 
- On success, responds with SetLoadBalancerListenerSslCertificateOutput
- On failure, responds with SdkError<SetLoadBalancerListenerSSLCertificateError>
source§impl Client
 
impl Client
sourcepub fn set_load_balancer_policies_for_backend_server(
    &self
) -> SetLoadBalancerPoliciesForBackendServerFluentBuilder
 
pub fn set_load_balancer_policies_for_backend_server( &self ) -> SetLoadBalancerPoliciesForBackendServerFluentBuilder
Constructs a fluent builder for the SetLoadBalancerPoliciesForBackendServer operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- instance_port(i32)/- set_instance_port(Option<i32>):
 required: true- The port number associated with the EC2 instance. 
- policy_names(impl Into<String>)/- set_policy_names(Option<Vec::<String>>):
 required: true- The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance. 
 
- On success, responds with SetLoadBalancerPoliciesForBackendServerOutput
- On failure, responds with SdkError<SetLoadBalancerPoliciesForBackendServerError>
source§impl Client
 
impl Client
sourcepub fn set_load_balancer_policies_of_listener(
    &self
) -> SetLoadBalancerPoliciesOfListenerFluentBuilder
 
pub fn set_load_balancer_policies_of_listener( &self ) -> SetLoadBalancerPoliciesOfListenerFluentBuilder
Constructs a fluent builder for the SetLoadBalancerPoliciesOfListener operation.
- The fluent builder is configurable:
- load_balancer_name(impl Into<String>)/- set_load_balancer_name(Option<String>):
 required: true- The name of the load balancer. 
- load_balancer_port(i32)/- set_load_balancer_port(Option<i32>):
 required: true- The external port of the load balancer. 
- policy_names(impl Into<String>)/- set_policy_names(Option<Vec::<String>>):
 required: true- The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled. 
 
- On success, responds with SetLoadBalancerPoliciesOfListenerOutput
- On failure, responds with SdkError<SetLoadBalancerPoliciesOfListenerError>
source§impl Client
 
impl Client
sourcepub fn from_conf(conf: Config) -> Self
 
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a sleep_implconfigured.
- Identity caching is enabled without a sleep_implandtime_sourceconfigured.
- No behavior_versionis provided.
The panic message for each of these will have instructions on how to resolve them.
source§impl Client
 
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
 
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it.
- This method will panic if the sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.
- This method will panic if no BehaviorVersionis provided. If you experience this panic, setbehavior_versionon the Config or enable thebehavior-version-latestCargo feature.