amazonka-storagegateway-1.6.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.ListFileShares

Contents

Description

Gets a list of the file shares for a specific file gateway, or the list of file shares that belong to the calling user account. This operation is only supported in the file gateway type.

Synopsis

Creating a Request

listFileShares :: ListFileShares Source #

Creates a value of ListFileShares with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lfsGatewayARN - The Amazon resource Name (ARN) of the gateway whose file shares you want to list. If this field is not present, all file shares under your account are listed.
  • lfsMarker - Opaque pagination token returned from a previous ListFileShares operation. If present, Marker specifies where to continue the list from after a previous call to ListFileShares. Optional.
  • lfsLimit - The maximum number of file shares to return in the response. The value must be an integer with a value greater than zero. Optional.

data ListFileShares Source #

ListFileShareInput

See: listFileShares smart constructor.

Instances
Eq ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Data ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFileShares -> c ListFileShares #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFileShares #

toConstr :: ListFileShares -> Constr #

dataTypeOf :: ListFileShares -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFileShares) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFileShares) #

gmapT :: (forall b. Data b => b -> b) -> ListFileShares -> ListFileShares #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFileShares -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFileShares -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFileShares -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFileShares -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFileShares -> m ListFileShares #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFileShares -> m ListFileShares #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFileShares -> m ListFileShares #

Read ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Show ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Generic ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Associated Types

type Rep ListFileShares :: Type -> Type #

Hashable ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

ToJSON ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

AWSRequest ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Associated Types

type Rs ListFileShares :: Type #

ToHeaders ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

ToPath ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

ToQuery ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

NFData ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Methods

rnf :: ListFileShares -> () #

type Rep ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

type Rep ListFileShares = D1 (MetaData "ListFileShares" "Network.AWS.StorageGateway.ListFileShares" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "ListFileShares'" PrefixI True) (S1 (MetaSel (Just "_lfsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lfsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lfsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListFileShares Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Request Lenses

lfsGatewayARN :: Lens' ListFileShares (Maybe Text) Source #

The Amazon resource Name (ARN) of the gateway whose file shares you want to list. If this field is not present, all file shares under your account are listed.

lfsMarker :: Lens' ListFileShares (Maybe Text) Source #

Opaque pagination token returned from a previous ListFileShares operation. If present, Marker specifies where to continue the list from after a previous call to ListFileShares. Optional.

lfsLimit :: Lens' ListFileShares (Maybe Natural) Source #

The maximum number of file shares to return in the response. The value must be an integer with a value greater than zero. Optional.

Destructuring the Response

listFileSharesResponse Source #

Creates a value of ListFileSharesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lfsrsFileShareInfoList - An array of information about the file gateway's file shares.
  • lfsrsMarker - If the request includes Marker , the response returns that value in this field.
  • lfsrsNextMarker - If a value is present, there are more file shares to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file shares.
  • lfsrsResponseStatus - -- | The response status code.

data ListFileSharesResponse Source #

ListFileShareOutput

See: listFileSharesResponse smart constructor.

Instances
Eq ListFileSharesResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Data ListFileSharesResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFileSharesResponse -> c ListFileSharesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFileSharesResponse #

toConstr :: ListFileSharesResponse -> Constr #

dataTypeOf :: ListFileSharesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFileSharesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFileSharesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListFileSharesResponse -> ListFileSharesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFileSharesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFileSharesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFileSharesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFileSharesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFileSharesResponse -> m ListFileSharesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFileSharesResponse -> m ListFileSharesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFileSharesResponse -> m ListFileSharesResponse #

Read ListFileSharesResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Show ListFileSharesResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Generic ListFileSharesResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Associated Types

type Rep ListFileSharesResponse :: Type -> Type #

NFData ListFileSharesResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

Methods

rnf :: ListFileSharesResponse -> () #

type Rep ListFileSharesResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ListFileShares

type Rep ListFileSharesResponse = D1 (MetaData "ListFileSharesResponse" "Network.AWS.StorageGateway.ListFileShares" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "ListFileSharesResponse'" PrefixI True) ((S1 (MetaSel (Just "_lfsrsFileShareInfoList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FileShareInfo])) :*: S1 (MetaSel (Just "_lfsrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lfsrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lfsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lfsrsFileShareInfoList :: Lens' ListFileSharesResponse [FileShareInfo] Source #

An array of information about the file gateway's file shares.

lfsrsMarker :: Lens' ListFileSharesResponse (Maybe Text) Source #

If the request includes Marker , the response returns that value in this field.

lfsrsNextMarker :: Lens' ListFileSharesResponse (Maybe Text) Source #

If a value is present, there are more file shares to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file shares.