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 |
Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
Synopsis
- data GetFirewallConfig = GetFirewallConfig' {
- resourceId :: Text
- newGetFirewallConfig :: Text -> GetFirewallConfig
- getFirewallConfig_resourceId :: Lens' GetFirewallConfig Text
- data GetFirewallConfigResponse = GetFirewallConfigResponse' {}
- newGetFirewallConfigResponse :: Int -> GetFirewallConfigResponse
- getFirewallConfigResponse_firewallConfig :: Lens' GetFirewallConfigResponse (Maybe FirewallConfig)
- getFirewallConfigResponse_httpStatus :: Lens' GetFirewallConfigResponse Int
Creating a Request
data GetFirewallConfig Source #
See: newGetFirewallConfig
smart constructor.
GetFirewallConfig' | |
|
Instances
Create a value of GetFirewallConfig
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:resourceId:GetFirewallConfig'
, getFirewallConfig_resourceId
- The ID of the VPC from Amazon VPC that the configuration is for.
Request Lenses
getFirewallConfig_resourceId :: Lens' GetFirewallConfig Text Source #
The ID of the VPC from Amazon VPC that the configuration is for.
Destructuring the Response
data GetFirewallConfigResponse Source #
See: newGetFirewallConfigResponse
smart constructor.
GetFirewallConfigResponse' | |
|
Instances
newGetFirewallConfigResponse Source #
Create a value of GetFirewallConfigResponse
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:firewallConfig:GetFirewallConfigResponse'
, getFirewallConfigResponse_firewallConfig
- Configuration of the firewall behavior provided by DNS Firewall for a
single VPC from AmazonVPC.
$sel:httpStatus:GetFirewallConfigResponse'
, getFirewallConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getFirewallConfigResponse_firewallConfig :: Lens' GetFirewallConfigResponse (Maybe FirewallConfig) Source #
Configuration of the firewall behavior provided by DNS Firewall for a single VPC from AmazonVPC.
getFirewallConfigResponse_httpStatus :: Lens' GetFirewallConfigResponse Int Source #
The response's http status code.