{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.EC2.DescribeVpcAttribute
(
DescribeVpcAttribute (..),
newDescribeVpcAttribute,
describeVpcAttribute_dryRun,
describeVpcAttribute_attribute,
describeVpcAttribute_vpcId,
DescribeVpcAttributeResponse (..),
newDescribeVpcAttributeResponse,
describeVpcAttributeResponse_enableDnsHostnames,
describeVpcAttributeResponse_enableDnsSupport,
describeVpcAttributeResponse_enableNetworkAddressUsageMetrics,
describeVpcAttributeResponse_vpcId,
describeVpcAttributeResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.EC2.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeVpcAttribute = DescribeVpcAttribute'
{
DescribeVpcAttribute -> Maybe Bool
dryRun :: Prelude.Maybe Prelude.Bool,
DescribeVpcAttribute -> VpcAttributeName
attribute :: VpcAttributeName,
DescribeVpcAttribute -> Text
vpcId :: Prelude.Text
}
deriving (DescribeVpcAttribute -> DescribeVpcAttribute -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeVpcAttribute -> DescribeVpcAttribute -> Bool
$c/= :: DescribeVpcAttribute -> DescribeVpcAttribute -> Bool
== :: DescribeVpcAttribute -> DescribeVpcAttribute -> Bool
$c== :: DescribeVpcAttribute -> DescribeVpcAttribute -> Bool
Prelude.Eq, ReadPrec [DescribeVpcAttribute]
ReadPrec DescribeVpcAttribute
Int -> ReadS DescribeVpcAttribute
ReadS [DescribeVpcAttribute]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeVpcAttribute]
$creadListPrec :: ReadPrec [DescribeVpcAttribute]
readPrec :: ReadPrec DescribeVpcAttribute
$creadPrec :: ReadPrec DescribeVpcAttribute
readList :: ReadS [DescribeVpcAttribute]
$creadList :: ReadS [DescribeVpcAttribute]
readsPrec :: Int -> ReadS DescribeVpcAttribute
$creadsPrec :: Int -> ReadS DescribeVpcAttribute
Prelude.Read, Int -> DescribeVpcAttribute -> ShowS
[DescribeVpcAttribute] -> ShowS
DescribeVpcAttribute -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeVpcAttribute] -> ShowS
$cshowList :: [DescribeVpcAttribute] -> ShowS
show :: DescribeVpcAttribute -> String
$cshow :: DescribeVpcAttribute -> String
showsPrec :: Int -> DescribeVpcAttribute -> ShowS
$cshowsPrec :: Int -> DescribeVpcAttribute -> ShowS
Prelude.Show, forall x. Rep DescribeVpcAttribute x -> DescribeVpcAttribute
forall x. DescribeVpcAttribute -> Rep DescribeVpcAttribute x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeVpcAttribute x -> DescribeVpcAttribute
$cfrom :: forall x. DescribeVpcAttribute -> Rep DescribeVpcAttribute x
Prelude.Generic)
newDescribeVpcAttribute ::
VpcAttributeName ->
Prelude.Text ->
DescribeVpcAttribute
newDescribeVpcAttribute :: VpcAttributeName -> Text -> DescribeVpcAttribute
newDescribeVpcAttribute VpcAttributeName
pAttribute_ Text
pVpcId_ =
DescribeVpcAttribute'
{ $sel:dryRun:DescribeVpcAttribute' :: Maybe Bool
dryRun = forall a. Maybe a
Prelude.Nothing,
$sel:attribute:DescribeVpcAttribute' :: VpcAttributeName
attribute = VpcAttributeName
pAttribute_,
$sel:vpcId:DescribeVpcAttribute' :: Text
vpcId = Text
pVpcId_
}
describeVpcAttribute_dryRun :: Lens.Lens' DescribeVpcAttribute (Prelude.Maybe Prelude.Bool)
describeVpcAttribute_dryRun :: Lens' DescribeVpcAttribute (Maybe Bool)
describeVpcAttribute_dryRun = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttribute' {Maybe Bool
dryRun :: Maybe Bool
$sel:dryRun:DescribeVpcAttribute' :: DescribeVpcAttribute -> Maybe Bool
dryRun} -> Maybe Bool
dryRun) (\s :: DescribeVpcAttribute
s@DescribeVpcAttribute' {} Maybe Bool
a -> DescribeVpcAttribute
s {$sel:dryRun:DescribeVpcAttribute' :: Maybe Bool
dryRun = Maybe Bool
a} :: DescribeVpcAttribute)
describeVpcAttribute_attribute :: Lens.Lens' DescribeVpcAttribute VpcAttributeName
describeVpcAttribute_attribute :: Lens' DescribeVpcAttribute VpcAttributeName
describeVpcAttribute_attribute = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttribute' {VpcAttributeName
attribute :: VpcAttributeName
$sel:attribute:DescribeVpcAttribute' :: DescribeVpcAttribute -> VpcAttributeName
attribute} -> VpcAttributeName
attribute) (\s :: DescribeVpcAttribute
s@DescribeVpcAttribute' {} VpcAttributeName
a -> DescribeVpcAttribute
s {$sel:attribute:DescribeVpcAttribute' :: VpcAttributeName
attribute = VpcAttributeName
a} :: DescribeVpcAttribute)
describeVpcAttribute_vpcId :: Lens.Lens' DescribeVpcAttribute Prelude.Text
describeVpcAttribute_vpcId :: Lens' DescribeVpcAttribute Text
describeVpcAttribute_vpcId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttribute' {Text
vpcId :: Text
$sel:vpcId:DescribeVpcAttribute' :: DescribeVpcAttribute -> Text
vpcId} -> Text
vpcId) (\s :: DescribeVpcAttribute
s@DescribeVpcAttribute' {} Text
a -> DescribeVpcAttribute
s {$sel:vpcId:DescribeVpcAttribute' :: Text
vpcId = Text
a} :: DescribeVpcAttribute)
instance Core.AWSRequest DescribeVpcAttribute where
type
AWSResponse DescribeVpcAttribute =
DescribeVpcAttributeResponse
request :: (Service -> Service)
-> DescribeVpcAttribute -> Request DescribeVpcAttribute
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy DescribeVpcAttribute
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeVpcAttribute)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXML
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe AttributeBooleanValue
-> Maybe AttributeBooleanValue
-> Maybe AttributeBooleanValue
-> Maybe Text
-> Int
-> DescribeVpcAttributeResponse
DescribeVpcAttributeResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"enableDnsHostnames")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"enableDnsSupport")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"enableNetworkAddressUsageMetrics")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"vpcId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable DescribeVpcAttribute where
hashWithSalt :: Int -> DescribeVpcAttribute -> Int
hashWithSalt Int
_salt DescribeVpcAttribute' {Maybe Bool
Text
VpcAttributeName
vpcId :: Text
attribute :: VpcAttributeName
dryRun :: Maybe Bool
$sel:vpcId:DescribeVpcAttribute' :: DescribeVpcAttribute -> Text
$sel:attribute:DescribeVpcAttribute' :: DescribeVpcAttribute -> VpcAttributeName
$sel:dryRun:DescribeVpcAttribute' :: DescribeVpcAttribute -> Maybe Bool
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
dryRun
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` VpcAttributeName
attribute
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
vpcId
instance Prelude.NFData DescribeVpcAttribute where
rnf :: DescribeVpcAttribute -> ()
rnf DescribeVpcAttribute' {Maybe Bool
Text
VpcAttributeName
vpcId :: Text
attribute :: VpcAttributeName
dryRun :: Maybe Bool
$sel:vpcId:DescribeVpcAttribute' :: DescribeVpcAttribute -> Text
$sel:attribute:DescribeVpcAttribute' :: DescribeVpcAttribute -> VpcAttributeName
$sel:dryRun:DescribeVpcAttribute' :: DescribeVpcAttribute -> Maybe Bool
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
dryRun
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf VpcAttributeName
attribute
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
vpcId
instance Data.ToHeaders DescribeVpcAttribute where
toHeaders :: DescribeVpcAttribute -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
instance Data.ToPath DescribeVpcAttribute where
toPath :: DescribeVpcAttribute -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery DescribeVpcAttribute where
toQuery :: DescribeVpcAttribute -> QueryString
toQuery DescribeVpcAttribute' {Maybe Bool
Text
VpcAttributeName
vpcId :: Text
attribute :: VpcAttributeName
dryRun :: Maybe Bool
$sel:vpcId:DescribeVpcAttribute' :: DescribeVpcAttribute -> Text
$sel:attribute:DescribeVpcAttribute' :: DescribeVpcAttribute -> VpcAttributeName
$sel:dryRun:DescribeVpcAttribute' :: DescribeVpcAttribute -> Maybe Bool
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"DescribeVpcAttribute" :: Prelude.ByteString),
ByteString
"Version"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2016-11-15" :: Prelude.ByteString),
ByteString
"DryRun" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
dryRun,
ByteString
"Attribute" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: VpcAttributeName
attribute,
ByteString
"VpcId" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
vpcId
]
data DescribeVpcAttributeResponse = DescribeVpcAttributeResponse'
{
DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
enableDnsHostnames :: Prelude.Maybe AttributeBooleanValue,
DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
enableDnsSupport :: Prelude.Maybe AttributeBooleanValue,
DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
enableNetworkAddressUsageMetrics :: Prelude.Maybe AttributeBooleanValue,
DescribeVpcAttributeResponse -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
DescribeVpcAttributeResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeVpcAttributeResponse
-> DescribeVpcAttributeResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeVpcAttributeResponse
-> DescribeVpcAttributeResponse -> Bool
$c/= :: DescribeVpcAttributeResponse
-> DescribeVpcAttributeResponse -> Bool
== :: DescribeVpcAttributeResponse
-> DescribeVpcAttributeResponse -> Bool
$c== :: DescribeVpcAttributeResponse
-> DescribeVpcAttributeResponse -> Bool
Prelude.Eq, ReadPrec [DescribeVpcAttributeResponse]
ReadPrec DescribeVpcAttributeResponse
Int -> ReadS DescribeVpcAttributeResponse
ReadS [DescribeVpcAttributeResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeVpcAttributeResponse]
$creadListPrec :: ReadPrec [DescribeVpcAttributeResponse]
readPrec :: ReadPrec DescribeVpcAttributeResponse
$creadPrec :: ReadPrec DescribeVpcAttributeResponse
readList :: ReadS [DescribeVpcAttributeResponse]
$creadList :: ReadS [DescribeVpcAttributeResponse]
readsPrec :: Int -> ReadS DescribeVpcAttributeResponse
$creadsPrec :: Int -> ReadS DescribeVpcAttributeResponse
Prelude.Read, Int -> DescribeVpcAttributeResponse -> ShowS
[DescribeVpcAttributeResponse] -> ShowS
DescribeVpcAttributeResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeVpcAttributeResponse] -> ShowS
$cshowList :: [DescribeVpcAttributeResponse] -> ShowS
show :: DescribeVpcAttributeResponse -> String
$cshow :: DescribeVpcAttributeResponse -> String
showsPrec :: Int -> DescribeVpcAttributeResponse -> ShowS
$cshowsPrec :: Int -> DescribeVpcAttributeResponse -> ShowS
Prelude.Show, forall x.
Rep DescribeVpcAttributeResponse x -> DescribeVpcAttributeResponse
forall x.
DescribeVpcAttributeResponse -> Rep DescribeVpcAttributeResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeVpcAttributeResponse x -> DescribeVpcAttributeResponse
$cfrom :: forall x.
DescribeVpcAttributeResponse -> Rep DescribeVpcAttributeResponse x
Prelude.Generic)
newDescribeVpcAttributeResponse ::
Prelude.Int ->
DescribeVpcAttributeResponse
newDescribeVpcAttributeResponse :: Int -> DescribeVpcAttributeResponse
newDescribeVpcAttributeResponse Int
pHttpStatus_ =
DescribeVpcAttributeResponse'
{ $sel:enableDnsHostnames:DescribeVpcAttributeResponse' :: Maybe AttributeBooleanValue
enableDnsHostnames =
forall a. Maybe a
Prelude.Nothing,
$sel:enableDnsSupport:DescribeVpcAttributeResponse' :: Maybe AttributeBooleanValue
enableDnsSupport = forall a. Maybe a
Prelude.Nothing,
$sel:enableNetworkAddressUsageMetrics:DescribeVpcAttributeResponse' :: Maybe AttributeBooleanValue
enableNetworkAddressUsageMetrics =
forall a. Maybe a
Prelude.Nothing,
$sel:vpcId:DescribeVpcAttributeResponse' :: Maybe Text
vpcId = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeVpcAttributeResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeVpcAttributeResponse_enableDnsHostnames :: Lens.Lens' DescribeVpcAttributeResponse (Prelude.Maybe AttributeBooleanValue)
describeVpcAttributeResponse_enableDnsHostnames :: Lens' DescribeVpcAttributeResponse (Maybe AttributeBooleanValue)
describeVpcAttributeResponse_enableDnsHostnames = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttributeResponse' {Maybe AttributeBooleanValue
enableDnsHostnames :: Maybe AttributeBooleanValue
$sel:enableDnsHostnames:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
enableDnsHostnames} -> Maybe AttributeBooleanValue
enableDnsHostnames) (\s :: DescribeVpcAttributeResponse
s@DescribeVpcAttributeResponse' {} Maybe AttributeBooleanValue
a -> DescribeVpcAttributeResponse
s {$sel:enableDnsHostnames:DescribeVpcAttributeResponse' :: Maybe AttributeBooleanValue
enableDnsHostnames = Maybe AttributeBooleanValue
a} :: DescribeVpcAttributeResponse)
describeVpcAttributeResponse_enableDnsSupport :: Lens.Lens' DescribeVpcAttributeResponse (Prelude.Maybe AttributeBooleanValue)
describeVpcAttributeResponse_enableDnsSupport :: Lens' DescribeVpcAttributeResponse (Maybe AttributeBooleanValue)
describeVpcAttributeResponse_enableDnsSupport = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttributeResponse' {Maybe AttributeBooleanValue
enableDnsSupport :: Maybe AttributeBooleanValue
$sel:enableDnsSupport:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
enableDnsSupport} -> Maybe AttributeBooleanValue
enableDnsSupport) (\s :: DescribeVpcAttributeResponse
s@DescribeVpcAttributeResponse' {} Maybe AttributeBooleanValue
a -> DescribeVpcAttributeResponse
s {$sel:enableDnsSupport:DescribeVpcAttributeResponse' :: Maybe AttributeBooleanValue
enableDnsSupport = Maybe AttributeBooleanValue
a} :: DescribeVpcAttributeResponse)
describeVpcAttributeResponse_enableNetworkAddressUsageMetrics :: Lens.Lens' DescribeVpcAttributeResponse (Prelude.Maybe AttributeBooleanValue)
describeVpcAttributeResponse_enableNetworkAddressUsageMetrics :: Lens' DescribeVpcAttributeResponse (Maybe AttributeBooleanValue)
describeVpcAttributeResponse_enableNetworkAddressUsageMetrics = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttributeResponse' {Maybe AttributeBooleanValue
enableNetworkAddressUsageMetrics :: Maybe AttributeBooleanValue
$sel:enableNetworkAddressUsageMetrics:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
enableNetworkAddressUsageMetrics} -> Maybe AttributeBooleanValue
enableNetworkAddressUsageMetrics) (\s :: DescribeVpcAttributeResponse
s@DescribeVpcAttributeResponse' {} Maybe AttributeBooleanValue
a -> DescribeVpcAttributeResponse
s {$sel:enableNetworkAddressUsageMetrics:DescribeVpcAttributeResponse' :: Maybe AttributeBooleanValue
enableNetworkAddressUsageMetrics = Maybe AttributeBooleanValue
a} :: DescribeVpcAttributeResponse)
describeVpcAttributeResponse_vpcId :: Lens.Lens' DescribeVpcAttributeResponse (Prelude.Maybe Prelude.Text)
describeVpcAttributeResponse_vpcId :: Lens' DescribeVpcAttributeResponse (Maybe Text)
describeVpcAttributeResponse_vpcId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttributeResponse' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: DescribeVpcAttributeResponse
s@DescribeVpcAttributeResponse' {} Maybe Text
a -> DescribeVpcAttributeResponse
s {$sel:vpcId:DescribeVpcAttributeResponse' :: Maybe Text
vpcId = Maybe Text
a} :: DescribeVpcAttributeResponse)
describeVpcAttributeResponse_httpStatus :: Lens.Lens' DescribeVpcAttributeResponse Prelude.Int
describeVpcAttributeResponse_httpStatus :: Lens' DescribeVpcAttributeResponse Int
describeVpcAttributeResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeVpcAttributeResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeVpcAttributeResponse
s@DescribeVpcAttributeResponse' {} Int
a -> DescribeVpcAttributeResponse
s {$sel:httpStatus:DescribeVpcAttributeResponse' :: Int
httpStatus = Int
a} :: DescribeVpcAttributeResponse)
instance Prelude.NFData DescribeVpcAttributeResponse where
rnf :: DescribeVpcAttributeResponse -> ()
rnf DescribeVpcAttributeResponse' {Int
Maybe Text
Maybe AttributeBooleanValue
httpStatus :: Int
vpcId :: Maybe Text
enableNetworkAddressUsageMetrics :: Maybe AttributeBooleanValue
enableDnsSupport :: Maybe AttributeBooleanValue
enableDnsHostnames :: Maybe AttributeBooleanValue
$sel:httpStatus:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Int
$sel:vpcId:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe Text
$sel:enableNetworkAddressUsageMetrics:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
$sel:enableDnsSupport:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
$sel:enableDnsHostnames:DescribeVpcAttributeResponse' :: DescribeVpcAttributeResponse -> Maybe AttributeBooleanValue
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe AttributeBooleanValue
enableDnsHostnames
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe AttributeBooleanValue
enableDnsSupport
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe AttributeBooleanValue
enableNetworkAddressUsageMetrics
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
vpcId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus