{-# 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.Panorama.ListPackageImportJobs
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns a list of package import jobs.
module Amazonka.Panorama.ListPackageImportJobs
  ( -- * Creating a Request
    ListPackageImportJobs (..),
    newListPackageImportJobs,

    -- * Request Lenses
    listPackageImportJobs_nextToken,
    listPackageImportJobs_maxResults,

    -- * Destructuring the Response
    ListPackageImportJobsResponse (..),
    newListPackageImportJobsResponse,

    -- * Response Lenses
    listPackageImportJobsResponse_nextToken,
    listPackageImportJobsResponse_httpStatus,
    listPackageImportJobsResponse_packageImportJobs,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Panorama.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newListPackageImportJobs' smart constructor.
data ListPackageImportJobs = ListPackageImportJobs'
  { -- | Specify the pagination token from a previous request to retrieve the
    -- next page of results.
    ListPackageImportJobs -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The maximum number of package import jobs to return in one page of
    -- results.
    ListPackageImportJobs -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural
  }
  deriving (ListPackageImportJobs -> ListPackageImportJobs -> Bool
(ListPackageImportJobs -> ListPackageImportJobs -> Bool)
-> (ListPackageImportJobs -> ListPackageImportJobs -> Bool)
-> Eq ListPackageImportJobs
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListPackageImportJobs -> ListPackageImportJobs -> Bool
$c/= :: ListPackageImportJobs -> ListPackageImportJobs -> Bool
== :: ListPackageImportJobs -> ListPackageImportJobs -> Bool
$c== :: ListPackageImportJobs -> ListPackageImportJobs -> Bool
Prelude.Eq, ReadPrec [ListPackageImportJobs]
ReadPrec ListPackageImportJobs
Int -> ReadS ListPackageImportJobs
ReadS [ListPackageImportJobs]
(Int -> ReadS ListPackageImportJobs)
-> ReadS [ListPackageImportJobs]
-> ReadPrec ListPackageImportJobs
-> ReadPrec [ListPackageImportJobs]
-> Read ListPackageImportJobs
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListPackageImportJobs]
$creadListPrec :: ReadPrec [ListPackageImportJobs]
readPrec :: ReadPrec ListPackageImportJobs
$creadPrec :: ReadPrec ListPackageImportJobs
readList :: ReadS [ListPackageImportJobs]
$creadList :: ReadS [ListPackageImportJobs]
readsPrec :: Int -> ReadS ListPackageImportJobs
$creadsPrec :: Int -> ReadS ListPackageImportJobs
Prelude.Read, Int -> ListPackageImportJobs -> ShowS
[ListPackageImportJobs] -> ShowS
ListPackageImportJobs -> String
(Int -> ListPackageImportJobs -> ShowS)
-> (ListPackageImportJobs -> String)
-> ([ListPackageImportJobs] -> ShowS)
-> Show ListPackageImportJobs
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListPackageImportJobs] -> ShowS
$cshowList :: [ListPackageImportJobs] -> ShowS
show :: ListPackageImportJobs -> String
$cshow :: ListPackageImportJobs -> String
showsPrec :: Int -> ListPackageImportJobs -> ShowS
$cshowsPrec :: Int -> ListPackageImportJobs -> ShowS
Prelude.Show, (forall x. ListPackageImportJobs -> Rep ListPackageImportJobs x)
-> (forall x. Rep ListPackageImportJobs x -> ListPackageImportJobs)
-> Generic ListPackageImportJobs
forall x. Rep ListPackageImportJobs x -> ListPackageImportJobs
forall x. ListPackageImportJobs -> Rep ListPackageImportJobs x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ListPackageImportJobs x -> ListPackageImportJobs
$cfrom :: forall x. ListPackageImportJobs -> Rep ListPackageImportJobs x
Prelude.Generic)

-- |
-- Create a value of 'ListPackageImportJobs' 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:
--
-- 'nextToken', 'listPackageImportJobs_nextToken' - Specify the pagination token from a previous request to retrieve the
-- next page of results.
--
-- 'maxResults', 'listPackageImportJobs_maxResults' - The maximum number of package import jobs to return in one page of
-- results.
newListPackageImportJobs ::
  ListPackageImportJobs
