Typed dictionaries
Index > ElasticLoadBalancingv2 > Typed dictionaries
Auto-generated documentation for ElasticLoadBalancingv2 type annotations stubs module mypy-boto3-elbv2.
AuthenticateCognitoActionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import AuthenticateCognitoActionConfigTypeDef
def get_value() -> AuthenticateCognitoActionConfigTypeDef:
return {
"UserPoolArn": ...,
"UserPoolClientId": ...,
"UserPoolDomain": ...,
}
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)
AuthenticateOidcActionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import AuthenticateOidcActionConfigTypeDef
def get_value() -> AuthenticateOidcActionConfigTypeDef:
return {
"Issuer": ...,
"AuthorizationEndpoint": ...,
"TokenEndpoint": ...,
"UserInfoEndpoint": ...,
"ClientId": ...,
}
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],
FixedResponseActionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import FixedResponseActionConfigTypeDef
def get_value() -> FixedResponseActionConfigTypeDef:
return {
"StatusCode": ...,
}
Definition
class FixedResponseActionConfigTypeDef(TypedDict):
StatusCode: str,
MessageBody: NotRequired[str],
ContentType: NotRequired[str],
RedirectActionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import RedirectActionConfigTypeDef
def get_value() -> RedirectActionConfigTypeDef:
return {
"StatusCode": ...,
}
Definition
class RedirectActionConfigTypeDef(TypedDict):
StatusCode: RedirectActionStatusCodeEnumType, # (1)
Protocol: NotRequired[str],
Port: NotRequired[str],
Host: NotRequired[str],
Path: NotRequired[str],
Query: NotRequired[str],
CertificateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CertificateTypeDef
def get_value() -> CertificateTypeDef:
return {
"CertificateArn": ...,
}
Definition
class CertificateTypeDef(TypedDict):
CertificateArn: NotRequired[str],
IsDefault: NotRequired[bool],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
TagTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
LoadBalancerAddressTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import LoadBalancerAddressTypeDef
def get_value() -> LoadBalancerAddressTypeDef:
return {
"IpAddress": ...,
}
Definition
class LoadBalancerAddressTypeDef(TypedDict):
IpAddress: NotRequired[str],
AllocationId: NotRequired[str],
PrivateIPv4Address: NotRequired[str],
IPv6Address: NotRequired[str],
CipherTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CipherTypeDef
def get_value() -> CipherTypeDef:
return {
"Name": ...,
}
SubnetMappingTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SubnetMappingTypeDef
def get_value() -> SubnetMappingTypeDef:
return {
"SubnetId": ...,
}
Definition
class SubnetMappingTypeDef(TypedDict):
SubnetId: NotRequired[str],
AllocationId: NotRequired[str],
PrivateIPv4Address: NotRequired[str],
IPv6Address: NotRequired[str],
MatcherTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import MatcherTypeDef
def get_value() -> MatcherTypeDef:
return {
"HttpCode": ...,
}
DeleteListenerInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DeleteListenerInputRequestTypeDef
def get_value() -> DeleteListenerInputRequestTypeDef:
return {
"ListenerArn": ...,
}
DeleteLoadBalancerInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DeleteLoadBalancerInputRequestTypeDef
def get_value() -> DeleteLoadBalancerInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
}
DeleteRuleInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DeleteRuleInputRequestTypeDef
def get_value() -> DeleteRuleInputRequestTypeDef:
return {
"RuleArn": ...,
}
DeleteTargetGroupInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DeleteTargetGroupInputRequestTypeDef
def get_value() -> DeleteTargetGroupInputRequestTypeDef:
return {
"TargetGroupArn": ...,
}
TargetDescriptionTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TargetDescriptionTypeDef
def get_value() -> TargetDescriptionTypeDef:
return {
"Id": ...,
}
Definition
class TargetDescriptionTypeDef(TypedDict):
Id: str,
Port: NotRequired[int],
AvailabilityZone: NotRequired[str],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeAccountLimitsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeAccountLimitsInputRequestTypeDef
def get_value() -> DescribeAccountLimitsInputRequestTypeDef:
return {
"Marker": ...,
}
Definition
class DescribeAccountLimitsInputRequestTypeDef(TypedDict):
Marker: NotRequired[str],
PageSize: NotRequired[int],
LimitTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import LimitTypeDef
def get_value() -> LimitTypeDef:
return {
"Name": ...,
}
DescribeListenerCertificatesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeListenerCertificatesInputRequestTypeDef
def get_value() -> DescribeListenerCertificatesInputRequestTypeDef:
return {
"ListenerArn": ...,
}
Definition
class DescribeListenerCertificatesInputRequestTypeDef(TypedDict):
ListenerArn: str,
Marker: NotRequired[str],
PageSize: NotRequired[int],
DescribeListenersInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeListenersInputRequestTypeDef
def get_value() -> DescribeListenersInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
}
Definition
class DescribeListenersInputRequestTypeDef(TypedDict):
LoadBalancerArn: NotRequired[str],
ListenerArns: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
DescribeLoadBalancerAttributesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancerAttributesInputRequestTypeDef
def get_value() -> DescribeLoadBalancerAttributesInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
}
LoadBalancerAttributeTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import LoadBalancerAttributeTypeDef
def get_value() -> LoadBalancerAttributeTypeDef:
return {
"Key": ...,
}
Definition
class LoadBalancerAttributeTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
WaiterConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
Definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeLoadBalancersInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputRequestTypeDef
def get_value() -> DescribeLoadBalancersInputRequestTypeDef:
return {
"LoadBalancerArns": ...,
}
Definition
class DescribeLoadBalancersInputRequestTypeDef(TypedDict):
LoadBalancerArns: NotRequired[Sequence[str]],
Names: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
DescribeRulesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeRulesInputRequestTypeDef
def get_value() -> DescribeRulesInputRequestTypeDef:
return {
"ListenerArn": ...,
}
Definition
class DescribeRulesInputRequestTypeDef(TypedDict):
ListenerArn: NotRequired[str],
RuleArns: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
DescribeSSLPoliciesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeSSLPoliciesInputRequestTypeDef
def get_value() -> DescribeSSLPoliciesInputRequestTypeDef:
return {
"Names": ...,
}
Definition
class DescribeSSLPoliciesInputRequestTypeDef(TypedDict):
Names: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
LoadBalancerType: NotRequired[LoadBalancerTypeEnumType], # (1)
DescribeTagsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTagsInputRequestTypeDef
def get_value() -> DescribeTagsInputRequestTypeDef:
return {
"ResourceArns": ...,
}
DescribeTargetGroupAttributesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetGroupAttributesInputRequestTypeDef
def get_value() -> DescribeTargetGroupAttributesInputRequestTypeDef:
return {
"TargetGroupArn": ...,
}
TargetGroupAttributeTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TargetGroupAttributeTypeDef
def get_value() -> TargetGroupAttributeTypeDef:
return {
"Key": ...,
}
Definition
class TargetGroupAttributeTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
DescribeTargetGroupsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetGroupsInputRequestTypeDef
def get_value() -> DescribeTargetGroupsInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
}
Definition
class DescribeTargetGroupsInputRequestTypeDef(TypedDict):
LoadBalancerArn: NotRequired[str],
TargetGroupArns: NotRequired[Sequence[str]],
Names: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
TargetGroupStickinessConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TargetGroupStickinessConfigTypeDef
def get_value() -> TargetGroupStickinessConfigTypeDef:
return {
"Enabled": ...,
}
Definition
class TargetGroupStickinessConfigTypeDef(TypedDict):
Enabled: NotRequired[bool],
DurationSeconds: NotRequired[int],
TargetGroupTupleTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TargetGroupTupleTypeDef
def get_value() -> TargetGroupTupleTypeDef:
return {
"TargetGroupArn": ...,
}
Definition
class TargetGroupTupleTypeDef(TypedDict):
TargetGroupArn: NotRequired[str],
Weight: NotRequired[int],
HostHeaderConditionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import HostHeaderConditionConfigTypeDef
def get_value() -> HostHeaderConditionConfigTypeDef:
return {
"Values": ...,
}
HttpHeaderConditionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import HttpHeaderConditionConfigTypeDef
def get_value() -> HttpHeaderConditionConfigTypeDef:
return {
"HttpHeaderName": ...,
}
Definition
class HttpHeaderConditionConfigTypeDef(TypedDict):
HttpHeaderName: NotRequired[str],
Values: NotRequired[Sequence[str]],
HttpRequestMethodConditionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import HttpRequestMethodConditionConfigTypeDef
def get_value() -> HttpRequestMethodConditionConfigTypeDef:
return {
"Values": ...,
}
Definition
class HttpRequestMethodConditionConfigTypeDef(TypedDict):
Values: NotRequired[Sequence[str]],
LoadBalancerStateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import LoadBalancerStateTypeDef
def get_value() -> LoadBalancerStateTypeDef:
return {
"Code": ...,
}
Definition
class LoadBalancerStateTypeDef(TypedDict):
Code: NotRequired[LoadBalancerStateEnumType], # (1)
Reason: NotRequired[str],
PathPatternConditionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import PathPatternConditionConfigTypeDef
def get_value() -> PathPatternConditionConfigTypeDef:
return {
"Values": ...,
}
QueryStringKeyValuePairTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import QueryStringKeyValuePairTypeDef
def get_value() -> QueryStringKeyValuePairTypeDef:
return {
"Key": ...,
}
Definition
class QueryStringKeyValuePairTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
RemoveTagsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import RemoveTagsInputRequestTypeDef
def get_value() -> RemoveTagsInputRequestTypeDef:
return {
"ResourceArns": ...,
"TagKeys": ...,
}
Definition
class RemoveTagsInputRequestTypeDef(TypedDict):
ResourceArns: Sequence[str],
TagKeys: Sequence[str],
SourceIpConditionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SourceIpConditionConfigTypeDef
def get_value() -> SourceIpConditionConfigTypeDef:
return {
"Values": ...,
}
RulePriorityPairTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import RulePriorityPairTypeDef
def get_value() -> RulePriorityPairTypeDef:
return {
"RuleArn": ...,
}
Definition
class RulePriorityPairTypeDef(TypedDict):
RuleArn: NotRequired[str],
Priority: NotRequired[int],
SetIpAddressTypeInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetIpAddressTypeInputRequestTypeDef
def get_value() -> SetIpAddressTypeInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
"IpAddressType": ...,
}
Definition
class SetIpAddressTypeInputRequestTypeDef(TypedDict):
LoadBalancerArn: str,
IpAddressType: IpAddressTypeType, # (1)
SetSecurityGroupsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetSecurityGroupsInputRequestTypeDef
def get_value() -> SetSecurityGroupsInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
"SecurityGroups": ...,
}
Definition
class SetSecurityGroupsInputRequestTypeDef(TypedDict):
LoadBalancerArn: str,
SecurityGroups: Sequence[str],
TargetHealthTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TargetHealthTypeDef
def get_value() -> TargetHealthTypeDef:
return {
"State": ...,
}
Definition
class TargetHealthTypeDef(TypedDict):
State: NotRequired[TargetHealthStateEnumType], # (1)
Reason: NotRequired[TargetHealthReasonEnumType], # (2)
Description: NotRequired[str],
AddListenerCertificatesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import AddListenerCertificatesInputRequestTypeDef
def get_value() -> AddListenerCertificatesInputRequestTypeDef:
return {
"ListenerArn": ...,
"Certificates": ...,
}
Definition
class AddListenerCertificatesInputRequestTypeDef(TypedDict):
ListenerArn: str,
Certificates: Sequence[CertificateTypeDef], # (1)
RemoveListenerCertificatesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import RemoveListenerCertificatesInputRequestTypeDef
def get_value() -> RemoveListenerCertificatesInputRequestTypeDef:
return {
"ListenerArn": ...,
"Certificates": ...,
}
Definition
class RemoveListenerCertificatesInputRequestTypeDef(TypedDict):
ListenerArn: str,
Certificates: Sequence[CertificateTypeDef], # (1)
AddListenerCertificatesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import AddListenerCertificatesOutputTypeDef
def get_value() -> AddListenerCertificatesOutputTypeDef:
return {
"Certificates": ...,
"ResponseMetadata": ...,
}
Definition
class AddListenerCertificatesOutputTypeDef(TypedDict):
Certificates: List[CertificateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeListenerCertificatesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeListenerCertificatesOutputTypeDef
def get_value() -> DescribeListenerCertificatesOutputTypeDef:
return {
"Certificates": ...,
"NextMarker": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeListenerCertificatesOutputTypeDef(TypedDict):
Certificates: List[CertificateTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SetIpAddressTypeOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetIpAddressTypeOutputTypeDef
def get_value() -> SetIpAddressTypeOutputTypeDef:
return {
"IpAddressType": ...,
"ResponseMetadata": ...,
}
Definition
class SetIpAddressTypeOutputTypeDef(TypedDict):
IpAddressType: IpAddressTypeType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SetSecurityGroupsOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetSecurityGroupsOutputTypeDef
def get_value() -> SetSecurityGroupsOutputTypeDef:
return {
"SecurityGroupIds": ...,
"ResponseMetadata": ...,
}
Definition
class SetSecurityGroupsOutputTypeDef(TypedDict):
SecurityGroupIds: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AddTagsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import AddTagsInputRequestTypeDef
def get_value() -> AddTagsInputRequestTypeDef:
return {
"ResourceArns": ...,
"Tags": ...,
}
Definition
class AddTagsInputRequestTypeDef(TypedDict):
ResourceArns: Sequence[str],
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
TagDescriptionTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TagDescriptionTypeDef
def get_value() -> TagDescriptionTypeDef:
return {
"ResourceArn": ...,
}
Definition
class TagDescriptionTypeDef(TypedDict):
ResourceArn: NotRequired[str],
Tags: NotRequired[List[TagTypeDef]], # (1)
- See TagTypeDef
AvailabilityZoneTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import AvailabilityZoneTypeDef
def get_value() -> AvailabilityZoneTypeDef:
return {
"ZoneName": ...,
}
Definition
class AvailabilityZoneTypeDef(TypedDict):
ZoneName: NotRequired[str],
SubnetId: NotRequired[str],
OutpostId: NotRequired[str],
LoadBalancerAddresses: NotRequired[List[LoadBalancerAddressTypeDef]], # (1)
SslPolicyTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SslPolicyTypeDef
def get_value() -> SslPolicyTypeDef:
return {
"SslProtocols": ...,
}
Definition
class SslPolicyTypeDef(TypedDict):
SslProtocols: NotRequired[List[str]],
Ciphers: NotRequired[List[CipherTypeDef]], # (1)
Name: NotRequired[str],
SupportedLoadBalancerTypes: NotRequired[List[str]],
- See CipherTypeDef
CreateLoadBalancerInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateLoadBalancerInputRequestTypeDef
def get_value() -> CreateLoadBalancerInputRequestTypeDef:
return {
"Name": ...,
}
Definition
class CreateLoadBalancerInputRequestTypeDef(TypedDict):
Name: str,
Subnets: NotRequired[Sequence[str]],
SubnetMappings: NotRequired[Sequence[SubnetMappingTypeDef]], # (1)
SecurityGroups: NotRequired[Sequence[str]],
Scheme: NotRequired[LoadBalancerSchemeEnumType], # (2)
Tags: NotRequired[Sequence[TagTypeDef]], # (3)
Type: NotRequired[LoadBalancerTypeEnumType], # (4)
IpAddressType: NotRequired[IpAddressTypeType], # (5)
CustomerOwnedIpv4Pool: NotRequired[str],
- See SubnetMappingTypeDef
- See LoadBalancerSchemeEnumType
- See TagTypeDef
- See LoadBalancerTypeEnumType
- See IpAddressTypeType
SetSubnetsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetSubnetsInputRequestTypeDef
def get_value() -> SetSubnetsInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
}
Definition
class SetSubnetsInputRequestTypeDef(TypedDict):
LoadBalancerArn: str,
Subnets: NotRequired[Sequence[str]],
SubnetMappings: NotRequired[Sequence[SubnetMappingTypeDef]], # (1)
IpAddressType: NotRequired[IpAddressTypeType], # (2)
CreateTargetGroupInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateTargetGroupInputRequestTypeDef
def get_value() -> CreateTargetGroupInputRequestTypeDef:
return {
"Name": ...,
}
Definition
class CreateTargetGroupInputRequestTypeDef(TypedDict):
Name: str,
Protocol: NotRequired[ProtocolEnumType], # (1)
ProtocolVersion: NotRequired[str],
Port: NotRequired[int],
VpcId: NotRequired[str],
HealthCheckProtocol: NotRequired[ProtocolEnumType], # (1)
HealthCheckPort: NotRequired[str],
HealthCheckEnabled: NotRequired[bool],
HealthCheckPath: NotRequired[str],
HealthCheckIntervalSeconds: NotRequired[int],
HealthCheckTimeoutSeconds: NotRequired[int],
HealthyThresholdCount: NotRequired[int],
UnhealthyThresholdCount: NotRequired[int],
Matcher: NotRequired[MatcherTypeDef], # (3)
TargetType: NotRequired[TargetTypeEnumType], # (4)
Tags: NotRequired[Sequence[TagTypeDef]], # (5)
IpAddressType: NotRequired[TargetGroupIpAddressTypeEnumType], # (6)
- See ProtocolEnumType
- See ProtocolEnumType
- See MatcherTypeDef
- See TargetTypeEnumType
- See TagTypeDef
- See TargetGroupIpAddressTypeEnumType
ModifyTargetGroupInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyTargetGroupInputRequestTypeDef
def get_value() -> ModifyTargetGroupInputRequestTypeDef:
return {
"TargetGroupArn": ...,
}
Definition
class ModifyTargetGroupInputRequestTypeDef(TypedDict):
TargetGroupArn: str,
HealthCheckProtocol: NotRequired[ProtocolEnumType], # (1)
HealthCheckPort: NotRequired[str],
HealthCheckPath: NotRequired[str],
HealthCheckEnabled: NotRequired[bool],
HealthCheckIntervalSeconds: NotRequired[int],
HealthCheckTimeoutSeconds: NotRequired[int],
HealthyThresholdCount: NotRequired[int],
UnhealthyThresholdCount: NotRequired[int],
Matcher: NotRequired[MatcherTypeDef], # (2)
- See ProtocolEnumType
- See MatcherTypeDef
TargetGroupTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TargetGroupTypeDef
def get_value() -> TargetGroupTypeDef:
return {
"TargetGroupArn": ...,
}
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)
- See ProtocolEnumType
- See ProtocolEnumType
- See MatcherTypeDef
- See TargetTypeEnumType
- See TargetGroupIpAddressTypeEnumType
DeregisterTargetsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DeregisterTargetsInputRequestTypeDef
def get_value() -> DeregisterTargetsInputRequestTypeDef:
return {
"TargetGroupArn": ...,
"Targets": ...,
}
Definition
class DeregisterTargetsInputRequestTypeDef(TypedDict):
TargetGroupArn: str,
Targets: Sequence[TargetDescriptionTypeDef], # (1)
DescribeTargetHealthInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetHealthInputRequestTypeDef
def get_value() -> DescribeTargetHealthInputRequestTypeDef:
return {
"TargetGroupArn": ...,
}
Definition
class DescribeTargetHealthInputRequestTypeDef(TypedDict):
TargetGroupArn: str,
Targets: NotRequired[Sequence[TargetDescriptionTypeDef]], # (1)
RegisterTargetsInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import RegisterTargetsInputRequestTypeDef
def get_value() -> RegisterTargetsInputRequestTypeDef:
return {
"TargetGroupArn": ...,
"Targets": ...,
}
Definition
class RegisterTargetsInputRequestTypeDef(TypedDict):
TargetGroupArn: str,
Targets: Sequence[TargetDescriptionTypeDef], # (1)
DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef
def get_value() -> DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef:
return {
"PaginationConfig": ...,
}
Definition
class DescribeAccountLimitsInputDescribeAccountLimitsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef
def get_value() -> DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef:
return {
"ListenerArn": ...,
}
Definition
class DescribeListenerCertificatesInputDescribeListenerCertificatesPaginateTypeDef(TypedDict):
ListenerArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeListenersInputDescribeListenersPaginateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeListenersInputDescribeListenersPaginateTypeDef
def get_value() -> DescribeListenersInputDescribeListenersPaginateTypeDef:
return {
"LoadBalancerArn": ...,
}
Definition
class DescribeListenersInputDescribeListenersPaginateTypeDef(TypedDict):
LoadBalancerArn: NotRequired[str],
ListenerArns: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef
def get_value() -> DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef:
return {
"LoadBalancerArns": ...,
}
Definition
class DescribeLoadBalancersInputDescribeLoadBalancersPaginateTypeDef(TypedDict):
LoadBalancerArns: NotRequired[Sequence[str]],
Names: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeRulesInputDescribeRulesPaginateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeRulesInputDescribeRulesPaginateTypeDef
def get_value() -> DescribeRulesInputDescribeRulesPaginateTypeDef:
return {
"ListenerArn": ...,
}
Definition
class DescribeRulesInputDescribeRulesPaginateTypeDef(TypedDict):
ListenerArn: NotRequired[str],
RuleArns: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef
def get_value() -> DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef:
return {
"Names": ...,
}
Definition
class DescribeSSLPoliciesInputDescribeSSLPoliciesPaginateTypeDef(TypedDict):
Names: NotRequired[Sequence[str]],
LoadBalancerType: NotRequired[LoadBalancerTypeEnumType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef
def get_value() -> DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef:
return {
"LoadBalancerArn": ...,
}
Definition
class DescribeTargetGroupsInputDescribeTargetGroupsPaginateTypeDef(TypedDict):
LoadBalancerArn: NotRequired[str],
TargetGroupArns: NotRequired[Sequence[str]],
Names: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeAccountLimitsOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeAccountLimitsOutputTypeDef
def get_value() -> DescribeAccountLimitsOutputTypeDef:
return {
"Limits": ...,
"NextMarker": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeAccountLimitsOutputTypeDef(TypedDict):
Limits: List[LimitTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See LimitTypeDef
- See ResponseMetadataTypeDef
DescribeLoadBalancerAttributesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancerAttributesOutputTypeDef
def get_value() -> DescribeLoadBalancerAttributesOutputTypeDef:
return {
"Attributes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeLoadBalancerAttributesOutputTypeDef(TypedDict):
Attributes: List[LoadBalancerAttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ModifyLoadBalancerAttributesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyLoadBalancerAttributesInputRequestTypeDef
def get_value() -> ModifyLoadBalancerAttributesInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
"Attributes": ...,
}
Definition
class ModifyLoadBalancerAttributesInputRequestTypeDef(TypedDict):
LoadBalancerArn: str,
Attributes: Sequence[LoadBalancerAttributeTypeDef], # (1)
ModifyLoadBalancerAttributesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyLoadBalancerAttributesOutputTypeDef
def get_value() -> ModifyLoadBalancerAttributesOutputTypeDef:
return {
"Attributes": ...,
"ResponseMetadata": ...,
}
Definition
class ModifyLoadBalancerAttributesOutputTypeDef(TypedDict):
Attributes: List[LoadBalancerAttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef
def get_value() -> DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef:
return {
"LoadBalancerArns": ...,
}
Definition
class DescribeLoadBalancersInputLoadBalancerAvailableWaitTypeDef(TypedDict):
LoadBalancerArns: NotRequired[Sequence[str]],
Names: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef
def get_value() -> DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef:
return {
"LoadBalancerArns": ...,
}
Definition
class DescribeLoadBalancersInputLoadBalancerExistsWaitTypeDef(TypedDict):
LoadBalancerArns: NotRequired[Sequence[str]],
Names: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef
def get_value() -> DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef:
return {
"LoadBalancerArns": ...,
}
Definition
class DescribeLoadBalancersInputLoadBalancersDeletedWaitTypeDef(TypedDict):
LoadBalancerArns: NotRequired[Sequence[str]],
Names: NotRequired[Sequence[str]],
Marker: NotRequired[str],
PageSize: NotRequired[int],
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
DescribeTargetHealthInputTargetDeregisteredWaitTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetHealthInputTargetDeregisteredWaitTypeDef
def get_value() -> DescribeTargetHealthInputTargetDeregisteredWaitTypeDef:
return {
"TargetGroupArn": ...,
}
Definition
class DescribeTargetHealthInputTargetDeregisteredWaitTypeDef(TypedDict):
TargetGroupArn: str,
Targets: NotRequired[Sequence[TargetDescriptionTypeDef]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
DescribeTargetHealthInputTargetInServiceWaitTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetHealthInputTargetInServiceWaitTypeDef
def get_value() -> DescribeTargetHealthInputTargetInServiceWaitTypeDef:
return {
"TargetGroupArn": ...,
}
Definition
class DescribeTargetHealthInputTargetInServiceWaitTypeDef(TypedDict):
TargetGroupArn: str,
Targets: NotRequired[Sequence[TargetDescriptionTypeDef]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
DescribeTargetGroupAttributesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetGroupAttributesOutputTypeDef
def get_value() -> DescribeTargetGroupAttributesOutputTypeDef:
return {
"Attributes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTargetGroupAttributesOutputTypeDef(TypedDict):
Attributes: List[TargetGroupAttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ModifyTargetGroupAttributesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyTargetGroupAttributesInputRequestTypeDef
def get_value() -> ModifyTargetGroupAttributesInputRequestTypeDef:
return {
"TargetGroupArn": ...,
"Attributes": ...,
}
Definition
class ModifyTargetGroupAttributesInputRequestTypeDef(TypedDict):
TargetGroupArn: str,
Attributes: Sequence[TargetGroupAttributeTypeDef], # (1)
ModifyTargetGroupAttributesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyTargetGroupAttributesOutputTypeDef
def get_value() -> ModifyTargetGroupAttributesOutputTypeDef:
return {
"Attributes": ...,
"ResponseMetadata": ...,
}
Definition
class ModifyTargetGroupAttributesOutputTypeDef(TypedDict):
Attributes: List[TargetGroupAttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ForwardActionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ForwardActionConfigTypeDef
def get_value() -> ForwardActionConfigTypeDef:
return {
"TargetGroups": ...,
}
Definition
class ForwardActionConfigTypeDef(TypedDict):
TargetGroups: NotRequired[Sequence[TargetGroupTupleTypeDef]], # (1)
TargetGroupStickinessConfig: NotRequired[TargetGroupStickinessConfigTypeDef], # (2)
QueryStringConditionConfigTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import QueryStringConditionConfigTypeDef
def get_value() -> QueryStringConditionConfigTypeDef:
return {
"Values": ...,
}
Definition
class QueryStringConditionConfigTypeDef(TypedDict):
Values: NotRequired[Sequence[QueryStringKeyValuePairTypeDef]], # (1)
SetRulePrioritiesInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetRulePrioritiesInputRequestTypeDef
def get_value() -> SetRulePrioritiesInputRequestTypeDef:
return {
"RulePriorities": ...,
}
Definition
class SetRulePrioritiesInputRequestTypeDef(TypedDict):
RulePriorities: Sequence[RulePriorityPairTypeDef], # (1)
TargetHealthDescriptionTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import TargetHealthDescriptionTypeDef
def get_value() -> TargetHealthDescriptionTypeDef:
return {
"Target": ...,
}
Definition
class TargetHealthDescriptionTypeDef(TypedDict):
Target: NotRequired[TargetDescriptionTypeDef], # (1)
HealthCheckPort: NotRequired[str],
TargetHealth: NotRequired[TargetHealthTypeDef], # (2)
DescribeTagsOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTagsOutputTypeDef
def get_value() -> DescribeTagsOutputTypeDef:
return {
"TagDescriptions": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTagsOutputTypeDef(TypedDict):
TagDescriptions: List[TagDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
LoadBalancerTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import LoadBalancerTypeDef
def get_value() -> LoadBalancerTypeDef:
return {
"LoadBalancerArn": ...,
}
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],
- See LoadBalancerSchemeEnumType
- See LoadBalancerStateTypeDef
- See LoadBalancerTypeEnumType
- See AvailabilityZoneTypeDef
- See IpAddressTypeType
SetSubnetsOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetSubnetsOutputTypeDef
def get_value() -> SetSubnetsOutputTypeDef:
return {
"AvailabilityZones": ...,
"IpAddressType": ...,
"ResponseMetadata": ...,
}
Definition
class SetSubnetsOutputTypeDef(TypedDict):
AvailabilityZones: List[AvailabilityZoneTypeDef], # (1)
IpAddressType: IpAddressTypeType, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeSSLPoliciesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeSSLPoliciesOutputTypeDef
def get_value() -> DescribeSSLPoliciesOutputTypeDef:
return {
"SslPolicies": ...,
"NextMarker": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeSSLPoliciesOutputTypeDef(TypedDict):
SslPolicies: List[SslPolicyTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateTargetGroupOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateTargetGroupOutputTypeDef
def get_value() -> CreateTargetGroupOutputTypeDef:
return {
"TargetGroups": ...,
"ResponseMetadata": ...,
}
Definition
class CreateTargetGroupOutputTypeDef(TypedDict):
TargetGroups: List[TargetGroupTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeTargetGroupsOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetGroupsOutputTypeDef
def get_value() -> DescribeTargetGroupsOutputTypeDef:
return {
"TargetGroups": ...,
"NextMarker": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTargetGroupsOutputTypeDef(TypedDict):
TargetGroups: List[TargetGroupTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ModifyTargetGroupOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyTargetGroupOutputTypeDef
def get_value() -> ModifyTargetGroupOutputTypeDef:
return {
"TargetGroups": ...,
"ResponseMetadata": ...,
}
Definition
class ModifyTargetGroupOutputTypeDef(TypedDict):
TargetGroups: List[TargetGroupTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ActionTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ActionTypeDef
def get_value() -> ActionTypeDef:
return {
"Type": ...,
}
Definition
class ActionTypeDef(TypedDict):
Type: ActionTypeEnumType, # (1)
TargetGroupArn: NotRequired[str],
AuthenticateOidcConfig: NotRequired[AuthenticateOidcActionConfigTypeDef], # (2)
AuthenticateCognitoConfig: NotRequired[AuthenticateCognitoActionConfigTypeDef], # (3)
Order: NotRequired[int],
RedirectConfig: NotRequired[RedirectActionConfigTypeDef], # (4)
FixedResponseConfig: NotRequired[FixedResponseActionConfigTypeDef], # (5)
ForwardConfig: NotRequired[ForwardActionConfigTypeDef], # (6)
- See ActionTypeEnumType
- See AuthenticateOidcActionConfigTypeDef
- See AuthenticateCognitoActionConfigTypeDef
- See RedirectActionConfigTypeDef
- See FixedResponseActionConfigTypeDef
- See ForwardActionConfigTypeDef
RuleConditionTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import RuleConditionTypeDef
def get_value() -> RuleConditionTypeDef:
return {
"Field": ...,
}
Definition
class RuleConditionTypeDef(TypedDict):
Field: NotRequired[str],
Values: NotRequired[Sequence[str]],
HostHeaderConfig: NotRequired[HostHeaderConditionConfigTypeDef], # (1)
PathPatternConfig: NotRequired[PathPatternConditionConfigTypeDef], # (2)
HttpHeaderConfig: NotRequired[HttpHeaderConditionConfigTypeDef], # (3)
QueryStringConfig: NotRequired[QueryStringConditionConfigTypeDef], # (4)
HttpRequestMethodConfig: NotRequired[HttpRequestMethodConditionConfigTypeDef], # (5)
SourceIpConfig: NotRequired[SourceIpConditionConfigTypeDef], # (6)
- See HostHeaderConditionConfigTypeDef
- See PathPatternConditionConfigTypeDef
- See HttpHeaderConditionConfigTypeDef
- See QueryStringConditionConfigTypeDef
- See HttpRequestMethodConditionConfigTypeDef
- See SourceIpConditionConfigTypeDef
DescribeTargetHealthOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeTargetHealthOutputTypeDef
def get_value() -> DescribeTargetHealthOutputTypeDef:
return {
"TargetHealthDescriptions": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTargetHealthOutputTypeDef(TypedDict):
TargetHealthDescriptions: List[TargetHealthDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateLoadBalancerOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateLoadBalancerOutputTypeDef
def get_value() -> CreateLoadBalancerOutputTypeDef:
return {
"LoadBalancers": ...,
"ResponseMetadata": ...,
}
Definition
class CreateLoadBalancerOutputTypeDef(TypedDict):
LoadBalancers: List[LoadBalancerTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeLoadBalancersOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeLoadBalancersOutputTypeDef
def get_value() -> DescribeLoadBalancersOutputTypeDef:
return {
"LoadBalancers": ...,
"NextMarker": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeLoadBalancersOutputTypeDef(TypedDict):
LoadBalancers: List[LoadBalancerTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateListenerInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateListenerInputRequestTypeDef
def get_value() -> CreateListenerInputRequestTypeDef:
return {
"LoadBalancerArn": ...,
"DefaultActions": ...,
}
Definition
class CreateListenerInputRequestTypeDef(TypedDict):
LoadBalancerArn: str,
DefaultActions: Sequence[ActionTypeDef], # (1)
Protocol: NotRequired[ProtocolEnumType], # (2)
Port: NotRequired[int],
SslPolicy: NotRequired[str],
Certificates: NotRequired[Sequence[CertificateTypeDef]], # (3)
AlpnPolicy: NotRequired[Sequence[str]],
Tags: NotRequired[Sequence[TagTypeDef]], # (4)
- See ActionTypeDef
- See ProtocolEnumType
- See CertificateTypeDef
- See TagTypeDef
ListenerTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ListenerTypeDef
def get_value() -> ListenerTypeDef:
return {
"ListenerArn": ...,
}
Definition
class ListenerTypeDef(TypedDict):
ListenerArn: NotRequired[str],
LoadBalancerArn: NotRequired[str],
Port: NotRequired[int],
Protocol: NotRequired[ProtocolEnumType], # (1)
Certificates: NotRequired[List[CertificateTypeDef]], # (2)
SslPolicy: NotRequired[str],
DefaultActions: NotRequired[List[ActionTypeDef]], # (3)
AlpnPolicy: NotRequired[List[str]],
- See ProtocolEnumType
- See CertificateTypeDef
- See ActionTypeDef
ModifyListenerInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyListenerInputRequestTypeDef
def get_value() -> ModifyListenerInputRequestTypeDef:
return {
"ListenerArn": ...,
}
Definition
class ModifyListenerInputRequestTypeDef(TypedDict):
ListenerArn: str,
Port: NotRequired[int],
Protocol: NotRequired[ProtocolEnumType], # (1)
SslPolicy: NotRequired[str],
Certificates: NotRequired[Sequence[CertificateTypeDef]], # (2)
DefaultActions: NotRequired[Sequence[ActionTypeDef]], # (3)
AlpnPolicy: NotRequired[Sequence[str]],
- See ProtocolEnumType
- See CertificateTypeDef
- See ActionTypeDef
CreateRuleInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateRuleInputRequestTypeDef
def get_value() -> CreateRuleInputRequestTypeDef:
return {
"ListenerArn": ...,
"Conditions": ...,
"Priority": ...,
"Actions": ...,
}
Definition
class CreateRuleInputRequestTypeDef(TypedDict):
ListenerArn: str,
Conditions: Sequence[RuleConditionTypeDef], # (1)
Priority: int,
Actions: Sequence[ActionTypeDef], # (2)
Tags: NotRequired[Sequence[TagTypeDef]], # (3)
- See RuleConditionTypeDef
- See ActionTypeDef
- See TagTypeDef
ModifyRuleInputRequestTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyRuleInputRequestTypeDef
def get_value() -> ModifyRuleInputRequestTypeDef:
return {
"RuleArn": ...,
}
Definition
class ModifyRuleInputRequestTypeDef(TypedDict):
RuleArn: str,
Conditions: NotRequired[Sequence[RuleConditionTypeDef]], # (1)
Actions: NotRequired[Sequence[ActionTypeDef]], # (2)
- See RuleConditionTypeDef
- See ActionTypeDef
RuleTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import RuleTypeDef
def get_value() -> RuleTypeDef:
return {
"RuleArn": ...,
}
Definition
class RuleTypeDef(TypedDict):
RuleArn: NotRequired[str],
Priority: NotRequired[str],
Conditions: NotRequired[List[RuleConditionTypeDef]], # (1)
Actions: NotRequired[List[ActionTypeDef]], # (2)
IsDefault: NotRequired[bool],
- See RuleConditionTypeDef
- See ActionTypeDef
CreateListenerOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateListenerOutputTypeDef
def get_value() -> CreateListenerOutputTypeDef:
return {
"Listeners": ...,
"ResponseMetadata": ...,
}
Definition
class CreateListenerOutputTypeDef(TypedDict):
Listeners: List[ListenerTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeListenersOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeListenersOutputTypeDef
def get_value() -> DescribeListenersOutputTypeDef:
return {
"Listeners": ...,
"NextMarker": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeListenersOutputTypeDef(TypedDict):
Listeners: List[ListenerTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ModifyListenerOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyListenerOutputTypeDef
def get_value() -> ModifyListenerOutputTypeDef:
return {
"Listeners": ...,
"ResponseMetadata": ...,
}
Definition
class ModifyListenerOutputTypeDef(TypedDict):
Listeners: List[ListenerTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateRuleOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import CreateRuleOutputTypeDef
def get_value() -> CreateRuleOutputTypeDef:
return {
"Rules": ...,
"ResponseMetadata": ...,
}
Definition
class CreateRuleOutputTypeDef(TypedDict):
Rules: List[RuleTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleTypeDef
- See ResponseMetadataTypeDef
DescribeRulesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import DescribeRulesOutputTypeDef
def get_value() -> DescribeRulesOutputTypeDef:
return {
"Rules": ...,
"NextMarker": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeRulesOutputTypeDef(TypedDict):
Rules: List[RuleTypeDef], # (1)
NextMarker: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleTypeDef
- See ResponseMetadataTypeDef
ModifyRuleOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import ModifyRuleOutputTypeDef
def get_value() -> ModifyRuleOutputTypeDef:
return {
"Rules": ...,
"ResponseMetadata": ...,
}
Definition
class ModifyRuleOutputTypeDef(TypedDict):
Rules: List[RuleTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleTypeDef
- See ResponseMetadataTypeDef
SetRulePrioritiesOutputTypeDef
Usage Example
from mypy_boto3_elbv2.type_defs import SetRulePrioritiesOutputTypeDef
def get_value() -> SetRulePrioritiesOutputTypeDef:
return {
"Rules": ...,
"ResponseMetadata": ...,
}
Definition
class SetRulePrioritiesOutputTypeDef(TypedDict):
Rules: List[RuleTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See RuleTypeDef
- See ResponseMetadataTypeDef