{-# 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.Redshift.DescribeSnapshotSchedules
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns a list of snapshot schedules.
--
-- This operation returns paginated results.
module Amazonka.Redshift.DescribeSnapshotSchedules
  ( -- * Creating a Request
    DescribeSnapshotSchedules (..),
    newDescribeSnapshotSchedules,

    -- * Request Lenses
    describeSnapshotSchedules_tagValues,
    describeSnapshotSchedules_tagKeys,
    describeSnapshotSchedules_clusterIdentifier,
    describeSnapshotSchedules_marker,
    describeSnapshotSchedules_maxRecords,
    describeSnapshotSchedules_scheduleIdentifier,

    -- * Destructuring the Response
    DescribeSnapshotSchedulesResponse (..),
    newDescribeSnapshotSchedulesResponse,

    -- * Response Lenses
    describeSnapshotSchedulesResponse_snapshotSchedules,
    describeSnapshotSchedulesResponse_marker,
    describeSnapshotSchedulesResponse_httpStatus,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Redshift.Types
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newDescribeSnapshotSchedules' smart constructor.
data DescribeSnapshotSchedules = DescribeSnapshotSchedules'
  { -- | The value corresponding to the key of the snapshot schedule tag.
    DescribeSnapshotSchedules -> Maybe [Text]
tagValues :: Prelude.Maybe [Prelude.Text],
    -- | The key value for a snapshot schedule tag.
    DescribeSnapshotSchedules -> Maybe [Text]
tagKeys :: Prelude.Maybe [Prelude.Text],
    -- | The unique identifier for the cluster whose snapshot schedules you want
    -- to view.
    DescribeSnapshotSchedules -> Maybe Text
clusterIdentifier :: Prelude.Maybe Prelude.Text,
    -- | A value that indicates the starting point for the next set of response
    -- records in a subsequent request. If a value is returned in a response,
    -- you can retrieve the next set of records by providing this returned
    -- marker value in the @marker@ parameter and retrying the command. If the
    -- @marker@ field is empty, all response records have been retrieved for
    -- the request.
    DescribeSnapshotSchedules -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
    -- | The maximum number or response records to return in each call. If the
    -- number of remaining response records exceeds the specified @MaxRecords@
    -- value, a value is returned in a @marker@ field of the response. You can
    -- retrieve the next set of records by retrying the command with the
    -- returned @marker@ value.
    DescribeSnapshotSchedules -> Maybe Int
maxRecords :: Prelude.Maybe Prelude.Int,
    -- | A unique identifier for a snapshot schedule.
    DescribeSnapshotSchedules -> Maybe Text
scheduleIdentifier :: Prelude.Maybe Prelude.Text
  }
  deriving (DescribeSnapshotSchedules -> DescribeSnapshotSchedules -> Bool
(DescribeSnapshotSchedules -> DescribeSnapshotSchedules -> Bool)
-> (DescribeSnapshotSchedules -> DescribeSnapshotSchedules -> Bool)
-> Eq DescribeSnapshotSchedules
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSnapshotSchedules -> DescribeSnapshotSchedules -> Bool
$c/= :: DescribeSnapshotSchedules -> DescribeSnapshotSchedules -> Bool
== :: DescribeSnapshotSchedules -> DescribeSnapshotSchedules -> Bool
$c== :: DescribeSnapshotSchedules -> DescribeSnapshotSchedules -> Bool
Prelude.Eq, ReadPrec [DescribeSnapshotSchedules]
ReadPrec DescribeSnapshotSchedules
Int -> ReadS DescribeSnapshotSchedules
ReadS [DescribeSnapshotSchedules]
(Int -> ReadS DescribeSnapshotSchedules)
-> ReadS [DescribeSnapshotSchedules]
-> ReadPrec DescribeSnapshotSchedules
-> ReadPrec [DescribeSnapshotSchedules]
-> Read DescribeSnapshotSchedules
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSnapshotSchedules]
$creadListPrec :: ReadPrec [DescribeSnapshotSchedules]
readPrec :: ReadPrec DescribeSnapshotSchedules
$creadPrec :: ReadPrec DescribeSnapshotSchedules
readList :: ReadS [DescribeSnapshotSchedules]
$creadList :: ReadS [DescribeSnapshotSchedules]
readsPrec :: Int -> ReadS DescribeSnapshotSchedules
$creadsPrec :: Int -> ReadS DescribeSnapshotSchedules
Prelude.Read, Int -> DescribeSnapshotSchedules -> ShowS
[DescribeSnapshotSchedules] -> ShowS
DescribeSnapshotSchedules -> String
(Int -> DescribeSnapshotSchedules -> ShowS)
-> (DescribeSnapshotSchedules -> String)
-> ([DescribeSnapshotSchedules] -> ShowS)
-> Show DescribeSnapshotSchedules
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSnapshotSchedules] -> ShowS
$cshowList :: [DescribeSnapshotSchedules] -> ShowS
show :: DescribeSnapshotSchedules -> String
$cshow :: DescribeSnapshotSchedules -> String
showsPrec :: Int -> DescribeSnapshotSchedules -> ShowS
$cshowsPrec :: Int -> DescribeSnapshotSchedules -> ShowS
Prelude.Show, (forall x.
 DescribeSnapshotSchedules -> Rep DescribeSnapshotSchedules x)
-> (forall x.
    Rep DescribeSnapshotSchedules x -> DescribeSnapshotSchedules)
-> Generic DescribeSnapshotSchedules
forall x.
Rep DescribeSnapshotSchedules x -> DescribeSnapshotSchedules
forall x.
DescribeSnapshotSchedules -> Rep DescribeSnapshotSchedules x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeSnapshotSchedules x -> DescribeSnapshotSchedules
$cfrom :: forall x.
DescribeSnapshotSchedules -> Rep DescribeSnapshotSchedules x
Prelude.Generic)

