{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DuplicateRecordFields #-} {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE NoImplicitPrelude #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- Derived from AWS service descriptions, licensed under Apache 2.0. -- | -- Module : Amazonka.WAFV2.Types.All -- Copyright : (c) 2013-2023 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) module Amazonka.WAFV2.Types.All 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 -- | Inspect all of the elements that WAF has parsed and extracted from the -- web request component that you\'ve identified in your FieldToMatch -- specifications. -- -- This is used only in the FieldToMatch specification for some web request -- component types. -- -- JSON specification: @\"All\": {}@ -- -- /See:/ 'newAll' smart constructor. data All = All' { } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'All' with all optional fields omitted. -- -- Use or to modify other optional fields. newAll :: All newAll = All' instance Data.FromJSON All where parseJSON = Data.withObject "All" (\x -> Prelude.pure All') instance Prelude.Hashable All where hashWithSalt _salt _ = _salt `Prelude.hashWithSalt` () instance Prelude.NFData All where rnf _ = () instance Data.ToJSON All where toJSON = Prelude.const (Data.Object Prelude.mempty)