Module Smaws_Client_NetworkFirewall.Types

type nonrec vpc_id = string
type nonrec vpc_ids = vpc_id list
type nonrec vpc_endpoint_service_name = string
type nonrec vpc_endpoint_id = string
type nonrec resource_arn = string
type nonrec vpc_endpoint_association_metadata = {
  1. vpc_endpoint_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
}

High-level information about a VPC endpoint association, returned by ListVpcEndpointAssociations. You can use the information provided in the metadata to retrieve and manage a VPC endpoint association.

type nonrec vpc_endpoint_associations = vpc_endpoint_association_metadata list
type nonrec firewall_status_value =
  1. | READY
  2. | DELETING
  3. | PROVISIONING
type nonrec az_subnet = string
type nonrec endpoint_id = string
type nonrec attachment_status =
  1. | READY
  2. | SCALING
  3. | ERROR
  4. | FAILED
  5. | DELETING
  6. | CREATING
type nonrec status_message = string
type nonrec attachment = {
  1. status_message : status_message option;
    (*

    If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the error or failure and how to resolve it. A FAILED status indicates a non-recoverable state, and a ERROR status indicates an issue that you can fix. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the causes for failiure or errors and solutions available for this field, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

    *)
  2. status : attachment_status option;
    (*

    The current status of the firewall endpoint instantiation in the subnet.

    When this value is READY, the endpoint is available to handle network traffic. Otherwise, this value reflects its state, for example CREATING or DELETING.

    *)
  3. endpoint_id : endpoint_id option;
    (*

    The identifier of the firewall endpoint that Network Firewall has instantiated in the subnet. You use this to identify the firewall endpoint in the VPC route tables, when you redirect the VPC traffic through the endpoint.

    *)
  4. subnet_id : az_subnet option;
    (*

    The unique identifier of the subnet that you've specified to be used for a firewall endpoint.

    *)
}

The definition and status of the firewall endpoint for a single subnet. In each configured subnet, Network Firewall instantiates a firewall endpoint to handle network traffic.

This data type is used for any firewall endpoint type:

  • For Firewall.SubnetMappings, this Attachment is part of the FirewallStatus sync states information. You define firewall subnets using CreateFirewall and AssociateSubnets.
  • For VpcEndpointAssociation, this Attachment is part of the VpcEndpointAssociationStatus sync states information. You define these subnets using CreateVpcEndpointAssociation.
type nonrec az_sync_state = {
  1. attachment : attachment option;
}

The status of the firewall endpoint defined by a VpcEndpointAssociation.

type nonrec availability_zone = string
type nonrec association_sync_state = (availability_zone * az_sync_state) list
type nonrec vpc_endpoint_association_status = {
  1. association_sync_state : association_sync_state option;
    (*

    The list of the Availability Zone sync states for all subnets that are defined by the firewall.

    *)
  2. status : firewall_status_value;
    (*

    The readiness of the configured firewall endpoint to handle network traffic.

    *)
}

Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN.

type nonrec resource_id = string
type nonrec collection_member__string = string
type nonrec ip_address_type =
  1. | IPV6
  2. | IPV4
  3. | DUALSTACK
type nonrec subnet_mapping = {
  1. ip_address_type : ip_address_type option;
    (*

    The subnet's IP address type. You can't change the IP address type after you create the subnet.

    *)
  2. subnet_id : collection_member__string;
    (*

    The unique identifier for the subnet.

    *)
}

The ID for a subnet that's used in an association with a firewall. This is used in CreateFirewall, AssociateSubnets, and CreateVpcEndpointAssociation. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.

type nonrec description = string
type nonrec tag_key = string
type nonrec tag_value = string
type nonrec tag = {
  1. value : tag_value;
    (*

    The part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.

    *)
  2. key : tag_key;
    (*

    The part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.

    *)
}

A key:value pair associated with an Amazon Web Services resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each Amazon Web Services resource.

type nonrec tag_list = tag list
type nonrec vpc_endpoint_association = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. description : description option;
    (*

    A description of the VPC endpoint association.

    *)
  3. subnet_mapping : subnet_mapping;
  4. vpc_id : vpc_id;
    (*

    The unique identifier of the VPC for the endpoint association.

    *)
  5. firewall_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
  6. vpc_endpoint_association_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
  7. vpc_endpoint_association_id : resource_id option;
    (*

    The unique identifier of the VPC endpoint association.

    *)
}

A VPC endpoint association defines a single subnet to use for a firewall endpoint for a Firewall. You can define VPC endpoint associations only in the Availability Zones that already have a subnet mapping defined in the Firewall resource.

You can retrieve the list of Availability Zones that are available for use by calling DescribeFirewallMetadata.

To manage firewall endpoints, first, in the Firewall specification, you specify a single VPC and one subnet for each of the Availability Zones where you want to use the firewall. Then you can define additional endpoints as VPC endpoint associations.

You can use VPC endpoint associations to expand the protections of the firewall as follows:

  • Protect multiple VPCs with a single firewall - You can use the firewall to protect other VPCs, either in your account or in accounts where the firewall is shared. You can only specify Availability Zones that already have a firewall endpoint defined in the Firewall subnet mappings.
  • Define multiple firewall endpoints for a VPC in an Availability Zone - You can create additional firewall endpoints for the VPC that you have defined in the firewall, in any Availability Zone that already has an endpoint defined in the Firewall subnet mappings. You can create multiple VPC endpoint associations for any other VPC where you use the firewall.

You can use Resource Access Manager to share a Firewall that you own with other accounts, which gives them the ability to use the firewall to create VPC endpoint associations. For information about sharing a firewall, see PutResourcePolicy in this guide and see Sharing Network Firewall resources in the Network Firewall Developer Guide.

The status of the VPC endpoint association, which indicates whether it's ready to filter network traffic, is provided in the corresponding VpcEndpointAssociationStatus. You can retrieve both the association and its status by calling DescribeVpcEndpointAssociation.

type nonrec vendor_name = string
type nonrec variable_definition = string
type nonrec variable_definition_list = variable_definition list
type nonrec update_token = string
type nonrec update_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec resource_name = string
type nonrec resource_status =
  1. | ERROR
  2. | DELETING
  3. | ACTIVE
type nonrec last_update_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec number_of_associations = int
type nonrec key_id = string
type nonrec encryption_type =
  1. | AWS_OWNED_KMS_KEY
  2. | CUSTOMER_KMS
type nonrec encryption_configuration = {
  1. type_ : encryption_type;
    (*

    The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.

    *)
  2. key_id : key_id option;
    (*

    The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide.

    *)
}

A complex type that contains optional Amazon Web Services Key Management Service (KMS) encryption settings for your Network Firewall resources. Your data is encrypted by default with an Amazon Web Services owned key that Amazon Web Services owns and manages for you. You can use either the Amazon Web Services owned key, or provide your own customer managed key. To learn more about KMS encryption of your Network Firewall resources, see Encryption at rest with Amazon Web Services Key Managment Service in the Network Firewall Developer Guide.

type nonrec status_reason = string
type nonrec tls_certificate_data = {
  1. status_message : status_reason option;
    (*

    Contains details about the certificate status, including information about certificate errors.

    *)
  2. status : collection_member__string option;
    (*

    The status of the certificate.

    *)
  3. certificate_serial : collection_member__string option;
    (*

    The serial number of the certificate.

    *)
  4. certificate_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the certificate.

    *)
}

Contains metadata about an Certificate Manager certificate.

type nonrec certificates = tls_certificate_data list
type nonrec tls_inspection_configuration_response = {
  1. certificate_authority : tls_certificate_data option;
  2. certificates : certificates option;
    (*

    A list of the certificates associated with the TLS inspection configuration.

    *)
  3. encryption_configuration : encryption_configuration option;
    (*

    A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration.

    *)
  4. number_of_associations : number_of_associations option;
    (*

    The number of firewall policies that use this TLS inspection configuration.

    *)
  5. last_modified_time : last_update_time option;
    (*

    The last time that the TLS inspection configuration was changed.

    *)
  6. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  7. description : description option;
    (*

    A description of the TLS inspection configuration.

    *)
  8. tls_inspection_configuration_status : resource_status option;
    (*

    Detailed information about the current status of a TLSInspectionConfiguration. You can retrieve this for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration and providing the TLS inspection configuration name and ARN.

    *)
  9. tls_inspection_configuration_id : resource_id;
    (*

    A unique identifier for the TLS inspection configuration. This ID is returned in the responses to create and list commands. You provide it to operations such as update and delete.

    *)
  10. tls_inspection_configuration_name : resource_name;
    (*

    The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.

    *)
  11. tls_inspection_configuration_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the TLS inspection configuration.

    *)
}

The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

type nonrec update_tls_inspection_configuration_response = {
  1. tls_inspection_configuration_response : tls_inspection_configuration_response;
    (*

    The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

    *)
  2. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.

    To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec server_certificate = {
  1. resource_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server certificate that's used for inbound SSL/TLS inspection.

    *)
}

Any Certificate Manager (ACM) Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration. Used in a TLSInspectionConfiguration for inspection of inbound traffic to your firewall. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager, see Request a public certificate or Importing certificates in the Certificate Manager User Guide.

type nonrec server_certificates = server_certificate list
type nonrec address_definition = string
type nonrec address = {
  1. address_definition : address_definition;
    (*

    Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6.

    Examples:

    • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.
    • To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
    • To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

    *)
}

A single IP address specification. This is used in the MatchAttributes source and destination specifications.

type nonrec addresses = address list
type nonrec port_range_bound = int
type nonrec port_range = {
  1. to_port : port_range_bound;
    (*

    The upper limit of the port range. This must be greater than or equal to the FromPort specification.

    *)
  2. from_port : port_range_bound;
    (*

    The lower limit of the port range. This must be less than or equal to the ToPort specification.

    *)
}

A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, SourcePorts, and DestinationPorts settings.

type nonrec port_ranges = port_range list
type nonrec protocol_number = int
type nonrec protocol_numbers = protocol_number list
type nonrec server_certificate_scope = {
  1. protocols : protocol_numbers option;
    (*

    The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.

    Network Firewall currently supports only TCP.

    *)
  2. destination_ports : port_ranges option;
    (*

    The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port.

    You can specify individual ports, for example 1994, and you can specify port ranges, such as 1990:1994.

    *)
  3. source_ports : port_ranges option;
    (*

    The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port.

    You can specify individual ports, for example 1994, and you can specify port ranges, such as 1990:1994.

    *)
  4. destinations : addresses option;
    (*

    The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.

    *)
  5. sources : addresses option;
    (*

    The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.

    *)
}

Settings that define the Secure Sockets Layer/Transport Layer Security (SSL/TLS) traffic that Network Firewall should decrypt for inspection by the stateful rule engine.

type nonrec server_certificate_scopes = server_certificate_scope list
type nonrec revocation_check_action =
  1. | REJECT
  2. | DROP
  3. | PASS
type nonrec check_certificate_revocation_status_actions = {
  1. unknown_status_action : revocation_check_action option;
    (*

    Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has an unknown status, or a status that cannot be determined for any other reason, including when the service is unable to connect to the OCSP and CRL endpoints for the certificate.

    • PASS - Allow the connection to continue, and pass subsequent packets to the stateful engine for inspection.
    • DROP - Network Firewall closes the connection and drops subsequent packets for that connection.
    • REJECT - Network Firewall sends a TCP reject packet back to your client. The service closes the connection and drops subsequent packets for that connection. REJECT is available only for TCP traffic.
    *)
  2. revoked_status_action : revocation_check_action option;
    (*

    Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has a revoked status.

    • PASS - Allow the connection to continue, and pass subsequent packets to the stateful engine for inspection.
    • DROP - Network Firewall closes the connection and drops subsequent packets for that connection.
    • REJECT - Network Firewall sends a TCP reject packet back to your client. The service closes the connection and drops subsequent packets for that connection. REJECT is available only for TCP traffic.
    *)
}

Defines the actions to take on the SSL/TLS connection if the certificate presented by the server in the connection has a revoked or unknown status.

type nonrec server_certificate_configuration = {
  1. check_certificate_revocation_status : check_certificate_revocation_status_actions option;
    (*

    When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a CertificateAuthorityArn in ServerCertificateConfiguration.

    *)
  2. certificate_authority_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection.

    The following limitations apply:

    • You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.
    • You can't use certificates issued by Private Certificate Authority.

    For more information about configuring certificates for outbound inspection, see Using SSL/TLS certificates with TLS inspection configurations in the Network Firewall Developer Guide.

    For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide.

    *)
  3. scopes : server_certificate_scopes option;
    (*

    A list of scopes.

    *)
  4. server_certificates : server_certificates option;
    (*

    The list of server certificates to use for inbound SSL/TLS inspection.

    *)
}

Configures the Certificate Manager certificates and scope that Network Firewall uses to decrypt and re-encrypt traffic using a TLSInspectionConfiguration. You can configure ServerCertificates for inbound SSL/TLS inspection, a CertificateAuthorityArn for outbound SSL/TLS inspection, or both. For information about working with certificates for TLS inspection, see Using SSL/TLS server certficiates with TLS inspection configurations in the Network Firewall Developer Guide.

If a server certificate that's associated with your TLSInspectionConfiguration is revoked, deleted, or expired it can result in client-side TLS errors.

type nonrec server_certificate_configurations = server_certificate_configuration list
type nonrec tls_inspection_configuration = {
  1. server_certificate_configurations : server_certificate_configurations option;
    (*

    Lists the server certificate configurations that are associated with the TLS configuration.

    *)
}

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

type nonrec update_tls_inspection_configuration_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.

    To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. encryption_configuration : encryption_configuration option;
    (*

    A complex type that contains the Amazon Web Services KMS encryption configuration settings for your TLS inspection configuration.

    *)
  3. description : description option;
    (*

    A description of the TLS inspection configuration.

    *)
  4. tls_inspection_configuration : tls_inspection_configuration;
    (*

    The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

    Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

    To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

    *)
  5. tls_inspection_configuration_name : resource_name option;
    (*

    The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.

    *)
  6. tls_inspection_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the TLS inspection configuration.

    *)
}
type nonrec error_message = string
type nonrec throttling_exception = {
  1. message : error_message option;
}

Unable to process the request due to throttling limitations.

type nonrec resource_not_found_exception = {
  1. message : error_message option;
}

Unable to locate a resource using the parameters that you provided.

type nonrec invalid_token_exception = {
  1. message : error_message option;
}

The token you provided is stale or isn't valid for the operation.

type nonrec invalid_request_exception = {
  1. message : error_message option;
}

The operation failed because of a problem with your request. Examples include:

  • You specified an unsupported parameter name or value.
  • You tried to update a property with a value that isn't among the available types.
  • Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request.
type nonrec internal_server_error = {
  1. message : error_message option;
}

Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request.

