Skip to content

Typed dictionaries#

Index > NetworkFirewall > Typed dictionaries

Auto-generated documentation for NetworkFirewall type annotations stubs module mypy-boto3-network-firewall.

AddressTypeDef#

# AddressTypeDef usage example

from mypy_boto3_network_firewall.type_defs import AddressTypeDef

def get_value() -> AddressTypeDef:
    return {
        "AddressDefinition": ...,
    }
# AddressTypeDef definition

class AddressTypeDef(TypedDict):
    AddressDefinition: str,

AssociateFirewallPolicyRequestRequestTypeDef#

# AssociateFirewallPolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import AssociateFirewallPolicyRequestRequestTypeDef

def get_value() -> AssociateFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyArn": ...,
    }
# AssociateFirewallPolicyRequestRequestTypeDef definition

class AssociateFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyArn: str,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

AssociateFirewallPolicyResponseTypeDef#

# AssociateFirewallPolicyResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import AssociateFirewallPolicyResponseTypeDef

def get_value() -> AssociateFirewallPolicyResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "FirewallPolicyArn": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
# AssociateFirewallPolicyResponseTypeDef definition

class AssociateFirewallPolicyResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    FirewallPolicyArn: str,
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SubnetMappingTypeDef#

# SubnetMappingTypeDef usage example

from mypy_boto3_network_firewall.type_defs import SubnetMappingTypeDef

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

class SubnetMappingTypeDef(TypedDict):
    SubnetId: str,
    IPAddressType: NotRequired[IPAddressTypeType],  # (1)
  1. See IPAddressTypeType

AttachmentTypeDef#

# AttachmentTypeDef usage example

from mypy_boto3_network_firewall.type_defs import AttachmentTypeDef

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

class AttachmentTypeDef(TypedDict):
    SubnetId: NotRequired[str],
    EndpointId: NotRequired[str],
    Status: NotRequired[AttachmentStatusType],  # (1)
    StatusMessage: NotRequired[str],
  1. See AttachmentStatusType

IPSetMetadataTypeDef#

# IPSetMetadataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import IPSetMetadataTypeDef

def get_value() -> IPSetMetadataTypeDef:
    return {
        "ResolvedCIDRCount": ...,
    }
# IPSetMetadataTypeDef definition

class IPSetMetadataTypeDef(TypedDict):
    ResolvedCIDRCount: NotRequired[int],

EncryptionConfigurationTypeDef#

# EncryptionConfigurationTypeDef usage example

from mypy_boto3_network_firewall.type_defs import EncryptionConfigurationTypeDef

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

class EncryptionConfigurationTypeDef(TypedDict):
    Type: EncryptionTypeType,  # (1)
    KeyId: NotRequired[str],
  1. See EncryptionTypeType

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_network_firewall.type_defs import TagTypeDef

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

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

SourceMetadataTypeDef#

# SourceMetadataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import SourceMetadataTypeDef

def get_value() -> SourceMetadataTypeDef:
    return {
        "SourceArn": ...,
    }
# SourceMetadataTypeDef definition

class SourceMetadataTypeDef(TypedDict):
    SourceArn: NotRequired[str],
    SourceUpdateToken: NotRequired[str],

DeleteFirewallPolicyRequestRequestTypeDef#

# DeleteFirewallPolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteFirewallPolicyRequestRequestTypeDef

def get_value() -> DeleteFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
    }
# DeleteFirewallPolicyRequestRequestTypeDef definition

class DeleteFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyName: NotRequired[str],
    FirewallPolicyArn: NotRequired[str],

DeleteFirewallRequestRequestTypeDef#

# DeleteFirewallRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteFirewallRequestRequestTypeDef

def get_value() -> DeleteFirewallRequestRequestTypeDef:
    return {
        "FirewallName": ...,
    }
# DeleteFirewallRequestRequestTypeDef definition

class DeleteFirewallRequestRequestTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],

DeleteResourcePolicyRequestRequestTypeDef#

# DeleteResourcePolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteResourcePolicyRequestRequestTypeDef

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

class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRuleGroupRequestRequestTypeDef#

# DeleteRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteRuleGroupRequestRequestTypeDef

def get_value() -> DeleteRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }
# DeleteRuleGroupRequestRequestTypeDef definition

class DeleteRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    RuleGroupArn: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (1)
  1. See RuleGroupTypeType

DeleteTLSInspectionConfigurationRequestRequestTypeDef#

# DeleteTLSInspectionConfigurationRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteTLSInspectionConfigurationRequestRequestTypeDef

def get_value() -> DeleteTLSInspectionConfigurationRequestRequestTypeDef:
    return {
        "TLSInspectionConfigurationArn": ...,
    }
# DeleteTLSInspectionConfigurationRequestRequestTypeDef definition

class DeleteTLSInspectionConfigurationRequestRequestTypeDef(TypedDict):
    TLSInspectionConfigurationArn: NotRequired[str],
    TLSInspectionConfigurationName: NotRequired[str],

DescribeFirewallPolicyRequestRequestTypeDef#

# DescribeFirewallPolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeFirewallPolicyRequestRequestTypeDef

def get_value() -> DescribeFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
    }
# DescribeFirewallPolicyRequestRequestTypeDef definition

class DescribeFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyName: NotRequired[str],
    FirewallPolicyArn: NotRequired[str],

DescribeFirewallRequestRequestTypeDef#

# DescribeFirewallRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeFirewallRequestRequestTypeDef

def get_value() -> DescribeFirewallRequestRequestTypeDef:
    return {
        "FirewallName": ...,
    }
# DescribeFirewallRequestRequestTypeDef definition

class DescribeFirewallRequestRequestTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],

DescribeLoggingConfigurationRequestRequestTypeDef#

# DescribeLoggingConfigurationRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeLoggingConfigurationRequestRequestTypeDef

def get_value() -> DescribeLoggingConfigurationRequestRequestTypeDef:
    return {
        "FirewallArn": ...,
    }
# DescribeLoggingConfigurationRequestRequestTypeDef definition

class DescribeLoggingConfigurationRequestRequestTypeDef(TypedDict):
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

DescribeResourcePolicyRequestRequestTypeDef#

# DescribeResourcePolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeResourcePolicyRequestRequestTypeDef

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

class DescribeResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DescribeResourcePolicyResponseTypeDef#

# DescribeResourcePolicyResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeResourcePolicyResponseTypeDef

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

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

DescribeRuleGroupMetadataRequestRequestTypeDef#

# DescribeRuleGroupMetadataRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupMetadataRequestRequestTypeDef

def get_value() -> DescribeRuleGroupMetadataRequestRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }
# DescribeRuleGroupMetadataRequestRequestTypeDef definition

class DescribeRuleGroupMetadataRequestRequestTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    RuleGroupArn: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (1)
  1. See RuleGroupTypeType

StatefulRuleOptionsTypeDef#

# StatefulRuleOptionsTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatefulRuleOptionsTypeDef

def get_value() -> StatefulRuleOptionsTypeDef:
    return {
        "RuleOrder": ...,
    }
# StatefulRuleOptionsTypeDef definition

class StatefulRuleOptionsTypeDef(TypedDict):
    RuleOrder: NotRequired[RuleOrderType],  # (1)
  1. See RuleOrderType

DescribeRuleGroupRequestRequestTypeDef#

# DescribeRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupRequestRequestTypeDef

def get_value() -> DescribeRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }
# DescribeRuleGroupRequestRequestTypeDef definition

class DescribeRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    RuleGroupArn: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (1)
  1. See RuleGroupTypeType

DescribeTLSInspectionConfigurationRequestRequestTypeDef#

# DescribeTLSInspectionConfigurationRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeTLSInspectionConfigurationRequestRequestTypeDef

def get_value() -> DescribeTLSInspectionConfigurationRequestRequestTypeDef:
    return {
        "TLSInspectionConfigurationArn": ...,
    }