newListPackageImportJobs :: ListPackageImportJobs
newListPackageImportJobs =
  ListPackageImportJobs' :: Maybe Text -> Maybe Natural -> ListPackageImportJobs
ListPackageImportJobs'
    { $sel:nextToken:ListPackageImportJobs' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:maxResults:ListPackageImportJobs' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing
    }

-- | Specify the pagination token from a previous request to retrieve the
-- next page of results.
listPackageImportJobs_nextToken :: Lens.Lens' ListPackageImportJobs (Prelude.Maybe Prelude.Text)
listPackageImportJobs_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListPackageImportJobs -> f ListPackageImportJobs
listPackageImportJobs_nextToken = (ListPackageImportJobs -> Maybe Text)
-> (ListPackageImportJobs -> Maybe Text -> ListPackageImportJobs)
-> Lens
     ListPackageImportJobs
     ListPackageImportJobs
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPackageImportJobs' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListPackageImportJobs' :: ListPackageImportJobs -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListPackageImportJobs
s@ListPackageImportJobs' {} Maybe Text
a -> ListPackageImportJobs
s {$sel:nextToken:ListPackageImportJobs' :: Maybe Text
nextToken = Maybe Text
a} :: ListPackageImportJobs)

-- | The maximum number of package import jobs to return in one page of
-- results.
listPackageImportJobs_maxResults :: Lens.Lens' ListPackageImportJobs (Prelude.Maybe Prelude.Natural)
listPackageImportJobs_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> ListPackageImportJobs -> f ListPackageImportJobs
listPackageImportJobs_maxResults = (ListPackageImportJobs -> Maybe Natural)
-> (ListPackageImportJobs
    -> Maybe Natural -> ListPackageImportJobs)
-> Lens
     ListPackageImportJobs
     ListPackageImportJobs
     (Maybe Natural)
     (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPackageImportJobs' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:ListPackageImportJobs' :: ListPackageImportJobs -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: ListPackageImportJobs
s@ListPackageImportJobs' {} Maybe Natural
a -> ListPackageImportJobs
s {$sel:maxResults:ListPackageImportJobs' :: Maybe Natural
maxResults = Maybe Natural
a} :: ListPackageImportJobs)

instance Core.AWSRequest ListPackageImportJobs where
  type
    AWSResponse ListPackageImportJobs =
      ListPackageImportJobsResponse
  request :: ListPackageImportJobs -> Request ListPackageImportJobs
request = Service -> ListPackageImportJobs -> Request ListPackageImportJobs
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
  response :: Logger
-> Service
-> Proxy ListPackageImportJobs
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListPackageImportJobs)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse ListPackageImportJobs))
-> Logger
-> Service
-> Proxy ListPackageImportJobs
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse ListPackageImportJobs)))
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 Text
-> Int -> [PackageImportJob] -> ListPackageImportJobsResponse
ListPackageImportJobsResponse'
            (Maybe Text
 -> Int -> [PackageImportJob] -> ListPackageImportJobsResponse)
-> Either String (Maybe Text)
-> Either
     String (Int -> [PackageImportJob] -> ListPackageImportJobsResponse)
forall (f :: * -> *) a b. Functor 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 -> [PackageImportJob] -> ListPackageImportJobsResponse)
-> Either String Int
-> Either
     String ([PackageImportJob] -> ListPackageImportJobsResponse)
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))
            Either String ([PackageImportJob] -> ListPackageImportJobsResponse)
-> Either String [PackageImportJob]
-> Either String ListPackageImportJobsResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe [PackageImportJob])
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"PackageImportJobs"
                            Either String (Maybe [PackageImportJob])
-> [PackageImportJob] -> Either String [PackageImportJob]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [PackageImportJob]
forall a. Monoid a => a
Prelude.mempty
                        )
      )

instance Prelude.Hashable ListPackageImportJobs

instance Prelude.NFData ListPackageImportJobs

instance Core.ToHeaders ListPackageImportJobs where
  toHeaders :: ListPackageImportJobs -> ResponseHeaders
toHeaders =
    ResponseHeaders -> ListPackageImportJobs -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ 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.ToPath ListPackageImportJobs where
  toPath :: ListPackageImportJobs -> ByteString
toPath = ByteString -> ListPackageImportJobs -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/packages/import-jobs"

