{-# 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.Greengrass.UpdateGroupCertificateConfiguration
(
UpdateGroupCertificateConfiguration (..),
newUpdateGroupCertificateConfiguration,
updateGroupCertificateConfiguration_certificateExpiryInMilliseconds,
updateGroupCertificateConfiguration_groupId,
UpdateGroupCertificateConfigurationResponse (..),
newUpdateGroupCertificateConfigurationResponse,
updateGroupCertificateConfigurationResponse_certificateAuthorityExpiryInMilliseconds,
updateGroupCertificateConfigurationResponse_groupId,
updateGroupCertificateConfigurationResponse_certificateExpiryInMilliseconds,
updateGroupCertificateConfigurationResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.Greengrass.Types
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 UpdateGroupCertificateConfiguration = UpdateGroupCertificateConfiguration'
{
UpdateGroupCertificateConfiguration -> Maybe Text
certificateExpiryInMilliseconds :: Prelude.Maybe Prelude.Text,
UpdateGroupCertificateConfiguration -> Text
groupId :: Prelude.Text
}
deriving (UpdateGroupCertificateConfiguration
-> UpdateGroupCertificateConfiguration -> Bool
(UpdateGroupCertificateConfiguration
-> UpdateGroupCertificateConfiguration -> Bool)
-> (UpdateGroupCertificateConfiguration
-> UpdateGroupCertificateConfiguration -> Bool)
-> Eq UpdateGroupCertificateConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateGroupCertificateConfiguration
-> UpdateGroupCertificateConfiguration -> Bool
$c/= :: UpdateGroupCertificateConfiguration
-> UpdateGroupCertificateConfiguration -> Bool
== :: UpdateGroupCertificateConfiguration
-> UpdateGroupCertificateConfiguration -> Bool
$c== :: UpdateGroupCertificateConfiguration
-> UpdateGroupCertificateConfiguration -> Bool
Prelude.Eq, ReadPrec [UpdateGroupCertificateConfiguration]
ReadPrec UpdateGroupCertificateConfiguration
Int -> ReadS UpdateGroupCertificateConfiguration
ReadS [UpdateGroupCertificateConfiguration]
(Int -> ReadS UpdateGroupCertificateConfiguration)
-> ReadS [UpdateGroupCertificateConfiguration]
-> ReadPrec UpdateGroupCertificateConfiguration
-> ReadPrec [UpdateGroupCertificateConfiguration]
-> Read UpdateGroupCertificateConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateGroupCertificateConfiguration]
$creadListPrec :: ReadPrec [UpdateGroupCertificateConfiguration]
readPrec :: ReadPrec UpdateGroupCertificateConfiguration
$creadPrec :: ReadPrec UpdateGroupCertificateConfiguration
readList :: ReadS [UpdateGroupCertificateConfiguration]
$creadList :: ReadS [UpdateGroupCertificateConfiguration]
readsPrec :: Int -> ReadS UpdateGroupCertificateConfiguration
$creadsPrec :: Int -> ReadS UpdateGroupCertificateConfiguration
Prelude.Read, Int -> UpdateGroupCertificateConfiguration -> ShowS
[UpdateGroupCertificateConfiguration] -> ShowS
UpdateGroupCertificateConfiguration -> String
(Int -> UpdateGroupCertificateConfiguration -> ShowS)
-> (UpdateGroupCertificateConfiguration -> String)
-> ([UpdateGroupCertificateConfiguration] -> ShowS)
-> Show UpdateGroupCertificateConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateGroupCertificateConfiguration] -> ShowS
$cshowList :: [UpdateGroupCertificateConfiguration] -> ShowS
show :: UpdateGroupCertificateConfiguration -> String
$cshow :: UpdateGroupCertificateConfiguration -> String
showsPrec :: Int -> UpdateGroupCertificateConfiguration -> ShowS
$cshowsPrec :: Int -> UpdateGroupCertificateConfiguration -> ShowS
Prelude.Show, (forall x.
UpdateGroupCertificateConfiguration
-> Rep UpdateGroupCertificateConfiguration x)
-> (forall x.
Rep UpdateGroupCertificateConfiguration x
-> UpdateGroupCertificateConfiguration)
-> Generic UpdateGroupCertificateConfiguration
forall x.
Rep UpdateGroupCertificateConfiguration x
-> UpdateGroupCertificateConfiguration
forall x.
UpdateGroupCertificateConfiguration
-> Rep UpdateGroupCertificateConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateGroupCertificateConfiguration x
-> UpdateGroupCertificateConfiguration
$cfrom :: forall x.
UpdateGroupCertificateConfiguration
-> Rep UpdateGroupCertificateConfiguration x
Prelude.Generic)
newUpdateGroupCertificateConfiguration ::
Prelude.Text ->
UpdateGroupCertificateConfiguration
newUpdateGroupCertificateConfiguration :: Text -> UpdateGroupCertificateConfiguration
newUpdateGroupCertificateConfiguration Text
pGroupId_ =
UpdateGroupCertificateConfiguration' :: Maybe Text -> Text -> UpdateGroupCertificateConfiguration
UpdateGroupCertificateConfiguration'
{ $sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfiguration' :: Maybe Text
certificateExpiryInMilliseconds =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:groupId:UpdateGroupCertificateConfiguration' :: Text
groupId = Text
pGroupId_
}
updateGroupCertificateConfiguration_certificateExpiryInMilliseconds :: Lens.Lens' UpdateGroupCertificateConfiguration (Prelude.Maybe Prelude.Text)
updateGroupCertificateConfiguration_certificateExpiryInMilliseconds :: (Maybe Text -> f (Maybe Text))
-> UpdateGroupCertificateConfiguration
-> f UpdateGroupCertificateConfiguration
updateGroupCertificateConfiguration_certificateExpiryInMilliseconds = (UpdateGroupCertificateConfiguration -> Maybe Text)
-> (UpdateGroupCertificateConfiguration
-> Maybe Text -> UpdateGroupCertificateConfiguration)
-> Lens
UpdateGroupCertificateConfiguration
UpdateGroupCertificateConfiguration
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateGroupCertificateConfiguration' {Maybe Text
certificateExpiryInMilliseconds :: Maybe Text
$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfiguration' :: UpdateGroupCertificateConfiguration -> Maybe Text
certificateExpiryInMilliseconds} -> Maybe Text
certificateExpiryInMilliseconds) (\s :: UpdateGroupCertificateConfiguration
s@UpdateGroupCertificateConfiguration' {} Maybe Text
a -> UpdateGroupCertificateConfiguration
s {$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfiguration' :: Maybe Text
certificateExpiryInMilliseconds = Maybe Text
a} :: UpdateGroupCertificateConfiguration)
updateGroupCertificateConfiguration_groupId :: Lens.Lens' UpdateGroupCertificateConfiguration Prelude.Text
updateGroupCertificateConfiguration_groupId :: (Text -> f Text)
-> UpdateGroupCertificateConfiguration
-> f UpdateGroupCertificateConfiguration
updateGroupCertificateConfiguration_groupId = (UpdateGroupCertificateConfiguration -> Text)
-> (UpdateGroupCertificateConfiguration
-> Text -> UpdateGroupCertificateConfiguration)
-> Lens
UpdateGroupCertificateConfiguration
UpdateGroupCertificateConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateGroupCertificateConfiguration' {Text
groupId :: Text
$sel:groupId:UpdateGroupCertificateConfiguration' :: UpdateGroupCertificateConfiguration -> Text
groupId} -> Text
groupId) (\s :: UpdateGroupCertificateConfiguration
s@UpdateGroupCertificateConfiguration' {} Text
a -> UpdateGroupCertificateConfiguration
s {$sel:groupId:UpdateGroupCertificateConfiguration' :: Text
groupId = Text
a} :: UpdateGroupCertificateConfiguration)
instance
Core.AWSRequest
UpdateGroupCertificateConfiguration
where
type
AWSResponse UpdateGroupCertificateConfiguration =
UpdateGroupCertificateConfigurationResponse
request :: UpdateGroupCertificateConfiguration
-> Request UpdateGroupCertificateConfiguration
request = Service
-> UpdateGroupCertificateConfiguration
-> Request UpdateGroupCertificateConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.putJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateGroupCertificateConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse UpdateGroupCertificateConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpdateGroupCertificateConfiguration))
-> Logger
-> Service
-> Proxy UpdateGroupCertificateConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse UpdateGroupCertificateConfiguration)))
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 Text
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateGroupCertificateConfigurationResponse
UpdateGroupCertificateConfigurationResponse'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateGroupCertificateConfigurationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Int
-> UpdateGroupCertificateConfigurationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x
Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CertificateAuthorityExpiryInMilliseconds"
)
Either
String
(Maybe Text
-> Maybe Text
-> Int
-> UpdateGroupCertificateConfigurationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text -> Int -> UpdateGroupCertificateConfigurationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"GroupId")
Either
String
(Maybe Text -> Int -> UpdateGroupCertificateConfigurationResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> UpdateGroupCertificateConfigurationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"CertificateExpiryInMilliseconds")
Either String (Int -> UpdateGroupCertificateConfigurationResponse)
-> Either String Int
-> Either String UpdateGroupCertificateConfigurationResponse
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
UpdateGroupCertificateConfiguration
instance
Prelude.NFData
UpdateGroupCertificateConfiguration
instance
Core.ToHeaders
UpdateGroupCertificateConfiguration
where
toHeaders :: UpdateGroupCertificateConfiguration -> ResponseHeaders
toHeaders =
ResponseHeaders
-> UpdateGroupCertificateConfiguration -> 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.ToJSON
UpdateGroupCertificateConfiguration
where
toJSON :: UpdateGroupCertificateConfiguration -> Value
toJSON UpdateGroupCertificateConfiguration' {Maybe Text
Text
groupId :: Text
certificateExpiryInMilliseconds :: Maybe Text
$sel:groupId:UpdateGroupCertificateConfiguration' :: UpdateGroupCertificateConfiguration -> Text
$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfiguration' :: UpdateGroupCertificateConfiguration -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"CertificateExpiryInMilliseconds" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
certificateExpiryInMilliseconds
]
)
instance
Core.ToPath
UpdateGroupCertificateConfiguration
where
toPath :: UpdateGroupCertificateConfiguration -> ByteString
toPath UpdateGroupCertificateConfiguration' {Maybe Text
Text
groupId :: Text
certificateExpiryInMilliseconds :: Maybe Text
$sel:groupId:UpdateGroupCertificateConfiguration' :: UpdateGroupCertificateConfiguration -> Text
$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfiguration' :: UpdateGroupCertificateConfiguration -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/greengrass/groups/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
groupId,
ByteString
"/certificateauthorities/configuration/expiry"
]
instance
Core.ToQuery
UpdateGroupCertificateConfiguration
where
toQuery :: UpdateGroupCertificateConfiguration -> QueryString
toQuery = QueryString -> UpdateGroupCertificateConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateGroupCertificateConfigurationResponse = UpdateGroupCertificateConfigurationResponse'
{
UpdateGroupCertificateConfigurationResponse -> Maybe Text
certificateAuthorityExpiryInMilliseconds :: Prelude.Maybe Prelude.Text,
UpdateGroupCertificateConfigurationResponse -> Maybe Text
groupId :: Prelude.Maybe Prelude.Text,
UpdateGroupCertificateConfigurationResponse -> Maybe Text
certificateExpiryInMilliseconds :: Prelude.Maybe Prelude.Text,
UpdateGroupCertificateConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpdateGroupCertificateConfigurationResponse
-> UpdateGroupCertificateConfigurationResponse -> Bool
(UpdateGroupCertificateConfigurationResponse
-> UpdateGroupCertificateConfigurationResponse -> Bool)
-> (UpdateGroupCertificateConfigurationResponse
-> UpdateGroupCertificateConfigurationResponse -> Bool)
-> Eq UpdateGroupCertificateConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateGroupCertificateConfigurationResponse
-> UpdateGroupCertificateConfigurationResponse -> Bool
$c/= :: UpdateGroupCertificateConfigurationResponse
-> UpdateGroupCertificateConfigurationResponse -> Bool
== :: UpdateGroupCertificateConfigurationResponse
-> UpdateGroupCertificateConfigurationResponse -> Bool
$c== :: UpdateGroupCertificateConfigurationResponse
-> UpdateGroupCertificateConfigurationResponse -> Bool
Prelude.Eq, ReadPrec [UpdateGroupCertificateConfigurationResponse]
ReadPrec UpdateGroupCertificateConfigurationResponse
Int -> ReadS UpdateGroupCertificateConfigurationResponse
ReadS [UpdateGroupCertificateConfigurationResponse]
(Int -> ReadS UpdateGroupCertificateConfigurationResponse)
-> ReadS [UpdateGroupCertificateConfigurationResponse]
-> ReadPrec UpdateGroupCertificateConfigurationResponse
-> ReadPrec [UpdateGroupCertificateConfigurationResponse]
-> Read UpdateGroupCertificateConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateGroupCertificateConfigurationResponse]
$creadListPrec :: ReadPrec [UpdateGroupCertificateConfigurationResponse]
readPrec :: ReadPrec UpdateGroupCertificateConfigurationResponse
$creadPrec :: ReadPrec UpdateGroupCertificateConfigurationResponse
readList :: ReadS [UpdateGroupCertificateConfigurationResponse]
$creadList :: ReadS [UpdateGroupCertificateConfigurationResponse]
readsPrec :: Int -> ReadS UpdateGroupCertificateConfigurationResponse
$creadsPrec :: Int -> ReadS UpdateGroupCertificateConfigurationResponse
Prelude.Read, Int -> UpdateGroupCertificateConfigurationResponse -> ShowS
[UpdateGroupCertificateConfigurationResponse] -> ShowS
UpdateGroupCertificateConfigurationResponse -> String
(Int -> UpdateGroupCertificateConfigurationResponse -> ShowS)
-> (UpdateGroupCertificateConfigurationResponse -> String)
-> ([UpdateGroupCertificateConfigurationResponse] -> ShowS)
-> Show UpdateGroupCertificateConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateGroupCertificateConfigurationResponse] -> ShowS
$cshowList :: [UpdateGroupCertificateConfigurationResponse] -> ShowS
show :: UpdateGroupCertificateConfigurationResponse -> String
$cshow :: UpdateGroupCertificateConfigurationResponse -> String
showsPrec :: Int -> UpdateGroupCertificateConfigurationResponse -> ShowS
$cshowsPrec :: Int -> UpdateGroupCertificateConfigurationResponse -> ShowS
Prelude.Show, (forall x.
UpdateGroupCertificateConfigurationResponse
-> Rep UpdateGroupCertificateConfigurationResponse x)
-> (forall x.
Rep UpdateGroupCertificateConfigurationResponse x
-> UpdateGroupCertificateConfigurationResponse)
-> Generic UpdateGroupCertificateConfigurationResponse
forall x.
Rep UpdateGroupCertificateConfigurationResponse x
-> UpdateGroupCertificateConfigurationResponse
forall x.
UpdateGroupCertificateConfigurationResponse
-> Rep UpdateGroupCertificateConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateGroupCertificateConfigurationResponse x
-> UpdateGroupCertificateConfigurationResponse
$cfrom :: forall x.
UpdateGroupCertificateConfigurationResponse
-> Rep UpdateGroupCertificateConfigurationResponse x
Prelude.Generic)
newUpdateGroupCertificateConfigurationResponse ::
Prelude.Int ->
UpdateGroupCertificateConfigurationResponse
newUpdateGroupCertificateConfigurationResponse :: Int -> UpdateGroupCertificateConfigurationResponse
newUpdateGroupCertificateConfigurationResponse
Int
pHttpStatus_ =
UpdateGroupCertificateConfigurationResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> UpdateGroupCertificateConfigurationResponse
UpdateGroupCertificateConfigurationResponse'
{ $sel:certificateAuthorityExpiryInMilliseconds:UpdateGroupCertificateConfigurationResponse' :: Maybe Text
certificateAuthorityExpiryInMilliseconds =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:groupId:UpdateGroupCertificateConfigurationResponse' :: Maybe Text
groupId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfigurationResponse' :: Maybe Text
certificateExpiryInMilliseconds =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:UpdateGroupCertificateConfigurationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
updateGroupCertificateConfigurationResponse_certificateAuthorityExpiryInMilliseconds :: Lens.Lens' UpdateGroupCertificateConfigurationResponse (Prelude.Maybe Prelude.Text)
updateGroupCertificateConfigurationResponse_certificateAuthorityExpiryInMilliseconds :: (Maybe Text -> f (Maybe Text))
-> UpdateGroupCertificateConfigurationResponse
-> f UpdateGroupCertificateConfigurationResponse
updateGroupCertificateConfigurationResponse_certificateAuthorityExpiryInMilliseconds = (UpdateGroupCertificateConfigurationResponse -> Maybe Text)
-> (UpdateGroupCertificateConfigurationResponse
-> Maybe Text -> UpdateGroupCertificateConfigurationResponse)
-> Lens
UpdateGroupCertificateConfigurationResponse
UpdateGroupCertificateConfigurationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateGroupCertificateConfigurationResponse' {Maybe Text
certificateAuthorityExpiryInMilliseconds :: Maybe Text
$sel:certificateAuthorityExpiryInMilliseconds:UpdateGroupCertificateConfigurationResponse' :: UpdateGroupCertificateConfigurationResponse -> Maybe Text
certificateAuthorityExpiryInMilliseconds} -> Maybe Text
certificateAuthorityExpiryInMilliseconds) (\s :: UpdateGroupCertificateConfigurationResponse
s@UpdateGroupCertificateConfigurationResponse' {} Maybe Text
a -> UpdateGroupCertificateConfigurationResponse
s {$sel:certificateAuthorityExpiryInMilliseconds:UpdateGroupCertificateConfigurationResponse' :: Maybe Text
certificateAuthorityExpiryInMilliseconds = Maybe Text
a} :: UpdateGroupCertificateConfigurationResponse)
updateGroupCertificateConfigurationResponse_groupId :: Lens.Lens' UpdateGroupCertificateConfigurationResponse (Prelude.Maybe Prelude.Text)
updateGroupCertificateConfigurationResponse_groupId :: (Maybe Text -> f (Maybe Text))
-> UpdateGroupCertificateConfigurationResponse
-> f UpdateGroupCertificateConfigurationResponse
updateGroupCertificateConfigurationResponse_groupId = (UpdateGroupCertificateConfigurationResponse -> Maybe Text)
-> (UpdateGroupCertificateConfigurationResponse
-> Maybe Text -> UpdateGroupCertificateConfigurationResponse)
-> Lens
UpdateGroupCertificateConfigurationResponse
UpdateGroupCertificateConfigurationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateGroupCertificateConfigurationResponse' {Maybe Text
groupId :: Maybe Text
$sel:groupId:UpdateGroupCertificateConfigurationResponse' :: UpdateGroupCertificateConfigurationResponse -> Maybe Text
groupId} -> Maybe Text
groupId) (\s :: UpdateGroupCertificateConfigurationResponse
s@UpdateGroupCertificateConfigurationResponse' {} Maybe Text
a -> UpdateGroupCertificateConfigurationResponse
s {$sel:groupId:UpdateGroupCertificateConfigurationResponse' :: Maybe Text
groupId = Maybe Text
a} :: UpdateGroupCertificateConfigurationResponse)
updateGroupCertificateConfigurationResponse_certificateExpiryInMilliseconds :: Lens.Lens' UpdateGroupCertificateConfigurationResponse (Prelude.Maybe Prelude.Text)
updateGroupCertificateConfigurationResponse_certificateExpiryInMilliseconds :: (Maybe Text -> f (Maybe Text))
-> UpdateGroupCertificateConfigurationResponse
-> f UpdateGroupCertificateConfigurationResponse
updateGroupCertificateConfigurationResponse_certificateExpiryInMilliseconds = (UpdateGroupCertificateConfigurationResponse -> Maybe Text)
-> (UpdateGroupCertificateConfigurationResponse
-> Maybe Text -> UpdateGroupCertificateConfigurationResponse)
-> Lens
UpdateGroupCertificateConfigurationResponse
UpdateGroupCertificateConfigurationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateGroupCertificateConfigurationResponse' {Maybe Text
certificateExpiryInMilliseconds :: Maybe Text
$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfigurationResponse' :: UpdateGroupCertificateConfigurationResponse -> Maybe Text
certificateExpiryInMilliseconds} -> Maybe Text
certificateExpiryInMilliseconds) (\s :: UpdateGroupCertificateConfigurationResponse
s@UpdateGroupCertificateConfigurationResponse' {} Maybe Text
a -> UpdateGroupCertificateConfigurationResponse
s {$sel:certificateExpiryInMilliseconds:UpdateGroupCertificateConfigurationResponse' :: Maybe Text
certificateExpiryInMilliseconds = Maybe Text
a} :: UpdateGroupCertificateConfigurationResponse)
updateGroupCertificateConfigurationResponse_httpStatus :: Lens.Lens' UpdateGroupCertificateConfigurationResponse Prelude.Int
updateGroupCertificateConfigurationResponse_httpStatus :: (Int -> f Int)
-> UpdateGroupCertificateConfigurationResponse
-> f UpdateGroupCertificateConfigurationResponse
updateGroupCertificateConfigurationResponse_httpStatus = (UpdateGroupCertificateConfigurationResponse -> Int)
-> (UpdateGroupCertificateConfigurationResponse
-> Int -> UpdateGroupCertificateConfigurationResponse)
-> Lens
UpdateGroupCertificateConfigurationResponse
UpdateGroupCertificateConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateGroupCertificateConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateGroupCertificateConfigurationResponse' :: UpdateGroupCertificateConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateGroupCertificateConfigurationResponse
s@UpdateGroupCertificateConfigurationResponse' {} Int
a -> UpdateGroupCertificateConfigurationResponse
s {$sel:httpStatus:UpdateGroupCertificateConfigurationResponse' :: Int
httpStatus = Int
a} :: UpdateGroupCertificateConfigurationResponse)
instance
Prelude.NFData
UpdateGroupCertificateConfigurationResponse