{-# 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.AppStream.DescribeImages
(
DescribeImages (..),
newDescribeImages,
describeImages_arns,
describeImages_maxResults,
describeImages_names,
describeImages_nextToken,
describeImages_type,
DescribeImagesResponse (..),
newDescribeImagesResponse,
describeImagesResponse_images,
describeImagesResponse_nextToken,
describeImagesResponse_httpStatus,
)
where
import Amazonka.AppStream.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeImages = DescribeImages'
{
DescribeImages -> Maybe [Text]
arns :: Prelude.Maybe [Prelude.Text],
DescribeImages -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
DescribeImages -> Maybe [Text]
names :: Prelude.Maybe [Prelude.Text],
DescribeImages -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
DescribeImages -> Maybe VisibilityType
type' :: Prelude.Maybe VisibilityType
}
deriving (DescribeImages -> DescribeImages -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeImages -> DescribeImages -> Bool
$c/= :: DescribeImages -> DescribeImages -> Bool
== :: DescribeImages -> DescribeImages -> Bool
$c== :: DescribeImages -> DescribeImages -> Bool
Prelude.Eq, ReadPrec [DescribeImages]
ReadPrec DescribeImages
Int -> ReadS DescribeImages
ReadS [DescribeImages]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeImages]
$creadListPrec :: ReadPrec [DescribeImages]
readPrec :: ReadPrec DescribeImages
$creadPrec :: ReadPrec DescribeImages
readList :: ReadS [DescribeImages]
$creadList :: ReadS [DescribeImages]
readsPrec :: Int -> ReadS DescribeImages
$creadsPrec :: Int -> ReadS DescribeImages
Prelude.Read, Int -> DescribeImages -> ShowS
[DescribeImages] -> ShowS
DescribeImages -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeImages] -> ShowS
$cshowList :: [DescribeImages] -> ShowS
show :: DescribeImages -> String
$cshow :: DescribeImages -> String
showsPrec :: Int -> DescribeImages -> ShowS
$cshowsPrec :: Int -> DescribeImages -> ShowS
Prelude.Show, forall x. Rep DescribeImages x -> DescribeImages
forall x. DescribeImages -> Rep DescribeImages x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeImages x -> DescribeImages
$cfrom :: forall x. DescribeImages -> Rep DescribeImages x
Prelude.Generic)
newDescribeImages ::
DescribeImages
newDescribeImages :: DescribeImages
newDescribeImages =
DescribeImages'
{ $sel:arns:DescribeImages' :: Maybe [Text]
arns = forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:DescribeImages' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
$sel:names:DescribeImages' :: Maybe [Text]
names = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:DescribeImages' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:type':DescribeImages' :: Maybe VisibilityType
type' = forall a. Maybe a
Prelude.Nothing
}
describeImages_arns :: Lens.Lens' DescribeImages (Prelude.Maybe [Prelude.Text])
describeImages_arns :: Lens' DescribeImages (Maybe [Text])
describeImages_arns = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImages' {Maybe [Text]
arns :: Maybe [Text]
$sel:arns:DescribeImages' :: DescribeImages -> Maybe [Text]
arns} -> Maybe [Text]
arns) (\s :: DescribeImages
s@DescribeImages' {} Maybe [Text]
a -> DescribeImages
s {$sel:arns:DescribeImages' :: Maybe [Text]
arns = Maybe [Text]
a} :: DescribeImages) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeImages_maxResults :: Lens.Lens' DescribeImages (Prelude.Maybe Prelude.Natural)
describeImages_maxResults :: Lens' DescribeImages (Maybe Natural)
describeImages_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImages' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:DescribeImages' :: DescribeImages -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: DescribeImages
s@DescribeImages' {} Maybe Natural
a -> DescribeImages
s {$sel:maxResults:DescribeImages' :: Maybe Natural
maxResults = Maybe Natural
a} :: DescribeImages)
describeImages_names :: Lens.Lens' DescribeImages (Prelude.Maybe [Prelude.Text])
describeImages_names :: Lens' DescribeImages (Maybe [Text])
describeImages_names = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImages' {Maybe [Text]
names :: Maybe [Text]
$sel:names:DescribeImages' :: DescribeImages -> Maybe [Text]
names} -> Maybe [Text]
names) (\s :: DescribeImages
s@DescribeImages' {} Maybe [Text]
a -> DescribeImages
s {$sel:names:DescribeImages' :: Maybe [Text]
names = Maybe [Text]
a} :: DescribeImages) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeImages_nextToken :: Lens.Lens' DescribeImages (Prelude.Maybe Prelude.Text)
describeImages_nextToken :: Lens' DescribeImages (Maybe Text)
describeImages_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImages' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeImages' :: DescribeImages -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeImages
s@DescribeImages' {} Maybe Text
a -> DescribeImages
s {$sel:nextToken:DescribeImages' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeImages)
describeImages_type :: Lens.Lens' DescribeImages (Prelude.Maybe VisibilityType)
describeImages_type :: Lens' DescribeImages (Maybe VisibilityType)
describeImages_type = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImages' {Maybe VisibilityType
type' :: Maybe VisibilityType
$sel:type':DescribeImages' :: DescribeImages -> Maybe VisibilityType
type'} -> Maybe VisibilityType
type') (\s :: DescribeImages
s@DescribeImages' {} Maybe VisibilityType
a -> DescribeImages
s {$sel:type':DescribeImages' :: Maybe VisibilityType
type' = Maybe VisibilityType
a} :: DescribeImages)
instance Core.AWSPager DescribeImages where
page :: DescribeImages
-> AWSResponse DescribeImages -> Maybe DescribeImages
page DescribeImages
rq AWSResponse DescribeImages
rs
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeImages
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' DescribeImagesResponse (Maybe Text)
describeImagesResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse DescribeImages
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' DescribeImagesResponse (Maybe [Image])
describeImagesResponse_images
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
forall a. a -> Maybe a
Prelude.Just
forall a b. (a -> b) -> a -> b
Prelude.$ DescribeImages
rq
forall a b. a -> (a -> b) -> b
Prelude.& Lens' DescribeImages (Maybe Text)
describeImages_nextToken
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse DescribeImages
rs
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? Lens' DescribeImagesResponse (Maybe Text)
describeImagesResponse_nextToken
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance Core.AWSRequest DescribeImages where
type
AWSResponse DescribeImages =
DescribeImagesResponse
request :: (Service -> Service) -> DescribeImages -> Request DescribeImages
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy DescribeImages
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse DescribeImages)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe [Image] -> Maybe Text -> Int -> DescribeImagesResponse
DescribeImagesResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"Images" forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"NextToken")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable DescribeImages where
hashWithSalt :: Int -> DescribeImages -> Int
hashWithSalt Int
_salt DescribeImages' {Maybe Natural
Maybe [Text]
Maybe Text
Maybe VisibilityType
type' :: Maybe VisibilityType
nextToken :: Maybe Text
names :: Maybe [Text]
maxResults :: Maybe Natural
arns :: Maybe [Text]
$sel:type':DescribeImages' :: DescribeImages -> Maybe VisibilityType
$sel:nextToken:DescribeImages' :: DescribeImages -> Maybe Text
$sel:names:DescribeImages' :: DescribeImages -> Maybe [Text]
$sel:maxResults:DescribeImages' :: DescribeImages -> Maybe Natural
$sel:arns:DescribeImages' :: DescribeImages -> Maybe [Text]
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
arns
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
names
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe VisibilityType
type'
instance Prelude.NFData DescribeImages where
rnf :: DescribeImages -> ()
rnf DescribeImages' {Maybe Natural
Maybe [Text]
Maybe Text
Maybe VisibilityType
type' :: Maybe VisibilityType
nextToken :: Maybe Text
names :: Maybe [Text]
maxResults :: Maybe Natural
arns :: Maybe [Text]
$sel:type':DescribeImages' :: DescribeImages -> Maybe VisibilityType
$sel:nextToken:DescribeImages' :: DescribeImages -> Maybe Text
$sel:names:DescribeImages' :: DescribeImages -> Maybe [Text]
$sel:maxResults:DescribeImages' :: DescribeImages -> Maybe Natural
$sel:arns:DescribeImages' :: DescribeImages -> Maybe [Text]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
arns
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
maxResults
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
names
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe VisibilityType
type'
instance Data.ToHeaders DescribeImages where
toHeaders :: DescribeImages -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"PhotonAdminProxyService.DescribeImages" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON DescribeImages where
toJSON :: DescribeImages -> Value
toJSON DescribeImages' {Maybe Natural
Maybe [Text]
Maybe Text
Maybe VisibilityType
type' :: Maybe VisibilityType
nextToken :: Maybe Text
names :: Maybe [Text]
maxResults :: Maybe Natural
arns :: Maybe [Text]
$sel:type':DescribeImages' :: DescribeImages -> Maybe VisibilityType
$sel:nextToken:DescribeImages' :: DescribeImages -> Maybe Text
$sel:names:DescribeImages' :: DescribeImages -> Maybe [Text]
$sel:maxResults:DescribeImages' :: DescribeImages -> Maybe Natural
$sel:arns:DescribeImages' :: DescribeImages -> Maybe [Text]
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"Arns" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
arns,
(Key
"MaxResults" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxResults,
(Key
"Names" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
names,
(Key
"NextToken" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
nextToken,
(Key
"Type" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VisibilityType
type'
]
)
instance Data.ToPath DescribeImages where
toPath :: DescribeImages -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery DescribeImages where
toQuery :: DescribeImages -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data DescribeImagesResponse = DescribeImagesResponse'
{
DescribeImagesResponse -> Maybe [Image]
images :: Prelude.Maybe [Image],
DescribeImagesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
DescribeImagesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeImagesResponse -> DescribeImagesResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeImagesResponse -> DescribeImagesResponse -> Bool
$c/= :: DescribeImagesResponse -> DescribeImagesResponse -> Bool
== :: DescribeImagesResponse -> DescribeImagesResponse -> Bool
$c== :: DescribeImagesResponse -> DescribeImagesResponse -> Bool
Prelude.Eq, ReadPrec [DescribeImagesResponse]
ReadPrec DescribeImagesResponse
Int -> ReadS DescribeImagesResponse
ReadS [DescribeImagesResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeImagesResponse]
$creadListPrec :: ReadPrec [DescribeImagesResponse]
readPrec :: ReadPrec DescribeImagesResponse
$creadPrec :: ReadPrec DescribeImagesResponse
readList :: ReadS [DescribeImagesResponse]
$creadList :: ReadS [DescribeImagesResponse]
readsPrec :: Int -> ReadS DescribeImagesResponse
$creadsPrec :: Int -> ReadS DescribeImagesResponse
Prelude.Read, Int -> DescribeImagesResponse -> ShowS
[DescribeImagesResponse] -> ShowS
DescribeImagesResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeImagesResponse] -> ShowS
$cshowList :: [DescribeImagesResponse] -> ShowS
show :: DescribeImagesResponse -> String
$cshow :: DescribeImagesResponse -> String
showsPrec :: Int -> DescribeImagesResponse -> ShowS
$cshowsPrec :: Int -> DescribeImagesResponse -> ShowS
Prelude.Show, forall x. Rep DescribeImagesResponse x -> DescribeImagesResponse
forall x. DescribeImagesResponse -> Rep DescribeImagesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeImagesResponse x -> DescribeImagesResponse
$cfrom :: forall x. DescribeImagesResponse -> Rep DescribeImagesResponse x
Prelude.Generic)
newDescribeImagesResponse ::
Prelude.Int ->
DescribeImagesResponse
newDescribeImagesResponse :: Int -> DescribeImagesResponse
newDescribeImagesResponse Int
pHttpStatus_ =
DescribeImagesResponse'
{ $sel:images:DescribeImagesResponse' :: Maybe [Image]
images = forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:DescribeImagesResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeImagesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeImagesResponse_images :: Lens.Lens' DescribeImagesResponse (Prelude.Maybe [Image])
describeImagesResponse_images :: Lens' DescribeImagesResponse (Maybe [Image])
describeImagesResponse_images = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImagesResponse' {Maybe [Image]
images :: Maybe [Image]
$sel:images:DescribeImagesResponse' :: DescribeImagesResponse -> Maybe [Image]
images} -> Maybe [Image]
images) (\s :: DescribeImagesResponse
s@DescribeImagesResponse' {} Maybe [Image]
a -> DescribeImagesResponse
s {$sel:images:DescribeImagesResponse' :: Maybe [Image]
images = Maybe [Image]
a} :: DescribeImagesResponse) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeImagesResponse_nextToken :: Lens.Lens' DescribeImagesResponse (Prelude.Maybe Prelude.Text)
describeImagesResponse_nextToken :: Lens' DescribeImagesResponse (Maybe Text)
describeImagesResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImagesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:DescribeImagesResponse' :: DescribeImagesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: DescribeImagesResponse
s@DescribeImagesResponse' {} Maybe Text
a -> DescribeImagesResponse
s {$sel:nextToken:DescribeImagesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: DescribeImagesResponse)
describeImagesResponse_httpStatus :: Lens.Lens' DescribeImagesResponse Prelude.Int
describeImagesResponse_httpStatus :: Lens' DescribeImagesResponse Int
describeImagesResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeImagesResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeImagesResponse' :: DescribeImagesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeImagesResponse
s@DescribeImagesResponse' {} Int
a -> DescribeImagesResponse
s {$sel:httpStatus:DescribeImagesResponse' :: Int
httpStatus = Int
a} :: DescribeImagesResponse)
instance Prelude.NFData DescribeImagesResponse where
rnf :: DescribeImagesResponse -> ()
rnf DescribeImagesResponse' {Int
Maybe [Image]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
images :: Maybe [Image]
$sel:httpStatus:DescribeImagesResponse' :: DescribeImagesResponse -> Int
$sel:nextToken:DescribeImagesResponse' :: DescribeImagesResponse -> Maybe Text
$sel:images:DescribeImagesResponse' :: DescribeImagesResponse -> Maybe [Image]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [Image]
images
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
nextToken
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus