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 NetworkResource = NetworkResource' {
- attributes :: Maybe [NameValuePair]
- createdAt :: Maybe ISO8601
- description :: Maybe Text
- health :: Maybe HealthStatus
- model :: Maybe Text
- networkArn :: Maybe Text
- networkResourceArn :: Maybe Text
- networkSiteArn :: Maybe Text
- orderArn :: Maybe Text
- position :: Maybe Position
- serialNumber :: Maybe Text
- status :: Maybe NetworkResourceStatus
- statusReason :: Maybe Text
- type' :: Maybe NetworkResourceType
- vendor :: Maybe Text
- newNetworkResource :: NetworkResource
- networkResource_attributes :: Lens' NetworkResource (Maybe [NameValuePair])
- networkResource_createdAt :: Lens' NetworkResource (Maybe UTCTime)
- networkResource_description :: Lens' NetworkResource (Maybe Text)
- networkResource_health :: Lens' NetworkResource (Maybe HealthStatus)
- networkResource_model :: Lens' NetworkResource (Maybe Text)
- networkResource_networkArn :: Lens' NetworkResource (Maybe Text)
- networkResource_networkResourceArn :: Lens' NetworkResource (Maybe Text)
- networkResource_networkSiteArn :: Lens' NetworkResource (Maybe Text)
- networkResource_orderArn :: Lens' NetworkResource (Maybe Text)
- networkResource_position :: Lens' NetworkResource (Maybe Position)
- networkResource_serialNumber :: Lens' NetworkResource (Maybe Text)
- networkResource_status :: Lens' NetworkResource (Maybe NetworkResourceStatus)
- networkResource_statusReason :: Lens' NetworkResource (Maybe Text)
- networkResource_type :: Lens' NetworkResource (Maybe NetworkResourceType)
- networkResource_vendor :: Lens' NetworkResource (Maybe Text)
Documentation
data NetworkResource Source #
Information about a network resource.
See: newNetworkResource
smart constructor.
NetworkResource' | |
|
Instances
newNetworkResource :: NetworkResource Source #
Create a value of NetworkResource
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:attributes:NetworkResource'
, networkResource_attributes
- The attributes of the network resource.
$sel:createdAt:NetworkResource'
, networkResource_createdAt
- The creation time of the network resource.
$sel:description:NetworkResource'
, networkResource_description
- The description of the network resource.
$sel:health:NetworkResource'
, networkResource_health
- The health of the network resource.
$sel:model:NetworkResource'
, networkResource_model
- The model of the network resource.
$sel:networkArn:NetworkResource'
, networkResource_networkArn
- The Amazon Resource Name (ARN) of the network on which this network
resource appears.
$sel:networkResourceArn:NetworkResource'
, networkResource_networkResourceArn
- The Amazon Resource Name (ARN) of the network resource.
$sel:networkSiteArn:NetworkResource'
, networkResource_networkSiteArn
- The Amazon Resource Name (ARN) of the network site on which this network
resource appears.
$sel:orderArn:NetworkResource'
, networkResource_orderArn
- The Amazon Resource Name (ARN) of the order used to purchase this
network resource.
$sel:position:NetworkResource'
, networkResource_position
- The position of the network resource.
$sel:serialNumber:NetworkResource'
, networkResource_serialNumber
- The serial number of the network resource.
$sel:status:NetworkResource'
, networkResource_status
- The status of the network resource.
$sel:statusReason:NetworkResource'
, networkResource_statusReason
- The status reason of the network resource.
$sel:type':NetworkResource'
, networkResource_type
- The type of the network resource.
$sel:vendor:NetworkResource'
, networkResource_vendor
- The vendor of the network resource.
networkResource_attributes :: Lens' NetworkResource (Maybe [NameValuePair]) Source #
The attributes of the network resource.
networkResource_createdAt :: Lens' NetworkResource (Maybe UTCTime) Source #
The creation time of the network resource.
networkResource_description :: Lens' NetworkResource (Maybe Text) Source #
The description of the network resource.
networkResource_health :: Lens' NetworkResource (Maybe HealthStatus) Source #
The health of the network resource.
networkResource_model :: Lens' NetworkResource (Maybe Text) Source #
The model of the network resource.
networkResource_networkArn :: Lens' NetworkResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the network on which this network resource appears.
networkResource_networkResourceArn :: Lens' NetworkResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the network resource.
networkResource_networkSiteArn :: Lens' NetworkResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the network site on which this network resource appears.
networkResource_orderArn :: Lens' NetworkResource (Maybe Text) Source #
The Amazon Resource Name (ARN) of the order used to purchase this network resource.
networkResource_position :: Lens' NetworkResource (Maybe Position) Source #
The position of the network resource.
networkResource_serialNumber :: Lens' NetworkResource (Maybe Text) Source #
The serial number of the network resource.
networkResource_status :: Lens' NetworkResource (Maybe NetworkResourceStatus) Source #
The status of the network resource.
networkResource_statusReason :: Lens' NetworkResource (Maybe Text) Source #
The status reason of the network resource.
networkResource_type :: Lens' NetworkResource (Maybe NetworkResourceType) Source #
The type of the network resource.
networkResource_vendor :: Lens' NetworkResource (Maybe Text) Source #
The vendor of the network resource.