{-# 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.RejectTransitGatewayVpcAttachment
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Rejects a request to attach a VPC to a transit gateway.
--
-- The VPC attachment must be in the @pendingAcceptance@ state. Use
-- DescribeTransitGatewayVpcAttachments to view your pending VPC attachment
-- requests. Use AcceptTransitGatewayVpcAttachment to accept a VPC
-- attachment request.
module Amazonka.EC2.RejectTransitGatewayVpcAttachment
  ( -- * Creating a Request
    RejectTransitGatewayVpcAttachment (..),
    newRejectTransitGatewayVpcAttachment,

    -- * Request Lenses
    rejectTransitGatewayVpcAttachment_dryRun,
    rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId,

    -- * Destructuring the Response
    RejectTransitGatewayVpcAttachmentResponse (..),
    newRejectTransitGatewayVpcAttachmentResponse,

    -- * Response Lenses
    rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment,
    rejectTransitGatewayVpcAttachmentResponse_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:/ 'newRejectTransitGatewayVpcAttachment' smart constructor.
data RejectTransitGatewayVpcAttachment = RejectTransitGatewayVpcAttachment'
  { -- | Checks whether you have the required permissions for the action, without
    -- actually making the request, and provides an error response. If you have
    -- the required permissions, the error response is @DryRunOperation@.
    -- Otherwise, it is @UnauthorizedOperation@.
    RejectTransitGatewayVpcAttachment -> Maybe Bool
dryRun :: Prelude.Maybe Prelude.Bool,
    -- | The ID of the attachment.
    RejectTransitGatewayVpcAttachment -> Text
transitGatewayAttachmentId :: Prelude.Text
  }
  deriving (RejectTransitGatewayVpcAttachment
-> RejectTransitGatewayVpcAttachment -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RejectTransitGatewayVpcAttachment
-> RejectTransitGatewayVpcAttachment -> Bool
$c/= :: RejectTransitGatewayVpcAttachment
-> RejectTransitGatewayVpcAttachment -> Bool
== :: RejectTransitGatewayVpcAttachment
-> RejectTransitGatewayVpcAttachment -> Bool
$c== :: RejectTransitGatewayVpcAttachment
-> RejectTransitGatewayVpcAttachment -> Bool
Prelude.Eq, ReadPrec [RejectTransitGatewayVpcAttachment]
ReadPrec RejectTransitGatewayVpcAttachment
Int -> ReadS RejectTransitGatewayVpcAttachment
ReadS [RejectTransitGatewayVpcAttachment]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RejectTransitGatewayVpcAttachment]
$creadListPrec :: ReadPrec [RejectTransitGatewayVpcAttachment]
readPrec :: ReadPrec RejectTransitGatewayVpcAttachment
$creadPrec :: ReadPrec RejectTransitGatewayVpcAttachment
readList :: ReadS [RejectTransitGatewayVpcAttachment]
$creadList :: ReadS [RejectTransitGatewayVpcAttachment]
readsPrec :: Int -> ReadS RejectTransitGatewayVpcAttachment
$creadsPrec :: Int -> ReadS RejectTransitGatewayVpcAttachment
Prelude.Read, Int -> RejectTransitGatewayVpcAttachment -> ShowS
[RejectTransitGatewayVpcAttachment] -> ShowS
RejectTransitGatewayVpcAttachment -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RejectTransitGatewayVpcAttachment] -> ShowS
$cshowList :: [RejectTransitGatewayVpcAttachment] -> ShowS
show :: RejectTransitGatewayVpcAttachment -> String
$cshow :: RejectTransitGatewayVpcAttachment -> String
showsPrec :: Int -> RejectTransitGatewayVpcAttachment -> ShowS
$cshowsPrec :: Int -> RejectTransitGatewayVpcAttachment -> ShowS
Prelude.Show, forall x.
Rep RejectTransitGatewayVpcAttachment x
-> RejectTransitGatewayVpcAttachment
forall x.
RejectTransitGatewayVpcAttachment
-> Rep RejectTransitGatewayVpcAttachment x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RejectTransitGatewayVpcAttachment x
-> RejectTransitGatewayVpcAttachment
$cfrom :: forall x.
RejectTransitGatewayVpcAttachment
-> Rep RejectTransitGatewayVpcAttachment x
Prelude.Generic)