-- |
-- Create a value of 'DescribeSnapshotSchedules' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'tagValues', 'describeSnapshotSchedules_tagValues' - The value corresponding to the key of the snapshot schedule tag.
--
-- 'tagKeys', 'describeSnapshotSchedules_tagKeys' - The key value for a snapshot schedule tag.
--
-- 'clusterIdentifier', 'describeSnapshotSchedules_clusterIdentifier' - The unique identifier for the cluster whose snapshot schedules you want
-- to view.
--
-- 'marker', 'describeSnapshotSchedules_marker' - A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the @marker@ parameter and retrying the command. If the
-- @marker@ field is empty, all response records have been retrieved for
-- the request.
--
-- 'maxRecords', 'describeSnapshotSchedules_maxRecords' - The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified @MaxRecords@
-- value, a value is returned in a @marker@ field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned @marker@ value.
--
-- 'scheduleIdentifier', 'describeSnapshotSchedules_scheduleIdentifier' - A unique identifier for a snapshot schedule.
newDescribeSnapshotSchedules ::
  DescribeSnapshotSchedules
newDescribeSnapshotSchedules :: DescribeSnapshotSchedules
newDescribeSnapshotSchedules =
  DescribeSnapshotSchedules' :: Maybe [Text]
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> DescribeSnapshotSchedules
DescribeSnapshotSchedules'
    { $sel:tagValues:DescribeSnapshotSchedules' :: Maybe [Text]
tagValues =
        Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:tagKeys:DescribeSnapshotSchedules' :: Maybe [Text]
tagKeys = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
      $sel:clusterIdentifier:DescribeSnapshotSchedules' :: Maybe Text
clusterIdentifier = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:marker:DescribeSnapshotSchedules' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:maxRecords:DescribeSnapshotSchedules' :: Maybe Int
maxRecords = Maybe Int
forall a. Maybe a
Prelude.Nothing,
      $sel:scheduleIdentifier:DescribeSnapshotSchedules' :: Maybe Text
scheduleIdentifier = Maybe Text
forall a. Maybe a
Prelude.Nothing
    }

-- | The value corresponding to the key of the snapshot schedule tag.
describeSnapshotSchedules_tagValues :: Lens.Lens' DescribeSnapshotSchedules (Prelude.Maybe [Prelude.Text])
describeSnapshotSchedules_tagValues :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules
describeSnapshotSchedules_tagValues = (DescribeSnapshotSchedules -> Maybe [Text])
-> (DescribeSnapshotSchedules
    -> Maybe [Text] -> DescribeSnapshotSchedules)
