Skip to content

Type definitions#

Index > ElasticLoadBalancingv2 > Type definitions

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

AuthenticateCognitoActionConfigUnionTypeDef#

# AuthenticateCognitoActionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import AuthenticateCognitoActionConfigUnionTypeDef


def get_value() -> AuthenticateCognitoActionConfigUnionTypeDef:
    return ...


# AuthenticateCognitoActionConfigUnionTypeDef definition

AuthenticateCognitoActionConfigUnionTypeDef = Union[
    AuthenticateCognitoActionConfigTypeDef,  # (1)
    AuthenticateCognitoActionConfigOutputTypeDef,  # (2)
]
  1. See AuthenticateCognitoActionConfigTypeDef
  2. See AuthenticateCognitoActionConfigOutputTypeDef

AuthenticateOidcActionConfigUnionTypeDef#

# AuthenticateOidcActionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import AuthenticateOidcActionConfigUnionTypeDef


def get_value() -> AuthenticateOidcActionConfigUnionTypeDef:
    return ...


# AuthenticateOidcActionConfigUnionTypeDef definition

AuthenticateOidcActionConfigUnionTypeDef = Union[
    AuthenticateOidcActionConfigTypeDef,  # (1)
    AuthenticateOidcActionConfigOutputTypeDef,  # (2)
]
  1. See AuthenticateOidcActionConfigTypeDef
  2. See AuthenticateOidcActionConfigOutputTypeDef

HostHeaderConditionConfigUnionTypeDef#

# HostHeaderConditionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import HostHeaderConditionConfigUnionTypeDef


def get_value() -> HostHeaderConditionConfigUnionTypeDef:
    return ...


# HostHeaderConditionConfigUnionTypeDef definition

HostHeaderConditionConfigUnionTypeDef = Union[
    HostHeaderConditionConfigTypeDef,  # (1)
    HostHeaderConditionConfigOutputTypeDef,  # (2)
]
  1. See HostHeaderConditionConfigTypeDef
  2. See HostHeaderConditionConfigOutputTypeDef

HttpHeaderConditionConfigUnionTypeDef#

# HttpHeaderConditionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import HttpHeaderConditionConfigUnionTypeDef


def get_value() -> HttpHeaderConditionConfigUnionTypeDef:
    return ...


# HttpHeaderConditionConfigUnionTypeDef definition

HttpHeaderConditionConfigUnionTypeDef = Union[
    HttpHeaderConditionConfigTypeDef,  # (1)
    HttpHeaderConditionConfigOutputTypeDef,  # (2)
]
  1. See HttpHeaderConditionConfigTypeDef
  2. See HttpHeaderConditionConfigOutputTypeDef

HttpRequestMethodConditionConfigUnionTypeDef#

# HttpRequestMethodConditionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import HttpRequestMethodConditionConfigUnionTypeDef


def get_value() -> HttpRequestMethodConditionConfigUnionTypeDef:
    return ...


# HttpRequestMethodConditionConfigUnionTypeDef definition

HttpRequestMethodConditionConfigUnionTypeDef = Union[
    HttpRequestMethodConditionConfigTypeDef,  # (1)
    HttpRequestMethodConditionConfigOutputTypeDef,  # (2)
]
  1. See HttpRequestMethodConditionConfigTypeDef
  2. See HttpRequestMethodConditionConfigOutputTypeDef

PathPatternConditionConfigUnionTypeDef#

# PathPatternConditionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import PathPatternConditionConfigUnionTypeDef


def get_value() -> PathPatternConditionConfigUnionTypeDef:
    return ...


# PathPatternConditionConfigUnionTypeDef definition

PathPatternConditionConfigUnionTypeDef = Union[
    PathPatternConditionConfigTypeDef,  # (1)
    PathPatternConditionConfigOutputTypeDef,  # (2)
]
  1. See PathPatternConditionConfigTypeDef
  2. See PathPatternConditionConfigOutputTypeDef

SourceIpConditionConfigUnionTypeDef#

# SourceIpConditionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import SourceIpConditionConfigUnionTypeDef


def get_value() -> SourceIpConditionConfigUnionTypeDef:
    return ...


# SourceIpConditionConfigUnionTypeDef definition

SourceIpConditionConfigUnionTypeDef = Union[
    SourceIpConditionConfigTypeDef,  # (1)
    SourceIpConditionConfigOutputTypeDef,  # (2)
]
  1. See SourceIpConditionConfigTypeDef
  2. See SourceIpConditionConfigOutputTypeDef

ForwardActionConfigUnionTypeDef#

# ForwardActionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import ForwardActionConfigUnionTypeDef


def get_value() -> ForwardActionConfigUnionTypeDef:
    return ...


# ForwardActionConfigUnionTypeDef definition

ForwardActionConfigUnionTypeDef = Union[
    ForwardActionConfigTypeDef,  # (1)
    ForwardActionConfigOutputTypeDef,  # (2)
]
  1. See ForwardActionConfigTypeDef
  2. See ForwardActionConfigOutputTypeDef

QueryStringConditionConfigUnionTypeDef#

# QueryStringConditionConfigUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import QueryStringConditionConfigUnionTypeDef


def get_value() -> QueryStringConditionConfigUnionTypeDef:
    return ...


# QueryStringConditionConfigUnionTypeDef definition

QueryStringConditionConfigUnionTypeDef = Union[
    QueryStringConditionConfigTypeDef,  # (1)
    QueryStringConditionConfigOutputTypeDef,  # (2)
]
  1. See QueryStringConditionConfigTypeDef
  2. See QueryStringConditionConfigOutputTypeDef

ActionUnionTypeDef#

# ActionUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import ActionUnionTypeDef


def get_value() -> ActionUnionTypeDef:
    return ...


# ActionUnionTypeDef definition

ActionUnionTypeDef = Union[
    ActionTypeDef,  # (1)
    ActionOutputTypeDef,  # (2)
]
  1. See ActionTypeDef
  2. See ActionOutputTypeDef

RuleConditionUnionTypeDef#

# RuleConditionUnionTypeDef Union usage example

from types_boto3_elbv2.type_defs import RuleConditionUnionTypeDef


def get_value() -> RuleConditionUnionTypeDef:
    return ...


# RuleConditionUnionTypeDef definition

RuleConditionUnionTypeDef = Union[
    RuleConditionTypeDef,  # (1)
    RuleConditionOutputTypeDef,  # (2)
]
  1. See RuleConditionTypeDef
  2. See RuleConditionOutputTypeDef

AuthenticateCognitoActionConfigOutputTypeDef#

# AuthenticateCognitoActionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AuthenticateCognitoActionConfigOutputTypeDef


def get_value() -> AuthenticateCognitoActionConfigOutputTypeDef:
    return {
        "UserPoolArn": ...,
    }


# AuthenticateCognitoActionConfigOutputTypeDef definition

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

AuthenticateOidcActionConfigOutputTypeDef#

# AuthenticateOidcActionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AuthenticateOidcActionConfigOutputTypeDef


def get_value() -> AuthenticateOidcActionConfigOutputTypeDef:
    return {
        "Issuer": ...,
    }


# AuthenticateOidcActionConfigOutputTypeDef definition

class AuthenticateOidcActionConfigOutputTypeDef(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[Dict[str, str]],
    OnUnauthenticatedRequest: NotRequired[AuthenticateOidcActionConditionalBehaviorEnumType],  # (1)
    UseExistingClientSecret: NotRequired[bool],
  1. See AuthenticateOidcActionConditionalBehaviorEnumType

FixedResponseActionConfigTypeDef#

# FixedResponseActionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import FixedResponseActionConfigTypeDef


def get_value() -> FixedResponseActionConfigTypeDef:
    return {
        "MessageBody": ...,
    }


# FixedResponseActionConfigTypeDef definition

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

RedirectActionConfigTypeDef#

# RedirectActionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RedirectActionConfigTypeDef


def get_value() -> RedirectActionConfigTypeDef:
    return {
        "Protocol": ...,
    }


# 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 TypedDict usage example

from types_boto3_elbv2.type_defs import CertificateTypeDef


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


# CertificateTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

TagTypeDef#

# TagTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import TagTypeDef


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


# TagTypeDef definition

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

RevocationContentTypeDef#

# RevocationContentTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RevocationContentTypeDef


def get_value() -> RevocationContentTypeDef:
    return {
        "S3Bucket": ...,
    }


# RevocationContentTypeDef definition

class RevocationContentTypeDef(TypedDict):
    S3Bucket: NotRequired[str],
    S3Key: NotRequired[str],
    S3ObjectVersion: NotRequired[str],
    RevocationType: NotRequired[RevocationTypeType],  # (1)
  1. See RevocationTypeType

TrustStoreRevocationTypeDef#

# TrustStoreRevocationTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import TrustStoreRevocationTypeDef


def get_value() -> TrustStoreRevocationTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# TrustStoreRevocationTypeDef definition

class TrustStoreRevocationTypeDef(TypedDict):
    TrustStoreArn: NotRequired[str],
    RevocationId: NotRequired[int],
    RevocationType: NotRequired[RevocationTypeType],  # (1)
    NumberOfRevokedEntries: NotRequired[int],
  1. See RevocationTypeType

AdministrativeOverrideTypeDef#

# AdministrativeOverrideTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AdministrativeOverrideTypeDef


def get_value() -> AdministrativeOverrideTypeDef:
    return {
        "State": ...,
    }


# AdministrativeOverrideTypeDef definition

class AdministrativeOverrideTypeDef(TypedDict):
    State: NotRequired[TargetAdministrativeOverrideStateEnumType],  # (1)
    Reason: NotRequired[TargetAdministrativeOverrideReasonEnumType],  # (2)
    Description: NotRequired[str],
  1. See TargetAdministrativeOverrideStateEnumType
  2. See TargetAdministrativeOverrideReasonEnumType

AnomalyDetectionTypeDef#

# AnomalyDetectionTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AnomalyDetectionTypeDef


def get_value() -> AnomalyDetectionTypeDef:
    return {
        "Result": ...,
    }


# AnomalyDetectionTypeDef definition

class AnomalyDetectionTypeDef(TypedDict):
    Result: NotRequired[AnomalyResultEnumType],  # (1)
    MitigationInEffect: NotRequired[MitigationInEffectEnumType],  # (2)
  1. See AnomalyResultEnumType
  2. See MitigationInEffectEnumType

AuthenticateCognitoActionConfigTypeDef#

# AuthenticateCognitoActionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AuthenticateCognitoActionConfigTypeDef


def get_value() -> AuthenticateCognitoActionConfigTypeDef:
    return {
        "UserPoolArn": ...,
    }


# 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 TypedDict usage example

from types_boto3_elbv2.type_defs import AuthenticateOidcActionConfigTypeDef


def get_value() -> AuthenticateOidcActionConfigTypeDef:
    return {
        "Issuer": ...,
    }


# 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

LoadBalancerAddressTypeDef#

# LoadBalancerAddressTypeDef TypedDict usage example

from types_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],

CapacityReservationStatusTypeDef#

# CapacityReservationStatusTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CapacityReservationStatusTypeDef


def get_value() -> CapacityReservationStatusTypeDef:
    return {
        "Code": ...,
    }


# CapacityReservationStatusTypeDef definition

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

CipherTypeDef#

# CipherTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CipherTypeDef


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


# CipherTypeDef definition

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

MutualAuthenticationAttributesTypeDef#

# MutualAuthenticationAttributesTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import MutualAuthenticationAttributesTypeDef


def get_value() -> MutualAuthenticationAttributesTypeDef:
    return {
        "Mode": ...,
    }


# MutualAuthenticationAttributesTypeDef definition

class MutualAuthenticationAttributesTypeDef(TypedDict):
    Mode: NotRequired[str],
    TrustStoreArn: NotRequired[str],
    IgnoreClientCertificateExpiry: NotRequired[bool],
    TrustStoreAssociationStatus: NotRequired[TrustStoreAssociationStatusEnumType],  # (1)
    AdvertiseTrustStoreCaNames: NotRequired[AdvertiseTrustStoreCaNamesEnumType],  # (2)
  1. See TrustStoreAssociationStatusEnumType
  2. See AdvertiseTrustStoreCaNamesEnumType

SubnetMappingTypeDef#

# SubnetMappingTypeDef TypedDict usage example

from types_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],
    SourceNatIpv6Prefix: NotRequired[str],

MatcherTypeDef#

# MatcherTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import MatcherTypeDef


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


# MatcherTypeDef definition

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

TrustStoreTypeDef#

# TrustStoreTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import TrustStoreTypeDef


def get_value() -> TrustStoreTypeDef:
    return {
        "Name": ...,
    }


# TrustStoreTypeDef definition

class TrustStoreTypeDef(TypedDict):
    Name: NotRequired[str],
    TrustStoreArn: NotRequired[str],
    Status: NotRequired[TrustStoreStatusType],  # (1)
    NumberOfCaCertificates: NotRequired[int],
    TotalRevokedEntries: NotRequired[int],
  1. See TrustStoreStatusType

DeleteListenerInputTypeDef#

# DeleteListenerInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DeleteListenerInputTypeDef


def get_value() -> DeleteListenerInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# DeleteListenerInputTypeDef definition

class DeleteListenerInputTypeDef(TypedDict):
    ListenerArn: str,

DeleteLoadBalancerInputTypeDef#

# DeleteLoadBalancerInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DeleteLoadBalancerInputTypeDef


def get_value() -> DeleteLoadBalancerInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# DeleteLoadBalancerInputTypeDef definition

class DeleteLoadBalancerInputTypeDef(TypedDict):
    LoadBalancerArn: str,

DeleteRuleInputTypeDef#

# DeleteRuleInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DeleteRuleInputTypeDef


def get_value() -> DeleteRuleInputTypeDef:
    return {
        "RuleArn": ...,
    }


# DeleteRuleInputTypeDef definition

class DeleteRuleInputTypeDef(TypedDict):
    RuleArn: str,

DeleteSharedTrustStoreAssociationInputTypeDef#

# DeleteSharedTrustStoreAssociationInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DeleteSharedTrustStoreAssociationInputTypeDef


def get_value() -> DeleteSharedTrustStoreAssociationInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# DeleteSharedTrustStoreAssociationInputTypeDef definition

class DeleteSharedTrustStoreAssociationInputTypeDef(TypedDict):
    TrustStoreArn: str,
    ResourceArn: str,

DeleteTargetGroupInputTypeDef#

# DeleteTargetGroupInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DeleteTargetGroupInputTypeDef


def get_value() -> DeleteTargetGroupInputTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# DeleteTargetGroupInputTypeDef definition

class DeleteTargetGroupInputTypeDef(TypedDict):
    TargetGroupArn: str,

DeleteTrustStoreInputTypeDef#

# DeleteTrustStoreInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DeleteTrustStoreInputTypeDef


def get_value() -> DeleteTrustStoreInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# DeleteTrustStoreInputTypeDef definition

class DeleteTrustStoreInputTypeDef(TypedDict):
    TrustStoreArn: str,

TargetDescriptionTypeDef#

# TargetDescriptionTypeDef TypedDict usage example

from types_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],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from types_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],

DescribeAccountLimitsInputTypeDef#

# DescribeAccountLimitsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeAccountLimitsInputTypeDef


def get_value() -> DescribeAccountLimitsInputTypeDef:
    return {
        "Marker": ...,
    }


# DescribeAccountLimitsInputTypeDef definition

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

LimitTypeDef#

# LimitTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import LimitTypeDef


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


# LimitTypeDef definition

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

DescribeCapacityReservationInputTypeDef#

# DescribeCapacityReservationInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeCapacityReservationInputTypeDef


def get_value() -> DescribeCapacityReservationInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# DescribeCapacityReservationInputTypeDef definition

class DescribeCapacityReservationInputTypeDef(TypedDict):
    LoadBalancerArn: str,

MinimumLoadBalancerCapacityTypeDef#

# MinimumLoadBalancerCapacityTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import MinimumLoadBalancerCapacityTypeDef


def get_value() -> MinimumLoadBalancerCapacityTypeDef:
    return {
        "CapacityUnits": ...,
    }


# MinimumLoadBalancerCapacityTypeDef definition

class MinimumLoadBalancerCapacityTypeDef(TypedDict):
    CapacityUnits: NotRequired[int],

DescribeListenerAttributesInputTypeDef#

# DescribeListenerAttributesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenerAttributesInputTypeDef


def get_value() -> DescribeListenerAttributesInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# DescribeListenerAttributesInputTypeDef definition

class DescribeListenerAttributesInputTypeDef(TypedDict):
    ListenerArn: str,

ListenerAttributeTypeDef#

# ListenerAttributeTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ListenerAttributeTypeDef


def get_value() -> ListenerAttributeTypeDef:
    return {
        "Key": ...,
    }


# ListenerAttributeTypeDef definition

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

DescribeListenerCertificatesInputTypeDef#

# DescribeListenerCertificatesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenerCertificatesInputTypeDef


def get_value() -> DescribeListenerCertificatesInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# DescribeListenerCertificatesInputTypeDef definition

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

DescribeListenersInputTypeDef#

# DescribeListenersInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenersInputTypeDef


def get_value() -> DescribeListenersInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# DescribeListenersInputTypeDef definition

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

DescribeLoadBalancerAttributesInputTypeDef#

# DescribeLoadBalancerAttributesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancerAttributesInputTypeDef


def get_value() -> DescribeLoadBalancerAttributesInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# DescribeLoadBalancerAttributesInputTypeDef definition

class DescribeLoadBalancerAttributesInputTypeDef(TypedDict):
    LoadBalancerArn: str,

LoadBalancerAttributeTypeDef#

# LoadBalancerAttributeTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import LoadBalancerAttributeTypeDef


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


# LoadBalancerAttributeTypeDef definition

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

DescribeLoadBalancersInputTypeDef#

# DescribeLoadBalancersInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancersInputTypeDef


def get_value() -> DescribeLoadBalancersInputTypeDef:
    return {
        "LoadBalancerArns": ...,
    }


# DescribeLoadBalancersInputTypeDef definition

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

WaiterConfigTypeDef#

# WaiterConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import WaiterConfigTypeDef


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


# WaiterConfigTypeDef definition

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

DescribeRulesInputTypeDef#

# DescribeRulesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeRulesInputTypeDef


def get_value() -> DescribeRulesInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# DescribeRulesInputTypeDef definition

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

DescribeSSLPoliciesInputTypeDef#

# DescribeSSLPoliciesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeSSLPoliciesInputTypeDef


def get_value() -> DescribeSSLPoliciesInputTypeDef:
    return {
        "Names": ...,
    }


# DescribeSSLPoliciesInputTypeDef definition

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

DescribeTagsInputTypeDef#

# DescribeTagsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTagsInputTypeDef


def get_value() -> DescribeTagsInputTypeDef:
    return {
        "ResourceArns": ...,
    }


# DescribeTagsInputTypeDef definition

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

DescribeTargetGroupAttributesInputTypeDef#

# DescribeTargetGroupAttributesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetGroupAttributesInputTypeDef


def get_value() -> DescribeTargetGroupAttributesInputTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# DescribeTargetGroupAttributesInputTypeDef definition

class DescribeTargetGroupAttributesInputTypeDef(TypedDict):
    TargetGroupArn: str,

TargetGroupAttributeTypeDef#

# TargetGroupAttributeTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import TargetGroupAttributeTypeDef


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


# TargetGroupAttributeTypeDef definition

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

DescribeTargetGroupsInputTypeDef#

# DescribeTargetGroupsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetGroupsInputTypeDef


def get_value() -> DescribeTargetGroupsInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# DescribeTargetGroupsInputTypeDef definition

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

DescribeTrustStoreAssociationsInputTypeDef#

# DescribeTrustStoreAssociationsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTrustStoreAssociationsInputTypeDef


def get_value() -> DescribeTrustStoreAssociationsInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# DescribeTrustStoreAssociationsInputTypeDef definition

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

TrustStoreAssociationTypeDef#

# TrustStoreAssociationTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import TrustStoreAssociationTypeDef


def get_value() -> TrustStoreAssociationTypeDef:
    return {
        "ResourceArn": ...,
    }


# TrustStoreAssociationTypeDef definition

class TrustStoreAssociationTypeDef(TypedDict):
    ResourceArn: NotRequired[str],

DescribeTrustStoreRevocationTypeDef#

# DescribeTrustStoreRevocationTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTrustStoreRevocationTypeDef


def get_value() -> DescribeTrustStoreRevocationTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# DescribeTrustStoreRevocationTypeDef definition

class DescribeTrustStoreRevocationTypeDef(TypedDict):
    TrustStoreArn: NotRequired[str],
    RevocationId: NotRequired[int],
    RevocationType: NotRequired[RevocationTypeType],  # (1)
    NumberOfRevokedEntries: NotRequired[int],
  1. See RevocationTypeType

DescribeTrustStoreRevocationsInputTypeDef#

# DescribeTrustStoreRevocationsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTrustStoreRevocationsInputTypeDef


def get_value() -> DescribeTrustStoreRevocationsInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# DescribeTrustStoreRevocationsInputTypeDef definition

