Skip to content

ElasticLoadBalancingClient#

Index > ElasticLoadBalancing > ElasticLoadBalancingClient

Auto-generated documentation for ElasticLoadBalancing type annotations stubs module types-aiobotocore-elb.

ElasticLoadBalancingClient#

Type annotations and code completion for session.create_client("elb") boto3 documentation

ElasticLoadBalancingClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_elb.client import ElasticLoadBalancingClient

session = get_session()
async with session.create_client("elb") as client:
    client: ElasticLoadBalancingClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("elb").exceptions structure.

ElasticLoadBalancingClient.exceptions usage example

async with session.create_client("elb") as client:
    try:
        do_something(client)
    except (
            client.AccessPointNotFoundException,
        client.CertificateNotFoundException,
        client.ClientError,
        client.DependencyThrottleException,
        client.DuplicateAccessPointNameException,
        client.DuplicateListenerException,
        client.DuplicatePolicyNameException,
        client.DuplicateTagKeysException,
        client.InvalidConfigurationRequestException,
        client.InvalidEndPointException,
        client.InvalidSchemeException,
        client.InvalidSecurityGroupException,
        client.InvalidSubnetException,
        client.ListenerNotFoundException,
        client.LoadBalancerAttributeNotFoundException,
        client.OperationNotPermittedException,
        client.PolicyNotFoundException,
        client.PolicyTypeNotFoundException,
        client.SubnetNotFoundException,
        client.TooManyAccessPointsException,
        client.TooManyPoliciesException,
        client.TooManyTagsException,
        client.UnsupportedProtocolException,
    ) as e:
        print(e)
ElasticLoadBalancingClient usage type checking example

from types_aiobotocore_elb.client import Exceptions

def handle_error(exc: Exceptions.AccessPointNotFoundException) -> None:
    ...

Methods#

add_tags#

Adds the specified tags to the specified load balancer.

Type annotations and code completion for session.create_client("elb").add_tags method. boto3 documentation

# add_tags method definition

await def add_tags(
    self,
    *,
    LoadBalancerNames: Sequence[str],
    Tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
# add_tags method usage example with argument unpacking

kwargs: AddTagsInputRequestTypeDef = {  # (1)
    "LoadBalancerNames": ...,
    "Tags": ...,
}

parent.add_tags(**kwargs)
  1. See AddTagsInputRequestTypeDef

apply_security_groups_to_load_balancer#

Associates one or more security groups with your load balancer in a virtual private cloud (VPC).

Type annotations and code completion for session.create_client("elb").apply_security_groups_to_load_balancer method. boto3 documentation

# apply_security_groups_to_load_balancer method definition

await def apply_security_groups_to_load_balancer(
    self,
    *,
    LoadBalancerName: str,
    SecurityGroups: Sequence[str],
) -> ApplySecurityGroupsToLoadBalancerOutputTypeDef:  # (1)
    ...
  1. See ApplySecurityGroupsToLoadBalancerOutputTypeDef
# apply_security_groups_to_load_balancer method usage example with argument unpacking

kwargs: ApplySecurityGroupsToLoadBalancerInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "SecurityGroups": ...,
}

parent.apply_security_groups_to_load_balancer(**kwargs)
  1. See ApplySecurityGroupsToLoadBalancerInputRequestTypeDef

attach_load_balancer_to_subnets#

Adds one or more subnets to the set of configured subnets for the specified load balancer.

Type annotations and code completion for session.create_client("elb").attach_load_balancer_to_subnets method. boto3 documentation

# attach_load_balancer_to_subnets method definition

await def attach_load_balancer_to_subnets(
    self,
    *,
    LoadBalancerName: str,
    Subnets: Sequence[str],
) -> AttachLoadBalancerToSubnetsOutputTypeDef:  # (1)
    ...
  1. See AttachLoadBalancerToSubnetsOutputTypeDef
# attach_load_balancer_to_subnets method usage example with argument unpacking

kwargs: AttachLoadBalancerToSubnetsInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "Subnets": ...,
}

parent.attach_load_balancer_to_subnets(**kwargs)
  1. See AttachLoadBalancerToSubnetsInputRequestTypeDef

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for session.create_client("elb").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for session.create_client("elb").close method. boto3 documentation

# close method definition

await def close(
    self,
) -> None:
    ...

configure_health_check#

Specifies the health check settings to use when evaluating the health state of your EC2 instances.

Type annotations and code completion for session.create_client("elb").configure_health_check method. boto3 documentation

# configure_health_check method definition

await def configure_health_check(
    self,
    *,
    LoadBalancerName: str,
    HealthCheck: HealthCheckTypeDef,  # (1)
) -> ConfigureHealthCheckOutputTypeDef:  # (2)
    ...
  1. See HealthCheckTypeDef
  2. See ConfigureHealthCheckOutputTypeDef
# configure_health_check method usage example with argument unpacking

kwargs: ConfigureHealthCheckInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "HealthCheck": ...,
}

parent.configure_health_check(**kwargs)
  1. See ConfigureHealthCheckInputRequestTypeDef

Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie.

Type annotations and code completion for session.create_client("elb").create_app_cookie_stickiness_policy method. boto3 documentation

# create_app_cookie_stickiness_policy method definition

await def create_app_cookie_stickiness_policy(
    self,
    *,
    LoadBalancerName: str,
    PolicyName: str,
    CookieName: str,
) -> Dict[str, Any]:
    ...
# create_app_cookie_stickiness_policy method usage example with argument unpacking

kwargs: CreateAppCookieStickinessPolicyInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "PolicyName": ...,
    "CookieName": ...,
}

parent.create_app_cookie_stickiness_policy(**kwargs)
  1. See CreateAppCookieStickinessPolicyInputRequestTypeDef

Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period.

Type annotations and code completion for session.create_client("elb").create_lb_cookie_stickiness_policy method. boto3 documentation

# create_lb_cookie_stickiness_policy method definition

await def create_lb_cookie_stickiness_policy(
    self,
    *,
    LoadBalancerName: str,
    PolicyName: str,
    CookieExpirationPeriod: int = ...,
) -> Dict[str, Any]:
    ...
# create_lb_cookie_stickiness_policy method usage example with argument unpacking

kwargs: CreateLBCookieStickinessPolicyInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "PolicyName": ...,
}

parent.create_lb_cookie_stickiness_policy(**kwargs)
  1. See CreateLBCookieStickinessPolicyInputRequestTypeDef

create_load_balancer#

Creates a Classic Load Balancer.

Type annotations and code completion for session.create_client("elb").create_load_balancer method. boto3 documentation

# create_load_balancer method definition

await def create_load_balancer(
    self,
    *,
    LoadBalancerName: str,
    Listeners: Sequence[ListenerTypeDef],  # (1)
    AvailabilityZones: Sequence[str] = ...,
    Subnets: Sequence[str] = ...,
    SecurityGroups: Sequence[str] = ...,
    Scheme: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateAccessPointOutputTypeDef:  # (3)
    ...
  1. See ListenerTypeDef
  2. See TagTypeDef
  3. See CreateAccessPointOutputTypeDef
# create_load_balancer method usage example with argument unpacking

kwargs: CreateAccessPointInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "Listeners": ...,
}

parent.create_load_balancer(**kwargs)
  1. See CreateAccessPointInputRequestTypeDef

create_load_balancer_listeners#

Creates one or more listeners for the specified load balancer.

Type annotations and code completion for session.create_client("elb").create_load_balancer_listeners method. boto3 documentation

# create_load_balancer_listeners method definition

await def create_load_balancer_listeners(
    self,
    *,
    LoadBalancerName: str,
    Listeners: Sequence[ListenerTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See ListenerTypeDef
# create_load_balancer_listeners method usage example with argument unpacking

kwargs: CreateLoadBalancerListenerInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "Listeners": ...,
}

parent.create_load_balancer_listeners(**kwargs)
  1. See CreateLoadBalancerListenerInputRequestTypeDef

create_load_balancer_policy#

Creates a policy with the specified attributes for the specified load balancer.

Type annotations and code completion for session.create_client("elb").create_load_balancer_policy method. boto3 documentation

# create_load_balancer_policy method definition

await def create_load_balancer_policy(
    self,
    *,
    LoadBalancerName: str,
    PolicyName: str,
    PolicyTypeName: str,
    PolicyAttributes: Sequence[PolicyAttributeTypeDef] = ...,  # (1)
) -> Dict[str, Any]:
    ...
  1. See PolicyAttributeTypeDef
# create_load_balancer_policy method usage example with argument unpacking

kwargs: CreateLoadBalancerPolicyInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "PolicyName": ...,
    "PolicyTypeName": ...,
}

parent.create_load_balancer_policy(**kwargs)
  1. See CreateLoadBalancerPolicyInputRequestTypeDef

delete_load_balancer#

Deletes the specified load balancer.

Type annotations and code completion for session.create_client("elb").delete_load_balancer method. boto3 documentation

# delete_load_balancer method definition

await def delete_load_balancer(
    self,
    *,
    LoadBalancerName: str,
) -> Dict[str, Any]:
    ...
# delete_load_balancer method usage example with argument unpacking

kwargs: DeleteAccessPointInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
}

parent.delete_load_balancer(**kwargs)
  1. See DeleteAccessPointInputRequestTypeDef

delete_load_balancer_listeners#

Deletes the specified listeners from the specified load balancer.

Type annotations and code completion for session.create_client("elb").delete_load_balancer_listeners method. boto3 documentation

# delete_load_balancer_listeners method definition

await def delete_load_balancer_listeners(
    self,
    *,
    LoadBalancerName: str,
    LoadBalancerPorts: Sequence[int],
) -> Dict[str, Any]:
    ...
# delete_load_balancer_listeners method usage example with argument unpacking

kwargs: DeleteLoadBalancerListenerInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "LoadBalancerPorts": ...,
}

parent.delete_load_balancer_listeners(**kwargs)
  1. See DeleteLoadBalancerListenerInputRequestTypeDef

delete_load_balancer_policy#

Deletes the specified policy from the specified load balancer.

Type annotations and code completion for session.create_client("elb").delete_load_balancer_policy method. boto3 documentation

# delete_load_balancer_policy method definition

await def delete_load_balancer_policy(
    self,
    *,
    LoadBalancerName: str,
    PolicyName: str,
) -> Dict[str, Any]:
    ...
# delete_load_balancer_policy method usage example with argument unpacking

kwargs: DeleteLoadBalancerPolicyInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "PolicyName": ...,
}

parent.delete_load_balancer_policy(**kwargs)
  1. See DeleteLoadBalancerPolicyInputRequestTypeDef

deregister_instances_from_load_balancer#

Deregisters the specified instances from the specified load balancer.

Type annotations and code completion for session.create_client("elb").deregister_instances_from_load_balancer method. boto3 documentation

# deregister_instances_from_load_balancer method definition

await def deregister_instances_from_load_balancer(
    self,
    *,
    LoadBalancerName: str,
    Instances: Sequence[InstanceTypeDef],  # (1)
) -> DeregisterEndPointsOutputTypeDef:  # (2)
    ...
  1. See InstanceTypeDef
  2. See DeregisterEndPointsOutputTypeDef
# deregister_instances_from_load_balancer method usage example with argument unpacking

kwargs: DeregisterEndPointsInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "Instances": ...,
}

parent.deregister_instances_from_load_balancer(**kwargs)
  1. See DeregisterEndPointsInputRequestTypeDef

describe_account_limits#

Describes the current Elastic Load Balancing resource limits for your AWS account.

Type annotations and code completion for session.create_client("elb").describe_account_limits method. boto3 documentation

# describe_account_limits method definition

await def describe_account_limits(
    self,
    *,
    Marker: str = ...,
    PageSize: int = ...,
) -> DescribeAccountLimitsOutputTypeDef:  # (1)
    ...
  1. See DescribeAccountLimitsOutputTypeDef
# describe_account_limits method usage example with argument unpacking

kwargs: DescribeAccountLimitsInputRequestTypeDef = {  # (1)
    "Marker": ...,
}

parent.describe_account_limits(**kwargs)
  1. See DescribeAccountLimitsInputRequestTypeDef

