Skip to content

Type definitions#

Index > NetworkFirewall > Type definitions

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

FlowFilterUnionTypeDef#

# FlowFilterUnionTypeDef Union usage example

from mypy_boto3_network_firewall.type_defs import FlowFilterUnionTypeDef


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


# FlowFilterUnionTypeDef definition

FlowFilterUnionTypeDef = Union[
    FlowFilterTypeDef,  # (1)
    FlowFilterOutputTypeDef,  # (2)
]
  1. See FlowFilterTypeDef
  2. See FlowFilterOutputTypeDef

LoggingConfigurationUnionTypeDef#

# LoggingConfigurationUnionTypeDef Union usage example

from mypy_boto3_network_firewall.type_defs import LoggingConfigurationUnionTypeDef


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


# LoggingConfigurationUnionTypeDef definition

LoggingConfigurationUnionTypeDef = Union[
    LoggingConfigurationTypeDef,  # (1)
    LoggingConfigurationOutputTypeDef,  # (2)
]
  1. See LoggingConfigurationTypeDef
  2. See LoggingConfigurationOutputTypeDef

TLSInspectionConfigurationUnionTypeDef#

# TLSInspectionConfigurationUnionTypeDef Union usage example

from mypy_boto3_network_firewall.type_defs import TLSInspectionConfigurationUnionTypeDef


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


# TLSInspectionConfigurationUnionTypeDef definition

TLSInspectionConfigurationUnionTypeDef = Union[
    TLSInspectionConfigurationTypeDef,  # (1)
    TLSInspectionConfigurationOutputTypeDef,  # (2)
]
  1. See TLSInspectionConfigurationTypeDef
  2. See TLSInspectionConfigurationOutputTypeDef

FirewallPolicyUnionTypeDef#

# FirewallPolicyUnionTypeDef Union usage example

from mypy_boto3_network_firewall.type_defs import FirewallPolicyUnionTypeDef


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


# FirewallPolicyUnionTypeDef definition

FirewallPolicyUnionTypeDef = Union[
    FirewallPolicyTypeDef,  # (1)
    FirewallPolicyOutputTypeDef,  # (2)
]
  1. See FirewallPolicyTypeDef
  2. See FirewallPolicyOutputTypeDef

RuleGroupUnionTypeDef#

# RuleGroupUnionTypeDef Union usage example

from mypy_boto3_network_firewall.type_defs import RuleGroupUnionTypeDef


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


# RuleGroupUnionTypeDef definition

RuleGroupUnionTypeDef = Union[
    RuleGroupTypeDef,  # (1)
    RuleGroupOutputTypeDef,  # (2)
]
  1. See RuleGroupTypeDef
  2. See RuleGroupOutputTypeDef

AddressTypeDef#

# AddressTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AddressTypeDef


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


# AddressTypeDef definition

class AddressTypeDef(TypedDict):
    AddressDefinition: str,

AnalysisReportTypeDef#

# AnalysisReportTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AnalysisReportTypeDef


def get_value() -> AnalysisReportTypeDef:
    return {
        "AnalysisReportId": ...,
    }


# AnalysisReportTypeDef definition

class AnalysisReportTypeDef(TypedDict):
    AnalysisReportId: NotRequired[str],
    AnalysisType: NotRequired[EnabledAnalysisTypeType],  # (1)
    ReportTime: NotRequired[datetime.datetime],
    Status: NotRequired[str],
  1. See EnabledAnalysisTypeType

AnalysisResultTypeDef#

# AnalysisResultTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AnalysisResultTypeDef


def get_value() -> AnalysisResultTypeDef:
    return {
        "IdentifiedRuleIds": ...,
    }


# AnalysisResultTypeDef definition

class AnalysisResultTypeDef(TypedDict):
    IdentifiedRuleIds: NotRequired[List[str]],
    IdentifiedType: NotRequired[IdentifiedTypeType],  # (1)
    AnalysisDetail: NotRequired[str],
  1. See IdentifiedTypeType

HitsTypeDef#

# HitsTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import HitsTypeDef


def get_value() -> HitsTypeDef:
    return {
        "Count": ...,
    }


# HitsTypeDef definition

class HitsTypeDef(TypedDict):
    Count: NotRequired[int],

UniqueSourcesTypeDef#

# UniqueSourcesTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UniqueSourcesTypeDef


def get_value() -> UniqueSourcesTypeDef:
    return {
        "Count": ...,
    }


# UniqueSourcesTypeDef definition

class UniqueSourcesTypeDef(TypedDict):
    Count: NotRequired[int],

AssociateFirewallPolicyRequestTypeDef#

# AssociateFirewallPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AssociateFirewallPolicyRequestTypeDef


def get_value() -> AssociateFirewallPolicyRequestTypeDef:
    return {
        "FirewallPolicyArn": ...,
    }


# AssociateFirewallPolicyRequestTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ResponseMetadataTypeDef


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


# ResponseMetadataTypeDef definition

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

SubnetMappingTypeDef#

# SubnetMappingTypeDef TypedDict 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 TypedDict 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 TypedDict 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],

CheckCertificateRevocationStatusActionsTypeDef#

# CheckCertificateRevocationStatusActionsTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CheckCertificateRevocationStatusActionsTypeDef


def get_value() -> CheckCertificateRevocationStatusActionsTypeDef:
    return {
        "RevokedStatusAction": ...,
    }


# CheckCertificateRevocationStatusActionsTypeDef definition

class CheckCertificateRevocationStatusActionsTypeDef(TypedDict):
    RevokedStatusAction: NotRequired[RevocationCheckActionType],  # (1)
    UnknownStatusAction: NotRequired[RevocationCheckActionType],  # (1)
  1. See RevocationCheckActionType
  2. See RevocationCheckActionType

EncryptionConfigurationTypeDef#

# EncryptionConfigurationTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import EncryptionConfigurationTypeDef


def get_value() -> EncryptionConfigurationTypeDef:
    return {
        "KeyId": ...,
    }


# EncryptionConfigurationTypeDef definition

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

TagTypeDef#

# TagTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import TagTypeDef


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


# TagTypeDef definition

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

SourceMetadataTypeDef#

# SourceMetadataTypeDef TypedDict 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],

DeleteFirewallPolicyRequestTypeDef#

# DeleteFirewallPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteFirewallPolicyRequestTypeDef


def get_value() -> DeleteFirewallPolicyRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
    }


# DeleteFirewallPolicyRequestTypeDef definition

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

DeleteFirewallRequestTypeDef#

# DeleteFirewallRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteFirewallRequestTypeDef


def get_value() -> DeleteFirewallRequestTypeDef:
    return {
        "FirewallName": ...,
    }


# DeleteFirewallRequestTypeDef definition

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

DeleteResourcePolicyRequestTypeDef#

# DeleteResourcePolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteResourcePolicyRequestTypeDef


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


# DeleteResourcePolicyRequestTypeDef definition

class DeleteResourcePolicyRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRuleGroupRequestTypeDef#

# DeleteRuleGroupRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteRuleGroupRequestTypeDef


def get_value() -> DeleteRuleGroupRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }


# DeleteRuleGroupRequestTypeDef definition

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

DeleteTLSInspectionConfigurationRequestTypeDef#

# DeleteTLSInspectionConfigurationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteTLSInspectionConfigurationRequestTypeDef


def get_value() -> DeleteTLSInspectionConfigurationRequestTypeDef:
    return {
        "TLSInspectionConfigurationArn": ...,
    }


# DeleteTLSInspectionConfigurationRequestTypeDef definition

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

DescribeFirewallPolicyRequestTypeDef#

# DescribeFirewallPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeFirewallPolicyRequestTypeDef


def get_value() -> DescribeFirewallPolicyRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
    }


# DescribeFirewallPolicyRequestTypeDef definition

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

DescribeFirewallRequestTypeDef#

# DescribeFirewallRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeFirewallRequestTypeDef


def get_value() -> DescribeFirewallRequestTypeDef:
    return {
        "FirewallName": ...,
    }


# DescribeFirewallRequestTypeDef definition

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

DescribeFlowOperationRequestTypeDef#

# DescribeFlowOperationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeFlowOperationRequestTypeDef


def get_value() -> DescribeFlowOperationRequestTypeDef:
    return {
        "FirewallArn": ...,
    }


# DescribeFlowOperationRequestTypeDef definition

class DescribeFlowOperationRequestTypeDef(TypedDict):
    FirewallArn: str,
    FlowOperationId: str,
    AvailabilityZone: NotRequired[str],

DescribeLoggingConfigurationRequestTypeDef#

# DescribeLoggingConfigurationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeLoggingConfigurationRequestTypeDef


def get_value() -> DescribeLoggingConfigurationRequestTypeDef:
    return {
        "FirewallArn": ...,
    }


# DescribeLoggingConfigurationRequestTypeDef definition

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

DescribeResourcePolicyRequestTypeDef#

# DescribeResourcePolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeResourcePolicyRequestTypeDef


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


# DescribeResourcePolicyRequestTypeDef definition

class DescribeResourcePolicyRequestTypeDef(TypedDict):
    ResourceArn: str,

DescribeRuleGroupMetadataRequestTypeDef#

# DescribeRuleGroupMetadataRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupMetadataRequestTypeDef


def get_value() -> DescribeRuleGroupMetadataRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }


# DescribeRuleGroupMetadataRequestTypeDef definition

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

StatefulRuleOptionsTypeDef#

# StatefulRuleOptionsTypeDef TypedDict 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

DescribeRuleGroupRequestTypeDef#

# DescribeRuleGroupRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupRequestTypeDef


def get_value() -> DescribeRuleGroupRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }


# DescribeRuleGroupRequestTypeDef definition

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

DescribeTLSInspectionConfigurationRequestTypeDef#

# DescribeTLSInspectionConfigurationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeTLSInspectionConfigurationRequestTypeDef


def get_value() -> DescribeTLSInspectionConfigurationRequestTypeDef:
    return {
        "TLSInspectionConfigurationArn": ...,
    }


# DescribeTLSInspectionConfigurationRequestTypeDef definition

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

DimensionTypeDef#

# DimensionTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DimensionTypeDef


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


# DimensionTypeDef definition

class DimensionTypeDef(TypedDict):
    Value: str,

DisassociateSubnetsRequestTypeDef#

# DisassociateSubnetsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DisassociateSubnetsRequestTypeDef


def get_value() -> DisassociateSubnetsRequestTypeDef:
    return {
        "SubnetIds": ...,
    }


# DisassociateSubnetsRequestTypeDef definition

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

FirewallMetadataTypeDef#

# FirewallMetadataTypeDef TypedDict 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 TypedDict 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],

StatelessRuleGroupReferenceTypeDef#

# StatelessRuleGroupReferenceTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StatelessRuleGroupReferenceTypeDef


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


# StatelessRuleGroupReferenceTypeDef definition

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

FlowOperationMetadataTypeDef#

# FlowOperationMetadataTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FlowOperationMetadataTypeDef


def get_value() -> FlowOperationMetadataTypeDef:
    return {
        "FlowOperationId": ...,
    }


# FlowOperationMetadataTypeDef definition

class FlowOperationMetadataTypeDef(TypedDict):
    FlowOperationId: NotRequired[str],
    FlowOperationType: NotRequired[FlowOperationTypeType],  # (1)
    FlowRequestTimestamp: NotRequired[datetime.datetime],
    FlowOperationStatus: NotRequired[FlowOperationStatusType],  # (2)
  1. See FlowOperationTypeType
  2. See FlowOperationStatusType

FlowTimeoutsTypeDef#

# FlowTimeoutsTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FlowTimeoutsTypeDef


def get_value() -> FlowTimeoutsTypeDef:
    return {
        "TcpIdleTimeoutSeconds": ...,
    }


# FlowTimeoutsTypeDef definition

class FlowTimeoutsTypeDef(TypedDict):
    TcpIdleTimeoutSeconds: NotRequired[int],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict 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],

GetAnalysisReportResultsRequestTypeDef#

# GetAnalysisReportResultsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import GetAnalysisReportResultsRequestTypeDef


def get_value() -> GetAnalysisReportResultsRequestTypeDef:
    return {
        "AnalysisReportId": ...,
    }


# GetAnalysisReportResultsRequestTypeDef definition

class GetAnalysisReportResultsRequestTypeDef(TypedDict):
    AnalysisReportId: str,
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

HeaderTypeDef#

# HeaderTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import HeaderTypeDef


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


# 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

IPSetOutputTypeDef#

# IPSetOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import IPSetOutputTypeDef


def get_value() -> IPSetOutputTypeDef:
    return {
        "Definition": ...,
    }


# IPSetOutputTypeDef definition

class IPSetOutputTypeDef(TypedDict):
    Definition: List[str],

IPSetReferenceTypeDef#

# IPSetReferenceTypeDef TypedDict 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 TypedDict 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],

ListAnalysisReportsRequestTypeDef#

# ListAnalysisReportsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListAnalysisReportsRequestTypeDef


def get_value() -> ListAnalysisReportsRequestTypeDef:
    return {
        "FirewallName": ...,
    }


# ListAnalysisReportsRequestTypeDef definition

class ListAnalysisReportsRequestTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListFirewallPoliciesRequestTypeDef#

# ListFirewallPoliciesRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesRequestTypeDef


def get_value() -> ListFirewallPoliciesRequestTypeDef:
    return {
        "NextToken": ...,
    }


# ListFirewallPoliciesRequestTypeDef definition

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

ListFirewallsRequestTypeDef#

# ListFirewallsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallsRequestTypeDef


def get_value() -> ListFirewallsRequestTypeDef:
    return {
        "NextToken": ...,
    }


# ListFirewallsRequestTypeDef definition

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

ListFlowOperationResultsRequestTypeDef#

# ListFlowOperationResultsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFlowOperationResultsRequestTypeDef


def get_value() -> ListFlowOperationResultsRequestTypeDef:
    return {
        "FirewallArn": ...,
    }


# ListFlowOperationResultsRequestTypeDef definition

class ListFlowOperationResultsRequestTypeDef(TypedDict):
    FirewallArn: str,
    FlowOperationId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    AvailabilityZone: NotRequired[str],

ListFlowOperationsRequestTypeDef#

# ListFlowOperationsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFlowOperationsRequestTypeDef


def get_value() -> ListFlowOperationsRequestTypeDef:
    return {
        "FirewallArn": ...,
    }


# ListFlowOperationsRequestTypeDef definition

class ListFlowOperationsRequestTypeDef(TypedDict):
    FirewallArn: str,
    AvailabilityZone: NotRequired[str],
    FlowOperationType: NotRequired[FlowOperationTypeType],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FlowOperationTypeType

ListRuleGroupsRequestTypeDef#

# ListRuleGroupsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListRuleGroupsRequestTypeDef


def get_value() -> ListRuleGroupsRequestTypeDef:
    return {
        "NextToken": ...,
    }


# ListRuleGroupsRequestTypeDef definition

class ListRuleGroupsRequestTypeDef(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 TypedDict 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],

ListTLSInspectionConfigurationsRequestTypeDef#

# ListTLSInspectionConfigurationsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListTLSInspectionConfigurationsRequestTypeDef


def get_value() -> ListTLSInspectionConfigurationsRequestTypeDef:
    return {
        "NextToken": ...,
    }


# ListTLSInspectionConfigurationsRequestTypeDef definition

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

TLSInspectionConfigurationMetadataTypeDef#

# TLSInspectionConfigurationMetadataTypeDef TypedDict 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],

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListTagsForResourceRequestTypeDef


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


# ListTagsForResourceRequestTypeDef definition

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

LogDestinationConfigOutputTypeDef#

# LogDestinationConfigOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import LogDestinationConfigOutputTypeDef


def get_value() -> LogDestinationConfigOutputTypeDef:
    return {
        "LogType": ...,
    }


# LogDestinationConfigOutputTypeDef definition

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

LogDestinationConfigTypeDef#

# LogDestinationConfigTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import LogDestinationConfigTypeDef


def get_value() -> LogDestinationConfigTypeDef:
    return {
        "LogType": ...,
    }


# LogDestinationConfigTypeDef definition

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

PortRangeTypeDef#

# PortRangeTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import PortRangeTypeDef


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


# PortRangeTypeDef definition

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

TCPFlagFieldOutputTypeDef#

# TCPFlagFieldOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import TCPFlagFieldOutputTypeDef


def get_value() -> TCPFlagFieldOutputTypeDef:
    return {
        "Flags": ...,
    }


# TCPFlagFieldOutputTypeDef definition

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

TCPFlagFieldTypeDef#

# TCPFlagFieldTypeDef TypedDict 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 Sequence[TCPFlagType]
  2. See Sequence[TCPFlagType]

PerObjectStatusTypeDef#

# PerObjectStatusTypeDef TypedDict 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

PortSetOutputTypeDef#

# PortSetOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import PortSetOutputTypeDef


def get_value() -> PortSetOutputTypeDef:
    return {
        "Definition": ...,
    }


# PortSetOutputTypeDef definition

class PortSetOutputTypeDef(TypedDict):
    Definition: NotRequired[List[str]],

PortSetTypeDef#

# PortSetTypeDef TypedDict 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]],

PutResourcePolicyRequestTypeDef#

# PutResourcePolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import PutResourcePolicyRequestTypeDef


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


# PutResourcePolicyRequestTypeDef definition

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

RuleOptionOutputTypeDef#

# RuleOptionOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RuleOptionOutputTypeDef


def get_value() -> RuleOptionOutputTypeDef:
    return {
        "Keyword": ...,
    }


# RuleOptionOutputTypeDef definition

class RuleOptionOutputTypeDef(TypedDict):
    Keyword: str,
    Settings: NotRequired[List[str]],

RuleOptionTypeDef#

# RuleOptionTypeDef TypedDict 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]],

RulesSourceListOutputTypeDef#

# RulesSourceListOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RulesSourceListOutputTypeDef


def get_value() -> RulesSourceListOutputTypeDef:
    return {
        "Targets": ...,
    }


# RulesSourceListOutputTypeDef definition

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

RulesSourceListTypeDef#

# RulesSourceListTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RulesSourceListTypeDef


def get_value() -> RulesSourceListTypeDef:
    return {
        "Targets": ...,
    }


# RulesSourceListTypeDef definition

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

ServerCertificateTypeDef#

# ServerCertificateTypeDef TypedDict 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],

StartAnalysisReportRequestTypeDef#

# StartAnalysisReportRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StartAnalysisReportRequestTypeDef


def get_value() -> StartAnalysisReportRequestTypeDef:
    return {
        "AnalysisType": ...,
    }


# StartAnalysisReportRequestTypeDef definition

class StartAnalysisReportRequestTypeDef(TypedDict):
    AnalysisType: EnabledAnalysisTypeType,  # (1)
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],
  1. See EnabledAnalysisTypeType

StatefulRuleGroupOverrideTypeDef#

# StatefulRuleGroupOverrideTypeDef TypedDict 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 TypedDict 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],

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UntagResourceRequestTypeDef


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


# UntagResourceRequestTypeDef definition

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

UpdateFirewallAnalysisSettingsRequestTypeDef#

# UpdateFirewallAnalysisSettingsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallAnalysisSettingsRequestTypeDef


def get_value() -> UpdateFirewallAnalysisSettingsRequestTypeDef:
    return {
        "EnabledAnalysisTypes": ...,
    }


# UpdateFirewallAnalysisSettingsRequestTypeDef definition

class UpdateFirewallAnalysisSettingsRequestTypeDef(TypedDict):
    EnabledAnalysisTypes: NotRequired[Sequence[EnabledAnalysisTypeType]],  # (1)
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
    UpdateToken: NotRequired[str],
  1. See Sequence[EnabledAnalysisTypeType]

UpdateFirewallDeleteProtectionRequestTypeDef#

# UpdateFirewallDeleteProtectionRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDeleteProtectionRequestTypeDef


def get_value() -> UpdateFirewallDeleteProtectionRequestTypeDef:
    return {
        "DeleteProtection": ...,
    }


# UpdateFirewallDeleteProtectionRequestTypeDef definition

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

UpdateFirewallDescriptionRequestTypeDef#

# UpdateFirewallDescriptionRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDescriptionRequestTypeDef


def get_value() -> UpdateFirewallDescriptionRequestTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateFirewallDescriptionRequestTypeDef definition

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

UpdateFirewallPolicyChangeProtectionRequestTypeDef#

# UpdateFirewallPolicyChangeProtectionRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyChangeProtectionRequestTypeDef


def get_value() -> UpdateFirewallPolicyChangeProtectionRequestTypeDef:
    return {
        "FirewallPolicyChangeProtection": ...,
    }


# UpdateFirewallPolicyChangeProtectionRequestTypeDef definition

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

UpdateSubnetChangeProtectionRequestTypeDef#

# UpdateSubnetChangeProtectionRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateSubnetChangeProtectionRequestTypeDef


def get_value() -> UpdateSubnetChangeProtectionRequestTypeDef:
    return {
        "SubnetChangeProtection": ...,
    }


# UpdateSubnetChangeProtectionRequestTypeDef definition

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

FlowFilterOutputTypeDef#

# FlowFilterOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FlowFilterOutputTypeDef


def get_value() -> FlowFilterOutputTypeDef:
    return {
        "SourceAddress": ...,
    }


# FlowFilterOutputTypeDef definition

class FlowFilterOutputTypeDef(TypedDict):
    SourceAddress: NotRequired[AddressTypeDef],  # (1)
    DestinationAddress: NotRequired[AddressTypeDef],  # (1)
    SourcePort: NotRequired[str],
    DestinationPort: NotRequired[str],
    Protocols: NotRequired[List[str]],
  1. See AddressTypeDef
  2. See AddressTypeDef

FlowFilterTypeDef#

# FlowFilterTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FlowFilterTypeDef


def get_value() -> FlowFilterTypeDef:
    return {
        "SourceAddress": ...,
    }


# FlowFilterTypeDef definition

class FlowFilterTypeDef(TypedDict):
    SourceAddress: NotRequired[AddressTypeDef],  # (1)
    DestinationAddress: NotRequired[AddressTypeDef],  # (1)
    SourcePort: NotRequired[str],
    DestinationPort: NotRequired[str],
    Protocols: NotRequired[Sequence[str]],
  1. See AddressTypeDef
  2. See AddressTypeDef

FlowTypeDef#

# FlowTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FlowTypeDef


def get_value() -> FlowTypeDef:
    return {
        "SourceAddress": ...,
    }


# FlowTypeDef definition

class FlowTypeDef(TypedDict):
    SourceAddress: NotRequired[AddressTypeDef],  # (1)
    DestinationAddress: NotRequired[AddressTypeDef],  # (1)
    SourcePort: NotRequired[str],
    DestinationPort: NotRequired[str],
    Protocol: NotRequired[str],
    Age: NotRequired[int],
    PacketCount: NotRequired[int],
    ByteCount: NotRequired[int],
  1. See AddressTypeDef
  2. See AddressTypeDef

AnalysisTypeReportResultTypeDef#

# AnalysisTypeReportResultTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AnalysisTypeReportResultTypeDef


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


# AnalysisTypeReportResultTypeDef definition

class AnalysisTypeReportResultTypeDef(TypedDict):
    Protocol: NotRequired[str],
    FirstAccessed: NotRequired[datetime.datetime],
    LastAccessed: NotRequired[datetime.datetime],
    Domain: NotRequired[str],
    Hits: NotRequired[HitsTypeDef],  # (1)
    UniqueSources: NotRequired[UniqueSourcesTypeDef],  # (2)
  1. See HitsTypeDef
  2. See UniqueSourcesTypeDef

