{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.EC2.DisassociateVpcCidrBlock
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Disassociates a CIDR block from a VPC. To disassociate the CIDR block,
-- you must specify its association ID. You can get the association ID by
-- using DescribeVpcs. You must detach or delete all gateways and resources
-- that are associated with the CIDR block before you can disassociate it.
--
-- You cannot disassociate the CIDR block with which you originally created
-- the VPC (the primary CIDR block).
module Amazonka.EC2.DisassociateVpcCidrBlock
  ( -- * Creating a Request
    DisassociateVpcCidrBlock (..),
    newDisassociateVpcCidrBlock,

    -- * Request Lenses
    disassociateVpcCidrBlock_associationId,

    -- * Destructuring the Response
    DisassociateVpcCidrBlockResponse (..),
    newDisassociateVpcCidrBlockResponse,

    -- * Response Lenses
    disassociateVpcCidrBlockResponse_cidrBlockAssociation,
    disassociateVpcCidrBlockResponse_ipv6CidrBlockAssociation,
    disassociateVpcCidrBlockResponse_vpcId,
    disassociateVpcCidrBlockResponse_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

-- | /See:/ 'newDisassociateVpcCidrBlock' smart constructor.
data DisassociateVpcCidrBlock = DisassociateVpcCidrBlock'
  { -- | The association ID for the CIDR block.
    DisassociateVpcCidrBlock -> Text
associationId :: Prelude.Text
  }
  deriving (DisassociateVpcCidrBlock -> DisassociateVpcCidrBlock -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DisassociateVpcCidrBlock -> DisassociateVpcCidrBlock -> Bool
$c/= :: DisassociateVpcCidrBlock -> DisassociateVpcCidrBlock -> Bool
== :: DisassociateVpcCidrBlock -> DisassociateVpcCidrBlock -> Bool
$c== :: DisassociateVpcCidrBlock -> DisassociateVpcCidrBlock -> Bool
Prelude.Eq, ReadPrec [DisassociateVpcCidrBlock]
ReadPrec DisassociateVpcCidrBlock
Int -> ReadS DisassociateVpcCidrBlock
ReadS [DisassociateVpcCidrBlock]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DisassociateVpcCidrBlock]
$creadListPrec :: ReadPrec [DisassociateVpcCidrBlock]
readPrec :: ReadPrec DisassociateVpcCidrBlock
$creadPrec :: ReadPrec DisassociateVpcCidrBlock
readList :: ReadS [DisassociateVpcCidrBlock]
$creadList :: ReadS [DisassociateVpcCidrBlock]
readsPrec :: Int -> ReadS DisassociateVpcCidrBlock
$creadsPrec :: Int -> ReadS DisassociateVpcCidrBlock
Prelude.Read, Int -> DisassociateVpcCidrBlock -> ShowS
[DisassociateVpcCidrBlock] -> ShowS
DisassociateVpcCidrBlock -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DisassociateVpcCidrBlock] -> ShowS
$cshowList :: [DisassociateVpcCidrBlock] -> ShowS
show :: DisassociateVpcCidrBlock -> String
$cshow :: DisassociateVpcCidrBlock -> String
showsPrec :: Int -> DisassociateVpcCidrBlock -> ShowS
$cshowsPrec :: Int -> DisassociateVpcCidrBlock -> ShowS
Prelude.Show, forall x.
Rep DisassociateVpcCidrBlock x -> DisassociateVpcCidrBlock
forall x.
DisassociateVpcCidrBlock -> Rep DisassociateVpcCidrBlock x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DisassociateVpcCidrBlock x -> DisassociateVpcCidrBlock
$cfrom :: forall x.
DisassociateVpcCidrBlock -> Rep DisassociateVpcCidrBlock x
Prelude.Generic)

-- |
-- Create a value of 'DisassociateVpcCidrBlock' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'associationId', 'disassociateVpcCidrBlock_associationId' - The association ID for the CIDR block.
newDisassociateVpcCidrBlock ::
  -- | 'associationId'
  Prelude.Text ->
  DisassociateVpcCidrBlock
newDisassociateVpcCidrBlock :: Text -> DisassociateVpcCidrBlock
newDisassociateVpcCidrBlock Text
pAssociationId_ =
  DisassociateVpcCidrBlock'
    { $sel:associationId:DisassociateVpcCidrBlock' :: Text
associationId =
        Text
pAssociationId_
    }