describe_instance_health#

Describes the state of the specified instances with respect to the specified load balancer.

Type annotations and code completion for session.create_client("elb").describe_instance_health method. boto3 documentation

# describe_instance_health method definition

await def describe_instance_health(
    self,
    *,
    LoadBalancerName: str,
    Instances: Sequence[InstanceTypeDef] = ...,  # (1)
) -> DescribeEndPointStateOutputTypeDef:  # (2)
    ...
  1. See InstanceTypeDef
  2. See DescribeEndPointStateOutputTypeDef
# describe_instance_health method usage example with argument unpacking

kwargs: DescribeEndPointStateInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
}

parent.describe_instance_health(**kwargs)
  1. See DescribeEndPointStateInputRequestTypeDef

describe_load_balancer_attributes#

Describes the attributes for the specified load balancer.

Type annotations and code completion for session.create_client("elb").describe_load_balancer_attributes method. boto3 documentation

# describe_load_balancer_attributes method definition

await def describe_load_balancer_attributes(
    self,
    *,
    LoadBalancerName: str,
) -> DescribeLoadBalancerAttributesOutputTypeDef:  # (1)
    ...
  1. See DescribeLoadBalancerAttributesOutputTypeDef
# describe_load_balancer_attributes method usage example with argument unpacking

kwargs: DescribeLoadBalancerAttributesInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
}

parent.describe_load_balancer_attributes(**kwargs)
  1. See DescribeLoadBalancerAttributesInputRequestTypeDef

describe_load_balancer_policies#

Describes the specified policies.

Type annotations and code completion for session.create_client("elb").describe_load_balancer_policies method. boto3 documentation

# describe_load_balancer_policies method definition

await def describe_load_balancer_policies(
    self,
    *,
    LoadBalancerName: str = ...,
    PolicyNames: Sequence[str] = ...,
) -> DescribeLoadBalancerPoliciesOutputTypeDef:  # (1)
    ...
  1. See DescribeLoadBalancerPoliciesOutputTypeDef
# describe_load_balancer_policies method usage example with argument unpacking

kwargs: DescribeLoadBalancerPoliciesInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
}

parent.describe_load_balancer_policies(**kwargs)
  1. See DescribeLoadBalancerPoliciesInputRequestTypeDef

describe_load_balancer_policy_types#

Describes the specified load balancer policy types or all load balancer policy types.

Type annotations and code completion for session.create_client("elb").describe_load_balancer_policy_types method. boto3 documentation

# describe_load_balancer_policy_types method definition

await def describe_load_balancer_policy_types(
    self,
    *,
    PolicyTypeNames: Sequence[str] = ...,
) -> DescribeLoadBalancerPolicyTypesOutputTypeDef:  # (1)
    ...
  1. See DescribeLoadBalancerPolicyTypesOutputTypeDef
# describe_load_balancer_policy_types method usage example with argument unpacking

kwargs: DescribeLoadBalancerPolicyTypesInputRequestTypeDef = {  # (1)
    "PolicyTypeNames": ...,
}

parent.describe_load_balancer_policy_types(**kwargs)
  1. See DescribeLoadBalancerPolicyTypesInputRequestTypeDef

describe_load_balancers#

Describes the specified the load balancers.

Type annotations and code completion for session.create_client("elb").describe_load_balancers method. boto3 documentation

# describe_load_balancers method definition

await def describe_load_balancers(
    self,
    *,
    LoadBalancerNames: Sequence[str] = ...,
    Marker: str = ...,
    PageSize: int = ...,
) -> DescribeAccessPointsOutputTypeDef:  # (1)
    ...
  1. See DescribeAccessPointsOutputTypeDef
# describe_load_balancers method usage example with argument unpacking

kwargs: DescribeAccessPointsInputRequestTypeDef = {  # (1)
    "LoadBalancerNames": ...,
}

parent.describe_load_balancers(**kwargs)
  1. See DescribeAccessPointsInputRequestTypeDef

describe_tags#

Describes the tags associated with the specified load balancers.

Type annotations and code completion for session.create_client("elb").describe_tags method. boto3 documentation

# describe_tags method definition