-> Lens
     DescribeSnapshotSchedules
     DescribeSnapshotSchedules
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedules' {Maybe [Text]
tagValues :: Maybe [Text]
$sel:tagValues:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe [Text]
tagValues} -> Maybe [Text]
tagValues) (\s :: DescribeSnapshotSchedules
s@DescribeSnapshotSchedules' {} Maybe [Text]
a -> DescribeSnapshotSchedules
s {$sel:tagValues:DescribeSnapshotSchedules' :: Maybe [Text]
tagValues = Maybe [Text]
a} :: DescribeSnapshotSchedules) ((Maybe [Text] -> f (Maybe [Text]))
 -> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeSnapshotSchedules
-> f DescribeSnapshotSchedules
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The key value for a snapshot schedule tag.
describeSnapshotSchedules_tagKeys :: Lens.Lens' DescribeSnapshotSchedules (Prelude.Maybe [Prelude.Text])
describeSnapshotSchedules_tagKeys :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules
describeSnapshotSchedules_tagKeys = (DescribeSnapshotSchedules -> Maybe [Text])
-> (DescribeSnapshotSchedules
    -> Maybe [Text] -> DescribeSnapshotSchedules)
-> Lens
     DescribeSnapshotSchedules
     DescribeSnapshotSchedules
     (Maybe [Text])
     (Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedules' {Maybe [Text]
tagKeys :: Maybe [Text]
$sel:tagKeys:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe [Text]
tagKeys} -> Maybe [Text]
tagKeys) (\s :: DescribeSnapshotSchedules
s@DescribeSnapshotSchedules' {} Maybe [Text]
a -> DescribeSnapshotSchedules
s {$sel:tagKeys:DescribeSnapshotSchedules' :: Maybe [Text]
tagKeys = Maybe [Text]
a} :: DescribeSnapshotSchedules) ((Maybe [Text] -> f (Maybe [Text]))
 -> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules)
-> ((Maybe [Text] -> f (Maybe [Text]))
    -> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeSnapshotSchedules
-> f DescribeSnapshotSchedules
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The unique identifier for the cluster whose snapshot schedules you want
-- to view.
describeSnapshotSchedules_clusterIdentifier :: Lens.Lens' DescribeSnapshotSchedules (Prelude.Maybe Prelude.Text)
describeSnapshotSchedules_clusterIdentifier :: (Maybe Text -> f (Maybe Text))
-> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules
describeSnapshotSchedules_clusterIdentifier = (DescribeSnapshotSchedules -> Maybe Text)
-> (DescribeSnapshotSchedules
    -> Maybe Text -> DescribeSnapshotSchedules)
-> Lens
     DescribeSnapshotSchedules
     DescribeSnapshotSchedules
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedules' {Maybe Text
clusterIdentifier :: Maybe Text
$sel:clusterIdentifier:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Text
clusterIdentifier} -> Maybe Text
clusterIdentifier) (\s :: DescribeSnapshotSchedules
s@DescribeSnapshotSchedules' {} Maybe Text
a -> DescribeSnapshotSchedules
s {$sel:clusterIdentifier:DescribeSnapshotSchedules' :: Maybe Text
clusterIdentifier = Maybe Text
a} :: DescribeSnapshotSchedules)

-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the @marker@ parameter and retrying the command. If the
-- @marker@ field is empty, all response records have been retrieved for
-- the request.
describeSnapshotSchedules_marker :: Lens.Lens' DescribeSnapshotSchedules (Prelude.Maybe Prelude.Text)
describeSnapshotSchedules_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules
describeSnapshotSchedules_marker = (DescribeSnapshotSchedules -> Maybe Text)
-> (DescribeSnapshotSchedules
    -> Maybe Text -> DescribeSnapshotSchedules)
-> Lens
     DescribeSnapshotSchedules
     DescribeSnapshotSchedules
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedules' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeSnapshotSchedules
s@DescribeSnapshotSchedules' {} Maybe Text
a -> DescribeSnapshotSchedules
s {$sel:marker:DescribeSnapshotSchedules' :: Maybe Text
marker = Maybe Text
a} :: DescribeSnapshotSchedules)

-- | The maximum number or response records to return in each call. If the
-- number of remaining response records exceeds the specified @MaxRecords@
-- value, a value is returned in a @marker@ field of the response. You can
-- retrieve the next set of records by retrying the command with the
-- returned @marker@ value.
describeSnapshotSchedules_maxRecords :: Lens.Lens' DescribeSnapshotSchedules (Prelude.Maybe Prelude.Int)
describeSnapshotSchedules_maxRecords :: (Maybe Int -> f (Maybe Int))
-> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules
describeSnapshotSchedules_maxRecords = (DescribeSnapshotSchedules -> Maybe Int)
-> (DescribeSnapshotSchedules
    -> Maybe Int -> DescribeSnapshotSchedules)
