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.DescribeGatewayInformation

Contents

Description

Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not). To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.

Synopsis

Creating a Request

describeGatewayInformation Source #

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

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

data DescribeGatewayInformation Source #

A JSON object containing the ID of the gateway.

See: describeGatewayInformation smart constructor.

Instances
Eq DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Data DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Methods

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

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

toConstr :: DescribeGatewayInformation -> Constr #

dataTypeOf :: DescribeGatewayInformation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Show DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Generic DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Associated Types

type Rep DescribeGatewayInformation :: Type -> Type #

Hashable DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

ToJSON DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

AWSRequest DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Associated Types

type Rs DescribeGatewayInformation :: Type #

ToHeaders DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

ToPath DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

ToQuery DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

NFData DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

type Rep DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

type Rep DescribeGatewayInformation = D1 (MetaData "DescribeGatewayInformation" "Network.AWS.StorageGateway.DescribeGatewayInformation" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" True) (C1 (MetaCons "DescribeGatewayInformation'" PrefixI True) (S1 (MetaSel (Just "_dgiGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Request Lenses

Destructuring the Response

describeGatewayInformationResponse Source #

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

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

  • dgirsGatewayState - A value that indicates the operating state of the gateway.
  • dgirsGatewayARN - Undocumented member.
  • dgirsGatewayNetworkInterfaces - A NetworkInterface array that contains descriptions of the gateway network interfaces.
  • dgirsNextUpdateAvailabilityDate - The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
  • dgirsLastSoftwareUpdate - The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.
  • dgirsGatewayName - The name you configured for your gateway.
  • dgirsGatewayId - The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
  • dgirsGatewayType - The type of the gateway.
  • dgirsGatewayTimezone - A value that indicates the time zone configured for the gateway.
  • dgirsResponseStatus - -- | The response status code.

data DescribeGatewayInformationResponse Source #

A JSON object containing the following fields:

See: describeGatewayInformationResponse smart constructor.

Instances
Eq DescribeGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Data DescribeGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Methods

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

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

toConstr :: DescribeGatewayInformationResponse -> Constr #

dataTypeOf :: DescribeGatewayInformationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Show DescribeGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Generic DescribeGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

Associated Types

type Rep DescribeGatewayInformationResponse :: Type -> Type #

NFData DescribeGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

type Rep DescribeGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeGatewayInformation

type Rep DescribeGatewayInformationResponse = D1 (MetaData "DescribeGatewayInformationResponse" "Network.AWS.StorageGateway.DescribeGatewayInformation" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "DescribeGatewayInformationResponse'" PrefixI True) (((S1 (MetaSel (Just "_dgirsGatewayState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dgirsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dgirsGatewayNetworkInterfaces") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NetworkInterface])) :*: (S1 (MetaSel (Just "_dgirsNextUpdateAvailabilityDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dgirsLastSoftwareUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_dgirsGatewayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dgirsGatewayId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dgirsGatewayType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dgirsGatewayTimezone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

dgirsGatewayState :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #

A value that indicates the operating state of the gateway.

dgirsGatewayNetworkInterfaces :: Lens' DescribeGatewayInformationResponse [NetworkInterface] Source #

A NetworkInterface array that contains descriptions of the gateway network interfaces.

dgirsNextUpdateAvailabilityDate :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #

The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.

dgirsLastSoftwareUpdate :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #

The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response.

dgirsGatewayName :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #

The name you configured for your gateway.

dgirsGatewayId :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #

The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.

dgirsGatewayTimezone :: Lens' DescribeGatewayInformationResponse (Maybe Text) Source #

A value that indicates the time zone configured for the gateway.