type nonrec boolean_ = bool
type nonrec update_subnet_change_protection_response = {
  1. subnet_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec update_subnet_change_protection_request = {
  1. subnet_change_protection : boolean_;
    (*

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec resource_owner_check_exception = {
  1. message : error_message option;
}

Unable to change the resource because your account doesn't own it.

type nonrec rule_group_type =
  1. | STATEFUL_DOMAIN
  2. | STATEFUL
  3. | STATELESS
type nonrec rule_capacity = int
type nonrec source_metadata = {
  1. source_update_token : update_token option;
    (*

    The update token of the Amazon Web Services managed rule group that your own rule group is copied from. To determine the update token for the managed rule group, call DescribeRuleGroup.

    *)
  2. source_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the rule group that your own rule group is copied from.

    *)
}

High-level information about the managed rule group that your own rule group is copied from. You can use the the metadata to track version updates made to the originating rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

type nonrec rule_id_list = collection_member__string list
type nonrec identified_type =
  1. | STATELESS_RULE_CONTAINS_TCP_FLAGS
  2. | STATELESS_RULE_FORWARDING_ASYMMETRICALLY
type nonrec analysis_result = {
  1. analysis_detail : collection_member__string option;
    (*

    Provides analysis details for the identified rule.

    *)
  2. identified_type : identified_type option;
    (*

    The types of rule configurations that Network Firewall analyzes your rule groups for. Network Firewall analyzes stateless rule groups for the following types of rule configurations:

    • STATELESS_RULE_FORWARDING_ASYMMETRICALLY

      Cause: One or more stateless rules with the action pass or forward are forwarding traffic asymmetrically. Specifically, the rule's set of source IP addresses or their associated port numbers, don't match the set of destination IP addresses or their associated port numbers.

      To mitigate: Make sure that there's an existing return path. For example, if the rule allows traffic from source 10.1.0.0/24 to destination 20.1.0.0/24, you should allow return traffic from source 20.1.0.0/24 to destination 10.1.0.0/24.

    • STATELESS_RULE_CONTAINS_TCP_FLAGS

      Cause: At least one stateless rule with the action pass orforward contains TCP flags that are inconsistent in the forward and return directions.

      To mitigate: Prevent asymmetric routing issues caused by TCP flags by following these actions:

      • Remove unnecessary TCP flag inspections from the rules.
      • If you need to inspect TCP flags, check that the rules correctly account for changes in TCP flags throughout the TCP connection cycle, for example SYN and ACK flags used in a 3-way TCP handshake.
    *)
  3. identified_rule_ids : rule_id_list option;
    (*

    The priority number of the stateless rules identified in the analysis.

    *)
}

The analysis result for Network Firewall's stateless rule group analyzer. Every time you call CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup on a stateless rule group, Network Firewall analyzes the stateless rule groups in your account and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in a list of analysis results.

The AnalysisResult data type is not related to traffic analysis reports you generate using StartAnalysisReport. For information on traffic analysis report results, see AnalysisTypeReportResult.

type nonrec analysis_result_list = analysis_result list
type nonrec summary_rule_option =
  1. | METADATA
  2. | MSG
  3. | SID
type nonrec summary_rule_options = summary_rule_option list
type nonrec summary_configuration = {
  1. rule_options : summary_rule_options option;
    (*

    Specifies the selected rule options returned by DescribeRuleGroupSummary.

    *)
}

A complex type that specifies which Suricata rule metadata fields to use when displaying threat information. Contains:

  • RuleOptions - The Suricata rule options fields to extract and display

These settings affect how threat information appears in both the console and API responses. Summaries are available for rule groups you manage and for active threat defense Amazon Web Services managed rule groups.

type nonrec rule_group_response = {
  1. summary_configuration : summary_configuration option;
    (*

    A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned by DescribeRuleGroupSummary.

    • The RuleOptions specified in SummaryConfiguration
    • Rule metadata organization preferences
    *)
  2. analysis_results : analysis_result_list option;
    (*

    The list of analysis results for AnalyzeRuleGroup. If you set AnalyzeRuleGroup to TRUE in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results.

    *)
  3. last_modified_time : last_update_time option;
    (*

    The last time that the rule group was changed.

    *)
  4. sns_topic : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..

    *)
  5. source_metadata : source_metadata option;
    (*

    A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.

    *)
  6. encryption_configuration : encryption_configuration option;
    (*

    A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.

    *)
  7. number_of_associations : number_of_associations option;
    (*

    The number of firewall policies that use this rule group.

    *)
  8. consumed_capacity : rule_capacity option;
    (*

    The number of capacity units currently consumed by the rule group rules.

    *)
  9. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  10. rule_group_status : resource_status option;
    (*

    Detailed information about the current status of a rule group.

    *)
  11. capacity : rule_capacity option;
    (*

    The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

    You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

    *)
  12. type_ : rule_group_type option;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    *)
  13. description : description option;
    (*

    A description of the rule group.

    *)
  14. rule_group_id : resource_id;
    (*

    The unique identifier for the rule group.

    *)
  15. rule_group_name : resource_name;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    *)
  16. rule_group_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the rule group.

    If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

    *)
}

The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

type nonrec update_rule_group_response = {
  1. rule_group_response : rule_group_response;
    (*

    The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

    *)
  2. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request.

    To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec ip_set = {
  1. definition : variable_definition_list;
    (*

    The list of IP addresses and address ranges, in CIDR notation.

    *)
}

A list of IP addresses and address ranges, in CIDR notation. This is part of a RuleVariables.

type nonrec rule_variable_name = string
type nonrec ip_sets = (rule_variable_name * ip_set) list
type nonrec port_set = {
  1. definition : variable_definition_list option;
    (*

    The set of port ranges.

    *)
}

A set of port ranges for use in the rules in a rule group.

type nonrec port_sets = (rule_variable_name * port_set) list
type nonrec rule_variables = {
  1. port_sets : port_sets option;
    (*

    A list of port ranges.

    *)
  2. ip_sets : ip_sets option;
    (*

    A list of IP addresses and address ranges, in CIDR notation.

    *)
}

Settings that are available for use in the rules in the RuleGroup where this is defined. See CreateRuleGroup or UpdateRuleGroup for usage.

type nonrec ip_set_reference = {
  1. reference_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the resource that you are referencing in your rule group.

    *)
}

Configures one or more IP set references for a Suricata-compatible rule group. This is used in CreateRuleGroup or UpdateRuleGroup. An IP set reference is a rule variable that references resources that you create and manage in another Amazon Web Services service, such as an Amazon VPC prefix list. Network Firewall IP set references enable you to dynamically update the contents of your rules. When you create, update, or delete the resource you are referencing in your rule, Network Firewall automatically updates the rule's content with the changes. For more information about IP set references in Network Firewall, see Using IP set references in the Network Firewall Developer Guide.

Network Firewall currently supports Amazon VPC prefix lists and resource groups in IP set references.

type nonrec ip_set_reference_name = string
type nonrec ip_set_reference_map = (ip_set_reference_name * ip_set_reference) list
type nonrec reference_sets = {
  1. ip_set_references : ip_set_reference_map option;
    (*

    The list of IP set references.

    *)
}

Contains a set of IP set references.

type nonrec rules_string = string
type nonrec rule_targets = collection_member__string list
type nonrec target_type =
  1. | HTTP_HOST
  2. | TLS_SNI
type nonrec target_types = target_type list
type nonrec generated_rules_type =
  1. | ALERTLIST
  2. | REJECTLIST
  3. | DENYLIST
  4. | ALLOWLIST
type nonrec rules_source_list = {
  1. generated_rules_type : generated_rules_type;
    (*

    Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list.

    When logging is enabled and you choose Alert, traffic that matches the domain specifications generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.

    *)
  2. target_types : target_types;
    (*

    The protocols you want to inspect. Specify TLS_SNI for HTTPS. Specify HTTP_HOST for HTTP. You can specify either or both.

    *)
  3. targets : rule_targets;
    (*

    The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:

    • Explicit names. For example, abc.example.com matches only the domain abc.example.com.
    • Names that use a domain wildcard, which you indicate with an initial '.'. For example,.example.com matches example.com and matches all subdomains of example.com, such as abc.example.com and www.example.com.
    *)
}

Stateful inspection criteria for a domain list rule group.

For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.

By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleVariables in this guide and Stateful domain list rule groups in Network Firewall in the Network Firewall Developer Guide.

type nonrec stateful_action =
  1. | REJECT
  2. | ALERT
  3. | DROP
  4. | PASS
type nonrec stateful_rule_protocol =
  1. | QUIC
  2. | HTTP2
  3. | DHCP
  4. | NTP
  5. | TFTP
  6. | IKEV2
  7. | KRB5
  8. | MSN
  9. | IMAP
  10. | SMTP
  11. | SSH
  12. | DCERPC
  13. | DNS
  14. | SMB
  15. | TLS
  16. | FTP
  17. | HTTP
  18. | ICMP
  19. | UDP
  20. | TCP
  21. | ANY
type nonrec source = string
type nonrec port = string
type nonrec stateful_rule_direction =
  1. | ANY
  2. | FORWARD
type nonrec destination = string
type nonrec header = {
  1. destination_port : port;
    (*

    The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    *)
  2. destination : destination;
    (*

    The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

    Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6.

    Examples:

    • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.
    • To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
    • To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

    *)
  3. direction : stateful_rule_direction;
    (*

    The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

    *)
  4. source_port : port;
    (*

    The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    *)
  5. source : source;
    (*

    The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

    Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4 and IPv6.

    Examples:

    • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.
    • To configure Network Firewall to inspect for the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
    • To configure Network Firewall to inspect for IP addresses from 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

    *)
  6. protocol : stateful_rule_protocol;
    (*

    The protocol to inspect for. To specify all, you can use IP, because all traffic on Amazon Web Services and on the internet is IP.

    *)
}

The basic rule criteria for Network Firewall to use to inspect packet headers in stateful traffic flow inspection. Traffic flows that match the criteria are a match for the corresponding StatefulRule.

type nonrec keyword = string
type nonrec setting = string
type nonrec settings = setting list
type nonrec rule_option = {
  1. settings : settings option;
    (*

    The settings of the Suricata compatible rule option. Rule options have zero or more setting values, and the number of possible and required settings depends on the Keyword. For more information about the settings for specific options, see Rule options.

    *)
  2. keyword : keyword;
    (*

    The keyword for the Suricata compatible rule option. You must include a sid (signature ID), and can optionally include other keywords. For information about Suricata compatible keywords, see Rule options in the Suricata documentation.

    *)
}

Additional settings for a stateful rule. This is part of the StatefulRule configuration.

type nonrec rule_options = rule_option list
type nonrec stateful_rule = {
  1. rule_options : rule_options;
    (*

    Additional options for the rule. These are the Suricata RuleOptions settings.

    *)
  2. header : header;
    (*

    The stateful inspection criteria for this rule, used to inspect traffic flows.

    *)
  3. action : stateful_action;
    (*

    Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow.

    The actions for a stateful rule are defined as follows:

    • PASS - Permits the packets to go to the intended destination.
    • DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.
    • ALERT - Sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration.

      You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.

    • REJECT - Drops traffic that matches the conditions of the stateful rule, and sends a TCP reset packet back to sender of the packet. A TCP reset packet is a packet with no payload and an RST bit contained in the TCP header flags. REJECT is available only for TCP traffic. This option doesn't support FTP or IMAP protocols.
    *)
}

A single Suricata rules specification, for use in a stateful rule group. Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

type nonrec stateful_rules = stateful_rule list
type nonrec tcp_flag =
  1. | CWR
  2. | ECE
  3. | URG
  4. | ACK
  5. | PSH
  6. | RST
  7. | SYN
  8. | FIN
type nonrec flags = tcp_flag list
type nonrec tcp_flag_field = {
  1. masks : flags option;
    (*

    The set of flags to consider in the inspection. To inspect all flags in the valid values list, leave this with no setting.

    *)
  2. flags : flags;
    (*

    Used in conjunction with the Masks setting to define the flags that must be set and flags that must not be set in order for the packet to match. This setting can only specify values that are also specified in the Masks setting.

    For the flags that are specified in the masks setting, the following must be true for the packet to match:

    • The ones that are set in this flags setting must be set in the packet.
    • The ones that are not set in this flags setting must also not be set in the packet.
    *)
}

TCP flags and masks to inspect packets for, used in stateless rules MatchAttributes settings.

type nonrec tcp_flags = tcp_flag_field list
type nonrec match_attributes = {
  1. tcp_flags : tcp_flags option;
    (*

    The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

    *)
  2. protocols : protocol_numbers option;
    (*

    The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.

    *)
  3. destination_ports : port_ranges option;
    (*

    The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    This setting is only used for protocols 6 (TCP) and 17 (UDP).

    *)
  4. source_ports : port_ranges option;
    (*

    The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    If not specified, this matches with any source port.

    This setting is only used for protocols 6 (TCP) and 17 (UDP).

    *)
  5. destinations : addresses option;
    (*

    The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

    *)
  6. sources : addresses option;
    (*

    The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

    *)
}

Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.

type nonrec stateless_actions = collection_member__string list
type nonrec rule_definition = {
  1. actions : stateless_actions;
    (*

    The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action and you can add custom actions.

    Network Firewall only forwards a packet for stateful rule inspection if you specify aws:forward_to_sfe for a rule that the packet matches, or if the packet doesn't match any stateless rule and you specify aws:forward_to_sfe for the StatelessDefaultActions setting for the FirewallPolicy.

    For every rule, you must specify exactly one of the following standard actions.

    • aws:pass - Discontinues all inspection of the packet and permits it to go to its intended destination.
    • aws:drop - Discontinues all inspection of the packet and blocks it from going to its intended destination.
    • aws:forward_to_sfe - Discontinues stateless inspection of the packet and forwards it to the stateful rule engine for inspection.

    Additionally, you can specify a custom action. To do this, you define a custom action by name and type, then provide the name you've assigned to the action in this Actions setting. For information about the options, see CustomAction.

    To provide more than one action in this setting, separate the settings with a comma. For example, if you have a custom PublishMetrics action that you've named MyMetricsAction, then you could specify the standard action aws:pass and the custom action with [“aws:pass”, “MyMetricsAction”].

    *)
  2. match_attributes : match_attributes;
    (*

    Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.

    *)
}

The inspection criteria and action for a single stateless rule. Network Firewall inspects each packet for the specified matching criteria. When a packet matches the criteria, Network Firewall performs the rule's actions on the packet.

type nonrec priority = int
type nonrec stateless_rule = {
  1. priority : priority;
    (*

    Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group.

    Each stateless rule group uses exactly one StatelessRulesAndCustomActions object, and each StatelessRulesAndCustomActions contains exactly one StatelessRules object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single StatelessRules object.

    You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on.

    *)
  2. rule_definition : rule_definition;
    (*

    Defines the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria.

    *)
}

A single stateless rule. This is used in StatelessRulesAndCustomActions.

type nonrec stateless_rules = stateless_rule list
type nonrec action_name = string
type nonrec dimension_value = string
type nonrec dimension = {
  1. value : dimension_value;
    (*

    The value to use in the custom metric dimension.

    *)
}

The value to use in an Amazon CloudWatch custom metric dimension. This is used in the PublishMetrics CustomAction. A CloudWatch custom metric dimension is a name/value pair that's part of the identity of a metric.

Network Firewall sets the dimension name to CustomAction and you provide the dimension value.

For more information about CloudWatch custom metric dimensions, see Publishing Custom Metrics in the Amazon CloudWatch User Guide.

type nonrec dimensions = dimension list
type nonrec publish_metric_action = {
  1. dimensions : dimensions;
}

Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.

type nonrec action_definition = {
  1. publish_metric_action : publish_metric_action option;
    (*

    Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.

    You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.

    *)
}

A custom action to use in stateless rule actions settings. This is used in CustomAction.

type nonrec custom_action = {
  1. action_definition : action_definition;
    (*

    The custom action associated with the action name.

    *)
  2. action_name : action_name;
    (*

    The descriptive name of the custom action. You can't change the name of a custom action after you create it.

    *)
}

An optional, non-standard action to use for stateless packet handling. You can define this in addition to the standard action that you must specify.

You define and name the custom actions that you want to be able to use, and then you reference them by name in your actions settings.

You can use custom actions in the following places:

  • In a rule group's StatelessRulesAndCustomActions specification. The custom actions are available for use by name inside the StatelessRulesAndCustomActions where you define them. You can use them for your stateless rule actions to specify what to do with a packet that matches the rule's match attributes.
  • In a FirewallPolicy specification, in StatelessCustomActions. The custom actions are available for use inside the policy where you define them. You can use them for the policy's default stateless actions settings to specify what to do with packets that don't match any of the policy's stateless rules.
type nonrec custom_actions = custom_action list
type nonrec stateless_rules_and_custom_actions = {
  1. custom_actions : custom_actions option;
    (*

    Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification. You name each custom action that you define, and then you can use it by name in your StatelessRule RuleDefinition Actions specification.

    *)
  2. stateless_rules : stateless_rules;
    (*

    Defines the set of stateless rules for use in a stateless rule group.

    *)
}

Stateless inspection criteria. Each stateless rule group uses exactly one of these data types to define its stateless rules.

type nonrec rules_source = {
  1. stateless_rules_and_custom_actions : stateless_rules_and_custom_actions option;
    (*

    Stateless inspection criteria to be used in a stateless rule group.

    *)
  2. stateful_rules : stateful_rules option;
    (*

    An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

    *)
  3. rules_source_list : rules_source_list option;
    (*

    Stateful inspection criteria for a domain list rule group.

    *)
  4. rules_string : rules_string option;
    (*

    Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard rule-based language for network traffic inspection.

    These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

    You can't use the priority keyword if the RuleOrder option in StatefulRuleOptions is set to STRICT_ORDER.

    *)
}

The stateless or stateful rules definitions for use in a single rule group. Each rule group requires a single RulesSource. You can use an instance of this for either stateless rules or stateful rules.

type nonrec rule_order =
  1. | STRICT_ORDER
  2. | DEFAULT_ACTION_ORDER
type nonrec stateful_rule_options = {
  1. rule_order : rule_order option;
    (*

    Indicates how to manage the order of the rule evaluation for the rule group. DEFAULT_ACTION_ORDER is the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

    *)
}

Additional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups.

type nonrec rule_group = {
  1. stateful_rule_options : stateful_rule_options option;
    (*

    Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings. Some limitations apply; for more information, see Strict evaluation order in the Network Firewall Developer Guide.

    *)
  2. rules_source : rules_source;
    (*

    The stateful rules or stateless rules for the rule group.

    *)
  3. reference_sets : reference_sets option;
    (*

    The list of a rule group's reference sets.

    *)
  4. rule_variables : rule_variables option;
    (*

    Settings that are available for use in the rules in the rule group. You can only use these for stateful rule groups.

    *)
}

The object that defines the rules in a rule group. This, along with RuleGroupResponse, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow.

To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall.

type nonrec update_rule_group_request = {
  1. summary_configuration : summary_configuration option;
    (*

    Updates the selected summary configuration for a rule group.

    Changes affect subsequent responses from DescribeRuleGroupSummary.

    *)
  2. analyze_rule_group : boolean_ option;
    (*

    Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis and then updates the rule group for you. To run the stateless rule group analyzer without updating the rule group, set DryRun to TRUE.

    *)
  3. source_metadata : source_metadata option;
    (*

    A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to keep track of updates made to the originating rule group.

    *)
  4. encryption_configuration : encryption_configuration option;
    (*

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

    *)
  5. dry_run : boolean_ option;
    (*

    Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

    If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

    If set to FALSE, Network Firewall makes the requested changes to your resources.

    *)
  6. description : description option;
    (*

    A description of the rule group.

    *)
  7. type_ : rule_group_type option;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    This setting is required for requests that do not include the RuleGroupARN.

    *)
  8. rules : rules_string option;
    (*

    A string containing stateful rule group rules specifications in Suricata flat format, with one rule per line. Use this to import your existing Suricata compatible rule groups.

    You must provide either this rules setting or a populated RuleGroup setting, but not both.

    You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call response returns a RuleGroup object that Network Firewall has populated from your string.

    *)
  9. rule_group : rule_group option;
    (*

    An object that defines the rule group rules.

    You must provide either this rule group setting or a Rules setting, but not both.

    *)
  10. rule_group_name : resource_name option;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  11. rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  12. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request.

    To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec proxy_rule_phase_action =
  1. | ALERT
  2. | DENY
  3. | ALLOW
type nonrec condition_operator = string
type nonrec condition_key = string
type nonrec proxy_condition_value = string
type nonrec proxy_condition_value_list = proxy_condition_value list
type nonrec proxy_rule_condition = {
  1. condition_values : proxy_condition_value_list option;
    (*

    Specifes the exact value that needs to be matched against.

    *)
  2. condition_key : condition_key option;
    (*

    Defines what is to be matched.

    *)
  3. condition_operator : condition_operator option;
    (*

    Defines how to perform a match.

    *)
}

Match criteria that specify what traffic attributes to examine.

type nonrec proxy_rule_condition_list = proxy_rule_condition list
type nonrec proxy_rule = {
  1. conditions : proxy_rule_condition_list option;
    (*

    Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

    *)
  2. action : proxy_rule_phase_action option;
    (*

    Action to take.

    *)
  3. description : description option;
    (*

    A description of the proxy rule.

    *)
  4. proxy_rule_name : resource_name option;
    (*

    The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.

    *)
}

Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

type nonrec update_proxy_rule_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request.

    To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. removed_conditions : proxy_rule_condition_list option;
    (*

    Proxy rule conditions removed from the rule.

    *)
  3. proxy_rule : proxy_rule option;
    (*

    The updated proxy rule resource that reflects the updates from the request.

    *)
}
type nonrec update_proxy_rule_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request.

    To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. remove_conditions : proxy_rule_condition_list option;
    (*

    Proxy rule conditions to remove. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

    *)
  3. add_conditions : proxy_rule_condition_list option;
    (*

    Proxy rule conditions to add. Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

    *)
  4. action : proxy_rule_phase_action option;
    (*

    Depending on the match action, the proxy either stops the evaluation (if the action is terminal - allow or deny), or continues it (if the action is alert) until it matches a rule with a terminal action.

    *)
  5. description : description option;
    (*

    A description of the proxy rule.

    *)
  6. proxy_rule_name : resource_name;
    (*

    The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.

    *)
  7. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  8. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec rule_group_request_phase =
  1. | POST_RES
  2. | PRE_REQ
  3. | PRE_DNS
type nonrec insert_position = int
type nonrec proxy_rule_priority = {
  1. new_position : insert_position option;
    (*

    Where to move a proxy rule in a proxy rule group.

    *)
  2. proxy_rule_name : resource_name option;
    (*

    The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.

    *)
}

Proxy rule name and new desired position.

type nonrec proxy_rule_priority_list = proxy_rule_priority list
type nonrec update_proxy_rule_priorities_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request.

    To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. rules : proxy_rule_priority_list option;
    (*

    The updated proxy rule hierarchy that reflects the updates from the request.

    *)
  3. rule_group_request_phase : rule_group_request_phase option;
    (*

    Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

    *)
  4. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    *)
  5. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}
type nonrec update_proxy_rule_priorities_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request.

    To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. rules : proxy_rule_priority_list;
    (*

    proxy rule resources to update to new positions.

    *)
  3. rule_group_request_phase : rule_group_request_phase;
    (*

    Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

    *)
  4. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  5. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec proxy_rule_group_priority_result_priority = int
type nonrec proxy_rule_group_priority_result = {
  1. priority : proxy_rule_group_priority_result_priority option;
    (*

    Priority of the proxy rule group in the proxy configuration.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}

Proxy rule group along with its priority.

type nonrec proxy_rule_group_priority_result_list = proxy_rule_group_priority_result list
type nonrec update_proxy_rule_group_priorities_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_rule_groups : proxy_rule_group_priority_result_list option;
    (*

    The updated proxy rule group hierarchy that reflects the updates from the request.

    *)
}
type nonrec proxy_rule_group_priority = {
  1. new_position : insert_position option;
    (*

    Where to move a proxy rule group in a proxy configuration.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}

Proxy rule group name and new desired position.

type nonrec proxy_rule_group_priority_list = proxy_rule_group_priority list
type nonrec update_proxy_rule_group_priorities_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. rule_groups : proxy_rule_group_priority_list;
    (*

    proxy rule group resources to update to new positions.

    *)
  3. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec create_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec delete_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec failure_code = string
type nonrec failure_message = string
type nonrec proxy_state =
  1. | DETACH_FAILED
  2. | ATTACH_FAILED
  3. | DETACHED
  4. | DETACHING
  5. | ATTACHED
  6. | ATTACHING
type nonrec proxy_modify_state =
  1. | FAILED
  2. | COMPLETED
  3. | MODIFYING
type nonrec nat_gateway_id = string
type nonrec nat_gateway_port = int
type nonrec listener_property_type =
  1. | HTTPS
  2. | HTTP
type nonrec listener_property = {
  1. type_ : listener_property_type option;
    (*

    Selection of HTTP or HTTPS traffic.

    *)
  2. port : nat_gateway_port option;
    (*

    Port for processing traffic.

    *)
}

Open port for taking HTTP or HTTPS traffic.

type nonrec listener_properties = listener_property list
type nonrec tls_intercept_mode =
  1. | DISABLED
  2. | ENABLED
type nonrec tls_intercept_properties = {
  1. tls_intercept_mode : tls_intercept_mode option;
    (*

    Specifies whether to enable or disable TLS Intercept Mode.

    *)
  2. pca_arn : resource_arn option;
    (*

    Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication.

    *)
}

TLS decryption on traffic to filter on attributes in the HTTP header.

type nonrec proxy = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. tls_intercept_properties : tls_intercept_properties option;
    (*

    TLS decryption on traffic to filter on attributes in the HTTP header.

    *)
  3. listener_properties : listener_properties option;
    (*

    Listener properties for HTTP and HTTPS traffic.

    *)
  4. proxy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy.

    *)
  5. proxy_name : resource_name option;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    *)
  6. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    *)
  7. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    *)
  8. nat_gateway_id : nat_gateway_id option;
    (*

    The NAT Gateway for the proxy.

    *)
  9. proxy_modify_state : proxy_modify_state option;
    (*

    Current modification status of the Proxy.

    *)
  10. proxy_state : proxy_state option;
    (*

    Current attachment/detachment status of the Proxy.

    *)
  11. failure_message : failure_message option;
    (*

    Failure message for cases when the Proxy fails to attach or update.

    *)
  12. failure_code : failure_code option;
    (*

    Failure code for cases when the Proxy fails to attach or update.

    *)
  13. update_time : update_time option;
    (*

    Time the Proxy was updated.

    *)
  14. delete_time : delete_time option;
    (*

    Time the Proxy was deleted.

    *)
  15. create_time : create_time option;
    (*

    Time the Proxy was created.

    *)
}

Proxy attached to a NAT gateway.

type nonrec update_proxy_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request.

    To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy : proxy option;
    (*

    The updated proxy resource that reflects the updates from the request.

    *)
}
type nonrec listener_property_request = {
  1. type_ : listener_property_type;
    (*

    Selection of HTTP or HTTPS traffic.

    *)
  2. port : nat_gateway_port;
    (*

    Port for processing traffic.

    *)
}

This data type is used specifically for the CreateProxy and UpdateProxy APIs.

Open port for taking HTTP or HTTPS traffic.

type nonrec listener_properties_request = listener_property_request list
type nonrec tls_intercept_properties_request = {
  1. tls_intercept_mode : tls_intercept_mode option;
    (*

    Specifies whether to enable or disable TLS Intercept Mode.

    *)
  2. pca_arn : resource_arn option;
    (*

    Private Certificate Authority (PCA) used to issue private TLS certificates so that the proxy can present PCA-signed certificates which applications trust through the same root, establishing a secure and consistent trust model for encrypted communication.

    *)
}

This data type is used specifically for the CreateProxy and UpdateProxy APIs.

TLS decryption on traffic to filter on attributes in the HTTP header.

type nonrec update_proxy_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request.

    To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. tls_intercept_properties : tls_intercept_properties_request option;
    (*

    TLS decryption on traffic to filter on attributes in the HTTP header.

    *)
  3. listener_properties_to_remove : listener_properties_request option;
    (*

    Listener properties for HTTP and HTTPS traffic to remove.

    *)
  4. listener_properties_to_add : listener_properties_request option;
    (*

    Listener properties for HTTP and HTTPS traffic to add.

    *)
  5. proxy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy.

    You must specify the ARN or the name, and you can specify both.

    *)
  6. proxy_name : resource_name option;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  7. nat_gateway_id : nat_gateway_id;
    (*

    The NAT Gateway the proxy is attached to.

    *)
}
type nonrec proxy_config_rule_group_type = string
type nonrec proxy_config_rule_group_priority = int
type nonrec proxy_config_rule_group = {
  1. priority : proxy_config_rule_group_priority option;
    (*

    Priority of the proxy rule group in the proxy configuration.

    *)
  2. type_ : proxy_config_rule_group_type option;
    (*

    Proxy rule group type.

    *)
  3. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    *)
  4. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}

Proxy rule group contained within a proxy configuration.

type nonrec proxy_config_rule_group_set = proxy_config_rule_group list
type nonrec proxy_config_default_rule_phase_actions_request = {
  1. post_respons_e : proxy_rule_phase_action option;
    (*

    After receiving response.

    *)
  2. pre_reques_t : proxy_rule_phase_action option;
    (*

    After DNS, before request.

    *)
  3. pre_dn_s : proxy_rule_phase_action option;
    (*

    Before domain resolution.

    *)
}

Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

This data type is used specifically for the CreateProxyConfiguration and UpdateProxyConfiguration APIs.

type nonrec proxy_configuration = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. default_rule_phase_actions : proxy_config_default_rule_phase_actions_request option;
    (*

    Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

    Pre-DNS - before domain resolution.

    Pre-Request - after DNS, before request.

    Post-Response - after receiving response.

    *)
  3. rule_groups : proxy_config_rule_group_set option;
    (*

    Proxy rule groups within the proxy configuration.

    *)
  4. delete_time : delete_time option;
    (*

    Time the Proxy Configuration was deleted.

    *)
  5. create_time : create_time option;
    (*

    Time the Proxy Configuration was created.

    *)
  6. description : description option;
    (*

    A description of the proxy configuration.

    *)
  7. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    *)
  8. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    *)
}

A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration.

type nonrec update_proxy_configuration_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_configuration : proxy_configuration option;
    (*

    The updated proxy configuration resource that reflects the updates from the request.

    *)
}
type nonrec update_proxy_configuration_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. default_rule_phase_actions : proxy_config_default_rule_phase_actions_request;
    (*

    Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

    *)
  3. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec unsupported_operation_exception = {
  1. message : error_message option;
}

The operation you requested isn't supported by Network Firewall.

type nonrec log_type =
  1. | TLS
  2. | FLOW
  3. | ALERT
type nonrec log_destination_type =
  1. | KINESIS_DATA_FIREHOSE
  2. | CLOUDWATCH_LOGS
  3. | S3
type nonrec hash_map_value = string
type nonrec hash_map_key = string
type nonrec log_destination_map = (hash_map_key * hash_map_value) list
type nonrec log_destination_config = {
  1. log_destination : log_destination_map;
    (*

    The named location for the logs, provided in a key:value mapping that is specific to the chosen destination type.

    • For an Amazon S3 bucket, provide the name of the bucket, with key bucketName, and optionally provide a prefix, with key prefix.

      The following example specifies an Amazon S3 bucket named DOC-EXAMPLE-BUCKET and the prefix alerts:

      "LogDestination": { "bucketName": "DOC-EXAMPLE-BUCKET", "prefix": "alerts" }

    • For a CloudWatch log group, provide the name of the CloudWatch log group, with key logGroup. The following example specifies a log group named alert-log-group:

      "LogDestination": { "logGroup": "alert-log-group" }

    • For a Firehose delivery stream, provide the name of the delivery stream, with key deliveryStream. The following example specifies a delivery stream named alert-delivery-stream:

      "LogDestination": { "deliveryStream": "alert-delivery-stream" }

    *)
  2. log_destination_type : log_destination_type;
    (*

    The type of storage destination to send these logs to. You can send logs to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.

    *)
  3. log_type : log_type;
    (*

    The type of log to record. You can record the following types of logs from your Network Firewall stateful engine.

    • ALERT - Logs for traffic that matches your stateful rules and that have an action that sends an alert. A stateful rule sends alerts for the rule actions DROP, ALERT, and REJECT. For more information, see StatefulRule.
    • FLOW - Standard network traffic flow logs. The stateful rules engine records flow logs for all network traffic that it receives. Each flow log record captures the network flow for a specific standard stateless rule group.
    • TLS - Logs for events that are related to TLS inspection. For more information, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
    *)
}

Defines where Network Firewall sends logs for the firewall for one log type. This is used in LoggingConfiguration. You can send each type of log to an Amazon S3 bucket, a CloudWatch log group, or a Firehose delivery stream.

Network Firewall generates logs for stateful rule groups. You can save alert, flow, and TLS log types.

type nonrec log_destination_configs = log_destination_config list
type nonrec logging_configuration = {
  1. log_destination_configs : log_destination_configs;
    (*

    Defines the logging destinations for the logs for a firewall. Network Firewall generates logs for stateful rule groups.

    *)
}

Defines how Network Firewall performs logging for a Firewall.

