Skip to content

NetworkFirewallClient

Index > NetworkFirewall > NetworkFirewallClient

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

NetworkFirewallClient

Type annotations and code completion for boto3.client("network-firewall"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_network_firewall.client import NetworkFirewallClient

def get_network-firewall_client() -> NetworkFirewallClient:
    return Session().client("network-firewall")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("network-firewall").exceptions structure.

Usage example
client = boto3.client("network-firewall")

try:
    do_something(client)
except (
    client.ClientError,
    client.InsufficientCapacityException,
    client.InternalServerError,
    client.InvalidOperationException,
    client.InvalidRequestException,
    client.InvalidResourcePolicyException,
    client.InvalidTokenException,
    client.LimitExceededException,
    client.LogDestinationPermissionException,
    client.ResourceNotFoundException,
    client.ResourceOwnerCheckException,
    client.ThrottlingException,
    client.UnsupportedOperationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_network_firewall.client import Exceptions

def handle_error(exc: Exceptions.ClientError) -> None:
    ...

Methods

associate_firewall_policy

Associates a FirewallPolicy to a Firewall.

Type annotations and code completion for boto3.client("network-firewall").associate_firewall_policy method. boto3 documentation

Method definition
def associate_firewall_policy(
    self,
    *,
    FirewallPolicyArn: str,
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
) -> AssociateFirewallPolicyResponseTypeDef:  # (1)
    ...
  1. See AssociateFirewallPolicyResponseTypeDef
Usage example with kwargs
kwargs: AssociateFirewallPolicyRequestRequestTypeDef = {  # (1)
    "FirewallPolicyArn": ...,
}

parent.associate_firewall_policy(**kwargs)
  1. See AssociateFirewallPolicyRequestRequestTypeDef

associate_subnets

Associates the specified subnets in the Amazon VPC to the firewall.

Type annotations and code completion for boto3.client("network-firewall").associate_subnets method. boto3 documentation

Method definition
def associate_subnets(
    self,
    *,
    SubnetMappings: Sequence[SubnetMappingTypeDef],  # (1)
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
) -> AssociateSubnetsResponseTypeDef:  # (2)
    ...
  1. See SubnetMappingTypeDef
  2. See AssociateSubnetsResponseTypeDef
Usage example with kwargs
kwargs: AssociateSubnetsRequestRequestTypeDef = {  # (1)
    "SubnetMappings": ...,
}

parent.associate_subnets(**kwargs)
  1. See AssociateSubnetsRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("network-firewall").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("network-firewall").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_firewall

Creates an Network Firewall Firewall and accompanying FirewallStatus for a VPC.

Type annotations and code completion for boto3.client("network-firewall").create_firewall method. boto3 documentation

Method definition
def create_firewall(
    self,
    *,
    FirewallName: str,
    FirewallPolicyArn: str,
    VpcId: str,
    SubnetMappings: Sequence[SubnetMappingTypeDef],  # (1)
    DeleteProtection: bool = ...,
    SubnetChangeProtection: bool = ...,
    FirewallPolicyChangeProtection: bool = ...,
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    EncryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (3)
) -> CreateFirewallResponseTypeDef:  # (4)
    ...
  1. See SubnetMappingTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef
  4. See CreateFirewallResponseTypeDef
Usage example with kwargs
kwargs: CreateFirewallRequestRequestTypeDef = {  # (1)
    "FirewallName": ...,
    "FirewallPolicyArn": ...,
    "VpcId": ...,
    "SubnetMappings": ...,
}

parent.create_firewall(**kwargs)
  1. See CreateFirewallRequestRequestTypeDef

create_firewall_policy

Creates the firewall policy for the firewall according to the specifications.

Type annotations and code completion for boto3.client("network-firewall").create_firewall_policy method. boto3 documentation

Method definition
def create_firewall_policy(
    self,
    *,
    FirewallPolicyName: str,
    FirewallPolicy: FirewallPolicyTypeDef,  # (1)
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
    DryRun: bool = ...,
    EncryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (3)
) -> CreateFirewallPolicyResponseTypeDef:  # (4)
    ...
  1. See FirewallPolicyTypeDef
  2. See TagTypeDef
  3. See EncryptionConfigurationTypeDef
  4. See CreateFirewallPolicyResponseTypeDef
Usage example with kwargs
kwargs: CreateFirewallPolicyRequestRequestTypeDef = {  # (1)
    "FirewallPolicyName": ...,
    "FirewallPolicy": ...,
}

parent.create_firewall_policy(**kwargs)
  1. See CreateFirewallPolicyRequestRequestTypeDef

create_rule_group

Creates the specified stateless or stateful rule group, which includes the rules for network traffic inspection, a capacity setting, and tags.

Type annotations and code completion for boto3.client("network-firewall").create_rule_group method. boto3 documentation

Method definition
def create_rule_group(
    self,
    *,
    RuleGroupName: str,
    Type: RuleGroupTypeType,  # (1)
    Capacity: int,
    RuleGroup: RuleGroupTypeDef = ...,  # (2)
    Rules: str = ...,
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (3)
    DryRun: bool = ...,
    EncryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (4)
    SourceMetadata: SourceMetadataTypeDef = ...,  # (5)
) -> CreateRuleGroupResponseTypeDef:  # (6)
    ...
  1. See RuleGroupTypeType
  2. See RuleGroupTypeDef
  3. See TagTypeDef
  4. See EncryptionConfigurationTypeDef
  5. See SourceMetadataTypeDef
  6. See CreateRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: CreateRuleGroupRequestRequestTypeDef = {  # (1)
    "RuleGroupName": ...,
    "Type": ...,
    "Capacity": ...,
}

parent.create_rule_group(**kwargs)
  1. See CreateRuleGroupRequestRequestTypeDef

delete_firewall

Deletes the specified Firewall and its FirewallStatus.

Type annotations and code completion for boto3.client("network-firewall").delete_firewall method. boto3 documentation

Method definition
def delete_firewall(
    self,
    *,
    FirewallName: str = ...,
    FirewallArn: str = ...,
) -> DeleteFirewallResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallResponseTypeDef
Usage example with kwargs
kwargs: DeleteFirewallRequestRequestTypeDef = {  # (1)
    "FirewallName": ...,
}

parent.delete_firewall(**kwargs)
  1. See DeleteFirewallRequestRequestTypeDef

delete_firewall_policy

Deletes the specified FirewallPolicy.

Type annotations and code completion for boto3.client("network-firewall").delete_firewall_policy method. boto3 documentation

Method definition
def delete_firewall_policy(
    self,
    *,
    FirewallPolicyName: str = ...,
    FirewallPolicyArn: str = ...,
) -> DeleteFirewallPolicyResponseTypeDef:  # (1)
    ...
  1. See DeleteFirewallPolicyResponseTypeDef
Usage example with kwargs
kwargs: DeleteFirewallPolicyRequestRequestTypeDef = {  # (1)
    "FirewallPolicyName": ...,
}

parent.delete_firewall_policy(**kwargs)
  1. See DeleteFirewallPolicyRequestRequestTypeDef

delete_resource_policy

Deletes a resource policy that you created in a PutResourcePolicy request.

Type annotations and code completion for boto3.client("network-firewall").delete_resource_policy method. boto3 documentation

Method definition
def delete_resource_policy(
    self,
    *,
    ResourceArn: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteResourcePolicyRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.delete_resource_policy(**kwargs)
  1. See DeleteResourcePolicyRequestRequestTypeDef

delete_rule_group

Deletes the specified RuleGroup.

Type annotations and code completion for boto3.client("network-firewall").delete_rule_group method. boto3 documentation

Method definition
def delete_rule_group(
    self,
    *,
    RuleGroupName: str = ...,
    RuleGroupArn: str = ...,
    Type: RuleGroupTypeType = ...,  # (1)
) -> DeleteRuleGroupResponseTypeDef:  # (2)
    ...
  1. See RuleGroupTypeType
  2. See DeleteRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: DeleteRuleGroupRequestRequestTypeDef = {  # (1)
    "RuleGroupName": ...,
}

parent.delete_rule_group(**kwargs)
  1. See DeleteRuleGroupRequestRequestTypeDef

describe_firewall

Returns the data objects for the specified firewall.

Type annotations and code completion for boto3.client("network-firewall").describe_firewall method. boto3 documentation

Method definition
def describe_firewall(
    self,
    *,
    FirewallName: str = ...,
    FirewallArn: str = ...,
) -> DescribeFirewallResponseTypeDef:  # (1)
    ...
  1. See DescribeFirewallResponseTypeDef
Usage example with kwargs
kwargs: DescribeFirewallRequestRequestTypeDef = {  # (1)
    "FirewallName": ...,
}

parent.describe_firewall(**kwargs)
  1. See DescribeFirewallRequestRequestTypeDef

describe_firewall_policy

Returns the data objects for the specified firewall policy.

Type annotations and code completion for boto3.client("network-firewall").describe_firewall_policy method. boto3 documentation

Method definition
def describe_firewall_policy(
    self,
    *,
    FirewallPolicyName: str = ...,
    FirewallPolicyArn: str = ...,
) -> DescribeFirewallPolicyResponseTypeDef:  # (1)
    ...
  1. See DescribeFirewallPolicyResponseTypeDef
Usage example with kwargs
kwargs: DescribeFirewallPolicyRequestRequestTypeDef = {  # (1)
    "FirewallPolicyName": ...,
}

parent.describe_firewall_policy(**kwargs)
  1. See DescribeFirewallPolicyRequestRequestTypeDef

describe_logging_configuration

Returns the logging configuration for the specified firewall.

Type annotations and code completion for boto3.client("network-firewall").describe_logging_configuration method. boto3 documentation

Method definition
def describe_logging_configuration(
    self,
    *,
    FirewallArn: str = ...,
    FirewallName: str = ...,
) -> DescribeLoggingConfigurationResponseTypeDef:  # (1)
    ...
  1. See DescribeLoggingConfigurationResponseTypeDef
Usage example with kwargs
kwargs: DescribeLoggingConfigurationRequestRequestTypeDef = {  # (1)
    "FirewallArn": ...,
}

parent.describe_logging_configuration(**kwargs)
  1. See DescribeLoggingConfigurationRequestRequestTypeDef

describe_resource_policy

Retrieves a resource policy that you created in a PutResourcePolicy request.

Type annotations and code completion for boto3.client("network-firewall").describe_resource_policy method. boto3 documentation

Method definition
def describe_resource_policy(
    self,
    *,
    ResourceArn: str,
) -> DescribeResourcePolicyResponseTypeDef:  # (1)
    ...
  1. See DescribeResourcePolicyResponseTypeDef
Usage example with kwargs
kwargs: DescribeResourcePolicyRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.describe_resource_policy(**kwargs)
  1. See DescribeResourcePolicyRequestRequestTypeDef

describe_rule_group

Returns the data objects for the specified rule group.

Type annotations and code completion for boto3.client("network-firewall").describe_rule_group method. boto3 documentation

Method definition
def describe_rule_group(
    self,
    *,
    RuleGroupName: str = ...,
    RuleGroupArn: str = ...,
    Type: RuleGroupTypeType = ...,  # (1)
) -> DescribeRuleGroupResponseTypeDef:  # (2)
    ...
  1. See RuleGroupTypeType
  2. See DescribeRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: DescribeRuleGroupRequestRequestTypeDef = {  # (1)
    "RuleGroupName": ...,
}

parent.describe_rule_group(**kwargs)
  1. See DescribeRuleGroupRequestRequestTypeDef

describe_rule_group_metadata

High-level information about a rule group, returned by operations like create and describe.

Type annotations and code completion for boto3.client("network-firewall").describe_rule_group_metadata method. boto3 documentation

Method definition
def describe_rule_group_metadata(
    self,
    *,
    RuleGroupName: str = ...,
    RuleGroupArn: str = ...,
    Type: RuleGroupTypeType = ...,  # (1)
) -> DescribeRuleGroupMetadataResponseTypeDef:  # (2)
    ...
  1. See RuleGroupTypeType
  2. See DescribeRuleGroupMetadataResponseTypeDef
Usage example with kwargs
kwargs: DescribeRuleGroupMetadataRequestRequestTypeDef = {  # (1)
    "RuleGroupName": ...,
}

parent.describe_rule_group_metadata(**kwargs)
  1. See DescribeRuleGroupMetadataRequestRequestTypeDef

disassociate_subnets

Removes the specified subnet associations from the firewall.

Type annotations and code completion for boto3.client("network-firewall").disassociate_subnets method. boto3 documentation

Method definition
def disassociate_subnets(
    self,
    *,
    SubnetIds: Sequence[str],
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
) -> DisassociateSubnetsResponseTypeDef:  # (1)
    ...
  1. See DisassociateSubnetsResponseTypeDef
Usage example with kwargs
kwargs: DisassociateSubnetsRequestRequestTypeDef = {  # (1)
    "SubnetIds": ...,
}

parent.disassociate_subnets(**kwargs)
  1. See DisassociateSubnetsRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("network-firewall").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

list_firewall_policies

Retrieves the metadata for the firewall policies that you have defined.

Type annotations and code completion for boto3.client("network-firewall").list_firewall_policies method. boto3 documentation

Method definition
def list_firewall_policies(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListFirewallPoliciesResponseTypeDef:  # (1)
    ...
  1. See ListFirewallPoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallPoliciesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_firewall_policies(**kwargs)
  1. See ListFirewallPoliciesRequestRequestTypeDef

list_firewalls

Retrieves the metadata for the firewalls that you have defined.

Type annotations and code completion for boto3.client("network-firewall").list_firewalls method. boto3 documentation

Method definition
def list_firewalls(
    self,
    *,
    NextToken: str = ...,
    VpcIds: Sequence[str] = ...,
    MaxResults: int = ...,
) -> ListFirewallsResponseTypeDef:  # (1)
    ...
  1. See ListFirewallsResponseTypeDef
Usage example with kwargs
kwargs: ListFirewallsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_firewalls(**kwargs)
  1. See ListFirewallsRequestRequestTypeDef

list_rule_groups

Retrieves the metadata for the rule groups that you have defined.

Type annotations and code completion for boto3.client("network-firewall").list_rule_groups method. boto3 documentation

Method definition
def list_rule_groups(
    self,
    *,
    NextToken: str = ...,
    MaxResults: int = ...,
    Scope: ResourceManagedStatusType = ...,  # (1)
    ManagedType: ResourceManagedTypeType = ...,  # (2)
    Type: RuleGroupTypeType = ...,  # (3)
) -> ListRuleGroupsResponseTypeDef:  # (4)
    ...
  1. See ResourceManagedStatusType
  2. See ResourceManagedTypeType
  3. See RuleGroupTypeType
  4. See ListRuleGroupsResponseTypeDef
Usage example with kwargs
kwargs: ListRuleGroupsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_rule_groups(**kwargs)
  1. See ListRuleGroupsRequestRequestTypeDef

list_tags_for_resource

Retrieves the tags associated with the specified resource.

Type annotations and code completion for boto3.client("network-firewall").list_tags_for_resource method. boto3 documentation

Method definition
def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

put_resource_policy

Creates or updates an IAM policy for your rule group or firewall policy.

Type annotations and code completion for boto3.client("network-firewall").put_resource_policy method. boto3 documentation

Method definition
def put_resource_policy(
    self,
    *,
    ResourceArn: str,
    Policy: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: PutResourcePolicyRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Policy": ...,
}

parent.put_resource_policy(**kwargs)
  1. See PutResourcePolicyRequestRequestTypeDef

tag_resource

Adds the specified tags to the specified resource.

Type annotations and code completion for boto3.client("network-firewall").tag_resource method. boto3 documentation

Method definition
def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource

Removes the tags with the specified keys from the specified resource.

Type annotations and code completion for boto3.client("network-firewall").untag_resource method. boto3 documentation

Method definition
def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_firewall_delete_protection

Modifies the flag, DeleteProtection , which indicates whether it is possible to delete the firewall.

Type annotations and code completion for boto3.client("network-firewall").update_firewall_delete_protection method. boto3 documentation

Method definition
def update_firewall_delete_protection(
    self,
    *,
    DeleteProtection: bool,
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
) -> UpdateFirewallDeleteProtectionResponseTypeDef:  # (1)
    ...
  1. See UpdateFirewallDeleteProtectionResponseTypeDef
Usage example with kwargs
kwargs: UpdateFirewallDeleteProtectionRequestRequestTypeDef = {  # (1)
    "DeleteProtection": ...,
}

parent.update_firewall_delete_protection(**kwargs)
  1. See UpdateFirewallDeleteProtectionRequestRequestTypeDef

update_firewall_description

Modifies the description for the specified firewall.

Type annotations and code completion for boto3.client("network-firewall").update_firewall_description method. boto3 documentation

Method definition
def update_firewall_description(
    self,
    *,
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
    Description: str = ...,
) -> UpdateFirewallDescriptionResponseTypeDef:  # (1)
    ...
  1. See UpdateFirewallDescriptionResponseTypeDef
Usage example with kwargs
kwargs: UpdateFirewallDescriptionRequestRequestTypeDef = {  # (1)
    "UpdateToken": ...,
}

parent.update_firewall_description(**kwargs)
  1. See UpdateFirewallDescriptionRequestRequestTypeDef

update_firewall_encryption_configuration

A complex type that contains settings for encryption of your firewall resources.

Type annotations and code completion for boto3.client("network-firewall").update_firewall_encryption_configuration method. boto3 documentation

Method definition
def update_firewall_encryption_configuration(
    self,
    *,
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
    EncryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (1)
) -> UpdateFirewallEncryptionConfigurationResponseTypeDef:  # (2)
    ...
  1. See EncryptionConfigurationTypeDef
  2. See UpdateFirewallEncryptionConfigurationResponseTypeDef
Usage example with kwargs
kwargs: UpdateFirewallEncryptionConfigurationRequestRequestTypeDef = {  # (1)
    "UpdateToken": ...,
}

parent.update_firewall_encryption_configuration(**kwargs)
  1. See UpdateFirewallEncryptionConfigurationRequestRequestTypeDef

update_firewall_policy

Updates the properties of the specified firewall policy.

Type annotations and code completion for boto3.client("network-firewall").update_firewall_policy method. boto3 documentation

Method definition
def update_firewall_policy(
    self,
    *,
    UpdateToken: str,
    FirewallPolicy: FirewallPolicyTypeDef,  # (1)
    FirewallPolicyArn: str = ...,
    FirewallPolicyName: str = ...,
    Description: str = ...,
    DryRun: bool = ...,
    EncryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (2)
) -> UpdateFirewallPolicyResponseTypeDef:  # (3)
    ...
  1. See FirewallPolicyTypeDef
  2. See EncryptionConfigurationTypeDef
  3. See UpdateFirewallPolicyResponseTypeDef
Usage example with kwargs
kwargs: UpdateFirewallPolicyRequestRequestTypeDef = {  # (1)
    "UpdateToken": ...,
    "FirewallPolicy": ...,
}

parent.update_firewall_policy(**kwargs)
  1. See UpdateFirewallPolicyRequestRequestTypeDef

update_firewall_policy_change_protection

Modifies the flag, ChangeProtection , which indicates whether it is possible to change the firewall.

Type annotations and code completion for boto3.client("network-firewall").update_firewall_policy_change_protection method. boto3 documentation

Method definition
def update_firewall_policy_change_protection(
    self,
    *,
    FirewallPolicyChangeProtection: bool,
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
) -> UpdateFirewallPolicyChangeProtectionResponseTypeDef:  # (1)
    ...
  1. See UpdateFirewallPolicyChangeProtectionResponseTypeDef
Usage example with kwargs
kwargs: UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef = {  # (1)
    "FirewallPolicyChangeProtection": ...,
}

parent.update_firewall_policy_change_protection(**kwargs)
  1. See UpdateFirewallPolicyChangeProtectionRequestRequestTypeDef

update_logging_configuration

Sets the logging configuration for the specified firewall.

Type annotations and code completion for boto3.client("network-firewall").update_logging_configuration method. boto3 documentation

Method definition
def update_logging_configuration(
    self,
    *,
    FirewallArn: str = ...,
    FirewallName: str = ...,
    LoggingConfiguration: LoggingConfigurationTypeDef = ...,  # (1)
) -> UpdateLoggingConfigurationResponseTypeDef:  # (2)
    ...
  1. See LoggingConfigurationTypeDef
  2. See UpdateLoggingConfigurationResponseTypeDef
Usage example with kwargs
kwargs: UpdateLoggingConfigurationRequestRequestTypeDef = {  # (1)
    "FirewallArn": ...,
}

parent.update_logging_configuration(**kwargs)
  1. See UpdateLoggingConfigurationRequestRequestTypeDef

update_rule_group

Updates the rule settings for the specified rule group.

Type annotations and code completion for boto3.client("network-firewall").update_rule_group method. boto3 documentation

Method definition
def update_rule_group(
    self,
    *,
    UpdateToken: str,
    RuleGroupArn: str = ...,
    RuleGroupName: str = ...,
    RuleGroup: RuleGroupTypeDef = ...,  # (1)
    Rules: str = ...,
    Type: RuleGroupTypeType = ...,  # (2)
    Description: str = ...,
    DryRun: bool = ...,
    EncryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (3)
    SourceMetadata: SourceMetadataTypeDef = ...,  # (4)
) -> UpdateRuleGroupResponseTypeDef:  # (5)
    ...
  1. See RuleGroupTypeDef
  2. See RuleGroupTypeType
  3. See EncryptionConfigurationTypeDef
  4. See SourceMetadataTypeDef
  5. See UpdateRuleGroupResponseTypeDef
Usage example with kwargs
kwargs: UpdateRuleGroupRequestRequestTypeDef = {  # (1)
    "UpdateToken": ...,
}

parent.update_rule_group(**kwargs)
  1. See UpdateRuleGroupRequestRequestTypeDef

update_subnet_change_protection

See also: AWS API Documentation.

Type annotations and code completion for boto3.client("network-firewall").update_subnet_change_protection method. boto3 documentation

Method definition
def update_subnet_change_protection(
    self,
    *,
    SubnetChangeProtection: bool,
    UpdateToken: str = ...,
    FirewallArn: str = ...,
    FirewallName: str = ...,
) -> UpdateSubnetChangeProtectionResponseTypeDef:  # (1)
    ...
  1. See UpdateSubnetChangeProtectionResponseTypeDef
Usage example with kwargs
kwargs: UpdateSubnetChangeProtectionRequestRequestTypeDef = {  # (1)
    "SubnetChangeProtection": ...,
}

parent.update_subnet_change_protection(**kwargs)
  1. See UpdateSubnetChangeProtectionRequestRequestTypeDef

get_paginator

Type annotations and code completion for boto3.client("network-firewall").get_paginator method with overloads.