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 InstanceInfo = InstanceInfo' {
- registerTime :: Maybe POSIX
- instanceArn :: Maybe Text
- deregisterTime :: Maybe POSIX
- iamUserArn :: Maybe Text
- instanceName :: Maybe Text
- iamSessionArn :: Maybe Text
- tags :: Maybe [Tag]
- newInstanceInfo :: InstanceInfo
- instanceInfo_registerTime :: Lens' InstanceInfo (Maybe UTCTime)
- instanceInfo_instanceArn :: Lens' InstanceInfo (Maybe Text)
- instanceInfo_deregisterTime :: Lens' InstanceInfo (Maybe UTCTime)
- instanceInfo_iamUserArn :: Lens' InstanceInfo (Maybe Text)
- instanceInfo_instanceName :: Lens' InstanceInfo (Maybe Text)
- instanceInfo_iamSessionArn :: Lens' InstanceInfo (Maybe Text)
- instanceInfo_tags :: Lens' InstanceInfo (Maybe [Tag])
Documentation
data InstanceInfo Source #
Information about an on-premises instance.
See: newInstanceInfo
smart constructor.
InstanceInfo' | |
|
Instances
newInstanceInfo :: InstanceInfo Source #
Create a value of InstanceInfo
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:registerTime:InstanceInfo'
, instanceInfo_registerTime
- The time at which the on-premises instance was registered.
$sel:instanceArn:InstanceInfo'
, instanceInfo_instanceArn
- The ARN of the on-premises instance.
$sel:deregisterTime:InstanceInfo'
, instanceInfo_deregisterTime
- If the on-premises instance was deregistered, the time at which the
on-premises instance was deregistered.
$sel:iamUserArn:InstanceInfo'
, instanceInfo_iamUserArn
- The IAM user ARN associated with the on-premises instance.
$sel:instanceName:InstanceInfo'
, instanceInfo_instanceName
- The name of the on-premises instance.
$sel:iamSessionArn:InstanceInfo'
, instanceInfo_iamSessionArn
- The ARN of the IAM session associated with the on-premises instance.
$sel:tags:InstanceInfo'
, instanceInfo_tags
- The tags currently associated with the on-premises instance.
instanceInfo_registerTime :: Lens' InstanceInfo (Maybe UTCTime) Source #
The time at which the on-premises instance was registered.
instanceInfo_instanceArn :: Lens' InstanceInfo (Maybe Text) Source #
The ARN of the on-premises instance.
instanceInfo_deregisterTime :: Lens' InstanceInfo (Maybe UTCTime) Source #
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
instanceInfo_iamUserArn :: Lens' InstanceInfo (Maybe Text) Source #
The IAM user ARN associated with the on-premises instance.
instanceInfo_instanceName :: Lens' InstanceInfo (Maybe Text) Source #
The name of the on-premises instance.
instanceInfo_iamSessionArn :: Lens' InstanceInfo (Maybe Text) Source #
The ARN of the IAM session associated with the on-premises instance.
instanceInfo_tags :: Lens' InstanceInfo (Maybe [Tag]) Source #
The tags currently associated with the on-premises instance.