{-# 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.SageMaker.Types.ProcessingFeatureStoreOutput -- 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.SageMaker.Types.ProcessingFeatureStoreOutput 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 -- | Configuration for processing job outputs in Amazon SageMaker Feature -- Store. -- -- /See:/ 'newProcessingFeatureStoreOutput' smart constructor. data ProcessingFeatureStoreOutput = ProcessingFeatureStoreOutput' { -- | The name of the Amazon SageMaker FeatureGroup to use as the destination -- for processing job output. Note that your processing script is -- responsible for putting records into your Feature Store. featureGroupName :: Prelude.Text } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'ProcessingFeatureStoreOutput' with all optional fields omitted. -- -- Use or to modify other optional fields. -- -- The following record fields are available, with the corresponding lenses provided -- for backwards compatibility: -- -- 'featureGroupName', 'processingFeatureStoreOutput_featureGroupName' - The name of the Amazon SageMaker FeatureGroup to use as the destination -- for processing job output. Note that your processing script is -- responsible for putting records into your Feature Store. newProcessingFeatureStoreOutput :: -- | 'featureGroupName' Prelude.Text -> ProcessingFeatureStoreOutput newProcessingFeatureStoreOutput pFeatureGroupName_ = ProcessingFeatureStoreOutput' { featureGroupName = pFeatureGroupName_ } -- | The name of the Amazon SageMaker FeatureGroup to use as the destination -- for processing job output. Note that your processing script is -- responsible for putting records into your Feature Store. processingFeatureStoreOutput_featureGroupName :: Lens.Lens' ProcessingFeatureStoreOutput Prelude.Text processingFeatureStoreOutput_featureGroupName = Lens.lens (\ProcessingFeatureStoreOutput' {featureGroupName} -> featureGroupName) (\s@ProcessingFeatureStoreOutput' {} a -> s {featureGroupName = a} :: ProcessingFeatureStoreOutput) instance Data.FromJSON ProcessingFeatureStoreOutput where parseJSON = Data.withObject "ProcessingFeatureStoreOutput" ( \x -> ProcessingFeatureStoreOutput' Prelude.<$> (x Data..: "FeatureGroupName") ) instance Prelude.Hashable ProcessingFeatureStoreOutput where hashWithSalt _salt ProcessingFeatureStoreOutput' {..} = _salt `Prelude.hashWithSalt` featureGroupName instance Prelude.NFData ProcessingFeatureStoreOutput where rnf ProcessingFeatureStoreOutput' {..} = Prelude.rnf featureGroupName instance Data.ToJSON ProcessingFeatureStoreOutput where toJSON ProcessingFeatureStoreOutput' {..} = Data.object ( Prelude.catMaybes [ Prelude.Just ("FeatureGroupName" Data..= featureGroupName) ] )