{-# 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.PrivateNetworks.ListDeviceIdentifiers -- 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 device identifiers. Add filters to your request to return a more -- specific list of results. Use filters to match the Amazon Resource Name -- (ARN) of an order, the status of device identifiers, or the ARN of the -- traffic group. -- -- >
If you specify multiple filters, filters are joined with an OR, and the request
--
-- returns results that match all of the specified filters.
--
-- This operation returns paginated results.
module Amazonka.PrivateNetworks.ListDeviceIdentifiers
( -- * Creating a Request
ListDeviceIdentifiers (..),
newListDeviceIdentifiers,
-- * Request Lenses
listDeviceIdentifiers_filters,
listDeviceIdentifiers_maxResults,
listDeviceIdentifiers_startToken,
listDeviceIdentifiers_networkArn,
-- * Destructuring the Response
ListDeviceIdentifiersResponse (..),
newListDeviceIdentifiersResponse,
-- * Response Lenses
listDeviceIdentifiersResponse_deviceIdentifiers,
listDeviceIdentifiersResponse_nextToken,
listDeviceIdentifiersResponse_httpStatus,
)
where
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 Amazonka.PrivateNetworks.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
-- | /See:/ 'newListDeviceIdentifiers' smart constructor.
data ListDeviceIdentifiers = ListDeviceIdentifiers'
{ -- | The filters.
--
-- - @ORDER@ - The Amazon Resource Name (ARN) of the order.
--
-- - @STATUS@ - The status (@ACTIVE@ | @INACTIVE@).
--
-- - @TRAFFIC_GROUP@ - The Amazon Resource Name (ARN) of the traffic
-- group.
--
-- Filter values are case sensitive. If you specify multiple values for a
-- filter, the values are joined with an @OR@, and the request returns all
-- results that match any of the specified values.
filters :: Prelude.Maybe (Prelude.HashMap DeviceIdentifierFilterKeys [Prelude.Text]),
-- | The maximum number of results to return.
maxResults :: Prelude.Maybe Prelude.Natural,
-- | The token for the next page of results.
startToken :: Prelude.Maybe Prelude.Text,
-- | The Amazon Resource Name (ARN) of the network.
networkArn :: Prelude.Text
}
deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)
-- |
-- Create a value of 'ListDeviceIdentifiers' with all optional fields omitted.
--
-- Use