{-# 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.CloudControl.ListResourceRequests
(
ListResourceRequests (..),
newListResourceRequests,
listResourceRequests_nextToken,
listResourceRequests_resourceRequestStatusFilter,
listResourceRequests_maxResults,
ListResourceRequestsResponse (..),
newListResourceRequestsResponse,
listResourceRequestsResponse_resourceRequestStatusSummaries,
listResourceRequestsResponse_nextToken,
listResourceRequestsResponse_httpStatus,
)
where
import Amazonka.CloudControl.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 ListResourceRequests = ListResourceRequests'
{
ListResourceRequests -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListResourceRequests -> Maybe ResourceRequestStatusFilter
resourceRequestStatusFilter :: Prelude.Maybe ResourceRequestStatusFilter,
ListResourceRequests -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
}
deriving (ListResourceRequests -> ListResourceRequests -> Bool
(ListResourceRequests -> ListResourceRequests -> Bool)
-> (ListResourceRequests -> ListResourceRequests -> Bool)
-> Eq ListResourceRequests
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListResourceRequests -> ListResourceRequests -> Bool
$c/= :: ListResourceRequests -> ListResourceRequests -> Bool
== :: ListResourceRequests -> ListResourceRequests -> Bool
$c== :: ListResourceRequests -> ListResourceRequests -> Bool
Prelude.Eq, ReadPrec [ListResourceRequests]
ReadPrec ListResourceRequests
Int -> ReadS ListResourceRequests
ReadS [ListResourceRequests]
(Int -> ReadS ListResourceRequests)
-> ReadS [ListResourceRequests]
-> ReadPrec ListResourceRequests
-> ReadPrec [ListResourceRequests]
-> Read ListResourceRequests
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListResourceRequests]
$creadListPrec :: ReadPrec [ListResourceRequests]
readPrec :: ReadPrec ListResourceRequests
$creadPrec :: ReadPrec ListResourceRequests
readList :: ReadS [ListResourceRequests]
$creadList :: ReadS [ListResourceRequests]
readsPrec :: Int -> ReadS ListResourceRequests
$creadsPrec :: Int -> ReadS ListResourceRequests
Prelude.Read, Int -> ListResourceRequests -> ShowS
[ListResourceRequests] -> ShowS
ListResourceRequests -> String
(Int -> ListResourceRequests -> ShowS)
-> (ListResourceRequests -> String)
-> ([ListResourceRequests] -> ShowS)
-> Show ListResourceRequests
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListResourceRequests] -> ShowS
$cshowList :: [ListResourceRequests] -> ShowS
show :: ListResourceRequests -> String
$cshow :: ListResourceRequests -> String
showsPrec :: Int -> ListResourceRequests -> ShowS
$cshowsPrec :: Int -> ListResourceRequests -> ShowS
Prelude.Show, (forall x. ListResourceRequests -> Rep ListResourceRequests x)
-> (forall x. Rep ListResourceRequests x -> ListResourceRequests)
-> Generic ListResourceRequests
forall x. Rep ListResourceRequests x -> ListResourceRequests
forall x. ListResourceRequests -> Rep ListResourceRequests x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListResourceRequests x -> ListResourceRequests
$cfrom :: forall x. ListResourceRequests -> Rep ListResourceRequests x
Prelude.Generic)
newListResourceRequests ::
ListResourceRequests
newListResourceRequests :: ListResourceRequests
newListResourceRequests =
ListResourceRequests' :: Maybe Text
-> Maybe ResourceRequestStatusFilter
-> Maybe Natural
-> ListResourceRequests
ListResourceRequests'
{ $sel:nextToken:ListResourceRequests' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:resourceRequestStatusFilter:ListResourceRequests' :: Maybe ResourceRequestStatusFilter
resourceRequestStatusFilter = Maybe ResourceRequestStatusFilter
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:ListResourceRequests' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
}
listResourceRequests_nextToken :: Lens.Lens' ListResourceRequests (Prelude.Maybe Prelude.Text)
listResourceRequests_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListResourceRequests -> f ListResourceRequests
listResourceRequests_nextToken = (ListResourceRequests -> Maybe Text)
-> (ListResourceRequests -> Maybe Text -> ListResourceRequests)
-> Lens
ListResourceRequests ListResourceRequests (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListResourceRequests' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListResourceRequests' :: ListResourceRequests -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListResourceRequests
s@ListResourceRequests' {} Maybe Text
a -> ListResourceRequests
s {$sel:nextToken:ListResourceRequests' :: Maybe Text
nextToken = Maybe Text
a} :: ListResourceRequests)
listResourceRequests_resourceRequestStatusFilter :: Lens.Lens' ListResourceRequests (Prelude.Maybe ResourceRequestStatusFilter)
listResourceRequests_resourceRequestStatusFilter :: (Maybe ResourceRequestStatusFilter
-> f (Maybe ResourceRequestStatusFilter))
-> ListResourceRequests -> f ListResourceRequests
listResourceRequests_resourceRequestStatusFilter = (ListResourceRequests -> Maybe ResourceRequestStatusFilter)
-> (ListResourceRequests
-> Maybe ResourceRequestStatusFilter -> ListResourceRequests)
-> Lens
ListResourceRequests
ListResourceRequests
(Maybe ResourceRequestStatusFilter)
(Maybe ResourceRequestStatusFilter)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListResourceRequests' {Maybe ResourceRequestStatusFilter
resourceRequestStatusFilter :: Maybe ResourceRequestStatusFilter
$sel:resourceRequestStatusFilter:ListResourceRequests' :: ListResourceRequests -> Maybe ResourceRequestStatusFilter
resourceRequestStatusFilter} -> Maybe ResourceRequestStatusFilter
resourceRequestStatusFilter) (\s :: ListResourceRequests
s@ListResourceRequests' {} Maybe ResourceRequestStatusFilter
a -> ListResourceRequests
s {$sel:resourceRequestStatusFilter:ListResourceRequests' :: Maybe ResourceRequestStatusFilter
resourceRequestStatusFilter = Maybe ResourceRequestStatusFilter
a} :: ListResourceRequests)
listResourceRequests_maxResults :: Lens.Lens' ListResourceRequests (Prelude.Maybe Prelude.Natural)
listResourceRequests_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListResourceRequests -> f ListResourceRequests
listResourceRequests_maxResults = (ListResourceRequests -> Maybe Natural)
-> (ListResourceRequests -> Maybe Natural -> ListResourceRequests)
-> Lens
ListResourceRequests
ListResourceRequests
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListResourceRequests' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListResourceRequests' :: ListResourceRequests -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListResourceRequests
s@ListResourceRequests' {} Maybe Natural
a -> ListResourceRequests
s {$sel:maxResults:ListResourceRequests' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListResourceRequests)
instance Core.AWSRequest ListResourceRequests where
type
AWSResponse ListResourceRequests =
ListResourceRequestsResponse
request :: ListResourceRequests -> Request ListResourceRequests
request = Service -> ListResourceRequests -> Request ListResourceRequests
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy ListResourceRequests
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListResourceRequests)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse ListResourceRequests))
-> Logger
-> Service
-> Proxy ListResourceRequests
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse ListResourceRequests)))
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 [ProgressEvent]
-> Maybe Text -> Int -> ListResourceRequestsResponse
ListResourceRequestsResponse'
(Maybe [ProgressEvent]
-> Maybe Text -> Int -> ListResourceRequestsResponse)
-> Either String (Maybe [ProgressEvent])
-> Either
String (Maybe Text -> Int -> ListResourceRequestsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Either String (Maybe (Maybe [ProgressEvent]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ResourceRequestStatusSummaries"
Either String (Maybe (Maybe [ProgressEvent]))
-> Maybe [ProgressEvent] -> Either String (Maybe [ProgressEvent])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [ProgressEvent]
forall a. Monoid a => a
Prelude.mempty
)
Either String (Maybe Text -> Int -> ListResourceRequestsResponse)
-> Either String (Maybe Text)
-> Either String (Int -> ListResourceRequestsResponse)
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 -> ListResourceRequestsResponse)
-> Either String Int -> Either String ListResourceRequestsResponse
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 ListResourceRequests
instance Prelude.NFData ListResourceRequests
instance Core.ToHeaders ListResourceRequests where
toHeaders :: ListResourceRequests -> ResponseHeaders
toHeaders =
ResponseHeaders -> ListResourceRequests -> 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
"CloudApiService.ListResourceRequests" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.0" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON ListResourceRequests where
toJSON :: ListResourceRequests -> Value
toJSON ListResourceRequests' {Maybe Natural
Maybe Text
Maybe ResourceRequestStatusFilter
maxResults :: Maybe Natural
resourceRequestStatusFilter :: Maybe ResourceRequestStatusFilter
nextToken :: Maybe Text
$sel:maxResults:ListResourceRequests' :: ListResourceRequests -> Maybe Natural
$sel:resourceRequestStatusFilter:ListResourceRequests' :: ListResourceRequests -> Maybe ResourceRequestStatusFilter
$sel:nextToken:ListResourceRequests' :: ListResourceRequests -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (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
"ResourceRequestStatusFilter" Text -> ResourceRequestStatusFilter -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(ResourceRequestStatusFilter -> Pair)
-> Maybe ResourceRequestStatusFilter -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ResourceRequestStatusFilter
resourceRequestStatusFilter,
(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
]
)
instance Core.ToPath ListResourceRequests where
toPath :: ListResourceRequests -> ByteString
toPath = ByteString -> ListResourceRequests -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery ListResourceRequests where
toQuery :: ListResourceRequests -> QueryString
toQuery = QueryString -> ListResourceRequests -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data ListResourceRequestsResponse = ListResourceRequestsResponse'
{
ListResourceRequestsResponse -> Maybe [ProgressEvent]
resourceRequestStatusSummaries :: Prelude.Maybe [ProgressEvent],
ListResourceRequestsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
ListResourceRequestsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (ListResourceRequestsResponse
-> ListResourceRequestsResponse -> Bool
(ListResourceRequestsResponse
-> ListResourceRequestsResponse -> Bool)
-> (ListResourceRequestsResponse
-> ListResourceRequestsResponse -> Bool)
-> Eq ListResourceRequestsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListResourceRequestsResponse
-> ListResourceRequestsResponse -> Bool
$c/= :: ListResourceRequestsResponse
-> ListResourceRequestsResponse -> Bool
== :: ListResourceRequestsResponse
-> ListResourceRequestsResponse -> Bool
$c== :: ListResourceRequestsResponse
-> ListResourceRequestsResponse -> Bool
Prelude.Eq, Int -> ListResourceRequestsResponse -> ShowS
[ListResourceRequestsResponse] -> ShowS
ListResourceRequestsResponse -> String
(Int -> ListResourceRequestsResponse -> ShowS)
-> (ListResourceRequestsResponse -> String)
-> ([ListResourceRequestsResponse] -> ShowS)
-> Show ListResourceRequestsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListResourceRequestsResponse] -> ShowS
$cshowList :: [ListResourceRequestsResponse] -> ShowS
show :: ListResourceRequestsResponse -> String
$cshow :: ListResourceRequestsResponse -> String
showsPrec :: Int -> ListResourceRequestsResponse -> ShowS
$cshowsPrec :: Int -> ListResourceRequestsResponse -> ShowS
Prelude.Show, (forall x.
ListResourceRequestsResponse -> Rep ListResourceRequestsResponse x)
-> (forall x.
Rep ListResourceRequestsResponse x -> ListResourceRequestsResponse)
-> Generic ListResourceRequestsResponse
forall x.
Rep ListResourceRequestsResponse x -> ListResourceRequestsResponse
forall x.
ListResourceRequestsResponse -> Rep ListResourceRequestsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListResourceRequestsResponse x -> ListResourceRequestsResponse
$cfrom :: forall x.
ListResourceRequestsResponse -> Rep ListResourceRequestsResponse x
Prelude.Generic)
newListResourceRequestsResponse ::
Prelude.Int ->
ListResourceRequestsResponse
newListResourceRequestsResponse :: Int -> ListResourceRequestsResponse
newListResourceRequestsResponse Int
pHttpStatus_ =
ListResourceRequestsResponse' :: Maybe [ProgressEvent]
-> Maybe Text -> Int -> ListResourceRequestsResponse
ListResourceRequestsResponse'
{ $sel:resourceRequestStatusSummaries:ListResourceRequestsResponse' :: Maybe [ProgressEvent]
resourceRequestStatusSummaries =
Maybe [ProgressEvent]
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:ListResourceRequestsResponse' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:ListResourceRequestsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
listResourceRequestsResponse_resourceRequestStatusSummaries :: Lens.Lens' ListResourceRequestsResponse (Prelude.Maybe [ProgressEvent])
listResourceRequestsResponse_resourceRequestStatusSummaries :: (Maybe [ProgressEvent] -> f (Maybe [ProgressEvent]))
-> ListResourceRequestsResponse -> f ListResourceRequestsResponse
listResourceRequestsResponse_resourceRequestStatusSummaries = (ListResourceRequestsResponse -> Maybe [ProgressEvent])
-> (ListResourceRequestsResponse
-> Maybe [ProgressEvent] -> ListResourceRequestsResponse)
-> Lens
ListResourceRequestsResponse
ListResourceRequestsResponse
(Maybe [ProgressEvent])
(Maybe [ProgressEvent])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListResourceRequestsResponse' {Maybe [ProgressEvent]
resourceRequestStatusSummaries :: Maybe [ProgressEvent]
$sel:resourceRequestStatusSummaries:ListResourceRequestsResponse' :: ListResourceRequestsResponse -> Maybe [ProgressEvent]
resourceRequestStatusSummaries} -> Maybe [ProgressEvent]
resourceRequestStatusSummaries) (\s :: ListResourceRequestsResponse
s@ListResourceRequestsResponse' {} Maybe [ProgressEvent]
a -> ListResourceRequestsResponse
s {$sel:resourceRequestStatusSummaries:ListResourceRequestsResponse' :: Maybe [ProgressEvent]
resourceRequestStatusSummaries = Maybe [ProgressEvent]
a} :: ListResourceRequestsResponse) ((Maybe [ProgressEvent] -> f (Maybe [ProgressEvent]))
-> ListResourceRequestsResponse -> f ListResourceRequestsResponse)
-> ((Maybe [ProgressEvent] -> f (Maybe [ProgressEvent]))
-> Maybe [ProgressEvent] -> f (Maybe [ProgressEvent]))
-> (Maybe [ProgressEvent] -> f (Maybe [ProgressEvent]))
-> ListResourceRequestsResponse
-> f ListResourceRequestsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ProgressEvent] [ProgressEvent] [ProgressEvent] [ProgressEvent]
-> Iso
(Maybe [ProgressEvent])
(Maybe [ProgressEvent])
(Maybe [ProgressEvent])
(Maybe [ProgressEvent])
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
[ProgressEvent] [ProgressEvent] [ProgressEvent] [ProgressEvent]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
listResourceRequestsResponse_nextToken :: Lens.Lens' ListResourceRequestsResponse (Prelude.Maybe Prelude.Text)
listResourceRequestsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListResourceRequestsResponse -> f ListResourceRequestsResponse
listResourceRequestsResponse_nextToken = (ListResourceRequestsResponse -> Maybe Text)
-> (ListResourceRequestsResponse
-> Maybe Text -> ListResourceRequestsResponse)
-> Lens
ListResourceRequestsResponse
ListResourceRequestsResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListResourceRequestsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListResourceRequestsResponse' :: ListResourceRequestsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListResourceRequestsResponse
s@ListResourceRequestsResponse' {} Maybe Text
a -> ListResourceRequestsResponse
s {$sel:nextToken:ListResourceRequestsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListResourceRequestsResponse)
listResourceRequestsResponse_httpStatus :: Lens.Lens' ListResourceRequestsResponse Prelude.Int
listResourceRequestsResponse_httpStatus :: (Int -> f Int)
-> ListResourceRequestsResponse -> f ListResourceRequestsResponse
listResourceRequestsResponse_httpStatus = (ListResourceRequestsResponse -> Int)
-> (ListResourceRequestsResponse
-> Int -> ListResourceRequestsResponse)
-> Lens
ListResourceRequestsResponse ListResourceRequestsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListResourceRequestsResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListResourceRequestsResponse' :: ListResourceRequestsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListResourceRequestsResponse
s@ListResourceRequestsResponse' {} Int
a -> ListResourceRequestsResponse
s {$sel:httpStatus:ListResourceRequestsResponse' :: Int
httpStatus = Int
a} :: ListResourceRequestsResponse)
instance Prelude.NFData ListResourceRequestsResponse