{-# 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.InstanceAssociationOutputUrl -- 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.InstanceAssociationOutputUrl 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.SSM.Types.S3OutputUrl -- | The URL of S3 bucket where you want to store the results of this -- request. -- -- /See:/ 'newInstanceAssociationOutputUrl' smart constructor. data InstanceAssociationOutputUrl = InstanceAssociationOutputUrl' { -- | The URL of S3 bucket where you want to store the results of this -- request. s3OutputUrl :: Prelude.Maybe S3OutputUrl } deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic) -- | -- Create a value of 'InstanceAssociationOutputUrl' 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: -- -- 's3OutputUrl', 'instanceAssociationOutputUrl_s3OutputUrl' - The URL of S3 bucket where you want to store the results of this -- request. newInstanceAssociationOutputUrl :: InstanceAssociationOutputUrl newInstanceAssociationOutputUrl = InstanceAssociationOutputUrl' { s3OutputUrl = Prelude.Nothing } -- | The URL of S3 bucket where you want to store the results of this -- request. instanceAssociationOutputUrl_s3OutputUrl :: Lens.Lens' InstanceAssociationOutputUrl (Prelude.Maybe S3OutputUrl) instanceAssociationOutputUrl_s3OutputUrl = Lens.lens (\InstanceAssociationOutputUrl' {s3OutputUrl} -> s3OutputUrl) (\s@InstanceAssociationOutputUrl' {} a -> s {s3OutputUrl = a} :: InstanceAssociationOutputUrl) instance Data.FromJSON InstanceAssociationOutputUrl where parseJSON = Data.withObject "InstanceAssociationOutputUrl" ( \x -> InstanceAssociationOutputUrl' Prelude.<$> (x Data..:? "S3OutputUrl") ) instance Prelude.Hashable InstanceAssociationOutputUrl where hashWithSalt _salt InstanceAssociationOutputUrl' {..} = _salt `Prelude.hashWithSalt` s3OutputUrl instance Prelude.NFData InstanceAssociationOutputUrl where rnf InstanceAssociationOutputUrl' {..} = Prelude.rnf s3OutputUrl