# DescribeTLSInspectionConfigurationRequestRequestTypeDef definition

class DescribeTLSInspectionConfigurationRequestRequestTypeDef(TypedDict):
    TLSInspectionConfigurationArn: NotRequired[str],
    TLSInspectionConfigurationName: NotRequired[str],

DimensionTypeDef#

# DimensionTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DimensionTypeDef

def get_value() -> DimensionTypeDef:
    return {
        "Value": ...,
    }
# DimensionTypeDef definition

class DimensionTypeDef(TypedDict):
    Value: str,

DisassociateSubnetsRequestRequestTypeDef#

# DisassociateSubnetsRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DisassociateSubnetsRequestRequestTypeDef

def get_value() -> DisassociateSubnetsRequestRequestTypeDef:
    return {
        "SubnetIds": ...,
    }
# DisassociateSubnetsRequestRequestTypeDef definition

class DisassociateSubnetsRequestRequestTypeDef(TypedDict):
    SubnetIds: Sequence[str],
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

FirewallMetadataTypeDef#

# FirewallMetadataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import FirewallMetadataTypeDef

def get_value() -> FirewallMetadataTypeDef:
    return {
        "FirewallName": ...,
    }
# FirewallMetadataTypeDef definition

class FirewallMetadataTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],

FirewallPolicyMetadataTypeDef#

# FirewallPolicyMetadataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import FirewallPolicyMetadataTypeDef

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

class FirewallPolicyMetadataTypeDef(TypedDict):
    Name: NotRequired[str],
    Arn: NotRequired[str],

StatefulEngineOptionsTypeDef#

# StatefulEngineOptionsTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatefulEngineOptionsTypeDef

def get_value() -> StatefulEngineOptionsTypeDef:
    return {
        "RuleOrder": ...,
    }
# StatefulEngineOptionsTypeDef definition

class StatefulEngineOptionsTypeDef(TypedDict):
    RuleOrder: NotRequired[RuleOrderType],  # (1)
    StreamExceptionPolicy: NotRequired[StreamExceptionPolicyType],  # (2)
  1. See RuleOrderType
  2. See StreamExceptionPolicyType

StatelessRuleGroupReferenceTypeDef#

# StatelessRuleGroupReferenceTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatelessRuleGroupReferenceTypeDef

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

class StatelessRuleGroupReferenceTypeDef(TypedDict):
    ResourceArn: str,
    Priority: int,

HeaderTypeDef#

# HeaderTypeDef usage example

from mypy_boto3_network_firewall.type_defs import HeaderTypeDef

def get_value() -> HeaderTypeDef:
    return {
        "Protocol": ...,
        "Source": ...,
        "SourcePort": ...,
        "Direction": ...,
        "Destination": ...,
        "DestinationPort": ...,
    }
# HeaderTypeDef definition

class HeaderTypeDef(TypedDict):
    Protocol: StatefulRuleProtocolType,  # (1)
    Source: str,
    SourcePort: str,
    Direction: StatefulRuleDirectionType,  # (2)
    Destination: str,
    DestinationPort: str,
  1. See StatefulRuleProtocolType
  2. See StatefulRuleDirectionType

IPSetReferenceTypeDef#

# IPSetReferenceTypeDef usage example

from mypy_boto3_network_firewall.type_defs import IPSetReferenceTypeDef

def get_value() -> IPSetReferenceTypeDef:
    return {
        "ReferenceArn": ...,
    }
# IPSetReferenceTypeDef definition

class IPSetReferenceTypeDef(TypedDict):
    ReferenceArn: NotRequired[str],

IPSetTypeDef#

# IPSetTypeDef usage example

from mypy_boto3_network_firewall.type_defs import IPSetTypeDef

def get_value() -> IPSetTypeDef:
    return {
        "Definition": ...,
    }
# IPSetTypeDef definition

class IPSetTypeDef(TypedDict):
    Definition: Sequence[str],

ListFirewallPoliciesRequestListFirewallPoliciesPaginateTypeDef#

# ListFirewallPoliciesRequestListFirewallPoliciesPaginateTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesRequestListFirewallPoliciesPaginateTypeDef

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

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

ListFirewallPoliciesRequestRequestTypeDef#

# ListFirewallPoliciesRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesRequestRequestTypeDef

def get_value() -> ListFirewallPoliciesRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
# ListFirewallPoliciesRequestRequestTypeDef definition

class ListFirewallPoliciesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListFirewallsRequestListFirewallsPaginateTypeDef#

# ListFirewallsRequestListFirewallsPaginateTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallsRequestListFirewallsPaginateTypeDef

def get_value() -> ListFirewallsRequestListFirewallsPaginateTypeDef:
    return {
        "VpcIds": ...,
    }
# ListFirewallsRequestListFirewallsPaginateTypeDef definition

class ListFirewallsRequestListFirewallsPaginateTypeDef(TypedDict):
    VpcIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFirewallsRequestRequestTypeDef#

# ListFirewallsRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallsRequestRequestTypeDef

def get_value() -> ListFirewallsRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
# ListFirewallsRequestRequestTypeDef definition

class ListFirewallsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    VpcIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],

ListRuleGroupsRequestListRuleGroupsPaginateTypeDef#

# ListRuleGroupsRequestListRuleGroupsPaginateTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListRuleGroupsRequestListRuleGroupsPaginateTypeDef

def get_value() -> ListRuleGroupsRequestListRuleGroupsPaginateTypeDef:
    return {
        "Scope": ...,
    }
# ListRuleGroupsRequestListRuleGroupsPaginateTypeDef definition

