-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Managed Blockchain SDK. -- -- Derived from API version 2018-09-24 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- It is recommended to use generic lenses or optics from packages such -- as generic-lens or optics to modify optional fields and -- deconstruct responses. -- -- Generated lenses can be found in -- Amazonka.ManagedBlockChain.Lens and are suitable for use with a -- lens package such as lens or lens-family-core. -- -- See Amazonka.ManagedBlockChain and the AWS documentation -- to get started. @package amazonka-managedblockchain @version 2.0 module Amazonka.ManagedBlockChain.Types.AccessorStatus newtype AccessorStatus AccessorStatus' :: Text -> AccessorStatus [fromAccessorStatus] :: AccessorStatus -> Text pattern AccessorStatus_AVAILABLE :: AccessorStatus pattern AccessorStatus_DELETED :: AccessorStatus pattern AccessorStatus_PENDING_DELETION :: AccessorStatus instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.AccessorStatus.AccessorStatus module Amazonka.ManagedBlockChain.Types.AccessorType newtype AccessorType AccessorType' :: Text -> AccessorType [fromAccessorType] :: AccessorType -> Text pattern AccessorType_BILLING_TOKEN :: AccessorType instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.AccessorType.AccessorType module Amazonka.ManagedBlockChain.Types.AccessorSummary -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- A summary of accessor properties. -- -- See: newAccessorSummary smart constructor. data AccessorSummary AccessorSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe AccessorStatus -> Maybe AccessorType -> AccessorSummary -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:AccessorSummary'] :: AccessorSummary -> Maybe Text -- | The creation date and time of the accessor. [$sel:creationDate:AccessorSummary'] :: AccessorSummary -> Maybe ISO8601 -- | The unique identifier of the accessor. [$sel:id:AccessorSummary'] :: AccessorSummary -> Maybe Text -- | The current status of the accessor. [$sel:status:AccessorSummary'] :: AccessorSummary -> Maybe AccessorStatus -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. [$sel:type':AccessorSummary'] :: AccessorSummary -> Maybe AccessorType -- | Create a value of AccessorSummary 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:AccessorSummary', accessorSummary_arn - The -- Amazon Resource Name (ARN) of the accessor. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. -- -- $sel:creationDate:AccessorSummary', -- accessorSummary_creationDate - The creation date and time of -- the accessor. -- -- $sel:id:AccessorSummary', accessorSummary_id - The -- unique identifier of the accessor. -- -- $sel:status:AccessorSummary', accessorSummary_status - -- The current status of the accessor. -- -- $sel:type':AccessorSummary', accessorSummary_type - The -- type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newAccessorSummary :: AccessorSummary -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. accessorSummary_arn :: Lens' AccessorSummary (Maybe Text) -- | The creation date and time of the accessor. accessorSummary_creationDate :: Lens' AccessorSummary (Maybe UTCTime) -- | The unique identifier of the accessor. accessorSummary_id :: Lens' AccessorSummary (Maybe Text) -- | The current status of the accessor. accessorSummary_status :: Lens' AccessorSummary (Maybe AccessorStatus) -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. accessorSummary_type :: Lens' AccessorSummary (Maybe AccessorType) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.AccessorSummary.AccessorSummary instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.AccessorSummary.AccessorSummary instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.AccessorSummary.AccessorSummary instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.AccessorSummary.AccessorSummary instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.AccessorSummary.AccessorSummary instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.AccessorSummary.AccessorSummary instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.AccessorSummary.AccessorSummary module Amazonka.ManagedBlockChain.Types.Accessor -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- The properties of the Accessor. -- -- See: newAccessor smart constructor. data Accessor Accessor' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe AccessorStatus -> Maybe AccessorType -> Accessor -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Accessor'] :: Accessor -> Maybe Text -- | The billing token is a property of the accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. [$sel:billingToken:Accessor'] :: Accessor -> Maybe Text -- | The creation date and time of the accessor. [$sel:creationDate:Accessor'] :: Accessor -> Maybe ISO8601 -- | The unique identifier of the accessor. [$sel:id:Accessor'] :: Accessor -> Maybe Text -- | The current status of the accessor. [$sel:status:Accessor'] :: Accessor -> Maybe AccessorStatus -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. [$sel:type':Accessor'] :: Accessor -> Maybe AccessorType -- | Create a value of Accessor 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:Accessor', accessor_arn - The Amazon Resource -- Name (ARN) of the accessor. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- $sel:billingToken:Accessor', accessor_billingToken - The -- billing token is a property of the accessor. Use this token to make -- Ethereum API calls to your Ethereum node. The billing token is used to -- track your accessor object for billing Ethereum API requests made to -- your Ethereum nodes. -- -- $sel:creationDate:Accessor', accessor_creationDate - The -- creation date and time of the accessor. -- -- $sel:id:Accessor', accessor_id - The unique identifier -- of the accessor. -- -- $sel:status:Accessor', accessor_status - The current -- status of the accessor. -- -- $sel:type':Accessor', accessor_type - The type of the -- accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newAccessor :: Accessor -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. accessor_arn :: Lens' Accessor (Maybe Text) -- | The billing token is a property of the accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. accessor_billingToken :: Lens' Accessor (Maybe Text) -- | The creation date and time of the accessor. accessor_creationDate :: Lens' Accessor (Maybe UTCTime) -- | The unique identifier of the accessor. accessor_id :: Lens' Accessor (Maybe Text) -- | The current status of the accessor. accessor_status :: Lens' Accessor (Maybe AccessorStatus) -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. accessor_type :: Lens' Accessor (Maybe AccessorType) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Accessor.Accessor instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Accessor.Accessor instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Accessor.Accessor instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Accessor.Accessor instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Accessor.Accessor instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Accessor.Accessor instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Accessor.Accessor module Amazonka.ManagedBlockChain.Types.Edition newtype Edition Edition' :: Text -> Edition [fromEdition] :: Edition -> Text pattern Edition_STANDARD :: Edition pattern Edition_STARTER :: Edition instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.Edition.Edition instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.Edition.Edition instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.Edition.Edition instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.Edition.Edition instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.Edition.Edition instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Edition.Edition instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.Edition.Edition instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.Edition.Edition instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.Edition.Edition instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.Edition.Edition instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.Edition.Edition instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.Edition.Edition instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Edition.Edition instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Edition.Edition instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Edition.Edition instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.Edition.Edition instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Edition.Edition instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Edition.Edition instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Edition.Edition module Amazonka.ManagedBlockChain.Types.Framework newtype Framework Framework' :: Text -> Framework [fromFramework] :: Framework -> Text pattern Framework_ETHEREUM :: Framework pattern Framework_HYPERLEDGER_FABRIC :: Framework instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.Framework.Framework instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.Framework.Framework instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.Framework.Framework instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.Framework.Framework instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.Framework.Framework instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Framework.Framework instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.Framework.Framework instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.Framework.Framework instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.Framework.Framework instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.Framework.Framework instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.Framework.Framework instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.Framework.Framework instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Framework.Framework instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Framework.Framework instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Framework.Framework instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.Framework.Framework instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Framework.Framework instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Framework.Framework instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Framework.Framework module Amazonka.ManagedBlockChain.Types.InvitationStatus newtype InvitationStatus InvitationStatus' :: Text -> InvitationStatus [fromInvitationStatus] :: InvitationStatus -> Text pattern InvitationStatus_ACCEPTED :: InvitationStatus pattern InvitationStatus_ACCEPTING :: InvitationStatus pattern InvitationStatus_EXPIRED :: InvitationStatus pattern InvitationStatus_PENDING :: InvitationStatus pattern InvitationStatus_REJECTED :: InvitationStatus instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.InvitationStatus.InvitationStatus module Amazonka.ManagedBlockChain.Types.InviteAction -- | An action to invite a specific Amazon Web Services account to create a -- member and join the network. The InviteAction is carried out -- when a Proposal is APPROVED. -- -- Applies only to Hyperledger Fabric. -- -- See: newInviteAction smart constructor. data InviteAction InviteAction' :: Text -> InviteAction -- | The Amazon Web Services account ID to invite. [$sel:principal:InviteAction'] :: InviteAction -> Text -- | Create a value of InviteAction 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:principal:InviteAction', inviteAction_principal - -- The Amazon Web Services account ID to invite. newInviteAction :: Text -> InviteAction -- | The Amazon Web Services account ID to invite. inviteAction_principal :: Lens' InviteAction Text instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.InviteAction.InviteAction module Amazonka.ManagedBlockChain.Types.LogConfiguration -- | A configuration for logging events. -- -- See: newLogConfiguration smart constructor. data LogConfiguration LogConfiguration' :: Maybe Bool -> LogConfiguration -- | Indicates whether logging is enabled. [$sel:enabled:LogConfiguration'] :: LogConfiguration -> Maybe Bool -- | Create a value of LogConfiguration 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:enabled:LogConfiguration', logConfiguration_enabled -- - Indicates whether logging is enabled. newLogConfiguration :: LogConfiguration -- | Indicates whether logging is enabled. logConfiguration_enabled :: Lens' LogConfiguration (Maybe Bool) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.LogConfiguration.LogConfiguration module Amazonka.ManagedBlockChain.Types.LogConfigurations -- | A collection of log configurations. -- -- See: newLogConfigurations smart constructor. data LogConfigurations LogConfigurations' :: Maybe LogConfiguration -> LogConfigurations -- | Parameters for publishing logs to Amazon CloudWatch Logs. [$sel:cloudwatch:LogConfigurations'] :: LogConfigurations -> Maybe LogConfiguration -- | Create a value of LogConfigurations 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:cloudwatch:LogConfigurations', -- logConfigurations_cloudwatch - Parameters for publishing logs -- to Amazon CloudWatch Logs. newLogConfigurations :: LogConfigurations -- | Parameters for publishing logs to Amazon CloudWatch Logs. logConfigurations_cloudwatch :: Lens' LogConfigurations (Maybe LogConfiguration) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.LogConfigurations.LogConfigurations module Amazonka.ManagedBlockChain.Types.MemberFabricAttributes -- | Attributes of Hyperledger Fabric for a member in a Managed Blockchain -- network using the Hyperledger Fabric framework. -- -- See: newMemberFabricAttributes smart constructor. data MemberFabricAttributes MemberFabricAttributes' :: Maybe Text -> Maybe Text -> MemberFabricAttributes -- | The user name for the initial administrator user for the member. [$sel:adminUsername:MemberFabricAttributes'] :: MemberFabricAttributes -> Maybe Text -- | The endpoint used to access the member's certificate authority. [$sel:caEndpoint:MemberFabricAttributes'] :: MemberFabricAttributes -> Maybe Text -- | Create a value of MemberFabricAttributes 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:adminUsername:MemberFabricAttributes', -- memberFabricAttributes_adminUsername - The user name for the -- initial administrator user for the member. -- -- $sel:caEndpoint:MemberFabricAttributes', -- memberFabricAttributes_caEndpoint - The endpoint used to access -- the member's certificate authority. newMemberFabricAttributes :: MemberFabricAttributes -- | The user name for the initial administrator user for the member. memberFabricAttributes_adminUsername :: Lens' MemberFabricAttributes (Maybe Text) -- | The endpoint used to access the member's certificate authority. memberFabricAttributes_caEndpoint :: Lens' MemberFabricAttributes (Maybe Text) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberFabricAttributes.MemberFabricAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberFabricAttributes.MemberFabricAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.MemberFabricAttributes.MemberFabricAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberFabricAttributes.MemberFabricAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.MemberFabricAttributes.MemberFabricAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberFabricAttributes.MemberFabricAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberFabricAttributes.MemberFabricAttributes module Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration -- | Configuration properties for Hyperledger Fabric for a member in a -- Managed Blockchain network using the Hyperledger Fabric framework. -- -- See: newMemberFabricConfiguration smart constructor. data MemberFabricConfiguration MemberFabricConfiguration' :: Text -> Sensitive Text -> MemberFabricConfiguration -- | The user name for the member's initial administrative user. [$sel:adminUsername:MemberFabricConfiguration'] :: MemberFabricConfiguration -> Text -- | The password for the member's initial administrative user. The -- AdminPassword must be at least eight characters long and no -- more than 32 characters. It must contain at least one uppercase -- letter, one lowercase letter, and one digit. It cannot have a single -- quotation mark (‘), a double quotation marks (“), a forward slash(/), -- a backward slash(\), @, or a space. [$sel:adminPassword:MemberFabricConfiguration'] :: MemberFabricConfiguration -> Sensitive Text -- | Create a value of MemberFabricConfiguration 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:adminUsername:MemberFabricConfiguration', -- memberFabricConfiguration_adminUsername - The user name for the -- member's initial administrative user. -- -- $sel:adminPassword:MemberFabricConfiguration', -- memberFabricConfiguration_adminPassword - The password for the -- member's initial administrative user. The AdminPassword must -- be at least eight characters long and no more than 32 characters. It -- must contain at least one uppercase letter, one lowercase letter, and -- one digit. It cannot have a single quotation mark (‘), a double -- quotation marks (“), a forward slash(/), a backward slash(\), @, or a -- space. newMemberFabricConfiguration :: Text -> Text -> MemberFabricConfiguration -- | The user name for the member's initial administrative user. memberFabricConfiguration_adminUsername :: Lens' MemberFabricConfiguration Text -- | The password for the member's initial administrative user. The -- AdminPassword must be at least eight characters long and no -- more than 32 characters. It must contain at least one uppercase -- letter, one lowercase letter, and one digit. It cannot have a single -- quotation mark (‘), a double quotation marks (“), a forward slash(/), -- a backward slash(\), @, or a space. memberFabricConfiguration_adminPassword :: Lens' MemberFabricConfiguration Text instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration.MemberFabricConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration.MemberFabricConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration.MemberFabricConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration.MemberFabricConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration.MemberFabricConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.MemberFabricConfiguration.MemberFabricConfiguration module Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. -- -- See: newMemberFabricLogPublishingConfiguration smart -- constructor. data MemberFabricLogPublishingConfiguration MemberFabricLogPublishingConfiguration' :: Maybe LogConfigurations -> MemberFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with a member's -- Certificate Authority (CA). CA logs help you determine when a member -- in your account joins the network, or when new peers register with a -- member CA. [$sel:caLogs:MemberFabricLogPublishingConfiguration'] :: MemberFabricLogPublishingConfiguration -> Maybe LogConfigurations -- | Create a value of MemberFabricLogPublishingConfiguration 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:caLogs:MemberFabricLogPublishingConfiguration', -- memberFabricLogPublishingConfiguration_caLogs - Configuration -- properties for logging events associated with a member's Certificate -- Authority (CA). CA logs help you determine when a member in your -- account joins the network, or when new peers register with a member -- CA. newMemberFabricLogPublishingConfiguration :: MemberFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with a member's -- Certificate Authority (CA). CA logs help you determine when a member -- in your account joins the network, or when new peers register with a -- member CA. memberFabricLogPublishingConfiguration_caLogs :: Lens' MemberFabricLogPublishingConfiguration (Maybe LogConfigurations) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.MemberFabricLogPublishingConfiguration.MemberFabricLogPublishingConfiguration module Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. -- -- See: newMemberFrameworkAttributes smart constructor. data MemberFrameworkAttributes MemberFrameworkAttributes' :: Maybe MemberFabricAttributes -> MemberFrameworkAttributes -- | Attributes of Hyperledger Fabric relevant to a member on a Managed -- Blockchain network that uses Hyperledger Fabric. [$sel:fabric:MemberFrameworkAttributes'] :: MemberFrameworkAttributes -> Maybe MemberFabricAttributes -- | Create a value of MemberFrameworkAttributes 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:fabric:MemberFrameworkAttributes', -- memberFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric relevant to a member on a Managed Blockchain network that uses -- Hyperledger Fabric. newMemberFrameworkAttributes :: MemberFrameworkAttributes -- | Attributes of Hyperledger Fabric relevant to a member on a Managed -- Blockchain network that uses Hyperledger Fabric. memberFrameworkAttributes_fabric :: Lens' MemberFrameworkAttributes (Maybe MemberFabricAttributes) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes.MemberFrameworkAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes.MemberFrameworkAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes.MemberFrameworkAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes.MemberFrameworkAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes.MemberFrameworkAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes.MemberFrameworkAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberFrameworkAttributes.MemberFrameworkAttributes module Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration -- | Configuration properties relevant to a member for the blockchain -- framework that the Managed Blockchain network uses. -- -- See: newMemberFrameworkConfiguration smart constructor. data MemberFrameworkConfiguration MemberFrameworkConfiguration' :: Maybe MemberFabricConfiguration -> MemberFrameworkConfiguration -- | Attributes of Hyperledger Fabric for a member on a Managed Blockchain -- network that uses Hyperledger Fabric. [$sel:fabric:MemberFrameworkConfiguration'] :: MemberFrameworkConfiguration -> Maybe MemberFabricConfiguration -- | Create a value of MemberFrameworkConfiguration 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:fabric:MemberFrameworkConfiguration', -- memberFrameworkConfiguration_fabric - Attributes of Hyperledger -- Fabric for a member on a Managed Blockchain network that uses -- Hyperledger Fabric. newMemberFrameworkConfiguration :: MemberFrameworkConfiguration -- | Attributes of Hyperledger Fabric for a member on a Managed Blockchain -- network that uses Hyperledger Fabric. memberFrameworkConfiguration_fabric :: Lens' MemberFrameworkConfiguration (Maybe MemberFabricConfiguration) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration.MemberFrameworkConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration.MemberFrameworkConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration.MemberFrameworkConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration.MemberFrameworkConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration.MemberFrameworkConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.MemberFrameworkConfiguration.MemberFrameworkConfiguration module Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. -- -- See: newMemberLogPublishingConfiguration smart -- constructor. data MemberLogPublishingConfiguration MemberLogPublishingConfiguration' :: Maybe MemberFabricLogPublishingConfiguration -> MemberLogPublishingConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. [$sel:fabric:MemberLogPublishingConfiguration'] :: MemberLogPublishingConfiguration -> Maybe MemberFabricLogPublishingConfiguration -- | Create a value of MemberLogPublishingConfiguration 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:fabric:MemberLogPublishingConfiguration', -- memberLogPublishingConfiguration_fabric - Configuration -- properties for logging events associated with a member of a Managed -- Blockchain network using the Hyperledger Fabric framework. newMemberLogPublishingConfiguration :: MemberLogPublishingConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. memberLogPublishingConfiguration_fabric :: Lens' MemberLogPublishingConfiguration (Maybe MemberFabricLogPublishingConfiguration) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.MemberLogPublishingConfiguration.MemberLogPublishingConfiguration module Amazonka.ManagedBlockChain.Types.MemberConfiguration -- | Configuration properties of the member. -- -- Applies only to Hyperledger Fabric. -- -- See: newMemberConfiguration smart constructor. data MemberConfiguration MemberConfiguration' :: Maybe Text -> Maybe Text -> Maybe MemberLogPublishingConfiguration -> Maybe (HashMap Text Text) -> Text -> MemberFrameworkConfiguration -> MemberConfiguration -- | An optional description of the member. [$sel:description:MemberConfiguration'] :: MemberConfiguration -> Maybe Text -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) to use for encryption at rest in the member. -- This parameter is inherited by any nodes that this member creates. For -- more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- [$sel:kmsKeyArn:MemberConfiguration'] :: MemberConfiguration -> Maybe Text -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. [$sel:logPublishingConfiguration:MemberConfiguration'] :: MemberConfiguration -> Maybe MemberLogPublishingConfiguration -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. [$sel:tags:MemberConfiguration'] :: MemberConfiguration -> Maybe (HashMap Text Text) -- | The name of the member. [$sel:name:MemberConfiguration'] :: MemberConfiguration -> Text -- | Configuration properties of the blockchain framework relevant to the -- member. [$sel:frameworkConfiguration:MemberConfiguration'] :: MemberConfiguration -> MemberFrameworkConfiguration -- | Create a value of MemberConfiguration 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:description:MemberConfiguration', -- memberConfiguration_description - An optional description of -- the member. -- -- $sel:kmsKeyArn:MemberConfiguration', -- memberConfiguration_kmsKeyArn - The Amazon Resource Name (ARN) -- of the customer managed key in Key Management Service (KMS) to use for -- encryption at rest in the member. This parameter is inherited by any -- nodes that this member creates. For more information, see -- Encryption at Rest in the Amazon Managed Blockchain -- Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- -- -- $sel:logPublishingConfiguration:MemberConfiguration', -- memberConfiguration_logPublishingConfiguration - Configuration -- properties for logging events associated with a member of a Managed -- Blockchain network. -- -- $sel:tags:MemberConfiguration', memberConfiguration_tags -- - Tags assigned to the member. Tags consist of a key and optional -- value. For more information about tags, see Tagging Resources -- in the Amazon Managed Blockchain Hyperledger Fabric Developer -- Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- $sel:name:MemberConfiguration', memberConfiguration_name -- - The name of the member. -- -- $sel:frameworkConfiguration:MemberConfiguration', -- memberConfiguration_frameworkConfiguration - Configuration -- properties of the blockchain framework relevant to the member. newMemberConfiguration :: Text -> MemberFrameworkConfiguration -> MemberConfiguration -- | An optional description of the member. memberConfiguration_description :: Lens' MemberConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) to use for encryption at rest in the member. -- This parameter is inherited by any nodes that this member creates. For -- more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- memberConfiguration_kmsKeyArn :: Lens' MemberConfiguration (Maybe Text) -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. memberConfiguration_logPublishingConfiguration :: Lens' MemberConfiguration (Maybe MemberLogPublishingConfiguration) -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. memberConfiguration_tags :: Lens' MemberConfiguration (Maybe (HashMap Text Text)) -- | The name of the member. memberConfiguration_name :: Lens' MemberConfiguration Text -- | Configuration properties of the blockchain framework relevant to the -- member. memberConfiguration_frameworkConfiguration :: Lens' MemberConfiguration MemberFrameworkConfiguration instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberConfiguration.MemberConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberConfiguration.MemberConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberConfiguration.MemberConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberConfiguration.MemberConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberConfiguration.MemberConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.MemberConfiguration.MemberConfiguration module Amazonka.ManagedBlockChain.Types.MemberStatus newtype MemberStatus MemberStatus' :: Text -> MemberStatus [fromMemberStatus] :: MemberStatus -> Text pattern MemberStatus_AVAILABLE :: MemberStatus pattern MemberStatus_CREATE_FAILED :: MemberStatus pattern MemberStatus_CREATING :: MemberStatus pattern MemberStatus_DELETED :: MemberStatus pattern MemberStatus_DELETING :: MemberStatus pattern MemberStatus_INACCESSIBLE_ENCRYPTION_KEY :: MemberStatus pattern MemberStatus_UPDATING :: MemberStatus instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberStatus.MemberStatus module Amazonka.ManagedBlockChain.Types.Member -- | Member configuration properties. -- -- Applies only to Hyperledger Fabric. -- -- See: newMember smart constructor. data Member Member' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe MemberFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe MemberLogPublishingConfiguration -> Maybe Text -> Maybe Text -> Maybe MemberStatus -> Maybe (HashMap Text Text) -> Member -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Member'] :: Member -> Maybe Text -- | The date and time that the member was created. [$sel:creationDate:Member'] :: Member -> Maybe ISO8601 -- | An optional description for the member. [$sel:description:Member'] :: Member -> Maybe Text -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. [$sel:frameworkAttributes:Member'] :: Member -> Maybe MemberFrameworkAttributes -- | The unique identifier of the member. [$sel:id:Member'] :: Member -> Maybe Text -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the member uses for encryption at rest. -- If the value of this parameter is "AWS Owned KMS Key", the -- member uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. [$sel:kmsKeyArn:Member'] :: Member -> Maybe Text -- | Configuration properties for logging events associated with a member. [$sel:logPublishingConfiguration:Member'] :: Member -> Maybe MemberLogPublishingConfiguration -- | The name of the member. [$sel:name:Member'] :: Member -> Maybe Text -- | The unique identifier of the network to which the member belongs. [$sel:networkId:Member'] :: Member -> Maybe Text -- | The status of a member. -- -- [$sel:status:Member'] :: Member -> Maybe MemberStatus -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. [$sel:tags:Member'] :: Member -> Maybe (HashMap Text Text) -- | Create a value of Member 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:Member', member_arn - The Amazon Resource Name -- (ARN) of the member. For more information about ARNs and their format, -- see Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:creationDate:Member', member_creationDate - The -- date and time that the member was created. -- -- $sel:description:Member', member_description - An -- optional description for the member. -- -- $sel:frameworkAttributes:Member', -- member_frameworkAttributes - Attributes relevant to a member -- for the blockchain framework that the Managed Blockchain network uses. -- -- $sel:id:Member', member_id - The unique identifier of -- the member. -- -- $sel:kmsKeyArn:Member', member_kmsKeyArn - The Amazon -- Resource Name (ARN) of the customer managed key in Key Management -- Service (KMS) that the member uses for encryption at rest. If the -- value of this parameter is "AWS Owned KMS Key", the member -- uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- $sel:logPublishingConfiguration:Member', -- member_logPublishingConfiguration - Configuration properties -- for logging events associated with a member. -- -- $sel:name:Member', member_name - The name of the member. -- -- $sel:networkId:Member', member_networkId - The unique -- identifier of the network to which the member belongs. -- -- $sel:status:Member', member_status - The status of a -- member. -- -- -- -- $sel:tags:Member', member_tags - Tags assigned to the -- member. Tags consist of a key and optional value. For more information -- about tags, see Tagging Resources in the Amazon Managed -- Blockchain Hyperledger Fabric Developer Guide. newMember :: Member -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. member_arn :: Lens' Member (Maybe Text) -- | The date and time that the member was created. member_creationDate :: Lens' Member (Maybe UTCTime) -- | An optional description for the member. member_description :: Lens' Member (Maybe Text) -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes) -- | The unique identifier of the member. member_id :: Lens' Member (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the member uses for encryption at rest. -- If the value of this parameter is "AWS Owned KMS Key", the -- member uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. member_kmsKeyArn :: Lens' Member (Maybe Text) -- | Configuration properties for logging events associated with a member. member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration) -- | The name of the member. member_name :: Lens' Member (Maybe Text) -- | The unique identifier of the network to which the member belongs. member_networkId :: Lens' Member (Maybe Text) -- | The status of a member. -- -- member_status :: Lens' Member (Maybe MemberStatus) -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. member_tags :: Lens' Member (Maybe (HashMap Text Text)) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Member.Member instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Member.Member instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Member.Member instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Member.Member instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Member.Member instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Member.Member instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Member.Member module Amazonka.ManagedBlockChain.Types.MemberSummary -- | A summary of configuration properties for a member. -- -- Applies only to Hyperledger Fabric. -- -- See: newMemberSummary smart constructor. data MemberSummary MemberSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe MemberStatus -> MemberSummary -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:MemberSummary'] :: MemberSummary -> Maybe Text -- | The date and time that the member was created. [$sel:creationDate:MemberSummary'] :: MemberSummary -> Maybe ISO8601 -- | An optional description of the member. [$sel:description:MemberSummary'] :: MemberSummary -> Maybe Text -- | The unique identifier of the member. [$sel:id:MemberSummary'] :: MemberSummary -> Maybe Text -- | An indicator of whether the member is owned by your Amazon Web -- Services account or a different Amazon Web Services account. [$sel:isOwned:MemberSummary'] :: MemberSummary -> Maybe Bool -- | The name of the member. [$sel:name:MemberSummary'] :: MemberSummary -> Maybe Text -- | The status of the member. -- -- [$sel:status:MemberSummary'] :: MemberSummary -> Maybe MemberStatus -- | Create a value of MemberSummary 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:MemberSummary', memberSummary_arn - The Amazon -- Resource Name (ARN) of the member. For more information about ARNs and -- their format, see Amazon Resource Names (ARNs) in the Amazon -- Web Services General Reference. -- -- $sel:creationDate:MemberSummary', -- memberSummary_creationDate - The date and time that the member -- was created. -- -- $sel:description:MemberSummary', -- memberSummary_description - An optional description of the -- member. -- -- $sel:id:MemberSummary', memberSummary_id - The unique -- identifier of the member. -- -- $sel:isOwned:MemberSummary', memberSummary_isOwned - An -- indicator of whether the member is owned by your Amazon Web Services -- account or a different Amazon Web Services account. -- -- $sel:name:MemberSummary', memberSummary_name - The name -- of the member. -- -- $sel:status:MemberSummary', memberSummary_status - The -- status of the member. -- -- newMemberSummary :: MemberSummary -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. memberSummary_arn :: Lens' MemberSummary (Maybe Text) -- | The date and time that the member was created. memberSummary_creationDate :: Lens' MemberSummary (Maybe UTCTime) -- | An optional description of the member. memberSummary_description :: Lens' MemberSummary (Maybe Text) -- | The unique identifier of the member. memberSummary_id :: Lens' MemberSummary (Maybe Text) -- | An indicator of whether the member is owned by your Amazon Web -- Services account or a different Amazon Web Services account. memberSummary_isOwned :: Lens' MemberSummary (Maybe Bool) -- | The name of the member. memberSummary_name :: Lens' MemberSummary (Maybe Text) -- | The status of the member. -- -- memberSummary_status :: Lens' MemberSummary (Maybe MemberStatus) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.MemberSummary.MemberSummary instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.MemberSummary.MemberSummary instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.MemberSummary.MemberSummary instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.MemberSummary.MemberSummary instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.MemberSummary.MemberSummary instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.MemberSummary.MemberSummary instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.MemberSummary.MemberSummary module Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes -- | Attributes of Ethereum for a network. -- -- See: newNetworkEthereumAttributes smart constructor. data NetworkEthereumAttributes NetworkEthereumAttributes' :: Maybe Text -> NetworkEthereumAttributes -- | The Ethereum CHAIN_ID associated with the Ethereum network. -- Chain IDs are as follows: -- -- [$sel:chainId:NetworkEthereumAttributes'] :: NetworkEthereumAttributes -> Maybe Text -- | Create a value of NetworkEthereumAttributes 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:chainId:NetworkEthereumAttributes', -- networkEthereumAttributes_chainId - The Ethereum -- CHAIN_ID associated with the Ethereum network. Chain IDs are -- as follows: -- -- newNetworkEthereumAttributes :: NetworkEthereumAttributes -- | The Ethereum CHAIN_ID associated with the Ethereum network. -- Chain IDs are as follows: -- -- networkEthereumAttributes_chainId :: Lens' NetworkEthereumAttributes (Maybe Text) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes.NetworkEthereumAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes.NetworkEthereumAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes.NetworkEthereumAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes.NetworkEthereumAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes.NetworkEthereumAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes.NetworkEthereumAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NetworkEthereumAttributes.NetworkEthereumAttributes module Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes -- | Attributes of Hyperledger Fabric for a network. -- -- See: newNetworkFabricAttributes smart constructor. data NetworkFabricAttributes NetworkFabricAttributes' :: Maybe Edition -> Maybe Text -> NetworkFabricAttributes -- | The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. -- For more information, see Amazon Managed Blockchain Pricing. [$sel:edition:NetworkFabricAttributes'] :: NetworkFabricAttributes -> Maybe Edition -- | The endpoint of the ordering service for the network. [$sel:orderingServiceEndpoint:NetworkFabricAttributes'] :: NetworkFabricAttributes -> Maybe Text -- | Create a value of NetworkFabricAttributes 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:edition:NetworkFabricAttributes', -- networkFabricAttributes_edition - The edition of Amazon Managed -- Blockchain that Hyperledger Fabric uses. For more information, see -- Amazon Managed Blockchain Pricing. -- -- $sel:orderingServiceEndpoint:NetworkFabricAttributes', -- networkFabricAttributes_orderingServiceEndpoint - The endpoint -- of the ordering service for the network. newNetworkFabricAttributes :: NetworkFabricAttributes -- | The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. -- For more information, see Amazon Managed Blockchain Pricing. networkFabricAttributes_edition :: Lens' NetworkFabricAttributes (Maybe Edition) -- | The endpoint of the ordering service for the network. networkFabricAttributes_orderingServiceEndpoint :: Lens' NetworkFabricAttributes (Maybe Text) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes.NetworkFabricAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes.NetworkFabricAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes.NetworkFabricAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes.NetworkFabricAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes.NetworkFabricAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes.NetworkFabricAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NetworkFabricAttributes.NetworkFabricAttributes module Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration -- | Hyperledger Fabric configuration properties for the network. -- -- See: newNetworkFabricConfiguration smart constructor. data NetworkFabricConfiguration NetworkFabricConfiguration' :: Edition -> NetworkFabricConfiguration -- | The edition of Amazon Managed Blockchain that the network uses. For -- more information, see Amazon Managed Blockchain Pricing. [$sel:edition:NetworkFabricConfiguration'] :: NetworkFabricConfiguration -> Edition -- | Create a value of NetworkFabricConfiguration 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:edition:NetworkFabricConfiguration', -- networkFabricConfiguration_edition - The edition of Amazon -- Managed Blockchain that the network uses. For more information, see -- Amazon Managed Blockchain Pricing. newNetworkFabricConfiguration :: Edition -> NetworkFabricConfiguration -- | The edition of Amazon Managed Blockchain that the network uses. For -- more information, see Amazon Managed Blockchain Pricing. networkFabricConfiguration_edition :: Lens' NetworkFabricConfiguration Edition instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration.NetworkFabricConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration.NetworkFabricConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration.NetworkFabricConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration.NetworkFabricConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration.NetworkFabricConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration.NetworkFabricConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.NetworkFabricConfiguration.NetworkFabricConfiguration module Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes -- | Attributes relevant to the network for the blockchain framework that -- the network uses. -- -- See: newNetworkFrameworkAttributes smart constructor. data NetworkFrameworkAttributes NetworkFrameworkAttributes' :: Maybe NetworkEthereumAttributes -> Maybe NetworkFabricAttributes -> NetworkFrameworkAttributes -- | Attributes of an Ethereum network for Managed Blockchain resources -- participating in an Ethereum network. [$sel:ethereum:NetworkFrameworkAttributes'] :: NetworkFrameworkAttributes -> Maybe NetworkEthereumAttributes -- | Attributes of Hyperledger Fabric for a Managed Blockchain network that -- uses Hyperledger Fabric. [$sel:fabric:NetworkFrameworkAttributes'] :: NetworkFrameworkAttributes -> Maybe NetworkFabricAttributes -- | Create a value of NetworkFrameworkAttributes 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:ethereum:NetworkFrameworkAttributes', -- networkFrameworkAttributes_ethereum - Attributes of an Ethereum -- network for Managed Blockchain resources participating in an Ethereum -- network. -- -- $sel:fabric:NetworkFrameworkAttributes', -- networkFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric for a Managed Blockchain network that uses Hyperledger Fabric. newNetworkFrameworkAttributes :: NetworkFrameworkAttributes -- | Attributes of an Ethereum network for Managed Blockchain resources -- participating in an Ethereum network. networkFrameworkAttributes_ethereum :: Lens' NetworkFrameworkAttributes (Maybe NetworkEthereumAttributes) -- | Attributes of Hyperledger Fabric for a Managed Blockchain network that -- uses Hyperledger Fabric. networkFrameworkAttributes_fabric :: Lens' NetworkFrameworkAttributes (Maybe NetworkFabricAttributes) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes.NetworkFrameworkAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes.NetworkFrameworkAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes.NetworkFrameworkAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes.NetworkFrameworkAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes.NetworkFrameworkAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes.NetworkFrameworkAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NetworkFrameworkAttributes.NetworkFrameworkAttributes module Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration -- | Configuration properties relevant to the network for the blockchain -- framework that the network uses. -- -- See: newNetworkFrameworkConfiguration smart constructor. data NetworkFrameworkConfiguration NetworkFrameworkConfiguration' :: Maybe NetworkFabricConfiguration -> NetworkFrameworkConfiguration -- | Hyperledger Fabric configuration properties for a Managed Blockchain -- network that uses Hyperledger Fabric. [$sel:fabric:NetworkFrameworkConfiguration'] :: NetworkFrameworkConfiguration -> Maybe NetworkFabricConfiguration -- | Create a value of NetworkFrameworkConfiguration 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:fabric:NetworkFrameworkConfiguration', -- networkFrameworkConfiguration_fabric - Hyperledger Fabric -- configuration properties for a Managed Blockchain network that uses -- Hyperledger Fabric. newNetworkFrameworkConfiguration :: NetworkFrameworkConfiguration -- | Hyperledger Fabric configuration properties for a Managed Blockchain -- network that uses Hyperledger Fabric. networkFrameworkConfiguration_fabric :: Lens' NetworkFrameworkConfiguration (Maybe NetworkFabricConfiguration) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration.NetworkFrameworkConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration.NetworkFrameworkConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration.NetworkFrameworkConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration.NetworkFrameworkConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration.NetworkFrameworkConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration.NetworkFrameworkConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.NetworkFrameworkConfiguration.NetworkFrameworkConfiguration module Amazonka.ManagedBlockChain.Types.NetworkStatus newtype NetworkStatus NetworkStatus' :: Text -> NetworkStatus [fromNetworkStatus] :: NetworkStatus -> Text pattern NetworkStatus_AVAILABLE :: NetworkStatus pattern NetworkStatus_CREATE_FAILED :: NetworkStatus pattern NetworkStatus_CREATING :: NetworkStatus pattern NetworkStatus_DELETED :: NetworkStatus pattern NetworkStatus_DELETING :: NetworkStatus instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NetworkStatus.NetworkStatus module Amazonka.ManagedBlockChain.Types.NetworkSummary -- | A summary of network configuration properties. -- -- See: newNetworkSummary smart constructor. data NetworkSummary NetworkSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Framework -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> NetworkSummary -- | 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:arn:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The date and time that the network was created. [$sel:creationDate:NetworkSummary'] :: NetworkSummary -> Maybe ISO8601 -- | An optional description of the network. [$sel:description:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The blockchain framework that the network uses. [$sel:framework:NetworkSummary'] :: NetworkSummary -> Maybe Framework -- | The version of the blockchain framework that the network uses. [$sel:frameworkVersion:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The unique identifier of the network. [$sel:id:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The name of the network. [$sel:name:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The current status of the network. [$sel:status:NetworkSummary'] :: NetworkSummary -> Maybe NetworkStatus -- | Create a value of NetworkSummary 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:NetworkSummary', networkSummary_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:NetworkSummary', -- networkSummary_creationDate - The date and time that the -- network was created. -- -- $sel:description:NetworkSummary', -- networkSummary_description - An optional description of the -- network. -- -- $sel:framework:NetworkSummary', networkSummary_framework -- - The blockchain framework that the network uses. -- -- $sel:frameworkVersion:NetworkSummary', -- networkSummary_frameworkVersion - The version of the blockchain -- framework that the network uses. -- -- $sel:id:NetworkSummary', networkSummary_id - The unique -- identifier of the network. -- -- $sel:name:NetworkSummary', networkSummary_name - The -- name of the network. -- -- $sel:status:NetworkSummary', networkSummary_status - The -- current status of the network. newNetworkSummary :: NetworkSummary -- | 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. networkSummary_arn :: Lens' NetworkSummary (Maybe Text) -- | The date and time that the network was created. networkSummary_creationDate :: Lens' NetworkSummary (Maybe UTCTime) -- | An optional description of the network. networkSummary_description :: Lens' NetworkSummary (Maybe Text) -- | The blockchain framework that the network uses. networkSummary_framework :: Lens' NetworkSummary (Maybe Framework) -- | The version of the blockchain framework that the network uses. networkSummary_frameworkVersion :: Lens' NetworkSummary (Maybe Text) -- | The unique identifier of the network. networkSummary_id :: Lens' NetworkSummary (Maybe Text) -- | The name of the network. networkSummary_name :: Lens' NetworkSummary (Maybe Text) -- | The current status of the network. networkSummary_status :: Lens' NetworkSummary (Maybe NetworkStatus) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NetworkSummary.NetworkSummary instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NetworkSummary.NetworkSummary instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NetworkSummary.NetworkSummary instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NetworkSummary.NetworkSummary instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NetworkSummary.NetworkSummary instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NetworkSummary.NetworkSummary instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NetworkSummary.NetworkSummary module Amazonka.ManagedBlockChain.Types.Invitation -- | An invitation to an Amazon Web Services account to create a member and -- join the network. -- -- Applies only to Hyperledger Fabric. -- -- See: newInvitation smart constructor. data Invitation Invitation' :: Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe Text -> Maybe NetworkSummary -> Maybe InvitationStatus -> Invitation -- | The Amazon Resource Name (ARN) of the invitation. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Invitation'] :: Invitation -> Maybe Text -- | The date and time that the invitation was created. [$sel:creationDate:Invitation'] :: Invitation -> Maybe ISO8601 -- | The date and time that the invitation expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, the invitee can no longer create a member and join the -- network using this InvitationId. [$sel:expirationDate:Invitation'] :: Invitation -> Maybe ISO8601 -- | The unique identifier for the invitation. [$sel:invitationId:Invitation'] :: Invitation -> Maybe Text [$sel:networkSummary:Invitation'] :: Invitation -> Maybe NetworkSummary -- | The status of the invitation: -- -- [$sel:status:Invitation'] :: Invitation -> Maybe InvitationStatus -- | Create a value of Invitation 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: -- -- Invitation, invitation_arn - The Amazon Resource Name -- (ARN) of the invitation. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- Invitation, invitation_creationDate - The date and time -- that the invitation was created. -- -- $sel:expirationDate:Invitation', -- invitation_expirationDate - The date and time that the -- invitation expires. This is the CreationDate plus the -- ProposalDurationInHours that is specified in the -- ProposalThresholdPolicy. After this date and time, the -- invitee can no longer create a member and join the network using this -- InvitationId. -- -- $sel:invitationId:Invitation', invitation_invitationId - -- The unique identifier for the invitation. -- -- $sel:networkSummary:Invitation', -- invitation_networkSummary - Undocumented member. -- -- Invitation, invitation_status - The status of the -- invitation: -- -- newInvitation :: Invitation -- | The Amazon Resource Name (ARN) of the invitation. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. invitation_arn :: Lens' Invitation (Maybe Text) -- | The date and time that the invitation was created. invitation_creationDate :: Lens' Invitation (Maybe UTCTime) -- | The date and time that the invitation expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, the invitee can no longer create a member and join the -- network using this InvitationId. invitation_expirationDate :: Lens' Invitation (Maybe UTCTime) -- | The unique identifier for the invitation. invitation_invitationId :: Lens' Invitation (Maybe Text) -- | Undocumented member. invitation_networkSummary :: Lens' Invitation (Maybe NetworkSummary) -- | The status of the invitation: -- -- invitation_status :: Lens' Invitation (Maybe InvitationStatus) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Invitation.Invitation instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Invitation.Invitation instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Invitation.Invitation instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Invitation.Invitation instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Invitation.Invitation instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Invitation.Invitation instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Invitation.Invitation module Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes -- | Attributes of an Ethereum node. -- -- See: newNodeEthereumAttributes smart constructor. data NodeEthereumAttributes NodeEthereumAttributes' :: Maybe Text -> Maybe Text -> NodeEthereumAttributes -- | The endpoint on which the Ethereum node listens to run Ethereum API -- methods over HTTP connections from a client. Use this endpoint in -- client code for smart contracts when using an HTTP connection. -- Connections to this endpoint are authenticated using Signature -- Version 4. [$sel:httpEndpoint:NodeEthereumAttributes'] :: NodeEthereumAttributes -> Maybe Text -- | The endpoint on which the Ethereum node listens to run Ethereum -- JSON-RPC methods over WebSocket connections from a client. Use this -- endpoint in client code for smart contracts when using a WebSocket -- connection. Connections to this endpoint are authenticated using -- Signature Version 4. [$sel:webSocketEndpoint:NodeEthereumAttributes'] :: NodeEthereumAttributes -> Maybe Text -- | Create a value of NodeEthereumAttributes 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:httpEndpoint:NodeEthereumAttributes', -- nodeEthereumAttributes_httpEndpoint - The endpoint on which the -- Ethereum node listens to run Ethereum API methods over HTTP -- connections from a client. Use this endpoint in client code for smart -- contracts when using an HTTP connection. Connections to this endpoint -- are authenticated using Signature Version 4. -- -- $sel:webSocketEndpoint:NodeEthereumAttributes', -- nodeEthereumAttributes_webSocketEndpoint - The endpoint on -- which the Ethereum node listens to run Ethereum JSON-RPC methods over -- WebSocket connections from a client. Use this endpoint in client code -- for smart contracts when using a WebSocket connection. Connections to -- this endpoint are authenticated using Signature Version 4. newNodeEthereumAttributes :: NodeEthereumAttributes -- | The endpoint on which the Ethereum node listens to run Ethereum API -- methods over HTTP connections from a client. Use this endpoint in -- client code for smart contracts when using an HTTP connection. -- Connections to this endpoint are authenticated using Signature -- Version 4. nodeEthereumAttributes_httpEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) -- | The endpoint on which the Ethereum node listens to run Ethereum -- JSON-RPC methods over WebSocket connections from a client. Use this -- endpoint in client code for smart contracts when using a WebSocket -- connection. Connections to this endpoint are authenticated using -- Signature Version 4. nodeEthereumAttributes_webSocketEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes.NodeEthereumAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes.NodeEthereumAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes.NodeEthereumAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes.NodeEthereumAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes.NodeEthereumAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes.NodeEthereumAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeEthereumAttributes.NodeEthereumAttributes module Amazonka.ManagedBlockChain.Types.NodeFabricAttributes -- | Attributes of Hyperledger Fabric for a peer node on a Hyperledger -- Fabric network on Managed Blockchain. -- -- See: newNodeFabricAttributes smart constructor. data NodeFabricAttributes NodeFabricAttributes' :: Maybe Text -> Maybe Text -> NodeFabricAttributes -- | The endpoint that identifies the peer node for all services except -- peer channel-based event services. [$sel:peerEndpoint:NodeFabricAttributes'] :: NodeFabricAttributes -> Maybe Text -- | The endpoint that identifies the peer node for peer channel-based -- event services. [$sel:peerEventEndpoint:NodeFabricAttributes'] :: NodeFabricAttributes -> Maybe Text -- | Create a value of NodeFabricAttributes 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:peerEndpoint:NodeFabricAttributes', -- nodeFabricAttributes_peerEndpoint - The endpoint that -- identifies the peer node for all services except peer channel-based -- event services. -- -- $sel:peerEventEndpoint:NodeFabricAttributes', -- nodeFabricAttributes_peerEventEndpoint - The endpoint that -- identifies the peer node for peer channel-based event services. newNodeFabricAttributes :: NodeFabricAttributes -- | The endpoint that identifies the peer node for all services except -- peer channel-based event services. nodeFabricAttributes_peerEndpoint :: Lens' NodeFabricAttributes (Maybe Text) -- | The endpoint that identifies the peer node for peer channel-based -- event services. nodeFabricAttributes_peerEventEndpoint :: Lens' NodeFabricAttributes (Maybe Text) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeFabricAttributes.NodeFabricAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeFabricAttributes.NodeFabricAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeFabricAttributes.NodeFabricAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeFabricAttributes.NodeFabricAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NodeFabricAttributes.NodeFabricAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeFabricAttributes.NodeFabricAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeFabricAttributes.NodeFabricAttributes module Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with a peer -- node owned by a member in a Managed Blockchain network. -- -- See: newNodeFabricLogPublishingConfiguration smart -- constructor. data NodeFabricLogPublishingConfiguration NodeFabricLogPublishingConfiguration' :: Maybe LogConfigurations -> Maybe LogConfigurations -> NodeFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. [$sel:chaincodeLogs:NodeFabricLogPublishingConfiguration'] :: NodeFabricLogPublishingConfiguration -> Maybe LogConfigurations -- | Configuration properties for a peer node log. Peer node logs contain -- messages generated when your client submits transaction proposals to -- peer nodes, requests to join channels, enrolls an admin peer, and -- lists the chaincode instances on a peer node. [$sel:peerLogs:NodeFabricLogPublishingConfiguration'] :: NodeFabricLogPublishingConfiguration -> Maybe LogConfigurations -- | Create a value of NodeFabricLogPublishingConfiguration 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:chaincodeLogs:NodeFabricLogPublishingConfiguration', -- nodeFabricLogPublishingConfiguration_chaincodeLogs - -- Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. -- -- $sel:peerLogs:NodeFabricLogPublishingConfiguration', -- nodeFabricLogPublishingConfiguration_peerLogs - Configuration -- properties for a peer node log. Peer node logs contain messages -- generated when your client submits transaction proposals to peer -- nodes, requests to join channels, enrolls an admin peer, and lists the -- chaincode instances on a peer node. newNodeFabricLogPublishingConfiguration :: NodeFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. nodeFabricLogPublishingConfiguration_chaincodeLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) -- | Configuration properties for a peer node log. Peer node logs contain -- messages generated when your client submits transaction proposals to -- peer nodes, requests to join channels, enrolls an admin peer, and -- lists the chaincode instances on a peer node. nodeFabricLogPublishingConfiguration_peerLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.NodeFabricLogPublishingConfiguration.NodeFabricLogPublishingConfiguration module Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes -- | Attributes relevant to a node on a Managed Blockchain network for the -- blockchain framework that the network uses. -- -- See: newNodeFrameworkAttributes smart constructor. data NodeFrameworkAttributes NodeFrameworkAttributes' :: Maybe NodeEthereumAttributes -> Maybe NodeFabricAttributes -> NodeFrameworkAttributes -- | Attributes of Ethereum for a node on a Managed Blockchain network that -- uses Ethereum. [$sel:ethereum:NodeFrameworkAttributes'] :: NodeFrameworkAttributes -> Maybe NodeEthereumAttributes -- | Attributes of Hyperledger Fabric for a peer node on a Managed -- Blockchain network that uses Hyperledger Fabric. [$sel:fabric:NodeFrameworkAttributes'] :: NodeFrameworkAttributes -> Maybe NodeFabricAttributes -- | Create a value of NodeFrameworkAttributes 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:ethereum:NodeFrameworkAttributes', -- nodeFrameworkAttributes_ethereum - Attributes of Ethereum for a -- node on a Managed Blockchain network that uses Ethereum. -- -- $sel:fabric:NodeFrameworkAttributes', -- nodeFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric for a peer node on a Managed Blockchain network that uses -- Hyperledger Fabric. newNodeFrameworkAttributes :: NodeFrameworkAttributes -- | Attributes of Ethereum for a node on a Managed Blockchain network that -- uses Ethereum. nodeFrameworkAttributes_ethereum :: Lens' NodeFrameworkAttributes (Maybe NodeEthereumAttributes) -- | Attributes of Hyperledger Fabric for a peer node on a Managed -- Blockchain network that uses Hyperledger Fabric. nodeFrameworkAttributes_fabric :: Lens' NodeFrameworkAttributes (Maybe NodeFabricAttributes) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes.NodeFrameworkAttributes instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes.NodeFrameworkAttributes instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes.NodeFrameworkAttributes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes.NodeFrameworkAttributes instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes.NodeFrameworkAttributes instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes.NodeFrameworkAttributes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeFrameworkAttributes.NodeFrameworkAttributes module Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. -- -- See: newNodeLogPublishingConfiguration smart -- constructor. data NodeLogPublishingConfiguration NodeLogPublishingConfiguration' :: Maybe NodeFabricLogPublishingConfiguration -> NodeLogPublishingConfiguration -- | Configuration properties for logging events associated with a node -- that is owned by a member of a Managed Blockchain network using the -- Hyperledger Fabric framework. [$sel:fabric:NodeLogPublishingConfiguration'] :: NodeLogPublishingConfiguration -> Maybe NodeFabricLogPublishingConfiguration -- | Create a value of NodeLogPublishingConfiguration 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:fabric:NodeLogPublishingConfiguration', -- nodeLogPublishingConfiguration_fabric - Configuration -- properties for logging events associated with a node that is owned by -- a member of a Managed Blockchain network using the Hyperledger Fabric -- framework. newNodeLogPublishingConfiguration :: NodeLogPublishingConfiguration -- | Configuration properties for logging events associated with a node -- that is owned by a member of a Managed Blockchain network using the -- Hyperledger Fabric framework. nodeLogPublishingConfiguration_fabric :: Lens' NodeLogPublishingConfiguration (Maybe NodeFabricLogPublishingConfiguration) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.NodeLogPublishingConfiguration.NodeLogPublishingConfiguration module Amazonka.ManagedBlockChain.Types.NodeStatus newtype NodeStatus NodeStatus' :: Text -> NodeStatus [fromNodeStatus] :: NodeStatus -> Text pattern NodeStatus_AVAILABLE :: NodeStatus pattern NodeStatus_CREATE_FAILED :: NodeStatus pattern NodeStatus_CREATING :: NodeStatus pattern NodeStatus_DELETED :: NodeStatus pattern NodeStatus_DELETING :: NodeStatus pattern NodeStatus_FAILED :: NodeStatus pattern NodeStatus_INACCESSIBLE_ENCRYPTION_KEY :: NodeStatus pattern NodeStatus_UNHEALTHY :: NodeStatus pattern NodeStatus_UPDATING :: NodeStatus instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeStatus.NodeStatus module Amazonka.ManagedBlockChain.Types.NodeSummary -- | A summary of configuration properties for a node. -- -- See: newNodeSummary smart constructor. data NodeSummary NodeSummary' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe NodeStatus -> NodeSummary -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. [$sel:arn:NodeSummary'] :: NodeSummary -> Maybe Text -- | The Availability Zone in which the node exists. [$sel:availabilityZone:NodeSummary'] :: NodeSummary -> Maybe Text -- | The date and time that the node was created. [$sel:creationDate:NodeSummary'] :: NodeSummary -> Maybe ISO8601 -- | The unique identifier of the node. [$sel:id:NodeSummary'] :: NodeSummary -> Maybe Text -- | The EC2 instance type for the node. [$sel:instanceType:NodeSummary'] :: NodeSummary -> Maybe Text -- | The status of the node. [$sel:status:NodeSummary'] :: NodeSummary -> Maybe NodeStatus -- | Create a value of NodeSummary 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:NodeSummary', nodeSummary_arn - The Amazon -- Resource Name (ARN) of the node. For more information about ARNs and -- their format, see Amazon Resource Names (ARNs) in the Amazon -- Web Services General Reference. -- -- $sel:availabilityZone:NodeSummary', -- nodeSummary_availabilityZone - The Availability Zone in which -- the node exists. -- -- $sel:creationDate:NodeSummary', nodeSummary_creationDate -- - The date and time that the node was created. -- -- $sel:id:NodeSummary', nodeSummary_id - The unique -- identifier of the node. -- -- $sel:instanceType:NodeSummary', nodeSummary_instanceType -- - The EC2 instance type for the node. -- -- $sel:status:NodeSummary', nodeSummary_status - The -- status of the node. newNodeSummary :: NodeSummary -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. nodeSummary_arn :: Lens' NodeSummary (Maybe Text) -- | The Availability Zone in which the node exists. nodeSummary_availabilityZone :: Lens' NodeSummary (Maybe Text) -- | The date and time that the node was created. nodeSummary_creationDate :: Lens' NodeSummary (Maybe UTCTime) -- | The unique identifier of the node. nodeSummary_id :: Lens' NodeSummary (Maybe Text) -- | The EC2 instance type for the node. nodeSummary_instanceType :: Lens' NodeSummary (Maybe Text) -- | The status of the node. nodeSummary_status :: Lens' NodeSummary (Maybe NodeStatus) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeSummary.NodeSummary instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeSummary.NodeSummary instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeSummary.NodeSummary instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeSummary.NodeSummary instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.NodeSummary.NodeSummary instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeSummary.NodeSummary instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeSummary.NodeSummary module Amazonka.ManagedBlockChain.Types.ProposalStatus newtype ProposalStatus ProposalStatus' :: Text -> ProposalStatus [fromProposalStatus] :: ProposalStatus -> Text pattern ProposalStatus_ACTION_FAILED :: ProposalStatus pattern ProposalStatus_APPROVED :: ProposalStatus pattern ProposalStatus_EXPIRED :: ProposalStatus pattern ProposalStatus_IN_PROGRESS :: ProposalStatus pattern ProposalStatus_REJECTED :: ProposalStatus instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.ProposalStatus.ProposalStatus module Amazonka.ManagedBlockChain.Types.ProposalSummary -- | Properties of a proposal. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposalSummary smart constructor. data ProposalSummary ProposalSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ProposalStatus -> ProposalSummary -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The date and time that the proposal was created. [$sel:creationDate:ProposalSummary'] :: ProposalSummary -> Maybe ISO8601 -- | The description of the proposal. [$sel:description:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. [$sel:expirationDate:ProposalSummary'] :: ProposalSummary -> Maybe ISO8601 -- | The unique identifier of the proposal. [$sel:proposalId:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The unique identifier of the member that created the proposal. [$sel:proposedByMemberId:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The name of the member that created the proposal. [$sel:proposedByMemberName:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The status of the proposal. Values are as follows: -- -- [$sel:status:ProposalSummary'] :: ProposalSummary -> Maybe ProposalStatus -- | Create a value of ProposalSummary 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:ProposalSummary', proposalSummary_arn - The -- Amazon Resource Name (ARN) of the proposal. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. -- -- $sel:creationDate:ProposalSummary', -- proposalSummary_creationDate - The date and time that the -- proposal was created. -- -- $sel:description:ProposalSummary', -- proposalSummary_description - The description of the proposal. -- -- $sel:expirationDate:ProposalSummary', -- proposalSummary_expirationDate - The date and time that the -- proposal expires. This is the CreationDate plus the -- ProposalDurationInHours that is specified in the -- ProposalThresholdPolicy. After this date and time, if members -- haven't cast enough votes to determine the outcome according to the -- voting policy, the proposal is EXPIRED and Actions -- aren't carried out. -- -- $sel:proposalId:ProposalSummary', -- proposalSummary_proposalId - The unique identifier of the -- proposal. -- -- $sel:proposedByMemberId:ProposalSummary', -- proposalSummary_proposedByMemberId - The unique identifier of -- the member that created the proposal. -- -- $sel:proposedByMemberName:ProposalSummary', -- proposalSummary_proposedByMemberName - The name of the member -- that created the proposal. -- -- $sel:status:ProposalSummary', proposalSummary_status - -- The status of the proposal. Values are as follows: -- -- newProposalSummary :: ProposalSummary -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. proposalSummary_arn :: Lens' ProposalSummary (Maybe Text) -- | The date and time that the proposal was created. proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime) -- | The description of the proposal. proposalSummary_description :: Lens' ProposalSummary (Maybe Text) -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime) -- | The unique identifier of the proposal. proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text) -- | The unique identifier of the member that created the proposal. proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text) -- | The name of the member that created the proposal. proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text) -- | The status of the proposal. Values are as follows: -- -- proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.ProposalSummary.ProposalSummary instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.ProposalSummary.ProposalSummary instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.ProposalSummary.ProposalSummary instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.ProposalSummary.ProposalSummary instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.ProposalSummary.ProposalSummary instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.ProposalSummary.ProposalSummary instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.ProposalSummary.ProposalSummary module Amazonka.ManagedBlockChain.Types.RemoveAction -- | An action to remove a member from a Managed Blockchain network as the -- result of a removal proposal that is APPROVED. The member and -- all associated resources are deleted from the network. -- -- Applies only to Hyperledger Fabric. -- -- See: newRemoveAction smart constructor. data RemoveAction RemoveAction' :: Text -> RemoveAction -- | The unique identifier of the member to remove. [$sel:memberId:RemoveAction'] :: RemoveAction -> Text -- | Create a value of RemoveAction 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:memberId:RemoveAction', removeAction_memberId - The -- unique identifier of the member to remove. newRemoveAction :: Text -> RemoveAction -- | The unique identifier of the member to remove. removeAction_memberId :: Lens' RemoveAction Text instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.RemoveAction.RemoveAction module Amazonka.ManagedBlockChain.Types.ProposalActions -- | The actions to carry out if a proposal is APPROVED. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposalActions smart constructor. data ProposalActions ProposalActions' :: Maybe [InviteAction] -> Maybe [RemoveAction] -> ProposalActions -- | The actions to perform for an APPROVED proposal to invite an -- Amazon Web Services account to create a member and join the network. [$sel:invitations:ProposalActions'] :: ProposalActions -> Maybe [InviteAction] -- | The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. [$sel:removals:ProposalActions'] :: ProposalActions -> Maybe [RemoveAction] -- | Create a value of ProposalActions 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:invitations:ProposalActions', -- proposalActions_invitations - The actions to perform for an -- APPROVED proposal to invite an Amazon Web Services account to -- create a member and join the network. -- -- $sel:removals:ProposalActions', proposalActions_removals -- - The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. newProposalActions :: ProposalActions -- | The actions to perform for an APPROVED proposal to invite an -- Amazon Web Services account to create a member and join the network. proposalActions_invitations :: Lens' ProposalActions (Maybe [InviteAction]) -- | The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. proposalActions_removals :: Lens' ProposalActions (Maybe [RemoveAction]) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.ProposalActions.ProposalActions module Amazonka.ManagedBlockChain.Types.Proposal -- | Properties of a proposal on a Managed Blockchain network. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposal smart constructor. data Proposal Proposal' :: Maybe ProposalActions -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ProposalStatus -> Maybe (HashMap Text Text) -> Maybe Int -> Proposal -- | The actions to perform on the network if the proposal is -- APPROVED. [$sel:actions:Proposal'] :: Proposal -> Maybe ProposalActions -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Proposal'] :: Proposal -> Maybe Text -- | The date and time that the proposal was created. [$sel:creationDate:Proposal'] :: Proposal -> Maybe ISO8601 -- | The description of the proposal. [$sel:description:Proposal'] :: Proposal -> Maybe Text -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. [$sel:expirationDate:Proposal'] :: Proposal -> Maybe ISO8601 -- | The unique identifier of the network for which the proposal is made. [$sel:networkId:Proposal'] :: Proposal -> Maybe Text -- | The current total of NO votes cast on the proposal by -- members. [$sel:noVoteCount:Proposal'] :: Proposal -> Maybe Int -- | The number of votes remaining to be cast on the proposal by members. -- In other words, the number of members minus the sum of YES -- votes and NO votes. [$sel:outstandingVoteCount:Proposal'] :: Proposal -> Maybe Int -- | The unique identifier of the proposal. [$sel:proposalId:Proposal'] :: Proposal -> Maybe Text -- | The unique identifier of the member that created the proposal. [$sel:proposedByMemberId:Proposal'] :: Proposal -> Maybe Text -- | The name of the member that created the proposal. [$sel:proposedByMemberName:Proposal'] :: Proposal -> Maybe Text -- | The status of the proposal. Values are as follows: -- -- [$sel:status:Proposal'] :: Proposal -> Maybe ProposalStatus -- | Tags assigned to the proposal. 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:tags:Proposal'] :: Proposal -> Maybe (HashMap Text Text) -- | The current total of YES votes cast on the proposal by -- members. [$sel:yesVoteCount:Proposal'] :: Proposal -> Maybe Int -- | Create a value of Proposal 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:actions:Proposal', proposal_actions - The actions -- to perform on the network if the proposal is APPROVED. -- -- $sel:arn:Proposal', proposal_arn - The Amazon Resource -- Name (ARN) of the proposal. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- $sel:creationDate:Proposal', proposal_creationDate - The -- date and time that the proposal was created. -- -- $sel:description:Proposal', proposal_description - The -- description of the proposal. -- -- $sel:expirationDate:Proposal', proposal_expirationDate - -- The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. -- -- $sel:networkId:Proposal', proposal_networkId - The -- unique identifier of the network for which the proposal is made. -- -- $sel:noVoteCount:Proposal', proposal_noVoteCount - The -- current total of NO votes cast on the proposal by members. -- -- $sel:outstandingVoteCount:Proposal', -- proposal_outstandingVoteCount - The number of votes remaining -- to be cast on the proposal by members. In other words, the number of -- members minus the sum of YES votes and NO votes. -- -- $sel:proposalId:Proposal', proposal_proposalId - The -- unique identifier of the proposal. -- -- $sel:proposedByMemberId:Proposal', -- proposal_proposedByMemberId - The unique identifier of the -- member that created the proposal. -- -- $sel:proposedByMemberName:Proposal', -- proposal_proposedByMemberName - The name of the member that -- created the proposal. -- -- $sel:status:Proposal', proposal_status - The status of -- the proposal. Values are as follows: -- -- -- -- $sel:tags:Proposal', proposal_tags - Tags assigned to -- the proposal. 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:yesVoteCount:Proposal', proposal_yesVoteCount - The -- current total of YES votes cast on the proposal by members. newProposal :: Proposal -- | The actions to perform on the network if the proposal is -- APPROVED. proposal_actions :: Lens' Proposal (Maybe ProposalActions) -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. proposal_arn :: Lens' Proposal (Maybe Text) -- | The date and time that the proposal was created. proposal_creationDate :: Lens' Proposal (Maybe UTCTime) -- | The description of the proposal. proposal_description :: Lens' Proposal (Maybe Text) -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. proposal_expirationDate :: Lens' Proposal (Maybe UTCTime) -- | The unique identifier of the network for which the proposal is made. proposal_networkId :: Lens' Proposal (Maybe Text) -- | The current total of NO votes cast on the proposal by -- members. proposal_noVoteCount :: Lens' Proposal (Maybe Int) -- | The number of votes remaining to be cast on the proposal by members. -- In other words, the number of members minus the sum of YES -- votes and NO votes. proposal_outstandingVoteCount :: Lens' Proposal (Maybe Int) -- | The unique identifier of the proposal. proposal_proposalId :: Lens' Proposal (Maybe Text) -- | The unique identifier of the member that created the proposal. proposal_proposedByMemberId :: Lens' Proposal (Maybe Text) -- | The name of the member that created the proposal. proposal_proposedByMemberName :: Lens' Proposal (Maybe Text) -- | The status of the proposal. Values are as follows: -- -- proposal_status :: Lens' Proposal (Maybe ProposalStatus) -- | Tags assigned to the proposal. 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. proposal_tags :: Lens' Proposal (Maybe (HashMap Text Text)) -- | The current total of YES votes cast on the proposal by -- members. proposal_yesVoteCount :: Lens' Proposal (Maybe Int) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Proposal.Proposal instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Proposal.Proposal instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Proposal.Proposal instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Proposal.Proposal instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Proposal.Proposal instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Proposal.Proposal instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Proposal.Proposal module Amazonka.ManagedBlockChain.Types.StateDBType newtype StateDBType StateDBType' :: Text -> StateDBType [fromStateDBType] :: StateDBType -> Text pattern StateDBType_CouchDB :: StateDBType pattern StateDBType_LevelDB :: StateDBType instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.StateDBType.StateDBType module Amazonka.ManagedBlockChain.Types.NodeConfiguration -- | Configuration properties of a node. -- -- See: newNodeConfiguration smart constructor. data NodeConfiguration NodeConfiguration' :: Maybe Text -> Maybe NodeLogPublishingConfiguration -> Maybe StateDBType -> Text -> NodeConfiguration -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. [$sel:availabilityZone:NodeConfiguration'] :: NodeConfiguration -> Maybe Text -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. [$sel:logPublishingConfiguration:NodeConfiguration'] :: NodeConfiguration -> Maybe NodeLogPublishingConfiguration -- | The state database that the node uses. Values are LevelDB or -- CouchDB. When using an Amazon Managed Blockchain network with -- Hyperledger Fabric version 1.4 or later, the default is -- CouchDB. -- -- Applies only to Hyperledger Fabric. [$sel:stateDB:NodeConfiguration'] :: NodeConfiguration -> Maybe StateDBType -- | The Amazon Managed Blockchain instance type for the node. [$sel:instanceType:NodeConfiguration'] :: NodeConfiguration -> Text -- | Create a value of NodeConfiguration 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:availabilityZone:NodeConfiguration', -- nodeConfiguration_availabilityZone - The Availability Zone in -- which the node exists. Required for Ethereum nodes. -- -- $sel:logPublishingConfiguration:NodeConfiguration', -- nodeConfiguration_logPublishingConfiguration - Configuration -- properties for logging events associated with a peer node on a -- Hyperledger Fabric network on Managed Blockchain. -- -- $sel:stateDB:NodeConfiguration', -- nodeConfiguration_stateDB - The state database that the node -- uses. Values are LevelDB or CouchDB. When using an -- Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 -- or later, the default is CouchDB. -- -- Applies only to Hyperledger Fabric. -- -- $sel:instanceType:NodeConfiguration', -- nodeConfiguration_instanceType - The Amazon Managed Blockchain -- instance type for the node. newNodeConfiguration :: Text -> NodeConfiguration -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text) -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. nodeConfiguration_logPublishingConfiguration :: Lens' NodeConfiguration (Maybe NodeLogPublishingConfiguration) -- | The state database that the node uses. Values are LevelDB or -- CouchDB. When using an Amazon Managed Blockchain network with -- Hyperledger Fabric version 1.4 or later, the default is -- CouchDB. -- -- Applies only to Hyperledger Fabric. nodeConfiguration_stateDB :: Lens' NodeConfiguration (Maybe StateDBType) -- | The Amazon Managed Blockchain instance type for the node. nodeConfiguration_instanceType :: Lens' NodeConfiguration Text instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.NodeConfiguration.NodeConfiguration instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.NodeConfiguration.NodeConfiguration instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.NodeConfiguration.NodeConfiguration instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.NodeConfiguration.NodeConfiguration instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.NodeConfiguration.NodeConfiguration instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.NodeConfiguration.NodeConfiguration instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.NodeConfiguration.NodeConfiguration module Amazonka.ManagedBlockChain.Types.Node -- | Configuration properties of a node. -- -- See: newNode smart constructor. data Node Node' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe NodeFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NodeLogPublishingConfiguration -> Maybe Text -> Maybe Text -> Maybe StateDBType -> Maybe NodeStatus -> Maybe (HashMap Text Text) -> Node -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. [$sel:arn:Node'] :: Node -> Maybe Text -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. [$sel:availabilityZone:Node'] :: Node -> Maybe Text -- | The date and time that the node was created. [$sel:creationDate:Node'] :: Node -> Maybe ISO8601 -- | Attributes of the blockchain framework being used. [$sel:frameworkAttributes:Node'] :: Node -> Maybe NodeFrameworkAttributes -- | The unique identifier of the node. [$sel:id:Node'] :: Node -> Maybe Text -- | The instance type of the node. [$sel:instanceType:Node'] :: Node -> Maybe Text -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the node uses for encryption at rest. If -- the value of this parameter is "AWS Owned KMS Key", the node -- uses an Amazon Web Services owned KMS key for encryption. The node -- inherits this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. [$sel:kmsKeyArn:Node'] :: Node -> Maybe Text -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. [$sel:logPublishingConfiguration:Node'] :: Node -> Maybe NodeLogPublishingConfiguration -- | The unique identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. [$sel:memberId:Node'] :: Node -> Maybe Text -- | The unique identifier of the network that the node is on. [$sel:networkId:Node'] :: Node -> Maybe Text -- | The state database that the node uses. Values are LevelDB or -- CouchDB. -- -- Applies only to Hyperledger Fabric. [$sel:stateDB:Node'] :: Node -> Maybe StateDBType -- | The status of the node. -- -- [$sel:status:Node'] :: Node -> Maybe NodeStatus -- | Tags assigned to the node. 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:tags:Node'] :: Node -> Maybe (HashMap Text Text) -- | Create a value of Node 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:Node', node_arn - The Amazon Resource Name -- (ARN) of the node. For more information about ARNs and their format, -- see Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:availabilityZone:Node', node_availabilityZone - The -- Availability Zone in which the node exists. Required for Ethereum -- nodes. -- -- $sel:creationDate:Node', node_creationDate - The date -- and time that the node was created. -- -- $sel:frameworkAttributes:Node', node_frameworkAttributes -- - Attributes of the blockchain framework being used. -- -- $sel:id:Node', node_id - The unique identifier of the -- node. -- -- $sel:instanceType:Node', node_instanceType - The -- instance type of the node. -- -- $sel:kmsKeyArn:Node', node_kmsKeyArn - The Amazon -- Resource Name (ARN) of the customer managed key in Key Management -- Service (KMS) that the node uses for encryption at rest. If the value -- of this parameter is "AWS Owned KMS Key", the node uses an -- Amazon Web Services owned KMS key for encryption. The node inherits -- this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. -- -- $sel:logPublishingConfiguration:Node', -- node_logPublishingConfiguration - Configuration properties for -- logging events associated with a peer node on a Hyperledger Fabric -- network on Managed Blockchain. -- -- $sel:memberId:Node', node_memberId - The unique -- identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. -- -- $sel:networkId:Node', node_networkId - The unique -- identifier of the network that the node is on. -- -- $sel:stateDB:Node', node_stateDB - The state database -- that the node uses. Values are LevelDB or CouchDB. -- -- Applies only to Hyperledger Fabric. -- -- $sel:status:Node', node_status - The status of the node. -- -- -- -- $sel:tags:Node', node_tags - Tags assigned to the node. -- 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. newNode :: Node -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. node_arn :: Lens' Node (Maybe Text) -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. node_availabilityZone :: Lens' Node (Maybe Text) -- | The date and time that the node was created. node_creationDate :: Lens' Node (Maybe UTCTime) -- | Attributes of the blockchain framework being used. node_frameworkAttributes :: Lens' Node (Maybe NodeFrameworkAttributes) -- | The unique identifier of the node. node_id :: Lens' Node (Maybe Text) -- | The instance type of the node. node_instanceType :: Lens' Node (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the node uses for encryption at rest. If -- the value of this parameter is "AWS Owned KMS Key", the node -- uses an Amazon Web Services owned KMS key for encryption. The node -- inherits this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. node_kmsKeyArn :: Lens' Node (Maybe Text) -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. node_logPublishingConfiguration :: Lens' Node (Maybe NodeLogPublishingConfiguration) -- | The unique identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. node_memberId :: Lens' Node (Maybe Text) -- | The unique identifier of the network that the node is on. node_networkId :: Lens' Node (Maybe Text) -- | The state database that the node uses. Values are LevelDB or -- CouchDB. -- -- Applies only to Hyperledger Fabric. node_stateDB :: Lens' Node (Maybe StateDBType) -- | The status of the node. -- -- node_status :: Lens' Node (Maybe NodeStatus) -- | Tags assigned to the node. 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. node_tags :: Lens' Node (Maybe (HashMap Text Text)) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Node.Node instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Node.Node instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Node.Node instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Node.Node instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Node.Node instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Node.Node instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Node.Node module Amazonka.ManagedBlockChain.Types.ThresholdComparator newtype ThresholdComparator ThresholdComparator' :: Text -> ThresholdComparator [fromThresholdComparator] :: ThresholdComparator -> Text pattern ThresholdComparator_GREATER_THAN :: ThresholdComparator pattern ThresholdComparator_GREATER_THAN_OR_EQUAL_TO :: ThresholdComparator instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.ThresholdComparator.ThresholdComparator module Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy -- | A policy type that defines the voting rules for the network. The rules -- decide if a proposal is approved. Approval may be based on criteria -- such as the percentage of YES votes and the duration of the -- proposal. The policy applies to all proposals and is specified when -- the network is created. -- -- Applies only to Hyperledger Fabric. -- -- See: newApprovalThresholdPolicy smart constructor. data ApprovalThresholdPolicy ApprovalThresholdPolicy' :: Maybe Natural -> Maybe ThresholdComparator -> Maybe Natural -> ApprovalThresholdPolicy -- | The duration from the time that a proposal is created until it -- expires. If members cast neither the required number of YES -- votes to approve the proposal nor the number of NO votes -- required to reject it before the duration expires, the proposal is -- EXPIRED and ProposalActions aren't carried out. [$sel:proposalDurationInHours:ApprovalThresholdPolicy'] :: ApprovalThresholdPolicy -> Maybe Natural -- | Determines whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. [$sel:thresholdComparator:ApprovalThresholdPolicy'] :: ApprovalThresholdPolicy -> Maybe ThresholdComparator -- | The percentage of votes among all members that must be YES -- for a proposal to be approved. For example, a -- ThresholdPercentage value of 50 indicates 50%. The -- ThresholdComparator determines the precise comparison. If a -- ThresholdPercentage value of 50 is specified on a -- network with 10 members, along with a ThresholdComparator -- value of GREATER_THAN, this indicates that 6 YES -- votes are required for the proposal to be approved. [$sel:thresholdPercentage:ApprovalThresholdPolicy'] :: ApprovalThresholdPolicy -> Maybe Natural -- | Create a value of ApprovalThresholdPolicy 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:proposalDurationInHours:ApprovalThresholdPolicy', -- approvalThresholdPolicy_proposalDurationInHours - The duration -- from the time that a proposal is created until it expires. If members -- cast neither the required number of YES votes to approve the -- proposal nor the number of NO votes required to reject it -- before the duration expires, the proposal is EXPIRED and -- ProposalActions aren't carried out. -- -- $sel:thresholdComparator:ApprovalThresholdPolicy', -- approvalThresholdPolicy_thresholdComparator - Determines -- whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. -- -- $sel:thresholdPercentage:ApprovalThresholdPolicy', -- approvalThresholdPolicy_thresholdPercentage - The percentage of -- votes among all members that must be YES for a proposal to be -- approved. For example, a ThresholdPercentage value of -- 50 indicates 50%. The ThresholdComparator determines -- the precise comparison. If a ThresholdPercentage value of -- 50 is specified on a network with 10 members, along with a -- ThresholdComparator value of GREATER_THAN, this -- indicates that 6 YES votes are required for the proposal to -- be approved. newApprovalThresholdPolicy :: ApprovalThresholdPolicy -- | The duration from the time that a proposal is created until it -- expires. If members cast neither the required number of YES -- votes to approve the proposal nor the number of NO votes -- required to reject it before the duration expires, the proposal is -- EXPIRED and ProposalActions aren't carried out. approvalThresholdPolicy_proposalDurationInHours :: Lens' ApprovalThresholdPolicy (Maybe Natural) -- | Determines whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. approvalThresholdPolicy_thresholdComparator :: Lens' ApprovalThresholdPolicy (Maybe ThresholdComparator) -- | The percentage of votes among all members that must be YES -- for a proposal to be approved. For example, a -- ThresholdPercentage value of 50 indicates 50%. The -- ThresholdComparator determines the precise comparison. If a -- ThresholdPercentage value of 50 is specified on a -- network with 10 members, along with a ThresholdComparator -- value of GREATER_THAN, this indicates that 6 YES -- votes are required for the proposal to be approved. approvalThresholdPolicy_thresholdPercentage :: Lens' ApprovalThresholdPolicy (Maybe Natural) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.ApprovalThresholdPolicy.ApprovalThresholdPolicy module Amazonka.ManagedBlockChain.Types.VoteValue newtype VoteValue VoteValue' :: Text -> VoteValue [fromVoteValue] :: VoteValue -> Text pattern VoteValue_NO :: VoteValue pattern VoteValue_YES :: VoteValue instance Amazonka.Data.XML.ToXML Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Amazonka.Data.XML.FromXML Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Amazonka.Data.Headers.ToHeader Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Amazonka.Data.Log.ToLog Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Amazonka.Data.ByteString.ToByteString Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Amazonka.Data.Text.ToText Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Amazonka.Data.Text.FromText Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance GHC.Classes.Ord Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.VoteValue.VoteValue module Amazonka.ManagedBlockChain.Types.VoteSummary -- | Properties of an individual vote that a member cast for a proposal. -- -- Applies only to Hyperledger Fabric. -- -- See: newVoteSummary smart constructor. data VoteSummary VoteSummary' :: Maybe Text -> Maybe Text -> Maybe VoteValue -> VoteSummary -- | The unique identifier of the member that cast the vote. [$sel:memberId:VoteSummary'] :: VoteSummary -> Maybe Text -- | The name of the member that cast the vote. [$sel:memberName:VoteSummary'] :: VoteSummary -> Maybe Text -- | The vote value, either YES or NO. [$sel:vote:VoteSummary'] :: VoteSummary -> Maybe VoteValue -- | Create a value of VoteSummary 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:memberId:VoteSummary', voteSummary_memberId - The -- unique identifier of the member that cast the vote. -- -- $sel:memberName:VoteSummary', voteSummary_memberName - -- The name of the member that cast the vote. -- -- $sel:vote:VoteSummary', voteSummary_vote - The vote -- value, either YES or NO. newVoteSummary :: VoteSummary -- | The unique identifier of the member that cast the vote. voteSummary_memberId :: Lens' VoteSummary (Maybe Text) -- | The name of the member that cast the vote. voteSummary_memberName :: Lens' VoteSummary (Maybe Text) -- | The vote value, either YES or NO. voteSummary_vote :: Lens' VoteSummary (Maybe VoteValue) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.VoteSummary.VoteSummary instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.VoteSummary.VoteSummary instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.VoteSummary.VoteSummary instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.VoteSummary.VoteSummary instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.VoteSummary.VoteSummary instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.VoteSummary.VoteSummary instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.VoteSummary.VoteSummary module Amazonka.ManagedBlockChain.Types.VotingPolicy -- | The voting rules for the network to decide if a proposal is accepted -- -- Applies only to Hyperledger Fabric. -- -- See: newVotingPolicy smart constructor. data VotingPolicy VotingPolicy' :: Maybe ApprovalThresholdPolicy -> VotingPolicy -- | Defines the rules for the network for voting on proposals, such as the -- percentage of YES votes required for the proposal to be -- approved and the duration of the proposal. The policy applies to all -- proposals and is specified when the network is created. [$sel:approvalThresholdPolicy:VotingPolicy'] :: VotingPolicy -> Maybe ApprovalThresholdPolicy -- | Create a value of VotingPolicy 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:approvalThresholdPolicy:VotingPolicy', -- votingPolicy_approvalThresholdPolicy - Defines the rules for -- the network for voting on proposals, such as the percentage of -- YES votes required for the proposal to be approved and the -- duration of the proposal. The policy applies to all proposals and is -- specified when the network is created. newVotingPolicy :: VotingPolicy -- | Defines the rules for the network for voting on proposals, such as the -- percentage of YES votes required for the proposal to be -- approved and the duration of the proposal. The policy applies to all -- proposals and is specified when the network is created. votingPolicy_approvalThresholdPolicy :: Lens' VotingPolicy (Maybe ApprovalThresholdPolicy) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.Types.VotingPolicy.VotingPolicy module Amazonka.ManagedBlockChain.Types.Network -- | Network configuration properties. -- -- See: newNetwork smart constructor. data Network Network' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Framework -> Maybe NetworkFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> Maybe (HashMap Text Text) -> Maybe VotingPolicy -> Maybe Text -> Network -- | 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:arn:Network'] :: Network -> Maybe Text -- | The date and time that the network was created. [$sel:creationDate:Network'] :: Network -> Maybe ISO8601 -- | Attributes of the blockchain framework for the network. [$sel:description:Network'] :: Network -> Maybe Text -- | The blockchain framework that the network uses. [$sel:framework:Network'] :: Network -> Maybe Framework -- | Attributes of the blockchain framework that the network uses. [$sel:frameworkAttributes:Network'] :: Network -> Maybe NetworkFrameworkAttributes -- | The version of the blockchain framework that the network uses. [$sel:frameworkVersion:Network'] :: Network -> Maybe Text -- | The unique identifier of the network. [$sel:id:Network'] :: Network -> Maybe Text -- | The name of the network. [$sel:name:Network'] :: Network -> Maybe Text -- | The current status of the network. [$sel:status:Network'] :: Network -> Maybe NetworkStatus -- | 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:tags:Network'] :: Network -> Maybe (HashMap Text Text) -- | The voting rules for the network to decide if a proposal is accepted. [$sel:votingPolicy:Network'] :: Network -> Maybe VotingPolicy -- | 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. [$sel:vpcEndpointServiceName:Network'] :: Network -> Maybe Text -- | 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. newNetwork :: Network -- | 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_arn :: Lens' Network (Maybe Text) -- | The date and time that the network was created. network_creationDate :: Lens' Network (Maybe UTCTime) -- | Attributes of the blockchain framework for the network. network_description :: Lens' Network (Maybe Text) -- | The blockchain framework that the network uses. network_framework :: Lens' Network (Maybe Framework) -- | Attributes of the blockchain framework that the network uses. network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes) -- | The version of the blockchain framework that the network uses. network_frameworkVersion :: Lens' Network (Maybe Text) -- | The unique identifier of the network. network_id :: Lens' Network (Maybe Text) -- | The name of the network. network_name :: Lens' Network (Maybe Text) -- | The current status of the network. network_status :: Lens' Network (Maybe NetworkStatus) -- | 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_tags :: Lens' Network (Maybe (HashMap Text Text)) -- | The voting rules for the network to decide if a proposal is accepted. network_votingPolicy :: Lens' Network (Maybe VotingPolicy) -- | 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_vpcEndpointServiceName :: Lens' Network (Maybe Text) instance GHC.Generics.Generic Amazonka.ManagedBlockChain.Types.Network.Network instance GHC.Show.Show Amazonka.ManagedBlockChain.Types.Network.Network instance GHC.Read.Read Amazonka.ManagedBlockChain.Types.Network.Network instance GHC.Classes.Eq Amazonka.ManagedBlockChain.Types.Network.Network instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ManagedBlockChain.Types.Network.Network instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.Types.Network.Network instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.Types.Network.Network module Amazonka.ManagedBlockChain.Types -- | API version 2018-09-24 of the Amazon Managed Blockchain SDK -- configuration. defaultService :: Service -- | You don't have sufficient access to perform this action. _AccessDeniedException :: AsError a => Fold a ServiceError _IllegalActionException :: AsError a => Fold a ServiceError -- | The request processing has failed because of an unknown error, -- exception or failure. _InternalServiceErrorException :: AsError a => Fold a ServiceError -- | The action or operation requested is invalid. Verify that the action -- is typed correctly. _InvalidRequestException :: AsError a => Fold a ServiceError -- | A resource request is issued for a resource that already exists. _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError -- | The maximum number of resources of that type already exist. Ensure the -- resources requested are within the boundaries of the service edition -- and your account limits. _ResourceLimitExceededException :: AsError a => Fold a ServiceError -- | A requested resource doesn't exist. It may have been deleted or -- referenced incorrectly. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | The requested resource exists but isn't in a status that can complete -- the operation. _ResourceNotReadyException :: AsError a => Fold a ServiceError -- | The request or operation couldn't be performed because a service is -- throttling requests. The most common source of throttling errors is -- creating resources that exceed your service limit for this resource -- type. Request a limit increase or delete unused resources if possible. _ThrottlingException :: AsError a => Fold a ServiceError _TooManyTagsException :: AsError a => Fold a ServiceError newtype AccessorStatus AccessorStatus' :: Text -> AccessorStatus [fromAccessorStatus] :: AccessorStatus -> Text pattern AccessorStatus_AVAILABLE :: AccessorStatus pattern AccessorStatus_DELETED :: AccessorStatus pattern AccessorStatus_PENDING_DELETION :: AccessorStatus newtype AccessorType AccessorType' :: Text -> AccessorType [fromAccessorType] :: AccessorType -> Text pattern AccessorType_BILLING_TOKEN :: AccessorType newtype Edition Edition' :: Text -> Edition [fromEdition] :: Edition -> Text pattern Edition_STANDARD :: Edition pattern Edition_STARTER :: Edition newtype Framework Framework' :: Text -> Framework [fromFramework] :: Framework -> Text pattern Framework_ETHEREUM :: Framework pattern Framework_HYPERLEDGER_FABRIC :: Framework newtype InvitationStatus InvitationStatus' :: Text -> InvitationStatus [fromInvitationStatus] :: InvitationStatus -> Text pattern InvitationStatus_ACCEPTED :: InvitationStatus pattern InvitationStatus_ACCEPTING :: InvitationStatus pattern InvitationStatus_EXPIRED :: InvitationStatus pattern InvitationStatus_PENDING :: InvitationStatus pattern InvitationStatus_REJECTED :: InvitationStatus newtype MemberStatus MemberStatus' :: Text -> MemberStatus [fromMemberStatus] :: MemberStatus -> Text pattern MemberStatus_AVAILABLE :: MemberStatus pattern MemberStatus_CREATE_FAILED :: MemberStatus pattern MemberStatus_CREATING :: MemberStatus pattern MemberStatus_DELETED :: MemberStatus pattern MemberStatus_DELETING :: MemberStatus pattern MemberStatus_INACCESSIBLE_ENCRYPTION_KEY :: MemberStatus pattern MemberStatus_UPDATING :: MemberStatus newtype NetworkStatus NetworkStatus' :: Text -> NetworkStatus [fromNetworkStatus] :: NetworkStatus -> Text pattern NetworkStatus_AVAILABLE :: NetworkStatus pattern NetworkStatus_CREATE_FAILED :: NetworkStatus pattern NetworkStatus_CREATING :: NetworkStatus pattern NetworkStatus_DELETED :: NetworkStatus pattern NetworkStatus_DELETING :: NetworkStatus newtype NodeStatus NodeStatus' :: Text -> NodeStatus [fromNodeStatus] :: NodeStatus -> Text pattern NodeStatus_AVAILABLE :: NodeStatus pattern NodeStatus_CREATE_FAILED :: NodeStatus pattern NodeStatus_CREATING :: NodeStatus pattern NodeStatus_DELETED :: NodeStatus pattern NodeStatus_DELETING :: NodeStatus pattern NodeStatus_FAILED :: NodeStatus pattern NodeStatus_INACCESSIBLE_ENCRYPTION_KEY :: NodeStatus pattern NodeStatus_UNHEALTHY :: NodeStatus pattern NodeStatus_UPDATING :: NodeStatus newtype ProposalStatus ProposalStatus' :: Text -> ProposalStatus [fromProposalStatus] :: ProposalStatus -> Text pattern ProposalStatus_ACTION_FAILED :: ProposalStatus pattern ProposalStatus_APPROVED :: ProposalStatus pattern ProposalStatus_EXPIRED :: ProposalStatus pattern ProposalStatus_IN_PROGRESS :: ProposalStatus pattern ProposalStatus_REJECTED :: ProposalStatus newtype StateDBType StateDBType' :: Text -> StateDBType [fromStateDBType] :: StateDBType -> Text pattern StateDBType_CouchDB :: StateDBType pattern StateDBType_LevelDB :: StateDBType newtype ThresholdComparator ThresholdComparator' :: Text -> ThresholdComparator [fromThresholdComparator] :: ThresholdComparator -> Text pattern ThresholdComparator_GREATER_THAN :: ThresholdComparator pattern ThresholdComparator_GREATER_THAN_OR_EQUAL_TO :: ThresholdComparator newtype VoteValue VoteValue' :: Text -> VoteValue [fromVoteValue] :: VoteValue -> Text pattern VoteValue_NO :: VoteValue pattern VoteValue_YES :: VoteValue -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- The properties of the Accessor. -- -- See: newAccessor smart constructor. data Accessor Accessor' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe AccessorStatus -> Maybe AccessorType -> Accessor -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Accessor'] :: Accessor -> Maybe Text -- | The billing token is a property of the accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. [$sel:billingToken:Accessor'] :: Accessor -> Maybe Text -- | The creation date and time of the accessor. [$sel:creationDate:Accessor'] :: Accessor -> Maybe ISO8601 -- | The unique identifier of the accessor. [$sel:id:Accessor'] :: Accessor -> Maybe Text -- | The current status of the accessor. [$sel:status:Accessor'] :: Accessor -> Maybe AccessorStatus -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. [$sel:type':Accessor'] :: Accessor -> Maybe AccessorType -- | Create a value of Accessor 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:Accessor', accessor_arn - The Amazon Resource -- Name (ARN) of the accessor. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- $sel:billingToken:Accessor', accessor_billingToken - The -- billing token is a property of the accessor. Use this token to make -- Ethereum API calls to your Ethereum node. The billing token is used to -- track your accessor object for billing Ethereum API requests made to -- your Ethereum nodes. -- -- $sel:creationDate:Accessor', accessor_creationDate - The -- creation date and time of the accessor. -- -- $sel:id:Accessor', accessor_id - The unique identifier -- of the accessor. -- -- $sel:status:Accessor', accessor_status - The current -- status of the accessor. -- -- $sel:type':Accessor', accessor_type - The type of the -- accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newAccessor :: Accessor -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. accessor_arn :: Lens' Accessor (Maybe Text) -- | The billing token is a property of the accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. accessor_billingToken :: Lens' Accessor (Maybe Text) -- | The creation date and time of the accessor. accessor_creationDate :: Lens' Accessor (Maybe UTCTime) -- | The unique identifier of the accessor. accessor_id :: Lens' Accessor (Maybe Text) -- | The current status of the accessor. accessor_status :: Lens' Accessor (Maybe AccessorStatus) -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. accessor_type :: Lens' Accessor (Maybe AccessorType) -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- A summary of accessor properties. -- -- See: newAccessorSummary smart constructor. data AccessorSummary AccessorSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe AccessorStatus -> Maybe AccessorType -> AccessorSummary -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:AccessorSummary'] :: AccessorSummary -> Maybe Text -- | The creation date and time of the accessor. [$sel:creationDate:AccessorSummary'] :: AccessorSummary -> Maybe ISO8601 -- | The unique identifier of the accessor. [$sel:id:AccessorSummary'] :: AccessorSummary -> Maybe Text -- | The current status of the accessor. [$sel:status:AccessorSummary'] :: AccessorSummary -> Maybe AccessorStatus -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. [$sel:type':AccessorSummary'] :: AccessorSummary -> Maybe AccessorType -- | Create a value of AccessorSummary 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:AccessorSummary', accessorSummary_arn - The -- Amazon Resource Name (ARN) of the accessor. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. -- -- $sel:creationDate:AccessorSummary', -- accessorSummary_creationDate - The creation date and time of -- the accessor. -- -- $sel:id:AccessorSummary', accessorSummary_id - The -- unique identifier of the accessor. -- -- $sel:status:AccessorSummary', accessorSummary_status - -- The current status of the accessor. -- -- $sel:type':AccessorSummary', accessorSummary_type - The -- type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newAccessorSummary :: AccessorSummary -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. accessorSummary_arn :: Lens' AccessorSummary (Maybe Text) -- | The creation date and time of the accessor. accessorSummary_creationDate :: Lens' AccessorSummary (Maybe UTCTime) -- | The unique identifier of the accessor. accessorSummary_id :: Lens' AccessorSummary (Maybe Text) -- | The current status of the accessor. accessorSummary_status :: Lens' AccessorSummary (Maybe AccessorStatus) -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. accessorSummary_type :: Lens' AccessorSummary (Maybe AccessorType) -- | A policy type that defines the voting rules for the network. The rules -- decide if a proposal is approved. Approval may be based on criteria -- such as the percentage of YES votes and the duration of the -- proposal. The policy applies to all proposals and is specified when -- the network is created. -- -- Applies only to Hyperledger Fabric. -- -- See: newApprovalThresholdPolicy smart constructor. data ApprovalThresholdPolicy ApprovalThresholdPolicy' :: Maybe Natural -> Maybe ThresholdComparator -> Maybe Natural -> ApprovalThresholdPolicy -- | The duration from the time that a proposal is created until it -- expires. If members cast neither the required number of YES -- votes to approve the proposal nor the number of NO votes -- required to reject it before the duration expires, the proposal is -- EXPIRED and ProposalActions aren't carried out. [$sel:proposalDurationInHours:ApprovalThresholdPolicy'] :: ApprovalThresholdPolicy -> Maybe Natural -- | Determines whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. [$sel:thresholdComparator:ApprovalThresholdPolicy'] :: ApprovalThresholdPolicy -> Maybe ThresholdComparator -- | The percentage of votes among all members that must be YES -- for a proposal to be approved. For example, a -- ThresholdPercentage value of 50 indicates 50%. The -- ThresholdComparator determines the precise comparison. If a -- ThresholdPercentage value of 50 is specified on a -- network with 10 members, along with a ThresholdComparator -- value of GREATER_THAN, this indicates that 6 YES -- votes are required for the proposal to be approved. [$sel:thresholdPercentage:ApprovalThresholdPolicy'] :: ApprovalThresholdPolicy -> Maybe Natural -- | Create a value of ApprovalThresholdPolicy 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:proposalDurationInHours:ApprovalThresholdPolicy', -- approvalThresholdPolicy_proposalDurationInHours - The duration -- from the time that a proposal is created until it expires. If members -- cast neither the required number of YES votes to approve the -- proposal nor the number of NO votes required to reject it -- before the duration expires, the proposal is EXPIRED and -- ProposalActions aren't carried out. -- -- $sel:thresholdComparator:ApprovalThresholdPolicy', -- approvalThresholdPolicy_thresholdComparator - Determines -- whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. -- -- $sel:thresholdPercentage:ApprovalThresholdPolicy', -- approvalThresholdPolicy_thresholdPercentage - The percentage of -- votes among all members that must be YES for a proposal to be -- approved. For example, a ThresholdPercentage value of -- 50 indicates 50%. The ThresholdComparator determines -- the precise comparison. If a ThresholdPercentage value of -- 50 is specified on a network with 10 members, along with a -- ThresholdComparator value of GREATER_THAN, this -- indicates that 6 YES votes are required for the proposal to -- be approved. newApprovalThresholdPolicy :: ApprovalThresholdPolicy -- | The duration from the time that a proposal is created until it -- expires. If members cast neither the required number of YES -- votes to approve the proposal nor the number of NO votes -- required to reject it before the duration expires, the proposal is -- EXPIRED and ProposalActions aren't carried out. approvalThresholdPolicy_proposalDurationInHours :: Lens' ApprovalThresholdPolicy (Maybe Natural) -- | Determines whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. approvalThresholdPolicy_thresholdComparator :: Lens' ApprovalThresholdPolicy (Maybe ThresholdComparator) -- | The percentage of votes among all members that must be YES -- for a proposal to be approved. For example, a -- ThresholdPercentage value of 50 indicates 50%. The -- ThresholdComparator determines the precise comparison. If a -- ThresholdPercentage value of 50 is specified on a -- network with 10 members, along with a ThresholdComparator -- value of GREATER_THAN, this indicates that 6 YES -- votes are required for the proposal to be approved. approvalThresholdPolicy_thresholdPercentage :: Lens' ApprovalThresholdPolicy (Maybe Natural) -- | An invitation to an Amazon Web Services account to create a member and -- join the network. -- -- Applies only to Hyperledger Fabric. -- -- See: newInvitation smart constructor. data Invitation Invitation' :: Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe Text -> Maybe NetworkSummary -> Maybe InvitationStatus -> Invitation -- | The Amazon Resource Name (ARN) of the invitation. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Invitation'] :: Invitation -> Maybe Text -- | The date and time that the invitation was created. [$sel:creationDate:Invitation'] :: Invitation -> Maybe ISO8601 -- | The date and time that the invitation expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, the invitee can no longer create a member and join the -- network using this InvitationId. [$sel:expirationDate:Invitation'] :: Invitation -> Maybe ISO8601 -- | The unique identifier for the invitation. [$sel:invitationId:Invitation'] :: Invitation -> Maybe Text [$sel:networkSummary:Invitation'] :: Invitation -> Maybe NetworkSummary -- | The status of the invitation: -- -- [$sel:status:Invitation'] :: Invitation -> Maybe InvitationStatus -- | Create a value of Invitation 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: -- -- Invitation, invitation_arn - The Amazon Resource Name -- (ARN) of the invitation. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- Invitation, invitation_creationDate - The date and time -- that the invitation was created. -- -- $sel:expirationDate:Invitation', -- invitation_expirationDate - The date and time that the -- invitation expires. This is the CreationDate plus the -- ProposalDurationInHours that is specified in the -- ProposalThresholdPolicy. After this date and time, the -- invitee can no longer create a member and join the network using this -- InvitationId. -- -- $sel:invitationId:Invitation', invitation_invitationId - -- The unique identifier for the invitation. -- -- $sel:networkSummary:Invitation', -- invitation_networkSummary - Undocumented member. -- -- Invitation, invitation_status - The status of the -- invitation: -- -- newInvitation :: Invitation -- | The Amazon Resource Name (ARN) of the invitation. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. invitation_arn :: Lens' Invitation (Maybe Text) -- | The date and time that the invitation was created. invitation_creationDate :: Lens' Invitation (Maybe UTCTime) -- | The date and time that the invitation expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, the invitee can no longer create a member and join the -- network using this InvitationId. invitation_expirationDate :: Lens' Invitation (Maybe UTCTime) -- | The unique identifier for the invitation. invitation_invitationId :: Lens' Invitation (Maybe Text) -- | Undocumented member. invitation_networkSummary :: Lens' Invitation (Maybe NetworkSummary) -- | The status of the invitation: -- -- invitation_status :: Lens' Invitation (Maybe InvitationStatus) -- | An action to invite a specific Amazon Web Services account to create a -- member and join the network. The InviteAction is carried out -- when a Proposal is APPROVED. -- -- Applies only to Hyperledger Fabric. -- -- See: newInviteAction smart constructor. data InviteAction InviteAction' :: Text -> InviteAction -- | The Amazon Web Services account ID to invite. [$sel:principal:InviteAction'] :: InviteAction -> Text -- | Create a value of InviteAction 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:principal:InviteAction', inviteAction_principal - -- The Amazon Web Services account ID to invite. newInviteAction :: Text -> InviteAction -- | The Amazon Web Services account ID to invite. inviteAction_principal :: Lens' InviteAction Text -- | A configuration for logging events. -- -- See: newLogConfiguration smart constructor. data LogConfiguration LogConfiguration' :: Maybe Bool -> LogConfiguration -- | Indicates whether logging is enabled. [$sel:enabled:LogConfiguration'] :: LogConfiguration -> Maybe Bool -- | Create a value of LogConfiguration 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:enabled:LogConfiguration', logConfiguration_enabled -- - Indicates whether logging is enabled. newLogConfiguration :: LogConfiguration -- | Indicates whether logging is enabled. logConfiguration_enabled :: Lens' LogConfiguration (Maybe Bool) -- | A collection of log configurations. -- -- See: newLogConfigurations smart constructor. data LogConfigurations LogConfigurations' :: Maybe LogConfiguration -> LogConfigurations -- | Parameters for publishing logs to Amazon CloudWatch Logs. [$sel:cloudwatch:LogConfigurations'] :: LogConfigurations -> Maybe LogConfiguration -- | Create a value of LogConfigurations 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:cloudwatch:LogConfigurations', -- logConfigurations_cloudwatch - Parameters for publishing logs -- to Amazon CloudWatch Logs. newLogConfigurations :: LogConfigurations -- | Parameters for publishing logs to Amazon CloudWatch Logs. logConfigurations_cloudwatch :: Lens' LogConfigurations (Maybe LogConfiguration) -- | Member configuration properties. -- -- Applies only to Hyperledger Fabric. -- -- See: newMember smart constructor. data Member Member' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe MemberFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe MemberLogPublishingConfiguration -> Maybe Text -> Maybe Text -> Maybe MemberStatus -> Maybe (HashMap Text Text) -> Member -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Member'] :: Member -> Maybe Text -- | The date and time that the member was created. [$sel:creationDate:Member'] :: Member -> Maybe ISO8601 -- | An optional description for the member. [$sel:description:Member'] :: Member -> Maybe Text -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. [$sel:frameworkAttributes:Member'] :: Member -> Maybe MemberFrameworkAttributes -- | The unique identifier of the member. [$sel:id:Member'] :: Member -> Maybe Text -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the member uses for encryption at rest. -- If the value of this parameter is "AWS Owned KMS Key", the -- member uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. [$sel:kmsKeyArn:Member'] :: Member -> Maybe Text -- | Configuration properties for logging events associated with a member. [$sel:logPublishingConfiguration:Member'] :: Member -> Maybe MemberLogPublishingConfiguration -- | The name of the member. [$sel:name:Member'] :: Member -> Maybe Text -- | The unique identifier of the network to which the member belongs. [$sel:networkId:Member'] :: Member -> Maybe Text -- | The status of a member. -- -- [$sel:status:Member'] :: Member -> Maybe MemberStatus -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. [$sel:tags:Member'] :: Member -> Maybe (HashMap Text Text) -- | Create a value of Member 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:Member', member_arn - The Amazon Resource Name -- (ARN) of the member. For more information about ARNs and their format, -- see Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:creationDate:Member', member_creationDate - The -- date and time that the member was created. -- -- $sel:description:Member', member_description - An -- optional description for the member. -- -- $sel:frameworkAttributes:Member', -- member_frameworkAttributes - Attributes relevant to a member -- for the blockchain framework that the Managed Blockchain network uses. -- -- $sel:id:Member', member_id - The unique identifier of -- the member. -- -- $sel:kmsKeyArn:Member', member_kmsKeyArn - The Amazon -- Resource Name (ARN) of the customer managed key in Key Management -- Service (KMS) that the member uses for encryption at rest. If the -- value of this parameter is "AWS Owned KMS Key", the member -- uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- $sel:logPublishingConfiguration:Member', -- member_logPublishingConfiguration - Configuration properties -- for logging events associated with a member. -- -- $sel:name:Member', member_name - The name of the member. -- -- $sel:networkId:Member', member_networkId - The unique -- identifier of the network to which the member belongs. -- -- $sel:status:Member', member_status - The status of a -- member. -- -- -- -- $sel:tags:Member', member_tags - Tags assigned to the -- member. Tags consist of a key and optional value. For more information -- about tags, see Tagging Resources in the Amazon Managed -- Blockchain Hyperledger Fabric Developer Guide. newMember :: Member -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. member_arn :: Lens' Member (Maybe Text) -- | The date and time that the member was created. member_creationDate :: Lens' Member (Maybe UTCTime) -- | An optional description for the member. member_description :: Lens' Member (Maybe Text) -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes) -- | The unique identifier of the member. member_id :: Lens' Member (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the member uses for encryption at rest. -- If the value of this parameter is "AWS Owned KMS Key", the -- member uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. member_kmsKeyArn :: Lens' Member (Maybe Text) -- | Configuration properties for logging events associated with a member. member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration) -- | The name of the member. member_name :: Lens' Member (Maybe Text) -- | The unique identifier of the network to which the member belongs. member_networkId :: Lens' Member (Maybe Text) -- | The status of a member. -- -- member_status :: Lens' Member (Maybe MemberStatus) -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. member_tags :: Lens' Member (Maybe (HashMap Text Text)) -- | Configuration properties of the member. -- -- Applies only to Hyperledger Fabric. -- -- See: newMemberConfiguration smart constructor. data MemberConfiguration MemberConfiguration' :: Maybe Text -> Maybe Text -> Maybe MemberLogPublishingConfiguration -> Maybe (HashMap Text Text) -> Text -> MemberFrameworkConfiguration -> MemberConfiguration -- | An optional description of the member. [$sel:description:MemberConfiguration'] :: MemberConfiguration -> Maybe Text -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) to use for encryption at rest in the member. -- This parameter is inherited by any nodes that this member creates. For -- more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- [$sel:kmsKeyArn:MemberConfiguration'] :: MemberConfiguration -> Maybe Text -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. [$sel:logPublishingConfiguration:MemberConfiguration'] :: MemberConfiguration -> Maybe MemberLogPublishingConfiguration -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. [$sel:tags:MemberConfiguration'] :: MemberConfiguration -> Maybe (HashMap Text Text) -- | The name of the member. [$sel:name:MemberConfiguration'] :: MemberConfiguration -> Text -- | Configuration properties of the blockchain framework relevant to the -- member. [$sel:frameworkConfiguration:MemberConfiguration'] :: MemberConfiguration -> MemberFrameworkConfiguration -- | Create a value of MemberConfiguration 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:description:MemberConfiguration', -- memberConfiguration_description - An optional description of -- the member. -- -- $sel:kmsKeyArn:MemberConfiguration', -- memberConfiguration_kmsKeyArn - The Amazon Resource Name (ARN) -- of the customer managed key in Key Management Service (KMS) to use for -- encryption at rest in the member. This parameter is inherited by any -- nodes that this member creates. For more information, see -- Encryption at Rest in the Amazon Managed Blockchain -- Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- -- -- $sel:logPublishingConfiguration:MemberConfiguration', -- memberConfiguration_logPublishingConfiguration - Configuration -- properties for logging events associated with a member of a Managed -- Blockchain network. -- -- $sel:tags:MemberConfiguration', memberConfiguration_tags -- - Tags assigned to the member. Tags consist of a key and optional -- value. For more information about tags, see Tagging Resources -- in the Amazon Managed Blockchain Hyperledger Fabric Developer -- Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- $sel:name:MemberConfiguration', memberConfiguration_name -- - The name of the member. -- -- $sel:frameworkConfiguration:MemberConfiguration', -- memberConfiguration_frameworkConfiguration - Configuration -- properties of the blockchain framework relevant to the member. newMemberConfiguration :: Text -> MemberFrameworkConfiguration -> MemberConfiguration -- | An optional description of the member. memberConfiguration_description :: Lens' MemberConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) to use for encryption at rest in the member. -- This parameter is inherited by any nodes that this member creates. For -- more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- memberConfiguration_kmsKeyArn :: Lens' MemberConfiguration (Maybe Text) -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. memberConfiguration_logPublishingConfiguration :: Lens' MemberConfiguration (Maybe MemberLogPublishingConfiguration) -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. memberConfiguration_tags :: Lens' MemberConfiguration (Maybe (HashMap Text Text)) -- | The name of the member. memberConfiguration_name :: Lens' MemberConfiguration Text -- | Configuration properties of the blockchain framework relevant to the -- member. memberConfiguration_frameworkConfiguration :: Lens' MemberConfiguration MemberFrameworkConfiguration -- | Attributes of Hyperledger Fabric for a member in a Managed Blockchain -- network using the Hyperledger Fabric framework. -- -- See: newMemberFabricAttributes smart constructor. data MemberFabricAttributes MemberFabricAttributes' :: Maybe Text -> Maybe Text -> MemberFabricAttributes -- | The user name for the initial administrator user for the member. [$sel:adminUsername:MemberFabricAttributes'] :: MemberFabricAttributes -> Maybe Text -- | The endpoint used to access the member's certificate authority. [$sel:caEndpoint:MemberFabricAttributes'] :: MemberFabricAttributes -> Maybe Text -- | Create a value of MemberFabricAttributes 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:adminUsername:MemberFabricAttributes', -- memberFabricAttributes_adminUsername - The user name for the -- initial administrator user for the member. -- -- $sel:caEndpoint:MemberFabricAttributes', -- memberFabricAttributes_caEndpoint - The endpoint used to access -- the member's certificate authority. newMemberFabricAttributes :: MemberFabricAttributes -- | The user name for the initial administrator user for the member. memberFabricAttributes_adminUsername :: Lens' MemberFabricAttributes (Maybe Text) -- | The endpoint used to access the member's certificate authority. memberFabricAttributes_caEndpoint :: Lens' MemberFabricAttributes (Maybe Text) -- | Configuration properties for Hyperledger Fabric for a member in a -- Managed Blockchain network using the Hyperledger Fabric framework. -- -- See: newMemberFabricConfiguration smart constructor. data MemberFabricConfiguration MemberFabricConfiguration' :: Text -> Sensitive Text -> MemberFabricConfiguration -- | The user name for the member's initial administrative user. [$sel:adminUsername:MemberFabricConfiguration'] :: MemberFabricConfiguration -> Text -- | The password for the member's initial administrative user. The -- AdminPassword must be at least eight characters long and no -- more than 32 characters. It must contain at least one uppercase -- letter, one lowercase letter, and one digit. It cannot have a single -- quotation mark (‘), a double quotation marks (“), a forward slash(/), -- a backward slash(\), @, or a space. [$sel:adminPassword:MemberFabricConfiguration'] :: MemberFabricConfiguration -> Sensitive Text -- | Create a value of MemberFabricConfiguration 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:adminUsername:MemberFabricConfiguration', -- memberFabricConfiguration_adminUsername - The user name for the -- member's initial administrative user. -- -- $sel:adminPassword:MemberFabricConfiguration', -- memberFabricConfiguration_adminPassword - The password for the -- member's initial administrative user. The AdminPassword must -- be at least eight characters long and no more than 32 characters. It -- must contain at least one uppercase letter, one lowercase letter, and -- one digit. It cannot have a single quotation mark (‘), a double -- quotation marks (“), a forward slash(/), a backward slash(\), @, or a -- space. newMemberFabricConfiguration :: Text -> Text -> MemberFabricConfiguration -- | The user name for the member's initial administrative user. memberFabricConfiguration_adminUsername :: Lens' MemberFabricConfiguration Text -- | The password for the member's initial administrative user. The -- AdminPassword must be at least eight characters long and no -- more than 32 characters. It must contain at least one uppercase -- letter, one lowercase letter, and one digit. It cannot have a single -- quotation mark (‘), a double quotation marks (“), a forward slash(/), -- a backward slash(\), @, or a space. memberFabricConfiguration_adminPassword :: Lens' MemberFabricConfiguration Text -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. -- -- See: newMemberFabricLogPublishingConfiguration smart -- constructor. data MemberFabricLogPublishingConfiguration MemberFabricLogPublishingConfiguration' :: Maybe LogConfigurations -> MemberFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with a member's -- Certificate Authority (CA). CA logs help you determine when a member -- in your account joins the network, or when new peers register with a -- member CA. [$sel:caLogs:MemberFabricLogPublishingConfiguration'] :: MemberFabricLogPublishingConfiguration -> Maybe LogConfigurations -- | Create a value of MemberFabricLogPublishingConfiguration 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:caLogs:MemberFabricLogPublishingConfiguration', -- memberFabricLogPublishingConfiguration_caLogs - Configuration -- properties for logging events associated with a member's Certificate -- Authority (CA). CA logs help you determine when a member in your -- account joins the network, or when new peers register with a member -- CA. newMemberFabricLogPublishingConfiguration :: MemberFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with a member's -- Certificate Authority (CA). CA logs help you determine when a member -- in your account joins the network, or when new peers register with a -- member CA. memberFabricLogPublishingConfiguration_caLogs :: Lens' MemberFabricLogPublishingConfiguration (Maybe LogConfigurations) -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. -- -- See: newMemberFrameworkAttributes smart constructor. data MemberFrameworkAttributes MemberFrameworkAttributes' :: Maybe MemberFabricAttributes -> MemberFrameworkAttributes -- | Attributes of Hyperledger Fabric relevant to a member on a Managed -- Blockchain network that uses Hyperledger Fabric. [$sel:fabric:MemberFrameworkAttributes'] :: MemberFrameworkAttributes -> Maybe MemberFabricAttributes -- | Create a value of MemberFrameworkAttributes 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:fabric:MemberFrameworkAttributes', -- memberFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric relevant to a member on a Managed Blockchain network that uses -- Hyperledger Fabric. newMemberFrameworkAttributes :: MemberFrameworkAttributes -- | Attributes of Hyperledger Fabric relevant to a member on a Managed -- Blockchain network that uses Hyperledger Fabric. memberFrameworkAttributes_fabric :: Lens' MemberFrameworkAttributes (Maybe MemberFabricAttributes) -- | Configuration properties relevant to a member for the blockchain -- framework that the Managed Blockchain network uses. -- -- See: newMemberFrameworkConfiguration smart constructor. data MemberFrameworkConfiguration MemberFrameworkConfiguration' :: Maybe MemberFabricConfiguration -> MemberFrameworkConfiguration -- | Attributes of Hyperledger Fabric for a member on a Managed Blockchain -- network that uses Hyperledger Fabric. [$sel:fabric:MemberFrameworkConfiguration'] :: MemberFrameworkConfiguration -> Maybe MemberFabricConfiguration -- | Create a value of MemberFrameworkConfiguration 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:fabric:MemberFrameworkConfiguration', -- memberFrameworkConfiguration_fabric - Attributes of Hyperledger -- Fabric for a member on a Managed Blockchain network that uses -- Hyperledger Fabric. newMemberFrameworkConfiguration :: MemberFrameworkConfiguration -- | Attributes of Hyperledger Fabric for a member on a Managed Blockchain -- network that uses Hyperledger Fabric. memberFrameworkConfiguration_fabric :: Lens' MemberFrameworkConfiguration (Maybe MemberFabricConfiguration) -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. -- -- See: newMemberLogPublishingConfiguration smart -- constructor. data MemberLogPublishingConfiguration MemberLogPublishingConfiguration' :: Maybe MemberFabricLogPublishingConfiguration -> MemberLogPublishingConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. [$sel:fabric:MemberLogPublishingConfiguration'] :: MemberLogPublishingConfiguration -> Maybe MemberFabricLogPublishingConfiguration -- | Create a value of MemberLogPublishingConfiguration 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:fabric:MemberLogPublishingConfiguration', -- memberLogPublishingConfiguration_fabric - Configuration -- properties for logging events associated with a member of a Managed -- Blockchain network using the Hyperledger Fabric framework. newMemberLogPublishingConfiguration :: MemberLogPublishingConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. memberLogPublishingConfiguration_fabric :: Lens' MemberLogPublishingConfiguration (Maybe MemberFabricLogPublishingConfiguration) -- | A summary of configuration properties for a member. -- -- Applies only to Hyperledger Fabric. -- -- See: newMemberSummary smart constructor. data MemberSummary MemberSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe MemberStatus -> MemberSummary -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:MemberSummary'] :: MemberSummary -> Maybe Text -- | The date and time that the member was created. [$sel:creationDate:MemberSummary'] :: MemberSummary -> Maybe ISO8601 -- | An optional description of the member. [$sel:description:MemberSummary'] :: MemberSummary -> Maybe Text -- | The unique identifier of the member. [$sel:id:MemberSummary'] :: MemberSummary -> Maybe Text -- | An indicator of whether the member is owned by your Amazon Web -- Services account or a different Amazon Web Services account. [$sel:isOwned:MemberSummary'] :: MemberSummary -> Maybe Bool -- | The name of the member. [$sel:name:MemberSummary'] :: MemberSummary -> Maybe Text -- | The status of the member. -- -- [$sel:status:MemberSummary'] :: MemberSummary -> Maybe MemberStatus -- | Create a value of MemberSummary 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:MemberSummary', memberSummary_arn - The Amazon -- Resource Name (ARN) of the member. For more information about ARNs and -- their format, see Amazon Resource Names (ARNs) in the Amazon -- Web Services General Reference. -- -- $sel:creationDate:MemberSummary', -- memberSummary_creationDate - The date and time that the member -- was created. -- -- $sel:description:MemberSummary', -- memberSummary_description - An optional description of the -- member. -- -- $sel:id:MemberSummary', memberSummary_id - The unique -- identifier of the member. -- -- $sel:isOwned:MemberSummary', memberSummary_isOwned - An -- indicator of whether the member is owned by your Amazon Web Services -- account or a different Amazon Web Services account. -- -- $sel:name:MemberSummary', memberSummary_name - The name -- of the member. -- -- $sel:status:MemberSummary', memberSummary_status - The -- status of the member. -- -- newMemberSummary :: MemberSummary -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. memberSummary_arn :: Lens' MemberSummary (Maybe Text) -- | The date and time that the member was created. memberSummary_creationDate :: Lens' MemberSummary (Maybe UTCTime) -- | An optional description of the member. memberSummary_description :: Lens' MemberSummary (Maybe Text) -- | The unique identifier of the member. memberSummary_id :: Lens' MemberSummary (Maybe Text) -- | An indicator of whether the member is owned by your Amazon Web -- Services account or a different Amazon Web Services account. memberSummary_isOwned :: Lens' MemberSummary (Maybe Bool) -- | The name of the member. memberSummary_name :: Lens' MemberSummary (Maybe Text) -- | The status of the member. -- -- memberSummary_status :: Lens' MemberSummary (Maybe MemberStatus) -- | Network configuration properties. -- -- See: newNetwork smart constructor. data Network Network' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Framework -> Maybe NetworkFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> Maybe (HashMap Text Text) -> Maybe VotingPolicy -> Maybe Text -> Network -- | 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:arn:Network'] :: Network -> Maybe Text -- | The date and time that the network was created. [$sel:creationDate:Network'] :: Network -> Maybe ISO8601 -- | Attributes of the blockchain framework for the network. [$sel:description:Network'] :: Network -> Maybe Text -- | The blockchain framework that the network uses. [$sel:framework:Network'] :: Network -> Maybe Framework -- | Attributes of the blockchain framework that the network uses. [$sel:frameworkAttributes:Network'] :: Network -> Maybe NetworkFrameworkAttributes -- | The version of the blockchain framework that the network uses. [$sel:frameworkVersion:Network'] :: Network -> Maybe Text -- | The unique identifier of the network. [$sel:id:Network'] :: Network -> Maybe Text -- | The name of the network. [$sel:name:Network'] :: Network -> Maybe Text -- | The current status of the network. [$sel:status:Network'] :: Network -> Maybe NetworkStatus -- | 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:tags:Network'] :: Network -> Maybe (HashMap Text Text) -- | The voting rules for the network to decide if a proposal is accepted. [$sel:votingPolicy:Network'] :: Network -> Maybe VotingPolicy -- | 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. [$sel:vpcEndpointServiceName:Network'] :: Network -> Maybe Text -- | 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. newNetwork :: Network -- | 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_arn :: Lens' Network (Maybe Text) -- | The date and time that the network was created. network_creationDate :: Lens' Network (Maybe UTCTime) -- | Attributes of the blockchain framework for the network. network_description :: Lens' Network (Maybe Text) -- | The blockchain framework that the network uses. network_framework :: Lens' Network (Maybe Framework) -- | Attributes of the blockchain framework that the network uses. network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes) -- | The version of the blockchain framework that the network uses. network_frameworkVersion :: Lens' Network (Maybe Text) -- | The unique identifier of the network. network_id :: Lens' Network (Maybe Text) -- | The name of the network. network_name :: Lens' Network (Maybe Text) -- | The current status of the network. network_status :: Lens' Network (Maybe NetworkStatus) -- | 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_tags :: Lens' Network (Maybe (HashMap Text Text)) -- | The voting rules for the network to decide if a proposal is accepted. network_votingPolicy :: Lens' Network (Maybe VotingPolicy) -- | 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_vpcEndpointServiceName :: Lens' Network (Maybe Text) -- | Attributes of Ethereum for a network. -- -- See: newNetworkEthereumAttributes smart constructor. data NetworkEthereumAttributes NetworkEthereumAttributes' :: Maybe Text -> NetworkEthereumAttributes -- | The Ethereum CHAIN_ID associated with the Ethereum network. -- Chain IDs are as follows: -- -- [$sel:chainId:NetworkEthereumAttributes'] :: NetworkEthereumAttributes -> Maybe Text -- | Create a value of NetworkEthereumAttributes 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:chainId:NetworkEthereumAttributes', -- networkEthereumAttributes_chainId - The Ethereum -- CHAIN_ID associated with the Ethereum network. Chain IDs are -- as follows: -- -- newNetworkEthereumAttributes :: NetworkEthereumAttributes -- | The Ethereum CHAIN_ID associated with the Ethereum network. -- Chain IDs are as follows: -- -- networkEthereumAttributes_chainId :: Lens' NetworkEthereumAttributes (Maybe Text) -- | Attributes of Hyperledger Fabric for a network. -- -- See: newNetworkFabricAttributes smart constructor. data NetworkFabricAttributes NetworkFabricAttributes' :: Maybe Edition -> Maybe Text -> NetworkFabricAttributes -- | The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. -- For more information, see Amazon Managed Blockchain Pricing. [$sel:edition:NetworkFabricAttributes'] :: NetworkFabricAttributes -> Maybe Edition -- | The endpoint of the ordering service for the network. [$sel:orderingServiceEndpoint:NetworkFabricAttributes'] :: NetworkFabricAttributes -> Maybe Text -- | Create a value of NetworkFabricAttributes 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:edition:NetworkFabricAttributes', -- networkFabricAttributes_edition - The edition of Amazon Managed -- Blockchain that Hyperledger Fabric uses. For more information, see -- Amazon Managed Blockchain Pricing. -- -- $sel:orderingServiceEndpoint:NetworkFabricAttributes', -- networkFabricAttributes_orderingServiceEndpoint - The endpoint -- of the ordering service for the network. newNetworkFabricAttributes :: NetworkFabricAttributes -- | The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. -- For more information, see Amazon Managed Blockchain Pricing. networkFabricAttributes_edition :: Lens' NetworkFabricAttributes (Maybe Edition) -- | The endpoint of the ordering service for the network. networkFabricAttributes_orderingServiceEndpoint :: Lens' NetworkFabricAttributes (Maybe Text) -- | Hyperledger Fabric configuration properties for the network. -- -- See: newNetworkFabricConfiguration smart constructor. data NetworkFabricConfiguration NetworkFabricConfiguration' :: Edition -> NetworkFabricConfiguration -- | The edition of Amazon Managed Blockchain that the network uses. For -- more information, see Amazon Managed Blockchain Pricing. [$sel:edition:NetworkFabricConfiguration'] :: NetworkFabricConfiguration -> Edition -- | Create a value of NetworkFabricConfiguration 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:edition:NetworkFabricConfiguration', -- networkFabricConfiguration_edition - The edition of Amazon -- Managed Blockchain that the network uses. For more information, see -- Amazon Managed Blockchain Pricing. newNetworkFabricConfiguration :: Edition -> NetworkFabricConfiguration -- | The edition of Amazon Managed Blockchain that the network uses. For -- more information, see Amazon Managed Blockchain Pricing. networkFabricConfiguration_edition :: Lens' NetworkFabricConfiguration Edition -- | Attributes relevant to the network for the blockchain framework that -- the network uses. -- -- See: newNetworkFrameworkAttributes smart constructor. data NetworkFrameworkAttributes NetworkFrameworkAttributes' :: Maybe NetworkEthereumAttributes -> Maybe NetworkFabricAttributes -> NetworkFrameworkAttributes -- | Attributes of an Ethereum network for Managed Blockchain resources -- participating in an Ethereum network. [$sel:ethereum:NetworkFrameworkAttributes'] :: NetworkFrameworkAttributes -> Maybe NetworkEthereumAttributes -- | Attributes of Hyperledger Fabric for a Managed Blockchain network that -- uses Hyperledger Fabric. [$sel:fabric:NetworkFrameworkAttributes'] :: NetworkFrameworkAttributes -> Maybe NetworkFabricAttributes -- | Create a value of NetworkFrameworkAttributes 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:ethereum:NetworkFrameworkAttributes', -- networkFrameworkAttributes_ethereum - Attributes of an Ethereum -- network for Managed Blockchain resources participating in an Ethereum -- network. -- -- $sel:fabric:NetworkFrameworkAttributes', -- networkFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric for a Managed Blockchain network that uses Hyperledger Fabric. newNetworkFrameworkAttributes :: NetworkFrameworkAttributes -- | Attributes of an Ethereum network for Managed Blockchain resources -- participating in an Ethereum network. networkFrameworkAttributes_ethereum :: Lens' NetworkFrameworkAttributes (Maybe NetworkEthereumAttributes) -- | Attributes of Hyperledger Fabric for a Managed Blockchain network that -- uses Hyperledger Fabric. networkFrameworkAttributes_fabric :: Lens' NetworkFrameworkAttributes (Maybe NetworkFabricAttributes) -- | Configuration properties relevant to the network for the blockchain -- framework that the network uses. -- -- See: newNetworkFrameworkConfiguration smart constructor. data NetworkFrameworkConfiguration NetworkFrameworkConfiguration' :: Maybe NetworkFabricConfiguration -> NetworkFrameworkConfiguration -- | Hyperledger Fabric configuration properties for a Managed Blockchain -- network that uses Hyperledger Fabric. [$sel:fabric:NetworkFrameworkConfiguration'] :: NetworkFrameworkConfiguration -> Maybe NetworkFabricConfiguration -- | Create a value of NetworkFrameworkConfiguration 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:fabric:NetworkFrameworkConfiguration', -- networkFrameworkConfiguration_fabric - Hyperledger Fabric -- configuration properties for a Managed Blockchain network that uses -- Hyperledger Fabric. newNetworkFrameworkConfiguration :: NetworkFrameworkConfiguration -- | Hyperledger Fabric configuration properties for a Managed Blockchain -- network that uses Hyperledger Fabric. networkFrameworkConfiguration_fabric :: Lens' NetworkFrameworkConfiguration (Maybe NetworkFabricConfiguration) -- | A summary of network configuration properties. -- -- See: newNetworkSummary smart constructor. data NetworkSummary NetworkSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Framework -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> NetworkSummary -- | 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:arn:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The date and time that the network was created. [$sel:creationDate:NetworkSummary'] :: NetworkSummary -> Maybe ISO8601 -- | An optional description of the network. [$sel:description:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The blockchain framework that the network uses. [$sel:framework:NetworkSummary'] :: NetworkSummary -> Maybe Framework -- | The version of the blockchain framework that the network uses. [$sel:frameworkVersion:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The unique identifier of the network. [$sel:id:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The name of the network. [$sel:name:NetworkSummary'] :: NetworkSummary -> Maybe Text -- | The current status of the network. [$sel:status:NetworkSummary'] :: NetworkSummary -> Maybe NetworkStatus -- | Create a value of NetworkSummary 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:NetworkSummary', networkSummary_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:NetworkSummary', -- networkSummary_creationDate - The date and time that the -- network was created. -- -- $sel:description:NetworkSummary', -- networkSummary_description - An optional description of the -- network. -- -- $sel:framework:NetworkSummary', networkSummary_framework -- - The blockchain framework that the network uses. -- -- $sel:frameworkVersion:NetworkSummary', -- networkSummary_frameworkVersion - The version of the blockchain -- framework that the network uses. -- -- $sel:id:NetworkSummary', networkSummary_id - The unique -- identifier of the network. -- -- $sel:name:NetworkSummary', networkSummary_name - The -- name of the network. -- -- $sel:status:NetworkSummary', networkSummary_status - The -- current status of the network. newNetworkSummary :: NetworkSummary -- | 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. networkSummary_arn :: Lens' NetworkSummary (Maybe Text) -- | The date and time that the network was created. networkSummary_creationDate :: Lens' NetworkSummary (Maybe UTCTime) -- | An optional description of the network. networkSummary_description :: Lens' NetworkSummary (Maybe Text) -- | The blockchain framework that the network uses. networkSummary_framework :: Lens' NetworkSummary (Maybe Framework) -- | The version of the blockchain framework that the network uses. networkSummary_frameworkVersion :: Lens' NetworkSummary (Maybe Text) -- | The unique identifier of the network. networkSummary_id :: Lens' NetworkSummary (Maybe Text) -- | The name of the network. networkSummary_name :: Lens' NetworkSummary (Maybe Text) -- | The current status of the network. networkSummary_status :: Lens' NetworkSummary (Maybe NetworkStatus) -- | Configuration properties of a node. -- -- See: newNode smart constructor. data Node Node' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe NodeFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NodeLogPublishingConfiguration -> Maybe Text -> Maybe Text -> Maybe StateDBType -> Maybe NodeStatus -> Maybe (HashMap Text Text) -> Node -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. [$sel:arn:Node'] :: Node -> Maybe Text -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. [$sel:availabilityZone:Node'] :: Node -> Maybe Text -- | The date and time that the node was created. [$sel:creationDate:Node'] :: Node -> Maybe ISO8601 -- | Attributes of the blockchain framework being used. [$sel:frameworkAttributes:Node'] :: Node -> Maybe NodeFrameworkAttributes -- | The unique identifier of the node. [$sel:id:Node'] :: Node -> Maybe Text -- | The instance type of the node. [$sel:instanceType:Node'] :: Node -> Maybe Text -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the node uses for encryption at rest. If -- the value of this parameter is "AWS Owned KMS Key", the node -- uses an Amazon Web Services owned KMS key for encryption. The node -- inherits this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. [$sel:kmsKeyArn:Node'] :: Node -> Maybe Text -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. [$sel:logPublishingConfiguration:Node'] :: Node -> Maybe NodeLogPublishingConfiguration -- | The unique identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. [$sel:memberId:Node'] :: Node -> Maybe Text -- | The unique identifier of the network that the node is on. [$sel:networkId:Node'] :: Node -> Maybe Text -- | The state database that the node uses. Values are LevelDB or -- CouchDB. -- -- Applies only to Hyperledger Fabric. [$sel:stateDB:Node'] :: Node -> Maybe StateDBType -- | The status of the node. -- -- [$sel:status:Node'] :: Node -> Maybe NodeStatus -- | Tags assigned to the node. 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:tags:Node'] :: Node -> Maybe (HashMap Text Text) -- | Create a value of Node 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:Node', node_arn - The Amazon Resource Name -- (ARN) of the node. For more information about ARNs and their format, -- see Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:availabilityZone:Node', node_availabilityZone - The -- Availability Zone in which the node exists. Required for Ethereum -- nodes. -- -- $sel:creationDate:Node', node_creationDate - The date -- and time that the node was created. -- -- $sel:frameworkAttributes:Node', node_frameworkAttributes -- - Attributes of the blockchain framework being used. -- -- $sel:id:Node', node_id - The unique identifier of the -- node. -- -- $sel:instanceType:Node', node_instanceType - The -- instance type of the node. -- -- $sel:kmsKeyArn:Node', node_kmsKeyArn - The Amazon -- Resource Name (ARN) of the customer managed key in Key Management -- Service (KMS) that the node uses for encryption at rest. If the value -- of this parameter is "AWS Owned KMS Key", the node uses an -- Amazon Web Services owned KMS key for encryption. The node inherits -- this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. -- -- $sel:logPublishingConfiguration:Node', -- node_logPublishingConfiguration - Configuration properties for -- logging events associated with a peer node on a Hyperledger Fabric -- network on Managed Blockchain. -- -- $sel:memberId:Node', node_memberId - The unique -- identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. -- -- $sel:networkId:Node', node_networkId - The unique -- identifier of the network that the node is on. -- -- $sel:stateDB:Node', node_stateDB - The state database -- that the node uses. Values are LevelDB or CouchDB. -- -- Applies only to Hyperledger Fabric. -- -- $sel:status:Node', node_status - The status of the node. -- -- -- -- $sel:tags:Node', node_tags - Tags assigned to the node. -- 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. newNode :: Node -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. node_arn :: Lens' Node (Maybe Text) -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. node_availabilityZone :: Lens' Node (Maybe Text) -- | The date and time that the node was created. node_creationDate :: Lens' Node (Maybe UTCTime) -- | Attributes of the blockchain framework being used. node_frameworkAttributes :: Lens' Node (Maybe NodeFrameworkAttributes) -- | The unique identifier of the node. node_id :: Lens' Node (Maybe Text) -- | The instance type of the node. node_instanceType :: Lens' Node (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the node uses for encryption at rest. If -- the value of this parameter is "AWS Owned KMS Key", the node -- uses an Amazon Web Services owned KMS key for encryption. The node -- inherits this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. node_kmsKeyArn :: Lens' Node (Maybe Text) -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. node_logPublishingConfiguration :: Lens' Node (Maybe NodeLogPublishingConfiguration) -- | The unique identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. node_memberId :: Lens' Node (Maybe Text) -- | The unique identifier of the network that the node is on. node_networkId :: Lens' Node (Maybe Text) -- | The state database that the node uses. Values are LevelDB or -- CouchDB. -- -- Applies only to Hyperledger Fabric. node_stateDB :: Lens' Node (Maybe StateDBType) -- | The status of the node. -- -- node_status :: Lens' Node (Maybe NodeStatus) -- | Tags assigned to the node. 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. node_tags :: Lens' Node (Maybe (HashMap Text Text)) -- | Configuration properties of a node. -- -- See: newNodeConfiguration smart constructor. data NodeConfiguration NodeConfiguration' :: Maybe Text -> Maybe NodeLogPublishingConfiguration -> Maybe StateDBType -> Text -> NodeConfiguration -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. [$sel:availabilityZone:NodeConfiguration'] :: NodeConfiguration -> Maybe Text -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. [$sel:logPublishingConfiguration:NodeConfiguration'] :: NodeConfiguration -> Maybe NodeLogPublishingConfiguration -- | The state database that the node uses. Values are LevelDB or -- CouchDB. When using an Amazon Managed Blockchain network with -- Hyperledger Fabric version 1.4 or later, the default is -- CouchDB. -- -- Applies only to Hyperledger Fabric. [$sel:stateDB:NodeConfiguration'] :: NodeConfiguration -> Maybe StateDBType -- | The Amazon Managed Blockchain instance type for the node. [$sel:instanceType:NodeConfiguration'] :: NodeConfiguration -> Text -- | Create a value of NodeConfiguration 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:availabilityZone:NodeConfiguration', -- nodeConfiguration_availabilityZone - The Availability Zone in -- which the node exists. Required for Ethereum nodes. -- -- $sel:logPublishingConfiguration:NodeConfiguration', -- nodeConfiguration_logPublishingConfiguration - Configuration -- properties for logging events associated with a peer node on a -- Hyperledger Fabric network on Managed Blockchain. -- -- $sel:stateDB:NodeConfiguration', -- nodeConfiguration_stateDB - The state database that the node -- uses. Values are LevelDB or CouchDB. When using an -- Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 -- or later, the default is CouchDB. -- -- Applies only to Hyperledger Fabric. -- -- $sel:instanceType:NodeConfiguration', -- nodeConfiguration_instanceType - The Amazon Managed Blockchain -- instance type for the node. newNodeConfiguration :: Text -> NodeConfiguration -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text) -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. nodeConfiguration_logPublishingConfiguration :: Lens' NodeConfiguration (Maybe NodeLogPublishingConfiguration) -- | The state database that the node uses. Values are LevelDB or -- CouchDB. When using an Amazon Managed Blockchain network with -- Hyperledger Fabric version 1.4 or later, the default is -- CouchDB. -- -- Applies only to Hyperledger Fabric. nodeConfiguration_stateDB :: Lens' NodeConfiguration (Maybe StateDBType) -- | The Amazon Managed Blockchain instance type for the node. nodeConfiguration_instanceType :: Lens' NodeConfiguration Text -- | Attributes of an Ethereum node. -- -- See: newNodeEthereumAttributes smart constructor. data NodeEthereumAttributes NodeEthereumAttributes' :: Maybe Text -> Maybe Text -> NodeEthereumAttributes -- | The endpoint on which the Ethereum node listens to run Ethereum API -- methods over HTTP connections from a client. Use this endpoint in -- client code for smart contracts when using an HTTP connection. -- Connections to this endpoint are authenticated using Signature -- Version 4. [$sel:httpEndpoint:NodeEthereumAttributes'] :: NodeEthereumAttributes -> Maybe Text -- | The endpoint on which the Ethereum node listens to run Ethereum -- JSON-RPC methods over WebSocket connections from a client. Use this -- endpoint in client code for smart contracts when using a WebSocket -- connection. Connections to this endpoint are authenticated using -- Signature Version 4. [$sel:webSocketEndpoint:NodeEthereumAttributes'] :: NodeEthereumAttributes -> Maybe Text -- | Create a value of NodeEthereumAttributes 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:httpEndpoint:NodeEthereumAttributes', -- nodeEthereumAttributes_httpEndpoint - The endpoint on which the -- Ethereum node listens to run Ethereum API methods over HTTP -- connections from a client. Use this endpoint in client code for smart -- contracts when using an HTTP connection. Connections to this endpoint -- are authenticated using Signature Version 4. -- -- $sel:webSocketEndpoint:NodeEthereumAttributes', -- nodeEthereumAttributes_webSocketEndpoint - The endpoint on -- which the Ethereum node listens to run Ethereum JSON-RPC methods over -- WebSocket connections from a client. Use this endpoint in client code -- for smart contracts when using a WebSocket connection. Connections to -- this endpoint are authenticated using Signature Version 4. newNodeEthereumAttributes :: NodeEthereumAttributes -- | The endpoint on which the Ethereum node listens to run Ethereum API -- methods over HTTP connections from a client. Use this endpoint in -- client code for smart contracts when using an HTTP connection. -- Connections to this endpoint are authenticated using Signature -- Version 4. nodeEthereumAttributes_httpEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) -- | The endpoint on which the Ethereum node listens to run Ethereum -- JSON-RPC methods over WebSocket connections from a client. Use this -- endpoint in client code for smart contracts when using a WebSocket -- connection. Connections to this endpoint are authenticated using -- Signature Version 4. nodeEthereumAttributes_webSocketEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) -- | Attributes of Hyperledger Fabric for a peer node on a Hyperledger -- Fabric network on Managed Blockchain. -- -- See: newNodeFabricAttributes smart constructor. data NodeFabricAttributes NodeFabricAttributes' :: Maybe Text -> Maybe Text -> NodeFabricAttributes -- | The endpoint that identifies the peer node for all services except -- peer channel-based event services. [$sel:peerEndpoint:NodeFabricAttributes'] :: NodeFabricAttributes -> Maybe Text -- | The endpoint that identifies the peer node for peer channel-based -- event services. [$sel:peerEventEndpoint:NodeFabricAttributes'] :: NodeFabricAttributes -> Maybe Text -- | Create a value of NodeFabricAttributes 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:peerEndpoint:NodeFabricAttributes', -- nodeFabricAttributes_peerEndpoint - The endpoint that -- identifies the peer node for all services except peer channel-based -- event services. -- -- $sel:peerEventEndpoint:NodeFabricAttributes', -- nodeFabricAttributes_peerEventEndpoint - The endpoint that -- identifies the peer node for peer channel-based event services. newNodeFabricAttributes :: NodeFabricAttributes -- | The endpoint that identifies the peer node for all services except -- peer channel-based event services. nodeFabricAttributes_peerEndpoint :: Lens' NodeFabricAttributes (Maybe Text) -- | The endpoint that identifies the peer node for peer channel-based -- event services. nodeFabricAttributes_peerEventEndpoint :: Lens' NodeFabricAttributes (Maybe Text) -- | Configuration properties for logging events associated with a peer -- node owned by a member in a Managed Blockchain network. -- -- See: newNodeFabricLogPublishingConfiguration smart -- constructor. data NodeFabricLogPublishingConfiguration NodeFabricLogPublishingConfiguration' :: Maybe LogConfigurations -> Maybe LogConfigurations -> NodeFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. [$sel:chaincodeLogs:NodeFabricLogPublishingConfiguration'] :: NodeFabricLogPublishingConfiguration -> Maybe LogConfigurations -- | Configuration properties for a peer node log. Peer node logs contain -- messages generated when your client submits transaction proposals to -- peer nodes, requests to join channels, enrolls an admin peer, and -- lists the chaincode instances on a peer node. [$sel:peerLogs:NodeFabricLogPublishingConfiguration'] :: NodeFabricLogPublishingConfiguration -> Maybe LogConfigurations -- | Create a value of NodeFabricLogPublishingConfiguration 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:chaincodeLogs:NodeFabricLogPublishingConfiguration', -- nodeFabricLogPublishingConfiguration_chaincodeLogs - -- Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. -- -- $sel:peerLogs:NodeFabricLogPublishingConfiguration', -- nodeFabricLogPublishingConfiguration_peerLogs - Configuration -- properties for a peer node log. Peer node logs contain messages -- generated when your client submits transaction proposals to peer -- nodes, requests to join channels, enrolls an admin peer, and lists the -- chaincode instances on a peer node. newNodeFabricLogPublishingConfiguration :: NodeFabricLogPublishingConfiguration -- | Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. nodeFabricLogPublishingConfiguration_chaincodeLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) -- | Configuration properties for a peer node log. Peer node logs contain -- messages generated when your client submits transaction proposals to -- peer nodes, requests to join channels, enrolls an admin peer, and -- lists the chaincode instances on a peer node. nodeFabricLogPublishingConfiguration_peerLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) -- | Attributes relevant to a node on a Managed Blockchain network for the -- blockchain framework that the network uses. -- -- See: newNodeFrameworkAttributes smart constructor. data NodeFrameworkAttributes NodeFrameworkAttributes' :: Maybe NodeEthereumAttributes -> Maybe NodeFabricAttributes -> NodeFrameworkAttributes -- | Attributes of Ethereum for a node on a Managed Blockchain network that -- uses Ethereum. [$sel:ethereum:NodeFrameworkAttributes'] :: NodeFrameworkAttributes -> Maybe NodeEthereumAttributes -- | Attributes of Hyperledger Fabric for a peer node on a Managed -- Blockchain network that uses Hyperledger Fabric. [$sel:fabric:NodeFrameworkAttributes'] :: NodeFrameworkAttributes -> Maybe NodeFabricAttributes -- | Create a value of NodeFrameworkAttributes 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:ethereum:NodeFrameworkAttributes', -- nodeFrameworkAttributes_ethereum - Attributes of Ethereum for a -- node on a Managed Blockchain network that uses Ethereum. -- -- $sel:fabric:NodeFrameworkAttributes', -- nodeFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric for a peer node on a Managed Blockchain network that uses -- Hyperledger Fabric. newNodeFrameworkAttributes :: NodeFrameworkAttributes -- | Attributes of Ethereum for a node on a Managed Blockchain network that -- uses Ethereum. nodeFrameworkAttributes_ethereum :: Lens' NodeFrameworkAttributes (Maybe NodeEthereumAttributes) -- | Attributes of Hyperledger Fabric for a peer node on a Managed -- Blockchain network that uses Hyperledger Fabric. nodeFrameworkAttributes_fabric :: Lens' NodeFrameworkAttributes (Maybe NodeFabricAttributes) -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. -- -- See: newNodeLogPublishingConfiguration smart -- constructor. data NodeLogPublishingConfiguration NodeLogPublishingConfiguration' :: Maybe NodeFabricLogPublishingConfiguration -> NodeLogPublishingConfiguration -- | Configuration properties for logging events associated with a node -- that is owned by a member of a Managed Blockchain network using the -- Hyperledger Fabric framework. [$sel:fabric:NodeLogPublishingConfiguration'] :: NodeLogPublishingConfiguration -> Maybe NodeFabricLogPublishingConfiguration -- | Create a value of NodeLogPublishingConfiguration 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:fabric:NodeLogPublishingConfiguration', -- nodeLogPublishingConfiguration_fabric - Configuration -- properties for logging events associated with a node that is owned by -- a member of a Managed Blockchain network using the Hyperledger Fabric -- framework. newNodeLogPublishingConfiguration :: NodeLogPublishingConfiguration -- | Configuration properties for logging events associated with a node -- that is owned by a member of a Managed Blockchain network using the -- Hyperledger Fabric framework. nodeLogPublishingConfiguration_fabric :: Lens' NodeLogPublishingConfiguration (Maybe NodeFabricLogPublishingConfiguration) -- | A summary of configuration properties for a node. -- -- See: newNodeSummary smart constructor. data NodeSummary NodeSummary' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe NodeStatus -> NodeSummary -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. [$sel:arn:NodeSummary'] :: NodeSummary -> Maybe Text -- | The Availability Zone in which the node exists. [$sel:availabilityZone:NodeSummary'] :: NodeSummary -> Maybe Text -- | The date and time that the node was created. [$sel:creationDate:NodeSummary'] :: NodeSummary -> Maybe ISO8601 -- | The unique identifier of the node. [$sel:id:NodeSummary'] :: NodeSummary -> Maybe Text -- | The EC2 instance type for the node. [$sel:instanceType:NodeSummary'] :: NodeSummary -> Maybe Text -- | The status of the node. [$sel:status:NodeSummary'] :: NodeSummary -> Maybe NodeStatus -- | Create a value of NodeSummary 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:NodeSummary', nodeSummary_arn - The Amazon -- Resource Name (ARN) of the node. For more information about ARNs and -- their format, see Amazon Resource Names (ARNs) in the Amazon -- Web Services General Reference. -- -- $sel:availabilityZone:NodeSummary', -- nodeSummary_availabilityZone - The Availability Zone in which -- the node exists. -- -- $sel:creationDate:NodeSummary', nodeSummary_creationDate -- - The date and time that the node was created. -- -- $sel:id:NodeSummary', nodeSummary_id - The unique -- identifier of the node. -- -- $sel:instanceType:NodeSummary', nodeSummary_instanceType -- - The EC2 instance type for the node. -- -- $sel:status:NodeSummary', nodeSummary_status - The -- status of the node. newNodeSummary :: NodeSummary -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. nodeSummary_arn :: Lens' NodeSummary (Maybe Text) -- | The Availability Zone in which the node exists. nodeSummary_availabilityZone :: Lens' NodeSummary (Maybe Text) -- | The date and time that the node was created. nodeSummary_creationDate :: Lens' NodeSummary (Maybe UTCTime) -- | The unique identifier of the node. nodeSummary_id :: Lens' NodeSummary (Maybe Text) -- | The EC2 instance type for the node. nodeSummary_instanceType :: Lens' NodeSummary (Maybe Text) -- | The status of the node. nodeSummary_status :: Lens' NodeSummary (Maybe NodeStatus) -- | Properties of a proposal on a Managed Blockchain network. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposal smart constructor. data Proposal Proposal' :: Maybe ProposalActions -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ProposalStatus -> Maybe (HashMap Text Text) -> Maybe Int -> Proposal -- | The actions to perform on the network if the proposal is -- APPROVED. [$sel:actions:Proposal'] :: Proposal -> Maybe ProposalActions -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:Proposal'] :: Proposal -> Maybe Text -- | The date and time that the proposal was created. [$sel:creationDate:Proposal'] :: Proposal -> Maybe ISO8601 -- | The description of the proposal. [$sel:description:Proposal'] :: Proposal -> Maybe Text -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. [$sel:expirationDate:Proposal'] :: Proposal -> Maybe ISO8601 -- | The unique identifier of the network for which the proposal is made. [$sel:networkId:Proposal'] :: Proposal -> Maybe Text -- | The current total of NO votes cast on the proposal by -- members. [$sel:noVoteCount:Proposal'] :: Proposal -> Maybe Int -- | The number of votes remaining to be cast on the proposal by members. -- In other words, the number of members minus the sum of YES -- votes and NO votes. [$sel:outstandingVoteCount:Proposal'] :: Proposal -> Maybe Int -- | The unique identifier of the proposal. [$sel:proposalId:Proposal'] :: Proposal -> Maybe Text -- | The unique identifier of the member that created the proposal. [$sel:proposedByMemberId:Proposal'] :: Proposal -> Maybe Text -- | The name of the member that created the proposal. [$sel:proposedByMemberName:Proposal'] :: Proposal -> Maybe Text -- | The status of the proposal. Values are as follows: -- -- [$sel:status:Proposal'] :: Proposal -> Maybe ProposalStatus -- | Tags assigned to the proposal. 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:tags:Proposal'] :: Proposal -> Maybe (HashMap Text Text) -- | The current total of YES votes cast on the proposal by -- members. [$sel:yesVoteCount:Proposal'] :: Proposal -> Maybe Int -- | Create a value of Proposal 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:actions:Proposal', proposal_actions - The actions -- to perform on the network if the proposal is APPROVED. -- -- $sel:arn:Proposal', proposal_arn - The Amazon Resource -- Name (ARN) of the proposal. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- $sel:creationDate:Proposal', proposal_creationDate - The -- date and time that the proposal was created. -- -- $sel:description:Proposal', proposal_description - The -- description of the proposal. -- -- $sel:expirationDate:Proposal', proposal_expirationDate - -- The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. -- -- $sel:networkId:Proposal', proposal_networkId - The -- unique identifier of the network for which the proposal is made. -- -- $sel:noVoteCount:Proposal', proposal_noVoteCount - The -- current total of NO votes cast on the proposal by members. -- -- $sel:outstandingVoteCount:Proposal', -- proposal_outstandingVoteCount - The number of votes remaining -- to be cast on the proposal by members. In other words, the number of -- members minus the sum of YES votes and NO votes. -- -- $sel:proposalId:Proposal', proposal_proposalId - The -- unique identifier of the proposal. -- -- $sel:proposedByMemberId:Proposal', -- proposal_proposedByMemberId - The unique identifier of the -- member that created the proposal. -- -- $sel:proposedByMemberName:Proposal', -- proposal_proposedByMemberName - The name of the member that -- created the proposal. -- -- $sel:status:Proposal', proposal_status - The status of -- the proposal. Values are as follows: -- -- -- -- $sel:tags:Proposal', proposal_tags - Tags assigned to -- the proposal. 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:yesVoteCount:Proposal', proposal_yesVoteCount - The -- current total of YES votes cast on the proposal by members. newProposal :: Proposal -- | The actions to perform on the network if the proposal is -- APPROVED. proposal_actions :: Lens' Proposal (Maybe ProposalActions) -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. proposal_arn :: Lens' Proposal (Maybe Text) -- | The date and time that the proposal was created. proposal_creationDate :: Lens' Proposal (Maybe UTCTime) -- | The description of the proposal. proposal_description :: Lens' Proposal (Maybe Text) -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. proposal_expirationDate :: Lens' Proposal (Maybe UTCTime) -- | The unique identifier of the network for which the proposal is made. proposal_networkId :: Lens' Proposal (Maybe Text) -- | The current total of NO votes cast on the proposal by -- members. proposal_noVoteCount :: Lens' Proposal (Maybe Int) -- | The number of votes remaining to be cast on the proposal by members. -- In other words, the number of members minus the sum of YES -- votes and NO votes. proposal_outstandingVoteCount :: Lens' Proposal (Maybe Int) -- | The unique identifier of the proposal. proposal_proposalId :: Lens' Proposal (Maybe Text) -- | The unique identifier of the member that created the proposal. proposal_proposedByMemberId :: Lens' Proposal (Maybe Text) -- | The name of the member that created the proposal. proposal_proposedByMemberName :: Lens' Proposal (Maybe Text) -- | The status of the proposal. Values are as follows: -- -- proposal_status :: Lens' Proposal (Maybe ProposalStatus) -- | Tags assigned to the proposal. 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. proposal_tags :: Lens' Proposal (Maybe (HashMap Text Text)) -- | The current total of YES votes cast on the proposal by -- members. proposal_yesVoteCount :: Lens' Proposal (Maybe Int) -- | The actions to carry out if a proposal is APPROVED. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposalActions smart constructor. data ProposalActions ProposalActions' :: Maybe [InviteAction] -> Maybe [RemoveAction] -> ProposalActions -- | The actions to perform for an APPROVED proposal to invite an -- Amazon Web Services account to create a member and join the network. [$sel:invitations:ProposalActions'] :: ProposalActions -> Maybe [InviteAction] -- | The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. [$sel:removals:ProposalActions'] :: ProposalActions -> Maybe [RemoveAction] -- | Create a value of ProposalActions 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:invitations:ProposalActions', -- proposalActions_invitations - The actions to perform for an -- APPROVED proposal to invite an Amazon Web Services account to -- create a member and join the network. -- -- $sel:removals:ProposalActions', proposalActions_removals -- - The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. newProposalActions :: ProposalActions -- | The actions to perform for an APPROVED proposal to invite an -- Amazon Web Services account to create a member and join the network. proposalActions_invitations :: Lens' ProposalActions (Maybe [InviteAction]) -- | The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. proposalActions_removals :: Lens' ProposalActions (Maybe [RemoveAction]) -- | Properties of a proposal. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposalSummary smart constructor. data ProposalSummary ProposalSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ProposalStatus -> ProposalSummary -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:arn:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The date and time that the proposal was created. [$sel:creationDate:ProposalSummary'] :: ProposalSummary -> Maybe ISO8601 -- | The description of the proposal. [$sel:description:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. [$sel:expirationDate:ProposalSummary'] :: ProposalSummary -> Maybe ISO8601 -- | The unique identifier of the proposal. [$sel:proposalId:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The unique identifier of the member that created the proposal. [$sel:proposedByMemberId:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The name of the member that created the proposal. [$sel:proposedByMemberName:ProposalSummary'] :: ProposalSummary -> Maybe Text -- | The status of the proposal. Values are as follows: -- -- [$sel:status:ProposalSummary'] :: ProposalSummary -> Maybe ProposalStatus -- | Create a value of ProposalSummary 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:ProposalSummary', proposalSummary_arn - The -- Amazon Resource Name (ARN) of the proposal. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. -- -- $sel:creationDate:ProposalSummary', -- proposalSummary_creationDate - The date and time that the -- proposal was created. -- -- $sel:description:ProposalSummary', -- proposalSummary_description - The description of the proposal. -- -- $sel:expirationDate:ProposalSummary', -- proposalSummary_expirationDate - The date and time that the -- proposal expires. This is the CreationDate plus the -- ProposalDurationInHours that is specified in the -- ProposalThresholdPolicy. After this date and time, if members -- haven't cast enough votes to determine the outcome according to the -- voting policy, the proposal is EXPIRED and Actions -- aren't carried out. -- -- $sel:proposalId:ProposalSummary', -- proposalSummary_proposalId - The unique identifier of the -- proposal. -- -- $sel:proposedByMemberId:ProposalSummary', -- proposalSummary_proposedByMemberId - The unique identifier of -- the member that created the proposal. -- -- $sel:proposedByMemberName:ProposalSummary', -- proposalSummary_proposedByMemberName - The name of the member -- that created the proposal. -- -- $sel:status:ProposalSummary', proposalSummary_status - -- The status of the proposal. Values are as follows: -- -- newProposalSummary :: ProposalSummary -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. proposalSummary_arn :: Lens' ProposalSummary (Maybe Text) -- | The date and time that the proposal was created. proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime) -- | The description of the proposal. proposalSummary_description :: Lens' ProposalSummary (Maybe Text) -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime) -- | The unique identifier of the proposal. proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text) -- | The unique identifier of the member that created the proposal. proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text) -- | The name of the member that created the proposal. proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text) -- | The status of the proposal. Values are as follows: -- -- proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus) -- | An action to remove a member from a Managed Blockchain network as the -- result of a removal proposal that is APPROVED. The member and -- all associated resources are deleted from the network. -- -- Applies only to Hyperledger Fabric. -- -- See: newRemoveAction smart constructor. data RemoveAction RemoveAction' :: Text -> RemoveAction -- | The unique identifier of the member to remove. [$sel:memberId:RemoveAction'] :: RemoveAction -> Text -- | Create a value of RemoveAction 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:memberId:RemoveAction', removeAction_memberId - The -- unique identifier of the member to remove. newRemoveAction :: Text -> RemoveAction -- | The unique identifier of the member to remove. removeAction_memberId :: Lens' RemoveAction Text -- | Properties of an individual vote that a member cast for a proposal. -- -- Applies only to Hyperledger Fabric. -- -- See: newVoteSummary smart constructor. data VoteSummary VoteSummary' :: Maybe Text -> Maybe Text -> Maybe VoteValue -> VoteSummary -- | The unique identifier of the member that cast the vote. [$sel:memberId:VoteSummary'] :: VoteSummary -> Maybe Text -- | The name of the member that cast the vote. [$sel:memberName:VoteSummary'] :: VoteSummary -> Maybe Text -- | The vote value, either YES or NO. [$sel:vote:VoteSummary'] :: VoteSummary -> Maybe VoteValue -- | Create a value of VoteSummary 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:memberId:VoteSummary', voteSummary_memberId - The -- unique identifier of the member that cast the vote. -- -- $sel:memberName:VoteSummary', voteSummary_memberName - -- The name of the member that cast the vote. -- -- $sel:vote:VoteSummary', voteSummary_vote - The vote -- value, either YES or NO. newVoteSummary :: VoteSummary -- | The unique identifier of the member that cast the vote. voteSummary_memberId :: Lens' VoteSummary (Maybe Text) -- | The name of the member that cast the vote. voteSummary_memberName :: Lens' VoteSummary (Maybe Text) -- | The vote value, either YES or NO. voteSummary_vote :: Lens' VoteSummary (Maybe VoteValue) -- | The voting rules for the network to decide if a proposal is accepted -- -- Applies only to Hyperledger Fabric. -- -- See: newVotingPolicy smart constructor. data VotingPolicy VotingPolicy' :: Maybe ApprovalThresholdPolicy -> VotingPolicy -- | Defines the rules for the network for voting on proposals, such as the -- percentage of YES votes required for the proposal to be -- approved and the duration of the proposal. The policy applies to all -- proposals and is specified when the network is created. [$sel:approvalThresholdPolicy:VotingPolicy'] :: VotingPolicy -> Maybe ApprovalThresholdPolicy -- | Create a value of VotingPolicy 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:approvalThresholdPolicy:VotingPolicy', -- votingPolicy_approvalThresholdPolicy - Defines the rules for -- the network for voting on proposals, such as the percentage of -- YES votes required for the proposal to be approved and the -- duration of the proposal. The policy applies to all proposals and is -- specified when the network is created. newVotingPolicy :: VotingPolicy -- | Defines the rules for the network for voting on proposals, such as the -- percentage of YES votes required for the proposal to be -- approved and the duration of the proposal. The policy applies to all -- proposals and is specified when the network is created. votingPolicy_approvalThresholdPolicy :: Lens' VotingPolicy (Maybe ApprovalThresholdPolicy) -- | Adds or overwrites the specified tags for the specified Amazon Managed -- Blockchain resource. Each tag consists of a key and optional value. -- -- When you specify a tag key that already exists, the tag value is -- overwritten with the new value. Use UntagResource to remove -- tag keys. -- -- A resource can have up to 50 tags. If you try to create more than 50 -- tags for a resource, your request fails and returns an error. -- -- 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. module Amazonka.ManagedBlockChain.TagResource -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:resourceArn:TagResource'] :: TagResource -> Text -- | The tags to assign to the specified resource. Tag values can be empty, -- for example, "MyTagKey" : "". You can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. [$sel:tags:TagResource'] :: TagResource -> HashMap Text Text -- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - -- The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. -- -- TagResource, tagResource_tags - The tags to assign to -- the specified resource. Tag values can be empty, for example, -- "MyTagKey" : "". You can specify multiple key-value pairs in -- a single request, with an overall maximum of 50 tags added to each -- resource. newTagResource :: Text -> TagResource -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. tagResource_resourceArn :: Lens' TagResource Text -- | The tags to assign to the specified resource. Tag values can be empty, -- for example, "MyTagKey" : "". You can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | The response's http status code. [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int -- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.TagResource.TagResource instance GHC.Show.Show Amazonka.ManagedBlockChain.TagResource.TagResource instance GHC.Read.Read Amazonka.ManagedBlockChain.TagResource.TagResource instance GHC.Classes.Eq Amazonka.ManagedBlockChain.TagResource.TagResource instance GHC.Generics.Generic Amazonka.ManagedBlockChain.TagResource.TagResourceResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.TagResource.TagResourceResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.TagResource.TagResourceResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.TagResource.TagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.TagResource.TagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.TagResource.TagResource instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.TagResource.TagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.TagResource.TagResource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.TagResource.TagResource instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.TagResource.TagResource instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.TagResource.TagResource -- | Rejects an invitation to join a network. This action can be called by -- a principal in an Amazon Web Services account that has received an -- invitation to create a member and join a network. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.RejectInvitation -- | See: newRejectInvitation smart constructor. data RejectInvitation RejectInvitation' :: Text -> RejectInvitation -- | The unique identifier of the invitation to reject. [$sel:invitationId:RejectInvitation'] :: RejectInvitation -> Text -- | Create a value of RejectInvitation 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: -- -- RejectInvitation, rejectInvitation_invitationId - The -- unique identifier of the invitation to reject. newRejectInvitation :: Text -> RejectInvitation -- | The unique identifier of the invitation to reject. rejectInvitation_invitationId :: Lens' RejectInvitation Text -- | See: newRejectInvitationResponse smart constructor. data RejectInvitationResponse RejectInvitationResponse' :: Int -> RejectInvitationResponse -- | The response's http status code. [$sel:httpStatus:RejectInvitationResponse'] :: RejectInvitationResponse -> Int -- | Create a value of RejectInvitationResponse 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:httpStatus:RejectInvitationResponse', -- rejectInvitationResponse_httpStatus - The response's http -- status code. newRejectInvitationResponse :: Int -> RejectInvitationResponse -- | The response's http status code. rejectInvitationResponse_httpStatus :: Lens' RejectInvitationResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance GHC.Show.Show Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance GHC.Read.Read Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance GHC.Classes.Eq Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance GHC.Generics.Generic Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitationResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitationResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitationResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitationResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitationResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.RejectInvitation.RejectInvitation -- | Returns a list of tags for the specified resource. 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. module Amazonka.ManagedBlockChain.ListTagsForResource -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text -- | Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource', -- listTagsForResource_resourceArn - The Amazon Resource Name -- (ARN) of the resource. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. newListTagsForResource :: Text -> ListTagsForResource -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse -- | The tags assigned to the resource. [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (HashMap Text Text) -- | The response's http status code. [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int -- | Create a value of ListTagsForResourceResponse 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: -- -- ListTagsForResourceResponse, -- listTagsForResourceResponse_tags - The tags assigned to the -- resource. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | The tags assigned to the resource. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance GHC.Show.Show Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance GHC.Read.Read Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResourceResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResourceResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResourceResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResourceResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResourceResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListTagsForResource.ListTagsForResource -- | Returns a list of proposals for the network. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.ListProposals -- | See: newListProposals smart constructor. data ListProposals ListProposals' :: Maybe Natural -> Maybe Text -> Text -> ListProposals -- | The maximum number of proposals to return. [$sel:maxResults:ListProposals'] :: ListProposals -> Maybe Natural -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListProposals'] :: ListProposals -> Maybe Text -- | The unique identifier of the network. [$sel:networkId:ListProposals'] :: ListProposals -> Text -- | Create a value of ListProposals 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:maxResults:ListProposals', listProposals_maxResults -- - The maximum number of proposals to return. -- -- ListProposals, listProposals_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- ListProposals, listProposals_networkId - The unique -- identifier of the network. newListProposals :: Text -> ListProposals -- | The maximum number of proposals to return. listProposals_maxResults :: Lens' ListProposals (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listProposals_nextToken :: Lens' ListProposals (Maybe Text) -- | The unique identifier of the network. listProposals_networkId :: Lens' ListProposals Text -- | See: newListProposalsResponse smart constructor. data ListProposalsResponse ListProposalsResponse' :: Maybe Text -> Maybe [ProposalSummary] -> Int -> ListProposalsResponse -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListProposalsResponse'] :: ListProposalsResponse -> Maybe Text -- | The summary of each proposal made on the network. [$sel:proposals:ListProposalsResponse'] :: ListProposalsResponse -> Maybe [ProposalSummary] -- | The response's http status code. [$sel:httpStatus:ListProposalsResponse'] :: ListProposalsResponse -> Int -- | Create a value of ListProposalsResponse 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: -- -- ListProposals, listProposalsResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:proposals:ListProposalsResponse', -- listProposalsResponse_proposals - The summary of each proposal -- made on the network. -- -- $sel:httpStatus:ListProposalsResponse', -- listProposalsResponse_httpStatus - The response's http status -- code. newListProposalsResponse :: Int -> ListProposalsResponse -- | The pagination token that indicates the next set of results to -- retrieve. listProposalsResponse_nextToken :: Lens' ListProposalsResponse (Maybe Text) -- | The summary of each proposal made on the network. listProposalsResponse_proposals :: Lens' ListProposalsResponse (Maybe [ProposalSummary]) -- | The response's http status code. listProposalsResponse_httpStatus :: Lens' ListProposalsResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListProposals.ListProposals instance GHC.Show.Show Amazonka.ManagedBlockChain.ListProposals.ListProposals instance GHC.Read.Read Amazonka.ManagedBlockChain.ListProposals.ListProposals instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListProposals.ListProposals instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListProposals.ListProposalsResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListProposals.ListProposalsResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListProposals.ListProposalsResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListProposals.ListProposalsResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListProposals.ListProposals instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListProposals.ListProposalsResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListProposals.ListProposals instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListProposals.ListProposals instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListProposals.ListProposals instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListProposals.ListProposals instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListProposals.ListProposals -- | Returns the list of votes for a specified proposal, including the -- value of each vote and the unique identifier of the member that cast -- the vote. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.ListProposalVotes -- | See: newListProposalVotes smart constructor. data ListProposalVotes ListProposalVotes' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListProposalVotes -- | The maximum number of votes to return. [$sel:maxResults:ListProposalVotes'] :: ListProposalVotes -> Maybe Natural -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListProposalVotes'] :: ListProposalVotes -> Maybe Text -- | The unique identifier of the network. [$sel:networkId:ListProposalVotes'] :: ListProposalVotes -> Text -- | The unique identifier of the proposal. [$sel:proposalId:ListProposalVotes'] :: ListProposalVotes -> Text -- | Create a value of ListProposalVotes 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:maxResults:ListProposalVotes', -- listProposalVotes_maxResults - The maximum number of votes to -- return. -- -- ListProposalVotes, listProposalVotes_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- ListProposalVotes, listProposalVotes_networkId - The -- unique identifier of the network. -- -- ListProposalVotes, listProposalVotes_proposalId - The -- unique identifier of the proposal. newListProposalVotes :: Text -> Text -> ListProposalVotes -- | The maximum number of votes to return. listProposalVotes_maxResults :: Lens' ListProposalVotes (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listProposalVotes_nextToken :: Lens' ListProposalVotes (Maybe Text) -- | The unique identifier of the network. listProposalVotes_networkId :: Lens' ListProposalVotes Text -- | The unique identifier of the proposal. listProposalVotes_proposalId :: Lens' ListProposalVotes Text -- | See: newListProposalVotesResponse smart constructor. data ListProposalVotesResponse ListProposalVotesResponse' :: Maybe Text -> Maybe [VoteSummary] -> Int -> ListProposalVotesResponse -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListProposalVotesResponse'] :: ListProposalVotesResponse -> Maybe Text -- | The list of votes. [$sel:proposalVotes:ListProposalVotesResponse'] :: ListProposalVotesResponse -> Maybe [VoteSummary] -- | The response's http status code. [$sel:httpStatus:ListProposalVotesResponse'] :: ListProposalVotesResponse -> Int -- | Create a value of ListProposalVotesResponse 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: -- -- ListProposalVotes, listProposalVotesResponse_nextToken - -- The pagination token that indicates the next set of results to -- retrieve. -- -- $sel:proposalVotes:ListProposalVotesResponse', -- listProposalVotesResponse_proposalVotes - The list of votes. -- -- $sel:httpStatus:ListProposalVotesResponse', -- listProposalVotesResponse_httpStatus - The response's http -- status code. newListProposalVotesResponse :: Int -> ListProposalVotesResponse -- | The pagination token that indicates the next set of results to -- retrieve. listProposalVotesResponse_nextToken :: Lens' ListProposalVotesResponse (Maybe Text) -- | The list of votes. listProposalVotesResponse_proposalVotes :: Lens' ListProposalVotesResponse (Maybe [VoteSummary]) -- | The response's http status code. listProposalVotesResponse_httpStatus :: Lens' ListProposalVotesResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance GHC.Show.Show Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance GHC.Read.Read Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotesResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotesResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotesResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotesResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotesResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListProposalVotes.ListProposalVotes -- | Returns information about the nodes within a network. -- -- Applies to Hyperledger Fabric and Ethereum. module Amazonka.ManagedBlockChain.ListNodes -- | See: newListNodes smart constructor. data ListNodes ListNodes' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe NodeStatus -> Text -> ListNodes -- | The maximum number of nodes to list. [$sel:maxResults:ListNodes'] :: ListNodes -> Maybe Natural -- | The unique identifier of the member who owns the nodes to list. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. [$sel:memberId:ListNodes'] :: ListNodes -> Maybe Text -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListNodes'] :: ListNodes -> Maybe Text -- | An optional status specifier. If provided, only nodes currently in -- this status are listed. [$sel:status:ListNodes'] :: ListNodes -> Maybe NodeStatus -- | The unique identifier of the network for which to list nodes. [$sel:networkId:ListNodes'] :: ListNodes -> Text -- | Create a value of ListNodes 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:maxResults:ListNodes', listNodes_maxResults - The -- maximum number of nodes to list. -- -- ListNodes, listNodes_memberId - The unique identifier of -- the member who owns the nodes to list. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. -- -- ListNodes, listNodes_nextToken - The pagination token -- that indicates the next set of results to retrieve. -- -- ListNodes, listNodes_status - An optional status -- specifier. If provided, only nodes currently in this status are -- listed. -- -- ListNodes, listNodes_networkId - The unique identifier -- of the network for which to list nodes. newListNodes :: Text -> ListNodes -- | The maximum number of nodes to list. listNodes_maxResults :: Lens' ListNodes (Maybe Natural) -- | The unique identifier of the member who owns the nodes to list. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. listNodes_memberId :: Lens' ListNodes (Maybe Text) -- | The pagination token that indicates the next set of results to -- retrieve. listNodes_nextToken :: Lens' ListNodes (Maybe Text) -- | An optional status specifier. If provided, only nodes currently in -- this status are listed. listNodes_status :: Lens' ListNodes (Maybe NodeStatus) -- | The unique identifier of the network for which to list nodes. listNodes_networkId :: Lens' ListNodes Text -- | See: newListNodesResponse smart constructor. data ListNodesResponse ListNodesResponse' :: Maybe Text -> Maybe [NodeSummary] -> Int -> ListNodesResponse -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListNodesResponse'] :: ListNodesResponse -> Maybe Text -- | An array of NodeSummary objects that contain configuration -- properties for each node. [$sel:nodes:ListNodesResponse'] :: ListNodesResponse -> Maybe [NodeSummary] -- | The response's http status code. [$sel:httpStatus:ListNodesResponse'] :: ListNodesResponse -> Int -- | Create a value of ListNodesResponse 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: -- -- ListNodes, listNodesResponse_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- $sel:nodes:ListNodesResponse', listNodesResponse_nodes - -- An array of NodeSummary objects that contain configuration -- properties for each node. -- -- $sel:httpStatus:ListNodesResponse', -- listNodesResponse_httpStatus - The response's http status code. newListNodesResponse :: Int -> ListNodesResponse -- | The pagination token that indicates the next set of results to -- retrieve. listNodesResponse_nextToken :: Lens' ListNodesResponse (Maybe Text) -- | An array of NodeSummary objects that contain configuration -- properties for each node. listNodesResponse_nodes :: Lens' ListNodesResponse (Maybe [NodeSummary]) -- | The response's http status code. listNodesResponse_httpStatus :: Lens' ListNodesResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListNodes.ListNodes instance GHC.Show.Show Amazonka.ManagedBlockChain.ListNodes.ListNodes instance GHC.Read.Read Amazonka.ManagedBlockChain.ListNodes.ListNodes instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListNodes.ListNodes instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListNodes.ListNodesResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListNodes.ListNodesResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListNodes.ListNodesResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListNodes.ListNodesResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListNodes.ListNodes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListNodes.ListNodesResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListNodes.ListNodes instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListNodes.ListNodes instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListNodes.ListNodes instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListNodes.ListNodes instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListNodes.ListNodes -- | Returns information about the networks in which the current Amazon Web -- Services account participates. -- -- Applies to Hyperledger Fabric and Ethereum. module Amazonka.ManagedBlockChain.ListNetworks -- | See: newListNetworks smart constructor. data ListNetworks ListNetworks' :: Maybe Framework -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> ListNetworks -- | An optional framework specifier. If provided, only networks of this -- framework type are listed. [$sel:framework:ListNetworks'] :: ListNetworks -> Maybe Framework -- | The maximum number of networks to list. [$sel:maxResults:ListNetworks'] :: ListNetworks -> Maybe Natural -- | The name of the network. [$sel:name:ListNetworks'] :: ListNetworks -> Maybe Text -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListNetworks'] :: ListNetworks -> Maybe Text -- | An optional status specifier. If provided, only networks currently in -- this status are listed. -- -- Applies only to Hyperledger Fabric. [$sel:status:ListNetworks'] :: ListNetworks -> Maybe NetworkStatus -- | Create a value of ListNetworks 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: -- -- ListNetworks, listNetworks_framework - An optional -- framework specifier. If provided, only networks of this framework type -- are listed. -- -- $sel:maxResults:ListNetworks', listNetworks_maxResults - -- The maximum number of networks to list. -- -- ListNetworks, listNetworks_name - The name of the -- network. -- -- ListNetworks, listNetworks_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- ListNetworks, listNetworks_status - An optional status -- specifier. If provided, only networks currently in this status are -- listed. -- -- Applies only to Hyperledger Fabric. newListNetworks :: ListNetworks -- | An optional framework specifier. If provided, only networks of this -- framework type are listed. listNetworks_framework :: Lens' ListNetworks (Maybe Framework) -- | The maximum number of networks to list. listNetworks_maxResults :: Lens' ListNetworks (Maybe Natural) -- | The name of the network. listNetworks_name :: Lens' ListNetworks (Maybe Text) -- | The pagination token that indicates the next set of results to -- retrieve. listNetworks_nextToken :: Lens' ListNetworks (Maybe Text) -- | An optional status specifier. If provided, only networks currently in -- this status are listed. -- -- Applies only to Hyperledger Fabric. listNetworks_status :: Lens' ListNetworks (Maybe NetworkStatus) -- | See: newListNetworksResponse smart constructor. data ListNetworksResponse ListNetworksResponse' :: Maybe [NetworkSummary] -> Maybe Text -> Int -> ListNetworksResponse -- | An array of NetworkSummary objects that contain configuration -- properties for each network. [$sel:networks:ListNetworksResponse'] :: ListNetworksResponse -> Maybe [NetworkSummary] -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListNetworksResponse'] :: ListNetworksResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListNetworksResponse'] :: ListNetworksResponse -> Int -- | Create a value of ListNetworksResponse 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:networks:ListNetworksResponse', -- listNetworksResponse_networks - An array of -- NetworkSummary objects that contain configuration properties -- for each network. -- -- ListNetworks, listNetworksResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListNetworksResponse', -- listNetworksResponse_httpStatus - The response's http status -- code. newListNetworksResponse :: Int -> ListNetworksResponse -- | An array of NetworkSummary objects that contain configuration -- properties for each network. listNetworksResponse_networks :: Lens' ListNetworksResponse (Maybe [NetworkSummary]) -- | The pagination token that indicates the next set of results to -- retrieve. listNetworksResponse_nextToken :: Lens' ListNetworksResponse (Maybe Text) -- | The response's http status code. listNetworksResponse_httpStatus :: Lens' ListNetworksResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance GHC.Show.Show Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance GHC.Read.Read Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListNetworks.ListNetworksResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListNetworks.ListNetworksResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListNetworks.ListNetworksResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListNetworks.ListNetworksResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListNetworks.ListNetworksResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListNetworks.ListNetworks instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListNetworks.ListNetworks -- | Returns a list of the members in a network and properties of their -- configurations. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.ListMembers -- | See: newListMembers smart constructor. data ListMembers ListMembers' :: Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe MemberStatus -> Text -> ListMembers -- | An optional Boolean value. If provided, the request is limited either -- to members that the current Amazon Web Services account owns -- (true) or that other Amazon Web Services accountsn own -- (false). If omitted, all members are listed. [$sel:isOwned:ListMembers'] :: ListMembers -> Maybe Bool -- | The maximum number of members to return in the request. [$sel:maxResults:ListMembers'] :: ListMembers -> Maybe Natural -- | The optional name of the member to list. [$sel:name:ListMembers'] :: ListMembers -> Maybe Text -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListMembers'] :: ListMembers -> Maybe Text -- | An optional status specifier. If provided, only members currently in -- this status are listed. [$sel:status:ListMembers'] :: ListMembers -> Maybe MemberStatus -- | The unique identifier of the network for which to list members. [$sel:networkId:ListMembers'] :: ListMembers -> Text -- | Create a value of ListMembers 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: -- -- ListMembers, listMembers_isOwned - An optional Boolean -- value. If provided, the request is limited either to members that the -- current Amazon Web Services account owns (true) or that other -- Amazon Web Services accountsn own (false). If omitted, all -- members are listed. -- -- $sel:maxResults:ListMembers', listMembers_maxResults - -- The maximum number of members to return in the request. -- -- ListMembers, listMembers_name - The optional name of the -- member to list. -- -- ListMembers, listMembers_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- ListMembers, listMembers_status - An optional status -- specifier. If provided, only members currently in this status are -- listed. -- -- ListMembers, listMembers_networkId - The unique -- identifier of the network for which to list members. newListMembers :: Text -> ListMembers -- | An optional Boolean value. If provided, the request is limited either -- to members that the current Amazon Web Services account owns -- (true) or that other Amazon Web Services accountsn own -- (false). If omitted, all members are listed. listMembers_isOwned :: Lens' ListMembers (Maybe Bool) -- | The maximum number of members to return in the request. listMembers_maxResults :: Lens' ListMembers (Maybe Natural) -- | The optional name of the member to list. listMembers_name :: Lens' ListMembers (Maybe Text) -- | The pagination token that indicates the next set of results to -- retrieve. listMembers_nextToken :: Lens' ListMembers (Maybe Text) -- | An optional status specifier. If provided, only members currently in -- this status are listed. listMembers_status :: Lens' ListMembers (Maybe MemberStatus) -- | The unique identifier of the network for which to list members. listMembers_networkId :: Lens' ListMembers Text -- | See: newListMembersResponse smart constructor. data ListMembersResponse ListMembersResponse' :: Maybe [MemberSummary] -> Maybe Text -> Int -> ListMembersResponse -- | An array of MemberSummary objects. Each object contains -- details about a network member. [$sel:members:ListMembersResponse'] :: ListMembersResponse -> Maybe [MemberSummary] -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListMembersResponse'] :: ListMembersResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListMembersResponse'] :: ListMembersResponse -> Int -- | Create a value of ListMembersResponse 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:members:ListMembersResponse', -- listMembersResponse_members - An array of -- MemberSummary objects. Each object contains details about a -- network member. -- -- ListMembers, listMembersResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListMembersResponse', -- listMembersResponse_httpStatus - The response's http status -- code. newListMembersResponse :: Int -> ListMembersResponse -- | An array of MemberSummary objects. Each object contains -- details about a network member. listMembersResponse_members :: Lens' ListMembersResponse (Maybe [MemberSummary]) -- | The pagination token that indicates the next set of results to -- retrieve. listMembersResponse_nextToken :: Lens' ListMembersResponse (Maybe Text) -- | The response's http status code. listMembersResponse_httpStatus :: Lens' ListMembersResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListMembers.ListMembers instance GHC.Show.Show Amazonka.ManagedBlockChain.ListMembers.ListMembers instance GHC.Read.Read Amazonka.ManagedBlockChain.ListMembers.ListMembers instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListMembers.ListMembers instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListMembers.ListMembersResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListMembers.ListMembersResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListMembers.ListMembersResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListMembers.ListMembersResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListMembers.ListMembers instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListMembers.ListMembersResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListMembers.ListMembers instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListMembers.ListMembers instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListMembers.ListMembers instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListMembers.ListMembers instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListMembers.ListMembers -- | Returns a list of all invitations for the current Amazon Web Services -- account. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.ListInvitations -- | See: newListInvitations smart constructor. data ListInvitations ListInvitations' :: Maybe Natural -> Maybe Text -> ListInvitations -- | The maximum number of invitations to return. [$sel:maxResults:ListInvitations'] :: ListInvitations -> Maybe Natural -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListInvitations'] :: ListInvitations -> Maybe Text -- | Create a value of ListInvitations 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:maxResults:ListInvitations', -- listInvitations_maxResults - The maximum number of invitations -- to return. -- -- ListInvitations, listInvitations_nextToken - The -- pagination token that indicates the next set of results to retrieve. newListInvitations :: ListInvitations -- | The maximum number of invitations to return. listInvitations_maxResults :: Lens' ListInvitations (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listInvitations_nextToken :: Lens' ListInvitations (Maybe Text) -- | See: newListInvitationsResponse smart constructor. data ListInvitationsResponse ListInvitationsResponse' :: Maybe [Invitation] -> Maybe Text -> Int -> ListInvitationsResponse -- | The invitations for the network. [$sel:invitations:ListInvitationsResponse'] :: ListInvitationsResponse -> Maybe [Invitation] -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListInvitationsResponse'] :: ListInvitationsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListInvitationsResponse'] :: ListInvitationsResponse -> Int -- | Create a value of ListInvitationsResponse 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: -- -- ListInvitationsResponse, -- listInvitationsResponse_invitations - The invitations for the -- network. -- -- ListInvitations, listInvitationsResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListInvitationsResponse', -- listInvitationsResponse_httpStatus - The response's http status -- code. newListInvitationsResponse :: Int -> ListInvitationsResponse -- | The invitations for the network. listInvitationsResponse_invitations :: Lens' ListInvitationsResponse (Maybe [Invitation]) -- | The pagination token that indicates the next set of results to -- retrieve. listInvitationsResponse_nextToken :: Lens' ListInvitationsResponse (Maybe Text) -- | The response's http status code. listInvitationsResponse_httpStatus :: Lens' ListInvitationsResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance GHC.Show.Show Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance GHC.Read.Read Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListInvitations.ListInvitationsResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListInvitations.ListInvitationsResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListInvitations.ListInvitationsResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListInvitations.ListInvitationsResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListInvitations.ListInvitationsResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListInvitations.ListInvitations instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListInvitations.ListInvitations -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- Returns a list of the accessors and their properties. Accessor objects -- are containers that have the information required for token based -- access to your Ethereum nodes. -- -- This operation returns paginated results. module Amazonka.ManagedBlockChain.ListAccessors -- | See: newListAccessors smart constructor. data ListAccessors ListAccessors' :: Maybe Natural -> Maybe Text -> ListAccessors -- | The maximum number of accessors to list. [$sel:maxResults:ListAccessors'] :: ListAccessors -> Maybe Natural -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListAccessors'] :: ListAccessors -> Maybe Text -- | Create a value of ListAccessors 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:maxResults:ListAccessors', listAccessors_maxResults -- - The maximum number of accessors to list. -- -- ListAccessors, listAccessors_nextToken - The pagination -- token that indicates the next set of results to retrieve. newListAccessors :: ListAccessors -- | The maximum number of accessors to list. listAccessors_maxResults :: Lens' ListAccessors (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listAccessors_nextToken :: Lens' ListAccessors (Maybe Text) -- | See: newListAccessorsResponse smart constructor. data ListAccessorsResponse ListAccessorsResponse' :: Maybe [AccessorSummary] -> Maybe Text -> Int -> ListAccessorsResponse -- | An array of AccessorSummary objects that contain configuration -- properties for each accessor. [$sel:accessors:ListAccessorsResponse'] :: ListAccessorsResponse -> Maybe [AccessorSummary] -- | The pagination token that indicates the next set of results to -- retrieve. [$sel:nextToken:ListAccessorsResponse'] :: ListAccessorsResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListAccessorsResponse'] :: ListAccessorsResponse -> Int -- | Create a value of ListAccessorsResponse 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:accessors:ListAccessorsResponse', -- listAccessorsResponse_accessors - An array of AccessorSummary -- objects that contain configuration properties for each accessor. -- -- ListAccessors, listAccessorsResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListAccessorsResponse', -- listAccessorsResponse_httpStatus - The response's http status -- code. newListAccessorsResponse :: Int -> ListAccessorsResponse -- | An array of AccessorSummary objects that contain configuration -- properties for each accessor. listAccessorsResponse_accessors :: Lens' ListAccessorsResponse (Maybe [AccessorSummary]) -- | The pagination token that indicates the next set of results to -- retrieve. listAccessorsResponse_nextToken :: Lens' ListAccessorsResponse (Maybe Text) -- | The response's http status code. listAccessorsResponse_httpStatus :: Lens' ListAccessorsResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance GHC.Show.Show Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance GHC.Read.Read Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance GHC.Generics.Generic Amazonka.ManagedBlockChain.ListAccessors.ListAccessorsResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.ListAccessors.ListAccessorsResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.ListAccessors.ListAccessorsResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.ListAccessors.ListAccessorsResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListAccessors.ListAccessorsResponse instance Amazonka.Pager.AWSPager Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.ListAccessors.ListAccessors instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.ListAccessors.ListAccessors -- | Returns detailed information about a proposal. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.GetProposal -- | See: newGetProposal smart constructor. data GetProposal GetProposal' :: Text -> Text -> GetProposal -- | The unique identifier of the network for which the proposal is made. [$sel:networkId:GetProposal'] :: GetProposal -> Text -- | The unique identifier of the proposal. [$sel:proposalId:GetProposal'] :: GetProposal -> Text -- | Create a value of GetProposal 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: -- -- GetProposal, getProposal_networkId - The unique -- identifier of the network for which the proposal is made. -- -- GetProposal, getProposal_proposalId - The unique -- identifier of the proposal. newGetProposal :: Text -> Text -> GetProposal -- | The unique identifier of the network for which the proposal is made. getProposal_networkId :: Lens' GetProposal Text -- | The unique identifier of the proposal. getProposal_proposalId :: Lens' GetProposal Text -- | See: newGetProposalResponse smart constructor. data GetProposalResponse GetProposalResponse' :: Maybe Proposal -> Int -> GetProposalResponse -- | Information about a proposal. [$sel:proposal:GetProposalResponse'] :: GetProposalResponse -> Maybe Proposal -- | The response's http status code. [$sel:httpStatus:GetProposalResponse'] :: GetProposalResponse -> Int -- | Create a value of GetProposalResponse 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:proposal:GetProposalResponse', -- getProposalResponse_proposal - Information about a proposal. -- -- $sel:httpStatus:GetProposalResponse', -- getProposalResponse_httpStatus - The response's http status -- code. newGetProposalResponse :: Int -> GetProposalResponse -- | Information about a proposal. getProposalResponse_proposal :: Lens' GetProposalResponse (Maybe Proposal) -- | The response's http status code. getProposalResponse_httpStatus :: Lens' GetProposalResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetProposal.GetProposal instance GHC.Show.Show Amazonka.ManagedBlockChain.GetProposal.GetProposal instance GHC.Read.Read Amazonka.ManagedBlockChain.GetProposal.GetProposal instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetProposal.GetProposal instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetProposal.GetProposalResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.GetProposal.GetProposalResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.GetProposal.GetProposalResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetProposal.GetProposalResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.GetProposal.GetProposal instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetProposal.GetProposalResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.GetProposal.GetProposal instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetProposal.GetProposal instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.GetProposal.GetProposal instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.GetProposal.GetProposal instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.GetProposal.GetProposal -- | Returns detailed information about a node. -- -- Applies to Hyperledger Fabric and Ethereum. module Amazonka.ManagedBlockChain.GetNode -- | See: newGetNode smart constructor. data GetNode GetNode' :: Maybe Text -> Text -> Text -> GetNode -- | The unique identifier of the member that owns the node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. [$sel:memberId:GetNode'] :: GetNode -> Maybe Text -- | The unique identifier of the network that the node is on. [$sel:networkId:GetNode'] :: GetNode -> Text -- | The unique identifier of the node. [$sel:nodeId:GetNode'] :: GetNode -> Text -- | Create a value of GetNode 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: -- -- GetNode, getNode_memberId - The unique identifier of the -- member that owns the node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. -- -- GetNode, getNode_networkId - The unique identifier of -- the network that the node is on. -- -- $sel:nodeId:GetNode', getNode_nodeId - The unique -- identifier of the node. newGetNode :: Text -> Text -> GetNode -- | The unique identifier of the member that owns the node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. getNode_memberId :: Lens' GetNode (Maybe Text) -- | The unique identifier of the network that the node is on. getNode_networkId :: Lens' GetNode Text -- | The unique identifier of the node. getNode_nodeId :: Lens' GetNode Text -- | See: newGetNodeResponse smart constructor. data GetNodeResponse GetNodeResponse' :: Maybe Node -> Int -> GetNodeResponse -- | Properties of the node configuration. [$sel:node:GetNodeResponse'] :: GetNodeResponse -> Maybe Node -- | The response's http status code. [$sel:httpStatus:GetNodeResponse'] :: GetNodeResponse -> Int -- | Create a value of GetNodeResponse 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:node:GetNodeResponse', getNodeResponse_node - -- Properties of the node configuration. -- -- $sel:httpStatus:GetNodeResponse', -- getNodeResponse_httpStatus - The response's http status code. newGetNodeResponse :: Int -> GetNodeResponse -- | Properties of the node configuration. getNodeResponse_node :: Lens' GetNodeResponse (Maybe Node) -- | The response's http status code. getNodeResponse_httpStatus :: Lens' GetNodeResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetNode.GetNode instance GHC.Show.Show Amazonka.ManagedBlockChain.GetNode.GetNode instance GHC.Read.Read Amazonka.ManagedBlockChain.GetNode.GetNode instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetNode.GetNode instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetNode.GetNodeResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.GetNode.GetNodeResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.GetNode.GetNodeResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetNode.GetNodeResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.GetNode.GetNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetNode.GetNodeResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.GetNode.GetNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetNode.GetNode instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.GetNode.GetNode instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.GetNode.GetNode instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.GetNode.GetNode -- | Returns detailed information about a network. -- -- Applies to Hyperledger Fabric and Ethereum. module Amazonka.ManagedBlockChain.GetNetwork -- | See: newGetNetwork smart constructor. data GetNetwork GetNetwork' :: Text -> GetNetwork -- | The unique identifier of the network to get information about. [$sel:networkId:GetNetwork'] :: GetNetwork -> Text -- | Create a value of GetNetwork 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: -- -- GetNetwork, getNetwork_networkId - The unique identifier -- of the network to get information about. newGetNetwork :: Text -> GetNetwork -- | The unique identifier of the network to get information about. getNetwork_networkId :: Lens' GetNetwork Text -- | See: newGetNetworkResponse smart constructor. data GetNetworkResponse GetNetworkResponse' :: Maybe Network -> Int -> GetNetworkResponse -- | An object containing network configuration parameters. [$sel:network:GetNetworkResponse'] :: GetNetworkResponse -> Maybe Network -- | The response's http status code. [$sel:httpStatus:GetNetworkResponse'] :: GetNetworkResponse -> Int -- | Create a value of GetNetworkResponse 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:network:GetNetworkResponse', -- getNetworkResponse_network - An object containing network -- configuration parameters. -- -- $sel:httpStatus:GetNetworkResponse', -- getNetworkResponse_httpStatus - The response's http status -- code. newGetNetworkResponse :: Int -> GetNetworkResponse -- | An object containing network configuration parameters. getNetworkResponse_network :: Lens' GetNetworkResponse (Maybe Network) -- | The response's http status code. getNetworkResponse_httpStatus :: Lens' GetNetworkResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance GHC.Show.Show Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance GHC.Read.Read Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetNetwork.GetNetworkResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.GetNetwork.GetNetworkResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.GetNetwork.GetNetworkResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetNetwork.GetNetworkResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetNetwork.GetNetworkResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.GetNetwork.GetNetwork instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.GetNetwork.GetNetwork -- | Returns detailed information about a member. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.GetMember -- | See: newGetMember smart constructor. data GetMember GetMember' :: Text -> Text -> GetMember -- | The unique identifier of the network to which the member belongs. [$sel:networkId:GetMember'] :: GetMember -> Text -- | The unique identifier of the member. [$sel:memberId:GetMember'] :: GetMember -> Text -- | Create a value of GetMember 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: -- -- GetMember, getMember_networkId - The unique identifier -- of the network to which the member belongs. -- -- GetMember, getMember_memberId - The unique identifier of -- the member. newGetMember :: Text -> Text -> GetMember -- | The unique identifier of the network to which the member belongs. getMember_networkId :: Lens' GetMember Text -- | The unique identifier of the member. getMember_memberId :: Lens' GetMember Text -- | See: newGetMemberResponse smart constructor. data GetMemberResponse GetMemberResponse' :: Maybe Member -> Int -> GetMemberResponse -- | The properties of a member. [$sel:member:GetMemberResponse'] :: GetMemberResponse -> Maybe Member -- | The response's http status code. [$sel:httpStatus:GetMemberResponse'] :: GetMemberResponse -> Int -- | Create a value of GetMemberResponse 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:member:GetMemberResponse', getMemberResponse_member -- - The properties of a member. -- -- $sel:httpStatus:GetMemberResponse', -- getMemberResponse_httpStatus - The response's http status code. newGetMemberResponse :: Int -> GetMemberResponse -- | The properties of a member. getMemberResponse_member :: Lens' GetMemberResponse (Maybe Member) -- | The response's http status code. getMemberResponse_httpStatus :: Lens' GetMemberResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetMember.GetMember instance GHC.Show.Show Amazonka.ManagedBlockChain.GetMember.GetMember instance GHC.Read.Read Amazonka.ManagedBlockChain.GetMember.GetMember instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetMember.GetMember instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetMember.GetMemberResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.GetMember.GetMemberResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.GetMember.GetMemberResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetMember.GetMemberResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.GetMember.GetMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetMember.GetMemberResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.GetMember.GetMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetMember.GetMember instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.GetMember.GetMember instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.GetMember.GetMember instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.GetMember.GetMember -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- Returns detailed information about an accessor. An accessor object is -- a container that has the information required for token based access -- to your Ethereum nodes. module Amazonka.ManagedBlockChain.GetAccessor -- | See: newGetAccessor smart constructor. data GetAccessor GetAccessor' :: Text -> GetAccessor -- | The unique identifier of the accessor. [$sel:accessorId:GetAccessor'] :: GetAccessor -> Text -- | Create a value of GetAccessor 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:accessorId:GetAccessor', getAccessor_accessorId - -- The unique identifier of the accessor. newGetAccessor :: Text -> GetAccessor -- | The unique identifier of the accessor. getAccessor_accessorId :: Lens' GetAccessor Text -- | See: newGetAccessorResponse smart constructor. data GetAccessorResponse GetAccessorResponse' :: Maybe Accessor -> Int -> GetAccessorResponse -- | The properties of the accessor. [$sel:accessor:GetAccessorResponse'] :: GetAccessorResponse -> Maybe Accessor -- | The response's http status code. [$sel:httpStatus:GetAccessorResponse'] :: GetAccessorResponse -> Int -- | Create a value of GetAccessorResponse 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:accessor:GetAccessorResponse', -- getAccessorResponse_accessor - The properties of the accessor. -- -- $sel:httpStatus:GetAccessorResponse', -- getAccessorResponse_httpStatus - The response's http status -- code. newGetAccessorResponse :: Int -> GetAccessorResponse -- | The properties of the accessor. getAccessorResponse_accessor :: Lens' GetAccessorResponse (Maybe Accessor) -- | The response's http status code. getAccessorResponse_httpStatus :: Lens' GetAccessorResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance GHC.Show.Show Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance GHC.Read.Read Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance GHC.Generics.Generic Amazonka.ManagedBlockChain.GetAccessor.GetAccessorResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.GetAccessor.GetAccessorResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.GetAccessor.GetAccessorResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.GetAccessor.GetAccessorResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetAccessor.GetAccessorResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.GetAccessor.GetAccessor instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.GetAccessor.GetAccessor -- | Deletes a node that your Amazon Web Services account owns. All data on -- the node is lost and cannot be recovered. -- -- Applies to Hyperledger Fabric and Ethereum. module Amazonka.ManagedBlockChain.DeleteNode -- | See: newDeleteNode smart constructor. data DeleteNode DeleteNode' :: Maybe Text -> Text -> Text -> DeleteNode -- | The unique identifier of the member that owns this node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. [$sel:memberId:DeleteNode'] :: DeleteNode -> Maybe Text -- | The unique identifier of the network that the node is on. -- -- Ethereum public networks have the following NetworkIds: -- -- [$sel:networkId:DeleteNode'] :: DeleteNode -> Text -- | The unique identifier of the node. [$sel:nodeId:DeleteNode'] :: DeleteNode -> Text -- | Create a value of DeleteNode 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: -- -- DeleteNode, deleteNode_memberId - The unique identifier -- of the member that owns this node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. -- -- DeleteNode, deleteNode_networkId - The unique identifier -- of the network that the node is on. -- -- Ethereum public networks have the following NetworkIds: -- -- -- -- $sel:nodeId:DeleteNode', deleteNode_nodeId - The unique -- identifier of the node. newDeleteNode :: Text -> Text -> DeleteNode -- | The unique identifier of the member that owns this node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. deleteNode_memberId :: Lens' DeleteNode (Maybe Text) -- | The unique identifier of the network that the node is on. -- -- Ethereum public networks have the following NetworkIds: -- -- deleteNode_networkId :: Lens' DeleteNode Text -- | The unique identifier of the node. deleteNode_nodeId :: Lens' DeleteNode Text -- | See: newDeleteNodeResponse smart constructor. data DeleteNodeResponse DeleteNodeResponse' :: Int -> DeleteNodeResponse -- | The response's http status code. [$sel:httpStatus:DeleteNodeResponse'] :: DeleteNodeResponse -> Int -- | Create a value of DeleteNodeResponse 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:httpStatus:DeleteNodeResponse', -- deleteNodeResponse_httpStatus - The response's http status -- code. newDeleteNodeResponse :: Int -> DeleteNodeResponse -- | The response's http status code. deleteNodeResponse_httpStatus :: Lens' DeleteNodeResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance GHC.Show.Show Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance GHC.Read.Read Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance GHC.Classes.Eq Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance GHC.Generics.Generic Amazonka.ManagedBlockChain.DeleteNode.DeleteNodeResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.DeleteNode.DeleteNodeResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.DeleteNode.DeleteNodeResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.DeleteNode.DeleteNodeResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.DeleteNode.DeleteNodeResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.DeleteNode.DeleteNode instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.DeleteNode.DeleteNode -- | Deletes a member. Deleting a member removes the member and all -- associated resources from the network. DeleteMember can only -- be called for a specified MemberId if the principal -- performing the action is associated with the Amazon Web Services -- account that owns the member. In all other cases, the -- DeleteMember action is carried out as the result of an -- approved proposal to remove a member. If MemberId is the last -- member in a network specified by the last Amazon Web Services account, -- the network is deleted also. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.DeleteMember -- | See: newDeleteMember smart constructor. data DeleteMember DeleteMember' :: Text -> Text -> DeleteMember -- | The unique identifier of the network from which the member is removed. [$sel:networkId:DeleteMember'] :: DeleteMember -> Text -- | The unique identifier of the member to remove. [$sel:memberId:DeleteMember'] :: DeleteMember -> Text -- | Create a value of DeleteMember 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: -- -- DeleteMember, deleteMember_networkId - The unique -- identifier of the network from which the member is removed. -- -- DeleteMember, deleteMember_memberId - The unique -- identifier of the member to remove. newDeleteMember :: Text -> Text -> DeleteMember -- | The unique identifier of the network from which the member is removed. deleteMember_networkId :: Lens' DeleteMember Text -- | The unique identifier of the member to remove. deleteMember_memberId :: Lens' DeleteMember Text -- | See: newDeleteMemberResponse smart constructor. data DeleteMemberResponse DeleteMemberResponse' :: Int -> DeleteMemberResponse -- | The response's http status code. [$sel:httpStatus:DeleteMemberResponse'] :: DeleteMemberResponse -> Int -- | Create a value of DeleteMemberResponse 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:httpStatus:DeleteMemberResponse', -- deleteMemberResponse_httpStatus - The response's http status -- code. newDeleteMemberResponse :: Int -> DeleteMemberResponse -- | The response's http status code. deleteMemberResponse_httpStatus :: Lens' DeleteMemberResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance GHC.Show.Show Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance GHC.Read.Read Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance GHC.Classes.Eq Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance GHC.Generics.Generic Amazonka.ManagedBlockChain.DeleteMember.DeleteMemberResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.DeleteMember.DeleteMemberResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.DeleteMember.DeleteMemberResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.DeleteMember.DeleteMemberResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.DeleteMember.DeleteMemberResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.DeleteMember.DeleteMember instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.DeleteMember.DeleteMember -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- Deletes an accessor that your Amazon Web Services account owns. An -- accessor object is a container that has the information required for -- token based access to your Ethereum nodes including, the -- BILLING_TOKEN. After an accessor is deleted, the status of -- the accessor changes from AVAILABLE to -- PENDING_DELETION. An accessor in the -- PENDING_DELETION state can’t be used for new WebSocket -- requests or HTTP requests. However, WebSocket connections that were -- initiated while the accessor was in the AVAILABLE state -- remain open until they expire (up to 2 hours). module Amazonka.ManagedBlockChain.DeleteAccessor -- | See: newDeleteAccessor smart constructor. data DeleteAccessor DeleteAccessor' :: Text -> DeleteAccessor -- | The unique identifier of the accessor. [$sel:accessorId:DeleteAccessor'] :: DeleteAccessor -> Text -- | Create a value of DeleteAccessor 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:accessorId:DeleteAccessor', -- deleteAccessor_accessorId - The unique identifier of the -- accessor. newDeleteAccessor :: Text -> DeleteAccessor -- | The unique identifier of the accessor. deleteAccessor_accessorId :: Lens' DeleteAccessor Text -- | See: newDeleteAccessorResponse smart constructor. data DeleteAccessorResponse DeleteAccessorResponse' :: Int -> DeleteAccessorResponse -- | The response's http status code. [$sel:httpStatus:DeleteAccessorResponse'] :: DeleteAccessorResponse -> Int -- | Create a value of DeleteAccessorResponse 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:httpStatus:DeleteAccessorResponse', -- deleteAccessorResponse_httpStatus - The response's http status -- code. newDeleteAccessorResponse :: Int -> DeleteAccessorResponse -- | The response's http status code. deleteAccessorResponse_httpStatus :: Lens' DeleteAccessorResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance GHC.Show.Show Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance GHC.Read.Read Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance GHC.Classes.Eq Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance GHC.Generics.Generic Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessorResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessorResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessorResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessorResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessorResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.DeleteAccessor.DeleteAccessor -- | Creates a proposal for a change to the network that other members of -- the network can vote on, for example, a proposal to add a new member -- to the network. Any member can create a proposal. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.CreateProposal -- | See: newCreateProposal smart constructor. data CreateProposal CreateProposal' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> Text -> ProposalActions -> CreateProposal -- | A description for the proposal that is visible to voting members, for -- example, "Proposal to add Example Corp. as member." [$sel:description:CreateProposal'] :: CreateProposal -> Maybe Text -- | Tags to assign to the proposal. Each tag consists of a key and -- optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. If the proposal is for a network -- invitation, the invitation inherits the tags added to the proposal. -- -- 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:tags:CreateProposal'] :: CreateProposal -> Maybe (HashMap Text Text) -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. [$sel:clientRequestToken:CreateProposal'] :: CreateProposal -> Text -- | The unique identifier of the network for which the proposal is made. [$sel:networkId:CreateProposal'] :: CreateProposal -> Text -- | The unique identifier of the member that is creating the proposal. -- This identifier is especially useful for identifying the member making -- the proposal when multiple members exist in a single Amazon Web -- Services account. [$sel:memberId:CreateProposal'] :: CreateProposal -> Text -- | The type of actions proposed, such as inviting a member or removing a -- member. The types of Actions in a proposal are mutually -- exclusive. For example, a proposal with Invitations actions -- cannot also contain Removals actions. [$sel:actions:CreateProposal'] :: CreateProposal -> ProposalActions -- | Create a value of CreateProposal 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: -- -- CreateProposal, createProposal_description - A -- description for the proposal that is visible to voting members, for -- example, "Proposal to add Example Corp. as member." -- -- CreateProposal, createProposal_tags - Tags to assign to -- the proposal. Each tag consists of a key and optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. If the proposal is for a network -- invitation, the invitation inherits the tags added to the proposal. -- -- 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:clientRequestToken:CreateProposal', -- createProposal_clientRequestToken - A unique, case-sensitive -- identifier that you provide to ensure the idempotency of the -- operation. An idempotent operation completes no more than one time. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the CLI. -- -- CreateProposal, createProposal_networkId - The unique -- identifier of the network for which the proposal is made. -- -- CreateProposal, createProposal_memberId - The unique -- identifier of the member that is creating the proposal. This -- identifier is especially useful for identifying the member making the -- proposal when multiple members exist in a single Amazon Web Services -- account. -- -- CreateProposal, createProposal_actions - The type of -- actions proposed, such as inviting a member or removing a member. The -- types of Actions in a proposal are mutually exclusive. For -- example, a proposal with Invitations actions cannot also -- contain Removals actions. newCreateProposal :: Text -> Text -> Text -> ProposalActions -> CreateProposal -- | A description for the proposal that is visible to voting members, for -- example, "Proposal to add Example Corp. as member." createProposal_description :: Lens' CreateProposal (Maybe Text) -- | Tags to assign to the proposal. Each tag consists of a key and -- optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. If the proposal is for a network -- invitation, the invitation inherits the tags added to the proposal. -- -- 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. createProposal_tags :: Lens' CreateProposal (Maybe (HashMap Text Text)) -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. createProposal_clientRequestToken :: Lens' CreateProposal Text -- | The unique identifier of the network for which the proposal is made. createProposal_networkId :: Lens' CreateProposal Text -- | The unique identifier of the member that is creating the proposal. -- This identifier is especially useful for identifying the member making -- the proposal when multiple members exist in a single Amazon Web -- Services account. createProposal_memberId :: Lens' CreateProposal Text -- | The type of actions proposed, such as inviting a member or removing a -- member. The types of Actions in a proposal are mutually -- exclusive. For example, a proposal with Invitations actions -- cannot also contain Removals actions. createProposal_actions :: Lens' CreateProposal ProposalActions -- | See: newCreateProposalResponse smart constructor. data CreateProposalResponse CreateProposalResponse' :: Maybe Text -> Int -> CreateProposalResponse -- | The unique identifier of the proposal. [$sel:proposalId:CreateProposalResponse'] :: CreateProposalResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:CreateProposalResponse'] :: CreateProposalResponse -> Int -- | Create a value of CreateProposalResponse 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: -- -- CreateProposalResponse, -- createProposalResponse_proposalId - The unique identifier of -- the proposal. -- -- $sel:httpStatus:CreateProposalResponse', -- createProposalResponse_httpStatus - The response's http status -- code. newCreateProposalResponse :: Int -> CreateProposalResponse -- | The unique identifier of the proposal. createProposalResponse_proposalId :: Lens' CreateProposalResponse (Maybe Text) -- | The response's http status code. createProposalResponse_httpStatus :: Lens' CreateProposalResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateProposal.CreateProposalResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateProposal.CreateProposalResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateProposal.CreateProposalResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateProposal.CreateProposalResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateProposal.CreateProposalResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.CreateProposal.CreateProposal instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.CreateProposal.CreateProposal -- | Creates a node on the specified blockchain network. -- -- Applies to Hyperledger Fabric and Ethereum. module Amazonka.ManagedBlockChain.CreateNode -- | See: newCreateNode smart constructor. data CreateNode CreateNode' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> NodeConfiguration -> CreateNode -- | The unique identifier of the member that owns this node. -- -- Applies only to Hyperledger Fabric. [$sel:memberId:CreateNode'] :: CreateNode -> Maybe Text -- | Tags to assign to the node. Each tag consists of a key and optional -- value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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:tags:CreateNode'] :: CreateNode -> Maybe (HashMap Text Text) -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. [$sel:clientRequestToken:CreateNode'] :: CreateNode -> Text -- | The unique identifier of the network for the node. -- -- Ethereum public networks have the following NetworkIds: -- -- [$sel:networkId:CreateNode'] :: CreateNode -> Text -- | The properties of a node configuration. [$sel:nodeConfiguration:CreateNode'] :: CreateNode -> NodeConfiguration -- | Create a value of CreateNode 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: -- -- CreateNode, createNode_memberId - The unique identifier -- of the member that owns this node. -- -- Applies only to Hyperledger Fabric. -- -- CreateNode, createNode_tags - Tags to assign to the -- node. Each tag consists of a key and optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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:clientRequestToken:CreateNode', -- createNode_clientRequestToken - A unique, case-sensitive -- identifier that you provide to ensure the idempotency of the -- operation. An idempotent operation completes no more than one time. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the CLI. -- -- CreateNode, createNode_networkId - The unique identifier -- of the network for the node. -- -- Ethereum public networks have the following NetworkIds: -- -- -- -- $sel:nodeConfiguration:CreateNode', -- createNode_nodeConfiguration - The properties of a node -- configuration. newCreateNode :: Text -> Text -> NodeConfiguration -> CreateNode -- | The unique identifier of the member that owns this node. -- -- Applies only to Hyperledger Fabric. createNode_memberId :: Lens' CreateNode (Maybe Text) -- | Tags to assign to the node. Each tag consists of a key and optional -- value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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. createNode_tags :: Lens' CreateNode (Maybe (HashMap Text Text)) -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. createNode_clientRequestToken :: Lens' CreateNode Text -- | The unique identifier of the network for the node. -- -- Ethereum public networks have the following NetworkIds: -- -- createNode_networkId :: Lens' CreateNode Text -- | The properties of a node configuration. createNode_nodeConfiguration :: Lens' CreateNode NodeConfiguration -- | See: newCreateNodeResponse smart constructor. data CreateNodeResponse CreateNodeResponse' :: Maybe Text -> Int -> CreateNodeResponse -- | The unique identifier of the node. [$sel:nodeId:CreateNodeResponse'] :: CreateNodeResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:CreateNodeResponse'] :: CreateNodeResponse -> Int -- | Create a value of CreateNodeResponse 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:nodeId:CreateNodeResponse', -- createNodeResponse_nodeId - The unique identifier of the node. -- -- $sel:httpStatus:CreateNodeResponse', -- createNodeResponse_httpStatus - The response's http status -- code. newCreateNodeResponse :: Int -> CreateNodeResponse -- | The unique identifier of the node. createNodeResponse_nodeId :: Lens' CreateNodeResponse (Maybe Text) -- | The response's http status code. createNodeResponse_httpStatus :: Lens' CreateNodeResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateNode.CreateNode instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateNode.CreateNode instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateNode.CreateNode instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateNode.CreateNode instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateNode.CreateNodeResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateNode.CreateNodeResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateNode.CreateNodeResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateNode.CreateNodeResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.CreateNode.CreateNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateNode.CreateNodeResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.CreateNode.CreateNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateNode.CreateNode instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.CreateNode.CreateNode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.CreateNode.CreateNode instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.CreateNode.CreateNode instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.CreateNode.CreateNode -- | Creates a new blockchain network using Amazon Managed Blockchain. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.CreateNetwork -- | See: newCreateNetwork smart constructor. data CreateNetwork CreateNetwork' :: Maybe Text -> Maybe NetworkFrameworkConfiguration -> Maybe (HashMap Text Text) -> Text -> Text -> Framework -> Text -> VotingPolicy -> MemberConfiguration -> CreateNetwork -- | An optional description for the network. [$sel:description:CreateNetwork'] :: CreateNetwork -> Maybe Text -- | Configuration properties of the blockchain framework relevant to the -- network configuration. [$sel:frameworkConfiguration:CreateNetwork'] :: CreateNetwork -> Maybe NetworkFrameworkConfiguration -- | Tags to assign to the network. Each tag consists of a key and optional -- value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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:tags:CreateNetwork'] :: CreateNetwork -> Maybe (HashMap Text Text) -- | This is a unique, case-sensitive identifier that you provide to ensure -- the idempotency of the operation. An idempotent operation completes no -- more than once. This identifier is required only if you make a service -- request directly using an HTTP client. It is generated automatically -- if you use an Amazon Web Services SDK or the Amazon Web Services CLI. [$sel:clientRequestToken:CreateNetwork'] :: CreateNetwork -> Text -- | The name of the network. [$sel:name:CreateNetwork'] :: CreateNetwork -> Text -- | The blockchain framework that the network uses. [$sel:framework:CreateNetwork'] :: CreateNetwork -> Framework -- | The version of the blockchain framework that the network uses. [$sel:frameworkVersion:CreateNetwork'] :: CreateNetwork -> Text -- | The voting rules used by the network to determine if a proposal is -- approved. [$sel:votingPolicy:CreateNetwork'] :: CreateNetwork -> VotingPolicy -- | Configuration properties for the first member within the network. [$sel:memberConfiguration:CreateNetwork'] :: CreateNetwork -> MemberConfiguration -- | Create a value of CreateNetwork 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: -- -- CreateNetwork, createNetwork_description - An optional -- description for the network. -- -- CreateNetwork, createNetwork_frameworkConfiguration - -- Configuration properties of the blockchain framework relevant to the -- network configuration. -- -- CreateNetwork, createNetwork_tags - Tags to assign to -- the network. Each tag consists of a key and optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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:clientRequestToken:CreateNetwork', -- createNetwork_clientRequestToken - This is a unique, -- case-sensitive identifier that you provide to ensure the idempotency -- of the operation. An idempotent operation completes no more than once. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the Amazon Web Services CLI. -- -- CreateNetwork, createNetwork_name - The name of the -- network. -- -- CreateNetwork, createNetwork_framework - The blockchain -- framework that the network uses. -- -- CreateNetwork, createNetwork_frameworkVersion - The -- version of the blockchain framework that the network uses. -- -- CreateNetwork, createNetwork_votingPolicy - The voting -- rules used by the network to determine if a proposal is approved. -- -- $sel:memberConfiguration:CreateNetwork', -- createNetwork_memberConfiguration - Configuration properties -- for the first member within the network. newCreateNetwork :: Text -> Text -> Framework -> Text -> VotingPolicy -> MemberConfiguration -> CreateNetwork -- | An optional description for the network. createNetwork_description :: Lens' CreateNetwork (Maybe Text) -- | Configuration properties of the blockchain framework relevant to the -- network configuration. createNetwork_frameworkConfiguration :: Lens' CreateNetwork (Maybe NetworkFrameworkConfiguration) -- | Tags to assign to the network. Each tag consists of a key and optional -- value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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. createNetwork_tags :: Lens' CreateNetwork (Maybe (HashMap Text Text)) -- | This is a unique, case-sensitive identifier that you provide to ensure -- the idempotency of the operation. An idempotent operation completes no -- more than once. This identifier is required only if you make a service -- request directly using an HTTP client. It is generated automatically -- if you use an Amazon Web Services SDK or the Amazon Web Services CLI. createNetwork_clientRequestToken :: Lens' CreateNetwork Text -- | The name of the network. createNetwork_name :: Lens' CreateNetwork Text -- | The blockchain framework that the network uses. createNetwork_framework :: Lens' CreateNetwork Framework -- | The version of the blockchain framework that the network uses. createNetwork_frameworkVersion :: Lens' CreateNetwork Text -- | The voting rules used by the network to determine if a proposal is -- approved. createNetwork_votingPolicy :: Lens' CreateNetwork VotingPolicy -- | Configuration properties for the first member within the network. createNetwork_memberConfiguration :: Lens' CreateNetwork MemberConfiguration -- | See: newCreateNetworkResponse smart constructor. data CreateNetworkResponse CreateNetworkResponse' :: Maybe Text -> Maybe Text -> Int -> CreateNetworkResponse -- | The unique identifier for the first member within the network. [$sel:memberId:CreateNetworkResponse'] :: CreateNetworkResponse -> Maybe Text -- | The unique identifier for the network. [$sel:networkId:CreateNetworkResponse'] :: CreateNetworkResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:CreateNetworkResponse'] :: CreateNetworkResponse -> Int -- | Create a value of CreateNetworkResponse 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: -- -- CreateNetworkResponse, createNetworkResponse_memberId - -- The unique identifier for the first member within the network. -- -- CreateNetworkResponse, createNetworkResponse_networkId - -- The unique identifier for the network. -- -- $sel:httpStatus:CreateNetworkResponse', -- createNetworkResponse_httpStatus - The response's http status -- code. newCreateNetworkResponse :: Int -> CreateNetworkResponse -- | The unique identifier for the first member within the network. createNetworkResponse_memberId :: Lens' CreateNetworkResponse (Maybe Text) -- | The unique identifier for the network. createNetworkResponse_networkId :: Lens' CreateNetworkResponse (Maybe Text) -- | The response's http status code. createNetworkResponse_httpStatus :: Lens' CreateNetworkResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateNetwork.CreateNetworkResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateNetwork.CreateNetworkResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateNetwork.CreateNetworkResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateNetwork.CreateNetworkResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateNetwork.CreateNetworkResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.CreateNetwork.CreateNetwork -- | Creates a member within a Managed Blockchain network. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.CreateMember -- | See: newCreateMember smart constructor. data CreateMember CreateMember' :: Text -> Text -> Text -> MemberConfiguration -> CreateMember -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. [$sel:clientRequestToken:CreateMember'] :: CreateMember -> Text -- | The unique identifier of the invitation that is sent to the member to -- join the network. [$sel:invitationId:CreateMember'] :: CreateMember -> Text -- | The unique identifier of the network in which the member is created. [$sel:networkId:CreateMember'] :: CreateMember -> Text -- | Member configuration parameters. [$sel:memberConfiguration:CreateMember'] :: CreateMember -> MemberConfiguration -- | Create a value of CreateMember 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:clientRequestToken:CreateMember', -- createMember_clientRequestToken - A unique, case-sensitive -- identifier that you provide to ensure the idempotency of the -- operation. An idempotent operation completes no more than one time. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the CLI. -- -- CreateMember, createMember_invitationId - The unique -- identifier of the invitation that is sent to the member to join the -- network. -- -- CreateMember, createMember_networkId - The unique -- identifier of the network in which the member is created. -- -- $sel:memberConfiguration:CreateMember', -- createMember_memberConfiguration - Member configuration -- parameters. newCreateMember :: Text -> Text -> Text -> MemberConfiguration -> CreateMember -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. createMember_clientRequestToken :: Lens' CreateMember Text -- | The unique identifier of the invitation that is sent to the member to -- join the network. createMember_invitationId :: Lens' CreateMember Text -- | The unique identifier of the network in which the member is created. createMember_networkId :: Lens' CreateMember Text -- | Member configuration parameters. createMember_memberConfiguration :: Lens' CreateMember MemberConfiguration -- | See: newCreateMemberResponse smart constructor. data CreateMemberResponse CreateMemberResponse' :: Maybe Text -> Int -> CreateMemberResponse -- | The unique identifier of the member. [$sel:memberId:CreateMemberResponse'] :: CreateMemberResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:CreateMemberResponse'] :: CreateMemberResponse -> Int -- | Create a value of CreateMemberResponse 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: -- -- CreateMemberResponse, createMemberResponse_memberId - -- The unique identifier of the member. -- -- $sel:httpStatus:CreateMemberResponse', -- createMemberResponse_httpStatus - The response's http status -- code. newCreateMemberResponse :: Int -> CreateMemberResponse -- | The unique identifier of the member. createMemberResponse_memberId :: Lens' CreateMemberResponse (Maybe Text) -- | The response's http status code. createMemberResponse_httpStatus :: Lens' CreateMemberResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateMember.CreateMember instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateMember.CreateMember instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateMember.CreateMember instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateMember.CreateMemberResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateMember.CreateMemberResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateMember.CreateMemberResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateMember.CreateMemberResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.CreateMember.CreateMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateMember.CreateMemberResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.CreateMember.CreateMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateMember.CreateMember instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.CreateMember.CreateMember instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.CreateMember.CreateMember instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.CreateMember.CreateMember instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.CreateMember.CreateMember -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- Creates a new accessor for use with Managed Blockchain Ethereum nodes. -- An accessor object is a container that has the information required -- for token based access to your Ethereum nodes. module Amazonka.ManagedBlockChain.CreateAccessor -- | See: newCreateAccessor smart constructor. data CreateAccessor CreateAccessor' :: Text -> AccessorType -> CreateAccessor -- | This is a unique, case-sensitive identifier that you provide to ensure -- the idempotency of the operation. An idempotent operation completes no -- more than once. This identifier is required only if you make a service -- request directly using an HTTP client. It is generated automatically -- if you use an Amazon Web Services SDK or the Amazon Web Services CLI. [$sel:clientRequestToken:CreateAccessor'] :: CreateAccessor -> Text -- | The type of accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. [$sel:accessorType:CreateAccessor'] :: CreateAccessor -> AccessorType -- | Create a value of CreateAccessor 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:clientRequestToken:CreateAccessor', -- createAccessor_clientRequestToken - This is a unique, -- case-sensitive identifier that you provide to ensure the idempotency -- of the operation. An idempotent operation completes no more than once. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the Amazon Web Services CLI. -- -- $sel:accessorType:CreateAccessor', -- createAccessor_accessorType - The type of accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newCreateAccessor :: Text -> AccessorType -> CreateAccessor -- | This is a unique, case-sensitive identifier that you provide to ensure -- the idempotency of the operation. An idempotent operation completes no -- more than once. This identifier is required only if you make a service -- request directly using an HTTP client. It is generated automatically -- if you use an Amazon Web Services SDK or the Amazon Web Services CLI. createAccessor_clientRequestToken :: Lens' CreateAccessor Text -- | The type of accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. createAccessor_accessorType :: Lens' CreateAccessor AccessorType -- | See: newCreateAccessorResponse smart constructor. data CreateAccessorResponse CreateAccessorResponse' :: Maybe Text -> Maybe Text -> Int -> CreateAccessorResponse -- | The unique identifier of the accessor. [$sel:accessorId:CreateAccessorResponse'] :: CreateAccessorResponse -> Maybe Text -- | The billing token is a property of the Accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. [$sel:billingToken:CreateAccessorResponse'] :: CreateAccessorResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:CreateAccessorResponse'] :: CreateAccessorResponse -> Int -- | Create a value of CreateAccessorResponse 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:accessorId:CreateAccessorResponse', -- createAccessorResponse_accessorId - The unique identifier of -- the accessor. -- -- CreateAccessorResponse, -- createAccessorResponse_billingToken - The billing token is a -- property of the Accessor. Use this token to make Ethereum API calls to -- your Ethereum node. The billing token is used to track your accessor -- object for billing Ethereum API requests made to your Ethereum nodes. -- -- $sel:httpStatus:CreateAccessorResponse', -- createAccessorResponse_httpStatus - The response's http status -- code. newCreateAccessorResponse :: Int -> CreateAccessorResponse -- | The unique identifier of the accessor. createAccessorResponse_accessorId :: Lens' CreateAccessorResponse (Maybe Text) -- | The billing token is a property of the Accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. createAccessorResponse_billingToken :: Lens' CreateAccessorResponse (Maybe Text) -- | The response's http status code. createAccessorResponse_httpStatus :: Lens' CreateAccessorResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance GHC.Generics.Generic Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessorResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessorResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessorResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessorResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessorResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.CreateAccessor.CreateAccessor -- | Removes the specified tags from the Amazon Managed Blockchain -- resource. -- -- 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. module Amazonka.ManagedBlockChain.UntagResource -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. [$sel:resourceArn:UntagResource'] :: UntagResource -> Text -- | The tag keys. [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text] -- | Create a value of UntagResource 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:resourceArn:UntagResource', -- untagResource_resourceArn - The Amazon Resource Name (ARN) of -- the resource. For more information about ARNs and their format, see -- Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - The -- tag keys. newUntagResource :: Text -> UntagResource -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. untagResource_resourceArn :: Lens' UntagResource Text -- | The tag keys. untagResource_tagKeys :: Lens' UntagResource [Text] -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | The response's http status code. [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int -- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.UntagResource.UntagResource instance GHC.Show.Show Amazonka.ManagedBlockChain.UntagResource.UntagResource instance GHC.Read.Read Amazonka.ManagedBlockChain.UntagResource.UntagResource instance GHC.Classes.Eq Amazonka.ManagedBlockChain.UntagResource.UntagResource instance GHC.Generics.Generic Amazonka.ManagedBlockChain.UntagResource.UntagResourceResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.UntagResource.UntagResourceResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.UntagResource.UntagResourceResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.UntagResource.UntagResourceResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.UntagResource.UntagResourceResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.UntagResource.UntagResource instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.UntagResource.UntagResource instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.UntagResource.UntagResource instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.UntagResource.UntagResource instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.UntagResource.UntagResource -- | Updates a member configuration with new parameters. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.UpdateMember -- | See: newUpdateMember smart constructor. data UpdateMember UpdateMember' :: Maybe MemberLogPublishingConfiguration -> Text -> Text -> UpdateMember -- | Configuration properties for publishing to Amazon CloudWatch Logs. [$sel:logPublishingConfiguration:UpdateMember'] :: UpdateMember -> Maybe MemberLogPublishingConfiguration -- | The unique identifier of the Managed Blockchain network to which the -- member belongs. [$sel:networkId:UpdateMember'] :: UpdateMember -> Text -- | The unique identifier of the member. [$sel:memberId:UpdateMember'] :: UpdateMember -> Text -- | Create a value of UpdateMember 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: -- -- UpdateMember, updateMember_logPublishingConfiguration - -- Configuration properties for publishing to Amazon CloudWatch Logs. -- -- UpdateMember, updateMember_networkId - The unique -- identifier of the Managed Blockchain network to which the member -- belongs. -- -- UpdateMember, updateMember_memberId - The unique -- identifier of the member. newUpdateMember :: Text -> Text -> UpdateMember -- | Configuration properties for publishing to Amazon CloudWatch Logs. updateMember_logPublishingConfiguration :: Lens' UpdateMember (Maybe MemberLogPublishingConfiguration) -- | The unique identifier of the Managed Blockchain network to which the -- member belongs. updateMember_networkId :: Lens' UpdateMember Text -- | The unique identifier of the member. updateMember_memberId :: Lens' UpdateMember Text -- | See: newUpdateMemberResponse smart constructor. data UpdateMemberResponse UpdateMemberResponse' :: Int -> UpdateMemberResponse -- | The response's http status code. [$sel:httpStatus:UpdateMemberResponse'] :: UpdateMemberResponse -> Int -- | Create a value of UpdateMemberResponse 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:httpStatus:UpdateMemberResponse', -- updateMemberResponse_httpStatus - The response's http status -- code. newUpdateMemberResponse :: Int -> UpdateMemberResponse -- | The response's http status code. updateMemberResponse_httpStatus :: Lens' UpdateMemberResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance GHC.Show.Show Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance GHC.Read.Read Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance GHC.Classes.Eq Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance GHC.Generics.Generic Amazonka.ManagedBlockChain.UpdateMember.UpdateMemberResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.UpdateMember.UpdateMemberResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.UpdateMember.UpdateMemberResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.UpdateMember.UpdateMemberResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.UpdateMember.UpdateMemberResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.UpdateMember.UpdateMember instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.UpdateMember.UpdateMember -- | Updates a node configuration with new parameters. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.UpdateNode -- | See: newUpdateNode smart constructor. data UpdateNode UpdateNode' :: Maybe NodeLogPublishingConfiguration -> Maybe Text -> Text -> Text -> UpdateNode -- | Configuration properties for publishing to Amazon CloudWatch Logs. [$sel:logPublishingConfiguration:UpdateNode'] :: UpdateNode -> Maybe NodeLogPublishingConfiguration -- | The unique identifier of the member that owns the node. -- -- Applies only to Hyperledger Fabric. [$sel:memberId:UpdateNode'] :: UpdateNode -> Maybe Text -- | The unique identifier of the network that the node is on. [$sel:networkId:UpdateNode'] :: UpdateNode -> Text -- | The unique identifier of the node. [$sel:nodeId:UpdateNode'] :: UpdateNode -> Text -- | Create a value of UpdateNode 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: -- -- UpdateNode, updateNode_logPublishingConfiguration - -- Configuration properties for publishing to Amazon CloudWatch Logs. -- -- UpdateNode, updateNode_memberId - The unique identifier -- of the member that owns the node. -- -- Applies only to Hyperledger Fabric. -- -- UpdateNode, updateNode_networkId - The unique identifier -- of the network that the node is on. -- -- $sel:nodeId:UpdateNode', updateNode_nodeId - The unique -- identifier of the node. newUpdateNode :: Text -> Text -> UpdateNode -- | Configuration properties for publishing to Amazon CloudWatch Logs. updateNode_logPublishingConfiguration :: Lens' UpdateNode (Maybe NodeLogPublishingConfiguration) -- | The unique identifier of the member that owns the node. -- -- Applies only to Hyperledger Fabric. updateNode_memberId :: Lens' UpdateNode (Maybe Text) -- | The unique identifier of the network that the node is on. updateNode_networkId :: Lens' UpdateNode Text -- | The unique identifier of the node. updateNode_nodeId :: Lens' UpdateNode Text -- | See: newUpdateNodeResponse smart constructor. data UpdateNodeResponse UpdateNodeResponse' :: Int -> UpdateNodeResponse -- | The response's http status code. [$sel:httpStatus:UpdateNodeResponse'] :: UpdateNodeResponse -> Int -- | Create a value of UpdateNodeResponse 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:httpStatus:UpdateNodeResponse', -- updateNodeResponse_httpStatus - The response's http status -- code. newUpdateNodeResponse :: Int -> UpdateNodeResponse -- | The response's http status code. updateNodeResponse_httpStatus :: Lens' UpdateNodeResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance GHC.Show.Show Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance GHC.Read.Read Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance GHC.Classes.Eq Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance GHC.Generics.Generic Amazonka.ManagedBlockChain.UpdateNode.UpdateNodeResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.UpdateNode.UpdateNodeResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.UpdateNode.UpdateNodeResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.UpdateNode.UpdateNodeResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.UpdateNode.UpdateNodeResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.UpdateNode.UpdateNode instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.UpdateNode.UpdateNode -- | Casts a vote for a specified ProposalId on behalf of a -- member. The member to vote as, specified by VoterMemberId, -- must be in the same Amazon Web Services account as the principal that -- calls the action. -- -- Applies only to Hyperledger Fabric. module Amazonka.ManagedBlockChain.VoteOnProposal -- | See: newVoteOnProposal smart constructor. data VoteOnProposal VoteOnProposal' :: Text -> Text -> Text -> VoteValue -> VoteOnProposal -- | The unique identifier of the network. [$sel:networkId:VoteOnProposal'] :: VoteOnProposal -> Text -- | The unique identifier of the proposal. [$sel:proposalId:VoteOnProposal'] :: VoteOnProposal -> Text -- | The unique identifier of the member casting the vote. [$sel:voterMemberId:VoteOnProposal'] :: VoteOnProposal -> Text -- | The value of the vote. [$sel:vote:VoteOnProposal'] :: VoteOnProposal -> VoteValue -- | Create a value of VoteOnProposal 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: -- -- VoteOnProposal, voteOnProposal_networkId - The unique -- identifier of the network. -- -- VoteOnProposal, voteOnProposal_proposalId - The unique -- identifier of the proposal. -- -- $sel:voterMemberId:VoteOnProposal', -- voteOnProposal_voterMemberId - The unique identifier of the -- member casting the vote. -- -- VoteOnProposal, voteOnProposal_vote - The value of the -- vote. newVoteOnProposal :: Text -> Text -> Text -> VoteValue -> VoteOnProposal -- | The unique identifier of the network. voteOnProposal_networkId :: Lens' VoteOnProposal Text -- | The unique identifier of the proposal. voteOnProposal_proposalId :: Lens' VoteOnProposal Text -- | The unique identifier of the member casting the vote. voteOnProposal_voterMemberId :: Lens' VoteOnProposal Text -- | The value of the vote. voteOnProposal_vote :: Lens' VoteOnProposal VoteValue -- | See: newVoteOnProposalResponse smart constructor. data VoteOnProposalResponse VoteOnProposalResponse' :: Int -> VoteOnProposalResponse -- | The response's http status code. [$sel:httpStatus:VoteOnProposalResponse'] :: VoteOnProposalResponse -> Int -- | Create a value of VoteOnProposalResponse 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:httpStatus:VoteOnProposalResponse', -- voteOnProposalResponse_httpStatus - The response's http status -- code. newVoteOnProposalResponse :: Int -> VoteOnProposalResponse -- | The response's http status code. voteOnProposalResponse_httpStatus :: Lens' VoteOnProposalResponse Int instance GHC.Generics.Generic Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance GHC.Show.Show Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance GHC.Read.Read Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance GHC.Classes.Eq Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance GHC.Generics.Generic Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposalResponse instance GHC.Show.Show Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposalResponse instance GHC.Read.Read Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposalResponse instance GHC.Classes.Eq Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposalResponse instance Amazonka.Types.AWSRequest Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposalResponse instance Data.Hashable.Class.Hashable Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance Control.DeepSeq.NFData Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance Amazonka.Data.Headers.ToHeaders Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance Amazonka.Data.Path.ToPath Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal instance Amazonka.Data.Query.ToQuery Amazonka.ManagedBlockChain.VoteOnProposal.VoteOnProposal module Amazonka.ManagedBlockChain.Lens -- | This is a unique, case-sensitive identifier that you provide to ensure -- the idempotency of the operation. An idempotent operation completes no -- more than once. This identifier is required only if you make a service -- request directly using an HTTP client. It is generated automatically -- if you use an Amazon Web Services SDK or the Amazon Web Services CLI. createAccessor_clientRequestToken :: Lens' CreateAccessor Text -- | The type of accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. createAccessor_accessorType :: Lens' CreateAccessor AccessorType -- | The unique identifier of the accessor. createAccessorResponse_accessorId :: Lens' CreateAccessorResponse (Maybe Text) -- | The billing token is a property of the Accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. createAccessorResponse_billingToken :: Lens' CreateAccessorResponse (Maybe Text) -- | The response's http status code. createAccessorResponse_httpStatus :: Lens' CreateAccessorResponse Int -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. createMember_clientRequestToken :: Lens' CreateMember Text -- | The unique identifier of the invitation that is sent to the member to -- join the network. createMember_invitationId :: Lens' CreateMember Text -- | The unique identifier of the network in which the member is created. createMember_networkId :: Lens' CreateMember Text -- | Member configuration parameters. createMember_memberConfiguration :: Lens' CreateMember MemberConfiguration -- | The unique identifier of the member. createMemberResponse_memberId :: Lens' CreateMemberResponse (Maybe Text) -- | The response's http status code. createMemberResponse_httpStatus :: Lens' CreateMemberResponse Int -- | An optional description for the network. createNetwork_description :: Lens' CreateNetwork (Maybe Text) -- | Configuration properties of the blockchain framework relevant to the -- network configuration. createNetwork_frameworkConfiguration :: Lens' CreateNetwork (Maybe NetworkFrameworkConfiguration) -- | Tags to assign to the network. Each tag consists of a key and optional -- value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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. createNetwork_tags :: Lens' CreateNetwork (Maybe (HashMap Text Text)) -- | This is a unique, case-sensitive identifier that you provide to ensure -- the idempotency of the operation. An idempotent operation completes no -- more than once. This identifier is required only if you make a service -- request directly using an HTTP client. It is generated automatically -- if you use an Amazon Web Services SDK or the Amazon Web Services CLI. createNetwork_clientRequestToken :: Lens' CreateNetwork Text -- | The name of the network. createNetwork_name :: Lens' CreateNetwork Text -- | The blockchain framework that the network uses. createNetwork_framework :: Lens' CreateNetwork Framework -- | The version of the blockchain framework that the network uses. createNetwork_frameworkVersion :: Lens' CreateNetwork Text -- | The voting rules used by the network to determine if a proposal is -- approved. createNetwork_votingPolicy :: Lens' CreateNetwork VotingPolicy -- | Configuration properties for the first member within the network. createNetwork_memberConfiguration :: Lens' CreateNetwork MemberConfiguration -- | The unique identifier for the first member within the network. createNetworkResponse_memberId :: Lens' CreateNetworkResponse (Maybe Text) -- | The unique identifier for the network. createNetworkResponse_networkId :: Lens' CreateNetworkResponse (Maybe Text) -- | The response's http status code. createNetworkResponse_httpStatus :: Lens' CreateNetworkResponse Int -- | The unique identifier of the member that owns this node. -- -- Applies only to Hyperledger Fabric. createNode_memberId :: Lens' CreateNode (Maybe Text) -- | Tags to assign to the node. Each tag consists of a key and optional -- value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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. createNode_tags :: Lens' CreateNode (Maybe (HashMap Text Text)) -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. createNode_clientRequestToken :: Lens' CreateNode Text -- | The unique identifier of the network for the node. -- -- Ethereum public networks have the following NetworkIds: -- -- createNode_networkId :: Lens' CreateNode Text -- | The properties of a node configuration. createNode_nodeConfiguration :: Lens' CreateNode NodeConfiguration -- | The unique identifier of the node. createNodeResponse_nodeId :: Lens' CreateNodeResponse (Maybe Text) -- | The response's http status code. createNodeResponse_httpStatus :: Lens' CreateNodeResponse Int -- | A description for the proposal that is visible to voting members, for -- example, "Proposal to add Example Corp. as member." createProposal_description :: Lens' CreateProposal (Maybe Text) -- | Tags to assign to the proposal. Each tag consists of a key and -- optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. If the proposal is for a network -- invitation, the invitation inherits the tags added to the proposal. -- -- 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. createProposal_tags :: Lens' CreateProposal (Maybe (HashMap Text Text)) -- | A unique, case-sensitive identifier that you provide to ensure the -- idempotency of the operation. An idempotent operation completes no -- more than one time. This identifier is required only if you make a -- service request directly using an HTTP client. It is generated -- automatically if you use an Amazon Web Services SDK or the CLI. createProposal_clientRequestToken :: Lens' CreateProposal Text -- | The unique identifier of the network for which the proposal is made. createProposal_networkId :: Lens' CreateProposal Text -- | The unique identifier of the member that is creating the proposal. -- This identifier is especially useful for identifying the member making -- the proposal when multiple members exist in a single Amazon Web -- Services account. createProposal_memberId :: Lens' CreateProposal Text -- | The type of actions proposed, such as inviting a member or removing a -- member. The types of Actions in a proposal are mutually -- exclusive. For example, a proposal with Invitations actions -- cannot also contain Removals actions. createProposal_actions :: Lens' CreateProposal ProposalActions -- | The unique identifier of the proposal. createProposalResponse_proposalId :: Lens' CreateProposalResponse (Maybe Text) -- | The response's http status code. createProposalResponse_httpStatus :: Lens' CreateProposalResponse Int -- | The unique identifier of the accessor. deleteAccessor_accessorId :: Lens' DeleteAccessor Text -- | The response's http status code. deleteAccessorResponse_httpStatus :: Lens' DeleteAccessorResponse Int -- | The unique identifier of the network from which the member is removed. deleteMember_networkId :: Lens' DeleteMember Text -- | The unique identifier of the member to remove. deleteMember_memberId :: Lens' DeleteMember Text -- | The response's http status code. deleteMemberResponse_httpStatus :: Lens' DeleteMemberResponse Int -- | The unique identifier of the member that owns this node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. deleteNode_memberId :: Lens' DeleteNode (Maybe Text) -- | The unique identifier of the network that the node is on. -- -- Ethereum public networks have the following NetworkIds: -- -- deleteNode_networkId :: Lens' DeleteNode Text -- | The unique identifier of the node. deleteNode_nodeId :: Lens' DeleteNode Text -- | The response's http status code. deleteNodeResponse_httpStatus :: Lens' DeleteNodeResponse Int -- | The unique identifier of the accessor. getAccessor_accessorId :: Lens' GetAccessor Text -- | The properties of the accessor. getAccessorResponse_accessor :: Lens' GetAccessorResponse (Maybe Accessor) -- | The response's http status code. getAccessorResponse_httpStatus :: Lens' GetAccessorResponse Int -- | The unique identifier of the network to which the member belongs. getMember_networkId :: Lens' GetMember Text -- | The unique identifier of the member. getMember_memberId :: Lens' GetMember Text -- | The properties of a member. getMemberResponse_member :: Lens' GetMemberResponse (Maybe Member) -- | The response's http status code. getMemberResponse_httpStatus :: Lens' GetMemberResponse Int -- | The unique identifier of the network to get information about. getNetwork_networkId :: Lens' GetNetwork Text -- | An object containing network configuration parameters. getNetworkResponse_network :: Lens' GetNetworkResponse (Maybe Network) -- | The response's http status code. getNetworkResponse_httpStatus :: Lens' GetNetworkResponse Int -- | The unique identifier of the member that owns the node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. getNode_memberId :: Lens' GetNode (Maybe Text) -- | The unique identifier of the network that the node is on. getNode_networkId :: Lens' GetNode Text -- | The unique identifier of the node. getNode_nodeId :: Lens' GetNode Text -- | Properties of the node configuration. getNodeResponse_node :: Lens' GetNodeResponse (Maybe Node) -- | The response's http status code. getNodeResponse_httpStatus :: Lens' GetNodeResponse Int -- | The unique identifier of the network for which the proposal is made. getProposal_networkId :: Lens' GetProposal Text -- | The unique identifier of the proposal. getProposal_proposalId :: Lens' GetProposal Text -- | Information about a proposal. getProposalResponse_proposal :: Lens' GetProposalResponse (Maybe Proposal) -- | The response's http status code. getProposalResponse_httpStatus :: Lens' GetProposalResponse Int -- | The maximum number of accessors to list. listAccessors_maxResults :: Lens' ListAccessors (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listAccessors_nextToken :: Lens' ListAccessors (Maybe Text) -- | An array of AccessorSummary objects that contain configuration -- properties for each accessor. listAccessorsResponse_accessors :: Lens' ListAccessorsResponse (Maybe [AccessorSummary]) -- | The pagination token that indicates the next set of results to -- retrieve. listAccessorsResponse_nextToken :: Lens' ListAccessorsResponse (Maybe Text) -- | The response's http status code. listAccessorsResponse_httpStatus :: Lens' ListAccessorsResponse Int -- | The maximum number of invitations to return. listInvitations_maxResults :: Lens' ListInvitations (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listInvitations_nextToken :: Lens' ListInvitations (Maybe Text) -- | The invitations for the network. listInvitationsResponse_invitations :: Lens' ListInvitationsResponse (Maybe [Invitation]) -- | The pagination token that indicates the next set of results to -- retrieve. listInvitationsResponse_nextToken :: Lens' ListInvitationsResponse (Maybe Text) -- | The response's http status code. listInvitationsResponse_httpStatus :: Lens' ListInvitationsResponse Int -- | An optional Boolean value. If provided, the request is limited either -- to members that the current Amazon Web Services account owns -- (true) or that other Amazon Web Services accountsn own -- (false). If omitted, all members are listed. listMembers_isOwned :: Lens' ListMembers (Maybe Bool) -- | The maximum number of members to return in the request. listMembers_maxResults :: Lens' ListMembers (Maybe Natural) -- | The optional name of the member to list. listMembers_name :: Lens' ListMembers (Maybe Text) -- | The pagination token that indicates the next set of results to -- retrieve. listMembers_nextToken :: Lens' ListMembers (Maybe Text) -- | An optional status specifier. If provided, only members currently in -- this status are listed. listMembers_status :: Lens' ListMembers (Maybe MemberStatus) -- | The unique identifier of the network for which to list members. listMembers_networkId :: Lens' ListMembers Text -- | An array of MemberSummary objects. Each object contains -- details about a network member. listMembersResponse_members :: Lens' ListMembersResponse (Maybe [MemberSummary]) -- | The pagination token that indicates the next set of results to -- retrieve. listMembersResponse_nextToken :: Lens' ListMembersResponse (Maybe Text) -- | The response's http status code. listMembersResponse_httpStatus :: Lens' ListMembersResponse Int -- | An optional framework specifier. If provided, only networks of this -- framework type are listed. listNetworks_framework :: Lens' ListNetworks (Maybe Framework) -- | The maximum number of networks to list. listNetworks_maxResults :: Lens' ListNetworks (Maybe Natural) -- | The name of the network. listNetworks_name :: Lens' ListNetworks (Maybe Text) -- | The pagination token that indicates the next set of results to -- retrieve. listNetworks_nextToken :: Lens' ListNetworks (Maybe Text) -- | An optional status specifier. If provided, only networks currently in -- this status are listed. -- -- Applies only to Hyperledger Fabric. listNetworks_status :: Lens' ListNetworks (Maybe NetworkStatus) -- | An array of NetworkSummary objects that contain configuration -- properties for each network. listNetworksResponse_networks :: Lens' ListNetworksResponse (Maybe [NetworkSummary]) -- | The pagination token that indicates the next set of results to -- retrieve. listNetworksResponse_nextToken :: Lens' ListNetworksResponse (Maybe Text) -- | The response's http status code. listNetworksResponse_httpStatus :: Lens' ListNetworksResponse Int -- | The maximum number of nodes to list. listNodes_maxResults :: Lens' ListNodes (Maybe Natural) -- | The unique identifier of the member who owns the nodes to list. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. listNodes_memberId :: Lens' ListNodes (Maybe Text) -- | The pagination token that indicates the next set of results to -- retrieve. listNodes_nextToken :: Lens' ListNodes (Maybe Text) -- | An optional status specifier. If provided, only nodes currently in -- this status are listed. listNodes_status :: Lens' ListNodes (Maybe NodeStatus) -- | The unique identifier of the network for which to list nodes. listNodes_networkId :: Lens' ListNodes Text -- | The pagination token that indicates the next set of results to -- retrieve. listNodesResponse_nextToken :: Lens' ListNodesResponse (Maybe Text) -- | An array of NodeSummary objects that contain configuration -- properties for each node. listNodesResponse_nodes :: Lens' ListNodesResponse (Maybe [NodeSummary]) -- | The response's http status code. listNodesResponse_httpStatus :: Lens' ListNodesResponse Int -- | The maximum number of votes to return. listProposalVotes_maxResults :: Lens' ListProposalVotes (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listProposalVotes_nextToken :: Lens' ListProposalVotes (Maybe Text) -- | The unique identifier of the network. listProposalVotes_networkId :: Lens' ListProposalVotes Text -- | The unique identifier of the proposal. listProposalVotes_proposalId :: Lens' ListProposalVotes Text -- | The pagination token that indicates the next set of results to -- retrieve. listProposalVotesResponse_nextToken :: Lens' ListProposalVotesResponse (Maybe Text) -- | The list of votes. listProposalVotesResponse_proposalVotes :: Lens' ListProposalVotesResponse (Maybe [VoteSummary]) -- | The response's http status code. listProposalVotesResponse_httpStatus :: Lens' ListProposalVotesResponse Int -- | The maximum number of proposals to return. listProposals_maxResults :: Lens' ListProposals (Maybe Natural) -- | The pagination token that indicates the next set of results to -- retrieve. listProposals_nextToken :: Lens' ListProposals (Maybe Text) -- | The unique identifier of the network. listProposals_networkId :: Lens' ListProposals Text -- | The pagination token that indicates the next set of results to -- retrieve. listProposalsResponse_nextToken :: Lens' ListProposalsResponse (Maybe Text) -- | The summary of each proposal made on the network. listProposalsResponse_proposals :: Lens' ListProposalsResponse (Maybe [ProposalSummary]) -- | The response's http status code. listProposalsResponse_httpStatus :: Lens' ListProposalsResponse Int -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. listTagsForResource_resourceArn :: Lens' ListTagsForResource Text -- | The tags assigned to the resource. listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) -- | The response's http status code. listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int -- | The unique identifier of the invitation to reject. rejectInvitation_invitationId :: Lens' RejectInvitation Text -- | The response's http status code. rejectInvitationResponse_httpStatus :: Lens' RejectInvitationResponse Int -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. tagResource_resourceArn :: Lens' TagResource Text -- | The tags to assign to the specified resource. Tag values can be empty, -- for example, "MyTagKey" : "". You can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. tagResource_tags :: Lens' TagResource (HashMap Text Text) -- | The response's http status code. tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int -- | The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. untagResource_resourceArn :: Lens' UntagResource Text -- | The tag keys. untagResource_tagKeys :: Lens' UntagResource [Text] -- | The response's http status code. untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int -- | Configuration properties for publishing to Amazon CloudWatch Logs. updateMember_logPublishingConfiguration :: Lens' UpdateMember (Maybe MemberLogPublishingConfiguration) -- | The unique identifier of the Managed Blockchain network to which the -- member belongs. updateMember_networkId :: Lens' UpdateMember Text -- | The unique identifier of the member. updateMember_memberId :: Lens' UpdateMember Text -- | The response's http status code. updateMemberResponse_httpStatus :: Lens' UpdateMemberResponse Int -- | Configuration properties for publishing to Amazon CloudWatch Logs. updateNode_logPublishingConfiguration :: Lens' UpdateNode (Maybe NodeLogPublishingConfiguration) -- | The unique identifier of the member that owns the node. -- -- Applies only to Hyperledger Fabric. updateNode_memberId :: Lens' UpdateNode (Maybe Text) -- | The unique identifier of the network that the node is on. updateNode_networkId :: Lens' UpdateNode Text -- | The unique identifier of the node. updateNode_nodeId :: Lens' UpdateNode Text -- | The response's http status code. updateNodeResponse_httpStatus :: Lens' UpdateNodeResponse Int -- | The unique identifier of the network. voteOnProposal_networkId :: Lens' VoteOnProposal Text -- | The unique identifier of the proposal. voteOnProposal_proposalId :: Lens' VoteOnProposal Text -- | The unique identifier of the member casting the vote. voteOnProposal_voterMemberId :: Lens' VoteOnProposal Text -- | The value of the vote. voteOnProposal_vote :: Lens' VoteOnProposal VoteValue -- | The response's http status code. voteOnProposalResponse_httpStatus :: Lens' VoteOnProposalResponse Int -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. accessor_arn :: Lens' Accessor (Maybe Text) -- | The billing token is a property of the accessor. Use this token to -- make Ethereum API calls to your Ethereum node. The billing token is -- used to track your accessor object for billing Ethereum API requests -- made to your Ethereum nodes. accessor_billingToken :: Lens' Accessor (Maybe Text) -- | The creation date and time of the accessor. accessor_creationDate :: Lens' Accessor (Maybe UTCTime) -- | The unique identifier of the accessor. accessor_id :: Lens' Accessor (Maybe Text) -- | The current status of the accessor. accessor_status :: Lens' Accessor (Maybe AccessorStatus) -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. accessor_type :: Lens' Accessor (Maybe AccessorType) -- | The Amazon Resource Name (ARN) of the accessor. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. accessorSummary_arn :: Lens' AccessorSummary (Maybe Text) -- | The creation date and time of the accessor. accessorSummary_creationDate :: Lens' AccessorSummary (Maybe UTCTime) -- | The unique identifier of the accessor. accessorSummary_id :: Lens' AccessorSummary (Maybe Text) -- | The current status of the accessor. accessorSummary_status :: Lens' AccessorSummary (Maybe AccessorStatus) -- | The type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. accessorSummary_type :: Lens' AccessorSummary (Maybe AccessorType) -- | The duration from the time that a proposal is created until it -- expires. If members cast neither the required number of YES -- votes to approve the proposal nor the number of NO votes -- required to reject it before the duration expires, the proposal is -- EXPIRED and ProposalActions aren't carried out. approvalThresholdPolicy_proposalDurationInHours :: Lens' ApprovalThresholdPolicy (Maybe Natural) -- | Determines whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. approvalThresholdPolicy_thresholdComparator :: Lens' ApprovalThresholdPolicy (Maybe ThresholdComparator) -- | The percentage of votes among all members that must be YES -- for a proposal to be approved. For example, a -- ThresholdPercentage value of 50 indicates 50%. The -- ThresholdComparator determines the precise comparison. If a -- ThresholdPercentage value of 50 is specified on a -- network with 10 members, along with a ThresholdComparator -- value of GREATER_THAN, this indicates that 6 YES -- votes are required for the proposal to be approved. approvalThresholdPolicy_thresholdPercentage :: Lens' ApprovalThresholdPolicy (Maybe Natural) -- | The Amazon Resource Name (ARN) of the invitation. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. invitation_arn :: Lens' Invitation (Maybe Text) -- | The date and time that the invitation was created. invitation_creationDate :: Lens' Invitation (Maybe UTCTime) -- | The date and time that the invitation expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, the invitee can no longer create a member and join the -- network using this InvitationId. invitation_expirationDate :: Lens' Invitation (Maybe UTCTime) -- | The unique identifier for the invitation. invitation_invitationId :: Lens' Invitation (Maybe Text) -- | Undocumented member. invitation_networkSummary :: Lens' Invitation (Maybe NetworkSummary) -- | The status of the invitation: -- -- invitation_status :: Lens' Invitation (Maybe InvitationStatus) -- | The Amazon Web Services account ID to invite. inviteAction_principal :: Lens' InviteAction Text -- | Indicates whether logging is enabled. logConfiguration_enabled :: Lens' LogConfiguration (Maybe Bool) -- | Parameters for publishing logs to Amazon CloudWatch Logs. logConfigurations_cloudwatch :: Lens' LogConfigurations (Maybe LogConfiguration) -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. member_arn :: Lens' Member (Maybe Text) -- | The date and time that the member was created. member_creationDate :: Lens' Member (Maybe UTCTime) -- | An optional description for the member. member_description :: Lens' Member (Maybe Text) -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes) -- | The unique identifier of the member. member_id :: Lens' Member (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the member uses for encryption at rest. -- If the value of this parameter is "AWS Owned KMS Key", the -- member uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. member_kmsKeyArn :: Lens' Member (Maybe Text) -- | Configuration properties for logging events associated with a member. member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration) -- | The name of the member. member_name :: Lens' Member (Maybe Text) -- | The unique identifier of the network to which the member belongs. member_networkId :: Lens' Member (Maybe Text) -- | The status of a member. -- -- member_status :: Lens' Member (Maybe MemberStatus) -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. member_tags :: Lens' Member (Maybe (HashMap Text Text)) -- | An optional description of the member. memberConfiguration_description :: Lens' MemberConfiguration (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) to use for encryption at rest in the member. -- This parameter is inherited by any nodes that this member creates. For -- more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- memberConfiguration_kmsKeyArn :: Lens' MemberConfiguration (Maybe Text) -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. memberConfiguration_logPublishingConfiguration :: Lens' MemberConfiguration (Maybe MemberLogPublishingConfiguration) -- | Tags assigned to the member. Tags consist of a key and optional value. -- For more information about tags, see Tagging Resources in the -- Amazon Managed Blockchain Hyperledger Fabric Developer Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. memberConfiguration_tags :: Lens' MemberConfiguration (Maybe (HashMap Text Text)) -- | The name of the member. memberConfiguration_name :: Lens' MemberConfiguration Text -- | Configuration properties of the blockchain framework relevant to the -- member. memberConfiguration_frameworkConfiguration :: Lens' MemberConfiguration MemberFrameworkConfiguration -- | The user name for the initial administrator user for the member. memberFabricAttributes_adminUsername :: Lens' MemberFabricAttributes (Maybe Text) -- | The endpoint used to access the member's certificate authority. memberFabricAttributes_caEndpoint :: Lens' MemberFabricAttributes (Maybe Text) -- | The user name for the member's initial administrative user. memberFabricConfiguration_adminUsername :: Lens' MemberFabricConfiguration Text -- | The password for the member's initial administrative user. The -- AdminPassword must be at least eight characters long and no -- more than 32 characters. It must contain at least one uppercase -- letter, one lowercase letter, and one digit. It cannot have a single -- quotation mark (‘), a double quotation marks (“), a forward slash(/), -- a backward slash(\), @, or a space. memberFabricConfiguration_adminPassword :: Lens' MemberFabricConfiguration Text -- | Configuration properties for logging events associated with a member's -- Certificate Authority (CA). CA logs help you determine when a member -- in your account joins the network, or when new peers register with a -- member CA. memberFabricLogPublishingConfiguration_caLogs :: Lens' MemberFabricLogPublishingConfiguration (Maybe LogConfigurations) -- | Attributes of Hyperledger Fabric relevant to a member on a Managed -- Blockchain network that uses Hyperledger Fabric. memberFrameworkAttributes_fabric :: Lens' MemberFrameworkAttributes (Maybe MemberFabricAttributes) -- | Attributes of Hyperledger Fabric for a member on a Managed Blockchain -- network that uses Hyperledger Fabric. memberFrameworkConfiguration_fabric :: Lens' MemberFrameworkConfiguration (Maybe MemberFabricConfiguration) -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. memberLogPublishingConfiguration_fabric :: Lens' MemberLogPublishingConfiguration (Maybe MemberFabricLogPublishingConfiguration) -- | The Amazon Resource Name (ARN) of the member. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. memberSummary_arn :: Lens' MemberSummary (Maybe Text) -- | The date and time that the member was created. memberSummary_creationDate :: Lens' MemberSummary (Maybe UTCTime) -- | An optional description of the member. memberSummary_description :: Lens' MemberSummary (Maybe Text) -- | The unique identifier of the member. memberSummary_id :: Lens' MemberSummary (Maybe Text) -- | An indicator of whether the member is owned by your Amazon Web -- Services account or a different Amazon Web Services account. memberSummary_isOwned :: Lens' MemberSummary (Maybe Bool) -- | The name of the member. memberSummary_name :: Lens' MemberSummary (Maybe Text) -- | The status of the member. -- -- memberSummary_status :: Lens' MemberSummary (Maybe MemberStatus) -- | 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_arn :: Lens' Network (Maybe Text) -- | The date and time that the network was created. network_creationDate :: Lens' Network (Maybe UTCTime) -- | Attributes of the blockchain framework for the network. network_description :: Lens' Network (Maybe Text) -- | The blockchain framework that the network uses. network_framework :: Lens' Network (Maybe Framework) -- | Attributes of the blockchain framework that the network uses. network_frameworkAttributes :: Lens' Network (Maybe NetworkFrameworkAttributes) -- | The version of the blockchain framework that the network uses. network_frameworkVersion :: Lens' Network (Maybe Text) -- | The unique identifier of the network. network_id :: Lens' Network (Maybe Text) -- | The name of the network. network_name :: Lens' Network (Maybe Text) -- | The current status of the network. network_status :: Lens' Network (Maybe NetworkStatus) -- | 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_tags :: Lens' Network (Maybe (HashMap Text Text)) -- | The voting rules for the network to decide if a proposal is accepted. network_votingPolicy :: Lens' Network (Maybe VotingPolicy) -- | 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_vpcEndpointServiceName :: Lens' Network (Maybe Text) -- | The Ethereum CHAIN_ID associated with the Ethereum network. -- Chain IDs are as follows: -- -- networkEthereumAttributes_chainId :: Lens' NetworkEthereumAttributes (Maybe Text) -- | The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. -- For more information, see Amazon Managed Blockchain Pricing. networkFabricAttributes_edition :: Lens' NetworkFabricAttributes (Maybe Edition) -- | The endpoint of the ordering service for the network. networkFabricAttributes_orderingServiceEndpoint :: Lens' NetworkFabricAttributes (Maybe Text) -- | The edition of Amazon Managed Blockchain that the network uses. For -- more information, see Amazon Managed Blockchain Pricing. networkFabricConfiguration_edition :: Lens' NetworkFabricConfiguration Edition -- | Attributes of an Ethereum network for Managed Blockchain resources -- participating in an Ethereum network. networkFrameworkAttributes_ethereum :: Lens' NetworkFrameworkAttributes (Maybe NetworkEthereumAttributes) -- | Attributes of Hyperledger Fabric for a Managed Blockchain network that -- uses Hyperledger Fabric. networkFrameworkAttributes_fabric :: Lens' NetworkFrameworkAttributes (Maybe NetworkFabricAttributes) -- | Hyperledger Fabric configuration properties for a Managed Blockchain -- network that uses Hyperledger Fabric. networkFrameworkConfiguration_fabric :: Lens' NetworkFrameworkConfiguration (Maybe NetworkFabricConfiguration) -- | 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. networkSummary_arn :: Lens' NetworkSummary (Maybe Text) -- | The date and time that the network was created. networkSummary_creationDate :: Lens' NetworkSummary (Maybe UTCTime) -- | An optional description of the network. networkSummary_description :: Lens' NetworkSummary (Maybe Text) -- | The blockchain framework that the network uses. networkSummary_framework :: Lens' NetworkSummary (Maybe Framework) -- | The version of the blockchain framework that the network uses. networkSummary_frameworkVersion :: Lens' NetworkSummary (Maybe Text) -- | The unique identifier of the network. networkSummary_id :: Lens' NetworkSummary (Maybe Text) -- | The name of the network. networkSummary_name :: Lens' NetworkSummary (Maybe Text) -- | The current status of the network. networkSummary_status :: Lens' NetworkSummary (Maybe NetworkStatus) -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. node_arn :: Lens' Node (Maybe Text) -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. node_availabilityZone :: Lens' Node (Maybe Text) -- | The date and time that the node was created. node_creationDate :: Lens' Node (Maybe UTCTime) -- | Attributes of the blockchain framework being used. node_frameworkAttributes :: Lens' Node (Maybe NodeFrameworkAttributes) -- | The unique identifier of the node. node_id :: Lens' Node (Maybe Text) -- | The instance type of the node. node_instanceType :: Lens' Node (Maybe Text) -- | The Amazon Resource Name (ARN) of the customer managed key in Key -- Management Service (KMS) that the node uses for encryption at rest. If -- the value of this parameter is "AWS Owned KMS Key", the node -- uses an Amazon Web Services owned KMS key for encryption. The node -- inherits this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. node_kmsKeyArn :: Lens' Node (Maybe Text) -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. node_logPublishingConfiguration :: Lens' Node (Maybe NodeLogPublishingConfiguration) -- | The unique identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. node_memberId :: Lens' Node (Maybe Text) -- | The unique identifier of the network that the node is on. node_networkId :: Lens' Node (Maybe Text) -- | The state database that the node uses. Values are LevelDB or -- CouchDB. -- -- Applies only to Hyperledger Fabric. node_stateDB :: Lens' Node (Maybe StateDBType) -- | The status of the node. -- -- node_status :: Lens' Node (Maybe NodeStatus) -- | Tags assigned to the node. 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. node_tags :: Lens' Node (Maybe (HashMap Text Text)) -- | The Availability Zone in which the node exists. Required for Ethereum -- nodes. nodeConfiguration_availabilityZone :: Lens' NodeConfiguration (Maybe Text) -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. nodeConfiguration_logPublishingConfiguration :: Lens' NodeConfiguration (Maybe NodeLogPublishingConfiguration) -- | The state database that the node uses. Values are LevelDB or -- CouchDB. When using an Amazon Managed Blockchain network with -- Hyperledger Fabric version 1.4 or later, the default is -- CouchDB. -- -- Applies only to Hyperledger Fabric. nodeConfiguration_stateDB :: Lens' NodeConfiguration (Maybe StateDBType) -- | The Amazon Managed Blockchain instance type for the node. nodeConfiguration_instanceType :: Lens' NodeConfiguration Text -- | The endpoint on which the Ethereum node listens to run Ethereum API -- methods over HTTP connections from a client. Use this endpoint in -- client code for smart contracts when using an HTTP connection. -- Connections to this endpoint are authenticated using Signature -- Version 4. nodeEthereumAttributes_httpEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) -- | The endpoint on which the Ethereum node listens to run Ethereum -- JSON-RPC methods over WebSocket connections from a client. Use this -- endpoint in client code for smart contracts when using a WebSocket -- connection. Connections to this endpoint are authenticated using -- Signature Version 4. nodeEthereumAttributes_webSocketEndpoint :: Lens' NodeEthereumAttributes (Maybe Text) -- | The endpoint that identifies the peer node for all services except -- peer channel-based event services. nodeFabricAttributes_peerEndpoint :: Lens' NodeFabricAttributes (Maybe Text) -- | The endpoint that identifies the peer node for peer channel-based -- event services. nodeFabricAttributes_peerEventEndpoint :: Lens' NodeFabricAttributes (Maybe Text) -- | Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. nodeFabricLogPublishingConfiguration_chaincodeLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) -- | Configuration properties for a peer node log. Peer node logs contain -- messages generated when your client submits transaction proposals to -- peer nodes, requests to join channels, enrolls an admin peer, and -- lists the chaincode instances on a peer node. nodeFabricLogPublishingConfiguration_peerLogs :: Lens' NodeFabricLogPublishingConfiguration (Maybe LogConfigurations) -- | Attributes of Ethereum for a node on a Managed Blockchain network that -- uses Ethereum. nodeFrameworkAttributes_ethereum :: Lens' NodeFrameworkAttributes (Maybe NodeEthereumAttributes) -- | Attributes of Hyperledger Fabric for a peer node on a Managed -- Blockchain network that uses Hyperledger Fabric. nodeFrameworkAttributes_fabric :: Lens' NodeFrameworkAttributes (Maybe NodeFabricAttributes) -- | Configuration properties for logging events associated with a node -- that is owned by a member of a Managed Blockchain network using the -- Hyperledger Fabric framework. nodeLogPublishingConfiguration_fabric :: Lens' NodeLogPublishingConfiguration (Maybe NodeFabricLogPublishingConfiguration) -- | The Amazon Resource Name (ARN) of the node. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. nodeSummary_arn :: Lens' NodeSummary (Maybe Text) -- | The Availability Zone in which the node exists. nodeSummary_availabilityZone :: Lens' NodeSummary (Maybe Text) -- | The date and time that the node was created. nodeSummary_creationDate :: Lens' NodeSummary (Maybe UTCTime) -- | The unique identifier of the node. nodeSummary_id :: Lens' NodeSummary (Maybe Text) -- | The EC2 instance type for the node. nodeSummary_instanceType :: Lens' NodeSummary (Maybe Text) -- | The status of the node. nodeSummary_status :: Lens' NodeSummary (Maybe NodeStatus) -- | The actions to perform on the network if the proposal is -- APPROVED. proposal_actions :: Lens' Proposal (Maybe ProposalActions) -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. proposal_arn :: Lens' Proposal (Maybe Text) -- | The date and time that the proposal was created. proposal_creationDate :: Lens' Proposal (Maybe UTCTime) -- | The description of the proposal. proposal_description :: Lens' Proposal (Maybe Text) -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. proposal_expirationDate :: Lens' Proposal (Maybe UTCTime) -- | The unique identifier of the network for which the proposal is made. proposal_networkId :: Lens' Proposal (Maybe Text) -- | The current total of NO votes cast on the proposal by -- members. proposal_noVoteCount :: Lens' Proposal (Maybe Int) -- | The number of votes remaining to be cast on the proposal by members. -- In other words, the number of members minus the sum of YES -- votes and NO votes. proposal_outstandingVoteCount :: Lens' Proposal (Maybe Int) -- | The unique identifier of the proposal. proposal_proposalId :: Lens' Proposal (Maybe Text) -- | The unique identifier of the member that created the proposal. proposal_proposedByMemberId :: Lens' Proposal (Maybe Text) -- | The name of the member that created the proposal. proposal_proposedByMemberName :: Lens' Proposal (Maybe Text) -- | The status of the proposal. Values are as follows: -- -- proposal_status :: Lens' Proposal (Maybe ProposalStatus) -- | Tags assigned to the proposal. 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. proposal_tags :: Lens' Proposal (Maybe (HashMap Text Text)) -- | The current total of YES votes cast on the proposal by -- members. proposal_yesVoteCount :: Lens' Proposal (Maybe Int) -- | The actions to perform for an APPROVED proposal to invite an -- Amazon Web Services account to create a member and join the network. proposalActions_invitations :: Lens' ProposalActions (Maybe [InviteAction]) -- | The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. proposalActions_removals :: Lens' ProposalActions (Maybe [RemoveAction]) -- | The Amazon Resource Name (ARN) of the proposal. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. proposalSummary_arn :: Lens' ProposalSummary (Maybe Text) -- | The date and time that the proposal was created. proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime) -- | The description of the proposal. proposalSummary_description :: Lens' ProposalSummary (Maybe Text) -- | The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime) -- | The unique identifier of the proposal. proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text) -- | The unique identifier of the member that created the proposal. proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text) -- | The name of the member that created the proposal. proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text) -- | The status of the proposal. Values are as follows: -- -- proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus) -- | The unique identifier of the member to remove. removeAction_memberId :: Lens' RemoveAction Text -- | The unique identifier of the member that cast the vote. voteSummary_memberId :: Lens' VoteSummary (Maybe Text) -- | The name of the member that cast the vote. voteSummary_memberName :: Lens' VoteSummary (Maybe Text) -- | The vote value, either YES or NO. voteSummary_vote :: Lens' VoteSummary (Maybe VoteValue) -- | Defines the rules for the network for voting on proposals, such as the -- percentage of YES votes required for the proposal to be -- approved and the duration of the proposal. The policy applies to all -- proposals and is specified when the network is created. votingPolicy_approvalThresholdPolicy :: Lens' VotingPolicy (Maybe ApprovalThresholdPolicy) module Amazonka.ManagedBlockChain.Waiters -- | Derived from API version 2018-09-24 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- Amazon Managed Blockchain is a fully managed service for creating and -- managing blockchain networks using open-source frameworks. Blockchain -- allows you to build applications where multiple parties can securely -- and transparently run transactions and share data without the need for -- a trusted, central authority. -- -- Managed Blockchain supports the Hyperledger Fabric and Ethereum -- open-source frameworks. Because of fundamental differences between the -- frameworks, some API actions or data types may only apply in the -- context of one framework and not the other. For example, actions -- related to Hyperledger Fabric network members such as -- CreateMember and DeleteMember don't apply to -- Ethereum. -- -- The description for each action indicates the framework or frameworks -- to which it applies. Data types and properties that apply only in the -- context of a particular framework are similarly indicated. module Amazonka.ManagedBlockChain -- | API version 2018-09-24 of the Amazon Managed Blockchain SDK -- configuration. defaultService :: Service -- | You don't have sufficient access to perform this action. _AccessDeniedException :: AsError a => Fold a ServiceError _IllegalActionException :: AsError a => Fold a ServiceError -- | The request processing has failed because of an unknown error, -- exception or failure. _InternalServiceErrorException :: AsError a => Fold a ServiceError -- | The action or operation requested is invalid. Verify that the action -- is typed correctly. _InvalidRequestException :: AsError a => Fold a ServiceError -- | A resource request is issued for a resource that already exists. _ResourceAlreadyExistsException :: AsError a => Fold a ServiceError -- | The maximum number of resources of that type already exist. Ensure the -- resources requested are within the boundaries of the service edition -- and your account limits. _ResourceLimitExceededException :: AsError a => Fold a ServiceError -- | A requested resource doesn't exist. It may have been deleted or -- referenced incorrectly. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | The requested resource exists but isn't in a status that can complete -- the operation. _ResourceNotReadyException :: AsError a => Fold a ServiceError -- | The request or operation couldn't be performed because a service is -- throttling requests. The most common source of throttling errors is -- creating resources that exceed your service limit for this resource -- type. Request a limit increase or delete unused resources if possible. _ThrottlingException :: AsError a => Fold a ServiceError _TooManyTagsException :: AsError a => Fold a ServiceError -- | See: newCreateAccessor smart constructor. data CreateAccessor CreateAccessor' :: Text -> AccessorType -> CreateAccessor -- | Create a value of CreateAccessor 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:clientRequestToken:CreateAccessor', -- createAccessor_clientRequestToken - This is a unique, -- case-sensitive identifier that you provide to ensure the idempotency -- of the operation. An idempotent operation completes no more than once. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the Amazon Web Services CLI. -- -- $sel:accessorType:CreateAccessor', -- createAccessor_accessorType - The type of accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newCreateAccessor :: Text -> AccessorType -> CreateAccessor -- | See: newCreateAccessorResponse smart constructor. data CreateAccessorResponse CreateAccessorResponse' :: Maybe Text -> Maybe Text -> Int -> CreateAccessorResponse -- | Create a value of CreateAccessorResponse 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:accessorId:CreateAccessorResponse', -- createAccessorResponse_accessorId - The unique identifier of -- the accessor. -- -- CreateAccessorResponse, -- createAccessorResponse_billingToken - The billing token is a -- property of the Accessor. Use this token to make Ethereum API calls to -- your Ethereum node. The billing token is used to track your accessor -- object for billing Ethereum API requests made to your Ethereum nodes. -- -- $sel:httpStatus:CreateAccessorResponse', -- createAccessorResponse_httpStatus - The response's http status -- code. newCreateAccessorResponse :: Int -> CreateAccessorResponse -- | See: newCreateMember smart constructor. data CreateMember CreateMember' :: Text -> Text -> Text -> MemberConfiguration -> CreateMember -- | Create a value of CreateMember 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:clientRequestToken:CreateMember', -- createMember_clientRequestToken - A unique, case-sensitive -- identifier that you provide to ensure the idempotency of the -- operation. An idempotent operation completes no more than one time. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the CLI. -- -- CreateMember, createMember_invitationId - The unique -- identifier of the invitation that is sent to the member to join the -- network. -- -- CreateMember, createMember_networkId - The unique -- identifier of the network in which the member is created. -- -- $sel:memberConfiguration:CreateMember', -- createMember_memberConfiguration - Member configuration -- parameters. newCreateMember :: Text -> Text -> Text -> MemberConfiguration -> CreateMember -- | See: newCreateMemberResponse smart constructor. data CreateMemberResponse CreateMemberResponse' :: Maybe Text -> Int -> CreateMemberResponse -- | Create a value of CreateMemberResponse 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: -- -- CreateMemberResponse, createMemberResponse_memberId - -- The unique identifier of the member. -- -- $sel:httpStatus:CreateMemberResponse', -- createMemberResponse_httpStatus - The response's http status -- code. newCreateMemberResponse :: Int -> CreateMemberResponse -- | See: newCreateNetwork smart constructor. data CreateNetwork CreateNetwork' :: Maybe Text -> Maybe NetworkFrameworkConfiguration -> Maybe (HashMap Text Text) -> Text -> Text -> Framework -> Text -> VotingPolicy -> MemberConfiguration -> CreateNetwork -- | Create a value of CreateNetwork 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: -- -- CreateNetwork, createNetwork_description - An optional -- description for the network. -- -- CreateNetwork, createNetwork_frameworkConfiguration - -- Configuration properties of the blockchain framework relevant to the -- network configuration. -- -- CreateNetwork, createNetwork_tags - Tags to assign to -- the network. Each tag consists of a key and optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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:clientRequestToken:CreateNetwork', -- createNetwork_clientRequestToken - This is a unique, -- case-sensitive identifier that you provide to ensure the idempotency -- of the operation. An idempotent operation completes no more than once. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the Amazon Web Services CLI. -- -- CreateNetwork, createNetwork_name - The name of the -- network. -- -- CreateNetwork, createNetwork_framework - The blockchain -- framework that the network uses. -- -- CreateNetwork, createNetwork_frameworkVersion - The -- version of the blockchain framework that the network uses. -- -- CreateNetwork, createNetwork_votingPolicy - The voting -- rules used by the network to determine if a proposal is approved. -- -- $sel:memberConfiguration:CreateNetwork', -- createNetwork_memberConfiguration - Configuration properties -- for the first member within the network. newCreateNetwork :: Text -> Text -> Framework -> Text -> VotingPolicy -> MemberConfiguration -> CreateNetwork -- | See: newCreateNetworkResponse smart constructor. data CreateNetworkResponse CreateNetworkResponse' :: Maybe Text -> Maybe Text -> Int -> CreateNetworkResponse -- | Create a value of CreateNetworkResponse 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: -- -- CreateNetworkResponse, createNetworkResponse_memberId - -- The unique identifier for the first member within the network. -- -- CreateNetworkResponse, createNetworkResponse_networkId - -- The unique identifier for the network. -- -- $sel:httpStatus:CreateNetworkResponse', -- createNetworkResponse_httpStatus - The response's http status -- code. newCreateNetworkResponse :: Int -> CreateNetworkResponse -- | See: newCreateNode smart constructor. data CreateNode CreateNode' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> NodeConfiguration -> CreateNode -- | Create a value of CreateNode 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: -- -- CreateNode, createNode_memberId - The unique identifier -- of the member that owns this node. -- -- Applies only to Hyperledger Fabric. -- -- CreateNode, createNode_tags - Tags to assign to the -- node. Each tag consists of a key and optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- 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:clientRequestToken:CreateNode', -- createNode_clientRequestToken - A unique, case-sensitive -- identifier that you provide to ensure the idempotency of the -- operation. An idempotent operation completes no more than one time. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the CLI. -- -- CreateNode, createNode_networkId - The unique identifier -- of the network for the node. -- -- Ethereum public networks have the following NetworkIds: -- -- -- -- $sel:nodeConfiguration:CreateNode', -- createNode_nodeConfiguration - The properties of a node -- configuration. newCreateNode :: Text -> Text -> NodeConfiguration -> CreateNode -- | See: newCreateNodeResponse smart constructor. data CreateNodeResponse CreateNodeResponse' :: Maybe Text -> Int -> CreateNodeResponse -- | Create a value of CreateNodeResponse 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:nodeId:CreateNodeResponse', -- createNodeResponse_nodeId - The unique identifier of the node. -- -- $sel:httpStatus:CreateNodeResponse', -- createNodeResponse_httpStatus - The response's http status -- code. newCreateNodeResponse :: Int -> CreateNodeResponse -- | See: newCreateProposal smart constructor. data CreateProposal CreateProposal' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> Text -> ProposalActions -> CreateProposal -- | Create a value of CreateProposal 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: -- -- CreateProposal, createProposal_description - A -- description for the proposal that is visible to voting members, for -- example, "Proposal to add Example Corp. as member." -- -- CreateProposal, createProposal_tags - Tags to assign to -- the proposal. Each tag consists of a key and optional value. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. If the proposal is for a network -- invitation, the invitation inherits the tags added to the proposal. -- -- 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:clientRequestToken:CreateProposal', -- createProposal_clientRequestToken - A unique, case-sensitive -- identifier that you provide to ensure the idempotency of the -- operation. An idempotent operation completes no more than one time. -- This identifier is required only if you make a service request -- directly using an HTTP client. It is generated automatically if you -- use an Amazon Web Services SDK or the CLI. -- -- CreateProposal, createProposal_networkId - The unique -- identifier of the network for which the proposal is made. -- -- CreateProposal, createProposal_memberId - The unique -- identifier of the member that is creating the proposal. This -- identifier is especially useful for identifying the member making the -- proposal when multiple members exist in a single Amazon Web Services -- account. -- -- CreateProposal, createProposal_actions - The type of -- actions proposed, such as inviting a member or removing a member. The -- types of Actions in a proposal are mutually exclusive. For -- example, a proposal with Invitations actions cannot also -- contain Removals actions. newCreateProposal :: Text -> Text -> Text -> ProposalActions -> CreateProposal -- | See: newCreateProposalResponse smart constructor. data CreateProposalResponse CreateProposalResponse' :: Maybe Text -> Int -> CreateProposalResponse -- | Create a value of CreateProposalResponse 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: -- -- CreateProposalResponse, -- createProposalResponse_proposalId - The unique identifier of -- the proposal. -- -- $sel:httpStatus:CreateProposalResponse', -- createProposalResponse_httpStatus - The response's http status -- code. newCreateProposalResponse :: Int -> CreateProposalResponse -- | See: newDeleteAccessor smart constructor. data DeleteAccessor DeleteAccessor' :: Text -> DeleteAccessor -- | Create a value of DeleteAccessor 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:accessorId:DeleteAccessor', -- deleteAccessor_accessorId - The unique identifier of the -- accessor. newDeleteAccessor :: Text -> DeleteAccessor -- | See: newDeleteAccessorResponse smart constructor. data DeleteAccessorResponse DeleteAccessorResponse' :: Int -> DeleteAccessorResponse -- | Create a value of DeleteAccessorResponse 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:httpStatus:DeleteAccessorResponse', -- deleteAccessorResponse_httpStatus - The response's http status -- code. newDeleteAccessorResponse :: Int -> DeleteAccessorResponse -- | See: newDeleteMember smart constructor. data DeleteMember DeleteMember' :: Text -> Text -> DeleteMember -- | Create a value of DeleteMember 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: -- -- DeleteMember, deleteMember_networkId - The unique -- identifier of the network from which the member is removed. -- -- DeleteMember, deleteMember_memberId - The unique -- identifier of the member to remove. newDeleteMember :: Text -> Text -> DeleteMember -- | See: newDeleteMemberResponse smart constructor. data DeleteMemberResponse DeleteMemberResponse' :: Int -> DeleteMemberResponse -- | Create a value of DeleteMemberResponse 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:httpStatus:DeleteMemberResponse', -- deleteMemberResponse_httpStatus - The response's http status -- code. newDeleteMemberResponse :: Int -> DeleteMemberResponse -- | See: newDeleteNode smart constructor. data DeleteNode DeleteNode' :: Maybe Text -> Text -> Text -> DeleteNode -- | Create a value of DeleteNode 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: -- -- DeleteNode, deleteNode_memberId - The unique identifier -- of the member that owns this node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. -- -- DeleteNode, deleteNode_networkId - The unique identifier -- of the network that the node is on. -- -- Ethereum public networks have the following NetworkIds: -- -- -- -- $sel:nodeId:DeleteNode', deleteNode_nodeId - The unique -- identifier of the node. newDeleteNode :: Text -> Text -> DeleteNode -- | See: newDeleteNodeResponse smart constructor. data DeleteNodeResponse DeleteNodeResponse' :: Int -> DeleteNodeResponse -- | Create a value of DeleteNodeResponse 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:httpStatus:DeleteNodeResponse', -- deleteNodeResponse_httpStatus - The response's http status -- code. newDeleteNodeResponse :: Int -> DeleteNodeResponse -- | See: newGetAccessor smart constructor. data GetAccessor GetAccessor' :: Text -> GetAccessor -- | Create a value of GetAccessor 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:accessorId:GetAccessor', getAccessor_accessorId - -- The unique identifier of the accessor. newGetAccessor :: Text -> GetAccessor -- | See: newGetAccessorResponse smart constructor. data GetAccessorResponse GetAccessorResponse' :: Maybe Accessor -> Int -> GetAccessorResponse -- | Create a value of GetAccessorResponse 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:accessor:GetAccessorResponse', -- getAccessorResponse_accessor - The properties of the accessor. -- -- $sel:httpStatus:GetAccessorResponse', -- getAccessorResponse_httpStatus - The response's http status -- code. newGetAccessorResponse :: Int -> GetAccessorResponse -- | See: newGetMember smart constructor. data GetMember GetMember' :: Text -> Text -> GetMember -- | Create a value of GetMember 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: -- -- GetMember, getMember_networkId - The unique identifier -- of the network to which the member belongs. -- -- GetMember, getMember_memberId - The unique identifier of -- the member. newGetMember :: Text -> Text -> GetMember -- | See: newGetMemberResponse smart constructor. data GetMemberResponse GetMemberResponse' :: Maybe Member -> Int -> GetMemberResponse -- | Create a value of GetMemberResponse 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:member:GetMemberResponse', getMemberResponse_member -- - The properties of a member. -- -- $sel:httpStatus:GetMemberResponse', -- getMemberResponse_httpStatus - The response's http status code. newGetMemberResponse :: Int -> GetMemberResponse -- | See: newGetNetwork smart constructor. data GetNetwork GetNetwork' :: Text -> GetNetwork -- | Create a value of GetNetwork 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: -- -- GetNetwork, getNetwork_networkId - The unique identifier -- of the network to get information about. newGetNetwork :: Text -> GetNetwork -- | See: newGetNetworkResponse smart constructor. data GetNetworkResponse GetNetworkResponse' :: Maybe Network -> Int -> GetNetworkResponse -- | Create a value of GetNetworkResponse 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:network:GetNetworkResponse', -- getNetworkResponse_network - An object containing network -- configuration parameters. -- -- $sel:httpStatus:GetNetworkResponse', -- getNetworkResponse_httpStatus - The response's http status -- code. newGetNetworkResponse :: Int -> GetNetworkResponse -- | See: newGetNode smart constructor. data GetNode GetNode' :: Maybe Text -> Text -> Text -> GetNode -- | Create a value of GetNode 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: -- -- GetNode, getNode_memberId - The unique identifier of the -- member that owns the node. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. -- -- GetNode, getNode_networkId - The unique identifier of -- the network that the node is on. -- -- $sel:nodeId:GetNode', getNode_nodeId - The unique -- identifier of the node. newGetNode :: Text -> Text -> GetNode -- | See: newGetNodeResponse smart constructor. data GetNodeResponse GetNodeResponse' :: Maybe Node -> Int -> GetNodeResponse -- | Create a value of GetNodeResponse 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:node:GetNodeResponse', getNodeResponse_node - -- Properties of the node configuration. -- -- $sel:httpStatus:GetNodeResponse', -- getNodeResponse_httpStatus - The response's http status code. newGetNodeResponse :: Int -> GetNodeResponse -- | See: newGetProposal smart constructor. data GetProposal GetProposal' :: Text -> Text -> GetProposal -- | Create a value of GetProposal 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: -- -- GetProposal, getProposal_networkId - The unique -- identifier of the network for which the proposal is made. -- -- GetProposal, getProposal_proposalId - The unique -- identifier of the proposal. newGetProposal :: Text -> Text -> GetProposal -- | See: newGetProposalResponse smart constructor. data GetProposalResponse GetProposalResponse' :: Maybe Proposal -> Int -> GetProposalResponse -- | Create a value of GetProposalResponse 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:proposal:GetProposalResponse', -- getProposalResponse_proposal - Information about a proposal. -- -- $sel:httpStatus:GetProposalResponse', -- getProposalResponse_httpStatus - The response's http status -- code. newGetProposalResponse :: Int -> GetProposalResponse -- | See: newListAccessors smart constructor. data ListAccessors ListAccessors' :: Maybe Natural -> Maybe Text -> ListAccessors -- | Create a value of ListAccessors 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:maxResults:ListAccessors', listAccessors_maxResults -- - The maximum number of accessors to list. -- -- ListAccessors, listAccessors_nextToken - The pagination -- token that indicates the next set of results to retrieve. newListAccessors :: ListAccessors -- | See: newListAccessorsResponse smart constructor. data ListAccessorsResponse ListAccessorsResponse' :: Maybe [AccessorSummary] -> Maybe Text -> Int -> ListAccessorsResponse -- | Create a value of ListAccessorsResponse 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:accessors:ListAccessorsResponse', -- listAccessorsResponse_accessors - An array of AccessorSummary -- objects that contain configuration properties for each accessor. -- -- ListAccessors, listAccessorsResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListAccessorsResponse', -- listAccessorsResponse_httpStatus - The response's http status -- code. newListAccessorsResponse :: Int -> ListAccessorsResponse -- | See: newListInvitations smart constructor. data ListInvitations ListInvitations' :: Maybe Natural -> Maybe Text -> ListInvitations -- | Create a value of ListInvitations 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:maxResults:ListInvitations', -- listInvitations_maxResults - The maximum number of invitations -- to return. -- -- ListInvitations, listInvitations_nextToken - The -- pagination token that indicates the next set of results to retrieve. newListInvitations :: ListInvitations -- | See: newListInvitationsResponse smart constructor. data ListInvitationsResponse ListInvitationsResponse' :: Maybe [Invitation] -> Maybe Text -> Int -> ListInvitationsResponse -- | Create a value of ListInvitationsResponse 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: -- -- ListInvitationsResponse, -- listInvitationsResponse_invitations - The invitations for the -- network. -- -- ListInvitations, listInvitationsResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListInvitationsResponse', -- listInvitationsResponse_httpStatus - The response's http status -- code. newListInvitationsResponse :: Int -> ListInvitationsResponse -- | See: newListMembers smart constructor. data ListMembers ListMembers' :: Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe MemberStatus -> Text -> ListMembers -- | Create a value of ListMembers 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: -- -- ListMembers, listMembers_isOwned - An optional Boolean -- value. If provided, the request is limited either to members that the -- current Amazon Web Services account owns (true) or that other -- Amazon Web Services accountsn own (false). If omitted, all -- members are listed. -- -- $sel:maxResults:ListMembers', listMembers_maxResults - -- The maximum number of members to return in the request. -- -- ListMembers, listMembers_name - The optional name of the -- member to list. -- -- ListMembers, listMembers_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- ListMembers, listMembers_status - An optional status -- specifier. If provided, only members currently in this status are -- listed. -- -- ListMembers, listMembers_networkId - The unique -- identifier of the network for which to list members. newListMembers :: Text -> ListMembers -- | See: newListMembersResponse smart constructor. data ListMembersResponse ListMembersResponse' :: Maybe [MemberSummary] -> Maybe Text -> Int -> ListMembersResponse -- | Create a value of ListMembersResponse 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:members:ListMembersResponse', -- listMembersResponse_members - An array of -- MemberSummary objects. Each object contains details about a -- network member. -- -- ListMembers, listMembersResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListMembersResponse', -- listMembersResponse_httpStatus - The response's http status -- code. newListMembersResponse :: Int -> ListMembersResponse -- | See: newListNetworks smart constructor. data ListNetworks ListNetworks' :: Maybe Framework -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> ListNetworks -- | Create a value of ListNetworks 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: -- -- ListNetworks, listNetworks_framework - An optional -- framework specifier. If provided, only networks of this framework type -- are listed. -- -- $sel:maxResults:ListNetworks', listNetworks_maxResults - -- The maximum number of networks to list. -- -- ListNetworks, listNetworks_name - The name of the -- network. -- -- ListNetworks, listNetworks_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- ListNetworks, listNetworks_status - An optional status -- specifier. If provided, only networks currently in this status are -- listed. -- -- Applies only to Hyperledger Fabric. newListNetworks :: ListNetworks -- | See: newListNetworksResponse smart constructor. data ListNetworksResponse ListNetworksResponse' :: Maybe [NetworkSummary] -> Maybe Text -> Int -> ListNetworksResponse -- | Create a value of ListNetworksResponse 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:networks:ListNetworksResponse', -- listNetworksResponse_networks - An array of -- NetworkSummary objects that contain configuration properties -- for each network. -- -- ListNetworks, listNetworksResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:httpStatus:ListNetworksResponse', -- listNetworksResponse_httpStatus - The response's http status -- code. newListNetworksResponse :: Int -> ListNetworksResponse -- | See: newListNodes smart constructor. data ListNodes ListNodes' :: Maybe Natural -> Maybe Text -> Maybe Text -> Maybe NodeStatus -> Text -> ListNodes -- | Create a value of ListNodes 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:maxResults:ListNodes', listNodes_maxResults - The -- maximum number of nodes to list. -- -- ListNodes, listNodes_memberId - The unique identifier of -- the member who owns the nodes to list. -- -- Applies only to Hyperledger Fabric and is required for Hyperledger -- Fabric. -- -- ListNodes, listNodes_nextToken - The pagination token -- that indicates the next set of results to retrieve. -- -- ListNodes, listNodes_status - An optional status -- specifier. If provided, only nodes currently in this status are -- listed. -- -- ListNodes, listNodes_networkId - The unique identifier -- of the network for which to list nodes. newListNodes :: Text -> ListNodes -- | See: newListNodesResponse smart constructor. data ListNodesResponse ListNodesResponse' :: Maybe Text -> Maybe [NodeSummary] -> Int -> ListNodesResponse -- | Create a value of ListNodesResponse 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: -- -- ListNodes, listNodesResponse_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- $sel:nodes:ListNodesResponse', listNodesResponse_nodes - -- An array of NodeSummary objects that contain configuration -- properties for each node. -- -- $sel:httpStatus:ListNodesResponse', -- listNodesResponse_httpStatus - The response's http status code. newListNodesResponse :: Int -> ListNodesResponse -- | See: newListProposalVotes smart constructor. data ListProposalVotes ListProposalVotes' :: Maybe Natural -> Maybe Text -> Text -> Text -> ListProposalVotes -- | Create a value of ListProposalVotes 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:maxResults:ListProposalVotes', -- listProposalVotes_maxResults - The maximum number of votes to -- return. -- -- ListProposalVotes, listProposalVotes_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- ListProposalVotes, listProposalVotes_networkId - The -- unique identifier of the network. -- -- ListProposalVotes, listProposalVotes_proposalId - The -- unique identifier of the proposal. newListProposalVotes :: Text -> Text -> ListProposalVotes -- | See: newListProposalVotesResponse smart constructor. data ListProposalVotesResponse ListProposalVotesResponse' :: Maybe Text -> Maybe [VoteSummary] -> Int -> ListProposalVotesResponse -- | Create a value of ListProposalVotesResponse 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: -- -- ListProposalVotes, listProposalVotesResponse_nextToken - -- The pagination token that indicates the next set of results to -- retrieve. -- -- $sel:proposalVotes:ListProposalVotesResponse', -- listProposalVotesResponse_proposalVotes - The list of votes. -- -- $sel:httpStatus:ListProposalVotesResponse', -- listProposalVotesResponse_httpStatus - The response's http -- status code. newListProposalVotesResponse :: Int -> ListProposalVotesResponse -- | See: newListProposals smart constructor. data ListProposals ListProposals' :: Maybe Natural -> Maybe Text -> Text -> ListProposals -- | Create a value of ListProposals 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:maxResults:ListProposals', listProposals_maxResults -- - The maximum number of proposals to return. -- -- ListProposals, listProposals_nextToken - The pagination -- token that indicates the next set of results to retrieve. -- -- ListProposals, listProposals_networkId - The unique -- identifier of the network. newListProposals :: Text -> ListProposals -- | See: newListProposalsResponse smart constructor. data ListProposalsResponse ListProposalsResponse' :: Maybe Text -> Maybe [ProposalSummary] -> Int -> ListProposalsResponse -- | Create a value of ListProposalsResponse 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: -- -- ListProposals, listProposalsResponse_nextToken - The -- pagination token that indicates the next set of results to retrieve. -- -- $sel:proposals:ListProposalsResponse', -- listProposalsResponse_proposals - The summary of each proposal -- made on the network. -- -- $sel:httpStatus:ListProposalsResponse', -- listProposalsResponse_httpStatus - The response's http status -- code. newListProposalsResponse :: Int -> ListProposalsResponse -- | See: newListTagsForResource smart constructor. data ListTagsForResource ListTagsForResource' :: Text -> ListTagsForResource -- | Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource', -- listTagsForResource_resourceArn - The Amazon Resource Name -- (ARN) of the resource. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. newListTagsForResource :: Text -> ListTagsForResource -- | See: newListTagsForResourceResponse smart constructor. data ListTagsForResourceResponse ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse -- | Create a value of ListTagsForResourceResponse 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: -- -- ListTagsForResourceResponse, -- listTagsForResourceResponse_tags - The tags assigned to the -- resource. -- -- $sel:httpStatus:ListTagsForResourceResponse', -- listTagsForResourceResponse_httpStatus - The response's http -- status code. newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse -- | See: newRejectInvitation smart constructor. data RejectInvitation RejectInvitation' :: Text -> RejectInvitation -- | Create a value of RejectInvitation 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: -- -- RejectInvitation, rejectInvitation_invitationId - The -- unique identifier of the invitation to reject. newRejectInvitation :: Text -> RejectInvitation -- | See: newRejectInvitationResponse smart constructor. data RejectInvitationResponse RejectInvitationResponse' :: Int -> RejectInvitationResponse -- | Create a value of RejectInvitationResponse 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:httpStatus:RejectInvitationResponse', -- rejectInvitationResponse_httpStatus - The response's http -- status code. newRejectInvitationResponse :: Int -> RejectInvitationResponse -- | See: newTagResource smart constructor. data TagResource TagResource' :: Text -> HashMap Text Text -> TagResource -- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - -- The Amazon Resource Name (ARN) of the resource. For more information -- about ARNs and their format, see Amazon Resource Names (ARNs) -- in the Amazon Web Services General Reference. -- -- TagResource, tagResource_tags - The tags to assign to -- the specified resource. Tag values can be empty, for example, -- "MyTagKey" : "". You can specify multiple key-value pairs in -- a single request, with an overall maximum of 50 tags added to each -- resource. newTagResource :: Text -> TagResource -- | See: newTagResourceResponse smart constructor. data TagResourceResponse TagResourceResponse' :: Int -> TagResourceResponse -- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse', -- tagResourceResponse_httpStatus - The response's http status -- code. newTagResourceResponse :: Int -> TagResourceResponse -- | See: newUntagResource smart constructor. data UntagResource UntagResource' :: Text -> [Text] -> UntagResource -- | Create a value of UntagResource 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:resourceArn:UntagResource', -- untagResource_resourceArn - The Amazon Resource Name (ARN) of -- the resource. For more information about ARNs and their format, see -- Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:tagKeys:UntagResource', untagResource_tagKeys - The -- tag keys. newUntagResource :: Text -> UntagResource -- | See: newUntagResourceResponse smart constructor. data UntagResourceResponse UntagResourceResponse' :: Int -> UntagResourceResponse -- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse', -- untagResourceResponse_httpStatus - The response's http status -- code. newUntagResourceResponse :: Int -> UntagResourceResponse -- | See: newUpdateMember smart constructor. data UpdateMember UpdateMember' :: Maybe MemberLogPublishingConfiguration -> Text -> Text -> UpdateMember -- | Create a value of UpdateMember 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: -- -- UpdateMember, updateMember_logPublishingConfiguration - -- Configuration properties for publishing to Amazon CloudWatch Logs. -- -- UpdateMember, updateMember_networkId - The unique -- identifier of the Managed Blockchain network to which the member -- belongs. -- -- UpdateMember, updateMember_memberId - The unique -- identifier of the member. newUpdateMember :: Text -> Text -> UpdateMember -- | See: newUpdateMemberResponse smart constructor. data UpdateMemberResponse UpdateMemberResponse' :: Int -> UpdateMemberResponse -- | Create a value of UpdateMemberResponse 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:httpStatus:UpdateMemberResponse', -- updateMemberResponse_httpStatus - The response's http status -- code. newUpdateMemberResponse :: Int -> UpdateMemberResponse -- | See: newUpdateNode smart constructor. data UpdateNode UpdateNode' :: Maybe NodeLogPublishingConfiguration -> Maybe Text -> Text -> Text -> UpdateNode -- | Create a value of UpdateNode 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: -- -- UpdateNode, updateNode_logPublishingConfiguration - -- Configuration properties for publishing to Amazon CloudWatch Logs. -- -- UpdateNode, updateNode_memberId - The unique identifier -- of the member that owns the node. -- -- Applies only to Hyperledger Fabric. -- -- UpdateNode, updateNode_networkId - The unique identifier -- of the network that the node is on. -- -- $sel:nodeId:UpdateNode', updateNode_nodeId - The unique -- identifier of the node. newUpdateNode :: Text -> Text -> UpdateNode -- | See: newUpdateNodeResponse smart constructor. data UpdateNodeResponse UpdateNodeResponse' :: Int -> UpdateNodeResponse -- | Create a value of UpdateNodeResponse 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:httpStatus:UpdateNodeResponse', -- updateNodeResponse_httpStatus - The response's http status -- code. newUpdateNodeResponse :: Int -> UpdateNodeResponse -- | See: newVoteOnProposal smart constructor. data VoteOnProposal VoteOnProposal' :: Text -> Text -> Text -> VoteValue -> VoteOnProposal -- | Create a value of VoteOnProposal 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: -- -- VoteOnProposal, voteOnProposal_networkId - The unique -- identifier of the network. -- -- VoteOnProposal, voteOnProposal_proposalId - The unique -- identifier of the proposal. -- -- $sel:voterMemberId:VoteOnProposal', -- voteOnProposal_voterMemberId - The unique identifier of the -- member casting the vote. -- -- VoteOnProposal, voteOnProposal_vote - The value of the -- vote. newVoteOnProposal :: Text -> Text -> Text -> VoteValue -> VoteOnProposal -- | See: newVoteOnProposalResponse smart constructor. data VoteOnProposalResponse VoteOnProposalResponse' :: Int -> VoteOnProposalResponse -- | Create a value of VoteOnProposalResponse 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:httpStatus:VoteOnProposalResponse', -- voteOnProposalResponse_httpStatus - The response's http status -- code. newVoteOnProposalResponse :: Int -> VoteOnProposalResponse newtype AccessorStatus AccessorStatus' :: Text -> AccessorStatus [fromAccessorStatus] :: AccessorStatus -> Text pattern AccessorStatus_AVAILABLE :: AccessorStatus pattern AccessorStatus_DELETED :: AccessorStatus pattern AccessorStatus_PENDING_DELETION :: AccessorStatus newtype AccessorType AccessorType' :: Text -> AccessorType [fromAccessorType] :: AccessorType -> Text pattern AccessorType_BILLING_TOKEN :: AccessorType newtype Edition Edition' :: Text -> Edition [fromEdition] :: Edition -> Text pattern Edition_STANDARD :: Edition pattern Edition_STARTER :: Edition newtype Framework Framework' :: Text -> Framework [fromFramework] :: Framework -> Text pattern Framework_ETHEREUM :: Framework pattern Framework_HYPERLEDGER_FABRIC :: Framework newtype InvitationStatus InvitationStatus' :: Text -> InvitationStatus [fromInvitationStatus] :: InvitationStatus -> Text pattern InvitationStatus_ACCEPTED :: InvitationStatus pattern InvitationStatus_ACCEPTING :: InvitationStatus pattern InvitationStatus_EXPIRED :: InvitationStatus pattern InvitationStatus_PENDING :: InvitationStatus pattern InvitationStatus_REJECTED :: InvitationStatus newtype MemberStatus MemberStatus' :: Text -> MemberStatus [fromMemberStatus] :: MemberStatus -> Text pattern MemberStatus_AVAILABLE :: MemberStatus pattern MemberStatus_CREATE_FAILED :: MemberStatus pattern MemberStatus_CREATING :: MemberStatus pattern MemberStatus_DELETED :: MemberStatus pattern MemberStatus_DELETING :: MemberStatus pattern MemberStatus_INACCESSIBLE_ENCRYPTION_KEY :: MemberStatus pattern MemberStatus_UPDATING :: MemberStatus newtype NetworkStatus NetworkStatus' :: Text -> NetworkStatus [fromNetworkStatus] :: NetworkStatus -> Text pattern NetworkStatus_AVAILABLE :: NetworkStatus pattern NetworkStatus_CREATE_FAILED :: NetworkStatus pattern NetworkStatus_CREATING :: NetworkStatus pattern NetworkStatus_DELETED :: NetworkStatus pattern NetworkStatus_DELETING :: NetworkStatus newtype NodeStatus NodeStatus' :: Text -> NodeStatus [fromNodeStatus] :: NodeStatus -> Text pattern NodeStatus_AVAILABLE :: NodeStatus pattern NodeStatus_CREATE_FAILED :: NodeStatus pattern NodeStatus_CREATING :: NodeStatus pattern NodeStatus_DELETED :: NodeStatus pattern NodeStatus_DELETING :: NodeStatus pattern NodeStatus_FAILED :: NodeStatus pattern NodeStatus_INACCESSIBLE_ENCRYPTION_KEY :: NodeStatus pattern NodeStatus_UNHEALTHY :: NodeStatus pattern NodeStatus_UPDATING :: NodeStatus newtype ProposalStatus ProposalStatus' :: Text -> ProposalStatus [fromProposalStatus] :: ProposalStatus -> Text pattern ProposalStatus_ACTION_FAILED :: ProposalStatus pattern ProposalStatus_APPROVED :: ProposalStatus pattern ProposalStatus_EXPIRED :: ProposalStatus pattern ProposalStatus_IN_PROGRESS :: ProposalStatus pattern ProposalStatus_REJECTED :: ProposalStatus newtype StateDBType StateDBType' :: Text -> StateDBType [fromStateDBType] :: StateDBType -> Text pattern StateDBType_CouchDB :: StateDBType pattern StateDBType_LevelDB :: StateDBType newtype ThresholdComparator ThresholdComparator' :: Text -> ThresholdComparator [fromThresholdComparator] :: ThresholdComparator -> Text pattern ThresholdComparator_GREATER_THAN :: ThresholdComparator pattern ThresholdComparator_GREATER_THAN_OR_EQUAL_TO :: ThresholdComparator newtype VoteValue VoteValue' :: Text -> VoteValue [fromVoteValue] :: VoteValue -> Text pattern VoteValue_NO :: VoteValue pattern VoteValue_YES :: VoteValue -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- The properties of the Accessor. -- -- See: newAccessor smart constructor. data Accessor Accessor' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe AccessorStatus -> Maybe AccessorType -> Accessor -- | Create a value of Accessor 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:Accessor', accessor_arn - The Amazon Resource -- Name (ARN) of the accessor. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- $sel:billingToken:Accessor', accessor_billingToken - The -- billing token is a property of the accessor. Use this token to make -- Ethereum API calls to your Ethereum node. The billing token is used to -- track your accessor object for billing Ethereum API requests made to -- your Ethereum nodes. -- -- $sel:creationDate:Accessor', accessor_creationDate - The -- creation date and time of the accessor. -- -- $sel:id:Accessor', accessor_id - The unique identifier -- of the accessor. -- -- $sel:status:Accessor', accessor_status - The current -- status of the accessor. -- -- $sel:type':Accessor', accessor_type - The type of the -- accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newAccessor :: Accessor -- | The token based access feature is in preview release for Ethereum on -- Amazon Managed Blockchain and is subject to change. We recommend that -- you use this feature only with test scenarios, and not in production -- environments. -- -- A summary of accessor properties. -- -- See: newAccessorSummary smart constructor. data AccessorSummary AccessorSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe AccessorStatus -> Maybe AccessorType -> AccessorSummary -- | Create a value of AccessorSummary 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:AccessorSummary', accessorSummary_arn - The -- Amazon Resource Name (ARN) of the accessor. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. -- -- $sel:creationDate:AccessorSummary', -- accessorSummary_creationDate - The creation date and time of -- the accessor. -- -- $sel:id:AccessorSummary', accessorSummary_id - The -- unique identifier of the accessor. -- -- $sel:status:AccessorSummary', accessorSummary_status - -- The current status of the accessor. -- -- $sel:type':AccessorSummary', accessorSummary_type - The -- type of the accessor. -- -- Currently accessor type is restricted to BILLING_TOKEN. newAccessorSummary :: AccessorSummary -- | A policy type that defines the voting rules for the network. The rules -- decide if a proposal is approved. Approval may be based on criteria -- such as the percentage of YES votes and the duration of the -- proposal. The policy applies to all proposals and is specified when -- the network is created. -- -- Applies only to Hyperledger Fabric. -- -- See: newApprovalThresholdPolicy smart constructor. data ApprovalThresholdPolicy ApprovalThresholdPolicy' :: Maybe Natural -> Maybe ThresholdComparator -> Maybe Natural -> ApprovalThresholdPolicy -- | Create a value of ApprovalThresholdPolicy 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:proposalDurationInHours:ApprovalThresholdPolicy', -- approvalThresholdPolicy_proposalDurationInHours - The duration -- from the time that a proposal is created until it expires. If members -- cast neither the required number of YES votes to approve the -- proposal nor the number of NO votes required to reject it -- before the duration expires, the proposal is EXPIRED and -- ProposalActions aren't carried out. -- -- $sel:thresholdComparator:ApprovalThresholdPolicy', -- approvalThresholdPolicy_thresholdComparator - Determines -- whether the vote percentage must be greater than the -- ThresholdPercentage or must be greater than or equal to the -- ThreholdPercentage to be approved. -- -- $sel:thresholdPercentage:ApprovalThresholdPolicy', -- approvalThresholdPolicy_thresholdPercentage - The percentage of -- votes among all members that must be YES for a proposal to be -- approved. For example, a ThresholdPercentage value of -- 50 indicates 50%. The ThresholdComparator determines -- the precise comparison. If a ThresholdPercentage value of -- 50 is specified on a network with 10 members, along with a -- ThresholdComparator value of GREATER_THAN, this -- indicates that 6 YES votes are required for the proposal to -- be approved. newApprovalThresholdPolicy :: ApprovalThresholdPolicy -- | An invitation to an Amazon Web Services account to create a member and -- join the network. -- -- Applies only to Hyperledger Fabric. -- -- See: newInvitation smart constructor. data Invitation Invitation' :: Maybe Text -> Maybe ISO8601 -> Maybe ISO8601 -> Maybe Text -> Maybe NetworkSummary -> Maybe InvitationStatus -> Invitation -- | Create a value of Invitation 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: -- -- Invitation, invitation_arn - The Amazon Resource Name -- (ARN) of the invitation. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- Invitation, invitation_creationDate - The date and time -- that the invitation was created. -- -- $sel:expirationDate:Invitation', -- invitation_expirationDate - The date and time that the -- invitation expires. This is the CreationDate plus the -- ProposalDurationInHours that is specified in the -- ProposalThresholdPolicy. After this date and time, the -- invitee can no longer create a member and join the network using this -- InvitationId. -- -- $sel:invitationId:Invitation', invitation_invitationId - -- The unique identifier for the invitation. -- -- $sel:networkSummary:Invitation', -- invitation_networkSummary - Undocumented member. -- -- Invitation, invitation_status - The status of the -- invitation: -- -- newInvitation :: Invitation -- | An action to invite a specific Amazon Web Services account to create a -- member and join the network. The InviteAction is carried out -- when a Proposal is APPROVED. -- -- Applies only to Hyperledger Fabric. -- -- See: newInviteAction smart constructor. data InviteAction InviteAction' :: Text -> InviteAction -- | Create a value of InviteAction 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:principal:InviteAction', inviteAction_principal - -- The Amazon Web Services account ID to invite. newInviteAction :: Text -> InviteAction -- | A configuration for logging events. -- -- See: newLogConfiguration smart constructor. data LogConfiguration LogConfiguration' :: Maybe Bool -> LogConfiguration -- | Create a value of LogConfiguration 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:enabled:LogConfiguration', logConfiguration_enabled -- - Indicates whether logging is enabled. newLogConfiguration :: LogConfiguration -- | A collection of log configurations. -- -- See: newLogConfigurations smart constructor. data LogConfigurations LogConfigurations' :: Maybe LogConfiguration -> LogConfigurations -- | Create a value of LogConfigurations 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:cloudwatch:LogConfigurations', -- logConfigurations_cloudwatch - Parameters for publishing logs -- to Amazon CloudWatch Logs. newLogConfigurations :: LogConfigurations -- | Member configuration properties. -- -- Applies only to Hyperledger Fabric. -- -- See: newMember smart constructor. data Member Member' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe MemberFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe MemberLogPublishingConfiguration -> Maybe Text -> Maybe Text -> Maybe MemberStatus -> Maybe (HashMap Text Text) -> Member -- | Create a value of Member 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:Member', member_arn - The Amazon Resource Name -- (ARN) of the member. For more information about ARNs and their format, -- see Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:creationDate:Member', member_creationDate - The -- date and time that the member was created. -- -- $sel:description:Member', member_description - An -- optional description for the member. -- -- $sel:frameworkAttributes:Member', -- member_frameworkAttributes - Attributes relevant to a member -- for the blockchain framework that the Managed Blockchain network uses. -- -- $sel:id:Member', member_id - The unique identifier of -- the member. -- -- $sel:kmsKeyArn:Member', member_kmsKeyArn - The Amazon -- Resource Name (ARN) of the customer managed key in Key Management -- Service (KMS) that the member uses for encryption at rest. If the -- value of this parameter is "AWS Owned KMS Key", the member -- uses an Amazon Web Services owned KMS key for encryption. This -- parameter is inherited by the nodes that this member owns. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- $sel:logPublishingConfiguration:Member', -- member_logPublishingConfiguration - Configuration properties -- for logging events associated with a member. -- -- $sel:name:Member', member_name - The name of the member. -- -- $sel:networkId:Member', member_networkId - The unique -- identifier of the network to which the member belongs. -- -- $sel:status:Member', member_status - The status of a -- member. -- -- -- -- $sel:tags:Member', member_tags - Tags assigned to the -- member. Tags consist of a key and optional value. For more information -- about tags, see Tagging Resources in the Amazon Managed -- Blockchain Hyperledger Fabric Developer Guide. newMember :: Member -- | Configuration properties of the member. -- -- Applies only to Hyperledger Fabric. -- -- See: newMemberConfiguration smart constructor. data MemberConfiguration MemberConfiguration' :: Maybe Text -> Maybe Text -> Maybe MemberLogPublishingConfiguration -> Maybe (HashMap Text Text) -> Text -> MemberFrameworkConfiguration -> MemberConfiguration -- | Create a value of MemberConfiguration 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:description:MemberConfiguration', -- memberConfiguration_description - An optional description of -- the member. -- -- $sel:kmsKeyArn:MemberConfiguration', -- memberConfiguration_kmsKeyArn - The Amazon Resource Name (ARN) -- of the customer managed key in Key Management Service (KMS) to use for -- encryption at rest in the member. This parameter is inherited by any -- nodes that this member creates. For more information, see -- Encryption at Rest in the Amazon Managed Blockchain -- Hyperledger Fabric Developer Guide. -- -- Use one of the following options to specify this parameter: -- -- -- -- $sel:logPublishingConfiguration:MemberConfiguration', -- memberConfiguration_logPublishingConfiguration - Configuration -- properties for logging events associated with a member of a Managed -- Blockchain network. -- -- $sel:tags:MemberConfiguration', memberConfiguration_tags -- - Tags assigned to the member. Tags consist of a key and optional -- value. For more information about tags, see Tagging Resources -- in the Amazon Managed Blockchain Hyperledger Fabric Developer -- Guide. -- -- When specifying tags during creation, you can specify multiple -- key-value pairs in a single request, with an overall maximum of 50 -- tags added to each resource. -- -- $sel:name:MemberConfiguration', memberConfiguration_name -- - The name of the member. -- -- $sel:frameworkConfiguration:MemberConfiguration', -- memberConfiguration_frameworkConfiguration - Configuration -- properties of the blockchain framework relevant to the member. newMemberConfiguration :: Text -> MemberFrameworkConfiguration -> MemberConfiguration -- | Attributes of Hyperledger Fabric for a member in a Managed Blockchain -- network using the Hyperledger Fabric framework. -- -- See: newMemberFabricAttributes smart constructor. data MemberFabricAttributes MemberFabricAttributes' :: Maybe Text -> Maybe Text -> MemberFabricAttributes -- | Create a value of MemberFabricAttributes 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:adminUsername:MemberFabricAttributes', -- memberFabricAttributes_adminUsername - The user name for the -- initial administrator user for the member. -- -- $sel:caEndpoint:MemberFabricAttributes', -- memberFabricAttributes_caEndpoint - The endpoint used to access -- the member's certificate authority. newMemberFabricAttributes :: MemberFabricAttributes -- | Configuration properties for Hyperledger Fabric for a member in a -- Managed Blockchain network using the Hyperledger Fabric framework. -- -- See: newMemberFabricConfiguration smart constructor. data MemberFabricConfiguration MemberFabricConfiguration' :: Text -> Sensitive Text -> MemberFabricConfiguration -- | Create a value of MemberFabricConfiguration 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:adminUsername:MemberFabricConfiguration', -- memberFabricConfiguration_adminUsername - The user name for the -- member's initial administrative user. -- -- $sel:adminPassword:MemberFabricConfiguration', -- memberFabricConfiguration_adminPassword - The password for the -- member's initial administrative user. The AdminPassword must -- be at least eight characters long and no more than 32 characters. It -- must contain at least one uppercase letter, one lowercase letter, and -- one digit. It cannot have a single quotation mark (‘), a double -- quotation marks (“), a forward slash(/), a backward slash(\), @, or a -- space. newMemberFabricConfiguration :: Text -> Text -> MemberFabricConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network using the Hyperledger Fabric -- framework. -- -- See: newMemberFabricLogPublishingConfiguration smart -- constructor. data MemberFabricLogPublishingConfiguration MemberFabricLogPublishingConfiguration' :: Maybe LogConfigurations -> MemberFabricLogPublishingConfiguration -- | Create a value of MemberFabricLogPublishingConfiguration 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:caLogs:MemberFabricLogPublishingConfiguration', -- memberFabricLogPublishingConfiguration_caLogs - Configuration -- properties for logging events associated with a member's Certificate -- Authority (CA). CA logs help you determine when a member in your -- account joins the network, or when new peers register with a member -- CA. newMemberFabricLogPublishingConfiguration :: MemberFabricLogPublishingConfiguration -- | Attributes relevant to a member for the blockchain framework that the -- Managed Blockchain network uses. -- -- See: newMemberFrameworkAttributes smart constructor. data MemberFrameworkAttributes MemberFrameworkAttributes' :: Maybe MemberFabricAttributes -> MemberFrameworkAttributes -- | Create a value of MemberFrameworkAttributes 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:fabric:MemberFrameworkAttributes', -- memberFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric relevant to a member on a Managed Blockchain network that uses -- Hyperledger Fabric. newMemberFrameworkAttributes :: MemberFrameworkAttributes -- | Configuration properties relevant to a member for the blockchain -- framework that the Managed Blockchain network uses. -- -- See: newMemberFrameworkConfiguration smart constructor. data MemberFrameworkConfiguration MemberFrameworkConfiguration' :: Maybe MemberFabricConfiguration -> MemberFrameworkConfiguration -- | Create a value of MemberFrameworkConfiguration 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:fabric:MemberFrameworkConfiguration', -- memberFrameworkConfiguration_fabric - Attributes of Hyperledger -- Fabric for a member on a Managed Blockchain network that uses -- Hyperledger Fabric. newMemberFrameworkConfiguration :: MemberFrameworkConfiguration -- | Configuration properties for logging events associated with a member -- of a Managed Blockchain network. -- -- See: newMemberLogPublishingConfiguration smart -- constructor. data MemberLogPublishingConfiguration MemberLogPublishingConfiguration' :: Maybe MemberFabricLogPublishingConfiguration -> MemberLogPublishingConfiguration -- | Create a value of MemberLogPublishingConfiguration 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:fabric:MemberLogPublishingConfiguration', -- memberLogPublishingConfiguration_fabric - Configuration -- properties for logging events associated with a member of a Managed -- Blockchain network using the Hyperledger Fabric framework. newMemberLogPublishingConfiguration :: MemberLogPublishingConfiguration -- | A summary of configuration properties for a member. -- -- Applies only to Hyperledger Fabric. -- -- See: newMemberSummary smart constructor. data MemberSummary MemberSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe MemberStatus -> MemberSummary -- | Create a value of MemberSummary 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:MemberSummary', memberSummary_arn - The Amazon -- Resource Name (ARN) of the member. For more information about ARNs and -- their format, see Amazon Resource Names (ARNs) in the Amazon -- Web Services General Reference. -- -- $sel:creationDate:MemberSummary', -- memberSummary_creationDate - The date and time that the member -- was created. -- -- $sel:description:MemberSummary', -- memberSummary_description - An optional description of the -- member. -- -- $sel:id:MemberSummary', memberSummary_id - The unique -- identifier of the member. -- -- $sel:isOwned:MemberSummary', memberSummary_isOwned - An -- indicator of whether the member is owned by your Amazon Web Services -- account or a different Amazon Web Services account. -- -- $sel:name:MemberSummary', memberSummary_name - The name -- of the member. -- -- $sel:status:MemberSummary', memberSummary_status - The -- status of the member. -- -- newMemberSummary :: MemberSummary -- | Network configuration properties. -- -- See: newNetwork smart constructor. data Network Network' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Framework -> Maybe NetworkFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> Maybe (HashMap Text Text) -> Maybe VotingPolicy -> Maybe Text -> Network -- | 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. newNetwork :: Network -- | Attributes of Ethereum for a network. -- -- See: newNetworkEthereumAttributes smart constructor. data NetworkEthereumAttributes NetworkEthereumAttributes' :: Maybe Text -> NetworkEthereumAttributes -- | Create a value of NetworkEthereumAttributes 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:chainId:NetworkEthereumAttributes', -- networkEthereumAttributes_chainId - The Ethereum -- CHAIN_ID associated with the Ethereum network. Chain IDs are -- as follows: -- -- newNetworkEthereumAttributes :: NetworkEthereumAttributes -- | Attributes of Hyperledger Fabric for a network. -- -- See: newNetworkFabricAttributes smart constructor. data NetworkFabricAttributes NetworkFabricAttributes' :: Maybe Edition -> Maybe Text -> NetworkFabricAttributes -- | Create a value of NetworkFabricAttributes 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:edition:NetworkFabricAttributes', -- networkFabricAttributes_edition - The edition of Amazon Managed -- Blockchain that Hyperledger Fabric uses. For more information, see -- Amazon Managed Blockchain Pricing. -- -- $sel:orderingServiceEndpoint:NetworkFabricAttributes', -- networkFabricAttributes_orderingServiceEndpoint - The endpoint -- of the ordering service for the network. newNetworkFabricAttributes :: NetworkFabricAttributes -- | Hyperledger Fabric configuration properties for the network. -- -- See: newNetworkFabricConfiguration smart constructor. data NetworkFabricConfiguration NetworkFabricConfiguration' :: Edition -> NetworkFabricConfiguration -- | Create a value of NetworkFabricConfiguration 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:edition:NetworkFabricConfiguration', -- networkFabricConfiguration_edition - The edition of Amazon -- Managed Blockchain that the network uses. For more information, see -- Amazon Managed Blockchain Pricing. newNetworkFabricConfiguration :: Edition -> NetworkFabricConfiguration -- | Attributes relevant to the network for the blockchain framework that -- the network uses. -- -- See: newNetworkFrameworkAttributes smart constructor. data NetworkFrameworkAttributes NetworkFrameworkAttributes' :: Maybe NetworkEthereumAttributes -> Maybe NetworkFabricAttributes -> NetworkFrameworkAttributes -- | Create a value of NetworkFrameworkAttributes 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:ethereum:NetworkFrameworkAttributes', -- networkFrameworkAttributes_ethereum - Attributes of an Ethereum -- network for Managed Blockchain resources participating in an Ethereum -- network. -- -- $sel:fabric:NetworkFrameworkAttributes', -- networkFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric for a Managed Blockchain network that uses Hyperledger Fabric. newNetworkFrameworkAttributes :: NetworkFrameworkAttributes -- | Configuration properties relevant to the network for the blockchain -- framework that the network uses. -- -- See: newNetworkFrameworkConfiguration smart constructor. data NetworkFrameworkConfiguration NetworkFrameworkConfiguration' :: Maybe NetworkFabricConfiguration -> NetworkFrameworkConfiguration -- | Create a value of NetworkFrameworkConfiguration 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:fabric:NetworkFrameworkConfiguration', -- networkFrameworkConfiguration_fabric - Hyperledger Fabric -- configuration properties for a Managed Blockchain network that uses -- Hyperledger Fabric. newNetworkFrameworkConfiguration :: NetworkFrameworkConfiguration -- | A summary of network configuration properties. -- -- See: newNetworkSummary smart constructor. data NetworkSummary NetworkSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Framework -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NetworkStatus -> NetworkSummary -- | Create a value of NetworkSummary 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:NetworkSummary', networkSummary_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:NetworkSummary', -- networkSummary_creationDate - The date and time that the -- network was created. -- -- $sel:description:NetworkSummary', -- networkSummary_description - An optional description of the -- network. -- -- $sel:framework:NetworkSummary', networkSummary_framework -- - The blockchain framework that the network uses. -- -- $sel:frameworkVersion:NetworkSummary', -- networkSummary_frameworkVersion - The version of the blockchain -- framework that the network uses. -- -- $sel:id:NetworkSummary', networkSummary_id - The unique -- identifier of the network. -- -- $sel:name:NetworkSummary', networkSummary_name - The -- name of the network. -- -- $sel:status:NetworkSummary', networkSummary_status - The -- current status of the network. newNetworkSummary :: NetworkSummary -- | Configuration properties of a node. -- -- See: newNode smart constructor. data Node Node' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe NodeFrameworkAttributes -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe NodeLogPublishingConfiguration -> Maybe Text -> Maybe Text -> Maybe StateDBType -> Maybe NodeStatus -> Maybe (HashMap Text Text) -> Node -- | Create a value of Node 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:Node', node_arn - The Amazon Resource Name -- (ARN) of the node. For more information about ARNs and their format, -- see Amazon Resource Names (ARNs) in the Amazon Web Services -- General Reference. -- -- $sel:availabilityZone:Node', node_availabilityZone - The -- Availability Zone in which the node exists. Required for Ethereum -- nodes. -- -- $sel:creationDate:Node', node_creationDate - The date -- and time that the node was created. -- -- $sel:frameworkAttributes:Node', node_frameworkAttributes -- - Attributes of the blockchain framework being used. -- -- $sel:id:Node', node_id - The unique identifier of the -- node. -- -- $sel:instanceType:Node', node_instanceType - The -- instance type of the node. -- -- $sel:kmsKeyArn:Node', node_kmsKeyArn - The Amazon -- Resource Name (ARN) of the customer managed key in Key Management -- Service (KMS) that the node uses for encryption at rest. If the value -- of this parameter is "AWS Owned KMS Key", the node uses an -- Amazon Web Services owned KMS key for encryption. The node inherits -- this parameter from the member that it belongs to. -- -- For more information, see Encryption at Rest in the Amazon -- Managed Blockchain Hyperledger Fabric Developer Guide. -- -- Applies only to Hyperledger Fabric. -- -- $sel:logPublishingConfiguration:Node', -- node_logPublishingConfiguration - Configuration properties for -- logging events associated with a peer node on a Hyperledger Fabric -- network on Managed Blockchain. -- -- $sel:memberId:Node', node_memberId - The unique -- identifier of the member to which the node belongs. -- -- Applies only to Hyperledger Fabric. -- -- $sel:networkId:Node', node_networkId - The unique -- identifier of the network that the node is on. -- -- $sel:stateDB:Node', node_stateDB - The state database -- that the node uses. Values are LevelDB or CouchDB. -- -- Applies only to Hyperledger Fabric. -- -- $sel:status:Node', node_status - The status of the node. -- -- -- -- $sel:tags:Node', node_tags - Tags assigned to the node. -- 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. newNode :: Node -- | Configuration properties of a node. -- -- See: newNodeConfiguration smart constructor. data NodeConfiguration NodeConfiguration' :: Maybe Text -> Maybe NodeLogPublishingConfiguration -> Maybe StateDBType -> Text -> NodeConfiguration -- | Create a value of NodeConfiguration 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:availabilityZone:NodeConfiguration', -- nodeConfiguration_availabilityZone - The Availability Zone in -- which the node exists. Required for Ethereum nodes. -- -- $sel:logPublishingConfiguration:NodeConfiguration', -- nodeConfiguration_logPublishingConfiguration - Configuration -- properties for logging events associated with a peer node on a -- Hyperledger Fabric network on Managed Blockchain. -- -- $sel:stateDB:NodeConfiguration', -- nodeConfiguration_stateDB - The state database that the node -- uses. Values are LevelDB or CouchDB. When using an -- Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 -- or later, the default is CouchDB. -- -- Applies only to Hyperledger Fabric. -- -- $sel:instanceType:NodeConfiguration', -- nodeConfiguration_instanceType - The Amazon Managed Blockchain -- instance type for the node. newNodeConfiguration :: Text -> NodeConfiguration -- | Attributes of an Ethereum node. -- -- See: newNodeEthereumAttributes smart constructor. data NodeEthereumAttributes NodeEthereumAttributes' :: Maybe Text -> Maybe Text -> NodeEthereumAttributes -- | Create a value of NodeEthereumAttributes 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:httpEndpoint:NodeEthereumAttributes', -- nodeEthereumAttributes_httpEndpoint - The endpoint on which the -- Ethereum node listens to run Ethereum API methods over HTTP -- connections from a client. Use this endpoint in client code for smart -- contracts when using an HTTP connection. Connections to this endpoint -- are authenticated using Signature Version 4. -- -- $sel:webSocketEndpoint:NodeEthereumAttributes', -- nodeEthereumAttributes_webSocketEndpoint - The endpoint on -- which the Ethereum node listens to run Ethereum JSON-RPC methods over -- WebSocket connections from a client. Use this endpoint in client code -- for smart contracts when using a WebSocket connection. Connections to -- this endpoint are authenticated using Signature Version 4. newNodeEthereumAttributes :: NodeEthereumAttributes -- | Attributes of Hyperledger Fabric for a peer node on a Hyperledger -- Fabric network on Managed Blockchain. -- -- See: newNodeFabricAttributes smart constructor. data NodeFabricAttributes NodeFabricAttributes' :: Maybe Text -> Maybe Text -> NodeFabricAttributes -- | Create a value of NodeFabricAttributes 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:peerEndpoint:NodeFabricAttributes', -- nodeFabricAttributes_peerEndpoint - The endpoint that -- identifies the peer node for all services except peer channel-based -- event services. -- -- $sel:peerEventEndpoint:NodeFabricAttributes', -- nodeFabricAttributes_peerEventEndpoint - The endpoint that -- identifies the peer node for peer channel-based event services. newNodeFabricAttributes :: NodeFabricAttributes -- | Configuration properties for logging events associated with a peer -- node owned by a member in a Managed Blockchain network. -- -- See: newNodeFabricLogPublishingConfiguration smart -- constructor. data NodeFabricLogPublishingConfiguration NodeFabricLogPublishingConfiguration' :: Maybe LogConfigurations -> Maybe LogConfigurations -> NodeFabricLogPublishingConfiguration -- | Create a value of NodeFabricLogPublishingConfiguration 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:chaincodeLogs:NodeFabricLogPublishingConfiguration', -- nodeFabricLogPublishingConfiguration_chaincodeLogs - -- Configuration properties for logging events associated with chaincode -- execution on a peer node. Chaincode logs contain the results of -- instantiating, invoking, and querying the chaincode. A peer can run -- multiple instances of chaincode. When enabled, a log stream is created -- for all chaincodes, with an individual log stream for each chaincode. -- -- $sel:peerLogs:NodeFabricLogPublishingConfiguration', -- nodeFabricLogPublishingConfiguration_peerLogs - Configuration -- properties for a peer node log. Peer node logs contain messages -- generated when your client submits transaction proposals to peer -- nodes, requests to join channels, enrolls an admin peer, and lists the -- chaincode instances on a peer node. newNodeFabricLogPublishingConfiguration :: NodeFabricLogPublishingConfiguration -- | Attributes relevant to a node on a Managed Blockchain network for the -- blockchain framework that the network uses. -- -- See: newNodeFrameworkAttributes smart constructor. data NodeFrameworkAttributes NodeFrameworkAttributes' :: Maybe NodeEthereumAttributes -> Maybe NodeFabricAttributes -> NodeFrameworkAttributes -- | Create a value of NodeFrameworkAttributes 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:ethereum:NodeFrameworkAttributes', -- nodeFrameworkAttributes_ethereum - Attributes of Ethereum for a -- node on a Managed Blockchain network that uses Ethereum. -- -- $sel:fabric:NodeFrameworkAttributes', -- nodeFrameworkAttributes_fabric - Attributes of Hyperledger -- Fabric for a peer node on a Managed Blockchain network that uses -- Hyperledger Fabric. newNodeFrameworkAttributes :: NodeFrameworkAttributes -- | Configuration properties for logging events associated with a peer -- node on a Hyperledger Fabric network on Managed Blockchain. -- -- See: newNodeLogPublishingConfiguration smart -- constructor. data NodeLogPublishingConfiguration NodeLogPublishingConfiguration' :: Maybe NodeFabricLogPublishingConfiguration -> NodeLogPublishingConfiguration -- | Create a value of NodeLogPublishingConfiguration 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:fabric:NodeLogPublishingConfiguration', -- nodeLogPublishingConfiguration_fabric - Configuration -- properties for logging events associated with a node that is owned by -- a member of a Managed Blockchain network using the Hyperledger Fabric -- framework. newNodeLogPublishingConfiguration :: NodeLogPublishingConfiguration -- | A summary of configuration properties for a node. -- -- See: newNodeSummary smart constructor. data NodeSummary NodeSummary' :: Maybe Text -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe NodeStatus -> NodeSummary -- | Create a value of NodeSummary 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:NodeSummary', nodeSummary_arn - The Amazon -- Resource Name (ARN) of the node. For more information about ARNs and -- their format, see Amazon Resource Names (ARNs) in the Amazon -- Web Services General Reference. -- -- $sel:availabilityZone:NodeSummary', -- nodeSummary_availabilityZone - The Availability Zone in which -- the node exists. -- -- $sel:creationDate:NodeSummary', nodeSummary_creationDate -- - The date and time that the node was created. -- -- $sel:id:NodeSummary', nodeSummary_id - The unique -- identifier of the node. -- -- $sel:instanceType:NodeSummary', nodeSummary_instanceType -- - The EC2 instance type for the node. -- -- $sel:status:NodeSummary', nodeSummary_status - The -- status of the node. newNodeSummary :: NodeSummary -- | Properties of a proposal on a Managed Blockchain network. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposal smart constructor. data Proposal Proposal' :: Maybe ProposalActions -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ProposalStatus -> Maybe (HashMap Text Text) -> Maybe Int -> Proposal -- | Create a value of Proposal 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:actions:Proposal', proposal_actions - The actions -- to perform on the network if the proposal is APPROVED. -- -- $sel:arn:Proposal', proposal_arn - The Amazon Resource -- Name (ARN) of the proposal. For more information about ARNs and their -- format, see Amazon Resource Names (ARNs) in the Amazon Web -- Services General Reference. -- -- $sel:creationDate:Proposal', proposal_creationDate - The -- date and time that the proposal was created. -- -- $sel:description:Proposal', proposal_description - The -- description of the proposal. -- -- $sel:expirationDate:Proposal', proposal_expirationDate - -- The date and time that the proposal expires. This is the -- CreationDate plus the ProposalDurationInHours that -- is specified in the ProposalThresholdPolicy. After this date -- and time, if members haven't cast enough votes to determine the -- outcome according to the voting policy, the proposal is -- EXPIRED and Actions aren't carried out. -- -- $sel:networkId:Proposal', proposal_networkId - The -- unique identifier of the network for which the proposal is made. -- -- $sel:noVoteCount:Proposal', proposal_noVoteCount - The -- current total of NO votes cast on the proposal by members. -- -- $sel:outstandingVoteCount:Proposal', -- proposal_outstandingVoteCount - The number of votes remaining -- to be cast on the proposal by members. In other words, the number of -- members minus the sum of YES votes and NO votes. -- -- $sel:proposalId:Proposal', proposal_proposalId - The -- unique identifier of the proposal. -- -- $sel:proposedByMemberId:Proposal', -- proposal_proposedByMemberId - The unique identifier of the -- member that created the proposal. -- -- $sel:proposedByMemberName:Proposal', -- proposal_proposedByMemberName - The name of the member that -- created the proposal. -- -- $sel:status:Proposal', proposal_status - The status of -- the proposal. Values are as follows: -- -- -- -- $sel:tags:Proposal', proposal_tags - Tags assigned to -- the proposal. 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:yesVoteCount:Proposal', proposal_yesVoteCount - The -- current total of YES votes cast on the proposal by members. newProposal :: Proposal -- | The actions to carry out if a proposal is APPROVED. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposalActions smart constructor. data ProposalActions ProposalActions' :: Maybe [InviteAction] -> Maybe [RemoveAction] -> ProposalActions -- | Create a value of ProposalActions 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:invitations:ProposalActions', -- proposalActions_invitations - The actions to perform for an -- APPROVED proposal to invite an Amazon Web Services account to -- create a member and join the network. -- -- $sel:removals:ProposalActions', proposalActions_removals -- - The actions to perform for an APPROVED proposal to remove a -- member from the network, which deletes the member and all associated -- member resources from the network. newProposalActions :: ProposalActions -- | Properties of a proposal. -- -- Applies only to Hyperledger Fabric. -- -- See: newProposalSummary smart constructor. data ProposalSummary ProposalSummary' :: Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ProposalStatus -> ProposalSummary -- | Create a value of ProposalSummary 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:ProposalSummary', proposalSummary_arn - The -- Amazon Resource Name (ARN) of the proposal. For more information about -- ARNs and their format, see Amazon Resource Names (ARNs) in the -- Amazon Web Services General Reference. -- -- $sel:creationDate:ProposalSummary', -- proposalSummary_creationDate - The date and time that the -- proposal was created. -- -- $sel:description:ProposalSummary', -- proposalSummary_description - The description of the proposal. -- -- $sel:expirationDate:ProposalSummary', -- proposalSummary_expirationDate - The date and time that the -- proposal expires. This is the CreationDate plus the -- ProposalDurationInHours that is specified in the -- ProposalThresholdPolicy. After this date and time, if members -- haven't cast enough votes to determine the outcome according to the -- voting policy, the proposal is EXPIRED and Actions -- aren't carried out. -- -- $sel:proposalId:ProposalSummary', -- proposalSummary_proposalId - The unique identifier of the -- proposal. -- -- $sel:proposedByMemberId:ProposalSummary', -- proposalSummary_proposedByMemberId - The unique identifier of -- the member that created the proposal. -- -- $sel:proposedByMemberName:ProposalSummary', -- proposalSummary_proposedByMemberName - The name of the member -- that created the proposal. -- -- $sel:status:ProposalSummary', proposalSummary_status - -- The status of the proposal. Values are as follows: -- -- newProposalSummary :: ProposalSummary -- | An action to remove a member from a Managed Blockchain network as the -- result of a removal proposal that is APPROVED. The member and -- all associated resources are deleted from the network. -- -- Applies only to Hyperledger Fabric. -- -- See: newRemoveAction smart constructor. data RemoveAction RemoveAction' :: Text -> RemoveAction -- | Create a value of RemoveAction 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:memberId:RemoveAction', removeAction_memberId - The -- unique identifier of the member to remove. newRemoveAction :: Text -> RemoveAction -- | Properties of an individual vote that a member cast for a proposal. -- -- Applies only to Hyperledger Fabric. -- -- See: newVoteSummary smart constructor. data VoteSummary VoteSummary' :: Maybe Text -> Maybe Text -> Maybe VoteValue -> VoteSummary -- | Create a value of VoteSummary 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:memberId:VoteSummary', voteSummary_memberId - The -- unique identifier of the member that cast the vote. -- -- $sel:memberName:VoteSummary', voteSummary_memberName - -- The name of the member that cast the vote. -- -- $sel:vote:VoteSummary', voteSummary_vote - The vote -- value, either YES or NO. newVoteSummary :: VoteSummary -- | The voting rules for the network to decide if a proposal is accepted -- -- Applies only to Hyperledger Fabric. -- -- See: newVotingPolicy smart constructor. data VotingPolicy VotingPolicy' :: Maybe ApprovalThresholdPolicy -> VotingPolicy -- | Create a value of VotingPolicy 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:approvalThresholdPolicy:VotingPolicy', -- votingPolicy_approvalThresholdPolicy - Defines the rules for -- the network for voting on proposals, such as the percentage of -- YES votes required for the proposal to be approved and the -- duration of the proposal. The policy applies to all proposals and is -- specified when the network is created. newVotingPolicy :: VotingPolicy