{-# 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.Route53.DeleteVPCAssociationAuthorization
-- 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)
--
-- Removes authorization to submit an @AssociateVPCWithHostedZone@ request
-- to associate a specified VPC with a hosted zone that was created by a
-- different account. You must use the account that created the hosted zone
-- to submit a @DeleteVPCAssociationAuthorization@ request.
--
-- Sending this request only prevents the Amazon Web Services account that
-- created the VPC from associating the VPC with the Amazon Route 53 hosted
-- zone in the future. If the VPC is already associated with the hosted
-- zone, @DeleteVPCAssociationAuthorization@ won\'t disassociate the VPC
-- from the hosted zone. If you want to delete an existing association, use
-- @DisassociateVPCFromHostedZone@.
module Amazonka.Route53.DeleteVPCAssociationAuthorization
  ( -- * Creating a Request
    DeleteVPCAssociationAuthorization (..),
    newDeleteVPCAssociationAuthorization,

    -- * Request Lenses
    deleteVPCAssociationAuthorization_hostedZoneId,
    deleteVPCAssociationAuthorization_vpc,

    -- * Destructuring the Response
    DeleteVPCAssociationAuthorizationResponse (..),
    newDeleteVPCAssociationAuthorizationResponse,

    -- * Response Lenses
    deleteVPCAssociationAuthorizationResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.Route53.Types

-- | A complex type that contains information about the request to remove
-- authorization to associate a VPC that was created by one Amazon Web
-- Services account with a hosted zone that was created with a different
-- Amazon Web Services account.
--
-- /See:/ 'newDeleteVPCAssociationAuthorization' smart constructor.
data DeleteVPCAssociationAuthorization = DeleteVPCAssociationAuthorization'
  { -- | When removing authorization to associate a VPC that was created by one
    -- Amazon Web Services account with a hosted zone that was created with a
    -- different Amazon Web Services account, the ID of the hosted zone.
    DeleteVPCAssociationAuthorization -> ResourceId
hostedZoneId :: ResourceId,
    -- | When removing authorization to associate a VPC that was created by one
    -- Amazon Web Services account with a hosted zone that was created with a
    -- different Amazon Web Services account, a complex type that includes the
    -- ID and region of the VPC.
    DeleteVPCAssociationAuthorization -> VPC
vpc :: VPC
  }
  deriving (DeleteVPCAssociationAuthorization
-> DeleteVPCAssociationAuthorization -> Bool
(DeleteVPCAssociationAuthorization
 -> DeleteVPCAssociationAuthorization -> Bool)
-> (DeleteVPCAssociationAuthorization
    -> DeleteVPCAssociationAuthorization -> Bool)
-> Eq DeleteVPCAssociationAuthorization
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteVPCAssociationAuthorization
-> DeleteVPCAssociationAuthorization -> Bool
$c/= :: DeleteVPCAssociationAuthorization
-> DeleteVPCAssociationAuthorization -> Bool
== :: DeleteVPCAssociationAuthorization
-> DeleteVPCAssociationAuthorization -> Bool
$c== :: DeleteVPCAssociationAuthorization
-> DeleteVPCAssociationAuthorization -> Bool
Prelude.Eq, ReadPrec [DeleteVPCAssociationAuthorization]
ReadPrec DeleteVPCAssociationAuthorization
Int -> ReadS DeleteVPCAssociationAuthorization
ReadS [DeleteVPCAssociationAuthorization]
(Int -> ReadS DeleteVPCAssociationAuthorization)
-> ReadS [DeleteVPCAssociationAuthorization]
-> ReadPrec DeleteVPCAssociationAuthorization
-> ReadPrec [DeleteVPCAssociationAuthorization]
-> Read DeleteVPCAssociationAuthorization
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteVPCAssociationAuthorization]
$creadListPrec :: ReadPrec [DeleteVPCAssociationAuthorization]
readPrec :: ReadPrec DeleteVPCAssociationAuthorization
$creadPrec :: ReadPrec DeleteVPCAssociationAuthorization
readList :: ReadS [DeleteVPCAssociationAuthorization]
$creadList :: ReadS [DeleteVPCAssociationAuthorization]
readsPrec :: Int -> ReadS DeleteVPCAssociationAuthorization
$creadsPrec :: Int -> ReadS DeleteVPCAssociationAuthorization
Prelude.Read, Int -> DeleteVPCAssociationAuthorization -> ShowS
[DeleteVPCAssociationAuthorization] -> ShowS
DeleteVPCAssociationAuthorization -> String
(Int -> DeleteVPCAssociationAuthorization -> ShowS)
-> (DeleteVPCAssociationAuthorization -> String)
-> ([DeleteVPCAssociationAuthorization] -> ShowS)
-> Show DeleteVPCAssociationAuthorization
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteVPCAssociationAuthorization] -> ShowS
$cshowList :: [DeleteVPCAssociationAuthorization] -> ShowS
show :: DeleteVPCAssociationAuthorization -> String
$cshow :: DeleteVPCAssociationAuthorization -> String
showsPrec :: Int -> DeleteVPCAssociationAuthorization -> ShowS
$cshowsPrec :: Int -> DeleteVPCAssociationAuthorization -> ShowS
Prelude.Show, (forall x.
 DeleteVPCAssociationAuthorization
 -> Rep DeleteVPCAssociationAuthorization x)
