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

Amazonka.StorageGateway.Types.GatewayInfo

Description

 
Synopsis

Documentation

data GatewayInfo Source #

Describes a gateway object.

See: newGatewayInfo smart constructor.

Constructors

GatewayInfo' 

Fields

Instances

Instances details
Eq GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

Read GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

Show GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

Generic GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

Associated Types

type Rep GatewayInfo :: Type -> Type #

NFData GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

Methods

rnf :: GatewayInfo -> () #

Hashable GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

FromJSON GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

type Rep GatewayInfo Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.GatewayInfo

type Rep GatewayInfo = D1 ('MetaData "GatewayInfo" "Amazonka.StorageGateway.Types.GatewayInfo" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "GatewayInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ec2InstanceRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ec2InstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "gatewayOperationalState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "gatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "gatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "gatewayType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newGatewayInfo :: GatewayInfo Source #

Create a value of GatewayInfo with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ec2InstanceRegion:GatewayInfo', gatewayInfo_ec2InstanceRegion - The Amazon Web Services Region where the Amazon EC2 instance is located.

$sel:gatewayARN:GatewayInfo', gatewayInfo_gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

$sel:ec2InstanceId:GatewayInfo', gatewayInfo_ec2InstanceId - The ID of the Amazon EC2 instance that was used to launch the gateway.

$sel:gatewayOperationalState:GatewayInfo', gatewayInfo_gatewayOperationalState - The state of the gateway.

Valid Values: DISABLED | ACTIVE

$sel:gatewayName:GatewayInfo', gatewayInfo_gatewayName - The name of the gateway.

$sel:gatewayId:GatewayInfo', gatewayInfo_gatewayId - 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.

$sel:gatewayType:GatewayInfo', gatewayInfo_gatewayType - The type of the gateway.

gatewayInfo_ec2InstanceRegion :: Lens' GatewayInfo (Maybe Text) Source #

The Amazon Web Services Region where the Amazon EC2 instance is located.

gatewayInfo_gatewayARN :: Lens' GatewayInfo (Maybe Text) Source #

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

gatewayInfo_ec2InstanceId :: Lens' GatewayInfo (Maybe Text) Source #

The ID of the Amazon EC2 instance that was used to launch the gateway.

gatewayInfo_gatewayOperationalState :: Lens' GatewayInfo (Maybe Text) Source #

The state of the gateway.

Valid Values: DISABLED | ACTIVE

gatewayInfo_gatewayId :: Lens' GatewayInfo (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.