-- | The association ID for the CIDR block.
disassociateVpcCidrBlock_associationId :: Lens.Lens' DisassociateVpcCidrBlock Prelude.Text
disassociateVpcCidrBlock_associationId :: Lens' DisassociateVpcCidrBlock Text
disassociateVpcCidrBlock_associationId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateVpcCidrBlock' {Text
associationId :: Text
$sel:associationId:DisassociateVpcCidrBlock' :: DisassociateVpcCidrBlock -> Text
associationId} -> Text
associationId) (\s :: DisassociateVpcCidrBlock
s@DisassociateVpcCidrBlock' {} Text
a -> DisassociateVpcCidrBlock
s {$sel:associationId:DisassociateVpcCidrBlock' :: Text
associationId = Text
a} :: DisassociateVpcCidrBlock)

instance Core.AWSRequest DisassociateVpcCidrBlock where
  type
    AWSResponse DisassociateVpcCidrBlock =
      DisassociateVpcCidrBlockResponse
  request :: (Service -> Service)
-> DisassociateVpcCidrBlock -> Request DisassociateVpcCidrBlock
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 DisassociateVpcCidrBlock
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DisassociateVpcCidrBlock)))
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 VpcCidrBlockAssociation
-> Maybe VpcIpv6CidrBlockAssociation
-> Maybe Text
-> Int
-> DisassociateVpcCidrBlockResponse
DisassociateVpcCidrBlockResponse'
            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
"cidrBlockAssociation")
            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
"ipv6CidrBlockAssociation")
            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 DisassociateVpcCidrBlock where
  hashWithSalt :: Int -> DisassociateVpcCidrBlock -> Int
hashWithSalt Int
_salt DisassociateVpcCidrBlock' {Text
associationId :: Text
$sel:associationId:DisassociateVpcCidrBlock' :: DisassociateVpcCidrBlock -> Text
..} =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
associationId

instance Prelude.NFData DisassociateVpcCidrBlock where
  rnf :: DisassociateVpcCidrBlock -> ()
rnf DisassociateVpcCidrBlock' {Text
associationId :: Text
$sel:associationId:DisassociateVpcCidrBlock' :: DisassociateVpcCidrBlock -> Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Text
associationId

instance Data.ToHeaders DisassociateVpcCidrBlock where
  toHeaders :: DisassociateVpcCidrBlock -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

instance Data.ToPath DisassociateVpcCidrBlock where
  toPath :: DisassociateVpcCidrBlock -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Data.ToQuery DisassociateVpcCidrBlock where
  toQuery :: DisassociateVpcCidrBlock -> QueryString
toQuery DisassociateVpcCidrBlock' {Text
associationId :: Text
$sel:associationId:DisassociateVpcCidrBlock' :: DisassociateVpcCidrBlock -> Text
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"DisassociateVpcCidrBlock" :: Prelude.ByteString),
        ByteString
"Version"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2016-11-15" :: Prelude.ByteString),
        ByteString
"AssociationId" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
associationId
      ]