class DescribeTrustStoreRevocationsInputTypeDef(TypedDict):
    TrustStoreArn: str,
    RevocationIds: NotRequired[Sequence[int]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

DescribeTrustStoresInputTypeDef#

# DescribeTrustStoresInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTrustStoresInputTypeDef


def get_value() -> DescribeTrustStoresInputTypeDef:
    return {
        "TrustStoreArns": ...,
    }


# DescribeTrustStoresInputTypeDef definition

class DescribeTrustStoresInputTypeDef(TypedDict):
    TrustStoreArns: NotRequired[Sequence[str]],
    Names: NotRequired[Sequence[str]],
    Marker: NotRequired[str],
    PageSize: NotRequired[int],

TargetGroupStickinessConfigTypeDef#

# TargetGroupStickinessConfigTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_elbv2.type_defs import TargetGroupTupleTypeDef


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


# TargetGroupTupleTypeDef definition

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

GetResourcePolicyInputTypeDef#

# GetResourcePolicyInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import GetResourcePolicyInputTypeDef


def get_value() -> GetResourcePolicyInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# GetResourcePolicyInputTypeDef definition

class GetResourcePolicyInputTypeDef(TypedDict):
    ResourceArn: str,

GetTrustStoreCaCertificatesBundleInputTypeDef#

# GetTrustStoreCaCertificatesBundleInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import GetTrustStoreCaCertificatesBundleInputTypeDef


def get_value() -> GetTrustStoreCaCertificatesBundleInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# GetTrustStoreCaCertificatesBundleInputTypeDef definition

class GetTrustStoreCaCertificatesBundleInputTypeDef(TypedDict):
    TrustStoreArn: str,

GetTrustStoreRevocationContentInputTypeDef#

# GetTrustStoreRevocationContentInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import GetTrustStoreRevocationContentInputTypeDef


def get_value() -> GetTrustStoreRevocationContentInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# GetTrustStoreRevocationContentInputTypeDef definition

class GetTrustStoreRevocationContentInputTypeDef(TypedDict):
    TrustStoreArn: str,
    RevocationId: int,

HostHeaderConditionConfigOutputTypeDef#

# HostHeaderConditionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import HostHeaderConditionConfigOutputTypeDef


def get_value() -> HostHeaderConditionConfigOutputTypeDef:
    return {
        "Values": ...,
    }


# HostHeaderConditionConfigOutputTypeDef definition

class HostHeaderConditionConfigOutputTypeDef(TypedDict):
    Values: NotRequired[List[str]],

HostHeaderConditionConfigTypeDef#

# HostHeaderConditionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import HostHeaderConditionConfigTypeDef


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


# HostHeaderConditionConfigTypeDef definition

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

HttpHeaderConditionConfigOutputTypeDef#

# HttpHeaderConditionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import HttpHeaderConditionConfigOutputTypeDef


def get_value() -> HttpHeaderConditionConfigOutputTypeDef:
    return {
        "HttpHeaderName": ...,
    }


# HttpHeaderConditionConfigOutputTypeDef definition

class HttpHeaderConditionConfigOutputTypeDef(TypedDict):
    HttpHeaderName: NotRequired[str],
    Values: NotRequired[List[str]],

HttpHeaderConditionConfigTypeDef#

# HttpHeaderConditionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import HttpHeaderConditionConfigTypeDef


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


# HttpHeaderConditionConfigTypeDef definition

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

HttpRequestMethodConditionConfigOutputTypeDef#

# HttpRequestMethodConditionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import HttpRequestMethodConditionConfigOutputTypeDef


def get_value() -> HttpRequestMethodConditionConfigOutputTypeDef:
    return {
        "Values": ...,
    }


# HttpRequestMethodConditionConfigOutputTypeDef definition

class HttpRequestMethodConditionConfigOutputTypeDef(TypedDict):
    Values: NotRequired[List[str]],

HttpRequestMethodConditionConfigTypeDef#

# HttpRequestMethodConditionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import HttpRequestMethodConditionConfigTypeDef


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


# HttpRequestMethodConditionConfigTypeDef definition

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

LoadBalancerStateTypeDef#

# LoadBalancerStateTypeDef TypedDict usage example

from types_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

ModifyTrustStoreInputTypeDef#

# ModifyTrustStoreInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyTrustStoreInputTypeDef


def get_value() -> ModifyTrustStoreInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# ModifyTrustStoreInputTypeDef definition

class ModifyTrustStoreInputTypeDef(TypedDict):
    TrustStoreArn: str,
    CaCertificatesBundleS3Bucket: str,
    CaCertificatesBundleS3Key: str,
    CaCertificatesBundleS3ObjectVersion: NotRequired[str],

PathPatternConditionConfigOutputTypeDef#

# PathPatternConditionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import PathPatternConditionConfigOutputTypeDef


def get_value() -> PathPatternConditionConfigOutputTypeDef:
    return {
        "Values": ...,
    }


# PathPatternConditionConfigOutputTypeDef definition

class PathPatternConditionConfigOutputTypeDef(TypedDict):
    Values: NotRequired[List[str]],

PathPatternConditionConfigTypeDef#

# PathPatternConditionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import PathPatternConditionConfigTypeDef


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


# PathPatternConditionConfigTypeDef definition

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

QueryStringKeyValuePairTypeDef#

# QueryStringKeyValuePairTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import QueryStringKeyValuePairTypeDef


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


# QueryStringKeyValuePairTypeDef definition

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

RemoveTagsInputTypeDef#

# RemoveTagsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RemoveTagsInputTypeDef


def get_value() -> RemoveTagsInputTypeDef:
    return {
        "ResourceArns": ...,
    }


# RemoveTagsInputTypeDef definition

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

RemoveTrustStoreRevocationsInputTypeDef#

# RemoveTrustStoreRevocationsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RemoveTrustStoreRevocationsInputTypeDef


def get_value() -> RemoveTrustStoreRevocationsInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# RemoveTrustStoreRevocationsInputTypeDef definition

class RemoveTrustStoreRevocationsInputTypeDef(TypedDict):
    TrustStoreArn: str,
    RevocationIds: Sequence[int],

SourceIpConditionConfigOutputTypeDef#

# SourceIpConditionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SourceIpConditionConfigOutputTypeDef


def get_value() -> SourceIpConditionConfigOutputTypeDef:
    return {
        "Values": ...,
    }


# SourceIpConditionConfigOutputTypeDef definition

class SourceIpConditionConfigOutputTypeDef(TypedDict):
    Values: NotRequired[List[str]],

RulePriorityPairTypeDef#

# RulePriorityPairTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RulePriorityPairTypeDef


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


# RulePriorityPairTypeDef definition

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

SetIpAddressTypeInputTypeDef#

# SetIpAddressTypeInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetIpAddressTypeInputTypeDef


def get_value() -> SetIpAddressTypeInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# SetIpAddressTypeInputTypeDef definition

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

SetSecurityGroupsInputTypeDef#

# SetSecurityGroupsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetSecurityGroupsInputTypeDef


def get_value() -> SetSecurityGroupsInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# SetSecurityGroupsInputTypeDef definition

class SetSecurityGroupsInputTypeDef(TypedDict):
    LoadBalancerArn: str,
    SecurityGroups: Sequence[str],
    EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: NotRequired[EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumType],  # (1)
  1. See EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumType

SourceIpConditionConfigTypeDef#

# SourceIpConditionConfigTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SourceIpConditionConfigTypeDef


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


# SourceIpConditionConfigTypeDef definition

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

TargetHealthTypeDef#

# TargetHealthTypeDef TypedDict usage example

from types_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

AddListenerCertificatesInputTypeDef#

# AddListenerCertificatesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AddListenerCertificatesInputTypeDef


def get_value() -> AddListenerCertificatesInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# AddListenerCertificatesInputTypeDef definition

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

RemoveListenerCertificatesInputTypeDef#

# RemoveListenerCertificatesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RemoveListenerCertificatesInputTypeDef


def get_value() -> RemoveListenerCertificatesInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# RemoveListenerCertificatesInputTypeDef definition

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

AddListenerCertificatesOutputTypeDef#

# AddListenerCertificatesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AddListenerCertificatesOutputTypeDef


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


# AddListenerCertificatesOutputTypeDef definition

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

DescribeListenerCertificatesOutputTypeDef#

# DescribeListenerCertificatesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenerCertificatesOutputTypeDef


def get_value() -> DescribeListenerCertificatesOutputTypeDef:
    return {
        "Certificates": ...,
    }


# DescribeListenerCertificatesOutputTypeDef definition

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

GetResourcePolicyOutputTypeDef#

# GetResourcePolicyOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import GetResourcePolicyOutputTypeDef


def get_value() -> GetResourcePolicyOutputTypeDef:
    return {
        "Policy": ...,
    }


# GetResourcePolicyOutputTypeDef definition

class GetResourcePolicyOutputTypeDef(TypedDict):
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTrustStoreCaCertificatesBundleOutputTypeDef#

# GetTrustStoreCaCertificatesBundleOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import GetTrustStoreCaCertificatesBundleOutputTypeDef


def get_value() -> GetTrustStoreCaCertificatesBundleOutputTypeDef:
    return {
        "Location": ...,
    }


# GetTrustStoreCaCertificatesBundleOutputTypeDef definition

class GetTrustStoreCaCertificatesBundleOutputTypeDef(TypedDict):
    Location: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTrustStoreRevocationContentOutputTypeDef#

# GetTrustStoreRevocationContentOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import GetTrustStoreRevocationContentOutputTypeDef


def get_value() -> GetTrustStoreRevocationContentOutputTypeDef:
    return {
        "Location": ...,
    }


# GetTrustStoreRevocationContentOutputTypeDef definition

class GetTrustStoreRevocationContentOutputTypeDef(TypedDict):
    Location: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SetIpAddressTypeOutputTypeDef#

# SetIpAddressTypeOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetIpAddressTypeOutputTypeDef


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


# SetIpAddressTypeOutputTypeDef definition

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

SetSecurityGroupsOutputTypeDef#

# SetSecurityGroupsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetSecurityGroupsOutputTypeDef


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


# SetSecurityGroupsOutputTypeDef definition

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

AddTagsInputTypeDef#

# AddTagsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AddTagsInputTypeDef


def get_value() -> AddTagsInputTypeDef:
    return {
        "ResourceArns": ...,
    }


# AddTagsInputTypeDef definition

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

CreateTrustStoreInputTypeDef#

# CreateTrustStoreInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateTrustStoreInputTypeDef


def get_value() -> CreateTrustStoreInputTypeDef:
    return {
        "Name": ...,
    }


# CreateTrustStoreInputTypeDef definition

class CreateTrustStoreInputTypeDef(TypedDict):
    Name: str,
    CaCertificatesBundleS3Bucket: str,
    CaCertificatesBundleS3Key: str,
    CaCertificatesBundleS3ObjectVersion: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagDescriptionTypeDef#

# TagDescriptionTypeDef TypedDict usage example

from types_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

AddTrustStoreRevocationsInputTypeDef#

# AddTrustStoreRevocationsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AddTrustStoreRevocationsInputTypeDef


def get_value() -> AddTrustStoreRevocationsInputTypeDef:
    return {
        "TrustStoreArn": ...,
    }


# AddTrustStoreRevocationsInputTypeDef definition

class AddTrustStoreRevocationsInputTypeDef(TypedDict):
    TrustStoreArn: str,
    RevocationContents: NotRequired[Sequence[RevocationContentTypeDef]],  # (1)
  1. See RevocationContentTypeDef

AddTrustStoreRevocationsOutputTypeDef#

# AddTrustStoreRevocationsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import AddTrustStoreRevocationsOutputTypeDef


def get_value() -> AddTrustStoreRevocationsOutputTypeDef:
    return {
        "TrustStoreRevocations": ...,
    }


# AddTrustStoreRevocationsOutputTypeDef definition

class AddTrustStoreRevocationsOutputTypeDef(TypedDict):
    TrustStoreRevocations: List[TrustStoreRevocationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustStoreRevocationTypeDef
  2. See ResponseMetadataTypeDef

AvailabilityZoneTypeDef#

# AvailabilityZoneTypeDef TypedDict usage example

from types_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)
    SourceNatIpv6Prefixes: NotRequired[List[str]],
  1. See LoadBalancerAddressTypeDef

ZonalCapacityReservationStateTypeDef#

# ZonalCapacityReservationStateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ZonalCapacityReservationStateTypeDef


def get_value() -> ZonalCapacityReservationStateTypeDef:
    return {
        "State": ...,
    }


# ZonalCapacityReservationStateTypeDef definition

class ZonalCapacityReservationStateTypeDef(TypedDict):
    State: NotRequired[CapacityReservationStatusTypeDef],  # (1)
    AvailabilityZone: NotRequired[str],
    EffectiveCapacityUnits: NotRequired[float],
  1. See CapacityReservationStatusTypeDef

SslPolicyTypeDef#

# SslPolicyTypeDef TypedDict usage example

from types_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

CreateLoadBalancerInputTypeDef#

# CreateLoadBalancerInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateLoadBalancerInputTypeDef


def get_value() -> CreateLoadBalancerInputTypeDef:
    return {
        "Name": ...,
    }


# CreateLoadBalancerInputTypeDef definition

class CreateLoadBalancerInputTypeDef(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],
    EnablePrefixForIpv6SourceNat: NotRequired[EnablePrefixForIpv6SourceNatEnumType],  # (6)
  1. See SubnetMappingTypeDef
  2. See LoadBalancerSchemeEnumType
  3. See TagTypeDef
  4. See LoadBalancerTypeEnumType
  5. See IpAddressTypeType
  6. See EnablePrefixForIpv6SourceNatEnumType

SetSubnetsInputTypeDef#

# SetSubnetsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetSubnetsInputTypeDef


def get_value() -> SetSubnetsInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# SetSubnetsInputTypeDef definition

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

CreateTargetGroupInputTypeDef#

# CreateTargetGroupInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateTargetGroupInputTypeDef


def get_value() -> CreateTargetGroupInputTypeDef:
    return {
        "Name": ...,
    }


# CreateTargetGroupInputTypeDef definition

class CreateTargetGroupInputTypeDef(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

ModifyTargetGroupInputTypeDef#

# ModifyTargetGroupInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyTargetGroupInputTypeDef


def get_value() -> ModifyTargetGroupInputTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# ModifyTargetGroupInputTypeDef definition

class ModifyTargetGroupInputTypeDef(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 TypedDict usage example

from types_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

CreateTrustStoreOutputTypeDef#

# CreateTrustStoreOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateTrustStoreOutputTypeDef


def get_value() -> CreateTrustStoreOutputTypeDef:
    return {
        "TrustStores": ...,
    }


# CreateTrustStoreOutputTypeDef definition

class CreateTrustStoreOutputTypeDef(TypedDict):
    TrustStores: List[TrustStoreTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustStoreTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrustStoresOutputTypeDef#

# DescribeTrustStoresOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTrustStoresOutputTypeDef


def get_value() -> DescribeTrustStoresOutputTypeDef:
    return {
        "TrustStores": ...,
    }


# DescribeTrustStoresOutputTypeDef definition

class DescribeTrustStoresOutputTypeDef(TypedDict):
    TrustStores: List[TrustStoreTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustStoreTypeDef
  2. See ResponseMetadataTypeDef

ModifyTrustStoreOutputTypeDef#

# ModifyTrustStoreOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyTrustStoreOutputTypeDef


def get_value() -> ModifyTrustStoreOutputTypeDef:
    return {
        "TrustStores": ...,
    }


# ModifyTrustStoreOutputTypeDef definition

class ModifyTrustStoreOutputTypeDef(TypedDict):
    TrustStores: List[TrustStoreTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustStoreTypeDef
  2. See ResponseMetadataTypeDef

DeregisterTargetsInputTypeDef#

# DeregisterTargetsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DeregisterTargetsInputTypeDef


def get_value() -> DeregisterTargetsInputTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# DeregisterTargetsInputTypeDef definition

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

DescribeTargetHealthInputTypeDef#

# DescribeTargetHealthInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetHealthInputTypeDef


def get_value() -> DescribeTargetHealthInputTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# DescribeTargetHealthInputTypeDef definition

class DescribeTargetHealthInputTypeDef(TypedDict):
    TargetGroupArn: str,
    Targets: NotRequired[Sequence[TargetDescriptionTypeDef]],  # (1)
    Include: NotRequired[Sequence[DescribeTargetHealthInputIncludeEnumType]],  # (2)
  1. See TargetDescriptionTypeDef
  2. See DescribeTargetHealthInputIncludeEnumType

RegisterTargetsInputTypeDef#

# RegisterTargetsInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RegisterTargetsInputTypeDef


def get_value() -> RegisterTargetsInputTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# RegisterTargetsInputTypeDef definition

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

DescribeAccountLimitsInputPaginateTypeDef#

# DescribeAccountLimitsInputPaginateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeAccountLimitsInputPaginateTypeDef


def get_value() -> DescribeAccountLimitsInputPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# DescribeAccountLimitsInputPaginateTypeDef definition

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

DescribeListenerCertificatesInputPaginateTypeDef#

# DescribeListenerCertificatesInputPaginateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenerCertificatesInputPaginateTypeDef


def get_value() -> DescribeListenerCertificatesInputPaginateTypeDef:
    return {
        "ListenerArn": ...,
    }


# DescribeListenerCertificatesInputPaginateTypeDef definition

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

DescribeListenersInputPaginateTypeDef#

# DescribeListenersInputPaginateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenersInputPaginateTypeDef


def get_value() -> DescribeListenersInputPaginateTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# DescribeListenersInputPaginateTypeDef definition

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

DescribeLoadBalancersInputPaginateTypeDef#

# DescribeLoadBalancersInputPaginateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancersInputPaginateTypeDef


def get_value() -> DescribeLoadBalancersInputPaginateTypeDef:
    return {
        "LoadBalancerArns": ...,
    }


# DescribeLoadBalancersInputPaginateTypeDef definition

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

DescribeRulesInputPaginateTypeDef#

# DescribeRulesInputPaginateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeRulesInputPaginateTypeDef


def get_value() -> DescribeRulesInputPaginateTypeDef:
    return {
        "ListenerArn": ...,
    }


# DescribeRulesInputPaginateTypeDef definition

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

DescribeSSLPoliciesInputPaginateTypeDef#

# DescribeSSLPoliciesInputPaginateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeSSLPoliciesInputPaginateTypeDef


def get_value() -> DescribeSSLPoliciesInputPaginateTypeDef:
    return {
        "Names": ...,
    }


# DescribeSSLPoliciesInputPaginateTypeDef definition

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

DescribeTargetGroupsInputPaginateTypeDef#

# DescribeTargetGroupsInputPaginateTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetGroupsInputPaginateTypeDef


def get_value() -> DescribeTargetGroupsInputPaginateTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# DescribeTargetGroupsInputPaginateTypeDef definition

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

DescribeAccountLimitsOutputTypeDef#

# DescribeAccountLimitsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeAccountLimitsOutputTypeDef


def get_value() -> DescribeAccountLimitsOutputTypeDef:
    return {
        "Limits": ...,
    }


# DescribeAccountLimitsOutputTypeDef definition

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

ModifyCapacityReservationInputTypeDef#

# ModifyCapacityReservationInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyCapacityReservationInputTypeDef


def get_value() -> ModifyCapacityReservationInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# ModifyCapacityReservationInputTypeDef definition

class ModifyCapacityReservationInputTypeDef(TypedDict):
    LoadBalancerArn: str,
    MinimumLoadBalancerCapacity: NotRequired[MinimumLoadBalancerCapacityTypeDef],  # (1)
    ResetCapacityReservation: NotRequired[bool],
  1. See MinimumLoadBalancerCapacityTypeDef

DescribeListenerAttributesOutputTypeDef#

# DescribeListenerAttributesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenerAttributesOutputTypeDef


def get_value() -> DescribeListenerAttributesOutputTypeDef:
    return {
        "Attributes": ...,
    }


# DescribeListenerAttributesOutputTypeDef definition

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

ModifyListenerAttributesInputTypeDef#

# ModifyListenerAttributesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyListenerAttributesInputTypeDef


def get_value() -> ModifyListenerAttributesInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# ModifyListenerAttributesInputTypeDef definition

class ModifyListenerAttributesInputTypeDef(TypedDict):
    ListenerArn: str,
    Attributes: Sequence[ListenerAttributeTypeDef],  # (1)
  1. See ListenerAttributeTypeDef

ModifyListenerAttributesOutputTypeDef#

# ModifyListenerAttributesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyListenerAttributesOutputTypeDef


def get_value() -> ModifyListenerAttributesOutputTypeDef:
    return {
        "Attributes": ...,
    }


# ModifyListenerAttributesOutputTypeDef definition

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

DescribeLoadBalancerAttributesOutputTypeDef#

# DescribeLoadBalancerAttributesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancerAttributesOutputTypeDef


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


# DescribeLoadBalancerAttributesOutputTypeDef definition

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

ModifyLoadBalancerAttributesInputTypeDef#

# ModifyLoadBalancerAttributesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyLoadBalancerAttributesInputTypeDef


def get_value() -> ModifyLoadBalancerAttributesInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# ModifyLoadBalancerAttributesInputTypeDef definition

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

ModifyLoadBalancerAttributesOutputTypeDef#

# ModifyLoadBalancerAttributesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyLoadBalancerAttributesOutputTypeDef


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


# ModifyLoadBalancerAttributesOutputTypeDef definition

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

DescribeLoadBalancersInputWaitExtraExtraTypeDef#

# DescribeLoadBalancersInputWaitExtraExtraTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancersInputWaitExtraExtraTypeDef


def get_value() -> DescribeLoadBalancersInputWaitExtraExtraTypeDef:
    return {
        "LoadBalancerArns": ...,
    }


# DescribeLoadBalancersInputWaitExtraExtraTypeDef definition

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

DescribeLoadBalancersInputWaitExtraTypeDef#

# DescribeLoadBalancersInputWaitExtraTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancersInputWaitExtraTypeDef


def get_value() -> DescribeLoadBalancersInputWaitExtraTypeDef:
    return {
        "LoadBalancerArns": ...,
    }


# DescribeLoadBalancersInputWaitExtraTypeDef definition

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

DescribeLoadBalancersInputWaitTypeDef#

# DescribeLoadBalancersInputWaitTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancersInputWaitTypeDef


def get_value() -> DescribeLoadBalancersInputWaitTypeDef:
    return {
        "LoadBalancerArns": ...,
    }


# DescribeLoadBalancersInputWaitTypeDef definition

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

DescribeTargetHealthInputWaitExtraTypeDef#

# DescribeTargetHealthInputWaitExtraTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetHealthInputWaitExtraTypeDef


def get_value() -> DescribeTargetHealthInputWaitExtraTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# DescribeTargetHealthInputWaitExtraTypeDef definition

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

DescribeTargetHealthInputWaitTypeDef#

# DescribeTargetHealthInputWaitTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetHealthInputWaitTypeDef


def get_value() -> DescribeTargetHealthInputWaitTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# DescribeTargetHealthInputWaitTypeDef definition

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

DescribeTargetGroupAttributesOutputTypeDef#

# DescribeTargetGroupAttributesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetGroupAttributesOutputTypeDef


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


# DescribeTargetGroupAttributesOutputTypeDef definition

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

ModifyTargetGroupAttributesInputTypeDef#

# ModifyTargetGroupAttributesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyTargetGroupAttributesInputTypeDef


def get_value() -> ModifyTargetGroupAttributesInputTypeDef:
    return {
        "TargetGroupArn": ...,
    }


# ModifyTargetGroupAttributesInputTypeDef definition

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

ModifyTargetGroupAttributesOutputTypeDef#

# ModifyTargetGroupAttributesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyTargetGroupAttributesOutputTypeDef


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


# ModifyTargetGroupAttributesOutputTypeDef definition

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

DescribeTrustStoreAssociationsOutputTypeDef#

# DescribeTrustStoreAssociationsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTrustStoreAssociationsOutputTypeDef


def get_value() -> DescribeTrustStoreAssociationsOutputTypeDef:
    return {
        "TrustStoreAssociations": ...,
    }


# DescribeTrustStoreAssociationsOutputTypeDef definition

class DescribeTrustStoreAssociationsOutputTypeDef(TypedDict):
    TrustStoreAssociations: List[TrustStoreAssociationTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrustStoreAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrustStoreRevocationsOutputTypeDef#

# DescribeTrustStoreRevocationsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTrustStoreRevocationsOutputTypeDef


def get_value() -> DescribeTrustStoreRevocationsOutputTypeDef:
    return {
        "TrustStoreRevocations": ...,
    }


# DescribeTrustStoreRevocationsOutputTypeDef definition

class DescribeTrustStoreRevocationsOutputTypeDef(TypedDict):
    TrustStoreRevocations: List[DescribeTrustStoreRevocationTypeDef],  # (1)
    NextMarker: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DescribeTrustStoreRevocationTypeDef
  2. See ResponseMetadataTypeDef

ForwardActionConfigOutputTypeDef#

# ForwardActionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ForwardActionConfigOutputTypeDef


def get_value() -> ForwardActionConfigOutputTypeDef:
    return {
        "TargetGroups": ...,
    }


# ForwardActionConfigOutputTypeDef definition

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

ForwardActionConfigTypeDef#

# ForwardActionConfigTypeDef TypedDict usage example

from types_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

QueryStringConditionConfigOutputTypeDef#

# QueryStringConditionConfigOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import QueryStringConditionConfigOutputTypeDef


def get_value() -> QueryStringConditionConfigOutputTypeDef:
    return {
        "Values": ...,
    }


# QueryStringConditionConfigOutputTypeDef definition

class QueryStringConditionConfigOutputTypeDef(TypedDict):
    Values: NotRequired[List[QueryStringKeyValuePairTypeDef]],  # (1)
  1. See QueryStringKeyValuePairTypeDef

QueryStringConditionConfigTypeDef#

# QueryStringConditionConfigTypeDef TypedDict usage example

from types_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

SetRulePrioritiesInputTypeDef#

# SetRulePrioritiesInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetRulePrioritiesInputTypeDef


def get_value() -> SetRulePrioritiesInputTypeDef:
    return {
        "RulePriorities": ...,
    }


# SetRulePrioritiesInputTypeDef definition

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

TargetHealthDescriptionTypeDef#

# TargetHealthDescriptionTypeDef TypedDict usage example

from types_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)
    AnomalyDetection: NotRequired[AnomalyDetectionTypeDef],  # (3)
    AdministrativeOverride: NotRequired[AdministrativeOverrideTypeDef],  # (4)
  1. See TargetDescriptionTypeDef
  2. See TargetHealthTypeDef
  3. See AnomalyDetectionTypeDef
  4. See AdministrativeOverrideTypeDef

DescribeTagsOutputTypeDef#

# DescribeTagsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTagsOutputTypeDef


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


# DescribeTagsOutputTypeDef definition

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

LoadBalancerTypeDef#

# LoadBalancerTypeDef TypedDict usage example

from types_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],
    EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: NotRequired[str],
    EnablePrefixForIpv6SourceNat: NotRequired[EnablePrefixForIpv6SourceNatEnumType],  # (6)
  1. See LoadBalancerSchemeEnumType
  2. See LoadBalancerStateTypeDef
  3. See LoadBalancerTypeEnumType
  4. See AvailabilityZoneTypeDef
  5. See IpAddressTypeType
  6. See EnablePrefixForIpv6SourceNatEnumType

SetSubnetsOutputTypeDef#

# SetSubnetsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetSubnetsOutputTypeDef


def get_value() -> SetSubnetsOutputTypeDef:
    return {
        "AvailabilityZones": ...,
    }


# SetSubnetsOutputTypeDef definition

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

DescribeCapacityReservationOutputTypeDef#

# DescribeCapacityReservationOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeCapacityReservationOutputTypeDef


def get_value() -> DescribeCapacityReservationOutputTypeDef:
    return {
        "LastModifiedTime": ...,
    }


# DescribeCapacityReservationOutputTypeDef definition

class DescribeCapacityReservationOutputTypeDef(TypedDict):
    LastModifiedTime: datetime,
    DecreaseRequestsRemaining: int,
    MinimumLoadBalancerCapacity: MinimumLoadBalancerCapacityTypeDef,  # (1)
    CapacityReservationState: List[ZonalCapacityReservationStateTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MinimumLoadBalancerCapacityTypeDef
  2. See ZonalCapacityReservationStateTypeDef
  3. See ResponseMetadataTypeDef

ModifyCapacityReservationOutputTypeDef#

# ModifyCapacityReservationOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyCapacityReservationOutputTypeDef


def get_value() -> ModifyCapacityReservationOutputTypeDef:
    return {
        "LastModifiedTime": ...,
    }


# ModifyCapacityReservationOutputTypeDef definition

class ModifyCapacityReservationOutputTypeDef(TypedDict):
    LastModifiedTime: datetime,
    DecreaseRequestsRemaining: int,
    MinimumLoadBalancerCapacity: MinimumLoadBalancerCapacityTypeDef,  # (1)
    CapacityReservationState: List[ZonalCapacityReservationStateTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MinimumLoadBalancerCapacityTypeDef
  2. See ZonalCapacityReservationStateTypeDef
  3. See ResponseMetadataTypeDef

DescribeSSLPoliciesOutputTypeDef#

# DescribeSSLPoliciesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeSSLPoliciesOutputTypeDef


def get_value() -> DescribeSSLPoliciesOutputTypeDef:
    return {
        "SslPolicies": ...,
    }


# DescribeSSLPoliciesOutputTypeDef definition

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

CreateTargetGroupOutputTypeDef#

# CreateTargetGroupOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateTargetGroupOutputTypeDef


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


# CreateTargetGroupOutputTypeDef definition

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

DescribeTargetGroupsOutputTypeDef#

# DescribeTargetGroupsOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetGroupsOutputTypeDef


def get_value() -> DescribeTargetGroupsOutputTypeDef:
    return {
        "TargetGroups": ...,
    }


# DescribeTargetGroupsOutputTypeDef definition

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

ModifyTargetGroupOutputTypeDef#

# ModifyTargetGroupOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyTargetGroupOutputTypeDef


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


# ModifyTargetGroupOutputTypeDef definition

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

ActionOutputTypeDef#

# ActionOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ActionOutputTypeDef


def get_value() -> ActionOutputTypeDef:
    return {
        "Type": ...,
    }


# ActionOutputTypeDef definition

class ActionOutputTypeDef(TypedDict):
    Type: ActionTypeEnumType,  # (1)
    TargetGroupArn: NotRequired[str],
    AuthenticateOidcConfig: NotRequired[AuthenticateOidcActionConfigOutputTypeDef],  # (2)
    AuthenticateCognitoConfig: NotRequired[AuthenticateCognitoActionConfigOutputTypeDef],  # (3)
    Order: NotRequired[int],
    RedirectConfig: NotRequired[RedirectActionConfigTypeDef],  # (4)
    FixedResponseConfig: NotRequired[FixedResponseActionConfigTypeDef],  # (5)
    ForwardConfig: NotRequired[ForwardActionConfigOutputTypeDef],  # (6)
  1. See ActionTypeEnumType
  2. See AuthenticateOidcActionConfigOutputTypeDef
  3. See AuthenticateCognitoActionConfigOutputTypeDef
  4. See RedirectActionConfigTypeDef
  5. See FixedResponseActionConfigTypeDef
  6. See ForwardActionConfigOutputTypeDef

RuleConditionOutputTypeDef#

# RuleConditionOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import RuleConditionOutputTypeDef


def get_value() -> RuleConditionOutputTypeDef:
    return {
        "Field": ...,
    }


# RuleConditionOutputTypeDef definition

class RuleConditionOutputTypeDef(TypedDict):
    Field: NotRequired[str],
    Values: NotRequired[List[str]],
    HostHeaderConfig: NotRequired[HostHeaderConditionConfigOutputTypeDef],  # (1)
    PathPatternConfig: NotRequired[PathPatternConditionConfigOutputTypeDef],  # (2)
    HttpHeaderConfig: NotRequired[HttpHeaderConditionConfigOutputTypeDef],  # (3)
    QueryStringConfig: NotRequired[QueryStringConditionConfigOutputTypeDef],  # (4)
    HttpRequestMethodConfig: NotRequired[HttpRequestMethodConditionConfigOutputTypeDef],  # (5)
    SourceIpConfig: NotRequired[SourceIpConditionConfigOutputTypeDef],  # (6)
  1. See HostHeaderConditionConfigOutputTypeDef
  2. See PathPatternConditionConfigOutputTypeDef
  3. See HttpHeaderConditionConfigOutputTypeDef
  4. See QueryStringConditionConfigOutputTypeDef
  5. See HttpRequestMethodConditionConfigOutputTypeDef
  6. See SourceIpConditionConfigOutputTypeDef

DescribeTargetHealthOutputTypeDef#

# DescribeTargetHealthOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeTargetHealthOutputTypeDef


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


# DescribeTargetHealthOutputTypeDef definition

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

CreateLoadBalancerOutputTypeDef#

# CreateLoadBalancerOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateLoadBalancerOutputTypeDef


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


# CreateLoadBalancerOutputTypeDef definition

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

DescribeLoadBalancersOutputTypeDef#

# DescribeLoadBalancersOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeLoadBalancersOutputTypeDef


def get_value() -> DescribeLoadBalancersOutputTypeDef:
    return {
        "LoadBalancers": ...,
    }


# DescribeLoadBalancersOutputTypeDef definition

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

ListenerTypeDef#

# ListenerTypeDef TypedDict usage example

from types_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[ActionOutputTypeDef]],  # (3)
    AlpnPolicy: NotRequired[List[str]],
    MutualAuthentication: NotRequired[MutualAuthenticationAttributesTypeDef],  # (4)
  1. See ProtocolEnumType
  2. See CertificateTypeDef
  3. See ActionOutputTypeDef
  4. See MutualAuthenticationAttributesTypeDef

ActionTypeDef#

# ActionTypeDef TypedDict usage example

from types_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[AuthenticateOidcActionConfigUnionTypeDef],  # (2)
    AuthenticateCognitoConfig: NotRequired[AuthenticateCognitoActionConfigUnionTypeDef],  # (3)
    Order: NotRequired[int],
    RedirectConfig: NotRequired[RedirectActionConfigTypeDef],  # (4)
    FixedResponseConfig: NotRequired[FixedResponseActionConfigTypeDef],  # (5)
    ForwardConfig: NotRequired[ForwardActionConfigUnionTypeDef],  # (6)
  1. See ActionTypeEnumType
  2. See AuthenticateOidcActionConfigTypeDef AuthenticateOidcActionConfigOutputTypeDef
  3. See AuthenticateCognitoActionConfigTypeDef AuthenticateCognitoActionConfigOutputTypeDef
  4. See RedirectActionConfigTypeDef
  5. See FixedResponseActionConfigTypeDef
  6. See ForwardActionConfigTypeDef ForwardActionConfigOutputTypeDef

RuleTypeDef#

# RuleTypeDef TypedDict usage example

from types_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[RuleConditionOutputTypeDef]],  # (1)
    Actions: NotRequired[List[ActionOutputTypeDef]],  # (2)
    IsDefault: NotRequired[bool],
  1. See RuleConditionOutputTypeDef
  2. See ActionOutputTypeDef

RuleConditionTypeDef#

# RuleConditionTypeDef TypedDict usage example

from types_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[HostHeaderConditionConfigUnionTypeDef],  # (1)
    PathPatternConfig: NotRequired[PathPatternConditionConfigUnionTypeDef],  # (2)
    HttpHeaderConfig: NotRequired[HttpHeaderConditionConfigUnionTypeDef],  # (3)
    QueryStringConfig: NotRequired[QueryStringConditionConfigUnionTypeDef],  # (4)
    HttpRequestMethodConfig: NotRequired[HttpRequestMethodConditionConfigUnionTypeDef],  # (5)
    SourceIpConfig: NotRequired[SourceIpConditionConfigUnionTypeDef],  # (6)
  1. See HostHeaderConditionConfigTypeDef HostHeaderConditionConfigOutputTypeDef
  2. See PathPatternConditionConfigTypeDef PathPatternConditionConfigOutputTypeDef
  3. See HttpHeaderConditionConfigTypeDef HttpHeaderConditionConfigOutputTypeDef
  4. See QueryStringConditionConfigTypeDef QueryStringConditionConfigOutputTypeDef
  5. See HttpRequestMethodConditionConfigTypeDef HttpRequestMethodConditionConfigOutputTypeDef
  6. See SourceIpConditionConfigTypeDef SourceIpConditionConfigOutputTypeDef

CreateListenerOutputTypeDef#

# CreateListenerOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateListenerOutputTypeDef


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


# CreateListenerOutputTypeDef definition

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

DescribeListenersOutputTypeDef#

# DescribeListenersOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeListenersOutputTypeDef


def get_value() -> DescribeListenersOutputTypeDef:
    return {
        "Listeners": ...,
    }


# DescribeListenersOutputTypeDef definition

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

ModifyListenerOutputTypeDef#

# ModifyListenerOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyListenerOutputTypeDef


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


# ModifyListenerOutputTypeDef definition

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

CreateRuleOutputTypeDef#

# CreateRuleOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateRuleOutputTypeDef


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


# CreateRuleOutputTypeDef definition

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

DescribeRulesOutputTypeDef#

# DescribeRulesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import DescribeRulesOutputTypeDef


def get_value() -> DescribeRulesOutputTypeDef:
    return {
        "Rules": ...,
    }


# DescribeRulesOutputTypeDef definition

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

ModifyRuleOutputTypeDef#

# ModifyRuleOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyRuleOutputTypeDef


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


# ModifyRuleOutputTypeDef definition

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

SetRulePrioritiesOutputTypeDef#

# SetRulePrioritiesOutputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import SetRulePrioritiesOutputTypeDef


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


# SetRulePrioritiesOutputTypeDef definition

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

CreateListenerInputTypeDef#

# CreateListenerInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateListenerInputTypeDef


def get_value() -> CreateListenerInputTypeDef:
    return {
        "LoadBalancerArn": ...,
    }


# CreateListenerInputTypeDef definition

class CreateListenerInputTypeDef(TypedDict):
    LoadBalancerArn: str,
    DefaultActions: Sequence[ActionUnionTypeDef],  # (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)
    MutualAuthentication: NotRequired[MutualAuthenticationAttributesTypeDef],  # (5)
  1. See ActionTypeDef ActionOutputTypeDef
  2. See ProtocolEnumType
  3. See CertificateTypeDef
  4. See TagTypeDef
  5. See MutualAuthenticationAttributesTypeDef

ModifyListenerInputTypeDef#

# ModifyListenerInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyListenerInputTypeDef


def get_value() -> ModifyListenerInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# ModifyListenerInputTypeDef definition

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

CreateRuleInputTypeDef#

# CreateRuleInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import CreateRuleInputTypeDef


def get_value() -> CreateRuleInputTypeDef:
    return {
        "ListenerArn": ...,
    }


# CreateRuleInputTypeDef definition

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

ModifyRuleInputTypeDef#

# ModifyRuleInputTypeDef TypedDict usage example

from types_boto3_elbv2.type_defs import ModifyRuleInputTypeDef


def get_value() -> ModifyRuleInputTypeDef:
    return {
        "RuleArn": ...,
    }


# ModifyRuleInputTypeDef definition

class ModifyRuleInputTypeDef(TypedDict):
    RuleArn: str,
    Conditions: NotRequired[Sequence[RuleConditionUnionTypeDef]],  # (1)
    Actions: NotRequired[Sequence[ActionUnionTypeDef]],  # (2)
  1. See RuleConditionTypeDef RuleConditionOutputTypeDef
  2. See ActionTypeDef ActionOutputTypeDef