class ListRuleGroupsRequestListRuleGroupsPaginateTypeDef(TypedDict):
    Scope: NotRequired[ResourceManagedStatusType],  # (1)
    ManagedType: NotRequired[ResourceManagedTypeType],  # (2)
    Type: NotRequired[RuleGroupTypeType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See ResourceManagedStatusType
  2. See ResourceManagedTypeType
  3. See RuleGroupTypeType
  4. See PaginatorConfigTypeDef

ListRuleGroupsRequestRequestTypeDef#

# ListRuleGroupsRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListRuleGroupsRequestRequestTypeDef

def get_value() -> ListRuleGroupsRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
# ListRuleGroupsRequestRequestTypeDef definition

class ListRuleGroupsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Scope: NotRequired[ResourceManagedStatusType],  # (1)
    ManagedType: NotRequired[ResourceManagedTypeType],  # (2)
    Type: NotRequired[RuleGroupTypeType],  # (3)
  1. See ResourceManagedStatusType
  2. See ResourceManagedTypeType
  3. See RuleGroupTypeType

RuleGroupMetadataTypeDef#

# RuleGroupMetadataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RuleGroupMetadataTypeDef

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

class RuleGroupMetadataTypeDef(TypedDict):
    Name: NotRequired[str],
    Arn: NotRequired[str],

ListTLSInspectionConfigurationsRequestListTLSInspectionConfigurationsPaginateTypeDef#

# ListTLSInspectionConfigurationsRequestListTLSInspectionConfigurationsPaginateTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListTLSInspectionConfigurationsRequestListTLSInspectionConfigurationsPaginateTypeDef

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

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

ListTLSInspectionConfigurationsRequestRequestTypeDef#

# ListTLSInspectionConfigurationsRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListTLSInspectionConfigurationsRequestRequestTypeDef

def get_value() -> ListTLSInspectionConfigurationsRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
# ListTLSInspectionConfigurationsRequestRequestTypeDef definition

class ListTLSInspectionConfigurationsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

TLSInspectionConfigurationMetadataTypeDef#

# TLSInspectionConfigurationMetadataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import TLSInspectionConfigurationMetadataTypeDef

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

class TLSInspectionConfigurationMetadataTypeDef(TypedDict):
    Name: NotRequired[str],
    Arn: NotRequired[str],

ListTagsForResourceRequestListTagsForResourcePaginateTypeDef#

# ListTagsForResourceRequestListTagsForResourcePaginateTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

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

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListTagsForResourceRequestRequestTypeDef

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

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

LogDestinationConfigTypeDef#

# LogDestinationConfigTypeDef usage example

from mypy_boto3_network_firewall.type_defs import LogDestinationConfigTypeDef

def get_value() -> LogDestinationConfigTypeDef:
    return {
        "LogType": ...,
        "LogDestinationType": ...,
        "LogDestination": ...,
    }
# LogDestinationConfigTypeDef definition

class LogDestinationConfigTypeDef(TypedDict):
    LogType: LogTypeType,  # (1)
    LogDestinationType: LogDestinationTypeType,  # (2)
    LogDestination: Dict[str, str],
  1. See LogTypeType
  2. See LogDestinationTypeType

PortRangeTypeDef#

# PortRangeTypeDef usage example

from mypy_boto3_network_firewall.type_defs import PortRangeTypeDef

def get_value() -> PortRangeTypeDef:
    return {
        "FromPort": ...,
        "ToPort": ...,
    }
# PortRangeTypeDef definition

class PortRangeTypeDef(TypedDict):
    FromPort: int,
    ToPort: int,

TCPFlagFieldTypeDef#

# TCPFlagFieldTypeDef usage example

from mypy_boto3_network_firewall.type_defs import TCPFlagFieldTypeDef

def get_value() -> TCPFlagFieldTypeDef:
    return {
        "Flags": ...,
    }
# TCPFlagFieldTypeDef definition

class TCPFlagFieldTypeDef(TypedDict):
    Flags: Sequence[TCPFlagType],  # (1)
    Masks: NotRequired[Sequence[TCPFlagType]],  # (1)
  1. See TCPFlagType
  2. See TCPFlagType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_network_firewall.type_defs import PaginatorConfigTypeDef

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

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

PerObjectStatusTypeDef#

# PerObjectStatusTypeDef usage example

from mypy_boto3_network_firewall.type_defs import PerObjectStatusTypeDef

def get_value() -> PerObjectStatusTypeDef:
    return {
        "SyncStatus": ...,
    }
# PerObjectStatusTypeDef definition

class PerObjectStatusTypeDef(TypedDict):
    SyncStatus: NotRequired[PerObjectSyncStatusType],  # (1)
    UpdateToken: NotRequired[str],
  1. See PerObjectSyncStatusType

PortSetTypeDef#

# PortSetTypeDef usage example

from mypy_boto3_network_firewall.type_defs import PortSetTypeDef

def get_value() -> PortSetTypeDef:
    return {
        "Definition": ...,
    }
# PortSetTypeDef definition

class PortSetTypeDef(TypedDict):
    Definition: NotRequired[Sequence[str]],

PutResourcePolicyRequestRequestTypeDef#

# PutResourcePolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import PutResourcePolicyRequestRequestTypeDef

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

class PutResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Policy: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ResponseMetadataTypeDef

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

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

RuleOptionTypeDef#

# RuleOptionTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RuleOptionTypeDef

def get_value() -> RuleOptionTypeDef:
    return {
        "Keyword": ...,
    }
# RuleOptionTypeDef definition

class RuleOptionTypeDef(TypedDict):
    Keyword: str,
    Settings: NotRequired[Sequence[str]],

RulesSourceListTypeDef#

# RulesSourceListTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RulesSourceListTypeDef

def get_value() -> RulesSourceListTypeDef:
    return {
        "Targets": ...,
        "TargetTypes": ...,
        "GeneratedRulesType": ...,
    }
# RulesSourceListTypeDef definition

class RulesSourceListTypeDef(TypedDict):
    Targets: Sequence[str],
    TargetTypes: Sequence[TargetTypeType],  # (1)
    GeneratedRulesType: GeneratedRulesTypeType,  # (2)
  1. See TargetTypeType
  2. See GeneratedRulesTypeType

ServerCertificateTypeDef#

# ServerCertificateTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ServerCertificateTypeDef

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

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

StatefulRuleGroupOverrideTypeDef#

# StatefulRuleGroupOverrideTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatefulRuleGroupOverrideTypeDef

def get_value() -> StatefulRuleGroupOverrideTypeDef:
    return {
        "Action": ...,
    }
# StatefulRuleGroupOverrideTypeDef definition

class StatefulRuleGroupOverrideTypeDef(TypedDict):
    Action: NotRequired[OverrideActionType],  # (1)
  1. See OverrideActionType

TlsCertificateDataTypeDef#

# TlsCertificateDataTypeDef usage example

from mypy_boto3_network_firewall.type_defs import TlsCertificateDataTypeDef

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

class TlsCertificateDataTypeDef(TypedDict):
    CertificateArn: NotRequired[str],
    CertificateSerial: NotRequired[str],
    Status: NotRequired[str],
    StatusMessage: NotRequired[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UntagResourceRequestRequestTypeDef

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

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateFirewallDeleteProtectionRequestRequestTypeDef#

# UpdateFirewallDeleteProtectionRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDeleteProtectionRequestRequestTypeDef

def get_value() -> UpdateFirewallDeleteProtectionRequestRequestTypeDef:
    return {
        "DeleteProtection": ...,
    }
# UpdateFirewallDeleteProtectionRequestRequestTypeDef definition

class UpdateFirewallDeleteProtectionRequestRequestTypeDef(TypedDict):
    DeleteProtection: bool,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

UpdateFirewallDeleteProtectionResponseTypeDef#

# UpdateFirewallDeleteProtectionResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDeleteProtectionResponseTypeDef

def get_value() -> UpdateFirewallDeleteProtectionResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "DeleteProtection": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateFirewallDeleteProtectionResponseTypeDef definition

class UpdateFirewallDeleteProtectionResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    DeleteProtection: bool,
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateFirewallDescriptionRequestRequestTypeDef#

# UpdateFirewallDescriptionRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDescriptionRequestRequestTypeDef

def get_value() -> UpdateFirewallDescriptionRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
    }
# UpdateFirewallDescriptionRequestRequestTypeDef definition

class UpdateFirewallDescriptionRequestRequestTypeDef(TypedDict):
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
    Description: NotRequired[str],

UpdateFirewallDescriptionResponseTypeDef#

# UpdateFirewallDescriptionResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDescriptionResponseTypeDef

def get_value() -> UpdateFirewallDescriptionResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "Description": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
# UpdateFirewallDescriptionResponseTypeDef definition

class UpdateFirewallDescriptionResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    Description: str,
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef#

# UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef

def get_value() -> UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef:
    return {
        "FirewallPolicyChangeProtection": ...,
    }
# UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef definition

class UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef(TypedDict):
    FirewallPolicyChangeProtection: bool,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

UpdateFirewallPolicyChangeProtectionResponseTypeDef#

# UpdateFirewallPolicyChangeProtectionResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyChangeProtectionResponseTypeDef

def get_value() -> UpdateFirewallPolicyChangeProtectionResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallArn": ...,
        "FirewallName": ...,
        "FirewallPolicyChangeProtection": ...,
        "ResponseMetadata": ...,
    }
# UpdateFirewallPolicyChangeProtectionResponseTypeDef definition

class UpdateFirewallPolicyChangeProtectionResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallArn: str,
    FirewallName: str,
    FirewallPolicyChangeProtection: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSubnetChangeProtectionRequestRequestTypeDef#

# UpdateSubnetChangeProtectionRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateSubnetChangeProtectionRequestRequestTypeDef

def get_value() -> UpdateSubnetChangeProtectionRequestRequestTypeDef:
    return {
        "SubnetChangeProtection": ...,
    }
# UpdateSubnetChangeProtectionRequestRequestTypeDef definition

class UpdateSubnetChangeProtectionRequestRequestTypeDef(TypedDict):
    SubnetChangeProtection: bool,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

UpdateSubnetChangeProtectionResponseTypeDef#

# UpdateSubnetChangeProtectionResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateSubnetChangeProtectionResponseTypeDef

def get_value() -> UpdateSubnetChangeProtectionResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallArn": ...,
        "FirewallName": ...,
        "SubnetChangeProtection": ...,
        "ResponseMetadata": ...,
    }
# UpdateSubnetChangeProtectionResponseTypeDef definition

class UpdateSubnetChangeProtectionResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallArn: str,
    FirewallName: str,
    SubnetChangeProtection: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AssociateSubnetsRequestRequestTypeDef#

# AssociateSubnetsRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import AssociateSubnetsRequestRequestTypeDef

def get_value() -> AssociateSubnetsRequestRequestTypeDef:
    return {
        "SubnetMappings": ...,
    }
# AssociateSubnetsRequestRequestTypeDef definition

class AssociateSubnetsRequestRequestTypeDef(TypedDict):
    SubnetMappings: Sequence[SubnetMappingTypeDef],  # (1)
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
  1. See SubnetMappingTypeDef

AssociateSubnetsResponseTypeDef#

# AssociateSubnetsResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import AssociateSubnetsResponseTypeDef

def get_value() -> AssociateSubnetsResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "SubnetMappings": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
# AssociateSubnetsResponseTypeDef definition

class AssociateSubnetsResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    SubnetMappings: List[SubnetMappingTypeDef],  # (1)
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetMappingTypeDef
  2. See ResponseMetadataTypeDef

DisassociateSubnetsResponseTypeDef#

# DisassociateSubnetsResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DisassociateSubnetsResponseTypeDef

def get_value() -> DisassociateSubnetsResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "SubnetMappings": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
# DisassociateSubnetsResponseTypeDef definition

class DisassociateSubnetsResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    SubnetMappings: List[SubnetMappingTypeDef],  # (1)
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetMappingTypeDef
  2. See ResponseMetadataTypeDef

CIDRSummaryTypeDef#

# CIDRSummaryTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CIDRSummaryTypeDef

def get_value() -> CIDRSummaryTypeDef:
    return {
        "AvailableCIDRCount": ...,
    }
# CIDRSummaryTypeDef definition

class CIDRSummaryTypeDef(TypedDict):
    AvailableCIDRCount: NotRequired[int],
    UtilizedCIDRCount: NotRequired[int],
    IPSetReferences: NotRequired[Dict[str, IPSetMetadataTypeDef]],  # (1)
  1. See IPSetMetadataTypeDef

UpdateFirewallEncryptionConfigurationRequestRequestTypeDef#

# UpdateFirewallEncryptionConfigurationRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallEncryptionConfigurationRequestRequestTypeDef

def get_value() -> UpdateFirewallEncryptionConfigurationRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
    }
# UpdateFirewallEncryptionConfigurationRequestRequestTypeDef definition

class UpdateFirewallEncryptionConfigurationRequestRequestTypeDef(TypedDict):
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (1)
  1. See EncryptionConfigurationTypeDef

UpdateFirewallEncryptionConfigurationResponseTypeDef#

# UpdateFirewallEncryptionConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallEncryptionConfigurationResponseTypeDef

def get_value() -> UpdateFirewallEncryptionConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "UpdateToken": ...,
        "EncryptionConfiguration": ...,
        "ResponseMetadata": ...,
    }
# UpdateFirewallEncryptionConfigurationResponseTypeDef definition

class UpdateFirewallEncryptionConfigurationResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    UpdateToken: str,
    EncryptionConfiguration: EncryptionConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EncryptionConfigurationTypeDef
  2. See ResponseMetadataTypeDef

CreateFirewallRequestRequestTypeDef#

# CreateFirewallRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateFirewallRequestRequestTypeDef

def get_value() -> CreateFirewallRequestRequestTypeDef:
    return {
        "FirewallName": ...,
        "FirewallPolicyArn": ...,
        "VpcId": ...,
        "SubnetMappings": ...,
    }
# CreateFirewallRequestRequestTypeDef definition

class CreateFirewallRequestRequestTypeDef(TypedDict):
    FirewallName: str,
    FirewallPolicyArn: str,
    VpcId: str,
    SubnetMappings: Sequence[SubnetMappingTypeDef],  # (1)
    DeleteProtection: NotRequired[bool],
    SubnetChangeProtection: NotRequired[bool],
    FirewallPolicyChangeProtection: NotRequired[bool],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See SubnetMappingTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

FirewallPolicyResponseTypeDef#

# FirewallPolicyResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import FirewallPolicyResponseTypeDef

def get_value() -> FirewallPolicyResponseTypeDef:
    return {
        "FirewallPolicyName": ...,
        "FirewallPolicyArn": ...,
        "FirewallPolicyId": ...,
    }
# FirewallPolicyResponseTypeDef definition

class FirewallPolicyResponseTypeDef(TypedDict):
    FirewallPolicyName: str,
    FirewallPolicyArn: str,
    FirewallPolicyId: str,
    Description: NotRequired[str],
    FirewallPolicyStatus: NotRequired[ResourceStatusType],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    ConsumedStatelessRuleCapacity: NotRequired[int],
    ConsumedStatefulRuleCapacity: NotRequired[int],
    NumberOfAssociations: NotRequired[int],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
    LastModifiedTime: NotRequired[datetime],
  1. See ResourceStatusType
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

FirewallTypeDef#

# FirewallTypeDef usage example

from mypy_boto3_network_firewall.type_defs import FirewallTypeDef

def get_value() -> FirewallTypeDef:
    return {
        "FirewallPolicyArn": ...,
        "VpcId": ...,
        "SubnetMappings": ...,
        "FirewallId": ...,
    }
# FirewallTypeDef definition

class FirewallTypeDef(TypedDict):
    FirewallPolicyArn: str,
    VpcId: str,
    SubnetMappings: List[SubnetMappingTypeDef],  # (1)
    FirewallId: str,
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],
    DeleteProtection: NotRequired[bool],
    SubnetChangeProtection: NotRequired[bool],
    FirewallPolicyChangeProtection: NotRequired[bool],
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See SubnetMappingTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "NextToken": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    NextToken: str,
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import TagResourceRequestRequestTypeDef

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

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

RuleGroupResponseTypeDef#

# RuleGroupResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RuleGroupResponseTypeDef

def get_value() -> RuleGroupResponseTypeDef:
    return {
        "RuleGroupArn": ...,
        "RuleGroupName": ...,
        "RuleGroupId": ...,
    }
# RuleGroupResponseTypeDef definition

class RuleGroupResponseTypeDef(TypedDict):
    RuleGroupArn: str,
    RuleGroupName: str,
    RuleGroupId: str,
    Description: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (1)
    Capacity: NotRequired[int],
    RuleGroupStatus: NotRequired[ResourceStatusType],  # (2)
    Tags: NotRequired[List[TagTypeDef]],  # (3)
    ConsumedCapacity: NotRequired[int],
    NumberOfAssociations: NotRequired[int],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (4)
    SourceMetadata: NotRequired[SourceMetadataTypeDef],  # (5)
    SnsTopic: NotRequired[str],
    LastModifiedTime: NotRequired[datetime],
  1. See RuleGroupTypeType
  2. See ResourceStatusType
  3. See TagTypeDef
  4. See EncryptionConfigurationTypeDef
  5. See SourceMetadataTypeDef

DescribeRuleGroupMetadataResponseTypeDef#

# DescribeRuleGroupMetadataResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupMetadataResponseTypeDef

def get_value() -> DescribeRuleGroupMetadataResponseTypeDef:
    return {
        "RuleGroupArn": ...,
        "RuleGroupName": ...,
        "Description": ...,
        "Type": ...,
        "Capacity": ...,
        "StatefulRuleOptions": ...,
        "LastModifiedTime": ...,
        "ResponseMetadata": ...,
    }