instance Core.ToQuery ListPackageImportJobs where
  toQuery :: ListPackageImportJobs -> QueryString
toQuery ListPackageImportJobs' {Maybe Natural
Maybe Text
maxResults :: Maybe Natural
nextToken :: Maybe Text
$sel:maxResults:ListPackageImportJobs' :: ListPackageImportJobs -> Maybe Natural
$sel:nextToken:ListPackageImportJobs' :: ListPackageImportJobs -> Maybe Text
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"NextToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
        ByteString
"MaxResults" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults
      ]

-- | /See:/ 'newListPackageImportJobsResponse' smart constructor.
data ListPackageImportJobsResponse = ListPackageImportJobsResponse'
  { -- | A pagination token that\'s included if more results are available.
    ListPackageImportJobsResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    ListPackageImportJobsResponse -> Int
httpStatus :: Prelude.Int,
    -- | A list of package import jobs.
    ListPackageImportJobsResponse -> [PackageImportJob]
packageImportJobs :: [PackageImportJob]
  }
  deriving (ListPackageImportJobsResponse
-> ListPackageImportJobsResponse -> Bool
(ListPackageImportJobsResponse
 -> ListPackageImportJobsResponse -> Bool)
-> (ListPackageImportJobsResponse
    -> ListPackageImportJobsResponse -> Bool)
-> Eq ListPackageImportJobsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ListPackageImportJobsResponse
-> ListPackageImportJobsResponse -> Bool
$c/= :: ListPackageImportJobsResponse
-> ListPackageImportJobsResponse -> Bool
== :: ListPackageImportJobsResponse
-> ListPackageImportJobsResponse -> Bool
$c== :: ListPackageImportJobsResponse
-> ListPackageImportJobsResponse -> Bool
Prelude.Eq, ReadPrec [ListPackageImportJobsResponse]
ReadPrec ListPackageImportJobsResponse
Int -> ReadS ListPackageImportJobsResponse
ReadS [ListPackageImportJobsResponse]
(Int -> ReadS ListPackageImportJobsResponse)
-> ReadS [ListPackageImportJobsResponse]
-> ReadPrec ListPackageImportJobsResponse
-> ReadPrec [ListPackageImportJobsResponse]
-> Read ListPackageImportJobsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ListPackageImportJobsResponse]
$creadListPrec :: ReadPrec [ListPackageImportJobsResponse]
readPrec :: ReadPrec ListPackageImportJobsResponse
$creadPrec :: ReadPrec ListPackageImportJobsResponse
readList :: ReadS [ListPackageImportJobsResponse]
$creadList :: ReadS [ListPackageImportJobsResponse]
readsPrec :: Int -> ReadS ListPackageImportJobsResponse
$creadsPrec :: Int -> ReadS ListPackageImportJobsResponse
Prelude.Read, Int -> ListPackageImportJobsResponse -> ShowS
[ListPackageImportJobsResponse] -> ShowS
ListPackageImportJobsResponse -> String
(Int -> ListPackageImportJobsResponse -> ShowS)
-> (ListPackageImportJobsResponse -> String)
-> ([ListPackageImportJobsResponse] -> ShowS)
-> Show ListPackageImportJobsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ListPackageImportJobsResponse] -> ShowS
$cshowList :: [ListPackageImportJobsResponse] -> ShowS
show :: ListPackageImportJobsResponse -> String
$cshow :: ListPackageImportJobsResponse -> String
showsPrec :: Int -> ListPackageImportJobsResponse -> ShowS
$cshowsPrec :: Int -> ListPackageImportJobsResponse -> ShowS
Prelude.Show, (forall x.
 ListPackageImportJobsResponse
 -> Rep ListPackageImportJobsResponse x)
-> (forall x.
    Rep ListPackageImportJobsResponse x
    -> ListPackageImportJobsResponse)
-> Generic ListPackageImportJobsResponse
forall x.
Rep ListPackageImportJobsResponse x
-> ListPackageImportJobsResponse
forall x.
ListPackageImportJobsResponse
-> Rep ListPackageImportJobsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ListPackageImportJobsResponse x
-> ListPackageImportJobsResponse
$cfrom :: forall x.
ListPackageImportJobsResponse
-> Rep ListPackageImportJobsResponse x
Prelude.Generic)