AssociateFirewallPolicyResponseTypeDef#

# AssociateFirewallPolicyResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AssociateFirewallPolicyResponseTypeDef


def get_value() -> AssociateFirewallPolicyResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# AssociateFirewallPolicyResponseTypeDef definition

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

DescribeResourcePolicyResponseTypeDef#

# DescribeResourcePolicyResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeResourcePolicyResponseTypeDef


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


# DescribeResourcePolicyResponseTypeDef definition

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

ListAnalysisReportsResponseTypeDef#

# ListAnalysisReportsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListAnalysisReportsResponseTypeDef


def get_value() -> ListAnalysisReportsResponseTypeDef:
    return {
        "AnalysisReports": ...,
    }


# ListAnalysisReportsResponseTypeDef definition

class ListAnalysisReportsResponseTypeDef(TypedDict):
    AnalysisReports: List[AnalysisReportTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See List[AnalysisReportTypeDef]
  2. See ResponseMetadataTypeDef

StartAnalysisReportResponseTypeDef#

# StartAnalysisReportResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StartAnalysisReportResponseTypeDef


def get_value() -> StartAnalysisReportResponseTypeDef:
    return {
        "AnalysisReportId": ...,
    }


# StartAnalysisReportResponseTypeDef definition

class StartAnalysisReportResponseTypeDef(TypedDict):
    AnalysisReportId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartFlowCaptureResponseTypeDef#

# StartFlowCaptureResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StartFlowCaptureResponseTypeDef


def get_value() -> StartFlowCaptureResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# StartFlowCaptureResponseTypeDef definition

class StartFlowCaptureResponseTypeDef(TypedDict):
    FirewallArn: str,
    FlowOperationId: str,
    FlowOperationStatus: FlowOperationStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FlowOperationStatusType
  2. See ResponseMetadataTypeDef

StartFlowFlushResponseTypeDef#

# StartFlowFlushResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StartFlowFlushResponseTypeDef


def get_value() -> StartFlowFlushResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# StartFlowFlushResponseTypeDef definition

class StartFlowFlushResponseTypeDef(TypedDict):
    FirewallArn: str,
    FlowOperationId: str,
    FlowOperationStatus: FlowOperationStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FlowOperationStatusType
  2. See ResponseMetadataTypeDef

UpdateFirewallAnalysisSettingsResponseTypeDef#

# UpdateFirewallAnalysisSettingsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallAnalysisSettingsResponseTypeDef


def get_value() -> UpdateFirewallAnalysisSettingsResponseTypeDef:
    return {
        "EnabledAnalysisTypes": ...,
    }


# UpdateFirewallAnalysisSettingsResponseTypeDef definition

class UpdateFirewallAnalysisSettingsResponseTypeDef(TypedDict):
    EnabledAnalysisTypes: List[EnabledAnalysisTypeType],  # (1)
    FirewallArn: str,
    FirewallName: str,
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See List[EnabledAnalysisTypeType]
  2. See ResponseMetadataTypeDef

UpdateFirewallDeleteProtectionResponseTypeDef#

# UpdateFirewallDeleteProtectionResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDeleteProtectionResponseTypeDef


def get_value() -> UpdateFirewallDeleteProtectionResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# UpdateFirewallDeleteProtectionResponseTypeDef definition

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

UpdateFirewallDescriptionResponseTypeDef#

# UpdateFirewallDescriptionResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallDescriptionResponseTypeDef


def get_value() -> UpdateFirewallDescriptionResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# UpdateFirewallDescriptionResponseTypeDef definition

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

UpdateFirewallPolicyChangeProtectionResponseTypeDef#

# UpdateFirewallPolicyChangeProtectionResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyChangeProtectionResponseTypeDef


def get_value() -> UpdateFirewallPolicyChangeProtectionResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateFirewallPolicyChangeProtectionResponseTypeDef definition

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

UpdateSubnetChangeProtectionResponseTypeDef#

# UpdateSubnetChangeProtectionResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateSubnetChangeProtectionResponseTypeDef


def get_value() -> UpdateSubnetChangeProtectionResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateSubnetChangeProtectionResponseTypeDef definition

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

AssociateSubnetsRequestTypeDef#

# AssociateSubnetsRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AssociateSubnetsRequestTypeDef


def get_value() -> AssociateSubnetsRequestTypeDef:
    return {
        "SubnetMappings": ...,
    }


# AssociateSubnetsRequestTypeDef definition

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

AssociateSubnetsResponseTypeDef#

# AssociateSubnetsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import AssociateSubnetsResponseTypeDef


def get_value() -> AssociateSubnetsResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# AssociateSubnetsResponseTypeDef definition

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

DisassociateSubnetsResponseTypeDef#

# DisassociateSubnetsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DisassociateSubnetsResponseTypeDef


def get_value() -> DisassociateSubnetsResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# DisassociateSubnetsResponseTypeDef definition

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

CIDRSummaryTypeDef#

# CIDRSummaryTypeDef TypedDict 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 Dict[str, IPSetMetadataTypeDef]

UpdateFirewallEncryptionConfigurationRequestTypeDef#

# UpdateFirewallEncryptionConfigurationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallEncryptionConfigurationRequestTypeDef


def get_value() -> UpdateFirewallEncryptionConfigurationRequestTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateFirewallEncryptionConfigurationRequestTypeDef definition

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

UpdateFirewallEncryptionConfigurationResponseTypeDef#

# UpdateFirewallEncryptionConfigurationResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallEncryptionConfigurationResponseTypeDef


def get_value() -> UpdateFirewallEncryptionConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# UpdateFirewallEncryptionConfigurationResponseTypeDef definition

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

CreateFirewallRequestTypeDef#

# CreateFirewallRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CreateFirewallRequestTypeDef


def get_value() -> CreateFirewallRequestTypeDef:
    return {
        "FirewallName": ...,
    }


# CreateFirewallRequestTypeDef definition

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

FirewallPolicyResponseTypeDef#

# FirewallPolicyResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FirewallPolicyResponseTypeDef


def get_value() -> FirewallPolicyResponseTypeDef:
    return {
        "FirewallPolicyName": ...,
    }


# 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.datetime],
  1. See ResourceStatusType
  2. See List[TagTypeDef]
  3. See EncryptionConfigurationTypeDef

FirewallTypeDef#

# FirewallTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FirewallTypeDef


def get_value() -> FirewallTypeDef:
    return {
        "FirewallName": ...,
    }


# 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)
    EnabledAnalysisTypes: NotRequired[List[EnabledAnalysisTypeType]],  # (4)
  1. See List[SubnetMappingTypeDef]
  2. See List[TagTypeDef]
  3. See EncryptionConfigurationTypeDef
  4. See List[EnabledAnalysisTypeType]

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListTagsForResourceResponseTypeDef


def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "NextToken": ...,
    }


# ListTagsForResourceResponseTypeDef definition

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

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import TagResourceRequestTypeDef


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


# TagResourceRequestTypeDef definition

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

RuleGroupResponseTypeDef#

# RuleGroupResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RuleGroupResponseTypeDef


def get_value() -> RuleGroupResponseTypeDef:
    return {
        "RuleGroupArn": ...,
    }


# 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.datetime],
    AnalysisResults: NotRequired[List[AnalysisResultTypeDef]],  # (6)
  1. See RuleGroupTypeType
  2. See ResourceStatusType
  3. See List[TagTypeDef]
  4. See EncryptionConfigurationTypeDef
  5. See SourceMetadataTypeDef
  6. See List[AnalysisResultTypeDef]

DescribeRuleGroupMetadataResponseTypeDef#

# DescribeRuleGroupMetadataResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupMetadataResponseTypeDef


def get_value() -> DescribeRuleGroupMetadataResponseTypeDef:
    return {
        "RuleGroupArn": ...,
    }


# DescribeRuleGroupMetadataResponseTypeDef definition

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

PublishMetricActionOutputTypeDef#

# PublishMetricActionOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import PublishMetricActionOutputTypeDef


def get_value() -> PublishMetricActionOutputTypeDef:
    return {
        "Dimensions": ...,
    }


# PublishMetricActionOutputTypeDef definition

class PublishMetricActionOutputTypeDef(TypedDict):
    Dimensions: List[DimensionTypeDef],  # (1)
  1. See List[DimensionTypeDef]

PublishMetricActionTypeDef#

# PublishMetricActionTypeDef TypedDict 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 Sequence[DimensionTypeDef]

ListFirewallsResponseTypeDef#

# ListFirewallsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallsResponseTypeDef


def get_value() -> ListFirewallsResponseTypeDef:
    return {
        "NextToken": ...,
    }


# ListFirewallsResponseTypeDef definition

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

ListFirewallPoliciesResponseTypeDef#

# ListFirewallPoliciesResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesResponseTypeDef


def get_value() -> ListFirewallPoliciesResponseTypeDef:
    return {
        "NextToken": ...,
    }


# ListFirewallPoliciesResponseTypeDef definition

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

ListFlowOperationsResponseTypeDef#

# ListFlowOperationsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFlowOperationsResponseTypeDef


def get_value() -> ListFlowOperationsResponseTypeDef:
    return {
        "FlowOperations": ...,
    }


# ListFlowOperationsResponseTypeDef definition

class ListFlowOperationsResponseTypeDef(TypedDict):
    FlowOperations: List[FlowOperationMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See List[FlowOperationMetadataTypeDef]
  2. See ResponseMetadataTypeDef

StatefulEngineOptionsTypeDef#

# StatefulEngineOptionsTypeDef TypedDict 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)
    FlowTimeouts: NotRequired[FlowTimeoutsTypeDef],  # (3)
  1. See RuleOrderType
  2. See StreamExceptionPolicyType
  3. See FlowTimeoutsTypeDef

GetAnalysisReportResultsRequestPaginateTypeDef#

# GetAnalysisReportResultsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import GetAnalysisReportResultsRequestPaginateTypeDef


def get_value() -> GetAnalysisReportResultsRequestPaginateTypeDef:
    return {
        "AnalysisReportId": ...,
    }


# GetAnalysisReportResultsRequestPaginateTypeDef definition

class GetAnalysisReportResultsRequestPaginateTypeDef(TypedDict):
    AnalysisReportId: str,
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListAnalysisReportsRequestPaginateTypeDef#

# ListAnalysisReportsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListAnalysisReportsRequestPaginateTypeDef


def get_value() -> ListAnalysisReportsRequestPaginateTypeDef:
    return {
        "FirewallName": ...,
    }


# ListAnalysisReportsRequestPaginateTypeDef definition

class ListAnalysisReportsRequestPaginateTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFirewallPoliciesRequestPaginateTypeDef#

# ListFirewallPoliciesRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesRequestPaginateTypeDef


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


# ListFirewallPoliciesRequestPaginateTypeDef definition

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

ListFirewallsRequestPaginateTypeDef#

# ListFirewallsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFirewallsRequestPaginateTypeDef


def get_value() -> ListFirewallsRequestPaginateTypeDef:
    return {
        "VpcIds": ...,
    }


# ListFirewallsRequestPaginateTypeDef definition

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

ListFlowOperationResultsRequestPaginateTypeDef#

# ListFlowOperationResultsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFlowOperationResultsRequestPaginateTypeDef


def get_value() -> ListFlowOperationResultsRequestPaginateTypeDef:
    return {
        "FirewallArn": ...,
    }


# ListFlowOperationResultsRequestPaginateTypeDef definition

class ListFlowOperationResultsRequestPaginateTypeDef(TypedDict):
    FirewallArn: str,
    FlowOperationId: str,
    AvailabilityZone: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFlowOperationsRequestPaginateTypeDef#

# ListFlowOperationsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFlowOperationsRequestPaginateTypeDef


def get_value() -> ListFlowOperationsRequestPaginateTypeDef:
    return {
        "FirewallArn": ...,
    }


# ListFlowOperationsRequestPaginateTypeDef definition

class ListFlowOperationsRequestPaginateTypeDef(TypedDict):
    FirewallArn: str,
    AvailabilityZone: NotRequired[str],
    FlowOperationType: NotRequired[FlowOperationTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FlowOperationTypeType
  2. See PaginatorConfigTypeDef

ListRuleGroupsRequestPaginateTypeDef#

# ListRuleGroupsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListRuleGroupsRequestPaginateTypeDef


def get_value() -> ListRuleGroupsRequestPaginateTypeDef:
    return {
        "Scope": ...,
    }


# ListRuleGroupsRequestPaginateTypeDef definition

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

ListTLSInspectionConfigurationsRequestPaginateTypeDef#

# ListTLSInspectionConfigurationsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListTLSInspectionConfigurationsRequestPaginateTypeDef


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


# ListTLSInspectionConfigurationsRequestPaginateTypeDef definition

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

ListTagsForResourceRequestPaginateTypeDef#

# ListTagsForResourceRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListTagsForResourceRequestPaginateTypeDef


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


# ListTagsForResourceRequestPaginateTypeDef definition

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

PolicyVariablesOutputTypeDef#

# PolicyVariablesOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import PolicyVariablesOutputTypeDef


def get_value() -> PolicyVariablesOutputTypeDef:
    return {
        "RuleVariables": ...,
    }


# PolicyVariablesOutputTypeDef definition

class PolicyVariablesOutputTypeDef(TypedDict):
    RuleVariables: NotRequired[Dict[str, IPSetOutputTypeDef]],  # (1)
  1. See Dict[str, IPSetOutputTypeDef]

ReferenceSetsOutputTypeDef#

# ReferenceSetsOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ReferenceSetsOutputTypeDef


def get_value() -> ReferenceSetsOutputTypeDef:
    return {
        "IPSetReferences": ...,
    }


# ReferenceSetsOutputTypeDef definition

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

ReferenceSetsTypeDef#

# ReferenceSetsTypeDef TypedDict 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 Mapping[str, IPSetReferenceTypeDef]

PolicyVariablesTypeDef#

# PolicyVariablesTypeDef TypedDict 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 Mapping[str, IPSetTypeDef]

ListRuleGroupsResponseTypeDef#

# ListRuleGroupsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListRuleGroupsResponseTypeDef


def get_value() -> ListRuleGroupsResponseTypeDef:
    return {
        "NextToken": ...,
    }


# ListRuleGroupsResponseTypeDef definition

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

ListTLSInspectionConfigurationsResponseTypeDef#

# ListTLSInspectionConfigurationsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListTLSInspectionConfigurationsResponseTypeDef


def get_value() -> ListTLSInspectionConfigurationsResponseTypeDef:
    return {
        "NextToken": ...,
    }


# ListTLSInspectionConfigurationsResponseTypeDef definition

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

LoggingConfigurationOutputTypeDef#

# LoggingConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import LoggingConfigurationOutputTypeDef


def get_value() -> LoggingConfigurationOutputTypeDef:
    return {
        "LogDestinationConfigs": ...,
    }


# LoggingConfigurationOutputTypeDef definition

class LoggingConfigurationOutputTypeDef(TypedDict):
    LogDestinationConfigs: List[LogDestinationConfigOutputTypeDef],  # (1)
  1. See List[LogDestinationConfigOutputTypeDef]

LoggingConfigurationTypeDef#

# LoggingConfigurationTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import LoggingConfigurationTypeDef


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


# LoggingConfigurationTypeDef definition

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

ServerCertificateScopeOutputTypeDef#

# ServerCertificateScopeOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ServerCertificateScopeOutputTypeDef


def get_value() -> ServerCertificateScopeOutputTypeDef:
    return {
        "Sources": ...,
    }


# ServerCertificateScopeOutputTypeDef definition

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

ServerCertificateScopeTypeDef#

# ServerCertificateScopeTypeDef TypedDict 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 Sequence[AddressTypeDef]
  2. See Sequence[AddressTypeDef]
  3. See Sequence[PortRangeTypeDef]
  4. See Sequence[PortRangeTypeDef]

MatchAttributesOutputTypeDef#

# MatchAttributesOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import MatchAttributesOutputTypeDef


def get_value() -> MatchAttributesOutputTypeDef:
    return {
        "Sources": ...,
    }


# MatchAttributesOutputTypeDef definition

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

MatchAttributesTypeDef#

# MatchAttributesTypeDef TypedDict 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 Sequence[AddressTypeDef]
  2. See Sequence[AddressTypeDef]
  3. See Sequence[PortRangeTypeDef]
  4. See Sequence[PortRangeTypeDef]
  5. See Sequence[TCPFlagFieldTypeDef]

SyncStateTypeDef#

# SyncStateTypeDef TypedDict 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 Dict[str, PerObjectStatusTypeDef]

RuleVariablesOutputTypeDef#

# RuleVariablesOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RuleVariablesOutputTypeDef


def get_value() -> RuleVariablesOutputTypeDef:
    return {
        "IPSets": ...,
    }


# RuleVariablesOutputTypeDef definition

class RuleVariablesOutputTypeDef(TypedDict):
    IPSets: NotRequired[Dict[str, IPSetOutputTypeDef]],  # (1)
    PortSets: NotRequired[Dict[str, PortSetOutputTypeDef]],  # (2)
  1. See Dict[str, IPSetOutputTypeDef]
  2. See Dict[str, PortSetOutputTypeDef]

RuleVariablesTypeDef#

# RuleVariablesTypeDef TypedDict 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 Mapping[str, IPSetTypeDef]
  2. See Mapping[str, PortSetTypeDef]

StatefulRuleOutputTypeDef#

# StatefulRuleOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StatefulRuleOutputTypeDef


def get_value() -> StatefulRuleOutputTypeDef:
    return {
        "Action": ...,
    }


# StatefulRuleOutputTypeDef definition

class StatefulRuleOutputTypeDef(TypedDict):
    Action: StatefulActionType,  # (1)
    Header: HeaderTypeDef,  # (2)
    RuleOptions: List[RuleOptionOutputTypeDef],  # (3)
  1. See StatefulActionType
  2. See HeaderTypeDef
  3. See List[RuleOptionOutputTypeDef]

StatefulRuleTypeDef#

# StatefulRuleTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StatefulRuleTypeDef


def get_value() -> StatefulRuleTypeDef:
    return {
        "Action": ...,
    }


# StatefulRuleTypeDef definition

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

StatefulRuleGroupReferenceTypeDef#

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

from mypy_boto3_network_firewall.type_defs import TLSInspectionConfigurationResponseTypeDef


def get_value() -> TLSInspectionConfigurationResponseTypeDef:
    return {
        "TLSInspectionConfigurationArn": ...,
    }


# 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.datetime],
    NumberOfAssociations: NotRequired[int],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
    Certificates: NotRequired[List[TlsCertificateDataTypeDef]],  # (4)
    CertificateAuthority: NotRequired[TlsCertificateDataTypeDef],  # (5)
  1. See ResourceStatusType
  2. See List[TagTypeDef]
  3. See EncryptionConfigurationTypeDef
  4. See List[TlsCertificateDataTypeDef]
  5. See TlsCertificateDataTypeDef

FlowOperationTypeDef#

# FlowOperationTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FlowOperationTypeDef


def get_value() -> FlowOperationTypeDef:
    return {
        "MinimumFlowAgeInSeconds": ...,
    }


# FlowOperationTypeDef definition

class FlowOperationTypeDef(TypedDict):
    MinimumFlowAgeInSeconds: NotRequired[int],
    FlowFilters: NotRequired[List[FlowFilterOutputTypeDef]],  # (1)
  1. See List[FlowFilterOutputTypeDef]

ListFlowOperationResultsResponseTypeDef#

# ListFlowOperationResultsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ListFlowOperationResultsResponseTypeDef


def get_value() -> ListFlowOperationResultsResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# ListFlowOperationResultsResponseTypeDef definition

class ListFlowOperationResultsResponseTypeDef(TypedDict):
    FirewallArn: str,
    AvailabilityZone: str,
    FlowOperationId: str,
    FlowOperationStatus: FlowOperationStatusType,  # (1)
    StatusMessage: str,
    FlowRequestTimestamp: datetime.datetime,
    Flows: List[FlowTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    NextToken: NotRequired[str],
  1. See FlowOperationStatusType
  2. See List[FlowTypeDef]
  3. See ResponseMetadataTypeDef

GetAnalysisReportResultsResponseTypeDef#

# GetAnalysisReportResultsResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import GetAnalysisReportResultsResponseTypeDef


def get_value() -> GetAnalysisReportResultsResponseTypeDef:
    return {
        "Status": ...,
    }


# GetAnalysisReportResultsResponseTypeDef definition

class GetAnalysisReportResultsResponseTypeDef(TypedDict):
    Status: str,
    StartTime: datetime.datetime,
    EndTime: datetime.datetime,
    ReportTime: datetime.datetime,
    AnalysisType: EnabledAnalysisTypeType,  # (1)
    AnalysisReportResults: List[AnalysisTypeReportResultTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    NextToken: NotRequired[str],
  1. See EnabledAnalysisTypeType
  2. See List[AnalysisTypeReportResultTypeDef]
  3. See ResponseMetadataTypeDef

CapacityUsageSummaryTypeDef#

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

from mypy_boto3_network_firewall.type_defs import CreateFirewallPolicyResponseTypeDef


def get_value() -> CreateFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# CreateFirewallPolicyResponseTypeDef definition

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

DeleteFirewallPolicyResponseTypeDef#

# DeleteFirewallPolicyResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteFirewallPolicyResponseTypeDef


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


# DeleteFirewallPolicyResponseTypeDef definition

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

UpdateFirewallPolicyResponseTypeDef#

# UpdateFirewallPolicyResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyResponseTypeDef


def get_value() -> UpdateFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateFirewallPolicyResponseTypeDef definition

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

CreateRuleGroupResponseTypeDef#

# CreateRuleGroupResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CreateRuleGroupResponseTypeDef


def get_value() -> CreateRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# CreateRuleGroupResponseTypeDef definition

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

DeleteRuleGroupResponseTypeDef#

# DeleteRuleGroupResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteRuleGroupResponseTypeDef


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


# DeleteRuleGroupResponseTypeDef definition

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

UpdateRuleGroupResponseTypeDef#

# UpdateRuleGroupResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateRuleGroupResponseTypeDef


def get_value() -> UpdateRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateRuleGroupResponseTypeDef definition

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

ActionDefinitionOutputTypeDef#

# ActionDefinitionOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ActionDefinitionOutputTypeDef


def get_value() -> ActionDefinitionOutputTypeDef:
    return {
        "PublishMetricAction": ...,
    }


# ActionDefinitionOutputTypeDef definition

class ActionDefinitionOutputTypeDef(TypedDict):
    PublishMetricAction: NotRequired[PublishMetricActionOutputTypeDef],  # (1)
  1. See PublishMetricActionOutputTypeDef

ActionDefinitionTypeDef#

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

from mypy_boto3_network_firewall.type_defs import DescribeLoggingConfigurationResponseTypeDef


def get_value() -> DescribeLoggingConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# DescribeLoggingConfigurationResponseTypeDef definition

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

UpdateLoggingConfigurationResponseTypeDef#

# UpdateLoggingConfigurationResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateLoggingConfigurationResponseTypeDef


def get_value() -> UpdateLoggingConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# UpdateLoggingConfigurationResponseTypeDef definition

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

ServerCertificateConfigurationOutputTypeDef#

# ServerCertificateConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import ServerCertificateConfigurationOutputTypeDef


def get_value() -> ServerCertificateConfigurationOutputTypeDef:
    return {
        "ServerCertificates": ...,
    }


# ServerCertificateConfigurationOutputTypeDef definition

class ServerCertificateConfigurationOutputTypeDef(TypedDict):
    ServerCertificates: NotRequired[List[ServerCertificateTypeDef]],  # (1)
    Scopes: NotRequired[List[ServerCertificateScopeOutputTypeDef]],  # (2)
    CertificateAuthorityArn: NotRequired[str],
    CheckCertificateRevocationStatus: NotRequired[CheckCertificateRevocationStatusActionsTypeDef],  # (3)
  1. See List[ServerCertificateTypeDef]
  2. See List[ServerCertificateScopeOutputTypeDef]
  3. See CheckCertificateRevocationStatusActionsTypeDef

ServerCertificateConfigurationTypeDef#

# ServerCertificateConfigurationTypeDef TypedDict 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)
    CertificateAuthorityArn: NotRequired[str],
    CheckCertificateRevocationStatus: NotRequired[CheckCertificateRevocationStatusActionsTypeDef],  # (3)
  1. See Sequence[ServerCertificateTypeDef]
  2. See Sequence[ServerCertificateScopeTypeDef]
  3. See CheckCertificateRevocationStatusActionsTypeDef

RuleDefinitionOutputTypeDef#

# RuleDefinitionOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RuleDefinitionOutputTypeDef


def get_value() -> RuleDefinitionOutputTypeDef:
    return {
        "MatchAttributes": ...,
    }


# RuleDefinitionOutputTypeDef definition

class RuleDefinitionOutputTypeDef(TypedDict):
    MatchAttributes: MatchAttributesOutputTypeDef,  # (1)
    Actions: List[str],
  1. See MatchAttributesOutputTypeDef

RuleDefinitionTypeDef#

# RuleDefinitionTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RuleDefinitionTypeDef


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


# RuleDefinitionTypeDef definition

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

CreateTLSInspectionConfigurationResponseTypeDef#

# CreateTLSInspectionConfigurationResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CreateTLSInspectionConfigurationResponseTypeDef


def get_value() -> CreateTLSInspectionConfigurationResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# CreateTLSInspectionConfigurationResponseTypeDef definition

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

DeleteTLSInspectionConfigurationResponseTypeDef#

# DeleteTLSInspectionConfigurationResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DeleteTLSInspectionConfigurationResponseTypeDef


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


# DeleteTLSInspectionConfigurationResponseTypeDef definition

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

UpdateTLSInspectionConfigurationResponseTypeDef#

# UpdateTLSInspectionConfigurationResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateTLSInspectionConfigurationResponseTypeDef


def get_value() -> UpdateTLSInspectionConfigurationResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateTLSInspectionConfigurationResponseTypeDef definition

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

DescribeFlowOperationResponseTypeDef#

# DescribeFlowOperationResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeFlowOperationResponseTypeDef


def get_value() -> DescribeFlowOperationResponseTypeDef:
    return {
        "FirewallArn": ...,
    }


# DescribeFlowOperationResponseTypeDef definition

class DescribeFlowOperationResponseTypeDef(TypedDict):
    FirewallArn: str,
    AvailabilityZone: str,
    FlowOperationId: str,
    FlowOperationType: FlowOperationTypeType,  # (1)
    FlowOperationStatus: FlowOperationStatusType,  # (2)
    StatusMessage: str,
    FlowRequestTimestamp: datetime.datetime,
    FlowOperation: FlowOperationTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See FlowOperationTypeType
  2. See FlowOperationStatusType
  3. See FlowOperationTypeDef
  4. See ResponseMetadataTypeDef

StartFlowCaptureRequestTypeDef#

# StartFlowCaptureRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StartFlowCaptureRequestTypeDef


def get_value() -> StartFlowCaptureRequestTypeDef:
    return {
        "FirewallArn": ...,
    }


# StartFlowCaptureRequestTypeDef definition

class StartFlowCaptureRequestTypeDef(TypedDict):
    FirewallArn: str,
    FlowFilters: Sequence[FlowFilterUnionTypeDef],  # (1)
    AvailabilityZone: NotRequired[str],
    MinimumFlowAgeInSeconds: NotRequired[int],
  1. See Sequence[FlowFilterUnionTypeDef]

StartFlowFlushRequestTypeDef#

# StartFlowFlushRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StartFlowFlushRequestTypeDef


def get_value() -> StartFlowFlushRequestTypeDef:
    return {
        "FirewallArn": ...,
    }


# StartFlowFlushRequestTypeDef definition

class StartFlowFlushRequestTypeDef(TypedDict):
    FirewallArn: str,
    FlowFilters: Sequence[FlowFilterUnionTypeDef],  # (1)
    AvailabilityZone: NotRequired[str],
    MinimumFlowAgeInSeconds: NotRequired[int],
  1. See Sequence[FlowFilterUnionTypeDef]

FirewallStatusTypeDef#

# FirewallStatusTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FirewallStatusTypeDef


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


# 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 Dict[str, SyncStateTypeDef]
  4. See CapacityUsageSummaryTypeDef

CustomActionOutputTypeDef#

# CustomActionOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CustomActionOutputTypeDef


def get_value() -> CustomActionOutputTypeDef:
    return {
        "ActionName": ...,
    }


# CustomActionOutputTypeDef definition

class CustomActionOutputTypeDef(TypedDict):
    ActionName: str,
    ActionDefinition: ActionDefinitionOutputTypeDef,  # (1)
  1. See ActionDefinitionOutputTypeDef

CustomActionTypeDef#

# CustomActionTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CustomActionTypeDef


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


# CustomActionTypeDef definition

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

UpdateLoggingConfigurationRequestTypeDef#

# UpdateLoggingConfigurationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateLoggingConfigurationRequestTypeDef


def get_value() -> UpdateLoggingConfigurationRequestTypeDef:
    return {
        "FirewallArn": ...,
    }


# UpdateLoggingConfigurationRequestTypeDef definition

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

TLSInspectionConfigurationOutputTypeDef#

# TLSInspectionConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import TLSInspectionConfigurationOutputTypeDef


def get_value() -> TLSInspectionConfigurationOutputTypeDef:
    return {
        "ServerCertificateConfigurations": ...,
    }


# TLSInspectionConfigurationOutputTypeDef definition

class TLSInspectionConfigurationOutputTypeDef(TypedDict):
    ServerCertificateConfigurations: NotRequired[List[ServerCertificateConfigurationOutputTypeDef]],  # (1)
  1. See List[ServerCertificateConfigurationOutputTypeDef]

TLSInspectionConfigurationTypeDef#

# TLSInspectionConfigurationTypeDef TypedDict 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 Sequence[ServerCertificateConfigurationTypeDef]

StatelessRuleOutputTypeDef#

# StatelessRuleOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StatelessRuleOutputTypeDef


def get_value() -> StatelessRuleOutputTypeDef:
    return {
        "RuleDefinition": ...,
    }


# StatelessRuleOutputTypeDef definition

class StatelessRuleOutputTypeDef(TypedDict):
    RuleDefinition: RuleDefinitionOutputTypeDef,  # (1)
    Priority: int,
  1. See RuleDefinitionOutputTypeDef

StatelessRuleTypeDef#

# StatelessRuleTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StatelessRuleTypeDef


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


# StatelessRuleTypeDef definition

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

CreateFirewallResponseTypeDef#

# CreateFirewallResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CreateFirewallResponseTypeDef


def get_value() -> CreateFirewallResponseTypeDef:
    return {
        "Firewall": ...,
    }


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

from mypy_boto3_network_firewall.type_defs import DeleteFirewallResponseTypeDef


def get_value() -> DeleteFirewallResponseTypeDef:
    return {
        "Firewall": ...,
    }


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

from mypy_boto3_network_firewall.type_defs import DescribeFirewallResponseTypeDef


def get_value() -> DescribeFirewallResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# 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

FirewallPolicyOutputTypeDef#

# FirewallPolicyOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FirewallPolicyOutputTypeDef


def get_value() -> FirewallPolicyOutputTypeDef:
    return {
        "StatelessRuleGroupReferences": ...,
    }


# FirewallPolicyOutputTypeDef definition

class FirewallPolicyOutputTypeDef(TypedDict):
    StatelessDefaultActions: List[str],
    StatelessFragmentDefaultActions: List[str],
    StatelessRuleGroupReferences: NotRequired[List[StatelessRuleGroupReferenceTypeDef]],  # (1)
    StatelessCustomActions: NotRequired[List[CustomActionOutputTypeDef]],  # (2)
    StatefulRuleGroupReferences: NotRequired[List[StatefulRuleGroupReferenceTypeDef]],  # (3)
    StatefulDefaultActions: NotRequired[List[str]],
    StatefulEngineOptions: NotRequired[StatefulEngineOptionsTypeDef],  # (4)
    TLSInspectionConfigurationArn: NotRequired[str],
    PolicyVariables: NotRequired[PolicyVariablesOutputTypeDef],  # (5)
  1. See List[StatelessRuleGroupReferenceTypeDef]
  2. See List[CustomActionOutputTypeDef]
  3. See List[StatefulRuleGroupReferenceTypeDef]
  4. See StatefulEngineOptionsTypeDef
  5. See PolicyVariablesOutputTypeDef

FirewallPolicyTypeDef#

# FirewallPolicyTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import FirewallPolicyTypeDef


def get_value() -> FirewallPolicyTypeDef:
    return {
        "StatelessRuleGroupReferences": ...,
    }


# 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 Sequence[StatelessRuleGroupReferenceTypeDef]
  2. See Sequence[CustomActionTypeDef]
  3. See Sequence[StatefulRuleGroupReferenceTypeDef]
  4. See StatefulEngineOptionsTypeDef
  5. See PolicyVariablesTypeDef

DescribeTLSInspectionConfigurationResponseTypeDef#

# DescribeTLSInspectionConfigurationResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeTLSInspectionConfigurationResponseTypeDef


def get_value() -> DescribeTLSInspectionConfigurationResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# DescribeTLSInspectionConfigurationResponseTypeDef definition

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

StatelessRulesAndCustomActionsOutputTypeDef#

# StatelessRulesAndCustomActionsOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import StatelessRulesAndCustomActionsOutputTypeDef


def get_value() -> StatelessRulesAndCustomActionsOutputTypeDef:
    return {
        "StatelessRules": ...,
    }


# StatelessRulesAndCustomActionsOutputTypeDef definition

class StatelessRulesAndCustomActionsOutputTypeDef(TypedDict):
    StatelessRules: List[StatelessRuleOutputTypeDef],  # (1)
    CustomActions: NotRequired[List[CustomActionOutputTypeDef]],  # (2)
  1. See List[StatelessRuleOutputTypeDef]
  2. See List[CustomActionOutputTypeDef]

StatelessRulesAndCustomActionsTypeDef#

# StatelessRulesAndCustomActionsTypeDef TypedDict 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 Sequence[StatelessRuleTypeDef]
  2. See Sequence[CustomActionTypeDef]

DescribeFirewallPolicyResponseTypeDef#

# DescribeFirewallPolicyResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeFirewallPolicyResponseTypeDef


def get_value() -> DescribeFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# DescribeFirewallPolicyResponseTypeDef definition

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

CreateTLSInspectionConfigurationRequestTypeDef#

# CreateTLSInspectionConfigurationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CreateTLSInspectionConfigurationRequestTypeDef


def get_value() -> CreateTLSInspectionConfigurationRequestTypeDef:
    return {
        "TLSInspectionConfigurationName": ...,
    }


# CreateTLSInspectionConfigurationRequestTypeDef definition

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

UpdateTLSInspectionConfigurationRequestTypeDef#

# UpdateTLSInspectionConfigurationRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateTLSInspectionConfigurationRequestTypeDef


def get_value() -> UpdateTLSInspectionConfigurationRequestTypeDef:
    return {
        "TLSInspectionConfiguration": ...,
    }


# UpdateTLSInspectionConfigurationRequestTypeDef definition

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

RulesSourceOutputTypeDef#

# RulesSourceOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RulesSourceOutputTypeDef


def get_value() -> RulesSourceOutputTypeDef:
    return {
        "RulesString": ...,
    }


# RulesSourceOutputTypeDef definition

class RulesSourceOutputTypeDef(TypedDict):
    RulesString: NotRequired[str],
    RulesSourceList: NotRequired[RulesSourceListOutputTypeDef],  # (1)
    StatefulRules: NotRequired[List[StatefulRuleOutputTypeDef]],  # (2)
    StatelessRulesAndCustomActions: NotRequired[StatelessRulesAndCustomActionsOutputTypeDef],  # (3)
  1. See RulesSourceListOutputTypeDef
  2. See List[StatefulRuleOutputTypeDef]
  3. See StatelessRulesAndCustomActionsOutputTypeDef

RulesSourceTypeDef#

# RulesSourceTypeDef TypedDict 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 Sequence[StatefulRuleTypeDef]
  3. See StatelessRulesAndCustomActionsTypeDef

CreateFirewallPolicyRequestTypeDef#

# CreateFirewallPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CreateFirewallPolicyRequestTypeDef


def get_value() -> CreateFirewallPolicyRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
    }


# CreateFirewallPolicyRequestTypeDef definition

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

UpdateFirewallPolicyRequestTypeDef#

# UpdateFirewallPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyRequestTypeDef


def get_value() -> UpdateFirewallPolicyRequestTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateFirewallPolicyRequestTypeDef definition

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

RuleGroupOutputTypeDef#

# RuleGroupOutputTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RuleGroupOutputTypeDef


def get_value() -> RuleGroupOutputTypeDef:
    return {
        "RuleVariables": ...,
    }


# RuleGroupOutputTypeDef definition

class RuleGroupOutputTypeDef(TypedDict):
    RulesSource: RulesSourceOutputTypeDef,  # (3)
    RuleVariables: NotRequired[RuleVariablesOutputTypeDef],  # (1)
    ReferenceSets: NotRequired[ReferenceSetsOutputTypeDef],  # (2)
    StatefulRuleOptions: NotRequired[StatefulRuleOptionsTypeDef],  # (4)
  1. See RuleVariablesOutputTypeDef
  2. See ReferenceSetsOutputTypeDef
  3. See RulesSourceOutputTypeDef
  4. See StatefulRuleOptionsTypeDef

RuleGroupTypeDef#

# RuleGroupTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import RuleGroupTypeDef


def get_value() -> RuleGroupTypeDef:
    return {
        "RuleVariables": ...,
    }


# 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

DescribeRuleGroupResponseTypeDef#

# DescribeRuleGroupResponseTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupResponseTypeDef


def get_value() -> DescribeRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
    }


# DescribeRuleGroupResponseTypeDef definition

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

CreateRuleGroupRequestTypeDef#

# CreateRuleGroupRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import CreateRuleGroupRequestTypeDef


def get_value() -> CreateRuleGroupRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }


# CreateRuleGroupRequestTypeDef definition

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

UpdateRuleGroupRequestTypeDef#

# UpdateRuleGroupRequestTypeDef TypedDict usage example

from mypy_boto3_network_firewall.type_defs import UpdateRuleGroupRequestTypeDef


def get_value() -> UpdateRuleGroupRequestTypeDef:
    return {
        "UpdateToken": ...,
    }


# UpdateRuleGroupRequestTypeDef definition

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