# DescribeRuleGroupMetadataResponseTypeDef definition

class DescribeRuleGroupMetadataResponseTypeDef(TypedDict):
    RuleGroupArn: str,
    RuleGroupName: str,
    Description: str,
    Type: RuleGroupTypeType,  # (1)
    Capacity: int,
    StatefulRuleOptions: StatefulRuleOptionsTypeDef,  # (2)
    LastModifiedTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RuleGroupTypeType
  2. See StatefulRuleOptionsTypeDef
  3. See ResponseMetadataTypeDef

PublishMetricActionTypeDef#

# PublishMetricActionTypeDef usage example

from mypy_boto3_network_firewall.type_defs import PublishMetricActionTypeDef

def get_value() -> PublishMetricActionTypeDef:
    return {
        "Dimensions": ...,
    }
# PublishMetricActionTypeDef definition

class PublishMetricActionTypeDef(TypedDict):
    Dimensions: Sequence[DimensionTypeDef],  # (1)
  1. See DimensionTypeDef

ListFirewallsResponseTypeDef#

# ListFirewallsResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallsResponseTypeDef

def get_value() -> ListFirewallsResponseTypeDef:
    return {
        "NextToken": ...,
        "Firewalls": ...,
        "ResponseMetadata": ...,
    }
# ListFirewallsResponseTypeDef definition

class ListFirewallsResponseTypeDef(TypedDict):
    NextToken: str,
    Firewalls: List[FirewallMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListFirewallPoliciesResponseTypeDef#

# ListFirewallPoliciesResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesResponseTypeDef

def get_value() -> ListFirewallPoliciesResponseTypeDef:
    return {
        "NextToken": ...,
        "FirewallPolicies": ...,
        "ResponseMetadata": ...,
    }
# ListFirewallPoliciesResponseTypeDef definition

class ListFirewallPoliciesResponseTypeDef(TypedDict):
    NextToken: str,
    FirewallPolicies: List[FirewallPolicyMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyMetadataTypeDef
  2. See ResponseMetadataTypeDef

ReferenceSetsTypeDef#

# ReferenceSetsTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ReferenceSetsTypeDef

def get_value() -> ReferenceSetsTypeDef:
    return {
        "IPSetReferences": ...,
    }
# ReferenceSetsTypeDef definition

class ReferenceSetsTypeDef(TypedDict):
    IPSetReferences: NotRequired[Mapping[str, IPSetReferenceTypeDef]],  # (1)
  1. See IPSetReferenceTypeDef

PolicyVariablesTypeDef#

# PolicyVariablesTypeDef usage example

from mypy_boto3_network_firewall.type_defs import PolicyVariablesTypeDef

def get_value() -> PolicyVariablesTypeDef:
    return {
        "RuleVariables": ...,
    }
# PolicyVariablesTypeDef definition

class PolicyVariablesTypeDef(TypedDict):
    RuleVariables: NotRequired[Mapping[str, IPSetTypeDef]],  # (1)
  1. See IPSetTypeDef

ListRuleGroupsResponseTypeDef#

# ListRuleGroupsResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListRuleGroupsResponseTypeDef

def get_value() -> ListRuleGroupsResponseTypeDef:
    return {
        "NextToken": ...,
        "RuleGroups": ...,
        "ResponseMetadata": ...,
    }
# ListRuleGroupsResponseTypeDef definition

class ListRuleGroupsResponseTypeDef(TypedDict):
    NextToken: str,
    RuleGroups: List[RuleGroupMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListTLSInspectionConfigurationsResponseTypeDef#

# ListTLSInspectionConfigurationsResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ListTLSInspectionConfigurationsResponseTypeDef

def get_value() -> ListTLSInspectionConfigurationsResponseTypeDef:
    return {
        "NextToken": ...,
        "TLSInspectionConfigurations": ...,
        "ResponseMetadata": ...,
    }
# ListTLSInspectionConfigurationsResponseTypeDef definition

class ListTLSInspectionConfigurationsResponseTypeDef(TypedDict):
    NextToken: str,
    TLSInspectionConfigurations: List[TLSInspectionConfigurationMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TLSInspectionConfigurationMetadataTypeDef
  2. See ResponseMetadataTypeDef

LoggingConfigurationTypeDef#

# LoggingConfigurationTypeDef usage example

from mypy_boto3_network_firewall.type_defs import LoggingConfigurationTypeDef

def get_value() -> LoggingConfigurationTypeDef:
    return {
        "LogDestinationConfigs": ...,
    }
# LoggingConfigurationTypeDef definition

class LoggingConfigurationTypeDef(TypedDict):
    LogDestinationConfigs: List[LogDestinationConfigTypeDef],  # (1)
  1. See LogDestinationConfigTypeDef

ServerCertificateScopeTypeDef#

# ServerCertificateScopeTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ServerCertificateScopeTypeDef

def get_value() -> ServerCertificateScopeTypeDef:
    return {
        "Sources": ...,
    }
# ServerCertificateScopeTypeDef definition

class ServerCertificateScopeTypeDef(TypedDict):
    Sources: NotRequired[Sequence[AddressTypeDef]],  # (1)
    Destinations: NotRequired[Sequence[AddressTypeDef]],  # (1)
    SourcePorts: NotRequired[Sequence[PortRangeTypeDef]],  # (3)
    DestinationPorts: NotRequired[Sequence[PortRangeTypeDef]],  # (3)
    Protocols: NotRequired[Sequence[int]],
  1. See AddressTypeDef
  2. See AddressTypeDef
  3. See PortRangeTypeDef
  4. See PortRangeTypeDef

MatchAttributesTypeDef#

# MatchAttributesTypeDef usage example

from mypy_boto3_network_firewall.type_defs import MatchAttributesTypeDef

def get_value() -> MatchAttributesTypeDef:
    return {
        "Sources": ...,
    }
# MatchAttributesTypeDef definition

class MatchAttributesTypeDef(TypedDict):
    Sources: NotRequired[Sequence[AddressTypeDef]],  # (1)
    Destinations: NotRequired[Sequence[AddressTypeDef]],  # (1)
    SourcePorts: NotRequired[Sequence[PortRangeTypeDef]],  # (3)
    DestinationPorts: NotRequired[Sequence[PortRangeTypeDef]],  # (3)
    Protocols: NotRequired[Sequence[int]],
    TCPFlags: NotRequired[Sequence[TCPFlagFieldTypeDef]],  # (5)
  1. See AddressTypeDef
  2. See AddressTypeDef
  3. See PortRangeTypeDef
  4. See PortRangeTypeDef
  5. See TCPFlagFieldTypeDef

SyncStateTypeDef#

# SyncStateTypeDef usage example

from mypy_boto3_network_firewall.type_defs import SyncStateTypeDef

def get_value() -> SyncStateTypeDef:
    return {
        "Attachment": ...,
    }
# SyncStateTypeDef definition

class SyncStateTypeDef(TypedDict):
    Attachment: NotRequired[AttachmentTypeDef],  # (1)
    Config: NotRequired[Dict[str, PerObjectStatusTypeDef]],  # (2)
  1. See AttachmentTypeDef
  2. See PerObjectStatusTypeDef

RuleVariablesTypeDef#

# RuleVariablesTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RuleVariablesTypeDef

def get_value() -> RuleVariablesTypeDef:
    return {
        "IPSets": ...,
    }
# RuleVariablesTypeDef definition

class RuleVariablesTypeDef(TypedDict):
    IPSets: NotRequired[Mapping[str, IPSetTypeDef]],  # (1)
    PortSets: NotRequired[Mapping[str, PortSetTypeDef]],  # (2)
  1. See IPSetTypeDef
  2. See PortSetTypeDef

StatefulRuleTypeDef#

# StatefulRuleTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatefulRuleTypeDef

def get_value() -> StatefulRuleTypeDef:
    return {
        "Action": ...,
        "Header": ...,
        "RuleOptions": ...,
    }
# StatefulRuleTypeDef definition

class StatefulRuleTypeDef(TypedDict):
    Action: StatefulActionType,  # (1)
    Header: HeaderTypeDef,  # (2)
    RuleOptions: Sequence[RuleOptionTypeDef],  # (3)
  1. See StatefulActionType
  2. See HeaderTypeDef
  3. See RuleOptionTypeDef

StatefulRuleGroupReferenceTypeDef#

# StatefulRuleGroupReferenceTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatefulRuleGroupReferenceTypeDef

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

class StatefulRuleGroupReferenceTypeDef(TypedDict):
    ResourceArn: str,
    Priority: NotRequired[int],
    Override: NotRequired[StatefulRuleGroupOverrideTypeDef],  # (1)
  1. See StatefulRuleGroupOverrideTypeDef

TLSInspectionConfigurationResponseTypeDef#

# TLSInspectionConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import TLSInspectionConfigurationResponseTypeDef

def get_value() -> TLSInspectionConfigurationResponseTypeDef:
    return {
        "TLSInspectionConfigurationArn": ...,
        "TLSInspectionConfigurationName": ...,
        "TLSInspectionConfigurationId": ...,
    }
# TLSInspectionConfigurationResponseTypeDef definition

class TLSInspectionConfigurationResponseTypeDef(TypedDict):
    TLSInspectionConfigurationArn: str,
    TLSInspectionConfigurationName: str,
    TLSInspectionConfigurationId: str,
    TLSInspectionConfigurationStatus: NotRequired[ResourceStatusType],  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    LastModifiedTime: NotRequired[datetime],
    NumberOfAssociations: NotRequired[int],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
    Certificates: NotRequired[List[TlsCertificateDataTypeDef]],  # (4)
  1. See ResourceStatusType
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef
  4. See TlsCertificateDataTypeDef

CapacityUsageSummaryTypeDef#

# CapacityUsageSummaryTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CapacityUsageSummaryTypeDef

def get_value() -> CapacityUsageSummaryTypeDef:
    return {
        "CIDRs": ...,
    }
# CapacityUsageSummaryTypeDef definition

class CapacityUsageSummaryTypeDef(TypedDict):
    CIDRs: NotRequired[CIDRSummaryTypeDef],  # (1)
  1. See CIDRSummaryTypeDef

CreateFirewallPolicyResponseTypeDef#

# CreateFirewallPolicyResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateFirewallPolicyResponseTypeDef

def get_value() -> CreateFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicyResponse": ...,
        "ResponseMetadata": ...,
    }
# CreateFirewallPolicyResponseTypeDef definition

class CreateFirewallPolicyResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyResponseTypeDef
  2. See ResponseMetadataTypeDef

DeleteFirewallPolicyResponseTypeDef#

# DeleteFirewallPolicyResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteFirewallPolicyResponseTypeDef

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

class DeleteFirewallPolicyResponseTypeDef(TypedDict):
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyResponseTypeDef
  2. See ResponseMetadataTypeDef

UpdateFirewallPolicyResponseTypeDef#

# UpdateFirewallPolicyResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyResponseTypeDef

def get_value() -> UpdateFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicyResponse": ...,
        "ResponseMetadata": ...,
    }
# UpdateFirewallPolicyResponseTypeDef definition

class UpdateFirewallPolicyResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyResponseTypeDef
  2. See ResponseMetadataTypeDef

CreateRuleGroupResponseTypeDef#

# CreateRuleGroupResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateRuleGroupResponseTypeDef

def get_value() -> CreateRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
        "RuleGroupResponse": ...,
        "ResponseMetadata": ...,
    }
# CreateRuleGroupResponseTypeDef definition

class CreateRuleGroupResponseTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupResponseTypeDef
  2. See ResponseMetadataTypeDef

DeleteRuleGroupResponseTypeDef#

# DeleteRuleGroupResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteRuleGroupResponseTypeDef

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

class DeleteRuleGroupResponseTypeDef(TypedDict):
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupResponseTypeDef
  2. See ResponseMetadataTypeDef

UpdateRuleGroupResponseTypeDef#

# UpdateRuleGroupResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateRuleGroupResponseTypeDef

def get_value() -> UpdateRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
        "RuleGroupResponse": ...,
        "ResponseMetadata": ...,
    }
