{-# 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.SSOAdmin.DescribeAccountAssignmentCreationStatus
(
DescribeAccountAssignmentCreationStatus (..),
newDescribeAccountAssignmentCreationStatus,
describeAccountAssignmentCreationStatus_instanceArn,
describeAccountAssignmentCreationStatus_accountAssignmentCreationRequestId,
DescribeAccountAssignmentCreationStatusResponse (..),
newDescribeAccountAssignmentCreationStatusResponse,
describeAccountAssignmentCreationStatusResponse_accountAssignmentCreationStatus,
describeAccountAssignmentCreationStatusResponse_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.SSOAdmin.Types
data DescribeAccountAssignmentCreationStatus = DescribeAccountAssignmentCreationStatus'
{
DescribeAccountAssignmentCreationStatus -> Text
instanceArn :: Prelude.Text,
DescribeAccountAssignmentCreationStatus -> Text
accountAssignmentCreationRequestId :: Prelude.Text
}
deriving (DescribeAccountAssignmentCreationStatus
-> DescribeAccountAssignmentCreationStatus -> Bool
(DescribeAccountAssignmentCreationStatus
-> DescribeAccountAssignmentCreationStatus -> Bool)
-> (DescribeAccountAssignmentCreationStatus
-> DescribeAccountAssignmentCreationStatus -> Bool)
-> Eq DescribeAccountAssignmentCreationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAccountAssignmentCreationStatus
-> DescribeAccountAssignmentCreationStatus -> Bool
$c/= :: DescribeAccountAssignmentCreationStatus
-> DescribeAccountAssignmentCreationStatus -> Bool
== :: DescribeAccountAssignmentCreationStatus
-> DescribeAccountAssignmentCreationStatus -> Bool
$c== :: DescribeAccountAssignmentCreationStatus
-> DescribeAccountAssignmentCreationStatus -> Bool
Prelude.Eq, ReadPrec [DescribeAccountAssignmentCreationStatus]
ReadPrec DescribeAccountAssignmentCreationStatus
Int -> ReadS DescribeAccountAssignmentCreationStatus
ReadS [DescribeAccountAssignmentCreationStatus]
(Int -> ReadS DescribeAccountAssignmentCreationStatus)
-> ReadS [DescribeAccountAssignmentCreationStatus]
-> ReadPrec DescribeAccountAssignmentCreationStatus
-> ReadPrec [DescribeAccountAssignmentCreationStatus]
-> Read DescribeAccountAssignmentCreationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAccountAssignmentCreationStatus]
$creadListPrec :: ReadPrec [DescribeAccountAssignmentCreationStatus]
readPrec :: ReadPrec DescribeAccountAssignmentCreationStatus
$creadPrec :: ReadPrec DescribeAccountAssignmentCreationStatus
readList :: ReadS [DescribeAccountAssignmentCreationStatus]
$creadList :: ReadS [DescribeAccountAssignmentCreationStatus]
readsPrec :: Int -> ReadS DescribeAccountAssignmentCreationStatus
$creadsPrec :: Int -> ReadS DescribeAccountAssignmentCreationStatus
Prelude.Read, Int -> DescribeAccountAssignmentCreationStatus -> ShowS
[DescribeAccountAssignmentCreationStatus] -> ShowS
DescribeAccountAssignmentCreationStatus -> String
(Int -> DescribeAccountAssignmentCreationStatus -> ShowS)
-> (DescribeAccountAssignmentCreationStatus -> String)
-> ([DescribeAccountAssignmentCreationStatus] -> ShowS)
-> Show DescribeAccountAssignmentCreationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAccountAssignmentCreationStatus] -> ShowS
$cshowList :: [DescribeAccountAssignmentCreationStatus] -> ShowS
show :: DescribeAccountAssignmentCreationStatus -> String
$cshow :: DescribeAccountAssignmentCreationStatus -> String
showsPrec :: Int -> DescribeAccountAssignmentCreationStatus -> ShowS
$cshowsPrec :: Int -> DescribeAccountAssignmentCreationStatus -> ShowS
Prelude.Show, (forall x.
DescribeAccountAssignmentCreationStatus
-> Rep DescribeAccountAssignmentCreationStatus x)
-> (forall x.
Rep DescribeAccountAssignmentCreationStatus x
-> DescribeAccountAssignmentCreationStatus)
-> Generic DescribeAccountAssignmentCreationStatus
forall x.
Rep DescribeAccountAssignmentCreationStatus x
-> DescribeAccountAssignmentCreationStatus
forall x.
DescribeAccountAssignmentCreationStatus
-> Rep DescribeAccountAssignmentCreationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAccountAssignmentCreationStatus x
-> DescribeAccountAssignmentCreationStatus
$cfrom :: forall x.
DescribeAccountAssignmentCreationStatus
-> Rep DescribeAccountAssignmentCreationStatus x
Prelude.Generic)
newDescribeAccountAssignmentCreationStatus ::
Prelude.Text ->
Prelude.Text ->
DescribeAccountAssignmentCreationStatus
newDescribeAccountAssignmentCreationStatus :: Text -> Text -> DescribeAccountAssignmentCreationStatus
newDescribeAccountAssignmentCreationStatus
Text
pInstanceArn_
Text
pAccountAssignmentCreationRequestId_ =
DescribeAccountAssignmentCreationStatus' :: Text -> Text -> DescribeAccountAssignmentCreationStatus
DescribeAccountAssignmentCreationStatus'
{ $sel:instanceArn:DescribeAccountAssignmentCreationStatus' :: Text
instanceArn =
Text
pInstanceArn_,
$sel:accountAssignmentCreationRequestId:DescribeAccountAssignmentCreationStatus' :: Text
accountAssignmentCreationRequestId =
Text
pAccountAssignmentCreationRequestId_
}
describeAccountAssignmentCreationStatus_instanceArn :: Lens.Lens' DescribeAccountAssignmentCreationStatus Prelude.Text
describeAccountAssignmentCreationStatus_instanceArn :: (Text -> f Text)
-> DescribeAccountAssignmentCreationStatus
-> f DescribeAccountAssignmentCreationStatus
describeAccountAssignmentCreationStatus_instanceArn = (DescribeAccountAssignmentCreationStatus -> Text)
-> (DescribeAccountAssignmentCreationStatus
-> Text -> DescribeAccountAssignmentCreationStatus)
-> Lens
DescribeAccountAssignmentCreationStatus
DescribeAccountAssignmentCreationStatus
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountAssignmentCreationStatus' {Text
instanceArn :: Text
$sel:instanceArn:DescribeAccountAssignmentCreationStatus' :: DescribeAccountAssignmentCreationStatus -> Text
instanceArn} -> Text
instanceArn) (\s :: DescribeAccountAssignmentCreationStatus
s@DescribeAccountAssignmentCreationStatus' {} Text
a -> DescribeAccountAssignmentCreationStatus
s {$sel:instanceArn:DescribeAccountAssignmentCreationStatus' :: Text
instanceArn = Text
a} :: DescribeAccountAssignmentCreationStatus)
describeAccountAssignmentCreationStatus_accountAssignmentCreationRequestId :: Lens.Lens' DescribeAccountAssignmentCreationStatus Prelude.Text
describeAccountAssignmentCreationStatus_accountAssignmentCreationRequestId :: (Text -> f Text)
-> DescribeAccountAssignmentCreationStatus
-> f DescribeAccountAssignmentCreationStatus
describeAccountAssignmentCreationStatus_accountAssignmentCreationRequestId = (DescribeAccountAssignmentCreationStatus -> Text)
-> (DescribeAccountAssignmentCreationStatus
-> Text -> DescribeAccountAssignmentCreationStatus)
-> Lens
DescribeAccountAssignmentCreationStatus
DescribeAccountAssignmentCreationStatus
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountAssignmentCreationStatus' {Text
accountAssignmentCreationRequestId :: Text
$sel:accountAssignmentCreationRequestId:DescribeAccountAssignmentCreationStatus' :: DescribeAccountAssignmentCreationStatus -> Text
accountAssignmentCreationRequestId} -> Text
accountAssignmentCreationRequestId) (\s :: DescribeAccountAssignmentCreationStatus
s@DescribeAccountAssignmentCreationStatus' {} Text
a -> DescribeAccountAssignmentCreationStatus
s {$sel:accountAssignmentCreationRequestId:DescribeAccountAssignmentCreationStatus' :: Text
accountAssignmentCreationRequestId = Text
a} :: DescribeAccountAssignmentCreationStatus)
instance
Core.AWSRequest
DescribeAccountAssignmentCreationStatus
where
type
AWSResponse
DescribeAccountAssignmentCreationStatus =
DescribeAccountAssignmentCreationStatusResponse
request :: DescribeAccountAssignmentCreationStatus
-> Request DescribeAccountAssignmentCreationStatus
request = Service
-> DescribeAccountAssignmentCreationStatus
-> Request DescribeAccountAssignmentCreationStatus
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeAccountAssignmentCreationStatus
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeAccountAssignmentCreationStatus)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse DescribeAccountAssignmentCreationStatus))
-> Logger
-> Service
-> Proxy DescribeAccountAssignmentCreationStatus
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeAccountAssignmentCreationStatus)))
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 AccountAssignmentOperationStatus
-> Int -> DescribeAccountAssignmentCreationStatusResponse
DescribeAccountAssignmentCreationStatusResponse'
(Maybe AccountAssignmentOperationStatus
-> Int -> DescribeAccountAssignmentCreationStatusResponse)
-> Either String (Maybe AccountAssignmentOperationStatus)
-> Either
String (Int -> DescribeAccountAssignmentCreationStatusResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text -> Either String (Maybe AccountAssignmentOperationStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"AccountAssignmentCreationStatus")
Either
String (Int -> DescribeAccountAssignmentCreationStatusResponse)
-> Either String Int
-> Either String DescribeAccountAssignmentCreationStatusResponse
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
DescribeAccountAssignmentCreationStatus
instance
Prelude.NFData
DescribeAccountAssignmentCreationStatus
instance
Core.ToHeaders
DescribeAccountAssignmentCreationStatus
where
toHeaders :: DescribeAccountAssignmentCreationStatus -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeAccountAssignmentCreationStatus -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"SWBExternalService.DescribeAccountAssignmentCreationStatus" ::
Prelude.ByteString
),
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
DescribeAccountAssignmentCreationStatus
where
toJSON :: DescribeAccountAssignmentCreationStatus -> Value
toJSON DescribeAccountAssignmentCreationStatus' {Text
accountAssignmentCreationRequestId :: Text
instanceArn :: Text
$sel:accountAssignmentCreationRequestId:DescribeAccountAssignmentCreationStatus' :: DescribeAccountAssignmentCreationStatus -> Text
$sel:instanceArn:DescribeAccountAssignmentCreationStatus' :: DescribeAccountAssignmentCreationStatus -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"InstanceArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
instanceArn),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"AccountAssignmentCreationRequestId"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
accountAssignmentCreationRequestId
)
]
)
instance
Core.ToPath
DescribeAccountAssignmentCreationStatus
where
toPath :: DescribeAccountAssignmentCreationStatus -> ByteString
toPath = ByteString -> DescribeAccountAssignmentCreationStatus -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeAccountAssignmentCreationStatus
where
toQuery :: DescribeAccountAssignmentCreationStatus -> QueryString
toQuery = QueryString
-> DescribeAccountAssignmentCreationStatus -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeAccountAssignmentCreationStatusResponse = DescribeAccountAssignmentCreationStatusResponse'
{
DescribeAccountAssignmentCreationStatusResponse
-> Maybe AccountAssignmentOperationStatus
accountAssignmentCreationStatus :: Prelude.Maybe AccountAssignmentOperationStatus,
DescribeAccountAssignmentCreationStatusResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeAccountAssignmentCreationStatusResponse
-> DescribeAccountAssignmentCreationStatusResponse -> Bool
(DescribeAccountAssignmentCreationStatusResponse
-> DescribeAccountAssignmentCreationStatusResponse -> Bool)
-> (DescribeAccountAssignmentCreationStatusResponse
-> DescribeAccountAssignmentCreationStatusResponse -> Bool)
-> Eq DescribeAccountAssignmentCreationStatusResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAccountAssignmentCreationStatusResponse
-> DescribeAccountAssignmentCreationStatusResponse -> Bool
$c/= :: DescribeAccountAssignmentCreationStatusResponse
-> DescribeAccountAssignmentCreationStatusResponse -> Bool
== :: DescribeAccountAssignmentCreationStatusResponse
-> DescribeAccountAssignmentCreationStatusResponse -> Bool
$c== :: DescribeAccountAssignmentCreationStatusResponse
-> DescribeAccountAssignmentCreationStatusResponse -> Bool
Prelude.Eq, ReadPrec [DescribeAccountAssignmentCreationStatusResponse]
ReadPrec DescribeAccountAssignmentCreationStatusResponse
Int -> ReadS DescribeAccountAssignmentCreationStatusResponse
ReadS [DescribeAccountAssignmentCreationStatusResponse]
(Int -> ReadS DescribeAccountAssignmentCreationStatusResponse)
-> ReadS [DescribeAccountAssignmentCreationStatusResponse]
-> ReadPrec DescribeAccountAssignmentCreationStatusResponse
-> ReadPrec [DescribeAccountAssignmentCreationStatusResponse]
-> Read DescribeAccountAssignmentCreationStatusResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAccountAssignmentCreationStatusResponse]
$creadListPrec :: ReadPrec [DescribeAccountAssignmentCreationStatusResponse]
readPrec :: ReadPrec DescribeAccountAssignmentCreationStatusResponse
$creadPrec :: ReadPrec DescribeAccountAssignmentCreationStatusResponse
readList :: ReadS [DescribeAccountAssignmentCreationStatusResponse]
$creadList :: ReadS [DescribeAccountAssignmentCreationStatusResponse]
readsPrec :: Int -> ReadS DescribeAccountAssignmentCreationStatusResponse
$creadsPrec :: Int -> ReadS DescribeAccountAssignmentCreationStatusResponse
Prelude.Read, Int -> DescribeAccountAssignmentCreationStatusResponse -> ShowS
[DescribeAccountAssignmentCreationStatusResponse] -> ShowS
DescribeAccountAssignmentCreationStatusResponse -> String
(Int -> DescribeAccountAssignmentCreationStatusResponse -> ShowS)
-> (DescribeAccountAssignmentCreationStatusResponse -> String)
-> ([DescribeAccountAssignmentCreationStatusResponse] -> ShowS)
-> Show DescribeAccountAssignmentCreationStatusResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAccountAssignmentCreationStatusResponse] -> ShowS
$cshowList :: [DescribeAccountAssignmentCreationStatusResponse] -> ShowS
show :: DescribeAccountAssignmentCreationStatusResponse -> String
$cshow :: DescribeAccountAssignmentCreationStatusResponse -> String
showsPrec :: Int -> DescribeAccountAssignmentCreationStatusResponse -> ShowS
$cshowsPrec :: Int -> DescribeAccountAssignmentCreationStatusResponse -> ShowS
Prelude.Show, (forall x.
DescribeAccountAssignmentCreationStatusResponse
-> Rep DescribeAccountAssignmentCreationStatusResponse x)
-> (forall x.
Rep DescribeAccountAssignmentCreationStatusResponse x
-> DescribeAccountAssignmentCreationStatusResponse)
-> Generic DescribeAccountAssignmentCreationStatusResponse
forall x.
Rep DescribeAccountAssignmentCreationStatusResponse x
-> DescribeAccountAssignmentCreationStatusResponse
forall x.
DescribeAccountAssignmentCreationStatusResponse
-> Rep DescribeAccountAssignmentCreationStatusResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAccountAssignmentCreationStatusResponse x
-> DescribeAccountAssignmentCreationStatusResponse
$cfrom :: forall x.
DescribeAccountAssignmentCreationStatusResponse
-> Rep DescribeAccountAssignmentCreationStatusResponse x
Prelude.Generic)
newDescribeAccountAssignmentCreationStatusResponse ::
Prelude.Int ->
DescribeAccountAssignmentCreationStatusResponse
newDescribeAccountAssignmentCreationStatusResponse :: Int -> DescribeAccountAssignmentCreationStatusResponse
newDescribeAccountAssignmentCreationStatusResponse
Int
pHttpStatus_ =
DescribeAccountAssignmentCreationStatusResponse' :: Maybe AccountAssignmentOperationStatus
-> Int -> DescribeAccountAssignmentCreationStatusResponse
DescribeAccountAssignmentCreationStatusResponse'
{ $sel:accountAssignmentCreationStatus:DescribeAccountAssignmentCreationStatusResponse' :: Maybe AccountAssignmentOperationStatus
accountAssignmentCreationStatus =
Maybe AccountAssignmentOperationStatus
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeAccountAssignmentCreationStatusResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeAccountAssignmentCreationStatusResponse_accountAssignmentCreationStatus :: Lens.Lens' DescribeAccountAssignmentCreationStatusResponse (Prelude.Maybe AccountAssignmentOperationStatus)
describeAccountAssignmentCreationStatusResponse_accountAssignmentCreationStatus :: (Maybe AccountAssignmentOperationStatus
-> f (Maybe AccountAssignmentOperationStatus))
-> DescribeAccountAssignmentCreationStatusResponse
-> f DescribeAccountAssignmentCreationStatusResponse
describeAccountAssignmentCreationStatusResponse_accountAssignmentCreationStatus = (DescribeAccountAssignmentCreationStatusResponse
-> Maybe AccountAssignmentOperationStatus)
-> (DescribeAccountAssignmentCreationStatusResponse
-> Maybe AccountAssignmentOperationStatus
-> DescribeAccountAssignmentCreationStatusResponse)
-> Lens
DescribeAccountAssignmentCreationStatusResponse
DescribeAccountAssignmentCreationStatusResponse
(Maybe AccountAssignmentOperationStatus)
(Maybe AccountAssignmentOperationStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountAssignmentCreationStatusResponse' {Maybe AccountAssignmentOperationStatus
accountAssignmentCreationStatus :: Maybe AccountAssignmentOperationStatus
$sel:accountAssignmentCreationStatus:DescribeAccountAssignmentCreationStatusResponse' :: DescribeAccountAssignmentCreationStatusResponse
-> Maybe AccountAssignmentOperationStatus
accountAssignmentCreationStatus} -> Maybe AccountAssignmentOperationStatus
accountAssignmentCreationStatus) (\s :: DescribeAccountAssignmentCreationStatusResponse
s@DescribeAccountAssignmentCreationStatusResponse' {} Maybe AccountAssignmentOperationStatus
a -> DescribeAccountAssignmentCreationStatusResponse
s {$sel:accountAssignmentCreationStatus:DescribeAccountAssignmentCreationStatusResponse' :: Maybe AccountAssignmentOperationStatus
accountAssignmentCreationStatus = Maybe AccountAssignmentOperationStatus
a} :: DescribeAccountAssignmentCreationStatusResponse)
describeAccountAssignmentCreationStatusResponse_httpStatus :: Lens.Lens' DescribeAccountAssignmentCreationStatusResponse Prelude.Int
describeAccountAssignmentCreationStatusResponse_httpStatus :: (Int -> f Int)
-> DescribeAccountAssignmentCreationStatusResponse
-> f DescribeAccountAssignmentCreationStatusResponse
describeAccountAssignmentCreationStatusResponse_httpStatus = (DescribeAccountAssignmentCreationStatusResponse -> Int)
-> (DescribeAccountAssignmentCreationStatusResponse
-> Int -> DescribeAccountAssignmentCreationStatusResponse)
-> Lens
DescribeAccountAssignmentCreationStatusResponse
DescribeAccountAssignmentCreationStatusResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAccountAssignmentCreationStatusResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeAccountAssignmentCreationStatusResponse' :: DescribeAccountAssignmentCreationStatusResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeAccountAssignmentCreationStatusResponse
s@DescribeAccountAssignmentCreationStatusResponse' {} Int
a -> DescribeAccountAssignmentCreationStatusResponse
s {$sel:httpStatus:DescribeAccountAssignmentCreationStatusResponse' :: Int
httpStatus = Int
a} :: DescribeAccountAssignmentCreationStatusResponse)
instance
Prelude.NFData
DescribeAccountAssignmentCreationStatusResponse