type nonrec enable_monitoring_dashboard = bool
type nonrec update_logging_configuration_response = {
  1. enable_monitoring_dashboard : enable_monitoring_dashboard option;
    (*

    A boolean that reflects whether or not the firewall monitoring dashboard is enabled on a firewall.

    Returns TRUE when the firewall monitoring dashboard is enabled on the firewall. Returns FALSE when the firewall monitoring dashboard is not enabled on the firewall.

    *)
  2. logging_configuration : logging_configuration option;
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec update_logging_configuration_request = {
  1. enable_monitoring_dashboard : enable_monitoring_dashboard option;
    (*

    A boolean that lets you enable or disable the detailed firewall monitoring dashboard on the firewall.

    The monitoring dashboard provides comprehensive visibility into your firewall's flow logs and alert logs. After you enable detailed monitoring, you can access these dashboards directly from the Monitoring page of the Network Firewall console.

    Specify TRUE to enable the the detailed monitoring dashboard on the firewall. Specify FALSE to disable the the detailed monitoring dashboard on the firewall.

    *)
  2. logging_configuration : logging_configuration option;
    (*

    Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec log_destination_permission_exception = {
  1. message : error_message option;
}

Unable to send logs to a configured logging destination.

type nonrec firewall_policy_response = {
  1. last_modified_time : last_update_time option;
    (*

    The last time that the firewall policy was changed.

    *)
  2. encryption_configuration : encryption_configuration option;
    (*

    A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.

    *)
  3. number_of_associations : number_of_associations option;
    (*

    The number of firewalls that are associated with this firewall policy.

    *)
  4. consumed_stateful_domain_capacity : rule_capacity option;
    (*

    The total number of domain name specifications across all domain list rule groups in the firewall policy that use the stateful-domain-rulegroup resource type.

    *)
  5. consumed_stateful_rule_capacity : rule_capacity option;
    (*

    The number of capacity units currently consumed by the policy's stateful rules.

    *)
  6. consumed_stateless_rule_capacity : rule_capacity option;
    (*

    The number of capacity units currently consumed by the policy's stateless rules.

    *)
  7. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  8. firewall_policy_status : resource_status option;
    (*

    The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.

    *)
  9. description : description option;
    (*

    A description of the firewall policy.

    *)
  10. firewall_policy_id : resource_id;
    (*

    The unique identifier for the firewall policy.

    *)
  11. firewall_policy_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

    *)
  12. firewall_policy_name : resource_name;
    (*

    The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

    *)
}

The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

type nonrec update_firewall_policy_response = {
  1. firewall_policy_response : firewall_policy_response;
    (*

    The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

    *)
  2. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

    To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec stateless_rule_group_reference = {
  1. priority : priority;
    (*

    An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

    *)
  2. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the stateless rule group.

    *)
}

Identifier for a single stateless rule group, used in a firewall policy to refer to the rule group.

type nonrec stateless_rule_group_references = stateless_rule_group_reference list
type nonrec override_action =
  1. | DROP_TO_ALERT
type nonrec stateful_rule_group_override = {
  1. action : override_action option;
    (*

    The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups.

    *)
}

The setting that allows the policy owner to change the behavior of the rule group within a policy.

type nonrec deep_threat_inspection = bool
type nonrec stateful_rule_group_reference = {
  1. deep_threat_inspection : deep_threat_inspection option;
    (*

    Network Firewall plans to augment the active threat defense managed rule group with an additional deep threat inspection capability. When this capability is released, Amazon Web Services will analyze service logs of network traffic processed by these rule groups to identify threat indicators across customers. Amazon Web Services will use these threat indicators to improve the active threat defense managed rule groups and protect the security of Amazon Web Services customers and services.

    Customers can opt-out of deep threat inspection at any time through the Network Firewall console or API. When customers opt out, Network Firewall will not use the network traffic processed by those customers' active threat defense rule groups for rule group improvement.

    *)
  2. override : stateful_rule_group_override option;
    (*

    The action that allows the policy owner to override the behavior of the rule group within a policy.

    *)
  3. priority : priority option;
    (*

    An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings.

    Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.

    You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.

    *)
  4. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the stateful rule group.

    *)
}

Identifier for a single stateful rule group, used in a firewall policy to refer to a rule group.

type nonrec stateful_rule_group_references = stateful_rule_group_reference list
type nonrec stateful_actions = collection_member__string list
type nonrec stream_exception_policy =
  1. | REJECT
  2. | CONTINUE
  3. | DROP
type nonrec tcp_idle_timeout_range_bound = int
type nonrec flow_timeouts = {
  1. tcp_idle_timeout_seconds : tcp_idle_timeout_range_bound option;
    (*

    The number of seconds that can pass without any TCP traffic sent through the firewall before the firewall determines that the connection is idle. After the idle timeout passes, data packets are dropped, however, the next TCP SYN packet is considered a new flow and is processed by the firewall. Clients or targets can use TCP keepalive packets to reset the idle timeout.

    You can define the TcpIdleTimeoutSeconds value to be between 60 and 6000 seconds. If no value is provided, it defaults to 350 seconds.

    *)
}

Describes the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle and Network Firewall removes the flow entry from its flow table. When you update this value, existing connections will be treated according to your stream exception policy configuration.

type nonrec stateful_engine_options = {
  1. flow_timeouts : flow_timeouts option;
    (*

    Configures the amount of time that can pass without any traffic sent through the firewall before the firewall determines that the connection is idle.

    *)
  2. stream_exception_policy : stream_exception_policy option;
    (*

    Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.

    • DROP - Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.
    • CONTINUE - Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to drop http traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a flow:stateless rule would still match, as would the aws:drop_strict default action.
    • REJECT - Network Firewall fails closed and drops all subsequent traffic going to the firewall. Network Firewall also sends a TCP reject packet back to your client so that the client can immediately establish a new session. Network Firewall will have context about the new session and will apply rules to the subsequent traffic.
    *)
  3. rule_order : rule_order option;
    (*

    Indicates how to manage the order of stateful rule evaluation for the policy. STRICT_ORDER is the recommended option, but DEFAULT_ACTION_ORDER is the default option. With STRICT_ORDER, provide your rules in the order that you want them to be evaluated. You can then choose one or more default actions for packets that don't match any rules. Choose STRICT_ORDER to have the stateful rules engine determine the evaluation order of your rules. The default action for this rule order is PASS, followed by DROP, REJECT, and ALERT actions. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on your settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide.

    *)
}

Configuration settings for the handling of the stateful rule groups in a firewall policy.

type nonrec policy_variables = {
  1. rule_variables : ip_sets option;
    (*

    The IPv4 or IPv6 addresses in CIDR notation to use for the Suricata HOME_NET variable. If your firewall uses an inspection VPC, you might want to override the HOME_NET variable with the CIDRs of your home networks. If you don't override HOME_NET with your own CIDRs, Network Firewall by default uses the CIDR of your inspection VPC.

    *)
}

Contains variables that you can use to override default Suricata settings in your firewall policy.

type nonrec enable_tls_session_holding = bool
type nonrec firewall_policy = {
  1. enable_tls_session_holding : enable_tls_session_holding option;
    (*

    When true, prevents TCP and TLS packets from reaching destination servers until TLS Inspection has evaluated Server Name Indication (SNI) rules. Requires an associated TLS Inspection configuration.

    *)
  2. policy_variables : policy_variables option;
    (*

    Contains variables that you can use to override default Suricata settings in your firewall policy.

    *)
  3. tls_inspection_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the TLS inspection configuration.

    *)
  4. stateful_engine_options : stateful_engine_options option;
    (*

    Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.

    *)
  5. stateful_default_actions : stateful_actions option;
    (*

    The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.

    Valid values of the stateful default action:

    • aws:drop_strict
    • aws:drop_established
    • aws:alert_strict
    • aws:alert_established

    For more information, see Strict evaluation order in the Network Firewall Developer Guide.

    *)
  6. stateful_rule_group_references : stateful_rule_group_references option;
    (*

    References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.

    *)
  7. stateless_custom_actions : custom_actions option;
    (*

    The custom action definitions that are available for use in the firewall policy's StatelessDefaultActions setting. You name each custom action that you define, and then you can use it by name in your default actions specifications.

    *)
  8. stateless_fragment_default_actions : stateless_actions;
    (*

    The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy. Network Firewall only manages UDP packet fragments and silently drops packet fragments for other protocols. If you want non-matching fragmented UDP packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

    You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

    For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

    *)
  9. stateless_default_actions : stateless_actions;
    (*

    The actions to take on a packet if it doesn't match any of the stateless rules in the policy. If you want non-matching packets to be forwarded for stateful inspection, specify aws:forward_to_sfe.

    You must specify one of the standard actions: aws:pass, aws:drop, or aws:forward_to_sfe. In addition, you can specify custom actions that are compatible with your standard section choice.

    For example, you could specify ["aws:pass"] or you could specify ["aws:pass", “customActionName”]. For information about compatibility, see the custom action descriptions under CustomAction.

    *)
  10. stateless_rule_group_references : stateless_rule_group_references option;
    (*

    References to the stateless rule groups that are used in the policy. These define the matching criteria in stateless rules.

    *)
}

The firewall policy defines the behavior of a firewall using a collection of stateless and stateful rule groups and other settings. You can use one firewall policy for multiple firewalls.

This, along with FirewallPolicyResponse, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

type nonrec update_firewall_policy_request = {
  1. encryption_configuration : encryption_configuration option;
    (*

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

    *)
  2. dry_run : boolean_ option;
    (*

    Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

    If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

    If set to FALSE, Network Firewall makes the requested changes to your resources.

    *)
  3. description : description option;
    (*

    A description of the firewall policy.

    *)
  4. firewall_policy : firewall_policy;
    (*

    The updated firewall policy to use for the firewall. You can't add or remove a TLSInspectionConfiguration after you create a firewall policy. However, you can replace an existing TLS inspection configuration with another TLSInspectionConfiguration.

    *)
  5. firewall_policy_name : resource_name option;
    (*

    The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  6. firewall_policy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    You must specify the ARN or the name, and you can specify both.

    *)
  7. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

    To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec update_firewall_policy_change_protection_response = {
  1. firewall_policy_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec update_firewall_policy_change_protection_request = {
  1. firewall_policy_change_protection : boolean_;
    (*

    A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec update_firewall_encryption_configuration_response = {
  1. encryption_configuration : encryption_configuration option;
  2. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec update_firewall_encryption_configuration_request = {
  1. encryption_configuration : encryption_configuration option;
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec update_firewall_description_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. description : description option;
    (*

    A description of the firewall.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec update_firewall_description_request = {
  1. description : description option;
    (*

    The new description for the firewall. If you omit this setting, Network Firewall removes the description for the firewall.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec update_firewall_delete_protection_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. delete_protection : boolean_ option;
    (*

    A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec update_firewall_delete_protection_request = {
  1. delete_protection : boolean_;
    (*

    A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec enabled_analysis_type =
  1. | HTTP_HOST
  2. | TLS_SNI
type nonrec enabled_analysis_types = enabled_analysis_type list
type nonrec update_firewall_analysis_settings_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. enabled_analysis_types : enabled_analysis_types option;
    (*

    An optional setting indicating the specific traffic analysis types to enable on the firewall.

    *)
}
type nonrec update_firewall_analysis_settings_request = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. enabled_analysis_types : enabled_analysis_types option;
    (*

    An optional setting indicating the specific traffic analysis types to enable on the firewall.

    *)
}
type nonrec container_monitoring_type =
  1. | EKS
  2. | ECS
type nonrec container_attribute_key = string
type nonrec container_attribute_value = string
type nonrec container_attribute = {
  1. value : container_attribute_value;
    (*

    The value of the container attribute to filter on.

    *)
  2. key : container_attribute_key;
    (*

    The key of the container attribute to filter on.

    *)
}

A key-value pair that defines a container attribute filter for a container monitoring configuration.

type nonrec container_attributes = container_attribute list
type nonrec container_monitoring_configuration = {
  1. attribute_filters : container_attributes option;
    (*

    A list of key-value pairs that filter which containers within the cluster are monitored. Only containers that match the specified attributes are included.

    *)
  2. cluster_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the container cluster to monitor.

    *)
}

Defines a container cluster to monitor, along with optional attribute filters that narrow the scope of monitored containers within the cluster.

type nonrec container_monitoring_configurations = container_monitoring_configuration list
type nonrec container_association_status =
  1. | DELETING
  2. | CREATING
  3. | ACTIVE
type nonrec update_container_association_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request.

    *)
  2. tags : tag_list option;
    (*

    The key:value pairs associated with the resource.

    *)
  3. status : container_association_status option;
    (*

    The current status of the container association.

    *)
  4. container_monitoring_configurations : container_monitoring_configurations option;
    (*

    The container monitoring configurations for this container association.

    *)
  5. type_ : container_monitoring_type option;
    (*

    The type of container orchestration platform. Either ECS or EKS.

    *)
  6. description : description option;
    (*

    A description of the container association.

    *)
  7. container_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association.

    *)
  8. container_association_name : resource_name option;
    (*

    The descriptive name of the container association.

    *)
}
type nonrec update_container_association_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request. To make an update to the container association, provide the token in your request. Network Firewall uses the token to ensure that the container association hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the container association again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. tags : tag_list option;
    (*

    The key:value pairs associated with the resource.

    *)
  3. container_monitoring_configurations : container_monitoring_configurations;
    (*

    The updated list of container monitoring configurations that define which clusters and container attributes to monitor.

    *)
  4. type_ : container_monitoring_type;
    (*

    The type of container orchestration platform. This must match the type specified when the container association was created.

    *)
  5. description : description option;
    (*

    A description of the container association.

    *)
  6. container_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association. You must specify the ARN or the name, and you can specify both.

    *)
  7. container_association_name : resource_name option;
    (*

    The descriptive name of the container association. You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec update_availability_zone_change_protection_response = {
  1. availability_zone_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec update_availability_zone_change_protection_request = {
  1. availability_zone_change_protection : boolean_;
    (*

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec untag_resource_response = unit
type nonrec tag_key_list = tag_key list
type nonrec untag_resource_request = {
  1. tag_keys : tag_key_list;
  2. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec count = int
type nonrec unique_sources = {
  1. count : count option;
    (*

    The number of unique source IP addresses that connected to a domain.

    *)
}

A unique source IP address that connected to a domain.

type nonrec transit_gateway_id = string
type nonrec transit_gateway_attachment_sync_state_message = string
type nonrec attachment_id = string
type nonrec transit_gateway_attachment_status =
  1. | REJECTED
  2. | REJECTING
  3. | PENDING_ACCEPTANCE
  4. | READY
  5. | ERROR
  6. | FAILED
  7. | DELETED
  8. | DELETING
  9. | CREATING
type nonrec transit_gateway_attachment_sync_state = {
  1. status_message : transit_gateway_attachment_sync_state_message option;
    (*

    A message providing additional information about the current status, particularly useful when the transit gateway attachment is in a non-READY state.

    Valid values are:

    • CREATING - The attachment is being created
    • DELETING - The attachment is being deleted
    • DELETED - The attachment has been deleted
    • FAILED - The attachment creation has failed and cannot be recovered
    • ERROR - The attachment is in an error state that might be recoverable
    • READY - The attachment is active and processing traffic
    • PENDING_ACCEPTANCE - The attachment is waiting to be accepted
    • REJECTING - The attachment is in the process of being rejected
    • REJECTED - The attachment has been rejected

    For information about troubleshooting endpoint failures, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

    *)
  2. transit_gateway_attachment_status : transit_gateway_attachment_status option;
    (*

    The current status of the transit gateway attachment.

    Valid values are:

    • CREATING - The attachment is being created
    • DELETING - The attachment is being deleted
    • DELETED - The attachment has been deleted
    • FAILED - The attachment creation has failed and cannot be recovered
    • ERROR - The attachment is in an error state that might be recoverable
    • READY - The attachment is active and processing traffic
    • PENDING_ACCEPTANCE - The attachment is waiting to be accepted
    • REJECTING - The attachment is in the process of being rejected
    • REJECTED - The attachment has been rejected
    *)
  3. attachment_id : attachment_id option;
    (*

    The unique identifier of the transit gateway attachment.

    *)
}

Contains information about the synchronization state of a transit gateway attachment, including its current status and any error messages. Network Firewall uses this to track the state of your transit gateway configuration changes.

type nonrec transit_gateway_attachment_id = string
type nonrec tags_pagination_max_results = int
type nonrec tag_resource_response = unit
type nonrec tag_resource_request = {
  1. tags : tag_list;
  2. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec tls_inspection_configuration_metadata = {
  1. arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the TLS inspection configuration.

    *)
  2. name : resource_name option;
    (*

    The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.

    *)
}

High-level information about a TLS inspection configuration, returned by ListTLSInspectionConfigurations. You can use the information provided in the metadata to retrieve and manage a TLS configuration.

type nonrec tls_inspection_configurations = tls_inspection_configuration_metadata list
type nonrec per_object_sync_status =
  1. | DEPRECATED
  2. | NOT_SUBSCRIBED
  3. | CAPACITY_CONSTRAINED
  4. | IN_SYNC
  5. | PENDING
type nonrec per_object_status = {
  1. update_token : update_token option;
    (*

    The current version of the object that is either in sync or pending synchronization.

    *)
  2. sync_status : per_object_sync_status option;
    (*

    Indicates whether this object is in sync with the version indicated in the update token.

    *)
}

Provides configuration status for a single policy or rule group that is used for a firewall endpoint. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of a SyncState for a firewall.

type nonrec sync_state_config = (resource_name * per_object_status) list
type nonrec sync_state = {
  1. config : sync_state_config option;
    (*

    The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic.

    *)
  2. attachment : attachment option;
    (*

    The configuration and status for a single firewall subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic.

    *)
}

The status of the firewall endpoint and firewall policy configuration for a single VPC subnet. This is part of the FirewallStatus.

For each VPC subnet that you associate with a firewall, Network Firewall does the following:

  • Instantiates a firewall endpoint in the subnet, ready to take traffic.
  • Configures the endpoint with the current firewall policy settings, to provide the filtering behavior for the endpoint.

When you update a firewall, for example to add a subnet association or change a rule group in the firewall policy, the affected sync states reflect out-of-sync or not ready status until the changes are complete.

type nonrec sync_states = (availability_zone * sync_state) list
type nonrec availability_zone_metadata = {
  1. ip_address_type : ip_address_type option;
    (*

    The IP address type of the Firewall subnet in the Availability Zone. You can't change the IP address type after you create the subnet.

    *)
}

High-level information about an Availability Zone where the firewall has an endpoint defined.

type nonrec supported_availability_zones = (availability_zone * availability_zone_metadata) list
type nonrec rule_summary = {
  1. metadata : collection_member__string option;
    (*

    The contents of the rule's metadata.

    *)
  2. msg : collection_member__string option;
    (*

    The contents taken from the rule's msg field.

    *)
  3. si_d : collection_member__string option;
    (*

    The unique identifier (Signature ID) of the Suricata rule.

    *)
}

A complex type containing details about a Suricata rule. Contains:

  • SID
  • Msg
  • Metadata

Summaries are available for rule groups you manage and for active threat defense Amazon Web Services managed rule groups.

type nonrec rule_summaries = rule_summary list
type nonrec summary = {
  1. rule_summaries : rule_summaries option;
    (*

    An array of RuleSummary objects containing individual rule details that had been configured by the rulegroup's SummaryConfiguration.

    *)
}

A complex type containing summaries of security protections provided by a rule group.

Network Firewall extracts this information from selected fields in the rule group's Suricata rules, based on your SummaryConfiguration settings.

type nonrec subscription_status =
  1. | SUBSCRIBED
  2. | NOT_SUBSCRIBED
type nonrec subnet_mappings = subnet_mapping list
type nonrec status = string
type nonrec start_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec flow_operation_id = string
type nonrec flow_operation_status =
  1. | COMPLETED_WITH_ERRORS
  2. | FAILED
  3. | IN_PROGRESS
  4. | COMPLETED
type nonrec start_flow_flush_response = {
  1. flow_operation_status : flow_operation_status option;
    (*

    Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands.

    If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty.

    *)
  2. flow_operation_id : flow_operation_id option;
    (*

    A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec age = int
type nonrec protocol_string = string
type nonrec protocol_strings = protocol_string list
type nonrec flow_filter = {
  1. protocols : protocol_strings option;
    (*

    The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.

    *)
  2. destination_port : port option;
    (*

    The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    *)
  3. source_port : port option;
    (*

    The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    *)
  4. destination_address : address option;
  5. source_address : address option;
}

Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

type nonrec flow_filters = flow_filter list
type nonrec start_flow_flush_request = {
  1. flow_filters : flow_filters;
    (*

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  2. minimum_flow_age_in_seconds : age option;
    (*

    The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands.

    *)
  3. vpc_endpoint_id : vpc_endpoint_id option;
    (*

    A unique identifier for the primary endpoint associated with a firewall.

    *)
  4. vpc_endpoint_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
  5. availability_zone : availability_zone option;
    (*

    The ID of the Availability Zone where the firewall is located. For example, us-east-2a.

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  6. firewall_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec start_flow_capture_response = {
  1. flow_operation_status : flow_operation_status option;
    (*

    Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands.

    If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty.

    *)
  2. flow_operation_id : flow_operation_id option;
    (*

    A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec start_flow_capture_request = {
  1. flow_filters : flow_filters;
    (*

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  2. minimum_flow_age_in_seconds : age option;
    (*

    The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands.

    We recommend setting this value to at least 1 minute (60 seconds) to reduce chance of capturing flows that are not yet established.

    *)
  3. vpc_endpoint_id : vpc_endpoint_id option;
    (*

    A unique identifier for the primary endpoint associated with a firewall.

    *)
  4. vpc_endpoint_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
  5. availability_zone : availability_zone option;
    (*

    The ID of the Availability Zone where the firewall is located. For example, us-east-2a.

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  6. firewall_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec analysis_report_id = string
type nonrec start_analysis_report_response = {
  1. analysis_report_id : analysis_report_id;
    (*

    The unique ID of the query that ran when you requested an analysis report.

    *)
}
type nonrec start_analysis_report_request = {
  1. analysis_type : enabled_analysis_type;
    (*

    The type of traffic that will be used to generate a report.

    *)
  2. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec rule_group_metadata = {
  1. vendor_name : vendor_name option;
    (*

    The name of the Amazon Web Services Marketplace seller that provides this rule group.

    *)
  2. arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the rule group.

    *)
  3. name : resource_name option;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    *)
}

High-level information about a rule group, returned by ListRuleGroups. You can use the information provided in the metadata to retrieve and manage a rule group.

type nonrec rule_groups = rule_group_metadata list
type nonrec resource_name_list = resource_name list
type nonrec resource_managed_type =
  1. | PARTNER_MANAGED
  2. | ACTIVE_THREAT_DEFENSE
  3. | AWS_MANAGED_DOMAIN_LISTS
  4. | AWS_MANAGED_THREAT_SIGNATURES
type nonrec resource_managed_status =
  1. | ACCOUNT
  2. | MANAGED
type nonrec resource_arn_list = resource_arn list
type nonrec report_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec reject_network_firewall_transit_gateway_attachment_response = {
  1. transit_gateway_attachment_status : transit_gateway_attachment_status;
    (*

    The current status of the transit gateway attachment. Valid values are:

    • CREATING - The attachment is being created
    • DELETING - The attachment is being deleted
    • DELETED - The attachment has been deleted
    • FAILED - The attachment creation has failed and cannot be recovered
    • ERROR - The attachment is in an error state that might be recoverable
    • READY - The attachment is active and processing traffic
    • PENDING_ACCEPTANCE - The attachment is waiting to be accepted
    • REJECTING - The attachment is in the process of being rejected
    • REJECTED - The attachment has been rejected

    For information about troubleshooting endpoint failures, see Troubleshooting firewall endpoint failures in the Network Firewall Developer Guide.

    *)
  2. transit_gateway_attachment_id : transit_gateway_attachment_id;
    (*

    The unique identifier of the transit gateway attachment that was rejected.

    *)
}
type nonrec reject_network_firewall_transit_gateway_attachment_request = {
  1. transit_gateway_attachment_id : transit_gateway_attachment_id;
    (*

    Required. The unique identifier of the transit gateway attachment to reject. This ID is returned in the response when creating a transit gateway-attached firewall.

    *)
}
type nonrec put_resource_policy_response = unit
type nonrec policy_string = string
type nonrec put_resource_policy_request = {
  1. policy : policy_string;
    (*

    The IAM policy statement that lists the accounts that you want to share your Network Firewall resources with and the operations that you want the accounts to be able to perform.

    For a rule group resource, you can specify the following operations in the Actions section of the statement:

    • network-firewall:CreateFirewallPolicy
    • network-firewall:UpdateFirewallPolicy
    • network-firewall:ListRuleGroups

    For a firewall policy resource, you can specify the following operations in the Actions section of the statement:

    • network-firewall:AssociateFirewallPolicy
    • network-firewall:ListFirewallPolicies

    For a firewall resource, you can specify the following operations in the Actions section of the statement:

    • network-firewall:CreateVpcEndpointAssociation
    • network-firewall:DescribeFirewallMetadata
    • network-firewall:ListFirewalls

    In the Resource section of the statement, you specify the ARNs for the Network Firewall resources that you want to share with the account that you specified in Arn.

    *)
  2. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the account that you want to share your Network Firewall resources with.

    *)
}
type nonrec invalid_resource_policy_exception = {
  1. message : error_message option;
}

The policy statement failed validation.

type nonrec proxy_rule_list = proxy_rule list
type nonrec proxy_rules_by_request_phase = {
  1. post_respons_e : proxy_rule_list option;
    (*

    After receiving response.

    *)
  2. pre_reques_t : proxy_rule_list option;
    (*

    After DNS, before request.

    *)
  3. pre_dn_s : proxy_rule_list option;
    (*

    Before domain resolution.

    *)
}

Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

type nonrec proxy_rule_group_metadata = {
  1. arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    *)
  2. name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}

High-level information about a proxy rule group, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a proxy rule group. You can retrieve all objects for a proxy rule group by calling DescribeProxyRuleGroup.

type nonrec proxy_rule_groups = proxy_rule_group_metadata list
type nonrec proxy_rule_group_attachment = {
  1. insert_position : insert_position option;
    (*

    Where to insert a proxy rule group in a proxy configuration.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}

The proxy rule group(s) to attach to the proxy configuration

type nonrec proxy_rule_group_attachment_list = proxy_rule_group_attachment list
type nonrec proxy_rule_group = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. description : description option;
    (*

    A description of the proxy rule group.

    *)
  3. rules : proxy_rules_by_request_phase option;
    (*

    Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

    *)
  4. delete_time : delete_time option;
    (*

    Time the Proxy Rule Group was deleted.

    *)
  5. create_time : create_time option;
    (*

    Time the Proxy Rule Group was created.

    *)
  6. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    *)
  7. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}

Collections of related proxy filtering rules. Rule groups help you manage and reuse sets of rules across multiple proxy configurations.

type nonrec proxy_metadata = {
  1. arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy.

    *)
  2. name : resource_name option;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    *)
}

High-level information about a proxy, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a proxy. You can retrieve all objects for a proxy by calling DescribeProxy.

type nonrec proxy_configuration_metadata = {
  1. arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    *)
  2. name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    *)
}

High-level information about a proxy configuration, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a proxy configuration. You can retrieve all objects for a proxy configuration by calling DescribeProxyConfiguration.

type nonrec proxy_configurations = proxy_configuration_metadata list
type nonrec proxies = proxy_metadata list
type nonrec product_id = string
type nonrec private_dns_name = string
type nonrec pagination_token = string
type nonrec pagination_max_results = int
type nonrec packet_count = int
type nonrec list_vpc_endpoint_associations_response = {
  1. vpc_endpoint_associations : vpc_endpoint_associations option;
    (*

    The VPC endpoint assocation metadata objects for the firewall that you specified. If you didn't specify a firewall, this is all VPC endpoint associations that you have defined.

    Depending on your setting for max results and the number of firewalls you have, a single call might not be the full list.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_vpc_endpoint_associations_request = {
  1. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    If you don't specify this, Network Firewall retrieves all VPC endpoint associations that you have defined.

    *)
  2. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  3. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_tls_inspection_configurations_response = {
  1. tls_inspection_configurations : tls_inspection_configurations option;
    (*

    The TLS inspection configuration metadata objects that you've defined. Depending on your setting for max results and the number of TLS inspection configurations, this might not be the full list.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_tls_inspection_configurations_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_tags_for_resource_response = {
  1. tags : tag_list option;
    (*

    The tags that are associated with the resource.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_tags_for_resource_request = {
  1. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
  2. max_results : tags_pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  3. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_rule_groups_response = {
  1. rule_groups : rule_groups option;
    (*

    The rule group metadata objects that you've defined. Depending on your setting for max results and the number of rule groups, this might not be the full list.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_rule_groups_request = {
  1. type_ : rule_group_type option;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    *)
  2. subscription_status : subscription_status option;
    (*

    Filters the results to show only rule groups with the specified subscription status. Use this to find subscribed or unsubscribed rule groups.

    *)
  3. managed_type : resource_managed_type option;
    (*

    Indicates the general category of the Amazon Web Services managed rule group.

    *)
  4. scope : resource_managed_status option;
    (*

    The scope of the request. The default setting of ACCOUNT or a setting of NULL returns all of the rule groups in your account. A setting of MANAGED returns all available managed rule groups.

    *)
  5. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  6. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_proxy_rule_groups_response = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. proxy_rule_groups : proxy_rule_groups option;
    (*

    The metadata for the proxy rule groups. Depending on your setting for max results and the number of proxy rule groups that you have, this might not be the full list.

    *)
}
type nonrec list_proxy_rule_groups_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_proxy_configurations_response = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. proxy_configurations : proxy_configurations option;
    (*

    The metadata for the proxy configurations. Depending on your setting for max results and the number of proxy configurations that you have, this might not be the full list.

    *)
}
type nonrec list_proxy_configurations_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_proxies_response = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. proxies : proxies option;
    (*

    The metadata for the proxies. Depending on your setting for max results and the number of proxies that you have, this might not be the full list.

    *)
}
type nonrec list_proxies_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec flow_operation_type =
  1. | FLOW_CAPTURE
  2. | FLOW_FLUSH
type nonrec flow_request_timestamp = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec flow_operation_metadata = {
  1. flow_operation_status : flow_operation_status option;
    (*

    Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands.

    If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty.

    *)
  2. flow_request_timestamp : flow_request_timestamp option;
    (*

    A timestamp indicating when the Suricata engine identified flows impacted by an operation.

    *)
  3. flow_operation_type : flow_operation_type option;
    (*

    Defines the type of FlowOperation.

    *)
  4. flow_operation_id : flow_operation_id option;
    (*

    A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.

    *)
}

An array of objects with metadata about the requested FlowOperation.

type nonrec flow_operations = flow_operation_metadata list
type nonrec list_flow_operations_response = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. flow_operations : flow_operations option;
    (*

    Flow operations let you manage the flows tracked in the flow table, also known as the firewall table.

    A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort.

    *)
}
type nonrec list_flow_operations_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  3. flow_operation_type : flow_operation_type option;
    (*

    An optional string that defines whether any or all operation types are returned.

    *)
  4. vpc_endpoint_id : vpc_endpoint_id option;
    (*

    A unique identifier for the primary endpoint associated with a firewall.

    *)
  5. vpc_endpoint_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
  6. availability_zone : availability_zone option;
    (*

    The ID of the Availability Zone where the firewall is located. For example, us-east-2a.

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  7. firewall_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec byte_count = Smaws_Lib.CoreTypes.Int64.t
type nonrec flow = {
  1. byte_count : byte_count option;
    (*

    Returns the number of bytes received or transmitted in a specific flow.

    *)
  2. packet_count : packet_count option;
    (*

    Returns the total number of data packets received or transmitted in a flow.

    *)
  3. age : age option;
    (*

    Returned as info about age of the flows identified by the flow operation.

    *)
  4. protocol : protocol_string option;
    (*

    The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.

    *)
  5. destination_port : port option;
    (*

    The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    *)
  6. source_port : port option;
    (*

    The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

    *)
  7. destination_address : address option;
  8. source_address : address option;
}

Any number of arrays, where each array is a single flow identified in the scope of the operation. If multiple flows were in the scope of the operation, multiple Flows arrays are returned.

type nonrec flows = flow list
type nonrec list_flow_operation_results_response = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. flows : flows option;
    (*

    Any number of arrays, where each array is a single flow identified in the scope of the operation. If multiple flows were in the scope of the operation, multiple Flows arrays are returned.

    *)
  3. flow_request_timestamp : flow_request_timestamp option;
    (*

    A timestamp indicating when the Suricata engine identified flows impacted by an operation.

    *)
  4. status_message : status_reason option;
    (*

    If the asynchronous operation fails, Network Firewall populates this with the reason for the error or failure. Options include Flow operation error and Flow timeout.

    *)
  5. flow_operation_status : flow_operation_status option;
    (*

    Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands.

    If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty.

    *)
  6. flow_operation_id : flow_operation_id option;
    (*

    A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.

    *)
  7. vpc_endpoint_id : vpc_endpoint_id option;
  8. vpc_endpoint_association_arn : resource_arn option;
  9. availability_zone : availability_zone option;
    (*

    The ID of the Availability Zone where the firewall is located. For example, us-east-2a.

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  10. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec list_flow_operation_results_request = {
  1. vpc_endpoint_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
  2. vpc_endpoint_id : vpc_endpoint_id option;
    (*

    A unique identifier for the primary endpoint associated with a firewall.

    *)
  3. availability_zone : availability_zone option;
    (*

    The ID of the Availability Zone where the firewall is located. For example, us-east-2a.

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  4. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  5. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  6. flow_operation_id : flow_operation_id;
    (*

    A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.

    *)
  7. firewall_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec firewall_metadata = {
  1. transit_gateway_attachment_id : transit_gateway_attachment_id option;
    (*

    The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.

    *)
  2. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
}

High-level information about a firewall, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall.

type nonrec firewalls = firewall_metadata list
type nonrec list_firewalls_response = {
  1. firewalls : firewalls option;
    (*

    The firewall metadata objects for the VPCs that you specified. Depending on your setting for max results and the number of firewalls you have, a single call might not be the full list.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_firewalls_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. vpc_ids : vpc_ids option;
    (*

    The unique identifiers of the VPCs that you want Network Firewall to retrieve the firewalls for. Leave this blank to retrieve all firewalls that you have defined.

    *)
  3. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec firewall_policy_metadata = {
  1. arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    *)
  2. name : resource_name option;
    (*

    The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

    *)
}

High-level information about a firewall policy, returned by operations like create and describe. You can use the information provided in the metadata to retrieve and manage a firewall policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

type nonrec firewall_policies = firewall_policy_metadata list
type nonrec list_firewall_policies_response = {
  1. firewall_policies : firewall_policies option;
    (*

    The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec list_firewall_policies_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
}
type nonrec container_association_summary = {
  1. name : resource_name option;
    (*

    The descriptive name of the container association.

    *)
  2. arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association.

    *)
}

High-level information about a container association, returned by the ListContainerAssociations operation. You can use this information to retrieve the full details of a container association using DescribeContainerAssociation.

type nonrec container_associations = container_association_summary list
type nonrec list_container_associations_response = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. container_associations : container_associations option;
    (*

    The container association metadata objects.

    *)
}
type nonrec list_container_associations_request = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
}
type nonrec analysis_report = {
  1. status : status option;
    (*

    The status of the analysis report you specify. Statuses include RUNNING, COMPLETED, or FAILED.

    *)
  2. report_time : report_time option;
    (*

    The date and time the analysis report was ran.

    *)
  3. analysis_type : enabled_analysis_type option;
    (*

    The type of traffic that will be used to generate a report.

    *)
  4. analysis_report_id : analysis_report_id option;
    (*

    The unique ID of the query that ran when you requested an analysis report.

    *)
}

A report that captures key activity from the last 30 days of network traffic monitored by your firewall.

You can generate up to one report per traffic type, per 30 day period. For example, when you successfully create an HTTP traffic report, you cannot create another HTTP traffic report until 30 days pass. Alternatively, if you generate a report that combines metrics on both HTTP and HTTPS traffic, you cannot create another report for either traffic type until 30 days pass.

type nonrec analysis_reports = analysis_report list
type nonrec list_analysis_reports_response = {
  1. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  2. analysis_reports : analysis_reports option;
    (*

    The id and ReportTime associated with a requested analysis report. Does not provide the status of the analysis report.

    *)
}
type nonrec list_analysis_reports_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : pagination_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec end_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec analysis_report_next_token = string
type nonrec first_accessed = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec last_accessed = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec domain = string
type nonrec hits = {
  1. count : count option;
    (*

    The number of attempts made to access a domain.

    *)
}

Attempts made to a access domain.

type nonrec analysis_type_report_result = {
  1. unique_sources : unique_sources option;
    (*

    The number of unique source IP addresses that connected to a domain.

    *)
  2. hits : hits option;
    (*

    The number of attempts made to access a observed domain.

    *)
  3. domain : domain option;
    (*

    The most frequently accessed domains.

    *)
  4. last_accessed : last_accessed option;
    (*

    The date and time any domain was last accessed (within the last 30 day period).

    *)
  5. first_accessed : first_accessed option;
    (*

    The date and time any domain was first accessed (within the last 30 day period).

    *)
  6. protocol : collection_member__string option;
    (*

    The type of traffic captured by the analysis report.

    *)
}

The results of a COMPLETED analysis report generated with StartAnalysisReport.

For an example of traffic analysis report results, see the response syntax of GetAnalysisReportResults.

type nonrec analysis_report_results = analysis_type_report_result list
type nonrec get_analysis_report_results_response = {
  1. analysis_report_results : analysis_report_results option;
    (*

    Retrieves the results of a traffic analysis report.

    *)
  2. next_token : analysis_report_next_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  3. analysis_type : enabled_analysis_type option;
    (*

    The type of traffic that will be used to generate a report.

    *)
  4. report_time : report_time option;
    (*

    The date and time the analysis report was ran.

    *)
  5. end_time : end_time option;
    (*

    The date and time, up to the current date, from which to stop retrieving analysis data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

    *)
  6. start_time : start_time option;
    (*

    The date and time within the last 30 days from which to start retrieving analysis data, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ.

    *)
  7. status : status option;
    (*

    The status of the analysis report you specify. Statuses include RUNNING, COMPLETED, or FAILED.

    *)
}
type nonrec get_analysis_report_results_request = {
  1. max_results : pagination_max_results option;
    (*

    The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    *)
  2. next_token : analysis_report_next_token option;
    (*

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. analysis_report_id : analysis_report_id;
    (*

    The unique ID of the query that ran when you requested an analysis report.

    *)
  5. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec invalid_operation_exception = {
  1. message : error_message option;
}

The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use.

type nonrec disassociate_subnets_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. subnet_mappings : subnet_mappings option;
    (*

    The IDs of the subnets that are associated with the firewall.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec az_subnets = az_subnet list
type nonrec disassociate_subnets_request = {
  1. subnet_ids : az_subnets;
    (*

    The unique identifiers for the subnets that you want to disassociate.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec availability_zone_mapping_string = string
type nonrec availability_zone_mapping = {
  1. availability_zone : availability_zone_mapping_string;
    (*

    The ID of the Availability Zone where the firewall endpoint is located. For example, us-east-2a. The Availability Zone must be in the same Region as the transit gateway.

    *)
}

Defines the mapping between an Availability Zone and a firewall endpoint for a transit gateway-attached firewall. Each mapping represents where the firewall can process traffic. You use these mappings when calling CreateFirewall, AssociateAvailabilityZones, and DisassociateAvailabilityZones.

To retrieve the current Availability Zone mappings for a firewall, use DescribeFirewall.

type nonrec availability_zone_mappings = availability_zone_mapping list
type nonrec disassociate_availability_zones_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. availability_zone_mappings : availability_zone_mappings option;
    (*

    The remaining Availability Zones where the firewall has endpoints after the disassociation.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec disassociate_availability_zones_request = {
  1. availability_zone_mappings : availability_zone_mappings;
    (*

    Required. The Availability Zones to remove from the firewall's configuration.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec detach_rule_groups_from_proxy_configuration_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_configuration : proxy_configuration option;
    (*

    The updated proxy configuration resource that reflects the updates from the request.

    *)
}
type nonrec detach_rule_groups_from_proxy_configuration_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. rule_group_arns : resource_arn_list option;
    (*

    The proxy rule group arns to detach from the proxy configuration

    *)
  3. rule_group_names : resource_name_list option;
    (*

    The proxy rule group names to detach from the proxy configuration

    *)
  4. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
  5. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_vpc_endpoint_association_response = {
  1. vpc_endpoint_association_status : vpc_endpoint_association_status option;
    (*

    Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN.

    *)
  2. vpc_endpoint_association : vpc_endpoint_association option;
    (*

    The configuration settings for the VPC endpoint association. These settings include the firewall and the VPC and subnet to use for the firewall endpoint.

    *)
}
type nonrec describe_vpc_endpoint_association_request = {
  1. vpc_endpoint_association_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
}
type nonrec describe_tls_inspection_configuration_response = {
  1. tls_inspection_configuration_response : tls_inspection_configuration_response;
    (*

    The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

    *)
  2. tls_inspection_configuration : tls_inspection_configuration option;
    (*

    The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

    Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

    To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

    *)
  3. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.

    To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec describe_tls_inspection_configuration_request = {
  1. tls_inspection_configuration_name : resource_name option;
    (*

    The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. tls_inspection_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the TLS inspection configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_rule_group_summary_response = {
  1. summary : summary option;
    (*

    A complex type that contains rule information based on the rule group's configured summary settings. The content varies depending on the fields that you specified to extract in your SummaryConfiguration. When you haven't configured any summary settings, this returns an empty array. The response might include:

    • Rule identifiers
    • Rule descriptions
    • Any metadata fields that you specified in your SummaryConfiguration
    *)
  2. description : description option;
    (*

    A description of the rule group.

    *)
  3. rule_group_name : resource_name;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    *)
}
type nonrec describe_rule_group_summary_request = {
  1. type_ : rule_group_type option;
    (*

    The type of rule group you want a summary for. This is a required field.

    Valid value: STATEFUL

    Note that STATELESS exists but is not currently supported. If you provide STATELESS, an exception is returned.

    *)
  2. rule_group_arn : resource_arn option;
    (*

    Required. The Amazon Resource Name (ARN) of the rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. rule_group_name : resource_name option;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec listing_name = string
type nonrec describe_rule_group_metadata_response = {
  1. listing_name : listing_name option;
    (*

    The display name of the product listing for this rule group.

    *)
  2. product_id : product_id option;
    (*

    The unique identifier for the product listing associated with this rule group.

    *)
  3. vendor_name : vendor_name option;
    (*

    The name of the Amazon Web Services Marketplace vendor that provides this rule group.

    *)
  4. last_modified_time : last_update_time option;
    (*

    A timestamp indicating when the rule group was last modified.

    *)
  5. stateful_rule_options : stateful_rule_options option;
  6. capacity : rule_capacity option;
    (*

    The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

    You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

    *)
  7. type_ : rule_group_type option;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    This setting is required for requests that do not include the RuleGroupARN.

    *)
  8. description : description option;
    (*

    Returns the metadata objects for the specified rule group.

    *)
  9. rule_group_name : resource_name;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  10. rule_group_arn : resource_arn;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_rule_group_metadata_request = {
  1. type_ : rule_group_type option;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    This setting is required for requests that do not include the RuleGroupARN.

    *)
  2. rule_group_arn : resource_arn option;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. rule_group_name : resource_name option;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_rule_group_response = {
  1. rule_group_response : rule_group_response;
    (*

    The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

    *)
  2. rule_group : rule_group option;
    (*

    The object that defines the rules in a rule group. This, along with RuleGroupResponse, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

    Network Firewall uses a rule group to inspect and control network traffic. You define stateless rule groups to inspect individual packets and you define stateful rule groups to inspect packets in the context of their traffic flow.

    To use a rule group, you include it by reference in an Network Firewall firewall policy, then you use the policy in a firewall. You can reference a rule group from more than one firewall policy, and you can use a firewall policy in more than one firewall.

    *)
  3. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request.

    To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec describe_rule_group_request = {
  1. analyze_rule_group : boolean_ option;
    (*

    Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis.

    *)
  2. type_ : rule_group_type option;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    This setting is required for requests that do not include the RuleGroupARN.

    *)
  3. rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. rule_group_name : resource_name option;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_resource_policy_response = {
  1. policy : policy_string option;
    (*

    The IAM policy for the resource.

    *)
}
type nonrec describe_resource_policy_request = {
  1. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to retrieve.

    *)
}
type nonrec describe_proxy_rule_group_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request.

    To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_rule_group : proxy_rule_group option;
    (*

    The configuration for the specified proxy rule group.

    *)
}
type nonrec describe_proxy_rule_group_request = {
  1. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_proxy_rule_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request.

    To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_rule : proxy_rule option;
    (*

    The configuration for the specified proxy rule.

    *)
}
type nonrec describe_proxy_rule_request = {
  1. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. proxy_rule_name : resource_name;
    (*

    The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.

    *)
}
type nonrec describe_proxy_configuration_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_configuration : proxy_configuration option;
    (*

    The configuration for the specified proxy configuration.

    *)
}
type nonrec describe_proxy_configuration_request = {
  1. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_proxy_resource = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. failure_message : failure_message option;
    (*

    Failure message for cases when the Proxy fails to attach or update.

    *)
  3. failure_code : failure_code option;
    (*

    Failure code for cases when the Proxy fails to attach or update.

    *)
  4. update_time : update_time option;
    (*

    Time the Proxy was updated.

    *)
  5. delete_time : delete_time option;
    (*

    Time the Proxy was deleted.

    *)
  6. create_time : create_time option;
    (*

    Time the Proxy was created.

    *)
  7. private_dns_name : private_dns_name option;
    (*

    The private DNS name of the Proxy.

    *)
  8. vpc_endpoint_service_name : vpc_endpoint_service_name option;
    (*

    The service endpoint created in the VPC.

    *)
  9. tls_intercept_properties : tls_intercept_properties option;
    (*

    TLS decryption on traffic to filter on attributes in the HTTP header.

    *)
  10. listener_properties : listener_properties option;
    (*

    Listener properties for HTTP and HTTPS traffic.

    *)
  11. proxy_modify_state : proxy_modify_state option;
    (*

    Current modification status of the Proxy.

    *)
  12. proxy_state : proxy_state option;
    (*

    Current attachment/detachment status of the Proxy.

    *)
  13. nat_gateway_id : nat_gateway_id option;
    (*

    The NAT Gateway for the proxy.

    *)
  14. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    *)
  15. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    *)
  16. proxy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy.

    *)
  17. proxy_name : resource_name option;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    *)
}

Proxy attached to a NAT gateway.

type nonrec describe_proxy_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request.

    To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy : describe_proxy_resource option;
    (*

    Proxy attached to a NAT gateway.

    *)
}
type nonrec describe_proxy_request = {
  1. proxy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. proxy_name : resource_name option;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_logging_configuration_response = {
  1. enable_monitoring_dashboard : enable_monitoring_dashboard option;
    (*

    A boolean that reflects whether or not the firewall monitoring dashboard is enabled on a firewall.

    Returns TRUE when the firewall monitoring dashboard is enabled on the firewall. Returns FALSE when the firewall monitoring dashboard is not enabled on the firewall.

    *)
  2. logging_configuration : logging_configuration option;
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec describe_logging_configuration_request = {
  1. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec flow_operation = {
  1. flow_filters : flow_filters option;
    (*

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  2. minimum_flow_age_in_seconds : age option;
    (*

    The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands.

    *)
}

Contains information about a flow operation, such as related statuses, unique identifiers, and all filters defined in the operation.

Flow operations let you manage the flows tracked in the flow table, also known as the firewall table.

A flow is network traffic that is monitored by a firewall, either by stateful or stateless rules. For traffic to be considered part of a flow, it must share Destination, DestinationPort, Direction, Protocol, Source, and SourcePort.

type nonrec describe_flow_operation_response = {
  1. flow_operation : flow_operation option;
    (*

    Returns key information about a flow operation, such as related statuses, unique identifiers, and all filters defined in the operation.

    *)
  2. flow_request_timestamp : flow_request_timestamp option;
    (*

    A timestamp indicating when the Suricata engine identified flows impacted by an operation.

    *)
  3. status_message : status_reason option;
    (*

    If the asynchronous operation fails, Network Firewall populates this with the reason for the error or failure. Options include Flow operation error and Flow timeout.

    *)
  4. flow_operation_status : flow_operation_status option;
    (*

    Returns the status of the flow operation. This string is returned in the responses to start, list, and describe commands.

    If the status is COMPLETED_WITH_ERRORS, results may be returned with any number of Flows missing from the response. If the status is FAILED, Flows returned will be empty.

    *)
  5. flow_operation_type : flow_operation_type option;
    (*

    Defines the type of FlowOperation.

    *)
  6. flow_operation_id : flow_operation_id option;
    (*

    A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.

    *)
  7. vpc_endpoint_id : vpc_endpoint_id option;
    (*

    A unique identifier for the primary endpoint associated with a firewall.

    *)
  8. vpc_endpoint_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
  9. availability_zone : availability_zone option;
    (*

    The ID of the Availability Zone where the firewall is located. For example, us-east-2a.

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  10. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec describe_flow_operation_request = {
  1. flow_operation_id : flow_operation_id;
    (*

    A unique identifier for the flow operation. This ID is returned in the responses to start and list commands. You provide to describe commands.

    *)
  2. vpc_endpoint_id : vpc_endpoint_id option;
    (*

    A unique identifier for the primary endpoint associated with a firewall.

    *)
  3. vpc_endpoint_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
  4. availability_zone : availability_zone option;
    (*

    The ID of the Availability Zone where the firewall is located. For example, us-east-2a.

    Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

    *)
  5. firewall_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec describe_firewall_policy_response = {
  1. firewall_policy : firewall_policy option;
    (*

    The policy for the specified firewall policy.

    *)
  2. firewall_policy_response : firewall_policy_response;
    (*

    The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

    *)
  3. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

    To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec describe_firewall_policy_request = {
  1. firewall_policy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. firewall_policy_name : resource_name option;
    (*

    The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec describe_firewall_metadata_response = {
  1. transit_gateway_attachment_id : transit_gateway_attachment_id option;
    (*

    The unique identifier of the transit gateway attachment associated with this firewall. This field is only present for transit gateway-attached firewalls.

    *)
  2. supported_availability_zones : supported_availability_zones option;
    (*

    The Availability Zones that the firewall currently supports. This includes all Availability Zones for which the firewall has a subnet defined.

    *)
  3. status : firewall_status_value option;
    (*

    The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you have it configured. This setting is READY only when the ConfigurationSyncStateSummary value is IN_SYNC and the Attachment Status values for all of the configured subnets are READY.

    *)
  4. description : description option;
    (*

    A description of the firewall.

    *)
  5. firewall_policy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    *)
  6. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec describe_firewall_metadata_request = {
  1. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec aws_account_id = string
type nonrec firewall = {
  1. availability_zone_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to TRUE, you must first disable this protection before adding or removing Availability Zones.

    *)
  2. availability_zone_mappings : availability_zone_mappings option;
    (*

    The Availability Zones where the firewall endpoints are created for a transit gateway-attached firewall. Each mapping specifies an Availability Zone where the firewall processes traffic.

    *)
  3. transit_gateway_owner_account_id : aws_account_id option;
    (*

    The Amazon Web Services account ID that owns the transit gateway. This may be different from the firewall owner's account ID when using a shared transit gateway.

    *)
  4. transit_gateway_id : transit_gateway_id option;
    (*

    The unique identifier of the transit gateway associated with this firewall. This field is only present for transit gateway-attached firewalls.

    *)
  5. enabled_analysis_types : enabled_analysis_types option;
    (*

    An optional setting indicating the specific traffic analysis types to enable on the firewall.

    *)
  6. number_of_associations : number_of_associations option;
    (*

    The number of VpcEndpointAssociation resources that use this firewall.

    *)
  7. encryption_configuration : encryption_configuration option;
    (*

    A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.

    *)
  8. tags : tag_list option;
  9. firewall_id : resource_id;
    (*

    The unique identifier for the firewall.

    *)
  10. description : description option;
    (*

    A description of the firewall.

    *)
  11. firewall_policy_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  12. subnet_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  13. delete_protection : boolean_ option;
    (*

    A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

    *)
  14. subnet_mappings : subnet_mappings;
    (*

    The primary public subnets that Network Firewall is using for the firewall. Network Firewall creates a firewall endpoint in each subnet. Create a subnet mapping for each Availability Zone where you want to use the firewall.

    These subnets are all defined for a single, primary VPC, and each must belong to a different Availability Zone. Each of these subnets establishes the availability of the firewall in its Availability Zone.

    In addition to these subnets, you can define other endpoints for the firewall in VpcEndpointAssociation resources. You can define these additional endpoints for any VPC, and for any of the Availability Zones where the firewall resource already has a subnet mapping. VPC endpoint associations give you the ability to protect multiple VPCs using a single firewall, and to define multiple firewall endpoints for a VPC in a single Availability Zone.

    *)
  15. vpc_id : vpc_id;
    (*

    The unique identifier of the VPC where the firewall is in use.

    *)
  16. firewall_policy_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

    *)
  17. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
  18. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
}

A firewall defines the behavior of a firewall, the main VPC where the firewall is used, the Availability Zones where the firewall can be used, and one subnet to use for a firewall endpoint within each of the Availability Zones. The Availability Zones are defined implicitly in the subnet specifications.

In addition to the firewall endpoints that you define in this Firewall specification, you can create firewall endpoints in VpcEndpointAssociation resources for any VPC, in any Availability Zone where the firewall is already in use.

The status of the firewall, for example whether it's ready to filter network traffic, is provided in the corresponding FirewallStatus. You can retrieve both the firewall and firewall status by calling DescribeFirewall.

type nonrec configuration_sync_state =
  1. | CAPACITY_CONSTRAINED
  2. | IN_SYNC
  3. | PENDING
type nonrec cidr_count = int
type nonrec ip_set_metadata = {
  1. resolved_cidr_count : cidr_count option;
    (*

    Describes the total number of CIDR blocks currently in use by the IP set references in a firewall. To determine how many CIDR blocks are available for you to use in a firewall, you can call AvailableCIDRCount.

    *)
}

General information about the IP set.

type nonrec ip_set_arn = string
type nonrec ip_set_metadata_map = (ip_set_arn * ip_set_metadata) list
type nonrec cidr_summary = {
  1. ip_set_references : ip_set_metadata_map option;
    (*

    The list of the IP set references used by a firewall.

    *)
  2. utilized_cidr_count : cidr_count option;
    (*

    The number of CIDR blocks used by the IP set references in a firewall.

    *)
  3. available_cidr_count : cidr_count option;
    (*

    The number of CIDR blocks available for use by the IP set references in a firewall.

    *)
}

Summarizes the CIDR blocks used by the IP set references in a firewall. Network Firewall calculates the number of CIDRs by taking an aggregated count of all CIDRs used by the IP sets you are referencing.

type nonrec capacity_usage_summary = {
  1. cid_rs : cidr_summary option;
    (*

    Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.

    *)
}

The capacity usage summary of the resources used by the ReferenceSets in a firewall.

type nonrec firewall_status = {
  1. transit_gateway_attachment_sync_state : transit_gateway_attachment_sync_state option;
    (*

    The synchronization state of the transit gateway attachment. This indicates whether the firewall's transit gateway configuration is properly synchronized and operational. Use this to verify that your transit gateway configuration changes have been applied.

    *)
  2. capacity_usage_summary : capacity_usage_summary option;
    (*

    Describes the capacity usage of the resources contained in a firewall's reference sets. Network Firewall calculates the capacity usage by taking an aggregated count of all of the resources used by all of the reference sets in a firewall.

    *)
  3. sync_states : sync_states option;
    (*

    Status for the subnets that you've configured in the firewall. This contains one array element per Availability Zone where you've configured a subnet in the firewall.

    These objects provide detailed information for the settings ConfigurationSyncStateSummary and Status.

    *)
  4. configuration_sync_state_summary : configuration_sync_state;
    (*

    The configuration sync state for the firewall. This summarizes the Config settings in the SyncStates for this firewall status object.

    When you create a firewall or update its configuration, for example by adding a rule group to its firewall policy, Network Firewall distributes the configuration changes to all Availability Zones that have subnets defined for the firewall. This summary indicates whether the configuration changes have been applied everywhere.

    This status must be IN_SYNC for the firewall to be ready for use, but it doesn't indicate that the firewall is ready. The Status setting indicates firewall readiness. It's based on this setting and the readiness of the firewall endpoints to take traffic.

    *)
  5. status : firewall_status_value;
    (*

    The readiness of the configured firewall to handle network traffic across all of the Availability Zones where you have it configured. This setting is READY only when the ConfigurationSyncStateSummary value is IN_SYNC and the Attachment Status values for all of the configured subnets are READY.

    *)
}

Detailed information about the current status of a Firewall. You can retrieve this for a firewall by calling DescribeFirewall and providing the firewall name and ARN.

The firewall status indicates a combined status. It indicates whether all subnets are up-to-date with the latest firewall configurations, which is based on the sync states config values, and also whether all subnets have their endpoints fully enabled, based on their sync states attachment values.

type nonrec describe_firewall_response = {
  1. firewall_status : firewall_status option;
    (*

    Detailed information about the current status of a Firewall. You can retrieve this for a firewall by calling DescribeFirewall and providing the firewall name and ARN.

    The firewall status indicates a combined status. It indicates whether all subnets are up-to-date with the latest firewall configurations, which is based on the sync states config values, and also whether all subnets have their endpoints fully enabled, based on their sync states attachment values.

    *)
  2. firewall : firewall option;
    (*

    The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints.

    *)
  3. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec describe_firewall_request = {
  1. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec container_association_last_updated_time = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec describe_container_association_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request.

    *)
  2. tags : tag_list option;
    (*

    The key:value pairs associated with the resource.

    *)
  3. last_updated_time : container_association_last_updated_time option;
    (*

    The last time that the container association was updated or resolved new container IP addresses.

    *)
  4. resolved_cidr_count : cidr_count option;
    (*

    The number of CIDR blocks that have been resolved from the monitored containers for this container association.

    *)
  5. status : container_association_status option;
    (*

    The current status of the container association.

    *)
  6. container_monitoring_configurations : container_monitoring_configurations option;
    (*

    The container monitoring configurations for this container association.

    *)
  7. type_ : container_monitoring_type option;
    (*

    The type of container orchestration platform. Either ECS or EKS.

    *)
  8. description : description option;
    (*

    A description of the container association.

    *)
  9. container_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association.

    *)
  10. container_association_name : resource_name option;
    (*

    The descriptive name of the container association.

    *)
}
type nonrec describe_container_association_request = {
  1. container_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association. You must specify the ARN or the name, and you can specify both.

    *)
  2. container_association_name : resource_name option;
    (*

    The descriptive name of the container association. You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_vpc_endpoint_association_response = {
  1. vpc_endpoint_association_status : vpc_endpoint_association_status option;
    (*

    Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN.

    *)
  2. vpc_endpoint_association : vpc_endpoint_association option;
    (*

    The configuration settings for the VPC endpoint association. These settings include the firewall and the VPC and subnet to use for the firewall endpoint.

    *)
}
type nonrec delete_vpc_endpoint_association_request = {
  1. vpc_endpoint_association_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of a VPC endpoint association.

    *)
}
type nonrec delete_tls_inspection_configuration_response = {
  1. tls_inspection_configuration_response : tls_inspection_configuration_response;
    (*

    The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

    *)
}
type nonrec delete_tls_inspection_configuration_request = {
  1. tls_inspection_configuration_name : resource_name option;
    (*

    The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. tls_inspection_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the TLS inspection configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_rule_group_response = {
  1. rule_group_response : rule_group_response;
    (*

    The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

    *)
}
type nonrec delete_rule_group_request = {
  1. type_ : rule_group_type option;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    This setting is required for requests that do not include the RuleGroupARN.

    *)
  2. rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. rule_group_name : resource_name option;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_resource_policy_response = unit
type nonrec delete_resource_policy_request = {
  1. resource_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the rule group or firewall policy whose resource policy you want to delete.

    *)
}
type nonrec delete_proxy_rules_response = {
  1. proxy_rule_group : proxy_rule_group option;
    (*

    The properties that define the proxy rule group with the newly created proxy rule(s).

    *)
}
type nonrec delete_proxy_rules_request = {
  1. rules : resource_name_list;
    (*

    The proxy rule(s) to remove from the existing proxy rule group.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_proxy_rule_group_response = {
  1. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}
type nonrec delete_proxy_rule_group_request = {
  1. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_proxy_configuration_response = {
  1. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    *)
  2. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    *)
}
type nonrec delete_proxy_configuration_request = {
  1. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_proxy_response = {
  1. proxy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy.

    *)
  2. proxy_name : resource_name option;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    *)
  3. nat_gateway_id : nat_gateway_id option;
    (*

    The NAT Gateway the Proxy was attached to.

    *)
}
type nonrec delete_proxy_request = {
  1. proxy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. proxy_name : resource_name option;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. nat_gateway_id : nat_gateway_id;
    (*

    The NAT Gateway the proxy is attached to.

    *)
}
type nonrec delete_network_firewall_transit_gateway_attachment_response = {
  1. transit_gateway_attachment_status : transit_gateway_attachment_status;
    (*

    The current status of the transit gateway attachment deletion process.

    Valid values are:

    • CREATING - The attachment is being created
    • DELETING - The attachment is being deleted
    • DELETED - The attachment has been deleted
    • FAILED - The attachment creation has failed and cannot be recovered
    • ERROR - The attachment is in an error state that might be recoverable
    • READY - The attachment is active and processing traffic
    • PENDING_ACCEPTANCE - The attachment is waiting to be accepted
    • REJECTING - The attachment is in the process of being rejected
    • REJECTED - The attachment has been rejected
    *)
  2. transit_gateway_attachment_id : transit_gateway_attachment_id;
    (*

    The ID of the transit gateway attachment that was deleted.

    *)
}
type nonrec delete_network_firewall_transit_gateway_attachment_request = {
  1. transit_gateway_attachment_id : transit_gateway_attachment_id;
    (*

    Required. The unique identifier of the transit gateway attachment to delete.

    *)
}
type nonrec delete_firewall_policy_response = {
  1. firewall_policy_response : firewall_policy_response;
    (*

    The object containing the definition of the FirewallPolicyResponse that you asked to delete.

    *)
}
type nonrec delete_firewall_policy_request = {
  1. firewall_policy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. firewall_policy_name : resource_name option;
    (*

    The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_firewall_response = {
  1. firewall_status : firewall_status option;
  2. firewall : firewall option;
}
type nonrec delete_firewall_request = {
  1. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec delete_container_association_response = {
  1. status : container_association_status option;
    (*

    The current status of the container association.

    *)
  2. container_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association.

    *)
  3. container_association_name : resource_name option;
    (*

    The descriptive name of the container association.

    *)
}
type nonrec delete_container_association_request = {
  1. container_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association. You must specify the ARN or the name, and you can specify both.

    *)
  2. container_association_name : resource_name option;
    (*

    The descriptive name of the container association. You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec limit_exceeded_exception = {
  1. message : error_message option;
}

Unable to perform the operation because doing so would violate a limit setting.

type nonrec insufficient_capacity_exception = {
  1. message : error_message option;
}

Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your request later.

type nonrec create_vpc_endpoint_association_response = {
  1. vpc_endpoint_association_status : vpc_endpoint_association_status option;
    (*

    Detailed information about the current status of a VpcEndpointAssociation. You can retrieve this by calling DescribeVpcEndpointAssociation and providing the VPC endpoint association ARN.

    *)
  2. vpc_endpoint_association : vpc_endpoint_association option;
    (*

    The configuration settings for the VPC endpoint association. These settings include the firewall and the VPC and subnet to use for the firewall endpoint.

    *)
}
type nonrec create_vpc_endpoint_association_request = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. description : description option;
    (*

    A description of the VPC endpoint association.

    *)
  3. subnet_mapping : subnet_mapping;
  4. vpc_id : vpc_id;
    (*

    The unique identifier of the VPC where you want to create a firewall endpoint.

    *)
  5. firewall_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec create_tls_inspection_configuration_response = {
  1. tls_inspection_configuration_response : tls_inspection_configuration_response;
    (*

    The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

    *)
  2. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.

    To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec create_tls_inspection_configuration_request = {
  1. encryption_configuration : encryption_configuration option;
  2. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  3. description : description option;
    (*

    A description of the TLS inspection configuration.

    *)
  4. tls_inspection_configuration : tls_inspection_configuration;
    (*

    The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

    Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

    To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.

    *)
  5. tls_inspection_configuration_name : resource_name;
    (*

    The descriptive name of the TLS inspection configuration. You can't change the name of a TLS inspection configuration after you create it.

    *)
}
type nonrec create_rule_group_response = {
  1. rule_group_response : rule_group_response;
    (*

    The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.

    *)
  2. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the rule group. The token marks the state of the rule group resource at the time of the request.

    To make changes to the rule group, you provide the token in your request. Network Firewall uses the token to ensure that the rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec create_rule_group_request = {
  1. summary_configuration : summary_configuration option;
    (*

    An object that contains a RuleOptions array of strings. You use RuleOptions to determine which of the following RuleSummary values are returned in response to DescribeRuleGroupSummary.

    • Metadata - returns
    • Msg
    • SID
    *)
  2. analyze_rule_group : boolean_ option;
    (*

    Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis and then creates the rule group for you. To run the stateless rule group analyzer without creating the rule group, set DryRun to TRUE.

    *)
  3. source_metadata : source_metadata option;
    (*

    A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to keep track of updates made to the originating rule group.

    *)
  4. encryption_configuration : encryption_configuration option;
    (*

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

    *)
  5. dry_run : boolean_ option;
    (*

    Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

    If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

    If set to FALSE, Network Firewall makes the requested changes to your resources.

    *)
  6. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  7. capacity : rule_capacity;
    (*

    The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

    You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

    You can't change or exceed this capacity when you update the rule group, so leave room for your rule group to grow.

    Capacity for a stateless rule group

    For a stateless rule group, the capacity required is the sum of the capacity requirements of the individual rules that you expect to have in the rule group.

    To calculate the capacity requirement of a single rule, multiply the capacity requirement values of each of the rule's match settings:

    • A match setting with no criteria specified has a value of 1.
    • A match setting with Any specified has a value of 1.
    • All other match settings have a value equal to the number of elements provided in the setting. For example, a protocol setting ["UDP"] and a source setting ["10.0.0.0/24"] each have a value of 1. A protocol setting ["UDP","TCP"] has a value of 2. A source setting ["10.0.0.0/24","10.0.0.1/24","10.0.0.2/24"] has a value of 3.

    A rule with no criteria specified in any of its match settings has a capacity requirement of 1. A rule with protocol setting ["UDP","TCP"], source setting ["10.0.0.0/24","10.0.0.1/24","10.0.0.2/24"], and a single specification or no specification for each of the other match settings has a capacity requirement of 6.

    Capacity for a stateful rule group

    For a stateful rule group, the minimum capacity required is the number of individual rules that you expect to have in the rule group.

    *)
  8. description : description option;
    (*

    A description of the rule group.

    *)
  9. type_ : rule_group_type;
    (*

    Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.

    *)
  10. rules : rules_string option;
    (*

    A string containing stateful rule group rules specifications in Suricata flat format, with one rule per line. Use this to import your existing Suricata compatible rule groups.

    You must provide either this rules setting or a populated RuleGroup setting, but not both.

    You can provide your rule group specification in Suricata flat format through this setting when you create or update your rule group. The call response returns a RuleGroup object that Network Firewall has populated from your string.

    *)
  11. rule_group : rule_group option;
    (*

    An object that defines the rule group rules.

    You must provide either this rule group setting or a Rules setting, but not both.

    *)
  12. rule_group_name : resource_name;
    (*

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

    *)
}
type nonrec create_proxy_rules_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule. The token marks the state of the proxy rule resource at the time of the request.

    To make changes to the proxy rule, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_rule_group : proxy_rule_group option;
    (*

    The properties that define the proxy rule group with the newly created proxy rule(s).

    *)
}
type nonrec create_proxy_rule = {
  1. insert_position : insert_position option;
    (*

    Where to insert a proxy rule in a proxy rule group.

    *)
  2. conditions : proxy_rule_condition_list option;
    (*

    Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

    *)
  3. action : proxy_rule_phase_action option;
    (*

    Action to take.

    *)
  4. description : description option;
    (*

    A description of the proxy rule.

    *)
  5. proxy_rule_name : resource_name option;
    (*

    The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.

    *)
}

Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

type nonrec create_proxy_rule_list = create_proxy_rule list
type nonrec create_proxy_rules_by_request_phase = {
  1. post_respons_e : create_proxy_rule_list option;
    (*

    After receiving response.

    *)
  2. pre_reques_t : create_proxy_rule_list option;
    (*

    After DNS, before request.

    *)
  3. pre_dn_s : create_proxy_rule_list option;
    (*

    Before domain resolution.

    *)
}

Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

This data type is used specifically for the CreateProxyRules API.

Pre-DNS - before domain resolution.

Pre-Request - after DNS, before request.

Post-Response - after receiving response.

type nonrec create_proxy_rules_request = {
  1. rules : create_proxy_rules_by_request_phase;
    (*

    Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

    *)
  2. proxy_rule_group_name : resource_name option;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. proxy_rule_group_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy rule group.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec create_proxy_rule_group_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy rule group. The token marks the state of the proxy rule group resource at the time of the request.

    To make changes to the proxy rule group, you provide the token in your request. Network Firewall uses the token to ensure that the proxy rule group hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy rule group again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_rule_group : proxy_rule_group option;
    (*

    The properties that define the proxy rule group.

    *)
}
type nonrec create_proxy_rule_group_request = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. rules : proxy_rules_by_request_phase option;
    (*

    Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

    *)
  3. description : description option;
    (*

    A description of the proxy rule group.

    *)
  4. proxy_rule_group_name : resource_name;
    (*

    The descriptive name of the proxy rule group. You can't change the name of a proxy rule group after you create it.

    *)
}
type nonrec create_proxy_configuration_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_configuration : proxy_configuration option;
    (*

    The properties that define the proxy configuration.

    *)
}
type nonrec create_proxy_configuration_request = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. default_rule_phase_actions : proxy_config_default_rule_phase_actions_request;
    (*

    Evaluation points in the traffic flow where rules are applied. There are three phases in a traffic where the rule match is applied.

    *)
  3. rule_group_arns : resource_arn_list option;
    (*

    The proxy rule group arn(s) to attach to the proxy configuration.

    You must specify the ARNs or the names, and you can specify both.

    *)
  4. rule_group_names : resource_name_list option;
    (*

    The proxy rule group name(s) to attach to the proxy configuration.

    You must specify the ARNs or the names, and you can specify both.

    *)
  5. description : description option;
    (*

    A description of the proxy configuration.

    *)
  6. proxy_configuration_name : resource_name;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    *)
}
type nonrec create_proxy_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy. The token marks the state of the proxy resource at the time of the request.

    To make changes to the proxy, you provide the token in your request. Network Firewall uses the token to ensure that the proxy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy : proxy option;
    (*

    Proxy attached to a NAT gateway.

    *)
}
type nonrec create_proxy_request = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. tls_intercept_properties : tls_intercept_properties_request;
    (*

    TLS decryption on traffic to filter on attributes in the HTTP header.

    *)
  3. listener_properties : listener_properties_request option;
    (*

    Listener properties for HTTP and HTTPS traffic.

    *)
  4. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
  5. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  6. nat_gateway_id : nat_gateway_id;
    (*

    A unique identifier for the NAT gateway to use with proxy resources.

    *)
  7. proxy_name : resource_name;
    (*

    The descriptive name of the proxy. You can't change the name of a proxy after you create it.

    *)
}
type nonrec create_firewall_policy_response = {
  1. firewall_policy_response : firewall_policy_response;
    (*

    The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

    *)
  2. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request.

    To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec create_firewall_policy_request = {
  1. encryption_configuration : encryption_configuration option;
    (*

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

    *)
  2. dry_run : boolean_ option;
    (*

    Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.

    If set to TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.

    If set to FALSE, Network Firewall makes the requested changes to your resources.

    *)
  3. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  4. description : description option;
    (*

    A description of the firewall policy.

    *)
  5. firewall_policy : firewall_policy;
    (*

    The rule groups and policy actions to use in the firewall policy.

    *)
  6. firewall_policy_name : resource_name;
    (*

    The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

    *)
}
type nonrec create_firewall_response = {
  1. firewall_status : firewall_status option;
    (*

    Detailed information about the current status of a Firewall. You can retrieve this for a firewall by calling DescribeFirewall and providing the firewall name and ARN.

    The firewall status indicates a combined status. It indicates whether all subnets are up-to-date with the latest firewall configurations, which is based on the sync states config values, and also whether all subnets have their endpoints fully enabled, based on their sync states attachment values.

    *)
  2. firewall : firewall option;
    (*

    The configuration settings for the firewall. These settings include the firewall policy and the subnets in your VPC to use for the firewall endpoints.

    *)
}
type nonrec create_firewall_request = {
  1. availability_zone_change_protection : boolean_ option;
    (*

    Optional. A setting indicating whether the firewall is protected against changes to its Availability Zone configuration. When set to TRUE, you cannot add or remove Availability Zones without first disabling this protection using UpdateAvailabilityZoneChangeProtection.

    Default value: FALSE

    *)
  2. availability_zone_mappings : availability_zone_mappings option;
    (*

    Required. The Availability Zones where you want to create firewall endpoints for a transit gateway-attached firewall. You must specify at least one Availability Zone. Consider enabling the firewall in every Availability Zone where you have workloads to maintain Availability Zone isolation.

    You can modify Availability Zones later using AssociateAvailabilityZones or DisassociateAvailabilityZones, but this may briefly disrupt traffic. The AvailabilityZoneChangeProtection setting controls whether you can make these modifications.

    *)
  3. transit_gateway_id : transit_gateway_id option;
    (*

    Required when creating a transit gateway-attached firewall. The unique identifier of the transit gateway to attach to this firewall. You can provide either a transit gateway from your account or one that has been shared with you through Resource Access Manager.

    After creating the firewall, you cannot change the transit gateway association. To use a different transit gateway, you must create a new firewall.

    For information about creating firewalls, see CreateFirewall. For specific guidance about transit gateway-attached firewalls, see Considerations for transit gateway-attached firewalls in the Network Firewall Developer Guide.

    *)
  4. enabled_analysis_types : enabled_analysis_types option;
    (*

    An optional setting indicating the specific traffic analysis types to enable on the firewall.

    *)
  5. encryption_configuration : encryption_configuration option;
    (*

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

    *)
  6. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  7. description : description option;
    (*

    A description of the firewall.

    *)
  8. firewall_policy_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  9. subnet_change_protection : boolean_ option;
    (*

    A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

    *)
  10. delete_protection : boolean_ option;
    (*

    A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.

    *)
  11. subnet_mappings : subnet_mappings option;
    (*

    The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.

    *)
  12. vpc_id : vpc_id option;
    (*

    The unique identifier of the VPC where Network Firewall should create the firewall.

    You can't change this setting after you create the firewall.

    *)
  13. firewall_policy_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.

    *)
  14. firewall_name : resource_name;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
}
type nonrec create_container_association_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request. To make an update to the container association, provide the token in your request. Network Firewall uses the token to ensure that the container association hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the container association again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. tags : tag_list option;
    (*

    The key:value pairs associated with the resource.

    *)
  3. status : container_association_status option;
    (*

    The current status of the container association.

    *)
  4. container_monitoring_configurations : container_monitoring_configurations option;
    (*

    The container monitoring configurations for this container association.

    *)
  5. type_ : container_monitoring_type option;
    (*

    The type of container orchestration platform. Either ECS or EKS.

    *)
  6. description : description option;
    (*

    A description of the container association.

    *)
  7. container_association_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the container association.

    *)
  8. container_association_name : resource_name option;
    (*

    The descriptive name of the container association.

    *)
}
type nonrec create_container_association_request = {
  1. tags : tag_list option;
    (*

    The key:value pairs to associate with the resource.

    *)
  2. container_monitoring_configurations : container_monitoring_configurations;
    (*

    The list of container monitoring configurations that define which clusters and container attributes to monitor.

    *)
  3. type_ : container_monitoring_type;
    (*

    The type of container orchestration platform for the clusters in this association. Valid values are ECS and EKS. You can't change the type after creation.

    *)
  4. description : description option;
    (*

    A description of the container association.

    *)
  5. container_association_name : resource_name;
    (*

    The descriptive name of the container association. You can't change the name of a container association after you create it.

    *)
}
type nonrec attach_rule_groups_to_proxy_configuration_response = {
  1. update_token : update_token option;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. proxy_configuration : proxy_configuration option;
    (*

    The updated proxy configuration resource that reflects the updates from the request.

    *)
}
type nonrec attach_rule_groups_to_proxy_configuration_request = {
  1. update_token : update_token;
    (*

    A token used for optimistic locking. Network Firewall returns a token to your requests that access the proxy configuration. The token marks the state of the proxy configuration resource at the time of the request.

    To make changes to the proxy configuration, you provide the token in your request. Network Firewall uses the token to ensure that the proxy configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the proxy configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. rule_groups : proxy_rule_group_attachment_list;
    (*

    The proxy rule group(s) to attach to the proxy configuration

    *)
  3. proxy_configuration_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of a proxy configuration.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. proxy_configuration_name : resource_name option;
    (*

    The descriptive name of the proxy configuration. You can't change the name of a proxy configuration after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
}
type nonrec associate_subnets_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. subnet_mappings : subnet_mappings option;
    (*

    The IDs of the subnets that are associated with the firewall.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec associate_subnets_request = {
  1. subnet_mappings : subnet_mappings;
    (*

    The IDs of the subnets that you want to associate with the firewall.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec associate_firewall_policy_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. firewall_policy_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec associate_firewall_policy_request = {
  1. firewall_policy_arn : resource_arn;
    (*

    The Amazon Resource Name (ARN) of the firewall policy.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec associate_availability_zones_response = {
  1. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
  2. availability_zone_mappings : availability_zone_mappings option;
    (*

    The Availability Zones where Network Firewall created firewall endpoints. Each mapping specifies an Availability Zone where the firewall processes traffic.

    *)
  3. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    *)
  4. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    *)
}
type nonrec associate_availability_zones_request = {
  1. availability_zone_mappings : availability_zone_mappings;
    (*

    Required. The Availability Zones where you want to create firewall endpoints. You must specify at least one Availability Zone.

    *)
  2. firewall_name : resource_name option;
    (*

    The descriptive name of the firewall. You can't change the name of a firewall after you create it.

    You must specify the ARN or the name, and you can specify both.

    *)
  3. firewall_arn : resource_arn option;
    (*

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

    *)
  4. update_token : update_token option;
    (*

    An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request.

    To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.

    To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.

    *)
}
type nonrec accept_network_firewall_transit_gateway_attachment_response = {
  1. transit_gateway_attachment_status : transit_gateway_attachment_status;
    (*

    The current status of the transit gateway attachment. Valid values are:

    • CREATING - The attachment is being created
    • DELETING - The attachment is being deleted
    • DELETED - The attachment has been deleted
    • FAILED - The attachment creation has failed and cannot be recovered
    • ERROR - The attachment is in an error state that might be recoverable
    • READY - The attachment is active and processing traffic
    • PENDING_ACCEPTANCE - The attachment is waiting to be accepted
    • REJECTING - The attachment is in the process of being rejected
    • REJECTED - The attachment has been rejected
    *)
  2. transit_gateway_attachment_id : transit_gateway_attachment_id;
    (*

    The unique identifier of the transit gateway attachment that was accepted.

    *)
}
type nonrec accept_network_firewall_transit_gateway_attachment_request = {
  1. transit_gateway_attachment_id : transit_gateway_attachment_id;
    (*

    Required. The unique identifier of the transit gateway attachment to accept. This ID is returned in the response when creating a transit gateway-attached firewall.

    *)
}