Safe Haskell | None |
---|---|
Language | Haskell2010 |
Describes the specified attribute of the specified instance. You can specify only one attribute at a time. Valid attribute values are: instanceType | kernel | ramdisk | userData | disableApiTermination | instanceInitiatedShutdownBehavior | rootDeviceName | blockDeviceMapping | productCodes | sourceDestCheck | groupSet | ebsOptimized | sriovNetSupport.
- data DescribeInstanceAttribute
- describeInstanceAttribute :: Text -> Text -> DescribeInstanceAttribute
- diaAttribute :: Lens' DescribeInstanceAttribute Text
- diaDryRun :: Lens' DescribeInstanceAttribute (Maybe Bool)
- diaInstanceId :: Lens' DescribeInstanceAttribute Text
- data DescribeInstanceAttributeResponse
- describeInstanceAttributeResponse :: DescribeInstanceAttributeResponse
- diar1BlockDeviceMappings :: Lens' DescribeInstanceAttributeResponse [InstanceBlockDeviceMapping]
- diar1DisableApiTermination :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue)
- diar1EbsOptimized :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue)
- diar1Groups :: Lens' DescribeInstanceAttributeResponse [GroupIdentifier]
- diar1InstanceId :: Lens' DescribeInstanceAttributeResponse (Maybe Text)
- diar1InstanceInitiatedShutdownBehavior :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue)
- diar1InstanceType :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue)
- diar1KernelId :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue)
- diar1ProductCodes :: Lens' DescribeInstanceAttributeResponse [ProductCode]
- diar1RamdiskId :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue)
- diar1RootDeviceName :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue)
- diar1SourceDestCheck :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue)
- diar1SriovNetSupport :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue)
- diar1UserData :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue)
Request
data DescribeInstanceAttribute Source
Request constructor
describeInstanceAttribute Source
DescribeInstanceAttribute
constructor.
The fields accessible through corresponding lenses are:
diaAttribute
::
Text
diaDryRun
::
Maybe
Bool
diaInstanceId
::
Text
Request lenses
diaAttribute :: Lens' DescribeInstanceAttribute Text Source
The instance attribute.
diaInstanceId :: Lens' DescribeInstanceAttribute Text Source
The ID of the instance.
Response
Response constructor
describeInstanceAttributeResponse :: DescribeInstanceAttributeResponse Source
DescribeInstanceAttributeResponse
constructor.
The fields accessible through corresponding lenses are:
diar1BlockDeviceMappings
::
[InstanceBlockDeviceMapping
]diar1DisableApiTermination
::
Maybe
AttributeBooleanValue
diar1EbsOptimized
::
Maybe
AttributeBooleanValue
diar1Groups
::
[GroupIdentifier
]diar1InstanceId
::
Maybe
Text
diar1InstanceInitiatedShutdownBehavior
::
Maybe
AttributeValue
diar1InstanceType
::
Maybe
AttributeValue
diar1KernelId
::
Maybe
AttributeValue
diar1ProductCodes
::
[ProductCode
]diar1RamdiskId
::
Maybe
AttributeValue
diar1RootDeviceName
::
Maybe
AttributeValue
diar1SourceDestCheck
::
Maybe
AttributeBooleanValue
diar1SriovNetSupport
::
Maybe
AttributeValue
diar1UserData
::
Maybe
AttributeValue
Response lenses
diar1BlockDeviceMappings :: Lens' DescribeInstanceAttributeResponse [InstanceBlockDeviceMapping] Source
The block device mapping of the instance.
diar1DisableApiTermination :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue) Source
If the value is true, you can't terminate the instance through the Amazon EC2 console, CLI, or API; otherwise, you can.
diar1EbsOptimized :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue) Source
Indicates whether the instance is optimized for EBS I/O.
diar1Groups :: Lens' DescribeInstanceAttributeResponse [GroupIdentifier] Source
The security groups associated with the instance.
diar1InstanceId :: Lens' DescribeInstanceAttributeResponse (Maybe Text) Source
The ID of the instance.
diar1InstanceInitiatedShutdownBehavior :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
diar1InstanceType :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source
The instance type.
diar1KernelId :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source
The kernel ID.
diar1ProductCodes :: Lens' DescribeInstanceAttributeResponse [ProductCode] Source
A list of product codes.
diar1RamdiskId :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source
The RAM disk ID.
diar1RootDeviceName :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source
The name of the root device (for example, devsda1).
diar1SourceDestCheck :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeBooleanValue) Source
Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.
diar1UserData :: Lens' DescribeInstanceAttributeResponse (Maybe AttributeValue) Source
The Base64-encoded MIME user data.