-- | /See:/ 'newDisassociateVpcCidrBlockResponse' smart constructor.
data DisassociateVpcCidrBlockResponse = DisassociateVpcCidrBlockResponse'
  { -- | Information about the IPv4 CIDR block association.
    DisassociateVpcCidrBlockResponse -> Maybe VpcCidrBlockAssociation
cidrBlockAssociation :: Prelude.Maybe VpcCidrBlockAssociation,
    -- | Information about the IPv6 CIDR block association.
    DisassociateVpcCidrBlockResponse
-> Maybe VpcIpv6CidrBlockAssociation
ipv6CidrBlockAssociation :: Prelude.Maybe VpcIpv6CidrBlockAssociation,
    -- | The ID of the VPC.
    DisassociateVpcCidrBlockResponse -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    DisassociateVpcCidrBlockResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DisassociateVpcCidrBlockResponse
-> DisassociateVpcCidrBlockResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DisassociateVpcCidrBlockResponse
-> DisassociateVpcCidrBlockResponse -> Bool
$c/= :: DisassociateVpcCidrBlockResponse
-> DisassociateVpcCidrBlockResponse -> Bool
== :: DisassociateVpcCidrBlockResponse
-> DisassociateVpcCidrBlockResponse -> Bool
$c== :: DisassociateVpcCidrBlockResponse
-> DisassociateVpcCidrBlockResponse -> Bool
Prelude.Eq, ReadPrec [DisassociateVpcCidrBlockResponse]
ReadPrec DisassociateVpcCidrBlockResponse
Int -> ReadS DisassociateVpcCidrBlockResponse
ReadS [DisassociateVpcCidrBlockResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DisassociateVpcCidrBlockResponse]
$creadListPrec :: ReadPrec [DisassociateVpcCidrBlockResponse]
readPrec :: ReadPrec DisassociateVpcCidrBlockResponse
$creadPrec :: ReadPrec DisassociateVpcCidrBlockResponse
readList :: ReadS [DisassociateVpcCidrBlockResponse]
$creadList :: ReadS [DisassociateVpcCidrBlockResponse]
readsPrec :: Int -> ReadS DisassociateVpcCidrBlockResponse
$creadsPrec :: Int -> ReadS DisassociateVpcCidrBlockResponse
Prelude.Read, Int -> DisassociateVpcCidrBlockResponse -> ShowS
[DisassociateVpcCidrBlockResponse] -> ShowS
DisassociateVpcCidrBlockResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DisassociateVpcCidrBlockResponse] -> ShowS
$cshowList :: [DisassociateVpcCidrBlockResponse] -> ShowS
show :: DisassociateVpcCidrBlockResponse -> String
$cshow :: DisassociateVpcCidrBlockResponse -> String
showsPrec :: Int -> DisassociateVpcCidrBlockResponse -> ShowS
$cshowsPrec :: Int -> DisassociateVpcCidrBlockResponse -> ShowS
Prelude.Show, forall x.
Rep DisassociateVpcCidrBlockResponse x
-> DisassociateVpcCidrBlockResponse
forall x.
DisassociateVpcCidrBlockResponse
-> Rep DisassociateVpcCidrBlockResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DisassociateVpcCidrBlockResponse x
-> DisassociateVpcCidrBlockResponse
$cfrom :: forall x.
DisassociateVpcCidrBlockResponse
-> Rep DisassociateVpcCidrBlockResponse x
Prelude.Generic)

-- |
-- Create a value of 'DisassociateVpcCidrBlockResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'cidrBlockAssociation', 'disassociateVpcCidrBlockResponse_cidrBlockAssociation' - Information about the IPv4 CIDR block association.
--
-- 'ipv6CidrBlockAssociation', 'disassociateVpcCidrBlockResponse_ipv6CidrBlockAssociation' - Information about the IPv6 CIDR block association.
--
-- 'vpcId', 'disassociateVpcCidrBlockResponse_vpcId' - The ID of the VPC.
--
-- 'httpStatus', 'disassociateVpcCidrBlockResponse_httpStatus' - The response's http status code.
newDisassociateVpcCidrBlockResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DisassociateVpcCidrBlockResponse
newDisassociateVpcCidrBlockResponse :: Int -> DisassociateVpcCidrBlockResponse
newDisassociateVpcCidrBlockResponse Int
pHttpStatus_ =
  DisassociateVpcCidrBlockResponse'
    { $sel:cidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: Maybe VpcCidrBlockAssociation
cidrBlockAssociation =
        forall a. Maybe a
Prelude.Nothing,
      $sel:ipv6CidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: Maybe VpcIpv6CidrBlockAssociation
ipv6CidrBlockAssociation =
        forall a. Maybe a
Prelude.Nothing,
      $sel:vpcId:DisassociateVpcCidrBlockResponse' :: Maybe Text
vpcId = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DisassociateVpcCidrBlockResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Information about the IPv4 CIDR block association.
disassociateVpcCidrBlockResponse_cidrBlockAssociation :: Lens.Lens' DisassociateVpcCidrBlockResponse (Prelude.Maybe VpcCidrBlockAssociation)
disassociateVpcCidrBlockResponse_cidrBlockAssociation :: Lens'
  DisassociateVpcCidrBlockResponse (Maybe VpcCidrBlockAssociation)
disassociateVpcCidrBlockResponse_cidrBlockAssociation = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateVpcCidrBlockResponse' {Maybe VpcCidrBlockAssociation
cidrBlockAssociation :: Maybe VpcCidrBlockAssociation
$sel:cidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse -> Maybe VpcCidrBlockAssociation
cidrBlockAssociation} -> Maybe VpcCidrBlockAssociation
cidrBlockAssociation) (\s :: DisassociateVpcCidrBlockResponse
s@DisassociateVpcCidrBlockResponse' {} Maybe VpcCidrBlockAssociation
a -> DisassociateVpcCidrBlockResponse
s {$sel:cidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: Maybe VpcCidrBlockAssociation
cidrBlockAssociation = Maybe VpcCidrBlockAssociation
a} :: DisassociateVpcCidrBlockResponse)

