| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.DnsRequestAction
Description
Documentation
data DnsRequestAction Source #
Provided if ActionType is DNS_REQUEST. It provides details about the
DNS request that was detected.
See: newDnsRequestAction smart constructor.
Constructors
| DnsRequestAction' | |
Instances
newDnsRequestAction :: DnsRequestAction Source #
Create a value of DnsRequestAction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domain:DnsRequestAction', dnsRequestAction_domain - The DNS domain that is associated with the DNS request.
$sel:protocol:DnsRequestAction', dnsRequestAction_protocol - The protocol that was used for the DNS request.
$sel:blocked:DnsRequestAction', dnsRequestAction_blocked - Indicates whether the DNS request was blocked.
dnsRequestAction_domain :: Lens' DnsRequestAction (Maybe Text) Source #
The DNS domain that is associated with the DNS request.
dnsRequestAction_protocol :: Lens' DnsRequestAction (Maybe Text) Source #
The protocol that was used for the DNS request.
dnsRequestAction_blocked :: Lens' DnsRequestAction (Maybe Bool) Source #
Indicates whether the DNS request was blocked.