-- |
-- Create a value of 'RejectTransitGatewayVpcAttachment' 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:
--
-- 'dryRun', 'rejectTransitGatewayVpcAttachment_dryRun' - Checks whether you have the required permissions for the action, without
-- actually making the request, and provides an error response. If you have
-- the required permissions, the error response is @DryRunOperation@.
-- Otherwise, it is @UnauthorizedOperation@.
--
-- 'transitGatewayAttachmentId', 'rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId' - The ID of the attachment.
newRejectTransitGatewayVpcAttachment ::
  -- | 'transitGatewayAttachmentId'
  Prelude.Text ->
  RejectTransitGatewayVpcAttachment
newRejectTransitGatewayVpcAttachment :: Text -> RejectTransitGatewayVpcAttachment
newRejectTransitGatewayVpcAttachment
  Text
pTransitGatewayAttachmentId_ =
    RejectTransitGatewayVpcAttachment'
      { $sel:dryRun:RejectTransitGatewayVpcAttachment' :: Maybe Bool
dryRun =
          forall a. Maybe a
Prelude.Nothing,
        $sel:transitGatewayAttachmentId:RejectTransitGatewayVpcAttachment' :: Text
transitGatewayAttachmentId =
          Text
pTransitGatewayAttachmentId_
      }

-- | Checks whether you have the required permissions for the action, without
-- actually making the request, and provides an error response. If you have
-- the required permissions, the error response is @DryRunOperation@.
-- Otherwise, it is @UnauthorizedOperation@.
rejectTransitGatewayVpcAttachment_dryRun :: Lens.Lens' RejectTransitGatewayVpcAttachment (Prelude.Maybe Prelude.Bool)
rejectTransitGatewayVpcAttachment_dryRun :: Lens' RejectTransitGatewayVpcAttachment (Maybe Bool)
rejectTransitGatewayVpcAttachment_dryRun = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RejectTransitGatewayVpcAttachment' {Maybe Bool
dryRun :: Maybe Bool
$sel:dryRun:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> Maybe Bool
dryRun} -> Maybe Bool
dryRun) (\s :: RejectTransitGatewayVpcAttachment
s@RejectTransitGatewayVpcAttachment' {} Maybe Bool
a -> RejectTransitGatewayVpcAttachment
s {$sel:dryRun:RejectTransitGatewayVpcAttachment' :: Maybe Bool
dryRun = Maybe Bool
a} :: RejectTransitGatewayVpcAttachment)

-- | The ID of the attachment.
rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens.Lens' RejectTransitGatewayVpcAttachment Prelude.Text
rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens' RejectTransitGatewayVpcAttachment Text
rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RejectTransitGatewayVpcAttachment' {Text
transitGatewayAttachmentId :: Text
$sel:transitGatewayAttachmentId:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> Text
transitGatewayAttachmentId} -> Text
transitGatewayAttachmentId) (\s :: RejectTransitGatewayVpcAttachment
s@RejectTransitGatewayVpcAttachment' {} Text
a -> RejectTransitGatewayVpcAttachment
s {$sel:transitGatewayAttachmentId:RejectTransitGatewayVpcAttachment' :: Text
transitGatewayAttachmentId = Text
a} :: RejectTransitGatewayVpcAttachment)

instance
  Core.AWSRequest
    RejectTransitGatewayVpcAttachment
  where
  type
    AWSResponse RejectTransitGatewayVpcAttachment =
      RejectTransitGatewayVpcAttachmentResponse
  request :: (Service -> Service)
-> RejectTransitGatewayVpcAttachment
-> Request RejectTransitGatewayVpcAttachment
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 RejectTransitGatewayVpcAttachment
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse RejectTransitGatewayVpcAttachment)))
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 TransitGatewayVpcAttachment
-> Int -> RejectTransitGatewayVpcAttachmentResponse
RejectTransitGatewayVpcAttachmentResponse'
            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
"transitGatewayVpcAttachment")
            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
    RejectTransitGatewayVpcAttachment
  where
  hashWithSalt :: Int -> RejectTransitGatewayVpcAttachment -> Int
