{-# 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.CloudFront.CreateFieldLevelEncryptionProfile
(
CreateFieldLevelEncryptionProfile (..),
newCreateFieldLevelEncryptionProfile,
createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig,
CreateFieldLevelEncryptionProfileResponse (..),
newCreateFieldLevelEncryptionProfileResponse,
createFieldLevelEncryptionProfileResponse_eTag,
createFieldLevelEncryptionProfileResponse_location,
createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile,
createFieldLevelEncryptionProfileResponse_httpStatus,
)
where
import Amazonka.CloudFront.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 CreateFieldLevelEncryptionProfile = CreateFieldLevelEncryptionProfile'
{
CreateFieldLevelEncryptionProfile
-> FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig :: FieldLevelEncryptionProfileConfig
}
deriving (CreateFieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfile -> Bool
(CreateFieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfile -> Bool)
-> (CreateFieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfile -> Bool)
-> Eq CreateFieldLevelEncryptionProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateFieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfile -> Bool
$c/= :: CreateFieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfile -> Bool
== :: CreateFieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfile -> Bool
$c== :: CreateFieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfile -> Bool
Prelude.Eq, ReadPrec [CreateFieldLevelEncryptionProfile]
ReadPrec CreateFieldLevelEncryptionProfile
Int -> ReadS CreateFieldLevelEncryptionProfile
ReadS [CreateFieldLevelEncryptionProfile]
(Int -> ReadS CreateFieldLevelEncryptionProfile)
-> ReadS [CreateFieldLevelEncryptionProfile]
-> ReadPrec CreateFieldLevelEncryptionProfile
-> ReadPrec [CreateFieldLevelEncryptionProfile]
-> Read CreateFieldLevelEncryptionProfile
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateFieldLevelEncryptionProfile]
$creadListPrec :: ReadPrec [CreateFieldLevelEncryptionProfile]
readPrec :: ReadPrec CreateFieldLevelEncryptionProfile
$creadPrec :: ReadPrec CreateFieldLevelEncryptionProfile
readList :: ReadS [CreateFieldLevelEncryptionProfile]
$creadList :: ReadS [CreateFieldLevelEncryptionProfile]
readsPrec :: Int -> ReadS CreateFieldLevelEncryptionProfile
$creadsPrec :: Int -> ReadS CreateFieldLevelEncryptionProfile
Prelude.Read, Int -> CreateFieldLevelEncryptionProfile -> ShowS
[CreateFieldLevelEncryptionProfile] -> ShowS
CreateFieldLevelEncryptionProfile -> String
(Int -> CreateFieldLevelEncryptionProfile -> ShowS)
-> (CreateFieldLevelEncryptionProfile -> String)
-> ([CreateFieldLevelEncryptionProfile] -> ShowS)
-> Show CreateFieldLevelEncryptionProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateFieldLevelEncryptionProfile] -> ShowS
$cshowList :: [CreateFieldLevelEncryptionProfile] -> ShowS
show :: CreateFieldLevelEncryptionProfile -> String
$cshow :: CreateFieldLevelEncryptionProfile -> String
showsPrec :: Int -> CreateFieldLevelEncryptionProfile -> ShowS
$cshowsPrec :: Int -> CreateFieldLevelEncryptionProfile -> ShowS
Prelude.Show, (forall x.
CreateFieldLevelEncryptionProfile
-> Rep CreateFieldLevelEncryptionProfile x)
-> (forall x.
Rep CreateFieldLevelEncryptionProfile x
-> CreateFieldLevelEncryptionProfile)
-> Generic CreateFieldLevelEncryptionProfile
forall x.
Rep CreateFieldLevelEncryptionProfile x
-> CreateFieldLevelEncryptionProfile
forall x.
CreateFieldLevelEncryptionProfile
-> Rep CreateFieldLevelEncryptionProfile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateFieldLevelEncryptionProfile x
-> CreateFieldLevelEncryptionProfile
$cfrom :: forall x.
CreateFieldLevelEncryptionProfile
-> Rep CreateFieldLevelEncryptionProfile x
Prelude.Generic)
newCreateFieldLevelEncryptionProfile ::
FieldLevelEncryptionProfileConfig ->
CreateFieldLevelEncryptionProfile
newCreateFieldLevelEncryptionProfile :: FieldLevelEncryptionProfileConfig
-> CreateFieldLevelEncryptionProfile
newCreateFieldLevelEncryptionProfile
FieldLevelEncryptionProfileConfig
pFieldLevelEncryptionProfileConfig_ =
CreateFieldLevelEncryptionProfile' :: FieldLevelEncryptionProfileConfig
-> CreateFieldLevelEncryptionProfile
CreateFieldLevelEncryptionProfile'
{ $sel:fieldLevelEncryptionProfileConfig:CreateFieldLevelEncryptionProfile' :: FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig =
FieldLevelEncryptionProfileConfig
pFieldLevelEncryptionProfileConfig_
}
createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: Lens.Lens' CreateFieldLevelEncryptionProfile FieldLevelEncryptionProfileConfig
createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig :: (FieldLevelEncryptionProfileConfig
-> f FieldLevelEncryptionProfileConfig)
-> CreateFieldLevelEncryptionProfile
-> f CreateFieldLevelEncryptionProfile
createFieldLevelEncryptionProfile_fieldLevelEncryptionProfileConfig = (CreateFieldLevelEncryptionProfile
-> FieldLevelEncryptionProfileConfig)
-> (CreateFieldLevelEncryptionProfile
-> FieldLevelEncryptionProfileConfig
-> CreateFieldLevelEncryptionProfile)
-> Lens
CreateFieldLevelEncryptionProfile
CreateFieldLevelEncryptionProfile
FieldLevelEncryptionProfileConfig
FieldLevelEncryptionProfileConfig
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateFieldLevelEncryptionProfile' {FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig :: FieldLevelEncryptionProfileConfig
$sel:fieldLevelEncryptionProfileConfig:CreateFieldLevelEncryptionProfile' :: CreateFieldLevelEncryptionProfile
-> FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig} -> FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig) (\s :: CreateFieldLevelEncryptionProfile
s@CreateFieldLevelEncryptionProfile' {} FieldLevelEncryptionProfileConfig
a -> CreateFieldLevelEncryptionProfile
s {$sel:fieldLevelEncryptionProfileConfig:CreateFieldLevelEncryptionProfile' :: FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig = FieldLevelEncryptionProfileConfig
a} :: CreateFieldLevelEncryptionProfile)
instance
Core.AWSRequest
CreateFieldLevelEncryptionProfile
where
type
AWSResponse CreateFieldLevelEncryptionProfile =
CreateFieldLevelEncryptionProfileResponse
request :: CreateFieldLevelEncryptionProfile
-> Request CreateFieldLevelEncryptionProfile
request = Service
-> CreateFieldLevelEncryptionProfile
-> Request CreateFieldLevelEncryptionProfile
forall a. (ToRequest a, ToElement a) => Service -> a -> Request a
Request.postXML Service
defaultService
response :: Logger
-> Service
-> Proxy CreateFieldLevelEncryptionProfile
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse CreateFieldLevelEncryptionProfile)))
response =
(Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse CreateFieldLevelEncryptionProfile))
-> Logger
-> Service
-> Proxy CreateFieldLevelEncryptionProfile
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse CreateFieldLevelEncryptionProfile)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXML
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Text
-> Maybe Text
-> Maybe FieldLevelEncryptionProfile
-> Int
-> CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse'
(Maybe Text
-> Maybe Text
-> Maybe FieldLevelEncryptionProfile
-> Int
-> CreateFieldLevelEncryptionProfileResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe FieldLevelEncryptionProfile
-> Int
-> CreateFieldLevelEncryptionProfileResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (ResponseHeaders
h ResponseHeaders -> HeaderName -> Either String (Maybe Text)
forall a.
FromText a =>
ResponseHeaders -> HeaderName -> Either String (Maybe a)
Core..#? HeaderName
"ETag")
Either
String
(Maybe Text
-> Maybe FieldLevelEncryptionProfile
-> Int
-> CreateFieldLevelEncryptionProfileResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe FieldLevelEncryptionProfile
-> Int -> CreateFieldLevelEncryptionProfileResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (ResponseHeaders
h ResponseHeaders -> HeaderName -> Either String (Maybe Text)
forall a.
FromText a =>
ResponseHeaders -> HeaderName -> Either String (Maybe a)
Core..#? HeaderName
"Location")
Either
String
(Maybe FieldLevelEncryptionProfile
-> Int -> CreateFieldLevelEncryptionProfileResponse)
-> Either String (Maybe FieldLevelEncryptionProfile)
-> Either String (Int -> CreateFieldLevelEncryptionProfileResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node] -> Either String (Maybe FieldLevelEncryptionProfile)
forall a. FromXML a => [Node] -> Either String a
Core.parseXML [Node]
x)
Either String (Int -> CreateFieldLevelEncryptionProfileResponse)
-> Either String Int
-> Either String CreateFieldLevelEncryptionProfileResponse
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
CreateFieldLevelEncryptionProfile
instance
Prelude.NFData
CreateFieldLevelEncryptionProfile
instance
Core.ToElement
CreateFieldLevelEncryptionProfile
where
toElement :: CreateFieldLevelEncryptionProfile -> Element
toElement CreateFieldLevelEncryptionProfile' {FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig :: FieldLevelEncryptionProfileConfig
$sel:fieldLevelEncryptionProfileConfig:CreateFieldLevelEncryptionProfile' :: CreateFieldLevelEncryptionProfile
-> FieldLevelEncryptionProfileConfig
..} =
Name -> FieldLevelEncryptionProfileConfig -> Element
forall a. ToXML a => Name -> a -> Element
Core.mkElement
Name
"{http://cloudfront.amazonaws.com/doc/2020-05-31/}FieldLevelEncryptionProfileConfig"
FieldLevelEncryptionProfileConfig
fieldLevelEncryptionProfileConfig
instance
Core.ToHeaders
CreateFieldLevelEncryptionProfile
where
toHeaders :: CreateFieldLevelEncryptionProfile -> ResponseHeaders
toHeaders = ResponseHeaders
-> CreateFieldLevelEncryptionProfile -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance
Core.ToPath
CreateFieldLevelEncryptionProfile
where
toPath :: CreateFieldLevelEncryptionProfile -> ByteString
toPath =
ByteString -> CreateFieldLevelEncryptionProfile -> ByteString
forall a b. a -> b -> a
Prelude.const
ByteString
"/2020-05-31/field-level-encryption-profile"
instance
Core.ToQuery
CreateFieldLevelEncryptionProfile
where
toQuery :: CreateFieldLevelEncryptionProfile -> QueryString
toQuery = QueryString -> CreateFieldLevelEncryptionProfile -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateFieldLevelEncryptionProfileResponse = CreateFieldLevelEncryptionProfileResponse'
{
CreateFieldLevelEncryptionProfileResponse -> Maybe Text
eTag :: Prelude.Maybe Prelude.Text,
CreateFieldLevelEncryptionProfileResponse -> Maybe Text
location :: Prelude.Maybe Prelude.Text,
CreateFieldLevelEncryptionProfileResponse
-> Maybe FieldLevelEncryptionProfile
fieldLevelEncryptionProfile :: Prelude.Maybe FieldLevelEncryptionProfile,
CreateFieldLevelEncryptionProfileResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateFieldLevelEncryptionProfileResponse
-> CreateFieldLevelEncryptionProfileResponse -> Bool
(CreateFieldLevelEncryptionProfileResponse
-> CreateFieldLevelEncryptionProfileResponse -> Bool)
-> (CreateFieldLevelEncryptionProfileResponse
-> CreateFieldLevelEncryptionProfileResponse -> Bool)
-> Eq CreateFieldLevelEncryptionProfileResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateFieldLevelEncryptionProfileResponse
-> CreateFieldLevelEncryptionProfileResponse -> Bool
$c/= :: CreateFieldLevelEncryptionProfileResponse
-> CreateFieldLevelEncryptionProfileResponse -> Bool
== :: CreateFieldLevelEncryptionProfileResponse
-> CreateFieldLevelEncryptionProfileResponse -> Bool
$c== :: CreateFieldLevelEncryptionProfileResponse
-> CreateFieldLevelEncryptionProfileResponse -> Bool
Prelude.Eq, ReadPrec [CreateFieldLevelEncryptionProfileResponse]
ReadPrec CreateFieldLevelEncryptionProfileResponse
Int -> ReadS CreateFieldLevelEncryptionProfileResponse
ReadS [CreateFieldLevelEncryptionProfileResponse]
(Int -> ReadS CreateFieldLevelEncryptionProfileResponse)
-> ReadS [CreateFieldLevelEncryptionProfileResponse]
-> ReadPrec CreateFieldLevelEncryptionProfileResponse
-> ReadPrec [CreateFieldLevelEncryptionProfileResponse]
-> Read CreateFieldLevelEncryptionProfileResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateFieldLevelEncryptionProfileResponse]
$creadListPrec :: ReadPrec [CreateFieldLevelEncryptionProfileResponse]
readPrec :: ReadPrec CreateFieldLevelEncryptionProfileResponse
$creadPrec :: ReadPrec CreateFieldLevelEncryptionProfileResponse
readList :: ReadS [CreateFieldLevelEncryptionProfileResponse]
$creadList :: ReadS [CreateFieldLevelEncryptionProfileResponse]
readsPrec :: Int -> ReadS CreateFieldLevelEncryptionProfileResponse
$creadsPrec :: Int -> ReadS CreateFieldLevelEncryptionProfileResponse
Prelude.Read, Int -> CreateFieldLevelEncryptionProfileResponse -> ShowS
[CreateFieldLevelEncryptionProfileResponse] -> ShowS
CreateFieldLevelEncryptionProfileResponse -> String
(Int -> CreateFieldLevelEncryptionProfileResponse -> ShowS)
-> (CreateFieldLevelEncryptionProfileResponse -> String)
-> ([CreateFieldLevelEncryptionProfileResponse] -> ShowS)
-> Show CreateFieldLevelEncryptionProfileResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateFieldLevelEncryptionProfileResponse] -> ShowS
$cshowList :: [CreateFieldLevelEncryptionProfileResponse] -> ShowS
show :: CreateFieldLevelEncryptionProfileResponse -> String
$cshow :: CreateFieldLevelEncryptionProfileResponse -> String
showsPrec :: Int -> CreateFieldLevelEncryptionProfileResponse -> ShowS
$cshowsPrec :: Int -> CreateFieldLevelEncryptionProfileResponse -> ShowS
Prelude.Show, (forall x.
CreateFieldLevelEncryptionProfileResponse
-> Rep CreateFieldLevelEncryptionProfileResponse x)
-> (forall x.
Rep CreateFieldLevelEncryptionProfileResponse x
-> CreateFieldLevelEncryptionProfileResponse)
-> Generic CreateFieldLevelEncryptionProfileResponse
forall x.
Rep CreateFieldLevelEncryptionProfileResponse x
-> CreateFieldLevelEncryptionProfileResponse
forall x.
CreateFieldLevelEncryptionProfileResponse
-> Rep CreateFieldLevelEncryptionProfileResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateFieldLevelEncryptionProfileResponse x
-> CreateFieldLevelEncryptionProfileResponse
$cfrom :: forall x.
CreateFieldLevelEncryptionProfileResponse
-> Rep CreateFieldLevelEncryptionProfileResponse x
Prelude.Generic)
newCreateFieldLevelEncryptionProfileResponse ::
Prelude.Int ->
CreateFieldLevelEncryptionProfileResponse
newCreateFieldLevelEncryptionProfileResponse :: Int -> CreateFieldLevelEncryptionProfileResponse
newCreateFieldLevelEncryptionProfileResponse
Int
pHttpStatus_ =
CreateFieldLevelEncryptionProfileResponse' :: Maybe Text
-> Maybe Text
-> Maybe FieldLevelEncryptionProfile
-> Int
-> CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse'
{ $sel:eTag:CreateFieldLevelEncryptionProfileResponse' :: Maybe Text
eTag =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:location:CreateFieldLevelEncryptionProfileResponse' :: Maybe Text
location = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:fieldLevelEncryptionProfile:CreateFieldLevelEncryptionProfileResponse' :: Maybe FieldLevelEncryptionProfile
fieldLevelEncryptionProfile =
Maybe FieldLevelEncryptionProfile
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateFieldLevelEncryptionProfileResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createFieldLevelEncryptionProfileResponse_eTag :: Lens.Lens' CreateFieldLevelEncryptionProfileResponse (Prelude.Maybe Prelude.Text)
createFieldLevelEncryptionProfileResponse_eTag :: (Maybe Text -> f (Maybe Text))
-> CreateFieldLevelEncryptionProfileResponse
-> f CreateFieldLevelEncryptionProfileResponse
createFieldLevelEncryptionProfileResponse_eTag = (CreateFieldLevelEncryptionProfileResponse -> Maybe Text)
-> (CreateFieldLevelEncryptionProfileResponse
-> Maybe Text -> CreateFieldLevelEncryptionProfileResponse)
-> Lens
CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateFieldLevelEncryptionProfileResponse' {Maybe Text
eTag :: Maybe Text
$sel:eTag:CreateFieldLevelEncryptionProfileResponse' :: CreateFieldLevelEncryptionProfileResponse -> Maybe Text
eTag} -> Maybe Text
eTag) (\s :: CreateFieldLevelEncryptionProfileResponse
s@CreateFieldLevelEncryptionProfileResponse' {} Maybe Text
a -> CreateFieldLevelEncryptionProfileResponse
s {$sel:eTag:CreateFieldLevelEncryptionProfileResponse' :: Maybe Text
eTag = Maybe Text
a} :: CreateFieldLevelEncryptionProfileResponse)
createFieldLevelEncryptionProfileResponse_location :: Lens.Lens' CreateFieldLevelEncryptionProfileResponse (Prelude.Maybe Prelude.Text)
createFieldLevelEncryptionProfileResponse_location :: (Maybe Text -> f (Maybe Text))
-> CreateFieldLevelEncryptionProfileResponse
-> f CreateFieldLevelEncryptionProfileResponse
createFieldLevelEncryptionProfileResponse_location = (CreateFieldLevelEncryptionProfileResponse -> Maybe Text)
-> (CreateFieldLevelEncryptionProfileResponse
-> Maybe Text -> CreateFieldLevelEncryptionProfileResponse)
-> Lens
CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateFieldLevelEncryptionProfileResponse' {Maybe Text
location :: Maybe Text
$sel:location:CreateFieldLevelEncryptionProfileResponse' :: CreateFieldLevelEncryptionProfileResponse -> Maybe Text
location} -> Maybe Text
location) (\s :: CreateFieldLevelEncryptionProfileResponse
s@CreateFieldLevelEncryptionProfileResponse' {} Maybe Text
a -> CreateFieldLevelEncryptionProfileResponse
s {$sel:location:CreateFieldLevelEncryptionProfileResponse' :: Maybe Text
location = Maybe Text
a} :: CreateFieldLevelEncryptionProfileResponse)
createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: Lens.Lens' CreateFieldLevelEncryptionProfileResponse (Prelude.Maybe FieldLevelEncryptionProfile)
createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile :: (Maybe FieldLevelEncryptionProfile
-> f (Maybe FieldLevelEncryptionProfile))
-> CreateFieldLevelEncryptionProfileResponse
-> f CreateFieldLevelEncryptionProfileResponse
createFieldLevelEncryptionProfileResponse_fieldLevelEncryptionProfile = (CreateFieldLevelEncryptionProfileResponse
-> Maybe FieldLevelEncryptionProfile)
-> (CreateFieldLevelEncryptionProfileResponse
-> Maybe FieldLevelEncryptionProfile
-> CreateFieldLevelEncryptionProfileResponse)
-> Lens
CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse
(Maybe FieldLevelEncryptionProfile)
(Maybe FieldLevelEncryptionProfile)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateFieldLevelEncryptionProfileResponse' {Maybe FieldLevelEncryptionProfile
fieldLevelEncryptionProfile :: Maybe FieldLevelEncryptionProfile
$sel:fieldLevelEncryptionProfile:CreateFieldLevelEncryptionProfileResponse' :: CreateFieldLevelEncryptionProfileResponse
-> Maybe FieldLevelEncryptionProfile
fieldLevelEncryptionProfile} -> Maybe FieldLevelEncryptionProfile
fieldLevelEncryptionProfile) (\s :: CreateFieldLevelEncryptionProfileResponse
s@CreateFieldLevelEncryptionProfileResponse' {} Maybe FieldLevelEncryptionProfile
a -> CreateFieldLevelEncryptionProfileResponse
s {$sel:fieldLevelEncryptionProfile:CreateFieldLevelEncryptionProfileResponse' :: Maybe FieldLevelEncryptionProfile
fieldLevelEncryptionProfile = Maybe FieldLevelEncryptionProfile
a} :: CreateFieldLevelEncryptionProfileResponse)
createFieldLevelEncryptionProfileResponse_httpStatus :: Lens.Lens' CreateFieldLevelEncryptionProfileResponse Prelude.Int
createFieldLevelEncryptionProfileResponse_httpStatus :: (Int -> f Int)
-> CreateFieldLevelEncryptionProfileResponse
-> f CreateFieldLevelEncryptionProfileResponse
createFieldLevelEncryptionProfileResponse_httpStatus = (CreateFieldLevelEncryptionProfileResponse -> Int)
-> (CreateFieldLevelEncryptionProfileResponse
-> Int -> CreateFieldLevelEncryptionProfileResponse)
-> Lens
CreateFieldLevelEncryptionProfileResponse
CreateFieldLevelEncryptionProfileResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateFieldLevelEncryptionProfileResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateFieldLevelEncryptionProfileResponse' :: CreateFieldLevelEncryptionProfileResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateFieldLevelEncryptionProfileResponse
s@CreateFieldLevelEncryptionProfileResponse' {} Int
a -> CreateFieldLevelEncryptionProfileResponse
s {$sel:httpStatus:CreateFieldLevelEncryptionProfileResponse' :: Int
httpStatus = Int
a} :: CreateFieldLevelEncryptionProfileResponse)
instance
Prelude.NFData
CreateFieldLevelEncryptionProfileResponse