Skip to content

Typed dictionaries#

Index > ElasticLoadBalancingv2 > Typed dictionaries

Auto-generated documentation for ElasticLoadBalancingv2 type annotations stubs module mypy-boto3-elbv2.

AuthenticateCognitoActionConfigTypeDef#

# AuthenticateCognitoActionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import AuthenticateCognitoActionConfigTypeDef

def get_value() -> AuthenticateCognitoActionConfigTypeDef:
    return {
        "UserPoolArn": ...,
        "UserPoolClientId": ...,
        "UserPoolDomain": ...,
    }
# AuthenticateCognitoActionConfigTypeDef definition

class AuthenticateCognitoActionConfigTypeDef(TypedDict):
    UserPoolArn: str,
    UserPoolClientId: str,
    UserPoolDomain: str,
    SessionCookieName: NotRequired[str],
    Scope: NotRequired[str],
    SessionTimeout: NotRequired[int],
    AuthenticationRequestExtraParams: NotRequired[Mapping[str, str]],
    OnUnauthenticatedRequest: NotRequired[AuthenticateCognitoActionConditionalBehaviorEnumType],  # (1)
  1. See AuthenticateCognitoActionConditionalBehaviorEnumType

AuthenticateOidcActionConfigTypeDef#

# AuthenticateOidcActionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import AuthenticateOidcActionConfigTypeDef

def get_value() -> AuthenticateOidcActionConfigTypeDef:
    return {
        "Issuer": ...,
        "AuthorizationEndpoint": ...,
        "TokenEndpoint": ...,
        "UserInfoEndpoint": ...,
        "ClientId": ...,
    }
# AuthenticateOidcActionConfigTypeDef definition

class AuthenticateOidcActionConfigTypeDef(TypedDict):
    Issuer: str,
    AuthorizationEndpoint: str,
    TokenEndpoint: str,
    UserInfoEndpoint: str,
    ClientId: str,
    ClientSecret: NotRequired[str],
    SessionCookieName: NotRequired[str],
    Scope: NotRequired[str],
    SessionTimeout: NotRequired[int],
    AuthenticationRequestExtraParams: NotRequired[Mapping[str, str]],
    OnUnauthenticatedRequest: NotRequired[AuthenticateOidcActionConditionalBehaviorEnumType],  # (1)
    UseExistingClientSecret: NotRequired[bool],
  1. See AuthenticateOidcActionConditionalBehaviorEnumType

FixedResponseActionConfigTypeDef#

# FixedResponseActionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import FixedResponseActionConfigTypeDef

def get_value() -> FixedResponseActionConfigTypeDef:
    return {
        "StatusCode": ...,
    }
# FixedResponseActionConfigTypeDef definition

class FixedResponseActionConfigTypeDef(TypedDict):
    StatusCode: str,
    MessageBody: NotRequired[str],
    ContentType: NotRequired[str],

RedirectActionConfigTypeDef#

# RedirectActionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import RedirectActionConfigTypeDef

def get_value() -> RedirectActionConfigTypeDef:
    return {
        "StatusCode": ...,
    }
# RedirectActionConfigTypeDef definition

class RedirectActionConfigTypeDef(TypedDict):
    StatusCode: RedirectActionStatusCodeEnumType,  # (1)
    Protocol: NotRequired[str],
    Port: NotRequired[str],
    Host: NotRequired[str],
    Path: NotRequired[str],
    Query: NotRequired[str],
  1. See RedirectActionStatusCodeEnumType

CertificateTypeDef#

# CertificateTypeDef usage example

from mypy_boto3_elbv2.type_defs import CertificateTypeDef

def get_value() -> CertificateTypeDef:
    return {
        "CertificateArn": ...,
    }
# CertificateTypeDef definition

class CertificateTypeDef(TypedDict):
    CertificateArn: NotRequired[str],
    IsDefault: NotRequired[bool],

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_elbv2.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

LoadBalancerAddressTypeDef#

# LoadBalancerAddressTypeDef usage example

from mypy_boto3_elbv2.type_defs import LoadBalancerAddressTypeDef

def get_value() -> LoadBalancerAddressTypeDef:
    return {
        "IpAddress": ...,
    }
# LoadBalancerAddressTypeDef definition

class LoadBalancerAddressTypeDef(TypedDict):
    IpAddress: NotRequired[str],
    AllocationId: NotRequired[str],
    PrivateIPv4Address: NotRequired[str],
    IPv6Address: NotRequired[str],

CipherTypeDef#

# CipherTypeDef usage example

from mypy_boto3_elbv2.type_defs import CipherTypeDef

def get_value() -> CipherTypeDef:
    return {
        "Name": ...,
    }
# CipherTypeDef definition

class CipherTypeDef(TypedDict):
    Name: NotRequired[str],
    Priority: NotRequired[int],

SubnetMappingTypeDef#

# SubnetMappingTypeDef usage example

from mypy_boto3_elbv2.type_defs import SubnetMappingTypeDef

def get_value() -> SubnetMappingTypeDef:
    return {
        "SubnetId": ...,
    }
# SubnetMappingTypeDef definition

class SubnetMappingTypeDef(TypedDict):
    SubnetId: NotRequired[str],
    AllocationId: NotRequired[str],
    PrivateIPv4Address: NotRequired[str],
    IPv6Address: NotRequired[str],

MatcherTypeDef#

# MatcherTypeDef usage example

from mypy_boto3_elbv2.type_defs import MatcherTypeDef

def get_value() -> MatcherTypeDef:
    return {
        "HttpCode": ...,
    }
# MatcherTypeDef definition

class MatcherTypeDef(TypedDict):
    HttpCode: NotRequired[str],
    GrpcCode: NotRequired[str],

DeleteListenerInputRequestTypeDef#

# DeleteListenerInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DeleteListenerInputRequestTypeDef

def get_value() -> DeleteListenerInputRequestTypeDef:
    return {
        "ListenerArn": ...,
    }
# DeleteListenerInputRequestTypeDef definition

class DeleteListenerInputRequestTypeDef(TypedDict):
    ListenerArn: str,

DeleteLoadBalancerInputRequestTypeDef#

# DeleteLoadBalancerInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DeleteLoadBalancerInputRequestTypeDef

def get_value() -> DeleteLoadBalancerInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# DeleteLoadBalancerInputRequestTypeDef definition

class DeleteLoadBalancerInputRequestTypeDef(TypedDict):
    LoadBalancerArn: str,

DeleteRuleInputRequestTypeDef#

# DeleteRuleInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DeleteRuleInputRequestTypeDef

def get_value() -> DeleteRuleInputRequestTypeDef:
    return {
        "RuleArn": ...,
    }
# DeleteRuleInputRequestTypeDef definition

class DeleteRuleInputRequestTypeDef(TypedDict):
    RuleArn: str,

DeleteTargetGroupInputRequestTypeDef#

# DeleteTargetGroupInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DeleteTargetGroupInputRequestTypeDef

def get_value() -> DeleteTargetGroupInputRequestTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# DeleteTargetGroupInputRequestTypeDef definition

class DeleteTargetGroupInputRequestTypeDef(TypedDict):
    TargetGroupArn: str,

TargetDescriptionTypeDef#

# TargetDescriptionTypeDef usage example

