{-# 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.AWSHealth.DescribeAffectedEntitiesForOrganization
(
DescribeAffectedEntitiesForOrganization (..),
newDescribeAffectedEntitiesForOrganization,
describeAffectedEntitiesForOrganization_locale,
describeAffectedEntitiesForOrganization_nextToken,
describeAffectedEntitiesForOrganization_maxResults,
describeAffectedEntitiesForOrganization_organizationEntityFilters,
DescribeAffectedEntitiesForOrganizationResponse (..),
newDescribeAffectedEntitiesForOrganizationResponse,
describeAffectedEntitiesForOrganizationResponse_entities,
describeAffectedEntitiesForOrganizationResponse_failedSet,
describeAffectedEntitiesForOrganizationResponse_nextToken,
describeAffectedEntitiesForOrganizationResponse_httpStatus,
)
where
import Amazonka.AWSHealth.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 DescribeAffectedEntitiesForOrganization = DescribeAffectedEntitiesForOrganization'
{
DescribeAffectedEntitiesForOrganization -> Maybe Text
locale :: Prelude.Maybe Prelude.Text,
DescribeAffectedEntitiesForOrganization -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
DescribeAffectedEntitiesForOrganization -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
DescribeAffectedEntitiesForOrganization
-> NonEmpty EventAccountFilter
organizationEntityFilters :: Prelude.NonEmpty EventAccountFilter
}
deriving (DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization -> Bool
(DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization -> Bool)
-> (DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization -> Bool)
-> Eq DescribeAffectedEntitiesForOrganization
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization -> Bool
$c/= :: DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization -> Bool
== :: DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization -> Bool
$c== :: DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization -> Bool
Prelude.Eq, ReadPrec [DescribeAffectedEntitiesForOrganization]
ReadPrec DescribeAffectedEntitiesForOrganization
Int -> ReadS DescribeAffectedEntitiesForOrganization
ReadS [DescribeAffectedEntitiesForOrganization]
(Int -> ReadS DescribeAffectedEntitiesForOrganization)
-> ReadS [DescribeAffectedEntitiesForOrganization]
-> ReadPrec DescribeAffectedEntitiesForOrganization
-> ReadPrec [DescribeAffectedEntitiesForOrganization]
-> Read DescribeAffectedEntitiesForOrganization
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAffectedEntitiesForOrganization]
$creadListPrec :: ReadPrec [DescribeAffectedEntitiesForOrganization]
readPrec :: ReadPrec DescribeAffectedEntitiesForOrganization
$creadPrec :: ReadPrec DescribeAffectedEntitiesForOrganization
readList :: ReadS [DescribeAffectedEntitiesForOrganization]
$creadList :: ReadS [DescribeAffectedEntitiesForOrganization]
readsPrec :: Int -> ReadS DescribeAffectedEntitiesForOrganization
$creadsPrec :: Int -> ReadS DescribeAffectedEntitiesForOrganization
Prelude.Read, Int -> DescribeAffectedEntitiesForOrganization -> ShowS
[DescribeAffectedEntitiesForOrganization] -> ShowS
DescribeAffectedEntitiesForOrganization -> String
(Int -> DescribeAffectedEntitiesForOrganization -> ShowS)
-> (DescribeAffectedEntitiesForOrganization -> String)
-> ([DescribeAffectedEntitiesForOrganization] -> ShowS)
-> Show DescribeAffectedEntitiesForOrganization
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAffectedEntitiesForOrganization] -> ShowS
$cshowList :: [DescribeAffectedEntitiesForOrganization] -> ShowS
show :: DescribeAffectedEntitiesForOrganization -> String
$cshow :: DescribeAffectedEntitiesForOrganization -> String
showsPrec :: Int -> DescribeAffectedEntitiesForOrganization -> ShowS
$cshowsPrec :: Int -> DescribeAffectedEntitiesForOrganization -> ShowS
Prelude.Show, (forall x.
DescribeAffectedEntitiesForOrganization
-> Rep DescribeAffectedEntitiesForOrganization x)
-> (forall x.
Rep DescribeAffectedEntitiesForOrganization x
-> DescribeAffectedEntitiesForOrganization)
-> Generic DescribeAffectedEntitiesForOrganization
forall x.
Rep DescribeAffectedEntitiesForOrganization x
-> DescribeAffectedEntitiesForOrganization
forall x.
DescribeAffectedEntitiesForOrganization
-> Rep DescribeAffectedEntitiesForOrganization x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAffectedEntitiesForOrganization x
-> DescribeAffectedEntitiesForOrganization
$cfrom :: forall x.
DescribeAffectedEntitiesForOrganization
-> Rep DescribeAffectedEntitiesForOrganization x
Prelude.Generic)
newDescribeAffectedEntitiesForOrganization ::
Prelude.NonEmpty EventAccountFilter ->
DescribeAffectedEntitiesForOrganization
newDescribeAffectedEntitiesForOrganization :: NonEmpty EventAccountFilter
-> DescribeAffectedEntitiesForOrganization
newDescribeAffectedEntitiesForOrganization
NonEmpty EventAccountFilter
pOrganizationEntityFilters_ =
DescribeAffectedEntitiesForOrganization' :: Maybe Text
-> Maybe Text
-> Maybe Natural
-> NonEmpty EventAccountFilter
-> DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganization'
{ $sel:locale:DescribeAffectedEntitiesForOrganization' :: Maybe Text
locale =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:DescribeAffectedEntitiesForOrganization' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:DescribeAffectedEntitiesForOrganization' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:organizationEntityFilters:DescribeAffectedEntitiesForOrganization' :: NonEmpty EventAccountFilter
organizationEntityFilters =
Tagged
(NonEmpty EventAccountFilter)
(Identity (NonEmpty EventAccountFilter))
-> Tagged
(NonEmpty EventAccountFilter)
(Identity (NonEmpty EventAccountFilter))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
(Tagged
(NonEmpty EventAccountFilter)
(Identity (NonEmpty EventAccountFilter))
-> Tagged
(NonEmpty EventAccountFilter)
(Identity (NonEmpty EventAccountFilter)))
-> NonEmpty EventAccountFilter -> NonEmpty EventAccountFilter
forall t b. AReview t b -> b -> t
Lens.# NonEmpty EventAccountFilter
pOrganizationEntityFilters_
}
describeAffectedEntitiesForOrganization_locale :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.Maybe Prelude.Text)
describeAffectedEntitiesForOrganization_locale :: (Maybe Text -> f (Maybe Text))
-> DescribeAffectedEntitiesForOrganization
-> f DescribeAffectedEntitiesForOrganization
describeAffectedEntitiesForOrganization_locale = (DescribeAffectedEntitiesForOrganization -> Maybe Text)
-> (DescribeAffectedEntitiesForOrganization
-> Maybe Text -> DescribeAffectedEntitiesForOrganization)
-> Lens
DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganization
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganization' {Maybe Text
locale :: Maybe Text
$sel:locale:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization -> Maybe Text
locale} -> Maybe Text
locale) (\s :: DescribeAffectedEntitiesForOrganization
s@DescribeAffectedEntitiesForOrganization' {} Maybe Text
a -> DescribeAffectedEntitiesForOrganization
s {$sel:locale:DescribeAffectedEntitiesForOrganization' :: Maybe Text
locale = Maybe Text
a} :: DescribeAffectedEntitiesForOrganization)
describeAffectedEntitiesForOrganization_nextToken :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.Maybe Prelude.Text)
describeAffectedEntitiesForOrganization_nextToken :: (Maybe Text -> f (Maybe Text))
-> DescribeAffectedEntitiesForOrganization
-> f DescribeAffectedEntitiesForOrganization
describeAffectedEntitiesForOrganization_nextToken = (DescribeAffectedEntitiesForOrganization -> Maybe Text)
-> (DescribeAffectedEntitiesForOrganization
-> Maybe Text -> DescribeAffectedEntitiesForOrganization)
-> Lens
DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganization
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganization' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeAffectedEntitiesForOrganization
s@DescribeAffectedEntitiesForOrganization' {} Maybe Text
a -> DescribeAffectedEntitiesForOrganization
s {$sel:nextToken:DescribeAffectedEntitiesForOrganization' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeAffectedEntitiesForOrganization)
describeAffectedEntitiesForOrganization_maxResults :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.Maybe Prelude.Natural)
describeAffectedEntitiesForOrganization_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> DescribeAffectedEntitiesForOrganization
-> f DescribeAffectedEntitiesForOrganization
describeAffectedEntitiesForOrganization_maxResults = (DescribeAffectedEntitiesForOrganization -> Maybe Natural)
-> (DescribeAffectedEntitiesForOrganization
-> Maybe Natural -> DescribeAffectedEntitiesForOrganization)
-> Lens
DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganization
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganization' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: DescribeAffectedEntitiesForOrganization
s@DescribeAffectedEntitiesForOrganization' {} Maybe Natural
a -> DescribeAffectedEntitiesForOrganization
s {$sel:maxResults:DescribeAffectedEntitiesForOrganization' :: Maybe Natural
maxResults = Maybe Natural
a} :: DescribeAffectedEntitiesForOrganization)
describeAffectedEntitiesForOrganization_organizationEntityFilters :: Lens.Lens' DescribeAffectedEntitiesForOrganization (Prelude.NonEmpty EventAccountFilter)
describeAffectedEntitiesForOrganization_organizationEntityFilters :: (NonEmpty EventAccountFilter -> f (NonEmpty EventAccountFilter))
-> DescribeAffectedEntitiesForOrganization
-> f DescribeAffectedEntitiesForOrganization
describeAffectedEntitiesForOrganization_organizationEntityFilters = (DescribeAffectedEntitiesForOrganization
-> NonEmpty EventAccountFilter)
-> (DescribeAffectedEntitiesForOrganization
-> NonEmpty EventAccountFilter
-> DescribeAffectedEntitiesForOrganization)
-> Lens
DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganization
(NonEmpty EventAccountFilter)
(NonEmpty EventAccountFilter)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganization' {NonEmpty EventAccountFilter
organizationEntityFilters :: NonEmpty EventAccountFilter
$sel:organizationEntityFilters:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization
-> NonEmpty EventAccountFilter
organizationEntityFilters} -> NonEmpty EventAccountFilter
organizationEntityFilters) (\s :: DescribeAffectedEntitiesForOrganization
s@DescribeAffectedEntitiesForOrganization' {} NonEmpty EventAccountFilter
a -> DescribeAffectedEntitiesForOrganization
s {$sel:organizationEntityFilters:DescribeAffectedEntitiesForOrganization' :: NonEmpty EventAccountFilter
organizationEntityFilters = NonEmpty EventAccountFilter
a} :: DescribeAffectedEntitiesForOrganization) ((NonEmpty EventAccountFilter -> f (NonEmpty EventAccountFilter))
-> DescribeAffectedEntitiesForOrganization
-> f DescribeAffectedEntitiesForOrganization)
-> ((NonEmpty EventAccountFilter
-> f (NonEmpty EventAccountFilter))
-> NonEmpty EventAccountFilter -> f (NonEmpty EventAccountFilter))
-> (NonEmpty EventAccountFilter -> f (NonEmpty EventAccountFilter))
-> DescribeAffectedEntitiesForOrganization
-> f DescribeAffectedEntitiesForOrganization
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty EventAccountFilter -> f (NonEmpty EventAccountFilter))
-> NonEmpty EventAccountFilter -> f (NonEmpty EventAccountFilter)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Core.AWSPager
DescribeAffectedEntitiesForOrganization
where
page :: DescribeAffectedEntitiesForOrganization
-> AWSResponse DescribeAffectedEntitiesForOrganization
-> Maybe DescribeAffectedEntitiesForOrganization
page DescribeAffectedEntitiesForOrganization
rq AWSResponse DescribeAffectedEntitiesForOrganization
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganizationResponse
rs
DescribeAffectedEntitiesForOrganizationResponse
-> Getting
(First Text) DescribeAffectedEntitiesForOrganizationResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeAffectedEntitiesForOrganizationResponse
-> Const
(First Text) DescribeAffectedEntitiesForOrganizationResponse
Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe Text)
describeAffectedEntitiesForOrganizationResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeAffectedEntitiesForOrganizationResponse
-> Const
(First Text) DescribeAffectedEntitiesForOrganizationResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) DescribeAffectedEntitiesForOrganizationResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe DescribeAffectedEntitiesForOrganization
forall a. Maybe a
Prelude.Nothing
| Maybe [AffectedEntity] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganizationResponse
rs
DescribeAffectedEntitiesForOrganizationResponse
-> Getting
(First [AffectedEntity])
DescribeAffectedEntitiesForOrganizationResponse
[AffectedEntity]
-> Maybe [AffectedEntity]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [AffectedEntity]
-> Const (First [AffectedEntity]) (Maybe [AffectedEntity]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> Const
(First [AffectedEntity])
DescribeAffectedEntitiesForOrganizationResponse
Lens'
DescribeAffectedEntitiesForOrganizationResponse
(Maybe [AffectedEntity])
describeAffectedEntitiesForOrganizationResponse_entities
((Maybe [AffectedEntity]
-> Const (First [AffectedEntity]) (Maybe [AffectedEntity]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> Const
(First [AffectedEntity])
DescribeAffectedEntitiesForOrganizationResponse)
-> (([AffectedEntity]
-> Const (First [AffectedEntity]) [AffectedEntity])
-> Maybe [AffectedEntity]
-> Const (First [AffectedEntity]) (Maybe [AffectedEntity]))
-> Getting
(First [AffectedEntity])
DescribeAffectedEntitiesForOrganizationResponse
[AffectedEntity]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([AffectedEntity]
-> Const (First [AffectedEntity]) [AffectedEntity])
-> Maybe [AffectedEntity]
-> Const (First [AffectedEntity]) (Maybe [AffectedEntity])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe DescribeAffectedEntitiesForOrganization
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
DescribeAffectedEntitiesForOrganization
-> Maybe DescribeAffectedEntitiesForOrganization
forall a. a -> Maybe a
Prelude.Just (DescribeAffectedEntitiesForOrganization
-> Maybe DescribeAffectedEntitiesForOrganization)
-> DescribeAffectedEntitiesForOrganization
-> Maybe DescribeAffectedEntitiesForOrganization
forall a b. (a -> b) -> a -> b
Prelude.$
DescribeAffectedEntitiesForOrganization
rq
DescribeAffectedEntitiesForOrganization
-> (DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization)
-> DescribeAffectedEntitiesForOrganization
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> DescribeAffectedEntitiesForOrganization
-> Identity DescribeAffectedEntitiesForOrganization
Lens
DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganization
(Maybe Text)
(Maybe Text)
describeAffectedEntitiesForOrganization_nextToken
((Maybe Text -> Identity (Maybe Text))
-> DescribeAffectedEntitiesForOrganization
-> Identity DescribeAffectedEntitiesForOrganization)
-> Maybe Text
-> DescribeAffectedEntitiesForOrganization
-> DescribeAffectedEntitiesForOrganization
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse DescribeAffectedEntitiesForOrganization
DescribeAffectedEntitiesForOrganizationResponse
rs
DescribeAffectedEntitiesForOrganizationResponse
-> Getting
(First Text) DescribeAffectedEntitiesForOrganizationResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeAffectedEntitiesForOrganizationResponse
-> Const
(First Text) DescribeAffectedEntitiesForOrganizationResponse
Lens' DescribeAffectedEntitiesForOrganizationResponse (Maybe Text)
describeAffectedEntitiesForOrganizationResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeAffectedEntitiesForOrganizationResponse
-> Const
(First Text) DescribeAffectedEntitiesForOrganizationResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) DescribeAffectedEntitiesForOrganizationResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance
Core.AWSRequest
DescribeAffectedEntitiesForOrganization
where
type
AWSResponse
DescribeAffectedEntitiesForOrganization =
DescribeAffectedEntitiesForOrganizationResponse
request :: DescribeAffectedEntitiesForOrganization
-> Request DescribeAffectedEntitiesForOrganization
request = Service
-> DescribeAffectedEntitiesForOrganization
-> Request DescribeAffectedEntitiesForOrganization
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeAffectedEntitiesForOrganization
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeAffectedEntitiesForOrganization)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse DescribeAffectedEntitiesForOrganization))
-> Logger
-> Service
-> Proxy DescribeAffectedEntitiesForOrganization
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeAffectedEntitiesForOrganization)))
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 [AffectedEntity]
-> Maybe [OrganizationAffectedEntitiesErrorItem]
-> Maybe Text
-> Int
-> DescribeAffectedEntitiesForOrganizationResponse
DescribeAffectedEntitiesForOrganizationResponse'
(Maybe [AffectedEntity]
-> Maybe [OrganizationAffectedEntitiesErrorItem]
-> Maybe Text
-> Int
-> DescribeAffectedEntitiesForOrganizationResponse)
-> Either String (Maybe [AffectedEntity])
-> Either
String
(Maybe [OrganizationAffectedEntitiesErrorItem]
-> Maybe Text
-> Int
-> DescribeAffectedEntitiesForOrganizationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [AffectedEntity]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"entities" Either String (Maybe (Maybe [AffectedEntity]))
-> Maybe [AffectedEntity] -> Either String (Maybe [AffectedEntity])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [AffectedEntity]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe [OrganizationAffectedEntitiesErrorItem]
-> Maybe Text
-> Int
-> DescribeAffectedEntitiesForOrganizationResponse)
-> Either String (Maybe [OrganizationAffectedEntitiesErrorItem])
-> Either
String
(Maybe Text
-> Int -> DescribeAffectedEntitiesForOrganizationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text
-> Either
String (Maybe (Maybe [OrganizationAffectedEntitiesErrorItem]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"failedSet" Either
String (Maybe (Maybe [OrganizationAffectedEntitiesErrorItem]))
-> Maybe [OrganizationAffectedEntitiesErrorItem]
-> Either String (Maybe [OrganizationAffectedEntitiesErrorItem])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [OrganizationAffectedEntitiesErrorItem]
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe Text
-> Int -> DescribeAffectedEntitiesForOrganizationResponse)
-> Either String (Maybe Text)
-> Either
String (Int -> DescribeAffectedEntitiesForOrganizationResponse)
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
"nextToken")
Either
String (Int -> DescribeAffectedEntitiesForOrganizationResponse)
-> Either String Int
-> Either String DescribeAffectedEntitiesForOrganizationResponse
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
DescribeAffectedEntitiesForOrganization
instance
Prelude.NFData
DescribeAffectedEntitiesForOrganization
instance
Core.ToHeaders
DescribeAffectedEntitiesForOrganization
where
toHeaders :: DescribeAffectedEntitiesForOrganization -> ResponseHeaders
toHeaders =
ResponseHeaders
-> DescribeAffectedEntitiesForOrganization -> 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
"AWSHealth_20160804.DescribeAffectedEntitiesForOrganization" ::
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
DescribeAffectedEntitiesForOrganization
where
toJSON :: DescribeAffectedEntitiesForOrganization -> Value
toJSON DescribeAffectedEntitiesForOrganization' {Maybe Natural
Maybe Text
NonEmpty EventAccountFilter
organizationEntityFilters :: NonEmpty EventAccountFilter
maxResults :: Maybe Natural
nextToken :: Maybe Text
locale :: Maybe Text
$sel:organizationEntityFilters:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization
-> NonEmpty EventAccountFilter
$sel:maxResults:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization -> Maybe Natural
$sel:nextToken:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization -> Maybe Text
$sel:locale:DescribeAffectedEntitiesForOrganization' :: DescribeAffectedEntitiesForOrganization -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"locale" 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
locale,
(Text
"nextToken" 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
nextToken,
(Text
"maxResults" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"organizationEntityFilters"
Text -> NonEmpty EventAccountFilter -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty EventAccountFilter
organizationEntityFilters
)
]
)
instance
Core.ToPath
DescribeAffectedEntitiesForOrganization
where
toPath :: DescribeAffectedEntitiesForOrganization -> ByteString
toPath = ByteString -> DescribeAffectedEntitiesForOrganization -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance
Core.ToQuery
DescribeAffectedEntitiesForOrganization
where
toQuery :: DescribeAffectedEntitiesForOrganization -> QueryString
toQuery = QueryString
-> DescribeAffectedEntitiesForOrganization -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeAffectedEntitiesForOrganizationResponse = DescribeAffectedEntitiesForOrganizationResponse'
{
DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [AffectedEntity]
entities :: Prelude.Maybe [AffectedEntity],
DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [OrganizationAffectedEntitiesErrorItem]
failedSet :: Prelude.Maybe [OrganizationAffectedEntitiesErrorItem],
DescribeAffectedEntitiesForOrganizationResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
DescribeAffectedEntitiesForOrganizationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeAffectedEntitiesForOrganizationResponse
-> DescribeAffectedEntitiesForOrganizationResponse -> Bool
(DescribeAffectedEntitiesForOrganizationResponse
-> DescribeAffectedEntitiesForOrganizationResponse -> Bool)
-> (DescribeAffectedEntitiesForOrganizationResponse
-> DescribeAffectedEntitiesForOrganizationResponse -> Bool)
-> Eq DescribeAffectedEntitiesForOrganizationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeAffectedEntitiesForOrganizationResponse
-> DescribeAffectedEntitiesForOrganizationResponse -> Bool
$c/= :: DescribeAffectedEntitiesForOrganizationResponse
-> DescribeAffectedEntitiesForOrganizationResponse -> Bool
== :: DescribeAffectedEntitiesForOrganizationResponse
-> DescribeAffectedEntitiesForOrganizationResponse -> Bool
$c== :: DescribeAffectedEntitiesForOrganizationResponse
-> DescribeAffectedEntitiesForOrganizationResponse -> Bool
Prelude.Eq, ReadPrec [DescribeAffectedEntitiesForOrganizationResponse]
ReadPrec DescribeAffectedEntitiesForOrganizationResponse
Int -> ReadS DescribeAffectedEntitiesForOrganizationResponse
ReadS [DescribeAffectedEntitiesForOrganizationResponse]
(Int -> ReadS DescribeAffectedEntitiesForOrganizationResponse)
-> ReadS [DescribeAffectedEntitiesForOrganizationResponse]
-> ReadPrec DescribeAffectedEntitiesForOrganizationResponse
-> ReadPrec [DescribeAffectedEntitiesForOrganizationResponse]
-> Read DescribeAffectedEntitiesForOrganizationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeAffectedEntitiesForOrganizationResponse]
$creadListPrec :: ReadPrec [DescribeAffectedEntitiesForOrganizationResponse]
readPrec :: ReadPrec DescribeAffectedEntitiesForOrganizationResponse
$creadPrec :: ReadPrec DescribeAffectedEntitiesForOrganizationResponse
readList :: ReadS [DescribeAffectedEntitiesForOrganizationResponse]
$creadList :: ReadS [DescribeAffectedEntitiesForOrganizationResponse]
readsPrec :: Int -> ReadS DescribeAffectedEntitiesForOrganizationResponse
$creadsPrec :: Int -> ReadS DescribeAffectedEntitiesForOrganizationResponse
Prelude.Read, Int -> DescribeAffectedEntitiesForOrganizationResponse -> ShowS
[DescribeAffectedEntitiesForOrganizationResponse] -> ShowS
DescribeAffectedEntitiesForOrganizationResponse -> String
(Int -> DescribeAffectedEntitiesForOrganizationResponse -> ShowS)
-> (DescribeAffectedEntitiesForOrganizationResponse -> String)
-> ([DescribeAffectedEntitiesForOrganizationResponse] -> ShowS)
-> Show DescribeAffectedEntitiesForOrganizationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeAffectedEntitiesForOrganizationResponse] -> ShowS
$cshowList :: [DescribeAffectedEntitiesForOrganizationResponse] -> ShowS
show :: DescribeAffectedEntitiesForOrganizationResponse -> String
$cshow :: DescribeAffectedEntitiesForOrganizationResponse -> String
showsPrec :: Int -> DescribeAffectedEntitiesForOrganizationResponse -> ShowS
$cshowsPrec :: Int -> DescribeAffectedEntitiesForOrganizationResponse -> ShowS
Prelude.Show, (forall x.
DescribeAffectedEntitiesForOrganizationResponse
-> Rep DescribeAffectedEntitiesForOrganizationResponse x)
-> (forall x.
Rep DescribeAffectedEntitiesForOrganizationResponse x
-> DescribeAffectedEntitiesForOrganizationResponse)
-> Generic DescribeAffectedEntitiesForOrganizationResponse
forall x.
Rep DescribeAffectedEntitiesForOrganizationResponse x
-> DescribeAffectedEntitiesForOrganizationResponse
forall x.
DescribeAffectedEntitiesForOrganizationResponse
-> Rep DescribeAffectedEntitiesForOrganizationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeAffectedEntitiesForOrganizationResponse x
-> DescribeAffectedEntitiesForOrganizationResponse
$cfrom :: forall x.
DescribeAffectedEntitiesForOrganizationResponse
-> Rep DescribeAffectedEntitiesForOrganizationResponse x
Prelude.Generic)
newDescribeAffectedEntitiesForOrganizationResponse ::
Prelude.Int ->
DescribeAffectedEntitiesForOrganizationResponse
newDescribeAffectedEntitiesForOrganizationResponse :: Int -> DescribeAffectedEntitiesForOrganizationResponse
newDescribeAffectedEntitiesForOrganizationResponse
Int
pHttpStatus_ =
DescribeAffectedEntitiesForOrganizationResponse' :: Maybe [AffectedEntity]
-> Maybe [OrganizationAffectedEntitiesErrorItem]
-> Maybe Text
-> Int
-> DescribeAffectedEntitiesForOrganizationResponse
DescribeAffectedEntitiesForOrganizationResponse'
{ $sel:entities:DescribeAffectedEntitiesForOrganizationResponse' :: Maybe [AffectedEntity]
entities =
Maybe [AffectedEntity]
forall a. Maybe a
Prelude.Nothing,
$sel:failedSet:DescribeAffectedEntitiesForOrganizationResponse' :: Maybe [OrganizationAffectedEntitiesErrorItem]
failedSet =
Maybe [OrganizationAffectedEntitiesErrorItem]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:DescribeAffectedEntitiesForOrganizationResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeAffectedEntitiesForOrganizationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeAffectedEntitiesForOrganizationResponse_entities :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse (Prelude.Maybe [AffectedEntity])
describeAffectedEntitiesForOrganizationResponse_entities :: (Maybe [AffectedEntity] -> f (Maybe [AffectedEntity]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse
describeAffectedEntitiesForOrganizationResponse_entities = (DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [AffectedEntity])
-> (DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [AffectedEntity]
-> DescribeAffectedEntitiesForOrganizationResponse)
-> Lens'
DescribeAffectedEntitiesForOrganizationResponse
(Maybe [AffectedEntity])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {Maybe [AffectedEntity]
entities :: Maybe [AffectedEntity]
$sel:entities:DescribeAffectedEntitiesForOrganizationResponse' :: DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [AffectedEntity]
entities} -> Maybe [AffectedEntity]
entities) (\s :: DescribeAffectedEntitiesForOrganizationResponse
s@DescribeAffectedEntitiesForOrganizationResponse' {} Maybe [AffectedEntity]
a -> DescribeAffectedEntitiesForOrganizationResponse
s {$sel:entities:DescribeAffectedEntitiesForOrganizationResponse' :: Maybe [AffectedEntity]
entities = Maybe [AffectedEntity]
a} :: DescribeAffectedEntitiesForOrganizationResponse) ((Maybe [AffectedEntity] -> f (Maybe [AffectedEntity]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse)
-> ((Maybe [AffectedEntity] -> f (Maybe [AffectedEntity]))
-> Maybe [AffectedEntity] -> f (Maybe [AffectedEntity]))
-> (Maybe [AffectedEntity] -> f (Maybe [AffectedEntity]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[AffectedEntity] [AffectedEntity] [AffectedEntity] [AffectedEntity]
-> Iso
(Maybe [AffectedEntity])
(Maybe [AffectedEntity])
(Maybe [AffectedEntity])
(Maybe [AffectedEntity])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[AffectedEntity] [AffectedEntity] [AffectedEntity] [AffectedEntity]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeAffectedEntitiesForOrganizationResponse_failedSet :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse (Prelude.Maybe [OrganizationAffectedEntitiesErrorItem])
describeAffectedEntitiesForOrganizationResponse_failedSet :: (Maybe [OrganizationAffectedEntitiesErrorItem]
-> f (Maybe [OrganizationAffectedEntitiesErrorItem]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse
describeAffectedEntitiesForOrganizationResponse_failedSet = (DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [OrganizationAffectedEntitiesErrorItem])
-> (DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [OrganizationAffectedEntitiesErrorItem]
-> DescribeAffectedEntitiesForOrganizationResponse)
-> Lens
DescribeAffectedEntitiesForOrganizationResponse
DescribeAffectedEntitiesForOrganizationResponse
(Maybe [OrganizationAffectedEntitiesErrorItem])
(Maybe [OrganizationAffectedEntitiesErrorItem])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {Maybe [OrganizationAffectedEntitiesErrorItem]
failedSet :: Maybe [OrganizationAffectedEntitiesErrorItem]
$sel:failedSet:DescribeAffectedEntitiesForOrganizationResponse' :: DescribeAffectedEntitiesForOrganizationResponse
-> Maybe [OrganizationAffectedEntitiesErrorItem]
failedSet} -> Maybe [OrganizationAffectedEntitiesErrorItem]
failedSet) (\s :: DescribeAffectedEntitiesForOrganizationResponse
s@DescribeAffectedEntitiesForOrganizationResponse' {} Maybe [OrganizationAffectedEntitiesErrorItem]
a -> DescribeAffectedEntitiesForOrganizationResponse
s {$sel:failedSet:DescribeAffectedEntitiesForOrganizationResponse' :: Maybe [OrganizationAffectedEntitiesErrorItem]
failedSet = Maybe [OrganizationAffectedEntitiesErrorItem]
a} :: DescribeAffectedEntitiesForOrganizationResponse) ((Maybe [OrganizationAffectedEntitiesErrorItem]
-> f (Maybe [OrganizationAffectedEntitiesErrorItem]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse)
-> ((Maybe [OrganizationAffectedEntitiesErrorItem]
-> f (Maybe [OrganizationAffectedEntitiesErrorItem]))
-> Maybe [OrganizationAffectedEntitiesErrorItem]
-> f (Maybe [OrganizationAffectedEntitiesErrorItem]))
-> (Maybe [OrganizationAffectedEntitiesErrorItem]
-> f (Maybe [OrganizationAffectedEntitiesErrorItem]))
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[OrganizationAffectedEntitiesErrorItem]
[OrganizationAffectedEntitiesErrorItem]
[OrganizationAffectedEntitiesErrorItem]
[OrganizationAffectedEntitiesErrorItem]
-> Iso
(Maybe [OrganizationAffectedEntitiesErrorItem])
(Maybe [OrganizationAffectedEntitiesErrorItem])
(Maybe [OrganizationAffectedEntitiesErrorItem])
(Maybe [OrganizationAffectedEntitiesErrorItem])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[OrganizationAffectedEntitiesErrorItem]
[OrganizationAffectedEntitiesErrorItem]
[OrganizationAffectedEntitiesErrorItem]
[OrganizationAffectedEntitiesErrorItem]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeAffectedEntitiesForOrganizationResponse_nextToken :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse (Prelude.Maybe Prelude.Text)
describeAffectedEntitiesForOrganizationResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse
describeAffectedEntitiesForOrganizationResponse_nextToken = (DescribeAffectedEntitiesForOrganizationResponse -> Maybe Text)
-> (DescribeAffectedEntitiesForOrganizationResponse
-> Maybe Text -> DescribeAffectedEntitiesForOrganizationResponse)
-> Lens'
DescribeAffectedEntitiesForOrganizationResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeAffectedEntitiesForOrganizationResponse' :: DescribeAffectedEntitiesForOrganizationResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeAffectedEntitiesForOrganizationResponse
s@DescribeAffectedEntitiesForOrganizationResponse' {} Maybe Text
a -> DescribeAffectedEntitiesForOrganizationResponse
s {$sel:nextToken:DescribeAffectedEntitiesForOrganizationResponse' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeAffectedEntitiesForOrganizationResponse)
describeAffectedEntitiesForOrganizationResponse_httpStatus :: Lens.Lens' DescribeAffectedEntitiesForOrganizationResponse Prelude.Int
describeAffectedEntitiesForOrganizationResponse_httpStatus :: (Int -> f Int)
-> DescribeAffectedEntitiesForOrganizationResponse
-> f DescribeAffectedEntitiesForOrganizationResponse
describeAffectedEntitiesForOrganizationResponse_httpStatus = (DescribeAffectedEntitiesForOrganizationResponse -> Int)
-> (DescribeAffectedEntitiesForOrganizationResponse
-> Int -> DescribeAffectedEntitiesForOrganizationResponse)
-> Lens
DescribeAffectedEntitiesForOrganizationResponse
DescribeAffectedEntitiesForOrganizationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeAffectedEntitiesForOrganizationResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeAffectedEntitiesForOrganizationResponse' :: DescribeAffectedEntitiesForOrganizationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeAffectedEntitiesForOrganizationResponse
s@DescribeAffectedEntitiesForOrganizationResponse' {} Int
a -> DescribeAffectedEntitiesForOrganizationResponse
s {$sel:httpStatus:DescribeAffectedEntitiesForOrganizationResponse' :: Int
httpStatus = Int
a} :: DescribeAffectedEntitiesForOrganizationResponse)
instance
Prelude.NFData
DescribeAffectedEntitiesForOrganizationResponse