{-# 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.DescribeNFSFileShares
-- 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 Network File System (NFS) file shares
-- from an S3 File Gateway. This operation is only supported for S3 File
-- Gateways.
module Amazonka.StorageGateway.DescribeNFSFileShares
  ( -- * Creating a Request
    DescribeNFSFileShares (..),
    newDescribeNFSFileShares,

    -- * Request Lenses
    describeNFSFileShares_fileShareARNList,

    -- * Destructuring the Response
    DescribeNFSFileSharesResponse (..),
    newDescribeNFSFileSharesResponse,

    -- * Response Lenses
    describeNFSFileSharesResponse_nFSFileShareInfoList,
    describeNFSFileSharesResponse_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

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

-- |
-- Create a value of 'DescribeNFSFileShares' 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', 'describeNFSFileShares_fileShareARNList' - An array containing the Amazon Resource Name (ARN) of each file share to
-- be described.
newDescribeNFSFileShares ::
  -- | 'fileShareARNList'
  Prelude.NonEmpty Prelude.Text ->
  DescribeNFSFileShares
newDescribeNFSFileShares :: NonEmpty Text -> DescribeNFSFileShares
newDescribeNFSFileShares NonEmpty Text
pFileShareARNList_ =
  DescribeNFSFileShares' :: NonEmpty Text -> DescribeNFSFileShares
DescribeNFSFileShares'
    { $sel:fileShareARNList:DescribeNFSFileShares' :: 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.
describeNFSFileShares_fileShareARNList :: Lens.Lens' DescribeNFSFileShares (Prelude.NonEmpty Prelude.Text)
describeNFSFileShares_fileShareARNList :: (NonEmpty Text -> f (NonEmpty Text))
-> DescribeNFSFileShares -> f DescribeNFSFileShares
describeNFSFileShares_fileShareARNList = (DescribeNFSFileShares -> NonEmpty Text)
-> (DescribeNFSFileShares
    -> NonEmpty Text -> DescribeNFSFileShares)
-> Lens
     DescribeNFSFileShares
     DescribeNFSFileShares
     (NonEmpty Text)
     (NonEmpty Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeNFSFileShares' {NonEmpty Text
fileShareARNList :: NonEmpty Text
$sel:fileShareARNList:DescribeNFSFileShares' :: DescribeNFSFileShares -> NonEmpty Text
fileShareARNList} -> NonEmpty Text
fileShareARNList) (\s :: DescribeNFSFileShares
s@DescribeNFSFileShares' {} NonEmpty Text
a -> DescribeNFSFileShares
s {$sel:fileShareARNList:DescribeNFSFileShares' :: NonEmpty Text
fileShareARNList = NonEmpty Text
a} :: DescribeNFSFileShares) ((NonEmpty Text -> f (NonEmpty Text))
 -> DescribeNFSFileShares -> f DescribeNFSFileShares)
-> ((NonEmpty Text -> f (NonEmpty Text))
    -> NonEmpty Text -> f (NonEmpty Text))
-> (NonEmpty Text -> f (NonEmpty Text))
-> DescribeNFSFileShares
-> f DescribeNFSFileShares
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 DescribeNFSFileShares where
  type
    AWSResponse DescribeNFSFileShares =
      DescribeNFSFileSharesResponse
  request :: DescribeNFSFileShares -> Request DescribeNFSFileShares
request = Service -> DescribeNFSFileShares -> Request DescribeNFSFileShares
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeNFSFileShares
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeNFSFileShares)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeNFSFileShares))
-> Logger
-> Service
-> Proxy DescribeNFSFileShares
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeNFSFileShares)))
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 [NFSFileShareInfo] -> Int -> DescribeNFSFileSharesResponse
DescribeNFSFileSharesResponse'
            (Maybe [NFSFileShareInfo] -> Int -> DescribeNFSFileSharesResponse)
-> Either String (Maybe [NFSFileShareInfo])
-> Either String (Int -> DescribeNFSFileSharesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Either String (Maybe (Maybe [NFSFileShareInfo]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"NFSFileShareInfoList"
                            Either String (Maybe (Maybe [NFSFileShareInfo]))
-> Maybe [NFSFileShareInfo]
-> Either String (Maybe [NFSFileShareInfo])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [NFSFileShareInfo]
forall a. Monoid a => a
Prelude.mempty
                        )
            Either String (Int -> DescribeNFSFileSharesResponse)
-> Either String Int -> Either String DescribeNFSFileSharesResponse
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 DescribeNFSFileShares

instance Prelude.NFData DescribeNFSFileShares

instance Core.ToHeaders DescribeNFSFileShares where
  toHeaders :: DescribeNFSFileShares -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DescribeNFSFileShares -> 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.DescribeNFSFileShares" ::
                          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 DescribeNFSFileShares where
  toJSON :: DescribeNFSFileShares -> Value
toJSON DescribeNFSFileShares' {NonEmpty Text
fileShareARNList :: NonEmpty Text
$sel:fileShareARNList:DescribeNFSFileShares' :: DescribeNFSFileShares -> 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 DescribeNFSFileShares where
  toPath :: DescribeNFSFileShares -> ByteString
toPath = ByteString -> DescribeNFSFileShares -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

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

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

-- |
-- Create a value of 'DescribeNFSFileSharesResponse' 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:
--
-- 'nFSFileShareInfoList', 'describeNFSFileSharesResponse_nFSFileShareInfoList' - An array containing a description for each requested file share.
--
-- 'httpStatus', 'describeNFSFileSharesResponse_httpStatus' - The response's http status code.
newDescribeNFSFileSharesResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeNFSFileSharesResponse
newDescribeNFSFileSharesResponse :: Int -> DescribeNFSFileSharesResponse
newDescribeNFSFileSharesResponse Int
pHttpStatus_ =
  DescribeNFSFileSharesResponse' :: Maybe [NFSFileShareInfo] -> Int -> DescribeNFSFileSharesResponse
DescribeNFSFileSharesResponse'
    { $sel:nFSFileShareInfoList:DescribeNFSFileSharesResponse' :: Maybe [NFSFileShareInfo]
nFSFileShareInfoList =
        Maybe [NFSFileShareInfo]
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeNFSFileSharesResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

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

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

instance Prelude.NFData DescribeNFSFileSharesResponse