from mypy_boto3_elbv2.type_defs import TargetDescriptionTypeDef

def get_value() -> TargetDescriptionTypeDef:
    return {
        "Id": ...,
    }
# TargetDescriptionTypeDef definition

class TargetDescriptionTypeDef(TypedDict):
    Id: str,
    Port: NotRequired[int],
    AvailabilityZone: NotRequired[str],

DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef#

# DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef

def get_value() -> DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef definition

class DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeAccountLimitsInputRequestTypeDef#

# DescribeAccountLimitsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeAccountLimitsInputRequestTypeDef

def get_value() -> DescribeAccountLimitsInputRequestTypeDef:
    return {
        "Marker": ...,
    }
# DescribeAccountLimitsInputRequestTypeDef definition

class DescribeAccountLimitsInputRequestTypeDef(TypedDict):
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

LimitTypeDef#

# LimitTypeDef usage example

from mypy_boto3_elbv2.type_defs import LimitTypeDef

def get_value() -> LimitTypeDef:
    return {
        "Name": ...,
    }
# LimitTypeDef definition

class LimitTypeDef(TypedDict):
    Name: NotRequired[str],
    Max: NotRequired[str],

DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef#

# DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef

def get_value() -> DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef:
    return {
        "ListenerArn": ...,
    }
# DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef definition

class DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef(TypedDict):
    ListenerArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeListenerCertificatesInputRequestTypeDef#

# DescribeListenerCertificatesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeListenerCertificatesInputRequestTypeDef

def get_value() -> DescribeListenerCertificatesInputRequestTypeDef:
    return {
        "ListenerArn": ...,
    }
# DescribeListenerCertificatesInputRequestTypeDef definition

class DescribeListenerCertificatesInputRequestTypeDef(TypedDict):
    ListenerArn: str,
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

DescribeListenersInputDescribeListenersPaginateTypeDef#

# DescribeListenersInputDescribeListenersPaginateTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeListenersInputDescribeListenersPaginateTypeDef

def get_value() -> DescribeListenersInputDescribeListenersPaginateTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# DescribeListenersInputDescribeListenersPaginateTypeDef definition

class DescribeListenersInputDescribeListenersPaginateTypeDef(TypedDict):
    LoadBalancerArn: NotRequired[str],
    ListenerArns: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeListenersInputRequestTypeDef#

# DescribeListenersInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeListenersInputRequestTypeDef

def get_value() -> DescribeListenersInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# DescribeListenersInputRequestTypeDef definition

class DescribeListenersInputRequestTypeDef(TypedDict):
    LoadBalancerArn: NotRequired[str],
    ListenerArns: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

DescribeLoadBalancerAttributesInputRequestTypeDef#

# DescribeLoadBalancerAttributesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancerAttributesInputRequestTypeDef

def get_value() -> DescribeLoadBalancerAttributesInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# DescribeLoadBalancerAttributesInputRequestTypeDef definition

class DescribeLoadBalancerAttributesInputRequestTypeDef(TypedDict):
    LoadBalancerArn: str,

LoadBalancerAttributeTypeDef#

# LoadBalancerAttributeTypeDef usage example

from mypy_boto3_elbv2.type_defs import LoadBalancerAttributeTypeDef

def get_value() -> LoadBalancerAttributeTypeDef:
    return {
        "Key": ...,
    }
# LoadBalancerAttributeTypeDef definition

class LoadBalancerAttributeTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef#

# DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef

def get_value() -> DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef:
    return {
        "LoadBalancerArns": ...,
    }
# DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef definition

class DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef(TypedDict):
    LoadBalancerArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

WaiterConfigTypeDef#

# WaiterConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeLoadBalancersInputRequestTypeDef#

# DescribeLoadBalancersInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputRequestTypeDef

def get_value() -> DescribeLoadBalancersInputRequestTypeDef:
    return {
        "LoadBalancerArns": ...,
    }
# DescribeLoadBalancersInputRequestTypeDef definition

class DescribeLoadBalancersInputRequestTypeDef(TypedDict):
    LoadBalancerArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

DescribeRulesInputDescribeRulesPaginateTypeDef#

# DescribeRulesInputDescribeRulesPaginateTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeRulesInputDescribeRulesPaginateTypeDef

def get_value() -> DescribeRulesInputDescribeRulesPaginateTypeDef:
    return {
        "ListenerArn": ...,
    }
# DescribeRulesInputDescribeRulesPaginateTypeDef definition

class DescribeRulesInputDescribeRulesPaginateTypeDef(TypedDict):
    ListenerArn: NotRequired[str],
    RuleArns: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeRulesInputRequestTypeDef#

# DescribeRulesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeRulesInputRequestTypeDef

def get_value() -> DescribeRulesInputRequestTypeDef:
    return {
        "ListenerArn": ...,
    }
# DescribeRulesInputRequestTypeDef definition

class DescribeRulesInputRequestTypeDef(TypedDict):
    ListenerArn: NotRequired[str],
    RuleArns: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef#

# DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef

def get_value() -> DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef:
    return {
        "Names": ...,
    }
# DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef definition

class DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef(TypedDict):
    Names: NotRequired[Sequence[str]],
    LoadBalancerType: NotRequired[LoadBalancerTypeEnumType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LoadBalancerTypeEnumType
  2. See PaginatorConfigTypeDef

DescribeSSLPoliciesInputRequestTypeDef#

# DescribeSSLPoliciesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeSSLPoliciesInputRequestTypeDef

def get_value() -> DescribeSSLPoliciesInputRequestTypeDef:
    return {
        "Names": ...,
    }
# DescribeSSLPoliciesInputRequestTypeDef definition

class DescribeSSLPoliciesInputRequestTypeDef(TypedDict):
    Names: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],
    LoadBalancerType: NotRequired[LoadBalancerTypeEnumType],  # (1)
  1. See LoadBalancerTypeEnumType

DescribeTagsInputRequestTypeDef#

# DescribeTagsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTagsInputRequestTypeDef

def get_value() -> DescribeTagsInputRequestTypeDef:
    return {
        "ResourceArns": ...,
    }
# DescribeTagsInputRequestTypeDef definition

class DescribeTagsInputRequestTypeDef(TypedDict):
    ResourceArns: Sequence[str],

DescribeTargetGroupAttributesInputRequestTypeDef#

# DescribeTargetGroupAttributesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetGroupAttributesInputRequestTypeDef

def get_value() -> DescribeTargetGroupAttributesInputRequestTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# DescribeTargetGroupAttributesInputRequestTypeDef definition

class DescribeTargetGroupAttributesInputRequestTypeDef(TypedDict):
    TargetGroupArn: str,

TargetGroupAttributeTypeDef#

# TargetGroupAttributeTypeDef usage example

from mypy_boto3_elbv2.type_defs import TargetGroupAttributeTypeDef

def get_value() -> TargetGroupAttributeTypeDef:
    return {
        "Key": ...,
    }
# TargetGroupAttributeTypeDef definition

class TargetGroupAttributeTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef#

# DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef

def get_value() -> DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef definition

class DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef(TypedDict):
    LoadBalancerArn: NotRequired[str],
    TargetGroupArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeTargetGroupsInputRequestTypeDef#

# DescribeTargetGroupsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetGroupsInputRequestTypeDef

def get_value() -> DescribeTargetGroupsInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# DescribeTargetGroupsInputRequestTypeDef definition

class DescribeTargetGroupsInputRequestTypeDef(TypedDict):
    LoadBalancerArn: NotRequired[str],
    TargetGroupArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

TargetGroupStickinessConfigTypeDef#

# TargetGroupStickinessConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import TargetGroupStickinessConfigTypeDef

def get_value() -> TargetGroupStickinessConfigTypeDef:
    return {
        "Enabled": ...,
    }
# TargetGroupStickinessConfigTypeDef definition

class TargetGroupStickinessConfigTypeDef(TypedDict):
    Enabled: NotRequired[bool],
    DurationSeconds: NotRequired[int],

TargetGroupTupleTypeDef#

# TargetGroupTupleTypeDef usage example

from mypy_boto3_elbv2.type_defs import TargetGroupTupleTypeDef

def get_value() -> TargetGroupTupleTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# TargetGroupTupleTypeDef definition

class TargetGroupTupleTypeDef(TypedDict):
    TargetGroupArn: NotRequired[str],
    Weight: NotRequired[int],

HostHeaderConditionConfigTypeDef#

# HostHeaderConditionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import HostHeaderConditionConfigTypeDef

def get_value() -> HostHeaderConditionConfigTypeDef:
    return {
        "Values": ...,
    }
# HostHeaderConditionConfigTypeDef definition

class HostHeaderConditionConfigTypeDef(TypedDict):
    Values: NotRequired[Sequence[str]],

HttpHeaderConditionConfigTypeDef#

# HttpHeaderConditionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import HttpHeaderConditionConfigTypeDef

def get_value() -> HttpHeaderConditionConfigTypeDef:
    return {
        "HttpHeaderName": ...,
    }
# HttpHeaderConditionConfigTypeDef definition

class HttpHeaderConditionConfigTypeDef(TypedDict):
    HttpHeaderName: NotRequired[str],
    Values: NotRequired[Sequence[str]],

HttpRequestMethodConditionConfigTypeDef#

# HttpRequestMethodConditionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import HttpRequestMethodConditionConfigTypeDef

def get_value() -> HttpRequestMethodConditionConfigTypeDef:
    return {
        "Values": ...,
    }
# HttpRequestMethodConditionConfigTypeDef definition

class HttpRequestMethodConditionConfigTypeDef(TypedDict):
    Values: NotRequired[Sequence[str]],

LoadBalancerStateTypeDef#

# LoadBalancerStateTypeDef usage example

from mypy_boto3_elbv2.type_defs import LoadBalancerStateTypeDef

def get_value() -> LoadBalancerStateTypeDef:
    return {
        "Code": ...,
    }
# LoadBalancerStateTypeDef definition

class LoadBalancerStateTypeDef(TypedDict):
    Code: NotRequired[LoadBalancerStateEnumType],  # (1)
    Reason: NotRequired[str],
  1. See LoadBalancerStateEnumType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

PathPatternConditionConfigTypeDef#

# PathPatternConditionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import PathPatternConditionConfigTypeDef

def get_value() -> PathPatternConditionConfigTypeDef:
    return {
        "Values": ...,
    }
# PathPatternConditionConfigTypeDef definition

class PathPatternConditionConfigTypeDef(TypedDict):
    Values: NotRequired[Sequence[str]],

QueryStringKeyValuePairTypeDef#

# QueryStringKeyValuePairTypeDef usage example

from mypy_boto3_elbv2.type_defs import QueryStringKeyValuePairTypeDef

def get_value() -> QueryStringKeyValuePairTypeDef:
    return {
        "Key": ...,
    }
# QueryStringKeyValuePairTypeDef definition

class QueryStringKeyValuePairTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

RemoveTagsInputRequestTypeDef#

# RemoveTagsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import RemoveTagsInputRequestTypeDef

def get_value() -> RemoveTagsInputRequestTypeDef:
    return {
        "ResourceArns": ...,
        "TagKeys": ...,
    }
# RemoveTagsInputRequestTypeDef definition

class RemoveTagsInputRequestTypeDef(TypedDict):
    ResourceArns: Sequence[str],
    TagKeys: Sequence[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_elbv2.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

SourceIpConditionConfigTypeDef#

# SourceIpConditionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import SourceIpConditionConfigTypeDef

def get_value() -> SourceIpConditionConfigTypeDef:
    return {
        "Values": ...,
    }
# SourceIpConditionConfigTypeDef definition

class SourceIpConditionConfigTypeDef(TypedDict):
    Values: NotRequired[Sequence[str]],

RulePriorityPairTypeDef#

# RulePriorityPairTypeDef usage example

from mypy_boto3_elbv2.type_defs import RulePriorityPairTypeDef

def get_value() -> RulePriorityPairTypeDef:
    return {
        "RuleArn": ...,
    }
# RulePriorityPairTypeDef definition

class RulePriorityPairTypeDef(TypedDict):
    RuleArn: NotRequired[str],
    Priority: NotRequired[int],

SetIpAddressTypeInputRequestTypeDef#

# SetIpAddressTypeInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetIpAddressTypeInputRequestTypeDef

def get_value() -> SetIpAddressTypeInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
        "IpAddressType": ...,
    }
# SetIpAddressTypeInputRequestTypeDef definition

class SetIpAddressTypeInputRequestTypeDef(TypedDict):
    LoadBalancerArn: str,
    IpAddressType: IpAddressTypeType,  # (1)
  1. See IpAddressTypeType

SetIpAddressTypeOutputTypeDef#

# SetIpAddressTypeOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetIpAddressTypeOutputTypeDef

def get_value() -> SetIpAddressTypeOutputTypeDef:
    return {
        "IpAddressType": ...,
        "ResponseMetadata": ...,
    }
# SetIpAddressTypeOutputTypeDef definition

class SetIpAddressTypeOutputTypeDef(TypedDict):
    IpAddressType: IpAddressTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IpAddressTypeType
  2. See ResponseMetadataTypeDef

SetSecurityGroupsInputRequestTypeDef#

# SetSecurityGroupsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetSecurityGroupsInputRequestTypeDef

def get_value() -> SetSecurityGroupsInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
        "SecurityGroups": ...,
    }
# SetSecurityGroupsInputRequestTypeDef definition

class SetSecurityGroupsInputRequestTypeDef(TypedDict):
    LoadBalancerArn: str,
    SecurityGroups: Sequence[str],

SetSecurityGroupsOutputTypeDef#

# SetSecurityGroupsOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetSecurityGroupsOutputTypeDef

def get_value() -> SetSecurityGroupsOutputTypeDef:
    return {
        "SecurityGroupIds": ...,
        "ResponseMetadata": ...,
    }
# SetSecurityGroupsOutputTypeDef definition

class SetSecurityGroupsOutputTypeDef(TypedDict):
    SecurityGroupIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

TargetHealthTypeDef#

# TargetHealthTypeDef usage example

from mypy_boto3_elbv2.type_defs import TargetHealthTypeDef

def get_value() -> TargetHealthTypeDef:
    return {
        "State": ...,
    }
# TargetHealthTypeDef definition

