Skip to content

Typed dictionaries

Index > NetworkFirewall > Typed dictionaries

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

AddressTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import AddressTypeDef

def get_value() -> AddressTypeDef:
    return {
        "AddressDefinition": ...,
    }
Definition
class AddressTypeDef(TypedDict):
    AddressDefinition: str,

AssociateFirewallPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import AssociateFirewallPolicyRequestRequestTypeDef

def get_value() -> AssociateFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyArn": ...,
    }
Definition
class AssociateFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyArn: str,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

SubnetMappingTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import SubnetMappingTypeDef

def get_value() -> SubnetMappingTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class SubnetMappingTypeDef(TypedDict):
    SubnetId: str,

AttachmentTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import AttachmentTypeDef

def get_value() -> AttachmentTypeDef:
    return {
        "SubnetId": ...,
    }
Definition
class AttachmentTypeDef(TypedDict):
    SubnetId: NotRequired[str],
    EndpointId: NotRequired[str],
    Status: NotRequired[AttachmentStatusType],  # (1)
  1. See AttachmentStatusType

IPSetMetadataTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import IPSetMetadataTypeDef

def get_value() -> IPSetMetadataTypeDef:
    return {
        "ResolvedCIDRCount": ...,
    }
Definition
class IPSetMetadataTypeDef(TypedDict):
    ResolvedCIDRCount: NotRequired[int],

EncryptionConfigurationTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import EncryptionConfigurationTypeDef

def get_value() -> EncryptionConfigurationTypeDef:
    return {
        "Type": ...,
    }
Definition
class EncryptionConfigurationTypeDef(TypedDict):
    Type: EncryptionTypeType,  # (1)
    KeyId: NotRequired[str],
  1. See EncryptionTypeType

TagTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

SourceMetadataTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import SourceMetadataTypeDef

def get_value() -> SourceMetadataTypeDef:
    return {
        "SourceArn": ...,
    }
Definition
class SourceMetadataTypeDef(TypedDict):
    SourceArn: NotRequired[str],
    SourceUpdateToken: NotRequired[str],

DeleteFirewallPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DeleteFirewallPolicyRequestRequestTypeDef

def get_value() -> DeleteFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
    }
Definition
class DeleteFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyName: NotRequired[str],
    FirewallPolicyArn: NotRequired[str],

DeleteFirewallRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DeleteFirewallRequestRequestTypeDef

def get_value() -> DeleteFirewallRequestRequestTypeDef:
    return {
        "FirewallName": ...,
    }
Definition
class DeleteFirewallRequestRequestTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],

DeleteResourcePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DeleteResourcePolicyRequestRequestTypeDef

def get_value() -> DeleteResourcePolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DeleteRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DeleteRuleGroupRequestRequestTypeDef

def get_value() -> DeleteRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }
Definition
class DeleteRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    RuleGroupArn: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (1)
  1. See RuleGroupTypeType

DescribeFirewallPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeFirewallPolicyRequestRequestTypeDef

def get_value() -> DescribeFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
    }
Definition
class DescribeFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyName: NotRequired[str],
    FirewallPolicyArn: NotRequired[str],

DescribeFirewallRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeFirewallRequestRequestTypeDef

def get_value() -> DescribeFirewallRequestRequestTypeDef:
    return {
        "FirewallName": ...,
    }
Definition
class DescribeFirewallRequestRequestTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],

DescribeLoggingConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeLoggingConfigurationRequestRequestTypeDef

def get_value() -> DescribeLoggingConfigurationRequestRequestTypeDef:
    return {
        "FirewallArn": ...,
    }
Definition
class DescribeLoggingConfigurationRequestRequestTypeDef(TypedDict):
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

DescribeResourcePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeResourcePolicyRequestRequestTypeDef

def get_value() -> DescribeResourcePolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class DescribeResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DescribeRuleGroupMetadataRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupMetadataRequestRequestTypeDef

def get_value() -> DescribeRuleGroupMetadataRequestRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }
Definition
class DescribeRuleGroupMetadataRequestRequestTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    RuleGroupArn: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (1)
  1. See RuleGroupTypeType

StatefulRuleOptionsTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatefulRuleOptionsTypeDef

def get_value() -> StatefulRuleOptionsTypeDef:
    return {
        "RuleOrder": ...,
    }
Definition
class StatefulRuleOptionsTypeDef(TypedDict):
    RuleOrder: NotRequired[RuleOrderType],  # (1)
  1. See RuleOrderType

DescribeRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupRequestRequestTypeDef

def get_value() -> DescribeRuleGroupRequestRequestTypeDef:
    return {
        "RuleGroupName": ...,
    }
Definition
class DescribeRuleGroupRequestRequestTypeDef(TypedDict):
    RuleGroupName: NotRequired[str],
    RuleGroupArn: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (1)
  1. See RuleGroupTypeType

DimensionTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DimensionTypeDef

def get_value() -> DimensionTypeDef:
    return {
        "Value": ...,
    }
Definition
class DimensionTypeDef(TypedDict):
    Value: str,

DisassociateSubnetsRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DisassociateSubnetsRequestRequestTypeDef

def get_value() -> DisassociateSubnetsRequestRequestTypeDef:
    return {
        "SubnetIds": ...,
    }
Definition
class DisassociateSubnetsRequestRequestTypeDef(TypedDict):
    SubnetIds: Sequence[str],
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

FirewallMetadataTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import FirewallMetadataTypeDef

def get_value() -> FirewallMetadataTypeDef:
    return {
        "FirewallName": ...,
    }
Definition
class FirewallMetadataTypeDef(TypedDict):
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],

FirewallPolicyMetadataTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import FirewallPolicyMetadataTypeDef

def get_value() -> FirewallPolicyMetadataTypeDef:
    return {
        "Name": ...,
    }
Definition
class FirewallPolicyMetadataTypeDef(TypedDict):
    Name: NotRequired[str],
    Arn: NotRequired[str],

StatefulEngineOptionsTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatefulEngineOptionsTypeDef

def get_value() -> StatefulEngineOptionsTypeDef:
    return {
        "RuleOrder": ...,
    }
Definition
class StatefulEngineOptionsTypeDef(TypedDict):
    RuleOrder: NotRequired[RuleOrderType],  # (1)
  1. See RuleOrderType

StatelessRuleGroupReferenceTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatelessRuleGroupReferenceTypeDef

def get_value() -> StatelessRuleGroupReferenceTypeDef:
    return {
        "ResourceArn": ...,
        "Priority": ...,
    }
Definition
class StatelessRuleGroupReferenceTypeDef(TypedDict):
    ResourceArn: str,
    Priority: int,

HeaderTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import HeaderTypeDef

def get_value() -> HeaderTypeDef:
    return {
        "Protocol": ...,
        "Source": ...,
        "SourcePort": ...,
        "Direction": ...,
        "Destination": ...,
        "DestinationPort": ...,
    }
Definition
class HeaderTypeDef(TypedDict):
    Protocol: StatefulRuleProtocolType,  # (1)
    Source: str,
    SourcePort: str,
    Direction: StatefulRuleDirectionType,  # (2)
    Destination: str,
    DestinationPort: str,
  1. See StatefulRuleProtocolType
  2. See StatefulRuleDirectionType

IPSetReferenceTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import IPSetReferenceTypeDef

def get_value() -> IPSetReferenceTypeDef:
    return {
        "ReferenceArn": ...,
    }
Definition
class IPSetReferenceTypeDef(TypedDict):
    ReferenceArn: NotRequired[str],

IPSetTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import IPSetTypeDef

def get_value() -> IPSetTypeDef:
    return {
        "Definition": ...,
    }
Definition
class IPSetTypeDef(TypedDict):
    Definition: Sequence[str],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListFirewallPoliciesRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesRequestRequestTypeDef

def get_value() -> ListFirewallPoliciesRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListFirewallPoliciesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListFirewallsRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListFirewallsRequestRequestTypeDef

def get_value() -> ListFirewallsRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListFirewallsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    VpcIds: NotRequired[Sequence[str]],
    MaxResults: NotRequired[int],

ListRuleGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListRuleGroupsRequestRequestTypeDef

def get_value() -> ListRuleGroupsRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListRuleGroupsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    Scope: NotRequired[ResourceManagedStatusType],  # (1)
    ManagedType: NotRequired[ResourceManagedTypeType],  # (2)
    Type: NotRequired[RuleGroupTypeType],  # (3)
  1. See ResourceManagedStatusType
  2. See ResourceManagedTypeType
  3. See RuleGroupTypeType

RuleGroupMetadataTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RuleGroupMetadataTypeDef

def get_value() -> RuleGroupMetadataTypeDef:
    return {
        "Name": ...,
    }
Definition
class RuleGroupMetadataTypeDef(TypedDict):
    Name: NotRequired[str],
    Arn: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

LogDestinationConfigTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import LogDestinationConfigTypeDef

def get_value() -> LogDestinationConfigTypeDef:
    return {
        "LogType": ...,
        "LogDestinationType": ...,
        "LogDestination": ...,
    }
Definition
class LogDestinationConfigTypeDef(TypedDict):
    LogType: LogTypeType,  # (1)
    LogDestinationType: LogDestinationTypeType,  # (2)
    LogDestination: Dict[str, str],
  1. See LogTypeType
  2. See LogDestinationTypeType

PortRangeTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import PortRangeTypeDef

def get_value() -> PortRangeTypeDef:
    return {
        "FromPort": ...,
        "ToPort": ...,
    }
Definition
class PortRangeTypeDef(TypedDict):
    FromPort: int,
    ToPort: int,

TCPFlagFieldTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import TCPFlagFieldTypeDef

def get_value() -> TCPFlagFieldTypeDef:
    return {
        "Flags": ...,
    }
Definition
class TCPFlagFieldTypeDef(TypedDict):
    Flags: Sequence[TCPFlagType],  # (1)
    Masks: NotRequired[Sequence[TCPFlagType]],  # (1)
  1. See TCPFlagType
  2. See TCPFlagType

PerObjectStatusTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import PerObjectStatusTypeDef

def get_value() -> PerObjectStatusTypeDef:
    return {
        "SyncStatus": ...,
    }
Definition
class PerObjectStatusTypeDef(TypedDict):
    SyncStatus: NotRequired[PerObjectSyncStatusType],  # (1)
    UpdateToken: NotRequired[str],
  1. See PerObjectSyncStatusType

PortSetTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import PortSetTypeDef

def get_value() -> PortSetTypeDef:
    return {
        "Definition": ...,
    }
Definition
class PortSetTypeDef(TypedDict):
    Definition: NotRequired[Sequence[str]],

PutResourcePolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import PutResourcePolicyRequestRequestTypeDef

def get_value() -> PutResourcePolicyRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Policy": ...,
    }
Definition
class PutResourcePolicyRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Policy: str,

RuleOptionTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RuleOptionTypeDef

def get_value() -> RuleOptionTypeDef:
    return {
        "Keyword": ...,
    }
Definition
class RuleOptionTypeDef(TypedDict):
    Keyword: str,
    Settings: NotRequired[Sequence[str]],

RulesSourceListTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RulesSourceListTypeDef

def get_value() -> RulesSourceListTypeDef:
    return {
        "Targets": ...,
        "TargetTypes": ...,
        "GeneratedRulesType": ...,
    }
Definition
class RulesSourceListTypeDef(TypedDict):
    Targets: Sequence[str],
    TargetTypes: Sequence[TargetTypeType],  # (1)
    GeneratedRulesType: GeneratedRulesTypeType,  # (2)
  1. See TargetTypeType
  2. See GeneratedRulesTypeType

StatefulRuleGroupOverrideTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatefulRuleGroupOverrideTypeDef

def get_value() -> StatefulRuleGroupOverrideTypeDef:
    return {
        "Action": ...,
    }
Definition
class StatefulRuleGroupOverrideTypeDef(TypedDict):
    Action: NotRequired[OverrideActionType],  # (1)
  1. See OverrideActionType

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateFirewallDeleteProtectionRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallDeleteProtectionRequestRequestTypeDef

def get_value() -> UpdateFirewallDeleteProtectionRequestRequestTypeDef:
    return {
        "DeleteProtection": ...,
    }
Definition
class UpdateFirewallDeleteProtectionRequestRequestTypeDef(TypedDict):
    DeleteProtection: bool,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

UpdateFirewallDescriptionRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallDescriptionRequestRequestTypeDef

def get_value() -> UpdateFirewallDescriptionRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
    }
Definition
class UpdateFirewallDescriptionRequestRequestTypeDef(TypedDict):
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
    Description: NotRequired[str],

UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef

def get_value() -> UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef:
    return {
        "FirewallPolicyChangeProtection": ...,
    }
Definition
class UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef(TypedDict):
    FirewallPolicyChangeProtection: bool,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

UpdateSubnetChangeProtectionRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateSubnetChangeProtectionRequestRequestTypeDef

def get_value() -> UpdateSubnetChangeProtectionRequestRequestTypeDef:
    return {
        "SubnetChangeProtection": ...,
    }
Definition
class UpdateSubnetChangeProtectionRequestRequestTypeDef(TypedDict):
    SubnetChangeProtection: bool,
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],

AssociateFirewallPolicyResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import AssociateFirewallPolicyResponseTypeDef

def get_value() -> AssociateFirewallPolicyResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "FirewallPolicyArn": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateFirewallPolicyResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    FirewallPolicyArn: str,
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeResourcePolicyResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeResourcePolicyResponseTypeDef

def get_value() -> DescribeResourcePolicyResponseTypeDef:
    return {
        "Policy": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeResourcePolicyResponseTypeDef(TypedDict):
    Policy: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateFirewallDeleteProtectionResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallDeleteProtectionResponseTypeDef

def get_value() -> UpdateFirewallDeleteProtectionResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "DeleteProtection": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateFirewallDeleteProtectionResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    DeleteProtection: bool,
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateFirewallDescriptionResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallDescriptionResponseTypeDef

def get_value() -> UpdateFirewallDescriptionResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "Description": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateFirewallDescriptionResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    Description: str,
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateFirewallPolicyChangeProtectionResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyChangeProtectionResponseTypeDef

def get_value() -> UpdateFirewallPolicyChangeProtectionResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallArn": ...,
        "FirewallName": ...,
        "FirewallPolicyChangeProtection": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateFirewallPolicyChangeProtectionResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallArn: str,
    FirewallName: str,
    FirewallPolicyChangeProtection: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateSubnetChangeProtectionResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateSubnetChangeProtectionResponseTypeDef

def get_value() -> UpdateSubnetChangeProtectionResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallArn": ...,
        "FirewallName": ...,
        "SubnetChangeProtection": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateSubnetChangeProtectionResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallArn: str,
    FirewallName: str,
    SubnetChangeProtection: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AssociateSubnetsRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import AssociateSubnetsRequestRequestTypeDef

def get_value() -> AssociateSubnetsRequestRequestTypeDef:
    return {
        "SubnetMappings": ...,
    }
Definition
class AssociateSubnetsRequestRequestTypeDef(TypedDict):
    SubnetMappings: Sequence[SubnetMappingTypeDef],  # (1)
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
  1. See SubnetMappingTypeDef

AssociateSubnetsResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import AssociateSubnetsResponseTypeDef

def get_value() -> AssociateSubnetsResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "SubnetMappings": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateSubnetsResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    SubnetMappings: List[SubnetMappingTypeDef],  # (1)
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetMappingTypeDef
  2. See ResponseMetadataTypeDef

DisassociateSubnetsResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DisassociateSubnetsResponseTypeDef

def get_value() -> DisassociateSubnetsResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "SubnetMappings": ...,
        "UpdateToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateSubnetsResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    SubnetMappings: List[SubnetMappingTypeDef],  # (1)
    UpdateToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubnetMappingTypeDef
  2. See ResponseMetadataTypeDef

CIDRSummaryTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CIDRSummaryTypeDef

def get_value() -> CIDRSummaryTypeDef:
    return {
        "AvailableCIDRCount": ...,
    }
Definition
class CIDRSummaryTypeDef(TypedDict):
    AvailableCIDRCount: NotRequired[int],
    UtilizedCIDRCount: NotRequired[int],
    IPSetReferences: NotRequired[Dict[str, IPSetMetadataTypeDef]],  # (1)
  1. See IPSetMetadataTypeDef

UpdateFirewallEncryptionConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallEncryptionConfigurationRequestRequestTypeDef

def get_value() -> UpdateFirewallEncryptionConfigurationRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
    }
Definition
class UpdateFirewallEncryptionConfigurationRequestRequestTypeDef(TypedDict):
    UpdateToken: NotRequired[str],
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (1)
  1. See EncryptionConfigurationTypeDef

UpdateFirewallEncryptionConfigurationResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallEncryptionConfigurationResponseTypeDef

def get_value() -> UpdateFirewallEncryptionConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "UpdateToken": ...,
        "EncryptionConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateFirewallEncryptionConfigurationResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    UpdateToken: str,
    EncryptionConfiguration: EncryptionConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EncryptionConfigurationTypeDef
  2. See ResponseMetadataTypeDef

CreateFirewallRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CreateFirewallRequestRequestTypeDef

def get_value() -> CreateFirewallRequestRequestTypeDef:
    return {
        "FirewallName": ...,
        "FirewallPolicyArn": ...,
        "VpcId": ...,
        "SubnetMappings": ...,
    }
Definition
class CreateFirewallRequestRequestTypeDef(TypedDict):
    FirewallName: str,
    FirewallPolicyArn: str,
    VpcId: str,
    SubnetMappings: Sequence[SubnetMappingTypeDef],  # (1)
    DeleteProtection: NotRequired[bool],
    SubnetChangeProtection: NotRequired[bool],
    FirewallPolicyChangeProtection: NotRequired[bool],
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See SubnetMappingTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

FirewallPolicyResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import FirewallPolicyResponseTypeDef

def get_value() -> FirewallPolicyResponseTypeDef:
    return {
        "FirewallPolicyName": ...,
        "FirewallPolicyArn": ...,
        "FirewallPolicyId": ...,
    }
Definition
class FirewallPolicyResponseTypeDef(TypedDict):
    FirewallPolicyName: str,
    FirewallPolicyArn: str,
    FirewallPolicyId: str,
    Description: NotRequired[str],
    FirewallPolicyStatus: NotRequired[ResourceStatusType],  # (1)
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    ConsumedStatelessRuleCapacity: NotRequired[int],
    ConsumedStatefulRuleCapacity: NotRequired[int],
    NumberOfAssociations: NotRequired[int],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
    LastModifiedTime: NotRequired[datetime],
  1. See ResourceStatusType
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

FirewallTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import FirewallTypeDef

def get_value() -> FirewallTypeDef:
    return {
        "FirewallPolicyArn": ...,
        "VpcId": ...,
        "SubnetMappings": ...,
        "FirewallId": ...,
    }
Definition
class FirewallTypeDef(TypedDict):
    FirewallPolicyArn: str,
    VpcId: str,
    SubnetMappings: List[SubnetMappingTypeDef],  # (1)
    FirewallId: str,
    FirewallName: NotRequired[str],
    FirewallArn: NotRequired[str],
    DeleteProtection: NotRequired[bool],
    SubnetChangeProtection: NotRequired[bool],
    FirewallPolicyChangeProtection: NotRequired[bool],
    Description: NotRequired[str],
    Tags: NotRequired[List[TagTypeDef]],  # (2)
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See SubnetMappingTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "NextToken": ...,
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    NextToken: str,
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

RuleGroupResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RuleGroupResponseTypeDef

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

DescribeRuleGroupMetadataResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupMetadataResponseTypeDef

def get_value() -> DescribeRuleGroupMetadataResponseTypeDef:
    return {
        "RuleGroupArn": ...,
        "RuleGroupName": ...,
        "Description": ...,
        "Type": ...,
        "Capacity": ...,
        "StatefulRuleOptions": ...,
        "LastModifiedTime": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRuleGroupMetadataResponseTypeDef(TypedDict):
    RuleGroupArn: str,
    RuleGroupName: str,
    Description: str,
    Type: RuleGroupTypeType,  # (1)
    Capacity: int,
    StatefulRuleOptions: StatefulRuleOptionsTypeDef,  # (2)
    LastModifiedTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RuleGroupTypeType
  2. See StatefulRuleOptionsTypeDef
  3. See ResponseMetadataTypeDef

PublishMetricActionTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import PublishMetricActionTypeDef

def get_value() -> PublishMetricActionTypeDef:
    return {
        "Dimensions": ...,
    }
Definition
class PublishMetricActionTypeDef(TypedDict):
    Dimensions: Sequence[DimensionTypeDef],  # (1)
  1. See DimensionTypeDef

ListFirewallsResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListFirewallsResponseTypeDef

def get_value() -> ListFirewallsResponseTypeDef:
    return {
        "NextToken": ...,
        "Firewalls": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFirewallsResponseTypeDef(TypedDict):
    NextToken: str,
    Firewalls: List[FirewallMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallMetadataTypeDef
  2. See ResponseMetadataTypeDef

ListFirewallPoliciesResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesResponseTypeDef

def get_value() -> ListFirewallPoliciesResponseTypeDef:
    return {
        "NextToken": ...,
        "FirewallPolicies": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFirewallPoliciesResponseTypeDef(TypedDict):
    NextToken: str,
    FirewallPolicies: List[FirewallPolicyMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyMetadataTypeDef
  2. See ResponseMetadataTypeDef

ReferenceSetsTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ReferenceSetsTypeDef

def get_value() -> ReferenceSetsTypeDef:
    return {
        "IPSetReferences": ...,
    }
Definition
class ReferenceSetsTypeDef(TypedDict):
    IPSetReferences: NotRequired[Mapping[str, IPSetReferenceTypeDef]],  # (1)
  1. See IPSetReferenceTypeDef

ListFirewallPoliciesRequestListFirewallPoliciesPaginateTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListFirewallPoliciesRequestListFirewallPoliciesPaginateTypeDef

def get_value() -> ListFirewallPoliciesRequestListFirewallPoliciesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListFirewallPoliciesRequestListFirewallPoliciesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFirewallsRequestListFirewallsPaginateTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListFirewallsRequestListFirewallsPaginateTypeDef

def get_value() -> ListFirewallsRequestListFirewallsPaginateTypeDef:
    return {
        "VpcIds": ...,
    }
Definition
class ListFirewallsRequestListFirewallsPaginateTypeDef(TypedDict):
    VpcIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRuleGroupsRequestListRuleGroupsPaginateTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListRuleGroupsRequestListRuleGroupsPaginateTypeDef

def get_value() -> ListRuleGroupsRequestListRuleGroupsPaginateTypeDef:
    return {
        "Scope": ...,
    }
Definition
class ListRuleGroupsRequestListRuleGroupsPaginateTypeDef(TypedDict):
    Scope: NotRequired[ResourceManagedStatusType],  # (1)
    ManagedType: NotRequired[ResourceManagedTypeType],  # (2)
    Type: NotRequired[RuleGroupTypeType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See ResourceManagedStatusType
  2. See ResourceManagedTypeType
  3. See RuleGroupTypeType
  4. See PaginatorConfigTypeDef

ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListTagsForResourceRequestListTagsForResourcePaginateTypeDef

def get_value() -> ListTagsForResourceRequestListTagsForResourcePaginateTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceRequestListTagsForResourcePaginateTypeDef(TypedDict):
    ResourceArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRuleGroupsResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ListRuleGroupsResponseTypeDef

def get_value() -> ListRuleGroupsResponseTypeDef:
    return {
        "NextToken": ...,
        "RuleGroups": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListRuleGroupsResponseTypeDef(TypedDict):
    NextToken: str,
    RuleGroups: List[RuleGroupMetadataTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupMetadataTypeDef
  2. See ResponseMetadataTypeDef

LoggingConfigurationTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import LoggingConfigurationTypeDef

def get_value() -> LoggingConfigurationTypeDef:
    return {
        "LogDestinationConfigs": ...,
    }
Definition
class LoggingConfigurationTypeDef(TypedDict):
    LogDestinationConfigs: List[LogDestinationConfigTypeDef],  # (1)
  1. See LogDestinationConfigTypeDef

MatchAttributesTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import MatchAttributesTypeDef

def get_value() -> MatchAttributesTypeDef:
    return {
        "Sources": ...,
    }
Definition
class MatchAttributesTypeDef(TypedDict):
    Sources: NotRequired[Sequence[AddressTypeDef]],  # (1)
    Destinations: NotRequired[Sequence[AddressTypeDef]],  # (1)
    SourcePorts: NotRequired[Sequence[PortRangeTypeDef]],  # (3)
    DestinationPorts: NotRequired[Sequence[PortRangeTypeDef]],  # (3)
    Protocols: NotRequired[Sequence[int]],
    TCPFlags: NotRequired[Sequence[TCPFlagFieldTypeDef]],  # (5)
  1. See AddressTypeDef
  2. See AddressTypeDef
  3. See PortRangeTypeDef
  4. See PortRangeTypeDef
  5. See TCPFlagFieldTypeDef

SyncStateTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import SyncStateTypeDef

def get_value() -> SyncStateTypeDef:
    return {
        "Attachment": ...,
    }
Definition
class SyncStateTypeDef(TypedDict):
    Attachment: NotRequired[AttachmentTypeDef],  # (1)
    Config: NotRequired[Dict[str, PerObjectStatusTypeDef]],  # (2)
  1. See AttachmentTypeDef
  2. See PerObjectStatusTypeDef

RuleVariablesTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RuleVariablesTypeDef

def get_value() -> RuleVariablesTypeDef:
    return {
        "IPSets": ...,
    }
Definition
class RuleVariablesTypeDef(TypedDict):
    IPSets: NotRequired[Mapping[str, IPSetTypeDef]],  # (1)
    PortSets: NotRequired[Mapping[str, PortSetTypeDef]],  # (2)
  1. See IPSetTypeDef
  2. See PortSetTypeDef

StatefulRuleTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatefulRuleTypeDef

def get_value() -> StatefulRuleTypeDef:
    return {
        "Action": ...,
        "Header": ...,
        "RuleOptions": ...,
    }
Definition
class StatefulRuleTypeDef(TypedDict):
    Action: StatefulActionType,  # (1)
    Header: HeaderTypeDef,  # (2)
    RuleOptions: Sequence[RuleOptionTypeDef],  # (3)
  1. See StatefulActionType
  2. See HeaderTypeDef
  3. See RuleOptionTypeDef

StatefulRuleGroupReferenceTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatefulRuleGroupReferenceTypeDef

def get_value() -> StatefulRuleGroupReferenceTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class StatefulRuleGroupReferenceTypeDef(TypedDict):
    ResourceArn: str,
    Priority: NotRequired[int],
    Override: NotRequired[StatefulRuleGroupOverrideTypeDef],  # (1)
  1. See StatefulRuleGroupOverrideTypeDef

CapacityUsageSummaryTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CapacityUsageSummaryTypeDef

def get_value() -> CapacityUsageSummaryTypeDef:
    return {
        "CIDRs": ...,
    }
Definition
class CapacityUsageSummaryTypeDef(TypedDict):
    CIDRs: NotRequired[CIDRSummaryTypeDef],  # (1)
  1. See CIDRSummaryTypeDef

CreateFirewallPolicyResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CreateFirewallPolicyResponseTypeDef

def get_value() -> CreateFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicyResponse": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFirewallPolicyResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyResponseTypeDef
  2. See ResponseMetadataTypeDef

DeleteFirewallPolicyResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DeleteFirewallPolicyResponseTypeDef

def get_value() -> DeleteFirewallPolicyResponseTypeDef:
    return {
        "FirewallPolicyResponse": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteFirewallPolicyResponseTypeDef(TypedDict):
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyResponseTypeDef
  2. See ResponseMetadataTypeDef

UpdateFirewallPolicyResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyResponseTypeDef

def get_value() -> UpdateFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicyResponse": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateFirewallPolicyResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FirewallPolicyResponseTypeDef
  2. See ResponseMetadataTypeDef

CreateRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CreateRuleGroupResponseTypeDef

def get_value() -> CreateRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
        "RuleGroupResponse": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateRuleGroupResponseTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupResponseTypeDef
  2. See ResponseMetadataTypeDef

DeleteRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DeleteRuleGroupResponseTypeDef

def get_value() -> DeleteRuleGroupResponseTypeDef:
    return {
        "RuleGroupResponse": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteRuleGroupResponseTypeDef(TypedDict):
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupResponseTypeDef
  2. See ResponseMetadataTypeDef

UpdateRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateRuleGroupResponseTypeDef

def get_value() -> UpdateRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
        "RuleGroupResponse": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateRuleGroupResponseTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RuleGroupResponseTypeDef
  2. See ResponseMetadataTypeDef

ActionDefinitionTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import ActionDefinitionTypeDef

def get_value() -> ActionDefinitionTypeDef:
    return {
        "PublishMetricAction": ...,
    }
Definition
class ActionDefinitionTypeDef(TypedDict):
    PublishMetricAction: NotRequired[PublishMetricActionTypeDef],  # (1)
  1. See PublishMetricActionTypeDef

DescribeLoggingConfigurationResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeLoggingConfigurationResponseTypeDef

def get_value() -> DescribeLoggingConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
        "LoggingConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLoggingConfigurationResponseTypeDef(TypedDict):
    FirewallArn: str,
    LoggingConfiguration: LoggingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

UpdateLoggingConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateLoggingConfigurationRequestRequestTypeDef

def get_value() -> UpdateLoggingConfigurationRequestRequestTypeDef:
    return {
        "FirewallArn": ...,
    }
Definition
class UpdateLoggingConfigurationRequestRequestTypeDef(TypedDict):
    FirewallArn: NotRequired[str],
    FirewallName: NotRequired[str],
    LoggingConfiguration: NotRequired[LoggingConfigurationTypeDef],  # (1)
  1. See LoggingConfigurationTypeDef

UpdateLoggingConfigurationResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateLoggingConfigurationResponseTypeDef

def get_value() -> UpdateLoggingConfigurationResponseTypeDef:
    return {
        "FirewallArn": ...,
        "FirewallName": ...,
        "LoggingConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateLoggingConfigurationResponseTypeDef(TypedDict):
    FirewallArn: str,
    FirewallName: str,
    LoggingConfiguration: LoggingConfigurationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoggingConfigurationTypeDef
  2. See ResponseMetadataTypeDef

RuleDefinitionTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RuleDefinitionTypeDef

def get_value() -> RuleDefinitionTypeDef:
    return {
        "MatchAttributes": ...,
        "Actions": ...,
    }
Definition
class RuleDefinitionTypeDef(TypedDict):
    MatchAttributes: MatchAttributesTypeDef,  # (1)
    Actions: Sequence[str],
  1. See MatchAttributesTypeDef

FirewallStatusTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import FirewallStatusTypeDef

def get_value() -> FirewallStatusTypeDef:
    return {
        "Status": ...,
        "ConfigurationSyncStateSummary": ...,
    }
Definition
class FirewallStatusTypeDef(TypedDict):
    Status: FirewallStatusValueType,  # (1)
    ConfigurationSyncStateSummary: ConfigurationSyncStateType,  # (2)
    SyncStates: NotRequired[Dict[str, SyncStateTypeDef]],  # (3)
    CapacityUsageSummary: NotRequired[CapacityUsageSummaryTypeDef],  # (4)
  1. See FirewallStatusValueType
  2. See ConfigurationSyncStateType
  3. See SyncStateTypeDef
  4. See CapacityUsageSummaryTypeDef

CustomActionTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CustomActionTypeDef

def get_value() -> CustomActionTypeDef:
    return {
        "ActionName": ...,
        "ActionDefinition": ...,
    }
Definition
class CustomActionTypeDef(TypedDict):
    ActionName: str,
    ActionDefinition: ActionDefinitionTypeDef,  # (1)
  1. See ActionDefinitionTypeDef

StatelessRuleTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatelessRuleTypeDef

def get_value() -> StatelessRuleTypeDef:
    return {
        "RuleDefinition": ...,
        "Priority": ...,
    }
Definition
class StatelessRuleTypeDef(TypedDict):
    RuleDefinition: RuleDefinitionTypeDef,  # (1)
    Priority: int,
  1. See RuleDefinitionTypeDef

CreateFirewallResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CreateFirewallResponseTypeDef

def get_value() -> CreateFirewallResponseTypeDef:
    return {
        "Firewall": ...,
        "FirewallStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFirewallResponseTypeDef(TypedDict):
    Firewall: FirewallTypeDef,  # (1)
    FirewallStatus: FirewallStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallTypeDef
  2. See FirewallStatusTypeDef
  3. See ResponseMetadataTypeDef

DeleteFirewallResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DeleteFirewallResponseTypeDef

def get_value() -> DeleteFirewallResponseTypeDef:
    return {
        "Firewall": ...,
        "FirewallStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteFirewallResponseTypeDef(TypedDict):
    Firewall: FirewallTypeDef,  # (1)
    FirewallStatus: FirewallStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallTypeDef
  2. See FirewallStatusTypeDef
  3. See ResponseMetadataTypeDef

DescribeFirewallResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeFirewallResponseTypeDef

def get_value() -> DescribeFirewallResponseTypeDef:
    return {
        "UpdateToken": ...,
        "Firewall": ...,
        "FirewallStatus": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFirewallResponseTypeDef(TypedDict):
    UpdateToken: str,
    Firewall: FirewallTypeDef,  # (1)
    FirewallStatus: FirewallStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallTypeDef
  2. See FirewallStatusTypeDef
  3. See ResponseMetadataTypeDef

FirewallPolicyTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import FirewallPolicyTypeDef

def get_value() -> FirewallPolicyTypeDef:
    return {
        "StatelessDefaultActions": ...,
        "StatelessFragmentDefaultActions": ...,
    }
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)
  1. See StatelessRuleGroupReferenceTypeDef
  2. See CustomActionTypeDef
  3. See StatefulRuleGroupReferenceTypeDef
  4. See StatefulEngineOptionsTypeDef

StatelessRulesAndCustomActionsTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import StatelessRulesAndCustomActionsTypeDef

def get_value() -> StatelessRulesAndCustomActionsTypeDef:
    return {
        "StatelessRules": ...,
    }
Definition
class StatelessRulesAndCustomActionsTypeDef(TypedDict):
    StatelessRules: Sequence[StatelessRuleTypeDef],  # (1)
    CustomActions: NotRequired[Sequence[CustomActionTypeDef]],  # (2)
  1. See StatelessRuleTypeDef
  2. See CustomActionTypeDef

CreateFirewallPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CreateFirewallPolicyRequestRequestTypeDef

def get_value() -> CreateFirewallPolicyRequestRequestTypeDef:
    return {
        "FirewallPolicyName": ...,
        "FirewallPolicy": ...,
    }
Definition
class CreateFirewallPolicyRequestRequestTypeDef(TypedDict):
    FirewallPolicyName: str,
    FirewallPolicy: FirewallPolicyTypeDef,  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    DryRun: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
  1. See FirewallPolicyTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef

DescribeFirewallPolicyResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeFirewallPolicyResponseTypeDef

def get_value() -> DescribeFirewallPolicyResponseTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicyResponse": ...,
        "FirewallPolicy": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFirewallPolicyResponseTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicyResponse: FirewallPolicyResponseTypeDef,  # (1)
    FirewallPolicy: FirewallPolicyTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See FirewallPolicyResponseTypeDef
  2. See FirewallPolicyTypeDef
  3. See ResponseMetadataTypeDef

UpdateFirewallPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateFirewallPolicyRequestRequestTypeDef

def get_value() -> UpdateFirewallPolicyRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
        "FirewallPolicy": ...,
    }
Definition
class UpdateFirewallPolicyRequestRequestTypeDef(TypedDict):
    UpdateToken: str,
    FirewallPolicy: FirewallPolicyTypeDef,  # (1)
    FirewallPolicyArn: NotRequired[str],
    FirewallPolicyName: NotRequired[str],
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (2)
  1. See FirewallPolicyTypeDef
  2. See EncryptionConfigurationTypeDef

RulesSourceTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RulesSourceTypeDef

def get_value() -> RulesSourceTypeDef:
    return {
        "RulesString": ...,
    }
Definition
class RulesSourceTypeDef(TypedDict):
    RulesString: NotRequired[str],
    RulesSourceList: NotRequired[RulesSourceListTypeDef],  # (1)
    StatefulRules: NotRequired[Sequence[StatefulRuleTypeDef]],  # (2)
    StatelessRulesAndCustomActions: NotRequired[StatelessRulesAndCustomActionsTypeDef],  # (3)
  1. See RulesSourceListTypeDef
  2. See StatefulRuleTypeDef
  3. See StatelessRulesAndCustomActionsTypeDef

RuleGroupTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import RuleGroupTypeDef

def get_value() -> RuleGroupTypeDef:
    return {
        "RulesSource": ...,
    }
Definition
class RuleGroupTypeDef(TypedDict):
    RulesSource: RulesSourceTypeDef,  # (3)
    RuleVariables: NotRequired[RuleVariablesTypeDef],  # (1)
    ReferenceSets: NotRequired[ReferenceSetsTypeDef],  # (2)
    StatefulRuleOptions: NotRequired[StatefulRuleOptionsTypeDef],  # (4)
  1. See RuleVariablesTypeDef
  2. See ReferenceSetsTypeDef
  3. See RulesSourceTypeDef
  4. See StatefulRuleOptionsTypeDef

CreateRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import CreateRuleGroupRequestRequestTypeDef

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

DescribeRuleGroupResponseTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import DescribeRuleGroupResponseTypeDef

def get_value() -> DescribeRuleGroupResponseTypeDef:
    return {
        "UpdateToken": ...,
        "RuleGroup": ...,
        "RuleGroupResponse": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRuleGroupResponseTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroup: RuleGroupTypeDef,  # (1)
    RuleGroupResponse: RuleGroupResponseTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RuleGroupTypeDef
  2. See RuleGroupResponseTypeDef
  3. See ResponseMetadataTypeDef

UpdateRuleGroupRequestRequestTypeDef

Usage Example
from mypy_boto3_network_firewall.type_defs import UpdateRuleGroupRequestRequestTypeDef

def get_value() -> UpdateRuleGroupRequestRequestTypeDef:
    return {
        "UpdateToken": ...,
    }
Definition
class UpdateRuleGroupRequestRequestTypeDef(TypedDict):
    UpdateToken: str,
    RuleGroupArn: NotRequired[str],
    RuleGroupName: NotRequired[str],
    RuleGroup: NotRequired[RuleGroupTypeDef],  # (1)
    Rules: NotRequired[str],
    Type: NotRequired[RuleGroupTypeType],  # (2)
    Description: NotRequired[str],
    DryRun: NotRequired[bool],
    EncryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef],  # (3)
    SourceMetadata: NotRequired[SourceMetadataTypeDef],  # (4)
  1. See RuleGroupTypeDef
  2. See RuleGroupTypeType
  3. See EncryptionConfigurationTypeDef
  4. See SourceMetadataTypeDef