# UpdateRuleGroupResponseTypeDef definition

class UpdateRuleGroupResponseTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupResponseTypeDef
  2. See ResponseMetadataTypeDef

ActionDefinitionTypeDef#

# ActionDefinitionTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ActionDefinitionTypeDef

def get_value() -> ActionDefinitionTypeDef:
    return {
        "PublishMetricAction": ...,
    }
# ActionDefinitionTypeDef definition

class ActionDefinitionTypeDef(TypedDict):
    PublishMetricAction: NotRequired[PublishMetricActionTypeDef],  # (1)
  1. See PublishMetricActionTypeDef

DescribeLoggingConfigurationResponseTypeDef#

# DescribeLoggingConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeLoggingConfigurationResponseTypeDef

def get_value() -> DescribeLoggingConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
        "LoggingConfiguration": ...,
        "ResponseMetadata": ...,
    }
# DescribeLoggingConfigurationResponseTypeDef definition

class DescribeLoggingConfigurationResponseTypeDef(TypedDict):
    FirewallArn: str,
    LoggingConfiguration: LoggingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateLoggingConfigurationRequestRequestTypeDef#

# UpdateLoggingConfigurationRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateLoggingConfigurationRequestRequestTypeDef

def get_value() -> UpdateLoggingConfigurationRequestRequestTypeDef:
    return {
        "FirewallArn": ...,
    }
# UpdateLoggingConfigurationRequestRequestTypeDef definition

class UpdateLoggingConfigurationRequestRequestTypeDef(TypedDict):
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
    LoggingConfiguration: NotRequired[LoggingConfigurationTypeDef],  # (1)
  1. See LoggingConfigurationTypeDef

UpdateLoggingConfigurationResponseTypeDef#

# UpdateLoggingConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateLoggingConfigurationResponseTypeDef

def get_value() -> UpdateLoggingConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "LoggingConfiguration": ...,
        "ResponseMetadata": ...,
    }
# UpdateLoggingConfigurationResponseTypeDef definition

class UpdateLoggingConfigurationResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    LoggingConfiguration: LoggingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

ServerCertificateConfigurationTypeDef#

# ServerCertificateConfigurationTypeDef usage example

from mypy_boto3_network_firewall.type_defs import ServerCertificateConfigurationTypeDef

def get_value() -> ServerCertificateConfigurationTypeDef:
    return {
        "ServerCertificates": ...,
    }
# ServerCertificateConfigurationTypeDef definition

class ServerCertificateConfigurationTypeDef(TypedDict):
    ServerCertificates: NotRequired[Sequence[ServerCertificateTypeDef]],  # (1)
    Scopes: NotRequired[Sequence[ServerCertificateScopeTypeDef]],  # (2)
  1. See ServerCertificateTypeDef
  2. See ServerCertificateScopeTypeDef

RuleDefinitionTypeDef#

# RuleDefinitionTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RuleDefinitionTypeDef

def get_value() -> RuleDefinitionTypeDef:
    return {
        "MatchAttributes": ...,
        "Actions": ...,
    }
# RuleDefinitionTypeDef definition

class RuleDefinitionTypeDef(TypedDict):
    MatchAttributes: MatchAttributesTypeDef,  # (1)
    Actions: Sequence[str],
  1. See MatchAttributesTypeDef

CreateTLSInspectionConfigurationResponseTypeDef#

# CreateTLSInspectionConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateTLSInspectionConfigurationResponseTypeDef

def get_value() -> CreateTLSInspectionConfigurationResponseTypeDef:
    return {
        "UpdateToken": ...,
        "TLSInspectionConfigurationResponse": ...,
        "ResponseMetadata": ...,
    }
