{-# 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.StorageGateway.DescribeSMBFileShares
-- 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)
--
-- Gets a description for one or more Server Message Block (SMB) file
-- shares from a S3 File Gateway. This operation is only supported for S3
-- File Gateways.
module Amazonka.StorageGateway.DescribeSMBFileShares
  ( -- * Creating a Request
    DescribeSMBFileShares (..),
    newDescribeSMBFileShares,

    -- * Request Lenses
    describeSMBFileShares_fileShareARNList,

    -- * Destructuring the Response
    DescribeSMBFileSharesResponse (..),
    newDescribeSMBFileSharesResponse,

    -- * Response Lenses
    describeSMBFileSharesResponse_sMBFileShareInfoList,
    describeSMBFileSharesResponse_httpStatus,
  )
where

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

-- | DescribeSMBFileSharesInput
--
-- /See:/ 'newDescribeSMBFileShares' smart constructor.
data DescribeSMBFileShares = DescribeSMBFileShares'
  { -- | An array containing the Amazon Resource Name (ARN) of each file share to
    -- be described.
    DescribeSMBFileShares -> NonEmpty Text
fileShareARNList :: Prelude.NonEmpty Prelude.Text
  }
  deriving (DescribeSMBFileShares -> DescribeSMBFileShares -> Bool
(DescribeSMBFileShares -> DescribeSMBFileShares -> Bool)
-> (DescribeSMBFileShares -> DescribeSMBFileShares -> Bool)
-> Eq DescribeSMBFileShares
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSMBFileShares -> DescribeSMBFileShares -> Bool
$c/= :: DescribeSMBFileShares -> DescribeSMBFileShares -> Bool
== :: DescribeSMBFileShares -> DescribeSMBFileShares -> Bool
$c== :: DescribeSMBFileShares -> DescribeSMBFileShares -> Bool
Prelude.Eq, ReadPrec [DescribeSMBFileShares]
ReadPrec DescribeSMBFileShares
Int -> ReadS DescribeSMBFileShares
ReadS [DescribeSMBFileShares]
(Int -> ReadS DescribeSMBFileShares)
-> ReadS [DescribeSMBFileShares]
-> ReadPrec DescribeSMBFileShares
-> ReadPrec [DescribeSMBFileShares]
-> Read DescribeSMBFileShares
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSMBFileShares]
$creadListPrec :: ReadPrec [DescribeSMBFileShares]
readPrec :: ReadPrec DescribeSMBFileShares
$creadPrec :: ReadPrec DescribeSMBFileShares
readList :: ReadS [DescribeSMBFileShares]
$creadList :: ReadS [DescribeSMBFileShares]
readsPrec :: Int -> ReadS DescribeSMBFileShares
$creadsPrec :: Int -> ReadS DescribeSMBFileShares
Prelude.Read, Int -> DescribeSMBFileShares -> ShowS
[DescribeSMBFileShares] -> ShowS
DescribeSMBFileShares -> String
(Int -> DescribeSMBFileShares -> ShowS)
-> (DescribeSMBFileShares -> String)
-> ([DescribeSMBFileShares] -> ShowS)
-> Show DescribeSMBFileShares
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSMBFileShares] -> ShowS
$cshowList :: [DescribeSMBFileShares] -> ShowS
show :: DescribeSMBFileShares -> String
$cshow :: DescribeSMBFileShares -> String
showsPrec :: Int -> DescribeSMBFileShares -> ShowS
$cshowsPrec :: Int -> DescribeSMBFileShares -> ShowS
Prelude.Show, (forall x. DescribeSMBFileShares -> Rep DescribeSMBFileShares x)
-> (forall x. Rep DescribeSMBFileShares x -> DescribeSMBFileShares)
-> Generic DescribeSMBFileShares
forall x. Rep DescribeSMBFileShares x -> DescribeSMBFileShares
forall x. DescribeSMBFileShares -> Rep DescribeSMBFileShares x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeSMBFileShares x -> DescribeSMBFileShares
$cfrom :: forall x. DescribeSMBFileShares -> Rep DescribeSMBFileShares x
Prelude.Generic)

