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) |
Safe Haskell | None |
Synopsis
- data InstanceDetails = InstanceDetails' {
- instanceId :: Maybe Text
- platform :: Maybe Text
- launchTime :: Maybe Text
- networkInterfaces :: Maybe [NetworkInterface]
- outpostArn :: Maybe Text
- instanceType :: Maybe Text
- availabilityZone :: Maybe Text
- iamInstanceProfile :: Maybe IamInstanceProfile
- imageId :: Maybe Text
- productCodes :: Maybe [ProductCode]
- instanceState :: Maybe Text
- tags :: Maybe [Tag]
- imageDescription :: Maybe Text
- newInstanceDetails :: InstanceDetails
- instanceDetails_instanceId :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_platform :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_launchTime :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_networkInterfaces :: Lens' InstanceDetails (Maybe [NetworkInterface])
- instanceDetails_outpostArn :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_instanceType :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_availabilityZone :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_iamInstanceProfile :: Lens' InstanceDetails (Maybe IamInstanceProfile)
- instanceDetails_imageId :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_productCodes :: Lens' InstanceDetails (Maybe [ProductCode])
- instanceDetails_instanceState :: Lens' InstanceDetails (Maybe Text)
- instanceDetails_tags :: Lens' InstanceDetails (Maybe [Tag])
- instanceDetails_imageDescription :: Lens' InstanceDetails (Maybe Text)
Documentation
data InstanceDetails Source #
Contains information about the details of an instance.
See: newInstanceDetails
smart constructor.
InstanceDetails' | |
|
Instances
newInstanceDetails :: InstanceDetails Source #
Create a value of InstanceDetails
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:InstanceDetails'
, instanceDetails_instanceId
- The ID of the EC2 instance.
$sel:platform:InstanceDetails'
, instanceDetails_platform
- The platform of the EC2 instance.
$sel:launchTime:InstanceDetails'
, instanceDetails_launchTime
- The launch time of the EC2 instance.
$sel:networkInterfaces:InstanceDetails'
, instanceDetails_networkInterfaces
- The elastic network interface information of the EC2 instance.
$sel:outpostArn:InstanceDetails'
, instanceDetails_outpostArn
- The Amazon Resource Name (ARN) of the AWS Outpost. Only applicable to
AWS Outposts instances.
$sel:instanceType:InstanceDetails'
, instanceDetails_instanceType
- The type of the EC2 instance.
$sel:availabilityZone:InstanceDetails'
, instanceDetails_availabilityZone
- The Availability Zone of the EC2 instance.
$sel:iamInstanceProfile:InstanceDetails'
, instanceDetails_iamInstanceProfile
- The profile information of the EC2 instance.
$sel:imageId:InstanceDetails'
, instanceDetails_imageId
- The image ID of the EC2 instance.
$sel:productCodes:InstanceDetails'
, instanceDetails_productCodes
- The product code of the EC2 instance.
$sel:instanceState:InstanceDetails'
, instanceDetails_instanceState
- The state of the EC2 instance.
$sel:tags:InstanceDetails'
, instanceDetails_tags
- The tags of the EC2 instance.
$sel:imageDescription:InstanceDetails'
, instanceDetails_imageDescription
- The image description of the EC2 instance.
instanceDetails_instanceId :: Lens' InstanceDetails (Maybe Text) Source #
The ID of the EC2 instance.
instanceDetails_platform :: Lens' InstanceDetails (Maybe Text) Source #
The platform of the EC2 instance.
instanceDetails_launchTime :: Lens' InstanceDetails (Maybe Text) Source #
The launch time of the EC2 instance.
instanceDetails_networkInterfaces :: Lens' InstanceDetails (Maybe [NetworkInterface]) Source #
The elastic network interface information of the EC2 instance.
instanceDetails_outpostArn :: Lens' InstanceDetails (Maybe Text) Source #
The Amazon Resource Name (ARN) of the AWS Outpost. Only applicable to AWS Outposts instances.
instanceDetails_instanceType :: Lens' InstanceDetails (Maybe Text) Source #
The type of the EC2 instance.
instanceDetails_availabilityZone :: Lens' InstanceDetails (Maybe Text) Source #
The Availability Zone of the EC2 instance.
instanceDetails_iamInstanceProfile :: Lens' InstanceDetails (Maybe IamInstanceProfile) Source #
The profile information of the EC2 instance.
instanceDetails_imageId :: Lens' InstanceDetails (Maybe Text) Source #
The image ID of the EC2 instance.
instanceDetails_productCodes :: Lens' InstanceDetails (Maybe [ProductCode]) Source #
The product code of the EC2 instance.
instanceDetails_instanceState :: Lens' InstanceDetails (Maybe Text) Source #
The state of the EC2 instance.
instanceDetails_tags :: Lens' InstanceDetails (Maybe [Tag]) Source #
The tags of the EC2 instance.
instanceDetails_imageDescription :: Lens' InstanceDetails (Maybe Text) Source #
The image description of the EC2 instance.