# CreateTLSInspectionConfigurationResponseTypeDef definition

class CreateTLSInspectionConfigurationResponseTypeDef(TypedDict):
    UpdateToken: str,
    TLSInspectionConfigurationResponse: TLSInspectionConfigurationResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TLSInspectionConfigurationResponseTypeDef
  2. See ResponseMetadataTypeDef

DeleteTLSInspectionConfigurationResponseTypeDef#

# DeleteTLSInspectionConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteTLSInspectionConfigurationResponseTypeDef

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

class DeleteTLSInspectionConfigurationResponseTypeDef(TypedDict):
    TLSInspectionConfigurationResponse: TLSInspectionConfigurationResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TLSInspectionConfigurationResponseTypeDef
  2. See ResponseMetadataTypeDef

UpdateTLSInspectionConfigurationResponseTypeDef#

# UpdateTLSInspectionConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateTLSInspectionConfigurationResponseTypeDef

def get_value() -> UpdateTLSInspectionConfigurationResponseTypeDef:
    return {
        "UpdateToken": ...,
        "TLSInspectionConfigurationResponse": ...,
        "ResponseMetadata": ...,
    }
# UpdateTLSInspectionConfigurationResponseTypeDef definition

class UpdateTLSInspectionConfigurationResponseTypeDef(TypedDict):
    UpdateToken: str,
    TLSInspectionConfigurationResponse: TLSInspectionConfigurationResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TLSInspectionConfigurationResponseTypeDef
  2. See ResponseMetadataTypeDef

FirewallStatusTypeDef#

# FirewallStatusTypeDef usage example

from mypy_boto3_network_firewall.type_defs import FirewallStatusTypeDef

def get_value() -> FirewallStatusTypeDef:
    return {
        "Status": ...,
        "ConfigurationSyncStateSummary": ...,
    }
# FirewallStatusTypeDef definition

class FirewallStatusTypeDef(TypedDict):
    Status: FirewallStatusValueType,  # (1)
    ConfigurationSyncStateSummary: ConfigurationSyncStateType,  # (2)
    SyncStates: NotRequired[Dict[str, SyncStateTypeDef]],  # (3)
    CapacityUsageSummary: NotRequired[CapacityUsageSummaryTypeDef],  # (4)
  1. See FirewallStatusValueType
  2. See ConfigurationSyncStateType
  3. See SyncStateTypeDef
  4. See CapacityUsageSummaryTypeDef

CustomActionTypeDef#

# CustomActionTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CustomActionTypeDef

def get_value() -> CustomActionTypeDef:
    return {
        "ActionName": ...,
        "ActionDefinition": ...,
    }
# CustomActionTypeDef definition

class CustomActionTypeDef(TypedDict):
    ActionName: str,
    ActionDefinition: ActionDefinitionTypeDef,  # (1)
  1. See ActionDefinitionTypeDef

TLSInspectionConfigurationTypeDef#

# TLSInspectionConfigurationTypeDef usage example

from mypy_boto3_network_firewall.type_defs import TLSInspectionConfigurationTypeDef

def get_value() -> TLSInspectionConfigurationTypeDef:
    return {
        "ServerCertificateConfigurations": ...,
    }
# TLSInspectionConfigurationTypeDef definition

class TLSInspectionConfigurationTypeDef(TypedDict):
    ServerCertificateConfigurations: NotRequired[Sequence[ServerCertificateConfigurationTypeDef]],  # (1)
  1. See ServerCertificateConfigurationTypeDef

StatelessRuleTypeDef#

# StatelessRuleTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatelessRuleTypeDef

def get_value() -> StatelessRuleTypeDef:
    return {
        "RuleDefinition": ...,
        "Priority": ...,
    }
# StatelessRuleTypeDef definition

class StatelessRuleTypeDef(TypedDict):
    RuleDefinition: RuleDefinitionTypeDef,  # (1)
    Priority: int,
  1. See RuleDefinitionTypeDef

CreateFirewallResponseTypeDef#

# CreateFirewallResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateFirewallResponseTypeDef

def get_value() -> CreateFirewallResponseTypeDef:
    return {
        "Firewall": ...,
        "FirewallStatus": ...,
        "ResponseMetadata": ...,
    }
# CreateFirewallResponseTypeDef definition

class CreateFirewallResponseTypeDef(TypedDict):
    Firewall: FirewallTypeDef,  # (1)
    FirewallStatus: FirewallStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallTypeDef
  2. See FirewallStatusTypeDef
  3. See ResponseMetadataTypeDef

DeleteFirewallResponseTypeDef#

# DeleteFirewallResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DeleteFirewallResponseTypeDef

def get_value() -> DeleteFirewallResponseTypeDef:
    return {
        "Firewall": ...,
        "FirewallStatus": ...,
        "ResponseMetadata": ...,
    }
# DeleteFirewallResponseTypeDef definition

class DeleteFirewallResponseTypeDef(TypedDict):
    Firewall: FirewallTypeDef,  # (1)
    FirewallStatus: FirewallStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallTypeDef
  2. See FirewallStatusTypeDef
  3. See ResponseMetadataTypeDef

DescribeFirewallResponseTypeDef#

# DescribeFirewallResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeFirewallResponseTypeDef

def get_value() -> DescribeFirewallResponseTypeDef:
    return {
        "UpdateToken": ...,
        "Firewall": ...,
        "FirewallStatus": ...,
        "ResponseMetadata": ...,
    }
# DescribeFirewallResponseTypeDef definition

class DescribeFirewallResponseTypeDef(TypedDict):
    UpdateToken: str,
    Firewall: FirewallTypeDef,  # (1)
    FirewallStatus: FirewallStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallTypeDef
  2. See FirewallStatusTypeDef
  3. See ResponseMetadataTypeDef

FirewallPolicyTypeDef#

# FirewallPolicyTypeDef usage example

from mypy_boto3_network_firewall.type_defs import FirewallPolicyTypeDef

def get_value() -> FirewallPolicyTypeDef:
    return {
        "StatelessDefaultActions": ...,
        "StatelessFragmentDefaultActions": ...,
    }
# FirewallPolicyTypeDef definition

class FirewallPolicyTypeDef(TypedDict):
    StatelessDefaultActions: Sequence[str],
    StatelessFragmentDefaultActions: Sequence[str],
    StatelessRuleGroupReferences: NotRequired[Sequence[StatelessRuleGroupReferenceTypeDef]],  # (1)
    StatelessCustomActions: NotRequired[Sequence[CustomActionTypeDef]],  # (2)
    StatefulRuleGroupReferences: NotRequired[Sequence[StatefulRuleGroupReferenceTypeDef]],  # (3)
    StatefulDefaultActions: NotRequired[Sequence[str]],
    StatefulEngineOptions: NotRequired[StatefulEngineOptionsTypeDef],  # (4)
    TLSInspectionConfigurationArn: NotRequired[str],
    PolicyVariables: NotRequired[PolicyVariablesTypeDef],  # (5)
  1. See StatelessRuleGroupReferenceTypeDef
  2. See CustomActionTypeDef
  3. See StatefulRuleGroupReferenceTypeDef
  4. See StatefulEngineOptionsTypeDef
  5. See PolicyVariablesTypeDef

CreateTLSInspectionConfigurationRequestRequestTypeDef#

# CreateTLSInspectionConfigurationRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateTLSInspectionConfigurationRequestRequestTypeDef

def get_value() -> CreateTLSInspectionConfigurationRequestRequestTypeDef:
    return {
        "TLSInspectionConfigurationName": ...,
        "TLSInspectionConfiguration": ...,
    }
# CreateTLSInspectionConfigurationRequestRequestTypeDef definition

class CreateTLSInspectionConfigurationRequestRequestTypeDef(TypedDict):
    TLSInspectionConfigurationName: str,
    TLSInspectionConfiguration: TLSInspectionConfigurationTypeDef,  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See TLSInspectionConfigurationTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

