libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
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.SnowDeviceManagement.Types.Instance

Description

 
Synopsis

Documentation

data Instance Source #

The description of an instance. Currently, Amazon EC2 instances are the only supported instance type.

See: newInstance smart constructor.

Constructors

Instance' 

Fields

Instances

Instances details
Eq Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

Read Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

Show Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

Generic Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

NFData Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

Methods

rnf :: Instance -> () #

Hashable Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

FromJSON Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

type Rep Instance Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.Types.Instance

type Rep Instance = D1 ('MetaData "Instance" "Amazonka.SnowDeviceManagement.Types.Instance" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "Instance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceState)) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecurityGroupIdentifier])))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "cpuOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CpuOptions)) :*: S1 ('MetaSel ('Just "rootDeviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "privateIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceBlockDeviceMapping]))) :*: (S1 ('MetaSel ('Just "publicIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "amiLaunchIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

newInstance :: Instance Source #

Create a value of Instance 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:instanceId:Instance', instance_instanceId - The ID of the instance.

$sel:state:Instance', instance_state - Undocumented member.

$sel:securityGroups:Instance', instance_securityGroups - The security groups for the instance.

$sel:createdAt:Instance', instance_createdAt - When the instance was created.

$sel:cpuOptions:Instance', instance_cpuOptions - The CPU options for the instance.

$sel:rootDeviceName:Instance', instance_rootDeviceName - The device name of the root device volume (for example, /dev/sda1).

$sel:instanceType:Instance', instance_instanceType - The instance type.

$sel:imageId:Instance', instance_imageId - The ID of the AMI used to launch the instance.

$sel:privateIpAddress:Instance', instance_privateIpAddress - The private IPv4 address assigned to the instance.

$sel:updatedAt:Instance', instance_updatedAt - When the instance was last updated.

$sel:blockDeviceMappings:Instance', instance_blockDeviceMappings - Any block device mapping entries for the instance.

$sel:publicIpAddress:Instance', instance_publicIpAddress - The public IPv4 address assigned to the instance.

$sel:amiLaunchIndex:Instance', instance_amiLaunchIndex - The Amazon Machine Image (AMI) launch index, which you can use to find this instance in the launch group.

instance_instanceId :: Lens' Instance (Maybe Text) Source #

The ID of the instance.

instance_securityGroups :: Lens' Instance (Maybe [SecurityGroupIdentifier]) Source #

The security groups for the instance.

instance_createdAt :: Lens' Instance (Maybe UTCTime) Source #

When the instance was created.

instance_cpuOptions :: Lens' Instance (Maybe CpuOptions) Source #

The CPU options for the instance.

instance_rootDeviceName :: Lens' Instance (Maybe Text) Source #

The device name of the root device volume (for example, /dev/sda1).

instance_imageId :: Lens' Instance (Maybe Text) Source #

The ID of the AMI used to launch the instance.

instance_privateIpAddress :: Lens' Instance (Maybe Text) Source #

The private IPv4 address assigned to the instance.

instance_updatedAt :: Lens' Instance (Maybe UTCTime) Source #

When the instance was last updated.

instance_blockDeviceMappings :: Lens' Instance (Maybe [InstanceBlockDeviceMapping]) Source #

Any block device mapping entries for the instance.

instance_publicIpAddress :: Lens' Instance (Maybe Text) Source #

The public IPv4 address assigned to the instance.

instance_amiLaunchIndex :: Lens' Instance (Maybe Int) Source #

The Amazon Machine Image (AMI) launch index, which you can use to find this instance in the launch group.