-- | Information about the IPv6 CIDR block association.
disassociateVpcCidrBlockResponse_ipv6CidrBlockAssociation :: Lens.Lens' DisassociateVpcCidrBlockResponse (Prelude.Maybe VpcIpv6CidrBlockAssociation)
disassociateVpcCidrBlockResponse_ipv6CidrBlockAssociation :: Lens'
  DisassociateVpcCidrBlockResponse
  (Maybe VpcIpv6CidrBlockAssociation)
disassociateVpcCidrBlockResponse_ipv6CidrBlockAssociation = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateVpcCidrBlockResponse' {Maybe VpcIpv6CidrBlockAssociation
ipv6CidrBlockAssociation :: Maybe VpcIpv6CidrBlockAssociation
$sel:ipv6CidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse
-> Maybe VpcIpv6CidrBlockAssociation
ipv6CidrBlockAssociation} -> Maybe VpcIpv6CidrBlockAssociation
ipv6CidrBlockAssociation) (\s :: DisassociateVpcCidrBlockResponse
s@DisassociateVpcCidrBlockResponse' {} Maybe VpcIpv6CidrBlockAssociation
a -> DisassociateVpcCidrBlockResponse
s {$sel:ipv6CidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: Maybe VpcIpv6CidrBlockAssociation
ipv6CidrBlockAssociation = Maybe VpcIpv6CidrBlockAssociation
a} :: DisassociateVpcCidrBlockResponse)

-- | The ID of the VPC.
disassociateVpcCidrBlockResponse_vpcId :: Lens.Lens' DisassociateVpcCidrBlockResponse (Prelude.Maybe Prelude.Text)
disassociateVpcCidrBlockResponse_vpcId :: Lens' DisassociateVpcCidrBlockResponse (Maybe Text)
disassociateVpcCidrBlockResponse_vpcId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateVpcCidrBlockResponse' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: DisassociateVpcCidrBlockResponse
s@DisassociateVpcCidrBlockResponse' {} Maybe Text
a -> DisassociateVpcCidrBlockResponse
s {$sel:vpcId:DisassociateVpcCidrBlockResponse' :: Maybe Text
vpcId = Maybe Text
a} :: DisassociateVpcCidrBlockResponse)

-- | The response's http status code.
disassociateVpcCidrBlockResponse_httpStatus :: Lens.Lens' DisassociateVpcCidrBlockResponse Prelude.Int
disassociateVpcCidrBlockResponse_httpStatus :: Lens' DisassociateVpcCidrBlockResponse Int
disassociateVpcCidrBlockResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateVpcCidrBlockResponse' {Int
httpStatus :: Int
$sel:httpStatus:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DisassociateVpcCidrBlockResponse
s@DisassociateVpcCidrBlockResponse' {} Int
a -> DisassociateVpcCidrBlockResponse
s {$sel:httpStatus:DisassociateVpcCidrBlockResponse' :: Int
httpStatus = Int
a} :: DisassociateVpcCidrBlockResponse)

instance
  Prelude.NFData
    DisassociateVpcCidrBlockResponse
  where
  rnf :: DisassociateVpcCidrBlockResponse -> ()
rnf DisassociateVpcCidrBlockResponse' {Int
Maybe Text
Maybe VpcCidrBlockAssociation
Maybe VpcIpv6CidrBlockAssociation
httpStatus :: Int
vpcId :: Maybe Text
ipv6CidrBlockAssociation :: Maybe VpcIpv6CidrBlockAssociation
cidrBlockAssociation :: Maybe VpcCidrBlockAssociation
$sel:httpStatus:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse -> Int
$sel:vpcId:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse -> Maybe Text
$sel:ipv6CidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse
-> Maybe VpcIpv6CidrBlockAssociation
$sel:cidrBlockAssociation:DisassociateVpcCidrBlockResponse' :: DisassociateVpcCidrBlockResponse -> Maybe VpcCidrBlockAssociation
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe VpcCidrBlockAssociation
cidrBlockAssociation
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe VpcIpv6CidrBlockAssociation
ipv6CidrBlockAssociation
      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