DescribeTLSInspectionConfigurationResponseTypeDef#

# DescribeTLSInspectionConfigurationResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeTLSInspectionConfigurationResponseTypeDef

def get_value() -> DescribeTLSInspectionConfigurationResponseTypeDef:
    return {
        "UpdateToken": ...,
        "TLSInspectionConfiguration": ...,
        "TLSInspectionConfigurationResponse": ...,
        "ResponseMetadata": ...,
    }
# DescribeTLSInspectionConfigurationResponseTypeDef definition

class DescribeTLSInspectionConfigurationResponseTypeDef(TypedDict):
    UpdateToken: str,
    TLSInspectionConfiguration: TLSInspectionConfigurationTypeDef,  # (1)
    TLSInspectionConfigurationResponse: TLSInspectionConfigurationResponseTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TLSInspectionConfigurationTypeDef
  2. See TLSInspectionConfigurationResponseTypeDef
  3. See ResponseMetadataTypeDef

UpdateTLSInspectionConfigurationRequestRequestTypeDef#

# UpdateTLSInspectionConfigurationRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateTLSInspectionConfigurationRequestRequestTypeDef

def get_value() -> UpdateTLSInspectionConfigurationRequestRequestTypeDef:
    return {
        "TLSInspectionConfiguration": ...,
        "UpdateToken": ...,
    }
# UpdateTLSInspectionConfigurationRequestRequestTypeDef definition

class UpdateTLSInspectionConfigurationRequestRequestTypeDef(TypedDict):
    TLSInspectionConfiguration: TLSInspectionConfigurationTypeDef,  # (1)
    UpdateToken: str,
    TLSInspectionConfigurationArn: NotRequired[str],
    TLSInspectionConfigurationName: NotRequired[str],
    Description: NotRequired[str],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (2)
  1. See TLSInspectionConfigurationTypeDef
  2. See EncryptionConfigurationTypeDef

StatelessRulesAndCustomActionsTypeDef#

# StatelessRulesAndCustomActionsTypeDef usage example

from mypy_boto3_network_firewall.type_defs import StatelessRulesAndCustomActionsTypeDef

def get_value() -> StatelessRulesAndCustomActionsTypeDef:
    return {
        "StatelessRules": ...,
    }
# StatelessRulesAndCustomActionsTypeDef definition

class StatelessRulesAndCustomActionsTypeDef(TypedDict):
    StatelessRules: Sequence[StatelessRuleTypeDef],  # (1)
    CustomActions: NotRequired[Sequence[CustomActionTypeDef]],  # (2)
  1. See StatelessRuleTypeDef
  2. See CustomActionTypeDef

CreateFirewallPolicyRequestRequestTypeDef#

# CreateFirewallPolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateFirewallPolicyRequestRequestTypeDef

def get_value() -> CreateFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
        "FirewallPolicy": ...,
    }
# CreateFirewallPolicyRequestRequestTypeDef definition

class CreateFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyName: str,
    FirewallPolicy: FirewallPolicyTypeDef,  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    DryRun: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See FirewallPolicyTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

DescribeFirewallPolicyResponseTypeDef#

# DescribeFirewallPolicyResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeFirewallPolicyResponseTypeDef

def get_value() -> DescribeFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicyResponse": ...,
        "FirewallPolicy": ...,
        "ResponseMetadata": ...,
    }
# DescribeFirewallPolicyResponseTypeDef definition

class DescribeFirewallPolicyResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    FirewallPolicy: FirewallPolicyTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallPolicyResponseTypeDef
  2. See FirewallPolicyTypeDef
  3. See ResponseMetadataTypeDef

UpdateFirewallPolicyRequestRequestTypeDef#

# UpdateFirewallPolicyRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyRequestRequestTypeDef

def get_value() -> UpdateFirewallPolicyRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicy": ...,
    }
# UpdateFirewallPolicyRequestRequestTypeDef definition

class UpdateFirewallPolicyRequestRequestTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicy: FirewallPolicyTypeDef,  # (1)
    FirewallPolicyArn: NotRequired[str],
    FirewallPolicyName: NotRequired[str],
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (2)
  1. See FirewallPolicyTypeDef
  2. See EncryptionConfigurationTypeDef

RulesSourceTypeDef#

# RulesSourceTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RulesSourceTypeDef

def get_value() -> RulesSourceTypeDef:
    return {
        "RulesString": ...,
    }
# RulesSourceTypeDef definition

class RulesSourceTypeDef(TypedDict):
    RulesString: NotRequired[str],
    RulesSourceList: NotRequired[RulesSourceListTypeDef],  # (1)
    StatefulRules: NotRequired[Sequence[StatefulRuleTypeDef]],  # (2)
    StatelessRulesAndCustomActions: NotRequired[StatelessRulesAndCustomActionsTypeDef],  # (3)
  1. See RulesSourceListTypeDef
  2. See StatefulRuleTypeDef
  3. See StatelessRulesAndCustomActionsTypeDef

RuleGroupTypeDef#

# RuleGroupTypeDef usage example

from mypy_boto3_network_firewall.type_defs import RuleGroupTypeDef

def get_value() -> RuleGroupTypeDef:
    return {
        "RulesSource": ...,
    }
# RuleGroupTypeDef definition

class RuleGroupTypeDef(TypedDict):
    RulesSource: RulesSourceTypeDef,  # (3)
    RuleVariables: NotRequired[RuleVariablesTypeDef],  # (1)
    ReferenceSets: NotRequired[ReferenceSetsTypeDef],  # (2)
    StatefulRuleOptions: NotRequired[StatefulRuleOptionsTypeDef],  # (4)
  1. See RuleVariablesTypeDef
  2. See ReferenceSetsTypeDef
  3. See RulesSourceTypeDef
  4. See StatefulRuleOptionsTypeDef

CreateRuleGroupRequestRequestTypeDef#

# CreateRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import CreateRuleGroupRequestRequestTypeDef

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

class CreateRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupName: str,
    Type: RuleGroupTypeType,  # (1)
    Capacity: int,
    RuleGroup: NotRequired[RuleGroupTypeDef],  # (2)
    Rules: NotRequired[str],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
    DryRun: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (4)
    SourceMetadata: NotRequired[SourceMetadataTypeDef],  # (5)
  1. See RuleGroupTypeType
  2. See RuleGroupTypeDef
  3. See TagTypeDef
  4. See EncryptionConfigurationTypeDef
  5. See SourceMetadataTypeDef

DescribeRuleGroupResponseTypeDef#

# DescribeRuleGroupResponseTypeDef usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupResponseTypeDef

def get_value() -> DescribeRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
        "RuleGroup": ...,
        "RuleGroupResponse": ...,
        "ResponseMetadata": ...,
    }
# DescribeRuleGroupResponseTypeDef definition

class DescribeRuleGroupResponseTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroup: RuleGroupTypeDef,  # (1)
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RuleGroupTypeDef
  2. See RuleGroupResponseTypeDef
  3. See ResponseMetadataTypeDef

UpdateRuleGroupRequestRequestTypeDef#

# UpdateRuleGroupRequestRequestTypeDef usage example

from mypy_boto3_network_firewall.type_defs import UpdateRuleGroupRequestRequestTypeDef

def get_value() -> UpdateRuleGroupRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
    }
# UpdateRuleGroupRequestRequestTypeDef definition

class UpdateRuleGroupRequestRequestTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroupArn: NotRequired[str],
    RuleGroupName: NotRequired[str],
    RuleGroup: NotRequired[RuleGroupTypeDef],  # (1)
    Rules: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (2)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
    SourceMetadata: NotRequired[SourceMetadataTypeDef],  # (4)
  1. See RuleGroupTypeDef
  2. See RuleGroupTypeType
  3. See EncryptionConfigurationTypeDef
  4. See SourceMetadataTypeDef