await def describe_tags(
    self,
    *,
    LoadBalancerNames: Sequence[str],
) -> DescribeTagsOutputTypeDef:  # (1)
    ...
  1. See DescribeTagsOutputTypeDef
# describe_tags method usage example with argument unpacking

kwargs: DescribeTagsInputRequestTypeDef = {  # (1)
    "LoadBalancerNames": ...,
}

parent.describe_tags(**kwargs)
  1. See DescribeTagsInputRequestTypeDef

detach_load_balancer_from_subnets#

Removes the specified subnets from the set of configured subnets for the load balancer.

Type annotations and code completion for session.create_client("elb").detach_load_balancer_from_subnets method. boto3 documentation

# detach_load_balancer_from_subnets method definition

await def detach_load_balancer_from_subnets(
    self,
    *,
    LoadBalancerName: str,
    Subnets: Sequence[str],
) -> DetachLoadBalancerFromSubnetsOutputTypeDef:  # (1)
    ...
  1. See DetachLoadBalancerFromSubnetsOutputTypeDef
# detach_load_balancer_from_subnets method usage example with argument unpacking

kwargs: DetachLoadBalancerFromSubnetsInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "Subnets": ...,
}

parent.detach_load_balancer_from_subnets(**kwargs)
  1. See DetachLoadBalancerFromSubnetsInputRequestTypeDef

disable_availability_zones_for_load_balancer#

Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.

Type annotations and code completion for session.create_client("elb").disable_availability_zones_for_load_balancer method. boto3 documentation

# disable_availability_zones_for_load_balancer method definition

await def disable_availability_zones_for_load_balancer(
    self,
    *,
    LoadBalancerName: str,
    AvailabilityZones: Sequence[str],
) -> RemoveAvailabilityZonesOutputTypeDef:  # (1)
    ...
  1. See RemoveAvailabilityZonesOutputTypeDef
# disable_availability_zones_for_load_balancer method usage example with argument unpacking

kwargs: RemoveAvailabilityZonesInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "AvailabilityZones": ...,
}

parent.disable_availability_zones_for_load_balancer(**kwargs)
  1. See RemoveAvailabilityZonesInputRequestTypeDef

enable_availability_zones_for_load_balancer#

Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.

Type annotations and code completion for session.create_client("elb").enable_availability_zones_for_load_balancer method. boto3 documentation

# enable_availability_zones_for_load_balancer method definition

await def enable_availability_zones_for_load_balancer(
    self,
    *,
    LoadBalancerName: str,
    AvailabilityZones: Sequence[str],
) -> AddAvailabilityZonesOutputTypeDef:  # (1)
    ...
  1. See AddAvailabilityZonesOutputTypeDef
# enable_availability_zones_for_load_balancer method usage example with argument unpacking

kwargs: AddAvailabilityZonesInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "AvailabilityZones": ...,
}

parent.enable_availability_zones_for_load_balancer(**kwargs)
  1. See AddAvailabilityZonesInputRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for session.create_client("elb").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

await def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

modify_load_balancer_attributes#

Modifies the attributes of the specified load balancer.

Type annotations and code completion for session.create_client("elb").modify_load_balancer_attributes method. boto3 documentation

# modify_load_balancer_attributes method definition

await def modify_load_balancer_attributes(
    self,
    *,
    LoadBalancerName: str,
    LoadBalancerAttributes: LoadBalancerAttributesTypeDef,  # (1)
) -> ModifyLoadBalancerAttributesOutputTypeDef:  # (2)
    ...
  1. See LoadBalancerAttributesTypeDef
  2. See ModifyLoadBalancerAttributesOutputTypeDef
# modify_load_balancer_attributes method usage example with argument unpacking

kwargs: ModifyLoadBalancerAttributesInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "LoadBalancerAttributes": ...,
}

parent.modify_load_balancer_attributes(**kwargs)
  1. See ModifyLoadBalancerAttributesInputRequestTypeDef

register_instances_with_load_balancer#

Adds the specified instances to the specified load balancer.

Type annotations and code completion for session.create_client("elb").register_instances_with_load_balancer method. boto3 documentation