hashWithSalt
    Int
_salt
    RejectTransitGatewayVpcAttachment' {Maybe Bool
Text
transitGatewayAttachmentId :: Text
dryRun :: Maybe Bool
$sel:transitGatewayAttachmentId:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> Text
$sel:dryRun:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> 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` Text
transitGatewayAttachmentId

instance
  Prelude.NFData
    RejectTransitGatewayVpcAttachment
  where
  rnf :: RejectTransitGatewayVpcAttachment -> ()
rnf RejectTransitGatewayVpcAttachment' {Maybe Bool
Text
transitGatewayAttachmentId :: Text
dryRun :: Maybe Bool
$sel:transitGatewayAttachmentId:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> Text
$sel:dryRun:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> 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 Text
transitGatewayAttachmentId

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

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

instance
  Data.ToQuery
    RejectTransitGatewayVpcAttachment
  where
  toQuery :: RejectTransitGatewayVpcAttachment -> QueryString
toQuery RejectTransitGatewayVpcAttachment' {Maybe Bool
Text
transitGatewayAttachmentId :: Text
dryRun :: Maybe Bool
$sel:transitGatewayAttachmentId:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> Text
$sel:dryRun:RejectTransitGatewayVpcAttachment' :: RejectTransitGatewayVpcAttachment -> Maybe Bool
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: ( ByteString
"RejectTransitGatewayVpcAttachment" ::
                      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
"TransitGatewayAttachmentId"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
transitGatewayAttachmentId
      ]

-- | /See:/ 'newRejectTransitGatewayVpcAttachmentResponse' smart constructor.
data RejectTransitGatewayVpcAttachmentResponse = RejectTransitGatewayVpcAttachmentResponse'
  { -- | Information about the attachment.
    RejectTransitGatewayVpcAttachmentResponse
-> Maybe TransitGatewayVpcAttachment
transitGatewayVpcAttachment :: Prelude.Maybe TransitGatewayVpcAttachment,
    -- | The response's http status code.
    RejectTransitGatewayVpcAttachmentResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (RejectTransitGatewayVpcAttachmentResponse
-> RejectTransitGatewayVpcAttachmentResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RejectTransitGatewayVpcAttachmentResponse
-> RejectTransitGatewayVpcAttachmentResponse -> Bool
$c/= :: RejectTransitGatewayVpcAttachmentResponse
-> RejectTransitGatewayVpcAttachmentResponse -> Bool
== :: RejectTransitGatewayVpcAttachmentResponse
-> RejectTransitGatewayVpcAttachmentResponse -> Bool
$c== :: RejectTransitGatewayVpcAttachmentResponse
-> RejectTransitGatewayVpcAttachmentResponse -> Bool
Prelude.Eq, ReadPrec [RejectTransitGatewayVpcAttachmentResponse]
ReadPrec RejectTransitGatewayVpcAttachmentResponse
Int -> ReadS RejectTransitGatewayVpcAttachmentResponse
ReadS [RejectTransitGatewayVpcAttachmentResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RejectTransitGatewayVpcAttachmentResponse]
$creadListPrec :: ReadPrec [RejectTransitGatewayVpcAttachmentResponse]
readPrec :: ReadPrec RejectTransitGatewayVpcAttachmentResponse
$creadPrec :: ReadPrec RejectTransitGatewayVpcAttachmentResponse
readList :: ReadS [RejectTransitGatewayVpcAttachmentResponse]
$creadList :: ReadS [RejectTransitGatewayVpcAttachmentResponse]
readsPrec :: Int -> ReadS RejectTransitGatewayVpcAttachmentResponse
$creadsPrec :: Int -> ReadS RejectTransitGatewayVpcAttachmentResponse
Prelude.Read, Int -> RejectTransitGatewayVpcAttachmentResponse -> ShowS
[RejectTransitGatewayVpcAttachmentResponse] -> ShowS
RejectTransitGatewayVpcAttachmentResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RejectTransitGatewayVpcAttachmentResponse] -> ShowS
$cshowList :: [RejectTransitGatewayVpcAttachmentResponse] -> ShowS
show :: RejectTransitGatewayVpcAttachmentResponse -> String
$cshow :: RejectTransitGatewayVpcAttachmentResponse -> String
showsPrec :: Int -> RejectTransitGatewayVpcAttachmentResponse -> ShowS
$cshowsPrec :: Int -> RejectTransitGatewayVpcAttachmentResponse -> ShowS
Prelude.Show, forall x.
Rep RejectTransitGatewayVpcAttachmentResponse x
-> RejectTransitGatewayVpcAttachmentResponse
forall x.
RejectTransitGatewayVpcAttachmentResponse
-> Rep RejectTransitGatewayVpcAttachmentResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RejectTransitGatewayVpcAttachmentResponse x
-> RejectTransitGatewayVpcAttachmentResponse
$cfrom :: forall x.
RejectTransitGatewayVpcAttachmentResponse
-> Rep RejectTransitGatewayVpcAttachmentResponse x
Prelude.Generic)

-- |
-- Create a value of 'RejectTransitGatewayVpcAttachmentResponse' 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:
--
-- 'transitGatewayVpcAttachment', 'rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment' - Information about the attachment.
--
-- 'httpStatus', 'rejectTransitGatewayVpcAttachmentResponse_httpStatus' - The response's http status code.
newRejectTransitGatewayVpcAttachmentResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  RejectTransitGatewayVpcAttachmentResponse
newRejectTransitGatewayVpcAttachmentResponse :: Int -> RejectTransitGatewayVpcAttachmentResponse
newRejectTransitGatewayVpcAttachmentResponse
  Int
pHttpStatus_ =
    RejectTransitGatewayVpcAttachmentResponse'
      { $sel:transitGatewayVpcAttachment:RejectTransitGatewayVpcAttachmentResponse' :: Maybe TransitGatewayVpcAttachment
transitGatewayVpcAttachment =
          forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:RejectTransitGatewayVpcAttachmentResponse' :: Int
httpStatus = Int
pHttpStatus_
      }

-- | Information about the attachment.
rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens.Lens' RejectTransitGatewayVpcAttachmentResponse (Prelude.Maybe TransitGatewayVpcAttachment)
rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens'
  RejectTransitGatewayVpcAttachmentResponse
  (Maybe TransitGatewayVpcAttachment)
rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RejectTransitGatewayVpcAttachmentResponse' {Maybe TransitGatewayVpcAttachment
transitGatewayVpcAttachment :: Maybe TransitGatewayVpcAttachment
$sel:transitGatewayVpcAttachment:RejectTransitGatewayVpcAttachmentResponse' :: RejectTransitGatewayVpcAttachmentResponse
-> Maybe TransitGatewayVpcAttachment
transitGatewayVpcAttachment} -> Maybe TransitGatewayVpcAttachment
transitGatewayVpcAttachment) (\s :: RejectTransitGatewayVpcAttachmentResponse
s@RejectTransitGatewayVpcAttachmentResponse' {} Maybe TransitGatewayVpcAttachment
a -> RejectTransitGatewayVpcAttachmentResponse
s {$sel:transitGatewayVpcAttachment:RejectTransitGatewayVpcAttachmentResponse' :: Maybe TransitGatewayVpcAttachment
transitGatewayVpcAttachment = Maybe TransitGatewayVpcAttachment
a} :: RejectTransitGatewayVpcAttachmentResponse)

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

instance
  Prelude.NFData
    RejectTransitGatewayVpcAttachmentResponse
  where
  rnf :: RejectTransitGatewayVpcAttachmentResponse -> ()
rnf RejectTransitGatewayVpcAttachmentResponse' {Int
Maybe TransitGatewayVpcAttachment
httpStatus :: Int
transitGatewayVpcAttachment :: Maybe TransitGatewayVpcAttachment
$sel:httpStatus:RejectTransitGatewayVpcAttachmentResponse' :: RejectTransitGatewayVpcAttachmentResponse -> Int
$sel:transitGatewayVpcAttachment:RejectTransitGatewayVpcAttachmentResponse' :: RejectTransitGatewayVpcAttachmentResponse
-> Maybe TransitGatewayVpcAttachment
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe TransitGatewayVpcAttachment
transitGatewayVpcAttachment
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus