{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.LicenseManager.ListLicenses
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Lists the licenses for your account.
module Amazonka.LicenseManager.ListLicenses
  ( -- * Creating a Request
    ListLicenses (..),
    newListLicenses,

    -- * Request Lenses
    listLicenses_filters,
    listLicenses_licenseArns,
    listLicenses_maxResults,
    listLicenses_nextToken,

    -- * Destructuring the Response
    ListLicensesResponse (..),
    newListLicensesResponse,

    -- * Response Lenses
    listLicensesResponse_licenses,
    listLicensesResponse_nextToken,
    listLicensesResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.LicenseManager.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newListLicenses' smart constructor.
data ListLicenses = ListLicenses'
  { -- | Filters to scope the results. The following filters are supported:
    --
    -- -   @Beneficiary@
    --
    -- -   @ProductSKU@
    --
    -- -   @Fingerprint@
    --
    -- -   @Status@
    ListLicenses -> Maybe [Filter]
filters :: Prelude.Maybe [Filter],
    -- | Amazon Resource Names (ARNs) of the licenses.
    ListLicenses -> Maybe [Text]
licenseArns :: Prelude.Maybe [Prelude.Text],
    -- | Maximum number of results to return in a single call.
    ListLicenses -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
    -- | Token for the next set of results.
    ListLicenses -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text
  }
  deriving (ListLicenses -> ListLicenses -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListLicenses -> ListLicenses -> Bool
$c/= :: ListLicenses -> ListLicenses -> Bool
== :: ListLicenses -> ListLicenses -> Bool
$c== :: ListLicenses -> ListLicenses -> Bool
Prelude.Eq, ReadPrec [ListLicenses]
ReadPrec ListLicenses
Int -> ReadS ListLicenses
ReadS [ListLicenses]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListLicenses]
$creadListPrec :: ReadPrec [ListLicenses]
readPrec :: ReadPrec ListLicenses
$creadPrec :: ReadPrec ListLicenses
readList :: ReadS [ListLicenses]
$creadList :: ReadS [ListLicenses]
readsPrec :: Int -> ReadS ListLicenses
$creadsPrec :: Int -> ReadS ListLicenses
Prelude.Read, Int -> ListLicenses -> ShowS
[ListLicenses] -> ShowS
ListLicenses -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListLicenses] -> ShowS
$cshowList :: [ListLicenses] -> ShowS
show :: ListLicenses -> String
$cshow :: ListLicenses -> String
showsPrec :: Int -> ListLicenses -> ShowS
$cshowsPrec :: Int -> ListLicenses -> ShowS
Prelude.Show, forall x. Rep ListLicenses x -> ListLicenses
forall x. ListLicenses -> Rep ListLicenses x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListLicenses x -> ListLicenses
$cfrom :: forall x. ListLicenses -> Rep ListLicenses x
Prelude.Generic)

-- |
-- Create a value of 'ListLicenses' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'filters', 'listLicenses_filters' - Filters to scope the results. The following filters are supported:
--
-- -   @Beneficiary@
--
-- -   @ProductSKU@
--
-- -   @Fingerprint@
--
-- -   @Status@
--
-- 'licenseArns', 'listLicenses_licenseArns' - Amazon Resource Names (ARNs) of the licenses.
--
-- 'maxResults', 'listLicenses_maxResults' - Maximum number of results to return in a single call.
--
-- 'nextToken', 'listLicenses_nextToken' - Token for the next set of results.
newListLicenses ::
  ListLicenses
newListLicenses :: ListLicenses
newListLicenses =
  ListLicenses'
    { $sel:filters:ListLicenses' :: Maybe [Filter]
filters = forall a. Maybe a
Prelude.Nothing,
      $sel:licenseArns:ListLicenses' :: Maybe [Text]
licenseArns = forall a. Maybe a
Prelude.Nothing,
      $sel:maxResults:ListLicenses' :: Maybe Natural
maxResults = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListLicenses' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing
    }

-- | Filters to scope the results. The following filters are supported:
--
-- -   @Beneficiary@
--
-- -   @ProductSKU@
--
-- -   @Fingerprint@
--
-- -   @Status@
listLicenses_filters :: Lens.Lens' ListLicenses (Prelude.Maybe [Filter])
listLicenses_filters :: Lens' ListLicenses (Maybe [Filter])
listLicenses_filters = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLicenses' {Maybe [Filter]
filters :: Maybe [Filter]
$sel:filters:ListLicenses' :: ListLicenses -> Maybe [Filter]
filters} -> Maybe [Filter]
filters) (\s :: ListLicenses
s@ListLicenses' {} Maybe [Filter]
a -> ListLicenses
s {$sel:filters:ListLicenses' :: Maybe [Filter]
filters = Maybe [Filter]
a} :: ListLicenses) 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

-- | Amazon Resource Names (ARNs) of the licenses.
listLicenses_licenseArns :: Lens.Lens' ListLicenses (Prelude.Maybe [Prelude.Text])
listLicenses_licenseArns :: Lens' ListLicenses (Maybe [Text])
listLicenses_licenseArns = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLicenses' {Maybe [Text]
licenseArns :: Maybe [Text]
$sel:licenseArns:ListLicenses' :: ListLicenses -> Maybe [Text]
licenseArns} -> Maybe [Text]
licenseArns) (\s :: ListLicenses
s@ListLicenses' {} Maybe [Text]
a -> ListLicenses
s {$sel:licenseArns:ListLicenses' :: Maybe [Text]
licenseArns = Maybe [Text]
a} :: ListLicenses) 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

-- | Maximum number of results to return in a single call.
listLicenses_maxResults :: Lens.Lens' ListLicenses (Prelude.Maybe Prelude.Natural)
listLicenses_maxResults :: Lens' ListLicenses (Maybe Natural)
listLicenses_maxResults = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLicenses' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListLicenses' :: ListLicenses -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListLicenses
s@ListLicenses' {} Maybe Natural
a -> ListLicenses
s {$sel:maxResults:ListLicenses' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListLicenses)

-- | Token for the next set of results.
listLicenses_nextToken :: Lens.Lens' ListLicenses (Prelude.Maybe Prelude.Text)
listLicenses_nextToken :: Lens' ListLicenses (Maybe Text)
listLicenses_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLicenses' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListLicenses' :: ListLicenses -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListLicenses
s@ListLicenses' {} Maybe Text
a -> ListLicenses
s {$sel:nextToken:ListLicenses' :: Maybe Text
nextToken = Maybe Text
a} :: ListLicenses)

instance Core.AWSRequest ListLicenses where
  type AWSResponse ListLicenses = ListLicensesResponse
  request :: (Service -> Service) -> ListLicenses -> Request ListLicenses
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 ListLicenses
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse ListLicenses)))
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 [License] -> Maybe Text -> Int -> ListLicensesResponse
ListLicensesResponse'
            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
"Licenses" 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 ListLicenses where
  hashWithSalt :: Int -> ListLicenses -> Int
hashWithSalt Int
_salt ListLicenses' {Maybe Natural
Maybe [Text]
Maybe [Filter]
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
licenseArns :: Maybe [Text]
filters :: Maybe [Filter]
$sel:nextToken:ListLicenses' :: ListLicenses -> Maybe Text
$sel:maxResults:ListLicenses' :: ListLicenses -> Maybe Natural
$sel:licenseArns:ListLicenses' :: ListLicenses -> Maybe [Text]
$sel:filters:ListLicenses' :: ListLicenses -> Maybe [Filter]
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Filter]
filters
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
licenseArns
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
maxResults
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
nextToken

instance Prelude.NFData ListLicenses where
  rnf :: ListLicenses -> ()
rnf ListLicenses' {Maybe Natural
Maybe [Text]
Maybe [Filter]
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
licenseArns :: Maybe [Text]
filters :: Maybe [Filter]
$sel:nextToken:ListLicenses' :: ListLicenses -> Maybe Text
$sel:maxResults:ListLicenses' :: ListLicenses -> Maybe Natural
$sel:licenseArns:ListLicenses' :: ListLicenses -> Maybe [Text]
$sel:filters:ListLicenses' :: ListLicenses -> Maybe [Filter]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [Filter]
filters
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
licenseArns
      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
nextToken

instance Data.ToHeaders ListLicenses where
  toHeaders :: ListLicenses -> 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
"AWSLicenseManager.ListLicenses" ::
                          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 ListLicenses where
  toJSON :: ListLicenses -> Value
toJSON ListLicenses' {Maybe Natural
Maybe [Text]
Maybe [Filter]
Maybe Text
nextToken :: Maybe Text
maxResults :: Maybe Natural
licenseArns :: Maybe [Text]
filters :: Maybe [Filter]
$sel:nextToken:ListLicenses' :: ListLicenses -> Maybe Text
$sel:maxResults:ListLicenses' :: ListLicenses -> Maybe Natural
$sel:licenseArns:ListLicenses' :: ListLicenses -> Maybe [Text]
$sel:filters:ListLicenses' :: ListLicenses -> Maybe [Filter]
..} =
    [Pair] -> Value
Data.object
      ( forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Key
"Filters" 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 [Filter]
filters,
            (Key
"LicenseArns" 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]
licenseArns,
            (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
"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
          ]
      )

instance Data.ToPath ListLicenses where
  toPath :: ListLicenses -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Data.ToQuery ListLicenses where
  toQuery :: ListLicenses -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newListLicensesResponse' smart constructor.
data ListLicensesResponse = ListLicensesResponse'
  { -- | License details.
    ListLicensesResponse -> Maybe [License]
licenses :: Prelude.Maybe [License],
    -- | Token for the next set of results.
    ListLicensesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListLicensesResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (ListLicensesResponse -> ListLicensesResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListLicensesResponse -> ListLicensesResponse -> Bool
$c/= :: ListLicensesResponse -> ListLicensesResponse -> Bool
== :: ListLicensesResponse -> ListLicensesResponse -> Bool
$c== :: ListLicensesResponse -> ListLicensesResponse -> Bool
Prelude.Eq, ReadPrec [ListLicensesResponse]
ReadPrec ListLicensesResponse
Int -> ReadS ListLicensesResponse
ReadS [ListLicensesResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListLicensesResponse]
$creadListPrec :: ReadPrec [ListLicensesResponse]
readPrec :: ReadPrec ListLicensesResponse
$creadPrec :: ReadPrec ListLicensesResponse
readList :: ReadS [ListLicensesResponse]
$creadList :: ReadS [ListLicensesResponse]
readsPrec :: Int -> ReadS ListLicensesResponse
$creadsPrec :: Int -> ReadS ListLicensesResponse
Prelude.Read, Int -> ListLicensesResponse -> ShowS
[ListLicensesResponse] -> ShowS
ListLicensesResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListLicensesResponse] -> ShowS
$cshowList :: [ListLicensesResponse] -> ShowS
show :: ListLicensesResponse -> String
$cshow :: ListLicensesResponse -> String
showsPrec :: Int -> ListLicensesResponse -> ShowS
$cshowsPrec :: Int -> ListLicensesResponse -> ShowS
Prelude.Show, forall x. Rep ListLicensesResponse x -> ListLicensesResponse
forall x. ListLicensesResponse -> Rep ListLicensesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListLicensesResponse x -> ListLicensesResponse
$cfrom :: forall x. ListLicensesResponse -> Rep ListLicensesResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListLicensesResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'licenses', 'listLicensesResponse_licenses' - License details.
--
-- 'nextToken', 'listLicensesResponse_nextToken' - Token for the next set of results.
--
-- 'httpStatus', 'listLicensesResponse_httpStatus' - The response's http status code.
newListLicensesResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListLicensesResponse
newListLicensesResponse :: Int -> ListLicensesResponse
newListLicensesResponse Int
pHttpStatus_ =
  ListLicensesResponse'
    { $sel:licenses:ListLicensesResponse' :: Maybe [License]
licenses = forall a. Maybe a
Prelude.Nothing,
      $sel:nextToken:ListLicensesResponse' :: Maybe Text
nextToken = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListLicensesResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | License details.
listLicensesResponse_licenses :: Lens.Lens' ListLicensesResponse (Prelude.Maybe [License])
listLicensesResponse_licenses :: Lens' ListLicensesResponse (Maybe [License])
listLicensesResponse_licenses = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLicensesResponse' {Maybe [License]
licenses :: Maybe [License]
$sel:licenses:ListLicensesResponse' :: ListLicensesResponse -> Maybe [License]
licenses} -> Maybe [License]
licenses) (\s :: ListLicensesResponse
s@ListLicensesResponse' {} Maybe [License]
a -> ListLicensesResponse
s {$sel:licenses:ListLicensesResponse' :: Maybe [License]
licenses = Maybe [License]
a} :: ListLicensesResponse) 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

-- | Token for the next set of results.
listLicensesResponse_nextToken :: Lens.Lens' ListLicensesResponse (Prelude.Maybe Prelude.Text)
listLicensesResponse_nextToken :: Lens' ListLicensesResponse (Maybe Text)
listLicensesResponse_nextToken = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLicensesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListLicensesResponse' :: ListLicensesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListLicensesResponse
s@ListLicensesResponse' {} Maybe Text
a -> ListLicensesResponse
s {$sel:nextToken:ListLicensesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListLicensesResponse)

-- | The response's http status code.
listLicensesResponse_httpStatus :: Lens.Lens' ListLicensesResponse Prelude.Int
listLicensesResponse_httpStatus :: Lens' ListLicensesResponse Int
listLicensesResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListLicensesResponse' {Int
httpStatus :: Int
$sel:httpStatus:ListLicensesResponse' :: ListLicensesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: ListLicensesResponse
s@ListLicensesResponse' {} Int
a -> ListLicensesResponse
s {$sel:httpStatus:ListLicensesResponse' :: Int
httpStatus = Int
a} :: ListLicensesResponse)

instance Prelude.NFData ListLicensesResponse where
  rnf :: ListLicensesResponse -> ()
rnf ListLicensesResponse' {Int
Maybe [License]
Maybe Text
httpStatus :: Int
nextToken :: Maybe Text
licenses :: Maybe [License]
$sel:httpStatus:ListLicensesResponse' :: ListLicensesResponse -> Int
$sel:nextToken:ListLicensesResponse' :: ListLicensesResponse -> Maybe Text
$sel:licenses:ListLicensesResponse' :: ListLicensesResponse -> Maybe [License]
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe [License]
licenses
      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