{-# 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.CodeArtifact.DeleteDomainPermissionsPolicy
(
DeleteDomainPermissionsPolicy (..),
newDeleteDomainPermissionsPolicy,
deleteDomainPermissionsPolicy_policyRevision,
deleteDomainPermissionsPolicy_domainOwner,
deleteDomainPermissionsPolicy_domain,
DeleteDomainPermissionsPolicyResponse (..),
newDeleteDomainPermissionsPolicyResponse,
deleteDomainPermissionsPolicyResponse_policy,
deleteDomainPermissionsPolicyResponse_httpStatus,
)
where
import Amazonka.CodeArtifact.Types
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
data DeleteDomainPermissionsPolicy = DeleteDomainPermissionsPolicy'
{
DeleteDomainPermissionsPolicy -> Maybe Text
policyRevision :: Prelude.Maybe Prelude.Text,
DeleteDomainPermissionsPolicy -> Maybe Text
domainOwner :: Prelude.Maybe Prelude.Text,
DeleteDomainPermissionsPolicy -> Text
domain :: Prelude.Text
}
deriving (DeleteDomainPermissionsPolicy
-> DeleteDomainPermissionsPolicy -> Bool
(DeleteDomainPermissionsPolicy
-> DeleteDomainPermissionsPolicy -> Bool)
-> (DeleteDomainPermissionsPolicy
-> DeleteDomainPermissionsPolicy -> Bool)
-> Eq DeleteDomainPermissionsPolicy
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteDomainPermissionsPolicy
-> DeleteDomainPermissionsPolicy -> Bool
$c/= :: DeleteDomainPermissionsPolicy
-> DeleteDomainPermissionsPolicy -> Bool
== :: DeleteDomainPermissionsPolicy
-> DeleteDomainPermissionsPolicy -> Bool
$c== :: DeleteDomainPermissionsPolicy
-> DeleteDomainPermissionsPolicy -> Bool
Prelude.Eq, ReadPrec [DeleteDomainPermissionsPolicy]
ReadPrec DeleteDomainPermissionsPolicy
Int -> ReadS DeleteDomainPermissionsPolicy
ReadS [DeleteDomainPermissionsPolicy]
(Int -> ReadS DeleteDomainPermissionsPolicy)
-> ReadS [DeleteDomainPermissionsPolicy]
-> ReadPrec DeleteDomainPermissionsPolicy
-> ReadPrec [DeleteDomainPermissionsPolicy]
-> Read DeleteDomainPermissionsPolicy
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteDomainPermissionsPolicy]
$creadListPrec :: ReadPrec [DeleteDomainPermissionsPolicy]
readPrec :: ReadPrec DeleteDomainPermissionsPolicy
$creadPrec :: ReadPrec DeleteDomainPermissionsPolicy
readList :: ReadS [DeleteDomainPermissionsPolicy]
$creadList :: ReadS [DeleteDomainPermissionsPolicy]
readsPrec :: Int -> ReadS DeleteDomainPermissionsPolicy
$creadsPrec :: Int -> ReadS DeleteDomainPermissionsPolicy
Prelude.Read, Int -> DeleteDomainPermissionsPolicy -> ShowS
[DeleteDomainPermissionsPolicy] -> ShowS
DeleteDomainPermissionsPolicy -> String
(Int -> DeleteDomainPermissionsPolicy -> ShowS)
-> (DeleteDomainPermissionsPolicy -> String)
-> ([DeleteDomainPermissionsPolicy] -> ShowS)
-> Show DeleteDomainPermissionsPolicy
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteDomainPermissionsPolicy] -> ShowS
$cshowList :: [DeleteDomainPermissionsPolicy] -> ShowS
show :: DeleteDomainPermissionsPolicy -> String
$cshow :: DeleteDomainPermissionsPolicy -> String
showsPrec :: Int -> DeleteDomainPermissionsPolicy -> ShowS
$cshowsPrec :: Int -> DeleteDomainPermissionsPolicy -> ShowS
Prelude.Show, (forall x.
DeleteDomainPermissionsPolicy
-> Rep DeleteDomainPermissionsPolicy x)
-> (forall x.
Rep DeleteDomainPermissionsPolicy x
-> DeleteDomainPermissionsPolicy)
-> Generic DeleteDomainPermissionsPolicy
forall x.
Rep DeleteDomainPermissionsPolicy x
-> DeleteDomainPermissionsPolicy
forall x.
DeleteDomainPermissionsPolicy
-> Rep DeleteDomainPermissionsPolicy x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteDomainPermissionsPolicy x
-> DeleteDomainPermissionsPolicy
$cfrom :: forall x.
DeleteDomainPermissionsPolicy
-> Rep DeleteDomainPermissionsPolicy x
Prelude.Generic)
newDeleteDomainPermissionsPolicy ::
Prelude.Text ->
DeleteDomainPermissionsPolicy
newDeleteDomainPermissionsPolicy :: Text -> DeleteDomainPermissionsPolicy
newDeleteDomainPermissionsPolicy Text
pDomain_ =
DeleteDomainPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> DeleteDomainPermissionsPolicy
DeleteDomainPermissionsPolicy'
{ $sel:policyRevision:DeleteDomainPermissionsPolicy' :: Maybe Text
policyRevision =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:domainOwner:DeleteDomainPermissionsPolicy' :: Maybe Text
domainOwner = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:domain:DeleteDomainPermissionsPolicy' :: Text
domain = Text
pDomain_
}
deleteDomainPermissionsPolicy_policyRevision :: Lens.Lens' DeleteDomainPermissionsPolicy (Prelude.Maybe Prelude.Text)
deleteDomainPermissionsPolicy_policyRevision :: (Maybe Text -> f (Maybe Text))
-> DeleteDomainPermissionsPolicy -> f DeleteDomainPermissionsPolicy
deleteDomainPermissionsPolicy_policyRevision = (DeleteDomainPermissionsPolicy -> Maybe Text)
-> (DeleteDomainPermissionsPolicy
-> Maybe Text -> DeleteDomainPermissionsPolicy)
-> Lens
DeleteDomainPermissionsPolicy
DeleteDomainPermissionsPolicy
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteDomainPermissionsPolicy' {Maybe Text
policyRevision :: Maybe Text
$sel:policyRevision:DeleteDomainPermissionsPolicy' :: DeleteDomainPermissionsPolicy -> Maybe Text
policyRevision} -> Maybe Text
policyRevision) (\s :: DeleteDomainPermissionsPolicy
s@DeleteDomainPermissionsPolicy' {} Maybe Text
a -> DeleteDomainPermissionsPolicy
s {$sel:policyRevision:DeleteDomainPermissionsPolicy' :: Maybe Text
policyRevision = Maybe Text
a} :: DeleteDomainPermissionsPolicy)
deleteDomainPermissionsPolicy_domainOwner :: Lens.Lens' DeleteDomainPermissionsPolicy (Prelude.Maybe Prelude.Text)
deleteDomainPermissionsPolicy_domainOwner :: (Maybe Text -> f (Maybe Text))
-> DeleteDomainPermissionsPolicy -> f DeleteDomainPermissionsPolicy
deleteDomainPermissionsPolicy_domainOwner = (DeleteDomainPermissionsPolicy -> Maybe Text)
-> (DeleteDomainPermissionsPolicy
-> Maybe Text -> DeleteDomainPermissionsPolicy)
-> Lens
DeleteDomainPermissionsPolicy
DeleteDomainPermissionsPolicy
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteDomainPermissionsPolicy' {Maybe Text
domainOwner :: Maybe Text
$sel:domainOwner:DeleteDomainPermissionsPolicy' :: DeleteDomainPermissionsPolicy -> Maybe Text
domainOwner} -> Maybe Text
domainOwner) (\s :: DeleteDomainPermissionsPolicy
s@DeleteDomainPermissionsPolicy' {} Maybe Text
a -> DeleteDomainPermissionsPolicy
s {$sel:domainOwner:DeleteDomainPermissionsPolicy' :: Maybe Text
domainOwner = Maybe Text
a} :: DeleteDomainPermissionsPolicy)
deleteDomainPermissionsPolicy_domain :: Lens.Lens' DeleteDomainPermissionsPolicy Prelude.Text
deleteDomainPermissionsPolicy_domain :: (Text -> f Text)
-> DeleteDomainPermissionsPolicy -> f DeleteDomainPermissionsPolicy
deleteDomainPermissionsPolicy_domain = (DeleteDomainPermissionsPolicy -> Text)
-> (DeleteDomainPermissionsPolicy
-> Text -> DeleteDomainPermissionsPolicy)
-> Lens
DeleteDomainPermissionsPolicy
DeleteDomainPermissionsPolicy
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteDomainPermissionsPolicy' {Text
domain :: Text
$sel:domain:DeleteDomainPermissionsPolicy' :: DeleteDomainPermissionsPolicy -> Text
domain} -> Text
domain) (\s :: DeleteDomainPermissionsPolicy
s@DeleteDomainPermissionsPolicy' {} Text
a -> DeleteDomainPermissionsPolicy
s {$sel:domain:DeleteDomainPermissionsPolicy' :: Text
domain = Text
a} :: DeleteDomainPermissionsPolicy)
instance
Core.AWSRequest
DeleteDomainPermissionsPolicy
where
type
AWSResponse DeleteDomainPermissionsPolicy =
DeleteDomainPermissionsPolicyResponse
request :: DeleteDomainPermissionsPolicy
-> Request DeleteDomainPermissionsPolicy
request = Service
-> DeleteDomainPermissionsPolicy
-> Request DeleteDomainPermissionsPolicy
forall a. ToRequest a => Service -> a -> Request a
Request.delete Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteDomainPermissionsPolicy
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteDomainPermissionsPolicy)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DeleteDomainPermissionsPolicy))
-> Logger
-> Service
-> Proxy DeleteDomainPermissionsPolicy
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteDomainPermissionsPolicy)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe ResourcePolicy
-> Int -> DeleteDomainPermissionsPolicyResponse
DeleteDomainPermissionsPolicyResponse'
(Maybe ResourcePolicy
-> Int -> DeleteDomainPermissionsPolicyResponse)
-> Either String (Maybe ResourcePolicy)
-> Either String (Int -> DeleteDomainPermissionsPolicyResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe ResourcePolicy)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"policy")
Either String (Int -> DeleteDomainPermissionsPolicyResponse)
-> Either String Int
-> Either String DeleteDomainPermissionsPolicyResponse
forall (f :: * -> *) a b. Applicative f => 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
DeleteDomainPermissionsPolicy
instance Prelude.NFData DeleteDomainPermissionsPolicy
instance Core.ToHeaders DeleteDomainPermissionsPolicy where
toHeaders :: DeleteDomainPermissionsPolicy -> ResponseHeaders
toHeaders =
ResponseHeaders -> DeleteDomainPermissionsPolicy -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToPath DeleteDomainPermissionsPolicy where
toPath :: DeleteDomainPermissionsPolicy -> ByteString
toPath =
ByteString -> DeleteDomainPermissionsPolicy -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/v1/domain/permissions/policy"
instance Core.ToQuery DeleteDomainPermissionsPolicy where
toQuery :: DeleteDomainPermissionsPolicy -> QueryString
toQuery DeleteDomainPermissionsPolicy' {Maybe Text
Text
domain :: Text
domainOwner :: Maybe Text
policyRevision :: Maybe Text
$sel:domain:DeleteDomainPermissionsPolicy' :: DeleteDomainPermissionsPolicy -> Text
$sel:domainOwner:DeleteDomainPermissionsPolicy' :: DeleteDomainPermissionsPolicy -> Maybe Text
$sel:policyRevision:DeleteDomainPermissionsPolicy' :: DeleteDomainPermissionsPolicy -> Maybe Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"policy-revision" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
policyRevision,
ByteString
"domain-owner" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
domainOwner,
ByteString
"domain" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
domain
]
data DeleteDomainPermissionsPolicyResponse = DeleteDomainPermissionsPolicyResponse'
{
DeleteDomainPermissionsPolicyResponse -> Maybe ResourcePolicy
policy :: Prelude.Maybe ResourcePolicy,
DeleteDomainPermissionsPolicyResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteDomainPermissionsPolicyResponse
-> DeleteDomainPermissionsPolicyResponse -> Bool
(DeleteDomainPermissionsPolicyResponse
-> DeleteDomainPermissionsPolicyResponse -> Bool)
-> (DeleteDomainPermissionsPolicyResponse
-> DeleteDomainPermissionsPolicyResponse -> Bool)
-> Eq DeleteDomainPermissionsPolicyResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteDomainPermissionsPolicyResponse
-> DeleteDomainPermissionsPolicyResponse -> Bool
$c/= :: DeleteDomainPermissionsPolicyResponse
-> DeleteDomainPermissionsPolicyResponse -> Bool
== :: DeleteDomainPermissionsPolicyResponse
-> DeleteDomainPermissionsPolicyResponse -> Bool
$c== :: DeleteDomainPermissionsPolicyResponse
-> DeleteDomainPermissionsPolicyResponse -> Bool
Prelude.Eq, ReadPrec [DeleteDomainPermissionsPolicyResponse]
ReadPrec DeleteDomainPermissionsPolicyResponse
Int -> ReadS DeleteDomainPermissionsPolicyResponse
ReadS [DeleteDomainPermissionsPolicyResponse]
(Int -> ReadS DeleteDomainPermissionsPolicyResponse)
-> ReadS [DeleteDomainPermissionsPolicyResponse]
-> ReadPrec DeleteDomainPermissionsPolicyResponse
-> ReadPrec [DeleteDomainPermissionsPolicyResponse]
-> Read DeleteDomainPermissionsPolicyResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteDomainPermissionsPolicyResponse]
$creadListPrec :: ReadPrec [DeleteDomainPermissionsPolicyResponse]
readPrec :: ReadPrec DeleteDomainPermissionsPolicyResponse
$creadPrec :: ReadPrec DeleteDomainPermissionsPolicyResponse
readList :: ReadS [DeleteDomainPermissionsPolicyResponse]
$creadList :: ReadS [DeleteDomainPermissionsPolicyResponse]
readsPrec :: Int -> ReadS DeleteDomainPermissionsPolicyResponse
$creadsPrec :: Int -> ReadS DeleteDomainPermissionsPolicyResponse
Prelude.Read, Int -> DeleteDomainPermissionsPolicyResponse -> ShowS
[DeleteDomainPermissionsPolicyResponse] -> ShowS
DeleteDomainPermissionsPolicyResponse -> String
(Int -> DeleteDomainPermissionsPolicyResponse -> ShowS)
-> (DeleteDomainPermissionsPolicyResponse -> String)
-> ([DeleteDomainPermissionsPolicyResponse] -> ShowS)
-> Show DeleteDomainPermissionsPolicyResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteDomainPermissionsPolicyResponse] -> ShowS
$cshowList :: [DeleteDomainPermissionsPolicyResponse] -> ShowS
show :: DeleteDomainPermissionsPolicyResponse -> String
$cshow :: DeleteDomainPermissionsPolicyResponse -> String
showsPrec :: Int -> DeleteDomainPermissionsPolicyResponse -> ShowS
$cshowsPrec :: Int -> DeleteDomainPermissionsPolicyResponse -> ShowS
Prelude.Show, (forall x.
DeleteDomainPermissionsPolicyResponse
-> Rep DeleteDomainPermissionsPolicyResponse x)
-> (forall x.
Rep DeleteDomainPermissionsPolicyResponse x
-> DeleteDomainPermissionsPolicyResponse)
-> Generic DeleteDomainPermissionsPolicyResponse
forall x.
Rep DeleteDomainPermissionsPolicyResponse x
-> DeleteDomainPermissionsPolicyResponse
forall x.
DeleteDomainPermissionsPolicyResponse
-> Rep DeleteDomainPermissionsPolicyResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteDomainPermissionsPolicyResponse x
-> DeleteDomainPermissionsPolicyResponse
$cfrom :: forall x.
DeleteDomainPermissionsPolicyResponse
-> Rep DeleteDomainPermissionsPolicyResponse x
Prelude.Generic)
newDeleteDomainPermissionsPolicyResponse ::
Prelude.Int ->
DeleteDomainPermissionsPolicyResponse
newDeleteDomainPermissionsPolicyResponse :: Int -> DeleteDomainPermissionsPolicyResponse
newDeleteDomainPermissionsPolicyResponse Int
pHttpStatus_ =
DeleteDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy
-> Int -> DeleteDomainPermissionsPolicyResponse
DeleteDomainPermissionsPolicyResponse'
{ $sel:policy:DeleteDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy
policy =
Maybe ResourcePolicy
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteDomainPermissionsPolicyResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteDomainPermissionsPolicyResponse_policy :: Lens.Lens' DeleteDomainPermissionsPolicyResponse (Prelude.Maybe ResourcePolicy)
deleteDomainPermissionsPolicyResponse_policy :: (Maybe ResourcePolicy -> f (Maybe ResourcePolicy))
-> DeleteDomainPermissionsPolicyResponse
-> f DeleteDomainPermissionsPolicyResponse
deleteDomainPermissionsPolicyResponse_policy = (DeleteDomainPermissionsPolicyResponse -> Maybe ResourcePolicy)
-> (DeleteDomainPermissionsPolicyResponse
-> Maybe ResourcePolicy -> DeleteDomainPermissionsPolicyResponse)
-> Lens
DeleteDomainPermissionsPolicyResponse
DeleteDomainPermissionsPolicyResponse
(Maybe ResourcePolicy)
(Maybe ResourcePolicy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteDomainPermissionsPolicyResponse' {Maybe ResourcePolicy
policy :: Maybe ResourcePolicy
$sel:policy:DeleteDomainPermissionsPolicyResponse' :: DeleteDomainPermissionsPolicyResponse -> Maybe ResourcePolicy
policy} -> Maybe ResourcePolicy
policy) (\s :: DeleteDomainPermissionsPolicyResponse
s@DeleteDomainPermissionsPolicyResponse' {} Maybe ResourcePolicy
a -> DeleteDomainPermissionsPolicyResponse
s {$sel:policy:DeleteDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy
policy = Maybe ResourcePolicy
a} :: DeleteDomainPermissionsPolicyResponse)
deleteDomainPermissionsPolicyResponse_httpStatus :: Lens.Lens' DeleteDomainPermissionsPolicyResponse Prelude.Int
deleteDomainPermissionsPolicyResponse_httpStatus :: (Int -> f Int)
-> DeleteDomainPermissionsPolicyResponse
-> f DeleteDomainPermissionsPolicyResponse
deleteDomainPermissionsPolicyResponse_httpStatus = (DeleteDomainPermissionsPolicyResponse -> Int)
-> (DeleteDomainPermissionsPolicyResponse
-> Int -> DeleteDomainPermissionsPolicyResponse)
-> Lens
DeleteDomainPermissionsPolicyResponse
DeleteDomainPermissionsPolicyResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteDomainPermissionsPolicyResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteDomainPermissionsPolicyResponse' :: DeleteDomainPermissionsPolicyResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteDomainPermissionsPolicyResponse
s@DeleteDomainPermissionsPolicyResponse' {} Int
a -> DeleteDomainPermissionsPolicyResponse
s {$sel:httpStatus:DeleteDomainPermissionsPolicyResponse' :: Int
httpStatus = Int
a} :: DeleteDomainPermissionsPolicyResponse)
instance
Prelude.NFData
DeleteDomainPermissionsPolicyResponse