class TargetHealthTypeDef(TypedDict):
    State: NotRequired[TargetHealthStateEnumType],  # (1)
    Reason: NotRequired[TargetHealthReasonEnumType],  # (2)
    Description: NotRequired[str],
  1. See TargetHealthStateEnumType
  2. See TargetHealthReasonEnumType

AddListenerCertificatesInputRequestTypeDef#

# AddListenerCertificatesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import AddListenerCertificatesInputRequestTypeDef

def get_value() -> AddListenerCertificatesInputRequestTypeDef:
    return {
        "ListenerArn": ...,
        "Certificates": ...,
    }
# AddListenerCertificatesInputRequestTypeDef definition

class AddListenerCertificatesInputRequestTypeDef(TypedDict):
    ListenerArn: str,
    Certificates: Sequence[CertificateTypeDef],  # (1)
  1. See CertificateTypeDef

AddListenerCertificatesOutputTypeDef#

# AddListenerCertificatesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import AddListenerCertificatesOutputTypeDef

def get_value() -> AddListenerCertificatesOutputTypeDef:
    return {
        "Certificates": ...,
        "ResponseMetadata": ...,
    }
# AddListenerCertificatesOutputTypeDef definition

class AddListenerCertificatesOutputTypeDef(TypedDict):
    Certificates: List[CertificateTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CertificateTypeDef
  2. See ResponseMetadataTypeDef

DescribeListenerCertificatesOutputTypeDef#

# DescribeListenerCertificatesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeListenerCertificatesOutputTypeDef

def get_value() -> DescribeListenerCertificatesOutputTypeDef:
    return {
        "Certificates": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# DescribeListenerCertificatesOutputTypeDef definition

class DescribeListenerCertificatesOutputTypeDef(TypedDict):
    Certificates: List[CertificateTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CertificateTypeDef
  2. See ResponseMetadataTypeDef

RemoveListenerCertificatesInputRequestTypeDef#

# RemoveListenerCertificatesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import RemoveListenerCertificatesInputRequestTypeDef

def get_value() -> RemoveListenerCertificatesInputRequestTypeDef:
    return {
        "ListenerArn": ...,
        "Certificates": ...,
    }
# RemoveListenerCertificatesInputRequestTypeDef definition

class RemoveListenerCertificatesInputRequestTypeDef(TypedDict):
    ListenerArn: str,
    Certificates: Sequence[CertificateTypeDef],  # (1)
  1. See CertificateTypeDef

AddTagsInputRequestTypeDef#

# AddTagsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import AddTagsInputRequestTypeDef

def get_value() -> AddTagsInputRequestTypeDef:
    return {
        "ResourceArns": ...,
        "Tags": ...,
    }
# AddTagsInputRequestTypeDef definition

class AddTagsInputRequestTypeDef(TypedDict):
    ResourceArns: Sequence[str],
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

TagDescriptionTypeDef#

# TagDescriptionTypeDef usage example

from mypy_boto3_elbv2.type_defs import TagDescriptionTypeDef

def get_value() -> TagDescriptionTypeDef:
    return {
        "ResourceArn": ...,
    }
# TagDescriptionTypeDef definition

class TagDescriptionTypeDef(TypedDict):
    ResourceArn: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

AvailabilityZoneTypeDef#

# AvailabilityZoneTypeDef usage example

from mypy_boto3_elbv2.type_defs import AvailabilityZoneTypeDef

def get_value() -> AvailabilityZoneTypeDef:
    return {
        "ZoneName": ...,
    }
# AvailabilityZoneTypeDef definition

class AvailabilityZoneTypeDef(TypedDict):
    ZoneName: NotRequired[str],
    SubnetId: NotRequired[str],
    OutpostId: NotRequired[str],
    LoadBalancerAddresses: NotRequired[List[LoadBalancerAddressTypeDef]],  # (1)
  1. See LoadBalancerAddressTypeDef

SslPolicyTypeDef#

# SslPolicyTypeDef usage example

from mypy_boto3_elbv2.type_defs import SslPolicyTypeDef

def get_value() -> SslPolicyTypeDef:
    return {
        "SslProtocols": ...,
    }
# SslPolicyTypeDef definition

class SslPolicyTypeDef(TypedDict):
    SslProtocols: NotRequired[List[str]],
    Ciphers: NotRequired[List[CipherTypeDef]],  # (1)
    Name: NotRequired[str],
    SupportedLoadBalancerTypes: NotRequired[List[str]],
  1. See CipherTypeDef

CreateLoadBalancerInputRequestTypeDef#

# CreateLoadBalancerInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateLoadBalancerInputRequestTypeDef

def get_value() -> CreateLoadBalancerInputRequestTypeDef:
    return {
        "Name": ...,
    }
# CreateLoadBalancerInputRequestTypeDef definition

class CreateLoadBalancerInputRequestTypeDef(TypedDict):
    Name: str,
    Subnets: NotRequired[Sequence[str]],
    SubnetMappings: NotRequired[Sequence[SubnetMappingTypeDef]],  # (1)
    SecurityGroups: NotRequired[Sequence[str]],
    Scheme: NotRequired[LoadBalancerSchemeEnumType],  # (2)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
    Type: NotRequired[LoadBalancerTypeEnumType],  # (4)
    IpAddressType: NotRequired[IpAddressTypeType],  # (5)
    CustomerOwnedIpv4Pool: NotRequired[str],
  1. See SubnetMappingTypeDef
  2. See LoadBalancerSchemeEnumType
  3. See TagTypeDef
  4. See LoadBalancerTypeEnumType
  5. See IpAddressTypeType

SetSubnetsInputRequestTypeDef#

# SetSubnetsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetSubnetsInputRequestTypeDef

def get_value() -> SetSubnetsInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# SetSubnetsInputRequestTypeDef definition

class SetSubnetsInputRequestTypeDef(TypedDict):
    LoadBalancerArn: str,
    Subnets: NotRequired[Sequence[str]],
    SubnetMappings: NotRequired[Sequence[SubnetMappingTypeDef]],  # (1)
    IpAddressType: NotRequired[IpAddressTypeType],  # (2)
  1. See SubnetMappingTypeDef
  2. See IpAddressTypeType

CreateTargetGroupInputRequestTypeDef#

# CreateTargetGroupInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateTargetGroupInputRequestTypeDef

def get_value() -> CreateTargetGroupInputRequestTypeDef:
    return {
        "Name": ...,
    }
# CreateTargetGroupInputRequestTypeDef definition

class CreateTargetGroupInputRequestTypeDef(TypedDict):
    Name: str,
    Protocol: NotRequired[ProtocolEnumType],  # (1)
    ProtocolVersion: NotRequired[str],
    Port: NotRequired[int],
    VpcId: NotRequired[str],
    HealthCheckProtocol: NotRequired[ProtocolEnumType],  # (1)
    HealthCheckPort: NotRequired[str],
    HealthCheckEnabled: NotRequired[bool],
    HealthCheckPath: NotRequired[str],
    HealthCheckIntervalSeconds: NotRequired[int],
    HealthCheckTimeoutSeconds: NotRequired[int],
    HealthyThresholdCount: NotRequired[int],
    UnhealthyThresholdCount: NotRequired[int],
    Matcher: NotRequired[MatcherTypeDef],  # (3)
    TargetType: NotRequired[TargetTypeEnumType],  # (4)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (5)
    IpAddressType: NotRequired[TargetGroupIpAddressTypeEnumType],  # (6)
  1. See ProtocolEnumType
  2. See ProtocolEnumType
  3. See MatcherTypeDef
  4. See TargetTypeEnumType
  5. See TagTypeDef
  6. See TargetGroupIpAddressTypeEnumType

ModifyTargetGroupInputRequestTypeDef#

# ModifyTargetGroupInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyTargetGroupInputRequestTypeDef

def get_value() -> ModifyTargetGroupInputRequestTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# ModifyTargetGroupInputRequestTypeDef definition

class ModifyTargetGroupInputRequestTypeDef(TypedDict):
    TargetGroupArn: str,
    HealthCheckProtocol: NotRequired[ProtocolEnumType],  # (1)
    HealthCheckPort: NotRequired[str],
    HealthCheckPath: NotRequired[str],
    HealthCheckEnabled: NotRequired[bool],
    HealthCheckIntervalSeconds: NotRequired[int],
    HealthCheckTimeoutSeconds: NotRequired[int],
    HealthyThresholdCount: NotRequired[int],
    UnhealthyThresholdCount: NotRequired[int],
    Matcher: NotRequired[MatcherTypeDef],  # (2)
  1. See ProtocolEnumType
  2. See MatcherTypeDef

TargetGroupTypeDef#

# TargetGroupTypeDef usage example

from mypy_boto3_elbv2.type_defs import TargetGroupTypeDef

def get_value() -> TargetGroupTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# TargetGroupTypeDef definition

class TargetGroupTypeDef(TypedDict):
    TargetGroupArn: NotRequired[str],
    TargetGroupName: NotRequired[str],
    Protocol: NotRequired[ProtocolEnumType],  # (1)
    Port: NotRequired[int],
    VpcId: NotRequired[str],
    HealthCheckProtocol: NotRequired[ProtocolEnumType],  # (1)
    HealthCheckPort: NotRequired[str],
    HealthCheckEnabled: NotRequired[bool],
    HealthCheckIntervalSeconds: NotRequired[int],
    HealthCheckTimeoutSeconds: NotRequired[int],
    HealthyThresholdCount: NotRequired[int],
    UnhealthyThresholdCount: NotRequired[int],
    HealthCheckPath: NotRequired[str],
    Matcher: NotRequired[MatcherTypeDef],  # (3)
    LoadBalancerArns: NotRequired[List[str]],
    TargetType: NotRequired[TargetTypeEnumType],  # (4)
    ProtocolVersion: NotRequired[str],
    IpAddressType: NotRequired[TargetGroupIpAddressTypeEnumType],  # (5)
  1. See ProtocolEnumType
  2. See ProtocolEnumType
  3. See MatcherTypeDef
  4. See TargetTypeEnumType
  5. See TargetGroupIpAddressTypeEnumType

DeregisterTargetsInputRequestTypeDef#

# DeregisterTargetsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DeregisterTargetsInputRequestTypeDef

def get_value() -> DeregisterTargetsInputRequestTypeDef:
    return {
        "TargetGroupArn": ...,
        "Targets": ...,
    }
# DeregisterTargetsInputRequestTypeDef definition

class DeregisterTargetsInputRequestTypeDef(TypedDict):
    TargetGroupArn: str,
    Targets: Sequence[TargetDescriptionTypeDef],  # (1)
  1. See TargetDescriptionTypeDef

DescribeTargetHealthInputRequestTypeDef#

# DescribeTargetHealthInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetHealthInputRequestTypeDef

def get_value() -> DescribeTargetHealthInputRequestTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# DescribeTargetHealthInputRequestTypeDef definition

class DescribeTargetHealthInputRequestTypeDef(TypedDict):
    TargetGroupArn: str,
    Targets: NotRequired[Sequence[TargetDescriptionTypeDef]],  # (1)
  1. See TargetDescriptionTypeDef

RegisterTargetsInputRequestTypeDef#

# RegisterTargetsInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import RegisterTargetsInputRequestTypeDef

def get_value() -> RegisterTargetsInputRequestTypeDef:
    return {
        "TargetGroupArn": ...,
        "Targets": ...,
    }
# RegisterTargetsInputRequestTypeDef definition

class RegisterTargetsInputRequestTypeDef(TypedDict):
    TargetGroupArn: str,
    Targets: Sequence[TargetDescriptionTypeDef],  # (1)
  1. See TargetDescriptionTypeDef

DescribeAccountLimitsOutputTypeDef#

# DescribeAccountLimitsOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeAccountLimitsOutputTypeDef

def get_value() -> DescribeAccountLimitsOutputTypeDef:
    return {
        "Limits": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# DescribeAccountLimitsOutputTypeDef definition

class DescribeAccountLimitsOutputTypeDef(TypedDict):
    Limits: List[LimitTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LimitTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancerAttributesOutputTypeDef#

# DescribeLoadBalancerAttributesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancerAttributesOutputTypeDef

def get_value() -> DescribeLoadBalancerAttributesOutputTypeDef:
    return {
        "Attributes": ...,
        "ResponseMetadata": ...,
    }
# DescribeLoadBalancerAttributesOutputTypeDef definition

class DescribeLoadBalancerAttributesOutputTypeDef(TypedDict):
    Attributes: List[LoadBalancerAttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoadBalancerAttributeTypeDef
  2. See ResponseMetadataTypeDef

ModifyLoadBalancerAttributesInputRequestTypeDef#

# ModifyLoadBalancerAttributesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyLoadBalancerAttributesInputRequestTypeDef

def get_value() -> ModifyLoadBalancerAttributesInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
        "Attributes": ...,
    }
# ModifyLoadBalancerAttributesInputRequestTypeDef definition

class ModifyLoadBalancerAttributesInputRequestTypeDef(TypedDict):
    LoadBalancerArn: str,
    Attributes: Sequence[LoadBalancerAttributeTypeDef],  # (1)
  1. See LoadBalancerAttributeTypeDef

ModifyLoadBalancerAttributesOutputTypeDef#

# ModifyLoadBalancerAttributesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyLoadBalancerAttributesOutputTypeDef

def get_value() -> ModifyLoadBalancerAttributesOutputTypeDef:
    return {
        "Attributes": ...,
        "ResponseMetadata": ...,
    }
# ModifyLoadBalancerAttributesOutputTypeDef definition

class ModifyLoadBalancerAttributesOutputTypeDef(TypedDict):
    Attributes: List[LoadBalancerAttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoadBalancerAttributeTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef#

# DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef

def get_value() -> DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef:
    return {
        "LoadBalancerArns": ...,
    }
# DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef definition

class DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef(TypedDict):
    LoadBalancerArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef#

# DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef

def get_value() -> DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef:
    return {
        "LoadBalancerArns": ...,
    }
# DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef definition

class DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef(TypedDict):
    LoadBalancerArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef#

# DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef

def get_value() -> DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef:
    return {
        "LoadBalancerArns": ...,
    }
# DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef definition

class DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef(TypedDict):
    LoadBalancerArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

DescribeTargetHealthInputTargetDeregisteredWaitTypeDef#

# DescribeTargetHealthInputTargetDeregisteredWaitTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetHealthInputTargetDeregisteredWaitTypeDef

def get_value() -> DescribeTargetHealthInputTargetDeregisteredWaitTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# DescribeTargetHealthInputTargetDeregisteredWaitTypeDef definition

class DescribeTargetHealthInputTargetDeregisteredWaitTypeDef(TypedDict):
    TargetGroupArn: str,
    Targets: NotRequired[Sequence[TargetDescriptionTypeDef]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See TargetDescriptionTypeDef
  2. See WaiterConfigTypeDef

DescribeTargetHealthInputTargetInServiceWaitTypeDef#

# DescribeTargetHealthInputTargetInServiceWaitTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetHealthInputTargetInServiceWaitTypeDef

def get_value() -> DescribeTargetHealthInputTargetInServiceWaitTypeDef:
    return {
        "TargetGroupArn": ...,
    }
# DescribeTargetHealthInputTargetInServiceWaitTypeDef definition

class DescribeTargetHealthInputTargetInServiceWaitTypeDef(TypedDict):
    TargetGroupArn: str,
    Targets: NotRequired[Sequence[TargetDescriptionTypeDef]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See TargetDescriptionTypeDef
  2. See WaiterConfigTypeDef

DescribeTargetGroupAttributesOutputTypeDef#

# DescribeTargetGroupAttributesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetGroupAttributesOutputTypeDef

def get_value() -> DescribeTargetGroupAttributesOutputTypeDef:
    return {
        "Attributes": ...,
        "ResponseMetadata": ...,
    }
# DescribeTargetGroupAttributesOutputTypeDef definition

class DescribeTargetGroupAttributesOutputTypeDef(TypedDict):
    Attributes: List[TargetGroupAttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetGroupAttributeTypeDef
  2. See ResponseMetadataTypeDef

ModifyTargetGroupAttributesInputRequestTypeDef#

# ModifyTargetGroupAttributesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyTargetGroupAttributesInputRequestTypeDef

def get_value() -> ModifyTargetGroupAttributesInputRequestTypeDef:
    return {
        "TargetGroupArn": ...,
        "Attributes": ...,
    }
# ModifyTargetGroupAttributesInputRequestTypeDef definition

class ModifyTargetGroupAttributesInputRequestTypeDef(TypedDict):
    TargetGroupArn: str,
    Attributes: Sequence[TargetGroupAttributeTypeDef],  # (1)
  1. See TargetGroupAttributeTypeDef

ModifyTargetGroupAttributesOutputTypeDef#

# ModifyTargetGroupAttributesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyTargetGroupAttributesOutputTypeDef

def get_value() -> ModifyTargetGroupAttributesOutputTypeDef:
    return {
        "Attributes": ...,
        "ResponseMetadata": ...,
    }
# ModifyTargetGroupAttributesOutputTypeDef definition

class ModifyTargetGroupAttributesOutputTypeDef(TypedDict):
    Attributes: List[TargetGroupAttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetGroupAttributeTypeDef
  2. See ResponseMetadataTypeDef

ForwardActionConfigTypeDef#

# ForwardActionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import ForwardActionConfigTypeDef

def get_value() -> ForwardActionConfigTypeDef:
    return {
        "TargetGroups": ...,
    }
# ForwardActionConfigTypeDef definition

class ForwardActionConfigTypeDef(TypedDict):
    TargetGroups: NotRequired[Sequence[TargetGroupTupleTypeDef]],  # (1)
    TargetGroupStickinessConfig: NotRequired[TargetGroupStickinessConfigTypeDef],  # (2)
  1. See TargetGroupTupleTypeDef
  2. See TargetGroupStickinessConfigTypeDef

QueryStringConditionConfigTypeDef#

# QueryStringConditionConfigTypeDef usage example

from mypy_boto3_elbv2.type_defs import QueryStringConditionConfigTypeDef

def get_value() -> QueryStringConditionConfigTypeDef:
    return {
        "Values": ...,
    }
# QueryStringConditionConfigTypeDef definition

class QueryStringConditionConfigTypeDef(TypedDict):
    Values: NotRequired[Sequence[QueryStringKeyValuePairTypeDef]],  # (1)
  1. See QueryStringKeyValuePairTypeDef

SetRulePrioritiesInputRequestTypeDef#

# SetRulePrioritiesInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetRulePrioritiesInputRequestTypeDef

def get_value() -> SetRulePrioritiesInputRequestTypeDef:
    return {
        "RulePriorities": ...,
    }
# SetRulePrioritiesInputRequestTypeDef definition

class SetRulePrioritiesInputRequestTypeDef(TypedDict):
    RulePriorities: Sequence[RulePriorityPairTypeDef],  # (1)
  1. See RulePriorityPairTypeDef

TargetHealthDescriptionTypeDef#

# TargetHealthDescriptionTypeDef usage example

from mypy_boto3_elbv2.type_defs import TargetHealthDescriptionTypeDef

def get_value() -> TargetHealthDescriptionTypeDef:
    return {
        "Target": ...,
    }
# TargetHealthDescriptionTypeDef definition

class TargetHealthDescriptionTypeDef(TypedDict):
    Target: NotRequired[TargetDescriptionTypeDef],  # (1)
    HealthCheckPort: NotRequired[str],
    TargetHealth: NotRequired[TargetHealthTypeDef],  # (2)
  1. See TargetDescriptionTypeDef
  2. See TargetHealthTypeDef

DescribeTagsOutputTypeDef#

# DescribeTagsOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTagsOutputTypeDef

def get_value() -> DescribeTagsOutputTypeDef:
    return {
        "TagDescriptions": ...,
        "ResponseMetadata": ...,
    }
# DescribeTagsOutputTypeDef definition

class DescribeTagsOutputTypeDef(TypedDict):
    TagDescriptions: List[TagDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagDescriptionTypeDef
  2. See ResponseMetadataTypeDef

LoadBalancerTypeDef#

# LoadBalancerTypeDef usage example

from mypy_boto3_elbv2.type_defs import LoadBalancerTypeDef

def get_value() -> LoadBalancerTypeDef:
    return {
        "LoadBalancerArn": ...,
    }
# LoadBalancerTypeDef definition

class LoadBalancerTypeDef(TypedDict):
    LoadBalancerArn: NotRequired[str],
    DNSName: NotRequired[str],
    CanonicalHostedZoneId: NotRequired[str],
    CreatedTime: NotRequired[datetime],
    LoadBalancerName: NotRequired[str],
    Scheme: NotRequired[LoadBalancerSchemeEnumType],  # (1)
    VpcId: NotRequired[str],
    State: NotRequired[LoadBalancerStateTypeDef],  # (2)
    Type: NotRequired[LoadBalancerTypeEnumType],  # (3)
    AvailabilityZones: NotRequired[List[AvailabilityZoneTypeDef]],  # (4)
    SecurityGroups: NotRequired[List[str]],
    IpAddressType: NotRequired[IpAddressTypeType],  # (5)
    CustomerOwnedIpv4Pool: NotRequired[str],
  1. See LoadBalancerSchemeEnumType
  2. See LoadBalancerStateTypeDef
  3. See LoadBalancerTypeEnumType
  4. See AvailabilityZoneTypeDef
  5. See IpAddressTypeType

SetSubnetsOutputTypeDef#

# SetSubnetsOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetSubnetsOutputTypeDef

def get_value() -> SetSubnetsOutputTypeDef:
    return {
        "AvailabilityZones": ...,
        "IpAddressType": ...,
        "ResponseMetadata": ...,
    }
# SetSubnetsOutputTypeDef definition

class SetSubnetsOutputTypeDef(TypedDict):
    AvailabilityZones: List[AvailabilityZoneTypeDef],  # (1)
    IpAddressType: IpAddressTypeType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AvailabilityZoneTypeDef
  2. See IpAddressTypeType
  3. See ResponseMetadataTypeDef

DescribeSSLPoliciesOutputTypeDef#

# DescribeSSLPoliciesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeSSLPoliciesOutputTypeDef

def get_value() -> DescribeSSLPoliciesOutputTypeDef:
    return {
        "SslPolicies": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# DescribeSSLPoliciesOutputTypeDef definition

class DescribeSSLPoliciesOutputTypeDef(TypedDict):
    SslPolicies: List[SslPolicyTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SslPolicyTypeDef
  2. See ResponseMetadataTypeDef

CreateTargetGroupOutputTypeDef#

# CreateTargetGroupOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateTargetGroupOutputTypeDef

def get_value() -> CreateTargetGroupOutputTypeDef:
    return {
        "TargetGroups": ...,
        "ResponseMetadata": ...,
    }
# CreateTargetGroupOutputTypeDef definition

class CreateTargetGroupOutputTypeDef(TypedDict):
    TargetGroups: List[TargetGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetGroupTypeDef
  2. See ResponseMetadataTypeDef

DescribeTargetGroupsOutputTypeDef#

# DescribeTargetGroupsOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetGroupsOutputTypeDef

def get_value() -> DescribeTargetGroupsOutputTypeDef:
    return {
        "TargetGroups": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# DescribeTargetGroupsOutputTypeDef definition

class DescribeTargetGroupsOutputTypeDef(TypedDict):
    TargetGroups: List[TargetGroupTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetGroupTypeDef
  2. See ResponseMetadataTypeDef

ModifyTargetGroupOutputTypeDef#

# ModifyTargetGroupOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyTargetGroupOutputTypeDef

def get_value() -> ModifyTargetGroupOutputTypeDef:
    return {
        "TargetGroups": ...,
        "ResponseMetadata": ...,
    }
# ModifyTargetGroupOutputTypeDef definition

class ModifyTargetGroupOutputTypeDef(TypedDict):
    TargetGroups: List[TargetGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetGroupTypeDef
  2. See ResponseMetadataTypeDef

ActionTypeDef#

# ActionTypeDef usage example

from mypy_boto3_elbv2.type_defs import ActionTypeDef

def get_value() -> ActionTypeDef:
    return {
        "Type": ...,
    }
# ActionTypeDef definition

class ActionTypeDef(TypedDict):
    Type: ActionTypeEnumType,  # (1)
    TargetGroupArn: NotRequired[str],
    AuthenticateOidcConfig: NotRequired[AuthenticateOidcActionConfigTypeDef],  # (2)
    AuthenticateCognitoConfig: NotRequired[AuthenticateCognitoActionConfigTypeDef],  # (3)
    Order: NotRequired[int],
    RedirectConfig: NotRequired[RedirectActionConfigTypeDef],  # (4)
    FixedResponseConfig: NotRequired[FixedResponseActionConfigTypeDef],  # (5)
    ForwardConfig: NotRequired[ForwardActionConfigTypeDef],  # (6)
  1. See ActionTypeEnumType
  2. See AuthenticateOidcActionConfigTypeDef
  3. See AuthenticateCognitoActionConfigTypeDef
  4. See RedirectActionConfigTypeDef
  5. See FixedResponseActionConfigTypeDef
  6. See ForwardActionConfigTypeDef

RuleConditionTypeDef#

# RuleConditionTypeDef usage example

from mypy_boto3_elbv2.type_defs import RuleConditionTypeDef

def get_value() -> RuleConditionTypeDef:
    return {
        "Field": ...,
    }
# RuleConditionTypeDef definition

class RuleConditionTypeDef(TypedDict):
    Field: NotRequired[str],
    Values: NotRequired[Sequence[str]],
    HostHeaderConfig: NotRequired[HostHeaderConditionConfigTypeDef],  # (1)
    PathPatternConfig: NotRequired[PathPatternConditionConfigTypeDef],  # (2)
    HttpHeaderConfig: NotRequired[HttpHeaderConditionConfigTypeDef],  # (3)
    QueryStringConfig: NotRequired[QueryStringConditionConfigTypeDef],  # (4)
    HttpRequestMethodConfig: NotRequired[HttpRequestMethodConditionConfigTypeDef],  # (5)
    SourceIpConfig: NotRequired[SourceIpConditionConfigTypeDef],  # (6)
  1. See HostHeaderConditionConfigTypeDef
  2. See PathPatternConditionConfigTypeDef
  3. See HttpHeaderConditionConfigTypeDef
  4. See QueryStringConditionConfigTypeDef
  5. See HttpRequestMethodConditionConfigTypeDef
  6. See SourceIpConditionConfigTypeDef

DescribeTargetHealthOutputTypeDef#

# DescribeTargetHealthOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeTargetHealthOutputTypeDef

def get_value() -> DescribeTargetHealthOutputTypeDef:
    return {
        "TargetHealthDescriptions": ...,
        "ResponseMetadata": ...,
    }
# DescribeTargetHealthOutputTypeDef definition

class DescribeTargetHealthOutputTypeDef(TypedDict):
    TargetHealthDescriptions: List[TargetHealthDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TargetHealthDescriptionTypeDef
  2. See ResponseMetadataTypeDef

CreateLoadBalancerOutputTypeDef#

# CreateLoadBalancerOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateLoadBalancerOutputTypeDef

def get_value() -> CreateLoadBalancerOutputTypeDef:
    return {
        "LoadBalancers": ...,
        "ResponseMetadata": ...,
    }
# CreateLoadBalancerOutputTypeDef definition

class CreateLoadBalancerOutputTypeDef(TypedDict):
    LoadBalancers: List[LoadBalancerTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoadBalancerTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancersOutputTypeDef#

# DescribeLoadBalancersOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersOutputTypeDef

def get_value() -> DescribeLoadBalancersOutputTypeDef:
    return {
        "LoadBalancers": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# DescribeLoadBalancersOutputTypeDef definition

class DescribeLoadBalancersOutputTypeDef(TypedDict):
    LoadBalancers: List[LoadBalancerTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoadBalancerTypeDef
  2. See ResponseMetadataTypeDef

CreateListenerInputRequestTypeDef#

# CreateListenerInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateListenerInputRequestTypeDef

def get_value() -> CreateListenerInputRequestTypeDef:
    return {
        "LoadBalancerArn": ...,
        "DefaultActions": ...,
    }
# CreateListenerInputRequestTypeDef definition

class CreateListenerInputRequestTypeDef(TypedDict):
    LoadBalancerArn: str,
    DefaultActions: Sequence[ActionTypeDef],  # (1)
    Protocol: NotRequired[ProtocolEnumType],  # (2)
    Port: NotRequired[int],
    SslPolicy: NotRequired[str],
    Certificates: NotRequired[Sequence[CertificateTypeDef]],  # (3)
    AlpnPolicy: NotRequired[Sequence[str]],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See ActionTypeDef
  2. See ProtocolEnumType
  3. See CertificateTypeDef
  4. See TagTypeDef

ListenerTypeDef#

# ListenerTypeDef usage example

from mypy_boto3_elbv2.type_defs import ListenerTypeDef

def get_value() -> ListenerTypeDef:
    return {
        "ListenerArn": ...,
    }
# ListenerTypeDef definition

class ListenerTypeDef(TypedDict):
    ListenerArn: NotRequired[str],
    LoadBalancerArn: NotRequired[str],
    Port: NotRequired[int],
    Protocol: NotRequired[ProtocolEnumType],  # (1)
    Certificates: NotRequired[List[CertificateTypeDef]],  # (2)
    SslPolicy: NotRequired[str],
    DefaultActions: NotRequired[List[ActionTypeDef]],  # (3)
    AlpnPolicy: NotRequired[List[str]],
  1. See ProtocolEnumType
  2. See CertificateTypeDef
  3. See ActionTypeDef

ModifyListenerInputRequestTypeDef#

# ModifyListenerInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyListenerInputRequestTypeDef

def get_value() -> ModifyListenerInputRequestTypeDef:
    return {
        "ListenerArn": ...,
    }
# ModifyListenerInputRequestTypeDef definition

class ModifyListenerInputRequestTypeDef(TypedDict):
    ListenerArn: str,
    Port: NotRequired[int],
    Protocol: NotRequired[ProtocolEnumType],  # (1)
    SslPolicy: NotRequired[str],
    Certificates: NotRequired[Sequence[CertificateTypeDef]],  # (2)
    DefaultActions: NotRequired[Sequence[ActionTypeDef]],  # (3)
    AlpnPolicy: NotRequired[Sequence[str]],
  1. See ProtocolEnumType
  2. See CertificateTypeDef
  3. See ActionTypeDef

CreateRuleInputRequestTypeDef#

# CreateRuleInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateRuleInputRequestTypeDef

def get_value() -> CreateRuleInputRequestTypeDef:
    return {
        "ListenerArn": ...,
        "Conditions": ...,
        "Priority": ...,
        "Actions": ...,
    }
# CreateRuleInputRequestTypeDef definition

class CreateRuleInputRequestTypeDef(TypedDict):
    ListenerArn: str,
    Conditions: Sequence[RuleConditionTypeDef],  # (1)
    Priority: int,
    Actions: Sequence[ActionTypeDef],  # (2)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See RuleConditionTypeDef
  2. See ActionTypeDef
  3. See TagTypeDef

ModifyRuleInputRequestTypeDef#

# ModifyRuleInputRequestTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyRuleInputRequestTypeDef

def get_value() -> ModifyRuleInputRequestTypeDef:
    return {
        "RuleArn": ...,
    }
# ModifyRuleInputRequestTypeDef definition

class ModifyRuleInputRequestTypeDef(TypedDict):
    RuleArn: str,
    Conditions: NotRequired[Sequence[RuleConditionTypeDef]],  # (1)
    Actions: NotRequired[Sequence[ActionTypeDef]],  # (2)
  1. See RuleConditionTypeDef
  2. See ActionTypeDef

RuleTypeDef#

# RuleTypeDef usage example

from mypy_boto3_elbv2.type_defs import RuleTypeDef

def get_value() -> RuleTypeDef:
    return {
        "RuleArn": ...,
    }
# RuleTypeDef definition

class RuleTypeDef(TypedDict):
    RuleArn: NotRequired[str],
    Priority: NotRequired[str],
    Conditions: NotRequired[List[RuleConditionTypeDef]],  # (1)
    Actions: NotRequired[List[ActionTypeDef]],  # (2)
    IsDefault: NotRequired[bool],
  1. See RuleConditionTypeDef
  2. See ActionTypeDef

CreateListenerOutputTypeDef#

# CreateListenerOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateListenerOutputTypeDef

def get_value() -> CreateListenerOutputTypeDef:
    return {
        "Listeners": ...,
        "ResponseMetadata": ...,
    }
# CreateListenerOutputTypeDef definition

class CreateListenerOutputTypeDef(TypedDict):
    Listeners: List[ListenerTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListenerTypeDef
  2. See ResponseMetadataTypeDef

DescribeListenersOutputTypeDef#

# DescribeListenersOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeListenersOutputTypeDef

def get_value() -> DescribeListenersOutputTypeDef:
    return {
        "Listeners": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# DescribeListenersOutputTypeDef definition

class DescribeListenersOutputTypeDef(TypedDict):
    Listeners: List[ListenerTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListenerTypeDef
  2. See ResponseMetadataTypeDef

ModifyListenerOutputTypeDef#

# ModifyListenerOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyListenerOutputTypeDef

def get_value() -> ModifyListenerOutputTypeDef:
    return {
        "Listeners": ...,
        "ResponseMetadata": ...,
    }
# ModifyListenerOutputTypeDef definition

class ModifyListenerOutputTypeDef(TypedDict):
    Listeners: List[ListenerTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ListenerTypeDef
  2. See ResponseMetadataTypeDef

CreateRuleOutputTypeDef#

# CreateRuleOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import CreateRuleOutputTypeDef

def get_value() -> CreateRuleOutputTypeDef:
    return {
        "Rules": ...,
        "ResponseMetadata": ...,
    }
# CreateRuleOutputTypeDef definition

class CreateRuleOutputTypeDef(TypedDict):
    Rules: List[RuleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleTypeDef
  2. See ResponseMetadataTypeDef

DescribeRulesOutputTypeDef#

# DescribeRulesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import DescribeRulesOutputTypeDef

def get_value() -> DescribeRulesOutputTypeDef:
    return {
        "Rules": ...,
        "NextMarker": ...,
        "ResponseMetadata": ...,
    }
# DescribeRulesOutputTypeDef definition

class DescribeRulesOutputTypeDef(TypedDict):
    Rules: List[RuleTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleTypeDef
  2. See ResponseMetadataTypeDef

ModifyRuleOutputTypeDef#

# ModifyRuleOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import ModifyRuleOutputTypeDef

def get_value() -> ModifyRuleOutputTypeDef:
    return {
        "Rules": ...,
        "ResponseMetadata": ...,
    }
# ModifyRuleOutputTypeDef definition

class ModifyRuleOutputTypeDef(TypedDict):
    Rules: List[RuleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleTypeDef
  2. See ResponseMetadataTypeDef

SetRulePrioritiesOutputTypeDef#

# SetRulePrioritiesOutputTypeDef usage example

from mypy_boto3_elbv2.type_defs import SetRulePrioritiesOutputTypeDef

def get_value() -> SetRulePrioritiesOutputTypeDef:
    return {
        "Rules": ...,
        "ResponseMetadata": ...,
    }
# SetRulePrioritiesOutputTypeDef definition

class SetRulePrioritiesOutputTypeDef(TypedDict):
    Rules: List[RuleTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleTypeDef
  2. See ResponseMetadataTypeDef