{-# 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.SSM.Types.S3OutputUrl -- 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.SSM.Types.S3OutputUrl 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 -- | A URL for the Amazon Web Services Systems Manager (Systems Manager) -- bucket where you want to store the results of this request. -- -- /See:/ 'newS3OutputUrl' smart constructor. data S3OutputUrl = S3OutputUrl' { -- | A URL for an S3 bucket where you want to store the results of this -- request. outputUrl :: Prelude.Maybe Prelude.Text } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'S3OutputUrl' 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: -- -- 'outputUrl', 's3OutputUrl_outputUrl' - A URL for an S3 bucket where you want to store the results of this -- request. newS3OutputUrl :: S3OutputUrl newS3OutputUrl = S3OutputUrl' {outputUrl = Prelude.Nothing} -- | A URL for an S3 bucket where you want to store the results of this -- request. s3OutputUrl_outputUrl :: Lens.Lens' S3OutputUrl (Prelude.Maybe Prelude.Text) s3OutputUrl_outputUrl = Lens.lens (\S3OutputUrl' {outputUrl} -> outputUrl) (\s@S3OutputUrl' {} a -> s {outputUrl = a} :: S3OutputUrl) instance Data.FromJSON S3OutputUrl where parseJSON = Data.withObject "S3OutputUrl" ( \x -> S3OutputUrl' Prelude.<$> (x Data..:? "OutputUrl") ) instance Prelude.Hashable S3OutputUrl where hashWithSalt _salt S3OutputUrl' {..} = _salt `Prelude.hashWithSalt` outputUrl instance Prelude.NFData S3OutputUrl where rnf S3OutputUrl' {..} = Prelude.rnf outputUrl