-- |
-- Create a value of 'ListPackageImportJobsResponse' 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:
--
-- 'nextToken', 'listPackageImportJobsResponse_nextToken' - A pagination token that\'s included if more results are available.
--
-- 'httpStatus', 'listPackageImportJobsResponse_httpStatus' - The response's http status code.
--
-- 'packageImportJobs', 'listPackageImportJobsResponse_packageImportJobs' - A list of package import jobs.
newListPackageImportJobsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  ListPackageImportJobsResponse
newListPackageImportJobsResponse :: Int -> ListPackageImportJobsResponse
newListPackageImportJobsResponse Int
pHttpStatus_ =
  ListPackageImportJobsResponse' :: Maybe Text
-> Int -> [PackageImportJob] -> ListPackageImportJobsResponse
ListPackageImportJobsResponse'
    { $sel:nextToken:ListPackageImportJobsResponse' :: Maybe Text
nextToken =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:ListPackageImportJobsResponse' :: Int
httpStatus = Int
pHttpStatus_,
      $sel:packageImportJobs:ListPackageImportJobsResponse' :: [PackageImportJob]
packageImportJobs = [PackageImportJob]
forall a. Monoid a => a
Prelude.mempty
    }

-- | A pagination token that\'s included if more results are available.
listPackageImportJobsResponse_nextToken :: Lens.Lens' ListPackageImportJobsResponse (Prelude.Maybe Prelude.Text)
listPackageImportJobsResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> ListPackageImportJobsResponse -> f ListPackageImportJobsResponse
listPackageImportJobsResponse_nextToken = (ListPackageImportJobsResponse -> Maybe Text)
-> (ListPackageImportJobsResponse
    -> Maybe Text -> ListPackageImportJobsResponse)
-> Lens
     ListPackageImportJobsResponse
     ListPackageImportJobsResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPackageImportJobsResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:ListPackageImportJobsResponse' :: ListPackageImportJobsResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: ListPackageImportJobsResponse
s@ListPackageImportJobsResponse' {} Maybe Text
a -> ListPackageImportJobsResponse
s {$sel:nextToken:ListPackageImportJobsResponse' :: Maybe Text
nextToken = Maybe Text
a} :: ListPackageImportJobsResponse)

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

-- | A list of package import jobs.
listPackageImportJobsResponse_packageImportJobs :: Lens.Lens' ListPackageImportJobsResponse [PackageImportJob]
listPackageImportJobsResponse_packageImportJobs :: ([PackageImportJob] -> f [PackageImportJob])
-> ListPackageImportJobsResponse -> f ListPackageImportJobsResponse
listPackageImportJobsResponse_packageImportJobs = (ListPackageImportJobsResponse -> [PackageImportJob])
-> (ListPackageImportJobsResponse
    -> [PackageImportJob] -> ListPackageImportJobsResponse)
-> Lens
     ListPackageImportJobsResponse
     ListPackageImportJobsResponse
     [PackageImportJob]
     [PackageImportJob]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ListPackageImportJobsResponse' {[PackageImportJob]
packageImportJobs :: [PackageImportJob]
$sel:packageImportJobs:ListPackageImportJobsResponse' :: ListPackageImportJobsResponse -> [PackageImportJob]
packageImportJobs} -> [PackageImportJob]
packageImportJobs) (\s :: ListPackageImportJobsResponse
s@ListPackageImportJobsResponse' {} [PackageImportJob]
a -> ListPackageImportJobsResponse
s {$sel:packageImportJobs:ListPackageImportJobsResponse' :: [PackageImportJob]
packageImportJobs = [PackageImportJob]
a} :: ListPackageImportJobsResponse) (([PackageImportJob] -> f [PackageImportJob])
 -> ListPackageImportJobsResponse
 -> f ListPackageImportJobsResponse)
-> (([PackageImportJob] -> f [PackageImportJob])
    -> [PackageImportJob] -> f [PackageImportJob])
-> ([PackageImportJob] -> f [PackageImportJob])
-> ListPackageImportJobsResponse
-> f ListPackageImportJobsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([PackageImportJob] -> f [PackageImportJob])
-> [PackageImportJob] -> f [PackageImportJob]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Prelude.NFData ListPackageImportJobsResponse