-- |
-- Create a value of 'DescribeSMBFileShares' 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:
--
-- 'fileShareARNList', 'describeSMBFileShares_fileShareARNList' - An array containing the Amazon Resource Name (ARN) of each file share to
-- be described.
newDescribeSMBFileShares ::
  -- | 'fileShareARNList'
  Prelude.NonEmpty Prelude.Text ->
  DescribeSMBFileShares
newDescribeSMBFileShares :: NonEmpty Text -> DescribeSMBFileShares
newDescribeSMBFileShares NonEmpty Text
pFileShareARNList_ =
  DescribeSMBFileShares' :: NonEmpty Text -> DescribeSMBFileShares
DescribeSMBFileShares'
    { $sel:fileShareARNList:DescribeSMBFileShares' :: NonEmpty Text
fileShareARNList =
        Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged (NonEmpty Text) (Identity (NonEmpty Text))
 -> Tagged (NonEmpty Text) (Identity (NonEmpty Text)))
-> NonEmpty Text -> NonEmpty Text
forall t b. AReview t b -> b -> t
Lens.# NonEmpty Text
pFileShareARNList_
    }

-- | An array containing the Amazon Resource Name (ARN) of each file share to
-- be described.
describeSMBFileShares_fileShareARNList :: Lens.Lens' DescribeSMBFileShares (Prelude.NonEmpty Prelude.Text)
describeSMBFileShares_fileShareARNList :: (NonEmpty Text -> f (NonEmpty Text))
-> DescribeSMBFileShares -> f DescribeSMBFileShares
describeSMBFileShares_fileShareARNList = (DescribeSMBFileShares -> NonEmpty Text)
-> (DescribeSMBFileShares
    -> NonEmpty Text -> DescribeSMBFileShares)
-> Lens
     DescribeSMBFileShares
     DescribeSMBFileShares
     (NonEmpty Text)
     (NonEmpty Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBFileShares' {NonEmpty Text
fileShareARNList :: NonEmpty Text
$sel:fileShareARNList:DescribeSMBFileShares' :: DescribeSMBFileShares -> NonEmpty Text
fileShareARNList} -> NonEmpty Text
fileShareARNList) (\s :: DescribeSMBFileShares
s@DescribeSMBFileShares' {} NonEmpty Text
a -> DescribeSMBFileShares
s {$sel:fileShareARNList:DescribeSMBFileShares' :: NonEmpty Text
fileShareARNList = NonEmpty Text
a} :: DescribeSMBFileShares) ((NonEmpty Text -> f (NonEmpty Text))
 -> DescribeSMBFileShares -> f DescribeSMBFileShares)
-> ((NonEmpty Text -> f (NonEmpty Text))
    -> NonEmpty Text -> f (NonEmpty Text))
-> (NonEmpty Text -> f (NonEmpty Text))
-> DescribeSMBFileShares
-> f DescribeSMBFileShares
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Core.AWSRequest DescribeSMBFileShares where
  type
    AWSResponse DescribeSMBFileShares =
      DescribeSMBFileSharesResponse
  request :: DescribeSMBFileShares -> Request DescribeSMBFileShares
request = Service -> DescribeSMBFileShares -> Request DescribeSMBFileShares
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeSMBFileShares
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeSMBFileShares)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeSMBFileShares))
-> Logger
-> Service
-> Proxy DescribeSMBFileShares
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeSMBFileShares)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe [SMBFileShareInfo] -> Int -> DescribeSMBFileSharesResponse
DescribeSMBFileSharesResponse'
            (Maybe [SMBFileShareInfo] -> Int -> DescribeSMBFileSharesResponse)
-> Either String (Maybe [SMBFileShareInfo])
-> Either String (Int -> DescribeSMBFileSharesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Either String (Maybe (Maybe [SMBFileShareInfo]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"SMBFileShareInfoList"
                            Either String (Maybe (Maybe [SMBFileShareInfo]))
-> Maybe [SMBFileShareInfo]
-> Either String (Maybe [SMBFileShareInfo])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [SMBFileShareInfo]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either String (Int -> DescribeSMBFileSharesResponse)
-> Either String Int -> Either String DescribeSMBFileSharesResponse
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 DescribeSMBFileShares

instance Prelude.NFData DescribeSMBFileShares

instance Core.ToHeaders DescribeSMBFileShares where
  toHeaders :: DescribeSMBFileShares -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeSMBFileShares -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"StorageGateway_20130630.DescribeSMBFileShares" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToJSON DescribeSMBFileShares where
  toJSON :: DescribeSMBFileShares -> Value
toJSON DescribeSMBFileShares' {NonEmpty Text
fileShareARNList :: NonEmpty Text
$sel:fileShareARNList:DescribeSMBFileShares' :: DescribeSMBFileShares -> NonEmpty Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              (Text
"FileShareARNList" Text -> NonEmpty Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty Text
fileShareARNList)
          ]
      )

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

instance Core.ToQuery DescribeSMBFileShares where
  toQuery :: DescribeSMBFileShares -> QueryString
toQuery = QueryString -> DescribeSMBFileShares -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | DescribeSMBFileSharesOutput
--
-- /See:/ 'newDescribeSMBFileSharesResponse' smart constructor.
data DescribeSMBFileSharesResponse = DescribeSMBFileSharesResponse'
  { -- | An array containing a description for each requested file share.
    DescribeSMBFileSharesResponse -> Maybe [SMBFileShareInfo]
sMBFileShareInfoList :: Prelude.Maybe [SMBFileShareInfo],
    -- | The response's http status code.
    DescribeSMBFileSharesResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeSMBFileSharesResponse
-> DescribeSMBFileSharesResponse -> Bool
(DescribeSMBFileSharesResponse
 -> DescribeSMBFileSharesResponse -> Bool)
-> (DescribeSMBFileSharesResponse
    -> DescribeSMBFileSharesResponse -> Bool)
-> Eq DescribeSMBFileSharesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeSMBFileSharesResponse
-> DescribeSMBFileSharesResponse -> Bool
$c/= :: DescribeSMBFileSharesResponse
-> DescribeSMBFileSharesResponse -> Bool
== :: DescribeSMBFileSharesResponse
-> DescribeSMBFileSharesResponse -> Bool
$c== :: DescribeSMBFileSharesResponse
-> DescribeSMBFileSharesResponse -> Bool
Prelude.Eq, ReadPrec [DescribeSMBFileSharesResponse]
ReadPrec DescribeSMBFileSharesResponse
Int -> ReadS DescribeSMBFileSharesResponse
ReadS [DescribeSMBFileSharesResponse]
(Int -> ReadS DescribeSMBFileSharesResponse)
-> ReadS [DescribeSMBFileSharesResponse]
-> ReadPrec DescribeSMBFileSharesResponse
-> ReadPrec [DescribeSMBFileSharesResponse]
-> Read DescribeSMBFileSharesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeSMBFileSharesResponse]
$creadListPrec :: ReadPrec [DescribeSMBFileSharesResponse]
readPrec :: ReadPrec DescribeSMBFileSharesResponse
$creadPrec :: ReadPrec DescribeSMBFileSharesResponse
readList :: ReadS [DescribeSMBFileSharesResponse]
$creadList :: ReadS [DescribeSMBFileSharesResponse]
readsPrec :: Int -> ReadS DescribeSMBFileSharesResponse
$creadsPrec :: Int -> ReadS DescribeSMBFileSharesResponse
Prelude.Read, Int -> DescribeSMBFileSharesResponse -> ShowS
[DescribeSMBFileSharesResponse] -> ShowS
DescribeSMBFileSharesResponse -> String
(Int -> DescribeSMBFileSharesResponse -> ShowS)
-> (DescribeSMBFileSharesResponse -> String)
-> ([DescribeSMBFileSharesResponse] -> ShowS)
-> Show DescribeSMBFileSharesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeSMBFileSharesResponse] -> ShowS
$cshowList :: [DescribeSMBFileSharesResponse] -> ShowS
show :: DescribeSMBFileSharesResponse -> String
$cshow :: DescribeSMBFileSharesResponse -> String
showsPrec :: Int -> DescribeSMBFileSharesResponse -> ShowS
$cshowsPrec :: Int -> DescribeSMBFileSharesResponse -> ShowS
Prelude.Show, (forall x.
 DescribeSMBFileSharesResponse
 -> Rep DescribeSMBFileSharesResponse x)
-> (forall x.
    Rep DescribeSMBFileSharesResponse x
    -> DescribeSMBFileSharesResponse)