# register_instances_with_load_balancer method definition

await def register_instances_with_load_balancer(
    self,
    *,
    LoadBalancerName: str,
    Instances: Sequence[InstanceTypeDef],  # (1)
) -> RegisterEndPointsOutputTypeDef:  # (2)
    ...
  1. See InstanceTypeDef
  2. See RegisterEndPointsOutputTypeDef
# register_instances_with_load_balancer method usage example with argument unpacking

kwargs: RegisterEndPointsInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "Instances": ...,
}

parent.register_instances_with_load_balancer(**kwargs)
  1. See RegisterEndPointsInputRequestTypeDef

remove_tags#

Removes one or more tags from the specified load balancer.

Type annotations and code completion for session.create_client("elb").remove_tags method. boto3 documentation

# remove_tags method definition

await def remove_tags(
    self,
    *,
    LoadBalancerNames: Sequence[str],
    Tags: Sequence[TagKeyOnlyTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagKeyOnlyTypeDef
# remove_tags method usage example with argument unpacking

kwargs: RemoveTagsInputRequestTypeDef = {  # (1)
    "LoadBalancerNames": ...,
    "Tags": ...,
}

parent.remove_tags(**kwargs)
  1. See RemoveTagsInputRequestTypeDef

set_load_balancer_listener_ssl_certificate#

Sets the certificate that terminates the specified listener's SSL connections.

Type annotations and code completion for session.create_client("elb").set_load_balancer_listener_ssl_certificate method. boto3 documentation

# set_load_balancer_listener_ssl_certificate method definition

await def set_load_balancer_listener_ssl_certificate(
    self,
    *,
    LoadBalancerName: str,
    LoadBalancerPort: int,
    SSLCertificateId: str,
) -> Dict[str, Any]:
    ...
# set_load_balancer_listener_ssl_certificate method usage example with argument unpacking

kwargs: SetLoadBalancerListenerSSLCertificateInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "LoadBalancerPort": ...,
    "SSLCertificateId": ...,
}

parent.set_load_balancer_listener_ssl_certificate(**kwargs)
  1. See SetLoadBalancerListenerSSLCertificateInputRequestTypeDef

set_load_balancer_policies_for_backend_server#

Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies.

Type annotations and code completion for session.create_client("elb").set_load_balancer_policies_for_backend_server method. boto3 documentation

# set_load_balancer_policies_for_backend_server method definition

await def set_load_balancer_policies_for_backend_server(
    self,
    *,
    LoadBalancerName: str,
    InstancePort: int,
    PolicyNames: Sequence[str],
) -> Dict[str, Any]:
    ...
# set_load_balancer_policies_for_backend_server method usage example with argument unpacking

kwargs: SetLoadBalancerPoliciesForBackendServerInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "InstancePort": ...,
    "PolicyNames": ...,
}

parent.set_load_balancer_policies_for_backend_server(**kwargs)
  1. See SetLoadBalancerPoliciesForBackendServerInputRequestTypeDef

set_load_balancer_policies_of_listener#

Replaces the current set of policies for the specified load balancer port with the specified set of policies.

Type annotations and code completion for session.create_client("elb").set_load_balancer_policies_of_listener method. boto3 documentation

# set_load_balancer_policies_of_listener method definition

await def set_load_balancer_policies_of_listener(
    self,
    *,
    LoadBalancerName: str,
    LoadBalancerPort: int,
    PolicyNames: Sequence[str],
) -> Dict[str, Any]:
    ...
# set_load_balancer_policies_of_listener method usage example with argument unpacking

kwargs: SetLoadBalancerPoliciesOfListenerInputRequestTypeDef = {  # (1)
    "LoadBalancerName": ...,
    "LoadBalancerPort": ...,
    "PolicyNames": ...,
}

parent.set_load_balancer_policies_of_listener(**kwargs)
  1. See SetLoadBalancerPoliciesOfListenerInputRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("elb").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> ElasticLoadBalancingClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("elb").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator#

Type annotations and code completion for session.create_client("elb").get_paginator method with overloads.

get_waiter#

Type annotations and code completion for session.create_client("elb").get_waiter method with overloads.