{-# 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.DescribeInstanceAccessControlAttributeConfiguration
(
DescribeInstanceAccessControlAttributeConfiguration (..),
newDescribeInstanceAccessControlAttributeConfiguration,
describeInstanceAccessControlAttributeConfiguration_instanceArn,
DescribeInstanceAccessControlAttributeConfigurationResponse (..),
newDescribeInstanceAccessControlAttributeConfigurationResponse,
describeInstanceAccessControlAttributeConfigurationResponse_status,
describeInstanceAccessControlAttributeConfigurationResponse_instanceAccessControlAttributeConfiguration,
describeInstanceAccessControlAttributeConfigurationResponse_statusReason,
describeInstanceAccessControlAttributeConfigurationResponse_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 DescribeInstanceAccessControlAttributeConfiguration = DescribeInstanceAccessControlAttributeConfiguration'
{
DescribeInstanceAccessControlAttributeConfiguration -> Text
instanceArn :: Prelude.Text
}
deriving (DescribeInstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfiguration -> Bool
(DescribeInstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfiguration -> Bool)
-> (DescribeInstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfiguration -> Bool)
-> Eq DescribeInstanceAccessControlAttributeConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeInstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfiguration -> Bool
$c/= :: DescribeInstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfiguration -> Bool
== :: DescribeInstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfiguration -> Bool
$c== :: DescribeInstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfiguration -> Bool
Prelude.Eq, ReadPrec [DescribeInstanceAccessControlAttributeConfiguration]
ReadPrec DescribeInstanceAccessControlAttributeConfiguration
Int -> ReadS DescribeInstanceAccessControlAttributeConfiguration
ReadS [DescribeInstanceAccessControlAttributeConfiguration]
(Int -> ReadS DescribeInstanceAccessControlAttributeConfiguration)
-> ReadS [DescribeInstanceAccessControlAttributeConfiguration]
-> ReadPrec DescribeInstanceAccessControlAttributeConfiguration
-> ReadPrec [DescribeInstanceAccessControlAttributeConfiguration]
-> Read DescribeInstanceAccessControlAttributeConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeInstanceAccessControlAttributeConfiguration]
$creadListPrec :: ReadPrec [DescribeInstanceAccessControlAttributeConfiguration]
readPrec :: ReadPrec DescribeInstanceAccessControlAttributeConfiguration
$creadPrec :: ReadPrec DescribeInstanceAccessControlAttributeConfiguration
readList :: ReadS [DescribeInstanceAccessControlAttributeConfiguration]
$creadList :: ReadS [DescribeInstanceAccessControlAttributeConfiguration]
readsPrec :: Int -> ReadS DescribeInstanceAccessControlAttributeConfiguration
$creadsPrec :: Int -> ReadS DescribeInstanceAccessControlAttributeConfiguration
Prelude.Read, Int -> DescribeInstanceAccessControlAttributeConfiguration -> ShowS
[DescribeInstanceAccessControlAttributeConfiguration] -> ShowS
DescribeInstanceAccessControlAttributeConfiguration -> String
(Int
-> DescribeInstanceAccessControlAttributeConfiguration -> ShowS)
-> (DescribeInstanceAccessControlAttributeConfiguration -> String)
-> ([DescribeInstanceAccessControlAttributeConfiguration] -> ShowS)
-> Show DescribeInstanceAccessControlAttributeConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeInstanceAccessControlAttributeConfiguration] -> ShowS
$cshowList :: [DescribeInstanceAccessControlAttributeConfiguration] -> ShowS
show :: DescribeInstanceAccessControlAttributeConfiguration -> String
$cshow :: DescribeInstanceAccessControlAttributeConfiguration -> String
showsPrec :: Int -> DescribeInstanceAccessControlAttributeConfiguration -> ShowS
$cshowsPrec :: Int -> DescribeInstanceAccessControlAttributeConfiguration -> ShowS
Prelude.Show, (forall x.
DescribeInstanceAccessControlAttributeConfiguration
-> Rep DescribeInstanceAccessControlAttributeConfiguration x)
-> (forall x.
Rep DescribeInstanceAccessControlAttributeConfiguration x
-> DescribeInstanceAccessControlAttributeConfiguration)
-> Generic DescribeInstanceAccessControlAttributeConfiguration
forall x.
Rep DescribeInstanceAccessControlAttributeConfiguration x
-> DescribeInstanceAccessControlAttributeConfiguration
forall x.
DescribeInstanceAccessControlAttributeConfiguration
-> Rep DescribeInstanceAccessControlAttributeConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeInstanceAccessControlAttributeConfiguration x
-> DescribeInstanceAccessControlAttributeConfiguration
$cfrom :: forall x.
DescribeInstanceAccessControlAttributeConfiguration
-> Rep DescribeInstanceAccessControlAttributeConfiguration x
Prelude.Generic)
newDescribeInstanceAccessControlAttributeConfiguration ::
Prelude.Text ->
DescribeInstanceAccessControlAttributeConfiguration
newDescribeInstanceAccessControlAttributeConfiguration :: Text -> DescribeInstanceAccessControlAttributeConfiguration
newDescribeInstanceAccessControlAttributeConfiguration
Text
pInstanceArn_ =
DescribeInstanceAccessControlAttributeConfiguration' :: Text -> DescribeInstanceAccessControlAttributeConfiguration
DescribeInstanceAccessControlAttributeConfiguration'
{ $sel:instanceArn:DescribeInstanceAccessControlAttributeConfiguration' :: Text
instanceArn =
Text
pInstanceArn_
}
describeInstanceAccessControlAttributeConfiguration_instanceArn :: Lens.Lens' DescribeInstanceAccessControlAttributeConfiguration Prelude.Text
describeInstanceAccessControlAttributeConfiguration_instanceArn :: (Text -> f Text)
-> DescribeInstanceAccessControlAttributeConfiguration
-> f DescribeInstanceAccessControlAttributeConfiguration
describeInstanceAccessControlAttributeConfiguration_instanceArn = (DescribeInstanceAccessControlAttributeConfiguration -> Text)
-> (DescribeInstanceAccessControlAttributeConfiguration
-> Text -> DescribeInstanceAccessControlAttributeConfiguration)
-> Lens
DescribeInstanceAccessControlAttributeConfiguration
DescribeInstanceAccessControlAttributeConfiguration
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeInstanceAccessControlAttributeConfiguration' {Text
instanceArn :: Text
$sel:instanceArn:DescribeInstanceAccessControlAttributeConfiguration' :: DescribeInstanceAccessControlAttributeConfiguration -> Text
instanceArn} -> Text
instanceArn) (\s :: DescribeInstanceAccessControlAttributeConfiguration
s@DescribeInstanceAccessControlAttributeConfiguration' {} Text
a -> DescribeInstanceAccessControlAttributeConfiguration
s {$sel:instanceArn:DescribeInstanceAccessControlAttributeConfiguration' :: Text
instanceArn = Text
a} :: DescribeInstanceAccessControlAttributeConfiguration)
instance
Core.AWSRequest
DescribeInstanceAccessControlAttributeConfiguration
where
type
AWSResponse
DescribeInstanceAccessControlAttributeConfiguration =
DescribeInstanceAccessControlAttributeConfigurationResponse
request :: DescribeInstanceAccessControlAttributeConfiguration
-> Request DescribeInstanceAccessControlAttributeConfiguration
request = Service
-> DescribeInstanceAccessControlAttributeConfiguration
-> Request DescribeInstanceAccessControlAttributeConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeInstanceAccessControlAttributeConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeInstanceAccessControlAttributeConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String
(AWSResponse DescribeInstanceAccessControlAttributeConfiguration))
-> Logger
-> Service
-> Proxy DescribeInstanceAccessControlAttributeConfiguration
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeInstanceAccessControlAttributeConfiguration)))
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 InstanceAccessControlAttributeConfigurationStatus
-> Maybe InstanceAccessControlAttributeConfiguration
-> Maybe Text
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse
DescribeInstanceAccessControlAttributeConfigurationResponse'
(Maybe InstanceAccessControlAttributeConfigurationStatus
-> Maybe InstanceAccessControlAttributeConfiguration
-> Maybe Text
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Either
String (Maybe InstanceAccessControlAttributeConfigurationStatus)
-> Either
String
(Maybe InstanceAccessControlAttributeConfiguration
-> Maybe Text
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either
String (Maybe InstanceAccessControlAttributeConfigurationStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Status")
Either
String
(Maybe InstanceAccessControlAttributeConfiguration
-> Maybe Text
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Either
String (Maybe InstanceAccessControlAttributeConfiguration)
-> Either
String
(Maybe Text
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object
-> Text
-> Either
String (Maybe InstanceAccessControlAttributeConfiguration)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"InstanceAccessControlAttributeConfiguration"
)
Either
String
(Maybe Text
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Either String (Maybe Text)
-> Either
String
(Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
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
"StatusReason")
Either
String
(Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Either String Int
-> Either
String DescribeInstanceAccessControlAttributeConfigurationResponse
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
DescribeInstanceAccessControlAttributeConfiguration
instance
Prelude.NFData
DescribeInstanceAccessControlAttributeConfiguration
instance
Core.ToHeaders
DescribeInstanceAccessControlAttributeConfiguration
where
toHeaders :: DescribeInstanceAccessControlAttributeConfiguration
-> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeInstanceAccessControlAttributeConfiguration
-> 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.DescribeInstanceAccessControlAttributeConfiguration" ::
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
DescribeInstanceAccessControlAttributeConfiguration
where
toJSON :: DescribeInstanceAccessControlAttributeConfiguration -> Value
toJSON
DescribeInstanceAccessControlAttributeConfiguration' {Text
instanceArn :: Text
$sel:instanceArn:DescribeInstanceAccessControlAttributeConfiguration' :: DescribeInstanceAccessControlAttributeConfiguration -> 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)]
)
instance
Core.ToPath
DescribeInstanceAccessControlAttributeConfiguration
where
toPath :: DescribeInstanceAccessControlAttributeConfiguration -> ByteString
toPath = ByteString
-> DescribeInstanceAccessControlAttributeConfiguration
-> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeInstanceAccessControlAttributeConfiguration
where
toQuery :: DescribeInstanceAccessControlAttributeConfiguration -> QueryString
toQuery = QueryString
-> DescribeInstanceAccessControlAttributeConfiguration
-> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeInstanceAccessControlAttributeConfigurationResponse = DescribeInstanceAccessControlAttributeConfigurationResponse'
{
DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfigurationStatus
status :: Prelude.Maybe InstanceAccessControlAttributeConfigurationStatus,
DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfiguration
instanceAccessControlAttributeConfiguration :: Prelude.Maybe InstanceAccessControlAttributeConfiguration,
DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe Text
statusReason :: Prelude.Maybe Prelude.Text,
DescribeInstanceAccessControlAttributeConfigurationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeInstanceAccessControlAttributeConfigurationResponse
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> Bool
(DescribeInstanceAccessControlAttributeConfigurationResponse
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> Bool)
-> (DescribeInstanceAccessControlAttributeConfigurationResponse
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> Bool)
-> Eq DescribeInstanceAccessControlAttributeConfigurationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> Bool
$c/= :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> Bool
== :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> Bool
$c== :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> Bool
Prelude.Eq, ReadPrec
[DescribeInstanceAccessControlAttributeConfigurationResponse]
ReadPrec
DescribeInstanceAccessControlAttributeConfigurationResponse
Int
-> ReadS
DescribeInstanceAccessControlAttributeConfigurationResponse
ReadS [DescribeInstanceAccessControlAttributeConfigurationResponse]
(Int
-> ReadS
DescribeInstanceAccessControlAttributeConfigurationResponse)
-> ReadS
[DescribeInstanceAccessControlAttributeConfigurationResponse]
-> ReadPrec
DescribeInstanceAccessControlAttributeConfigurationResponse
-> ReadPrec
[DescribeInstanceAccessControlAttributeConfigurationResponse]
-> Read DescribeInstanceAccessControlAttributeConfigurationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec
[DescribeInstanceAccessControlAttributeConfigurationResponse]
$creadListPrec :: ReadPrec
[DescribeInstanceAccessControlAttributeConfigurationResponse]
readPrec :: ReadPrec
DescribeInstanceAccessControlAttributeConfigurationResponse
$creadPrec :: ReadPrec
DescribeInstanceAccessControlAttributeConfigurationResponse
readList :: ReadS [DescribeInstanceAccessControlAttributeConfigurationResponse]
$creadList :: ReadS [DescribeInstanceAccessControlAttributeConfigurationResponse]
readsPrec :: Int
-> ReadS
DescribeInstanceAccessControlAttributeConfigurationResponse
$creadsPrec :: Int
-> ReadS
DescribeInstanceAccessControlAttributeConfigurationResponse
Prelude.Read, Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> ShowS
[DescribeInstanceAccessControlAttributeConfigurationResponse]
-> ShowS
DescribeInstanceAccessControlAttributeConfigurationResponse
-> String
(Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> ShowS)
-> (DescribeInstanceAccessControlAttributeConfigurationResponse
-> String)
-> ([DescribeInstanceAccessControlAttributeConfigurationResponse]
-> ShowS)
-> Show DescribeInstanceAccessControlAttributeConfigurationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeInstanceAccessControlAttributeConfigurationResponse]
-> ShowS
$cshowList :: [DescribeInstanceAccessControlAttributeConfigurationResponse]
-> ShowS
show :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> String
$cshow :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> String
showsPrec :: Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> ShowS
$cshowsPrec :: Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> ShowS
Prelude.Show, (forall x.
DescribeInstanceAccessControlAttributeConfigurationResponse
-> Rep
DescribeInstanceAccessControlAttributeConfigurationResponse x)
-> (forall x.
Rep DescribeInstanceAccessControlAttributeConfigurationResponse x
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Generic
DescribeInstanceAccessControlAttributeConfigurationResponse
forall x.
Rep DescribeInstanceAccessControlAttributeConfigurationResponse x
-> DescribeInstanceAccessControlAttributeConfigurationResponse
forall x.
DescribeInstanceAccessControlAttributeConfigurationResponse
-> Rep
DescribeInstanceAccessControlAttributeConfigurationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeInstanceAccessControlAttributeConfigurationResponse x
-> DescribeInstanceAccessControlAttributeConfigurationResponse
$cfrom :: forall x.
DescribeInstanceAccessControlAttributeConfigurationResponse
-> Rep
DescribeInstanceAccessControlAttributeConfigurationResponse x
Prelude.Generic)
newDescribeInstanceAccessControlAttributeConfigurationResponse ::
Prelude.Int ->
DescribeInstanceAccessControlAttributeConfigurationResponse
newDescribeInstanceAccessControlAttributeConfigurationResponse :: Int -> DescribeInstanceAccessControlAttributeConfigurationResponse
newDescribeInstanceAccessControlAttributeConfigurationResponse
Int
pHttpStatus_ =
DescribeInstanceAccessControlAttributeConfigurationResponse' :: Maybe InstanceAccessControlAttributeConfigurationStatus
-> Maybe InstanceAccessControlAttributeConfiguration
-> Maybe Text
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse
DescribeInstanceAccessControlAttributeConfigurationResponse'
{ $sel:status:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Maybe InstanceAccessControlAttributeConfigurationStatus
status =
Maybe InstanceAccessControlAttributeConfigurationStatus
forall a. Maybe a
Prelude.Nothing,
$sel:instanceAccessControlAttributeConfiguration:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Maybe InstanceAccessControlAttributeConfiguration
instanceAccessControlAttributeConfiguration =
Maybe InstanceAccessControlAttributeConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:statusReason:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Maybe Text
statusReason =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
describeInstanceAccessControlAttributeConfigurationResponse_status :: Lens.Lens' DescribeInstanceAccessControlAttributeConfigurationResponse (Prelude.Maybe InstanceAccessControlAttributeConfigurationStatus)
describeInstanceAccessControlAttributeConfigurationResponse_status :: (Maybe InstanceAccessControlAttributeConfigurationStatus
-> f (Maybe InstanceAccessControlAttributeConfigurationStatus))
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> f DescribeInstanceAccessControlAttributeConfigurationResponse
describeInstanceAccessControlAttributeConfigurationResponse_status = (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfigurationStatus)
-> (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfigurationStatus
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Lens
DescribeInstanceAccessControlAttributeConfigurationResponse
DescribeInstanceAccessControlAttributeConfigurationResponse
(Maybe InstanceAccessControlAttributeConfigurationStatus)
(Maybe InstanceAccessControlAttributeConfigurationStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeInstanceAccessControlAttributeConfigurationResponse' {Maybe InstanceAccessControlAttributeConfigurationStatus
status :: Maybe InstanceAccessControlAttributeConfigurationStatus
$sel:status:DescribeInstanceAccessControlAttributeConfigurationResponse' :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfigurationStatus
status} -> Maybe InstanceAccessControlAttributeConfigurationStatus
status) (\s :: DescribeInstanceAccessControlAttributeConfigurationResponse
s@DescribeInstanceAccessControlAttributeConfigurationResponse' {} Maybe InstanceAccessControlAttributeConfigurationStatus
a -> DescribeInstanceAccessControlAttributeConfigurationResponse
s {$sel:status:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Maybe InstanceAccessControlAttributeConfigurationStatus
status = Maybe InstanceAccessControlAttributeConfigurationStatus
a} :: DescribeInstanceAccessControlAttributeConfigurationResponse)
describeInstanceAccessControlAttributeConfigurationResponse_instanceAccessControlAttributeConfiguration :: Lens.Lens' DescribeInstanceAccessControlAttributeConfigurationResponse (Prelude.Maybe InstanceAccessControlAttributeConfiguration)
describeInstanceAccessControlAttributeConfigurationResponse_instanceAccessControlAttributeConfiguration :: (Maybe InstanceAccessControlAttributeConfiguration
-> f (Maybe InstanceAccessControlAttributeConfiguration))
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> f DescribeInstanceAccessControlAttributeConfigurationResponse
describeInstanceAccessControlAttributeConfigurationResponse_instanceAccessControlAttributeConfiguration = (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfiguration)
-> (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfiguration
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Lens
DescribeInstanceAccessControlAttributeConfigurationResponse
DescribeInstanceAccessControlAttributeConfigurationResponse
(Maybe InstanceAccessControlAttributeConfiguration)
(Maybe InstanceAccessControlAttributeConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeInstanceAccessControlAttributeConfigurationResponse' {Maybe InstanceAccessControlAttributeConfiguration
instanceAccessControlAttributeConfiguration :: Maybe InstanceAccessControlAttributeConfiguration
$sel:instanceAccessControlAttributeConfiguration:DescribeInstanceAccessControlAttributeConfigurationResponse' :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe InstanceAccessControlAttributeConfiguration
instanceAccessControlAttributeConfiguration} -> Maybe InstanceAccessControlAttributeConfiguration
instanceAccessControlAttributeConfiguration) (\s :: DescribeInstanceAccessControlAttributeConfigurationResponse
s@DescribeInstanceAccessControlAttributeConfigurationResponse' {} Maybe InstanceAccessControlAttributeConfiguration
a -> DescribeInstanceAccessControlAttributeConfigurationResponse
s {$sel:instanceAccessControlAttributeConfiguration:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Maybe InstanceAccessControlAttributeConfiguration
instanceAccessControlAttributeConfiguration = Maybe InstanceAccessControlAttributeConfiguration
a} :: DescribeInstanceAccessControlAttributeConfigurationResponse)
describeInstanceAccessControlAttributeConfigurationResponse_statusReason :: Lens.Lens' DescribeInstanceAccessControlAttributeConfigurationResponse (Prelude.Maybe Prelude.Text)
describeInstanceAccessControlAttributeConfigurationResponse_statusReason :: (Maybe Text -> f (Maybe Text))
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> f DescribeInstanceAccessControlAttributeConfigurationResponse
describeInstanceAccessControlAttributeConfigurationResponse_statusReason = (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe Text)
-> (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe Text
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Lens
DescribeInstanceAccessControlAttributeConfigurationResponse
DescribeInstanceAccessControlAttributeConfigurationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeInstanceAccessControlAttributeConfigurationResponse' {Maybe Text
statusReason :: Maybe Text
$sel:statusReason:DescribeInstanceAccessControlAttributeConfigurationResponse' :: DescribeInstanceAccessControlAttributeConfigurationResponse
-> Maybe Text
statusReason} -> Maybe Text
statusReason) (\s :: DescribeInstanceAccessControlAttributeConfigurationResponse
s@DescribeInstanceAccessControlAttributeConfigurationResponse' {} Maybe Text
a -> DescribeInstanceAccessControlAttributeConfigurationResponse
s {$sel:statusReason:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Maybe Text
statusReason = Maybe Text
a} :: DescribeInstanceAccessControlAttributeConfigurationResponse)
describeInstanceAccessControlAttributeConfigurationResponse_httpStatus :: Lens.Lens' DescribeInstanceAccessControlAttributeConfigurationResponse Prelude.Int
describeInstanceAccessControlAttributeConfigurationResponse_httpStatus :: (Int -> f Int)
-> DescribeInstanceAccessControlAttributeConfigurationResponse
-> f DescribeInstanceAccessControlAttributeConfigurationResponse
describeInstanceAccessControlAttributeConfigurationResponse_httpStatus = (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Int)
-> (DescribeInstanceAccessControlAttributeConfigurationResponse
-> Int
-> DescribeInstanceAccessControlAttributeConfigurationResponse)
-> Lens
DescribeInstanceAccessControlAttributeConfigurationResponse
DescribeInstanceAccessControlAttributeConfigurationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeInstanceAccessControlAttributeConfigurationResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeInstanceAccessControlAttributeConfigurationResponse' :: DescribeInstanceAccessControlAttributeConfigurationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeInstanceAccessControlAttributeConfigurationResponse
s@DescribeInstanceAccessControlAttributeConfigurationResponse' {} Int
a -> DescribeInstanceAccessControlAttributeConfigurationResponse
s {$sel:httpStatus:DescribeInstanceAccessControlAttributeConfigurationResponse' :: Int
httpStatus = Int
a} :: DescribeInstanceAccessControlAttributeConfigurationResponse)
instance
Prelude.NFData
DescribeInstanceAccessControlAttributeConfigurationResponse