Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Host = Host' {
- allocationTime :: Maybe ISO8601
- allowsMultipleInstanceTypes :: Maybe AllowsMultipleInstanceTypes
- autoPlacement :: Maybe AutoPlacement
- availabilityZone :: Maybe Text
- availabilityZoneId :: Maybe Text
- availableCapacity :: Maybe AvailableCapacity
- clientToken :: Maybe Text
- hostId :: Maybe Text
- hostProperties :: Maybe HostProperties
- hostRecovery :: Maybe HostRecovery
- hostReservationId :: Maybe Text
- instances :: Maybe [HostInstance]
- memberOfServiceLinkedResourceGroup :: Maybe Bool
- outpostArn :: Maybe Text
- ownerId :: Maybe Text
- releaseTime :: Maybe ISO8601
- state :: Maybe AllocationState
- tags :: Maybe [Tag]
- newHost :: Host
- host_allocationTime :: Lens' Host (Maybe UTCTime)
- host_allowsMultipleInstanceTypes :: Lens' Host (Maybe AllowsMultipleInstanceTypes)
- host_autoPlacement :: Lens' Host (Maybe AutoPlacement)
- host_availabilityZone :: Lens' Host (Maybe Text)
- host_availabilityZoneId :: Lens' Host (Maybe Text)
- host_availableCapacity :: Lens' Host (Maybe AvailableCapacity)
- host_clientToken :: Lens' Host (Maybe Text)
- host_hostId :: Lens' Host (Maybe Text)
- host_hostProperties :: Lens' Host (Maybe HostProperties)
- host_hostRecovery :: Lens' Host (Maybe HostRecovery)
- host_hostReservationId :: Lens' Host (Maybe Text)
- host_instances :: Lens' Host (Maybe [HostInstance])
- host_memberOfServiceLinkedResourceGroup :: Lens' Host (Maybe Bool)
- host_outpostArn :: Lens' Host (Maybe Text)
- host_ownerId :: Lens' Host (Maybe Text)
- host_releaseTime :: Lens' Host (Maybe UTCTime)
- host_state :: Lens' Host (Maybe AllocationState)
- host_tags :: Lens' Host (Maybe [Tag])
Documentation
Describes the properties of the Dedicated Host.
See: newHost
smart constructor.
Host' | |
|
Instances
Create a value of Host
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:allocationTime:Host'
, host_allocationTime
- The time that the Dedicated Host was allocated.
$sel:allowsMultipleInstanceTypes:Host'
, host_allowsMultipleInstanceTypes
- Indicates whether the Dedicated Host supports multiple instance types of
the same instance family. If the value is on
, the Dedicated Host
supports multiple instance types in the instance family. If the value is
off
, the Dedicated Host supports a single instance type only.
$sel:autoPlacement:Host'
, host_autoPlacement
- Whether auto-placement is on or off.
$sel:availabilityZone:Host'
, host_availabilityZone
- The Availability Zone of the Dedicated Host.
$sel:availabilityZoneId:Host'
, host_availabilityZoneId
- The ID of the Availability Zone in which the Dedicated Host is
allocated.
$sel:availableCapacity:Host'
, host_availableCapacity
- Information about the instances running on the Dedicated Host.
$sel:clientToken:Host'
, host_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
Ensuring Idempotency.
$sel:hostId:Host'
, host_hostId
- The ID of the Dedicated Host.
$sel:hostProperties:Host'
, host_hostProperties
- The hardware specifications of the Dedicated Host.
$sel:hostRecovery:Host'
, host_hostRecovery
- Indicates whether host recovery is enabled or disabled for the Dedicated
Host.
$sel:hostReservationId:Host'
, host_hostReservationId
- The reservation ID of the Dedicated Host. This returns a null
response
if the Dedicated Host doesn't have an associated reservation.
$sel:instances:Host'
, host_instances
- The IDs and instance type that are currently running on the Dedicated
Host.
$sel:memberOfServiceLinkedResourceGroup:Host'
, host_memberOfServiceLinkedResourceGroup
- Indicates whether the Dedicated Host is in a host resource group. If
memberOfServiceLinkedResourceGroup is true
, the host is in a host
resource group; otherwise, it is not.
$sel:outpostArn:Host'
, host_outpostArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
which the Dedicated Host is allocated.
Host
, host_ownerId
- The ID of the Amazon Web Services account that owns the Dedicated Host.
$sel:releaseTime:Host'
, host_releaseTime
- The time that the Dedicated Host was released.
$sel:state:Host'
, host_state
- The Dedicated Host's state.
$sel:tags:Host'
, host_tags
- Any tags assigned to the Dedicated Host.
host_allocationTime :: Lens' Host (Maybe UTCTime) Source #
The time that the Dedicated Host was allocated.
host_allowsMultipleInstanceTypes :: Lens' Host (Maybe AllowsMultipleInstanceTypes) Source #
Indicates whether the Dedicated Host supports multiple instance types of
the same instance family. If the value is on
, the Dedicated Host
supports multiple instance types in the instance family. If the value is
off
, the Dedicated Host supports a single instance type only.
host_autoPlacement :: Lens' Host (Maybe AutoPlacement) Source #
Whether auto-placement is on or off.
host_availabilityZone :: Lens' Host (Maybe Text) Source #
The Availability Zone of the Dedicated Host.
host_availabilityZoneId :: Lens' Host (Maybe Text) Source #
The ID of the Availability Zone in which the Dedicated Host is allocated.
host_availableCapacity :: Lens' Host (Maybe AvailableCapacity) Source #
Information about the instances running on the Dedicated Host.
host_clientToken :: Lens' Host (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
host_hostProperties :: Lens' Host (Maybe HostProperties) Source #
The hardware specifications of the Dedicated Host.
host_hostRecovery :: Lens' Host (Maybe HostRecovery) Source #
Indicates whether host recovery is enabled or disabled for the Dedicated Host.
host_hostReservationId :: Lens' Host (Maybe Text) Source #
The reservation ID of the Dedicated Host. This returns a null
response
if the Dedicated Host doesn't have an associated reservation.
host_instances :: Lens' Host (Maybe [HostInstance]) Source #
The IDs and instance type that are currently running on the Dedicated Host.
host_memberOfServiceLinkedResourceGroup :: Lens' Host (Maybe Bool) Source #
Indicates whether the Dedicated Host is in a host resource group. If
memberOfServiceLinkedResourceGroup is true
, the host is in a host
resource group; otherwise, it is not.
host_outpostArn :: Lens' Host (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.
host_ownerId :: Lens' Host (Maybe Text) Source #
The ID of the Amazon Web Services account that owns the Dedicated Host.
host_releaseTime :: Lens' Host (Maybe UTCTime) Source #
The time that the Dedicated Host was released.
host_state :: Lens' Host (Maybe AllocationState) Source #
The Dedicated Host's state.