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 Network = Network' {
- arn :: Maybe Text
- creationDate :: Maybe ISO8601
- description :: Maybe Text
- framework :: Maybe Framework
- frameworkAttributes :: Maybe NetworkFrameworkAttributes
- frameworkVersion :: Maybe Text
- id :: Maybe Text
- name :: Maybe Text
- status :: Maybe NetworkStatus
- tags :: Maybe (HashMap Text Text)
- votingPolicy :: Maybe VotingPolicy
- vpcEndpointServiceName :: Maybe Text
- newNetwork :: Network
- network_arn :: Lens' Network (Maybe Text)
- network_creationDate :: Lens' Network (Maybe UTCTime)
- network_description :: Lens' Network (Maybe Text)
- network_framework :: Lens' Network (Maybe Framework)
- network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes)
- network_frameworkVersion :: Lens' Network (Maybe Text)
- network_id :: Lens' Network (Maybe Text)
- network_name :: Lens' Network (Maybe Text)
- network_status :: Lens' Network (Maybe NetworkStatus)
- network_tags :: Lens' Network (Maybe (HashMap Text Text))
- network_votingPolicy :: Lens' Network (Maybe VotingPolicy)
- network_vpcEndpointServiceName :: Lens' Network (Maybe Text)
Documentation
Network configuration properties.
See: newNetwork
smart constructor.
Network' | |
|
Instances
newNetwork :: Network Source #
Create a value of Network
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:arn:Network'
, network_arn
- The Amazon Resource Name (ARN) of the network. For more information
about ARNs and their format, see
Amazon Resource Names (ARNs)
in the Amazon Web Services General Reference.
$sel:creationDate:Network'
, network_creationDate
- The date and time that the network was created.
$sel:description:Network'
, network_description
- Attributes of the blockchain framework for the network.
$sel:framework:Network'
, network_framework
- The blockchain framework that the network uses.
$sel:frameworkAttributes:Network'
, network_frameworkAttributes
- Attributes of the blockchain framework that the network uses.
$sel:frameworkVersion:Network'
, network_frameworkVersion
- The version of the blockchain framework that the network uses.
$sel:id:Network'
, network_id
- The unique identifier of the network.
$sel:name:Network'
, network_name
- The name of the network.
$sel:status:Network'
, network_status
- The current status of the network.
$sel:tags:Network'
, network_tags
- Tags assigned to the network. Each tag consists of a key and optional
value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
$sel:votingPolicy:Network'
, network_votingPolicy
- The voting rules for the network to decide if a proposal is accepted.
$sel:vpcEndpointServiceName:Network'
, network_vpcEndpointServiceName
- The VPC endpoint service name of the VPC endpoint service of the
network. Members use the VPC endpoint service name to create a VPC
endpoint to access network resources.
network_arn :: Lens' Network (Maybe Text) Source #
The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
network_creationDate :: Lens' Network (Maybe UTCTime) Source #
The date and time that the network was created.
network_description :: Lens' Network (Maybe Text) Source #
Attributes of the blockchain framework for the network.
network_framework :: Lens' Network (Maybe Framework) Source #
The blockchain framework that the network uses.
network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes) Source #
Attributes of the blockchain framework that the network uses.
network_frameworkVersion :: Lens' Network (Maybe Text) Source #
The version of the blockchain framework that the network uses.
network_status :: Lens' Network (Maybe NetworkStatus) Source #
The current status of the network.
network_tags :: Lens' Network (Maybe (HashMap Text Text)) Source #
Tags assigned to the network. Each tag consists of a key and optional value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
network_votingPolicy :: Lens' Network (Maybe VotingPolicy) Source #
The voting rules for the network to decide if a proposal is accepted.