-> Generic DescribeSMBFileSharesResponse
forall x.
Rep DescribeSMBFileSharesResponse x
-> DescribeSMBFileSharesResponse
forall x.
DescribeSMBFileSharesResponse
-> Rep DescribeSMBFileSharesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeSMBFileSharesResponse x
-> DescribeSMBFileSharesResponse
$cfrom :: forall x.
DescribeSMBFileSharesResponse
-> Rep DescribeSMBFileSharesResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeSMBFileSharesResponse' 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:
--
-- 'sMBFileShareInfoList', 'describeSMBFileSharesResponse_sMBFileShareInfoList' - An array containing a description for each requested file share.
--
-- 'httpStatus', 'describeSMBFileSharesResponse_httpStatus' - The response's http status code.
newDescribeSMBFileSharesResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeSMBFileSharesResponse
newDescribeSMBFileSharesResponse :: Int -> DescribeSMBFileSharesResponse
newDescribeSMBFileSharesResponse Int
pHttpStatus_ =
  DescribeSMBFileSharesResponse' :: Maybe [SMBFileShareInfo] -> Int -> DescribeSMBFileSharesResponse
DescribeSMBFileSharesResponse'
    { $sel:sMBFileShareInfoList:DescribeSMBFileSharesResponse' :: Maybe [SMBFileShareInfo]
sMBFileShareInfoList =
        Maybe [SMBFileShareInfo]
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeSMBFileSharesResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | An array containing a description for each requested file share.
describeSMBFileSharesResponse_sMBFileShareInfoList :: Lens.Lens' DescribeSMBFileSharesResponse (Prelude.Maybe [SMBFileShareInfo])
describeSMBFileSharesResponse_sMBFileShareInfoList :: (Maybe [SMBFileShareInfo] -> f (Maybe [SMBFileShareInfo]))
-> DescribeSMBFileSharesResponse -> f DescribeSMBFileSharesResponse
describeSMBFileSharesResponse_sMBFileShareInfoList = (DescribeSMBFileSharesResponse -> Maybe [SMBFileShareInfo])
-> (DescribeSMBFileSharesResponse
    -> Maybe [SMBFileShareInfo] -> DescribeSMBFileSharesResponse)
-> Lens
     DescribeSMBFileSharesResponse
     DescribeSMBFileSharesResponse
     (Maybe [SMBFileShareInfo])
     (Maybe [SMBFileShareInfo])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeSMBFileSharesResponse' {Maybe [SMBFileShareInfo]
sMBFileShareInfoList :: Maybe [SMBFileShareInfo]
$sel:sMBFileShareInfoList:DescribeSMBFileSharesResponse' :: DescribeSMBFileSharesResponse -> Maybe [SMBFileShareInfo]
sMBFileShareInfoList} -> Maybe [SMBFileShareInfo]
sMBFileShareInfoList) (\s :: DescribeSMBFileSharesResponse
s@DescribeSMBFileSharesResponse' {} Maybe [SMBFileShareInfo]
a -> DescribeSMBFileSharesResponse
s {$sel:sMBFileShareInfoList:DescribeSMBFileSharesResponse' :: Maybe [SMBFileShareInfo]
sMBFileShareInfoList = Maybe [SMBFileShareInfo]
a} :: DescribeSMBFileSharesResponse) ((Maybe [SMBFileShareInfo] -> f (Maybe [SMBFileShareInfo]))
 -> DescribeSMBFileSharesResponse
 -> f DescribeSMBFileSharesResponse)
-> ((Maybe [SMBFileShareInfo] -> f (Maybe [SMBFileShareInfo]))
    -> Maybe [SMBFileShareInfo] -> f (Maybe [SMBFileShareInfo]))
-> (Maybe [SMBFileShareInfo] -> f (Maybe [SMBFileShareInfo]))
-> DescribeSMBFileSharesResponse
-> f DescribeSMBFileSharesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [SMBFileShareInfo]
  [SMBFileShareInfo]
  [SMBFileShareInfo]
  [SMBFileShareInfo]
-> Iso
     (Maybe [SMBFileShareInfo])
     (Maybe [SMBFileShareInfo])
     (Maybe [SMBFileShareInfo])
     (Maybe [SMBFileShareInfo])
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
  [SMBFileShareInfo]
  [SMBFileShareInfo]
  [SMBFileShareInfo]
  [SMBFileShareInfo]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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

instance Prelude.NFData DescribeSMBFileSharesResponse