-> (forall x.
    Rep DeleteVPCAssociationAuthorization x
    -> DeleteVPCAssociationAuthorization)
-> Generic DeleteVPCAssociationAuthorization
forall x.
Rep DeleteVPCAssociationAuthorization x
-> DeleteVPCAssociationAuthorization
forall x.
DeleteVPCAssociationAuthorization
-> Rep DeleteVPCAssociationAuthorization x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteVPCAssociationAuthorization x
-> DeleteVPCAssociationAuthorization
$cfrom :: forall x.
DeleteVPCAssociationAuthorization
-> Rep DeleteVPCAssociationAuthorization x
Prelude.Generic)

-- |
-- Create a value of 'DeleteVPCAssociationAuthorization' 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:
--
-- 'hostedZoneId', 'deleteVPCAssociationAuthorization_hostedZoneId' - When removing authorization to associate a VPC that was created by one
-- Amazon Web Services account with a hosted zone that was created with a
-- different Amazon Web Services account, the ID of the hosted zone.
--
-- 'vpc', 'deleteVPCAssociationAuthorization_vpc' - When removing authorization to associate a VPC that was created by one
-- Amazon Web Services account with a hosted zone that was created with a
-- different Amazon Web Services account, a complex type that includes the
-- ID and region of the VPC.
newDeleteVPCAssociationAuthorization ::
  -- | 'hostedZoneId'
  ResourceId ->
  -- | 'vpc'
  VPC ->
  DeleteVPCAssociationAuthorization
newDeleteVPCAssociationAuthorization :: ResourceId -> VPC -> DeleteVPCAssociationAuthorization
newDeleteVPCAssociationAuthorization
  ResourceId
pHostedZoneId_
  VPC
pVPC_ =
    DeleteVPCAssociationAuthorization' :: ResourceId -> VPC -> DeleteVPCAssociationAuthorization
DeleteVPCAssociationAuthorization'
      { $sel:hostedZoneId:DeleteVPCAssociationAuthorization' :: ResourceId
hostedZoneId =
          ResourceId
pHostedZoneId_,
        $sel:vpc:DeleteVPCAssociationAuthorization' :: VPC
vpc = VPC
pVPC_
      }

-- | When removing authorization to associate a VPC that was created by one
-- Amazon Web Services account with a hosted zone that was created with a
-- different Amazon Web Services account, the ID of the hosted zone.
deleteVPCAssociationAuthorization_hostedZoneId :: Lens.Lens' DeleteVPCAssociationAuthorization ResourceId
deleteVPCAssociationAuthorization_hostedZoneId :: (ResourceId -> f ResourceId)
-> DeleteVPCAssociationAuthorization
-> f DeleteVPCAssociationAuthorization
deleteVPCAssociationAuthorization_hostedZoneId = (DeleteVPCAssociationAuthorization -> ResourceId)
-> (DeleteVPCAssociationAuthorization
    -> ResourceId -> DeleteVPCAssociationAuthorization)
-> Lens
     DeleteVPCAssociationAuthorization
     DeleteVPCAssociationAuthorization
     ResourceId
     ResourceId
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteVPCAssociationAuthorization' {ResourceId
hostedZoneId :: ResourceId
$sel:hostedZoneId:DeleteVPCAssociationAuthorization' :: DeleteVPCAssociationAuthorization -> ResourceId
hostedZoneId} -> ResourceId
hostedZoneId) (\s :: DeleteVPCAssociationAuthorization
s@DeleteVPCAssociationAuthorization' {} ResourceId
a -> DeleteVPCAssociationAuthorization
s {$sel:hostedZoneId:DeleteVPCAssociationAuthorization' :: ResourceId
hostedZoneId = ResourceId
a} :: DeleteVPCAssociationAuthorization)

-- | When removing authorization to associate a VPC that was created by one
-- Amazon Web Services account with a hosted zone that was created with a
-- different Amazon Web Services account, a complex type that includes the
-- ID and region of the VPC.
deleteVPCAssociationAuthorization_vpc :: Lens.Lens' DeleteVPCAssociationAuthorization VPC
deleteVPCAssociationAuthorization_vpc :: (VPC -> f VPC)
-> DeleteVPCAssociationAuthorization
-> f DeleteVPCAssociationAuthorization
deleteVPCAssociationAuthorization_vpc = (DeleteVPCAssociationAuthorization -> VPC)
-> (DeleteVPCAssociationAuthorization
    -> VPC -> DeleteVPCAssociationAuthorization)