-> Lens
     DescribeSnapshotSchedules
     DescribeSnapshotSchedules
     (Maybe Int)
     (Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedules' {Maybe Int
maxRecords :: Maybe Int
$sel:maxRecords:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Int
maxRecords} -> Maybe Int
maxRecords) (\s :: DescribeSnapshotSchedules
s@DescribeSnapshotSchedules' {} Maybe Int
a -> DescribeSnapshotSchedules
s {$sel:maxRecords:DescribeSnapshotSchedules' :: Maybe Int
maxRecords = Maybe Int
a} :: DescribeSnapshotSchedules)

-- | A unique identifier for a snapshot schedule.
describeSnapshotSchedules_scheduleIdentifier :: Lens.Lens' DescribeSnapshotSchedules (Prelude.Maybe Prelude.Text)
describeSnapshotSchedules_scheduleIdentifier :: (Maybe Text -> f (Maybe Text))
-> DescribeSnapshotSchedules -> f DescribeSnapshotSchedules
describeSnapshotSchedules_scheduleIdentifier = (DescribeSnapshotSchedules -> Maybe Text)
-> (DescribeSnapshotSchedules
    -> Maybe Text -> DescribeSnapshotSchedules)
-> Lens
     DescribeSnapshotSchedules
     DescribeSnapshotSchedules
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedules' {Maybe Text
scheduleIdentifier :: Maybe Text
$sel:scheduleIdentifier:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Text
scheduleIdentifier} -> Maybe Text
scheduleIdentifier) (\s :: DescribeSnapshotSchedules
s@DescribeSnapshotSchedules' {} Maybe Text
a -> DescribeSnapshotSchedules
s {$sel:scheduleIdentifier:DescribeSnapshotSchedules' :: Maybe Text
scheduleIdentifier = Maybe Text
a} :: DescribeSnapshotSchedules)

instance Core.AWSPager DescribeSnapshotSchedules where
  page :: DescribeSnapshotSchedules
-> AWSResponse DescribeSnapshotSchedules
-> Maybe DescribeSnapshotSchedules
page DescribeSnapshotSchedules
rq AWSResponse DescribeSnapshotSchedules
rs
    | Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse DescribeSnapshotSchedules
DescribeSnapshotSchedulesResponse
rs
            DescribeSnapshotSchedulesResponse
-> Getting (First Text) DescribeSnapshotSchedulesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeSnapshotSchedulesResponse
-> Const (First Text) DescribeSnapshotSchedulesResponse
Lens' DescribeSnapshotSchedulesResponse (Maybe Text)
describeSnapshotSchedulesResponse_marker
              ((Maybe Text -> Const (First Text) (Maybe Text))
 -> DescribeSnapshotSchedulesResponse
 -> Const (First Text) DescribeSnapshotSchedulesResponse)
-> ((Text -> Const (First Text) Text)
    -> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) DescribeSnapshotSchedulesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
        ) =
      Maybe DescribeSnapshotSchedules
forall a. Maybe a
Prelude.Nothing
    | Maybe [SnapshotSchedule] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
        ( AWSResponse DescribeSnapshotSchedules
DescribeSnapshotSchedulesResponse
rs
            DescribeSnapshotSchedulesResponse
-> Getting
     (First [SnapshotSchedule])
     DescribeSnapshotSchedulesResponse
     [SnapshotSchedule]
-> Maybe [SnapshotSchedule]
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe [SnapshotSchedule]
 -> Const (First [SnapshotSchedule]) (Maybe [SnapshotSchedule]))
-> DescribeSnapshotSchedulesResponse
-> Const
     (First [SnapshotSchedule]) DescribeSnapshotSchedulesResponse
Lens' DescribeSnapshotSchedulesResponse (Maybe [SnapshotSchedule])
describeSnapshotSchedulesResponse_snapshotSchedules
              ((Maybe [SnapshotSchedule]
  -> Const (First [SnapshotSchedule]) (Maybe [SnapshotSchedule]))
 -> DescribeSnapshotSchedulesResponse
 -> Const
      (First [SnapshotSchedule]) DescribeSnapshotSchedulesResponse)
-> (([SnapshotSchedule]
     -> Const (First [SnapshotSchedule]) [SnapshotSchedule])
    -> Maybe [SnapshotSchedule]
    -> Const (First [SnapshotSchedule]) (Maybe [SnapshotSchedule]))
-> Getting
     (First [SnapshotSchedule])
     DescribeSnapshotSchedulesResponse
     [SnapshotSchedule]
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([SnapshotSchedule]
 -> Const (First [SnapshotSchedule]) [SnapshotSchedule])
-> Maybe [SnapshotSchedule]
-> Const (First [SnapshotSchedule]) (Maybe [SnapshotSchedule])
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
        ) =
      Maybe DescribeSnapshotSchedules
forall a. Maybe a
Prelude.Nothing
    | Bool
Prelude.otherwise =
      DescribeSnapshotSchedules -> Maybe DescribeSnapshotSchedules
forall a. a -> Maybe a
Prelude.Just (DescribeSnapshotSchedules -> Maybe DescribeSnapshotSchedules)
-> DescribeSnapshotSchedules -> Maybe DescribeSnapshotSchedules
forall a b. (a -> b) -> a -> b
Prelude.$
        DescribeSnapshotSchedules
rq
          DescribeSnapshotSchedules
-> (DescribeSnapshotSchedules -> DescribeSnapshotSchedules)
-> DescribeSnapshotSchedules
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> DescribeSnapshotSchedules -> Identity DescribeSnapshotSchedules
Lens
  DescribeSnapshotSchedules
  DescribeSnapshotSchedules
  (Maybe Text)
  (Maybe Text)
describeSnapshotSchedules_marker
          ((Maybe Text -> Identity (Maybe Text))
 -> DescribeSnapshotSchedules -> Identity DescribeSnapshotSchedules)
-> Maybe Text
-> DescribeSnapshotSchedules
-> DescribeSnapshotSchedules
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse DescribeSnapshotSchedules
DescribeSnapshotSchedulesResponse
rs
          DescribeSnapshotSchedulesResponse
-> Getting (First Text) DescribeSnapshotSchedulesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> DescribeSnapshotSchedulesResponse
-> Const (First Text) DescribeSnapshotSchedulesResponse
Lens' DescribeSnapshotSchedulesResponse (Maybe Text)
describeSnapshotSchedulesResponse_marker
            ((Maybe Text -> Const (First Text) (Maybe Text))
 -> DescribeSnapshotSchedulesResponse
 -> Const (First Text) DescribeSnapshotSchedulesResponse)
-> ((Text -> Const (First Text) Text)
    -> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting (First Text) DescribeSnapshotSchedulesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just

instance Core.AWSRequest DescribeSnapshotSchedules where
  type
    AWSResponse DescribeSnapshotSchedules =
      DescribeSnapshotSchedulesResponse
  request :: DescribeSnapshotSchedules -> Request DescribeSnapshotSchedules
request = Service
-> DescribeSnapshotSchedules -> Request DescribeSnapshotSchedules
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeSnapshotSchedules
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeSnapshotSchedules)))
response =
    Text
-> (Int
    -> ResponseHeaders
    -> [Node]
    -> Either String (AWSResponse DescribeSnapshotSchedules))
-> Logger
-> Service
-> Proxy DescribeSnapshotSchedules
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeSnapshotSchedules)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
    -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
      Text
"DescribeSnapshotSchedulesResult"
      ( \Int
s ResponseHeaders
h [Node]
x ->
          Maybe [SnapshotSchedule]
-> Maybe Text -> Int -> DescribeSnapshotSchedulesResponse
DescribeSnapshotSchedulesResponse'
            (Maybe [SnapshotSchedule]
 -> Maybe Text -> Int -> DescribeSnapshotSchedulesResponse)
-> Either String (Maybe [SnapshotSchedule])
-> Either
     String (Maybe Text -> Int -> DescribeSnapshotSchedulesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"SnapshotSchedules"
                            Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
                            Either String [Node]
-> ([Node] -> Either String (Maybe [SnapshotSchedule]))
-> Either String (Maybe [SnapshotSchedule])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [SnapshotSchedule])
-> [Node] -> Either String (Maybe [SnapshotSchedule])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text -> [Node] -> Either String [SnapshotSchedule]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"SnapshotSchedule")
                        )
            Either
  String (Maybe Text -> Int -> DescribeSnapshotSchedulesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DescribeSnapshotSchedulesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Marker")
            Either String (Int -> DescribeSnapshotSchedulesResponse)
-> Either String Int
-> Either String DescribeSnapshotSchedulesResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable DescribeSnapshotSchedules

instance Prelude.NFData DescribeSnapshotSchedules

instance Core.ToHeaders DescribeSnapshotSchedules where
  toHeaders :: DescribeSnapshotSchedules -> ResponseHeaders
toHeaders = ResponseHeaders -> DescribeSnapshotSchedules -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty

instance Core.ToPath DescribeSnapshotSchedules where
  toPath :: DescribeSnapshotSchedules -> ByteString
toPath = ByteString -> DescribeSnapshotSchedules -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Core.ToQuery DescribeSnapshotSchedules where
  toQuery :: DescribeSnapshotSchedules -> QueryString
toQuery DescribeSnapshotSchedules' {Maybe Int
Maybe [Text]
Maybe Text
scheduleIdentifier :: Maybe Text
maxRecords :: Maybe Int
marker :: Maybe Text
clusterIdentifier :: Maybe Text
tagKeys :: Maybe [Text]
tagValues :: Maybe [Text]
$sel:scheduleIdentifier:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Text
$sel:maxRecords:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Int
$sel:marker:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Text
$sel:clusterIdentifier:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe Text
$sel:tagKeys:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe [Text]
$sel:tagValues:DescribeSnapshotSchedules' :: DescribeSnapshotSchedules -> Maybe [Text]
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"DescribeSnapshotSchedules" :: Prelude.ByteString),
        ByteString
"Version"
          ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2012-12-01" :: Prelude.ByteString),
        ByteString
"TagValues"
          ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
            (ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"TagValue" ([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
tagValues),
        ByteString
"TagKeys"
          ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
            (ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"TagKey" ([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
tagKeys),
        ByteString
"ClusterIdentifier" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
clusterIdentifier,
        ByteString
"Marker" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
marker,
        ByteString
"MaxRecords" ByteString -> Maybe Int -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Int
maxRecords,
        ByteString
"ScheduleIdentifier" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
scheduleIdentifier
      ]

-- | /See:/ 'newDescribeSnapshotSchedulesResponse' smart constructor.
data DescribeSnapshotSchedulesResponse = DescribeSnapshotSchedulesResponse'
  { -- | A list of SnapshotSchedules.
    DescribeSnapshotSchedulesResponse -> Maybe [SnapshotSchedule]
snapshotSchedules :: Prelude.Maybe [SnapshotSchedule],
    -- | A value that indicates the starting point for the next set of response
    -- records in a subsequent request. If a value is returned in a response,
    -- you can retrieve the next set of records by providing this returned
    -- marker value in the @marker@ parameter and retrying the command. If the
    -- @marker@ field is empty, all response records have been retrieved for
    -- the request.
    DescribeSnapshotSchedulesResponse -> Maybe Text
marker :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    DescribeSnapshotSchedulesResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeSnapshotSchedulesResponse
-> DescribeSnapshotSchedulesResponse -> Bool
(DescribeSnapshotSchedulesResponse
 -> DescribeSnapshotSchedulesResponse -> Bool)
-> (DescribeSnapshotSchedulesResponse
    -> DescribeSnapshotSchedulesResponse -> Bool)
-> Eq DescribeSnapshotSchedulesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSnapshotSchedulesResponse
-> DescribeSnapshotSchedulesResponse -> Bool
$c/= :: DescribeSnapshotSchedulesResponse
-> DescribeSnapshotSchedulesResponse -> Bool
== :: DescribeSnapshotSchedulesResponse
-> DescribeSnapshotSchedulesResponse -> Bool
$c== :: DescribeSnapshotSchedulesResponse
-> DescribeSnapshotSchedulesResponse -> Bool
Prelude.Eq, ReadPrec [DescribeSnapshotSchedulesResponse]
ReadPrec DescribeSnapshotSchedulesResponse
Int -> ReadS DescribeSnapshotSchedulesResponse
ReadS [DescribeSnapshotSchedulesResponse]
(Int -> ReadS DescribeSnapshotSchedulesResponse)
-> ReadS [DescribeSnapshotSchedulesResponse]
-> ReadPrec DescribeSnapshotSchedulesResponse
-> ReadPrec [DescribeSnapshotSchedulesResponse]
-> Read DescribeSnapshotSchedulesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSnapshotSchedulesResponse]
$creadListPrec :: ReadPrec [DescribeSnapshotSchedulesResponse]
readPrec :: ReadPrec DescribeSnapshotSchedulesResponse
$creadPrec :: ReadPrec DescribeSnapshotSchedulesResponse
readList :: ReadS [DescribeSnapshotSchedulesResponse]
$creadList :: ReadS [DescribeSnapshotSchedulesResponse]
readsPrec :: Int -> ReadS DescribeSnapshotSchedulesResponse
$creadsPrec :: Int -> ReadS DescribeSnapshotSchedulesResponse
Prelude.Read, Int -> DescribeSnapshotSchedulesResponse -> ShowS
[DescribeSnapshotSchedulesResponse] -> ShowS
DescribeSnapshotSchedulesResponse -> String
(Int -> DescribeSnapshotSchedulesResponse -> ShowS)
-> (DescribeSnapshotSchedulesResponse -> String)
-> ([DescribeSnapshotSchedulesResponse] -> ShowS)
-> Show DescribeSnapshotSchedulesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSnapshotSchedulesResponse] -> ShowS
$cshowList :: [DescribeSnapshotSchedulesResponse] -> ShowS
show :: DescribeSnapshotSchedulesResponse -> String
$cshow :: DescribeSnapshotSchedulesResponse -> String
showsPrec :: Int -> DescribeSnapshotSchedulesResponse -> ShowS
$cshowsPrec :: Int -> DescribeSnapshotSchedulesResponse -> ShowS
Prelude.Show, (forall x.
 DescribeSnapshotSchedulesResponse
 -> Rep DescribeSnapshotSchedulesResponse x)
-> (forall x.
    Rep DescribeSnapshotSchedulesResponse x
    -> DescribeSnapshotSchedulesResponse)
-> Generic DescribeSnapshotSchedulesResponse
forall x.
Rep DescribeSnapshotSchedulesResponse x
-> DescribeSnapshotSchedulesResponse
forall x.
DescribeSnapshotSchedulesResponse
-> Rep DescribeSnapshotSchedulesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeSnapshotSchedulesResponse x
-> DescribeSnapshotSchedulesResponse
$cfrom :: forall x.
DescribeSnapshotSchedulesResponse
-> Rep DescribeSnapshotSchedulesResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeSnapshotSchedulesResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'snapshotSchedules', 'describeSnapshotSchedulesResponse_snapshotSchedules' - A list of SnapshotSchedules.
--
-- 'marker', 'describeSnapshotSchedulesResponse_marker' - A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the @marker@ parameter and retrying the command. If the
-- @marker@ field is empty, all response records have been retrieved for
-- the request.
--
-- 'httpStatus', 'describeSnapshotSchedulesResponse_httpStatus' - The response's http status code.
newDescribeSnapshotSchedulesResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeSnapshotSchedulesResponse
newDescribeSnapshotSchedulesResponse :: Int -> DescribeSnapshotSchedulesResponse
newDescribeSnapshotSchedulesResponse Int
pHttpStatus_ =
  DescribeSnapshotSchedulesResponse' :: Maybe [SnapshotSchedule]
-> Maybe Text -> Int -> DescribeSnapshotSchedulesResponse
DescribeSnapshotSchedulesResponse'
    { $sel:snapshotSchedules:DescribeSnapshotSchedulesResponse' :: Maybe [SnapshotSchedule]
snapshotSchedules =
        Maybe [SnapshotSchedule]
forall a. Maybe a
Prelude.Nothing,
      $sel:marker:DescribeSnapshotSchedulesResponse' :: Maybe Text
marker = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeSnapshotSchedulesResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | A list of SnapshotSchedules.
describeSnapshotSchedulesResponse_snapshotSchedules :: Lens.Lens' DescribeSnapshotSchedulesResponse (Prelude.Maybe [SnapshotSchedule])
describeSnapshotSchedulesResponse_snapshotSchedules :: (Maybe [SnapshotSchedule] -> f (Maybe [SnapshotSchedule]))
-> DescribeSnapshotSchedulesResponse
-> f DescribeSnapshotSchedulesResponse
describeSnapshotSchedulesResponse_snapshotSchedules = (DescribeSnapshotSchedulesResponse -> Maybe [SnapshotSchedule])
-> (DescribeSnapshotSchedulesResponse
    -> Maybe [SnapshotSchedule] -> DescribeSnapshotSchedulesResponse)
-> Lens'
     DescribeSnapshotSchedulesResponse (Maybe [SnapshotSchedule])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedulesResponse' {Maybe [SnapshotSchedule]
snapshotSchedules :: Maybe [SnapshotSchedule]
$sel:snapshotSchedules:DescribeSnapshotSchedulesResponse' :: DescribeSnapshotSchedulesResponse -> Maybe [SnapshotSchedule]
snapshotSchedules} -> Maybe [SnapshotSchedule]
snapshotSchedules) (\s :: DescribeSnapshotSchedulesResponse
s@DescribeSnapshotSchedulesResponse' {} Maybe [SnapshotSchedule]
a -> DescribeSnapshotSchedulesResponse
s {$sel:snapshotSchedules:DescribeSnapshotSchedulesResponse' :: Maybe [SnapshotSchedule]
snapshotSchedules = Maybe [SnapshotSchedule]
a} :: DescribeSnapshotSchedulesResponse) ((Maybe [SnapshotSchedule] -> f (Maybe [SnapshotSchedule]))
 -> DescribeSnapshotSchedulesResponse
 -> f DescribeSnapshotSchedulesResponse)
-> ((Maybe [SnapshotSchedule] -> f (Maybe [SnapshotSchedule]))
    -> Maybe [SnapshotSchedule] -> f (Maybe [SnapshotSchedule]))
-> (Maybe [SnapshotSchedule] -> f (Maybe [SnapshotSchedule]))
-> DescribeSnapshotSchedulesResponse
-> f DescribeSnapshotSchedulesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [SnapshotSchedule]
  [SnapshotSchedule]
  [SnapshotSchedule]
  [SnapshotSchedule]
-> Iso
     (Maybe [SnapshotSchedule])
     (Maybe [SnapshotSchedule])
     (Maybe [SnapshotSchedule])
     (Maybe [SnapshotSchedule])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
  [SnapshotSchedule]
  [SnapshotSchedule]
  [SnapshotSchedule]
  [SnapshotSchedule]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | A value that indicates the starting point for the next set of response
-- records in a subsequent request. If a value is returned in a response,
-- you can retrieve the next set of records by providing this returned
-- marker value in the @marker@ parameter and retrying the command. If the
-- @marker@ field is empty, all response records have been retrieved for
-- the request.
describeSnapshotSchedulesResponse_marker :: Lens.Lens' DescribeSnapshotSchedulesResponse (Prelude.Maybe Prelude.Text)
describeSnapshotSchedulesResponse_marker :: (Maybe Text -> f (Maybe Text))
-> DescribeSnapshotSchedulesResponse
-> f DescribeSnapshotSchedulesResponse
describeSnapshotSchedulesResponse_marker = (DescribeSnapshotSchedulesResponse -> Maybe Text)
-> (DescribeSnapshotSchedulesResponse
    -> Maybe Text -> DescribeSnapshotSchedulesResponse)
-> Lens' DescribeSnapshotSchedulesResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedulesResponse' {Maybe Text
marker :: Maybe Text
$sel:marker:DescribeSnapshotSchedulesResponse' :: DescribeSnapshotSchedulesResponse -> Maybe Text
marker} -> Maybe Text
marker) (\s :: DescribeSnapshotSchedulesResponse
s@DescribeSnapshotSchedulesResponse' {} Maybe Text
a -> DescribeSnapshotSchedulesResponse
s {$sel:marker:DescribeSnapshotSchedulesResponse' :: Maybe Text
marker = Maybe Text
a} :: DescribeSnapshotSchedulesResponse)

-- | The response's http status code.
describeSnapshotSchedulesResponse_httpStatus :: Lens.Lens' DescribeSnapshotSchedulesResponse Prelude.Int
describeSnapshotSchedulesResponse_httpStatus :: (Int -> f Int)
-> DescribeSnapshotSchedulesResponse
-> f DescribeSnapshotSchedulesResponse
describeSnapshotSchedulesResponse_httpStatus = (DescribeSnapshotSchedulesResponse -> Int)
-> (DescribeSnapshotSchedulesResponse
    -> Int -> DescribeSnapshotSchedulesResponse)
-> Lens
     DescribeSnapshotSchedulesResponse
     DescribeSnapshotSchedulesResponse
     Int
     Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSnapshotSchedulesResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeSnapshotSchedulesResponse' :: DescribeSnapshotSchedulesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeSnapshotSchedulesResponse
s@DescribeSnapshotSchedulesResponse' {} Int
a -> DescribeSnapshotSchedulesResponse
s {$sel:httpStatus:DescribeSnapshotSchedulesResponse' :: Int
httpStatus = Int
a} :: DescribeSnapshotSchedulesResponse)

instance
  Prelude.NFData
    DescribeSnapshotSchedulesResponse