-> Lens
     DeleteVPCAssociationAuthorization
     DeleteVPCAssociationAuthorization
     VPC
     VPC
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteVPCAssociationAuthorization' {VPC
vpc :: VPC
$sel:vpc:DeleteVPCAssociationAuthorization' :: DeleteVPCAssociationAuthorization -> VPC
vpc} -> VPC
vpc) (\s :: DeleteVPCAssociationAuthorization
s@DeleteVPCAssociationAuthorization' {} VPC
a -> DeleteVPCAssociationAuthorization
s {$sel:vpc:DeleteVPCAssociationAuthorization' :: VPC
vpc = VPC
a} :: DeleteVPCAssociationAuthorization)

instance
  Core.AWSRequest
    DeleteVPCAssociationAuthorization
  where
  type
    AWSResponse DeleteVPCAssociationAuthorization =
      DeleteVPCAssociationAuthorizationResponse
  request :: DeleteVPCAssociationAuthorization
-> Request DeleteVPCAssociationAuthorization
request = Service
-> DeleteVPCAssociationAuthorization
-> Request DeleteVPCAssociationAuthorization
forall a. (ToRequest a, ToElement a) => Service -> a -> Request a
Request.postXML Service
defaultService
  response :: Logger
-> Service
-> Proxy DeleteVPCAssociationAuthorization
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DeleteVPCAssociationAuthorization)))
response =
    (Int
 -> ResponseHeaders
 -> ()
 -> Either String (AWSResponse DeleteVPCAssociationAuthorization))
-> Logger
-> Service
-> Proxy DeleteVPCAssociationAuthorization
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DeleteVPCAssociationAuthorization)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
      ( \Int
s ResponseHeaders
h ()
x ->
          Int -> DeleteVPCAssociationAuthorizationResponse
DeleteVPCAssociationAuthorizationResponse'
            (Int -> DeleteVPCAssociationAuthorizationResponse)
-> Either String Int
-> Either String DeleteVPCAssociationAuthorizationResponse
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance
  Prelude.Hashable
    DeleteVPCAssociationAuthorization

instance
  Prelude.NFData
    DeleteVPCAssociationAuthorization

instance
  Core.ToElement
    DeleteVPCAssociationAuthorization
  where
  toElement :: DeleteVPCAssociationAuthorization -> Element
toElement =
    Name -> DeleteVPCAssociationAuthorization -> Element
forall a. ToXML a => Name -> a -> Element
Core.mkElement
      Name
"{https://route53.amazonaws.com/doc/2013-04-01/}DeleteVPCAssociationAuthorizationRequest"

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

instance
  Core.ToPath
    DeleteVPCAssociationAuthorization
  where
  toPath :: DeleteVPCAssociationAuthorization -> ByteString
toPath DeleteVPCAssociationAuthorization' {ResourceId
VPC
vpc :: VPC
hostedZoneId :: ResourceId
$sel:vpc:DeleteVPCAssociationAuthorization' :: DeleteVPCAssociationAuthorization -> VPC
$sel:hostedZoneId:DeleteVPCAssociationAuthorization' :: DeleteVPCAssociationAuthorization -> ResourceId
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"/2013-04-01/hostedzone/",
        ResourceId -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS ResourceId
hostedZoneId,
        ByteString
"/deauthorizevpcassociation"
      ]

instance
  Core.ToQuery
    DeleteVPCAssociationAuthorization
  where
  toQuery :: DeleteVPCAssociationAuthorization -> QueryString
toQuery = QueryString -> DeleteVPCAssociationAuthorization -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

instance Core.ToXML DeleteVPCAssociationAuthorization where
  toXML :: DeleteVPCAssociationAuthorization -> XML
toXML DeleteVPCAssociationAuthorization' {ResourceId
VPC
vpc :: VPC
hostedZoneId :: ResourceId
$sel:vpc:DeleteVPCAssociationAuthorization' :: DeleteVPCAssociationAuthorization -> VPC
$sel:hostedZoneId:DeleteVPCAssociationAuthorization' :: DeleteVPCAssociationAuthorization -> ResourceId
..} =
    [XML] -> XML
forall a. Monoid a => [a] -> a
Prelude.mconcat [Name
"VPC" Name -> VPC -> XML
forall a. ToXML a => Name -> a -> XML
Core.@= VPC
vpc]

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

-- |
-- Create a value of 'DeleteVPCAssociationAuthorizationResponse' 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:
--
-- 'httpStatus', 'deleteVPCAssociationAuthorizationResponse_httpStatus' - The response's http status code.
newDeleteVPCAssociationAuthorizationResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DeleteVPCAssociationAuthorizationResponse
newDeleteVPCAssociationAuthorizationResponse :: Int -> DeleteVPCAssociationAuthorizationResponse
newDeleteVPCAssociationAuthorizationResponse
  Int
pHttpStatus_ =
    DeleteVPCAssociationAuthorizationResponse' :: Int -> DeleteVPCAssociationAuthorizationResponse
DeleteVPCAssociationAuthorizationResponse'
      { $sel:httpStatus:DeleteVPCAssociationAuthorizationResponse' :: Int
httpStatus =
          Int
pHttpStatus_
      }

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

instance
  Prelude.NFData
    DeleteVPCAssociationAuthorizationResponse